@deepraxis/sdk 0.1.1-dev.b176367 → 0.1.1-dev.b316246

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.
Files changed (44) hide show
  1. package/METHODS.md +1580 -226
  2. package/README.md +5 -5
  3. package/dist/automation.d.ts +61 -0
  4. package/dist/core/binary-operations.d.ts +3 -0
  5. package/dist/core/binary-operations.js +14 -0
  6. package/dist/core/client.d.ts +11 -1
  7. package/dist/core/client.js +13 -0
  8. package/dist/core/credentials.d.ts +22 -3
  9. package/dist/core/credentials.js +44 -5
  10. package/dist/core/errors.d.ts +6 -0
  11. package/dist/core/errors.js +8 -0
  12. package/dist/core/transport.d.ts +10 -1
  13. package/dist/core/transport.js +21 -6
  14. package/dist/generated/binary-operations.gen.d.ts +3 -0
  15. package/dist/generated/binary-operations.gen.js +14 -0
  16. package/dist/generated/index.d.ts +2 -2
  17. package/dist/generated/index.js +1 -1
  18. package/dist/generated/sdk.gen.d.ts +3607 -846
  19. package/dist/generated/sdk.gen.js +10055 -2082
  20. package/dist/generated/types.gen.d.ts +91777 -43070
  21. package/dist/helpers/application-build.d.ts +10 -0
  22. package/dist/helpers/application-build.js +98 -0
  23. package/dist/helpers/application-publish.d.ts +8 -0
  24. package/dist/helpers/application-publish.js +42 -11
  25. package/dist/helpers/browser-actions.d.ts +102 -0
  26. package/dist/helpers/browser-actions.js +146 -0
  27. package/dist/helpers/browser-connect-error.d.ts +28 -0
  28. package/dist/helpers/browser-connect-error.js +74 -0
  29. package/dist/helpers/browser-connect.d.ts +111 -0
  30. package/dist/helpers/browser-connect.js +395 -0
  31. package/dist/helpers/browser-decisions.d.ts +88 -0
  32. package/dist/helpers/browser-decisions.js +137 -0
  33. package/dist/helpers/browser-documentation.d.ts +2 -0
  34. package/dist/helpers/browser-documentation.js +56 -0
  35. package/dist/helpers/file-upload.d.ts +2 -2
  36. package/dist/helpers/sandbox-templates.d.ts +121 -0
  37. package/dist/helpers/sandbox-templates.js +60 -0
  38. package/dist/index.d.ts +6 -0
  39. package/dist/index.js +3 -0
  40. package/dist/operations.generated.d.ts +36 -13482
  41. package/dist/operations.generated.js +21201 -5242
  42. package/dist/resources.generated.d.ts +3078 -400
  43. package/dist/resources.generated.js +863 -38
  44. package/package.json +2 -2
@@ -10,16 +10,17 @@ export declare function createAgent(transport: Transport): {
10
10
  description: null | string;
11
11
  mcp_servers: Array<Types.AgentManaged36>;
12
12
  metadata: Types.AgentManaged37;
13
- model: {
13
+ model?: {
14
14
  id: string;
15
15
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
16
16
  inference_geo?: string;
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
19
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
+ max_output_tokens?: number;
20
21
  };
21
22
  };
22
- multiagent: null | Types.AgentManaged39;
23
+ multiagent?: null | Types.AgentManaged39;
23
24
  name: string;
24
25
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
25
26
  system: null | string;
@@ -41,13 +42,16 @@ export declare function createAgent(transport: Transport): {
41
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
43
  id: string;
43
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
44
46
  instructions?: string;
47
+ readonly verified?: boolean;
45
48
  enabled?: boolean;
46
49
  } | {
47
- type: "search" | "browser";
50
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
51
+ readonly verified?: boolean;
48
52
  enabled?: boolean;
49
53
  }>;
50
- kind: "personal" | "service";
54
+ kind: "general" | "service" | "assume";
51
55
  computer_id?: string;
52
56
  subagent_model?: string | null;
53
57
  subagents?: Array<{
@@ -140,6 +144,7 @@ export declare function createAgent(transport: Transport): {
140
144
  allowManagedHooksOnly?: boolean;
141
145
  allowManagedMcpServersOnly?: boolean;
142
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
143
148
  autoMemoryEnabled?: boolean;
144
149
  disabled?: {
145
150
  subagents?: Array<string>;
@@ -148,17 +153,41 @@ export declare function createAgent(transport: Transport): {
148
153
  mcpServers?: Array<string>;
149
154
  hooks?: Array<string>;
150
155
  };
156
+ outputStyle?: string;
151
157
  } | null;
152
158
  models?: {
153
159
  allowed: Array<string>;
154
160
  };
155
161
  avatar: string | null;
156
162
  creation_source: string | null;
163
+ managed_by: string | null;
157
164
  identity_number: string | null;
158
165
  environment_id?: string | null;
159
166
  vault_ids?: Array<string>;
160
167
  status: "active" | "archived";
168
+ output_styles?: Array<{
169
+ name: string;
170
+ description?: string;
171
+ prompt: string;
172
+ keep_coding_instructions?: boolean;
173
+ }> | null;
161
174
  }>;
175
+ consolidations: {
176
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
177
+ id: string;
178
+ session_id: string;
179
+ status: "queued" | "running" | "done" | "failed";
180
+ engram_id?: string;
181
+ error?: string;
182
+ }>;
183
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
184
+ id: string;
185
+ session_id: string;
186
+ status: "queued" | "running" | "done" | "failed";
187
+ engram_id?: string;
188
+ error?: string;
189
+ }>;
190
+ };
162
191
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
163
192
  id: string;
164
193
  archived_at: null | string;
@@ -166,16 +195,17 @@ export declare function createAgent(transport: Transport): {
166
195
  description: null | string;
167
196
  mcp_servers: Array<Types.AgentManaged36>;
168
197
  metadata: Types.AgentManaged37;
169
- model: {
198
+ model?: {
170
199
  id: string;
171
200
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
172
201
  inference_geo?: string;
173
202
  speed?: "standard" | "fast";
174
203
  settings?: {
175
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
176
206
  };
177
207
  };
178
- multiagent: null | Types.AgentManaged39;
208
+ multiagent?: null | Types.AgentManaged39;
179
209
  name: string;
180
210
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
181
211
  system: null | string;
@@ -197,13 +227,23 @@ export declare function createAgent(transport: Transport): {
197
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
198
228
  id: string;
199
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
200
231
  instructions?: string;
232
+ readonly verified?: boolean;
201
233
  enabled?: boolean;
202
234
  } | {
203
- type: "search" | "browser";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
236
+ readonly verified?: boolean;
204
237
  enabled?: boolean;
205
238
  }>;
206
- kind: "personal" | "service";
239
+ kind: "general" | "service" | "assume";
240
+ computers?: {
241
+ default: string;
242
+ allowed: Array<{
243
+ template: string;
244
+ name: string;
245
+ }>;
246
+ };
207
247
  computer_id?: string;
208
248
  subagent_model?: string | null;
209
249
  subagents?: Array<{
@@ -296,6 +336,7 @@ export declare function createAgent(transport: Transport): {
296
336
  allowManagedHooksOnly?: boolean;
297
337
  allowManagedMcpServersOnly?: boolean;
298
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
299
340
  autoMemoryEnabled?: boolean;
300
341
  disabled?: {
301
342
  subagents?: Array<string>;
@@ -304,88 +345,73 @@ export declare function createAgent(transport: Transport): {
304
345
  mcpServers?: Array<string>;
305
346
  hooks?: Array<string>;
306
347
  };
348
+ outputStyle?: string;
307
349
  } | null;
308
350
  models?: {
309
351
  allowed: Array<string>;
310
352
  };
311
353
  avatar: string | null;
312
354
  creation_source: string | null;
355
+ managed_by: string | null;
313
356
  identity_number: string | null;
314
357
  environment_id?: string | null;
315
358
  vault_ids?: Array<string>;
316
359
  status: "active" | "archived";
360
+ output_styles?: Array<{
361
+ name: string;
362
+ description?: string;
363
+ prompt: string;
364
+ keep_coding_instructions?: boolean;
365
+ }> | null;
317
366
  }>;
318
367
  customers: {
319
- auth: {
320
- accessTokens: {
321
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
322
- type: "customer_access_token";
323
- access_token: string;
324
- expires_at: string;
325
- session_expires_at: string;
326
- customer: {
327
- id: string;
328
- type: "identified" | "anonymous";
329
- };
330
- }>;
331
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
332
- renew: {
333
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
334
- type: "customer_access_token";
335
- access_token: string;
336
- expires_at: string;
337
- session_expires_at: string;
338
- customer: {
339
- id: string;
340
- type: "identified" | "anonymous";
341
- };
342
- }>;
343
- };
344
- };
345
- grantCodes: {
346
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
347
- type: "customer_grant_code";
348
- code: string;
349
- customer_id: string;
350
- expires_at: string;
351
- hosted_url?: string;
352
- }>;
353
- };
354
- };
355
- };
356
- endUsers: {
357
368
  block: {
358
- create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
359
- external_user_id: string;
369
+ create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
370
+ id: string;
371
+ type: "identified" | "anonymous";
372
+ merged_into: string | null;
373
+ blocked: boolean;
360
374
  first_seen_at: string | null;
361
- last_active_at: string | null;
375
+ last_seen_at: string | null;
362
376
  session_count: number;
363
- cost_micro_usd: number;
364
- blocked: boolean;
377
+ cost: {
378
+ amount: string;
379
+ currency: "USD";
380
+ };
365
381
  }>;
366
382
  };
367
- delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
383
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteCustomerData>) => Promise<{
368
384
  id: string;
369
385
  status: "pending";
370
386
  }>;
371
- list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
387
+ list: (options: import("./core/transport.js").CallOptions<Types.ListCustomersData>) => Promise<{
372
388
  data: Array<{
373
- external_user_id: string;
389
+ id: string;
390
+ type: "identified" | "anonymous";
391
+ merged_into: string | null;
392
+ blocked: boolean;
374
393
  first_seen_at: string | null;
375
- last_active_at: string | null;
394
+ last_seen_at: string | null;
376
395
  session_count: number;
377
- cost_micro_usd: number;
378
- blocked: boolean;
396
+ cost: {
397
+ amount: string;
398
+ currency: "USD";
399
+ };
379
400
  }>;
380
401
  next_page: string | null;
381
402
  }>;
