@deepraxis/sdk 0.1.1-dev.13dab28 → 0.1.1-dev.1571058

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 +1675 -258
  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 +3702 -873
  19. package/dist/generated/sdk.gen.js +10369 -2148
  20. package/dist/generated/types.gen.d.ts +95994 -46601
  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 +396 -0
  31. package/dist/helpers/browser-decisions.d.ts +101 -0
  32. package/dist/helpers/browser-decisions.js +148 -0
  33. package/dist/helpers/browser-documentation.d.ts +2 -0
  34. package/dist/helpers/browser-documentation.js +58 -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 -13667
  41. package/dist/operations.generated.js +21751 -5328
  42. package/dist/resources.generated.d.ts +2918 -339
  43. package/dist/resources.generated.js +908 -42
  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,16 +42,18 @@ export declare function createAgent(transport: Transport): {
41
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
43
  id: string;
43
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
44
46
  instructions?: string;
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
- image_model?: string | null;
54
57
  subagents?: Array<{
55
58
  name: string;
56
59
  description: string;
@@ -141,6 +144,7 @@ export declare function createAgent(transport: Transport): {
141
144
  allowManagedHooksOnly?: boolean;
142
145
  allowManagedMcpServersOnly?: boolean;
143
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
144
148
  autoMemoryEnabled?: boolean;
145
149
  disabled?: {
146
150
  subagents?: Array<string>;
@@ -149,17 +153,41 @@ export declare function createAgent(transport: Transport): {
149
153
  mcpServers?: Array<string>;
150
154
  hooks?: Array<string>;
151
155
  };
156
+ outputStyle?: string;
152
157
  } | null;
153
158
  models?: {
154
159
  allowed: Array<string>;
155
160
  };
156
161
  avatar: string | null;
157
162
  creation_source: string | null;
163
+ managed_by: string | null;
158
164
  identity_number: string | null;
159
165
  environment_id?: string | null;
160
166
  vault_ids?: Array<string>;
161
167
  status: "active" | "archived";
168
+ output_styles?: Array<{
169
+ name: string;
170
+ description?: string;
171
+ prompt: string;
172
+ keep_coding_instructions?: boolean;
173
+ }> | null;
162
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
+ };
163
191
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
164
192
  id: string;
165
193
  archived_at: null | string;
@@ -167,16 +195,17 @@ export declare function createAgent(transport: Transport): {
167
195
  description: null | string;
168
196
  mcp_servers: Array<Types.AgentManaged36>;
169
197
  metadata: Types.AgentManaged37;
170
- model: {
198
+ model?: {
171
199
  id: string;
172
200
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
173
201
  inference_geo?: string;
174
202
  speed?: "standard" | "fast";
175
203
  settings?: {
176
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
177
206
  };
178
207
  };
179
- multiagent: null | Types.AgentManaged39;
208
+ multiagent?: null | Types.AgentManaged39;
180
209
  name: string;
181
210
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
182
211
  system: null | string;
@@ -198,16 +227,25 @@ export declare function createAgent(transport: Transport): {
198
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
199
228
  id: string;
200
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
201
231
  instructions?: string;
232
+ readonly verified?: boolean;
202
233
  enabled?: boolean;
203
234
  } | {
204
- type: "search" | "browser";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
236
+ readonly verified?: boolean;
205
237
  enabled?: boolean;
206
238
  }>;
207
- kind: "personal" | "service";
239
+ kind: "general" | "service" | "assume";
240
+ computers?: {
241
+ default: string;
242
+ allowed: Array<{
243
+ template: string;
244
+ name: string;
245
+ }>;
246
+ };
208
247
  computer_id?: string;
209
248
  subagent_model?: string | null;
210
- image_model?: string | null;
211
249
  subagents?: Array<{
212
250
  name: string;
213
251
  description: string;
@@ -298,6 +336,7 @@ export declare function createAgent(transport: Transport): {
298
336
  allowManagedHooksOnly?: boolean;
299
337
  allowManagedMcpServersOnly?: boolean;
300
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
301
340
  autoMemoryEnabled?: boolean;
302
341
  disabled?: {
303
342
  subagents?: Array<string>;
@@ -306,54 +345,26 @@ export declare function createAgent(transport: Transport): {
306
345
  mcpServers?: Array<string>;
307
346
  hooks?: Array<string>;
308
347
  };
348
+ outputStyle?: string;
309
349
  } | null;
310
350
  models?: {
311
351
  allowed: Array<string>;
312
352
  };
313
353
  avatar: string | null;
314
354
  creation_source: string | null;
355
+ managed_by: string | null;
315
356
  identity_number: string | null;
316
357
  environment_id?: string | null;
317
358
  vault_ids?: Array<string>;
318
359
  status: "active" | "archived";
360
+ output_styles?: Array<{
361
+ name: string;
362
+ description?: string;
363
+ prompt: string;
364
+ keep_coding_instructions?: boolean;
365
+ }> | null;
319
366
  }>;
320
367
  customers: {
321
- auth: {
322
- accessTokens: {
323
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
324
- type: "customer_access_token";
325
- access_token: string;
326
- expires_at: string;
327
- session_expires_at: string;
328
- customer: {
329
- id: string;
330
- type: "identified" | "anonymous";
331
- };
332
- }>;
333
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
334
- renew: {
335
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
336
- type: "customer_access_token";
337
- access_token: string;
338
- expires_at: string;
339
- session_expires_at: string;
340
- customer: {
341
- id: string;
342
- type: "identified" | "anonymous";
343
- };
344
- }>;
345
- };
346
- };
347
- grantCodes: {
348
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
349
- type: "customer_grant_code";
350
- code: string;
351
- customer_id: string;
352
- expires_at: string;
353
- hosted_url?: string;
354
- }>;
355
- };
356
- };
357
368
  block: {
358
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
359
370
  id: string;
@@ -445,87 +456,242 @@ export declare function createAgent(transport: Transport): {
445
456
  }>;
446
457
  };
447
458
  };
448
- endUsers: {
449
- block: {
450
- create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
451
- external_user_id: string;
452
- first_seen_at: string | null;
453
- last_active_at: string | null;
454
- session_count: number;
455
- cost: {
456
- amount: string;
457
- currency: "USD";
458
- };
459
- blocked: boolean;
460
- }>;
461
- };
462
- delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
463
- id: string;
464
- status: "pending";
465
- }>;
466
- list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
459
+ events: {
460
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
467
461
  data: Array<{
468
- external_user_id: string;
469
- first_seen_at: string | null;
470
- last_active_at: string | null;
471
- session_count: number;
472
- cost: {
473
- amount: string;
474
- currency: "USD";
462
+ id: string;
463
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
464
+ type: "user.message";
465
+ processed_at?: null | string;
466
+ praxis_context?: {
467
+ items: Array<{
468
+ name: string;
469
+ value: string;
470
+ }>;
475
471
  };
476
- blocked: boolean;
472
+ message_id?: string;
473
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
474
+ id: string;
475
+ content: Array<{
476
+ text: string;
477
+ type: "text";
478
+ citations?: Array<{
479
+ type: "search_result_location";
480
+ source: string;
481
+ title: string;
482
+ cited_text: string;
483
+ search_result_index: number;
484
+ start_block_index: number;
485
+ end_block_index: number;
486
+ }>;
487
+ } | Types.AgentManaged70>;
488
+ processed_at: string;
489
+ type: "agent.message";
490
+ run_id: string | null;
491
+ message_id?: string;
492
+ } | {
493
+ id: string;
494
+ processed_at: string;
495
+ type: "agent.thinking";
496
+ run_id: string | null;
497
+ message_id?: string;
498
+ } | {
499
+ id: string;
500
+ input: Types.AgentManaged197;
501
+ mcp_server_name: string;
502
+ name: string;
503
+ processed_at: string;
504
+ type: "agent.mcp_tool_use";
505
+ evaluated_permission?: "allow" | "deny" | "ask";
506
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
507
+ session_thread_id?: null | string;
508
+ permission_suggestions?: Array<{
509
+ type: "add_rules";
510
+ behavior: "allow";
511
+ destination: "agent" | "session";
512
+ rules: Array<{
513
+ tool_name: string;
514
+ rule_content: string;
515
+ }>;
516
+ }>;
517
+ full_access_available?: boolean;
518
+ user_once?: true;
519
+ guarded_rule?: string;
520
+ run_id: string | null;
521
+ _meta?: {
522
+ ui?: {
523
+ resourceUri?: string;
524
+ visibility?: Array<string>;
525
+ [key: string]: unknown;
526
+ };
527
+ "openai/ui"?: {
528
+ [key: string]: unknown;
529
+ };
530
+ };
531
+ source?: "app" | "codemode";
532
+ parent_tool_use_id?: string;
533
+ title?: string;
534
+ input_titles?: {
535
+ [key: string]: string;
536
+ };
537
+ } | {
538
+ id: string;
539
+ mcp_tool_use_id: string;
540
+ processed_at: string;
541
+ type: "agent.mcp_tool_result";
542
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
543
+ is_error?: null | false | true;
544
+ run_id: string | null;
545
+ structured_content?: unknown;
546
+ _meta?: {
547
+ [key: string]: unknown;
548
+ };
549
+ source?: "app" | "codemode";
550
+ } | {
551
+ id: string;
552
+ input: Types.AgentManaged206;
553
+ name: string;
554
+ processed_at: string;
555
+ type: "agent.tool_use";
556
+ evaluated_permission?: "allow" | "deny" | "ask";
557
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
558
+ session_thread_id?: null | string;
559
+ permission_suggestions?: Array<{
560
+ type: "add_rules";
561
+ behavior: "allow";
562
+ destination: "agent" | "session";
563
+ rules: Array<{
564
+ tool_name: string;
565
+ rule_content: string;
566
+ }>;
567
+ }>;
568
+ full_access_available?: boolean;
569
+ user_once?: true;
570
+ guarded_rule?: string;
571
+ run_id: string | null;
572
+ } | {
573
+ id: string;
574
+ processed_at: string;
575
+ tool_use_id: string;
576
+ type: "agent.tool_result";
577
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
578
+ is_error?: null | false | true;
579
+ run_id: string | null;
580
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
581
+ id: string;
582
+ processed_at: string;
583
+ type: "session.status_running";
584
+ run_id: string | null;
585
+ } | {
586
+ id: string;
587
+ processed_at: string;
588
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
589
+ type: "session.status_idle";
590
+ run_id: string | null;
591
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
592
+ id: string;
593
+ processed_at: string;
594
+ type: "session.updated";
595
+ agent?: null | Types.AgentManaged170;
596
+ budget?: null | Types.AgentManaged76;
597
+ metadata?: Types.AgentManaged246;
598
+ title?: null | string;
599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
600
+ previous_permission_mode?: string | null;
601
+ permission_mode_version?: number;
602
+ model?: {
603
+ id: string;
604
+ };
605
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
606
+ id: string;
607
+ type: "session.forked";
608
+ processed_at: string;
609
+ forked_from_session_id: string;
610
+ forked_from_message_id: string;
611
+ } | {
612
+ id: string;
613
+ type: "session.goal_changed";
614
+ processed_at: string;
615
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
616
+ source: "command" | "runtime";
617
+ goal: {
618
+ goal_id: string;
619
+ objective: string;
620
+ summary_title: string | null;
621
+ status: "active" | "paused" | "budget_limited" | "complete";
622
+ token_budget: number | null;
623
+ tokens_used: number;
624
+ time_used_seconds: number;
625
+ iteration: number;
626
+ created_at: number;
627
+ updated_at: number;
628
+ } | null;
629
+ previous_goal: {
630
+ goal_id: string;
631
+ objective: string;
632
+ summary_title: string | null;
633
+ status: "active" | "paused" | "budget_limited" | "complete";
634
+ token_budget: number | null;
635
+ tokens_used: number;
636
+ time_used_seconds: number;
637
+ iteration: number;
638
+ created_at: number;
639
+ updated_at: number;
640
+ } | null;
641
+ } | {
642
+ id: string;
643
+ type: "session.goal_verification";
644
+ processed_at: string;
645
+ status: "started" | "completed" | "failed_closed" | "cancelled";
646
+ goal_id: string;
647
+ goal_iteration: number;
648
+ verification_id: string;
649
+ anchor_message_id: string | null;
650
+ verification?: {
651
+ passed: boolean;
652
+ reason: string;
653
+ next_action?: string;
654
+ };
655
+ } | {
656
+ id: string;
657
+ type: "user.steer";
658
+ event_id: string;
659
+ processed_at: string;
477
660
  }>;
478
661
  next_page: string | null;
479
662
  }>;
480
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
481
- external_user_id: string;
482
- first_seen_at: string | null;
483
- last_active_at: string | null;
484
- session_count: number;
485
- cost: {
486
- amount: string;
487
- currency: "USD";
488
- };
489
- blocked: boolean;
490
- recent_sessions: Array<{
663
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
664
+ data?: Array<{
491
665
  id: string;
492
- title: string | null;
493
- source: string | null;
494
- created_at: string;
495
- updated_at: string;
496
- }>;
497
- }>;
498
- retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
499
- id: string;
500
- status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
501
- counts: {
502
- sessions?: number;
503
- events?: number;
504
- messages?: number;
505
- d1_rows?: number;
506
- attachments?: number;
507
- };
508
- snapshot_key?: string;
509
- error?: string;
510
- created_at: string;
511
- updated_at: string;
512
- }>;
513
- revokeTokens: {
514
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
515
- revoked: number;
516
- }>;
517
- };
518
- unblock: {
519
- create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
520
- external_user_id: string;
521
- first_seen_at: string | null;
522
- last_active_at: string | null;
523
- session_count: number;
524
- cost: {
525
- amount: string;
526
- currency: "USD";
666
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
667
+ type: "user.message";
668
+ processed_at?: null | string;
669
+ praxis_context?: {
670
+ items: Array<{
671
+ name: string;
672
+ value: string;
673
+ }>;
527
674
  };
528
- blocked: boolean;
675
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
676
+ id: string;
677
+ type: "user.steer";
678
+ event_id: string;
679
+ processed_at: string;
680
+ }>;
681
+ }>;
682
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
683
+ };
684
+ inbox: {
685
+ letters: {
686
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
687
+ unread: number;
688
+ letters: Array<{
689
+ id: string;
690
+ sender: string;
691
+ summary: string;
692
+ thread: string | null;
693
+ create_time: string;
694
+ }>;
529
695
  }>;
530
696
  };
531
697
  };
