@deepraxis/sdk 0.1.1-dev.36d48d0 → 0.1.1-dev.38dbfa0
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 +1024 -32
- package/README.md +6 -5
- package/dist/core/binary-operations.d.ts +3 -0
- package/dist/core/binary-operations.js +14 -0
- package/dist/core/credentials.d.ts +16 -6
- package/dist/core/credentials.js +24 -5
- package/dist/core/deprecation.d.ts +11 -0
- package/dist/core/deprecation.js +20 -0
- package/dist/core/transport.d.ts +4 -0
- package/dist/core/transport.js +11 -4
- package/dist/generated/binary-operations.gen.d.ts +3 -0
- package/dist/generated/binary-operations.gen.js +14 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +2174 -258
- package/dist/generated/sdk.gen.js +8487 -3050
- package/dist/generated/types.gen.d.ts +89668 -56866
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-actions.d.ts +18 -0
- package/dist/helpers/browser-actions.js +5 -0
- package/dist/helpers/browser-connect-error.d.ts +28 -0
- package/dist/helpers/browser-connect-error.js +74 -0
- package/dist/helpers/browser-connect.d.ts +9 -0
- package/dist/helpers/browser-connect.js +40 -43
- package/dist/helpers/browser-decisions.d.ts +13 -0
- package/dist/helpers/browser-decisions.js +11 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +15 -5
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +2 -0
- package/dist/operations.generated.js +21514 -10800
- package/dist/resources.generated.d.ts +3280 -210
- package/dist/resources.generated.js +780 -43
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type * as Types from './generated/types.gen.js';
|
|
2
|
+
import type { DeprecationNotice } from './core/deprecation.js';
|
|
2
3
|
import type { RenameParameters } from './core/bindings.js';
|
|
3
4
|
import type { Transport } from './core/transport.js';
|
|
5
|
+
export declare const deprecatedMethods: Readonly<Record<string, DeprecationNotice>>;
|
|
4
6
|
export declare function createAgent(transport: Transport): {
|
|
5
7
|
agents: {
|
|
6
8
|
archive: (options: import("./core/transport.js").CallOptions<Types.AgentsArchiveData>) => Promise<{
|
|
@@ -17,6 +19,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
17
19
|
speed?: "standard" | "fast";
|
|
18
20
|
settings?: {
|
|
19
21
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
22
|
+
max_output_tokens?: number;
|
|
20
23
|
};
|
|
21
24
|
};
|
|
22
25
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -37,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" | "ticket" | "crm" | "canvas" | "cut";
|
|
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" | "ticket" | "crm" | "canvas" | "cut";
|
|
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;
|
|
@@ -429,39 +424,452 @@ export declare function createAgent(transport: Transport): {
|
|
|
429
424
|
updated_at: string;
|
|
430
425
|
}>;
|
|
431
426
|
}>;
|
|
432
|
-
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetCustomerDeletionData>) => Promise<{
|
|
433
|
-
id: string;
|
|
434
|
-
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
435
|
-
counts: {
|
|
436
|
-
sessions?: number;
|
|
437
|
-
events?: number;
|
|
438
|
-
messages?: number;
|
|
439
|
-
d1_rows?: number;
|
|
440
|
-
attachments?: number;
|
|
441
|
-
};
|
|
442
|
-
snapshot_key?: string;
|
|
443
|
-
error?: string;
|
|
444
|
-
created_at: string;
|
|
445
|
-
updated_at: string;
|
|
446
|
-
}>;
|
|
447
|
-
revokeTokens: {
|
|
448
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeCustomerTokensData>) => Promise<{
|
|
449
|
-
revoked: number;
|
|
450
|
-
}>;
|
|
451
|
-
};
|
|
452
|
-
unblock: {
|
|
453
|
-
create: (options: import("./core/transport.js").CallOptions<Types.UnblockCustomerData>) => Promise<{
|
|
427
|
+
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetCustomerDeletionData>) => Promise<{
|
|
428
|
+
id: string;
|
|
429
|
+
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
430
|
+
counts: {
|
|
431
|
+
sessions?: number;
|
|
432
|
+
events?: number;
|
|
433
|
+
messages?: number;
|
|
434
|
+
d1_rows?: number;
|
|
435
|
+
attachments?: number;
|
|
436
|
+
};
|
|
437
|
+
snapshot_key?: string;
|
|
438
|
+
error?: string;
|
|
439
|
+
created_at: string;
|
|
440
|
+
updated_at: string;
|
|
441
|
+
}>;
|
|
442
|
+
revokeTokens: {
|
|
443
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RevokeCustomerTokensData>) => Promise<{
|
|
444
|
+
revoked: number;
|
|
445
|
+
}>;
|
|
446
|
+
};
|
|
447
|
+
unblock: {
|
|
448
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnblockCustomerData>) => Promise<{
|
|
449
|
+
id: string;
|
|
450
|
+
type: "identified" | "anonymous";
|
|
451
|
+
merged_into: string | null;
|
|
452
|
+
blocked: boolean;
|
|
453
|
+
first_seen_at: string | null;
|
|
454
|
+
last_seen_at: string | null;
|
|
455
|
+
session_count: number;
|
|
456
|
+
cost: {
|
|
457
|
+
amount: string;
|
|
458
|
+
currency: "USD";
|
|
459
|
+
};
|
|
460
|
+
}>;
|
|
461
|
+
};
|
|
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
|
+
message_id?: string;
|
|
616
|
+
session_thread_id?: string | null;
|
|
617
|
+
} | {
|
|
618
|
+
id: string;
|
|
619
|
+
type: "session.goal_changed";
|
|
620
|
+
processed_at: string;
|
|
621
|
+
action: "set" | "status_updated" | "cleared" | "usage_accounted";
|
|
622
|
+
source: "command" | "runtime";
|
|
623
|
+
goal: {
|
|
624
|
+
goal_id: string;
|
|
625
|
+
objective: string;
|
|
626
|
+
summary_title: string | null;
|
|
627
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
628
|
+
token_budget: number | null;
|
|
629
|
+
tokens_used: number;
|
|
630
|
+
time_used_seconds: number;
|
|
631
|
+
iteration: number;
|
|
632
|
+
created_at: number;
|
|
633
|
+
updated_at: number;
|
|
634
|
+
} | null;
|
|
635
|
+
previous_goal: {
|
|
636
|
+
goal_id: string;
|
|
637
|
+
objective: string;
|
|
638
|
+
summary_title: string | null;
|
|
639
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
640
|
+
token_budget: number | null;
|
|
641
|
+
tokens_used: number;
|
|
642
|
+
time_used_seconds: number;
|
|
643
|
+
iteration: number;
|
|
644
|
+
created_at: number;
|
|
645
|
+
updated_at: number;
|
|
646
|
+
} | null;
|
|
647
|
+
message_id?: string;
|
|
648
|
+
session_thread_id?: string | null;
|
|
649
|
+
} | {
|
|
650
|
+
id: string;
|
|
651
|
+
type: "session.goal_verification";
|
|
652
|
+
processed_at: string;
|
|
653
|
+
status: "started" | "completed" | "failed_closed" | "cancelled";
|
|
654
|
+
goal_id: string;
|
|
655
|
+
goal_iteration: number;
|
|
656
|
+
verification_id: string;
|
|
657
|
+
anchor_message_id: string | null;
|
|
658
|
+
verification?: {
|
|
659
|
+
passed: boolean;
|
|
660
|
+
reason: string;
|
|
661
|
+
next_action?: string;
|
|
662
|
+
};
|
|
663
|
+
message_id?: string;
|
|
664
|
+
session_thread_id?: string | null;
|
|
665
|
+
} | {
|
|
666
|
+
id: string;
|
|
667
|
+
type: "user.steer";
|
|
668
|
+
event_id: string;
|
|
669
|
+
processed_at: string;
|
|
670
|
+
message_id?: string;
|
|
671
|
+
session_thread_id?: string | null;
|
|
672
|
+
} | {
|
|
673
|
+
id: string;
|
|
674
|
+
type: "cognition.surfaced";
|
|
675
|
+
processed_at: string;
|
|
676
|
+
worker_session_id: string;
|
|
677
|
+
name: string;
|
|
678
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
679
|
+
experience_id?: string;
|
|
680
|
+
result?: {
|
|
681
|
+
message?: string;
|
|
682
|
+
links?: Array<string>;
|
|
683
|
+
files?: Array<{
|
|
684
|
+
name?: string;
|
|
685
|
+
href?: string;
|
|
686
|
+
}>;
|
|
687
|
+
held?: Array<{
|
|
688
|
+
id?: string;
|
|
689
|
+
summary?: string;
|
|
690
|
+
effect?: string;
|
|
691
|
+
method?: string;
|
|
692
|
+
path?: string;
|
|
693
|
+
expires_at?: string;
|
|
694
|
+
}>;
|
|
695
|
+
};
|
|
696
|
+
} | {
|
|
697
|
+
id: string;
|
|
698
|
+
type: "cognition.intention_woken";
|
|
699
|
+
processed_at: string;
|
|
700
|
+
node_id: string;
|
|
701
|
+
reason: "open_engram" | "assignment";
|
|
702
|
+
} | {
|
|
703
|
+
id: string;
|
|
704
|
+
type: "agent.operation_approval_requested";
|
|
705
|
+
processed_at: string;
|
|
706
|
+
approval_id: string;
|
|
707
|
+
operation_id: string;
|
|
708
|
+
effect: "outward" | "irreversible";
|
|
709
|
+
method: string;
|
|
710
|
+
path: string;
|
|
711
|
+
summary: string;
|
|
712
|
+
expires_at: string;
|
|
713
|
+
worker_session_id?: string;
|
|
714
|
+
worker_name?: string;
|
|
715
|
+
} | {
|
|
716
|
+
id: string;
|
|
717
|
+
type: "agent.operation_approval_decided";
|
|
718
|
+
processed_at: string;
|
|
719
|
+
approval_id: string;
|
|
720
|
+
status: "approved" | "refused" | "expired";
|
|
721
|
+
} | {
|
|
722
|
+
id: string;
|
|
723
|
+
type: "session.prompt_configuration_mismatch";
|
|
724
|
+
processed_at: string;
|
|
725
|
+
pinned_revision_id: string;
|
|
726
|
+
current_revision_id: string;
|
|
727
|
+
} | {
|
|
728
|
+
id: string;
|
|
729
|
+
type: "session.prompt_rev_changed";
|
|
730
|
+
processed_at: string;
|
|
731
|
+
config_revision_id: string;
|
|
732
|
+
changed: Array<{
|
|
733
|
+
name: string;
|
|
734
|
+
rev: string | null;
|
|
735
|
+
}>;
|
|
736
|
+
} | {
|
|
737
|
+
id: string;
|
|
738
|
+
type: "session.computer_tier";
|
|
739
|
+
processed_at: string;
|
|
740
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
741
|
+
tier: "light" | "heavy";
|
|
742
|
+
duration_ms: number;
|
|
743
|
+
error_code?: string;
|
|
744
|
+
status?: {
|
|
745
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
746
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
747
|
+
percent?: number;
|
|
748
|
+
files_done?: number;
|
|
749
|
+
files_total?: number;
|
|
750
|
+
idle_release_at?: number;
|
|
751
|
+
retry_at?: number;
|
|
752
|
+
epoch?: number;
|
|
753
|
+
heavy_instance?: string | null;
|
|
754
|
+
heavy_paused?: boolean;
|
|
755
|
+
};
|
|
756
|
+
} | {
|
|
757
|
+
id: string;
|
|
758
|
+
type: "agent.artifact_delivered";
|
|
759
|
+
processed_at: string;
|
|
760
|
+
artifact: {
|
|
761
|
+
object: "artifact";
|
|
762
|
+
id: string;
|
|
763
|
+
session_id: string;
|
|
764
|
+
run_id: string | null;
|
|
765
|
+
name: string;
|
|
766
|
+
version: number;
|
|
767
|
+
parts: Array<{
|
|
768
|
+
[key: string]: unknown;
|
|
769
|
+
}>;
|
|
770
|
+
source_hrefs: Array<string>;
|
|
771
|
+
create_time: string;
|
|
772
|
+
update_time: string;
|
|
773
|
+
};
|
|
774
|
+
} | {
|
|
775
|
+
id: string;
|
|
776
|
+
type: "agent.image_generation";
|
|
777
|
+
processed_at: string;
|
|
778
|
+
tool_use_id: string;
|
|
779
|
+
index: number;
|
|
780
|
+
total: number;
|
|
781
|
+
status: string;
|
|
782
|
+
mode?: string;
|
|
783
|
+
aspect?: string;
|
|
784
|
+
prompt?: string;
|
|
785
|
+
model?: string;
|
|
786
|
+
file_id?: string;
|
|
787
|
+
label?: string;
|
|
788
|
+
width?: number;
|
|
789
|
+
height?: number;
|
|
790
|
+
revised_prompt?: string;
|
|
791
|
+
source_labels?: Array<string>;
|
|
792
|
+
caption?: string;
|
|
793
|
+
slot?: number | null;
|
|
794
|
+
replaces?: string;
|
|
795
|
+
version?: number;
|
|
796
|
+
failure?: {
|
|
797
|
+
reason?: string;
|
|
798
|
+
};
|
|
799
|
+
} | {
|
|
800
|
+
id: string;
|
|
801
|
+
type: "session.image_labeled";
|
|
802
|
+
processed_at: string;
|
|
803
|
+
label: string;
|
|
804
|
+
file_id: string;
|
|
805
|
+
origin: "generated" | "uploaded";
|
|
806
|
+
filename: string;
|
|
807
|
+
tool_use_id?: string;
|
|
808
|
+
version?: number;
|
|
809
|
+
replaced_file_id?: string;
|
|
810
|
+
} | {
|
|
811
|
+
id: string;
|
|
812
|
+
type: "session.image_set_planned";
|
|
813
|
+
processed_at: string;
|
|
814
|
+
tool_use_id: string;
|
|
815
|
+
items: Array<unknown>;
|
|
816
|
+
title?: string;
|
|
817
|
+
} | {
|
|
818
|
+
id: string;
|
|
819
|
+
type: "session.project_attached";
|
|
820
|
+
processed_at: string;
|
|
821
|
+
project: {
|
|
822
|
+
id: string;
|
|
823
|
+
name: string;
|
|
824
|
+
path: string;
|
|
825
|
+
};
|
|
826
|
+
message_id?: string;
|
|
827
|
+
session_thread_id?: string | null;
|
|
828
|
+
} | {
|
|
829
|
+
id: string;
|
|
830
|
+
type: "session.project_detached";
|
|
831
|
+
processed_at: string;
|
|
832
|
+
project_id: string;
|
|
833
|
+
reason?: "project_removed";
|
|
834
|
+
message_id?: string;
|
|
835
|
+
session_thread_id?: string | null;
|
|
836
|
+
}>;
|
|
837
|
+
next_page: string | null;
|
|
838
|
+
}>;
|
|
839
|
+
send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
|
|
840
|
+
data?: Array<{
|
|
454
841
|
id: string;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
currency: "USD";
|
|
842
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
843
|
+
type: "user.message";
|
|
844
|
+
processed_at?: null | string;
|
|
845
|
+
praxis_context?: {
|
|
846
|
+
items: Array<{
|
|
847
|
+
name: string;
|
|
848
|
+
value: string;
|
|
849
|
+
}>;
|
|
464
850
|
};
|
|
851
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
|
|
852
|
+
id: string;
|
|
853
|
+
type: "user.steer";
|
|
854
|
+
event_id: string;
|
|
855
|
+
processed_at: string;
|
|
856
|
+
message_id?: string;
|
|
857
|
+
session_thread_id?: string | null;
|
|
858
|
+
}>;
|
|
859
|
+
}>;
|
|
860
|
+
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
861
|
+
};
|
|
862
|
+
inbox: {
|
|
863
|
+
letters: {
|
|
864
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
|
|
865
|
+
unread: number;
|
|
866
|
+
letters: Array<{
|
|
867
|
+
id: string;
|
|
868
|
+
sender: string;
|
|
869
|
+
summary: string;
|
|
870
|
+
thread: string | null;
|
|
871
|
+
create_time: string;
|
|
872
|
+
}>;
|
|
465
873
|
}>;
|
|
466
874
|
};
|
|
467
875
|
};
|
|
@@ -480,6 +888,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
480
888
|
speed?: "standard" | "fast";
|
|
481
889
|
settings?: {
|
|
482
890
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
891
|
+
max_output_tokens?: number;
|
|
483
892
|
};
|
|
484
893
|
};
|
|
485
894
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -500,22 +909,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
500
909
|
id: string;
|
|
501
910
|
} | null;
|
|
502
911
|
note: string | null;
|
|
912
|
+
deployments_behind: number | null;
|
|
503
913
|
bindings: Array<{
|
|
504
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
914
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
505
915
|
id: string;
|
|
506
916
|
access: "read_only" | "read_write" | "invoke";
|
|
917
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
507
918
|
instructions?: string;
|
|
508
919
|
readonly verified?: boolean;
|
|
509
920
|
enabled?: boolean;
|
|
510
921
|
} | {
|
|
511
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
922
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
512
923
|
readonly verified?: boolean;
|
|
513
924
|
enabled?: boolean;
|
|
514
925
|
}>;
|
|
515
|
-
kind: "general" | "
|
|
926
|
+
kind: "general" | "service" | "assume";
|
|
927
|
+
computers?: {
|
|
928
|
+
default: string;
|
|
929
|
+
allowed: Array<{
|
|
930
|
+
template: string;
|
|
931
|
+
name: string;
|
|
932
|
+
}>;
|
|
933
|
+
};
|
|
516
934
|
computer_id?: string;
|
|
517
935
|
subagent_model?: string | null;
|
|
518
|
-
image_model?: string | null;
|
|
519
936
|
subagents?: Array<{
|
|
520
937
|
name: string;
|
|
521
938
|
description: string;
|
|
@@ -606,6 +1023,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
606
1023
|
allowManagedHooksOnly?: boolean;
|
|
607
1024
|
allowManagedMcpServersOnly?: boolean;
|
|
608
1025
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1026
|
+
idleCompaction?: boolean;
|
|
609
1027
|
autoMemoryEnabled?: boolean;
|
|
610
1028
|
disabled?: {
|
|
611
1029
|
subagents?: Array<string>;
|
|
@@ -614,7 +1032,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
614
1032
|
mcpServers?: Array<string>;
|
|
615
1033
|
hooks?: Array<string>;
|
|
616
1034
|
};
|
|
617
|
-
idleCompaction?: boolean;
|
|
618
1035
|
outputStyle?: string;
|
|
619
1036
|
} | null;
|
|
620
1037
|
models?: {
|
|
@@ -622,6 +1039,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
622
1039
|
};
|
|
623
1040
|
avatar: string | null;
|
|
624
1041
|
creation_source: string | null;
|
|
1042
|
+
managed_by: string | null;
|
|
625
1043
|
identity_number: string | null;
|
|
626
1044
|
environment_id?: string | null;
|
|
627
1045
|
vault_ids?: Array<string>;
|
|
@@ -635,6 +1053,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
635
1053
|
}>;
|
|
636
1054
|
next_page: string | null;
|
|
637
1055
|
}>;
|
|
1056
|
+
phone: {
|
|
1057
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
1058
|
+
object: "agent_phone";
|
|
1059
|
+
agent_id: string;
|
|
1060
|
+
configured: boolean;
|
|
1061
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1062
|
+
sku: string | null;
|
|
1063
|
+
byod_device: string | null;
|
|
1064
|
+
name: string | null;
|
|
1065
|
+
sandbox_id: string | null;
|
|
1066
|
+
lease_ends_at: string | null;
|
|
1067
|
+
archived_at: string | null;
|
|
1068
|
+
archive_error: string | null;
|
|
1069
|
+
}>;
|
|
1070
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
1071
|
+
object: "agent_phone";
|
|
1072
|
+
agent_id: string;
|
|
1073
|
+
configured: boolean;
|
|
1074
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1075
|
+
sku: string | null;
|
|
1076
|
+
byod_device: string | null;
|
|
1077
|
+
name: string | null;
|
|
1078
|
+
sandbox_id: string | null;
|
|
1079
|
+
lease_ends_at: string | null;
|
|
1080
|
+
archived_at: string | null;
|
|
1081
|
+
archive_error: string | null;
|
|
1082
|
+
}>;
|
|
1083
|
+
};
|
|
638
1084
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
639
1085
|
id: string;
|
|
640
1086
|
archived_at: null | string;
|
|
@@ -649,6 +1095,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
649
1095
|
speed?: "standard" | "fast";
|
|
650
1096
|
settings?: {
|
|
651
1097
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1098
|
+
max_output_tokens?: number;
|
|
652
1099
|
};
|
|
653
1100
|
};
|
|
654
1101
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -670,22 +1117,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
670
1117
|
id: string;
|
|
671
1118
|
} | null;
|
|
672
1119
|
note: string | null;
|
|
1120
|
+
deployments_behind: number | null;
|
|
673
1121
|
bindings: Array<{
|
|
674
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1122
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
675
1123
|
id: string;
|
|
676
1124
|
access: "read_only" | "read_write" | "invoke";
|
|
1125
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
677
1126
|
instructions?: string;
|
|
678
1127
|
readonly verified?: boolean;
|
|
679
1128
|
enabled?: boolean;
|
|
680
1129
|
} | {
|
|
681
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1130
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
682
1131
|
readonly verified?: boolean;
|
|
683
1132
|
enabled?: boolean;
|
|
684
1133
|
}>;
|
|
685
|
-
kind: "general" | "
|
|
1134
|
+
kind: "general" | "service" | "assume";
|
|
1135
|
+
computers?: {
|
|
1136
|
+
default: string;
|
|
1137
|
+
allowed: Array<{
|
|
1138
|
+
template: string;
|
|
1139
|
+
name: string;
|
|
1140
|
+
}>;
|
|
1141
|
+
};
|
|
686
1142
|
computer_id?: string;
|
|
687
1143
|
subagent_model?: string | null;
|
|
688
|
-
image_model?: string | null;
|
|
689
1144
|
subagents?: Array<{
|
|
690
1145
|
name: string;
|
|
691
1146
|
description: string;
|
|
@@ -776,6 +1231,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
776
1231
|
allowManagedHooksOnly?: boolean;
|
|
777
1232
|
allowManagedMcpServersOnly?: boolean;
|
|
778
1233
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1234
|
+
idleCompaction?: boolean;
|
|
779
1235
|
autoMemoryEnabled?: boolean;
|
|
780
1236
|
disabled?: {
|
|
781
1237
|
subagents?: Array<string>;
|
|
@@ -784,7 +1240,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
784
1240
|
mcpServers?: Array<string>;
|
|
785
1241
|
hooks?: Array<string>;
|
|
786
1242
|
};
|
|
787
|
-
idleCompaction?: boolean;
|
|
788
1243
|
outputStyle?: string;
|
|
789
1244
|
} | null;
|
|
790
1245
|
models?: {
|
|
@@ -792,6 +1247,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
792
1247
|
};
|
|
793
1248
|
avatar: string | null;
|
|
794
1249
|
creation_source: string | null;
|
|
1250
|
+
managed_by: string | null;
|
|
795
1251
|
identity_number: string | null;
|
|
796
1252
|
environment_id?: string | null;
|
|
797
1253
|
vault_ids?: Array<string>;
|
|
@@ -860,6 +1316,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
860
1316
|
history?: {
|
|
861
1317
|
enabled?: boolean;
|
|
862
1318
|
};
|
|
1319
|
+
uploads?: {
|
|
1320
|
+
enabled: boolean;
|
|
1321
|
+
max_file_bytes: number;
|
|
1322
|
+
max_files_per_session: number;
|
|
1323
|
+
};
|
|
1324
|
+
}>;
|
|
1325
|
+
retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
|
|
1326
|
+
allowed_origins: Array<string>;
|
|
1327
|
+
allow_localhost: boolean;
|
|
1328
|
+
uploads: {
|
|
1329
|
+
enabled: boolean;
|
|
1330
|
+
max_file_bytes: number;
|
|
1331
|
+
max_files_per_session: number;
|
|
1332
|
+
};
|
|
1333
|
+
share_links: {
|
|
1334
|
+
enabled: boolean;
|
|
1335
|
+
daily_session_cap: number | null;
|
|
1336
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1337
|
+
currency?: "USD" | "CNY" | null;
|
|
1338
|
+
};
|
|
863
1339
|
}>;
|
|
864
1340
|
unarchive: {
|
|
865
1341
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -913,6 +1389,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
913
1389
|
speed?: "standard" | "fast";
|
|
914
1390
|
settings?: {
|
|
915
1391
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1392
|
+
max_output_tokens?: number;
|
|
916
1393
|
};
|
|
917
1394
|
};
|
|
918
1395
|
multiagent?: null | {
|
|
@@ -1099,22 +1576,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
1099
1576
|
id: string;
|
|
1100
1577
|
} | null;
|
|
1101
1578
|
note: string | null;
|
|
1579
|
+
deployments_behind: number | null;
|
|
1102
1580
|
bindings: Array<{
|
|
1103
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1581
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1104
1582
|
id: string;
|
|
1105
1583
|
access: "read_only" | "read_write" | "invoke";
|
|
1584
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1106
1585
|
instructions?: string;
|
|
1107
1586
|
readonly verified?: boolean;
|
|
1108
1587
|
enabled?: boolean;
|
|
1109
1588
|
} | {
|
|
1110
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1589
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1111
1590
|
readonly verified?: boolean;
|
|
1112
1591
|
enabled?: boolean;
|
|
1113
1592
|
}>;
|
|
1114
|
-
kind: "general" | "
|
|
1593
|
+
kind: "general" | "service" | "assume";
|
|
1594
|
+
computers?: {
|
|
1595
|
+
default: string;
|
|
1596
|
+
allowed: Array<{
|
|
1597
|
+
template: string;
|
|
1598
|
+
name: string;
|
|
1599
|
+
}>;
|
|
1600
|
+
};
|
|
1115
1601
|
computer_id?: string;
|
|
1116
1602
|
subagent_model?: string | null;
|
|
1117
|
-
image_model?: string | null;
|
|
1118
1603
|
subagents?: Array<{
|
|
1119
1604
|
name: string;
|
|
1120
1605
|
description: string;
|
|
@@ -1205,6 +1690,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1205
1690
|
allowManagedHooksOnly?: boolean;
|
|
1206
1691
|
allowManagedMcpServersOnly?: boolean;
|
|
1207
1692
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1693
|
+
idleCompaction?: boolean;
|
|
1208
1694
|
autoMemoryEnabled?: boolean;
|
|
1209
1695
|
disabled?: {
|
|
1210
1696
|
subagents?: Array<string>;
|
|
@@ -1213,7 +1699,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1213
1699
|
mcpServers?: Array<string>;
|
|
1214
1700
|
hooks?: Array<string>;
|
|
1215
1701
|
};
|
|
1216
|
-
idleCompaction?: boolean;
|
|
1217
1702
|
outputStyle?: string;
|
|
1218
1703
|
} | null;
|
|
1219
1704
|
models?: {
|
|
@@ -1221,6 +1706,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1221
1706
|
};
|
|
1222
1707
|
avatar: string | null;
|
|
1223
1708
|
creation_source: string | null;
|
|
1709
|
+
managed_by: string | null;
|
|
1224
1710
|
identity_number: string | null;
|
|
1225
1711
|
environment_id?: string | null;
|
|
1226
1712
|
vault_ids?: Array<string>;
|
|
@@ -1247,6 +1733,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1247
1733
|
speed?: "standard" | "fast";
|
|
1248
1734
|
settings?: {
|
|
1249
1735
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1736
|
+
max_output_tokens?: number;
|
|
1250
1737
|
};
|
|
1251
1738
|
};
|
|
1252
1739
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1268,22 +1755,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
1268
1755
|
id: string;
|
|
1269
1756
|
} | null;
|
|
1270
1757
|
note: string | null;
|
|
1758
|
+
deployments_behind: number | null;
|
|
1271
1759
|
bindings: Array<{
|
|
1272
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1760
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1273
1761
|
id: string;
|
|
1274
1762
|
access: "read_only" | "read_write" | "invoke";
|
|
1763
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1275
1764
|
instructions?: string;
|
|
1276
1765
|
readonly verified?: boolean;
|
|
1277
1766
|
enabled?: boolean;
|
|
1278
1767
|
} | {
|
|
1279
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1768
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1280
1769
|
readonly verified?: boolean;
|
|
1281
1770
|
enabled?: boolean;
|
|
1282
1771
|
}>;
|
|
1283
|
-
kind: "general" | "
|
|
1772
|
+
kind: "general" | "service" | "assume";
|
|
1773
|
+
computers?: {
|
|
1774
|
+
default: string;
|
|
1775
|
+
allowed: Array<{
|
|
1776
|
+
template: string;
|
|
1777
|
+
name: string;
|
|
1778
|
+
}>;
|
|
1779
|
+
};
|
|
1284
1780
|
computer_id?: string;
|
|
1285
1781
|
subagent_model?: string | null;
|
|
1286
|
-
image_model?: string | null;
|
|
1287
1782
|
subagents?: Array<{
|
|
1288
1783
|
name: string;
|
|
1289
1784
|
description: string;
|
|
@@ -1374,6 +1869,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1374
1869
|
allowManagedHooksOnly?: boolean;
|
|
1375
1870
|
allowManagedMcpServersOnly?: boolean;
|
|
1376
1871
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1872
|
+
idleCompaction?: boolean;
|
|
1377
1873
|
autoMemoryEnabled?: boolean;
|
|
1378
1874
|
disabled?: {
|
|
1379
1875
|
subagents?: Array<string>;
|
|
@@ -1382,7 +1878,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1382
1878
|
mcpServers?: Array<string>;
|
|
1383
1879
|
hooks?: Array<string>;
|
|
1384
1880
|
};
|
|
1385
|
-
idleCompaction?: boolean;
|
|
1386
1881
|
outputStyle?: string;
|
|
1387
1882
|
} | null;
|
|
1388
1883
|
models?: {
|
|
@@ -1390,6 +1885,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1390
1885
|
};
|
|
1391
1886
|
avatar: string | null;
|
|
1392
1887
|
creation_source: string | null;
|
|
1888
|
+
managed_by: string | null;
|
|
1393
1889
|
identity_number: string | null;
|
|
1394
1890
|
environment_id?: string | null;
|
|
1395
1891
|
vault_ids?: Array<string>;
|
|
@@ -1401,28 +1897,246 @@ export declare function createAgent(transport: Transport): {
|
|
|
1401
1897
|
keep_coding_instructions?: boolean;
|
|
1402
1898
|
}> | null;
|
|
1403
1899
|
}>;
|
|
1900
|
+
updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
|
|
1901
|
+
allowed_origins: Array<string>;
|
|
1902
|
+
allow_localhost: boolean;
|
|
1903
|
+
uploads: {
|
|
1904
|
+
enabled: boolean;
|
|
1905
|
+
max_file_bytes: number;
|
|
1906
|
+
max_files_per_session: number;
|
|
1907
|
+
};
|
|
1908
|
+
share_links: {
|
|
1909
|
+
enabled: boolean;
|
|
1910
|
+
daily_session_cap: number | null;
|
|
1911
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1912
|
+
currency?: "USD" | "CNY" | null;
|
|
1913
|
+
};
|
|
1914
|
+
}>;
|
|
1404
1915
|
versions: {
|
|
1405
1916
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1406
1917
|
id: string;
|
|
1407
1918
|
archived_at: null | string;
|
|
1408
1919
|
created_at: string;
|
|
1409
1920
|
description: null | string;
|
|
1410
|
-
mcp_servers: Array<
|
|
1411
|
-
|
|
1921
|
+
mcp_servers: Array<{
|
|
1922
|
+
type: "url";
|
|
1923
|
+
name: string;
|
|
1924
|
+
url: string;
|
|
1925
|
+
headers?: {
|
|
1926
|
+
[key: string]: string;
|
|
1927
|
+
};
|
|
1928
|
+
timeout_ms?: number;
|
|
1929
|
+
} | {
|
|
1930
|
+
type: "sse";
|
|
1931
|
+
name: string;
|
|
1932
|
+
url: string;
|
|
1933
|
+
headers?: {
|
|
1934
|
+
[key: string]: string;
|
|
1935
|
+
};
|
|
1936
|
+
timeout_ms?: number;
|
|
1937
|
+
} | {
|
|
1938
|
+
type: "stdio";
|
|
1939
|
+
name: string;
|
|
1940
|
+
command: string;
|
|
1941
|
+
args?: Array<string>;
|
|
1942
|
+
env?: {
|
|
1943
|
+
[key: string]: string;
|
|
1944
|
+
};
|
|
1945
|
+
timeout_ms?: number;
|
|
1946
|
+
}>;
|
|
1947
|
+
metadata: {
|
|
1948
|
+
[key: string]: string;
|
|
1949
|
+
};
|
|
1412
1950
|
model?: {
|
|
1413
1951
|
id: string;
|
|
1414
|
-
effort?:
|
|
1952
|
+
effort?: {
|
|
1953
|
+
type: "low";
|
|
1954
|
+
} | {
|
|
1955
|
+
type: "medium";
|
|
1956
|
+
} | {
|
|
1957
|
+
type: "high";
|
|
1958
|
+
} | {
|
|
1959
|
+
type: "xhigh";
|
|
1960
|
+
} | {
|
|
1961
|
+
type: "max";
|
|
1962
|
+
};
|
|
1415
1963
|
inference_geo?: string;
|
|
1416
1964
|
speed?: "standard" | "fast";
|
|
1417
1965
|
settings?: {
|
|
1418
1966
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1967
|
+
max_output_tokens?: number;
|
|
1968
|
+
};
|
|
1969
|
+
};
|
|
1970
|
+
multiagent?: null | {
|
|
1971
|
+
agents: Array<{
|
|
1972
|
+
id: string;
|
|
1973
|
+
type: "agent";
|
|
1974
|
+
version: number;
|
|
1975
|
+
} | {
|
|
1976
|
+
model: string;
|
|
1977
|
+
type: "advisor";
|
|
1978
|
+
}>;
|
|
1979
|
+
type: "coordinator";
|
|
1980
|
+
};
|
|
1981
|
+
name: string;
|
|
1982
|
+
skills: Array<{
|
|
1983
|
+
skill_id: string;
|
|
1984
|
+
type: "anthropic";
|
|
1985
|
+
version: string;
|
|
1986
|
+
} | {
|
|
1987
|
+
skill_id: string;
|
|
1988
|
+
type: "custom";
|
|
1989
|
+
version: string;
|
|
1990
|
+
}>;
|
|
1991
|
+
system: null | string;
|
|
1992
|
+
tools: Array<{
|
|
1993
|
+
configs: Array<{
|
|
1994
|
+
enabled: boolean;
|
|
1995
|
+
name: "bash";
|
|
1996
|
+
permission_policy: {
|
|
1997
|
+
type: "always_allow";
|
|
1998
|
+
} | {
|
|
1999
|
+
type: "always_ask";
|
|
2000
|
+
} | {
|
|
2001
|
+
type: "auto";
|
|
2002
|
+
};
|
|
2003
|
+
type: "bash";
|
|
2004
|
+
} | {
|
|
2005
|
+
enabled: boolean;
|
|
2006
|
+
name: "edit";
|
|
2007
|
+
permission_policy: {
|
|
2008
|
+
type: "always_allow";
|
|
2009
|
+
} | {
|
|
2010
|
+
type: "always_ask";
|
|
2011
|
+
} | {
|
|
2012
|
+
type: "auto";
|
|
2013
|
+
};
|
|
2014
|
+
type: "edit";
|
|
2015
|
+
} | {
|
|
2016
|
+
enabled: boolean;
|
|
2017
|
+
name: "read";
|
|
2018
|
+
permission_policy: {
|
|
2019
|
+
type: "always_allow";
|
|
2020
|
+
} | {
|
|
2021
|
+
type: "always_ask";
|
|
2022
|
+
} | {
|
|
2023
|
+
type: "auto";
|
|
2024
|
+
};
|
|
2025
|
+
type: "read";
|
|
2026
|
+
} | {
|
|
2027
|
+
enabled: boolean;
|
|
2028
|
+
name: "write";
|
|
2029
|
+
permission_policy: {
|
|
2030
|
+
type: "always_allow";
|
|
2031
|
+
} | {
|
|
2032
|
+
type: "always_ask";
|
|
2033
|
+
} | {
|
|
2034
|
+
type: "auto";
|
|
2035
|
+
};
|
|
2036
|
+
type: "write";
|
|
2037
|
+
} | {
|
|
2038
|
+
enabled: boolean;
|
|
2039
|
+
name: "glob";
|
|
2040
|
+
permission_policy: {
|
|
2041
|
+
type: "always_allow";
|
|
2042
|
+
} | {
|
|
2043
|
+
type: "always_ask";
|
|
2044
|
+
} | {
|
|
2045
|
+
type: "auto";
|
|
2046
|
+
};
|
|
2047
|
+
type: "glob";
|
|
2048
|
+
} | {
|
|
2049
|
+
enabled: boolean;
|
|
2050
|
+
name: "grep";
|
|
2051
|
+
permission_policy: {
|
|
2052
|
+
type: "always_allow";
|
|
2053
|
+
} | {
|
|
2054
|
+
type: "always_ask";
|
|
2055
|
+
} | {
|
|
2056
|
+
type: "auto";
|
|
2057
|
+
};
|
|
2058
|
+
type: "grep";
|
|
2059
|
+
} | {
|
|
2060
|
+
enabled: boolean;
|
|
2061
|
+
name: "web_fetch";
|
|
2062
|
+
permission_policy: {
|
|
2063
|
+
type: "always_allow";
|
|
2064
|
+
} | {
|
|
2065
|
+
type: "always_ask";
|
|
2066
|
+
} | {
|
|
2067
|
+
type: "auto";
|
|
2068
|
+
};
|
|
2069
|
+
type: "web_fetch";
|
|
2070
|
+
allowed_domains?: Array<string>;
|
|
2071
|
+
blocked_domains?: Array<string>;
|
|
2072
|
+
max_content_tokens?: null | number;
|
|
2073
|
+
} | {
|
|
2074
|
+
enabled: boolean;
|
|
2075
|
+
name: "web_search";
|
|
2076
|
+
permission_policy: {
|
|
2077
|
+
type: "always_allow";
|
|
2078
|
+
} | {
|
|
2079
|
+
type: "always_ask";
|
|
2080
|
+
} | {
|
|
2081
|
+
type: "auto";
|
|
2082
|
+
};
|
|
2083
|
+
type: "web_search";
|
|
2084
|
+
allowed_domains?: Array<string>;
|
|
2085
|
+
blocked_domains?: Array<string>;
|
|
2086
|
+
user_location?: null | {
|
|
2087
|
+
type: "approximate";
|
|
2088
|
+
city?: null | string;
|
|
2089
|
+
country?: null | string;
|
|
2090
|
+
region?: null | string;
|
|
2091
|
+
timezone?: null | string;
|
|
2092
|
+
};
|
|
2093
|
+
} | {
|
|
2094
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
2095
|
+
enabled: boolean;
|
|
2096
|
+
permission_policy: {
|
|
2097
|
+
type: "always_allow" | "always_ask";
|
|
2098
|
+
};
|
|
2099
|
+
}>;
|
|
2100
|
+
default_config: {
|
|
2101
|
+
enabled: boolean;
|
|
2102
|
+
permission_policy: {
|
|
2103
|
+
type: "always_allow";
|
|
2104
|
+
} | {
|
|
2105
|
+
type: "always_ask";
|
|
2106
|
+
} | {
|
|
2107
|
+
type: "auto";
|
|
2108
|
+
};
|
|
1419
2109
|
};
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
2110
|
+
type: "agent_toolset_20260401";
|
|
2111
|
+
} | {
|
|
2112
|
+
type: "mcp_toolset";
|
|
2113
|
+
mcp_server_name: string;
|
|
2114
|
+
default_config?: {
|
|
2115
|
+
enabled?: boolean | null;
|
|
2116
|
+
permission_policy?: null | {
|
|
2117
|
+
type: "always_allow" | "always_ask";
|
|
2118
|
+
};
|
|
2119
|
+
} | null;
|
|
2120
|
+
configs?: Array<{
|
|
2121
|
+
name: string;
|
|
2122
|
+
enabled?: boolean | null;
|
|
2123
|
+
permission_policy?: null | {
|
|
2124
|
+
type: "always_allow" | "always_ask";
|
|
2125
|
+
};
|
|
2126
|
+
}> | null;
|
|
2127
|
+
} | {
|
|
2128
|
+
description: string;
|
|
2129
|
+
input_schema: {
|
|
2130
|
+
type: "object";
|
|
2131
|
+
properties?: null | {
|
|
2132
|
+
[key: string]: unknown;
|
|
2133
|
+
};
|
|
2134
|
+
required?: null | Array<string>;
|
|
2135
|
+
[key: string]: unknown;
|
|
2136
|
+
};
|
|
2137
|
+
name: string;
|
|
2138
|
+
type: "custom";
|
|
2139
|
+
}>;
|
|
1426
2140
|
type: "agent";
|
|
1427
2141
|
updated_at: string;
|
|
1428
2142
|
version: number;
|
|
@@ -1437,22 +2151,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
1437
2151
|
id: string;
|
|
1438
2152
|
} | null;
|
|
1439
2153
|
note: string | null;
|
|
2154
|
+
deployments_behind: number | null;
|
|
1440
2155
|
bindings: Array<{
|
|
1441
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2156
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1442
2157
|
id: string;
|
|
1443
2158
|
access: "read_only" | "read_write" | "invoke";
|
|
2159
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1444
2160
|
instructions?: string;
|
|
1445
2161
|
readonly verified?: boolean;
|
|
1446
2162
|
enabled?: boolean;
|
|
1447
2163
|
} | {
|
|
1448
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
2164
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1449
2165
|
readonly verified?: boolean;
|
|
1450
2166
|
enabled?: boolean;
|
|
1451
2167
|
}>;
|
|
1452
|
-
kind: "general" | "
|
|
2168
|
+
kind: "general" | "service" | "assume";
|
|
2169
|
+
computers?: {
|
|
2170
|
+
default: string;
|
|
2171
|
+
allowed: Array<{
|
|
2172
|
+
template: string;
|
|
2173
|
+
name: string;
|
|
2174
|
+
}>;
|
|
2175
|
+
};
|
|
1453
2176
|
computer_id?: string;
|
|
1454
2177
|
subagent_model?: string | null;
|
|
1455
|
-
image_model?: string | null;
|
|
1456
2178
|
subagents?: Array<{
|
|
1457
2179
|
name: string;
|
|
1458
2180
|
description: string;
|
|
@@ -1543,6 +2265,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1543
2265
|
allowManagedHooksOnly?: boolean;
|
|
1544
2266
|
allowManagedMcpServersOnly?: boolean;
|
|
1545
2267
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2268
|
+
idleCompaction?: boolean;
|
|
1546
2269
|
autoMemoryEnabled?: boolean;
|
|
1547
2270
|
disabled?: {
|
|
1548
2271
|
subagents?: Array<string>;
|
|
@@ -1551,7 +2274,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1551
2274
|
mcpServers?: Array<string>;
|
|
1552
2275
|
hooks?: Array<string>;
|
|
1553
2276
|
};
|
|
1554
|
-
idleCompaction?: boolean;
|
|
1555
2277
|
outputStyle?: string;
|
|
1556
2278
|
} | null;
|
|
1557
2279
|
models?: {
|
|
@@ -1559,6 +2281,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1559
2281
|
};
|
|
1560
2282
|
avatar: string | null;
|
|
1561
2283
|
creation_source: string | null;
|
|
2284
|
+
managed_by: string | null;
|
|
1562
2285
|
identity_number: string | null;
|
|
1563
2286
|
environment_id?: string | null;
|
|
1564
2287
|
vault_ids?: Array<string>;
|
|
@@ -1585,6 +2308,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1585
2308
|
speed?: "standard" | "fast";
|
|
1586
2309
|
settings?: {
|
|
1587
2310
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2311
|
+
max_output_tokens?: number;
|
|
1588
2312
|
};
|
|
1589
2313
|
};
|
|
1590
2314
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1607,21 +2331,28 @@ export declare function createAgent(transport: Transport): {
|
|
|
1607
2331
|
} | null;
|
|
1608
2332
|
note: string | null;
|
|
1609
2333
|
bindings: Array<{
|
|
1610
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2334
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1611
2335
|
id: string;
|
|
1612
2336
|
access: "read_only" | "read_write" | "invoke";
|
|
2337
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1613
2338
|
instructions?: string;
|
|
1614
2339
|
readonly verified?: boolean;
|
|
1615
2340
|
enabled?: boolean;
|
|
1616
2341
|
} | {
|
|
1617
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
2342
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1618
2343
|
readonly verified?: boolean;
|
|
1619
2344
|
enabled?: boolean;
|
|
1620
2345
|
}>;
|
|
1621
|
-
kind: "general" | "
|
|
2346
|
+
kind: "general" | "service" | "assume";
|
|
2347
|
+
computers?: {
|
|
2348
|
+
default: string;
|
|
2349
|
+
allowed: Array<{
|
|
2350
|
+
template: string;
|
|
2351
|
+
name: string;
|
|
2352
|
+
}>;
|
|
2353
|
+
};
|
|
1622
2354
|
computer_id?: string;
|
|
1623
2355
|
subagent_model?: string | null;
|
|
1624
|
-
image_model?: string | null;
|
|
1625
2356
|
subagents?: Array<{
|
|
1626
2357
|
name: string;
|
|
1627
2358
|
description: string;
|
|
@@ -1712,6 +2443,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1712
2443
|
allowManagedHooksOnly?: boolean;
|
|
1713
2444
|
allowManagedMcpServersOnly?: boolean;
|
|
1714
2445
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2446
|
+
idleCompaction?: boolean;
|
|
1715
2447
|
autoMemoryEnabled?: boolean;
|
|
1716
2448
|
disabled?: {
|
|
1717
2449
|
subagents?: Array<string>;
|
|
@@ -1720,7 +2452,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1720
2452
|
mcpServers?: Array<string>;
|
|
1721
2453
|
hooks?: Array<string>;
|
|
1722
2454
|
};
|
|
1723
|
-
idleCompaction?: boolean;
|
|
1724
2455
|
outputStyle?: string;
|
|
1725
2456
|
} | null;
|
|
1726
2457
|
models?: {
|
|
@@ -1728,6 +2459,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1728
2459
|
};
|
|
1729
2460
|
avatar: string | null;
|
|
1730
2461
|
creation_source: string | null;
|
|
2462
|
+
managed_by: string | null;
|
|
1731
2463
|
identity_number: string | null;
|
|
1732
2464
|
environment_id?: string | null;
|
|
1733
2465
|
vault_ids?: Array<string>;
|
|
@@ -1795,16 +2527,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1795
2527
|
files: {
|
|
1796
2528
|
convert: {
|
|
1797
2529
|
create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
sandbox_id: string | null;
|
|
1802
|
-
machine_state: "not_started" | "provisioned";
|
|
1803
|
-
environment_id: string | null;
|
|
1804
|
-
status: "active" | "archived";
|
|
1805
|
-
created_at: string;
|
|
1806
|
-
updated_at: string;
|
|
1807
|
-
archived_at: string | null;
|
|
2530
|
+
data: string;
|
|
2531
|
+
mime: "application/pdf";
|
|
2532
|
+
cached: boolean;
|
|
1808
2533
|
}>;
|
|
1809
2534
|
};
|
|
1810
2535
|
list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
|
|
@@ -1822,6 +2547,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
1822
2547
|
tier: "light" | "heavy";
|
|
1823
2548
|
}>;
|
|
1824
2549
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2550
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2551
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2552
|
+
version?: string;
|
|
2553
|
+
mime_type?: string;
|
|
2554
|
+
size?: number;
|
|
2555
|
+
file_id?: string;
|
|
2556
|
+
url?: string;
|
|
2557
|
+
expires_at?: string;
|
|
2558
|
+
cached: boolean;
|
|
2559
|
+
fallback?: "content";
|
|
2560
|
+
skipped?: boolean;
|
|
2561
|
+
}>;
|
|
2562
|
+
updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
|
|
2563
|
+
path: string;
|
|
2564
|
+
size: number;
|
|
2565
|
+
mtime: string | null;
|
|
2566
|
+
version: string;
|
|
2567
|
+
}>;
|
|
1825
2568
|
};
|
|
1826
2569
|
leases: {
|
|
1827
2570
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -1862,6 +2605,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1862
2605
|
created_at: string;
|
|
1863
2606
|
updated_at: string;
|
|
1864
2607
|
archived_at: string | null;
|
|
2608
|
+
machine: "light" | "full";
|
|
1865
2609
|
implementation: "virtual" | "sandbox";
|
|
1866
2610
|
storage_bytes: number;
|
|
1867
2611
|
file_count: number;
|
|
@@ -1894,6 +2638,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1894
2638
|
id: string;
|
|
1895
2639
|
type: "agent";
|
|
1896
2640
|
version: number;
|
|
2641
|
+
pinned_version?: number | null;
|
|
2642
|
+
active_version?: number | null;
|
|
1897
2643
|
} | {
|
|
1898
2644
|
id: string;
|
|
1899
2645
|
type: "agent_with_overrides";
|
|
@@ -1931,6 +2677,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1931
2677
|
id: string;
|
|
1932
2678
|
type: "agent";
|
|
1933
2679
|
version: number;
|
|
2680
|
+
pinned_version?: number | null;
|
|
2681
|
+
active_version?: number | null;
|
|
1934
2682
|
} | {
|
|
1935
2683
|
id: string;
|
|
1936
2684
|
type: "agent_with_overrides";
|
|
@@ -1969,6 +2717,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1969
2717
|
id: string;
|
|
1970
2718
|
type: "agent";
|
|
1971
2719
|
version: number;
|
|
2720
|
+
pinned_version?: number | null;
|
|
2721
|
+
active_version?: number | null;
|
|
1972
2722
|
} | {
|
|
1973
2723
|
id: string;
|
|
1974
2724
|
type: "agent_with_overrides";
|
|
@@ -2008,6 +2758,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2008
2758
|
id: string;
|
|
2009
2759
|
type: "agent";
|
|
2010
2760
|
version: number;
|
|
2761
|
+
pinned_version?: number | null;
|
|
2762
|
+
active_version?: number | null;
|
|
2011
2763
|
} | {
|
|
2012
2764
|
id: string;
|
|
2013
2765
|
type: "agent_with_overrides";
|
|
@@ -2045,6 +2797,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2045
2797
|
id: string;
|
|
2046
2798
|
type: "agent";
|
|
2047
2799
|
version: number;
|
|
2800
|
+
pinned_version?: number | null;
|
|
2801
|
+
active_version?: number | null;
|
|
2048
2802
|
} | {
|
|
2049
2803
|
id: string;
|
|
2050
2804
|
type: "agent_with_overrides";
|
|
@@ -2086,6 +2840,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2086
2840
|
id: string;
|
|
2087
2841
|
type: "agent";
|
|
2088
2842
|
version: number;
|
|
2843
|
+
pinned_version?: number | null;
|
|
2844
|
+
active_version?: number | null;
|
|
2089
2845
|
} | {
|
|
2090
2846
|
id: string;
|
|
2091
2847
|
type: "agent_with_overrides";
|
|
@@ -2124,6 +2880,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2124
2880
|
id: string;
|
|
2125
2881
|
type: "agent";
|
|
2126
2882
|
version: number;
|
|
2883
|
+
pinned_version?: number | null;
|
|
2884
|
+
active_version?: number | null;
|
|
2127
2885
|
} | {
|
|
2128
2886
|
id: string;
|
|
2129
2887
|
type: "agent_with_overrides";
|
|
@@ -2166,7 +2924,569 @@ export declare function createAgent(transport: Transport): {
|
|
|
2166
2924
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
|
|
2167
2925
|
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2168
2926
|
};
|
|
2927
|
+
loginIntents: {
|
|
2928
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateAgentLoginIntentData> | undefined) => Promise<{
|
|
2929
|
+
data: Array<{
|
|
2930
|
+
type: string;
|
|
2931
|
+
plugin: {
|
|
2932
|
+
name: string;
|
|
2933
|
+
version: string;
|
|
2934
|
+
};
|
|
2935
|
+
description: string;
|
|
2936
|
+
environment: string;
|
|
2937
|
+
tools: Array<{
|
|
2938
|
+
name: string;
|
|
2939
|
+
description: string;
|
|
2940
|
+
input_schema: {
|
|
2941
|
+
[key: string]: unknown;
|
|
2942
|
+
};
|
|
2943
|
+
read_only: boolean;
|
|
2944
|
+
default_permission_policy: "always_allow" | "always_ask";
|
|
2945
|
+
mod: string;
|
|
2946
|
+
configurable: boolean;
|
|
2947
|
+
}>;
|
|
2948
|
+
}>;
|
|
2949
|
+
next_page: null;
|
|
2950
|
+
}>;
|
|
2951
|
+
};
|
|
2169
2952
|
sessions: {
|
|
2953
|
+
agentVersion: {
|
|
2954
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
|
|
2955
|
+
id: string;
|
|
2956
|
+
agent: {
|
|
2957
|
+
id: string;
|
|
2958
|
+
description: null | string;
|
|
2959
|
+
mcp_servers: Array<{
|
|
2960
|
+
type: "url";
|
|
2961
|
+
name: string;
|
|
2962
|
+
url: string;
|
|
2963
|
+
headers?: {
|
|
2964
|
+
[key: string]: string;
|
|
2965
|
+
};
|
|
2966
|
+
timeout_ms?: number;
|
|
2967
|
+
} | {
|
|
2968
|
+
type: "sse";
|
|
2969
|
+
name: string;
|
|
2970
|
+
url: string;
|
|
2971
|
+
headers?: {
|
|
2972
|
+
[key: string]: string;
|
|
2973
|
+
};
|
|
2974
|
+
timeout_ms?: number;
|
|
2975
|
+
} | {
|
|
2976
|
+
type: "stdio";
|
|
2977
|
+
name: string;
|
|
2978
|
+
command: string;
|
|
2979
|
+
args?: Array<string>;
|
|
2980
|
+
env?: {
|
|
2981
|
+
[key: string]: string;
|
|
2982
|
+
};
|
|
2983
|
+
timeout_ms?: number;
|
|
2984
|
+
}>;
|
|
2985
|
+
model: {
|
|
2986
|
+
id: string;
|
|
2987
|
+
effort?: {
|
|
2988
|
+
type: "low";
|
|
2989
|
+
} | {
|
|
2990
|
+
type: "medium";
|
|
2991
|
+
} | {
|
|
2992
|
+
type: "high";
|
|
2993
|
+
} | {
|
|
2994
|
+
type: "xhigh";
|
|
2995
|
+
} | {
|
|
2996
|
+
type: "max";
|
|
2997
|
+
};
|
|
2998
|
+
inference_geo?: string;
|
|
2999
|
+
speed?: "standard" | "fast";
|
|
3000
|
+
settings?: {
|
|
3001
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3002
|
+
max_output_tokens?: number;
|
|
3003
|
+
};
|
|
3004
|
+
};
|
|
3005
|
+
multiagent: null | {
|
|
3006
|
+
agents: Array<{
|
|
3007
|
+
model: string;
|
|
3008
|
+
type: "advisor";
|
|
3009
|
+
} | {
|
|
3010
|
+
id: string;
|
|
3011
|
+
description: null | string;
|
|
3012
|
+
mcp_servers: Array<{
|
|
3013
|
+
type: "url";
|
|
3014
|
+
name: string;
|
|
3015
|
+
url: string;
|
|
3016
|
+
headers?: {
|
|
3017
|
+
[key: string]: string;
|
|
3018
|
+
};
|
|
3019
|
+
timeout_ms?: number;
|
|
3020
|
+
} | {
|
|
3021
|
+
type: "sse";
|
|
3022
|
+
name: string;
|
|
3023
|
+
url: string;
|
|
3024
|
+
headers?: {
|
|
3025
|
+
[key: string]: string;
|
|
3026
|
+
};
|
|
3027
|
+
timeout_ms?: number;
|
|
3028
|
+
} | {
|
|
3029
|
+
type: "stdio";
|
|
3030
|
+
name: string;
|
|
3031
|
+
command: string;
|
|
3032
|
+
args?: Array<string>;
|
|
3033
|
+
env?: {
|
|
3034
|
+
[key: string]: string;
|
|
3035
|
+
};
|
|
3036
|
+
timeout_ms?: number;
|
|
3037
|
+
}>;
|
|
3038
|
+
model: {
|
|
3039
|
+
id: string;
|
|
3040
|
+
effort?: {
|
|
3041
|
+
type: "low";
|
|
3042
|
+
} | {
|
|
3043
|
+
type: "medium";
|
|
3044
|
+
} | {
|
|
3045
|
+
type: "high";
|
|
3046
|
+
} | {
|
|
3047
|
+
type: "xhigh";
|
|
3048
|
+
} | {
|
|
3049
|
+
type: "max";
|
|
3050
|
+
};
|
|
3051
|
+
inference_geo?: string;
|
|
3052
|
+
speed?: "standard" | "fast";
|
|
3053
|
+
};
|
|
3054
|
+
name: string;
|
|
3055
|
+
skills: Array<{
|
|
3056
|
+
skill_id: string;
|
|
3057
|
+
type: "anthropic";
|
|
3058
|
+
version: string;
|
|
3059
|
+
} | {
|
|
3060
|
+
skill_id: string;
|
|
3061
|
+
type: "custom";
|
|
3062
|
+
version: string;
|
|
3063
|
+
}>;
|
|
3064
|
+
system: null | string;
|
|
3065
|
+
tools: Array<{
|
|
3066
|
+
configs: Array<{
|
|
3067
|
+
enabled: boolean;
|
|
3068
|
+
name: "bash";
|
|
3069
|
+
permission_policy: {
|
|
3070
|
+
type: "always_allow";
|
|
3071
|
+
} | {
|
|
3072
|
+
type: "always_ask";
|
|
3073
|
+
} | {
|
|
3074
|
+
type: "auto";
|
|
3075
|
+
};
|
|
3076
|
+
type: "bash";
|
|
3077
|
+
} | {
|
|
3078
|
+
enabled: boolean;
|
|
3079
|
+
name: "edit";
|
|
3080
|
+
permission_policy: {
|
|
3081
|
+
type: "always_allow";
|
|
3082
|
+
} | {
|
|
3083
|
+
type: "always_ask";
|
|
3084
|
+
} | {
|
|
3085
|
+
type: "auto";
|
|
3086
|
+
};
|
|
3087
|
+
type: "edit";
|
|
3088
|
+
} | {
|
|
3089
|
+
enabled: boolean;
|
|
3090
|
+
name: "read";
|
|
3091
|
+
permission_policy: {
|
|
3092
|
+
type: "always_allow";
|
|
3093
|
+
} | {
|
|
3094
|
+
type: "always_ask";
|
|
3095
|
+
} | {
|
|
3096
|
+
type: "auto";
|
|
3097
|
+
};
|
|
3098
|
+
type: "read";
|
|
3099
|
+
} | {
|
|
3100
|
+
enabled: boolean;
|
|
3101
|
+
name: "write";
|
|
3102
|
+
permission_policy: {
|
|
3103
|
+
type: "always_allow";
|
|
3104
|
+
} | {
|
|
3105
|
+
type: "always_ask";
|
|
3106
|
+
} | {
|
|
3107
|
+
type: "auto";
|
|
3108
|
+
};
|
|
3109
|
+
type: "write";
|
|
3110
|
+
} | {
|
|
3111
|
+
enabled: boolean;
|
|
3112
|
+
name: "glob";
|
|
3113
|
+
permission_policy: {
|
|
3114
|
+
type: "always_allow";
|
|
3115
|
+
} | {
|
|
3116
|
+
type: "always_ask";
|
|
3117
|
+
} | {
|
|
3118
|
+
type: "auto";
|
|
3119
|
+
};
|
|
3120
|
+
type: "glob";
|
|
3121
|
+
} | {
|
|
3122
|
+
enabled: boolean;
|
|
3123
|
+
name: "grep";
|
|
3124
|
+
permission_policy: {
|
|
3125
|
+
type: "always_allow";
|
|
3126
|
+
} | {
|
|
3127
|
+
type: "always_ask";
|
|
3128
|
+
} | {
|
|
3129
|
+
type: "auto";
|
|
3130
|
+
};
|
|
3131
|
+
type: "grep";
|
|
3132
|
+
} | {
|
|
3133
|
+
enabled: boolean;
|
|
3134
|
+
name: "web_fetch";
|
|
3135
|
+
permission_policy: {
|
|
3136
|
+
type: "always_allow";
|
|
3137
|
+
} | {
|
|
3138
|
+
type: "always_ask";
|
|
3139
|
+
} | {
|
|
3140
|
+
type: "auto";
|
|
3141
|
+
};
|
|
3142
|
+
type: "web_fetch";
|
|
3143
|
+
allowed_domains?: Array<string>;
|
|
3144
|
+
blocked_domains?: Array<string>;
|
|
3145
|
+
max_content_tokens?: null | number;
|
|
3146
|
+
} | {
|
|
3147
|
+
enabled: boolean;
|
|
3148
|
+
name: "web_search";
|
|
3149
|
+
permission_policy: {
|
|
3150
|
+
type: "always_allow";
|
|
3151
|
+
} | {
|
|
3152
|
+
type: "always_ask";
|
|
3153
|
+
} | {
|
|
3154
|
+
type: "auto";
|
|
3155
|
+
};
|
|
3156
|
+
type: "web_search";
|
|
3157
|
+
allowed_domains?: Array<string>;
|
|
3158
|
+
blocked_domains?: Array<string>;
|
|
3159
|
+
user_location?: null | {
|
|
3160
|
+
type: "approximate";
|
|
3161
|
+
city?: null | string;
|
|
3162
|
+
country?: null | string;
|
|
3163
|
+
region?: null | string;
|
|
3164
|
+
timezone?: null | string;
|
|
3165
|
+
};
|
|
3166
|
+
} | {
|
|
3167
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3168
|
+
enabled: boolean;
|
|
3169
|
+
permission_policy: {
|
|
3170
|
+
type: "always_allow" | "always_ask";
|
|
3171
|
+
};
|
|
3172
|
+
}>;
|
|
3173
|
+
default_config: {
|
|
3174
|
+
enabled: boolean;
|
|
3175
|
+
permission_policy: {
|
|
3176
|
+
type: "always_allow";
|
|
3177
|
+
} | {
|
|
3178
|
+
type: "always_ask";
|
|
3179
|
+
} | {
|
|
3180
|
+
type: "auto";
|
|
3181
|
+
};
|
|
3182
|
+
};
|
|
3183
|
+
type: "agent_toolset_20260401";
|
|
3184
|
+
} | {
|
|
3185
|
+
type: "mcp_toolset";
|
|
3186
|
+
mcp_server_name: string;
|
|
3187
|
+
default_config?: {
|
|
3188
|
+
enabled?: boolean | null;
|
|
3189
|
+
permission_policy?: null | {
|
|
3190
|
+
type: "always_allow" | "always_ask";
|
|
3191
|
+
};
|
|
3192
|
+
} | null;
|
|
3193
|
+
configs?: Array<{
|
|
3194
|
+
name: string;
|
|
3195
|
+
enabled?: boolean | null;
|
|
3196
|
+
permission_policy?: null | {
|
|
3197
|
+
type: "always_allow" | "always_ask";
|
|
3198
|
+
};
|
|
3199
|
+
}> | null;
|
|
3200
|
+
} | {
|
|
3201
|
+
description: string;
|
|
3202
|
+
input_schema: {
|
|
3203
|
+
type: "object";
|
|
3204
|
+
properties?: null | {
|
|
3205
|
+
[key: string]: unknown;
|
|
3206
|
+
};
|
|
3207
|
+
required?: null | Array<string>;
|
|
3208
|
+
[key: string]: unknown;
|
|
3209
|
+
};
|
|
3210
|
+
name: string;
|
|
3211
|
+
type: "custom";
|
|
3212
|
+
}>;
|
|
3213
|
+
type: "agent";
|
|
3214
|
+
version: number;
|
|
3215
|
+
}>;
|
|
3216
|
+
type: "coordinator";
|
|
3217
|
+
};
|
|
3218
|
+
name: string;
|
|
3219
|
+
skills: Array<{
|
|
3220
|
+
skill_id: string;
|
|
3221
|
+
type: "anthropic";
|
|
3222
|
+
version: string;
|
|
3223
|
+
} | {
|
|
3224
|
+
skill_id: string;
|
|
3225
|
+
type: "custom";
|
|
3226
|
+
version: string;
|
|
3227
|
+
}>;
|
|
3228
|
+
system: null | string;
|
|
3229
|
+
tools: Array<{
|
|
3230
|
+
configs: Array<{
|
|
3231
|
+
enabled: boolean;
|
|
3232
|
+
name: "bash";
|
|
3233
|
+
permission_policy: {
|
|
3234
|
+
type: "always_allow";
|
|
3235
|
+
} | {
|
|
3236
|
+
type: "always_ask";
|
|
3237
|
+
} | {
|
|
3238
|
+
type: "auto";
|
|
3239
|
+
};
|
|
3240
|
+
type: "bash";
|
|
3241
|
+
} | {
|
|
3242
|
+
enabled: boolean;
|
|
3243
|
+
name: "edit";
|
|
3244
|
+
permission_policy: {
|
|
3245
|
+
type: "always_allow";
|
|
3246
|
+
} | {
|
|
3247
|
+
type: "always_ask";
|
|
3248
|
+
} | {
|
|
3249
|
+
type: "auto";
|
|
3250
|
+
};
|
|
3251
|
+
type: "edit";
|
|
3252
|
+
} | {
|
|
3253
|
+
enabled: boolean;
|
|
3254
|
+
name: "read";
|
|
3255
|
+
permission_policy: {
|
|
3256
|
+
type: "always_allow";
|
|
3257
|
+
} | {
|
|
3258
|
+
type: "always_ask";
|
|
3259
|
+
} | {
|
|
3260
|
+
type: "auto";
|
|
3261
|
+
};
|
|
3262
|
+
type: "read";
|
|
3263
|
+
} | {
|
|
3264
|
+
enabled: boolean;
|
|
3265
|
+
name: "write";
|
|
3266
|
+
permission_policy: {
|
|
3267
|
+
type: "always_allow";
|
|
3268
|
+
} | {
|
|
3269
|
+
type: "always_ask";
|
|
3270
|
+
} | {
|
|
3271
|
+
type: "auto";
|
|
3272
|
+
};
|
|
3273
|
+
type: "write";
|
|
3274
|
+
} | {
|
|
3275
|
+
enabled: boolean;
|
|
3276
|
+
name: "glob";
|
|
3277
|
+
permission_policy: {
|
|
3278
|
+
type: "always_allow";
|
|
3279
|
+
} | {
|
|
3280
|
+
type: "always_ask";
|
|
3281
|
+
} | {
|
|
3282
|
+
type: "auto";
|
|
3283
|
+
};
|
|
3284
|
+
type: "glob";
|
|
3285
|
+
} | {
|
|
3286
|
+
enabled: boolean;
|
|
3287
|
+
name: "grep";
|
|
3288
|
+
permission_policy: {
|
|
3289
|
+
type: "always_allow";
|
|
3290
|
+
} | {
|
|
3291
|
+
type: "always_ask";
|
|
3292
|
+
} | {
|
|
3293
|
+
type: "auto";
|
|
3294
|
+
};
|
|
3295
|
+
type: "grep";
|
|
3296
|
+
} | {
|
|
3297
|
+
enabled: boolean;
|
|
3298
|
+
name: "web_fetch";
|
|
3299
|
+
permission_policy: {
|
|
3300
|
+
type: "always_allow";
|
|
3301
|
+
} | {
|
|
3302
|
+
type: "always_ask";
|
|
3303
|
+
} | {
|
|
3304
|
+
type: "auto";
|
|
3305
|
+
};
|
|
3306
|
+
type: "web_fetch";
|
|
3307
|
+
allowed_domains?: Array<string>;
|
|
3308
|
+
blocked_domains?: Array<string>;
|
|
3309
|
+
max_content_tokens?: null | number;
|
|
3310
|
+
} | {
|
|
3311
|
+
enabled: boolean;
|
|
3312
|
+
name: "web_search";
|
|
3313
|
+
permission_policy: {
|
|
3314
|
+
type: "always_allow";
|
|
3315
|
+
} | {
|
|
3316
|
+
type: "always_ask";
|
|
3317
|
+
} | {
|
|
3318
|
+
type: "auto";
|
|
3319
|
+
};
|
|
3320
|
+
type: "web_search";
|
|
3321
|
+
allowed_domains?: Array<string>;
|
|
3322
|
+
blocked_domains?: Array<string>;
|
|
3323
|
+
user_location?: null | {
|
|
3324
|
+
type: "approximate";
|
|
3325
|
+
city?: null | string;
|
|
3326
|
+
country?: null | string;
|
|
3327
|
+
region?: null | string;
|
|
3328
|
+
timezone?: null | string;
|
|
3329
|
+
};
|
|
3330
|
+
} | {
|
|
3331
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3332
|
+
enabled: boolean;
|
|
3333
|
+
permission_policy: {
|
|
3334
|
+
type: "always_allow" | "always_ask";
|
|
3335
|
+
};
|
|
3336
|
+
}>;
|
|
3337
|
+
default_config: {
|
|
3338
|
+
enabled: boolean;
|
|
3339
|
+
permission_policy: {
|
|
3340
|
+
type: "always_allow";
|
|
3341
|
+
} | {
|
|
3342
|
+
type: "always_ask";
|
|
3343
|
+
} | {
|
|
3344
|
+
type: "auto";
|
|
3345
|
+
};
|
|
3346
|
+
};
|
|
3347
|
+
type: "agent_toolset_20260401";
|
|
3348
|
+
} | {
|
|
3349
|
+
type: "mcp_toolset";
|
|
3350
|
+
mcp_server_name: string;
|
|
3351
|
+
default_config?: {
|
|
3352
|
+
enabled?: boolean | null;
|
|
3353
|
+
permission_policy?: null | {
|
|
3354
|
+
type: "always_allow" | "always_ask";
|
|
3355
|
+
};
|
|
3356
|
+
} | null;
|
|
3357
|
+
configs?: Array<{
|
|
3358
|
+
name: string;
|
|
3359
|
+
enabled?: boolean | null;
|
|
3360
|
+
permission_policy?: null | {
|
|
3361
|
+
type: "always_allow" | "always_ask";
|
|
3362
|
+
};
|
|
3363
|
+
}> | null;
|
|
3364
|
+
} | {
|
|
3365
|
+
description: string;
|
|
3366
|
+
input_schema: {
|
|
3367
|
+
type: "object";
|
|
3368
|
+
properties?: null | {
|
|
3369
|
+
[key: string]: unknown;
|
|
3370
|
+
};
|
|
3371
|
+
required?: null | Array<string>;
|
|
3372
|
+
[key: string]: unknown;
|
|
3373
|
+
};
|
|
3374
|
+
name: string;
|
|
3375
|
+
type: "custom";
|
|
3376
|
+
}>;
|
|
3377
|
+
type: "agent";
|
|
3378
|
+
version: number;
|
|
3379
|
+
};
|
|
3380
|
+
archived_at: null | string;
|
|
3381
|
+
budget: null | {
|
|
3382
|
+
max_list_cost: {
|
|
3383
|
+
amount: string;
|
|
3384
|
+
currency: "USD";
|
|
3385
|
+
};
|
|
3386
|
+
type: "limit";
|
|
3387
|
+
};
|
|
3388
|
+
created_at: string;
|
|
3389
|
+
environment_id?: string;
|
|
3390
|
+
metadata: {
|
|
3391
|
+
[key: string]: string;
|
|
3392
|
+
};
|
|
3393
|
+
outcome_evaluations: Array<{
|
|
3394
|
+
completed_at: null | string;
|
|
3395
|
+
description: string;
|
|
3396
|
+
explanation: null | string;
|
|
3397
|
+
iteration: number;
|
|
3398
|
+
outcome_id: string;
|
|
3399
|
+
result: string;
|
|
3400
|
+
type: "outcome_evaluation";
|
|
3401
|
+
}>;
|
|
3402
|
+
resources: Array<{
|
|
3403
|
+
id: string;
|
|
3404
|
+
created_at: string;
|
|
3405
|
+
mount_path: string;
|
|
3406
|
+
type: "github_repository";
|
|
3407
|
+
updated_at: string;
|
|
3408
|
+
url: string;
|
|
3409
|
+
checkout?: null | {
|
|
3410
|
+
name: string;
|
|
3411
|
+
type: "branch";
|
|
3412
|
+
} | {
|
|
3413
|
+
sha: string;
|
|
3414
|
+
type: "commit";
|
|
3415
|
+
};
|
|
3416
|
+
} | {
|
|
3417
|
+
id: string;
|
|
3418
|
+
created_at: string;
|
|
3419
|
+
file_id: string;
|
|
3420
|
+
mount_path: string;
|
|
3421
|
+
type: "file";
|
|
3422
|
+
updated_at: string;
|
|
3423
|
+
} | {
|
|
3424
|
+
memory_store_id: string;
|
|
3425
|
+
type: "memory_store";
|
|
3426
|
+
access?: null | "read_write" | "read_only";
|
|
3427
|
+
description?: string;
|
|
3428
|
+
instructions?: null | string;
|
|
3429
|
+
mount_path?: null | string;
|
|
3430
|
+
name?: null | string;
|
|
3431
|
+
}>;
|
|
3432
|
+
stats: {
|
|
3433
|
+
active_seconds?: number;
|
|
3434
|
+
duration_seconds?: number;
|
|
3435
|
+
};
|
|
3436
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3437
|
+
title: null | string;
|
|
3438
|
+
type: "session";
|
|
3439
|
+
updated_at: string;
|
|
3440
|
+
usage: {
|
|
3441
|
+
active_seconds?: number;
|
|
3442
|
+
cache_creation?: {
|
|
3443
|
+
ephemeral_1h_input_tokens?: number;
|
|
3444
|
+
ephemeral_5m_input_tokens?: number;
|
|
3445
|
+
};
|
|
3446
|
+
cache_read_input_tokens?: number;
|
|
3447
|
+
input_tokens?: number;
|
|
3448
|
+
list_cost?: null | {
|
|
3449
|
+
amount: string;
|
|
3450
|
+
currency: "USD";
|
|
3451
|
+
};
|
|
3452
|
+
output_tokens?: number;
|
|
3453
|
+
server_tool_use?: null | {
|
|
3454
|
+
web_fetch_requests?: number;
|
|
3455
|
+
web_search_requests?: number;
|
|
3456
|
+
};
|
|
3457
|
+
cost_by_product?: {
|
|
3458
|
+
[key: string]: string;
|
|
3459
|
+
};
|
|
3460
|
+
subagent_cost_micro_usd?: number;
|
|
3461
|
+
};
|
|
3462
|
+
vault_ids: Array<string>;
|
|
3463
|
+
deployment_id?: null | string;
|
|
3464
|
+
cwd: string;
|
|
3465
|
+
workspace?: {
|
|
3466
|
+
kind: "shared" | "isolated";
|
|
3467
|
+
path?: string;
|
|
3468
|
+
branch?: string;
|
|
3469
|
+
};
|
|
3470
|
+
computer_id?: string;
|
|
3471
|
+
model?: {
|
|
3472
|
+
id: string;
|
|
3473
|
+
thinking: {
|
|
3474
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
3475
|
+
can_disable: boolean;
|
|
3476
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
3477
|
+
} | null;
|
|
3478
|
+
};
|
|
3479
|
+
thinking?: {
|
|
3480
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3481
|
+
} | null;
|
|
3482
|
+
forked_from?: {
|
|
3483
|
+
session_id: string;
|
|
3484
|
+
message_id: string;
|
|
3485
|
+
} | null;
|
|
3486
|
+
readonly external_user_id: string | null;
|
|
3487
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3488
|
+
}>;
|
|
3489
|
+
};
|
|
2170
3490
|
archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
|
|
2171
3491
|
id: string;
|
|
2172
3492
|
agent: {
|
|
@@ -2180,6 +3500,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2180
3500
|
speed?: "standard" | "fast";
|
|
2181
3501
|
settings?: {
|
|
2182
3502
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3503
|
+
max_output_tokens?: number;
|
|
2183
3504
|
};
|
|
2184
3505
|
};
|
|
2185
3506
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2206,6 +3527,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2206
3527
|
vault_ids: Array<string>;
|
|
2207
3528
|
deployment_id?: null | string;
|
|
2208
3529
|
cwd: string;
|
|
3530
|
+
workspace?: {
|
|
3531
|
+
kind: "shared" | "isolated";
|
|
3532
|
+
path?: string;
|
|
3533
|
+
branch?: string;
|
|
3534
|
+
};
|
|
2209
3535
|
computer_id?: string;
|
|
2210
3536
|
model?: {
|
|
2211
3537
|
id: string;
|
|
@@ -2225,6 +3551,40 @@ export declare function createAgent(transport: Transport): {
|
|
|
2225
3551
|
readonly external_user_id: string | null;
|
|
2226
3552
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2227
3553
|
}>;
|
|
3554
|
+
artifacts: {
|
|
3555
|
+
contentUrl: {
|
|
3556
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
|
|
3557
|
+
url: string;
|
|
3558
|
+
expire_time: string;
|
|
3559
|
+
}>;
|
|
3560
|
+
};
|
|
3561
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
|
|
3562
|
+
data: Array<{
|
|
3563
|
+
object: "artifact";
|
|
3564
|
+
id: string;
|
|
3565
|
+
session_id: string;
|
|
3566
|
+
run_id: string | null;
|
|
3567
|
+
name: string;
|
|
3568
|
+
version: number;
|
|
3569
|
+
parts: Array<{
|
|
3570
|
+
kind: "file";
|
|
3571
|
+
file_id: string;
|
|
3572
|
+
filename: string;
|
|
3573
|
+
mime_type: string;
|
|
3574
|
+
bytes: number;
|
|
3575
|
+
} | {
|
|
3576
|
+
kind: "object";
|
|
3577
|
+
object_type: "canvas" | "media_asset";
|
|
3578
|
+
object_id: string;
|
|
3579
|
+
href: string;
|
|
3580
|
+
title: string | null;
|
|
3581
|
+
}>;
|
|
3582
|
+
source_hrefs: Array<string>;
|
|
3583
|
+
create_time: string;
|
|
3584
|
+
update_time: string;
|
|
3585
|
+
}>;
|
|
3586
|
+
}>;
|
|
3587
|
+
};
|
|
2228
3588
|
backgroundTasks: {
|
|
2229
3589
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
|
|
2230
3590
|
data: Array<{
|
|
@@ -2307,6 +3667,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2307
3667
|
speed?: "standard" | "fast";
|
|
2308
3668
|
settings?: {
|
|
2309
3669
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3670
|
+
max_output_tokens?: number;
|
|
2310
3671
|
};
|
|
2311
3672
|
};
|
|
2312
3673
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2333,6 +3694,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2333
3694
|
vault_ids: Array<string>;
|
|
2334
3695
|
deployment_id?: null | string;
|
|
2335
3696
|
cwd: string;
|
|
3697
|
+
workspace?: {
|
|
3698
|
+
kind: "shared" | "isolated";
|
|
3699
|
+
path?: string;
|
|
3700
|
+
branch?: string;
|
|
3701
|
+
};
|
|
2336
3702
|
computer_id?: string;
|
|
2337
3703
|
model?: {
|
|
2338
3704
|
id: string;
|
|
@@ -2353,6 +3719,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2353
3719
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2354
3720
|
}>;
|
|
2355
3721
|
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
3722
|
+
dictations: {
|
|
3723
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
|
|
3724
|
+
id: string;
|
|
3725
|
+
push_url: string;
|
|
3726
|
+
expires_at: string;
|
|
3727
|
+
}>;
|
|
3728
|
+
};
|
|
2356
3729
|
events: {
|
|
2357
3730
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
2358
3731
|
data: Array<{
|
|
@@ -2393,7 +3766,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2393
3766
|
run_id: string | null;
|
|
2394
3767
|
message_id?: string;
|
|
2395
3768
|
} | {
|
|
2396
|
-
full_access_available?: boolean;
|
|
2397
3769
|
id: string;
|
|
2398
3770
|
input: Types.AgentManaged197;
|
|
2399
3771
|
mcp_server_name: string;
|
|
@@ -2403,6 +3775,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2403
3775
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2404
3776
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2405
3777
|
session_thread_id?: null | string;
|
|
3778
|
+
permission_suggestions?: Array<{
|
|
3779
|
+
type: "add_rules";
|
|
3780
|
+
behavior: "allow";
|
|
3781
|
+
destination: "agent" | "session";
|
|
3782
|
+
rules: Array<{
|
|
3783
|
+
tool_name: string;
|
|
3784
|
+
rule_content: string;
|
|
3785
|
+
}>;
|
|
3786
|
+
}>;
|
|
3787
|
+
full_access_available?: boolean;
|
|
3788
|
+
user_once?: true;
|
|
3789
|
+
guarded_rule?: string;
|
|
2406
3790
|
run_id: string | null;
|
|
2407
3791
|
_meta?: {
|
|
2408
3792
|
ui?: {
|
|
@@ -2416,17 +3800,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2416
3800
|
};
|
|
2417
3801
|
source?: "app" | "codemode";
|
|
2418
3802
|
parent_tool_use_id?: string;
|
|
2419
|
-
user_once?: true;
|
|
2420
|
-
guarded_rule?: string;
|
|
2421
|
-
permission_suggestions?: Array<{
|
|
2422
|
-
type: "add_rules";
|
|
2423
|
-
behavior: "allow";
|
|
2424
|
-
destination: "agent" | "session";
|
|
2425
|
-
rules: Array<{
|
|
2426
|
-
tool_name: string;
|
|
2427
|
-
rule_content: string;
|
|
2428
|
-
}>;
|
|
2429
|
-
}>;
|
|
2430
3803
|
title?: string;
|
|
2431
3804
|
input_titles?: {
|
|
2432
3805
|
[key: string]: string;
|
|
@@ -2445,7 +3818,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2445
3818
|
};
|
|
2446
3819
|
source?: "app" | "codemode";
|
|
2447
3820
|
} | {
|
|
2448
|
-
full_access_available?: boolean;
|
|
2449
3821
|
id: string;
|
|
2450
3822
|
input: Types.AgentManaged206;
|
|
2451
3823
|
name: string;
|
|
@@ -2454,9 +3826,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2454
3826
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2455
3827
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2456
3828
|
session_thread_id?: null | string;
|
|
2457
|
-
run_id: string | null;
|
|
2458
|
-
user_once?: true;
|
|
2459
|
-
guarded_rule?: string;
|
|
2460
3829
|
permission_suggestions?: Array<{
|
|
2461
3830
|
type: "add_rules";
|
|
2462
3831
|
behavior: "allow";
|
|
@@ -2466,6 +3835,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2466
3835
|
rule_content: string;
|
|
2467
3836
|
}>;
|
|
2468
3837
|
}>;
|
|
3838
|
+
full_access_available?: boolean;
|
|
3839
|
+
user_once?: true;
|
|
3840
|
+
guarded_rule?: string;
|
|
3841
|
+
run_id: string | null;
|
|
2469
3842
|
} | {
|
|
2470
3843
|
id: string;
|
|
2471
3844
|
processed_at: string;
|
|
@@ -2486,9 +3859,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2486
3859
|
type: "session.status_idle";
|
|
2487
3860
|
run_id: string | null;
|
|
2488
3861
|
} | 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 | {
|
|
2489
|
-
permission_mode_version?: number;
|
|
2490
|
-
previous_permission_mode?: string | null;
|
|
2491
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2492
3862
|
id: string;
|
|
2493
3863
|
processed_at: string;
|
|
2494
3864
|
type: "session.updated";
|
|
@@ -2496,6 +3866,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2496
3866
|
budget?: null | Types.AgentManaged76;
|
|
2497
3867
|
metadata?: Types.AgentManaged246;
|
|
2498
3868
|
title?: null | string;
|
|
3869
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3870
|
+
previous_permission_mode?: string | null;
|
|
3871
|
+
permission_mode_version?: number;
|
|
2499
3872
|
model?: {
|
|
2500
3873
|
id: string;
|
|
2501
3874
|
};
|
|
@@ -2505,6 +3878,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2505
3878
|
processed_at: string;
|
|
2506
3879
|
forked_from_session_id: string;
|
|
2507
3880
|
forked_from_message_id: string;
|
|
3881
|
+
message_id?: string;
|
|
3882
|
+
session_thread_id?: string | null;
|
|
2508
3883
|
} | {
|
|
2509
3884
|
id: string;
|
|
2510
3885
|
type: "session.goal_changed";
|
|
@@ -2535,6 +3910,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2535
3910
|
created_at: number;
|
|
2536
3911
|
updated_at: number;
|
|
2537
3912
|
} | null;
|
|
3913
|
+
message_id?: string;
|
|
3914
|
+
session_thread_id?: string | null;
|
|
2538
3915
|
} | {
|
|
2539
3916
|
id: string;
|
|
2540
3917
|
type: "session.goal_verification";
|
|
@@ -2549,26 +3926,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
2549
3926
|
reason: string;
|
|
2550
3927
|
next_action?: string;
|
|
2551
3928
|
};
|
|
3929
|
+
message_id?: string;
|
|
3930
|
+
session_thread_id?: string | null;
|
|
2552
3931
|
} | {
|
|
2553
3932
|
id: string;
|
|
2554
3933
|
type: "user.steer";
|
|
2555
3934
|
event_id: string;
|
|
2556
3935
|
processed_at: string;
|
|
3936
|
+
message_id?: string;
|
|
3937
|
+
session_thread_id?: string | null;
|
|
3938
|
+
} | {
|
|
3939
|
+
id: string;
|
|
3940
|
+
type: "cognition.surfaced";
|
|
3941
|
+
processed_at: string;
|
|
3942
|
+
worker_session_id: string;
|
|
3943
|
+
name: string;
|
|
3944
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
3945
|
+
experience_id?: string;
|
|
3946
|
+
result?: {
|
|
3947
|
+
message?: string;
|
|
3948
|
+
links?: Array<string>;
|
|
3949
|
+
files?: Array<{
|
|
3950
|
+
name?: string;
|
|
3951
|
+
href?: string;
|
|
3952
|
+
}>;
|
|
3953
|
+
held?: Array<{
|
|
3954
|
+
id?: string;
|
|
3955
|
+
summary?: string;
|
|
3956
|
+
effect?: string;
|
|
3957
|
+
method?: string;
|
|
3958
|
+
path?: string;
|
|
3959
|
+
expires_at?: string;
|
|
3960
|
+
}>;
|
|
3961
|
+
};
|
|
3962
|
+
} | {
|
|
3963
|
+
id: string;
|
|
3964
|
+
type: "cognition.intention_woken";
|
|
3965
|
+
processed_at: string;
|
|
3966
|
+
node_id: string;
|
|
3967
|
+
reason: "open_engram" | "assignment";
|
|
3968
|
+
} | {
|
|
3969
|
+
id: string;
|
|
3970
|
+
type: "agent.operation_approval_requested";
|
|
3971
|
+
processed_at: string;
|
|
3972
|
+
approval_id: string;
|
|
3973
|
+
operation_id: string;
|
|
3974
|
+
effect: "outward" | "irreversible";
|
|
3975
|
+
method: string;
|
|
3976
|
+
path: string;
|
|
3977
|
+
summary: string;
|
|
3978
|
+
expires_at: string;
|
|
3979
|
+
worker_session_id?: string;
|
|
3980
|
+
worker_name?: string;
|
|
3981
|
+
} | {
|
|
3982
|
+
id: string;
|
|
3983
|
+
type: "agent.operation_approval_decided";
|
|
3984
|
+
processed_at: string;
|
|
3985
|
+
approval_id: string;
|
|
3986
|
+
status: "approved" | "refused" | "expired";
|
|
3987
|
+
} | {
|
|
3988
|
+
id: string;
|
|
3989
|
+
type: "session.prompt_configuration_mismatch";
|
|
3990
|
+
processed_at: string;
|
|
3991
|
+
pinned_revision_id: string;
|
|
3992
|
+
current_revision_id: string;
|
|
3993
|
+
} | {
|
|
3994
|
+
id: string;
|
|
3995
|
+
type: "session.prompt_rev_changed";
|
|
3996
|
+
processed_at: string;
|
|
3997
|
+
config_revision_id: string;
|
|
3998
|
+
changed: Array<{
|
|
3999
|
+
name: string;
|
|
4000
|
+
rev: string | null;
|
|
4001
|
+
}>;
|
|
4002
|
+
} | {
|
|
4003
|
+
id: string;
|
|
4004
|
+
type: "session.computer_tier";
|
|
4005
|
+
processed_at: string;
|
|
4006
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
4007
|
+
tier: "light" | "heavy";
|
|
4008
|
+
duration_ms: number;
|
|
4009
|
+
error_code?: string;
|
|
4010
|
+
status?: {
|
|
4011
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
4012
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
4013
|
+
percent?: number;
|
|
4014
|
+
files_done?: number;
|
|
4015
|
+
files_total?: number;
|
|
4016
|
+
idle_release_at?: number;
|
|
4017
|
+
retry_at?: number;
|
|
4018
|
+
epoch?: number;
|
|
4019
|
+
heavy_instance?: string | null;
|
|
4020
|
+
heavy_paused?: boolean;
|
|
4021
|
+
};
|
|
4022
|
+
} | {
|
|
4023
|
+
id: string;
|
|
4024
|
+
type: "agent.artifact_delivered";
|
|
4025
|
+
processed_at: string;
|
|
4026
|
+
artifact: {
|
|
4027
|
+
object: "artifact";
|
|
4028
|
+
id: string;
|
|
4029
|
+
session_id: string;
|
|
4030
|
+
run_id: string | null;
|
|
4031
|
+
name: string;
|
|
4032
|
+
version: number;
|
|
4033
|
+
parts: Array<{
|
|
4034
|
+
[key: string]: unknown;
|
|
4035
|
+
}>;
|
|
4036
|
+
source_hrefs: Array<string>;
|
|
4037
|
+
create_time: string;
|
|
4038
|
+
update_time: string;
|
|
4039
|
+
};
|
|
2557
4040
|
} | {
|
|
2558
4041
|
id: string;
|
|
2559
|
-
type: "
|
|
4042
|
+
type: "agent.image_generation";
|
|
2560
4043
|
processed_at: string;
|
|
2561
4044
|
tool_use_id: string;
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
4045
|
+
index: number;
|
|
4046
|
+
total: number;
|
|
4047
|
+
status: string;
|
|
4048
|
+
mode?: string;
|
|
4049
|
+
aspect?: string;
|
|
4050
|
+
prompt?: string;
|
|
4051
|
+
model?: string;
|
|
4052
|
+
file_id?: string;
|
|
4053
|
+
label?: string;
|
|
4054
|
+
width?: number;
|
|
4055
|
+
height?: number;
|
|
4056
|
+
revised_prompt?: string;
|
|
4057
|
+
source_labels?: Array<string>;
|
|
4058
|
+
caption?: string;
|
|
4059
|
+
slot?: number | null;
|
|
4060
|
+
replaces?: string;
|
|
4061
|
+
version?: number;
|
|
4062
|
+
failure?: {
|
|
4063
|
+
reason?: string;
|
|
2565
4064
|
};
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
4065
|
+
} | {
|
|
4066
|
+
id: string;
|
|
4067
|
+
type: "session.image_labeled";
|
|
4068
|
+
processed_at: string;
|
|
4069
|
+
label: string;
|
|
4070
|
+
file_id: string;
|
|
4071
|
+
origin: "generated" | "uploaded";
|
|
4072
|
+
filename: string;
|
|
4073
|
+
tool_use_id?: string;
|
|
4074
|
+
version?: number;
|
|
4075
|
+
replaced_file_id?: string;
|
|
4076
|
+
} | {
|
|
4077
|
+
id: string;
|
|
4078
|
+
type: "session.image_set_planned";
|
|
4079
|
+
processed_at: string;
|
|
4080
|
+
tool_use_id: string;
|
|
4081
|
+
items: Array<unknown>;
|
|
4082
|
+
title?: string;
|
|
4083
|
+
} | {
|
|
4084
|
+
id: string;
|
|
4085
|
+
type: "session.project_attached";
|
|
4086
|
+
processed_at: string;
|
|
4087
|
+
project: {
|
|
4088
|
+
id: string;
|
|
4089
|
+
name: string;
|
|
4090
|
+
path: string;
|
|
2571
4091
|
};
|
|
4092
|
+
message_id?: string;
|
|
4093
|
+
session_thread_id?: string | null;
|
|
4094
|
+
} | {
|
|
4095
|
+
id: string;
|
|
4096
|
+
type: "session.project_detached";
|
|
4097
|
+
processed_at: string;
|
|
4098
|
+
project_id: string;
|
|
4099
|
+
reason?: "project_removed";
|
|
4100
|
+
message_id?: string;
|
|
4101
|
+
session_thread_id?: string | null;
|
|
2572
4102
|
}>;
|
|
2573
4103
|
next_page: string | null;
|
|
2574
4104
|
}>;
|
|
@@ -2589,21 +4119,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2589
4119
|
type: "user.steer";
|
|
2590
4120
|
event_id: string;
|
|
2591
4121
|
processed_at: string;
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
type: "user.tool_confirmation";
|
|
2595
|
-
processed_at: string;
|
|
2596
|
-
tool_use_id: string;
|
|
2597
|
-
result: "allow";
|
|
2598
|
-
answers: {
|
|
2599
|
-
[key: string]: string;
|
|
2600
|
-
};
|
|
2601
|
-
annotations?: {
|
|
2602
|
-
[key: string]: {
|
|
2603
|
-
preview?: string;
|
|
2604
|
-
notes?: string;
|
|
2605
|
-
};
|
|
2606
|
-
};
|
|
4122
|
+
message_id?: string;
|
|
4123
|
+
session_thread_id?: string | null;
|
|
2607
4124
|
}>;
|
|
2608
4125
|
}>;
|
|
2609
4126
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -2656,6 +4173,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2656
4173
|
speed?: "standard" | "fast";
|
|
2657
4174
|
settings?: {
|
|
2658
4175
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4176
|
+
max_output_tokens?: number;
|
|
2659
4177
|
};
|
|
2660
4178
|
};
|
|
2661
4179
|
multiagent: null | {
|
|
@@ -3118,6 +4636,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3118
4636
|
vault_ids: Array<string>;
|
|
3119
4637
|
deployment_id?: null | string;
|
|
3120
4638
|
cwd: string;
|
|
4639
|
+
workspace?: {
|
|
4640
|
+
kind: "shared" | "isolated";
|
|
4641
|
+
path?: string;
|
|
4642
|
+
branch?: string;
|
|
4643
|
+
};
|
|
3121
4644
|
computer_id?: string;
|
|
3122
4645
|
model?: {
|
|
3123
4646
|
id: string;
|
|
@@ -3151,32 +4674,576 @@ export declare function createAgent(transport: Transport): {
|
|
|
3151
4674
|
speed?: "standard" | "fast";
|
|
3152
4675
|
settings?: {
|
|
3153
4676
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4677
|
+
max_output_tokens?: number;
|
|
4678
|
+
};
|
|
4679
|
+
};
|
|
4680
|
+
multiagent: null | Types.AgentManaged171;
|
|
4681
|
+
name: string;
|
|
4682
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
4683
|
+
system: null | string;
|
|
4684
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4685
|
+
type: "agent";
|
|
4686
|
+
version: number;
|
|
4687
|
+
};
|
|
4688
|
+
archived_at: null | string;
|
|
4689
|
+
budget: null | Types.AgentManaged76;
|
|
4690
|
+
created_at: string;
|
|
4691
|
+
environment_id?: string;
|
|
4692
|
+
metadata: Types.AgentManaged173;
|
|
4693
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4694
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4695
|
+
stats: Types.AgentManaged178;
|
|
4696
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4697
|
+
title: null | string;
|
|
4698
|
+
type: "session";
|
|
4699
|
+
updated_at: string;
|
|
4700
|
+
usage: Types.AgentManaged179;
|
|
4701
|
+
vault_ids: Array<string>;
|
|
4702
|
+
deployment_id?: null | string;
|
|
4703
|
+
cwd: string;
|
|
4704
|
+
workspace?: {
|
|
4705
|
+
kind: "shared" | "isolated";
|
|
4706
|
+
path?: string;
|
|
4707
|
+
branch?: string;
|
|
4708
|
+
};
|
|
4709
|
+
computer_id?: string;
|
|
4710
|
+
model?: {
|
|
4711
|
+
id: string;
|
|
4712
|
+
thinking: {
|
|
4713
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4714
|
+
can_disable: boolean;
|
|
4715
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4716
|
+
} | null;
|
|
4717
|
+
};
|
|
4718
|
+
thinking?: {
|
|
4719
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4720
|
+
} | null;
|
|
4721
|
+
forked_from?: {
|
|
4722
|
+
session_id: string;
|
|
4723
|
+
message_id: string;
|
|
4724
|
+
} | null;
|
|
4725
|
+
readonly external_user_id: string | null;
|
|
4726
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4727
|
+
}>;
|
|
4728
|
+
next_page: string | null;
|
|
4729
|
+
}>;
|
|
4730
|
+
name: {
|
|
4731
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4732
|
+
id: string;
|
|
4733
|
+
agent: {
|
|
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
|
+
settings?: {
|
|
4778
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4779
|
+
max_output_tokens?: number;
|
|
3154
4780
|
};
|
|
3155
4781
|
};
|
|
3156
|
-
multiagent: null |
|
|
4782
|
+
multiagent: null | {
|
|
4783
|
+
agents: Array<{
|
|
4784
|
+
model: string;
|
|
4785
|
+
type: "advisor";
|
|
4786
|
+
} | {
|
|
4787
|
+
id: string;
|
|
4788
|
+
description: null | string;
|
|
4789
|
+
mcp_servers: Array<{
|
|
4790
|
+
type: "url";
|
|
4791
|
+
name: string;
|
|
4792
|
+
url: string;
|
|
4793
|
+
headers?: {
|
|
4794
|
+
[key: string]: string;
|
|
4795
|
+
};
|
|
4796
|
+
timeout_ms?: number;
|
|
4797
|
+
} | {
|
|
4798
|
+
type: "sse";
|
|
4799
|
+
name: string;
|
|
4800
|
+
url: string;
|
|
4801
|
+
headers?: {
|
|
4802
|
+
[key: string]: string;
|
|
4803
|
+
};
|
|
4804
|
+
timeout_ms?: number;
|
|
4805
|
+
} | {
|
|
4806
|
+
type: "stdio";
|
|
4807
|
+
name: string;
|
|
4808
|
+
command: string;
|
|
4809
|
+
args?: Array<string>;
|
|
4810
|
+
env?: {
|
|
4811
|
+
[key: string]: string;
|
|
4812
|
+
};
|
|
4813
|
+
timeout_ms?: number;
|
|
4814
|
+
}>;
|
|
4815
|
+
model: {
|
|
4816
|
+
id: string;
|
|
4817
|
+
effort?: {
|
|
4818
|
+
type: "low";
|
|
4819
|
+
} | {
|
|
4820
|
+
type: "medium";
|
|
4821
|
+
} | {
|
|
4822
|
+
type: "high";
|
|
4823
|
+
} | {
|
|
4824
|
+
type: "xhigh";
|
|
4825
|
+
} | {
|
|
4826
|
+
type: "max";
|
|
4827
|
+
};
|
|
4828
|
+
inference_geo?: string;
|
|
4829
|
+
speed?: "standard" | "fast";
|
|
4830
|
+
};
|
|
4831
|
+
name: string;
|
|
4832
|
+
skills: Array<{
|
|
4833
|
+
skill_id: string;
|
|
4834
|
+
type: "anthropic";
|
|
4835
|
+
version: string;
|
|
4836
|
+
} | {
|
|
4837
|
+
skill_id: string;
|
|
4838
|
+
type: "custom";
|
|
4839
|
+
version: string;
|
|
4840
|
+
}>;
|
|
4841
|
+
system: null | string;
|
|
4842
|
+
tools: Array<{
|
|
4843
|
+
configs: Array<{
|
|
4844
|
+
enabled: boolean;
|
|
4845
|
+
name: "bash";
|
|
4846
|
+
permission_policy: {
|
|
4847
|
+
type: "always_allow";
|
|
4848
|
+
} | {
|
|
4849
|
+
type: "always_ask";
|
|
4850
|
+
} | {
|
|
4851
|
+
type: "auto";
|
|
4852
|
+
};
|
|
4853
|
+
type: "bash";
|
|
4854
|
+
} | {
|
|
4855
|
+
enabled: boolean;
|
|
4856
|
+
name: "edit";
|
|
4857
|
+
permission_policy: {
|
|
4858
|
+
type: "always_allow";
|
|
4859
|
+
} | {
|
|
4860
|
+
type: "always_ask";
|
|
4861
|
+
} | {
|
|
4862
|
+
type: "auto";
|
|
4863
|
+
};
|
|
4864
|
+
type: "edit";
|
|
4865
|
+
} | {
|
|
4866
|
+
enabled: boolean;
|
|
4867
|
+
name: "read";
|
|
4868
|
+
permission_policy: {
|
|
4869
|
+
type: "always_allow";
|
|
4870
|
+
} | {
|
|
4871
|
+
type: "always_ask";
|
|
4872
|
+
} | {
|
|
4873
|
+
type: "auto";
|
|
4874
|
+
};
|
|
4875
|
+
type: "read";
|
|
4876
|
+
} | {
|
|
4877
|
+
enabled: boolean;
|
|
4878
|
+
name: "write";
|
|
4879
|
+
permission_policy: {
|
|
4880
|
+
type: "always_allow";
|
|
4881
|
+
} | {
|
|
4882
|
+
type: "always_ask";
|
|
4883
|
+
} | {
|
|
4884
|
+
type: "auto";
|
|
4885
|
+
};
|
|
4886
|
+
type: "write";
|
|
4887
|
+
} | {
|
|
4888
|
+
enabled: boolean;
|
|
4889
|
+
name: "glob";
|
|
4890
|
+
permission_policy: {
|
|
4891
|
+
type: "always_allow";
|
|
4892
|
+
} | {
|
|
4893
|
+
type: "always_ask";
|
|
4894
|
+
} | {
|
|
4895
|
+
type: "auto";
|
|
4896
|
+
};
|
|
4897
|
+
type: "glob";
|
|
4898
|
+
} | {
|
|
4899
|
+
enabled: boolean;
|
|
4900
|
+
name: "grep";
|
|
4901
|
+
permission_policy: {
|
|
4902
|
+
type: "always_allow";
|
|
4903
|
+
} | {
|
|
4904
|
+
type: "always_ask";
|
|
4905
|
+
} | {
|
|
4906
|
+
type: "auto";
|
|
4907
|
+
};
|
|
4908
|
+
type: "grep";
|
|
4909
|
+
} | {
|
|
4910
|
+
enabled: boolean;
|
|
4911
|
+
name: "web_fetch";
|
|
4912
|
+
permission_policy: {
|
|
4913
|
+
type: "always_allow";
|
|
4914
|
+
} | {
|
|
4915
|
+
type: "always_ask";
|
|
4916
|
+
} | {
|
|
4917
|
+
type: "auto";
|
|
4918
|
+
};
|
|
4919
|
+
type: "web_fetch";
|
|
4920
|
+
allowed_domains?: Array<string>;
|
|
4921
|
+
blocked_domains?: Array<string>;
|
|
4922
|
+
max_content_tokens?: null | number;
|
|
4923
|
+
} | {
|
|
4924
|
+
enabled: boolean;
|
|
4925
|
+
name: "web_search";
|
|
4926
|
+
permission_policy: {
|
|
4927
|
+
type: "always_allow";
|
|
4928
|
+
} | {
|
|
4929
|
+
type: "always_ask";
|
|
4930
|
+
} | {
|
|
4931
|
+
type: "auto";
|
|
4932
|
+
};
|
|
4933
|
+
type: "web_search";
|
|
4934
|
+
allowed_domains?: Array<string>;
|
|
4935
|
+
blocked_domains?: Array<string>;
|
|
4936
|
+
user_location?: null | {
|
|
4937
|
+
type: "approximate";
|
|
4938
|
+
city?: null | string;
|
|
4939
|
+
country?: null | string;
|
|
4940
|
+
region?: null | string;
|
|
4941
|
+
timezone?: null | string;
|
|
4942
|
+
};
|
|
4943
|
+
} | {
|
|
4944
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4945
|
+
enabled: boolean;
|
|
4946
|
+
permission_policy: {
|
|
4947
|
+
type: "always_allow" | "always_ask";
|
|
4948
|
+
};
|
|
4949
|
+
}>;
|
|
4950
|
+
default_config: {
|
|
4951
|
+
enabled: boolean;
|
|
4952
|
+
permission_policy: {
|
|
4953
|
+
type: "always_allow";
|
|
4954
|
+
} | {
|
|
4955
|
+
type: "always_ask";
|
|
4956
|
+
} | {
|
|
4957
|
+
type: "auto";
|
|
4958
|
+
};
|
|
4959
|
+
};
|
|
4960
|
+
type: "agent_toolset_20260401";
|
|
4961
|
+
} | {
|
|
4962
|
+
type: "mcp_toolset";
|
|
4963
|
+
mcp_server_name: string;
|
|
4964
|
+
default_config?: {
|
|
4965
|
+
enabled?: boolean | null;
|
|
4966
|
+
permission_policy?: null | {
|
|
4967
|
+
type: "always_allow" | "always_ask";
|
|
4968
|
+
};
|
|
4969
|
+
} | null;
|
|
4970
|
+
configs?: Array<{
|
|
4971
|
+
name: string;
|
|
4972
|
+
enabled?: boolean | null;
|
|
4973
|
+
permission_policy?: null | {
|
|
4974
|
+
type: "always_allow" | "always_ask";
|
|
4975
|
+
};
|
|
4976
|
+
}> | null;
|
|
4977
|
+
} | {
|
|
4978
|
+
description: string;
|
|
4979
|
+
input_schema: {
|
|
4980
|
+
type: "object";
|
|
4981
|
+
properties?: null | {
|
|
4982
|
+
[key: string]: unknown;
|
|
4983
|
+
};
|
|
4984
|
+
required?: null | Array<string>;
|
|
4985
|
+
[key: string]: unknown;
|
|
4986
|
+
};
|
|
4987
|
+
name: string;
|
|
4988
|
+
type: "custom";
|
|
4989
|
+
}>;
|
|
4990
|
+
type: "agent";
|
|
4991
|
+
version: number;
|
|
4992
|
+
}>;
|
|
4993
|
+
type: "coordinator";
|
|
4994
|
+
};
|
|
3157
4995
|
name: string;
|
|
3158
|
-
skills: Array<
|
|
4996
|
+
skills: Array<{
|
|
4997
|
+
skill_id: string;
|
|
4998
|
+
type: "anthropic";
|
|
4999
|
+
version: string;
|
|
5000
|
+
} | {
|
|
5001
|
+
skill_id: string;
|
|
5002
|
+
type: "custom";
|
|
5003
|
+
version: string;
|
|
5004
|
+
}>;
|
|
3159
5005
|
system: null | string;
|
|
3160
|
-
tools: Array<
|
|
5006
|
+
tools: Array<{
|
|
5007
|
+
configs: Array<{
|
|
5008
|
+
enabled: boolean;
|
|
5009
|
+
name: "bash";
|
|
5010
|
+
permission_policy: {
|
|
5011
|
+
type: "always_allow";
|
|
5012
|
+
} | {
|
|
5013
|
+
type: "always_ask";
|
|
5014
|
+
} | {
|
|
5015
|
+
type: "auto";
|
|
5016
|
+
};
|
|
5017
|
+
type: "bash";
|
|
5018
|
+
} | {
|
|
5019
|
+
enabled: boolean;
|
|
5020
|
+
name: "edit";
|
|
5021
|
+
permission_policy: {
|
|
5022
|
+
type: "always_allow";
|
|
5023
|
+
} | {
|
|
5024
|
+
type: "always_ask";
|
|
5025
|
+
} | {
|
|
5026
|
+
type: "auto";
|
|
5027
|
+
};
|
|
5028
|
+
type: "edit";
|
|
5029
|
+
} | {
|
|
5030
|
+
enabled: boolean;
|
|
5031
|
+
name: "read";
|
|
5032
|
+
permission_policy: {
|
|
5033
|
+
type: "always_allow";
|
|
5034
|
+
} | {
|
|
5035
|
+
type: "always_ask";
|
|
5036
|
+
} | {
|
|
5037
|
+
type: "auto";
|
|
5038
|
+
};
|
|
5039
|
+
type: "read";
|
|
5040
|
+
} | {
|
|
5041
|
+
enabled: boolean;
|
|
5042
|
+
name: "write";
|
|
5043
|
+
permission_policy: {
|
|
5044
|
+
type: "always_allow";
|
|
5045
|
+
} | {
|
|
5046
|
+
type: "always_ask";
|
|
5047
|
+
} | {
|
|
5048
|
+
type: "auto";
|
|
5049
|
+
};
|
|
5050
|
+
type: "write";
|
|
5051
|
+
} | {
|
|
5052
|
+
enabled: boolean;
|
|
5053
|
+
name: "glob";
|
|
5054
|
+
permission_policy: {
|
|
5055
|
+
type: "always_allow";
|
|
5056
|
+
} | {
|
|
5057
|
+
type: "always_ask";
|
|
5058
|
+
} | {
|
|
5059
|
+
type: "auto";
|
|
5060
|
+
};
|
|
5061
|
+
type: "glob";
|
|
5062
|
+
} | {
|
|
5063
|
+
enabled: boolean;
|
|
5064
|
+
name: "grep";
|
|
5065
|
+
permission_policy: {
|
|
5066
|
+
type: "always_allow";
|
|
5067
|
+
} | {
|
|
5068
|
+
type: "always_ask";
|
|
5069
|
+
} | {
|
|
5070
|
+
type: "auto";
|
|
5071
|
+
};
|
|
5072
|
+
type: "grep";
|
|
5073
|
+
} | {
|
|
5074
|
+
enabled: boolean;
|
|
5075
|
+
name: "web_fetch";
|
|
5076
|
+
permission_policy: {
|
|
5077
|
+
type: "always_allow";
|
|
5078
|
+
} | {
|
|
5079
|
+
type: "always_ask";
|
|
5080
|
+
} | {
|
|
5081
|
+
type: "auto";
|
|
5082
|
+
};
|
|
5083
|
+
type: "web_fetch";
|
|
5084
|
+
allowed_domains?: Array<string>;
|
|
5085
|
+
blocked_domains?: Array<string>;
|
|
5086
|
+
max_content_tokens?: null | number;
|
|
5087
|
+
} | {
|
|
5088
|
+
enabled: boolean;
|
|
5089
|
+
name: "web_search";
|
|
5090
|
+
permission_policy: {
|
|
5091
|
+
type: "always_allow";
|
|
5092
|
+
} | {
|
|
5093
|
+
type: "always_ask";
|
|
5094
|
+
} | {
|
|
5095
|
+
type: "auto";
|
|
5096
|
+
};
|
|
5097
|
+
type: "web_search";
|
|
5098
|
+
allowed_domains?: Array<string>;
|
|
5099
|
+
blocked_domains?: Array<string>;
|
|
5100
|
+
user_location?: null | {
|
|
5101
|
+
type: "approximate";
|
|
5102
|
+
city?: null | string;
|
|
5103
|
+
country?: null | string;
|
|
5104
|
+
region?: null | string;
|
|
5105
|
+
timezone?: null | string;
|
|
5106
|
+
};
|
|
5107
|
+
} | {
|
|
5108
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
5109
|
+
enabled: boolean;
|
|
5110
|
+
permission_policy: {
|
|
5111
|
+
type: "always_allow" | "always_ask";
|
|
5112
|
+
};
|
|
5113
|
+
}>;
|
|
5114
|
+
default_config: {
|
|
5115
|
+
enabled: boolean;
|
|
5116
|
+
permission_policy: {
|
|
5117
|
+
type: "always_allow";
|
|
5118
|
+
} | {
|
|
5119
|
+
type: "always_ask";
|
|
5120
|
+
} | {
|
|
5121
|
+
type: "auto";
|
|
5122
|
+
};
|
|
5123
|
+
};
|
|
5124
|
+
type: "agent_toolset_20260401";
|
|
5125
|
+
} | {
|
|
5126
|
+
type: "mcp_toolset";
|
|
5127
|
+
mcp_server_name: string;
|
|
5128
|
+
default_config?: {
|
|
5129
|
+
enabled?: boolean | null;
|
|
5130
|
+
permission_policy?: null | {
|
|
5131
|
+
type: "always_allow" | "always_ask";
|
|
5132
|
+
};
|
|
5133
|
+
} | null;
|
|
5134
|
+
configs?: Array<{
|
|
5135
|
+
name: string;
|
|
5136
|
+
enabled?: boolean | null;
|
|
5137
|
+
permission_policy?: null | {
|
|
5138
|
+
type: "always_allow" | "always_ask";
|
|
5139
|
+
};
|
|
5140
|
+
}> | null;
|
|
5141
|
+
} | {
|
|
5142
|
+
description: string;
|
|
5143
|
+
input_schema: {
|
|
5144
|
+
type: "object";
|
|
5145
|
+
properties?: null | {
|
|
5146
|
+
[key: string]: unknown;
|
|
5147
|
+
};
|
|
5148
|
+
required?: null | Array<string>;
|
|
5149
|
+
[key: string]: unknown;
|
|
5150
|
+
};
|
|
5151
|
+
name: string;
|
|
5152
|
+
type: "custom";
|
|
5153
|
+
}>;
|
|
3161
5154
|
type: "agent";
|
|
3162
5155
|
version: number;
|
|
3163
5156
|
};
|
|
3164
5157
|
archived_at: null | string;
|
|
3165
|
-
budget: null |
|
|
5158
|
+
budget: null | {
|
|
5159
|
+
max_list_cost: {
|
|
5160
|
+
amount: string;
|
|
5161
|
+
currency: "USD";
|
|
5162
|
+
};
|
|
5163
|
+
type: "limit";
|
|
5164
|
+
};
|
|
3166
5165
|
created_at: string;
|
|
3167
5166
|
environment_id?: string;
|
|
3168
|
-
metadata:
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
5167
|
+
metadata: {
|
|
5168
|
+
[key: string]: string;
|
|
5169
|
+
};
|
|
5170
|
+
outcome_evaluations: Array<{
|
|
5171
|
+
completed_at: null | string;
|
|
5172
|
+
description: string;
|
|
5173
|
+
explanation: null | string;
|
|
5174
|
+
iteration: number;
|
|
5175
|
+
outcome_id: string;
|
|
5176
|
+
result: string;
|
|
5177
|
+
type: "outcome_evaluation";
|
|
5178
|
+
}>;
|
|
5179
|
+
resources: Array<{
|
|
5180
|
+
id: string;
|
|
5181
|
+
created_at: string;
|
|
5182
|
+
mount_path: string;
|
|
5183
|
+
type: "github_repository";
|
|
5184
|
+
updated_at: string;
|
|
5185
|
+
url: string;
|
|
5186
|
+
checkout?: null | {
|
|
5187
|
+
name: string;
|
|
5188
|
+
type: "branch";
|
|
5189
|
+
} | {
|
|
5190
|
+
sha: string;
|
|
5191
|
+
type: "commit";
|
|
5192
|
+
};
|
|
5193
|
+
} | {
|
|
5194
|
+
id: string;
|
|
5195
|
+
created_at: string;
|
|
5196
|
+
file_id: string;
|
|
5197
|
+
mount_path: string;
|
|
5198
|
+
type: "file";
|
|
5199
|
+
updated_at: string;
|
|
5200
|
+
} | {
|
|
5201
|
+
memory_store_id: string;
|
|
5202
|
+
type: "memory_store";
|
|
5203
|
+
access?: null | "read_write" | "read_only";
|
|
5204
|
+
description?: string;
|
|
5205
|
+
instructions?: null | string;
|
|
5206
|
+
mount_path?: null | string;
|
|
5207
|
+
name?: null | string;
|
|
5208
|
+
}>;
|
|
5209
|
+
stats: {
|
|
5210
|
+
active_seconds?: number;
|
|
5211
|
+
duration_seconds?: number;
|
|
5212
|
+
};
|
|
3172
5213
|
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3173
5214
|
title: null | string;
|
|
3174
5215
|
type: "session";
|
|
3175
5216
|
updated_at: string;
|
|
3176
|
-
usage:
|
|
5217
|
+
usage: {
|
|
5218
|
+
active_seconds?: number;
|
|
5219
|
+
cache_creation?: {
|
|
5220
|
+
ephemeral_1h_input_tokens?: number;
|
|
5221
|
+
ephemeral_5m_input_tokens?: number;
|
|
5222
|
+
};
|
|
5223
|
+
cache_read_input_tokens?: number;
|
|
5224
|
+
input_tokens?: number;
|
|
5225
|
+
list_cost?: null | {
|
|
5226
|
+
amount: string;
|
|
5227
|
+
currency: "USD";
|
|
5228
|
+
};
|
|
5229
|
+
output_tokens?: number;
|
|
5230
|
+
server_tool_use?: null | {
|
|
5231
|
+
web_fetch_requests?: number;
|
|
5232
|
+
web_search_requests?: number;
|
|
5233
|
+
};
|
|
5234
|
+
cost_by_product?: {
|
|
5235
|
+
[key: string]: string;
|
|
5236
|
+
};
|
|
5237
|
+
subagent_cost_micro_usd?: number;
|
|
5238
|
+
};
|
|
3177
5239
|
vault_ids: Array<string>;
|
|
3178
5240
|
deployment_id?: null | string;
|
|
3179
5241
|
cwd: string;
|
|
5242
|
+
workspace?: {
|
|
5243
|
+
kind: "shared" | "isolated";
|
|
5244
|
+
path?: string;
|
|
5245
|
+
branch?: string;
|
|
5246
|
+
};
|
|
3180
5247
|
computer_id?: string;
|
|
3181
5248
|
model?: {
|
|
3182
5249
|
id: string;
|
|
@@ -3196,8 +5263,21 @@ export declare function createAgent(transport: Transport): {
|
|
|
3196
5263
|
readonly external_user_id: string | null;
|
|
3197
5264
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3198
5265
|
}>;
|
|
3199
|
-
|
|
3200
|
-
|
|
5266
|
+
};
|
|
5267
|
+
requests: {
|
|
5268
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
5269
|
+
data: Array<{
|
|
5270
|
+
id: string;
|
|
5271
|
+
object: "request";
|
|
5272
|
+
kind: "question" | "approval";
|
|
5273
|
+
status: "pending";
|
|
5274
|
+
tool_name: string;
|
|
5275
|
+
input: unknown;
|
|
5276
|
+
create_time: string;
|
|
5277
|
+
expire_time: string | null;
|
|
5278
|
+
}>;
|
|
5279
|
+
}>;
|
|
5280
|
+
};
|
|
3201
5281
|
resources: {
|
|
3202
5282
|
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
3203
5283
|
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
@@ -3228,6 +5308,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3228
5308
|
speed?: "standard" | "fast";
|
|
3229
5309
|
settings?: {
|
|
3230
5310
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5311
|
+
max_output_tokens?: number;
|
|
3231
5312
|
};
|
|
3232
5313
|
};
|
|
3233
5314
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3254,6 +5335,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3254
5335
|
vault_ids: Array<string>;
|
|
3255
5336
|
deployment_id?: null | string;
|
|
3256
5337
|
cwd: string;
|
|
5338
|
+
workspace?: {
|
|
5339
|
+
kind: "shared" | "isolated";
|
|
5340
|
+
path?: string;
|
|
5341
|
+
branch?: string;
|
|
5342
|
+
};
|
|
3257
5343
|
computer_id?: string;
|
|
3258
5344
|
model?: {
|
|
3259
5345
|
id: string;
|
|
@@ -3336,6 +5422,16 @@ export declare function createAgent(transport: Transport): {
|
|
|
3336
5422
|
};
|
|
3337
5423
|
measured_at: string | null;
|
|
3338
5424
|
}>;
|
|
5425
|
+
retrievePromptRevs: (options: import("./core/transport.js").CallOptions<Types.GetSessionPromptRevsData>) => Promise<{
|
|
5426
|
+
run_id: string | null;
|
|
5427
|
+
config_revision_id: string;
|
|
5428
|
+
config_version: number | null;
|
|
5429
|
+
platform: {
|
|
5430
|
+
[key: string]: string;
|
|
5431
|
+
};
|
|
5432
|
+
at: number;
|
|
5433
|
+
reaped_turns: number;
|
|
5434
|
+
}>;
|
|
3339
5435
|
runs: {
|
|
3340
5436
|
deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
|
|
3341
5437
|
feedback: {
|
|
@@ -3400,7 +5496,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3400
5496
|
run_id: string | null;
|
|
3401
5497
|
message_id?: string;
|
|
3402
5498
|
} | {
|
|
3403
|
-
full_access_available?: boolean;
|
|
3404
5499
|
id: string;
|
|
3405
5500
|
input: Types.AgentManaged197;
|
|
3406
5501
|
mcp_server_name: string;
|
|
@@ -3410,6 +5505,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
3410
5505
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3411
5506
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3412
5507
|
session_thread_id?: null | string;
|
|
5508
|
+
permission_suggestions?: Array<{
|
|
5509
|
+
type: "add_rules";
|
|
5510
|
+
behavior: "allow";
|
|
5511
|
+
destination: "agent" | "session";
|
|
5512
|
+
rules: Array<{
|
|
5513
|
+
tool_name: string;
|
|
5514
|
+
rule_content: string;
|
|
5515
|
+
}>;
|
|
5516
|
+
}>;
|
|
5517
|
+
full_access_available?: boolean;
|
|
5518
|
+
user_once?: true;
|
|
5519
|
+
guarded_rule?: string;
|
|
3413
5520
|
run_id: string | null;
|
|
3414
5521
|
parent_tool_use_id?: string;
|
|
3415
5522
|
_meta?: {
|
|
@@ -3423,17 +5530,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3423
5530
|
};
|
|
3424
5531
|
};
|
|
3425
5532
|
source?: "app" | "codemode";
|
|
3426
|
-
user_once?: true;
|
|
3427
|
-
guarded_rule?: string;
|
|
3428
|
-
permission_suggestions?: Array<{
|
|
3429
|
-
type: "add_rules";
|
|
3430
|
-
behavior: "allow";
|
|
3431
|
-
destination: "agent" | "session";
|
|
3432
|
-
rules: Array<{
|
|
3433
|
-
tool_name: string;
|
|
3434
|
-
rule_content: string;
|
|
3435
|
-
}>;
|
|
3436
|
-
}>;
|
|
3437
5533
|
title?: string;
|
|
3438
5534
|
input_titles?: {
|
|
3439
5535
|
[key: string]: string;
|
|
@@ -3452,7 +5548,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3452
5548
|
};
|
|
3453
5549
|
source?: "app" | "codemode";
|
|
3454
5550
|
} | {
|
|
3455
|
-
full_access_available?: boolean;
|
|
3456
5551
|
id: string;
|
|
3457
5552
|
input: Types.AgentManaged206;
|
|
3458
5553
|
name: string;
|
|
@@ -3461,9 +5556,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3461
5556
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3462
5557
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3463
5558
|
session_thread_id?: null | string;
|
|
3464
|
-
run_id: string | null;
|
|
3465
|
-
user_once?: true;
|
|
3466
|
-
guarded_rule?: string;
|
|
3467
5559
|
permission_suggestions?: Array<{
|
|
3468
5560
|
type: "add_rules";
|
|
3469
5561
|
behavior: "allow";
|
|
@@ -3473,6 +5565,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3473
5565
|
rule_content: string;
|
|
3474
5566
|
}>;
|
|
3475
5567
|
}>;
|
|
5568
|
+
full_access_available?: boolean;
|
|
5569
|
+
user_once?: true;
|
|
5570
|
+
guarded_rule?: string;
|
|
5571
|
+
run_id: string | null;
|
|
3476
5572
|
} | {
|
|
3477
5573
|
id: string;
|
|
3478
5574
|
processed_at: string;
|
|
@@ -3493,9 +5589,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3493
5589
|
type: "session.status_idle";
|
|
3494
5590
|
run_id: string | null;
|
|
3495
5591
|
} | 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 | {
|
|
3496
|
-
permission_mode_version?: number;
|
|
3497
|
-
previous_permission_mode?: string | null;
|
|
3498
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3499
5592
|
id: string;
|
|
3500
5593
|
processed_at: string;
|
|
3501
5594
|
type: "session.updated";
|
|
@@ -3503,6 +5596,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3503
5596
|
budget?: null | Types.AgentManaged76;
|
|
3504
5597
|
metadata?: Types.AgentManaged246;
|
|
3505
5598
|
title?: null | string;
|
|
5599
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
5600
|
+
previous_permission_mode?: string | null;
|
|
5601
|
+
permission_mode_version?: number;
|
|
3506
5602
|
model?: {
|
|
3507
5603
|
id: string;
|
|
3508
5604
|
};
|
|
@@ -3512,6 +5608,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3512
5608
|
processed_at: string;
|
|
3513
5609
|
forked_from_session_id: string;
|
|
3514
5610
|
forked_from_message_id: string;
|
|
5611
|
+
message_id?: string;
|
|
5612
|
+
session_thread_id?: string | null;
|
|
3515
5613
|
} | {
|
|
3516
5614
|
id: string;
|
|
3517
5615
|
type: "session.goal_changed";
|
|
@@ -3542,6 +5640,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3542
5640
|
created_at: number;
|
|
3543
5641
|
updated_at: number;
|
|
3544
5642
|
} | null;
|
|
5643
|
+
message_id?: string;
|
|
5644
|
+
session_thread_id?: string | null;
|
|
3545
5645
|
} | {
|
|
3546
5646
|
id: string;
|
|
3547
5647
|
type: "session.goal_verification";
|
|
@@ -3556,11 +5656,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
3556
5656
|
reason: string;
|
|
3557
5657
|
next_action?: string;
|
|
3558
5658
|
};
|
|
5659
|
+
message_id?: string;
|
|
5660
|
+
session_thread_id?: string | null;
|
|
3559
5661
|
} | {
|
|
3560
5662
|
id: string;
|
|
3561
5663
|
type: "user.steer";
|
|
3562
5664
|
event_id: string;
|
|
3563
5665
|
processed_at: string;
|
|
5666
|
+
message_id?: string;
|
|
5667
|
+
session_thread_id?: string | null;
|
|
5668
|
+
} | {
|
|
5669
|
+
id: string;
|
|
5670
|
+
type: "cognition.surfaced";
|
|
5671
|
+
processed_at: string;
|
|
5672
|
+
worker_session_id: string;
|
|
5673
|
+
name: string;
|
|
5674
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
5675
|
+
experience_id?: string;
|
|
5676
|
+
result?: {
|
|
5677
|
+
message?: string;
|
|
5678
|
+
links?: Array<string>;
|
|
5679
|
+
files?: Array<{
|
|
5680
|
+
name?: string;
|
|
5681
|
+
href?: string;
|
|
5682
|
+
}>;
|
|
5683
|
+
held?: Array<{
|
|
5684
|
+
id?: string;
|
|
5685
|
+
summary?: string;
|
|
5686
|
+
effect?: string;
|
|
5687
|
+
method?: string;
|
|
5688
|
+
path?: string;
|
|
5689
|
+
expires_at?: string;
|
|
5690
|
+
}>;
|
|
5691
|
+
};
|
|
5692
|
+
} | {
|
|
5693
|
+
id: string;
|
|
5694
|
+
type: "cognition.intention_woken";
|
|
5695
|
+
processed_at: string;
|
|
5696
|
+
node_id: string;
|
|
5697
|
+
reason: "open_engram" | "assignment";
|
|
5698
|
+
} | {
|
|
5699
|
+
id: string;
|
|
5700
|
+
type: "agent.operation_approval_requested";
|
|
5701
|
+
processed_at: string;
|
|
5702
|
+
approval_id: string;
|
|
5703
|
+
operation_id: string;
|
|
5704
|
+
effect: "outward" | "irreversible";
|
|
5705
|
+
method: string;
|
|
5706
|
+
path: string;
|
|
5707
|
+
summary: string;
|
|
5708
|
+
expires_at: string;
|
|
5709
|
+
worker_session_id?: string;
|
|
5710
|
+
worker_name?: string;
|
|
5711
|
+
} | {
|
|
5712
|
+
id: string;
|
|
5713
|
+
type: "agent.operation_approval_decided";
|
|
5714
|
+
processed_at: string;
|
|
5715
|
+
approval_id: string;
|
|
5716
|
+
status: "approved" | "refused" | "expired";
|
|
5717
|
+
} | {
|
|
5718
|
+
id: string;
|
|
5719
|
+
type: "session.prompt_configuration_mismatch";
|
|
5720
|
+
processed_at: string;
|
|
5721
|
+
pinned_revision_id: string;
|
|
5722
|
+
current_revision_id: string;
|
|
5723
|
+
} | {
|
|
5724
|
+
id: string;
|
|
5725
|
+
type: "session.prompt_rev_changed";
|
|
5726
|
+
processed_at: string;
|
|
5727
|
+
config_revision_id: string;
|
|
5728
|
+
changed: Array<{
|
|
5729
|
+
name: string;
|
|
5730
|
+
rev: string | null;
|
|
5731
|
+
}>;
|
|
5732
|
+
} | {
|
|
5733
|
+
id: string;
|
|
5734
|
+
type: "session.computer_tier";
|
|
5735
|
+
processed_at: string;
|
|
5736
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
5737
|
+
tier: "light" | "heavy";
|
|
5738
|
+
duration_ms: number;
|
|
5739
|
+
error_code?: string;
|
|
5740
|
+
status?: {
|
|
5741
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
5742
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
5743
|
+
percent?: number;
|
|
5744
|
+
files_done?: number;
|
|
5745
|
+
files_total?: number;
|
|
5746
|
+
idle_release_at?: number;
|
|
5747
|
+
retry_at?: number;
|
|
5748
|
+
epoch?: number;
|
|
5749
|
+
heavy_instance?: string | null;
|
|
5750
|
+
heavy_paused?: boolean;
|
|
5751
|
+
};
|
|
5752
|
+
} | {
|
|
5753
|
+
id: string;
|
|
5754
|
+
type: "agent.artifact_delivered";
|
|
5755
|
+
processed_at: string;
|
|
5756
|
+
artifact: {
|
|
5757
|
+
object: "artifact";
|
|
5758
|
+
id: string;
|
|
5759
|
+
session_id: string;
|
|
5760
|
+
run_id: string | null;
|
|
5761
|
+
name: string;
|
|
5762
|
+
version: number;
|
|
5763
|
+
parts: Array<{
|
|
5764
|
+
[key: string]: unknown;
|
|
5765
|
+
}>;
|
|
5766
|
+
source_hrefs: Array<string>;
|
|
5767
|
+
create_time: string;
|
|
5768
|
+
update_time: string;
|
|
5769
|
+
};
|
|
5770
|
+
} | {
|
|
5771
|
+
id: string;
|
|
5772
|
+
type: "agent.image_generation";
|
|
5773
|
+
processed_at: string;
|
|
5774
|
+
tool_use_id: string;
|
|
5775
|
+
index: number;
|
|
5776
|
+
total: number;
|
|
5777
|
+
status: string;
|
|
5778
|
+
mode?: string;
|
|
5779
|
+
aspect?: string;
|
|
5780
|
+
prompt?: string;
|
|
5781
|
+
model?: string;
|
|
5782
|
+
file_id?: string;
|
|
5783
|
+
label?: string;
|
|
5784
|
+
width?: number;
|
|
5785
|
+
height?: number;
|
|
5786
|
+
revised_prompt?: string;
|
|
5787
|
+
source_labels?: Array<string>;
|
|
5788
|
+
caption?: string;
|
|
5789
|
+
slot?: number | null;
|
|
5790
|
+
replaces?: string;
|
|
5791
|
+
version?: number;
|
|
5792
|
+
failure?: {
|
|
5793
|
+
reason?: string;
|
|
5794
|
+
};
|
|
5795
|
+
} | {
|
|
5796
|
+
id: string;
|
|
5797
|
+
type: "session.image_labeled";
|
|
5798
|
+
processed_at: string;
|
|
5799
|
+
label: string;
|
|
5800
|
+
file_id: string;
|
|
5801
|
+
origin: "generated" | "uploaded";
|
|
5802
|
+
filename: string;
|
|
5803
|
+
tool_use_id?: string;
|
|
5804
|
+
version?: number;
|
|
5805
|
+
replaced_file_id?: string;
|
|
5806
|
+
} | {
|
|
5807
|
+
id: string;
|
|
5808
|
+
type: "session.image_set_planned";
|
|
5809
|
+
processed_at: string;
|
|
5810
|
+
tool_use_id: string;
|
|
5811
|
+
items: Array<unknown>;
|
|
5812
|
+
title?: string;
|
|
5813
|
+
} | {
|
|
5814
|
+
id: string;
|
|
5815
|
+
type: "session.project_attached";
|
|
5816
|
+
processed_at: string;
|
|
5817
|
+
project: {
|
|
5818
|
+
id: string;
|
|
5819
|
+
name: string;
|
|
5820
|
+
path: string;
|
|
5821
|
+
};
|
|
5822
|
+
message_id?: string;
|
|
5823
|
+
session_thread_id?: string | null;
|
|
5824
|
+
} | {
|
|
5825
|
+
id: string;
|
|
5826
|
+
type: "session.project_detached";
|
|
5827
|
+
processed_at: string;
|
|
5828
|
+
project_id: string;
|
|
5829
|
+
reason?: "project_removed";
|
|
5830
|
+
message_id?: string;
|
|
5831
|
+
session_thread_id?: string | null;
|
|
3564
5832
|
}>;
|
|
3565
5833
|
next_page: string | null;
|
|
3566
5834
|
}>;
|
|
@@ -3593,6 +5861,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3593
5861
|
speed?: "standard" | "fast";
|
|
3594
5862
|
settings?: {
|
|
3595
5863
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5864
|
+
max_output_tokens?: number;
|
|
3596
5865
|
};
|
|
3597
5866
|
};
|
|
3598
5867
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3619,6 +5888,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3619
5888
|
vault_ids: Array<string>;
|
|
3620
5889
|
deployment_id?: null | string;
|
|
3621
5890
|
cwd: string;
|
|
5891
|
+
workspace?: {
|
|
5892
|
+
kind: "shared" | "isolated";
|
|
5893
|
+
path?: string;
|
|
5894
|
+
branch?: string;
|
|
5895
|
+
};
|
|
3622
5896
|
computer_id?: string;
|
|
3623
5897
|
model?: {
|
|
3624
5898
|
id: string;
|
|
@@ -3680,7 +5954,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
3680
5954
|
configurable: boolean;
|
|
3681
5955
|
}>;
|
|
3682
5956
|
}>;
|
|
3683
|
-
next_page: null;
|
|
5957
|
+
next_page: null;
|
|
5958
|
+
}>;
|
|
5959
|
+
};
|
|
5960
|
+
uploads: {
|
|
5961
|
+
contentUrl: {
|
|
5962
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
|
|
5963
|
+
url: string;
|
|
5964
|
+
expires_at: string;
|
|
5965
|
+
}>;
|
|
5966
|
+
};
|
|
5967
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
|
|
5968
|
+
upload_id: string;
|
|
5969
|
+
expires_at: string;
|
|
5970
|
+
url: string;
|
|
5971
|
+
} | {
|
|
5972
|
+
upload_id: string;
|
|
5973
|
+
expires_at: string;
|
|
5974
|
+
part_size: number;
|
|
5975
|
+
parts: Array<{
|
|
5976
|
+
part_number: number;
|
|
5977
|
+
url: string;
|
|
5978
|
+
}>;
|
|
5979
|
+
complete_url: string;
|
|
5980
|
+
status_url: string;
|
|
3684
5981
|
}>;
|
|
3685
5982
|
};
|
|
3686
5983
|
};
|
|
@@ -3947,6 +6244,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3947
6244
|
};
|
|
3948
6245
|
};
|
|
3949
6246
|
};
|
|
6247
|
+
export declare function createBilling(transport: Transport): {
|
|
6248
|
+
prices: {
|
|
6249
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
6250
|
+
};
|
|
6251
|
+
};
|
|
3950
6252
|
export declare function createBrowser(transport: Transport): {
|
|
3951
6253
|
connect: {
|
|
3952
6254
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -3976,6 +6278,10 @@ export declare function createBrowser(transport: Transport): {
|
|
|
3976
6278
|
tab: string;
|
|
3977
6279
|
url: string;
|
|
3978
6280
|
title: string;
|
|
6281
|
+
} | {
|
|
6282
|
+
type: "select";
|
|
6283
|
+
tab: string;
|
|
6284
|
+
values: Array<string>;
|
|
3979
6285
|
} | {
|
|
3980
6286
|
type: "tabs.list";
|
|
3981
6287
|
tabs: Array<{
|
|
@@ -4002,6 +6308,11 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4002
6308
|
type: "evaluate";
|
|
4003
6309
|
tab: string;
|
|
4004
6310
|
value: unknown;
|
|
6311
|
+
} | {
|
|
6312
|
+
type: "set_cookie";
|
|
6313
|
+
tab: string;
|
|
6314
|
+
name: string;
|
|
6315
|
+
domain: string;
|
|
4005
6316
|
}>;
|
|
4006
6317
|
};
|
|
4007
6318
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
@@ -4011,6 +6322,7 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4011
6322
|
nextCursor: string | null;
|
|
4012
6323
|
}>;
|
|
4013
6324
|
};
|
|
6325
|
+
frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
|
|
4014
6326
|
handoff: {
|
|
4015
6327
|
complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
|
|
4016
6328
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
|
|
@@ -4021,6 +6333,7 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4021
6333
|
}>;
|
|
4022
6334
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
|
|
4023
6335
|
retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
|
|
6336
|
+
retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
|
|
4024
6337
|
stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
|
|
4025
6338
|
update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
|
|
4026
6339
|
viewer: {
|
|
@@ -4038,10 +6351,18 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4038
6351
|
images: {
|
|
4039
6352
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
4040
6353
|
};
|
|
6354
|
+
imports: {
|
|
6355
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
|
|
6356
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
|
|
6357
|
+
};
|
|
6358
|
+
libraryVersions: {
|
|
6359
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
|
|
6360
|
+
};
|
|
4041
6361
|
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
4042
6362
|
nodes: {
|
|
4043
6363
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
4044
6364
|
};
|
|
6365
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
|
|
4045
6366
|
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
4046
6367
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
4047
6368
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
@@ -4056,6 +6377,27 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4056
6377
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4057
6378
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4058
6379
|
};
|
|
6380
|
+
libraries: {
|
|
6381
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
|
|
6382
|
+
};
|
|
6383
|
+
};
|
|
6384
|
+
export declare function createContent(transport: Transport): {
|
|
6385
|
+
contents: {
|
|
6386
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
|
|
6387
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
|
|
6388
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
|
|
6389
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
|
|
6390
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
|
|
6391
|
+
unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
|
|
6392
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
|
|
6393
|
+
};
|
|
6394
|
+
playbackSessions: {
|
|
6395
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
|
|
6396
|
+
};
|
|
6397
|
+
versions: {
|
|
6398
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
|
|
6399
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
|
|
6400
|
+
};
|
|
4059
6401
|
};
|
|
4060
6402
|
export declare function createCrm(transport: Transport): {
|
|
4061
6403
|
associations: {
|
|
@@ -4117,6 +6459,33 @@ export declare function createCrm(transport: Transport): {
|
|
|
4117
6459
|
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4118
6460
|
};
|
|
4119
6461
|
};
|
|
6462
|
+
export declare function createCustomer(transport: Transport): {
|
|
6463
|
+
accessTokens: {
|
|
6464
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
|
|
6465
|
+
renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
|
|
6466
|
+
revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
|
|
6467
|
+
};
|
|
6468
|
+
customers: {
|
|
6469
|
+
block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6470
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
|
|
6471
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
|
|
6472
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6473
|
+
revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
|
|
6474
|
+
unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6475
|
+
};
|
|
6476
|
+
grantCodes: {
|
|
6477
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
|
|
6478
|
+
};
|
|
6479
|
+
publishableKeys: {
|
|
6480
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
6481
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
6482
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
6483
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CustomerUpdatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
6484
|
+
};
|
|
6485
|
+
usage: {
|
|
6486
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
6487
|
+
};
|
|
6488
|
+
};
|
|
4120
6489
|
export declare function createCut(transport: Transport): {
|
|
4121
6490
|
exports: {
|
|
4122
6491
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4169,15 +6538,40 @@ export declare function createCut(transport: Transport): {
|
|
|
4169
6538
|
};
|
|
4170
6539
|
export declare function createDatabase(transport: Transport): {
|
|
4171
6540
|
databases: {
|
|
6541
|
+
commands: {
|
|
6542
|
+
/** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
|
|
6543
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
|
|
6544
|
+
result: unknown;
|
|
6545
|
+
}>;
|
|
6546
|
+
};
|
|
6547
|
+
/** @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. */
|
|
4172
6548
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6549
|
+
/** @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. */
|
|
4173
6550
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4174
6551
|
events: {
|
|
6552
|
+
/** @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. */
|
|
4175
6553
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
4176
6554
|
data: Array<Types.DatabaseDatabaseEvent>;
|
|
4177
6555
|
}>;
|
|
4178
6556
|
};
|
|
6557
|
+
keys: {
|
|
6558
|
+
/** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
|
|
6559
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
|
|
6560
|
+
deleted: boolean;
|
|
6561
|
+
}>;
|
|
6562
|
+
/** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
|
|
6563
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6564
|
+
/** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
|
|
6565
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6566
|
+
/** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
|
|
6567
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6568
|
+
/** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
|
|
6569
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6570
|
+
};
|
|
6571
|
+
/** @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. */
|
|
4179
6572
|
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
4180
6573
|
purge: {
|
|
6574
|
+
/** @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. */
|
|
4181
6575
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
4182
6576
|
id: string;
|
|
4183
6577
|
object: "database";
|
|
@@ -4185,38 +6579,149 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4185
6579
|
}>;
|
|
4186
6580
|
};
|
|
4187
6581
|
rest: {
|
|
6582
|
+
/** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
|
|
4188
6583
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6584
|
+
/** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
|
|
4189
6585
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6586
|
+
/** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
|
|
4190
6587
|
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
|
|
6588
|
+
/** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
|
|
4191
6589
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6590
|
+
/** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
|
|
4192
6591
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
4193
6592
|
};
|
|
6593
|
+
/** @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. */
|
|
4194
6594
|
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6595
|
+
/** @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. */
|
|
4195
6596
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4196
6597
|
tables: {
|
|
6598
|
+
/** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
|
|
4197
6599
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6600
|
+
/** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
|
|
4198
6601
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
4199
6602
|
deleted: true;
|
|
4200
6603
|
}>;
|
|
4201
6604
|
fields: {
|
|
6605
|
+
/** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
|
|
4202
6606
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6607
|
+
/** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
|
|
4203
6608
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6609
|
+
/** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
|
|
4204
6610
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
4205
6611
|
};
|
|
6612
|
+
/** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
|
|
4206
6613
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
4207
6614
|
data: Array<Types.DatabaseTable>;
|
|
4208
6615
|
}>;
|
|
6616
|
+
/** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
|
|
4209
6617
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6618
|
+
/** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
|
|
4210
6619
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
4211
6620
|
};
|
|
6621
|
+
/** @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. */
|
|
4212
6622
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4213
6623
|
};
|
|
6624
|
+
kv: {
|
|
6625
|
+
commands: {
|
|
6626
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
|
|
6627
|
+
result: unknown;
|
|
6628
|
+
}>;
|
|
6629
|
+
};
|
|
6630
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6631
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6632
|
+
events: {
|
|
6633
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
|
|
6634
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6635
|
+
}>;
|
|
6636
|
+
};
|
|
6637
|
+
keys: {
|
|
6638
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
|
|
6639
|
+
deleted: boolean;
|
|
6640
|
+
}>;
|
|
6641
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6642
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6643
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6644
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6645
|
+
};
|
|
6646
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6647
|
+
purge: {
|
|
6648
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
|
|
6649
|
+
id: string;
|
|
6650
|
+
object: "database";
|
|
6651
|
+
purged: true;
|
|
6652
|
+
}>;
|
|
6653
|
+
};
|
|
6654
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6655
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6656
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6657
|
+
};
|
|
6658
|
+
table: {
|
|
6659
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6660
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6661
|
+
events: {
|
|
6662
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
|
|
6663
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6664
|
+
}>;
|
|
6665
|
+
};
|
|
6666
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6667
|
+
purge: {
|
|
6668
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
|
|
6669
|
+
id: string;
|
|
6670
|
+
object: "database";
|
|
6671
|
+
purged: true;
|
|
6672
|
+
}>;
|
|
6673
|
+
};
|
|
6674
|
+
rest: {
|
|
6675
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6676
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6677
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
|
|
6678
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6679
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6680
|
+
};
|
|
6681
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6682
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6683
|
+
tables: {
|
|
6684
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6685
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
|
|
6686
|
+
deleted: true;
|
|
6687
|
+
}>;
|
|
6688
|
+
fields: {
|
|
6689
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6690
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6691
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6692
|
+
};
|
|
6693
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
|
|
6694
|
+
data: Array<Types.DatabaseTable>;
|
|
6695
|
+
}>;
|
|
6696
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6697
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6698
|
+
};
|
|
6699
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6700
|
+
};
|
|
4214
6701
|
};
|
|
4215
6702
|
export declare function createDevops(transport: Transport): {
|
|
6703
|
+
changes: {
|
|
6704
|
+
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
6705
|
+
gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
|
|
6706
|
+
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
6707
|
+
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
6708
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
6709
|
+
};
|
|
6710
|
+
connections: {
|
|
6711
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
|
|
6712
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
|
|
6713
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
|
|
6714
|
+
repositories: {
|
|
6715
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
|
|
6716
|
+
};
|
|
6717
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
|
|
6718
|
+
};
|
|
4216
6719
|
environments: {
|
|
4217
6720
|
checkpoints: {
|
|
4218
6721
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
|
|
4219
6722
|
};
|
|
6723
|
+
rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
|
|
6724
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
|
|
4220
6725
|
};
|
|
4221
6726
|
flags: {
|
|
4222
6727
|
archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
|
|
@@ -4235,23 +6740,54 @@ export declare function createDevops(transport: Transport): {
|
|
|
4235
6740
|
rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
|
|
4236
6741
|
};
|
|
4237
6742
|
projects: {
|
|
6743
|
+
changes: {
|
|
6744
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6745
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6746
|
+
};
|
|
6747
|
+
cleanups: {
|
|
6748
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6749
|
+
};
|
|
6750
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6751
|
+
defaultBranch: {
|
|
6752
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6753
|
+
};
|
|
4238
6754
|
environments: {
|
|
4239
6755
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6756
|
+
targets: {
|
|
6757
|
+
deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
|
|
6758
|
+
retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
|
|
6759
|
+
state: {
|
|
6760
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
|
|
6761
|
+
deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
|
|
6762
|
+
lock: {
|
|
6763
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
|
|
6764
|
+
};
|
|
6765
|
+
};
|
|
6766
|
+
};
|
|
4240
6767
|
};
|
|
4241
6768
|
flags: {
|
|
4242
6769
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
|
|
4243
6770
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
|
|
6771
|
+
reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
|
|
4244
6772
|
};
|
|
4245
6773
|
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
|
|
4246
6774
|
promotions: {
|
|
4247
6775
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
|
|
4248
6776
|
};
|
|
6777
|
+
pullRequests: {
|
|
6778
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
|
|
6779
|
+
};
|
|
4249
6780
|
releases: {
|
|
4250
6781
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
|
|
4251
6782
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
|
|
4252
6783
|
};
|
|
4253
6784
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
|
|
4254
6785
|
retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
|
|
6786
|
+
retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
|
|
6787
|
+
segments: {
|
|
6788
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
|
|
6789
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
|
|
6790
|
+
};
|
|
4255
6791
|
targets: {
|
|
4256
6792
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
|
|
4257
6793
|
refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
|
|
@@ -4273,10 +6809,21 @@ export declare function createDevops(transport: Transport): {
|
|
|
4273
6809
|
testSuites: {
|
|
4274
6810
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
|
|
4275
6811
|
};
|
|
6812
|
+
units: {
|
|
6813
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
|
|
6814
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
|
|
6815
|
+
};
|
|
6816
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
|
|
6817
|
+
workspaces: {
|
|
6818
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
|
|
6819
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
|
|
6820
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
|
|
6821
|
+
};
|
|
4276
6822
|
};
|
|
4277
6823
|
promotions: {
|
|
4278
6824
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
4279
6825
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6826
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
4280
6827
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
4281
6828
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
4282
6829
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -4285,6 +6832,16 @@ export declare function createDevops(transport: Transport): {
|
|
|
4285
6832
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
|
|
4286
6833
|
};
|
|
4287
6834
|
};
|
|
6835
|
+
pullRequests: {
|
|
6836
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
6837
|
+
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
6838
|
+
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6839
|
+
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6840
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6841
|
+
reviews: {
|
|
6842
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6843
|
+
};
|
|
6844
|
+
};
|
|
4288
6845
|
releases: {
|
|
4289
6846
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
4290
6847
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
|
|
@@ -4292,6 +6849,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
4292
6849
|
rollouts: {
|
|
4293
6850
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
|
|
4294
6851
|
};
|
|
6852
|
+
segments: {
|
|
6853
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
|
|
6854
|
+
};
|
|
4295
6855
|
testCases: {
|
|
4296
6856
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
|
|
4297
6857
|
};
|
|
@@ -4309,10 +6869,24 @@ export declare function createDevops(transport: Transport): {
|
|
|
4309
6869
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
|
|
4310
6870
|
};
|
|
4311
6871
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
|
|
6872
|
+
retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
|
|
4312
6873
|
};
|
|
4313
6874
|
testSuites: {
|
|
4314
6875
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
|
|
4315
6876
|
};
|
|
6877
|
+
units: {
|
|
6878
|
+
connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
|
|
6879
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
|
|
6880
|
+
exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
|
|
6881
|
+
fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
|
|
6882
|
+
push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
|
|
6883
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
|
|
6884
|
+
start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
|
|
6885
|
+
stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
|
|
6886
|
+
transitions: {
|
|
6887
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
|
|
6888
|
+
};
|
|
6889
|
+
};
|
|
4316
6890
|
};
|
|
4317
6891
|
export declare function createFile(transport: Transport): {
|
|
4318
6892
|
files: {
|
|
@@ -4403,12 +6977,19 @@ export declare function createMedia(transport: Transport): {
|
|
|
4403
6977
|
};
|
|
4404
6978
|
libraries: {
|
|
4405
6979
|
assets: {
|
|
6980
|
+
align: {
|
|
6981
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
|
|
6982
|
+
};
|
|
4406
6983
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4407
6984
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4408
6985
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
4409
6986
|
frames: {
|
|
4410
6987
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4411
6988
|
};
|
|
6989
|
+
hls: {
|
|
6990
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6991
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6992
|
+
};
|
|
4412
6993
|
import: {
|
|
4413
6994
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4414
6995
|
};
|
|
@@ -4421,6 +7002,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
4421
7002
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
|
|
4422
7003
|
};
|
|
4423
7004
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
|
|
7005
|
+
versions: {
|
|
7006
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
|
|
7007
|
+
};
|
|
4424
7008
|
};
|
|
4425
7009
|
batches: {
|
|
4426
7010
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
|
|
@@ -4437,20 +7021,17 @@ export declare function createMedia(transport: Transport): {
|
|
|
4437
7021
|
folders: {
|
|
4438
7022
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
|
|
4439
7023
|
};
|
|
4440
|
-
generations: {
|
|
4441
|
-
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
|
|
4442
|
-
};
|
|
4443
7024
|
jobs: {
|
|
4444
7025
|
cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
|
|
4445
7026
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
|
|
4446
|
-
outputs: {
|
|
4447
|
-
save: {
|
|
4448
|
-
create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
|
|
4449
|
-
};
|
|
4450
|
-
};
|
|
4451
7027
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
|
|
4452
7028
|
};
|
|
4453
7029
|
list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
|
|
7030
|
+
materials: {
|
|
7031
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
|
|
7032
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
|
|
7033
|
+
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
|
|
7034
|
+
};
|
|
4454
7035
|
purge: {
|
|
4455
7036
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
|
|
4456
7037
|
};
|
|
@@ -4475,10 +7056,56 @@ export declare function createMedia(transport: Transport): {
|
|
|
4475
7056
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
4476
7057
|
};
|
|
4477
7058
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
7059
|
+
voices: {
|
|
7060
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
7061
|
+
designs: {
|
|
7062
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
7063
|
+
};
|
|
7064
|
+
};
|
|
7065
|
+
};
|
|
7066
|
+
pipelines: {
|
|
7067
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7068
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaPipelineData>) => Promise<Types.MediaPipelineDeleted>;
|
|
7069
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaPipelinesData> | undefined) => Promise<Types.MediaPipelineList>;
|
|
7070
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7071
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
4478
7072
|
};
|
|
4479
7073
|
speech: {
|
|
4480
7074
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
4481
7075
|
};
|
|
7076
|
+
streams: {
|
|
7077
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
|
|
7078
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
|
|
7079
|
+
disable: {
|
|
7080
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7081
|
+
};
|
|
7082
|
+
enable: {
|
|
7083
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7084
|
+
};
|
|
7085
|
+
events: {
|
|
7086
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
|
|
7087
|
+
};
|
|
7088
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
|
|
7089
|
+
outputs: {
|
|
7090
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
|
|
7091
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamOutputData>) => Promise<Types.MediaStreamOutputDeleted>;
|
|
7092
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamOutputsData>) => Promise<Types.MediaStreamOutputList>;
|
|
7093
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
|
|
7094
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
|
|
7095
|
+
};
|
|
7096
|
+
playbackToken: {
|
|
7097
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamPlaybackData>) => Promise<Types.MediaStreamPlayback>;
|
|
7098
|
+
};
|
|
7099
|
+
resetToken: {
|
|
7100
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
|
|
7101
|
+
};
|
|
7102
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7103
|
+
retrievePlaylist: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamLivePlaylistData>) => Promise<string>;
|
|
7104
|
+
subscribeToken: {
|
|
7105
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamSubscriptionData>) => Promise<Types.MediaStreamSubscription>;
|
|
7106
|
+
};
|
|
7107
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7108
|
+
};
|
|
4482
7109
|
videos: {
|
|
4483
7110
|
generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
|
|
4484
7111
|
};
|
|
@@ -4681,7 +7308,35 @@ export declare function createModel(transport: Transport): {
|
|
|
4681
7308
|
countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
|
|
4682
7309
|
create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
|
|
4683
7310
|
};
|
|
7311
|
+
modelAccess: {
|
|
7312
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
|
|
7313
|
+
items: Array<{
|
|
7314
|
+
model: string;
|
|
7315
|
+
access_required: boolean;
|
|
7316
|
+
granted: boolean;
|
|
7317
|
+
granted_by: string | null;
|
|
7318
|
+
granted_at: string | null;
|
|
7319
|
+
sell_input_price: number | null;
|
|
7320
|
+
sell_output_price: number | null;
|
|
7321
|
+
}>;
|
|
7322
|
+
}>;
|
|
7323
|
+
};
|
|
4684
7324
|
models: {
|
|
7325
|
+
access: {
|
|
7326
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
|
|
7327
|
+
model: string;
|
|
7328
|
+
revoked: true;
|
|
7329
|
+
}>;
|
|
7330
|
+
update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
|
|
7331
|
+
model: string;
|
|
7332
|
+
access_required: boolean;
|
|
7333
|
+
granted: true;
|
|
7334
|
+
granted_by: string;
|
|
7335
|
+
granted_at: string;
|
|
7336
|
+
sell_input_price: number | null;
|
|
7337
|
+
sell_output_price: number | null;
|
|
7338
|
+
}>;
|
|
7339
|
+
};
|
|
4685
7340
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
|
|
4686
7341
|
object: "list";
|
|
4687
7342
|
data: Array<{
|
|
@@ -4696,6 +7351,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4696
7351
|
type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
|
|
4697
7352
|
supported_apis: Array<string>;
|
|
4698
7353
|
tags: Array<string>;
|
|
7354
|
+
access_required: boolean;
|
|
4699
7355
|
architecture: {
|
|
4700
7356
|
modality: string;
|
|
4701
7357
|
input_modalities: Array<string>;
|
|
@@ -4742,6 +7398,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4742
7398
|
type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
|
|
4743
7399
|
supported_apis: Array<string>;
|
|
4744
7400
|
tags: Array<string>;
|
|
7401
|
+
access_required: boolean;
|
|
4745
7402
|
architecture: {
|
|
4746
7403
|
modality: string;
|
|
4747
7404
|
input_modalities: Array<string>;
|
|
@@ -4968,6 +7625,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4968
7625
|
unsigned_urls: Array<string>;
|
|
4969
7626
|
usage?: {
|
|
4970
7627
|
cost: number;
|
|
7628
|
+
billed_seconds?: number;
|
|
4971
7629
|
};
|
|
4972
7630
|
}>;
|
|
4973
7631
|
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
|
|
@@ -4998,6 +7656,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4998
7656
|
unsigned_urls: Array<string>;
|
|
4999
7657
|
usage?: {
|
|
5000
7658
|
cost: number;
|
|
7659
|
+
billed_seconds?: number;
|
|
5001
7660
|
};
|
|
5002
7661
|
}>;
|
|
5003
7662
|
has_more: boolean;
|
|
@@ -5026,6 +7685,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5026
7685
|
unsigned_urls: Array<string>;
|
|
5027
7686
|
usage?: {
|
|
5028
7687
|
cost: number;
|
|
7688
|
+
billed_seconds?: number;
|
|
5029
7689
|
};
|
|
5030
7690
|
}>;
|
|
5031
7691
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
@@ -5319,6 +7979,84 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5319
7979
|
next_page: string | null;
|
|
5320
7980
|
}>;
|
|
5321
7981
|
};
|
|
7982
|
+
notifications: {
|
|
7983
|
+
deliveries: {
|
|
7984
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
|
|
7985
|
+
[key: string]: unknown;
|
|
7986
|
+
}>;
|
|
7987
|
+
};
|
|
7988
|
+
letters: {
|
|
7989
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7990
|
+
unread: number;
|
|
7991
|
+
}>;
|
|
7992
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7993
|
+
letters: Array<{
|
|
7994
|
+
id: string;
|
|
7995
|
+
sender: string;
|
|
7996
|
+
summary: string;
|
|
7997
|
+
body: string;
|
|
7998
|
+
thread: string;
|
|
7999
|
+
kind: "notice" | "mention" | "decision";
|
|
8000
|
+
source: {
|
|
8001
|
+
[key: string]: unknown;
|
|
8002
|
+
};
|
|
8003
|
+
read: boolean;
|
|
8004
|
+
deliveredAt: string;
|
|
8005
|
+
createTime: string;
|
|
8006
|
+
reason: string;
|
|
8007
|
+
archived: boolean;
|
|
8008
|
+
}>;
|
|
8009
|
+
nextCursor: string;
|
|
8010
|
+
unread: number;
|
|
8011
|
+
}>;
|
|
8012
|
+
read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
|
|
8013
|
+
unread: number;
|
|
8014
|
+
}>;
|
|
8015
|
+
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
8016
|
+
unread: number;
|
|
8017
|
+
}>;
|
|
8018
|
+
};
|
|
8019
|
+
organizationDefault: {
|
|
8020
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
8021
|
+
[key: string]: unknown;
|
|
8022
|
+
}>;
|
|
8023
|
+
};
|
|
8024
|
+
preferences: {
|
|
8025
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
|
|
8026
|
+
[key: string]: unknown;
|
|
8027
|
+
}>;
|
|
8028
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
|
|
8029
|
+
name: string;
|
|
8030
|
+
workflows: {
|
|
8031
|
+
[key: string]: unknown;
|
|
8032
|
+
};
|
|
8033
|
+
channelOptOuts?: Array<"in_app" | "email" | "sms">;
|
|
8034
|
+
updateTime?: string;
|
|
8035
|
+
catalog: Array<{
|
|
8036
|
+
workflow: string;
|
|
8037
|
+
group: string;
|
|
8038
|
+
title: string;
|
|
8039
|
+
description?: string;
|
|
8040
|
+
severity: "high" | "medium" | "low" | "none";
|
|
8041
|
+
critical: boolean;
|
|
8042
|
+
channels: Array<string>;
|
|
8043
|
+
}>;
|
|
8044
|
+
organization: {
|
|
8045
|
+
[key: string]: unknown;
|
|
8046
|
+
};
|
|
8047
|
+
effective: {
|
|
8048
|
+
[key: string]: unknown;
|
|
8049
|
+
};
|
|
8050
|
+
}>;
|
|
8051
|
+
};
|
|
8052
|
+
retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
|
|
8053
|
+
unreadCount: number;
|
|
8054
|
+
unseenCount: number;
|
|
8055
|
+
}>;
|
|
8056
|
+
retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
|
|
8057
|
+
[key: string]: unknown;
|
|
8058
|
+
}>;
|
|
8059
|
+
};
|
|
5322
8060
|
usage: {
|
|
5323
8061
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
5324
8062
|
object: "page";
|
|
@@ -5342,8 +8080,163 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5342
8080
|
}>;
|
|
5343
8081
|
};
|
|
5344
8082
|
};
|
|
8083
|
+
export declare function createRegistry(transport: Transport): {
|
|
8084
|
+
installations: {
|
|
8085
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
|
|
8086
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
8087
|
+
};
|
|
8088
|
+
packages: {
|
|
8089
|
+
git: {
|
|
8090
|
+
commits: {
|
|
8091
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
8092
|
+
};
|
|
8093
|
+
files: {
|
|
8094
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
8095
|
+
};
|
|
8096
|
+
refs: {
|
|
8097
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
8098
|
+
};
|
|
8099
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
8100
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
8101
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
8102
|
+
trees: {
|
|
8103
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
8104
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
8105
|
+
};
|
|
8106
|
+
};
|
|
8107
|
+
gitCredential: {
|
|
8108
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
8109
|
+
};
|
|
8110
|
+
installations: {
|
|
8111
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
8112
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
8113
|
+
};
|
|
8114
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
|
|
8115
|
+
versions: {
|
|
8116
|
+
contents: {
|
|
8117
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
|
|
8118
|
+
};
|
|
8119
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
|
|
8120
|
+
files: {
|
|
8121
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
|
|
8122
|
+
};
|
|
8123
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
|
|
8124
|
+
retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
|
|
8125
|
+
withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
|
|
8126
|
+
};
|
|
8127
|
+
};
|
|
8128
|
+
repositories: {
|
|
8129
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
|
|
8130
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
|
|
8131
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
|
|
8132
|
+
packages: {
|
|
8133
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
|
|
8134
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
|
|
8135
|
+
};
|
|
8136
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
|
|
8137
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
|
|
8138
|
+
};
|
|
8139
|
+
};
|
|
5345
8140
|
export declare function createSandbox(transport: Transport): {
|
|
8141
|
+
byod: {
|
|
8142
|
+
devices: {
|
|
8143
|
+
disconnect: {
|
|
8144
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
8145
|
+
id: string;
|
|
8146
|
+
object: "byod_device";
|
|
8147
|
+
disconnected: true;
|
|
8148
|
+
}>;
|
|
8149
|
+
};
|
|
8150
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
8151
|
+
data: Array<{
|
|
8152
|
+
object: "byod_device";
|
|
8153
|
+
id: string;
|
|
8154
|
+
platform: "android" | "macos" | "linux";
|
|
8155
|
+
name: string;
|
|
8156
|
+
model: string;
|
|
8157
|
+
os_version: string;
|
|
8158
|
+
online: boolean;
|
|
8159
|
+
last_seen_at: string | null;
|
|
8160
|
+
created_at: string;
|
|
8161
|
+
capabilities: Array<"display" | "agent">;
|
|
8162
|
+
agent_dirs: Array<string>;
|
|
8163
|
+
allow_bypass: boolean;
|
|
8164
|
+
}>;
|
|
8165
|
+
}>;
|
|
8166
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
8167
|
+
object: "byod_device";
|
|
8168
|
+
id: string;
|
|
8169
|
+
platform: "android" | "macos" | "linux";
|
|
8170
|
+
name: string;
|
|
8171
|
+
model: string;
|
|
8172
|
+
os_version: string;
|
|
8173
|
+
online: boolean;
|
|
8174
|
+
last_seen_at: string | null;
|
|
8175
|
+
created_at: string;
|
|
8176
|
+
capabilities: Array<"display" | "agent">;
|
|
8177
|
+
agent_dirs: Array<string>;
|
|
8178
|
+
allow_bypass: boolean;
|
|
8179
|
+
}>;
|
|
8180
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
8181
|
+
object: "byod_device";
|
|
8182
|
+
id: string;
|
|
8183
|
+
platform: "android" | "macos" | "linux";
|
|
8184
|
+
name: string;
|
|
8185
|
+
model: string;
|
|
8186
|
+
os_version: string;
|
|
8187
|
+
online: boolean;
|
|
8188
|
+
last_seen_at: string | null;
|
|
8189
|
+
created_at: string;
|
|
8190
|
+
capabilities: Array<"display" | "agent">;
|
|
8191
|
+
agent_dirs: Array<string>;
|
|
8192
|
+
allow_bypass: boolean;
|
|
8193
|
+
}>;
|
|
8194
|
+
};
|
|
8195
|
+
pairings: {
|
|
8196
|
+
claim: {
|
|
8197
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
8198
|
+
device_id: string;
|
|
8199
|
+
credential: string;
|
|
8200
|
+
socket_url: string;
|
|
8201
|
+
}>;
|
|
8202
|
+
};
|
|
8203
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
8204
|
+
code: string;
|
|
8205
|
+
expires_at: string;
|
|
8206
|
+
qr: string;
|
|
8207
|
+
}>;
|
|
8208
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
8209
|
+
organization_name: string;
|
|
8210
|
+
expires_at: string;
|
|
8211
|
+
}>;
|
|
8212
|
+
};
|
|
8213
|
+
};
|
|
8214
|
+
events: {
|
|
8215
|
+
sandboxes: {
|
|
8216
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
8217
|
+
};
|
|
8218
|
+
};
|
|
5346
8219
|
sandboxes: {
|
|
8220
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
8221
|
+
type: "snapshot";
|
|
8222
|
+
snapshot: string;
|
|
8223
|
+
refs: number;
|
|
8224
|
+
truncated: boolean;
|
|
8225
|
+
package: string;
|
|
8226
|
+
} | {
|
|
8227
|
+
type: "screenshot";
|
|
8228
|
+
mediaType: string;
|
|
8229
|
+
data: string;
|
|
8230
|
+
width: number;
|
|
8231
|
+
height: number;
|
|
8232
|
+
bytes: number;
|
|
8233
|
+
} | {
|
|
8234
|
+
type: "ok";
|
|
8235
|
+
ms?: number;
|
|
8236
|
+
} | {
|
|
8237
|
+
type: "wait";
|
|
8238
|
+
ms: number;
|
|
8239
|
+
}>;
|
|
5347
8240
|
commands: {
|
|
5348
8241
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
5349
8242
|
stdout: string;
|
|
@@ -5421,6 +8314,20 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5421
8314
|
snapshots: {
|
|
5422
8315
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
|
|
5423
8316
|
};
|
|
8317
|
+
tasks: {
|
|
8318
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
|
|
8319
|
+
taskId: string;
|
|
8320
|
+
instanceId: string;
|
|
8321
|
+
startedAt: number;
|
|
8322
|
+
}>;
|
|
8323
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
|
|
8324
|
+
text: string;
|
|
8325
|
+
nextOffset: number;
|
|
8326
|
+
done: boolean;
|
|
8327
|
+
exitCode: number | null;
|
|
8328
|
+
size: number | null;
|
|
8329
|
+
}>;
|
|
8330
|
+
};
|
|
5424
8331
|
timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
|
|
5425
8332
|
update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
|
|
5426
8333
|
name: string;
|
|
@@ -5463,7 +8370,6 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5463
8370
|
buildCount: number;
|
|
5464
8371
|
envdVersion: Types.SandboxEnvdVersion;
|
|
5465
8372
|
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5466
|
-
lifecycles?: Array<"ephemeral" | "persistent">;
|
|
5467
8373
|
official: boolean;
|
|
5468
8374
|
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5469
8375
|
}[]>;
|
|
@@ -5560,6 +8466,14 @@ export declare function createSearch(transport: Transport): {
|
|
|
5560
8466
|
}>;
|
|
5561
8467
|
};
|
|
5562
8468
|
};
|
|
8469
|
+
export declare function createShare(transport: Transport): {
|
|
8470
|
+
permissions: {
|
|
8471
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
8472
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
|
|
8473
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
|
|
8474
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
8475
|
+
};
|
|
8476
|
+
};
|
|
5563
8477
|
export declare function createStudio(transport: Transport): {
|
|
5564
8478
|
codexes: {
|
|
5565
8479
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
|
|
@@ -5607,6 +8521,11 @@ export declare function createStudio(transport: Transport): {
|
|
|
5607
8521
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
|
|
5608
8522
|
drafts: {
|
|
5609
8523
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
|
|
8524
|
+
foreshadows: {
|
|
8525
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8526
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
|
|
8527
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
|
|
8528
|
+
};
|
|
5610
8529
|
list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
|
|
5611
8530
|
rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
|
|
5612
8531
|
renditions: {
|
|
@@ -5625,8 +8544,14 @@ export declare function createStudio(transport: Transport): {
|
|
|
5625
8544
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
|
|
5626
8545
|
};
|
|
5627
8546
|
update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
|
|
8547
|
+
updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
|
|
5628
8548
|
};
|
|
5629
8549
|
list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
|
|
8550
|
+
progressions: {
|
|
8551
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
|
|
8552
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8553
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
|
|
8554
|
+
};
|
|
5630
8555
|
renditions: {
|
|
5631
8556
|
delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
|
|
5632
8557
|
list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
|
|
@@ -5638,6 +8563,22 @@ export declare function createStudio(transport: Transport): {
|
|
|
5638
8563
|
};
|
|
5639
8564
|
resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
|
|
5640
8565
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
|
|
8566
|
+
reviewSettings: {
|
|
8567
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
|
|
8568
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
|
|
8569
|
+
};
|
|
8570
|
+
reviewers: {
|
|
8571
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
|
|
8572
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
|
|
8573
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
|
|
8574
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
|
|
8575
|
+
};
|
|
8576
|
+
reviews: {
|
|
8577
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
|
|
8578
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
|
|
8579
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
|
|
8580
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
|
|
8581
|
+
};
|
|
5641
8582
|
units: {
|
|
5642
8583
|
blocks: {
|
|
5643
8584
|
patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
|
|
@@ -5648,7 +8589,6 @@ export declare function createStudio(transport: Transport): {
|
|
|
5648
8589
|
update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
|
|
5649
8590
|
};
|
|
5650
8591
|
update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
|
|
5651
|
-
updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
|
|
5652
8592
|
};
|
|
5653
8593
|
};
|
|
5654
8594
|
export declare function createTicket(transport: Transport): {
|
|
@@ -5695,6 +8635,7 @@ export declare function createTicket(transport: Transport): {
|
|
|
5695
8635
|
repositories: Array<Types.TicketRepository>;
|
|
5696
8636
|
next_page_token: string;
|
|
5697
8637
|
}>;
|
|
8638
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
|
|
5698
8639
|
};
|
|
5699
8640
|
tickets: {
|
|
5700
8641
|
comments: {
|
|
@@ -5820,13 +8761,139 @@ export declare function createVault(transport: Transport): {
|
|
|
5820
8761
|
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
5821
8762
|
};
|
|
5822
8763
|
};
|
|
8764
|
+
export declare function createWorkforce(transport: Transport): {
|
|
8765
|
+
actors: {
|
|
8766
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
8767
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
8768
|
+
};
|
|
8769
|
+
assignments: {
|
|
8770
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
8771
|
+
makePrimary: {
|
|
8772
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8773
|
+
};
|
|
8774
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8775
|
+
terminate: {
|
|
8776
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8777
|
+
};
|
|
8778
|
+
transfer: {
|
|
8779
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8780
|
+
};
|
|
8781
|
+
};
|
|
8782
|
+
departments: {
|
|
8783
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8784
|
+
dissolve: {
|
|
8785
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8786
|
+
};
|
|
8787
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
8788
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8789
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8790
|
+
/** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
|
|
8791
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
|
|
8792
|
+
};
|
|
8793
|
+
effectiveSpec: {
|
|
8794
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
8795
|
+
};
|
|
8796
|
+
jobs: {
|
|
8797
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8798
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
8799
|
+
retire: {
|
|
8800
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8801
|
+
};
|
|
8802
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8803
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8804
|
+
};
|
|
8805
|
+
keyResults: {
|
|
8806
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8807
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
8808
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8809
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8810
|
+
};
|
|
8811
|
+
ladders: {
|
|
8812
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8813
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
8814
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8815
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8816
|
+
};
|
|
8817
|
+
objectives: {
|
|
8818
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8819
|
+
grade: {
|
|
8820
|
+
create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8821
|
+
};
|
|
8822
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
8823
|
+
parents: {
|
|
8824
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8825
|
+
};
|
|
8826
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8827
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8828
|
+
};
|
|
8829
|
+
periods: {
|
|
8830
|
+
close: {
|
|
8831
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8832
|
+
};
|
|
8833
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8834
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
8835
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8836
|
+
};
|
|
8837
|
+
positions: {
|
|
8838
|
+
close: {
|
|
8839
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8840
|
+
};
|
|
8841
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
8842
|
+
designateHead: {
|
|
8843
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
8844
|
+
};
|
|
8845
|
+
freeze: {
|
|
8846
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8847
|
+
};
|
|
8848
|
+
hire: {
|
|
8849
|
+
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
8850
|
+
};
|
|
8851
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
8852
|
+
replaceHolder: {
|
|
8853
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
8854
|
+
};
|
|
8855
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8856
|
+
unfreeze: {
|
|
8857
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8858
|
+
};
|
|
8859
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8860
|
+
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8861
|
+
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
8862
|
+
};
|
|
8863
|
+
reconcile: {
|
|
8864
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8865
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8866
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
8867
|
+
run: {
|
|
8868
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8869
|
+
};
|
|
8870
|
+
status: {
|
|
8871
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8872
|
+
};
|
|
8873
|
+
};
|
|
8874
|
+
specSchema: {
|
|
8875
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
8876
|
+
};
|
|
8877
|
+
specs: {
|
|
8878
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
8879
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
8880
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
8881
|
+
revisions: {
|
|
8882
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
8883
|
+
};
|
|
8884
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
8885
|
+
};
|
|
8886
|
+
};
|
|
5823
8887
|
export declare const resourceFactories: {
|
|
5824
8888
|
agent: typeof createAgent;
|
|
5825
8889
|
application: typeof createApplication;
|
|
5826
8890
|
automation: typeof createAutomation;
|
|
8891
|
+
billing: typeof createBilling;
|
|
5827
8892
|
browser: typeof createBrowser;
|
|
5828
8893
|
canvas: typeof createCanvas;
|
|
8894
|
+
content: typeof createContent;
|
|
5829
8895
|
crm: typeof createCrm;
|
|
8896
|
+
customer: typeof createCustomer;
|
|
5830
8897
|
cut: typeof createCut;
|
|
5831
8898
|
database: typeof createDatabase;
|
|
5832
8899
|
devops: typeof createDevops;
|
|
@@ -5837,9 +8904,12 @@ export declare const resourceFactories: {
|
|
|
5837
8904
|
model: typeof createModel;
|
|
5838
8905
|
ontology: typeof createOntology;
|
|
5839
8906
|
organization: typeof createOrganization;
|
|
8907
|
+
registry: typeof createRegistry;
|
|
5840
8908
|
sandbox: typeof createSandbox;
|
|
5841
8909
|
search: typeof createSearch;
|
|
8910
|
+
share: typeof createShare;
|
|
5842
8911
|
studio: typeof createStudio;
|
|
5843
8912
|
ticket: typeof createTicket;
|
|
5844
8913
|
vault: typeof createVault;
|
|
8914
|
+
workforce: typeof createWorkforce;
|
|
5845
8915
|
};
|