382
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
383
- external_user_id: string;
403
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetCustomerData>) => Promise<{
404
+ id: string;
405
+ type: "identified" | "anonymous";
406
+ merged_into: string | null;
407
+ blocked: boolean;
384
408
  first_seen_at: string | null;
385
- last_active_at: string | null;
409
+ last_seen_at: string | null;
386
410
  session_count: number;
387
- cost_micro_usd: number;
388
- blocked: boolean;
411
+ cost: {
412
+ amount: string;
413
+ currency: "USD";
414
+ };
389
415
  recent_sessions: Array<{
390
416
  id: string;
391
417
  title: string | null;
@@ -394,7 +420,7 @@ export declare function createAgent(transport: Transport): {
394
420
  updated_at: string;
395
421
  }>;
396
422
  }>;
397
- retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
423
+ retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetCustomerDeletionData>) => Promise<{
398
424
  id: string;
399
425
  status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
400
426
  counts: {
@@ -410,179 +436,473 @@ export declare function createAgent(transport: Transport): {
410
436
  updated_at: string;
411
437
  }>;
412
438
  revokeTokens: {
413
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
439
+ create: (options: import("./core/transport.js").CallOptions<Types.RevokeCustomerTokensData>) => Promise<{
414
440
  revoked: number;
415
441
  }>;
416
442
  };
417
443
  unblock: {
418
- create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
419
- external_user_id: string;
444
+ create: (options: import("./core/transport.js").CallOptions<Types.UnblockCustomerData>) => Promise<{
445
+ id: string;
446
+ type: "identified" | "anonymous";
447
+ merged_into: string | null;
448
+ blocked: boolean;
420
449
  first_seen_at: string | null;
421
- last_active_at: string | null;
450
+ last_seen_at: string | null;
422
451
  session_count: number;
423
- cost_micro_usd: number;
424
- blocked: boolean;
452
+ cost: {
453
+ amount: string;
454
+ currency: "USD";
455
+ };
425
456
  }>;
426
457
  };
427
458
  };
428
- list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
429
- data: Array<{
430
- id: string;
431
- archived_at: null | string;
432
- created_at: string;
433
- description: null | string;
434
- mcp_servers: Array<Types.AgentManaged36>;
435
- metadata: Types.AgentManaged37;
436
- model: {
459
+ events: {
460
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
461
+ data: Array<{
437
462
  id: string;
438
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
439
- inference_geo?: string;
440
- speed?: "standard" | "fast";
441
- settings?: {
442
- reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
463
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
464
+ type: "user.message";
465
+ processed_at?: null | string;
466
+ praxis_context?: {
467
+ items: Array<{
468
+ name: string;
469
+ value: string;
470
+ }>;
443
471
  };
444
- };
445
- multiagent: null | Types.AgentManaged39;
446
- name: string;
447
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
448
- system: null | string;
449
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
450
- type: "agent";
451
- updated_at: string;
452
- version: number;
453
- active_version: number;
454
- created_by: {
455
- type: "user";
472
+ message_id?: string;
473
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
456
474
  id: string;
457
- name?: string;
475
+ content: Array<{
476
+ text: string;
477
+ type: "text";
478
+ citations?: Array<{
479
+ type: "search_result_location";
480
+ source: string;
481
+ title: string;
482
+ cited_text: string;
483
+ search_result_index: number;
484
+ start_block_index: number;
485
+ end_block_index: number;
486
+ }>;
487
+ } | Types.AgentManaged70>;
488
+ processed_at: string;
489
+ type: "agent.message";
490
+ run_id: string | null;
491
+ message_id?: string;
458
492
  } | {
459
- type: "api_key";
460
- id: string;
461
- } | null;
462
- note: string | null;
463
- bindings: Array<{
464
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
465
493
  id: string;
466
- access: "read_only" | "read_write" | "invoke";
467
- instructions?: string;
468
- enabled?: boolean;
494
+ processed_at: string;
495
+ type: "agent.thinking";
496
+ run_id: string | null;
497
+ message_id?: string;
469
498
  } | {
470
- type: "search" | "browser";
471
- enabled?: boolean;
472
- }>;
473
- kind: "personal" | "service";
474
- computer_id?: string;
475
- subagent_model?: string | null;
476
- subagents?: Array<{
477
- name: string;
478
- description: string;
479
- prompt: string;
480
- tools?: Array<string>;
481
- disallowed_tools?: Array<string>;
482
- model?: string;
483
- }> | null;
484
- commands?: Array<{
499
+ id: string;
500
+ input: Types.AgentManaged197;
501
+ mcp_server_name: string;
485
502
  name: string;
486
- description?: string;
487
- argument_hint?: string;
488
- prompt: string;
489
- }> | null;
490
- settings?: {
491
- hooks?: {
492
- SessionStart?: Array<{
493
- matcher?: string;
494
- hooks: Array<{
495
- type: "command";
496
- command: string;
497
- timeout?: number;
498
- async?: boolean;
499
- enabled?: boolean;
500
- }>;
501
- }>;
502
- UserPromptSubmit?: Array<{
503
- matcher?: string;
504
- hooks: Array<{
505
- type: "command";
506
- command: string;
507
- timeout?: number;
508
- async?: boolean;
509
- enabled?: boolean;
510
- }>;
511
- }>;
512
- PreToolUse?: Array<{
513
- matcher?: string;
514
- hooks: Array<{
515
- type: "command";
516
- command: string;
517
- timeout?: number;
518
- async?: boolean;
519
- enabled?: boolean;
520
- }>;
521
- }>;
522
- PermissionRequest?: Array<{
523
- matcher?: string;
524
- hooks: Array<{
525
- type: "command";
526
- command: string;
527
- timeout?: number;
528
- async?: boolean;
529
- enabled?: boolean;
530
- }>;
531
- }>;
532
- PostToolUse?: Array<{
533
- matcher?: string;
534
- hooks: Array<{
535
- type: "command";
536
- command: string;
537
- timeout?: number;
538
- async?: boolean;
539
- enabled?: boolean;
540
- }>;
541
- }>;
542
- PostToolUseFailure?: Array<{
543
- matcher?: string;
544
- hooks: Array<{
545
- type: "command";
546
- command: string;
547
- timeout?: number;
548
- async?: boolean;
549
- enabled?: boolean;
550
- }>;
551
- }>;
552
- Stop?: Array<{
553
- matcher?: string;
554
- hooks: Array<{
555
- type: "command";
556
- command: string;
557
- timeout?: number;
558
- async?: boolean;
559
- enabled?: boolean;
560
- }>;
503
+ processed_at: string;
504
+ type: "agent.mcp_tool_use";
505
+ evaluated_permission?: "allow" | "deny" | "ask";
506
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
507
+ session_thread_id?: null | string;
508
+ permission_suggestions?: Array<{
509
+ type: "add_rules";
510
+ behavior: "allow";
511
+ destination: "agent" | "session";
512
+ rules: Array<{
513
+ tool_name: string;
514
+ rule_content: string;
561
515
  }>;
516
+ }>;
517
+ full_access_available?: boolean;
518
+ user_once?: true;
519
+ guarded_rule?: string;
520
+ run_id: string | null;
521
+ _meta?: {
522
+ ui?: {
523
+ resourceUri?: string;
524
+ visibility?: Array<string>;
525
+ [key: string]: unknown;
526
+ };
527
+ "openai/ui"?: {
528
+ [key: string]: unknown;
529
+ };
562
530
  };
563
- allowManagedHooksOnly?: boolean;
564
- allowManagedMcpServersOnly?: boolean;
565
- allowManagedPermissionRulesOnly?: boolean;
566
- autoMemoryEnabled?: boolean;
567
- disabled?: {
568
- subagents?: Array<string>;
569
- commands?: Array<string>;
570
- skills?: Array<string>;
571
- mcpServers?: Array<string>;
572
- hooks?: Array<string>;
531
+ source?: "app" | "codemode";
532
+ parent_tool_use_id?: string;
533
+ title?: string;
534
+ input_titles?: {
535
+ [key: string]: string;
573
536
  };
574
- } | null;
575
- models?: {
576
- allowed: Array<string>;
577
- };
578
- avatar: string | null;
579
- creation_source: string | null;
580
- identity_number: string | null;
581
- environment_id?: string | null;
582
- vault_ids?: Array<string>;
583
- status: "active" | "archived";
584
- }>;
585
- next_page: string | null;
537
+ } | {
538
+ id: string;
539
+ mcp_tool_use_id: string;
540
+ processed_at: string;
541
+ type: "agent.mcp_tool_result";
542
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
543
+ is_error?: null | false | true;
544
+ run_id: string | null;
545
+ structured_content?: unknown;
546
+ _meta?: {
547
+ [key: string]: unknown;
548
+ };
549
+ source?: "app" | "codemode";
550
+ } | {
551
+ id: string;
552
+ input: Types.AgentManaged206;
553
+ name: string;
554
+ processed_at: string;
555
+ type: "agent.tool_use";
556
+ evaluated_permission?: "allow" | "deny" | "ask";
557
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
558
+ session_thread_id?: null | string;
559
+ permission_suggestions?: Array<{
560
+ type: "add_rules";
561
+ behavior: "allow";
562
+ destination: "agent" | "session";
563
+ rules: Array<{
564
+ tool_name: string;
565
+ rule_content: string;
566
+ }>;
567
+ }>;
568
+ full_access_available?: boolean;
569
+ user_once?: true;
570
+ guarded_rule?: string;
571
+ run_id: string | null;
572
+ } | {
573
+ id: string;
574
+ processed_at: string;
575
+ tool_use_id: string;
576
+ type: "agent.tool_result";
577
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
578
+ is_error?: null | false | true;
579
+ run_id: string | null;
580
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
581
+ id: string;
582
+ processed_at: string;
583
+ type: "session.status_running";
584
+ run_id: string | null;
585
+ } | {
586
+ id: string;
587
+ processed_at: string;
588
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
589
+ type: "session.status_idle";
590
+ run_id: string | null;
591
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
592
+ id: string;
593
+ processed_at: string;
594
+ type: "session.updated";
595
+ agent?: null | Types.AgentManaged170;
596
+ budget?: null | Types.AgentManaged76;
597
+ metadata?: Types.AgentManaged246;
598
+ title?: null | string;
599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
600
+ previous_permission_mode?: string | null;
601
+ permission_mode_version?: number;
602
+ model?: {
603
+ id: string;
604
+ };
605
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
606
+ id: string;
607
+ type: "session.forked";
608
+ processed_at: string;
609
+ forked_from_session_id: string;
610
+ forked_from_message_id: string;
611
+ } | {
612
+ id: string;
613
+ type: "session.goal_changed";
614
+ processed_at: string;
615
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
616
+ source: "command" | "runtime";
617
+ goal: {
618
+ goal_id: string;
619
+ objective: string;
620
+ summary_title: string | null;
621
+ status: "active" | "paused" | "budget_limited" | "complete";
622
+ token_budget: number | null;
623
+ tokens_used: number;
624
+ time_used_seconds: number;
625
+ iteration: number;
626
+ created_at: number;
627
+ updated_at: number;
628
+ } | null;
629
+ previous_goal: {
630
+ goal_id: string;
631
+ objective: string;
632
+ summary_title: string | null;
633
+ status: "active" | "paused" | "budget_limited" | "complete";
634
+ token_budget: number | null;
635
+ tokens_used: number;
636
+ time_used_seconds: number;
637
+ iteration: number;
638
+ created_at: number;
639
+ updated_at: number;
640
+ } | null;
641
+ } | {
642
+ id: string;
643
+ type: "session.goal_verification";
644
+ processed_at: string;
645
+ status: "started" | "completed" | "failed_closed" | "cancelled";
646
+ goal_id: string;
647
+ goal_iteration: number;
648
+ verification_id: string;
649
+ anchor_message_id: string | null;
650
+ verification?: {
651
+ passed: boolean;
652
+ reason: string;
653
+ next_action?: string;
654
+ };
655
+ } | {
656
+ id: string;
657
+ type: "user.steer";
658
+ event_id: string;
659
+ processed_at: string;
660
+ } | {
661
+ id: string;
662
+ type: "user.tool_confirmation";
663
+ processed_at: string;
664
+ tool_use_id: string;
665
+ result: "allow";
666
+ answers: {
667
+ [key: string]: string;
668
+ };
669
+ annotations?: {
670
+ [key: string]: {
671
+ preview?: string;
672
+ notes?: string;
673
+ };
674
+ };
675
+ }>;
676
+ next_page: string | null;
677
+ }>;
678
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
679
+ data?: Array<{
680
+ id: string;
681
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
682
+ type: "user.message";
683
+ processed_at?: null | string;
684
+ praxis_context?: {
685
+ items: Array<{
686
+ name: string;
687
+ value: string;
688
+ }>;
689
+ };
690
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
691
+ id: string;
692
+ type: "user.steer";
693
+ event_id: string;
694
+ processed_at: string;
695
+ } | {
696
+ id: string;
697
+ type: "user.tool_confirmation";
698
+ processed_at: string;
699
+ tool_use_id: string;
700
+ result: "allow";
701
+ answers: {
702
+ [key: string]: string;
703
+ };
704
+ annotations?: {
705
+ [key: string]: {
706
+ preview?: string;
707
+ notes?: string;
708
+ };
709
+ };
710
+ }>;
711
+ }>;
712
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
713
+ };
714
+ inbox: {
715
+ letters: {
716
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
717
+ unread: number;
718
+ letters: Array<{
719
+ id: string;
720
+ sender: string;
721
+ summary: string;
722
+ thread: string | null;
723
+ create_time: string;
724
+ }>;
725
+ }>;
726
+ };
727
+ };
728
+ list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
729
+ data: Array<{
730
+ id: string;
731
+ archived_at: null | string;
732
+ created_at: string;
733
+ description: null | string;
734
+ mcp_servers: Array<Types.AgentManaged36>;
735
+ metadata: Types.AgentManaged37;
736
+ model?: {
737
+ id: string;
738
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
739
+ inference_geo?: string;
740
+ speed?: "standard" | "fast";
741
+ settings?: {
742
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
743
+ max_output_tokens?: number;
744
+ };
745
+ };
746
+ multiagent?: null | Types.AgentManaged39;
747
+ name: string;
748
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
749
+ system: null | string;
750
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
751
+ type: "agent";
752
+ updated_at: string;
753
+ version: number;
754
+ active_version: number;
755
+ created_by: {
756
+ type: "user";
757
+ id: string;
758
+ name?: string;
759
+ } | {
760
+ type: "api_key";
761
+ id: string;
762
+ } | null;
763
+ note: string | null;
764
+ bindings: Array<{
765
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
766
+ id: string;
767
+ access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
769
+ instructions?: string;
770
+ readonly verified?: boolean;
771
+ enabled?: boolean;
772
+ } | {
773
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
774
+ readonly verified?: boolean;
775
+ enabled?: boolean;
776
+ }>;
777
+ kind: "general" | "service" | "assume";
778
+ computers?: {
779
+ default: string;
780
+ allowed: Array<{
781
+ template: string;
782
+ name: string;
783
+ }>;
784
+ };
785
+ computer_id?: string;
786
+ subagent_model?: string | null;
787
+ subagents?: Array<{
788
+ name: string;
789
+ description: string;
790
+ prompt: string;
791
+ tools?: Array<string>;
792
+ disallowed_tools?: Array<string>;
793
+ model?: string;
794
+ }> | null;
795
+ commands?: Array<{
796
+ name: string;
797
+ description?: string;
798
+ argument_hint?: string;
799
+ prompt: string;
800
+ }> | null;
801
+ settings?: {
802
+ hooks?: {
803
+ SessionStart?: Array<{
804
+ matcher?: string;
805
+ hooks: Array<{
806
+ type: "command";
807
+ command: string;
808
+ timeout?: number;
809
+ async?: boolean;
810
+ enabled?: boolean;
811
+ }>;
812
+ }>;
813
+ UserPromptSubmit?: Array<{
814
+ matcher?: string;
815
+ hooks: Array<{
816
+ type: "command";
817
+ command: string;
818
+ timeout?: number;
819
+ async?: boolean;
820
+ enabled?: boolean;
821
+ }>;
822
+ }>;
823
+ PreToolUse?: Array<{
824
+ matcher?: string;
825
+ hooks: Array<{
826
+ type: "command";
827
+ command: string;
828
+ timeout?: number;
829
+ async?: boolean;
830
+ enabled?: boolean;
831
+ }>;
832
+ }>;
833
+ PermissionRequest?: Array<{
834
+ matcher?: string;
835
+ hooks: Array<{
836
+ type: "command";
837
+ command: string;
838
+ timeout?: number;
839
+ async?: boolean;
840
+ enabled?: boolean;
841
+ }>;
842
+ }>;
843
+ PostToolUse?: Array<{
844
+ matcher?: string;
845
+ hooks: Array<{
846
+ type: "command";
847
+ command: string;
848
+ timeout?: number;
849
+ async?: boolean;
850
+ enabled?: boolean;
851
+ }>;
852
+ }>;
853
+ PostToolUseFailure?: Array<{
854
+ matcher?: string;
855
+ hooks: Array<{
856
+ type: "command";
857
+ command: string;
858
+ timeout?: number;
859
+ async?: boolean;
860
+ enabled?: boolean;
861
+ }>;
862
+ }>;
863
+ Stop?: Array<{
864
+ matcher?: string;
865
+ hooks: Array<{
866
+ type: "command";
867
+ command: string;
868
+ timeout?: number;
869
+ async?: boolean;
870
+ enabled?: boolean;
871
+ }>;
872
+ }>;
873
+ };
874
+ allowManagedHooksOnly?: boolean;
875
+ allowManagedMcpServersOnly?: boolean;
876
+ allowManagedPermissionRulesOnly?: boolean;
877
+ idleCompaction?: boolean;
878
+ autoMemoryEnabled?: boolean;
879
+ disabled?: {
880
+ subagents?: Array<string>;
881
+ commands?: Array<string>;
882
+ skills?: Array<string>;
883
+ mcpServers?: Array<string>;
884
+ hooks?: Array<string>;
885
+ };
886
+ outputStyle?: string;
887
+ } | null;
888
+ models?: {
889
+ allowed: Array<string>;
890
+ };
891
+ avatar: string | null;
892
+ creation_source: string | null;
893
+ managed_by: string | null;
894
+ identity_number: string | null;
895
+ environment_id?: string | null;
896
+ vault_ids?: Array<string>;
897
+ status: "active" | "archived";
898
+ output_styles?: Array<{
899
+ name: string;
900
+ description?: string;
901
+ prompt: string;
902
+ keep_coding_instructions?: boolean;
903
+ }> | null;
904
+ }>;
905
+ next_page: string | null;
586
906
  }>;
587
907
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
588
908
  id: string;
@@ -591,16 +911,17 @@ export declare function createAgent(transport: Transport): {
591
911
  description: null | string;
592
912
  mcp_servers: Array<Types.AgentManaged36>;
593
913
  metadata: Types.AgentManaged37;
594
- model: {
914
+ model?: {
595
915
  id: string;
596
916
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
597
917
  inference_geo?: string;
598
918
  speed?: "standard" | "fast";
599
919
  settings?: {
600
920
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
921
+ max_output_tokens?: number;
601
922
  };
602
923
  };
603
- multiagent: null | Types.AgentManaged39;
924
+ multiagent?: null | Types.AgentManaged39;
604
925
  name: string;
605
926
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
606
927
  system: null | string;
@@ -608,6 +929,7 @@ export declare function createAgent(transport: Transport): {
608
929
  type: "agent";
609
930
  updated_at: string;
610
931
  version: number;
932
+ latest_version?: number;
611
933
  active_version: number;
612
934
  created_by: {
613
935
  type: "user";
@@ -622,13 +944,23 @@ export declare function createAgent(transport: Transport): {
622
944
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
623
945
  id: string;
624
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
625
948
  instructions?: string;
949
+ readonly verified?: boolean;
626
950
  enabled?: boolean;
627
951
  } | {
628
- type: "search" | "browser";
952
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
953
+ readonly verified?: boolean;
629
954
  enabled?: boolean;
630
955
  }>;
631
- kind: "personal" | "service";
956
+ kind: "general" | "service" | "assume";
957
+ computers?: {
958
+ default: string;
959
+ allowed: Array<{
960
+ template: string;
961
+ name: string;
962
+ }>;
963
+ };
632
964
  computer_id?: string;
633
965
  subagent_model?: string | null;
634
966
  subagents?: Array<{
@@ -721,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
721
1053
  allowManagedHooksOnly?: boolean;
722
1054
  allowManagedMcpServersOnly?: boolean;
723
1055
  allowManagedPermissionRulesOnly?: boolean;
1056
+ idleCompaction?: boolean;
724
1057
  autoMemoryEnabled?: boolean;
725
1058
  disabled?: {
726
1059
  subagents?: Array<string>;
@@ -729,16 +1062,101 @@ export declare function createAgent(transport: Transport): {
729
1062
  mcpServers?: Array<string>;
730
1063
  hooks?: Array<string>;
731
1064
  };
1065
+ outputStyle?: string;
732
1066
  } | null;
733
1067
  models?: {
734
1068
  allowed: Array<string>;
735
1069
  };
736
1070
  avatar: string | null;
737
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
738
1073
  identity_number: string | null;
739
1074
  environment_id?: string | null;
740
1075
  vault_ids?: Array<string>;
741
1076
  status: "active" | "archived";
1077
+ output_styles?: Array<{
1078
+ name: string;
1079
+ description?: string;
1080
+ prompt: string;
1081
+ keep_coding_instructions?: boolean;
1082
+ }> | null;
1083
+ }>;
1084
+ retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
1085
+ agent?: {
1086
+ name?: string;
1087
+ avatar?: string;
1088
+ };
1089
+ layout?: "inline" | "sidebar" | "popup" | "modal";
1090
+ launcher?: {
1091
+ type: "none" | "bubble" | "mascot";
1092
+ pack?: {
1093
+ preset?: "mint" | "cat" | "bot";
1094
+ images?: {
1095
+ idle: string;
1096
+ greet?: string;
1097
+ listening?: string;
1098
+ thinking?: string;
1099
+ talking?: string;
1100
+ "talking-2"?: string;
1101
+ sorry?: string;
1102
+ sleep?: string;
1103
+ };
1104
+ };
1105
+ image?: string;
1106
+ motion?: "float" | "none";
1107
+ position?: "bottom-right" | "bottom-left";
1108
+ label?: string;
1109
+ };
1110
+ header?: {
1111
+ title?: string;
1112
+ subtitle?: string;
1113
+ icon?: string;
1114
+ };
1115
+ theme?: {
1116
+ colorScheme?: "light" | "dark" | "system";
1117
+ accent?: string;
1118
+ surface?: string;
1119
+ grayscale?: "neutral" | "warm" | "cool";
1120
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1121
+ density?: "compact" | "normal" | "spacious";
1122
+ fontFamily?: string;
1123
+ fontSize?: number;
1124
+ };
1125
+ locale?: "zh" | "en";
1126
+ startScreen?: {
1127
+ greeting?: string;
1128
+ prompts?: Array<{
1129
+ label: string;
1130
+ prompt: string;
1131
+ }>;
1132
+ };
1133
+ composer?: {
1134
+ placeholder?: string;
1135
+ };
1136
+ disclaimer?: string;
1137
+ footer?: string;
1138
+ history?: {
1139
+ enabled?: boolean;
1140
+ };
1141
+ uploads?: {
1142
+ enabled: boolean;
1143
+ max_file_bytes: number;
1144
+ max_files_per_session: number;
1145
+ };
1146
+ }>;
1147
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1148
+ allowed_origins: Array<string>;
1149
+ allow_localhost: boolean;
1150
+ uploads: {
1151
+ enabled: boolean;
1152
+ max_file_bytes: number;
1153
+ max_files_per_session: number;
1154
+ };
1155
+ share_links: {
1156
+ enabled: boolean;
1157
+ daily_session_cap: number | null;
1158
+ daily_spend_cap_micro_usd: number | null;
1159
+ };
742
1160
  }>;
743
1161
  unarchive: {
744
1162
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -775,7 +1193,7 @@ export declare function createAgent(transport: Transport): {
775
1193
  metadata: {
776
1194
  [key: string]: string;
777
1195
  };
778
- model: {
1196
+ model?: {
779
1197
  id: string;
780
1198
  effort?: {
781
1199
  type: "low";
@@ -792,9 +1210,10 @@ export declare function createAgent(transport: Transport): {
792
1210
  speed?: "standard" | "fast";
793
1211
  settings?: {
794
1212
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1213
+ max_output_tokens?: number;
795
1214
  };
796
1215
  };
797
- multiagent: null | {
1216
+ multiagent?: null | {
798
1217
  agents: Array<{
799
1218
  id: string;
800
1219
  type: "agent";
@@ -967,6 +1386,7 @@ export declare function createAgent(transport: Transport): {
967
1386
  type: "agent";
968
1387
  updated_at: string;
969
1388
  version: number;
1389
+ latest_version?: number;
970
1390
  active_version: number;
971
1391
  created_by: {
972
1392
  type: "user";
@@ -981,13 +1401,23 @@ export declare function createAgent(transport: Transport): {
981
1401
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
982
1402
  id: string;
983
1403
  access: "read_only" | "read_write" | "invoke";
1404
+ customer_access?: "read_only" | "read_write" | "invoke";
984
1405
  instructions?: string;
1406
+ readonly verified?: boolean;
985
1407
  enabled?: boolean;
986
1408
  } | {
987
- type: "search" | "browser";
1409
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1410
+ readonly verified?: boolean;
988
1411
  enabled?: boolean;
989
1412
  }>;
990
- kind: "personal" | "service";
1413
+ kind: "general" | "service" | "assume";
1414
+ computers?: {
1415
+ default: string;
1416
+ allowed: Array<{
1417
+ template: string;
1418
+ name: string;
1419
+ }>;
1420
+ };
991
1421
  computer_id?: string;
992
1422
  subagent_model?: string | null;
993
1423
  subagents?: Array<{
@@ -1080,6 +1510,7 @@ export declare function createAgent(transport: Transport): {
1080
1510
  allowManagedHooksOnly?: boolean;
1081
1511
  allowManagedMcpServersOnly?: boolean;
1082
1512
  allowManagedPermissionRulesOnly?: boolean;
1513
+ idleCompaction?: boolean;
1083
1514
  autoMemoryEnabled?: boolean;
1084
1515
  disabled?: {
1085
1516
  subagents?: Array<string>;
@@ -1088,16 +1519,24 @@ export declare function createAgent(transport: Transport): {
1088
1519
  mcpServers?: Array<string>;
1089
1520
  hooks?: Array<string>;
1090
1521
  };
1522
+ outputStyle?: string;
1091
1523
  } | null;
1092
1524
  models?: {
1093
1525
  allowed: Array<string>;
1094
1526
  };
1095
1527
  avatar: string | null;
1096
1528
  creation_source: string | null;
1529
+ managed_by: string | null;
1097
1530
  identity_number: string | null;
1098
1531
  environment_id?: string | null;
1099
1532
  vault_ids?: Array<string>;
1100
1533
  status: "active" | "archived";
1534
+ output_styles?: Array<{
1535
+ name: string;
1536
+ description?: string;
1537
+ prompt: string;
1538
+ keep_coding_instructions?: boolean;
1539
+ }> | null;
1101
1540
  }>;
1102
1541
  };
1103
1542
  update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
@@ -1107,16 +1546,17 @@ export declare function createAgent(transport: Transport): {
1107
1546
  description: null | string;
1108
1547
  mcp_servers: Array<Types.AgentManaged36>;
1109
1548
  metadata: Types.AgentManaged37;
1110
- model: {
1549
+ model?: {
1111
1550
  id: string;
1112
1551
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1113
1552
  inference_geo?: string;
1114
1553
  speed?: "standard" | "fast";
1115
1554
  settings?: {
1116
1555
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1556
+ max_output_tokens?: number;
1117
1557
  };
1118
1558
  };
1119
- multiagent: null | Types.AgentManaged39;
1559
+ multiagent?: null | Types.AgentManaged39;
1120
1560
  name: string;
1121
1561
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1122
1562
  system: null | string;
@@ -1124,6 +1564,7 @@ export declare function createAgent(transport: Transport): {
1124
1564
  type: "agent";
1125
1565
  updated_at: string;
1126
1566
  version: number;
1567
+ latest_version?: number;
1127
1568
  active_version: number;
1128
1569
  created_by: {
1129
1570
  type: "user";
@@ -1138,13 +1579,23 @@ export declare function createAgent(transport: Transport): {
1138
1579
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1139
1580
  id: string;
1140
1581
  access: "read_only" | "read_write" | "invoke";
1582
+ customer_access?: "read_only" | "read_write" | "invoke";
1141
1583
  instructions?: string;
1584
+ readonly verified?: boolean;
1142
1585
  enabled?: boolean;
1143
1586
  } | {
1144
- type: "search" | "browser";
1587
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1588
+ readonly verified?: boolean;
1145
1589
  enabled?: boolean;
1146
1590
  }>;
1147
- kind: "personal" | "service";
1591
+ kind: "general" | "service" | "assume";
1592
+ computers?: {
1593
+ default: string;
1594
+ allowed: Array<{
1595
+ template: string;
1596
+ name: string;
1597
+ }>;
1598
+ };
1148
1599
  computer_id?: string;
1149
1600
  subagent_model?: string | null;
1150
1601
  subagents?: Array<{
@@ -1237,6 +1688,7 @@ export declare function createAgent(transport: Transport): {
1237
1688
  allowManagedHooksOnly?: boolean;
1238
1689
  allowManagedMcpServersOnly?: boolean;
1239
1690
  allowManagedPermissionRulesOnly?: boolean;
1691
+ idleCompaction?: boolean;
1240
1692
  autoMemoryEnabled?: boolean;
1241
1693
  disabled?: {
1242
1694
  subagents?: Array<string>;
@@ -1245,16 +1697,38 @@ export declare function createAgent(transport: Transport): {
1245
1697
  mcpServers?: Array<string>;
1246
1698
  hooks?: Array<string>;
1247
1699
  };
1700
+ outputStyle?: string;
1248
1701
  } | null;
1249
1702
  models?: {
1250
1703
  allowed: Array<string>;
1251
1704
  };
1252
1705
  avatar: string | null;
1253
1706
  creation_source: string | null;
1707
+ managed_by: string | null;
1254
1708
  identity_number: string | null;
1255
1709
  environment_id?: string | null;
1256
1710
  vault_ids?: Array<string>;
1257
1711
  status: "active" | "archived";
1712
+ output_styles?: Array<{
1713
+ name: string;
1714
+ description?: string;
1715
+ prompt: string;
1716
+ keep_coding_instructions?: boolean;
1717
+ }> | null;
1718
+ }>;
1719
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1720
+ allowed_origins: Array<string>;
1721
+ allow_localhost: boolean;
1722
+ uploads: {
1723
+ enabled: boolean;
1724
+ max_file_bytes: number;
1725
+ max_files_per_session: number;
1726
+ };
1727
+ share_links: {
1728
+ enabled: boolean;
1729
+ daily_session_cap: number | null;
1730
+ daily_spend_cap_micro_usd: number | null;
1731
+ };
1258
1732
  }>;
1259
1733
  versions: {
1260
1734
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
@@ -1291,7 +1765,7 @@ export declare function createAgent(transport: Transport): {
1291
1765
  metadata: {
1292
1766
  [key: string]: string;
1293
1767
  };
1294
- model: {
1768
+ model?: {
1295
1769
  id: string;
1296
1770
  effort?: {
1297
1771
  type: "low";
@@ -1308,9 +1782,10 @@ export declare function createAgent(transport: Transport): {
1308
1782
  speed?: "standard" | "fast";
1309
1783
  settings?: {
1310
1784
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1785
+ max_output_tokens?: number;
1311
1786
  };
1312
1787
  };
1313
- multiagent: null | {
1788
+ multiagent?: null | {
1314
1789
  agents: Array<{
1315
1790
  id: string;
1316
1791
  type: "agent";
@@ -1483,6 +1958,7 @@ export declare function createAgent(transport: Transport): {
1483
1958
  type: "agent";
1484
1959
  updated_at: string;
1485
1960
  version: number;
1961
+ latest_version?: number;
1486
1962
  active_version: number;
1487
1963
  created_by: {
1488
1964
  type: "user";
@@ -1497,13 +1973,23 @@ export declare function createAgent(transport: Transport): {
1497
1973
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1498
1974
  id: string;
1499
1975
  access: "read_only" | "read_write" | "invoke";
1976
+ customer_access?: "read_only" | "read_write" | "invoke";
1500
1977
  instructions?: string;
1978
+ readonly verified?: boolean;
1501
1979
  enabled?: boolean;
1502
1980
  } | {
1503
- type: "search" | "browser";
1981
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1982
+ readonly verified?: boolean;
1504
1983
  enabled?: boolean;
1505
1984
  }>;
1506
- kind: "personal" | "service";
1985
+ kind: "general" | "service" | "assume";
1986
+ computers?: {
1987
+ default: string;
1988
+ allowed: Array<{
1989
+ template: string;
1990
+ name: string;
1991
+ }>;
1992
+ };
1507
1993
  computer_id?: string;
1508
1994
  subagent_model?: string | null;
1509
1995
  subagents?: Array<{
@@ -1596,6 +2082,7 @@ export declare function createAgent(transport: Transport): {
1596
2082
  allowManagedHooksOnly?: boolean;
1597
2083
  allowManagedMcpServersOnly?: boolean;
1598
2084
  allowManagedPermissionRulesOnly?: boolean;
2085
+ idleCompaction?: boolean;
1599
2086
  autoMemoryEnabled?: boolean;
1600
2087
  disabled?: {
1601
2088
  subagents?: Array<string>;
@@ -1604,16 +2091,24 @@ export declare function createAgent(transport: Transport): {
1604
2091
  mcpServers?: Array<string>;
1605
2092
  hooks?: Array<string>;
1606
2093
  };
2094
+ outputStyle?: string;
1607
2095
  } | null;
1608
2096
  models?: {
1609
2097
  allowed: Array<string>;
1610
2098
  };
1611
2099
  avatar: string | null;
1612
2100
  creation_source: string | null;
2101
+ managed_by: string | null;
1613
2102
  identity_number: string | null;
1614
2103
  environment_id?: string | null;
1615
2104
  vault_ids?: Array<string>;
1616
2105
  status: "active" | "archived";
2106
+ output_styles?: Array<{
2107
+ name: string;
2108
+ description?: string;
2109
+ prompt: string;
2110
+ keep_coding_instructions?: boolean;
2111
+ }> | null;
1617
2112
  }>;
1618
2113
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
1619
2114
  data: Array<{
@@ -1623,16 +2118,17 @@ export declare function createAgent(transport: Transport): {
1623
2118
  description: null | string;
1624
2119
  mcp_servers: Array<Types.AgentManaged36>;
1625
2120
  metadata: Types.AgentManaged37;
1626
- model: {
2121
+ model?: {
1627
2122
  id: string;
1628
2123
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1629
2124
  inference_geo?: string;
1630
2125
  speed?: "standard" | "fast";
1631
2126
  settings?: {
1632
2127
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2128
+ max_output_tokens?: number;
1633
2129
  };
1634
2130
  };
1635
- multiagent: null | Types.AgentManaged39;
2131
+ multiagent?: null | Types.AgentManaged39;
1636
2132
  name: string;
1637
2133
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1638
2134
  system: null | string;
@@ -1655,13 +2151,23 @@ export declare function createAgent(transport: Transport): {
1655
2151
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1656
2152
  id: string;
1657
2153
  access: "read_only" | "read_write" | "invoke";
2154
+ customer_access?: "read_only" | "read_write" | "invoke";
1658
2155
  instructions?: string;
2156
+ readonly verified?: boolean;
1659
2157
  enabled?: boolean;
1660
2158
  } | {
1661
- type: "search" | "browser";
2159
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
2160
+ readonly verified?: boolean;
1662
2161
  enabled?: boolean;
1663
2162
  }>;
1664
- kind: "personal" | "service";
2163
+ kind: "general" | "service" | "assume";
2164
+ computers?: {
2165
+ default: string;
2166
+ allowed: Array<{
2167
+ template: string;
2168
+ name: string;
2169
+ }>;
2170
+ };
1665
2171
  computer_id?: string;
1666
2172
  subagent_model?: string | null;
1667
2173
  subagents?: Array<{
@@ -1754,6 +2260,7 @@ export declare function createAgent(transport: Transport): {
1754
2260
  allowManagedHooksOnly?: boolean;
1755
2261
  allowManagedMcpServersOnly?: boolean;
1756
2262
  allowManagedPermissionRulesOnly?: boolean;
2263
+ idleCompaction?: boolean;
1757
2264
  autoMemoryEnabled?: boolean;
1758
2265
  disabled?: {
1759
2266
  subagents?: Array<string>;
@@ -1762,16 +2269,24 @@ export declare function createAgent(transport: Transport): {
1762
2269
  mcpServers?: Array<string>;
1763
2270
  hooks?: Array<string>;
1764
2271
  };
2272
+ outputStyle?: string;
1765
2273
  } | null;
1766
2274
  models?: {
1767
2275
  allowed: Array<string>;
1768
2276
  };
1769
2277
  avatar: string | null;
1770
2278
  creation_source: string | null;
2279
+ managed_by: string | null;
1771
2280
  identity_number: string | null;
1772
2281
  environment_id?: string | null;
1773
2282
  vault_ids?: Array<string>;
1774
2283
  status: "active" | "archived";
2284
+ output_styles?: Array<{
2285
+ name: string;
2286
+ description?: string;
2287
+ prompt: string;
2288
+ keep_coding_instructions?: boolean;
2289
+ }> | null;
1775
2290
  }>;
1776
2291
  next_page: string | null;
1777
2292
  }>;
@@ -1827,6 +2342,13 @@ export declare function createAgent(transport: Transport): {
1827
2342
  type: "computer_deleted";
1828
2343
  }>;
1829
2344
  files: {
2345
+ convert: {
2346
+ create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
2347
+ data: string;
2348
+ mime: "application/pdf";
2349
+ cached: boolean;
2350
+ }>;
2351
+ };
1830
2352
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
1831
2353
  data: Array<{
1832
2354
  path: string;
@@ -1842,6 +2364,18 @@ export declare function createAgent(transport: Transport): {
1842
2364
  tier: "light" | "heavy";
1843
2365
  }>;
1844
2366
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2367
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2368
+ variant: "image" | "pdf" | "text" | "original";
2369
+ version?: string;
2370
+ mime_type?: string;
2371
+ size?: number;
2372
+ file_id?: string;
2373
+ url?: string;
2374
+ expires_at?: string;
2375
+ cached: boolean;
2376
+ fallback?: "content";
2377
+ skipped?: boolean;
2378
+ }>;
1845
2379
  };
1846
2380
  leases: {
1847
2381
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1882,6 +2416,7 @@ export declare function createAgent(transport: Transport): {
1882
2416
  created_at: string;
1883
2417
  updated_at: string;
1884
2418
  archived_at: string | null;
2419
+ machine: "light" | "full";
1885
2420
  implementation: "virtual" | "sandbox";
1886
2421
  storage_bytes: number;
1887
2422
  file_count: number;
@@ -1917,7 +2452,7 @@ export declare function createAgent(transport: Transport): {
1917
2452
  } | {
1918
2453
  id: string;
1919
2454
  type: "agent_with_overrides";
1920
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2455
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
1921
2456
  cwd?: string;
1922
2457
  model?: string | {
1923
2458
  id: string;
@@ -1954,7 +2489,7 @@ export declare function createAgent(transport: Transport): {
1954
2489
  } | {
1955
2490
  id: string;
1956
2491
  type: "agent_with_overrides";
1957
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2492
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
1958
2493
  cwd?: string;
1959
2494
  model?: string | {
1960
2495
  id: string;
@@ -1992,7 +2527,7 @@ export declare function createAgent(transport: Transport): {
1992
2527
  } | {
1993
2528
  id: string;
1994
2529
  type: "agent_with_overrides";
1995
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2530
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
1996
2531
  cwd?: string;
1997
2532
  model?: string | {
1998
2533
  id: string;
@@ -2031,7 +2566,7 @@ export declare function createAgent(transport: Transport): {
2031
2566
  } | {
2032
2567
  id: string;
2033
2568
  type: "agent_with_overrides";
2034
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2569
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2035
2570
  cwd?: string;
2036
2571
  model?: string | {
2037
2572
  id: string;
@@ -2068,7 +2603,7 @@ export declare function createAgent(transport: Transport): {
2068
2603
  } | {
2069
2604
  id: string;
2070
2605
  type: "agent_with_overrides";
2071
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2606
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2072
2607
  cwd?: string;
2073
2608
  model?: string | {
2074
2609
  id: string;
@@ -2109,7 +2644,7 @@ export declare function createAgent(transport: Transport): {
2109
2644
  } | {
2110
2645
  id: string;
2111
2646
  type: "agent_with_overrides";
2112
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2647
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2113
2648
  cwd?: string;
2114
2649
  model?: string | {
2115
2650
  id: string;
@@ -2132,165 +2667,49 @@ export declare function createAgent(transport: Transport): {
2132
2667
  type: "deployment";
2133
2668
  updated_at: string;
2134
2669
  vault_ids: Array<string>;
2135
- budget?: null | Types.AgentManaged76;
2136
- target: {
2137
- type: "environment" | "computer";
2138
- };
2139
- }>;
2140
- };
2141
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2142
- id: string;
2143
- agent: {
2144
- id: string;
2145
- type: "agent";
2146
- version: number;
2147
- } | {
2148
- id: string;
2149
- type: "agent_with_overrides";
2150
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2151
- cwd?: string;
2152
- model?: string | {
2153
- id: string;
2154
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2155
- speed?: null | "standard" | "fast";
2156
- };
2157
- version: number;
2158
- };
2159
- archived_at: null | string;
2160
- created_at: string;
2161
- description: null | string;
2162
- environment_id?: string | null;
2163
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2164
- metadata: Types.AgentManaged91;
2165
- name: string;
2166
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2167
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2168
- schedule: null | Types.AgentManaged111;
2169
- status: "active" | "paused";
2170
- type: "deployment";
2171
- updated_at: string;
2172
- vault_ids: Array<string>;
2173
- budget?: null | Types.AgentManaged76;
2174
- target: {
2175
- type: "environment" | "computer";
2176
- };
2177
- }>;
2178
- };
2179
- embed: {
2180
- exchange: {
2181
- create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
2182
- token: string;
2183
- expires_at: string;
2184
- }>;
2185
- };
2186
- retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
2187
- agent?: {
2188
- name?: string;
2189
- avatar?: string;
2190
- };
2191
- layout?: "inline" | "sidebar" | "popup" | "modal";
2192
- launcher?: {
2193
- type: "none" | "bubble" | "mascot";
2194
- pack?: {
2195
- preset?: "mint" | "cat" | "bot";
2196
- images?: {
2197
- idle: string;
2198
- greet?: string;
2199
- listening?: string;
2200
- thinking?: string;
2201
- talking?: string;
2202
- "talking-2"?: string;
2203
- sorry?: string;
2204
- sleep?: string;
2205
- };
2206
- };
2207
- image?: string;
2208
- motion?: "float" | "none";
2209
- position?: "bottom-right" | "bottom-left";
2210
- label?: string;
2211
- };
2212
- header?: {
2213
- title?: string;
2214
- subtitle?: string;
2215
- icon?: string;
2216
- };
2217
- theme?: {
2218
- colorScheme?: "light" | "dark" | "system";
2219
- accent?: string;
2220
- surface?: string;
2221
- grayscale?: "neutral" | "warm" | "cool";
2222
- radius?: "none" | "sm" | "md" | "lg" | "full";
2223
- density?: "compact" | "normal" | "spacious";
2224
- fontFamily?: string;
2225
- fontSize?: number;
2226
- };
2227
- locale?: "zh" | "en";
2228
- startScreen?: {
2229
- greeting?: string;
2230
- prompts?: Array<{
2231
- label: string;
2232
- prompt: string;
2233
- }>;
2234
- };
2235
- composer?: {
2236
- placeholder?: string;
2237
- };
2238
- disclaimer?: string;
2239
- footer?: string;
2240
- history?: {
2241
- enabled?: boolean;
2242
- };
2243
- }>;
2244
- };
2245
- embedTokens: {
2246
- anonymous: {
2247
- create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
2248
- token: string;
2249
- expires_at: string;
2250
- visitor_secret?: string;
2670
+ budget?: null | Types.AgentManaged76;
2671
+ target: {
2672
+ type: "environment" | "computer";
2673
+ };
2251
2674
  }>;
2252
2675
  };
2253
- create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
2254
- hosted_url?: string;
2676
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2255
2677
  id: string;
2256
- token: string;
2257
- expires_at: string;
2258
- }>;
2259
- list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
2260
- data: Array<{
2678
+ agent: {
2261
2679
  id: string;
2262
- type: "embed_token";
2263
- agent_id: string;
2264
- agent_version: number;
2265
- external_user_id: string;
2266
- created_at: string;
2267
- expires_at: string;
2268
- revoked_at: string | null;
2269
- host_origin: string | null;
2270
- issued_by: {
2271
- type: "user" | "api_key";
2272
- id: string;
2273
- };
2274
- }>;
2275
- next_page: string | null;
2276
- }>;
2277
- revoke: {
2278
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
2680
+ type: "agent";
2681
+ version: number;
2682
+ } | {
2279
2683
  id: string;
2280
- type: "embed_token";
2281
- agent_id: string;
2282
- agent_version: number;
2283
- external_user_id: string;
2284
- created_at: string;
2285
- expires_at: string;
2286
- revoked_at: string | null;
2287
- host_origin: string | null;
2288
- issued_by: {
2289
- type: "user" | "api_key";
2684
+ type: "agent_with_overrides";
2685
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2686
+ cwd?: string;
2687
+ model?: string | {
2290
2688
  id: string;
2689
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2690
+ speed?: null | "standard" | "fast";
2291
2691
  };
2292
- }>;
2293
- };
2692
+ version: number;
2693
+ };
2694
+ archived_at: null | string;
2695
+ created_at: string;
2696
+ description: null | string;
2697
+ environment_id?: string | null;
2698
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2699
+ metadata: Types.AgentManaged91;
2700
+ name: string;
2701
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2702
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2703
+ schedule: null | Types.AgentManaged111;
2704
+ status: "active" | "paused";
2705
+ type: "deployment";
2706
+ updated_at: string;
2707
+ vault_ids: Array<string>;
2708
+ budget?: null | Types.AgentManaged76;
2709
+ target: {
2710
+ type: "environment" | "computer";
2711
+ };
2712
+ }>;
2294
2713
  };
2295
2714
  environments: {
2296
2715
  archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
@@ -2303,6 +2722,543 @@ export declare function createAgent(transport: Transport): {
2303
2722
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2304
2723
  };
2305
2724
  sessions: {
2725
+ agentVersion: {
2726
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2727
+ id: string;
2728
+ agent: {
2729
+ id: string;
2730
+ description: null | string;
2731
+ mcp_servers: Array<{
2732
+ type: "url";
2733
+ name: string;
2734
+ url: string;
2735
+ headers?: {
2736
+ [key: string]: string;
2737
+ };
2738
+ timeout_ms?: number;
2739
+ } | {
2740
+ type: "sse";
2741
+ name: string;
2742
+ url: string;
2743
+ headers?: {
2744
+ [key: string]: string;
2745
+ };
2746
+ timeout_ms?: number;
2747
+ } | {
2748
+ type: "stdio";
2749
+ name: string;
2750
+ command: string;
2751
+ args?: Array<string>;
2752
+ env?: {
2753
+ [key: string]: string;
2754
+ };
2755
+ timeout_ms?: number;
2756
+ }>;
2757
+ model: {
2758
+ id: string;
2759
+ effort?: {
2760
+ type: "low";
2761
+ } | {
2762
+ type: "medium";
2763
+ } | {
2764
+ type: "high";
2765
+ } | {
2766
+ type: "xhigh";
2767
+ } | {
2768
+ type: "max";
2769
+ };
2770
+ inference_geo?: string;
2771
+ speed?: "standard" | "fast";
2772
+ settings?: {
2773
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2774
+ max_output_tokens?: number;
2775
+ };
2776
+ };
2777
+ multiagent: null | {
2778
+ agents: Array<{
2779
+ model: string;
2780
+ type: "advisor";
2781
+ } | {
2782
+ id: string;
2783
+ description: null | string;
2784
+ mcp_servers: Array<{
2785
+ type: "url";
2786
+ name: string;
2787
+ url: string;
2788
+ headers?: {
2789
+ [key: string]: string;
2790
+ };
2791
+ timeout_ms?: number;
2792
+ } | {
2793
+ type: "sse";
2794
+ name: string;
2795
+ url: string;
2796
+ headers?: {
2797
+ [key: string]: string;
2798
+ };
2799
+ timeout_ms?: number;
2800
+ } | {
2801
+ type: "stdio";
2802
+ name: string;
2803
+ command: string;
2804
+ args?: Array<string>;
2805
+ env?: {
2806
+ [key: string]: string;
2807
+ };
2808
+ timeout_ms?: number;
2809
+ }>;
2810
+ model: {
2811
+ id: string;
2812
+ effort?: {
2813
+ type: "low";
2814
+ } | {
2815
+ type: "medium";
2816
+ } | {
2817
+ type: "high";
2818
+ } | {
2819
+ type: "xhigh";
2820
+ } | {
2821
+ type: "max";
2822
+ };
2823
+ inference_geo?: string;
2824
+ speed?: "standard" | "fast";
2825
+ };
2826
+ name: string;
2827
+ skills: Array<{
2828
+ skill_id: string;
2829
+ type: "anthropic";
2830
+ version: string;
2831
+ } | {
2832
+ skill_id: string;
2833
+ type: "custom";
2834
+ version: string;
2835
+ }>;
2836
+ system: null | string;
2837
+ tools: Array<{
2838
+ configs: Array<{
2839
+ enabled: boolean;
2840
+ name: "bash";
2841
+ permission_policy: {
2842
+ type: "always_allow";
2843
+ } | {
2844
+ type: "always_ask";
2845
+ } | {
2846
+ type: "auto";
2847
+ };
2848
+ type: "bash";
2849
+ } | {
2850
+ enabled: boolean;
2851
+ name: "edit";
2852
+ permission_policy: {
2853
+ type: "always_allow";
2854
+ } | {
2855
+ type: "always_ask";
2856
+ } | {
2857
+ type: "auto";
2858
+ };
2859
+ type: "edit";
2860
+ } | {
2861
+ enabled: boolean;
2862
+ name: "read";
2863
+ permission_policy: {
2864
+ type: "always_allow";
2865
+ } | {
2866
+ type: "always_ask";
2867
+ } | {
2868
+ type: "auto";
2869
+ };
2870
+ type: "read";
2871
+ } | {
2872
+ enabled: boolean;
2873
+ name: "write";
2874
+ permission_policy: {
2875
+ type: "always_allow";
2876
+ } | {
2877
+ type: "always_ask";
2878
+ } | {
2879
+ type: "auto";
2880
+ };
2881
+ type: "write";
2882
+ } | {
2883
+ enabled: boolean;
2884
+ name: "glob";
2885
+ permission_policy: {
2886
+ type: "always_allow";
2887
+ } | {
2888
+ type: "always_ask";
2889
+ } | {
2890
+ type: "auto";
2891
+ };
2892
+ type: "glob";
2893
+ } | {
2894
+ enabled: boolean;
2895
+ name: "grep";
2896
+ permission_policy: {
2897
+ type: "always_allow";
2898
+ } | {
2899
+ type: "always_ask";
2900
+ } | {
2901
+ type: "auto";
2902
+ };
2903
+ type: "grep";
2904
+ } | {
2905
+ enabled: boolean;
2906
+ name: "web_fetch";
2907
+ permission_policy: {
2908
+ type: "always_allow";
2909
+ } | {
2910
+ type: "always_ask";
2911
+ } | {
2912
+ type: "auto";
2913
+ };
2914
+ type: "web_fetch";
2915
+ allowed_domains?: Array<string>;
2916
+ blocked_domains?: Array<string>;
2917
+ max_content_tokens?: null | number;
2918
+ } | {
2919
+ enabled: boolean;
2920
+ name: "web_search";
2921
+ permission_policy: {
2922
+ type: "always_allow";
2923
+ } | {
2924
+ type: "always_ask";
2925
+ } | {
2926
+ type: "auto";
2927
+ };
2928
+ type: "web_search";
2929
+ allowed_domains?: Array<string>;
2930
+ blocked_domains?: Array<string>;
2931
+ user_location?: null | {
2932
+ type: "approximate";
2933
+ city?: null | string;
2934
+ country?: null | string;
2935
+ region?: null | string;
2936
+ timezone?: null | string;
2937
+ };
2938
+ } | {
2939
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2940
+ enabled: boolean;
2941
+ permission_policy: {
2942
+ type: "always_allow" | "always_ask";
2943
+ };
2944
+ }>;
2945
+ default_config: {
2946
+ enabled: boolean;
2947
+ permission_policy: {
2948
+ type: "always_allow";
2949
+ } | {
2950
+ type: "always_ask";
2951
+ } | {
2952
+ type: "auto";
2953
+ };
2954
+ };
2955
+ type: "agent_toolset_20260401";
2956
+ } | {
2957
+ type: "mcp_toolset";
2958
+ mcp_server_name: string;
2959
+ default_config?: {
2960
+ enabled?: boolean | null;
2961
+ permission_policy?: null | {
2962
+ type: "always_allow" | "always_ask";
2963
+ };
2964
+ } | null;
2965
+ configs?: Array<{
2966
+ name: string;
2967
+ enabled?: boolean | null;
2968
+ permission_policy?: null | {
2969
+ type: "always_allow" | "always_ask";
2970
+ };
2971
+ }> | null;
2972
+ } | {
2973
+ description: string;
2974
+ input_schema: {
2975
+ type: "object";
2976
+ properties?: null | {
2977
+ [key: string]: unknown;
2978
+ };
2979
+ required?: null | Array<string>;
2980
+ [key: string]: unknown;
2981
+ };
2982
+ name: string;
2983
+ type: "custom";
2984
+ }>;
2985
+ type: "agent";
2986
+ version: number;
2987
+ }>;
2988
+ type: "coordinator";
2989
+ };
2990
+ name: string;
2991
+ skills: Array<{
2992
+ skill_id: string;
2993
+ type: "anthropic";
2994
+ version: string;
2995
+ } | {
2996
+ skill_id: string;
2997
+ type: "custom";
2998
+ version: string;
2999
+ }>;
3000
+ system: null | string;
3001
+ tools: Array<{
3002
+ configs: Array<{
3003
+ enabled: boolean;
3004
+ name: "bash";
3005
+ permission_policy: {
3006
+ type: "always_allow";
3007
+ } | {
3008
+ type: "always_ask";
3009
+ } | {
3010
+ type: "auto";
3011
+ };
3012
+ type: "bash";
3013
+ } | {
3014
+ enabled: boolean;
3015
+ name: "edit";
3016
+ permission_policy: {
3017
+ type: "always_allow";
3018
+ } | {
3019
+ type: "always_ask";
3020
+ } | {
3021
+ type: "auto";
3022
+ };
3023
+ type: "edit";
3024
+ } | {
3025
+ enabled: boolean;
3026
+ name: "read";
3027
+ permission_policy: {
3028
+ type: "always_allow";
3029
+ } | {
3030
+ type: "always_ask";
3031
+ } | {
3032
+ type: "auto";
3033
+ };
3034
+ type: "read";
3035
+ } | {
3036
+ enabled: boolean;
3037
+ name: "write";
3038
+ permission_policy: {
3039
+ type: "always_allow";
3040
+ } | {
3041
+ type: "always_ask";
3042
+ } | {
3043
+ type: "auto";
3044
+ };
3045
+ type: "write";
3046
+ } | {
3047
+ enabled: boolean;
3048
+ name: "glob";
3049
+ permission_policy: {
3050
+ type: "always_allow";
3051
+ } | {
3052
+ type: "always_ask";
3053
+ } | {
3054
+ type: "auto";
3055
+ };
3056
+ type: "glob";
3057
+ } | {
3058
+ enabled: boolean;
3059
+ name: "grep";
3060
+ permission_policy: {
3061
+ type: "always_allow";
3062
+ } | {
3063
+ type: "always_ask";
3064
+ } | {
3065
+ type: "auto";
3066
+ };
3067
+ type: "grep";
3068
+ } | {
3069
+ enabled: boolean;
3070
+ name: "web_fetch";
3071
+ permission_policy: {
3072
+ type: "always_allow";
3073
+ } | {
3074
+ type: "always_ask";
3075
+ } | {
3076
+ type: "auto";
3077
+ };
3078
+ type: "web_fetch";
3079
+ allowed_domains?: Array<string>;
3080
+ blocked_domains?: Array<string>;
3081
+ max_content_tokens?: null | number;
3082
+ } | {
3083
+ enabled: boolean;
3084
+ name: "web_search";
3085
+ permission_policy: {
3086
+ type: "always_allow";
3087
+ } | {
3088
+ type: "always_ask";
3089
+ } | {
3090
+ type: "auto";
3091
+ };
3092
+ type: "web_search";
3093
+ allowed_domains?: Array<string>;
3094
+ blocked_domains?: Array<string>;
3095
+ user_location?: null | {
3096
+ type: "approximate";
3097
+ city?: null | string;
3098
+ country?: null | string;
3099
+ region?: null | string;
3100
+ timezone?: null | string;
3101
+ };
3102
+ } | {
3103
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3104
+ enabled: boolean;
3105
+ permission_policy: {
3106
+ type: "always_allow" | "always_ask";
3107
+ };
3108
+ }>;
3109
+ default_config: {
3110
+ enabled: boolean;
3111
+ permission_policy: {
3112
+ type: "always_allow";
3113
+ } | {
3114
+ type: "always_ask";
3115
+ } | {
3116
+ type: "auto";
3117
+ };
3118
+ };
3119
+ type: "agent_toolset_20260401";
3120
+ } | {
3121
+ type: "mcp_toolset";
3122
+ mcp_server_name: string;
3123
+ default_config?: {
3124
+ enabled?: boolean | null;
3125
+ permission_policy?: null | {
3126
+ type: "always_allow" | "always_ask";
3127
+ };
3128
+ } | null;
3129
+ configs?: Array<{
3130
+ name: string;
3131
+ enabled?: boolean | null;
3132
+ permission_policy?: null | {
3133
+ type: "always_allow" | "always_ask";
3134
+ };
3135
+ }> | null;
3136
+ } | {
3137
+ description: string;
3138
+ input_schema: {
3139
+ type: "object";
3140
+ properties?: null | {
3141
+ [key: string]: unknown;
3142
+ };
3143
+ required?: null | Array<string>;
3144
+ [key: string]: unknown;
3145
+ };
3146
+ name: string;
3147
+ type: "custom";
3148
+ }>;
3149
+ type: "agent";
3150
+ version: number;
3151
+ };
3152
+ archived_at: null | string;
3153
+ budget: null | {
3154
+ max_list_cost: {
3155
+ amount: string;
3156
+ currency: "USD";
3157
+ };
3158
+ type: "limit";
3159
+ };
3160
+ created_at: string;
3161
+ environment_id?: string;
3162
+ metadata: {
3163
+ [key: string]: string;
3164
+ };
3165
+ outcome_evaluations: Array<{
3166
+ completed_at: null | string;
3167
+ description: string;
3168
+ explanation: null | string;
3169
+ iteration: number;
3170
+ outcome_id: string;
3171
+ result: string;
3172
+ type: "outcome_evaluation";
3173
+ }>;
3174
+ resources: Array<{
3175
+ id: string;
3176
+ created_at: string;
3177
+ mount_path: string;
3178
+ type: "github_repository";
3179
+ updated_at: string;
3180
+ url: string;
3181
+ checkout?: null | {
3182
+ name: string;
3183
+ type: "branch";
3184
+ } | {
3185
+ sha: string;
3186
+ type: "commit";
3187
+ };
3188
+ } | {
3189
+ id: string;
3190
+ created_at: string;
3191
+ file_id: string;
3192
+ mount_path: string;
3193
+ type: "file";
3194
+ updated_at: string;
3195
+ } | {
3196
+ memory_store_id: string;
3197
+ type: "memory_store";
3198
+ access?: null | "read_write" | "read_only";
3199
+ description?: string;
3200
+ instructions?: null | string;
3201
+ mount_path?: null | string;
3202
+ name?: null | string;
3203
+ }>;
3204
+ stats: {
3205
+ active_seconds?: number;
3206
+ duration_seconds?: number;
3207
+ };
3208
+ status: "rescheduling" | "running" | "idle" | "terminated";
3209
+ title: null | string;
3210
+ type: "session";
3211
+ updated_at: string;
3212
+ usage: {
3213
+ active_seconds?: number;
3214
+ cache_creation?: {
3215
+ ephemeral_1h_input_tokens?: number;
3216
+ ephemeral_5m_input_tokens?: number;
3217
+ };
3218
+ cache_read_input_tokens?: number;
3219
+ input_tokens?: number;
3220
+ list_cost?: null | {
3221
+ amount: string;
3222
+ currency: "USD";
3223
+ };
3224
+ output_tokens?: number;
3225
+ server_tool_use?: null | {
3226
+ web_fetch_requests?: number;
3227
+ web_search_requests?: number;
3228
+ };
3229
+ cost_by_product?: {
3230
+ [key: string]: string;
3231
+ };
3232
+ subagent_cost_micro_usd?: number;
3233
+ };
3234
+ vault_ids: Array<string>;
3235
+ deployment_id?: null | string;
3236
+ cwd: string;
3237
+ workspace?: {
3238
+ kind: "shared" | "isolated";
3239
+ path?: string;
3240
+ branch?: string;
3241
+ };
3242
+ computer_id?: string;
3243
+ model?: {
3244
+ id: string;
3245
+ thinking: {
3246
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3247
+ can_disable: boolean;
3248
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3249
+ } | null;
3250
+ };
3251
+ thinking?: {
3252
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3253
+ } | null;
3254
+ forked_from?: {
3255
+ session_id: string;
3256
+ message_id: string;
3257
+ } | null;
3258
+ readonly external_user_id: string | null;
3259
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3260
+ }>;
3261
+ };
2306
3262
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2307
3263
  id: string;
2308
3264
  agent: {
@@ -2316,6 +3272,7 @@ export declare function createAgent(transport: Transport): {
2316
3272
  speed?: "standard" | "fast";
2317
3273
  settings?: {
2318
3274
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3275
+ max_output_tokens?: number;
2319
3276
  };
2320
3277
  };
2321
3278
  multiagent: null | Types.AgentManaged171;
@@ -2342,6 +3299,11 @@ export declare function createAgent(transport: Transport): {
2342
3299
  vault_ids: Array<string>;
2343
3300
  deployment_id?: null | string;
2344
3301
  cwd: string;
3302
+ workspace?: {
3303
+ kind: "shared" | "isolated";
3304
+ path?: string;
3305
+ branch?: string;
3306
+ };
2345
3307
  computer_id?: string;
2346
3308
  model?: {
2347
3309
  id: string;
@@ -2361,6 +3323,40 @@ export declare function createAgent(transport: Transport): {
2361
3323
  readonly external_user_id: string | null;
2362
3324
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2363
3325
  }>;
3326
+ artifacts: {
3327
+ contentUrl: {
3328
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3329
+ url: string;
3330
+ expire_time: string;
3331
+ }>;
3332
+ };
3333
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3334
+ data: Array<{
3335
+ object: "artifact";
3336
+ id: string;
3337
+ session_id: string;
3338
+ run_id: string | null;
3339
+ name: string;
3340
+ version: number;
3341
+ parts: Array<{
3342
+ kind: "file";
3343
+ file_id: string;
3344
+ filename: string;
3345
+ mime_type: string;
3346
+ bytes: number;
3347
+ } | {
3348
+ kind: "object";
3349
+ object_type: "canvas" | "media_asset";
3350
+ object_id: string;
3351
+ href: string;
3352
+ title: string | null;
3353
+ }>;
3354
+ source_hrefs: Array<string>;
3355
+ create_time: string;
3356
+ update_time: string;
3357
+ }>;
3358
+ }>;
3359
+ };
2364
3360
  backgroundTasks: {
2365
3361
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2366
3362
  data: Array<{
@@ -2398,21 +3394,27 @@ export declare function createAgent(transport: Transport): {
2398
3394
  compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
2399
3395
  type: "session_compaction";
2400
3396
  id: string;
2401
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3397
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2402
3398
  reason?: string;
2403
3399
  } | {
2404
3400
  type: "session_compaction";
2405
3401
  id: string;
2406
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3402
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2407
3403
  reason?: string;
2408
3404
  }>;
2409
3405
  compactions: {
2410
3406
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
3407
+ active: {
3408
+ type: "session_compaction";
3409
+ id: string;
3410
+ status: "queued" | "running";
3411
+ trigger: "manual" | "auto" | "idle";
3412
+ } | null;
2411
3413
  data: Array<{
2412
3414
  type: "context_compaction";
2413
3415
  id: string;
2414
3416
  event_id: string | null;
2415
- trigger: "auto" | "manual" | "model_downshift";
3417
+ trigger: "auto" | "manual" | "model_downshift" | "idle";
2416
3418
  status: "succeeded" | "failed";
2417
3419
  model: string;
2418
3420
  compacted_message_count: number;
@@ -2437,6 +3439,7 @@ export declare function createAgent(transport: Transport): {
2437
3439
  speed?: "standard" | "fast";
2438
3440
  settings?: {
2439
3441
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3442
+ max_output_tokens?: number;
2440
3443
  };
2441
3444
  };
2442
3445
  multiagent: null | Types.AgentManaged171;
@@ -2463,6 +3466,11 @@ export declare function createAgent(transport: Transport): {
2463
3466
  vault_ids: Array<string>;
2464
3467
  deployment_id?: null | string;
2465
3468
  cwd: string;
3469
+ workspace?: {
3470
+ kind: "shared" | "isolated";
3471
+ path?: string;
3472
+ branch?: string;
3473
+ };
2466
3474
  computer_id?: string;
2467
3475
  model?: {
2468
3476
  id: string;
@@ -2532,6 +3540,18 @@ export declare function createAgent(transport: Transport): {
2532
3540
  evaluated_permission?: "allow" | "deny" | "ask";
2533
3541
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2534
3542
  session_thread_id?: null | string;
3543
+ permission_suggestions?: Array<{
3544
+ type: "add_rules";
3545
+ behavior: "allow";
3546
+ destination: "agent" | "session";
3547
+ rules: Array<{
3548
+ tool_name: string;
3549
+ rule_content: string;
3550
+ }>;
3551
+ }>;
3552
+ full_access_available?: boolean;
3553
+ user_once?: true;
3554
+ guarded_rule?: string;
2535
3555
  run_id: string | null;
2536
3556
  _meta?: {
2537
3557
  ui?: {
@@ -2571,6 +3591,18 @@ export declare function createAgent(transport: Transport): {
2571
3591
  evaluated_permission?: "allow" | "deny" | "ask";
2572
3592
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2573
3593
  session_thread_id?: null | string;
3594
+ permission_suggestions?: Array<{
3595
+ type: "add_rules";
3596
+ behavior: "allow";
3597
+ destination: "agent" | "session";
3598
+ rules: Array<{
3599
+ tool_name: string;
3600
+ rule_content: string;
3601
+ }>;
3602
+ }>;
3603
+ full_access_available?: boolean;
3604
+ user_once?: true;
3605
+ guarded_rule?: string;
2574
3606
  run_id: string | null;
2575
3607
  } | {
2576
3608
  id: string;
@@ -2599,6 +3631,9 @@ export declare function createAgent(transport: Transport): {
2599
3631
  budget?: null | Types.AgentManaged76;
2600
3632
  metadata?: Types.AgentManaged246;
2601
3633
  title?: null | string;
3634
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3635
+ previous_permission_mode?: string | null;
3636
+ permission_mode_version?: number;
2602
3637
  model?: {
2603
3638
  id: string;
2604
3639
  };
@@ -2759,6 +3794,7 @@ export declare function createAgent(transport: Transport): {
2759
3794
  speed?: "standard" | "fast";
2760
3795
  settings?: {
2761
3796
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3797
+ max_output_tokens?: number;
2762
3798
  };
2763
3799
  };
2764
3800
  multiagent: null | {
@@ -3213,10 +4249,19 @@ export declare function createAgent(transport: Transport): {
3213
4249
  web_fetch_requests?: number;
3214
4250
  web_search_requests?: number;
3215
4251
  };
4252
+ cost_by_product?: {
4253
+ [key: string]: string;
4254
+ };
4255
+ subagent_cost_micro_usd?: number;
3216
4256
  };
3217
4257
  vault_ids: Array<string>;
3218
4258
  deployment_id?: null | string;
3219
4259
  cwd: string;
4260
+ workspace?: {
4261
+ kind: "shared" | "isolated";
4262
+ path?: string;
4263
+ branch?: string;
4264
+ };
3220
4265
  computer_id?: string;
3221
4266
  model?: {
3222
4267
  id: string;
@@ -3250,6 +4295,7 @@ export declare function createAgent(transport: Transport): {
3250
4295
  speed?: "standard" | "fast";
3251
4296
  settings?: {
3252
4297
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4298
+ max_output_tokens?: number;
3253
4299
  };
3254
4300
  };
3255
4301
  multiagent: null | Types.AgentManaged171;
@@ -3276,6 +4322,11 @@ export declare function createAgent(transport: Transport): {
3276
4322
  vault_ids: Array<string>;
3277
4323
  deployment_id?: null | string;
3278
4324
  cwd: string;
4325
+ workspace?: {
4326
+ kind: "shared" | "isolated";
4327
+ path?: string;
4328
+ branch?: string;
4329
+ };
3279
4330
  computer_id?: string;
3280
4331
  model?: {
3281
4332
  id: string;
@@ -3297,6 +4348,557 @@ export declare function createAgent(transport: Transport): {
3297
4348
  }>;
3298
4349
  next_page: string | null;
3299
4350
  }>;
4351
+ name: {
4352
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4353
+ id: string;
4354
+ agent: {
4355
+ id: string;
4356
+ description: null | string;
4357
+ mcp_servers: Array<{
4358
+ type: "url";
4359
+ name: string;
4360
+ url: string;
4361
+ headers?: {
4362
+ [key: string]: string;
4363
+ };
4364
+ timeout_ms?: number;
4365
+ } | {
4366
+ type: "sse";
4367
+ name: string;
4368
+ url: string;
4369
+ headers?: {
4370
+ [key: string]: string;
4371
+ };
4372
+ timeout_ms?: number;
4373
+ } | {
4374
+ type: "stdio";
4375
+ name: string;
4376
+ command: string;
4377
+ args?: Array<string>;
4378
+ env?: {
4379
+ [key: string]: string;
4380
+ };
4381
+ timeout_ms?: number;
4382
+ }>;
4383
+ model: {
4384
+ id: string;
4385
+ effort?: {
4386
+ type: "low";
4387
+ } | {
4388
+ type: "medium";
4389
+ } | {
4390
+ type: "high";
4391
+ } | {
4392
+ type: "xhigh";
4393
+ } | {
4394
+ type: "max";
4395
+ };
4396
+ inference_geo?: string;
4397
+ speed?: "standard" | "fast";
4398
+ settings?: {
4399
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4400
+ max_output_tokens?: number;
4401
+ };
4402
+ };
4403
+ multiagent: null | {
4404
+ agents: Array<{
4405
+ model: string;
4406
+ type: "advisor";
4407
+ } | {
4408
+ id: string;
4409
+ description: null | string;
4410
+ mcp_servers: Array<{
4411
+ type: "url";
4412
+ name: string;
4413
+ url: string;
4414
+ headers?: {
4415
+ [key: string]: string;
4416
+ };
4417
+ timeout_ms?: number;
4418
+ } | {
4419
+ type: "sse";
4420
+ name: string;
4421
+ url: string;
4422
+ headers?: {
4423
+ [key: string]: string;
4424
+ };
4425
+ timeout_ms?: number;
4426
+ } | {
4427
+ type: "stdio";
4428
+ name: string;
4429
+ command: string;
4430
+ args?: Array<string>;
4431
+ env?: {
4432
+ [key: string]: string;
4433
+ };
4434
+ timeout_ms?: number;
4435
+ }>;
4436
+ model: {
4437
+ id: string;
4438
+ effort?: {
4439
+ type: "low";
4440
+ } | {
4441
+ type: "medium";
4442
+ } | {
4443
+ type: "high";
4444
+ } | {
4445
+ type: "xhigh";
4446
+ } | {
4447
+ type: "max";
4448
+ };
4449
+ inference_geo?: string;
4450
+ speed?: "standard" | "fast";
4451
+ };
4452
+ name: string;
4453
+ skills: Array<{
4454
+ skill_id: string;
4455
+ type: "anthropic";
4456
+ version: string;
4457
+ } | {
4458
+ skill_id: string;
4459
+ type: "custom";
4460
+ version: string;
4461
+ }>;
4462
+ system: null | string;
4463
+ tools: Array<{
4464
+ configs: Array<{
4465
+ enabled: boolean;
4466
+ name: "bash";
4467
+ permission_policy: {
4468
+ type: "always_allow";
4469
+ } | {
4470
+ type: "always_ask";
4471
+ } | {
4472
+ type: "auto";
4473
+ };
4474
+ type: "bash";
4475
+ } | {
4476
+ enabled: boolean;
4477
+ name: "edit";
4478
+ permission_policy: {
4479
+ type: "always_allow";
4480
+ } | {
4481
+ type: "always_ask";
4482
+ } | {
4483
+ type: "auto";
4484
+ };
4485
+ type: "edit";
4486
+ } | {
4487
+ enabled: boolean;
4488
+ name: "read";
4489
+ permission_policy: {
4490
+ type: "always_allow";
4491
+ } | {
4492
+ type: "always_ask";
4493
+ } | {
4494
+ type: "auto";
4495
+ };
4496
+ type: "read";
4497
+ } | {
4498
+ enabled: boolean;
4499
+ name: "write";
4500
+ permission_policy: {
4501
+ type: "always_allow";
4502
+ } | {
4503
+ type: "always_ask";
4504
+ } | {
4505
+ type: "auto";
4506
+ };
4507
+ type: "write";
4508
+ } | {
4509
+ enabled: boolean;
4510
+ name: "glob";
4511
+ permission_policy: {
4512
+ type: "always_allow";
4513
+ } | {
4514
+ type: "always_ask";
4515
+ } | {
4516
+ type: "auto";
4517
+ };
4518
+ type: "glob";
4519
+ } | {
4520
+ enabled: boolean;
4521
+ name: "grep";
4522
+ permission_policy: {
4523
+ type: "always_allow";
4524
+ } | {
4525
+ type: "always_ask";
4526
+ } | {
4527
+ type: "auto";
4528
+ };
4529
+ type: "grep";
4530
+ } | {
4531
+ enabled: boolean;
4532
+ name: "web_fetch";
4533
+ permission_policy: {
4534
+ type: "always_allow";
4535
+ } | {
4536
+ type: "always_ask";
4537
+ } | {
4538
+ type: "auto";
4539
+ };
4540
+ type: "web_fetch";
4541
+ allowed_domains?: Array<string>;
4542
+ blocked_domains?: Array<string>;
4543
+ max_content_tokens?: null | number;
4544
+ } | {
4545
+ enabled: boolean;
4546
+ name: "web_search";
4547
+ permission_policy: {
4548
+ type: "always_allow";
4549
+ } | {
4550
+ type: "always_ask";
4551
+ } | {
4552
+ type: "auto";
4553
+ };
4554
+ type: "web_search";
4555
+ allowed_domains?: Array<string>;
4556
+ blocked_domains?: Array<string>;
4557
+ user_location?: null | {
4558
+ type: "approximate";
4559
+ city?: null | string;
4560
+ country?: null | string;
4561
+ region?: null | string;
4562
+ timezone?: null | string;
4563
+ };
4564
+ } | {
4565
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4566
+ enabled: boolean;
4567
+ permission_policy: {
4568
+ type: "always_allow" | "always_ask";
4569
+ };
4570
+ }>;
4571
+ default_config: {
4572
+ enabled: boolean;
4573
+ permission_policy: {
4574
+ type: "always_allow";
4575
+ } | {
4576
+ type: "always_ask";
4577
+ } | {
4578
+ type: "auto";
4579
+ };
4580
+ };
4581
+ type: "agent_toolset_20260401";
4582
+ } | {
4583
+ type: "mcp_toolset";
4584
+ mcp_server_name: string;
4585
+ default_config?: {
4586
+ enabled?: boolean | null;
4587
+ permission_policy?: null | {
4588
+ type: "always_allow" | "always_ask";
4589
+ };
4590
+ } | null;
4591
+ configs?: Array<{
4592
+ name: string;
4593
+ enabled?: boolean | null;
4594
+ permission_policy?: null | {
4595
+ type: "always_allow" | "always_ask";
4596
+ };
4597
+ }> | null;
4598
+ } | {
4599
+ description: string;
4600
+ input_schema: {
4601
+ type: "object";
4602
+ properties?: null | {
4603
+ [key: string]: unknown;
4604
+ };
4605
+ required?: null | Array<string>;
4606
+ [key: string]: unknown;
4607
+ };
4608
+ name: string;
4609
+ type: "custom";
4610
+ }>;
4611
+ type: "agent";
4612
+ version: number;
4613
+ }>;
4614
+ type: "coordinator";
4615
+ };
4616
+ name: string;
4617
+ skills: Array<{
4618
+ skill_id: string;
4619
+ type: "anthropic";
4620
+ version: string;
4621
+ } | {
4622
+ skill_id: string;
4623
+ type: "custom";
4624
+ version: string;
4625
+ }>;
4626
+ system: null | string;
4627
+ tools: Array<{
4628
+ configs: Array<{
4629
+ enabled: boolean;
4630
+ name: "bash";
4631
+ permission_policy: {
4632
+ type: "always_allow";
4633
+ } | {
4634
+ type: "always_ask";
4635
+ } | {
4636
+ type: "auto";
4637
+ };
4638
+ type: "bash";
4639
+ } | {
4640
+ enabled: boolean;
4641
+ name: "edit";
4642
+ permission_policy: {
4643
+ type: "always_allow";
4644
+ } | {
4645
+ type: "always_ask";
4646
+ } | {
4647
+ type: "auto";
4648
+ };
4649
+ type: "edit";
4650
+ } | {
4651
+ enabled: boolean;
4652
+ name: "read";
4653
+ permission_policy: {
4654
+ type: "always_allow";
4655
+ } | {
4656
+ type: "always_ask";
4657
+ } | {
4658
+ type: "auto";
4659
+ };
4660
+ type: "read";
4661
+ } | {
4662
+ enabled: boolean;
4663
+ name: "write";
4664
+ permission_policy: {
4665
+ type: "always_allow";
4666
+ } | {
4667
+ type: "always_ask";
4668
+ } | {
4669
+ type: "auto";
4670
+ };
4671
+ type: "write";
4672
+ } | {
4673
+ enabled: boolean;
4674
+ name: "glob";
4675
+ permission_policy: {
4676
+ type: "always_allow";
4677
+ } | {
4678
+ type: "always_ask";
4679
+ } | {
4680
+ type: "auto";
4681
+ };
4682
+ type: "glob";
4683
+ } | {
4684
+ enabled: boolean;
4685
+ name: "grep";
4686
+ permission_policy: {
4687
+ type: "always_allow";
4688
+ } | {
4689
+ type: "always_ask";
4690
+ } | {
4691
+ type: "auto";
4692
+ };
4693
+ type: "grep";
4694
+ } | {
4695
+ enabled: boolean;
4696
+ name: "web_fetch";
4697
+ permission_policy: {
4698
+ type: "always_allow";
4699
+ } | {
4700
+ type: "always_ask";
4701
+ } | {
4702
+ type: "auto";
4703
+ };
4704
+ type: "web_fetch";
4705
+ allowed_domains?: Array<string>;
4706
+ blocked_domains?: Array<string>;
4707
+ max_content_tokens?: null | number;
4708
+ } | {
4709
+ enabled: boolean;
4710
+ name: "web_search";
4711
+ permission_policy: {
4712
+ type: "always_allow";
4713
+ } | {
4714
+ type: "always_ask";
4715
+ } | {
4716
+ type: "auto";
4717
+ };
4718
+ type: "web_search";
4719
+ allowed_domains?: Array<string>;
4720
+ blocked_domains?: Array<string>;
4721
+ user_location?: null | {
4722
+ type: "approximate";
4723
+ city?: null | string;
4724
+ country?: null | string;
4725
+ region?: null | string;
4726
+ timezone?: null | string;
4727
+ };
4728
+ } | {
4729
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4730
+ enabled: boolean;
4731
+ permission_policy: {
4732
+ type: "always_allow" | "always_ask";
4733
+ };
4734
+ }>;
4735
+ default_config: {
4736
+ enabled: boolean;
4737
+ permission_policy: {
4738
+ type: "always_allow";
4739
+ } | {
4740
+ type: "always_ask";
4741
+ } | {
4742
+ type: "auto";
4743
+ };
4744
+ };
4745
+ type: "agent_toolset_20260401";
4746
+ } | {
4747
+ type: "mcp_toolset";
4748
+ mcp_server_name: string;
4749
+ default_config?: {
4750
+ enabled?: boolean | null;
4751
+ permission_policy?: null | {
4752
+ type: "always_allow" | "always_ask";
4753
+ };
4754
+ } | null;
4755
+ configs?: Array<{
4756
+ name: string;
4757
+ enabled?: boolean | null;
4758
+ permission_policy?: null | {
4759
+ type: "always_allow" | "always_ask";
4760
+ };
4761
+ }> | null;
4762
+ } | {
4763
+ description: string;
4764
+ input_schema: {
4765
+ type: "object";
4766
+ properties?: null | {
4767
+ [key: string]: unknown;
4768
+ };
4769
+ required?: null | Array<string>;
4770
+ [key: string]: unknown;
4771
+ };
4772
+ name: string;
4773
+ type: "custom";
4774
+ }>;
4775
+ type: "agent";
4776
+ version: number;
4777
+ };
4778
+ archived_at: null | string;
4779
+ budget: null | {
4780
+ max_list_cost: {
4781
+ amount: string;
4782
+ currency: "USD";
4783
+ };
4784
+ type: "limit";
4785
+ };
4786
+ created_at: string;
4787
+ environment_id?: string;
4788
+ metadata: {
4789
+ [key: string]: string;
4790
+ };
4791
+ outcome_evaluations: Array<{
4792
+ completed_at: null | string;
4793
+ description: string;
4794
+ explanation: null | string;
4795
+ iteration: number;
4796
+ outcome_id: string;
4797
+ result: string;
4798
+ type: "outcome_evaluation";
4799
+ }>;
4800
+ resources: Array<{
4801
+ id: string;
4802
+ created_at: string;
4803
+ mount_path: string;
4804
+ type: "github_repository";
4805
+ updated_at: string;
4806
+ url: string;
4807
+ checkout?: null | {
4808
+ name: string;
4809
+ type: "branch";
4810
+ } | {
4811
+ sha: string;
4812
+ type: "commit";
4813
+ };
4814
+ } | {
4815
+ id: string;
4816
+ created_at: string;
4817
+ file_id: string;
4818
+ mount_path: string;
4819
+ type: "file";
4820
+ updated_at: string;
4821
+ } | {
4822
+ memory_store_id: string;
4823
+ type: "memory_store";
4824
+ access?: null | "read_write" | "read_only";
4825
+ description?: string;
4826
+ instructions?: null | string;
4827
+ mount_path?: null | string;
4828
+ name?: null | string;
4829
+ }>;
4830
+ stats: {
4831
+ active_seconds?: number;
4832
+ duration_seconds?: number;
4833
+ };
4834
+ status: "rescheduling" | "running" | "idle" | "terminated";
4835
+ title: null | string;
4836
+ type: "session";
4837
+ updated_at: string;
4838
+ usage: {
4839
+ active_seconds?: number;
4840
+ cache_creation?: {
4841
+ ephemeral_1h_input_tokens?: number;
4842
+ ephemeral_5m_input_tokens?: number;
4843
+ };
4844
+ cache_read_input_tokens?: number;
4845
+ input_tokens?: number;
4846
+ list_cost?: null | {
4847
+ amount: string;
4848
+ currency: "USD";
4849
+ };
4850
+ output_tokens?: number;
4851
+ server_tool_use?: null | {
4852
+ web_fetch_requests?: number;
4853
+ web_search_requests?: number;
4854
+ };
4855
+ cost_by_product?: {
4856
+ [key: string]: string;
4857
+ };
4858
+ subagent_cost_micro_usd?: number;
4859
+ };
4860
+ vault_ids: Array<string>;
4861
+ deployment_id?: null | string;
4862
+ cwd: string;
4863
+ workspace?: {
4864
+ kind: "shared" | "isolated";
4865
+ path?: string;
4866
+ branch?: string;
4867
+ };
4868
+ computer_id?: string;
4869
+ model?: {
4870
+ id: string;
4871
+ thinking: {
4872
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4873
+ can_disable: boolean;
4874
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4875
+ } | null;
4876
+ };
4877
+ thinking?: {
4878
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4879
+ } | null;
4880
+ forked_from?: {
4881
+ session_id: string;
4882
+ message_id: string;
4883
+ } | null;
4884
+ readonly external_user_id: string | null;
4885
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4886
+ }>;
4887
+ };
4888
+ requests: {
4889
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4890
+ data: Array<{
4891
+ id: string;
4892
+ object: "request";
4893
+ kind: "question" | "approval";
4894
+ status: "pending";
4895
+ tool_name: string;
4896
+ input: unknown;
4897
+ create_time: string;
4898
+ expire_time: string | null;
4899
+ }>;
4900
+ }>;
4901
+ };
3300
4902
  resources: {
3301
4903
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3302
4904
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3327,6 +4929,7 @@ export declare function createAgent(transport: Transport): {
3327
4929
  speed?: "standard" | "fast";
3328
4930
  settings?: {
3329
4931
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4932
+ max_output_tokens?: number;
3330
4933
  };
3331
4934
  };
3332
4935
  multiagent: null | Types.AgentManaged171;
@@ -3353,6 +4956,11 @@ export declare function createAgent(transport: Transport): {
3353
4956
  vault_ids: Array<string>;
3354
4957
  deployment_id?: null | string;
3355
4958
  cwd: string;
4959
+ workspace?: {
4960
+ kind: "shared" | "isolated";
4961
+ path?: string;
4962
+ branch?: string;
4963
+ };
3356
4964
  computer_id?: string;
3357
4965
  model?: {
3358
4966
  id: string;
@@ -3375,7 +4983,7 @@ export declare function createAgent(transport: Transport): {
3375
4983
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
3376
4984
  type: "session_compaction";
3377
4985
  id: string;
3378
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
4986
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
3379
4987
  reason?: string;
3380
4988
  }>;
3381
4989
  retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
@@ -3508,6 +5116,18 @@ export declare function createAgent(transport: Transport): {
3508
5116
  evaluated_permission?: "allow" | "deny" | "ask";
3509
5117
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3510
5118
  session_thread_id?: null | string;
5119
+ permission_suggestions?: Array<{
5120
+ type: "add_rules";
5121
+ behavior: "allow";
5122
+ destination: "agent" | "session";
5123
+ rules: Array<{
5124
+ tool_name: string;
5125
+ rule_content: string;
5126
+ }>;
5127
+ }>;
5128
+ full_access_available?: boolean;
5129
+ user_once?: true;
5130
+ guarded_rule?: string;
3511
5131
  run_id: string | null;
3512
5132
  parent_tool_use_id?: string;
3513
5133
  _meta?: {
@@ -3547,6 +5167,18 @@ export declare function createAgent(transport: Transport): {
3547
5167
  evaluated_permission?: "allow" | "deny" | "ask";
3548
5168
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3549
5169
  session_thread_id?: null | string;
5170
+ permission_suggestions?: Array<{
5171
+ type: "add_rules";
5172
+ behavior: "allow";
5173
+ destination: "agent" | "session";
5174
+ rules: Array<{
5175
+ tool_name: string;
5176
+ rule_content: string;
5177
+ }>;
5178
+ }>;
5179
+ full_access_available?: boolean;
5180
+ user_once?: true;
5181
+ guarded_rule?: string;
3550
5182
  run_id: string | null;
3551
5183
  } | {
3552
5184
  id: string;
@@ -3575,6 +5207,9 @@ export declare function createAgent(transport: Transport): {
3575
5207
  budget?: null | Types.AgentManaged76;
3576
5208
  metadata?: Types.AgentManaged246;
3577
5209
  title?: null | string;
5210
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5211
+ previous_permission_mode?: string | null;
5212
+ permission_mode_version?: number;
3578
5213
  model?: {
3579
5214
  id: string;
3580
5215
  };
@@ -3665,6 +5300,7 @@ export declare function createAgent(transport: Transport): {
3665
5300
  speed?: "standard" | "fast";
3666
5301
  settings?: {
3667
5302
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5303
+ max_output_tokens?: number;
3668
5304
  };
3669
5305
  };
3670
5306
  multiagent: null | Types.AgentManaged171;
@@ -3691,6 +5327,11 @@ export declare function createAgent(transport: Transport): {
3691
5327
  vault_ids: Array<string>;
3692
5328
  deployment_id?: null | string;
3693
5329
  cwd: string;
5330
+ workspace?: {
5331
+ kind: "shared" | "isolated";
5332
+ path?: string;
5333
+ branch?: string;
5334
+ };
3694
5335
  computer_id?: string;
3695
5336
  model?: {
3696
5337
  id: string;
@@ -3755,6 +5396,29 @@ export declare function createAgent(transport: Transport): {
3755
5396
  next_page: null;
3756
5397
  }>;
3757
5398
  };
5399
+ uploads: {
5400
+ contentUrl: {
5401
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5402
+ url: string;
5403
+ expires_at: string;
5404
+ }>;
5405
+ };
5406
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5407
+ upload_id: string;
5408
+ expires_at: string;
5409
+ url: string;
5410
+ } | {
5411
+ upload_id: string;
5412
+ expires_at: string;
5413
+ part_size: number;
5414
+ parts: Array<{
5415
+ part_number: number;
5416
+ url: string;
5417
+ }>;
5418
+ complete_url: string;
5419
+ status_url: string;
5420
+ }>;
5421
+ };
3758
5422
  };
3759
5423
  export declare function createApplication(transport: Transport): {
3760
5424
  assets: {
@@ -3836,6 +5500,13 @@ export declare function createAutomation(transport: Transport): {
3836
5500
  hooks: {
3837
5501
  send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
3838
5502
  };
5503
+ humanTasks: {
5504
+ cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
5505
+ delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
5506
+ list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
5507
+ respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
5508
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
5509
+ };
3839
5510
  resolve: {
3840
5511
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
3841
5512
  };
@@ -3902,6 +5573,33 @@ export declare function createAutomation(transport: Transport): {
3902
5573
  restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
3903
5574
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
3904
5575
  update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
5576
+ vaults: {
5577
+ delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
5578
+ list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
5579
+ data: Array<{
5580
+ alias: string;
5581
+ vault: {
5582
+ id: string;
5583
+ name: string;
5584
+ };
5585
+ secrets: Array<{
5586
+ name: string;
5587
+ }>;
5588
+ secrets_unavailable?: true;
5589
+ }>;
5590
+ }>;
5591
+ set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
5592
+ alias: string;
5593
+ vault: {
5594
+ id: string;
5595
+ name: string;
5596
+ };
5597
+ secrets: Array<{
5598
+ name: string;
5599
+ }>;
5600
+ secrets_unavailable?: true;
5601
+ }>;
5602
+ };
3905
5603
  versions: {
3906
5604
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
3907
5605
  deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
@@ -3949,6 +5647,33 @@ export declare function createAutomation(transport: Transport): {
3949
5647
  restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
3950
5648
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
3951
5649
  update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
5650
+ vaults: {
5651
+ delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
5652
+ list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
5653
+ data: Array<{
5654
+ alias: string;
5655
+ vault: {
5656
+ id: string;
5657
+ name: string;
5658
+ };
5659
+ secrets: Array<{
5660
+ name: string;
5661
+ }>;
5662
+ secrets_unavailable?: true;
5663
+ }>;
5664
+ }>;
5665
+ set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
5666
+ alias: string;
5667
+ vault: {
5668
+ id: string;
5669
+ name: string;
5670
+ };
5671
+ secrets: Array<{
5672
+ name: string;
5673
+ }>;
5674
+ secrets_unavailable?: true;
5675
+ }>;
5676
+ };
3952
5677
  versions: {
3953
5678
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
3954
5679
  deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
@@ -3981,6 +5706,49 @@ export declare function createBrowser(transport: Transport): {
3981
5706
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3982
5707
  };
3983
5708
  sessions: {
5709
+ actions: {
5710
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5711
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5712
+ tab: string;
5713
+ url: string;
5714
+ title: string;
5715
+ } | {
5716
+ type: "select";
5717
+ tab: string;
5718
+ values: Array<string>;
5719
+ } | {
5720
+ type: "tabs.list";
5721
+ tabs: Array<{
5722
+ id: string;
5723
+ url: string;
5724
+ title: string;
5725
+ active: boolean;
5726
+ }>;
5727
+ } | {
5728
+ type: "snapshot";
5729
+ tab: string;
5730
+ url: string;
5731
+ title: string;
5732
+ snapshot: string;
5733
+ refs: number;
5734
+ truncated: boolean;
5735
+ } | {
5736
+ type: "screenshot";
5737
+ tab: string;
5738
+ mediaType: "image/png";
5739
+ data: string;
5740
+ bytes: number;
5741
+ } | {
5742
+ type: "evaluate";
5743
+ tab: string;
5744
+ value: unknown;
5745
+ } | {
5746
+ type: "set_cookie";
5747
+ tab: string;
5748
+ name: string;
5749
+ domain: string;
5750
+ }>;
5751
+ };
3984
5752
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3985
5753
  events: {
3986
5754
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3988,6 +5756,7 @@ export declare function createBrowser(transport: Transport): {
3988
5756
  nextCursor: string | null;
3989
5757
  }>;
3990
5758
  };
5759
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3991
5760
  handoff: {
3992
5761
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3993
5762
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3998,6 +5767,7 @@ export declare function createBrowser(transport: Transport): {
3998
5767
  }>;
3999
5768
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
4000
5769
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5770
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
4001
5771
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
4002
5772
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
4003
5773
  viewer: {
@@ -4007,6 +5777,187 @@ export declare function createBrowser(transport: Transport): {
4007
5777
  };
4008
5778
  };
4009
5779
  };
5780
+ export declare function createCanvas(transport: Transport): {
5781
+ canvases: {
5782
+ create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
5783
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
5784
+ execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
5785
+ images: {
5786
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
5787
+ };
5788
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
5789
+ nodes: {
5790
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
5791
+ };
5792
+ restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
5793
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
5794
+ update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
5795
+ versions: {
5796
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListVersionsData>) => Promise<Types.CanvasVersionPage>;
5797
+ };
5798
+ };
5799
+ collections: {
5800
+ create: (options: import("./core/transport.js").CallOptions<Types.CanvasCreateCollectionData>) => Promise<Types.CanvasCollection>;
5801
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCollectionData>) => Promise<Types.CanvasDeletedCollection>;
5802
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCollectionsData> | undefined) => Promise<Types.CanvasCollectionPage>;
5803
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
5804
+ update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
5805
+ };
5806
+ };
5807
+ export declare function createContent(transport: Transport): {
5808
+ contents: {
5809
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5810
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5811
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5812
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5813
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5814
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5815
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5816
+ };
5817
+ playbackSessions: {
5818
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5819
+ };
5820
+ versions: {
5821
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5822
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5823
+ };
5824
+ };
5825
+ export declare function createCrm(transport: Transport): {
5826
+ associations: {
5827
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
5828
+ createDefault: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateDefaultData>) => Promise<Types.CrmAssociationsBatchResponsePublicDefaultAssociation & Types.CrmWriteResult>;
5829
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsListData>) => Promise<Types.CrmAssociationsCollectionResponseMultiAssociatedObjectWithLabelForwardPaging>;
5830
+ remove: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsRemoveData>) => Promise<Types.CrmWriteResult>;
5831
+ };
5832
+ changes: {
5833
+ revert: (options: import("./core/transport.js").CallOptions<Types.CrmChangesRevertData>) => Promise<Types.CrmWriteResult>;
5834
+ };
5835
+ layouts: {
5836
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsRetrieveData>) => Promise<Types.CrmLayout>;
5837
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsUpdateData>) => Promise<Types.CrmLayout & Types.CrmWriteResult>;
5838
+ };
5839
+ leads: {
5840
+ qualify: (options: import("./core/transport.js").CallOptions<Types.CrmLeadsQualifyData>) => Promise<Types.CrmWriteResult>;
5841
+ };
5842
+ objects: {
5843
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsArchiveData>) => Promise<Types.CrmWriteResult>;
5844
+ batch: {
5845
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchArchiveData>) => Promise<Types.CrmWriteResult>;
5846
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchCreateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
5847
+ read: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchReadData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject>;
5848
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpdateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
5849
+ upsert: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpsertData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicUpsertObject & Types.CrmWriteResult>;
5850
+ };
5851
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsCreateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
5852
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsListData>) => Promise<Types.CrmObjectsCollectionResponseSimplePublicObjectWithAssociationsForwardPaging>;
5853
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsRetrieveData>) => Promise<Types.CrmObjectsSimplePublicObjectWithAssociations>;
5854
+ search: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsSearchData>) => Promise<Types.CrmObjectsCollectionResponseWithTotalSimplePublicObject>;
5855
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsUpdateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
5856
+ };
5857
+ pipelines: {
5858
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesArchiveData>) => Promise<Types.CrmWriteResult>;
5859
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesCreateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
5860
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesListData>) => Promise<Types.CrmPipelinesCollectionResponsePipelineNoPaging>;
5861
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesRetrieveData>) => Promise<Types.CrmPipelinesPipeline>;
5862
+ stages: {
5863
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesArchiveData>) => Promise<Types.CrmWriteResult>;
5864
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesCreateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
5865
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesUpdateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
5866
+ };
5867
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesUpdateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
5868
+ };
5869
+ properties: {
5870
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesArchiveData>) => Promise<Types.CrmWriteResult>;
5871
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesCreateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
5872
+ groups: {
5873
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsCreateData>) => Promise<Types.CrmPropertiesPropertyGroup & Types.CrmWriteResult>;
5874
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyGroupNoPaging>;
5875
+ };
5876
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyNoPaging>;
5877
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesRetrieveData>) => Promise<Types.CrmPropertiesProperty>;
5878
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesUpdateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
5879
+ };
5880
+ schemas: {
5881
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmSchemasCreateData>) => Promise<Types.CrmSchemasObjectSchema & Types.CrmWriteResult>;
5882
+ list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
5883
+ };
5884
+ };
5885
+ export declare function createCustomer(transport: Transport): {
5886
+ accessTokens: {
5887
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5888
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5889
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5890
+ };
5891
+ customers: {
5892
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5893
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5894
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5895
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5896
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5897
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5898
+ };
5899
+ grantCodes: {
5900
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5901
+ };
5902
+ publishableKeys: {
5903
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5904
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5905
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5906
+ };
5907
+ usage: {
5908
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5909
+ };
5910
+ };
5911
+ export declare function createCut(transport: Transport): {
5912
+ exports: {
5913
+ cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
5914
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
5915
+ };
5916
+ projects: {
5917
+ analysis: {
5918
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5919
+ kind: "cut-AnalysisResult";
5920
+ } & Types.CutAnalysisResult>;
5921
+ };
5922
+ bindings: {
5923
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
5924
+ delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
5925
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
5926
+ };
5927
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
5928
+ delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
5929
+ execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
5930
+ exports: {
5931
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
5932
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
5933
+ };
5934
+ frames: {
5935
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
5936
+ };
5937
+ list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
5938
+ media: {
5939
+ import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
5940
+ };
5941
+ renders: {
5942
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5943
+ };
5944
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
5945
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
5946
+ retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
5947
+ undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
5948
+ update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
5949
+ versions: {
5950
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
5951
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
5952
+ };
5953
+ };
5954
+ renders: {
5955
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5956
+ };
5957
+ versions: {
5958
+ restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
5959
+ };
5960
+ };
4010
5961
  export declare function createDatabase(transport: Transport): {
4011
5962
  databases: {
4012
5963
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
@@ -4052,8 +6003,197 @@ export declare function createDatabase(transport: Transport): {
4052
6003
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4053
6004
  };
4054
6005
  };
6006
+ export declare function createDevops(transport: Transport): {
6007
+ changes: {
6008
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6009
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
6010
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6011
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
6012
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6013
+ };
6014
+ connections: {
6015
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6016
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6017
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6018
+ repositories: {
6019
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6020
+ };
6021
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6022
+ };
6023
+ environments: {
6024
+ checkpoints: {
6025
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6026
+ };
6027
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6028
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6029
+ };
6030
+ flags: {
6031
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6032
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6033
+ environments: {
6034
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6035
+ };
6036
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6037
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6038
+ };
6039
+ progressiveRollouts: {
6040
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6041
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6042
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6043
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6044
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6045
+ };
6046
+ projects: {
6047
+ changes: {
6048
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6049
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6050
+ };
6051
+ environments: {
6052
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6053
+ targets: {
6054
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6055
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6056
+ state: {
6057
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6058
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6059
+ lock: {
6060
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6061
+ };
6062
+ };
6063
+ };
6064
+ };
6065
+ flags: {
6066
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6067
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6068
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6069
+ };
6070
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6071
+ promotions: {
6072
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6073
+ };
6074
+ pullRequests: {
6075
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6076
+ };
6077
+ releases: {
6078
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6079
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6080
+ };
6081
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6082
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6083
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6084
+ segments: {
6085
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6086
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6087
+ };
6088
+ targets: {
6089
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6090
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6091
+ };
6092
+ testCases: {
6093
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6094
+ };
6095
+ testPlans: {
6096
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6097
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6098
+ };
6099
+ testReports: {
6100
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6101
+ };
6102
+ testRuns: {
6103
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6104
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6105
+ };
6106
+ testSuites: {
6107
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6108
+ };
6109
+ units: {
6110
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6111
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6112
+ };
6113
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6114
+ workspaces: {
6115
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6116
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6117
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6118
+ };
6119
+ };
6120
+ promotions: {
6121
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6122
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6123
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6124
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6125
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6126
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6127
+ rollouts: {
6128
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6129
+ };
6130
+ };
6131
+ pullRequests: {
6132
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6133
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6134
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6135
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6136
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6137
+ };
6138
+ releases: {
6139
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6140
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6141
+ };
6142
+ rollouts: {
6143
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6144
+ };
6145
+ segments: {
6146
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6147
+ };
6148
+ testCases: {
6149
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6150
+ };
6151
+ testPlans: {
6152
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6153
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6154
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6155
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6156
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6157
+ };
6158
+ testRuns: {
6159
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6160
+ executions: {
6161
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6162
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6163
+ };
6164
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6165
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6166
+ };
6167
+ testSuites: {
6168
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6169
+ };
6170
+ units: {
6171
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6172
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6173
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6174
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6175
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6176
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6177
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6178
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6179
+ transitions: {
6180
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6181
+ };
6182
+ };
6183
+ };
4055
6184
  export declare function createFile(transport: Transport): {
4056
6185
  files: {
6186
+ contentLinks: {
6187
+ revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
6188
+ revoked: true;
6189
+ }>;
6190
+ };
6191
+ contentUrl: {
6192
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
6193
+ url: string;
6194
+ expires_at: string;
6195
+ }>;
6196
+ };
4057
6197
  create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
4058
6198
  delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
4059
6199
  list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
@@ -4064,9 +6204,11 @@ export declare function createFile(transport: Transport): {
4064
6204
  cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4065
6205
  complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4066
6206
  create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
6207
+ createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
4067
6208
  parts: {
4068
6209
  create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4069
6210
  };
6211
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4070
6212
  };
4071
6213
  };
4072
6214
  export declare function createKnowledge(transport: Transport): {
@@ -4114,11 +6256,33 @@ export declare function createKnowledge(transport: Transport): {
4114
6256
  };
4115
6257
  };
4116
6258
  export declare function createMedia(transport: Transport): {
6259
+ assets: {
6260
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6261
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6262
+ };
6263
+ generation: {
6264
+ capabilities: {
6265
+ list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
6266
+ };
6267
+ };
6268
+ images: {
6269
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6270
+ };
4117
6271
  libraries: {
4118
6272
  assets: {
6273
+ align: {
6274
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6275
+ };
4119
6276
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4120
6277
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4121
6278
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
6279
+ frames: {
6280
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
6281
+ };
6282
+ hls: {
6283
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6284
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6285
+ };
4122
6286
  import: {
4123
6287
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4124
6288
  };
@@ -4131,6 +6295,9 @@ export declare function createMedia(transport: Transport): {
4131
6295
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4132
6296
  };
4133
6297
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6298
+ versions: {
6299
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6300
+ };
4134
6301
  };
4135
6302
  batches: {
4136
6303
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4138,6 +6305,9 @@ export declare function createMedia(transport: Transport): {
4138
6305
  };
4139
6306
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
4140
6307
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
6308
+ deliveryTokens: {
6309
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
6310
+ };
4141
6311
  events: {
4142
6312
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
4143
6313
  };
@@ -4145,14 +6315,22 @@ export declare function createMedia(transport: Transport): {
4145
6315
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4146
6316
  };
4147
6317
  jobs: {
6318
+ cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
6319
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4148
6320
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4149
6321
  };
4150
6322
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6323
+ materials: {
6324
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6325
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6326
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6327
+ };
4151
6328
  purge: {
4152
6329
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4153
6330
  };
4154
6331
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4155
6332
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6333
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4156
6334
  search: {
4157
6335
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4158
6336
  expression: {
@@ -4165,10 +6343,41 @@ export declare function createMedia(transport: Transport): {
4165
6343
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4166
6344
  };
4167
6345
  };
6346
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
6347
+ understandings: {
6348
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
6349
+ retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
6350
+ };
4168
6351
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6352
+ voices: {
6353
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6354
+ designs: {
6355
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6356
+ };
6357
+ };
6358
+ };
6359
+ speech: {
6360
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6361
+ };
6362
+ videos: {
6363
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4169
6364
  };
4170
6365
  };
4171
6366
  export declare function createMeta(transport: Transport): {
6367
+ docs: {
6368
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
6369
+ path: string;
6370
+ title: string;
6371
+ url: string;
6372
+ markdown: string;
6373
+ }>;
6374
+ search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
6375
+ path: string;
6376
+ title: string;
6377
+ url: string;
6378
+ snippet: string;
6379
+ }[]>;
6380
+ };
4172
6381
  health: {
4173
6382
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
4174
6383
  };
@@ -4204,11 +6413,17 @@ export declare function createModel(transport: Transport): {
4204
6413
  start: number;
4205
6414
  end: number;
4206
6415
  text: string;
6416
+ speaker?: string;
4207
6417
  temperature?: number;
4208
6418
  avg_logprob?: number;
4209
6419
  compression_ratio?: number;
4210
6420
  no_speech_prob?: number;
4211
6421
  }>;
6422
+ words?: Array<{
6423
+ word: string;
6424
+ start: number;
6425
+ end: number;
6426
+ }>;
4212
6427
  }>;
4213
6428
  };
4214
6429
  };
@@ -4346,7 +6561,35 @@ export declare function createModel(transport: Transport): {
4346
6561
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4347
6562
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4348
6563
  };
6564
+ modelAccess: {
6565
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6566
+ items: Array<{
6567
+ model: string;
6568
+ access_required: boolean;
6569
+ granted: boolean;
6570
+ granted_by: string | null;
6571
+ granted_at: string | null;
6572
+ sell_input_price: number | null;
6573
+ sell_output_price: number | null;
6574
+ }>;
6575
+ }>;
6576
+ };
4349
6577
  models: {
6578
+ access: {
6579
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6580
+ model: string;
6581
+ revoked: true;
6582
+ }>;
6583
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6584
+ model: string;
6585
+ access_required: boolean;
6586
+ granted: true;
6587
+ granted_by: string;
6588
+ granted_at: string;
6589
+ sell_input_price: number | null;
6590
+ sell_output_price: number | null;
6591
+ }>;
6592
+ };
4350
6593
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4351
6594
  object: "list";
4352
6595
  data: Array<{
@@ -4361,6 +6604,7 @@ export declare function createModel(transport: Transport): {
4361
6604
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4362
6605
  supported_apis: Array<string>;
4363
6606
  tags: Array<string>;
6607
+ access_required: boolean;
4364
6608
  architecture: {
4365
6609
  modality: string;
4366
6610
  input_modalities: Array<string>;
@@ -4407,6 +6651,7 @@ export declare function createModel(transport: Transport): {
4407
6651
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4408
6652
  supported_apis: Array<string>;
4409
6653
  tags: Array<string>;
6654
+ access_required: boolean;
4410
6655
  architecture: {
4411
6656
  modality: string;
4412
6657
  input_modalities: Array<string>;
@@ -4578,6 +6823,39 @@ export declare function createModel(transport: Transport): {
4578
6823
  [key: string]: unknown;
4579
6824
  }>;
4580
6825
  };
6826
+ systemone: {
6827
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSystemoneData>) => Promise<{
6828
+ model: string;
6829
+ answers: {
6830
+ [key: string]: {
6831
+ type: "noul";
6832
+ noul: number;
6833
+ } | {
6834
+ type: "choice";
6835
+ choice: string;
6836
+ confidence: number;
6837
+ probabilities: {
6838
+ [key: string]: number;
6839
+ };
6840
+ } | {
6841
+ type: "score";
6842
+ score: number;
6843
+ confidence: number;
6844
+ legend: {
6845
+ [key: string]: unknown;
6846
+ };
6847
+ probabilities: {
6848
+ [key: string]: number;
6849
+ };
6850
+ };
6851
+ };
6852
+ usage: {
6853
+ input_tokens: number;
6854
+ output_tokens: number;
6855
+ cost: number;
6856
+ };
6857
+ }>;
6858
+ };
4581
6859
  videos: {
4582
6860
  create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
4583
6861
  id: string;
@@ -4600,6 +6878,7 @@ export declare function createModel(transport: Transport): {
4600
6878
  unsigned_urls: Array<string>;
4601
6879
  usage?: {
4602
6880
  cost: number;
6881
+ billed_seconds?: number;
4603
6882
  };
4604
6883
  }>;
4605
6884
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4630,6 +6909,7 @@ export declare function createModel(transport: Transport): {
4630
6909
  unsigned_urls: Array<string>;
4631
6910
  usage?: {
4632
6911
  cost: number;
6912
+ billed_seconds?: number;
4633
6913
  };
4634
6914
  }>;
4635
6915
  has_more: boolean;
@@ -4658,12 +6938,61 @@ export declare function createModel(transport: Transport): {
4658
6938
  unsigned_urls: Array<string>;
4659
6939
  usage?: {
4660
6940
  cost: number;
6941
+ billed_seconds?: number;
4661
6942
  };
4662
6943
  }>;
4663
6944
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
4664
6945
  };
4665
6946
  };
6947
+ export declare function createOntology(transport: Transport): {
6948
+ changesets: {
6949
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
6950
+ };
6951
+ nodes: {
6952
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
6953
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
6954
+ merge: {
6955
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
6956
+ };
6957
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6958
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
6959
+ update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
6960
+ };
6961
+ relations: {
6962
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
6963
+ invalidate: {
6964
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
6965
+ };
6966
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
6967
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
6968
+ };
6969
+ search: {
6970
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
6971
+ };
6972
+ types: {
6973
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
6974
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
6975
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
6976
+ };
6977
+ };
4666
6978
  export declare function createOrganization(transport: Transport): {
6979
+ actors: {
6980
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6981
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6982
+ };
6983
+ assignments: {
6984
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6985
+ makePrimary: {
6986
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6987
+ };
6988
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6989
+ terminate: {
6990
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6991
+ };
6992
+ transfer: {
6993
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6994
+ };
6995
+ };
4667
6996
  charges: {
4668
6997
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
4669
6998
  ChargePeriodStart: string;
@@ -4705,6 +7034,16 @@ export declare function createOrganization(transport: Transport): {
4705
7034
  next_page: string | null;
4706
7035
  }>;
4707
7036
  };
7037
+ departments: {
7038
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7039
+ dissolve: {
7040
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7041
+ };
7042
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7043
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7044
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7045
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7046
+ };
4708
7047
  events: {
4709
7048
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
4710
7049
  object: "page";
@@ -4907,6 +7246,86 @@ export declare function createOrganization(transport: Transport): {
4907
7246
  }>;
4908
7247
  }>;
4909
7248
  };
7249
+ jobs: {
7250
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7251
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7252
+ retire: {
7253
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7254
+ };
7255
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7256
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7257
+ };
7258
+ keyResults: {
7259
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7260
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7261
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7262
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7263
+ };
7264
+ ladders: {
7265
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7266
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7267
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7268
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7269
+ };
7270
+ members: {
7271
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
7272
+ data: Array<{
7273
+ id: string;
7274
+ name: string | null;
7275
+ email: string;
7276
+ role: "owner" | "admin" | "member";
7277
+ joined_at: string;
7278
+ }>;
7279
+ has_more: boolean;
7280
+ next_page: string | null;
7281
+ }>;
7282
+ };
7283
+ objectives: {
7284
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7285
+ grade: {
7286
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7287
+ };
7288
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7289
+ parents: {
7290
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7291
+ };
7292
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7293
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7294
+ };
7295
+ periods: {
7296
+ close: {
7297
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7298
+ };
7299
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7300
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7301
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7302
+ };
7303
+ positions: {
7304
+ close: {
7305
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7306
+ };
7307
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7308
+ designateHead: {
7309
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7310
+ };
7311
+ freeze: {
7312
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7313
+ };
7314
+ hire: {
7315
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7316
+ };
7317
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7318
+ replaceHolder: {
7319
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7320
+ };
7321
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7322
+ unfreeze: {
7323
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7324
+ };
7325
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7326
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7327
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7328
+ };
4910
7329
  usage: {
4911
7330
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
4912
7331
  object: "page";
@@ -4930,8 +7349,81 @@ export declare function createOrganization(transport: Transport): {
4930
7349
  }>;
4931
7350
  };
4932
7351
  };
7352
+ export declare function createRegistry(transport: Transport): {
7353
+ installations: {
7354
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7355
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7356
+ };
7357
+ packages: {
7358
+ git: {
7359
+ commits: {
7360
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7361
+ };
7362
+ files: {
7363
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7364
+ };
7365
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7366
+ trees: {
7367
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7368
+ };
7369
+ };
7370
+ installations: {
7371
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7372
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7373
+ };
7374
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7375
+ versions: {
7376
+ contents: {
7377
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7378
+ };
7379
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7380
+ files: {
7381
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7382
+ };
7383
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7384
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7385
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7386
+ };
7387
+ };
7388
+ repositories: {
7389
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7390
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7391
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7392
+ packages: {
7393
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7394
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7395
+ };
7396
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7397
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7398
+ };
7399
+ };
4933
7400
  export declare function createSandbox(transport: Transport): {
7401
+ events: {
7402
+ sandboxes: {
7403
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7404
+ };
7405
+ };
4934
7406
  sandboxes: {
7407
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7408
+ type: "snapshot";
7409
+ snapshot: string;
7410
+ refs: number;
7411
+ truncated: boolean;
7412
+ package: string;
7413
+ } | {
7414
+ type: "screenshot";
7415
+ mediaType: string;
7416
+ data: string;
7417
+ width: number;
7418
+ height: number;
7419
+ bytes: number;
7420
+ } | {
7421
+ type: "ok";
7422
+ ms?: number;
7423
+ } | {
7424
+ type: "wait";
7425
+ ms: number;
7426
+ }>;
4935
7427
  commands: {
4936
7428
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
4937
7429
  stdout: string;
@@ -5009,6 +7501,20 @@ export declare function createSandbox(transport: Transport): {
5009
7501
  snapshots: {
5010
7502
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5011
7503
  };
7504
+ tasks: {
7505
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7506
+ taskId: string;
7507
+ instanceId: string;
7508
+ startedAt: number;
7509
+ }>;
7510
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7511
+ text: string;
7512
+ nextOffset: number;
7513
+ done: boolean;
7514
+ exitCode: number | null;
7515
+ size: number | null;
7516
+ }>;
7517
+ };
5012
7518
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5013
7519
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5014
7520
  name: string;
@@ -5023,7 +7529,43 @@ export declare function createSandbox(transport: Transport): {
5023
7529
  list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
5024
7530
  };
5025
7531
  templates: {
5026
- list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1TemplatesData> | undefined) => Promise<Types.SandboxTemplate[]>;
7532
+ aliases: {
7533
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
7534
+ };
7535
+ builds: {
7536
+ status: {
7537
+ list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
7538
+ };
7539
+ update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
7540
+ };
7541
+ create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
7542
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
7543
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
7544
+ templateID: string;
7545
+ buildID: string;
7546
+ cpuCount: Types.SandboxCpuCount;
7547
+ memoryMB: Types.SandboxMemoryMb;
7548
+ diskSizeMB: Types.SandboxDiskSizeMb;
7549
+ public: boolean;
7550
+ aliases: Array<string>;
7551
+ names: Array<string>;
7552
+ createdAt: string;
7553
+ updatedAt: string;
7554
+ createdBy: Types.SandboxTeamUser;
7555
+ lastSpawnedAt: string;
7556
+ spawnCount: number;
7557
+ buildCount: number;
7558
+ envdVersion: Types.SandboxEnvdVersion;
7559
+ buildStatus: Types.SandboxTemplateBuildStatus;
7560
+ official: boolean;
7561
+ sourceKind?: "dockerfile" | "image" | "snapshot";
7562
+ }[]>;
7563
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
7564
+ tags: {
7565
+ create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
7566
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
7567
+ list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
7568
+ };
5027
7569
  };
5028
7570
  volumes: {
5029
7571
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
@@ -5111,6 +7653,131 @@ export declare function createSearch(transport: Transport): {
5111
7653
  }>;
5112
7654
  };
5113
7655
  };
7656
+ export declare function createShare(transport: Transport): {
7657
+ permissions: {
7658
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7659
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7660
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7661
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7662
+ };
7663
+ };
7664
+ export declare function createStudio(transport: Transport): {
7665
+ codexes: {
7666
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7667
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7668
+ entries: {
7669
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7670
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7671
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7672
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7673
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7674
+ };
7675
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7676
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7677
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7678
+ };
7679
+ genres: {
7680
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7681
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7682
+ };
7683
+ platforms: {
7684
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7685
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7686
+ };
7687
+ styles: {
7688
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7689
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7690
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7691
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7692
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7693
+ };
7694
+ templates: {
7695
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7696
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7697
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7698
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7699
+ };
7700
+ themes: {
7701
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7702
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7703
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7704
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7705
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7706
+ };
7707
+ works: {
7708
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7709
+ drafts: {
7710
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7711
+ foreshadows: {
7712
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7713
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7714
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7715
+ };
7716
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7717
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7718
+ renditions: {
7719
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7720
+ };
7721
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7722
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7723
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7724
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7725
+ status: {
7726
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7727
+ };
7728
+ units: {
7729
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7730
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7731
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7732
+ };
7733
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7734
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7735
+ };
7736
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7737
+ progressions: {
7738
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7739
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7740
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7741
+ };
7742
+ renditions: {
7743
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7744
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7745
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7746
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7747
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7748
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7749
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7750
+ };
7751
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7752
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7753
+ reviewSettings: {
7754
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7755
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7756
+ };
7757
+ reviewers: {
7758
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7759
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7760
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7761
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7762
+ };
7763
+ reviews: {
7764
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7765
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7766
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7767
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7768
+ };
7769
+ units: {
7770
+ blocks: {
7771
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7772
+ };
7773
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7774
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7775
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7776
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7777
+ };
7778
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7779
+ };
7780
+ };
5114
7781
  export declare function createTicket(transport: Transport): {
5115
7782
  activity: {
5116
7783
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5155,6 +7822,7 @@ export declare function createTicket(transport: Transport): {
5155
7822
  repositories: Array<Types.TicketRepository>;
5156
7823
  next_page_token: string;
5157
7824
  }>;
7825
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5158
7826
  };
5159
7827
  tickets: {
5160
7828
  comments: {
@@ -5285,15 +7953,25 @@ export declare const resourceFactories: {
5285
7953
  application: typeof createApplication;
5286
7954
  automation: typeof createAutomation;
5287
7955
  browser: typeof createBrowser;
7956
+ canvas: typeof createCanvas;
7957
+ content: typeof createContent;
7958
+ crm: typeof createCrm;
7959
+ customer: typeof createCustomer;
7960
+ cut: typeof createCut;
5288
7961
  database: typeof createDatabase;
7962
+ devops: typeof createDevops;
5289
7963
  file: typeof createFile;
5290
7964
  knowledge: typeof createKnowledge;
5291
7965
  media: typeof createMedia;
5292
7966
  meta: typeof createMeta;
5293
7967
  model: typeof createModel;
7968
+ ontology: typeof createOntology;
5294
7969
  organization: typeof createOrganization;
7970
+ registry: typeof createRegistry;
5295
7971
  sandbox: typeof createSandbox;
5296
7972
  search: typeof createSearch;
7973
+ share: typeof createShare;
7974
+ studio: typeof createStudio;
5297
7975
  ticket: typeof createTicket;
5298
7976
  vault: typeof createVault;
5299
7977
  };