@@ -537,16 +703,17 @@ export declare function createAgent(transport: Transport): {
537
703
  description: null | string;
538
704
  mcp_servers: Array<Types.AgentManaged36>;
539
705
  metadata: Types.AgentManaged37;
540
- model: {
706
+ model?: {
541
707
  id: string;
542
708
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
543
709
  inference_geo?: string;
544
710
  speed?: "standard" | "fast";
545
711
  settings?: {
546
712
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
713
+ max_output_tokens?: number;
547
714
  };
548
715
  };
549
- multiagent: null | Types.AgentManaged39;
716
+ multiagent?: null | Types.AgentManaged39;
550
717
  name: string;
551
718
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
552
719
  system: null | string;
@@ -568,16 +735,25 @@ export declare function createAgent(transport: Transport): {
568
735
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
569
736
  id: string;
570
737
  access: "read_only" | "read_write" | "invoke";
738
+ customer_access?: "read_only" | "read_write" | "invoke";
571
739
  instructions?: string;
740
+ readonly verified?: boolean;
572
741
  enabled?: boolean;
573
742
  } | {
574
- type: "search" | "browser";
743
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
744
+ readonly verified?: boolean;
575
745
  enabled?: boolean;
576
746
  }>;
577
- kind: "personal" | "service";
747
+ kind: "general" | "service" | "assume";
748
+ computers?: {
749
+ default: string;
750
+ allowed: Array<{
751
+ template: string;
752
+ name: string;
753
+ }>;
754
+ };
578
755
  computer_id?: string;
579
756
  subagent_model?: string | null;
580
- image_model?: string | null;
581
757
  subagents?: Array<{
582
758
  name: string;
583
759
  description: string;
@@ -668,6 +844,7 @@ export declare function createAgent(transport: Transport): {
668
844
  allowManagedHooksOnly?: boolean;
669
845
  allowManagedMcpServersOnly?: boolean;
670
846
  allowManagedPermissionRulesOnly?: boolean;
847
+ idleCompaction?: boolean;
671
848
  autoMemoryEnabled?: boolean;
672
849
  disabled?: {
673
850
  subagents?: Array<string>;
@@ -676,19 +853,55 @@ export declare function createAgent(transport: Transport): {
676
853
  mcpServers?: Array<string>;
677
854
  hooks?: Array<string>;
678
855
  };
856
+ outputStyle?: string;
679
857
  } | null;
680
858
  models?: {
681
859
  allowed: Array<string>;
682
860
  };
683
861
  avatar: string | null;
684
862
  creation_source: string | null;
863
+ managed_by: string | null;
685
864
  identity_number: string | null;
686
865
  environment_id?: string | null;
687
866
  vault_ids?: Array<string>;
688
867
  status: "active" | "archived";
868
+ output_styles?: Array<{
869
+ name: string;
870
+ description?: string;
871
+ prompt: string;
872
+ keep_coding_instructions?: boolean;
873
+ }> | null;
689
874
  }>;
690
875
  next_page: string | null;
691
876
  }>;
877
+ phone: {
878
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
879
+ object: "agent_phone";
880
+ agent_id: string;
881
+ configured: boolean;
882
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
883
+ sku: string | null;
884
+ byod_device: string | null;
885
+ name: string | null;
886
+ sandbox_id: string | null;
887
+ lease_ends_at: string | null;
888
+ archived_at: string | null;
889
+ archive_error: string | null;
890
+ }>;
891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
892
+ object: "agent_phone";
893
+ agent_id: string;
894
+ configured: boolean;
895
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
896
+ sku: string | null;
897
+ byod_device: string | null;
898
+ name: string | null;
899
+ sandbox_id: string | null;
900
+ lease_ends_at: string | null;
901
+ archived_at: string | null;
902
+ archive_error: string | null;
903
+ }>;
904
+ };
692
905
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
693
906
  id: string;
694
907
  archived_at: null | string;
