@deepraxis/sdk 0.1.1-dev.41a24b1 → 0.1.1-dev.41ec3a3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/METHODS.md +1540 -193
- package/README.md +9 -8
- package/dist/core/binary-operations.d.ts +3 -0
- package/dist/core/binary-operations.js +14 -0
- package/dist/core/credentials.d.ts +22 -3
- package/dist/core/credentials.js +44 -5
- package/dist/core/deprecation.d.ts +11 -0
- package/dist/core/deprecation.js +20 -0
- package/dist/core/errors.d.ts +6 -0
- package/dist/core/errors.js +8 -0
- package/dist/core/transport.d.ts +5 -1
- package/dist/core/transport.js +11 -4
- package/dist/generated/binary-operations.gen.d.ts +3 -0
- package/dist/generated/binary-operations.gen.js +14 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +3774 -1114
- package/dist/generated/sdk.gen.js +10307 -2838
- package/dist/generated/types.gen.d.ts +100103 -53466
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-actions.d.ts +102 -0
- package/dist/helpers/browser-actions.js +146 -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 +35 -2
- package/dist/helpers/browser-connect.js +262 -27
- package/dist/helpers/browser-decisions.d.ts +57 -0
- package/dist/helpers/browser-decisions.js +64 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +32 -13
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +37 -16440
- package/dist/operations.generated.js +22991 -7409
- package/dist/resources.generated.d.ts +3434 -164
- package/dist/resources.generated.js +993 -34
- package/package.json +2 -2
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type * as Types from './generated/types.gen.js';
|
|
2
|
+
import type { DeprecationNotice } from './core/deprecation.js';
|
|
2
3
|
import type { RenameParameters } from './core/bindings.js';
|
|
3
4
|
import type { Transport } from './core/transport.js';
|
|
5
|
+
export declare const deprecatedMethods: Readonly<Record<string, DeprecationNotice>>;
|
|
4
6
|
export declare function createAgent(transport: Transport): {
|
|
5
7
|
agents: {
|
|
6
8
|
archive: (options: import("./core/transport.js").CallOptions<Types.AgentsArchiveData>) => Promise<{
|
|
@@ -17,6 +19,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
17
19
|
speed?: "standard" | "fast";
|
|
18
20
|
settings?: {
|
|
19
21
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
22
|
+
max_output_tokens?: number;
|
|
20
23
|
};
|
|
21
24
|
};
|
|
22
25
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -37,22 +40,23 @@ export declare function createAgent(transport: Transport): {
|
|
|
37
40
|
id: string;
|
|
38
41
|
} | null;
|
|
39
42
|
note: string | null;
|
|
43
|
+
deployments_behind: number | null;
|
|
40
44
|
bindings: Array<{
|
|
41
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
45
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
42
46
|
id: string;
|
|
43
47
|
access: "read_only" | "read_write" | "invoke";
|
|
48
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
44
49
|
instructions?: string;
|
|
45
50
|
readonly verified?: boolean;
|
|
46
51
|
enabled?: boolean;
|
|
47
52
|
} | {
|
|
48
|
-
type: "search" | "browser";
|
|
53
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
49
54
|
readonly verified?: boolean;
|
|
50
55
|
enabled?: boolean;
|
|
51
56
|
}>;
|
|
52
|
-
kind: "general" | "
|
|
57
|
+
kind: "general" | "service" | "assume";
|
|
53
58
|
computer_id?: string;
|
|
54
59
|
subagent_model?: string | null;
|
|
55
|
-
image_model?: string | null;
|
|
56
60
|
subagents?: Array<{
|
|
57
61
|
name: string;
|
|
58
62
|
description: string;
|
|
@@ -143,6 +147,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
143
147
|
allowManagedHooksOnly?: boolean;
|
|
144
148
|
allowManagedMcpServersOnly?: boolean;
|
|
145
149
|
allowManagedPermissionRulesOnly?: boolean;
|
|
150
|
+
idleCompaction?: boolean;
|
|
146
151
|
autoMemoryEnabled?: boolean;
|
|
147
152
|
disabled?: {
|
|
148
153
|
subagents?: Array<string>;
|
|
@@ -151,7 +156,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
151
156
|
mcpServers?: Array<string>;
|
|
152
157
|
hooks?: Array<string>;
|
|
153
158
|
};
|
|
154
|
-
idleCompaction?: boolean;
|
|
155
159
|
outputStyle?: string;
|
|
156
160
|
} | null;
|
|
157
161
|
models?: {
|
|
@@ -159,6 +163,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
159
163
|
};
|
|
160
164
|
avatar: string | null;
|
|
161
165
|
creation_source: string | null;
|
|
166
|
+
managed_by: string | null;
|
|
162
167
|
identity_number: string | null;
|
|
163
168
|
environment_id?: string | null;
|
|
164
169
|
vault_ids?: Array<string>;
|
|
@@ -170,6 +175,22 @@ export declare function createAgent(transport: Transport): {
|
|
|
170
175
|
keep_coding_instructions?: boolean;
|
|
171
176
|
}> | null;
|
|
172
177
|
}>;
|
|
178
|
+
consolidations: {
|
|
179
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
|
|
180
|
+
id: string;
|
|
181
|
+
session_id: string;
|
|
182
|
+
status: "queued" | "running" | "done" | "failed";
|
|
183
|
+
engram_id?: string;
|
|
184
|
+
error?: string;
|
|
185
|
+
}>;
|
|
186
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
|
|
187
|
+
id: string;
|
|
188
|
+
session_id: string;
|
|
189
|
+
status: "queued" | "running" | "done" | "failed";
|
|
190
|
+
engram_id?: string;
|
|
191
|
+
error?: string;
|
|
192
|
+
}>;
|
|
193
|
+
};
|
|
173
194
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
174
195
|
id: string;
|
|
175
196
|
archived_at: null | string;
|
|
@@ -184,6 +205,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
184
205
|
speed?: "standard" | "fast";
|
|
185
206
|
settings?: {
|
|
186
207
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
208
|
+
max_output_tokens?: number;
|
|
187
209
|
};
|
|
188
210
|
};
|
|
189
211
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -204,22 +226,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
204
226
|
id: string;
|
|
205
227
|
} | null;
|
|
206
228
|
note: string | null;
|
|
229
|
+
deployments_behind: number | null;
|
|
207
230
|
bindings: Array<{
|
|
208
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
231
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
209
232
|
id: string;
|
|
210
233
|
access: "read_only" | "read_write" | "invoke";
|
|
234
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
211
235
|
instructions?: string;
|
|
212
236
|
readonly verified?: boolean;
|
|
213
237
|
enabled?: boolean;
|
|
214
238
|
} | {
|
|
215
|
-
type: "search" | "browser";
|
|
239
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
216
240
|
readonly verified?: boolean;
|
|
217
241
|
enabled?: boolean;
|
|
218
242
|
}>;
|
|
219
|
-
kind: "general" | "
|
|
243
|
+
kind: "general" | "service" | "assume";
|
|
244
|
+
computers?: {
|
|
245
|
+
default: string;
|
|
246
|
+
allowed: Array<{
|
|
247
|
+
template: string;
|
|
248
|
+
name: string;
|
|
249
|
+
}>;
|
|
250
|
+
};
|
|
220
251
|
computer_id?: string;
|
|
221
252
|
subagent_model?: string | null;
|
|
222
|
-
image_model?: string | null;
|
|
223
253
|
subagents?: Array<{
|
|
224
254
|
name: string;
|
|
225
255
|
description: string;
|
|
@@ -310,6 +340,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
310
340
|
allowManagedHooksOnly?: boolean;
|
|
311
341
|
allowManagedMcpServersOnly?: boolean;
|
|
312
342
|
allowManagedPermissionRulesOnly?: boolean;
|
|
343
|
+
idleCompaction?: boolean;
|
|
313
344
|
autoMemoryEnabled?: boolean;
|
|
314
345
|
disabled?: {
|
|
315
346
|
subagents?: Array<string>;
|
|
@@ -318,7 +349,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
318
349
|
mcpServers?: Array<string>;
|
|
319
350
|
hooks?: Array<string>;
|
|
320
351
|
};
|
|
321
|
-
idleCompaction?: boolean;
|
|
322
352
|
outputStyle?: string;
|
|
323
353
|
} | null;
|
|
324
354
|
models?: {
|
|
@@ -326,6 +356,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
326
356
|
};
|
|
327
357
|
avatar: string | null;
|
|
328
358
|
creation_source: string | null;
|
|
359
|
+
managed_by: string | null;
|
|
329
360
|
identity_number: string | null;
|
|
330
361
|
environment_id?: string | null;
|
|
331
362
|
vault_ids?: Array<string>;
|
|
@@ -338,42 +369,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
338
369
|
}> | null;
|
|
339
370
|
}>;
|
|
340
371
|
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
372
|
block: {
|
|
378
373
|
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
379
374
|
id: string;
|
|
@@ -465,6 +460,405 @@ export declare function createAgent(transport: Transport): {
|
|
|
465
460
|
}>;
|
|
466
461
|
};
|
|
467
462
|
};
|
|
463
|
+
events: {
|
|
464
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
|
|
465
|
+
data: Array<{
|
|
466
|
+
id: string;
|
|
467
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
468
|
+
type: "user.message";
|
|
469
|
+
processed_at?: null | string;
|
|
470
|
+
praxis_context?: {
|
|
471
|
+
items: Array<{
|
|
472
|
+
name: string;
|
|
473
|
+
value: string;
|
|
474
|
+
}>;
|
|
475
|
+
};
|
|
476
|
+
message_id?: string;
|
|
477
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
478
|
+
id: string;
|
|
479
|
+
content: Array<{
|
|
480
|
+
text: string;
|
|
481
|
+
type: "text";
|
|
482
|
+
citations?: Array<{
|
|
483
|
+
type: "search_result_location";
|
|
484
|
+
source: string;
|
|
485
|
+
title: string;
|
|
486
|
+
cited_text: string;
|
|
487
|
+
search_result_index: number;
|
|
488
|
+
start_block_index: number;
|
|
489
|
+
end_block_index: number;
|
|
490
|
+
}>;
|
|
491
|
+
} | Types.AgentManaged70>;
|
|
492
|
+
processed_at: string;
|
|
493
|
+
type: "agent.message";
|
|
494
|
+
run_id: string | null;
|
|
495
|
+
message_id?: string;
|
|
496
|
+
} | {
|
|
497
|
+
id: string;
|
|
498
|
+
processed_at: string;
|
|
499
|
+
type: "agent.thinking";
|
|
500
|
+
run_id: string | null;
|
|
501
|
+
message_id?: string;
|
|
502
|
+
} | {
|
|
503
|
+
id: string;
|
|
504
|
+
input: Types.AgentManaged197;
|
|
505
|
+
mcp_server_name: string;
|
|
506
|
+
name: string;
|
|
507
|
+
processed_at: string;
|
|
508
|
+
type: "agent.mcp_tool_use";
|
|
509
|
+
evaluated_permission?: "allow" | "deny" | "ask";
|
|
510
|
+
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
511
|
+
session_thread_id?: null | string;
|
|
512
|
+
permission_suggestions?: Array<{
|
|
513
|
+
type: "add_rules";
|
|
514
|
+
behavior: "allow";
|
|
515
|
+
destination: "agent" | "session";
|
|
516
|
+
rules: Array<{
|
|
517
|
+
tool_name: string;
|
|
518
|
+
rule_content: string;
|
|
519
|
+
}>;
|
|
520
|
+
}>;
|
|
521
|
+
full_access_available?: boolean;
|
|
522
|
+
user_once?: true;
|
|
523
|
+
guarded_rule?: string;
|
|
524
|
+
run_id: string | null;
|
|
525
|
+
_meta?: {
|
|
526
|
+
ui?: {
|
|
527
|
+
resourceUri?: string;
|
|
528
|
+
visibility?: Array<string>;
|
|
529
|
+
[key: string]: unknown;
|
|
530
|
+
};
|
|
531
|
+
"openai/ui"?: {
|
|
532
|
+
[key: string]: unknown;
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
source?: "app" | "codemode";
|
|
536
|
+
parent_tool_use_id?: string;
|
|
537
|
+
title?: string;
|
|
538
|
+
input_titles?: {
|
|
539
|
+
[key: string]: string;
|
|
540
|
+
};
|
|
541
|
+
} | {
|
|
542
|
+
id: string;
|
|
543
|
+
mcp_tool_use_id: string;
|
|
544
|
+
processed_at: string;
|
|
545
|
+
type: "agent.mcp_tool_result";
|
|
546
|
+
content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
|
|
547
|
+
is_error?: null | false | true;
|
|
548
|
+
run_id: string | null;
|
|
549
|
+
structured_content?: unknown;
|
|
550
|
+
_meta?: {
|
|
551
|
+
[key: string]: unknown;
|
|
552
|
+
};
|
|
553
|
+
source?: "app" | "codemode";
|
|
554
|
+
} | {
|
|
555
|
+
id: string;
|
|
556
|
+
input: Types.AgentManaged206;
|
|
557
|
+
name: string;
|
|
558
|
+
processed_at: string;
|
|
559
|
+
type: "agent.tool_use";
|
|
560
|
+
evaluated_permission?: "allow" | "deny" | "ask";
|
|
561
|
+
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
562
|
+
session_thread_id?: null | string;
|
|
563
|
+
permission_suggestions?: Array<{
|
|
564
|
+
type: "add_rules";
|
|
565
|
+
behavior: "allow";
|
|
566
|
+
destination: "agent" | "session";
|
|
567
|
+
rules: Array<{
|
|
568
|
+
tool_name: string;
|
|
569
|
+
rule_content: string;
|
|
570
|
+
}>;
|
|
571
|
+
}>;
|
|
572
|
+
full_access_available?: boolean;
|
|
573
|
+
user_once?: true;
|
|
574
|
+
guarded_rule?: string;
|
|
575
|
+
run_id: string | null;
|
|
576
|
+
} | {
|
|
577
|
+
id: string;
|
|
578
|
+
processed_at: string;
|
|
579
|
+
tool_use_id: string;
|
|
580
|
+
type: "agent.tool_result";
|
|
581
|
+
content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
|
|
582
|
+
is_error?: null | false | true;
|
|
583
|
+
run_id: string | null;
|
|
584
|
+
} | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
|
|
585
|
+
id: string;
|
|
586
|
+
processed_at: string;
|
|
587
|
+
type: "session.status_running";
|
|
588
|
+
run_id: string | null;
|
|
589
|
+
} | {
|
|
590
|
+
id: string;
|
|
591
|
+
processed_at: string;
|
|
592
|
+
stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
|
|
593
|
+
type: "session.status_idle";
|
|
594
|
+
run_id: string | null;
|
|
595
|
+
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
596
|
+
id: string;
|
|
597
|
+
processed_at: string;
|
|
598
|
+
type: "session.updated";
|
|
599
|
+
agent?: null | Types.AgentManaged170;
|
|
600
|
+
budget?: null | Types.AgentManaged76;
|
|
601
|
+
metadata?: Types.AgentManaged246;
|
|
602
|
+
title?: null | string;
|
|
603
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
604
|
+
previous_permission_mode?: string | null;
|
|
605
|
+
permission_mode_version?: number;
|
|
606
|
+
model?: {
|
|
607
|
+
id: string;
|
|
608
|
+
};
|
|
609
|
+
} | Types.AgentManaged247 | Types.AgentManaged248 | {
|
|
610
|
+
id: string;
|
|
611
|
+
type: "session.forked";
|
|
612
|
+
processed_at: string;
|
|
613
|
+
forked_from_session_id: string;
|
|
614
|
+
forked_from_message_id: string;
|
|
615
|
+
} | {
|
|
616
|
+
id: string;
|
|
617
|
+
type: "session.goal_changed";
|
|
618
|
+
processed_at: string;
|
|
619
|
+
action: "set" | "status_updated" | "cleared" | "usage_accounted";
|
|
620
|
+
source: "command" | "runtime";
|
|
621
|
+
goal: {
|
|
622
|
+
goal_id: string;
|
|
623
|
+
objective: string;
|
|
624
|
+
summary_title: string | null;
|
|
625
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
626
|
+
token_budget: number | null;
|
|
627
|
+
tokens_used: number;
|
|
628
|
+
time_used_seconds: number;
|
|
629
|
+
iteration: number;
|
|
630
|
+
created_at: number;
|
|
631
|
+
updated_at: number;
|
|
632
|
+
} | null;
|
|
633
|
+
previous_goal: {
|
|
634
|
+
goal_id: string;
|
|
635
|
+
objective: string;
|
|
636
|
+
summary_title: string | null;
|
|
637
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
638
|
+
token_budget: number | null;
|
|
639
|
+
tokens_used: number;
|
|
640
|
+
time_used_seconds: number;
|
|
641
|
+
iteration: number;
|
|
642
|
+
created_at: number;
|
|
643
|
+
updated_at: number;
|
|
644
|
+
} | null;
|
|
645
|
+
} | {
|
|
646
|
+
id: string;
|
|
647
|
+
type: "session.goal_verification";
|
|
648
|
+
processed_at: string;
|
|
649
|
+
status: "started" | "completed" | "failed_closed" | "cancelled";
|
|
650
|
+
goal_id: string;
|
|
651
|
+
goal_iteration: number;
|
|
652
|
+
verification_id: string;
|
|
653
|
+
anchor_message_id: string | null;
|
|
654
|
+
verification?: {
|
|
655
|
+
passed: boolean;
|
|
656
|
+
reason: string;
|
|
657
|
+
next_action?: string;
|
|
658
|
+
};
|
|
659
|
+
} | {
|
|
660
|
+
id: string;
|
|
661
|
+
type: "user.steer";
|
|
662
|
+
event_id: string;
|
|
663
|
+
processed_at: string;
|
|
664
|
+
} | {
|
|
665
|
+
id: string;
|
|
666
|
+
type: "cognition.surfaced";
|
|
667
|
+
processed_at: string;
|
|
668
|
+
worker_session_id: string;
|
|
669
|
+
name: string;
|
|
670
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
671
|
+
experience_id?: string;
|
|
672
|
+
result?: {
|
|
673
|
+
message?: string;
|
|
674
|
+
links?: Array<string>;
|
|
675
|
+
files?: Array<{
|
|
676
|
+
name?: string;
|
|
677
|
+
href?: string;
|
|
678
|
+
}>;
|
|
679
|
+
held?: Array<{
|
|
680
|
+
id?: string;
|
|
681
|
+
summary?: string;
|
|
682
|
+
effect?: string;
|
|
683
|
+
method?: string;
|
|
684
|
+
path?: string;
|
|
685
|
+
expires_at?: string;
|
|
686
|
+
}>;
|
|
687
|
+
};
|
|
688
|
+
} | {
|
|
689
|
+
id: string;
|
|
690
|
+
type: "cognition.intention_woken";
|
|
691
|
+
processed_at: string;
|
|
692
|
+
node_id: string;
|
|
693
|
+
reason: "open_engram" | "assignment";
|
|
694
|
+
} | {
|
|
695
|
+
id: string;
|
|
696
|
+
type: "agent.operation_approval_requested";
|
|
697
|
+
processed_at: string;
|
|
698
|
+
approval_id: string;
|
|
699
|
+
operation_id: string;
|
|
700
|
+
effect: "outward" | "irreversible";
|
|
701
|
+
method: string;
|
|
702
|
+
path: string;
|
|
703
|
+
summary: string;
|
|
704
|
+
expires_at: string;
|
|
705
|
+
worker_session_id?: string;
|
|
706
|
+
worker_name?: string;
|
|
707
|
+
} | {
|
|
708
|
+
id: string;
|
|
709
|
+
type: "agent.operation_approval_decided";
|
|
710
|
+
processed_at: string;
|
|
711
|
+
approval_id: string;
|
|
712
|
+
status: "approved" | "refused" | "expired";
|
|
713
|
+
} | {
|
|
714
|
+
id: string;
|
|
715
|
+
type: "session.prompt_configuration_mismatch";
|
|
716
|
+
processed_at: string;
|
|
717
|
+
pinned_revision_id: string;
|
|
718
|
+
current_revision_id: string;
|
|
719
|
+
} | {
|
|
720
|
+
id: string;
|
|
721
|
+
type: "session.prompt_rev_changed";
|
|
722
|
+
processed_at: string;
|
|
723
|
+
config_revision_id: string;
|
|
724
|
+
changed: Array<{
|
|
725
|
+
name: string;
|
|
726
|
+
rev: string | null;
|
|
727
|
+
}>;
|
|
728
|
+
} | {
|
|
729
|
+
id: string;
|
|
730
|
+
type: "session.computer_tier";
|
|
731
|
+
processed_at: string;
|
|
732
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
733
|
+
tier: "light" | "heavy";
|
|
734
|
+
duration_ms: number;
|
|
735
|
+
error_code?: string;
|
|
736
|
+
status?: {
|
|
737
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
738
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
739
|
+
percent?: number;
|
|
740
|
+
files_done?: number;
|
|
741
|
+
files_total?: number;
|
|
742
|
+
idle_release_at?: number;
|
|
743
|
+
retry_at?: number;
|
|
744
|
+
epoch?: number;
|
|
745
|
+
heavy_instance?: string | null;
|
|
746
|
+
heavy_paused?: boolean;
|
|
747
|
+
};
|
|
748
|
+
} | {
|
|
749
|
+
id: string;
|
|
750
|
+
type: "agent.artifact_delivered";
|
|
751
|
+
processed_at: string;
|
|
752
|
+
artifact: {
|
|
753
|
+
object: "artifact";
|
|
754
|
+
id: string;
|
|
755
|
+
session_id: string;
|
|
756
|
+
run_id: string | null;
|
|
757
|
+
name: string;
|
|
758
|
+
version: number;
|
|
759
|
+
parts: Array<{
|
|
760
|
+
[key: string]: unknown;
|
|
761
|
+
}>;
|
|
762
|
+
source_hrefs: Array<string>;
|
|
763
|
+
create_time: string;
|
|
764
|
+
update_time: string;
|
|
765
|
+
};
|
|
766
|
+
} | {
|
|
767
|
+
id: string;
|
|
768
|
+
type: "agent.image_generation";
|
|
769
|
+
processed_at: string;
|
|
770
|
+
tool_use_id: string;
|
|
771
|
+
index: number;
|
|
772
|
+
total: number;
|
|
773
|
+
status: string;
|
|
774
|
+
mode?: string;
|
|
775
|
+
aspect?: string;
|
|
776
|
+
prompt?: string;
|
|
777
|
+
model?: string;
|
|
778
|
+
file_id?: string;
|
|
779
|
+
label?: string;
|
|
780
|
+
width?: number;
|
|
781
|
+
height?: number;
|
|
782
|
+
revised_prompt?: string;
|
|
783
|
+
source_labels?: Array<string>;
|
|
784
|
+
caption?: string;
|
|
785
|
+
slot?: number | null;
|
|
786
|
+
replaces?: string;
|
|
787
|
+
version?: number;
|
|
788
|
+
failure?: {
|
|
789
|
+
reason?: string;
|
|
790
|
+
};
|
|
791
|
+
} | {
|
|
792
|
+
id: string;
|
|
793
|
+
type: "session.image_labeled";
|
|
794
|
+
processed_at: string;
|
|
795
|
+
label: string;
|
|
796
|
+
file_id: string;
|
|
797
|
+
origin: "generated" | "uploaded";
|
|
798
|
+
filename: string;
|
|
799
|
+
tool_use_id?: string;
|
|
800
|
+
version?: number;
|
|
801
|
+
replaced_file_id?: string;
|
|
802
|
+
} | {
|
|
803
|
+
id: string;
|
|
804
|
+
type: "session.image_set_planned";
|
|
805
|
+
processed_at: string;
|
|
806
|
+
tool_use_id: string;
|
|
807
|
+
items: Array<unknown>;
|
|
808
|
+
title?: string;
|
|
809
|
+
} | {
|
|
810
|
+
id: string;
|
|
811
|
+
type: "session.project_attached";
|
|
812
|
+
processed_at: string;
|
|
813
|
+
project: {
|
|
814
|
+
id: string;
|
|
815
|
+
name: string;
|
|
816
|
+
path: string;
|
|
817
|
+
};
|
|
818
|
+
} | {
|
|
819
|
+
id: string;
|
|
820
|
+
type: "session.project_detached";
|
|
821
|
+
processed_at: string;
|
|
822
|
+
project_id: string;
|
|
823
|
+
reason?: "project_removed";
|
|
824
|
+
}>;
|
|
825
|
+
next_page: string | null;
|
|
826
|
+
}>;
|
|
827
|
+
send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
|
|
828
|
+
data?: Array<{
|
|
829
|
+
id: string;
|
|
830
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
831
|
+
type: "user.message";
|
|
832
|
+
processed_at?: null | string;
|
|
833
|
+
praxis_context?: {
|
|
834
|
+
items: Array<{
|
|
835
|
+
name: string;
|
|
836
|
+
value: string;
|
|
837
|
+
}>;
|
|
838
|
+
};
|
|
839
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
|
|
840
|
+
id: string;
|
|
841
|
+
type: "user.steer";
|
|
842
|
+
event_id: string;
|
|
843
|
+
processed_at: string;
|
|
844
|
+
}>;
|
|
845
|
+
}>;
|
|
846
|
+
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
847
|
+
};
|
|
848
|
+
inbox: {
|
|
849
|
+
letters: {
|
|
850
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
|
|
851
|
+
unread: number;
|
|
852
|
+
letters: Array<{
|
|
853
|
+
id: string;
|
|
854
|
+
sender: string;
|
|
855
|
+
summary: string;
|
|
856
|
+
thread: string | null;
|
|
857
|
+
create_time: string;
|
|
858
|
+
}>;
|
|
859
|
+
}>;
|
|
860
|
+
};
|
|
861
|
+
};
|
|
468
862
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
469
863
|
data: Array<{
|
|
470
864
|
id: string;
|
|
@@ -480,6 +874,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
480
874
|
speed?: "standard" | "fast";
|
|
481
875
|
settings?: {
|
|
482
876
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
877
|
+
max_output_tokens?: number;
|
|
483
878
|
};
|
|
484
879
|
};
|
|
485
880
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -500,22 +895,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
500
895
|
id: string;
|
|
501
896
|
} | null;
|
|
502
897
|
note: string | null;
|
|
898
|
+
deployments_behind: number | null;
|
|
503
899
|
bindings: Array<{
|
|
504
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
900
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
505
901
|
id: string;
|
|
506
902
|
access: "read_only" | "read_write" | "invoke";
|
|
903
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
507
904
|
instructions?: string;
|
|
508
905
|
readonly verified?: boolean;
|
|
509
906
|
enabled?: boolean;
|
|
510
907
|
} | {
|
|
511
|
-
type: "search" | "browser";
|
|
908
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
512
909
|
readonly verified?: boolean;
|
|
513
910
|
enabled?: boolean;
|
|
514
911
|
}>;
|
|
515
|
-
kind: "general" | "
|
|
912
|
+
kind: "general" | "service" | "assume";
|
|
913
|
+
computers?: {
|
|
914
|
+
default: string;
|
|
915
|
+
allowed: Array<{
|
|
916
|
+
template: string;
|
|
917
|
+
name: string;
|
|
918
|
+
}>;
|
|
919
|
+
};
|
|
516
920
|
computer_id?: string;
|
|
517
921
|
subagent_model?: string | null;
|
|
518
|
-
image_model?: string | null;
|
|
519
922
|
subagents?: Array<{
|
|
520
923
|
name: string;
|
|
521
924
|
description: string;
|
|
@@ -606,6 +1009,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
606
1009
|
allowManagedHooksOnly?: boolean;
|
|
607
1010
|
allowManagedMcpServersOnly?: boolean;
|
|
608
1011
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1012
|
+
idleCompaction?: boolean;
|
|
609
1013
|
autoMemoryEnabled?: boolean;
|
|
610
1014
|
disabled?: {
|
|
611
1015
|
subagents?: Array<string>;
|
|
@@ -614,7 +1018,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
614
1018
|
mcpServers?: Array<string>;
|
|
615
1019
|
hooks?: Array<string>;
|
|
616
1020
|
};
|
|
617
|
-
idleCompaction?: boolean;
|
|
618
1021
|
outputStyle?: string;
|
|
619
1022
|
} | null;
|
|
620
1023
|
models?: {
|
|
@@ -622,6 +1025,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
622
1025
|
};
|
|
623
1026
|
avatar: string | null;
|
|
624
1027
|
creation_source: string | null;
|
|
1028
|
+
managed_by: string | null;
|
|
625
1029
|
identity_number: string | null;
|
|
626
1030
|
environment_id?: string | null;
|
|
627
1031
|
vault_ids?: Array<string>;
|
|
@@ -635,6 +1039,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
635
1039
|
}>;
|
|
636
1040
|
next_page: string | null;
|
|
637
1041
|
}>;
|
|
1042
|
+
phone: {
|
|
1043
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
1044
|
+
object: "agent_phone";
|
|
1045
|
+
agent_id: string;
|
|
1046
|
+
configured: boolean;
|
|
1047
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1048
|
+
sku: string | null;
|
|
1049
|
+
byod_device: string | null;
|
|
1050
|
+
name: string | null;
|
|
1051
|
+
sandbox_id: string | null;
|
|
1052
|
+
lease_ends_at: string | null;
|
|
1053
|
+
archived_at: string | null;
|
|
1054
|
+
archive_error: string | null;
|
|
1055
|
+
}>;
|
|
1056
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
1057
|
+
object: "agent_phone";
|
|
1058
|
+
agent_id: string;
|
|
1059
|
+
configured: boolean;
|
|
1060
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1061
|
+
sku: string | null;
|
|
1062
|
+
byod_device: string | null;
|
|
1063
|
+
name: string | null;
|
|
1064
|
+
sandbox_id: string | null;
|
|
1065
|
+
lease_ends_at: string | null;
|
|
1066
|
+
archived_at: string | null;
|
|
1067
|
+
archive_error: string | null;
|
|
1068
|
+
}>;
|
|
1069
|
+
};
|
|
638
1070
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
639
1071
|
id: string;
|
|
640
1072
|
archived_at: null | string;
|
|
@@ -649,6 +1081,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
649
1081
|
speed?: "standard" | "fast";
|
|
650
1082
|
settings?: {
|
|
651
1083
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1084
|
+
max_output_tokens?: number;
|
|
652
1085
|
};
|
|
653
1086
|
};
|
|
654
1087
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -670,22 +1103,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
670
1103
|
id: string;
|
|
671
1104
|
} | null;
|
|
672
1105
|
note: string | null;
|
|
1106
|
+
deployments_behind: number | null;
|
|
673
1107
|
bindings: Array<{
|
|
674
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1108
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
675
1109
|
id: string;
|
|
676
1110
|
access: "read_only" | "read_write" | "invoke";
|
|
1111
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
677
1112
|
instructions?: string;
|
|
678
1113
|
readonly verified?: boolean;
|
|
679
1114
|
enabled?: boolean;
|
|
680
1115
|
} | {
|
|
681
|
-
type: "search" | "browser";
|
|
1116
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
682
1117
|
readonly verified?: boolean;
|
|
683
1118
|
enabled?: boolean;
|
|
684
1119
|
}>;
|
|
685
|
-
kind: "general" | "
|
|
1120
|
+
kind: "general" | "service" | "assume";
|
|
1121
|
+
computers?: {
|
|
1122
|
+
default: string;
|
|
1123
|
+
allowed: Array<{
|
|
1124
|
+
template: string;
|
|
1125
|
+
name: string;
|
|
1126
|
+
}>;
|
|
1127
|
+
};
|
|
686
1128
|
computer_id?: string;
|
|
687
1129
|
subagent_model?: string | null;
|
|
688
|
-
image_model?: string | null;
|
|
689
1130
|
subagents?: Array<{
|
|
690
1131
|
name: string;
|
|
691
1132
|
description: string;
|
|
@@ -776,6 +1217,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
776
1217
|
allowManagedHooksOnly?: boolean;
|
|
777
1218
|
allowManagedMcpServersOnly?: boolean;
|
|
778
1219
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1220
|
+
idleCompaction?: boolean;
|
|
779
1221
|
autoMemoryEnabled?: boolean;
|
|
780
1222
|
disabled?: {
|
|
781
1223
|
subagents?: Array<string>;
|
|
@@ -784,7 +1226,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
784
1226
|
mcpServers?: Array<string>;
|
|
785
1227
|
hooks?: Array<string>;
|
|
786
1228
|
};
|
|
787
|
-
idleCompaction?: boolean;
|
|
788
1229
|
outputStyle?: string;
|
|
789
1230
|
} | null;
|
|
790
1231
|
models?: {
|
|
@@ -792,6 +1233,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
792
1233
|
};
|
|
793
1234
|
avatar: string | null;
|
|
794
1235
|
creation_source: string | null;
|
|
1236
|
+
managed_by: string | null;
|
|
795
1237
|
identity_number: string | null;
|
|
796
1238
|
environment_id?: string | null;
|
|
797
1239
|
vault_ids?: Array<string>;
|
|
@@ -860,6 +1302,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
860
1302
|
history?: {
|
|
861
1303
|
enabled?: boolean;
|
|
862
1304
|
};
|
|
1305
|
+
uploads?: {
|
|
1306
|
+
enabled: boolean;
|
|
1307
|
+
max_file_bytes: number;
|
|
1308
|
+
max_files_per_session: number;
|
|
1309
|
+
};
|
|
1310
|
+
}>;
|
|
1311
|
+
retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
|
|
1312
|
+
allowed_origins: Array<string>;
|
|
1313
|
+
allow_localhost: boolean;
|
|
1314
|
+
uploads: {
|
|
1315
|
+
enabled: boolean;
|
|
1316
|
+
max_file_bytes: number;
|
|
1317
|
+
max_files_per_session: number;
|
|
1318
|
+
};
|
|
1319
|
+
share_links: {
|
|
1320
|
+
enabled: boolean;
|
|
1321
|
+
daily_session_cap: number | null;
|
|
1322
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1323
|
+
currency?: "USD" | "CNY" | null;
|
|
1324
|
+
};
|
|
863
1325
|
}>;
|
|
864
1326
|
unarchive: {
|
|
865
1327
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -913,6 +1375,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
913
1375
|
speed?: "standard" | "fast";
|
|
914
1376
|
settings?: {
|
|
915
1377
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1378
|
+
max_output_tokens?: number;
|
|
916
1379
|
};
|
|
917
1380
|
};
|
|
918
1381
|
multiagent?: null | {
|
|
@@ -1099,22 +1562,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
1099
1562
|
id: string;
|
|
1100
1563
|
} | null;
|
|
1101
1564
|
note: string | null;
|
|
1565
|
+
deployments_behind: number | null;
|
|
1102
1566
|
bindings: Array<{
|
|
1103
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1567
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1104
1568
|
id: string;
|
|
1105
1569
|
access: "read_only" | "read_write" | "invoke";
|
|
1570
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1106
1571
|
instructions?: string;
|
|
1107
1572
|
readonly verified?: boolean;
|
|
1108
1573
|
enabled?: boolean;
|
|
1109
1574
|
} | {
|
|
1110
|
-
type: "search" | "browser";
|
|
1575
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1111
1576
|
readonly verified?: boolean;
|
|
1112
1577
|
enabled?: boolean;
|
|
1113
1578
|
}>;
|
|
1114
|
-
kind: "general" | "
|
|
1579
|
+
kind: "general" | "service" | "assume";
|
|
1580
|
+
computers?: {
|
|
1581
|
+
default: string;
|
|
1582
|
+
allowed: Array<{
|
|
1583
|
+
template: string;
|
|
1584
|
+
name: string;
|
|
1585
|
+
}>;
|
|
1586
|
+
};
|
|
1115
1587
|
computer_id?: string;
|
|
1116
1588
|
subagent_model?: string | null;
|
|
1117
|
-
image_model?: string | null;
|
|
1118
1589
|
subagents?: Array<{
|
|
1119
1590
|
name: string;
|
|
1120
1591
|
description: string;
|
|
@@ -1205,6 +1676,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1205
1676
|
allowManagedHooksOnly?: boolean;
|
|
1206
1677
|
allowManagedMcpServersOnly?: boolean;
|
|
1207
1678
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1679
|
+
idleCompaction?: boolean;
|
|
1208
1680
|
autoMemoryEnabled?: boolean;
|
|
1209
1681
|
disabled?: {
|
|
1210
1682
|
subagents?: Array<string>;
|
|
@@ -1213,7 +1685,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1213
1685
|
mcpServers?: Array<string>;
|
|
1214
1686
|
hooks?: Array<string>;
|
|
1215
1687
|
};
|
|
1216
|
-
idleCompaction?: boolean;
|
|
1217
1688
|
outputStyle?: string;
|
|
1218
1689
|
} | null;
|
|
1219
1690
|
models?: {
|
|
@@ -1221,6 +1692,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1221
1692
|
};
|
|
1222
1693
|
avatar: string | null;
|
|
1223
1694
|
creation_source: string | null;
|
|
1695
|
+
managed_by: string | null;
|
|
1224
1696
|
identity_number: string | null;
|
|
1225
1697
|
environment_id?: string | null;
|
|
1226
1698
|
vault_ids?: Array<string>;
|
|
@@ -1247,6 +1719,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1247
1719
|
speed?: "standard" | "fast";
|
|
1248
1720
|
settings?: {
|
|
1249
1721
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1722
|
+
max_output_tokens?: number;
|
|
1250
1723
|
};
|
|
1251
1724
|
};
|
|
1252
1725
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1268,22 +1741,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
1268
1741
|
id: string;
|
|
1269
1742
|
} | null;
|
|
1270
1743
|
note: string | null;
|
|
1744
|
+
deployments_behind: number | null;
|
|
1271
1745
|
bindings: Array<{
|
|
1272
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1746
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1273
1747
|
id: string;
|
|
1274
1748
|
access: "read_only" | "read_write" | "invoke";
|
|
1749
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1275
1750
|
instructions?: string;
|
|
1276
1751
|
readonly verified?: boolean;
|
|
1277
1752
|
enabled?: boolean;
|
|
1278
1753
|
} | {
|
|
1279
|
-
type: "search" | "browser";
|
|
1754
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1280
1755
|
readonly verified?: boolean;
|
|
1281
1756
|
enabled?: boolean;
|
|
1282
1757
|
}>;
|
|
1283
|
-
kind: "general" | "
|
|
1758
|
+
kind: "general" | "service" | "assume";
|
|
1759
|
+
computers?: {
|
|
1760
|
+
default: string;
|
|
1761
|
+
allowed: Array<{
|
|
1762
|
+
template: string;
|
|
1763
|
+
name: string;
|
|
1764
|
+
}>;
|
|
1765
|
+
};
|
|
1284
1766
|
computer_id?: string;
|
|
1285
1767
|
subagent_model?: string | null;
|
|
1286
|
-
image_model?: string | null;
|
|
1287
1768
|
subagents?: Array<{
|
|
1288
1769
|
name: string;
|
|
1289
1770
|
description: string;
|
|
@@ -1374,6 +1855,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1374
1855
|
allowManagedHooksOnly?: boolean;
|
|
1375
1856
|
allowManagedMcpServersOnly?: boolean;
|
|
1376
1857
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1858
|
+
idleCompaction?: boolean;
|
|
1377
1859
|
autoMemoryEnabled?: boolean;
|
|
1378
1860
|
disabled?: {
|
|
1379
1861
|
subagents?: Array<string>;
|
|
@@ -1382,7 +1864,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1382
1864
|
mcpServers?: Array<string>;
|
|
1383
1865
|
hooks?: Array<string>;
|
|
1384
1866
|
};
|
|
1385
|
-
idleCompaction?: boolean;
|
|
1386
1867
|
outputStyle?: string;
|
|
1387
1868
|
} | null;
|
|
1388
1869
|
models?: {
|
|
@@ -1390,6 +1871,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1390
1871
|
};
|
|
1391
1872
|
avatar: string | null;
|
|
1392
1873
|
creation_source: string | null;
|
|
1874
|
+
managed_by: string | null;
|
|
1393
1875
|
identity_number: string | null;
|
|
1394
1876
|
environment_id?: string | null;
|
|
1395
1877
|
vault_ids?: Array<string>;
|
|
@@ -1401,28 +1883,246 @@ export declare function createAgent(transport: Transport): {
|
|
|
1401
1883
|
keep_coding_instructions?: boolean;
|
|
1402
1884
|
}> | null;
|
|
1403
1885
|
}>;
|
|
1886
|
+
updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
|
|
1887
|
+
allowed_origins: Array<string>;
|
|
1888
|
+
allow_localhost: boolean;
|
|
1889
|
+
uploads: {
|
|
1890
|
+
enabled: boolean;
|
|
1891
|
+
max_file_bytes: number;
|
|
1892
|
+
max_files_per_session: number;
|
|
1893
|
+
};
|
|
1894
|
+
share_links: {
|
|
1895
|
+
enabled: boolean;
|
|
1896
|
+
daily_session_cap: number | null;
|
|
1897
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1898
|
+
currency?: "USD" | "CNY" | null;
|
|
1899
|
+
};
|
|
1900
|
+
}>;
|
|
1404
1901
|
versions: {
|
|
1405
1902
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1406
1903
|
id: string;
|
|
1407
1904
|
archived_at: null | string;
|
|
1408
1905
|
created_at: string;
|
|
1409
1906
|
description: null | string;
|
|
1410
|
-
mcp_servers: Array<
|
|
1411
|
-
|
|
1907
|
+
mcp_servers: Array<{
|
|
1908
|
+
type: "url";
|
|
1909
|
+
name: string;
|
|
1910
|
+
url: string;
|
|
1911
|
+
headers?: {
|
|
1912
|
+
[key: string]: string;
|
|
1913
|
+
};
|
|
1914
|
+
timeout_ms?: number;
|
|
1915
|
+
} | {
|
|
1916
|
+
type: "sse";
|
|
1917
|
+
name: string;
|
|
1918
|
+
url: string;
|
|
1919
|
+
headers?: {
|
|
1920
|
+
[key: string]: string;
|
|
1921
|
+
};
|
|
1922
|
+
timeout_ms?: number;
|
|
1923
|
+
} | {
|
|
1924
|
+
type: "stdio";
|
|
1925
|
+
name: string;
|
|
1926
|
+
command: string;
|
|
1927
|
+
args?: Array<string>;
|
|
1928
|
+
env?: {
|
|
1929
|
+
[key: string]: string;
|
|
1930
|
+
};
|
|
1931
|
+
timeout_ms?: number;
|
|
1932
|
+
}>;
|
|
1933
|
+
metadata: {
|
|
1934
|
+
[key: string]: string;
|
|
1935
|
+
};
|
|
1412
1936
|
model?: {
|
|
1413
1937
|
id: string;
|
|
1414
|
-
effort?:
|
|
1938
|
+
effort?: {
|
|
1939
|
+
type: "low";
|
|
1940
|
+
} | {
|
|
1941
|
+
type: "medium";
|
|
1942
|
+
} | {
|
|
1943
|
+
type: "high";
|
|
1944
|
+
} | {
|
|
1945
|
+
type: "xhigh";
|
|
1946
|
+
} | {
|
|
1947
|
+
type: "max";
|
|
1948
|
+
};
|
|
1415
1949
|
inference_geo?: string;
|
|
1416
1950
|
speed?: "standard" | "fast";
|
|
1417
1951
|
settings?: {
|
|
1418
1952
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1953
|
+
max_output_tokens?: number;
|
|
1419
1954
|
};
|
|
1420
1955
|
};
|
|
1421
|
-
multiagent?: null |
|
|
1956
|
+
multiagent?: null | {
|
|
1957
|
+
agents: Array<{
|
|
1958
|
+
id: string;
|
|
1959
|
+
type: "agent";
|
|
1960
|
+
version: number;
|
|
1961
|
+
} | {
|
|
1962
|
+
model: string;
|
|
1963
|
+
type: "advisor";
|
|
1964
|
+
}>;
|
|
1965
|
+
type: "coordinator";
|
|
1966
|
+
};
|
|
1422
1967
|
name: string;
|
|
1423
|
-
skills: Array<
|
|
1968
|
+
skills: Array<{
|
|
1969
|
+
skill_id: string;
|
|
1970
|
+
type: "anthropic";
|
|
1971
|
+
version: string;
|
|
1972
|
+
} | {
|
|
1973
|
+
skill_id: string;
|
|
1974
|
+
type: "custom";
|
|
1975
|
+
version: string;
|
|
1976
|
+
}>;
|
|
1424
1977
|
system: null | string;
|
|
1425
|
-
tools: Array<
|
|
1978
|
+
tools: Array<{
|
|
1979
|
+
configs: Array<{
|
|
1980
|
+
enabled: boolean;
|
|
1981
|
+
name: "bash";
|
|
1982
|
+
permission_policy: {
|
|
1983
|
+
type: "always_allow";
|
|
1984
|
+
} | {
|
|
1985
|
+
type: "always_ask";
|
|
1986
|
+
} | {
|
|
1987
|
+
type: "auto";
|
|
1988
|
+
};
|
|
1989
|
+
type: "bash";
|
|
1990
|
+
} | {
|
|
1991
|
+
enabled: boolean;
|
|
1992
|
+
name: "edit";
|
|
1993
|
+
permission_policy: {
|
|
1994
|
+
type: "always_allow";
|
|
1995
|
+
} | {
|
|
1996
|
+
type: "always_ask";
|
|
1997
|
+
} | {
|
|
1998
|
+
type: "auto";
|
|
1999
|
+
};
|
|
2000
|
+
type: "edit";
|
|
2001
|
+
} | {
|
|
2002
|
+
enabled: boolean;
|
|
2003
|
+
name: "read";
|
|
2004
|
+
permission_policy: {
|
|
2005
|
+
type: "always_allow";
|
|
2006
|
+
} | {
|
|
2007
|
+
type: "always_ask";
|
|
2008
|
+
} | {
|
|
2009
|
+
type: "auto";
|
|
2010
|
+
};
|
|
2011
|
+
type: "read";
|
|
2012
|
+
} | {
|
|
2013
|
+
enabled: boolean;
|
|
2014
|
+
name: "write";
|
|
2015
|
+
permission_policy: {
|
|
2016
|
+
type: "always_allow";
|
|
2017
|
+
} | {
|
|
2018
|
+
type: "always_ask";
|
|
2019
|
+
} | {
|
|
2020
|
+
type: "auto";
|
|
2021
|
+
};
|
|
2022
|
+
type: "write";
|
|
2023
|
+
} | {
|
|
2024
|
+
enabled: boolean;
|
|
2025
|
+
name: "glob";
|
|
2026
|
+
permission_policy: {
|
|
2027
|
+
type: "always_allow";
|
|
2028
|
+
} | {
|
|
2029
|
+
type: "always_ask";
|
|
2030
|
+
} | {
|
|
2031
|
+
type: "auto";
|
|
2032
|
+
};
|
|
2033
|
+
type: "glob";
|
|
2034
|
+
} | {
|
|
2035
|
+
enabled: boolean;
|
|
2036
|
+
name: "grep";
|
|
2037
|
+
permission_policy: {
|
|
2038
|
+
type: "always_allow";
|
|
2039
|
+
} | {
|
|
2040
|
+
type: "always_ask";
|
|
2041
|
+
} | {
|
|
2042
|
+
type: "auto";
|
|
2043
|
+
};
|
|
2044
|
+
type: "grep";
|
|
2045
|
+
} | {
|
|
2046
|
+
enabled: boolean;
|
|
2047
|
+
name: "web_fetch";
|
|
2048
|
+
permission_policy: {
|
|
2049
|
+
type: "always_allow";
|
|
2050
|
+
} | {
|
|
2051
|
+
type: "always_ask";
|
|
2052
|
+
} | {
|
|
2053
|
+
type: "auto";
|
|
2054
|
+
};
|
|
2055
|
+
type: "web_fetch";
|
|
2056
|
+
allowed_domains?: Array<string>;
|
|
2057
|
+
blocked_domains?: Array<string>;
|
|
2058
|
+
max_content_tokens?: null | number;
|
|
2059
|
+
} | {
|
|
2060
|
+
enabled: boolean;
|
|
2061
|
+
name: "web_search";
|
|
2062
|
+
permission_policy: {
|
|
2063
|
+
type: "always_allow";
|
|
2064
|
+
} | {
|
|
2065
|
+
type: "always_ask";
|
|
2066
|
+
} | {
|
|
2067
|
+
type: "auto";
|
|
2068
|
+
};
|
|
2069
|
+
type: "web_search";
|
|
2070
|
+
allowed_domains?: Array<string>;
|
|
2071
|
+
blocked_domains?: Array<string>;
|
|
2072
|
+
user_location?: null | {
|
|
2073
|
+
type: "approximate";
|
|
2074
|
+
city?: null | string;
|
|
2075
|
+
country?: null | string;
|
|
2076
|
+
region?: null | string;
|
|
2077
|
+
timezone?: null | string;
|
|
2078
|
+
};
|
|
2079
|
+
} | {
|
|
2080
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
2081
|
+
enabled: boolean;
|
|
2082
|
+
permission_policy: {
|
|
2083
|
+
type: "always_allow" | "always_ask";
|
|
2084
|
+
};
|
|
2085
|
+
}>;
|
|
2086
|
+
default_config: {
|
|
2087
|
+
enabled: boolean;
|
|
2088
|
+
permission_policy: {
|
|
2089
|
+
type: "always_allow";
|
|
2090
|
+
} | {
|
|
2091
|
+
type: "always_ask";
|
|
2092
|
+
} | {
|
|
2093
|
+
type: "auto";
|
|
2094
|
+
};
|
|
2095
|
+
};
|
|
2096
|
+
type: "agent_toolset_20260401";
|
|
2097
|
+
} | {
|
|
2098
|
+
type: "mcp_toolset";
|
|
2099
|
+
mcp_server_name: string;
|
|
2100
|
+
default_config?: {
|
|
2101
|
+
enabled?: boolean | null;
|
|
2102
|
+
permission_policy?: null | {
|
|
2103
|
+
type: "always_allow" | "always_ask";
|
|
2104
|
+
};
|
|
2105
|
+
} | null;
|
|
2106
|
+
configs?: Array<{
|
|
2107
|
+
name: string;
|
|
2108
|
+
enabled?: boolean | null;
|
|
2109
|
+
permission_policy?: null | {
|
|
2110
|
+
type: "always_allow" | "always_ask";
|
|
2111
|
+
};
|
|
2112
|
+
}> | null;
|
|
2113
|
+
} | {
|
|
2114
|
+
description: string;
|
|
2115
|
+
input_schema: {
|
|
2116
|
+
type: "object";
|
|
2117
|
+
properties?: null | {
|
|
2118
|
+
[key: string]: unknown;
|
|
2119
|
+
};
|
|
2120
|
+
required?: null | Array<string>;
|
|
2121
|
+
[key: string]: unknown;
|
|
2122
|
+
};
|
|
2123
|
+
name: string;
|
|
2124
|
+
type: "custom";
|
|
2125
|
+
}>;
|
|
1426
2126
|
type: "agent";
|
|
1427
2127
|
updated_at: string;
|
|
1428
2128
|
version: number;
|
|
@@ -1437,22 +2137,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
1437
2137
|
id: string;
|
|
1438
2138
|
} | null;
|
|
1439
2139
|
note: string | null;
|
|
2140
|
+
deployments_behind: number | null;
|
|
1440
2141
|
bindings: Array<{
|
|
1441
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2142
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1442
2143
|
id: string;
|
|
1443
2144
|
access: "read_only" | "read_write" | "invoke";
|
|
2145
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1444
2146
|
instructions?: string;
|
|
1445
2147
|
readonly verified?: boolean;
|
|
1446
2148
|
enabled?: boolean;
|
|
1447
2149
|
} | {
|
|
1448
|
-
type: "search" | "browser";
|
|
2150
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1449
2151
|
readonly verified?: boolean;
|
|
1450
2152
|
enabled?: boolean;
|
|
1451
2153
|
}>;
|
|
1452
|
-
kind: "general" | "
|
|
2154
|
+
kind: "general" | "service" | "assume";
|
|
2155
|
+
computers?: {
|
|
2156
|
+
default: string;
|
|
2157
|
+
allowed: Array<{
|
|
2158
|
+
template: string;
|
|
2159
|
+
name: string;
|
|
2160
|
+
}>;
|
|
2161
|
+
};
|
|
1453
2162
|
computer_id?: string;
|
|
1454
2163
|
subagent_model?: string | null;
|
|
1455
|
-
image_model?: string | null;
|
|
1456
2164
|
subagents?: Array<{
|
|
1457
2165
|
name: string;
|
|
1458
2166
|
description: string;
|
|
@@ -1543,6 +2251,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1543
2251
|
allowManagedHooksOnly?: boolean;
|
|
1544
2252
|
allowManagedMcpServersOnly?: boolean;
|
|
1545
2253
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2254
|
+
idleCompaction?: boolean;
|
|
1546
2255
|
autoMemoryEnabled?: boolean;
|
|
1547
2256
|
disabled?: {
|
|
1548
2257
|
subagents?: Array<string>;
|
|
@@ -1551,7 +2260,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1551
2260
|
mcpServers?: Array<string>;
|
|
1552
2261
|
hooks?: Array<string>;
|
|
1553
2262
|
};
|
|
1554
|
-
idleCompaction?: boolean;
|
|
1555
2263
|
outputStyle?: string;
|
|
1556
2264
|
} | null;
|
|
1557
2265
|
models?: {
|
|
@@ -1559,6 +2267,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1559
2267
|
};
|
|
1560
2268
|
avatar: string | null;
|
|
1561
2269
|
creation_source: string | null;
|
|
2270
|
+
managed_by: string | null;
|
|
1562
2271
|
identity_number: string | null;
|
|
1563
2272
|
environment_id?: string | null;
|
|
1564
2273
|
vault_ids?: Array<string>;
|
|
@@ -1585,6 +2294,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1585
2294
|
speed?: "standard" | "fast";
|
|
1586
2295
|
settings?: {
|
|
1587
2296
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2297
|
+
max_output_tokens?: number;
|
|
1588
2298
|
};
|
|
1589
2299
|
};
|
|
1590
2300
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1607,21 +2317,28 @@ export declare function createAgent(transport: Transport): {
|
|
|
1607
2317
|
} | null;
|
|
1608
2318
|
note: string | null;
|
|
1609
2319
|
bindings: Array<{
|
|
1610
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2320
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1611
2321
|
id: string;
|
|
1612
2322
|
access: "read_only" | "read_write" | "invoke";
|
|
2323
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1613
2324
|
instructions?: string;
|
|
1614
2325
|
readonly verified?: boolean;
|
|
1615
2326
|
enabled?: boolean;
|
|
1616
2327
|
} | {
|
|
1617
|
-
type: "search" | "browser";
|
|
2328
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1618
2329
|
readonly verified?: boolean;
|
|
1619
2330
|
enabled?: boolean;
|
|
1620
2331
|
}>;
|
|
1621
|
-
kind: "general" | "
|
|
2332
|
+
kind: "general" | "service" | "assume";
|
|
2333
|
+
computers?: {
|
|
2334
|
+
default: string;
|
|
2335
|
+
allowed: Array<{
|
|
2336
|
+
template: string;
|
|
2337
|
+
name: string;
|
|
2338
|
+
}>;
|
|
2339
|
+
};
|
|
1622
2340
|
computer_id?: string;
|
|
1623
2341
|
subagent_model?: string | null;
|
|
1624
|
-
image_model?: string | null;
|
|
1625
2342
|
subagents?: Array<{
|
|
1626
2343
|
name: string;
|
|
1627
2344
|
description: string;
|
|
@@ -1712,6 +2429,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1712
2429
|
allowManagedHooksOnly?: boolean;
|
|
1713
2430
|
allowManagedMcpServersOnly?: boolean;
|
|
1714
2431
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2432
|
+
idleCompaction?: boolean;
|
|
1715
2433
|
autoMemoryEnabled?: boolean;
|
|
1716
2434
|
disabled?: {
|
|
1717
2435
|
subagents?: Array<string>;
|
|
@@ -1720,7 +2438,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1720
2438
|
mcpServers?: Array<string>;
|
|
1721
2439
|
hooks?: Array<string>;
|
|
1722
2440
|
};
|
|
1723
|
-
idleCompaction?: boolean;
|
|
1724
2441
|
outputStyle?: string;
|
|
1725
2442
|
} | null;
|
|
1726
2443
|
models?: {
|
|
@@ -1728,6 +2445,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1728
2445
|
};
|
|
1729
2446
|
avatar: string | null;
|
|
1730
2447
|
creation_source: string | null;
|
|
2448
|
+
managed_by: string | null;
|
|
1731
2449
|
identity_number: string | null;
|
|
1732
2450
|
environment_id?: string | null;
|
|
1733
2451
|
vault_ids?: Array<string>;
|
|
@@ -1793,6 +2511,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
1793
2511
|
type: "computer_deleted";
|
|
1794
2512
|
}>;
|
|
1795
2513
|
files: {
|
|
2514
|
+
convert: {
|
|
2515
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
|
|
2516
|
+
data: string;
|
|
2517
|
+
mime: "application/pdf";
|
|
2518
|
+
cached: boolean;
|
|
2519
|
+
}>;
|
|
2520
|
+
};
|
|
1796
2521
|
list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
|
|
1797
2522
|
data: Array<{
|
|
1798
2523
|
path: string;
|
|
@@ -1808,6 +2533,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
1808
2533
|
tier: "light" | "heavy";
|
|
1809
2534
|
}>;
|
|
1810
2535
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2536
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2537
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2538
|
+
version?: string;
|
|
2539
|
+
mime_type?: string;
|
|
2540
|
+
size?: number;
|
|
2541
|
+
file_id?: string;
|
|
2542
|
+
url?: string;
|
|
2543
|
+
expires_at?: string;
|
|
2544
|
+
cached: boolean;
|
|
2545
|
+
fallback?: "content";
|
|
2546
|
+
skipped?: boolean;
|
|
2547
|
+
}>;
|
|
2548
|
+
updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
|
|
2549
|
+
path: string;
|
|
2550
|
+
size: number;
|
|
2551
|
+
mtime: string | null;
|
|
2552
|
+
version: string;
|
|
2553
|
+
}>;
|
|
1811
2554
|
};
|
|
1812
2555
|
leases: {
|
|
1813
2556
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -1848,6 +2591,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1848
2591
|
created_at: string;
|
|
1849
2592
|
updated_at: string;
|
|
1850
2593
|
archived_at: string | null;
|
|
2594
|
+
machine: "light" | "full";
|
|
1851
2595
|
implementation: "virtual" | "sandbox";
|
|
1852
2596
|
storage_bytes: number;
|
|
1853
2597
|
file_count: number;
|
|
@@ -1880,6 +2624,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1880
2624
|
id: string;
|
|
1881
2625
|
type: "agent";
|
|
1882
2626
|
version: number;
|
|
2627
|
+
pinned_version?: number | null;
|
|
2628
|
+
active_version?: number | null;
|
|
1883
2629
|
} | {
|
|
1884
2630
|
id: string;
|
|
1885
2631
|
type: "agent_with_overrides";
|
|
@@ -1917,6 +2663,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1917
2663
|
id: string;
|
|
1918
2664
|
type: "agent";
|
|
1919
2665
|
version: number;
|
|
2666
|
+
pinned_version?: number | null;
|
|
2667
|
+
active_version?: number | null;
|
|
1920
2668
|
} | {
|
|
1921
2669
|
id: string;
|
|
1922
2670
|
type: "agent_with_overrides";
|
|
@@ -1955,6 +2703,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1955
2703
|
id: string;
|
|
1956
2704
|
type: "agent";
|
|
1957
2705
|
version: number;
|
|
2706
|
+
pinned_version?: number | null;
|
|
2707
|
+
active_version?: number | null;
|
|
1958
2708
|
} | {
|
|
1959
2709
|
id: string;
|
|
1960
2710
|
type: "agent_with_overrides";
|
|
@@ -1994,6 +2744,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1994
2744
|
id: string;
|
|
1995
2745
|
type: "agent";
|
|
1996
2746
|
version: number;
|
|
2747
|
+
pinned_version?: number | null;
|
|
2748
|
+
active_version?: number | null;
|
|
1997
2749
|
} | {
|
|
1998
2750
|
id: string;
|
|
1999
2751
|
type: "agent_with_overrides";
|
|
@@ -2031,6 +2783,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2031
2783
|
id: string;
|
|
2032
2784
|
type: "agent";
|
|
2033
2785
|
version: number;
|
|
2786
|
+
pinned_version?: number | null;
|
|
2787
|
+
active_version?: number | null;
|
|
2034
2788
|
} | {
|
|
2035
2789
|
id: string;
|
|
2036
2790
|
type: "agent_with_overrides";
|
|
@@ -2072,6 +2826,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2072
2826
|
id: string;
|
|
2073
2827
|
type: "agent";
|
|
2074
2828
|
version: number;
|
|
2829
|
+
pinned_version?: number | null;
|
|
2830
|
+
active_version?: number | null;
|
|
2075
2831
|
} | {
|
|
2076
2832
|
id: string;
|
|
2077
2833
|
type: "agent_with_overrides";
|
|
@@ -2110,6 +2866,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2110
2866
|
id: string;
|
|
2111
2867
|
type: "agent";
|
|
2112
2868
|
version: number;
|
|
2869
|
+
pinned_version?: number | null;
|
|
2870
|
+
active_version?: number | null;
|
|
2113
2871
|
} | {
|
|
2114
2872
|
id: string;
|
|
2115
2873
|
type: "agent_with_overrides";
|
|
@@ -2153,6 +2911,543 @@ export declare function createAgent(transport: Transport): {
|
|
|
2153
2911
|
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2154
2912
|
};
|
|
2155
2913
|
sessions: {
|
|
2914
|
+
agentVersion: {
|
|
2915
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
|
|
2916
|
+
id: string;
|
|
2917
|
+
agent: {
|
|
2918
|
+
id: string;
|
|
2919
|
+
description: null | string;
|
|
2920
|
+
mcp_servers: Array<{
|
|
2921
|
+
type: "url";
|
|
2922
|
+
name: string;
|
|
2923
|
+
url: string;
|
|
2924
|
+
headers?: {
|
|
2925
|
+
[key: string]: string;
|
|
2926
|
+
};
|
|
2927
|
+
timeout_ms?: number;
|
|
2928
|
+
} | {
|
|
2929
|
+
type: "sse";
|
|
2930
|
+
name: string;
|
|
2931
|
+
url: string;
|
|
2932
|
+
headers?: {
|
|
2933
|
+
[key: string]: string;
|
|
2934
|
+
};
|
|
2935
|
+
timeout_ms?: number;
|
|
2936
|
+
} | {
|
|
2937
|
+
type: "stdio";
|
|
2938
|
+
name: string;
|
|
2939
|
+
command: string;
|
|
2940
|
+
args?: Array<string>;
|
|
2941
|
+
env?: {
|
|
2942
|
+
[key: string]: string;
|
|
2943
|
+
};
|
|
2944
|
+
timeout_ms?: number;
|
|
2945
|
+
}>;
|
|
2946
|
+
model: {
|
|
2947
|
+
id: string;
|
|
2948
|
+
effort?: {
|
|
2949
|
+
type: "low";
|
|
2950
|
+
} | {
|
|
2951
|
+
type: "medium";
|
|
2952
|
+
} | {
|
|
2953
|
+
type: "high";
|
|
2954
|
+
} | {
|
|
2955
|
+
type: "xhigh";
|
|
2956
|
+
} | {
|
|
2957
|
+
type: "max";
|
|
2958
|
+
};
|
|
2959
|
+
inference_geo?: string;
|
|
2960
|
+
speed?: "standard" | "fast";
|
|
2961
|
+
settings?: {
|
|
2962
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2963
|
+
max_output_tokens?: number;
|
|
2964
|
+
};
|
|
2965
|
+
};
|
|
2966
|
+
multiagent: null | {
|
|
2967
|
+
agents: Array<{
|
|
2968
|
+
model: string;
|
|
2969
|
+
type: "advisor";
|
|
2970
|
+
} | {
|
|
2971
|
+
id: string;
|
|
2972
|
+
description: null | string;
|
|
2973
|
+
mcp_servers: Array<{
|
|
2974
|
+
type: "url";
|
|
2975
|
+
name: string;
|
|
2976
|
+
url: string;
|
|
2977
|
+
headers?: {
|
|
2978
|
+
[key: string]: string;
|
|
2979
|
+
};
|
|
2980
|
+
timeout_ms?: number;
|
|
2981
|
+
} | {
|
|
2982
|
+
type: "sse";
|
|
2983
|
+
name: string;
|
|
2984
|
+
url: string;
|
|
2985
|
+
headers?: {
|
|
2986
|
+
[key: string]: string;
|
|
2987
|
+
};
|
|
2988
|
+
timeout_ms?: number;
|
|
2989
|
+
} | {
|
|
2990
|
+
type: "stdio";
|
|
2991
|
+
name: string;
|
|
2992
|
+
command: string;
|
|
2993
|
+
args?: Array<string>;
|
|
2994
|
+
env?: {
|
|
2995
|
+
[key: string]: string;
|
|
2996
|
+
};
|
|
2997
|
+
timeout_ms?: number;
|
|
2998
|
+
}>;
|
|
2999
|
+
model: {
|
|
3000
|
+
id: string;
|
|
3001
|
+
effort?: {
|
|
3002
|
+
type: "low";
|
|
3003
|
+
} | {
|
|
3004
|
+
type: "medium";
|
|
3005
|
+
} | {
|
|
3006
|
+
type: "high";
|
|
3007
|
+
} | {
|
|
3008
|
+
type: "xhigh";
|
|
3009
|
+
} | {
|
|
3010
|
+
type: "max";
|
|
3011
|
+
};
|
|
3012
|
+
inference_geo?: string;
|
|
3013
|
+
speed?: "standard" | "fast";
|
|
3014
|
+
};
|
|
3015
|
+
name: string;
|
|
3016
|
+
skills: Array<{
|
|
3017
|
+
skill_id: string;
|
|
3018
|
+
type: "anthropic";
|
|
3019
|
+
version: string;
|
|
3020
|
+
} | {
|
|
3021
|
+
skill_id: string;
|
|
3022
|
+
type: "custom";
|
|
3023
|
+
version: string;
|
|
3024
|
+
}>;
|
|
3025
|
+
system: null | string;
|
|
3026
|
+
tools: Array<{
|
|
3027
|
+
configs: Array<{
|
|
3028
|
+
enabled: boolean;
|
|
3029
|
+
name: "bash";
|
|
3030
|
+
permission_policy: {
|
|
3031
|
+
type: "always_allow";
|
|
3032
|
+
} | {
|
|
3033
|
+
type: "always_ask";
|
|
3034
|
+
} | {
|
|
3035
|
+
type: "auto";
|
|
3036
|
+
};
|
|
3037
|
+
type: "bash";
|
|
3038
|
+
} | {
|
|
3039
|
+
enabled: boolean;
|
|
3040
|
+
name: "edit";
|
|
3041
|
+
permission_policy: {
|
|
3042
|
+
type: "always_allow";
|
|
3043
|
+
} | {
|
|
3044
|
+
type: "always_ask";
|
|
3045
|
+
} | {
|
|
3046
|
+
type: "auto";
|
|
3047
|
+
};
|
|
3048
|
+
type: "edit";
|
|
3049
|
+
} | {
|
|
3050
|
+
enabled: boolean;
|
|
3051
|
+
name: "read";
|
|
3052
|
+
permission_policy: {
|
|
3053
|
+
type: "always_allow";
|
|
3054
|
+
} | {
|
|
3055
|
+
type: "always_ask";
|
|
3056
|
+
} | {
|
|
3057
|
+
type: "auto";
|
|
3058
|
+
};
|
|
3059
|
+
type: "read";
|
|
3060
|
+
} | {
|
|
3061
|
+
enabled: boolean;
|
|
3062
|
+
name: "write";
|
|
3063
|
+
permission_policy: {
|
|
3064
|
+
type: "always_allow";
|
|
3065
|
+
} | {
|
|
3066
|
+
type: "always_ask";
|
|
3067
|
+
} | {
|
|
3068
|
+
type: "auto";
|
|
3069
|
+
};
|
|
3070
|
+
type: "write";
|
|
3071
|
+
} | {
|
|
3072
|
+
enabled: boolean;
|
|
3073
|
+
name: "glob";
|
|
3074
|
+
permission_policy: {
|
|
3075
|
+
type: "always_allow";
|
|
3076
|
+
} | {
|
|
3077
|
+
type: "always_ask";
|
|
3078
|
+
} | {
|
|
3079
|
+
type: "auto";
|
|
3080
|
+
};
|
|
3081
|
+
type: "glob";
|
|
3082
|
+
} | {
|
|
3083
|
+
enabled: boolean;
|
|
3084
|
+
name: "grep";
|
|
3085
|
+
permission_policy: {
|
|
3086
|
+
type: "always_allow";
|
|
3087
|
+
} | {
|
|
3088
|
+
type: "always_ask";
|
|
3089
|
+
} | {
|
|
3090
|
+
type: "auto";
|
|
3091
|
+
};
|
|
3092
|
+
type: "grep";
|
|
3093
|
+
} | {
|
|
3094
|
+
enabled: boolean;
|
|
3095
|
+
name: "web_fetch";
|
|
3096
|
+
permission_policy: {
|
|
3097
|
+
type: "always_allow";
|
|
3098
|
+
} | {
|
|
3099
|
+
type: "always_ask";
|
|
3100
|
+
} | {
|
|
3101
|
+
type: "auto";
|
|
3102
|
+
};
|
|
3103
|
+
type: "web_fetch";
|
|
3104
|
+
allowed_domains?: Array<string>;
|
|
3105
|
+
blocked_domains?: Array<string>;
|
|
3106
|
+
max_content_tokens?: null | number;
|
|
3107
|
+
} | {
|
|
3108
|
+
enabled: boolean;
|
|
3109
|
+
name: "web_search";
|
|
3110
|
+
permission_policy: {
|
|
3111
|
+
type: "always_allow";
|
|
3112
|
+
} | {
|
|
3113
|
+
type: "always_ask";
|
|
3114
|
+
} | {
|
|
3115
|
+
type: "auto";
|
|
3116
|
+
};
|
|
3117
|
+
type: "web_search";
|
|
3118
|
+
allowed_domains?: Array<string>;
|
|
3119
|
+
blocked_domains?: Array<string>;
|
|
3120
|
+
user_location?: null | {
|
|
3121
|
+
type: "approximate";
|
|
3122
|
+
city?: null | string;
|
|
3123
|
+
country?: null | string;
|
|
3124
|
+
region?: null | string;
|
|
3125
|
+
timezone?: null | string;
|
|
3126
|
+
};
|
|
3127
|
+
} | {
|
|
3128
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3129
|
+
enabled: boolean;
|
|
3130
|
+
permission_policy: {
|
|
3131
|
+
type: "always_allow" | "always_ask";
|
|
3132
|
+
};
|
|
3133
|
+
}>;
|
|
3134
|
+
default_config: {
|
|
3135
|
+
enabled: boolean;
|
|
3136
|
+
permission_policy: {
|
|
3137
|
+
type: "always_allow";
|
|
3138
|
+
} | {
|
|
3139
|
+
type: "always_ask";
|
|
3140
|
+
} | {
|
|
3141
|
+
type: "auto";
|
|
3142
|
+
};
|
|
3143
|
+
};
|
|
3144
|
+
type: "agent_toolset_20260401";
|
|
3145
|
+
} | {
|
|
3146
|
+
type: "mcp_toolset";
|
|
3147
|
+
mcp_server_name: string;
|
|
3148
|
+
default_config?: {
|
|
3149
|
+
enabled?: boolean | null;
|
|
3150
|
+
permission_policy?: null | {
|
|
3151
|
+
type: "always_allow" | "always_ask";
|
|
3152
|
+
};
|
|
3153
|
+
} | null;
|
|
3154
|
+
configs?: Array<{
|
|
3155
|
+
name: string;
|
|
3156
|
+
enabled?: boolean | null;
|
|
3157
|
+
permission_policy?: null | {
|
|
3158
|
+
type: "always_allow" | "always_ask";
|
|
3159
|
+
};
|
|
3160
|
+
}> | null;
|
|
3161
|
+
} | {
|
|
3162
|
+
description: string;
|
|
3163
|
+
input_schema: {
|
|
3164
|
+
type: "object";
|
|
3165
|
+
properties?: null | {
|
|
3166
|
+
[key: string]: unknown;
|
|
3167
|
+
};
|
|
3168
|
+
required?: null | Array<string>;
|
|
3169
|
+
[key: string]: unknown;
|
|
3170
|
+
};
|
|
3171
|
+
name: string;
|
|
3172
|
+
type: "custom";
|
|
3173
|
+
}>;
|
|
3174
|
+
type: "agent";
|
|
3175
|
+
version: number;
|
|
3176
|
+
}>;
|
|
3177
|
+
type: "coordinator";
|
|
3178
|
+
};
|
|
3179
|
+
name: string;
|
|
3180
|
+
skills: Array<{
|
|
3181
|
+
skill_id: string;
|
|
3182
|
+
type: "anthropic";
|
|
3183
|
+
version: string;
|
|
3184
|
+
} | {
|
|
3185
|
+
skill_id: string;
|
|
3186
|
+
type: "custom";
|
|
3187
|
+
version: string;
|
|
3188
|
+
}>;
|
|
3189
|
+
system: null | string;
|
|
3190
|
+
tools: Array<{
|
|
3191
|
+
configs: Array<{
|
|
3192
|
+
enabled: boolean;
|
|
3193
|
+
name: "bash";
|
|
3194
|
+
permission_policy: {
|
|
3195
|
+
type: "always_allow";
|
|
3196
|
+
} | {
|
|
3197
|
+
type: "always_ask";
|
|
3198
|
+
} | {
|
|
3199
|
+
type: "auto";
|
|
3200
|
+
};
|
|
3201
|
+
type: "bash";
|
|
3202
|
+
} | {
|
|
3203
|
+
enabled: boolean;
|
|
3204
|
+
name: "edit";
|
|
3205
|
+
permission_policy: {
|
|
3206
|
+
type: "always_allow";
|
|
3207
|
+
} | {
|
|
3208
|
+
type: "always_ask";
|
|
3209
|
+
} | {
|
|
3210
|
+
type: "auto";
|
|
3211
|
+
};
|
|
3212
|
+
type: "edit";
|
|
3213
|
+
} | {
|
|
3214
|
+
enabled: boolean;
|
|
3215
|
+
name: "read";
|
|
3216
|
+
permission_policy: {
|
|
3217
|
+
type: "always_allow";
|
|
3218
|
+
} | {
|
|
3219
|
+
type: "always_ask";
|
|
3220
|
+
} | {
|
|
3221
|
+
type: "auto";
|
|
3222
|
+
};
|
|
3223
|
+
type: "read";
|
|
3224
|
+
} | {
|
|
3225
|
+
enabled: boolean;
|
|
3226
|
+
name: "write";
|
|
3227
|
+
permission_policy: {
|
|
3228
|
+
type: "always_allow";
|
|
3229
|
+
} | {
|
|
3230
|
+
type: "always_ask";
|
|
3231
|
+
} | {
|
|
3232
|
+
type: "auto";
|
|
3233
|
+
};
|
|
3234
|
+
type: "write";
|
|
3235
|
+
} | {
|
|
3236
|
+
enabled: boolean;
|
|
3237
|
+
name: "glob";
|
|
3238
|
+
permission_policy: {
|
|
3239
|
+
type: "always_allow";
|
|
3240
|
+
} | {
|
|
3241
|
+
type: "always_ask";
|
|
3242
|
+
} | {
|
|
3243
|
+
type: "auto";
|
|
3244
|
+
};
|
|
3245
|
+
type: "glob";
|
|
3246
|
+
} | {
|
|
3247
|
+
enabled: boolean;
|
|
3248
|
+
name: "grep";
|
|
3249
|
+
permission_policy: {
|
|
3250
|
+
type: "always_allow";
|
|
3251
|
+
} | {
|
|
3252
|
+
type: "always_ask";
|
|
3253
|
+
} | {
|
|
3254
|
+
type: "auto";
|
|
3255
|
+
};
|
|
3256
|
+
type: "grep";
|
|
3257
|
+
} | {
|
|
3258
|
+
enabled: boolean;
|
|
3259
|
+
name: "web_fetch";
|
|
3260
|
+
permission_policy: {
|
|
3261
|
+
type: "always_allow";
|
|
3262
|
+
} | {
|
|
3263
|
+
type: "always_ask";
|
|
3264
|
+
} | {
|
|
3265
|
+
type: "auto";
|
|
3266
|
+
};
|
|
3267
|
+
type: "web_fetch";
|
|
3268
|
+
allowed_domains?: Array<string>;
|
|
3269
|
+
blocked_domains?: Array<string>;
|
|
3270
|
+
max_content_tokens?: null | number;
|
|
3271
|
+
} | {
|
|
3272
|
+
enabled: boolean;
|
|
3273
|
+
name: "web_search";
|
|
3274
|
+
permission_policy: {
|
|
3275
|
+
type: "always_allow";
|
|
3276
|
+
} | {
|
|
3277
|
+
type: "always_ask";
|
|
3278
|
+
} | {
|
|
3279
|
+
type: "auto";
|
|
3280
|
+
};
|
|
3281
|
+
type: "web_search";
|
|
3282
|
+
allowed_domains?: Array<string>;
|
|
3283
|
+
blocked_domains?: Array<string>;
|
|
3284
|
+
user_location?: null | {
|
|
3285
|
+
type: "approximate";
|
|
3286
|
+
city?: null | string;
|
|
3287
|
+
country?: null | string;
|
|
3288
|
+
region?: null | string;
|
|
3289
|
+
timezone?: null | string;
|
|
3290
|
+
};
|
|
3291
|
+
} | {
|
|
3292
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3293
|
+
enabled: boolean;
|
|
3294
|
+
permission_policy: {
|
|
3295
|
+
type: "always_allow" | "always_ask";
|
|
3296
|
+
};
|
|
3297
|
+
}>;
|
|
3298
|
+
default_config: {
|
|
3299
|
+
enabled: boolean;
|
|
3300
|
+
permission_policy: {
|
|
3301
|
+
type: "always_allow";
|
|
3302
|
+
} | {
|
|
3303
|
+
type: "always_ask";
|
|
3304
|
+
} | {
|
|
3305
|
+
type: "auto";
|
|
3306
|
+
};
|
|
3307
|
+
};
|
|
3308
|
+
type: "agent_toolset_20260401";
|
|
3309
|
+
} | {
|
|
3310
|
+
type: "mcp_toolset";
|
|
3311
|
+
mcp_server_name: string;
|
|
3312
|
+
default_config?: {
|
|
3313
|
+
enabled?: boolean | null;
|
|
3314
|
+
permission_policy?: null | {
|
|
3315
|
+
type: "always_allow" | "always_ask";
|
|
3316
|
+
};
|
|
3317
|
+
} | null;
|
|
3318
|
+
configs?: Array<{
|
|
3319
|
+
name: string;
|
|
3320
|
+
enabled?: boolean | null;
|
|
3321
|
+
permission_policy?: null | {
|
|
3322
|
+
type: "always_allow" | "always_ask";
|
|
3323
|
+
};
|
|
3324
|
+
}> | null;
|
|
3325
|
+
} | {
|
|
3326
|
+
description: string;
|
|
3327
|
+
input_schema: {
|
|
3328
|
+
type: "object";
|
|
3329
|
+
properties?: null | {
|
|
3330
|
+
[key: string]: unknown;
|
|
3331
|
+
};
|
|
3332
|
+
required?: null | Array<string>;
|
|
3333
|
+
[key: string]: unknown;
|
|
3334
|
+
};
|
|
3335
|
+
name: string;
|
|
3336
|
+
type: "custom";
|
|
3337
|
+
}>;
|
|
3338
|
+
type: "agent";
|
|
3339
|
+
version: number;
|
|
3340
|
+
};
|
|
3341
|
+
archived_at: null | string;
|
|
3342
|
+
budget: null | {
|
|
3343
|
+
max_list_cost: {
|
|
3344
|
+
amount: string;
|
|
3345
|
+
currency: "USD";
|
|
3346
|
+
};
|
|
3347
|
+
type: "limit";
|
|
3348
|
+
};
|
|
3349
|
+
created_at: string;
|
|
3350
|
+
environment_id?: string;
|
|
3351
|
+
metadata: {
|
|
3352
|
+
[key: string]: string;
|
|
3353
|
+
};
|
|
3354
|
+
outcome_evaluations: Array<{
|
|
3355
|
+
completed_at: null | string;
|
|
3356
|
+
description: string;
|
|
3357
|
+
explanation: null | string;
|
|
3358
|
+
iteration: number;
|
|
3359
|
+
outcome_id: string;
|
|
3360
|
+
result: string;
|
|
3361
|
+
type: "outcome_evaluation";
|
|
3362
|
+
}>;
|
|
3363
|
+
resources: Array<{
|
|
3364
|
+
id: string;
|
|
3365
|
+
created_at: string;
|
|
3366
|
+
mount_path: string;
|
|
3367
|
+
type: "github_repository";
|
|
3368
|
+
updated_at: string;
|
|
3369
|
+
url: string;
|
|
3370
|
+
checkout?: null | {
|
|
3371
|
+
name: string;
|
|
3372
|
+
type: "branch";
|
|
3373
|
+
} | {
|
|
3374
|
+
sha: string;
|
|
3375
|
+
type: "commit";
|
|
3376
|
+
};
|
|
3377
|
+
} | {
|
|
3378
|
+
id: string;
|
|
3379
|
+
created_at: string;
|
|
3380
|
+
file_id: string;
|
|
3381
|
+
mount_path: string;
|
|
3382
|
+
type: "file";
|
|
3383
|
+
updated_at: string;
|
|
3384
|
+
} | {
|
|
3385
|
+
memory_store_id: string;
|
|
3386
|
+
type: "memory_store";
|
|
3387
|
+
access?: null | "read_write" | "read_only";
|
|
3388
|
+
description?: string;
|
|
3389
|
+
instructions?: null | string;
|
|
3390
|
+
mount_path?: null | string;
|
|
3391
|
+
name?: null | string;
|
|
3392
|
+
}>;
|
|
3393
|
+
stats: {
|
|
3394
|
+
active_seconds?: number;
|
|
3395
|
+
duration_seconds?: number;
|
|
3396
|
+
};
|
|
3397
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3398
|
+
title: null | string;
|
|
3399
|
+
type: "session";
|
|
3400
|
+
updated_at: string;
|
|
3401
|
+
usage: {
|
|
3402
|
+
active_seconds?: number;
|
|
3403
|
+
cache_creation?: {
|
|
3404
|
+
ephemeral_1h_input_tokens?: number;
|
|
3405
|
+
ephemeral_5m_input_tokens?: number;
|
|
3406
|
+
};
|
|
3407
|
+
cache_read_input_tokens?: number;
|
|
3408
|
+
input_tokens?: number;
|
|
3409
|
+
list_cost?: null | {
|
|
3410
|
+
amount: string;
|
|
3411
|
+
currency: "USD";
|
|
3412
|
+
};
|
|
3413
|
+
output_tokens?: number;
|
|
3414
|
+
server_tool_use?: null | {
|
|
3415
|
+
web_fetch_requests?: number;
|
|
3416
|
+
web_search_requests?: number;
|
|
3417
|
+
};
|
|
3418
|
+
cost_by_product?: {
|
|
3419
|
+
[key: string]: string;
|
|
3420
|
+
};
|
|
3421
|
+
subagent_cost_micro_usd?: number;
|
|
3422
|
+
};
|
|
3423
|
+
vault_ids: Array<string>;
|
|
3424
|
+
deployment_id?: null | string;
|
|
3425
|
+
cwd: string;
|
|
3426
|
+
workspace?: {
|
|
3427
|
+
kind: "shared" | "isolated";
|
|
3428
|
+
path?: string;
|
|
3429
|
+
branch?: string;
|
|
3430
|
+
};
|
|
3431
|
+
computer_id?: string;
|
|
3432
|
+
model?: {
|
|
3433
|
+
id: string;
|
|
3434
|
+
thinking: {
|
|
3435
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
3436
|
+
can_disable: boolean;
|
|
3437
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
3438
|
+
} | null;
|
|
3439
|
+
};
|
|
3440
|
+
thinking?: {
|
|
3441
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3442
|
+
} | null;
|
|
3443
|
+
forked_from?: {
|
|
3444
|
+
session_id: string;
|
|
3445
|
+
message_id: string;
|
|
3446
|
+
} | null;
|
|
3447
|
+
readonly external_user_id: string | null;
|
|
3448
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3449
|
+
}>;
|
|
3450
|
+
};
|
|
2156
3451
|
archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
|
|
2157
3452
|
id: string;
|
|
2158
3453
|
agent: {
|
|
@@ -2166,6 +3461,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2166
3461
|
speed?: "standard" | "fast";
|
|
2167
3462
|
settings?: {
|
|
2168
3463
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3464
|
+
max_output_tokens?: number;
|
|
2169
3465
|
};
|
|
2170
3466
|
};
|
|
2171
3467
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2192,6 +3488,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2192
3488
|
vault_ids: Array<string>;
|
|
2193
3489
|
deployment_id?: null | string;
|
|
2194
3490
|
cwd: string;
|
|
3491
|
+
workspace?: {
|
|
3492
|
+
kind: "shared" | "isolated";
|
|
3493
|
+
path?: string;
|
|
3494
|
+
branch?: string;
|
|
3495
|
+
};
|
|
2195
3496
|
computer_id?: string;
|
|
2196
3497
|
model?: {
|
|
2197
3498
|
id: string;
|
|
@@ -2211,6 +3512,40 @@ export declare function createAgent(transport: Transport): {
|
|
|
2211
3512
|
readonly external_user_id: string | null;
|
|
2212
3513
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2213
3514
|
}>;
|
|
3515
|
+
artifacts: {
|
|
3516
|
+
contentUrl: {
|
|
3517
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
|
|
3518
|
+
url: string;
|
|
3519
|
+
expire_time: string;
|
|
3520
|
+
}>;
|
|
3521
|
+
};
|
|
3522
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
|
|
3523
|
+
data: Array<{
|
|
3524
|
+
object: "artifact";
|
|
3525
|
+
id: string;
|
|
3526
|
+
session_id: string;
|
|
3527
|
+
run_id: string | null;
|
|
3528
|
+
name: string;
|
|
3529
|
+
version: number;
|
|
3530
|
+
parts: Array<{
|
|
3531
|
+
kind: "file";
|
|
3532
|
+
file_id: string;
|
|
3533
|
+
filename: string;
|
|
3534
|
+
mime_type: string;
|
|
3535
|
+
bytes: number;
|
|
3536
|
+
} | {
|
|
3537
|
+
kind: "object";
|
|
3538
|
+
object_type: "canvas" | "media_asset";
|
|
3539
|
+
object_id: string;
|
|
3540
|
+
href: string;
|
|
3541
|
+
title: string | null;
|
|
3542
|
+
}>;
|
|
3543
|
+
source_hrefs: Array<string>;
|
|
3544
|
+
create_time: string;
|
|
3545
|
+
update_time: string;
|
|
3546
|
+
}>;
|
|
3547
|
+
}>;
|
|
3548
|
+
};
|
|
2214
3549
|
backgroundTasks: {
|
|
2215
3550
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
|
|
2216
3551
|
data: Array<{
|
|
@@ -2293,6 +3628,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2293
3628
|
speed?: "standard" | "fast";
|
|
2294
3629
|
settings?: {
|
|
2295
3630
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3631
|
+
max_output_tokens?: number;
|
|
2296
3632
|
};
|
|
2297
3633
|
};
|
|
2298
3634
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2319,6 +3655,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2319
3655
|
vault_ids: Array<string>;
|
|
2320
3656
|
deployment_id?: null | string;
|
|
2321
3657
|
cwd: string;
|
|
3658
|
+
workspace?: {
|
|
3659
|
+
kind: "shared" | "isolated";
|
|
3660
|
+
path?: string;
|
|
3661
|
+
branch?: string;
|
|
3662
|
+
};
|
|
2322
3663
|
computer_id?: string;
|
|
2323
3664
|
model?: {
|
|
2324
3665
|
id: string;
|
|
@@ -2339,6 +3680,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2339
3680
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2340
3681
|
}>;
|
|
2341
3682
|
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
3683
|
+
dictations: {
|
|
3684
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
|
|
3685
|
+
id: string;
|
|
3686
|
+
push_url: string;
|
|
3687
|
+
expires_at: string;
|
|
3688
|
+
}>;
|
|
3689
|
+
};
|
|
2342
3690
|
events: {
|
|
2343
3691
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
2344
3692
|
data: Array<{
|
|
@@ -2379,7 +3727,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2379
3727
|
run_id: string | null;
|
|
2380
3728
|
message_id?: string;
|
|
2381
3729
|
} | {
|
|
2382
|
-
full_access_available?: boolean;
|
|
2383
3730
|
id: string;
|
|
2384
3731
|
input: Types.AgentManaged197;
|
|
2385
3732
|
mcp_server_name: string;
|
|
@@ -2389,6 +3736,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2389
3736
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2390
3737
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2391
3738
|
session_thread_id?: null | string;
|
|
3739
|
+
permission_suggestions?: Array<{
|
|
3740
|
+
type: "add_rules";
|
|
3741
|
+
behavior: "allow";
|
|
3742
|
+
destination: "agent" | "session";
|
|
3743
|
+
rules: Array<{
|
|
3744
|
+
tool_name: string;
|
|
3745
|
+
rule_content: string;
|
|
3746
|
+
}>;
|
|
3747
|
+
}>;
|
|
3748
|
+
full_access_available?: boolean;
|
|
3749
|
+
user_once?: true;
|
|
3750
|
+
guarded_rule?: string;
|
|
2392
3751
|
run_id: string | null;
|
|
2393
3752
|
_meta?: {
|
|
2394
3753
|
ui?: {
|
|
@@ -2402,17 +3761,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2402
3761
|
};
|
|
2403
3762
|
source?: "app" | "codemode";
|
|
2404
3763
|
parent_tool_use_id?: string;
|
|
2405
|
-
user_once?: true;
|
|
2406
|
-
guarded_rule?: string;
|
|
2407
|
-
permission_suggestions?: Array<{
|
|
2408
|
-
type: "add_rules";
|
|
2409
|
-
behavior: "allow";
|
|
2410
|
-
destination: "agent" | "session";
|
|
2411
|
-
rules: Array<{
|
|
2412
|
-
tool_name: string;
|
|
2413
|
-
rule_content: string;
|
|
2414
|
-
}>;
|
|
2415
|
-
}>;
|
|
2416
3764
|
title?: string;
|
|
2417
3765
|
input_titles?: {
|
|
2418
3766
|
[key: string]: string;
|
|
@@ -2431,7 +3779,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2431
3779
|
};
|
|
2432
3780
|
source?: "app" | "codemode";
|
|
2433
3781
|
} | {
|
|
2434
|
-
full_access_available?: boolean;
|
|
2435
3782
|
id: string;
|
|
2436
3783
|
input: Types.AgentManaged206;
|
|
2437
3784
|
name: string;
|
|
@@ -2440,9 +3787,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2440
3787
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2441
3788
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2442
3789
|
session_thread_id?: null | string;
|
|
2443
|
-
run_id: string | null;
|
|
2444
|
-
user_once?: true;
|
|
2445
|
-
guarded_rule?: string;
|
|
2446
3790
|
permission_suggestions?: Array<{
|
|
2447
3791
|
type: "add_rules";
|
|
2448
3792
|
behavior: "allow";
|
|
@@ -2452,6 +3796,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2452
3796
|
rule_content: string;
|
|
2453
3797
|
}>;
|
|
2454
3798
|
}>;
|
|
3799
|
+
full_access_available?: boolean;
|
|
3800
|
+
user_once?: true;
|
|
3801
|
+
guarded_rule?: string;
|
|
3802
|
+
run_id: string | null;
|
|
2455
3803
|
} | {
|
|
2456
3804
|
id: string;
|
|
2457
3805
|
processed_at: string;
|
|
@@ -2472,9 +3820,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2472
3820
|
type: "session.status_idle";
|
|
2473
3821
|
run_id: string | null;
|
|
2474
3822
|
} | 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 | {
|
|
2475
|
-
permission_mode_version?: number;
|
|
2476
|
-
previous_permission_mode?: string | null;
|
|
2477
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2478
3823
|
id: string;
|
|
2479
3824
|
processed_at: string;
|
|
2480
3825
|
type: "session.updated";
|
|
@@ -2482,6 +3827,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2482
3827
|
budget?: null | Types.AgentManaged76;
|
|
2483
3828
|
metadata?: Types.AgentManaged246;
|
|
2484
3829
|
title?: null | string;
|
|
3830
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3831
|
+
previous_permission_mode?: string | null;
|
|
3832
|
+
permission_mode_version?: number;
|
|
2485
3833
|
model?: {
|
|
2486
3834
|
id: string;
|
|
2487
3835
|
};
|
|
@@ -2542,19 +3890,164 @@ export declare function createAgent(transport: Transport): {
|
|
|
2542
3890
|
processed_at: string;
|
|
2543
3891
|
} | {
|
|
2544
3892
|
id: string;
|
|
2545
|
-
type: "
|
|
3893
|
+
type: "cognition.surfaced";
|
|
3894
|
+
processed_at: string;
|
|
3895
|
+
worker_session_id: string;
|
|
3896
|
+
name: string;
|
|
3897
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
3898
|
+
experience_id?: string;
|
|
3899
|
+
result?: {
|
|
3900
|
+
message?: string;
|
|
3901
|
+
links?: Array<string>;
|
|
3902
|
+
files?: Array<{
|
|
3903
|
+
name?: string;
|
|
3904
|
+
href?: string;
|
|
3905
|
+
}>;
|
|
3906
|
+
held?: Array<{
|
|
3907
|
+
id?: string;
|
|
3908
|
+
summary?: string;
|
|
3909
|
+
effect?: string;
|
|
3910
|
+
method?: string;
|
|
3911
|
+
path?: string;
|
|
3912
|
+
expires_at?: string;
|
|
3913
|
+
}>;
|
|
3914
|
+
};
|
|
3915
|
+
} | {
|
|
3916
|
+
id: string;
|
|
3917
|
+
type: "cognition.intention_woken";
|
|
3918
|
+
processed_at: string;
|
|
3919
|
+
node_id: string;
|
|
3920
|
+
reason: "open_engram" | "assignment";
|
|
3921
|
+
} | {
|
|
3922
|
+
id: string;
|
|
3923
|
+
type: "agent.operation_approval_requested";
|
|
3924
|
+
processed_at: string;
|
|
3925
|
+
approval_id: string;
|
|
3926
|
+
operation_id: string;
|
|
3927
|
+
effect: "outward" | "irreversible";
|
|
3928
|
+
method: string;
|
|
3929
|
+
path: string;
|
|
3930
|
+
summary: string;
|
|
3931
|
+
expires_at: string;
|
|
3932
|
+
worker_session_id?: string;
|
|
3933
|
+
worker_name?: string;
|
|
3934
|
+
} | {
|
|
3935
|
+
id: string;
|
|
3936
|
+
type: "agent.operation_approval_decided";
|
|
3937
|
+
processed_at: string;
|
|
3938
|
+
approval_id: string;
|
|
3939
|
+
status: "approved" | "refused" | "expired";
|
|
3940
|
+
} | {
|
|
3941
|
+
id: string;
|
|
3942
|
+
type: "session.prompt_configuration_mismatch";
|
|
3943
|
+
processed_at: string;
|
|
3944
|
+
pinned_revision_id: string;
|
|
3945
|
+
current_revision_id: string;
|
|
3946
|
+
} | {
|
|
3947
|
+
id: string;
|
|
3948
|
+
type: "session.prompt_rev_changed";
|
|
3949
|
+
processed_at: string;
|
|
3950
|
+
config_revision_id: string;
|
|
3951
|
+
changed: Array<{
|
|
3952
|
+
name: string;
|
|
3953
|
+
rev: string | null;
|
|
3954
|
+
}>;
|
|
3955
|
+
} | {
|
|
3956
|
+
id: string;
|
|
3957
|
+
type: "session.computer_tier";
|
|
3958
|
+
processed_at: string;
|
|
3959
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
3960
|
+
tier: "light" | "heavy";
|
|
3961
|
+
duration_ms: number;
|
|
3962
|
+
error_code?: string;
|
|
3963
|
+
status?: {
|
|
3964
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
3965
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
3966
|
+
percent?: number;
|
|
3967
|
+
files_done?: number;
|
|
3968
|
+
files_total?: number;
|
|
3969
|
+
idle_release_at?: number;
|
|
3970
|
+
retry_at?: number;
|
|
3971
|
+
epoch?: number;
|
|
3972
|
+
heavy_instance?: string | null;
|
|
3973
|
+
heavy_paused?: boolean;
|
|
3974
|
+
};
|
|
3975
|
+
} | {
|
|
3976
|
+
id: string;
|
|
3977
|
+
type: "agent.artifact_delivered";
|
|
3978
|
+
processed_at: string;
|
|
3979
|
+
artifact: {
|
|
3980
|
+
object: "artifact";
|
|
3981
|
+
id: string;
|
|
3982
|
+
session_id: string;
|
|
3983
|
+
run_id: string | null;
|
|
3984
|
+
name: string;
|
|
3985
|
+
version: number;
|
|
3986
|
+
parts: Array<{
|
|
3987
|
+
[key: string]: unknown;
|
|
3988
|
+
}>;
|
|
3989
|
+
source_hrefs: Array<string>;
|
|
3990
|
+
create_time: string;
|
|
3991
|
+
update_time: string;
|
|
3992
|
+
};
|
|
3993
|
+
} | {
|
|
3994
|
+
id: string;
|
|
3995
|
+
type: "agent.image_generation";
|
|
2546
3996
|
processed_at: string;
|
|
2547
3997
|
tool_use_id: string;
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
3998
|
+
index: number;
|
|
3999
|
+
total: number;
|
|
4000
|
+
status: string;
|
|
4001
|
+
mode?: string;
|
|
4002
|
+
aspect?: string;
|
|
4003
|
+
prompt?: string;
|
|
4004
|
+
model?: string;
|
|
4005
|
+
file_id?: string;
|
|
4006
|
+
label?: string;
|
|
4007
|
+
width?: number;
|
|
4008
|
+
height?: number;
|
|
4009
|
+
revised_prompt?: string;
|
|
4010
|
+
source_labels?: Array<string>;
|
|
4011
|
+
caption?: string;
|
|
4012
|
+
slot?: number | null;
|
|
4013
|
+
replaces?: string;
|
|
4014
|
+
version?: number;
|
|
4015
|
+
failure?: {
|
|
4016
|
+
reason?: string;
|
|
2551
4017
|
};
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
4018
|
+
} | {
|
|
4019
|
+
id: string;
|
|
4020
|
+
type: "session.image_labeled";
|
|
4021
|
+
processed_at: string;
|
|
4022
|
+
label: string;
|
|
4023
|
+
file_id: string;
|
|
4024
|
+
origin: "generated" | "uploaded";
|
|
4025
|
+
filename: string;
|
|
4026
|
+
tool_use_id?: string;
|
|
4027
|
+
version?: number;
|
|
4028
|
+
replaced_file_id?: string;
|
|
4029
|
+
} | {
|
|
4030
|
+
id: string;
|
|
4031
|
+
type: "session.image_set_planned";
|
|
4032
|
+
processed_at: string;
|
|
4033
|
+
tool_use_id: string;
|
|
4034
|
+
items: Array<unknown>;
|
|
4035
|
+
title?: string;
|
|
4036
|
+
} | {
|
|
4037
|
+
id: string;
|
|
4038
|
+
type: "session.project_attached";
|
|
4039
|
+
processed_at: string;
|
|
4040
|
+
project: {
|
|
4041
|
+
id: string;
|
|
4042
|
+
name: string;
|
|
4043
|
+
path: string;
|
|
2557
4044
|
};
|
|
4045
|
+
} | {
|
|
4046
|
+
id: string;
|
|
4047
|
+
type: "session.project_detached";
|
|
4048
|
+
processed_at: string;
|
|
4049
|
+
project_id: string;
|
|
4050
|
+
reason?: "project_removed";
|
|
2558
4051
|
}>;
|
|
2559
4052
|
next_page: string | null;
|
|
2560
4053
|
}>;
|
|
@@ -2575,21 +4068,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2575
4068
|
type: "user.steer";
|
|
2576
4069
|
event_id: string;
|
|
2577
4070
|
processed_at: string;
|
|
2578
|
-
} | {
|
|
2579
|
-
id: string;
|
|
2580
|
-
type: "user.tool_confirmation";
|
|
2581
|
-
processed_at: string;
|
|
2582
|
-
tool_use_id: string;
|
|
2583
|
-
result: "allow";
|
|
2584
|
-
answers: {
|
|
2585
|
-
[key: string]: string;
|
|
2586
|
-
};
|
|
2587
|
-
annotations?: {
|
|
2588
|
-
[key: string]: {
|
|
2589
|
-
preview?: string;
|
|
2590
|
-
notes?: string;
|
|
2591
|
-
};
|
|
2592
|
-
};
|
|
2593
4071
|
}>;
|
|
2594
4072
|
}>;
|
|
2595
4073
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -2642,6 +4120,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2642
4120
|
speed?: "standard" | "fast";
|
|
2643
4121
|
settings?: {
|
|
2644
4122
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4123
|
+
max_output_tokens?: number;
|
|
2645
4124
|
};
|
|
2646
4125
|
};
|
|
2647
4126
|
multiagent: null | {
|
|
@@ -3104,6 +4583,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3104
4583
|
vault_ids: Array<string>;
|
|
3105
4584
|
deployment_id?: null | string;
|
|
3106
4585
|
cwd: string;
|
|
4586
|
+
workspace?: {
|
|
4587
|
+
kind: "shared" | "isolated";
|
|
4588
|
+
path?: string;
|
|
4589
|
+
branch?: string;
|
|
4590
|
+
};
|
|
3107
4591
|
computer_id?: string;
|
|
3108
4592
|
model?: {
|
|
3109
4593
|
id: string;
|
|
@@ -3137,6 +4621,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3137
4621
|
speed?: "standard" | "fast";
|
|
3138
4622
|
settings?: {
|
|
3139
4623
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4624
|
+
max_output_tokens?: number;
|
|
3140
4625
|
};
|
|
3141
4626
|
};
|
|
3142
4627
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3148,21 +4633,564 @@ export declare function createAgent(transport: Transport): {
|
|
|
3148
4633
|
version: number;
|
|
3149
4634
|
};
|
|
3150
4635
|
archived_at: null | string;
|
|
3151
|
-
budget: null | Types.AgentManaged76;
|
|
4636
|
+
budget: null | Types.AgentManaged76;
|
|
4637
|
+
created_at: string;
|
|
4638
|
+
environment_id?: string;
|
|
4639
|
+
metadata: Types.AgentManaged173;
|
|
4640
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4641
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4642
|
+
stats: Types.AgentManaged178;
|
|
4643
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4644
|
+
title: null | string;
|
|
4645
|
+
type: "session";
|
|
4646
|
+
updated_at: string;
|
|
4647
|
+
usage: Types.AgentManaged179;
|
|
4648
|
+
vault_ids: Array<string>;
|
|
4649
|
+
deployment_id?: null | string;
|
|
4650
|
+
cwd: string;
|
|
4651
|
+
workspace?: {
|
|
4652
|
+
kind: "shared" | "isolated";
|
|
4653
|
+
path?: string;
|
|
4654
|
+
branch?: string;
|
|
4655
|
+
};
|
|
4656
|
+
computer_id?: string;
|
|
4657
|
+
model?: {
|
|
4658
|
+
id: string;
|
|
4659
|
+
thinking: {
|
|
4660
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4661
|
+
can_disable: boolean;
|
|
4662
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4663
|
+
} | null;
|
|
4664
|
+
};
|
|
4665
|
+
thinking?: {
|
|
4666
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4667
|
+
} | null;
|
|
4668
|
+
forked_from?: {
|
|
4669
|
+
session_id: string;
|
|
4670
|
+
message_id: string;
|
|
4671
|
+
} | null;
|
|
4672
|
+
readonly external_user_id: string | null;
|
|
4673
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4674
|
+
}>;
|
|
4675
|
+
next_page: string | null;
|
|
4676
|
+
}>;
|
|
4677
|
+
name: {
|
|
4678
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4679
|
+
id: string;
|
|
4680
|
+
agent: {
|
|
4681
|
+
id: string;
|
|
4682
|
+
description: null | string;
|
|
4683
|
+
mcp_servers: Array<{
|
|
4684
|
+
type: "url";
|
|
4685
|
+
name: string;
|
|
4686
|
+
url: string;
|
|
4687
|
+
headers?: {
|
|
4688
|
+
[key: string]: string;
|
|
4689
|
+
};
|
|
4690
|
+
timeout_ms?: number;
|
|
4691
|
+
} | {
|
|
4692
|
+
type: "sse";
|
|
4693
|
+
name: string;
|
|
4694
|
+
url: string;
|
|
4695
|
+
headers?: {
|
|
4696
|
+
[key: string]: string;
|
|
4697
|
+
};
|
|
4698
|
+
timeout_ms?: number;
|
|
4699
|
+
} | {
|
|
4700
|
+
type: "stdio";
|
|
4701
|
+
name: string;
|
|
4702
|
+
command: string;
|
|
4703
|
+
args?: Array<string>;
|
|
4704
|
+
env?: {
|
|
4705
|
+
[key: string]: string;
|
|
4706
|
+
};
|
|
4707
|
+
timeout_ms?: number;
|
|
4708
|
+
}>;
|
|
4709
|
+
model: {
|
|
4710
|
+
id: string;
|
|
4711
|
+
effort?: {
|
|
4712
|
+
type: "low";
|
|
4713
|
+
} | {
|
|
4714
|
+
type: "medium";
|
|
4715
|
+
} | {
|
|
4716
|
+
type: "high";
|
|
4717
|
+
} | {
|
|
4718
|
+
type: "xhigh";
|
|
4719
|
+
} | {
|
|
4720
|
+
type: "max";
|
|
4721
|
+
};
|
|
4722
|
+
inference_geo?: string;
|
|
4723
|
+
speed?: "standard" | "fast";
|
|
4724
|
+
settings?: {
|
|
4725
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4726
|
+
max_output_tokens?: number;
|
|
4727
|
+
};
|
|
4728
|
+
};
|
|
4729
|
+
multiagent: null | {
|
|
4730
|
+
agents: Array<{
|
|
4731
|
+
model: string;
|
|
4732
|
+
type: "advisor";
|
|
4733
|
+
} | {
|
|
4734
|
+
id: string;
|
|
4735
|
+
description: null | string;
|
|
4736
|
+
mcp_servers: Array<{
|
|
4737
|
+
type: "url";
|
|
4738
|
+
name: string;
|
|
4739
|
+
url: string;
|
|
4740
|
+
headers?: {
|
|
4741
|
+
[key: string]: string;
|
|
4742
|
+
};
|
|
4743
|
+
timeout_ms?: number;
|
|
4744
|
+
} | {
|
|
4745
|
+
type: "sse";
|
|
4746
|
+
name: string;
|
|
4747
|
+
url: string;
|
|
4748
|
+
headers?: {
|
|
4749
|
+
[key: string]: string;
|
|
4750
|
+
};
|
|
4751
|
+
timeout_ms?: number;
|
|
4752
|
+
} | {
|
|
4753
|
+
type: "stdio";
|
|
4754
|
+
name: string;
|
|
4755
|
+
command: string;
|
|
4756
|
+
args?: Array<string>;
|
|
4757
|
+
env?: {
|
|
4758
|
+
[key: string]: string;
|
|
4759
|
+
};
|
|
4760
|
+
timeout_ms?: number;
|
|
4761
|
+
}>;
|
|
4762
|
+
model: {
|
|
4763
|
+
id: string;
|
|
4764
|
+
effort?: {
|
|
4765
|
+
type: "low";
|
|
4766
|
+
} | {
|
|
4767
|
+
type: "medium";
|
|
4768
|
+
} | {
|
|
4769
|
+
type: "high";
|
|
4770
|
+
} | {
|
|
4771
|
+
type: "xhigh";
|
|
4772
|
+
} | {
|
|
4773
|
+
type: "max";
|
|
4774
|
+
};
|
|
4775
|
+
inference_geo?: string;
|
|
4776
|
+
speed?: "standard" | "fast";
|
|
4777
|
+
};
|
|
4778
|
+
name: string;
|
|
4779
|
+
skills: Array<{
|
|
4780
|
+
skill_id: string;
|
|
4781
|
+
type: "anthropic";
|
|
4782
|
+
version: string;
|
|
4783
|
+
} | {
|
|
4784
|
+
skill_id: string;
|
|
4785
|
+
type: "custom";
|
|
4786
|
+
version: string;
|
|
4787
|
+
}>;
|
|
4788
|
+
system: null | string;
|
|
4789
|
+
tools: Array<{
|
|
4790
|
+
configs: Array<{
|
|
4791
|
+
enabled: boolean;
|
|
4792
|
+
name: "bash";
|
|
4793
|
+
permission_policy: {
|
|
4794
|
+
type: "always_allow";
|
|
4795
|
+
} | {
|
|
4796
|
+
type: "always_ask";
|
|
4797
|
+
} | {
|
|
4798
|
+
type: "auto";
|
|
4799
|
+
};
|
|
4800
|
+
type: "bash";
|
|
4801
|
+
} | {
|
|
4802
|
+
enabled: boolean;
|
|
4803
|
+
name: "edit";
|
|
4804
|
+
permission_policy: {
|
|
4805
|
+
type: "always_allow";
|
|
4806
|
+
} | {
|
|
4807
|
+
type: "always_ask";
|
|
4808
|
+
} | {
|
|
4809
|
+
type: "auto";
|
|
4810
|
+
};
|
|
4811
|
+
type: "edit";
|
|
4812
|
+
} | {
|
|
4813
|
+
enabled: boolean;
|
|
4814
|
+
name: "read";
|
|
4815
|
+
permission_policy: {
|
|
4816
|
+
type: "always_allow";
|
|
4817
|
+
} | {
|
|
4818
|
+
type: "always_ask";
|
|
4819
|
+
} | {
|
|
4820
|
+
type: "auto";
|
|
4821
|
+
};
|
|
4822
|
+
type: "read";
|
|
4823
|
+
} | {
|
|
4824
|
+
enabled: boolean;
|
|
4825
|
+
name: "write";
|
|
4826
|
+
permission_policy: {
|
|
4827
|
+
type: "always_allow";
|
|
4828
|
+
} | {
|
|
4829
|
+
type: "always_ask";
|
|
4830
|
+
} | {
|
|
4831
|
+
type: "auto";
|
|
4832
|
+
};
|
|
4833
|
+
type: "write";
|
|
4834
|
+
} | {
|
|
4835
|
+
enabled: boolean;
|
|
4836
|
+
name: "glob";
|
|
4837
|
+
permission_policy: {
|
|
4838
|
+
type: "always_allow";
|
|
4839
|
+
} | {
|
|
4840
|
+
type: "always_ask";
|
|
4841
|
+
} | {
|
|
4842
|
+
type: "auto";
|
|
4843
|
+
};
|
|
4844
|
+
type: "glob";
|
|
4845
|
+
} | {
|
|
4846
|
+
enabled: boolean;
|
|
4847
|
+
name: "grep";
|
|
4848
|
+
permission_policy: {
|
|
4849
|
+
type: "always_allow";
|
|
4850
|
+
} | {
|
|
4851
|
+
type: "always_ask";
|
|
4852
|
+
} | {
|
|
4853
|
+
type: "auto";
|
|
4854
|
+
};
|
|
4855
|
+
type: "grep";
|
|
4856
|
+
} | {
|
|
4857
|
+
enabled: boolean;
|
|
4858
|
+
name: "web_fetch";
|
|
4859
|
+
permission_policy: {
|
|
4860
|
+
type: "always_allow";
|
|
4861
|
+
} | {
|
|
4862
|
+
type: "always_ask";
|
|
4863
|
+
} | {
|
|
4864
|
+
type: "auto";
|
|
4865
|
+
};
|
|
4866
|
+
type: "web_fetch";
|
|
4867
|
+
allowed_domains?: Array<string>;
|
|
4868
|
+
blocked_domains?: Array<string>;
|
|
4869
|
+
max_content_tokens?: null | number;
|
|
4870
|
+
} | {
|
|
4871
|
+
enabled: boolean;
|
|
4872
|
+
name: "web_search";
|
|
4873
|
+
permission_policy: {
|
|
4874
|
+
type: "always_allow";
|
|
4875
|
+
} | {
|
|
4876
|
+
type: "always_ask";
|
|
4877
|
+
} | {
|
|
4878
|
+
type: "auto";
|
|
4879
|
+
};
|
|
4880
|
+
type: "web_search";
|
|
4881
|
+
allowed_domains?: Array<string>;
|
|
4882
|
+
blocked_domains?: Array<string>;
|
|
4883
|
+
user_location?: null | {
|
|
4884
|
+
type: "approximate";
|
|
4885
|
+
city?: null | string;
|
|
4886
|
+
country?: null | string;
|
|
4887
|
+
region?: null | string;
|
|
4888
|
+
timezone?: null | string;
|
|
4889
|
+
};
|
|
4890
|
+
} | {
|
|
4891
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4892
|
+
enabled: boolean;
|
|
4893
|
+
permission_policy: {
|
|
4894
|
+
type: "always_allow" | "always_ask";
|
|
4895
|
+
};
|
|
4896
|
+
}>;
|
|
4897
|
+
default_config: {
|
|
4898
|
+
enabled: boolean;
|
|
4899
|
+
permission_policy: {
|
|
4900
|
+
type: "always_allow";
|
|
4901
|
+
} | {
|
|
4902
|
+
type: "always_ask";
|
|
4903
|
+
} | {
|
|
4904
|
+
type: "auto";
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4907
|
+
type: "agent_toolset_20260401";
|
|
4908
|
+
} | {
|
|
4909
|
+
type: "mcp_toolset";
|
|
4910
|
+
mcp_server_name: string;
|
|
4911
|
+
default_config?: {
|
|
4912
|
+
enabled?: boolean | null;
|
|
4913
|
+
permission_policy?: null | {
|
|
4914
|
+
type: "always_allow" | "always_ask";
|
|
4915
|
+
};
|
|
4916
|
+
} | null;
|
|
4917
|
+
configs?: Array<{
|
|
4918
|
+
name: string;
|
|
4919
|
+
enabled?: boolean | null;
|
|
4920
|
+
permission_policy?: null | {
|
|
4921
|
+
type: "always_allow" | "always_ask";
|
|
4922
|
+
};
|
|
4923
|
+
}> | null;
|
|
4924
|
+
} | {
|
|
4925
|
+
description: string;
|
|
4926
|
+
input_schema: {
|
|
4927
|
+
type: "object";
|
|
4928
|
+
properties?: null | {
|
|
4929
|
+
[key: string]: unknown;
|
|
4930
|
+
};
|
|
4931
|
+
required?: null | Array<string>;
|
|
4932
|
+
[key: string]: unknown;
|
|
4933
|
+
};
|
|
4934
|
+
name: string;
|
|
4935
|
+
type: "custom";
|
|
4936
|
+
}>;
|
|
4937
|
+
type: "agent";
|
|
4938
|
+
version: number;
|
|
4939
|
+
}>;
|
|
4940
|
+
type: "coordinator";
|
|
4941
|
+
};
|
|
4942
|
+
name: string;
|
|
4943
|
+
skills: Array<{
|
|
4944
|
+
skill_id: string;
|
|
4945
|
+
type: "anthropic";
|
|
4946
|
+
version: string;
|
|
4947
|
+
} | {
|
|
4948
|
+
skill_id: string;
|
|
4949
|
+
type: "custom";
|
|
4950
|
+
version: string;
|
|
4951
|
+
}>;
|
|
4952
|
+
system: null | string;
|
|
4953
|
+
tools: Array<{
|
|
4954
|
+
configs: Array<{
|
|
4955
|
+
enabled: boolean;
|
|
4956
|
+
name: "bash";
|
|
4957
|
+
permission_policy: {
|
|
4958
|
+
type: "always_allow";
|
|
4959
|
+
} | {
|
|
4960
|
+
type: "always_ask";
|
|
4961
|
+
} | {
|
|
4962
|
+
type: "auto";
|
|
4963
|
+
};
|
|
4964
|
+
type: "bash";
|
|
4965
|
+
} | {
|
|
4966
|
+
enabled: boolean;
|
|
4967
|
+
name: "edit";
|
|
4968
|
+
permission_policy: {
|
|
4969
|
+
type: "always_allow";
|
|
4970
|
+
} | {
|
|
4971
|
+
type: "always_ask";
|
|
4972
|
+
} | {
|
|
4973
|
+
type: "auto";
|
|
4974
|
+
};
|
|
4975
|
+
type: "edit";
|
|
4976
|
+
} | {
|
|
4977
|
+
enabled: boolean;
|
|
4978
|
+
name: "read";
|
|
4979
|
+
permission_policy: {
|
|
4980
|
+
type: "always_allow";
|
|
4981
|
+
} | {
|
|
4982
|
+
type: "always_ask";
|
|
4983
|
+
} | {
|
|
4984
|
+
type: "auto";
|
|
4985
|
+
};
|
|
4986
|
+
type: "read";
|
|
4987
|
+
} | {
|
|
4988
|
+
enabled: boolean;
|
|
4989
|
+
name: "write";
|
|
4990
|
+
permission_policy: {
|
|
4991
|
+
type: "always_allow";
|
|
4992
|
+
} | {
|
|
4993
|
+
type: "always_ask";
|
|
4994
|
+
} | {
|
|
4995
|
+
type: "auto";
|
|
4996
|
+
};
|
|
4997
|
+
type: "write";
|
|
4998
|
+
} | {
|
|
4999
|
+
enabled: boolean;
|
|
5000
|
+
name: "glob";
|
|
5001
|
+
permission_policy: {
|
|
5002
|
+
type: "always_allow";
|
|
5003
|
+
} | {
|
|
5004
|
+
type: "always_ask";
|
|
5005
|
+
} | {
|
|
5006
|
+
type: "auto";
|
|
5007
|
+
};
|
|
5008
|
+
type: "glob";
|
|
5009
|
+
} | {
|
|
5010
|
+
enabled: boolean;
|
|
5011
|
+
name: "grep";
|
|
5012
|
+
permission_policy: {
|
|
5013
|
+
type: "always_allow";
|
|
5014
|
+
} | {
|
|
5015
|
+
type: "always_ask";
|
|
5016
|
+
} | {
|
|
5017
|
+
type: "auto";
|
|
5018
|
+
};
|
|
5019
|
+
type: "grep";
|
|
5020
|
+
} | {
|
|
5021
|
+
enabled: boolean;
|
|
5022
|
+
name: "web_fetch";
|
|
5023
|
+
permission_policy: {
|
|
5024
|
+
type: "always_allow";
|
|
5025
|
+
} | {
|
|
5026
|
+
type: "always_ask";
|
|
5027
|
+
} | {
|
|
5028
|
+
type: "auto";
|
|
5029
|
+
};
|
|
5030
|
+
type: "web_fetch";
|
|
5031
|
+
allowed_domains?: Array<string>;
|
|
5032
|
+
blocked_domains?: Array<string>;
|
|
5033
|
+
max_content_tokens?: null | number;
|
|
5034
|
+
} | {
|
|
5035
|
+
enabled: boolean;
|
|
5036
|
+
name: "web_search";
|
|
5037
|
+
permission_policy: {
|
|
5038
|
+
type: "always_allow";
|
|
5039
|
+
} | {
|
|
5040
|
+
type: "always_ask";
|
|
5041
|
+
} | {
|
|
5042
|
+
type: "auto";
|
|
5043
|
+
};
|
|
5044
|
+
type: "web_search";
|
|
5045
|
+
allowed_domains?: Array<string>;
|
|
5046
|
+
blocked_domains?: Array<string>;
|
|
5047
|
+
user_location?: null | {
|
|
5048
|
+
type: "approximate";
|
|
5049
|
+
city?: null | string;
|
|
5050
|
+
country?: null | string;
|
|
5051
|
+
region?: null | string;
|
|
5052
|
+
timezone?: null | string;
|
|
5053
|
+
};
|
|
5054
|
+
} | {
|
|
5055
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
5056
|
+
enabled: boolean;
|
|
5057
|
+
permission_policy: {
|
|
5058
|
+
type: "always_allow" | "always_ask";
|
|
5059
|
+
};
|
|
5060
|
+
}>;
|
|
5061
|
+
default_config: {
|
|
5062
|
+
enabled: boolean;
|
|
5063
|
+
permission_policy: {
|
|
5064
|
+
type: "always_allow";
|
|
5065
|
+
} | {
|
|
5066
|
+
type: "always_ask";
|
|
5067
|
+
} | {
|
|
5068
|
+
type: "auto";
|
|
5069
|
+
};
|
|
5070
|
+
};
|
|
5071
|
+
type: "agent_toolset_20260401";
|
|
5072
|
+
} | {
|
|
5073
|
+
type: "mcp_toolset";
|
|
5074
|
+
mcp_server_name: string;
|
|
5075
|
+
default_config?: {
|
|
5076
|
+
enabled?: boolean | null;
|
|
5077
|
+
permission_policy?: null | {
|
|
5078
|
+
type: "always_allow" | "always_ask";
|
|
5079
|
+
};
|
|
5080
|
+
} | null;
|
|
5081
|
+
configs?: Array<{
|
|
5082
|
+
name: string;
|
|
5083
|
+
enabled?: boolean | null;
|
|
5084
|
+
permission_policy?: null | {
|
|
5085
|
+
type: "always_allow" | "always_ask";
|
|
5086
|
+
};
|
|
5087
|
+
}> | null;
|
|
5088
|
+
} | {
|
|
5089
|
+
description: string;
|
|
5090
|
+
input_schema: {
|
|
5091
|
+
type: "object";
|
|
5092
|
+
properties?: null | {
|
|
5093
|
+
[key: string]: unknown;
|
|
5094
|
+
};
|
|
5095
|
+
required?: null | Array<string>;
|
|
5096
|
+
[key: string]: unknown;
|
|
5097
|
+
};
|
|
5098
|
+
name: string;
|
|
5099
|
+
type: "custom";
|
|
5100
|
+
}>;
|
|
5101
|
+
type: "agent";
|
|
5102
|
+
version: number;
|
|
5103
|
+
};
|
|
5104
|
+
archived_at: null | string;
|
|
5105
|
+
budget: null | {
|
|
5106
|
+
max_list_cost: {
|
|
5107
|
+
amount: string;
|
|
5108
|
+
currency: "USD";
|
|
5109
|
+
};
|
|
5110
|
+
type: "limit";
|
|
5111
|
+
};
|
|
3152
5112
|
created_at: string;
|
|
3153
5113
|
environment_id?: string;
|
|
3154
|
-
metadata:
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
5114
|
+
metadata: {
|
|
5115
|
+
[key: string]: string;
|
|
5116
|
+
};
|
|
5117
|
+
outcome_evaluations: Array<{
|
|
5118
|
+
completed_at: null | string;
|
|
5119
|
+
description: string;
|
|
5120
|
+
explanation: null | string;
|
|
5121
|
+
iteration: number;
|
|
5122
|
+
outcome_id: string;
|
|
5123
|
+
result: string;
|
|
5124
|
+
type: "outcome_evaluation";
|
|
5125
|
+
}>;
|
|
5126
|
+
resources: Array<{
|
|
5127
|
+
id: string;
|
|
5128
|
+
created_at: string;
|
|
5129
|
+
mount_path: string;
|
|
5130
|
+
type: "github_repository";
|
|
5131
|
+
updated_at: string;
|
|
5132
|
+
url: string;
|
|
5133
|
+
checkout?: null | {
|
|
5134
|
+
name: string;
|
|
5135
|
+
type: "branch";
|
|
5136
|
+
} | {
|
|
5137
|
+
sha: string;
|
|
5138
|
+
type: "commit";
|
|
5139
|
+
};
|
|
5140
|
+
} | {
|
|
5141
|
+
id: string;
|
|
5142
|
+
created_at: string;
|
|
5143
|
+
file_id: string;
|
|
5144
|
+
mount_path: string;
|
|
5145
|
+
type: "file";
|
|
5146
|
+
updated_at: string;
|
|
5147
|
+
} | {
|
|
5148
|
+
memory_store_id: string;
|
|
5149
|
+
type: "memory_store";
|
|
5150
|
+
access?: null | "read_write" | "read_only";
|
|
5151
|
+
description?: string;
|
|
5152
|
+
instructions?: null | string;
|
|
5153
|
+
mount_path?: null | string;
|
|
5154
|
+
name?: null | string;
|
|
5155
|
+
}>;
|
|
5156
|
+
stats: {
|
|
5157
|
+
active_seconds?: number;
|
|
5158
|
+
duration_seconds?: number;
|
|
5159
|
+
};
|
|
3158
5160
|
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3159
5161
|
title: null | string;
|
|
3160
5162
|
type: "session";
|
|
3161
5163
|
updated_at: string;
|
|
3162
|
-
usage:
|
|
5164
|
+
usage: {
|
|
5165
|
+
active_seconds?: number;
|
|
5166
|
+
cache_creation?: {
|
|
5167
|
+
ephemeral_1h_input_tokens?: number;
|
|
5168
|
+
ephemeral_5m_input_tokens?: number;
|
|
5169
|
+
};
|
|
5170
|
+
cache_read_input_tokens?: number;
|
|
5171
|
+
input_tokens?: number;
|
|
5172
|
+
list_cost?: null | {
|
|
5173
|
+
amount: string;
|
|
5174
|
+
currency: "USD";
|
|
5175
|
+
};
|
|
5176
|
+
output_tokens?: number;
|
|
5177
|
+
server_tool_use?: null | {
|
|
5178
|
+
web_fetch_requests?: number;
|
|
5179
|
+
web_search_requests?: number;
|
|
5180
|
+
};
|
|
5181
|
+
cost_by_product?: {
|
|
5182
|
+
[key: string]: string;
|
|
5183
|
+
};
|
|
5184
|
+
subagent_cost_micro_usd?: number;
|
|
5185
|
+
};
|
|
3163
5186
|
vault_ids: Array<string>;
|
|
3164
5187
|
deployment_id?: null | string;
|
|
3165
5188
|
cwd: string;
|
|
5189
|
+
workspace?: {
|
|
5190
|
+
kind: "shared" | "isolated";
|
|
5191
|
+
path?: string;
|
|
5192
|
+
branch?: string;
|
|
5193
|
+
};
|
|
3166
5194
|
computer_id?: string;
|
|
3167
5195
|
model?: {
|
|
3168
5196
|
id: string;
|
|
@@ -3182,8 +5210,21 @@ export declare function createAgent(transport: Transport): {
|
|
|
3182
5210
|
readonly external_user_id: string | null;
|
|
3183
5211
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3184
5212
|
}>;
|
|
3185
|
-
|
|
3186
|
-
|
|
5213
|
+
};
|
|
5214
|
+
requests: {
|
|
5215
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
5216
|
+
data: Array<{
|
|
5217
|
+
id: string;
|
|
5218
|
+
object: "request";
|
|
5219
|
+
kind: "question" | "approval";
|
|
5220
|
+
status: "pending";
|
|
5221
|
+
tool_name: string;
|
|
5222
|
+
input: unknown;
|
|
5223
|
+
create_time: string;
|
|
5224
|
+
expire_time: string | null;
|
|
5225
|
+
}>;
|
|
5226
|
+
}>;
|
|
5227
|
+
};
|
|
3187
5228
|
resources: {
|
|
3188
5229
|
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
3189
5230
|
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
@@ -3214,6 +5255,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3214
5255
|
speed?: "standard" | "fast";
|
|
3215
5256
|
settings?: {
|
|
3216
5257
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5258
|
+
max_output_tokens?: number;
|
|
3217
5259
|
};
|
|
3218
5260
|
};
|
|
3219
5261
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3240,6 +5282,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3240
5282
|
vault_ids: Array<string>;
|
|
3241
5283
|
deployment_id?: null | string;
|
|
3242
5284
|
cwd: string;
|
|
5285
|
+
workspace?: {
|
|
5286
|
+
kind: "shared" | "isolated";
|
|
5287
|
+
path?: string;
|
|
5288
|
+
branch?: string;
|
|
5289
|
+
};
|
|
3243
5290
|
computer_id?: string;
|
|
3244
5291
|
model?: {
|
|
3245
5292
|
id: string;
|
|
@@ -3386,7 +5433,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3386
5433
|
run_id: string | null;
|
|
3387
5434
|
message_id?: string;
|
|
3388
5435
|
} | {
|
|
3389
|
-
full_access_available?: boolean;
|
|
3390
5436
|
id: string;
|
|
3391
5437
|
input: Types.AgentManaged197;
|
|
3392
5438
|
mcp_server_name: string;
|
|
@@ -3396,6 +5442,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
3396
5442
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3397
5443
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3398
5444
|
session_thread_id?: null | string;
|
|
5445
|
+
permission_suggestions?: Array<{
|
|
5446
|
+
type: "add_rules";
|
|
5447
|
+
behavior: "allow";
|
|
5448
|
+
destination: "agent" | "session";
|
|
5449
|
+
rules: Array<{
|
|
5450
|
+
tool_name: string;
|
|
5451
|
+
rule_content: string;
|
|
5452
|
+
}>;
|
|
5453
|
+
}>;
|
|
5454
|
+
full_access_available?: boolean;
|
|
5455
|
+
user_once?: true;
|
|
5456
|
+
guarded_rule?: string;
|
|
3399
5457
|
run_id: string | null;
|
|
3400
5458
|
parent_tool_use_id?: string;
|
|
3401
5459
|
_meta?: {
|
|
@@ -3409,17 +5467,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3409
5467
|
};
|
|
3410
5468
|
};
|
|
3411
5469
|
source?: "app" | "codemode";
|
|
3412
|
-
user_once?: true;
|
|
3413
|
-
guarded_rule?: string;
|
|
3414
|
-
permission_suggestions?: Array<{
|
|
3415
|
-
type: "add_rules";
|
|
3416
|
-
behavior: "allow";
|
|
3417
|
-
destination: "agent" | "session";
|
|
3418
|
-
rules: Array<{
|
|
3419
|
-
tool_name: string;
|
|
3420
|
-
rule_content: string;
|
|
3421
|
-
}>;
|
|
3422
|
-
}>;
|
|
3423
5470
|
title?: string;
|
|
3424
5471
|
input_titles?: {
|
|
3425
5472
|
[key: string]: string;
|
|
@@ -3438,7 +5485,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3438
5485
|
};
|
|
3439
5486
|
source?: "app" | "codemode";
|
|
3440
5487
|
} | {
|
|
3441
|
-
full_access_available?: boolean;
|
|
3442
5488
|
id: string;
|
|
3443
5489
|
input: Types.AgentManaged206;
|
|
3444
5490
|
name: string;
|
|
@@ -3447,9 +5493,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3447
5493
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3448
5494
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3449
5495
|
session_thread_id?: null | string;
|
|
3450
|
-
run_id: string | null;
|
|
3451
|
-
user_once?: true;
|
|
3452
|
-
guarded_rule?: string;
|
|
3453
5496
|
permission_suggestions?: Array<{
|
|
3454
5497
|
type: "add_rules";
|
|
3455
5498
|
behavior: "allow";
|
|
@@ -3459,6 +5502,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3459
5502
|
rule_content: string;
|
|
3460
5503
|
}>;
|
|
3461
5504
|
}>;
|
|
5505
|
+
full_access_available?: boolean;
|
|
5506
|
+
user_once?: true;
|
|
5507
|
+
guarded_rule?: string;
|
|
5508
|
+
run_id: string | null;
|
|
3462
5509
|
} | {
|
|
3463
5510
|
id: string;
|
|
3464
5511
|
processed_at: string;
|
|
@@ -3479,9 +5526,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3479
5526
|
type: "session.status_idle";
|
|
3480
5527
|
run_id: string | null;
|
|
3481
5528
|
} | 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 | {
|
|
3482
|
-
permission_mode_version?: number;
|
|
3483
|
-
previous_permission_mode?: string | null;
|
|
3484
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3485
5529
|
id: string;
|
|
3486
5530
|
processed_at: string;
|
|
3487
5531
|
type: "session.updated";
|
|
@@ -3489,6 +5533,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3489
5533
|
budget?: null | Types.AgentManaged76;
|
|
3490
5534
|
metadata?: Types.AgentManaged246;
|
|
3491
5535
|
title?: null | string;
|
|
5536
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
5537
|
+
previous_permission_mode?: string | null;
|
|
5538
|
+
permission_mode_version?: number;
|
|
3492
5539
|
model?: {
|
|
3493
5540
|
id: string;
|
|
3494
5541
|
};
|
|
@@ -3547,6 +5594,166 @@ export declare function createAgent(transport: Transport): {
|
|
|
3547
5594
|
type: "user.steer";
|
|
3548
5595
|
event_id: string;
|
|
3549
5596
|
processed_at: string;
|
|
5597
|
+
} | {
|
|
5598
|
+
id: string;
|
|
5599
|
+
type: "cognition.surfaced";
|
|
5600
|
+
processed_at: string;
|
|
5601
|
+
worker_session_id: string;
|
|
5602
|
+
name: string;
|
|
5603
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
5604
|
+
experience_id?: string;
|
|
5605
|
+
result?: {
|
|
5606
|
+
message?: string;
|
|
5607
|
+
links?: Array<string>;
|
|
5608
|
+
files?: Array<{
|
|
5609
|
+
name?: string;
|
|
5610
|
+
href?: string;
|
|
5611
|
+
}>;
|
|
5612
|
+
held?: Array<{
|
|
5613
|
+
id?: string;
|
|
5614
|
+
summary?: string;
|
|
5615
|
+
effect?: string;
|
|
5616
|
+
method?: string;
|
|
5617
|
+
path?: string;
|
|
5618
|
+
expires_at?: string;
|
|
5619
|
+
}>;
|
|
5620
|
+
};
|
|
5621
|
+
} | {
|
|
5622
|
+
id: string;
|
|
5623
|
+
type: "cognition.intention_woken";
|
|
5624
|
+
processed_at: string;
|
|
5625
|
+
node_id: string;
|
|
5626
|
+
reason: "open_engram" | "assignment";
|
|
5627
|
+
} | {
|
|
5628
|
+
id: string;
|
|
5629
|
+
type: "agent.operation_approval_requested";
|
|
5630
|
+
processed_at: string;
|
|
5631
|
+
approval_id: string;
|
|
5632
|
+
operation_id: string;
|
|
5633
|
+
effect: "outward" | "irreversible";
|
|
5634
|
+
method: string;
|
|
5635
|
+
path: string;
|
|
5636
|
+
summary: string;
|
|
5637
|
+
expires_at: string;
|
|
5638
|
+
worker_session_id?: string;
|
|
5639
|
+
worker_name?: string;
|
|
5640
|
+
} | {
|
|
5641
|
+
id: string;
|
|
5642
|
+
type: "agent.operation_approval_decided";
|
|
5643
|
+
processed_at: string;
|
|
5644
|
+
approval_id: string;
|
|
5645
|
+
status: "approved" | "refused" | "expired";
|
|
5646
|
+
} | {
|
|
5647
|
+
id: string;
|
|
5648
|
+
type: "session.prompt_configuration_mismatch";
|
|
5649
|
+
processed_at: string;
|
|
5650
|
+
pinned_revision_id: string;
|
|
5651
|
+
current_revision_id: string;
|
|
5652
|
+
} | {
|
|
5653
|
+
id: string;
|
|
5654
|
+
type: "session.prompt_rev_changed";
|
|
5655
|
+
processed_at: string;
|
|
5656
|
+
config_revision_id: string;
|
|
5657
|
+
changed: Array<{
|
|
5658
|
+
name: string;
|
|
5659
|
+
rev: string | null;
|
|
5660
|
+
}>;
|
|
5661
|
+
} | {
|
|
5662
|
+
id: string;
|
|
5663
|
+
type: "session.computer_tier";
|
|
5664
|
+
processed_at: string;
|
|
5665
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
5666
|
+
tier: "light" | "heavy";
|
|
5667
|
+
duration_ms: number;
|
|
5668
|
+
error_code?: string;
|
|
5669
|
+
status?: {
|
|
5670
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
5671
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
5672
|
+
percent?: number;
|
|
5673
|
+
files_done?: number;
|
|
5674
|
+
files_total?: number;
|
|
5675
|
+
idle_release_at?: number;
|
|
5676
|
+
retry_at?: number;
|
|
5677
|
+
epoch?: number;
|
|
5678
|
+
heavy_instance?: string | null;
|
|
5679
|
+
heavy_paused?: boolean;
|
|
5680
|
+
};
|
|
5681
|
+
} | {
|
|
5682
|
+
id: string;
|
|
5683
|
+
type: "agent.artifact_delivered";
|
|
5684
|
+
processed_at: string;
|
|
5685
|
+
artifact: {
|
|
5686
|
+
object: "artifact";
|
|
5687
|
+
id: string;
|
|
5688
|
+
session_id: string;
|
|
5689
|
+
run_id: string | null;
|
|
5690
|
+
name: string;
|
|
5691
|
+
version: number;
|
|
5692
|
+
parts: Array<{
|
|
5693
|
+
[key: string]: unknown;
|
|
5694
|
+
}>;
|
|
5695
|
+
source_hrefs: Array<string>;
|
|
5696
|
+
create_time: string;
|
|
5697
|
+
update_time: string;
|
|
5698
|
+
};
|
|
5699
|
+
} | {
|
|
5700
|
+
id: string;
|
|
5701
|
+
type: "agent.image_generation";
|
|
5702
|
+
processed_at: string;
|
|
5703
|
+
tool_use_id: string;
|
|
5704
|
+
index: number;
|
|
5705
|
+
total: number;
|
|
5706
|
+
status: string;
|
|
5707
|
+
mode?: string;
|
|
5708
|
+
aspect?: string;
|
|
5709
|
+
prompt?: string;
|
|
5710
|
+
model?: string;
|
|
5711
|
+
file_id?: string;
|
|
5712
|
+
label?: string;
|
|
5713
|
+
width?: number;
|
|
5714
|
+
height?: number;
|
|
5715
|
+
revised_prompt?: string;
|
|
5716
|
+
source_labels?: Array<string>;
|
|
5717
|
+
caption?: string;
|
|
5718
|
+
slot?: number | null;
|
|
5719
|
+
replaces?: string;
|
|
5720
|
+
version?: number;
|
|
5721
|
+
failure?: {
|
|
5722
|
+
reason?: string;
|
|
5723
|
+
};
|
|
5724
|
+
} | {
|
|
5725
|
+
id: string;
|
|
5726
|
+
type: "session.image_labeled";
|
|
5727
|
+
processed_at: string;
|
|
5728
|
+
label: string;
|
|
5729
|
+
file_id: string;
|
|
5730
|
+
origin: "generated" | "uploaded";
|
|
5731
|
+
filename: string;
|
|
5732
|
+
tool_use_id?: string;
|
|
5733
|
+
version?: number;
|
|
5734
|
+
replaced_file_id?: string;
|
|
5735
|
+
} | {
|
|
5736
|
+
id: string;
|
|
5737
|
+
type: "session.image_set_planned";
|
|
5738
|
+
processed_at: string;
|
|
5739
|
+
tool_use_id: string;
|
|
5740
|
+
items: Array<unknown>;
|
|
5741
|
+
title?: string;
|
|
5742
|
+
} | {
|
|
5743
|
+
id: string;
|
|
5744
|
+
type: "session.project_attached";
|
|
5745
|
+
processed_at: string;
|
|
5746
|
+
project: {
|
|
5747
|
+
id: string;
|
|
5748
|
+
name: string;
|
|
5749
|
+
path: string;
|
|
5750
|
+
};
|
|
5751
|
+
} | {
|
|
5752
|
+
id: string;
|
|
5753
|
+
type: "session.project_detached";
|
|
5754
|
+
processed_at: string;
|
|
5755
|
+
project_id: string;
|
|
5756
|
+
reason?: "project_removed";
|
|
3550
5757
|
}>;
|
|
3551
5758
|
next_page: string | null;
|
|
3552
5759
|
}>;
|
|
@@ -3579,6 +5786,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3579
5786
|
speed?: "standard" | "fast";
|
|
3580
5787
|
settings?: {
|
|
3581
5788
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5789
|
+
max_output_tokens?: number;
|
|
3582
5790
|
};
|
|
3583
5791
|
};
|
|
3584
5792
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3605,6 +5813,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3605
5813
|
vault_ids: Array<string>;
|
|
3606
5814
|
deployment_id?: null | string;
|
|
3607
5815
|
cwd: string;
|
|
5816
|
+
workspace?: {
|
|
5817
|
+
kind: "shared" | "isolated";
|
|
5818
|
+
path?: string;
|
|
5819
|
+
branch?: string;
|
|
5820
|
+
};
|
|
3608
5821
|
computer_id?: string;
|
|
3609
5822
|
model?: {
|
|
3610
5823
|
id: string;
|
|
@@ -3669,6 +5882,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
3669
5882
|
next_page: null;
|
|
3670
5883
|
}>;
|
|
3671
5884
|
};
|
|
5885
|
+
uploads: {
|
|
5886
|
+
contentUrl: {
|
|
5887
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
|
|
5888
|
+
url: string;
|
|
5889
|
+
expires_at: string;
|
|
5890
|
+
}>;
|
|
5891
|
+
};
|
|
5892
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
|
|
5893
|
+
upload_id: string;
|
|
5894
|
+
expires_at: string;
|
|
5895
|
+
url: string;
|
|
5896
|
+
} | {
|
|
5897
|
+
upload_id: string;
|
|
5898
|
+
expires_at: string;
|
|
5899
|
+
part_size: number;
|
|
5900
|
+
parts: Array<{
|
|
5901
|
+
part_number: number;
|
|
5902
|
+
url: string;
|
|
5903
|
+
}>;
|
|
5904
|
+
complete_url: string;
|
|
5905
|
+
status_url: string;
|
|
5906
|
+
}>;
|
|
5907
|
+
};
|
|
3672
5908
|
};
|
|
3673
5909
|
export declare function createApplication(transport: Transport): {
|
|
3674
5910
|
assets: {
|
|
@@ -3933,6 +6169,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3933
6169
|
};
|
|
3934
6170
|
};
|
|
3935
6171
|
};
|
|
6172
|
+
export declare function createBilling(transport: Transport): {
|
|
6173
|
+
prices: {
|
|
6174
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
6175
|
+
};
|
|
6176
|
+
};
|
|
3936
6177
|
export declare function createBrowser(transport: Transport): {
|
|
3937
6178
|
connect: {
|
|
3938
6179
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -3956,6 +6197,49 @@ export declare function createBrowser(transport: Transport): {
|
|
|
3956
6197
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
|
|
3957
6198
|
};
|
|
3958
6199
|
sessions: {
|
|
6200
|
+
actions: {
|
|
6201
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
|
|
6202
|
+
type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
|
|
6203
|
+
tab: string;
|
|
6204
|
+
url: string;
|
|
6205
|
+
title: string;
|
|
6206
|
+
} | {
|
|
6207
|
+
type: "select";
|
|
6208
|
+
tab: string;
|
|
6209
|
+
values: Array<string>;
|
|
6210
|
+
} | {
|
|
6211
|
+
type: "tabs.list";
|
|
6212
|
+
tabs: Array<{
|
|
6213
|
+
id: string;
|
|
6214
|
+
url: string;
|
|
6215
|
+
title: string;
|
|
6216
|
+
active: boolean;
|
|
6217
|
+
}>;
|
|
6218
|
+
} | {
|
|
6219
|
+
type: "snapshot";
|
|
6220
|
+
tab: string;
|
|
6221
|
+
url: string;
|
|
6222
|
+
title: string;
|
|
6223
|
+
snapshot: string;
|
|
6224
|
+
refs: number;
|
|
6225
|
+
truncated: boolean;
|
|
6226
|
+
} | {
|
|
6227
|
+
type: "screenshot";
|
|
6228
|
+
tab: string;
|
|
6229
|
+
mediaType: "image/png";
|
|
6230
|
+
data: string;
|
|
6231
|
+
bytes: number;
|
|
6232
|
+
} | {
|
|
6233
|
+
type: "evaluate";
|
|
6234
|
+
tab: string;
|
|
6235
|
+
value: unknown;
|
|
6236
|
+
} | {
|
|
6237
|
+
type: "set_cookie";
|
|
6238
|
+
tab: string;
|
|
6239
|
+
name: string;
|
|
6240
|
+
domain: string;
|
|
6241
|
+
}>;
|
|
6242
|
+
};
|
|
3959
6243
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
3960
6244
|
events: {
|
|
3961
6245
|
list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
|
|
@@ -3963,6 +6247,7 @@ export declare function createBrowser(transport: Transport): {
|
|
|
3963
6247
|
nextCursor: string | null;
|
|
3964
6248
|
}>;
|
|
3965
6249
|
};
|
|
6250
|
+
frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
|
|
3966
6251
|
handoff: {
|
|
3967
6252
|
complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
|
|
3968
6253
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
|
|
@@ -3973,6 +6258,7 @@ export declare function createBrowser(transport: Transport): {
|
|
|
3973
6258
|
}>;
|
|
3974
6259
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
|
|
3975
6260
|
retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
|
|
6261
|
+
retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
|
|
3976
6262
|
stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
|
|
3977
6263
|
update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
|
|
3978
6264
|
viewer: {
|
|
@@ -4009,6 +6295,24 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4009
6295
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4010
6296
|
};
|
|
4011
6297
|
};
|
|
6298
|
+
export declare function createContent(transport: Transport): {
|
|
6299
|
+
contents: {
|
|
6300
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
|
|
6301
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
|
|
6302
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
|
|
6303
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
|
|
6304
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
|
|
6305
|
+
unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
|
|
6306
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
|
|
6307
|
+
};
|
|
6308
|
+
playbackSessions: {
|
|
6309
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
|
|
6310
|
+
};
|
|
6311
|
+
versions: {
|
|
6312
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
|
|
6313
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
|
|
6314
|
+
};
|
|
6315
|
+
};
|
|
4012
6316
|
export declare function createCrm(transport: Transport): {
|
|
4013
6317
|
associations: {
|
|
4014
6318
|
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
@@ -4069,6 +6373,32 @@ export declare function createCrm(transport: Transport): {
|
|
|
4069
6373
|
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4070
6374
|
};
|
|
4071
6375
|
};
|
|
6376
|
+
export declare function createCustomer(transport: Transport): {
|
|
6377
|
+
accessTokens: {
|
|
6378
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
|
|
6379
|
+
renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
|
|
6380
|
+
revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
|
|
6381
|
+
};
|
|
6382
|
+
customers: {
|
|
6383
|
+
block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6384
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
|
|
6385
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
|
|
6386
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6387
|
+
revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
|
|
6388
|
+
unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6389
|
+
};
|
|
6390
|
+
grantCodes: {
|
|
6391
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
|
|
6392
|
+
};
|
|
6393
|
+
publishableKeys: {
|
|
6394
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
6395
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
6396
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
6397
|
+
};
|
|
6398
|
+
usage: {
|
|
6399
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
6400
|
+
};
|
|
6401
|
+
};
|
|
4072
6402
|
export declare function createCut(transport: Transport): {
|
|
4073
6403
|
exports: {
|
|
4074
6404
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4076,7 +6406,9 @@ export declare function createCut(transport: Transport): {
|
|
|
4076
6406
|
};
|
|
4077
6407
|
projects: {
|
|
4078
6408
|
analysis: {
|
|
4079
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<
|
|
6409
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
|
|
6410
|
+
kind: "cut-AnalysisResult";
|
|
6411
|
+
} & Types.CutAnalysisResult>;
|
|
4080
6412
|
};
|
|
4081
6413
|
bindings: {
|
|
4082
6414
|
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
|
|
@@ -4097,6 +6429,9 @@ export declare function createCut(transport: Transport): {
|
|
|
4097
6429
|
media: {
|
|
4098
6430
|
import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
|
|
4099
6431
|
};
|
|
6432
|
+
renders: {
|
|
6433
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
|
|
6434
|
+
};
|
|
4100
6435
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
|
|
4101
6436
|
retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
|
|
4102
6437
|
retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
|
|
@@ -4107,21 +6442,49 @@ export declare function createCut(transport: Transport): {
|
|
|
4107
6442
|
list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
|
|
4108
6443
|
};
|
|
4109
6444
|
};
|
|
6445
|
+
renders: {
|
|
6446
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
|
|
6447
|
+
};
|
|
4110
6448
|
versions: {
|
|
4111
6449
|
restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
|
|
4112
6450
|
};
|
|
4113
6451
|
};
|
|
4114
6452
|
export declare function createDatabase(transport: Transport): {
|
|
4115
6453
|
databases: {
|
|
6454
|
+
commands: {
|
|
6455
|
+
/** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
|
|
6456
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
|
|
6457
|
+
result: unknown;
|
|
6458
|
+
}>;
|
|
6459
|
+
};
|
|
6460
|
+
/** @deprecated use praxis.database.table.create for a table database or praxis.database.kv.create for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4116
6461
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6462
|
+
/** @deprecated use praxis.database.table.delete for a table database or praxis.database.kv.delete for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4117
6463
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4118
6464
|
events: {
|
|
6465
|
+
/** @deprecated use praxis.database.table.events.list for a table database or praxis.database.kv.events.list for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4119
6466
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
4120
6467
|
data: Array<Types.DatabaseDatabaseEvent>;
|
|
4121
6468
|
}>;
|
|
4122
6469
|
};
|
|
6470
|
+
keys: {
|
|
6471
|
+
/** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
|
|
6472
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
|
|
6473
|
+
deleted: boolean;
|
|
6474
|
+
}>;
|
|
6475
|
+
/** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
|
|
6476
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6477
|
+
/** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
|
|
6478
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6479
|
+
/** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
|
|
6480
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6481
|
+
/** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
|
|
6482
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6483
|
+
};
|
|
6484
|
+
/** @deprecated use praxis.database.table.list for a table database or praxis.database.kv.list for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4123
6485
|
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
4124
6486
|
purge: {
|
|
6487
|
+
/** @deprecated use praxis.database.table.purge.create for a table database or praxis.database.kv.purge.create for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4125
6488
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
4126
6489
|
id: string;
|
|
4127
6490
|
object: "database";
|
|
@@ -4129,31 +6492,313 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4129
6492
|
}>;
|
|
4130
6493
|
};
|
|
4131
6494
|
rest: {
|
|
6495
|
+
/** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
|
|
4132
6496
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6497
|
+
/** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
|
|
4133
6498
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6499
|
+
/** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
|
|
4134
6500
|
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
|
|
6501
|
+
/** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
|
|
4135
6502
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6503
|
+
/** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
|
|
4136
6504
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
4137
6505
|
};
|
|
4138
|
-
restore
|
|
4139
|
-
|
|
6506
|
+
/** @deprecated use praxis.database.table.restore for a table database or praxis.database.kv.restore for a key-value database instead; this path stops working on 2027-03-01. */
|
|
6507
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6508
|
+
/** @deprecated use praxis.database.table.retrieve for a table database or praxis.database.kv.retrieve for a key-value database instead; this path stops working on 2027-03-01. */
|
|
6509
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6510
|
+
tables: {
|
|
6511
|
+
/** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
|
|
6512
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6513
|
+
/** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
|
|
6514
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
6515
|
+
deleted: true;
|
|
6516
|
+
}>;
|
|
6517
|
+
fields: {
|
|
6518
|
+
/** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
|
|
6519
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6520
|
+
/** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
|
|
6521
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6522
|
+
/** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
|
|
6523
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6524
|
+
};
|
|
6525
|
+
/** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
|
|
6526
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
6527
|
+
data: Array<Types.DatabaseTable>;
|
|
6528
|
+
}>;
|
|
6529
|
+
/** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
|
|
6530
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6531
|
+
/** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
|
|
6532
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6533
|
+
};
|
|
6534
|
+
/** @deprecated use praxis.database.table.update for a table database or praxis.database.kv.update for a key-value database instead; this path stops working on 2027-03-01. */
|
|
6535
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6536
|
+
};
|
|
6537
|
+
kv: {
|
|
6538
|
+
commands: {
|
|
6539
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
|
|
6540
|
+
result: unknown;
|
|
6541
|
+
}>;
|
|
6542
|
+
};
|
|
6543
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6544
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6545
|
+
events: {
|
|
6546
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
|
|
6547
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6548
|
+
}>;
|
|
6549
|
+
};
|
|
6550
|
+
keys: {
|
|
6551
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
|
|
6552
|
+
deleted: boolean;
|
|
6553
|
+
}>;
|
|
6554
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6555
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6556
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6557
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6558
|
+
};
|
|
6559
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6560
|
+
purge: {
|
|
6561
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
|
|
6562
|
+
id: string;
|
|
6563
|
+
object: "database";
|
|
6564
|
+
purged: true;
|
|
6565
|
+
}>;
|
|
6566
|
+
};
|
|
6567
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6568
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6569
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6570
|
+
};
|
|
6571
|
+
table: {
|
|
6572
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6573
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6574
|
+
events: {
|
|
6575
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
|
|
6576
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6577
|
+
}>;
|
|
6578
|
+
};
|
|
6579
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6580
|
+
purge: {
|
|
6581
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
|
|
6582
|
+
id: string;
|
|
6583
|
+
object: "database";
|
|
6584
|
+
purged: true;
|
|
6585
|
+
}>;
|
|
6586
|
+
};
|
|
6587
|
+
rest: {
|
|
6588
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6589
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6590
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
|
|
6591
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6592
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6593
|
+
};
|
|
6594
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6595
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4140
6596
|
tables: {
|
|
4141
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
4142
|
-
delete: (options: import("./core/transport.js").CallOptions<Types.
|
|
6597
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6598
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
|
|
4143
6599
|
deleted: true;
|
|
4144
6600
|
}>;
|
|
4145
6601
|
fields: {
|
|
4146
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
4147
|
-
delete: (options: import("./core/transport.js").CallOptions<Types.
|
|
4148
|
-
update: (options: import("./core/transport.js").CallOptions<Types.
|
|
6602
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6603
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6604
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
4149
6605
|
};
|
|
4150
|
-
list: (options: import("./core/transport.js").CallOptions<Types.
|
|
6606
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
|
|
4151
6607
|
data: Array<Types.DatabaseTable>;
|
|
4152
6608
|
}>;
|
|
4153
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.
|
|
4154
|
-
update: (options: import("./core/transport.js").CallOptions<Types.
|
|
6609
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6610
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6611
|
+
};
|
|
6612
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6613
|
+
};
|
|
6614
|
+
};
|
|
6615
|
+
export declare function createDevops(transport: Transport): {
|
|
6616
|
+
changes: {
|
|
6617
|
+
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
6618
|
+
gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
|
|
6619
|
+
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
6620
|
+
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
6621
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
6622
|
+
};
|
|
6623
|
+
connections: {
|
|
6624
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
|
|
6625
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
|
|
6626
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
|
|
6627
|
+
repositories: {
|
|
6628
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
|
|
6629
|
+
};
|
|
6630
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
|
|
6631
|
+
};
|
|
6632
|
+
environments: {
|
|
6633
|
+
checkpoints: {
|
|
6634
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
|
|
6635
|
+
};
|
|
6636
|
+
rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
|
|
6637
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
|
|
6638
|
+
};
|
|
6639
|
+
flags: {
|
|
6640
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
|
|
6641
|
+
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
|
|
6642
|
+
environments: {
|
|
6643
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
|
|
6644
|
+
};
|
|
6645
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
|
|
6646
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
|
|
6647
|
+
};
|
|
6648
|
+
progressiveRollouts: {
|
|
6649
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
|
|
6650
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
|
|
6651
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
|
|
6652
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
|
|
6653
|
+
rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
|
|
6654
|
+
};
|
|
6655
|
+
projects: {
|
|
6656
|
+
changes: {
|
|
6657
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6658
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6659
|
+
};
|
|
6660
|
+
cleanups: {
|
|
6661
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6662
|
+
};
|
|
6663
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6664
|
+
defaultBranch: {
|
|
6665
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6666
|
+
};
|
|
6667
|
+
environments: {
|
|
6668
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6669
|
+
targets: {
|
|
6670
|
+
deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
|
|
6671
|
+
retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
|
|
6672
|
+
state: {
|
|
6673
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
|
|
6674
|
+
deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
|
|
6675
|
+
lock: {
|
|
6676
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
|
|
6677
|
+
};
|
|
6678
|
+
};
|
|
6679
|
+
};
|
|
6680
|
+
};
|
|
6681
|
+
flags: {
|
|
6682
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
|
|
6683
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
|
|
6684
|
+
reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
|
|
6685
|
+
};
|
|
6686
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
|
|
6687
|
+
promotions: {
|
|
6688
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
|
|
6689
|
+
};
|
|
6690
|
+
pullRequests: {
|
|
6691
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
|
|
6692
|
+
};
|
|
6693
|
+
releases: {
|
|
6694
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
|
|
6695
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
|
|
6696
|
+
};
|
|
6697
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
|
|
6698
|
+
retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
|
|
6699
|
+
retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
|
|
6700
|
+
segments: {
|
|
6701
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
|
|
6702
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
|
|
6703
|
+
};
|
|
6704
|
+
targets: {
|
|
6705
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
|
|
6706
|
+
refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
|
|
6707
|
+
};
|
|
6708
|
+
testCases: {
|
|
6709
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
|
|
6710
|
+
};
|
|
6711
|
+
testPlans: {
|
|
6712
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
|
|
6713
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
|
|
6714
|
+
};
|
|
6715
|
+
testReports: {
|
|
6716
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
|
|
6717
|
+
};
|
|
6718
|
+
testRuns: {
|
|
6719
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
|
|
6720
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
|
|
6721
|
+
};
|
|
6722
|
+
testSuites: {
|
|
6723
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
|
|
6724
|
+
};
|
|
6725
|
+
units: {
|
|
6726
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
|
|
6727
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
|
|
6728
|
+
};
|
|
6729
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
|
|
6730
|
+
workspaces: {
|
|
6731
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
|
|
6732
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
|
|
6733
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
|
|
6734
|
+
};
|
|
6735
|
+
};
|
|
6736
|
+
promotions: {
|
|
6737
|
+
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6738
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6739
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
6740
|
+
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6741
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6742
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
6743
|
+
retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
|
|
6744
|
+
rollouts: {
|
|
6745
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
|
|
6746
|
+
};
|
|
6747
|
+
};
|
|
6748
|
+
pullRequests: {
|
|
6749
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
6750
|
+
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
6751
|
+
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6752
|
+
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6753
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6754
|
+
reviews: {
|
|
6755
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6756
|
+
};
|
|
6757
|
+
};
|
|
6758
|
+
releases: {
|
|
6759
|
+
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
6760
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
|
|
6761
|
+
};
|
|
6762
|
+
rollouts: {
|
|
6763
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
|
|
6764
|
+
};
|
|
6765
|
+
segments: {
|
|
6766
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
|
|
6767
|
+
};
|
|
6768
|
+
testCases: {
|
|
6769
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
|
|
6770
|
+
};
|
|
6771
|
+
testPlans: {
|
|
6772
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
|
|
6773
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
|
|
6774
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
|
|
6775
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
|
|
6776
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
|
|
6777
|
+
};
|
|
6778
|
+
testRuns: {
|
|
6779
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
|
|
6780
|
+
executions: {
|
|
6781
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
|
|
6782
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
|
|
6783
|
+
};
|
|
6784
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
|
|
6785
|
+
retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
|
|
6786
|
+
};
|
|
6787
|
+
testSuites: {
|
|
6788
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
|
|
6789
|
+
};
|
|
6790
|
+
units: {
|
|
6791
|
+
connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
|
|
6792
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
|
|
6793
|
+
exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
|
|
6794
|
+
fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
|
|
6795
|
+
push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
|
|
6796
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
|
|
6797
|
+
start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
|
|
6798
|
+
stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
|
|
6799
|
+
transitions: {
|
|
6800
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
|
|
4155
6801
|
};
|
|
4156
|
-
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4157
6802
|
};
|
|
4158
6803
|
};
|
|
4159
6804
|
export declare function createFile(transport: Transport): {
|
|
@@ -4183,6 +6828,7 @@ export declare function createFile(transport: Transport): {
|
|
|
4183
6828
|
parts: {
|
|
4184
6829
|
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
4185
6830
|
};
|
|
6831
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4186
6832
|
};
|
|
4187
6833
|
};
|
|
4188
6834
|
export declare function createKnowledge(transport: Transport): {
|
|
@@ -4230,11 +6876,33 @@ export declare function createKnowledge(transport: Transport): {
|
|
|
4230
6876
|
};
|
|
4231
6877
|
};
|
|
4232
6878
|
export declare function createMedia(transport: Transport): {
|
|
6879
|
+
assets: {
|
|
6880
|
+
edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
|
|
6881
|
+
lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
|
|
6882
|
+
};
|
|
6883
|
+
generation: {
|
|
6884
|
+
capabilities: {
|
|
6885
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
|
|
6886
|
+
};
|
|
6887
|
+
};
|
|
6888
|
+
images: {
|
|
6889
|
+
generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
|
|
6890
|
+
};
|
|
4233
6891
|
libraries: {
|
|
4234
6892
|
assets: {
|
|
6893
|
+
align: {
|
|
6894
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
|
|
6895
|
+
};
|
|
4235
6896
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4236
6897
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4237
6898
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
6899
|
+
frames: {
|
|
6900
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
6901
|
+
};
|
|
6902
|
+
hls: {
|
|
6903
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6904
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6905
|
+
};
|
|
4238
6906
|
import: {
|
|
4239
6907
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4240
6908
|
};
|
|
@@ -4247,6 +6915,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
4247
6915
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
|
|
4248
6916
|
};
|
|
4249
6917
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
|
|
6918
|
+
versions: {
|
|
6919
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
|
|
6920
|
+
};
|
|
4250
6921
|
};
|
|
4251
6922
|
batches: {
|
|
4252
6923
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
|
|
@@ -4264,14 +6935,22 @@ export declare function createMedia(transport: Transport): {
|
|
|
4264
6935
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
|
|
4265
6936
|
};
|
|
4266
6937
|
jobs: {
|
|
6938
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
|
|
6939
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
|
|
4267
6940
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
|
|
4268
6941
|
};
|
|
4269
6942
|
list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
|
|
6943
|
+
materials: {
|
|
6944
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
|
|
6945
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
|
|
6946
|
+
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
|
|
6947
|
+
};
|
|
4270
6948
|
purge: {
|
|
4271
6949
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
|
|
4272
6950
|
};
|
|
4273
6951
|
restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4274
6952
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6953
|
+
retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
|
|
4275
6954
|
search: {
|
|
4276
6955
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
|
|
4277
6956
|
expression: {
|
|
@@ -4284,7 +6963,24 @@ export declare function createMedia(transport: Transport): {
|
|
|
4284
6963
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
|
|
4285
6964
|
};
|
|
4286
6965
|
};
|
|
6966
|
+
setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6967
|
+
understandings: {
|
|
6968
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
|
|
6969
|
+
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
6970
|
+
};
|
|
4287
6971
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6972
|
+
voices: {
|
|
6973
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
6974
|
+
designs: {
|
|
6975
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
6976
|
+
};
|
|
6977
|
+
};
|
|
6978
|
+
};
|
|
6979
|
+
speech: {
|
|
6980
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
6981
|
+
};
|
|
6982
|
+
videos: {
|
|
6983
|
+
generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
|
|
4288
6984
|
};
|
|
4289
6985
|
};
|
|
4290
6986
|
export declare function createMeta(transport: Transport): {
|
|
@@ -4337,11 +7033,17 @@ export declare function createModel(transport: Transport): {
|
|
|
4337
7033
|
start: number;
|
|
4338
7034
|
end: number;
|
|
4339
7035
|
text: string;
|
|
7036
|
+
speaker?: string;
|
|
4340
7037
|
temperature?: number;
|
|
4341
7038
|
avg_logprob?: number;
|
|
4342
7039
|
compression_ratio?: number;
|
|
4343
7040
|
no_speech_prob?: number;
|
|
4344
7041
|
}>;
|
|
7042
|
+
words?: Array<{
|
|
7043
|
+
word: string;
|
|
7044
|
+
start: number;
|
|
7045
|
+
end: number;
|
|
7046
|
+
}>;
|
|
4345
7047
|
}>;
|
|
4346
7048
|
};
|
|
4347
7049
|
};
|
|
@@ -4479,7 +7181,35 @@ export declare function createModel(transport: Transport): {
|
|
|
4479
7181
|
countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
|
|
4480
7182
|
create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
|
|
4481
7183
|
};
|
|
7184
|
+
modelAccess: {
|
|
7185
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
|
|
7186
|
+
items: Array<{
|
|
7187
|
+
model: string;
|
|
7188
|
+
access_required: boolean;
|
|
7189
|
+
granted: boolean;
|
|
7190
|
+
granted_by: string | null;
|
|
7191
|
+
granted_at: string | null;
|
|
7192
|
+
sell_input_price: number | null;
|
|
7193
|
+
sell_output_price: number | null;
|
|
7194
|
+
}>;
|
|
7195
|
+
}>;
|
|
7196
|
+
};
|
|
4482
7197
|
models: {
|
|
7198
|
+
access: {
|
|
7199
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
|
|
7200
|
+
model: string;
|
|
7201
|
+
revoked: true;
|
|
7202
|
+
}>;
|
|
7203
|
+
update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
|
|
7204
|
+
model: string;
|
|
7205
|
+
access_required: boolean;
|
|
7206
|
+
granted: true;
|
|
7207
|
+
granted_by: string;
|
|
7208
|
+
granted_at: string;
|
|
7209
|
+
sell_input_price: number | null;
|
|
7210
|
+
sell_output_price: number | null;
|
|
7211
|
+
}>;
|
|
7212
|
+
};
|
|
4483
7213
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
|
|
4484
7214
|
object: "list";
|
|
4485
7215
|
data: Array<{
|
|
@@ -4494,6 +7224,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4494
7224
|
type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
|
|
4495
7225
|
supported_apis: Array<string>;
|
|
4496
7226
|
tags: Array<string>;
|
|
7227
|
+
access_required: boolean;
|
|
4497
7228
|
architecture: {
|
|
4498
7229
|
modality: string;
|
|
4499
7230
|
input_modalities: Array<string>;
|
|
@@ -4540,6 +7271,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4540
7271
|
type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
|
|
4541
7272
|
supported_apis: Array<string>;
|
|
4542
7273
|
tags: Array<string>;
|
|
7274
|
+
access_required: boolean;
|
|
4543
7275
|
architecture: {
|
|
4544
7276
|
modality: string;
|
|
4545
7277
|
input_modalities: Array<string>;
|
|
@@ -4766,6 +7498,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4766
7498
|
unsigned_urls: Array<string>;
|
|
4767
7499
|
usage?: {
|
|
4768
7500
|
cost: number;
|
|
7501
|
+
billed_seconds?: number;
|
|
4769
7502
|
};
|
|
4770
7503
|
}>;
|
|
4771
7504
|
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
|
|
@@ -4796,6 +7529,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4796
7529
|
unsigned_urls: Array<string>;
|
|
4797
7530
|
usage?: {
|
|
4798
7531
|
cost: number;
|
|
7532
|
+
billed_seconds?: number;
|
|
4799
7533
|
};
|
|
4800
7534
|
}>;
|
|
4801
7535
|
has_more: boolean;
|
|
@@ -4824,11 +7558,43 @@ export declare function createModel(transport: Transport): {
|
|
|
4824
7558
|
unsigned_urls: Array<string>;
|
|
4825
7559
|
usage?: {
|
|
4826
7560
|
cost: number;
|
|
7561
|
+
billed_seconds?: number;
|
|
4827
7562
|
};
|
|
4828
7563
|
}>;
|
|
4829
7564
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
4830
7565
|
};
|
|
4831
7566
|
};
|
|
7567
|
+
export declare function createOntology(transport: Transport): {
|
|
7568
|
+
changesets: {
|
|
7569
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
|
|
7570
|
+
};
|
|
7571
|
+
nodes: {
|
|
7572
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
|
|
7573
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
|
|
7574
|
+
merge: {
|
|
7575
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
|
|
7576
|
+
};
|
|
7577
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
|
|
7578
|
+
retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
|
|
7579
|
+
update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
|
|
7580
|
+
};
|
|
7581
|
+
relations: {
|
|
7582
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
|
|
7583
|
+
invalidate: {
|
|
7584
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
|
|
7585
|
+
};
|
|
7586
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
|
|
7587
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
|
|
7588
|
+
};
|
|
7589
|
+
search: {
|
|
7590
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
|
|
7591
|
+
};
|
|
7592
|
+
types: {
|
|
7593
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
|
|
7594
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
|
|
7595
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
|
|
7596
|
+
};
|
|
7597
|
+
};
|
|
4832
7598
|
export declare function createOrganization(transport: Transport): {
|
|
4833
7599
|
charges: {
|
|
4834
7600
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
@@ -5086,6 +7852,84 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5086
7852
|
next_page: string | null;
|
|
5087
7853
|
}>;
|
|
5088
7854
|
};
|
|
7855
|
+
notifications: {
|
|
7856
|
+
deliveries: {
|
|
7857
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
|
|
7858
|
+
[key: string]: unknown;
|
|
7859
|
+
}>;
|
|
7860
|
+
};
|
|
7861
|
+
letters: {
|
|
7862
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7863
|
+
unread: number;
|
|
7864
|
+
}>;
|
|
7865
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7866
|
+
letters: Array<{
|
|
7867
|
+
id: string;
|
|
7868
|
+
sender: string;
|
|
7869
|
+
summary: string;
|
|
7870
|
+
body: string;
|
|
7871
|
+
thread: string;
|
|
7872
|
+
kind: "notice" | "mention" | "decision";
|
|
7873
|
+
source: {
|
|
7874
|
+
[key: string]: unknown;
|
|
7875
|
+
};
|
|
7876
|
+
read: boolean;
|
|
7877
|
+
deliveredAt: string;
|
|
7878
|
+
createTime: string;
|
|
7879
|
+
reason: string;
|
|
7880
|
+
archived: boolean;
|
|
7881
|
+
}>;
|
|
7882
|
+
nextCursor: string;
|
|
7883
|
+
unread: number;
|
|
7884
|
+
}>;
|
|
7885
|
+
read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
|
|
7886
|
+
unread: number;
|
|
7887
|
+
}>;
|
|
7888
|
+
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7889
|
+
unread: number;
|
|
7890
|
+
}>;
|
|
7891
|
+
};
|
|
7892
|
+
organizationDefault: {
|
|
7893
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
7894
|
+
[key: string]: unknown;
|
|
7895
|
+
}>;
|
|
7896
|
+
};
|
|
7897
|
+
preferences: {
|
|
7898
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
|
|
7899
|
+
[key: string]: unknown;
|
|
7900
|
+
}>;
|
|
7901
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
|
|
7902
|
+
name: string;
|
|
7903
|
+
workflows: {
|
|
7904
|
+
[key: string]: unknown;
|
|
7905
|
+
};
|
|
7906
|
+
channelOptOuts?: Array<"in_app" | "email" | "sms">;
|
|
7907
|
+
updateTime?: string;
|
|
7908
|
+
catalog: Array<{
|
|
7909
|
+
workflow: string;
|
|
7910
|
+
group: string;
|
|
7911
|
+
title: string;
|
|
7912
|
+
description?: string;
|
|
7913
|
+
severity: "high" | "medium" | "low" | "none";
|
|
7914
|
+
critical: boolean;
|
|
7915
|
+
channels: Array<string>;
|
|
7916
|
+
}>;
|
|
7917
|
+
organization: {
|
|
7918
|
+
[key: string]: unknown;
|
|
7919
|
+
};
|
|
7920
|
+
effective: {
|
|
7921
|
+
[key: string]: unknown;
|
|
7922
|
+
};
|
|
7923
|
+
}>;
|
|
7924
|
+
};
|
|
7925
|
+
retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
|
|
7926
|
+
unreadCount: number;
|
|
7927
|
+
unseenCount: number;
|
|
7928
|
+
}>;
|
|
7929
|
+
retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
|
|
7930
|
+
[key: string]: unknown;
|
|
7931
|
+
}>;
|
|
7932
|
+
};
|
|
5089
7933
|
usage: {
|
|
5090
7934
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
5091
7935
|
object: "page";
|
|
@@ -5109,8 +7953,163 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5109
7953
|
}>;
|
|
5110
7954
|
};
|
|
5111
7955
|
};
|
|
7956
|
+
export declare function createRegistry(transport: Transport): {
|
|
7957
|
+
installations: {
|
|
7958
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
|
|
7959
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
7960
|
+
};
|
|
7961
|
+
packages: {
|
|
7962
|
+
git: {
|
|
7963
|
+
commits: {
|
|
7964
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7965
|
+
};
|
|
7966
|
+
files: {
|
|
7967
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7968
|
+
};
|
|
7969
|
+
refs: {
|
|
7970
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
7971
|
+
};
|
|
7972
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7973
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7974
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7975
|
+
trees: {
|
|
7976
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7977
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7978
|
+
};
|
|
7979
|
+
};
|
|
7980
|
+
gitCredential: {
|
|
7981
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7982
|
+
};
|
|
7983
|
+
installations: {
|
|
7984
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7985
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
7986
|
+
};
|
|
7987
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
|
|
7988
|
+
versions: {
|
|
7989
|
+
contents: {
|
|
7990
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
|
|
7991
|
+
};
|
|
7992
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
|
|
7993
|
+
files: {
|
|
7994
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
|
|
7995
|
+
};
|
|
7996
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
|
|
7997
|
+
retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
|
|
7998
|
+
withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
|
|
7999
|
+
};
|
|
8000
|
+
};
|
|
8001
|
+
repositories: {
|
|
8002
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
|
|
8003
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
|
|
8004
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
|
|
8005
|
+
packages: {
|
|
8006
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
|
|
8007
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
|
|
8008
|
+
};
|
|
8009
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
|
|
8010
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
|
|
8011
|
+
};
|
|
8012
|
+
};
|
|
5112
8013
|
export declare function createSandbox(transport: Transport): {
|
|
8014
|
+
byod: {
|
|
8015
|
+
devices: {
|
|
8016
|
+
disconnect: {
|
|
8017
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
8018
|
+
id: string;
|
|
8019
|
+
object: "byod_device";
|
|
8020
|
+
disconnected: true;
|
|
8021
|
+
}>;
|
|
8022
|
+
};
|
|
8023
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
8024
|
+
data: Array<{
|
|
8025
|
+
object: "byod_device";
|
|
8026
|
+
id: string;
|
|
8027
|
+
platform: "android" | "macos" | "linux";
|
|
8028
|
+
name: string;
|
|
8029
|
+
model: string;
|
|
8030
|
+
os_version: string;
|
|
8031
|
+
online: boolean;
|
|
8032
|
+
last_seen_at: string | null;
|
|
8033
|
+
created_at: string;
|
|
8034
|
+
capabilities: Array<"display" | "agent">;
|
|
8035
|
+
agent_dirs: Array<string>;
|
|
8036
|
+
allow_bypass: boolean;
|
|
8037
|
+
}>;
|
|
8038
|
+
}>;
|
|
8039
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
8040
|
+
object: "byod_device";
|
|
8041
|
+
id: string;
|
|
8042
|
+
platform: "android" | "macos" | "linux";
|
|
8043
|
+
name: string;
|
|
8044
|
+
model: string;
|
|
8045
|
+
os_version: string;
|
|
8046
|
+
online: boolean;
|
|
8047
|
+
last_seen_at: string | null;
|
|
8048
|
+
created_at: string;
|
|
8049
|
+
capabilities: Array<"display" | "agent">;
|
|
8050
|
+
agent_dirs: Array<string>;
|
|
8051
|
+
allow_bypass: boolean;
|
|
8052
|
+
}>;
|
|
8053
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
8054
|
+
object: "byod_device";
|
|
8055
|
+
id: string;
|
|
8056
|
+
platform: "android" | "macos" | "linux";
|
|
8057
|
+
name: string;
|
|
8058
|
+
model: string;
|
|
8059
|
+
os_version: string;
|
|
8060
|
+
online: boolean;
|
|
8061
|
+
last_seen_at: string | null;
|
|
8062
|
+
created_at: string;
|
|
8063
|
+
capabilities: Array<"display" | "agent">;
|
|
8064
|
+
agent_dirs: Array<string>;
|
|
8065
|
+
allow_bypass: boolean;
|
|
8066
|
+
}>;
|
|
8067
|
+
};
|
|
8068
|
+
pairings: {
|
|
8069
|
+
claim: {
|
|
8070
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
8071
|
+
device_id: string;
|
|
8072
|
+
credential: string;
|
|
8073
|
+
socket_url: string;
|
|
8074
|
+
}>;
|
|
8075
|
+
};
|
|
8076
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
8077
|
+
code: string;
|
|
8078
|
+
expires_at: string;
|
|
8079
|
+
qr: string;
|
|
8080
|
+
}>;
|
|
8081
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
8082
|
+
organization_name: string;
|
|
8083
|
+
expires_at: string;
|
|
8084
|
+
}>;
|
|
8085
|
+
};
|
|
8086
|
+
};
|
|
8087
|
+
events: {
|
|
8088
|
+
sandboxes: {
|
|
8089
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
8090
|
+
};
|
|
8091
|
+
};
|
|
5113
8092
|
sandboxes: {
|
|
8093
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
8094
|
+
type: "snapshot";
|
|
8095
|
+
snapshot: string;
|
|
8096
|
+
refs: number;
|
|
8097
|
+
truncated: boolean;
|
|
8098
|
+
package: string;
|
|
8099
|
+
} | {
|
|
8100
|
+
type: "screenshot";
|
|
8101
|
+
mediaType: string;
|
|
8102
|
+
data: string;
|
|
8103
|
+
width: number;
|
|
8104
|
+
height: number;
|
|
8105
|
+
bytes: number;
|
|
8106
|
+
} | {
|
|
8107
|
+
type: "ok";
|
|
8108
|
+
ms?: number;
|
|
8109
|
+
} | {
|
|
8110
|
+
type: "wait";
|
|
8111
|
+
ms: number;
|
|
8112
|
+
}>;
|
|
5114
8113
|
commands: {
|
|
5115
8114
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
5116
8115
|
stdout: string;
|
|
@@ -5188,6 +8187,20 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5188
8187
|
snapshots: {
|
|
5189
8188
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
|
|
5190
8189
|
};
|
|
8190
|
+
tasks: {
|
|
8191
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
|
|
8192
|
+
taskId: string;
|
|
8193
|
+
instanceId: string;
|
|
8194
|
+
startedAt: number;
|
|
8195
|
+
}>;
|
|
8196
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
|
|
8197
|
+
text: string;
|
|
8198
|
+
nextOffset: number;
|
|
8199
|
+
done: boolean;
|
|
8200
|
+
exitCode: number | null;
|
|
8201
|
+
size: number | null;
|
|
8202
|
+
}>;
|
|
8203
|
+
};
|
|
5191
8204
|
timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
|
|
5192
8205
|
update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
|
|
5193
8206
|
name: string;
|
|
@@ -5326,6 +8339,131 @@ export declare function createSearch(transport: Transport): {
|
|
|
5326
8339
|
}>;
|
|
5327
8340
|
};
|
|
5328
8341
|
};
|
|
8342
|
+
export declare function createShare(transport: Transport): {
|
|
8343
|
+
permissions: {
|
|
8344
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
8345
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
|
|
8346
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
|
|
8347
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
8348
|
+
};
|
|
8349
|
+
};
|
|
8350
|
+
export declare function createStudio(transport: Transport): {
|
|
8351
|
+
codexes: {
|
|
8352
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
|
|
8353
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8354
|
+
entries: {
|
|
8355
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
|
|
8356
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8357
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
|
|
8358
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
|
|
8359
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
|
|
8360
|
+
};
|
|
8361
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
|
|
8362
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
|
|
8363
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
|
|
8364
|
+
};
|
|
8365
|
+
genres: {
|
|
8366
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
|
|
8367
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
|
|
8368
|
+
};
|
|
8369
|
+
platforms: {
|
|
8370
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
|
|
8371
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
|
|
8372
|
+
};
|
|
8373
|
+
styles: {
|
|
8374
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
|
|
8375
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8376
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
|
|
8377
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
|
|
8378
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
|
|
8379
|
+
};
|
|
8380
|
+
templates: {
|
|
8381
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
|
|
8382
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8383
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
|
|
8384
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
|
|
8385
|
+
};
|
|
8386
|
+
themes: {
|
|
8387
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
|
|
8388
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8389
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
|
|
8390
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
|
|
8391
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
|
|
8392
|
+
};
|
|
8393
|
+
works: {
|
|
8394
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
|
|
8395
|
+
drafts: {
|
|
8396
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
|
|
8397
|
+
foreshadows: {
|
|
8398
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8399
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
|
|
8400
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
|
|
8401
|
+
};
|
|
8402
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
|
|
8403
|
+
rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
|
|
8404
|
+
renditions: {
|
|
8405
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
|
|
8406
|
+
};
|
|
8407
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
|
|
8408
|
+
retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
|
|
8409
|
+
retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
|
|
8410
|
+
retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
|
|
8411
|
+
status: {
|
|
8412
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
|
|
8413
|
+
};
|
|
8414
|
+
units: {
|
|
8415
|
+
batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
|
|
8416
|
+
batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
|
|
8417
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
|
|
8418
|
+
};
|
|
8419
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
|
|
8420
|
+
updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
|
|
8421
|
+
};
|
|
8422
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
|
|
8423
|
+
progressions: {
|
|
8424
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
|
|
8425
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8426
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
|
|
8427
|
+
};
|
|
8428
|
+
renditions: {
|
|
8429
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8430
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
|
|
8431
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
|
|
8432
|
+
render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
|
|
8433
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
|
|
8434
|
+
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
|
|
8435
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
|
|
8436
|
+
};
|
|
8437
|
+
resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
|
|
8438
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
|
|
8439
|
+
reviewSettings: {
|
|
8440
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
|
|
8441
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
|
|
8442
|
+
};
|
|
8443
|
+
reviewers: {
|
|
8444
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
|
|
8445
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8446
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
|
|
8447
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
|
|
8448
|
+
};
|
|
8449
|
+
reviews: {
|
|
8450
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
|
|
8451
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
|
|
8452
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
|
|
8453
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
|
|
8454
|
+
};
|
|
8455
|
+
units: {
|
|
8456
|
+
blocks: {
|
|
8457
|
+
patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
|
|
8458
|
+
};
|
|
8459
|
+
move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
|
|
8460
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
|
|
8461
|
+
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
|
|
8462
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
|
|
8463
|
+
};
|
|
8464
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
|
|
8465
|
+
};
|
|
8466
|
+
};
|
|
5329
8467
|
export declare function createTicket(transport: Transport): {
|
|
5330
8468
|
activity: {
|
|
5331
8469
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
|
|
@@ -5370,6 +8508,7 @@ export declare function createTicket(transport: Transport): {
|
|
|
5370
8508
|
repositories: Array<Types.TicketRepository>;
|
|
5371
8509
|
next_page_token: string;
|
|
5372
8510
|
}>;
|
|
8511
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
|
|
5373
8512
|
};
|
|
5374
8513
|
tickets: {
|
|
5375
8514
|
comments: {
|
|
@@ -5495,23 +8634,154 @@ export declare function createVault(transport: Transport): {
|
|
|
5495
8634
|
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
5496
8635
|
};
|
|
5497
8636
|
};
|
|
8637
|
+
export declare function createWorkforce(transport: Transport): {
|
|
8638
|
+
actors: {
|
|
8639
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
8640
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
8641
|
+
};
|
|
8642
|
+
assignments: {
|
|
8643
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
8644
|
+
makePrimary: {
|
|
8645
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8646
|
+
};
|
|
8647
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8648
|
+
terminate: {
|
|
8649
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8650
|
+
};
|
|
8651
|
+
transfer: {
|
|
8652
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8653
|
+
};
|
|
8654
|
+
};
|
|
8655
|
+
departments: {
|
|
8656
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8657
|
+
dissolve: {
|
|
8658
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8659
|
+
};
|
|
8660
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
8661
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8662
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8663
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
8664
|
+
};
|
|
8665
|
+
effectiveSpec: {
|
|
8666
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
8667
|
+
};
|
|
8668
|
+
jobs: {
|
|
8669
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8670
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
8671
|
+
retire: {
|
|
8672
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8673
|
+
};
|
|
8674
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8675
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8676
|
+
};
|
|
8677
|
+
keyResults: {
|
|
8678
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8679
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
8680
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8681
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8682
|
+
};
|
|
8683
|
+
ladders: {
|
|
8684
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8685
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
8686
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8687
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8688
|
+
};
|
|
8689
|
+
objectives: {
|
|
8690
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8691
|
+
grade: {
|
|
8692
|
+
create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8693
|
+
};
|
|
8694
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
8695
|
+
parents: {
|
|
8696
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8697
|
+
};
|
|
8698
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8699
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8700
|
+
};
|
|
8701
|
+
periods: {
|
|
8702
|
+
close: {
|
|
8703
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8704
|
+
};
|
|
8705
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8706
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
8707
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8708
|
+
};
|
|
8709
|
+
positions: {
|
|
8710
|
+
close: {
|
|
8711
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8712
|
+
};
|
|
8713
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
8714
|
+
designateHead: {
|
|
8715
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
8716
|
+
};
|
|
8717
|
+
freeze: {
|
|
8718
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8719
|
+
};
|
|
8720
|
+
hire: {
|
|
8721
|
+
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
8722
|
+
};
|
|
8723
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
8724
|
+
replaceHolder: {
|
|
8725
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
8726
|
+
};
|
|
8727
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8728
|
+
unfreeze: {
|
|
8729
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8730
|
+
};
|
|
8731
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8732
|
+
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8733
|
+
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
8734
|
+
};
|
|
8735
|
+
reconcile: {
|
|
8736
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8737
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8738
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
8739
|
+
run: {
|
|
8740
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8741
|
+
};
|
|
8742
|
+
status: {
|
|
8743
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8744
|
+
};
|
|
8745
|
+
};
|
|
8746
|
+
specSchema: {
|
|
8747
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
8748
|
+
};
|
|
8749
|
+
specs: {
|
|
8750
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
8751
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
8752
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
8753
|
+
revisions: {
|
|
8754
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
8755
|
+
};
|
|
8756
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
8757
|
+
};
|
|
8758
|
+
};
|
|
5498
8759
|
export declare const resourceFactories: {
|
|
5499
8760
|
agent: typeof createAgent;
|
|
5500
8761
|
application: typeof createApplication;
|
|
5501
8762
|
automation: typeof createAutomation;
|
|
8763
|
+
billing: typeof createBilling;
|
|
5502
8764
|
browser: typeof createBrowser;
|
|
5503
8765
|
canvas: typeof createCanvas;
|
|
8766
|
+
content: typeof createContent;
|
|
5504
8767
|
crm: typeof createCrm;
|
|
8768
|
+
customer: typeof createCustomer;
|
|
5505
8769
|
cut: typeof createCut;
|
|
5506
8770
|
database: typeof createDatabase;
|
|
8771
|
+
devops: typeof createDevops;
|
|
5507
8772
|
file: typeof createFile;
|
|
5508
8773
|
knowledge: typeof createKnowledge;
|
|
5509
8774
|
media: typeof createMedia;
|
|
5510
8775
|
meta: typeof createMeta;
|
|
5511
8776
|
model: typeof createModel;
|
|
8777
|
+
ontology: typeof createOntology;
|
|
5512
8778
|
organization: typeof createOrganization;
|
|
8779
|
+
registry: typeof createRegistry;
|
|
5513
8780
|
sandbox: typeof createSandbox;
|
|
5514
8781
|
search: typeof createSearch;
|
|
8782
|
+
share: typeof createShare;
|
|
8783
|
+
studio: typeof createStudio;
|
|
5515
8784
|
ticket: typeof createTicket;
|
|
5516
8785
|
vault: typeof createVault;
|
|
8786
|
+
workforce: typeof createWorkforce;
|
|
5517
8787
|
};
|