@@ -696,16 +909,17 @@ export declare function createAgent(transport: Transport): {
696
909
  description: null | string;
697
910
  mcp_servers: Array<Types.AgentManaged36>;
698
911
  metadata: Types.AgentManaged37;
699
- model: {
912
+ model?: {
700
913
  id: string;
701
914
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
702
915
  inference_geo?: string;
703
916
  speed?: "standard" | "fast";
704
917
  settings?: {
705
918
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
919
+ max_output_tokens?: number;
706
920
  };
707
921
  };
708
- multiagent: null | Types.AgentManaged39;
922
+ multiagent?: null | Types.AgentManaged39;
709
923
  name: string;
710
924
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
711
925
  system: null | string;
@@ -713,6 +927,7 @@ export declare function createAgent(transport: Transport): {
713
927
  type: "agent";
714
928
  updated_at: string;
715
929
  version: number;
930
+ latest_version?: number;
716
931
  active_version: number;
717
932
  created_by: {
718
933
  type: "user";
@@ -727,16 +942,25 @@ export declare function createAgent(transport: Transport): {
727
942
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
728
943
  id: string;
729
944
  access: "read_only" | "read_write" | "invoke";
945
+ customer_access?: "read_only" | "read_write" | "invoke";
730
946
  instructions?: string;
947
+ readonly verified?: boolean;
731
948
  enabled?: boolean;
732
949
  } | {
733
- type: "search" | "browser";
950
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
951
+ readonly verified?: boolean;
734
952
  enabled?: boolean;
735
953
  }>;
736
- kind: "personal" | "service";
954
+ kind: "general" | "service" | "assume";
955
+ computers?: {
956
+ default: string;
957
+ allowed: Array<{
958
+ template: string;
959
+ name: string;
960
+ }>;
961
+ };
737
962
  computer_id?: string;
738
963
  subagent_model?: string | null;
739
- image_model?: string | null;
740
964
  subagents?: Array<{
741
965
  name: string;
742
966
  description: string;
@@ -827,6 +1051,7 @@ export declare function createAgent(transport: Transport): {
827
1051
  allowManagedHooksOnly?: boolean;
828
1052
  allowManagedMcpServersOnly?: boolean;
829
1053
  allowManagedPermissionRulesOnly?: boolean;
1054
+ idleCompaction?: boolean;
830
1055
  autoMemoryEnabled?: boolean;
831
1056
  disabled?: {
832
1057
  subagents?: Array<string>;
@@ -835,16 +1060,24 @@ export declare function createAgent(transport: Transport): {
835
1060
  mcpServers?: Array<string>;
836
1061
  hooks?: Array<string>;
837
1062
  };
1063
+ outputStyle?: string;
838
1064
  } | null;
839
1065
  models?: {
840
1066
  allowed: Array<string>;
841
1067
  };
842
1068
  avatar: string | null;
843
1069
  creation_source: string | null;
1070
+ managed_by: string | null;
844
1071
  identity_number: string | null;
845
1072
  environment_id?: string | null;
846
1073
  vault_ids?: Array<string>;
847
1074
  status: "active" | "archived";
1075
+ output_styles?: Array<{
1076
+ name: string;
1077
+ description?: string;
1078
+ prompt: string;
1079
+ keep_coding_instructions?: boolean;
1080
+ }> | null;
848
1081
  }>;
849
1082
  retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
850
1083
  agent?: {
@@ -903,6 +1136,25 @@ export declare function createAgent(transport: Transport): {
903
1136
  history?: {
904
1137
  enabled?: boolean;
905
1138
  };
1139
+ uploads?: {
1140
+ enabled: boolean;
1141
+ max_file_bytes: number;
1142
+ max_files_per_session: number;
1143
+ };
1144
+ }>;
1145
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1146
+ allowed_origins: Array<string>;
1147
+ allow_localhost: boolean;
1148
+ uploads: {
1149
+ enabled: boolean;
1150
+ max_file_bytes: number;
1151
+ max_files_per_session: number;
1152
+ };
1153
+ share_links: {
1154
+ enabled: boolean;
1155
+ daily_session_cap: number | null;
1156
+ daily_spend_cap_micro_usd: number | null;
1157
+ };
906
1158
  }>;
907
1159
  unarchive: {
908
1160
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -939,7 +1191,7 @@ export declare function createAgent(transport: Transport): {
939
1191
  metadata: {
940
1192
  [key: string]: string;
941
1193
  };
942
- model: {
1194
+ model?: {
943
1195
  id: string;
944
1196
  effort?: {
945
1197
  type: "low";
@@ -956,9 +1208,10 @@ export declare function createAgent(transport: Transport): {
956
1208
  speed?: "standard" | "fast";
957
1209
  settings?: {
958
1210
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1211
+ max_output_tokens?: number;
959
1212
  };
960
1213
  };
961
- multiagent: null | {
1214
+ multiagent?: null | {
962
1215
  agents: Array<{
963
1216
  id: string;
964
1217
  type: "agent";
@@ -1131,6 +1384,7 @@ export declare function createAgent(transport: Transport): {
1131
1384
  type: "agent";
1132
1385
  updated_at: string;
1133
1386
  version: number;
1387
+ latest_version?: number;
1134
1388
  active_version: number;
1135
1389
  created_by: {
1136
1390
  type: "user";
@@ -1145,16 +1399,25 @@ export declare function createAgent(transport: Transport): {
1145
1399
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1146
1400
  id: string;
1147
1401
  access: "read_only" | "read_write" | "invoke";
1402
+ customer_access?: "read_only" | "read_write" | "invoke";
1148
1403
  instructions?: string;
1404
+ readonly verified?: boolean;
1149
1405
  enabled?: boolean;
1150
1406
  } | {
1151
- type: "search" | "browser";
1407
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1408
+ readonly verified?: boolean;
1152
1409
  enabled?: boolean;
1153
1410
  }>;
1154
- kind: "personal" | "service";
1411
+ kind: "general" | "service" | "assume";
1412
+ computers?: {
1413
+ default: string;
1414
+ allowed: Array<{
1415
+ template: string;
1416
+ name: string;
1417
+ }>;
1418
+ };
1155
1419
  computer_id?: string;
1156
1420
  subagent_model?: string | null;
1157
- image_model?: string | null;
1158
1421
  subagents?: Array<{
1159
1422
  name: string;
1160
1423
  description: string;
@@ -1245,6 +1508,7 @@ export declare function createAgent(transport: Transport): {
1245
1508
  allowManagedHooksOnly?: boolean;
1246
1509
  allowManagedMcpServersOnly?: boolean;
1247
1510
  allowManagedPermissionRulesOnly?: boolean;
1511
+ idleCompaction?: boolean;
1248
1512
  autoMemoryEnabled?: boolean;
1249
1513
  disabled?: {
1250
1514
  subagents?: Array<string>;
@@ -1253,16 +1517,24 @@ export declare function createAgent(transport: Transport): {
1253
1517
  mcpServers?: Array<string>;
1254
1518
  hooks?: Array<string>;
1255
1519
  };
1520
+ outputStyle?: string;
1256
1521
  } | null;
1257
1522
  models?: {
1258
1523
  allowed: Array<string>;
1259
1524
  };
1260
1525
  avatar: string | null;
1261
1526
  creation_source: string | null;
1527
+ managed_by: string | null;
1262
1528
  identity_number: string | null;
1263
1529
  environment_id?: string | null;
1264
1530
  vault_ids?: Array<string>;
1265
1531
  status: "active" | "archived";
1532
+ output_styles?: Array<{
1533
+ name: string;
1534
+ description?: string;
1535
+ prompt: string;
1536
+ keep_coding_instructions?: boolean;
1537
+ }> | null;
1266
1538
  }>;
1267
1539
  };
1268
1540
  update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
@@ -1272,16 +1544,17 @@ export declare function createAgent(transport: Transport): {
1272
1544
  description: null | string;
1273
1545
  mcp_servers: Array<Types.AgentManaged36>;
1274
1546
  metadata: Types.AgentManaged37;
1275
- model: {
1547
+ model?: {
1276
1548
  id: string;
1277
1549
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1278
1550
  inference_geo?: string;
1279
1551
  speed?: "standard" | "fast";
1280
1552
  settings?: {
1281
1553
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1554
+ max_output_tokens?: number;
1282
1555
  };
1283
1556
  };
1284
- multiagent: null | Types.AgentManaged39;
1557
+ multiagent?: null | Types.AgentManaged39;
1285
1558
  name: string;
1286
1559
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1287
1560
  system: null | string;
@@ -1289,6 +1562,7 @@ export declare function createAgent(transport: Transport): {
1289
1562
  type: "agent";
1290
1563
  updated_at: string;
1291
1564
  version: number;
1565
+ latest_version?: number;
1292
1566
  active_version: number;
1293
1567
  created_by: {
1294
1568
  type: "user";
@@ -1303,16 +1577,25 @@ export declare function createAgent(transport: Transport): {
1303
1577
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1304
1578
  id: string;
1305
1579
  access: "read_only" | "read_write" | "invoke";
1580
+ customer_access?: "read_only" | "read_write" | "invoke";
1306
1581
  instructions?: string;
1582
+ readonly verified?: boolean;
1307
1583
  enabled?: boolean;
1308
1584
  } | {
1309
- type: "search" | "browser";
1585
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1586
+ readonly verified?: boolean;
1310
1587
  enabled?: boolean;
1311
1588
  }>;
1312
- kind: "personal" | "service";
1589
+ kind: "general" | "service" | "assume";
1590
+ computers?: {
1591
+ default: string;
1592
+ allowed: Array<{
1593
+ template: string;
1594
+ name: string;
1595
+ }>;
1596
+ };
1313
1597
  computer_id?: string;
1314
1598
  subagent_model?: string | null;
1315
- image_model?: string | null;
1316
1599
  subagents?: Array<{
1317
1600
  name: string;
1318
1601
  description: string;
@@ -1403,6 +1686,7 @@ export declare function createAgent(transport: Transport): {
1403
1686
  allowManagedHooksOnly?: boolean;
1404
1687
  allowManagedMcpServersOnly?: boolean;
1405
1688
  allowManagedPermissionRulesOnly?: boolean;
1689
+ idleCompaction?: boolean;
1406
1690
  autoMemoryEnabled?: boolean;
1407
1691
  disabled?: {
1408
1692
  subagents?: Array<string>;
@@ -1411,16 +1695,38 @@ export declare function createAgent(transport: Transport): {
1411
1695
  mcpServers?: Array<string>;
1412
1696
  hooks?: Array<string>;
1413
1697
  };
1698
+ outputStyle?: string;
1414
1699
  } | null;
1415
1700
  models?: {
1416
1701
  allowed: Array<string>;
1417
1702
  };
1418
1703
  avatar: string | null;
1419
1704
  creation_source: string | null;
1705
+ managed_by: string | null;
1420
1706
  identity_number: string | null;
1421
1707
  environment_id?: string | null;
1422
1708
  vault_ids?: Array<string>;
1423
1709
  status: "active" | "archived";
1710
+ output_styles?: Array<{
1711
+ name: string;
1712
+ description?: string;
1713
+ prompt: string;
1714
+ keep_coding_instructions?: boolean;
1715
+ }> | null;
1716
+ }>;
1717
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1718
+ allowed_origins: Array<string>;
1719
+ allow_localhost: boolean;
1720
+ uploads: {
1721
+ enabled: boolean;
1722
+ max_file_bytes: number;
1723
+ max_files_per_session: number;
1724
+ };
1725
+ share_links: {
1726
+ enabled: boolean;
1727
+ daily_session_cap: number | null;
1728
+ daily_spend_cap_micro_usd: number | null;
1729
+ };
1424
1730
  }>;
1425
1731
  versions: {
1426
1732
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
@@ -1457,7 +1763,7 @@ export declare function createAgent(transport: Transport): {
1457
1763
  metadata: {
1458
1764
  [key: string]: string;
1459
1765
  };
1460
- model: {
1766
+ model?: {
1461
1767
  id: string;
1462
1768
  effort?: {
1463
1769
  type: "low";
@@ -1474,9 +1780,10 @@ export declare function createAgent(transport: Transport): {
1474
1780
  speed?: "standard" | "fast";
1475
1781
  settings?: {
1476
1782
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1783
+ max_output_tokens?: number;
1477
1784
  };
1478
1785
  };
1479
- multiagent: null | {
1786
+ multiagent?: null | {
1480
1787
  agents: Array<{
1481
1788
  id: string;
1482
1789
  type: "agent";
@@ -1649,6 +1956,7 @@ export declare function createAgent(transport: Transport): {
1649
1956
  type: "agent";
1650
1957
  updated_at: string;
1651
1958
  version: number;
1959
+ latest_version?: number;
1652
1960
  active_version: number;
1653
1961
  created_by: {
1654
1962
  type: "user";
@@ -1663,16 +1971,25 @@ export declare function createAgent(transport: Transport): {
1663
1971
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1664
1972
  id: string;
1665
1973
  access: "read_only" | "read_write" | "invoke";
1974
+ customer_access?: "read_only" | "read_write" | "invoke";
1666
1975
  instructions?: string;
1976
+ readonly verified?: boolean;
1667
1977
  enabled?: boolean;
1668
1978
  } | {
1669
- type: "search" | "browser";
1979
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1980
+ readonly verified?: boolean;
1670
1981
  enabled?: boolean;
1671
1982
  }>;
1672
- kind: "personal" | "service";
1983
+ kind: "general" | "service" | "assume";
1984
+ computers?: {
1985
+ default: string;
1986
+ allowed: Array<{
1987
+ template: string;
1988
+ name: string;
1989
+ }>;
1990
+ };
1673
1991
  computer_id?: string;
1674
1992
  subagent_model?: string | null;
1675
- image_model?: string | null;
1676
1993
  subagents?: Array<{
1677
1994
  name: string;
1678
1995
  description: string;
@@ -1763,6 +2080,7 @@ export declare function createAgent(transport: Transport): {
1763
2080
  allowManagedHooksOnly?: boolean;
1764
2081
  allowManagedMcpServersOnly?: boolean;
1765
2082
  allowManagedPermissionRulesOnly?: boolean;
2083
+ idleCompaction?: boolean;
1766
2084
  autoMemoryEnabled?: boolean;
1767
2085
  disabled?: {
1768
2086
  subagents?: Array<string>;
@@ -1771,16 +2089,24 @@ export declare function createAgent(transport: Transport): {
1771
2089
  mcpServers?: Array<string>;
1772
2090
  hooks?: Array<string>;
1773
2091
  };
2092
+ outputStyle?: string;
1774
2093
  } | null;
1775
2094
  models?: {
1776
2095
  allowed: Array<string>;
1777
2096
  };
1778
2097
  avatar: string | null;
1779
2098
  creation_source: string | null;
2099
+ managed_by: string | null;
1780
2100
  identity_number: string | null;
1781
2101
  environment_id?: string | null;
1782
2102
  vault_ids?: Array<string>;
1783
2103
  status: "active" | "archived";
2104
+ output_styles?: Array<{
2105
+ name: string;
2106
+ description?: string;
2107
+ prompt: string;
2108
+ keep_coding_instructions?: boolean;
2109
+ }> | null;
1784
2110
  }>;
1785
2111
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
1786
2112
  data: Array<{
@@ -1790,16 +2116,17 @@ export declare function createAgent(transport: Transport): {
1790
2116
  description: null | string;
1791
2117
  mcp_servers: Array<Types.AgentManaged36>;
1792
2118
  metadata: Types.AgentManaged37;
1793
- model: {
2119
+ model?: {
1794
2120
  id: string;
1795
2121
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1796
2122
  inference_geo?: string;
1797
2123
  speed?: "standard" | "fast";
1798
2124
  settings?: {
1799
2125
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2126
+ max_output_tokens?: number;
1800
2127
  };
1801
2128
  };
1802
- multiagent: null | Types.AgentManaged39;
2129
+ multiagent?: null | Types.AgentManaged39;
1803
2130
  name: string;
1804
2131
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1805
2132
  system: null | string;
@@ -1822,16 +2149,25 @@ export declare function createAgent(transport: Transport): {
1822
2149
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1823
2150
  id: string;
1824
2151
  access: "read_only" | "read_write" | "invoke";
2152
+ customer_access?: "read_only" | "read_write" | "invoke";
1825
2153
  instructions?: string;
2154
+ readonly verified?: boolean;
1826
2155
  enabled?: boolean;
1827
2156
  } | {
1828
- type: "search" | "browser";
2157
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
2158
+ readonly verified?: boolean;
1829
2159
  enabled?: boolean;
1830
2160
  }>;
1831
- kind: "personal" | "service";
2161
+ kind: "general" | "service" | "assume";
2162
+ computers?: {
2163
+ default: string;
2164
+ allowed: Array<{
2165
+ template: string;
2166
+ name: string;
2167
+ }>;
2168
+ };
1832
2169
  computer_id?: string;
1833
2170
  subagent_model?: string | null;
1834
- image_model?: string | null;
1835
2171
  subagents?: Array<{
1836
2172
  name: string;
1837
2173
  description: string;
@@ -1922,6 +2258,7 @@ export declare function createAgent(transport: Transport): {
1922
2258
  allowManagedHooksOnly?: boolean;
1923
2259
  allowManagedMcpServersOnly?: boolean;
1924
2260
  allowManagedPermissionRulesOnly?: boolean;
2261
+ idleCompaction?: boolean;
1925
2262
  autoMemoryEnabled?: boolean;
1926
2263
  disabled?: {
1927
2264
  subagents?: Array<string>;
@@ -1930,16 +2267,24 @@ export declare function createAgent(transport: Transport): {
1930
2267
  mcpServers?: Array<string>;
1931
2268
  hooks?: Array<string>;
1932
2269
  };
2270
+ outputStyle?: string;
1933
2271
  } | null;
1934
2272
  models?: {
1935
2273
  allowed: Array<string>;
1936
2274
  };
1937
2275
  avatar: string | null;
1938
2276
  creation_source: string | null;
2277
+ managed_by: string | null;
1939
2278
  identity_number: string | null;
1940
2279
  environment_id?: string | null;
1941
2280
  vault_ids?: Array<string>;
1942
2281
  status: "active" | "archived";
2282
+ output_styles?: Array<{
2283
+ name: string;
2284
+ description?: string;
2285
+ prompt: string;
2286
+ keep_coding_instructions?: boolean;
2287
+ }> | null;
1943
2288
  }>;
1944
2289
  next_page: string | null;
1945
2290
  }>;
@@ -1995,6 +2340,13 @@ export declare function createAgent(transport: Transport): {
1995
2340
  type: "computer_deleted";
1996
2341
  }>;
1997
2342
  files: {
2343
+ convert: {
2344
+ create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
2345
+ data: string;
2346
+ mime: "application/pdf";
2347
+ cached: boolean;
2348
+ }>;
2349
+ };
1998
2350
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
1999
2351
  data: Array<{
2000
2352
  path: string;
@@ -2010,6 +2362,18 @@ export declare function createAgent(transport: Transport): {
2010
2362
  tier: "light" | "heavy";
2011
2363
  }>;
2012
2364
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2365
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2366
+ variant: "image" | "pdf" | "text" | "original";
2367
+ version?: string;
2368
+ mime_type?: string;
2369
+ size?: number;
2370
+ file_id?: string;
2371
+ url?: string;
2372
+ expires_at?: string;
2373
+ cached: boolean;
2374
+ fallback?: "content";
2375
+ skipped?: boolean;
2376
+ }>;
2013
2377
  };
2014
2378
  leases: {
2015
2379
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2050,6 +2414,7 @@ export declare function createAgent(transport: Transport): {
2050
2414
  created_at: string;
2051
2415
  updated_at: string;
2052
2416
  archived_at: string | null;
2417
+ machine: "light" | "full";
2053
2418
  implementation: "virtual" | "sandbox";
2054
2419
  storage_bytes: number;
2055
2420
  file_count: number;
@@ -2085,7 +2450,7 @@ export declare function createAgent(transport: Transport): {
2085
2450
  } | {
2086
2451
  id: string;
2087
2452
  type: "agent_with_overrides";
2088
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2453
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2089
2454
  cwd?: string;
2090
2455
  model?: string | {
2091
2456
  id: string;
@@ -2122,7 +2487,7 @@ export declare function createAgent(transport: Transport): {
2122
2487
  } | {
2123
2488
  id: string;
2124
2489
  type: "agent_with_overrides";
2125
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2490
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2126
2491
  cwd?: string;
2127
2492
  model?: string | {
2128
2493
  id: string;
@@ -2160,7 +2525,7 @@ export declare function createAgent(transport: Transport): {
2160
2525
  } | {
2161
2526
  id: string;
2162
2527
  type: "agent_with_overrides";
2163
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2528
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2164
2529
  cwd?: string;
2165
2530
  model?: string | {
2166
2531
  id: string;
@@ -2199,7 +2564,7 @@ export declare function createAgent(transport: Transport): {
2199
2564
  } | {
2200
2565
  id: string;
2201
2566
  type: "agent_with_overrides";
2202
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2567
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2203
2568
  cwd?: string;
2204
2569
  model?: string | {
2205
2570
  id: string;
@@ -2236,7 +2601,7 @@ export declare function createAgent(transport: Transport): {
2236
2601
  } | {
2237
2602
  id: string;
2238
2603
  type: "agent_with_overrides";
2239
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2604
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2240
2605
  cwd?: string;
2241
2606
  model?: string | {
2242
2607
  id: string;
@@ -2277,7 +2642,7 @@ export declare function createAgent(transport: Transport): {
2277
2642
  } | {
2278
2643
  id: string;
2279
2644
  type: "agent_with_overrides";
2280
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2645
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2281
2646
  cwd?: string;
2282
2647
  model?: string | {
2283
2648
  id: string;
@@ -2315,7 +2680,7 @@ export declare function createAgent(transport: Transport): {
2315
2680
  } | {
2316
2681
  id: string;
2317
2682
  type: "agent_with_overrides";
2318
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2683
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2319
2684
  cwd?: string;
2320
2685
  model?: string | {
2321
2686
  id: string;
@@ -2344,133 +2709,554 @@ export declare function createAgent(transport: Transport): {
2344
2709
  };
2345
2710
  }>;
2346
2711
  };
2347
- embed: {
2348
- exchange: {
2349
- create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
2350
- token: string;
2351
- expires_at: string;
2352
- }>;
2353
- };
2354
- retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
2355
- agent?: {
2356
- name?: string;
2357
- avatar?: string;
2358
- };
2359
- layout?: "inline" | "sidebar" | "popup" | "modal";
2360
- launcher?: {
2361
- type: "none" | "bubble" | "mascot";
2362
- pack?: {
2363
- preset?: "mint" | "cat" | "bot";
2364
- images?: {
2365
- idle: string;
2366
- greet?: string;
2367
- listening?: string;
2368
- thinking?: string;
2369
- talking?: string;
2370
- "talking-2"?: string;
2371
- sorry?: string;
2372
- sleep?: string;
2712
+ environments: {
2713
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2714
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2715
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2716
+ data: Array<Types.AgentManaged138>;
2717
+ next_page: string | null;
2718
+ }>;
2719
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2720
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2721
+ };
2722
+ sessions: {
2723
+ agentVersion: {
2724
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2725
+ id: string;
2726
+ agent: {
2727
+ id: string;
2728
+ description: null | string;
2729
+ mcp_servers: Array<{
2730
+ type: "url";
2731
+ name: string;
2732
+ url: string;
2733
+ headers?: {
2734
+ [key: string]: string;
2735
+ };
2736
+ timeout_ms?: number;
2737
+ } | {
2738
+ type: "sse";
2739
+ name: string;
2740
+ url: string;
2741
+ headers?: {
2742
+ [key: string]: string;
2743
+ };
2744
+ timeout_ms?: number;
2745
+ } | {
2746
+ type: "stdio";
2747
+ name: string;
2748
+ command: string;
2749
+ args?: Array<string>;
2750
+ env?: {
2751
+ [key: string]: string;
2752
+ };
2753
+ timeout_ms?: number;
2754
+ }>;
2755
+ model: {
2756
+ id: string;
2757
+ effort?: {
2758
+ type: "low";
2759
+ } | {
2760
+ type: "medium";
2761
+ } | {
2762
+ type: "high";
2763
+ } | {
2764
+ type: "xhigh";
2765
+ } | {
2766
+ type: "max";
2767
+ };
2768
+ inference_geo?: string;
2769
+ speed?: "standard" | "fast";
2770
+ settings?: {
2771
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2772
+ max_output_tokens?: number;
2773
+ };
2774
+ };
2775
+ multiagent: null | {
2776
+ agents: Array<{
2777
+ model: string;
2778
+ type: "advisor";
2779
+ } | {
2780
+ id: string;
2781
+ description: null | string;
2782
+ mcp_servers: Array<{
2783
+ type: "url";
2784
+ name: string;
2785
+ url: string;
2786
+ headers?: {
2787
+ [key: string]: string;
2788
+ };
2789
+ timeout_ms?: number;
2790
+ } | {
2791
+ type: "sse";
2792
+ name: string;
2793
+ url: string;
2794
+ headers?: {
2795
+ [key: string]: string;
2796
+ };
2797
+ timeout_ms?: number;
2798
+ } | {
2799
+ type: "stdio";
2800
+ name: string;
2801
+ command: string;
2802
+ args?: Array<string>;
2803
+ env?: {
2804
+ [key: string]: string;
2805
+ };
2806
+ timeout_ms?: number;
2807
+ }>;
2808
+ model: {
2809
+ id: string;
2810
+ effort?: {
2811
+ type: "low";
2812
+ } | {
2813
+ type: "medium";
2814
+ } | {
2815
+ type: "high";
2816
+ } | {
2817
+ type: "xhigh";
2818
+ } | {
2819
+ type: "max";
2820
+ };
2821
+ inference_geo?: string;
2822
+ speed?: "standard" | "fast";
2823
+ };
2824
+ name: string;
2825
+ skills: Array<{
2826
+ skill_id: string;
2827
+ type: "anthropic";
2828
+ version: string;
2829
+ } | {
2830
+ skill_id: string;
2831
+ type: "custom";
2832
+ version: string;
2833
+ }>;
2834
+ system: null | string;
2835
+ tools: Array<{
2836
+ configs: Array<{
2837
+ enabled: boolean;
2838
+ name: "bash";
2839
+ permission_policy: {
2840
+ type: "always_allow";
2841
+ } | {
2842
+ type: "always_ask";
2843
+ } | {
2844
+ type: "auto";
2845
+ };
2846
+ type: "bash";
2847
+ } | {
2848
+ enabled: boolean;
2849
+ name: "edit";
2850
+ permission_policy: {
2851
+ type: "always_allow";
2852
+ } | {
2853
+ type: "always_ask";
2854
+ } | {
2855
+ type: "auto";
2856
+ };
2857
+ type: "edit";
2858
+ } | {
2859
+ enabled: boolean;
2860
+ name: "read";
2861
+ permission_policy: {
2862
+ type: "always_allow";
2863
+ } | {
2864
+ type: "always_ask";
2865
+ } | {
2866
+ type: "auto";
2867
+ };
2868
+ type: "read";
2869
+ } | {
2870
+ enabled: boolean;
2871
+ name: "write";
2872
+ permission_policy: {
2873
+ type: "always_allow";
2874
+ } | {
2875
+ type: "always_ask";
2876
+ } | {
2877
+ type: "auto";
2878
+ };
2879
+ type: "write";
2880
+ } | {
2881
+ enabled: boolean;
2882
+ name: "glob";
2883
+ permission_policy: {
2884
+ type: "always_allow";
2885
+ } | {
2886
+ type: "always_ask";
2887
+ } | {
2888
+ type: "auto";
2889
+ };
2890
+ type: "glob";
2891
+ } | {
2892
+ enabled: boolean;
2893
+ name: "grep";
2894
+ permission_policy: {
2895
+ type: "always_allow";
2896
+ } | {
2897
+ type: "always_ask";
2898
+ } | {
2899
+ type: "auto";
2900
+ };
2901
+ type: "grep";
2902
+ } | {
2903
+ enabled: boolean;
2904
+ name: "web_fetch";
2905
+ permission_policy: {
2906
+ type: "always_allow";
2907
+ } | {
2908
+ type: "always_ask";
2909
+ } | {
2910
+ type: "auto";
2911
+ };
2912
+ type: "web_fetch";
2913
+ allowed_domains?: Array<string>;
2914
+ blocked_domains?: Array<string>;
2915
+ max_content_tokens?: null | number;
2916
+ } | {
2917
+ enabled: boolean;
2918
+ name: "web_search";
2919
+ permission_policy: {
2920
+ type: "always_allow";
2921
+ } | {
2922
+ type: "always_ask";
2923
+ } | {
2924
+ type: "auto";
2925
+ };
2926
+ type: "web_search";
2927
+ allowed_domains?: Array<string>;
2928
+ blocked_domains?: Array<string>;
2929
+ user_location?: null | {
2930
+ type: "approximate";
2931
+ city?: null | string;
2932
+ country?: null | string;
2933
+ region?: null | string;
2934
+ timezone?: null | string;
2935
+ };
2936
+ } | {
2937
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2938
+ enabled: boolean;
2939
+ permission_policy: {
2940
+ type: "always_allow" | "always_ask";
2941
+ };
2942
+ }>;
2943
+ default_config: {
2944
+ enabled: boolean;
2945
+ permission_policy: {
2946
+ type: "always_allow";
2947
+ } | {
2948
+ type: "always_ask";
2949
+ } | {
2950
+ type: "auto";
2951
+ };
2952
+ };
2953
+ type: "agent_toolset_20260401";
2954
+ } | {
2955
+ type: "mcp_toolset";
2956
+ mcp_server_name: string;
2957
+ default_config?: {
2958
+ enabled?: boolean | null;
2959
+ permission_policy?: null | {
2960
+ type: "always_allow" | "always_ask";
2961
+ };
2962
+ } | null;
2963
+ configs?: Array<{
2964
+ name: string;
2965
+ enabled?: boolean | null;
2966
+ permission_policy?: null | {
2967
+ type: "always_allow" | "always_ask";
2968
+ };
2969
+ }> | null;
2970
+ } | {
2971
+ description: string;
2972
+ input_schema: {
2973
+ type: "object";
2974
+ properties?: null | {
2975
+ [key: string]: unknown;
2976
+ };
2977
+ required?: null | Array<string>;
2978
+ [key: string]: unknown;
2979
+ };
2980
+ name: string;
2981
+ type: "custom";
2982
+ }>;
2983
+ type: "agent";
2984
+ version: number;
2985
+ }>;
2986
+ type: "coordinator";
2987
+ };
2988
+ name: string;
2989
+ skills: Array<{
2990
+ skill_id: string;
2991
+ type: "anthropic";
2992
+ version: string;
2993
+ } | {
2994
+ skill_id: string;
2995
+ type: "custom";
2996
+ version: string;
2997
+ }>;
2998
+ system: null | string;
2999
+ tools: Array<{
3000
+ configs: Array<{
3001
+ enabled: boolean;
3002
+ name: "bash";
3003
+ permission_policy: {
3004
+ type: "always_allow";
3005
+ } | {
3006
+ type: "always_ask";
3007
+ } | {
3008
+ type: "auto";
3009
+ };
3010
+ type: "bash";
3011
+ } | {
3012
+ enabled: boolean;
3013
+ name: "edit";
3014
+ permission_policy: {
3015
+ type: "always_allow";
3016
+ } | {
3017
+ type: "always_ask";
3018
+ } | {
3019
+ type: "auto";
3020
+ };
3021
+ type: "edit";
3022
+ } | {
3023
+ enabled: boolean;
3024
+ name: "read";
3025
+ permission_policy: {
3026
+ type: "always_allow";
3027
+ } | {
3028
+ type: "always_ask";
3029
+ } | {
3030
+ type: "auto";
3031
+ };
3032
+ type: "read";
3033
+ } | {
3034
+ enabled: boolean;
3035
+ name: "write";
3036
+ permission_policy: {
3037
+ type: "always_allow";
3038
+ } | {
3039
+ type: "always_ask";
3040
+ } | {
3041
+ type: "auto";
3042
+ };
3043
+ type: "write";
3044
+ } | {
3045
+ enabled: boolean;
3046
+ name: "glob";
3047
+ permission_policy: {
3048
+ type: "always_allow";
3049
+ } | {
3050
+ type: "always_ask";
3051
+ } | {
3052
+ type: "auto";
3053
+ };
3054
+ type: "glob";
3055
+ } | {
3056
+ enabled: boolean;
3057
+ name: "grep";
3058
+ permission_policy: {
3059
+ type: "always_allow";
3060
+ } | {
3061
+ type: "always_ask";
3062
+ } | {
3063
+ type: "auto";
3064
+ };
3065
+ type: "grep";
3066
+ } | {
3067
+ enabled: boolean;
3068
+ name: "web_fetch";
3069
+ permission_policy: {
3070
+ type: "always_allow";
3071
+ } | {
3072
+ type: "always_ask";
3073
+ } | {
3074
+ type: "auto";
3075
+ };
3076
+ type: "web_fetch";
3077
+ allowed_domains?: Array<string>;
3078
+ blocked_domains?: Array<string>;
3079
+ max_content_tokens?: null | number;
3080
+ } | {
3081
+ enabled: boolean;
3082
+ name: "web_search";
3083
+ permission_policy: {
3084
+ type: "always_allow";
3085
+ } | {
3086
+ type: "always_ask";
3087
+ } | {
3088
+ type: "auto";
3089
+ };
3090
+ type: "web_search";
3091
+ allowed_domains?: Array<string>;
3092
+ blocked_domains?: Array<string>;
3093
+ user_location?: null | {
3094
+ type: "approximate";
3095
+ city?: null | string;
3096
+ country?: null | string;
3097
+ region?: null | string;
3098
+ timezone?: null | string;
3099
+ };
3100
+ } | {
3101
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3102
+ enabled: boolean;
3103
+ permission_policy: {
3104
+ type: "always_allow" | "always_ask";
3105
+ };
3106
+ }>;
3107
+ default_config: {
3108
+ enabled: boolean;
3109
+ permission_policy: {
3110
+ type: "always_allow";
3111
+ } | {
3112
+ type: "always_ask";
3113
+ } | {
3114
+ type: "auto";
3115
+ };
3116
+ };
3117
+ type: "agent_toolset_20260401";
3118
+ } | {
3119
+ type: "mcp_toolset";
3120
+ mcp_server_name: string;
3121
+ default_config?: {
3122
+ enabled?: boolean | null;
3123
+ permission_policy?: null | {
3124
+ type: "always_allow" | "always_ask";
3125
+ };
3126
+ } | null;
3127
+ configs?: Array<{
3128
+ name: string;
3129
+ enabled?: boolean | null;
3130
+ permission_policy?: null | {
3131
+ type: "always_allow" | "always_ask";
3132
+ };
3133
+ }> | null;
3134
+ } | {
3135
+ description: string;
3136
+ input_schema: {
3137
+ type: "object";
3138
+ properties?: null | {
3139
+ [key: string]: unknown;
3140
+ };
3141
+ required?: null | Array<string>;
3142
+ [key: string]: unknown;
3143
+ };
3144
+ name: string;
3145
+ type: "custom";
3146
+ }>;
3147
+ type: "agent";
3148
+ version: number;
3149
+ };
3150
+ archived_at: null | string;
3151
+ budget: null | {
3152
+ max_list_cost: {
3153
+ amount: string;
3154
+ currency: "USD";
2373
3155
  };
3156
+ type: "limit";
2374
3157
  };
2375
- image?: string;
2376
- motion?: "float" | "none";
2377
- position?: "bottom-right" | "bottom-left";
2378
- label?: string;
2379
- };
2380
- header?: {
2381
- title?: string;
2382
- subtitle?: string;
2383
- icon?: string;
2384
- };
2385
- theme?: {
2386
- colorScheme?: "light" | "dark" | "system";
2387
- accent?: string;
2388
- surface?: string;
2389
- grayscale?: "neutral" | "warm" | "cool";
2390
- radius?: "none" | "sm" | "md" | "lg" | "full";
2391
- density?: "compact" | "normal" | "spacious";
2392
- fontFamily?: string;
2393
- fontSize?: number;
2394
- };
2395
- locale?: "zh" | "en";
2396
- startScreen?: {
2397
- greeting?: string;
2398
- prompts?: Array<{
2399
- label: string;
2400
- prompt: string;
2401
- }>;
2402
- };
2403
- composer?: {
2404
- placeholder?: string;
2405
- };
2406
- disclaimer?: string;
2407
- footer?: string;
2408
- history?: {
2409
- enabled?: boolean;
2410
- };
2411
- }>;
2412
- };
2413
- embedTokens: {
2414
- anonymous: {
2415
- create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
2416
- token: string;
2417
- expires_at: string;
2418
- visitor_secret?: string;
2419
- }>;
2420
- };
2421
- create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
2422
- hosted_url?: string;
2423
- id: string;
2424
- token: string;
2425
- expires_at: string;
2426
- }>;
2427
- list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
2428
- data: Array<{
2429
- id: string;
2430
- type: "embed_token";
2431
- agent_id: string;
2432
- agent_version: number;
2433
- external_user_id: string;
2434
3158
  created_at: string;
2435
- expires_at: string;
2436
- revoked_at: string | null;
2437
- host_origin: string | null;
2438
- issued_by: {
2439
- type: "user" | "api_key";
3159
+ environment_id?: string;
3160
+ metadata: {
3161
+ [key: string]: string;
3162
+ };
3163
+ outcome_evaluations: Array<{
3164
+ completed_at: null | string;
3165
+ description: string;
3166
+ explanation: null | string;
3167
+ iteration: number;
3168
+ outcome_id: string;
3169
+ result: string;
3170
+ type: "outcome_evaluation";
3171
+ }>;
3172
+ resources: Array<{
3173
+ id: string;
3174
+ created_at: string;
3175
+ mount_path: string;
3176
+ type: "github_repository";
3177
+ updated_at: string;
3178
+ url: string;
3179
+ checkout?: null | {
3180
+ name: string;
3181
+ type: "branch";
3182
+ } | {
3183
+ sha: string;
3184
+ type: "commit";
3185
+ };
3186
+ } | {
2440
3187
  id: string;
3188
+ created_at: string;
3189
+ file_id: string;
3190
+ mount_path: string;
3191
+ type: "file";
3192
+ updated_at: string;
3193
+ } | {
3194
+ memory_store_id: string;
3195
+ type: "memory_store";
3196
+ access?: null | "read_write" | "read_only";
3197
+ description?: string;
3198
+ instructions?: null | string;
3199
+ mount_path?: null | string;
3200
+ name?: null | string;
3201
+ }>;
3202
+ stats: {
3203
+ active_seconds?: number;
3204
+ duration_seconds?: number;
2441
3205
  };
2442
- }>;
2443
- next_page: string | null;
2444
- }>;
2445
- revoke: {
2446
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
2447
- id: string;
2448
- type: "embed_token";
2449
- agent_id: string;
2450
- agent_version: number;
2451
- external_user_id: string;
2452
- created_at: string;
2453
- expires_at: string;
2454
- revoked_at: string | null;
2455
- host_origin: string | null;
2456
- issued_by: {
2457
- type: "user" | "api_key";
3206
+ status: "rescheduling" | "running" | "idle" | "terminated";
3207
+ title: null | string;
3208
+ type: "session";
3209
+ updated_at: string;
3210
+ usage: {
3211
+ active_seconds?: number;
3212
+ cache_creation?: {
3213
+ ephemeral_1h_input_tokens?: number;
3214
+ ephemeral_5m_input_tokens?: number;
3215
+ };
3216
+ cache_read_input_tokens?: number;
3217
+ input_tokens?: number;
3218
+ list_cost?: null | {
3219
+ amount: string;
3220
+ currency: "USD";
3221
+ };
3222
+ output_tokens?: number;
3223
+ server_tool_use?: null | {
3224
+ web_fetch_requests?: number;
3225
+ web_search_requests?: number;
3226
+ };
3227
+ cost_by_product?: {
3228
+ [key: string]: string;
3229
+ };
3230
+ subagent_cost_micro_usd?: number;
3231
+ };
3232
+ vault_ids: Array<string>;
3233
+ deployment_id?: null | string;
3234
+ cwd: string;
3235
+ workspace?: {
3236
+ kind: "shared" | "isolated";
3237
+ path?: string;
3238
+ branch?: string;
3239
+ };
3240
+ computer_id?: string;
3241
+ model?: {
2458
3242
  id: string;
3243
+ thinking: {
3244
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3245
+ can_disable: boolean;
3246
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3247
+ } | null;
2459
3248
  };
3249
+ thinking?: {
3250
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3251
+ } | null;
3252
+ forked_from?: {
3253
+ session_id: string;
3254
+ message_id: string;
3255
+ } | null;
3256
+ readonly external_user_id: string | null;
3257
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2460
3258
  }>;
2461
3259
  };
2462
- };
2463
- environments: {
2464
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2465
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2466
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2467
- data: Array<Types.AgentManaged138>;
2468
- next_page: string | null;
2469
- }>;
2470
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2471
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2472
- };
2473
- sessions: {
2474
3260
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2475
3261
  id: string;
2476
3262
  agent: {
@@ -2484,6 +3270,7 @@ export declare function createAgent(transport: Transport): {
2484
3270
  speed?: "standard" | "fast";
2485
3271
  settings?: {
2486
3272
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3273
+ max_output_tokens?: number;
2487
3274
  };
2488
3275
  };
2489
3276
  multiagent: null | Types.AgentManaged171;
@@ -2510,6 +3297,11 @@ export declare function createAgent(transport: Transport): {
2510
3297
  vault_ids: Array<string>;
2511
3298
  deployment_id?: null | string;
2512
3299
  cwd: string;
3300
+ workspace?: {
3301
+ kind: "shared" | "isolated";
3302
+ path?: string;
3303
+ branch?: string;
3304
+ };
2513
3305
  computer_id?: string;
2514
3306
  model?: {
2515
3307
  id: string;
@@ -2529,6 +3321,40 @@ export declare function createAgent(transport: Transport): {
2529
3321
  readonly external_user_id: string | null;
2530
3322
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2531
3323
  }>;
3324
+ artifacts: {
3325
+ contentUrl: {
3326
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3327
+ url: string;
3328
+ expire_time: string;
3329
+ }>;
3330
+ };
3331
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3332
+ data: Array<{
3333
+ object: "artifact";
3334
+ id: string;
3335
+ session_id: string;
3336
+ run_id: string | null;
3337
+ name: string;
3338
+ version: number;
3339
+ parts: Array<{
3340
+ kind: "file";
3341
+ file_id: string;
3342
+ filename: string;
3343
+ mime_type: string;
3344
+ bytes: number;
3345
+ } | {
3346
+ kind: "object";
3347
+ object_type: "canvas" | "media_asset";
3348
+ object_id: string;
3349
+ href: string;
3350
+ title: string | null;
3351
+ }>;
3352
+ source_hrefs: Array<string>;
3353
+ create_time: string;
3354
+ update_time: string;
3355
+ }>;
3356
+ }>;
3357
+ };
2532
3358
  backgroundTasks: {
2533
3359
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2534
3360
  data: Array<{
@@ -2566,21 +3392,27 @@ export declare function createAgent(transport: Transport): {
2566
3392
  compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
2567
3393
  type: "session_compaction";
2568
3394
  id: string;
2569
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3395
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2570
3396
  reason?: string;
2571
3397
  } | {
2572
3398
  type: "session_compaction";
2573
3399
  id: string;
2574
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3400
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2575
3401
  reason?: string;
2576
3402
  }>;
2577
3403
  compactions: {
2578
3404
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
3405
+ active: {
3406
+ type: "session_compaction";
3407
+ id: string;
3408
+ status: "queued" | "running";
3409
+ trigger: "manual" | "auto" | "idle";
3410
+ } | null;
2579
3411
  data: Array<{
2580
3412
  type: "context_compaction";
2581
3413
  id: string;
2582
3414
  event_id: string | null;
2583
- trigger: "auto" | "manual" | "model_downshift";
3415
+ trigger: "auto" | "manual" | "model_downshift" | "idle";
2584
3416
  status: "succeeded" | "failed";
2585
3417
  model: string;
2586
3418
  compacted_message_count: number;
@@ -2605,6 +3437,7 @@ export declare function createAgent(transport: Transport): {
2605
3437
  speed?: "standard" | "fast";
2606
3438
  settings?: {
2607
3439
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3440
+ max_output_tokens?: number;
2608
3441
  };
2609
3442
  };
2610
3443
  multiagent: null | Types.AgentManaged171;
@@ -2631,6 +3464,11 @@ export declare function createAgent(transport: Transport): {
2631
3464
  vault_ids: Array<string>;
2632
3465
  deployment_id?: null | string;
2633
3466
  cwd: string;
3467
+ workspace?: {
3468
+ kind: "shared" | "isolated";
3469
+ path?: string;
3470
+ branch?: string;
3471
+ };
2634
3472
  computer_id?: string;
2635
3473
  model?: {
2636
3474
  id: string;
@@ -2700,6 +3538,18 @@ export declare function createAgent(transport: Transport): {
2700
3538
  evaluated_permission?: "allow" | "deny" | "ask";
2701
3539
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2702
3540
  session_thread_id?: null | string;
3541
+ permission_suggestions?: Array<{
3542
+ type: "add_rules";
3543
+ behavior: "allow";
3544
+ destination: "agent" | "session";
3545
+ rules: Array<{
3546
+ tool_name: string;
3547
+ rule_content: string;
3548
+ }>;
3549
+ }>;
3550
+ full_access_available?: boolean;
3551
+ user_once?: true;
3552
+ guarded_rule?: string;
2703
3553
  run_id: string | null;
2704
3554
  _meta?: {
2705
3555
  ui?: {
@@ -2739,6 +3589,18 @@ export declare function createAgent(transport: Transport): {
2739
3589
  evaluated_permission?: "allow" | "deny" | "ask";
2740
3590
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2741
3591
  session_thread_id?: null | string;
3592
+ permission_suggestions?: Array<{
3593
+ type: "add_rules";
3594
+ behavior: "allow";
3595
+ destination: "agent" | "session";
3596
+ rules: Array<{
3597
+ tool_name: string;
3598
+ rule_content: string;
3599
+ }>;
3600
+ }>;
3601
+ full_access_available?: boolean;
3602
+ user_once?: true;
3603
+ guarded_rule?: string;
2742
3604
  run_id: string | null;
2743
3605
  } | {
2744
3606
  id: string;
@@ -2767,6 +3629,9 @@ export declare function createAgent(transport: Transport): {
2767
3629
  budget?: null | Types.AgentManaged76;
2768
3630
  metadata?: Types.AgentManaged246;
2769
3631
  title?: null | string;
3632
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3633
+ previous_permission_mode?: string | null;
3634
+ permission_mode_version?: number;
2770
3635
  model?: {
2771
3636
  id: string;
2772
3637
  };
@@ -2825,21 +3690,6 @@ export declare function createAgent(transport: Transport): {
2825
3690
  type: "user.steer";
2826
3691
  event_id: string;
2827
3692
  processed_at: string;
2828
- } | {
2829
- id: string;
2830
- type: "user.tool_confirmation";
2831
- processed_at: string;
2832
- tool_use_id: string;
2833
- result: "allow";
2834
- answers: {
2835
- [key: string]: string;
2836
- };
2837
- annotations?: {
2838
- [key: string]: {
2839
- preview?: string;
2840
- notes?: string;
2841
- };
2842
- };
2843
3693
  }>;
2844
3694
  next_page: string | null;
2845
3695
  }>;
@@ -2860,21 +3710,6 @@ export declare function createAgent(transport: Transport): {
2860
3710
  type: "user.steer";
2861
3711
  event_id: string;
2862
3712
  processed_at: string;
2863
- } | {
2864
- id: string;
2865
- type: "user.tool_confirmation";
2866
- processed_at: string;
2867
- tool_use_id: string;
2868
- result: "allow";
2869
- answers: {
2870
- [key: string]: string;
2871
- };
2872
- annotations?: {
2873
- [key: string]: {
2874
- preview?: string;
2875
- notes?: string;
2876
- };
2877
- };
2878
3713
  }>;
2879
3714
  }>;
2880
3715
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2927,6 +3762,7 @@ export declare function createAgent(transport: Transport): {
2927
3762
  speed?: "standard" | "fast";
2928
3763
  settings?: {
2929
3764
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3765
+ max_output_tokens?: number;
2930
3766
  };
2931
3767
  };
2932
3768
  multiagent: null | {
@@ -3381,14 +4217,19 @@ export declare function createAgent(transport: Transport): {
3381
4217
  web_fetch_requests?: number;
3382
4218
  web_search_requests?: number;
3383
4219
  };
3384
- runtime_cost?: {
3385
- amount: string;
3386
- currency: "USD";
4220
+ cost_by_product?: {
4221
+ [key: string]: string;
3387
4222
  };
4223
+ subagent_cost_micro_usd?: number;
3388
4224
  };
3389
4225
  vault_ids: Array<string>;
3390
4226
  deployment_id?: null | string;
3391
4227
  cwd: string;
4228
+ workspace?: {
4229
+ kind: "shared" | "isolated";
4230
+ path?: string;
4231
+ branch?: string;
4232
+ };
3392
4233
  computer_id?: string;
3393
4234
  model?: {
3394
4235
  id: string;
@@ -3422,32 +4263,576 @@ export declare function createAgent(transport: Transport): {
3422
4263
  speed?: "standard" | "fast";
3423
4264
  settings?: {
3424
4265
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4266
+ max_output_tokens?: number;
4267
+ };
4268
+ };
4269
+ multiagent: null | Types.AgentManaged171;
4270
+ name: string;
4271
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4272
+ system: null | string;
4273
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4274
+ type: "agent";
4275
+ version: number;
4276
+ };
4277
+ archived_at: null | string;
4278
+ budget: null | Types.AgentManaged76;
4279
+ created_at: string;
4280
+ environment_id?: string;
4281
+ metadata: Types.AgentManaged173;
4282
+ outcome_evaluations: Array<Types.AgentManaged174>;
4283
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4284
+ stats: Types.AgentManaged178;
4285
+ status: "rescheduling" | "running" | "idle" | "terminated";
4286
+ title: null | string;
4287
+ type: "session";
4288
+ updated_at: string;
4289
+ usage: Types.AgentManaged179;
4290
+ vault_ids: Array<string>;
4291
+ deployment_id?: null | string;
4292
+ cwd: string;
4293
+ workspace?: {
4294
+ kind: "shared" | "isolated";
4295
+ path?: string;
4296
+ branch?: string;
4297
+ };
4298
+ computer_id?: string;
4299
+ model?: {
4300
+ id: string;
4301
+ thinking: {
4302
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4303
+ can_disable: boolean;
4304
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4305
+ } | null;
4306
+ };
4307
+ thinking?: {
4308
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4309
+ } | null;
4310
+ forked_from?: {
4311
+ session_id: string;
4312
+ message_id: string;
4313
+ } | null;
4314
+ readonly external_user_id: string | null;
4315
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4316
+ }>;
4317
+ next_page: string | null;
4318
+ }>;
4319
+ name: {
4320
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4321
+ id: string;
4322
+ agent: {
4323
+ id: string;
4324
+ description: null | string;
4325
+ mcp_servers: Array<{
4326
+ type: "url";
4327
+ name: string;
4328
+ url: string;
4329
+ headers?: {
4330
+ [key: string]: string;
4331
+ };
4332
+ timeout_ms?: number;
4333
+ } | {
4334
+ type: "sse";
4335
+ name: string;
4336
+ url: string;
4337
+ headers?: {
4338
+ [key: string]: string;
4339
+ };
4340
+ timeout_ms?: number;
4341
+ } | {
4342
+ type: "stdio";
4343
+ name: string;
4344
+ command: string;
4345
+ args?: Array<string>;
4346
+ env?: {
4347
+ [key: string]: string;
4348
+ };
4349
+ timeout_ms?: number;
4350
+ }>;
4351
+ model: {
4352
+ id: string;
4353
+ effort?: {
4354
+ type: "low";
4355
+ } | {
4356
+ type: "medium";
4357
+ } | {
4358
+ type: "high";
4359
+ } | {
4360
+ type: "xhigh";
4361
+ } | {
4362
+ type: "max";
4363
+ };
4364
+ inference_geo?: string;
4365
+ speed?: "standard" | "fast";
4366
+ settings?: {
4367
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4368
+ max_output_tokens?: number;
3425
4369
  };
3426
4370
  };
3427
- multiagent: null | Types.AgentManaged171;
4371
+ multiagent: null | {
4372
+ agents: Array<{
4373
+ model: string;
4374
+ type: "advisor";
4375
+ } | {
4376
+ id: string;
4377
+ description: null | string;
4378
+ mcp_servers: Array<{
4379
+ type: "url";
4380
+ name: string;
4381
+ url: string;
4382
+ headers?: {
4383
+ [key: string]: string;
4384
+ };
4385
+ timeout_ms?: number;
4386
+ } | {
4387
+ type: "sse";
4388
+ name: string;
4389
+ url: string;
4390
+ headers?: {
4391
+ [key: string]: string;
4392
+ };
4393
+ timeout_ms?: number;
4394
+ } | {
4395
+ type: "stdio";
4396
+ name: string;
4397
+ command: string;
4398
+ args?: Array<string>;
4399
+ env?: {
4400
+ [key: string]: string;
4401
+ };
4402
+ timeout_ms?: number;
4403
+ }>;
4404
+ model: {
4405
+ id: string;
4406
+ effort?: {
4407
+ type: "low";
4408
+ } | {
4409
+ type: "medium";
4410
+ } | {
4411
+ type: "high";
4412
+ } | {
4413
+ type: "xhigh";
4414
+ } | {
4415
+ type: "max";
4416
+ };
4417
+ inference_geo?: string;
4418
+ speed?: "standard" | "fast";
4419
+ };
4420
+ name: string;
4421
+ skills: Array<{
4422
+ skill_id: string;
4423
+ type: "anthropic";
4424
+ version: string;
4425
+ } | {
4426
+ skill_id: string;
4427
+ type: "custom";
4428
+ version: string;
4429
+ }>;
4430
+ system: null | string;
4431
+ tools: Array<{
4432
+ configs: Array<{
4433
+ enabled: boolean;
4434
+ name: "bash";
4435
+ permission_policy: {
4436
+ type: "always_allow";
4437
+ } | {
4438
+ type: "always_ask";
4439
+ } | {
4440
+ type: "auto";
4441
+ };
4442
+ type: "bash";
4443
+ } | {
4444
+ enabled: boolean;
4445
+ name: "edit";
4446
+ permission_policy: {
4447
+ type: "always_allow";
4448
+ } | {
4449
+ type: "always_ask";
4450
+ } | {
4451
+ type: "auto";
4452
+ };
4453
+ type: "edit";
4454
+ } | {
4455
+ enabled: boolean;
4456
+ name: "read";
4457
+ permission_policy: {
4458
+ type: "always_allow";
4459
+ } | {
4460
+ type: "always_ask";
4461
+ } | {
4462
+ type: "auto";
4463
+ };
4464
+ type: "read";
4465
+ } | {
4466
+ enabled: boolean;
4467
+ name: "write";
4468
+ permission_policy: {
4469
+ type: "always_allow";
4470
+ } | {
4471
+ type: "always_ask";
4472
+ } | {
4473
+ type: "auto";
4474
+ };
4475
+ type: "write";
4476
+ } | {
4477
+ enabled: boolean;
4478
+ name: "glob";
4479
+ permission_policy: {
4480
+ type: "always_allow";
4481
+ } | {
4482
+ type: "always_ask";
4483
+ } | {
4484
+ type: "auto";
4485
+ };
4486
+ type: "glob";
4487
+ } | {
4488
+ enabled: boolean;
4489
+ name: "grep";
4490
+ permission_policy: {
4491
+ type: "always_allow";
4492
+ } | {
4493
+ type: "always_ask";
4494
+ } | {
4495
+ type: "auto";
4496
+ };
4497
+ type: "grep";
4498
+ } | {
4499
+ enabled: boolean;
4500
+ name: "web_fetch";
4501
+ permission_policy: {
4502
+ type: "always_allow";
4503
+ } | {
4504
+ type: "always_ask";
4505
+ } | {
4506
+ type: "auto";
4507
+ };
4508
+ type: "web_fetch";
4509
+ allowed_domains?: Array<string>;
4510
+ blocked_domains?: Array<string>;
4511
+ max_content_tokens?: null | number;
4512
+ } | {
4513
+ enabled: boolean;
4514
+ name: "web_search";
4515
+ permission_policy: {
4516
+ type: "always_allow";
4517
+ } | {
4518
+ type: "always_ask";
4519
+ } | {
4520
+ type: "auto";
4521
+ };
4522
+ type: "web_search";
4523
+ allowed_domains?: Array<string>;
4524
+ blocked_domains?: Array<string>;
4525
+ user_location?: null | {
4526
+ type: "approximate";
4527
+ city?: null | string;
4528
+ country?: null | string;
4529
+ region?: null | string;
4530
+ timezone?: null | string;
4531
+ };
4532
+ } | {
4533
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4534
+ enabled: boolean;
4535
+ permission_policy: {
4536
+ type: "always_allow" | "always_ask";
4537
+ };
4538
+ }>;
4539
+ default_config: {
4540
+ enabled: boolean;
4541
+ permission_policy: {
4542
+ type: "always_allow";
4543
+ } | {
4544
+ type: "always_ask";
4545
+ } | {
4546
+ type: "auto";
4547
+ };
4548
+ };
4549
+ type: "agent_toolset_20260401";
4550
+ } | {
4551
+ type: "mcp_toolset";
4552
+ mcp_server_name: string;
4553
+ default_config?: {
4554
+ enabled?: boolean | null;
4555
+ permission_policy?: null | {
4556
+ type: "always_allow" | "always_ask";
4557
+ };
4558
+ } | null;
4559
+ configs?: Array<{
4560
+ name: string;
4561
+ enabled?: boolean | null;
4562
+ permission_policy?: null | {
4563
+ type: "always_allow" | "always_ask";
4564
+ };
4565
+ }> | null;
4566
+ } | {
4567
+ description: string;
4568
+ input_schema: {
4569
+ type: "object";
4570
+ properties?: null | {
4571
+ [key: string]: unknown;
4572
+ };
4573
+ required?: null | Array<string>;
4574
+ [key: string]: unknown;
4575
+ };
4576
+ name: string;
4577
+ type: "custom";
4578
+ }>;
4579
+ type: "agent";
4580
+ version: number;
4581
+ }>;
4582
+ type: "coordinator";
4583
+ };
3428
4584
  name: string;
3429
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4585
+ skills: Array<{
4586
+ skill_id: string;
4587
+ type: "anthropic";
4588
+ version: string;
4589
+ } | {
4590
+ skill_id: string;
4591
+ type: "custom";
4592
+ version: string;
4593
+ }>;
3430
4594
  system: null | string;
3431
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4595
+ tools: Array<{
4596
+ configs: Array<{
4597
+ enabled: boolean;
4598
+ name: "bash";
4599
+ permission_policy: {
4600
+ type: "always_allow";
4601
+ } | {
4602
+ type: "always_ask";
4603
+ } | {
4604
+ type: "auto";
4605
+ };
4606
+ type: "bash";
4607
+ } | {
4608
+ enabled: boolean;
4609
+ name: "edit";
4610
+ permission_policy: {
4611
+ type: "always_allow";
4612
+ } | {
4613
+ type: "always_ask";
4614
+ } | {
4615
+ type: "auto";
4616
+ };
4617
+ type: "edit";
4618
+ } | {
4619
+ enabled: boolean;
4620
+ name: "read";
4621
+ permission_policy: {
4622
+ type: "always_allow";
4623
+ } | {
4624
+ type: "always_ask";
4625
+ } | {
4626
+ type: "auto";
4627
+ };
4628
+ type: "read";
4629
+ } | {
4630
+ enabled: boolean;
4631
+ name: "write";
4632
+ permission_policy: {
4633
+ type: "always_allow";
4634
+ } | {
4635
+ type: "always_ask";
4636
+ } | {
4637
+ type: "auto";
4638
+ };
4639
+ type: "write";
4640
+ } | {
4641
+ enabled: boolean;
4642
+ name: "glob";
4643
+ permission_policy: {
4644
+ type: "always_allow";
4645
+ } | {
4646
+ type: "always_ask";
4647
+ } | {
4648
+ type: "auto";
4649
+ };
4650
+ type: "glob";
4651
+ } | {
4652
+ enabled: boolean;
4653
+ name: "grep";
4654
+ permission_policy: {
4655
+ type: "always_allow";
4656
+ } | {
4657
+ type: "always_ask";
4658
+ } | {
4659
+ type: "auto";
4660
+ };
4661
+ type: "grep";
4662
+ } | {
4663
+ enabled: boolean;
4664
+ name: "web_fetch";
4665
+ permission_policy: {
4666
+ type: "always_allow";
4667
+ } | {
4668
+ type: "always_ask";
4669
+ } | {
4670
+ type: "auto";
4671
+ };
4672
+ type: "web_fetch";
4673
+ allowed_domains?: Array<string>;
4674
+ blocked_domains?: Array<string>;
4675
+ max_content_tokens?: null | number;
4676
+ } | {
4677
+ enabled: boolean;
4678
+ name: "web_search";
4679
+ permission_policy: {
4680
+ type: "always_allow";
4681
+ } | {
4682
+ type: "always_ask";
4683
+ } | {
4684
+ type: "auto";
4685
+ };
4686
+ type: "web_search";
4687
+ allowed_domains?: Array<string>;
4688
+ blocked_domains?: Array<string>;
4689
+ user_location?: null | {
4690
+ type: "approximate";
4691
+ city?: null | string;
4692
+ country?: null | string;
4693
+ region?: null | string;
4694
+ timezone?: null | string;
4695
+ };
4696
+ } | {
4697
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4698
+ enabled: boolean;
4699
+ permission_policy: {
4700
+ type: "always_allow" | "always_ask";
4701
+ };
4702
+ }>;
4703
+ default_config: {
4704
+ enabled: boolean;
4705
+ permission_policy: {
4706
+ type: "always_allow";
4707
+ } | {
4708
+ type: "always_ask";
4709
+ } | {
4710
+ type: "auto";
4711
+ };
4712
+ };
4713
+ type: "agent_toolset_20260401";
4714
+ } | {
4715
+ type: "mcp_toolset";
4716
+ mcp_server_name: string;
4717
+ default_config?: {
4718
+ enabled?: boolean | null;
4719
+ permission_policy?: null | {
4720
+ type: "always_allow" | "always_ask";
4721
+ };
4722
+ } | null;
4723
+ configs?: Array<{
4724
+ name: string;
4725
+ enabled?: boolean | null;
4726
+ permission_policy?: null | {
4727
+ type: "always_allow" | "always_ask";
4728
+ };
4729
+ }> | null;
4730
+ } | {
4731
+ description: string;
4732
+ input_schema: {
4733
+ type: "object";
4734
+ properties?: null | {
4735
+ [key: string]: unknown;
4736
+ };
4737
+ required?: null | Array<string>;
4738
+ [key: string]: unknown;
4739
+ };
4740
+ name: string;
4741
+ type: "custom";
4742
+ }>;
3432
4743
  type: "agent";
3433
4744
  version: number;
3434
4745
  };
3435
4746
  archived_at: null | string;
3436
- budget: null | Types.AgentManaged76;
4747
+ budget: null | {
4748
+ max_list_cost: {
4749
+ amount: string;
4750
+ currency: "USD";
4751
+ };
4752
+ type: "limit";
4753
+ };
3437
4754
  created_at: string;
3438
4755
  environment_id?: string;
3439
- metadata: Types.AgentManaged173;
3440
- outcome_evaluations: Array<Types.AgentManaged174>;
3441
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3442
- stats: Types.AgentManaged178;
4756
+ metadata: {
4757
+ [key: string]: string;
4758
+ };
4759
+ outcome_evaluations: Array<{
4760
+ completed_at: null | string;
4761
+ description: string;
4762
+ explanation: null | string;
4763
+ iteration: number;
4764
+ outcome_id: string;
4765
+ result: string;
4766
+ type: "outcome_evaluation";
4767
+ }>;
4768
+ resources: Array<{
4769
+ id: string;
4770
+ created_at: string;
4771
+ mount_path: string;
4772
+ type: "github_repository";
4773
+ updated_at: string;
4774
+ url: string;
4775
+ checkout?: null | {
4776
+ name: string;
4777
+ type: "branch";
4778
+ } | {
4779
+ sha: string;
4780
+ type: "commit";
4781
+ };
4782
+ } | {
4783
+ id: string;
4784
+ created_at: string;
4785
+ file_id: string;
4786
+ mount_path: string;
4787
+ type: "file";
4788
+ updated_at: string;
4789
+ } | {
4790
+ memory_store_id: string;
4791
+ type: "memory_store";
4792
+ access?: null | "read_write" | "read_only";
4793
+ description?: string;
4794
+ instructions?: null | string;
4795
+ mount_path?: null | string;
4796
+ name?: null | string;
4797
+ }>;
4798
+ stats: {
4799
+ active_seconds?: number;
4800
+ duration_seconds?: number;
4801
+ };
3443
4802
  status: "rescheduling" | "running" | "idle" | "terminated";
3444
4803
  title: null | string;
3445
4804
  type: "session";
3446
4805
  updated_at: string;
3447
- usage: Types.AgentManaged179;
4806
+ usage: {
4807
+ active_seconds?: number;
4808
+ cache_creation?: {
4809
+ ephemeral_1h_input_tokens?: number;
4810
+ ephemeral_5m_input_tokens?: number;
4811
+ };
4812
+ cache_read_input_tokens?: number;
4813
+ input_tokens?: number;
4814
+ list_cost?: null | {
4815
+ amount: string;
4816
+ currency: "USD";
4817
+ };
4818
+ output_tokens?: number;
4819
+ server_tool_use?: null | {
4820
+ web_fetch_requests?: number;
4821
+ web_search_requests?: number;
4822
+ };
4823
+ cost_by_product?: {
4824
+ [key: string]: string;
4825
+ };
4826
+ subagent_cost_micro_usd?: number;
4827
+ };
3448
4828
  vault_ids: Array<string>;
3449
4829
  deployment_id?: null | string;
3450
4830
  cwd: string;
4831
+ workspace?: {
4832
+ kind: "shared" | "isolated";
4833
+ path?: string;
4834
+ branch?: string;
4835
+ };
3451
4836
  computer_id?: string;
3452
4837
  model?: {
3453
4838
  id: string;
@@ -3467,8 +4852,21 @@ export declare function createAgent(transport: Transport): {
3467
4852
  readonly external_user_id: string | null;
3468
4853
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3469
4854
  }>;
3470
- next_page: string | null;
3471
- }>;
4855
+ };
4856
+ requests: {
4857
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4858
+ data: Array<{
4859
+ id: string;
4860
+ object: "request";
4861
+ kind: "question" | "approval";
4862
+ status: "pending";
4863
+ tool_name: string;
4864
+ input: unknown;
4865
+ create_time: string;
4866
+ expire_time: string | null;
4867
+ }>;
4868
+ }>;
4869
+ };
3472
4870
  resources: {
3473
4871
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3474
4872
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3499,6 +4897,7 @@ export declare function createAgent(transport: Transport): {
3499
4897
  speed?: "standard" | "fast";
3500
4898
  settings?: {
3501
4899
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4900
+ max_output_tokens?: number;
3502
4901
  };
3503
4902
  };
3504
4903
  multiagent: null | Types.AgentManaged171;
@@ -3525,6 +4924,11 @@ export declare function createAgent(transport: Transport): {
3525
4924
  vault_ids: Array<string>;
3526
4925
  deployment_id?: null | string;
3527
4926
  cwd: string;
4927
+ workspace?: {
4928
+ kind: "shared" | "isolated";
4929
+ path?: string;
4930
+ branch?: string;
4931
+ };
3528
4932
  computer_id?: string;
3529
4933
  model?: {
3530
4934
  id: string;
@@ -3547,7 +4951,7 @@ export declare function createAgent(transport: Transport): {
3547
4951
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
3548
4952
  type: "session_compaction";
3549
4953
  id: string;
3550
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
4954
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
3551
4955
  reason?: string;
3552
4956
  }>;
3553
4957
  retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
@@ -3680,6 +5084,18 @@ export declare function createAgent(transport: Transport): {
3680
5084
  evaluated_permission?: "allow" | "deny" | "ask";
3681
5085
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3682
5086
  session_thread_id?: null | string;
5087
+ permission_suggestions?: Array<{
5088
+ type: "add_rules";
5089
+ behavior: "allow";
5090
+ destination: "agent" | "session";
5091
+ rules: Array<{
5092
+ tool_name: string;
5093
+ rule_content: string;
5094
+ }>;
5095
+ }>;
5096
+ full_access_available?: boolean;
5097
+ user_once?: true;
5098
+ guarded_rule?: string;
3683
5099
  run_id: string | null;
3684
5100
  parent_tool_use_id?: string;
3685
5101
  _meta?: {
@@ -3719,6 +5135,18 @@ export declare function createAgent(transport: Transport): {
3719
5135
  evaluated_permission?: "allow" | "deny" | "ask";
3720
5136
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3721
5137
  session_thread_id?: null | string;
5138
+ permission_suggestions?: Array<{
5139
+ type: "add_rules";
5140
+ behavior: "allow";
5141
+ destination: "agent" | "session";
5142
+ rules: Array<{
5143
+ tool_name: string;
5144
+ rule_content: string;
5145
+ }>;
5146
+ }>;
5147
+ full_access_available?: boolean;
5148
+ user_once?: true;
5149
+ guarded_rule?: string;
3722
5150
  run_id: string | null;
3723
5151
  } | {
3724
5152
  id: string;
@@ -3747,6 +5175,9 @@ export declare function createAgent(transport: Transport): {
3747
5175
  budget?: null | Types.AgentManaged76;
3748
5176
  metadata?: Types.AgentManaged246;
3749
5177
  title?: null | string;
5178
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5179
+ previous_permission_mode?: string | null;
5180
+ permission_mode_version?: number;
3750
5181
  model?: {
3751
5182
  id: string;
3752
5183
  };
@@ -3837,6 +5268,7 @@ export declare function createAgent(transport: Transport): {
3837
5268
  speed?: "standard" | "fast";
3838
5269
  settings?: {
3839
5270
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5271
+ max_output_tokens?: number;
3840
5272
  };
3841
5273
  };
3842
5274
  multiagent: null | Types.AgentManaged171;
@@ -3863,6 +5295,11 @@ export declare function createAgent(transport: Transport): {
3863
5295
  vault_ids: Array<string>;
3864
5296
  deployment_id?: null | string;
3865
5297
  cwd: string;
5298
+ workspace?: {
5299
+ kind: "shared" | "isolated";
5300
+ path?: string;
5301
+ branch?: string;
5302
+ };
3866
5303
  computer_id?: string;
3867
5304
  model?: {
3868
5305
  id: string;
@@ -3927,6 +5364,29 @@ export declare function createAgent(transport: Transport): {
3927
5364
  next_page: null;
3928
5365
  }>;
3929
5366
  };
5367
+ uploads: {
5368
+ contentUrl: {
5369
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5370
+ url: string;
5371
+ expires_at: string;
5372
+ }>;
5373
+ };
5374
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5375
+ upload_id: string;
5376
+ expires_at: string;
5377
+ url: string;
5378
+ } | {
5379
+ upload_id: string;
5380
+ expires_at: string;
5381
+ part_size: number;
5382
+ parts: Array<{
5383
+ part_number: number;
5384
+ url: string;
5385
+ }>;
5386
+ complete_url: string;
5387
+ status_url: string;
5388
+ }>;
5389
+ };
3930
5390
  };
3931
5391
  export declare function createApplication(transport: Transport): {
3932
5392
  assets: {
@@ -4008,6 +5468,13 @@ export declare function createAutomation(transport: Transport): {
4008
5468
  hooks: {
4009
5469
  send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
4010
5470
  };
5471
+ humanTasks: {
5472
+ cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
5473
+ delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
5474
+ list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
5475
+ respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
5476
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
5477
+ };
4011
5478
  resolve: {
4012
5479
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
4013
5480
  };
@@ -4074,6 +5541,33 @@ export declare function createAutomation(transport: Transport): {
4074
5541
  restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
4075
5542
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
4076
5543
  update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
5544
+ vaults: {
5545
+ delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
5546
+ list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
5547
+ data: Array<{
5548
+ alias: string;
5549
+ vault: {
5550
+ id: string;
5551
+ name: string;
5552
+ };
5553
+ secrets: Array<{
5554
+ name: string;
5555
+ }>;
5556
+ secrets_unavailable?: true;
5557
+ }>;
5558
+ }>;
5559
+ set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
5560
+ alias: string;
5561
+ vault: {
5562
+ id: string;
5563
+ name: string;
5564
+ };
5565
+ secrets: Array<{
5566
+ name: string;
5567
+ }>;
5568
+ secrets_unavailable?: true;
5569
+ }>;
5570
+ };
4077
5571
  versions: {
4078
5572
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
4079
5573
  deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
@@ -4121,6 +5615,33 @@ export declare function createAutomation(transport: Transport): {
4121
5615
  restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
4122
5616
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
4123
5617
  update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
5618
+ vaults: {
5619
+ delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
5620
+ list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
5621
+ data: Array<{
5622
+ alias: string;
5623
+ vault: {
5624
+ id: string;
5625
+ name: string;
5626
+ };
5627
+ secrets: Array<{
5628
+ name: string;
5629
+ }>;
5630
+ secrets_unavailable?: true;
5631
+ }>;
5632
+ }>;
5633
+ set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
5634
+ alias: string;
5635
+ vault: {
5636
+ id: string;
5637
+ name: string;
5638
+ };
5639
+ secrets: Array<{
5640
+ name: string;
5641
+ }>;
5642
+ secrets_unavailable?: true;
5643
+ }>;
5644
+ };
4124
5645
  versions: {
4125
5646
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
4126
5647
  deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
@@ -4130,6 +5651,11 @@ export declare function createAutomation(transport: Transport): {
4130
5651
  };
4131
5652
  };
4132
5653
  };
5654
+ export declare function createBilling(transport: Transport): {
5655
+ prices: {
5656
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5657
+ };
5658
+ };
4133
5659
  export declare function createBrowser(transport: Transport): {
4134
5660
  connect: {
4135
5661
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -4153,6 +5679,49 @@ export declare function createBrowser(transport: Transport): {
4153
5679
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
4154
5680
  };
4155
5681
  sessions: {
5682
+ actions: {
5683
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5684
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5685
+ tab: string;
5686
+ url: string;
5687
+ title: string;
5688
+ } | {
5689
+ type: "select";
5690
+ tab: string;
5691
+ values: Array<string>;
5692
+ } | {
5693
+ type: "tabs.list";
5694
+ tabs: Array<{
5695
+ id: string;
5696
+ url: string;
5697
+ title: string;
5698
+ active: boolean;
5699
+ }>;
5700
+ } | {
5701
+ type: "snapshot";
5702
+ tab: string;
5703
+ url: string;
5704
+ title: string;
5705
+ snapshot: string;
5706
+ refs: number;
5707
+ truncated: boolean;
5708
+ } | {
5709
+ type: "screenshot";
5710
+ tab: string;
5711
+ mediaType: "image/png";
5712
+ data: string;
5713
+ bytes: number;
5714
+ } | {
5715
+ type: "evaluate";
5716
+ tab: string;
5717
+ value: unknown;
5718
+ } | {
5719
+ type: "set_cookie";
5720
+ tab: string;
5721
+ name: string;
5722
+ domain: string;
5723
+ }>;
5724
+ };
4156
5725
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
4157
5726
  events: {
4158
5727
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -4160,23 +5729,206 @@ export declare function createBrowser(transport: Transport): {
4160
5729
  nextCursor: string | null;
4161
5730
  }>;
4162
5731
  };
4163
- handoff: {
4164
- complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
4165
- create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
5732
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
5733
+ handoff: {
5734
+ complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
5735
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
5736
+ };
5737
+ list: (options?: import("./core/transport.js").CallOptions<Types.BrowserListSessionsData> | undefined) => Promise<{
5738
+ data: Array<Types.BrowserSession>;
5739
+ nextCursor: string | null;
5740
+ }>;
5741
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
5742
+ retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5743
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
5744
+ stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
5745
+ update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
5746
+ viewer: {
5747
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserViewerHeartbeatData>) => Promise<{
5748
+ ok: true;
5749
+ }>;
5750
+ };
5751
+ };
5752
+ };
5753
+ export declare function createCanvas(transport: Transport): {
5754
+ canvases: {
5755
+ create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
5756
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
5757
+ execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
5758
+ images: {
5759
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
5760
+ };
5761
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
5762
+ nodes: {
5763
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
5764
+ };
5765
+ restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
5766
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
5767
+ update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
5768
+ versions: {
5769
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListVersionsData>) => Promise<Types.CanvasVersionPage>;
5770
+ };
5771
+ };
5772
+ collections: {
5773
+ create: (options: import("./core/transport.js").CallOptions<Types.CanvasCreateCollectionData>) => Promise<Types.CanvasCollection>;
5774
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCollectionData>) => Promise<Types.CanvasDeletedCollection>;
5775
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCollectionsData> | undefined) => Promise<Types.CanvasCollectionPage>;
5776
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
5777
+ update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
5778
+ };
5779
+ };
5780
+ export declare function createContent(transport: Transport): {
5781
+ contents: {
5782
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5783
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5784
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5785
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5786
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5787
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5788
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5789
+ };
5790
+ playbackSessions: {
5791
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5792
+ };
5793
+ versions: {
5794
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5795
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5796
+ };
5797
+ };
5798
+ export declare function createCrm(transport: Transport): {
5799
+ associations: {
5800
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
5801
+ createDefault: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateDefaultData>) => Promise<Types.CrmAssociationsBatchResponsePublicDefaultAssociation & Types.CrmWriteResult>;
5802
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsListData>) => Promise<Types.CrmAssociationsCollectionResponseMultiAssociatedObjectWithLabelForwardPaging>;
5803
+ remove: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsRemoveData>) => Promise<Types.CrmWriteResult>;
5804
+ };
5805
+ changes: {
5806
+ revert: (options: import("./core/transport.js").CallOptions<Types.CrmChangesRevertData>) => Promise<Types.CrmWriteResult>;
5807
+ };
5808
+ layouts: {
5809
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsRetrieveData>) => Promise<Types.CrmLayout>;
5810
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsUpdateData>) => Promise<Types.CrmLayout & Types.CrmWriteResult>;
5811
+ };
5812
+ leads: {
5813
+ qualify: (options: import("./core/transport.js").CallOptions<Types.CrmLeadsQualifyData>) => Promise<Types.CrmWriteResult>;
5814
+ };
5815
+ objects: {
5816
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsArchiveData>) => Promise<Types.CrmWriteResult>;
5817
+ batch: {
5818
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchArchiveData>) => Promise<Types.CrmWriteResult>;
5819
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchCreateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
5820
+ read: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchReadData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject>;
5821
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpdateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
5822
+ upsert: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpsertData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicUpsertObject & Types.CrmWriteResult>;
5823
+ };
5824
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsCreateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
5825
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsListData>) => Promise<Types.CrmObjectsCollectionResponseSimplePublicObjectWithAssociationsForwardPaging>;
5826
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsRetrieveData>) => Promise<Types.CrmObjectsSimplePublicObjectWithAssociations>;
5827
+ search: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsSearchData>) => Promise<Types.CrmObjectsCollectionResponseWithTotalSimplePublicObject>;
5828
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsUpdateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
5829
+ };
5830
+ pipelines: {
5831
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesArchiveData>) => Promise<Types.CrmWriteResult>;
5832
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesCreateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
5833
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesListData>) => Promise<Types.CrmPipelinesCollectionResponsePipelineNoPaging>;
5834
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesRetrieveData>) => Promise<Types.CrmPipelinesPipeline>;
5835
+ stages: {
5836
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesArchiveData>) => Promise<Types.CrmWriteResult>;
5837
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesCreateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
5838
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesUpdateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
5839
+ };
5840
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesUpdateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
5841
+ };
5842
+ properties: {
5843
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesArchiveData>) => Promise<Types.CrmWriteResult>;
5844
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesCreateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
5845
+ groups: {
5846
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsCreateData>) => Promise<Types.CrmPropertiesPropertyGroup & Types.CrmWriteResult>;
5847
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyGroupNoPaging>;
5848
+ };
5849
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyNoPaging>;
5850
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesRetrieveData>) => Promise<Types.CrmPropertiesProperty>;
5851
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesUpdateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
5852
+ };
5853
+ schemas: {
5854
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmSchemasCreateData>) => Promise<Types.CrmSchemasObjectSchema & Types.CrmWriteResult>;
5855
+ list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
5856
+ };
5857
+ };
5858
+ export declare function createCustomer(transport: Transport): {
5859
+ accessTokens: {
5860
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5861
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5862
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5863
+ };
5864
+ customers: {
5865
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5866
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5867
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5868
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5869
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5870
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5871
+ };
5872
+ grantCodes: {
5873
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5874
+ };
5875
+ publishableKeys: {
5876
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5877
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5878
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5879
+ };
5880
+ usage: {
5881
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5882
+ };
5883
+ };
5884
+ export declare function createCut(transport: Transport): {
5885
+ exports: {
5886
+ cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
5887
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
5888
+ };
5889
+ projects: {
5890
+ analysis: {
5891
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5892
+ kind: "cut-AnalysisResult";
5893
+ } & Types.CutAnalysisResult>;
5894
+ };
5895
+ bindings: {
5896
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
5897
+ delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
5898
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
5899
+ };
5900
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
5901
+ delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
5902
+ execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
5903
+ exports: {
5904
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
5905
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
4166
5906
  };
4167
- list: (options?: import("./core/transport.js").CallOptions<Types.BrowserListSessionsData> | undefined) => Promise<{
4168
- data: Array<Types.BrowserSession>;
4169
- nextCursor: string | null;
4170
- }>;
4171
- retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
4172
- retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
4173
- stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
4174
- update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
4175
- viewer: {
4176
- create: (options: import("./core/transport.js").CallOptions<Types.BrowserViewerHeartbeatData>) => Promise<{
4177
- ok: true;
4178
- }>;
5907
+ frames: {
5908
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
5909
+ };
5910
+ list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
5911
+ media: {
5912
+ import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
4179
5913
  };
5914
+ renders: {
5915
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5916
+ };
5917
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
5918
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
5919
+ retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
5920
+ undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
5921
+ update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
5922
+ versions: {
5923
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
5924
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
5925
+ };
5926
+ };
5927
+ renders: {
5928
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5929
+ };
5930
+ versions: {
5931
+ restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
4180
5932
  };
4181
5933
  };
4182
5934
  export declare function createDatabase(transport: Transport): {
@@ -4224,8 +5976,197 @@ export declare function createDatabase(transport: Transport): {
4224
5976
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4225
5977
  };
4226
5978
  };
5979
+ export declare function createDevops(transport: Transport): {
5980
+ changes: {
5981
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5982
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
5983
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5984
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
5985
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
5986
+ };
5987
+ connections: {
5988
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5989
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5990
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5991
+ repositories: {
5992
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5993
+ };
5994
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
5995
+ };
5996
+ environments: {
5997
+ checkpoints: {
5998
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
5999
+ };
6000
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6001
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6002
+ };
6003
+ flags: {
6004
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6005
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6006
+ environments: {
6007
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6008
+ };
6009
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6010
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6011
+ };
6012
+ progressiveRollouts: {
6013
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6014
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6015
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6016
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6017
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6018
+ };
6019
+ projects: {
6020
+ changes: {
6021
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6022
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6023
+ };
6024
+ environments: {
6025
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6026
+ targets: {
6027
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6028
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6029
+ state: {
6030
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6031
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6032
+ lock: {
6033
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6034
+ };
6035
+ };
6036
+ };
6037
+ };
6038
+ flags: {
6039
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6040
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6041
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6042
+ };
6043
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6044
+ promotions: {
6045
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6046
+ };
6047
+ pullRequests: {
6048
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6049
+ };
6050
+ releases: {
6051
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6052
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6053
+ };
6054
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6055
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6056
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6057
+ segments: {
6058
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6059
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6060
+ };
6061
+ targets: {
6062
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6063
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6064
+ };
6065
+ testCases: {
6066
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6067
+ };
6068
+ testPlans: {
6069
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6070
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6071
+ };
6072
+ testReports: {
6073
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6074
+ };
6075
+ testRuns: {
6076
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6077
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6078
+ };
6079
+ testSuites: {
6080
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6081
+ };
6082
+ units: {
6083
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6084
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6085
+ };
6086
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6087
+ workspaces: {
6088
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6089
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6090
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6091
+ };
6092
+ };
6093
+ promotions: {
6094
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6095
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6096
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6097
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6098
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6099
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6100
+ rollouts: {
6101
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6102
+ };
6103
+ };
6104
+ pullRequests: {
6105
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6106
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6107
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6108
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6109
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6110
+ };
6111
+ releases: {
6112
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6113
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6114
+ };
6115
+ rollouts: {
6116
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6117
+ };
6118
+ segments: {
6119
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6120
+ };
6121
+ testCases: {
6122
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6123
+ };
6124
+ testPlans: {
6125
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6126
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6127
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6128
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6129
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6130
+ };
6131
+ testRuns: {
6132
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6133
+ executions: {
6134
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6135
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6136
+ };
6137
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6138
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6139
+ };
6140
+ testSuites: {
6141
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6142
+ };
6143
+ units: {
6144
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6145
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6146
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6147
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6148
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6149
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6150
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6151
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6152
+ transitions: {
6153
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6154
+ };
6155
+ };
6156
+ };
4227
6157
  export declare function createFile(transport: Transport): {
4228
6158
  files: {
6159
+ contentLinks: {
6160
+ revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
6161
+ revoked: true;
6162
+ }>;
6163
+ };
6164
+ contentUrl: {
6165
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
6166
+ url: string;
6167
+ expires_at: string;
6168
+ }>;
6169
+ };
4229
6170
  create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
4230
6171
  delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
4231
6172
  list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
@@ -4236,9 +6177,11 @@ export declare function createFile(transport: Transport): {
4236
6177
  cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4237
6178
  complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4238
6179
  create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
6180
+ createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
4239
6181
  parts: {
4240
6182
  create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4241
6183
  };
6184
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4242
6185
  };
4243
6186
  };
4244
6187
  export declare function createKnowledge(transport: Transport): {
@@ -4286,11 +6229,33 @@ export declare function createKnowledge(transport: Transport): {
4286
6229
  };
4287
6230
  };
4288
6231
  export declare function createMedia(transport: Transport): {
6232
+ assets: {
6233
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6234
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6235
+ };
6236
+ generation: {
6237
+ capabilities: {
6238
+ list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
6239
+ };
6240
+ };
6241
+ images: {
6242
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6243
+ };
4289
6244
  libraries: {
4290
6245
  assets: {
6246
+ align: {
6247
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6248
+ };
4291
6249
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4292
6250
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4293
6251
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
6252
+ frames: {
6253
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
6254
+ };
6255
+ hls: {
6256
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6257
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6258
+ };
4294
6259
  import: {
4295
6260
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4296
6261
  };
@@ -4303,6 +6268,9 @@ export declare function createMedia(transport: Transport): {
4303
6268
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4304
6269
  };
4305
6270
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6271
+ versions: {
6272
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6273
+ };
4306
6274
  };
4307
6275
  batches: {
4308
6276
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4310,6 +6278,9 @@ export declare function createMedia(transport: Transport): {
4310
6278
  };
4311
6279
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
4312
6280
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
6281
+ deliveryTokens: {
6282
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
6283
+ };
4313
6284
  events: {
4314
6285
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
4315
6286
  };
@@ -4317,14 +6288,22 @@ export declare function createMedia(transport: Transport): {
4317
6288
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4318
6289
  };
4319
6290
  jobs: {
6291
+ cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
6292
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4320
6293
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4321
6294
  };
4322
6295
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6296
+ materials: {
6297
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6298
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6299
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6300
+ };
4323
6301
  purge: {
4324
6302
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4325
6303
  };
4326
6304
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4327
6305
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6306
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4328
6307
  search: {
4329
6308
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4330
6309
  expression: {
@@ -4337,10 +6316,41 @@ export declare function createMedia(transport: Transport): {
4337
6316
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4338
6317
  };
4339
6318
  };
6319
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
6320
+ understandings: {
6321
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
6322
+ retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
6323
+ };
4340
6324
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6325
+ voices: {
6326
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6327
+ designs: {
6328
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6329
+ };
6330
+ };
6331
+ };
6332
+ speech: {
6333
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6334
+ };
6335
+ videos: {
6336
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4341
6337
  };
4342
6338
  };
4343
6339
  export declare function createMeta(transport: Transport): {
6340
+ docs: {
6341
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
6342
+ path: string;
6343
+ title: string;
6344
+ url: string;
6345
+ markdown: string;
6346
+ }>;
6347
+ search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
6348
+ path: string;
6349
+ title: string;
6350
+ url: string;
6351
+ snippet: string;
6352
+ }[]>;
6353
+ };
4344
6354
  health: {
4345
6355
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
4346
6356
  };
@@ -4376,11 +6386,17 @@ export declare function createModel(transport: Transport): {
4376
6386
  start: number;
4377
6387
  end: number;
4378
6388
  text: string;
6389
+ speaker?: string;
4379
6390
  temperature?: number;
4380
6391
  avg_logprob?: number;
4381
6392
  compression_ratio?: number;
4382
6393
  no_speech_prob?: number;
4383
6394
  }>;
6395
+ words?: Array<{
6396
+ word: string;
6397
+ start: number;
6398
+ end: number;
6399
+ }>;
4384
6400
  }>;
4385
6401
  };
4386
6402
  };
@@ -4518,7 +6534,35 @@ export declare function createModel(transport: Transport): {
4518
6534
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4519
6535
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4520
6536
  };
6537
+ modelAccess: {
6538
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6539
+ items: Array<{
6540
+ model: string;
6541
+ access_required: boolean;
6542
+ granted: boolean;
6543
+ granted_by: string | null;
6544
+ granted_at: string | null;
6545
+ sell_input_price: number | null;
6546
+ sell_output_price: number | null;
6547
+ }>;
6548
+ }>;
6549
+ };
4521
6550
  models: {
6551
+ access: {
6552
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6553
+ model: string;
6554
+ revoked: true;
6555
+ }>;
6556
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6557
+ model: string;
6558
+ access_required: boolean;
6559
+ granted: true;
6560
+ granted_by: string;
6561
+ granted_at: string;
6562
+ sell_input_price: number | null;
6563
+ sell_output_price: number | null;
6564
+ }>;
6565
+ };
4522
6566
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4523
6567
  object: "list";
4524
6568
  data: Array<{
@@ -4533,6 +6577,7 @@ export declare function createModel(transport: Transport): {
4533
6577
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4534
6578
  supported_apis: Array<string>;
4535
6579
  tags: Array<string>;
6580
+ access_required: boolean;
4536
6581
  architecture: {
4537
6582
  modality: string;
4538
6583
  input_modalities: Array<string>;
@@ -4579,6 +6624,7 @@ export declare function createModel(transport: Transport): {
4579
6624
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4580
6625
  supported_apis: Array<string>;
4581
6626
  tags: Array<string>;
6627
+ access_required: boolean;
4582
6628
  architecture: {
4583
6629
  modality: string;
4584
6630
  input_modalities: Array<string>;
@@ -4750,6 +6796,39 @@ export declare function createModel(transport: Transport): {
4750
6796
  [key: string]: unknown;
4751
6797
  }>;
4752
6798
  };
6799
+ systemone: {
6800
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSystemoneData>) => Promise<{
6801
+ model: string;
6802
+ answers: {
6803
+ [key: string]: {
6804
+ type: "noul";
6805
+ noul: number;
6806
+ } | {
6807
+ type: "choice";
6808
+ choice: string;
6809
+ confidence: number;
6810
+ probabilities: {
6811
+ [key: string]: number;
6812
+ };
6813
+ } | {
6814
+ type: "score";
6815
+ score: number;
6816
+ confidence: number;
6817
+ legend: {
6818
+ [key: string]: unknown;
6819
+ };
6820
+ probabilities: {
6821
+ [key: string]: number;
6822
+ };
6823
+ };
6824
+ };
6825
+ usage: {
6826
+ input_tokens: number;
6827
+ output_tokens: number;
6828
+ cost: number;
6829
+ };
6830
+ }>;
6831
+ };
4753
6832
  videos: {
4754
6833
  create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
4755
6834
  id: string;
@@ -4772,6 +6851,7 @@ export declare function createModel(transport: Transport): {
4772
6851
  unsigned_urls: Array<string>;
4773
6852
  usage?: {
4774
6853
  cost: number;
6854
+ billed_seconds?: number;
4775
6855
  };
4776
6856
  }>;
4777
6857
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4802,6 +6882,7 @@ export declare function createModel(transport: Transport): {
4802
6882
  unsigned_urls: Array<string>;
4803
6883
  usage?: {
4804
6884
  cost: number;
6885
+ billed_seconds?: number;
4805
6886
  };
4806
6887
  }>;
4807
6888
  has_more: boolean;
@@ -4830,12 +6911,61 @@ export declare function createModel(transport: Transport): {
4830
6911
  unsigned_urls: Array<string>;
4831
6912
  usage?: {
4832
6913
  cost: number;
6914
+ billed_seconds?: number;
4833
6915
  };
4834
6916
  }>;
4835
6917
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
4836
6918
  };
4837
6919
  };
6920
+ export declare function createOntology(transport: Transport): {
6921
+ changesets: {
6922
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
6923
+ };
6924
+ nodes: {
6925
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
6926
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
6927
+ merge: {
6928
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
6929
+ };
6930
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6931
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
6932
+ update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
6933
+ };
6934
+ relations: {
6935
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
6936
+ invalidate: {
6937
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
6938
+ };
6939
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
6940
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
6941
+ };
6942
+ search: {
6943
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
6944
+ };
6945
+ types: {
6946
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
6947
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
6948
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
6949
+ };
6950
+ };
4838
6951
  export declare function createOrganization(transport: Transport): {
6952
+ actors: {
6953
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6954
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6955
+ };
6956
+ assignments: {
6957
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6958
+ makePrimary: {
6959
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6960
+ };
6961
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6962
+ terminate: {
6963
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6964
+ };
6965
+ transfer: {
6966
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6967
+ };
6968
+ };
4839
6969
  charges: {
4840
6970
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
4841
6971
  ChargePeriodStart: string;
@@ -4877,6 +7007,19 @@ export declare function createOrganization(transport: Transport): {
4877
7007
  next_page: string | null;
4878
7008
  }>;
4879
7009
  };
7010
+ departments: {
7011
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7012
+ dissolve: {
7013
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7014
+ };
7015
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7016
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7017
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7018
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7019
+ };
7020
+ effectiveSpec: {
7021
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7022
+ };
4880
7023
  events: {
4881
7024
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
4882
7025
  object: "page";
@@ -5079,6 +7222,106 @@ export declare function createOrganization(transport: Transport): {
5079
7222
  }>;
5080
7223
  }>;
5081
7224
  };
7225
+ jobs: {
7226
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7227
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7228
+ retire: {
7229
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7230
+ };
7231
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7232
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7233
+ };
7234
+ keyResults: {
7235
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7236
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7237
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7238
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7239
+ };
7240
+ ladders: {
7241
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7242
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7243
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7244
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7245
+ };
7246
+ members: {
7247
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
7248
+ data: Array<{
7249
+ id: string;
7250
+ name: string | null;
7251
+ email: string;
7252
+ role: "owner" | "admin" | "member";
7253
+ joined_at: string;
7254
+ }>;
7255
+ has_more: boolean;
7256
+ next_page: string | null;
7257
+ }>;
7258
+ };
7259
+ objectives: {
7260
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7261
+ grade: {
7262
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7263
+ };
7264
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7265
+ parents: {
7266
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7267
+ };
7268
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7269
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7270
+ };
7271
+ periods: {
7272
+ close: {
7273
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7274
+ };
7275
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7276
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7277
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7278
+ };
7279
+ positions: {
7280
+ close: {
7281
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7282
+ };
7283
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7284
+ designateHead: {
7285
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7286
+ };
7287
+ freeze: {
7288
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7289
+ };
7290
+ hire: {
7291
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7292
+ };
7293
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7294
+ replaceHolder: {
7295
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7296
+ };
7297
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7298
+ unfreeze: {
7299
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7300
+ };
7301
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7302
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7303
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7304
+ };
7305
+ reconcile: {
7306
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7307
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7308
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
7309
+ run: {
7310
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7311
+ };
7312
+ status: {
7313
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
7314
+ };
7315
+ };
7316
+ specs: {
7317
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
7318
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7319
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
7320
+ revisions: {
7321
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
7322
+ };
7323
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7324
+ };
5082
7325
  usage: {
5083
7326
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5084
7327
  object: "page";
@@ -5102,8 +7345,157 @@ export declare function createOrganization(transport: Transport): {
5102
7345
  }>;
5103
7346
  };
5104
7347
  };
7348
+ export declare function createRegistry(transport: Transport): {
7349
+ installations: {
7350
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7351
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7352
+ };
7353
+ packages: {
7354
+ git: {
7355
+ commits: {
7356
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7357
+ };
7358
+ files: {
7359
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7360
+ };
7361
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7362
+ trees: {
7363
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7364
+ };
7365
+ };
7366
+ gitCredential: {
7367
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7368
+ };
7369
+ installations: {
7370
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7371
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7372
+ };
7373
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7374
+ versions: {
7375
+ contents: {
7376
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7377
+ };
7378
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7379
+ files: {
7380
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7381
+ };
7382
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7383
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7384
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7385
+ };
7386
+ };
7387
+ repositories: {
7388
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7389
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7390
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7391
+ packages: {
7392
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7393
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7394
+ };
7395
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7396
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7397
+ };
7398
+ };
5105
7399
  export declare function createSandbox(transport: Transport): {
7400
+ byod: {
7401
+ devices: {
7402
+ disconnect: {
7403
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7404
+ id: string;
7405
+ object: "byod_device";
7406
+ disconnected: true;
7407
+ }>;
7408
+ };
7409
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7410
+ data: Array<{
7411
+ object: "byod_device";
7412
+ id: string;
7413
+ platform: "android" | "macos" | "linux";
7414
+ name: string;
7415
+ model: string;
7416
+ os_version: string;
7417
+ online: boolean;
7418
+ last_seen_at: string | null;
7419
+ created_at: string;
7420
+ capabilities: Array<"display" | "agent">;
7421
+ agent_dirs: Array<string>;
7422
+ allow_bypass: boolean;
7423
+ }>;
7424
+ }>;
7425
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7426
+ object: "byod_device";
7427
+ id: string;
7428
+ platform: "android" | "macos" | "linux";
7429
+ name: string;
7430
+ model: string;
7431
+ os_version: string;
7432
+ online: boolean;
7433
+ last_seen_at: string | null;
7434
+ created_at: string;
7435
+ capabilities: Array<"display" | "agent">;
7436
+ agent_dirs: Array<string>;
7437
+ allow_bypass: boolean;
7438
+ }>;
7439
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7440
+ object: "byod_device";
7441
+ id: string;
7442
+ platform: "android" | "macos" | "linux";
7443
+ name: string;
7444
+ model: string;
7445
+ os_version: string;
7446
+ online: boolean;
7447
+ last_seen_at: string | null;
7448
+ created_at: string;
7449
+ capabilities: Array<"display" | "agent">;
7450
+ agent_dirs: Array<string>;
7451
+ allow_bypass: boolean;
7452
+ }>;
7453
+ };
7454
+ pairings: {
7455
+ claim: {
7456
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7457
+ device_id: string;
7458
+ credential: string;
7459
+ socket_url: string;
7460
+ }>;
7461
+ };
7462
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7463
+ code: string;
7464
+ expires_at: string;
7465
+ qr: string;
7466
+ }>;
7467
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7468
+ organization_name: string;
7469
+ expires_at: string;
7470
+ }>;
7471
+ };
7472
+ };
7473
+ events: {
7474
+ sandboxes: {
7475
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7476
+ };
7477
+ };
5106
7478
  sandboxes: {
7479
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7480
+ type: "snapshot";
7481
+ snapshot: string;
7482
+ refs: number;
7483
+ truncated: boolean;
7484
+ package: string;
7485
+ } | {
7486
+ type: "screenshot";
7487
+ mediaType: string;
7488
+ data: string;
7489
+ width: number;
7490
+ height: number;
7491
+ bytes: number;
7492
+ } | {
7493
+ type: "ok";
7494
+ ms?: number;
7495
+ } | {
7496
+ type: "wait";
7497
+ ms: number;
7498
+ }>;
5107
7499
  commands: {
5108
7500
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5109
7501
  stdout: string;
@@ -5181,6 +7573,20 @@ export declare function createSandbox(transport: Transport): {
5181
7573
  snapshots: {
5182
7574
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5183
7575
  };
7576
+ tasks: {
7577
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7578
+ taskId: string;
7579
+ instanceId: string;
7580
+ startedAt: number;
7581
+ }>;
7582
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7583
+ text: string;
7584
+ nextOffset: number;
7585
+ done: boolean;
7586
+ exitCode: number | null;
7587
+ size: number | null;
7588
+ }>;
7589
+ };
5184
7590
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5185
7591
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5186
7592
  name: string;
@@ -5195,7 +7601,43 @@ export declare function createSandbox(transport: Transport): {
5195
7601
  list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
5196
7602
  };
5197
7603
  templates: {
5198
- list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1TemplatesData> | undefined) => Promise<Types.SandboxTemplate[]>;
7604
+ aliases: {
7605
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
7606
+ };
7607
+ builds: {
7608
+ status: {
7609
+ list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
7610
+ };
7611
+ update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
7612
+ };
7613
+ create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
7614
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
7615
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
7616
+ templateID: string;
7617
+ buildID: string;
7618
+ cpuCount: Types.SandboxCpuCount;
7619
+ memoryMB: Types.SandboxMemoryMb;
7620
+ diskSizeMB: Types.SandboxDiskSizeMb;
7621
+ public: boolean;
7622
+ aliases: Array<string>;
7623
+ names: Array<string>;
7624
+ createdAt: string;
7625
+ updatedAt: string;
7626
+ createdBy: Types.SandboxTeamUser;
7627
+ lastSpawnedAt: string;
7628
+ spawnCount: number;
7629
+ buildCount: number;
7630
+ envdVersion: Types.SandboxEnvdVersion;
7631
+ buildStatus: Types.SandboxTemplateBuildStatus;
7632
+ official: boolean;
7633
+ sourceKind?: "dockerfile" | "image" | "snapshot";
7634
+ }[]>;
7635
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
7636
+ tags: {
7637
+ create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
7638
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
7639
+ list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
7640
+ };
5199
7641
  };
5200
7642
  volumes: {
5201
7643
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
@@ -5283,6 +7725,131 @@ export declare function createSearch(transport: Transport): {
5283
7725
  }>;
5284
7726
  };
5285
7727
  };
7728
+ export declare function createShare(transport: Transport): {
7729
+ permissions: {
7730
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7731
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7732
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7733
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7734
+ };
7735
+ };
7736
+ export declare function createStudio(transport: Transport): {
7737
+ codexes: {
7738
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7739
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7740
+ entries: {
7741
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7742
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7743
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7744
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7745
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7746
+ };
7747
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7748
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7749
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7750
+ };
7751
+ genres: {
7752
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7753
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7754
+ };
7755
+ platforms: {
7756
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7757
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7758
+ };
7759
+ styles: {
7760
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7761
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7762
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7763
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7764
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7765
+ };
7766
+ templates: {
7767
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7768
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7769
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7770
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7771
+ };
7772
+ themes: {
7773
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7774
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7775
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7776
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7777
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7778
+ };
7779
+ works: {
7780
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7781
+ drafts: {
7782
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7783
+ foreshadows: {
7784
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7785
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7786
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7787
+ };
7788
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7789
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7790
+ renditions: {
7791
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7792
+ };
7793
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7794
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7795
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7796
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7797
+ status: {
7798
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7799
+ };
7800
+ units: {
7801
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7802
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7803
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7804
+ };
7805
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7806
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7807
+ };
7808
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7809
+ progressions: {
7810
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7811
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7812
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7813
+ };
7814
+ renditions: {
7815
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7816
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7817
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7818
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7819
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7820
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7821
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7822
+ };
7823
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7824
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7825
+ reviewSettings: {
7826
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7827
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7828
+ };
7829
+ reviewers: {
7830
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7831
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7832
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7833
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7834
+ };
7835
+ reviews: {
7836
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7837
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7838
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7839
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7840
+ };
7841
+ units: {
7842
+ blocks: {
7843
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7844
+ };
7845
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7846
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7847
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7848
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7849
+ };
7850
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7851
+ };
7852
+ };
5286
7853
  export declare function createTicket(transport: Transport): {
5287
7854
  activity: {
5288
7855
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5327,6 +7894,7 @@ export declare function createTicket(transport: Transport): {
5327
7894
  repositories: Array<Types.TicketRepository>;
5328
7895
  next_page_token: string;
5329
7896
  }>;
7897
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5330
7898
  };
5331
7899
  tickets: {
5332
7900
  comments: {
@@ -5456,16 +8024,27 @@ export declare const resourceFactories: {
5456
8024
  agent: typeof createAgent;
5457
8025
  application: typeof createApplication;
5458
8026
  automation: typeof createAutomation;
8027
+ billing: typeof createBilling;
5459
8028
  browser: typeof createBrowser;
8029
+ canvas: typeof createCanvas;
8030
+ content: typeof createContent;
8031
+ crm: typeof createCrm;
8032
+ customer: typeof createCustomer;
8033
+ cut: typeof createCut;
5460
8034
  database: typeof createDatabase;
8035
+ devops: typeof createDevops;
5461
8036
  file: typeof createFile;
5462
8037
  knowledge: typeof createKnowledge;
5463
8038
  media: typeof createMedia;
5464
8039
  meta: typeof createMeta;
5465
8040
  model: typeof createModel;
8041
+ ontology: typeof createOntology;
5466
8042
  organization: typeof createOrganization;
8043
+ registry: typeof createRegistry;
5467
8044
  sandbox: typeof createSandbox;
5468
8045
  search: typeof createSearch;
8046
+ share: typeof createShare;
8047
+ studio: typeof createStudio;
5469
8048
  ticket: typeof createTicket;
5470
8049
  vault: typeof createVault;
5471
8050
  };