@deepraxis/sdk 0.1.1-dev.f8aa5de → 0.1.1-dev.fa8e340

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 (40) hide show
  1. package/METHODS.md +1576 -185
  2. package/README.md +5 -5
  3. package/dist/automation.d.ts +54 -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 +7 -1
  7. package/dist/core/client.js +3 -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 +3123 -336
  19. package/dist/generated/sdk.gen.js +10047 -2047
  20. package/dist/generated/types.gen.d.ts +95278 -46640
  21. package/dist/helpers/application-publish.js +16 -2
  22. package/dist/helpers/browser-actions.d.ts +102 -0
  23. package/dist/helpers/browser-actions.js +146 -0
  24. package/dist/helpers/browser-connect-error.d.ts +28 -0
  25. package/dist/helpers/browser-connect-error.js +74 -0
  26. package/dist/helpers/browser-connect.d.ts +35 -2
  27. package/dist/helpers/browser-connect.js +262 -27
  28. package/dist/helpers/browser-decisions.d.ts +57 -0
  29. package/dist/helpers/browser-decisions.js +64 -0
  30. package/dist/helpers/browser-documentation.d.ts +1 -1
  31. package/dist/helpers/browser-documentation.js +24 -13
  32. package/dist/helpers/sandbox-templates.d.ts +121 -0
  33. package/dist/helpers/sandbox-templates.js +60 -0
  34. package/dist/index.d.ts +2 -0
  35. package/dist/index.js +1 -0
  36. package/dist/operations.generated.d.ts +36 -13481
  37. package/dist/operations.generated.js +21293 -5208
  38. package/dist/resources.generated.d.ts +3074 -215
  39. package/dist/resources.generated.js +860 -13
  40. 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,18 +42,18 @@ export declare function createAgent(transport: Transport): {
41
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
43
  id: string;
43
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
44
46
  instructions?: string;
45
47
  readonly verified?: boolean;
46
48
  enabled?: boolean;
47
49
  } | {
48
- type: "search" | "browser";
50
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
51
  readonly verified?: boolean;
50
52
  enabled?: boolean;
51
53
  }>;
52
- kind: "personal" | "service";
54
+ kind: "general" | "service" | "assume";
53
55
  computer_id?: string;
54
56
  subagent_model?: string | null;
55
- image_model?: string | null;
56
57
  subagents?: Array<{
57
58
  name: string;
58
59
  description: string;
@@ -143,6 +144,7 @@ export declare function createAgent(transport: Transport): {
143
144
  allowManagedHooksOnly?: boolean;
144
145
  allowManagedMcpServersOnly?: boolean;
145
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
146
148
  autoMemoryEnabled?: boolean;
147
149
  disabled?: {
148
150
  subagents?: Array<string>;
@@ -151,17 +153,41 @@ export declare function createAgent(transport: Transport): {
151
153
  mcpServers?: Array<string>;
152
154
  hooks?: Array<string>;
153
155
  };
156
+ outputStyle?: string;
154
157
  } | null;
155
158
  models?: {
156
159
  allowed: Array<string>;
157
160
  };
158
161
  avatar: string | null;
159
162
  creation_source: string | null;
163
+ managed_by: string | null;
160
164
  identity_number: string | null;
161
165
  environment_id?: string | null;
162
166
  vault_ids?: Array<string>;
163
167
  status: "active" | "archived";
168
+ output_styles?: Array<{
169
+ name: string;
170
+ description?: string;
171
+ prompt: string;
172
+ keep_coding_instructions?: boolean;
173
+ }> | null;
164
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
+ };
165
191
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
166
192
  id: string;
167
193
  archived_at: null | string;
@@ -169,16 +195,17 @@ export declare function createAgent(transport: Transport): {
169
195
  description: null | string;
170
196
  mcp_servers: Array<Types.AgentManaged36>;
171
197
  metadata: Types.AgentManaged37;
172
- model: {
198
+ model?: {
173
199
  id: string;
174
200
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
175
201
  inference_geo?: string;
176
202
  speed?: "standard" | "fast";
177
203
  settings?: {
178
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
179
206
  };
180
207
  };
181
- multiagent: null | Types.AgentManaged39;
208
+ multiagent?: null | Types.AgentManaged39;
182
209
  name: string;
183
210
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
184
211
  system: null | string;
@@ -200,18 +227,25 @@ export declare function createAgent(transport: Transport): {
200
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
201
228
  id: string;
202
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
203
231
  instructions?: string;
204
232
  readonly verified?: boolean;
205
233
  enabled?: boolean;
206
234
  } | {
207
- type: "search" | "browser";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
208
236
  readonly verified?: boolean;
209
237
  enabled?: boolean;
210
238
  }>;
211
- kind: "personal" | "service";
239
+ kind: "general" | "service" | "assume";
240
+ computers?: {
241
+ default: string;
242
+ allowed: Array<{
243
+ template: string;
244
+ name: string;
245
+ }>;
246
+ };
212
247
  computer_id?: string;
213
248
  subagent_model?: string | null;
214
- image_model?: string | null;
215
249
  subagents?: Array<{
216
250
  name: string;
217
251
  description: string;
@@ -302,6 +336,7 @@ export declare function createAgent(transport: Transport): {
302
336
  allowManagedHooksOnly?: boolean;
303
337
  allowManagedMcpServersOnly?: boolean;
304
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
305
340
  autoMemoryEnabled?: boolean;
306
341
  disabled?: {
307
342
  subagents?: Array<string>;
@@ -310,54 +345,26 @@ export declare function createAgent(transport: Transport): {
310
345
  mcpServers?: Array<string>;
311
346
  hooks?: Array<string>;
312
347
  };
348
+ outputStyle?: string;
313
349
  } | null;
314
350
  models?: {
315
351
  allowed: Array<string>;
316
352
  };
317
353
  avatar: string | null;
318
354
  creation_source: string | null;
355
+ managed_by: string | null;
319
356
  identity_number: string | null;
320
357
  environment_id?: string | null;
321
358
  vault_ids?: Array<string>;
322
359
  status: "active" | "archived";
360
+ output_styles?: Array<{
361
+ name: string;
362
+ description?: string;
363
+ prompt: string;
364
+ keep_coding_instructions?: boolean;
365
+ }> | null;
323
366
  }>;
324
367
  customers: {
325
- auth: {
326
- accessTokens: {
327
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
328
- type: "customer_access_token";
329
- access_token: string;
330
- expires_at: string;
331
- session_expires_at: string;
332
- customer: {
333
- id: string;
334
- type: "identified" | "anonymous";
335
- };
336
- }>;
337
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
338
- renew: {
339
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
340
- type: "customer_access_token";
341
- access_token: string;
342
- expires_at: string;
343
- session_expires_at: string;
344
- customer: {
345
- id: string;
346
- type: "identified" | "anonymous";
347
- };
348
- }>;
349
- };
350
- };
351
- grantCodes: {
352
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
353
- type: "customer_grant_code";
354
- code: string;
355
- customer_id: string;
356
- expires_at: string;
357
- hosted_url?: string;
358
- }>;
359
- };
360
- };
361
368
  block: {
362
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
363
370
  id: string;
@@ -449,6 +456,275 @@ export declare function createAgent(transport: Transport): {
449
456
  }>;
450
457
  };
451
458
  };
459
+ events: {
460
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
461
+ data: Array<{
462
+ id: string;
463
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
464
+ type: "user.message";
465
+ processed_at?: null | string;
466
+ praxis_context?: {
467
+ items: Array<{
468
+ name: string;
469
+ value: string;
470
+ }>;
471
+ };
472
+ message_id?: string;
473
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
474
+ id: string;
475
+ content: Array<{
476
+ text: string;
477
+ type: "text";
478
+ citations?: Array<{
479
+ type: "search_result_location";
480
+ source: string;
481
+ title: string;
482
+ cited_text: string;
483
+ search_result_index: number;
484
+ start_block_index: number;
485
+ end_block_index: number;
486
+ }>;
487
+ } | Types.AgentManaged70>;
488
+ processed_at: string;
489
+ type: "agent.message";
490
+ run_id: string | null;
491
+ message_id?: string;
492
+ } | {
493
+ id: string;
494
+ processed_at: string;
495
+ type: "agent.thinking";
496
+ run_id: string | null;
497
+ message_id?: string;
498
+ } | {
499
+ id: string;
500
+ input: Types.AgentManaged197;
501
+ mcp_server_name: string;
502
+ name: string;
503
+ processed_at: string;
504
+ type: "agent.mcp_tool_use";
505
+ evaluated_permission?: "allow" | "deny" | "ask";
506
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
507
+ session_thread_id?: null | string;
508
+ permission_suggestions?: Array<{
509
+ type: "add_rules";
510
+ behavior: "allow";
511
+ destination: "agent" | "session";
512
+ rules: Array<{
513
+ tool_name: string;
514
+ rule_content: string;
515
+ }>;
516
+ }>;
517
+ full_access_available?: boolean;
518
+ user_once?: true;
519
+ guarded_rule?: string;
520
+ run_id: string | null;
521
+ _meta?: {
522
+ ui?: {
523
+ resourceUri?: string;
524
+ visibility?: Array<string>;
525
+ [key: string]: unknown;
526
+ };
527
+ "openai/ui"?: {
528
+ [key: string]: unknown;
529
+ };
530
+ };
531
+ source?: "app" | "codemode";
532
+ parent_tool_use_id?: string;
533
+ title?: string;
534
+ input_titles?: {
535
+ [key: string]: string;
536
+ };
537
+ } | {
538
+ id: string;
539
+ mcp_tool_use_id: string;
540
+ processed_at: string;
541
+ type: "agent.mcp_tool_result";
542
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
543
+ is_error?: null | false | true;
544
+ run_id: string | null;
545
+ structured_content?: unknown;
546
+ _meta?: {
547
+ [key: string]: unknown;
548
+ };
549
+ source?: "app" | "codemode";
550
+ } | {
551
+ id: string;
552
+ input: Types.AgentManaged206;
553
+ name: string;
554
+ processed_at: string;
555
+ type: "agent.tool_use";
556
+ evaluated_permission?: "allow" | "deny" | "ask";
557
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
558
+ session_thread_id?: null | string;
559
+ permission_suggestions?: Array<{
560
+ type: "add_rules";
561
+ behavior: "allow";
562
+ destination: "agent" | "session";
563
+ rules: Array<{
564
+ tool_name: string;
565
+ rule_content: string;
566
+ }>;
567
+ }>;
568
+ full_access_available?: boolean;
569
+ user_once?: true;
570
+ guarded_rule?: string;
571
+ run_id: string | null;
572
+ } | {
573
+ id: string;
574
+ processed_at: string;
575
+ tool_use_id: string;
576
+ type: "agent.tool_result";
577
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
578
+ is_error?: null | false | true;
579
+ run_id: string | null;
580
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
581
+ id: string;
582
+ processed_at: string;
583
+ type: "session.status_running";
584
+ run_id: string | null;
585
+ } | {
586
+ id: string;
587
+ processed_at: string;
588
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
589
+ type: "session.status_idle";
590
+ run_id: string | null;
591
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
592
+ id: string;
593
+ processed_at: string;
594
+ type: "session.updated";
595
+ agent?: null | Types.AgentManaged170;
596
+ budget?: null | Types.AgentManaged76;
597
+ metadata?: Types.AgentManaged246;
598
+ title?: null | string;
599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
600
+ previous_permission_mode?: string | null;
601
+ permission_mode_version?: number;
602
+ model?: {
603
+ id: string;
604
+ };
605
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
606
+ id: string;
607
+ type: "session.forked";
608
+ processed_at: string;
609
+ forked_from_session_id: string;
610
+ forked_from_message_id: string;
611
+ } | {
612
+ id: string;
613
+ type: "session.goal_changed";
614
+ processed_at: string;
615
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
616
+ source: "command" | "runtime";
617
+ goal: {
618
+ goal_id: string;
619
+ objective: string;
620
+ summary_title: string | null;
621
+ status: "active" | "paused" | "budget_limited" | "complete";
622
+ token_budget: number | null;
623
+ tokens_used: number;
624
+ time_used_seconds: number;
625
+ iteration: number;
626
+ created_at: number;
627
+ updated_at: number;
628
+ } | null;
629
+ previous_goal: {
630
+ goal_id: string;
631
+ objective: string;
632
+ summary_title: string | null;
633
+ status: "active" | "paused" | "budget_limited" | "complete";
634
+ token_budget: number | null;
635
+ tokens_used: number;
636
+ time_used_seconds: number;
637
+ iteration: number;
638
+ created_at: number;
639
+ updated_at: number;
640
+ } | null;
641
+ } | {
642
+ id: string;
643
+ type: "session.goal_verification";
644
+ processed_at: string;
645
+ status: "started" | "completed" | "failed_closed" | "cancelled";
646
+ goal_id: string;
647
+ goal_iteration: number;
648
+ verification_id: string;
649
+ anchor_message_id: string | null;
650
+ verification?: {
651
+ passed: boolean;
652
+ reason: string;
653
+ next_action?: string;
654
+ };
655
+ } | {
656
+ id: string;
657
+ type: "user.steer";
658
+ event_id: string;
659
+ processed_at: string;
660
+ } | {
661
+ id: string;
662
+ type: "user.tool_confirmation";
663
+ processed_at: string;
664
+ tool_use_id: string;
665
+ result: "allow";
666
+ answers: {
667
+ [key: string]: string;
668
+ };
669
+ annotations?: {
670
+ [key: string]: {
671
+ preview?: string;
672
+ notes?: string;
673
+ };
674
+ };
675
+ }>;
676
+ next_page: string | null;
677
+ }>;
678
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
679
+ data?: Array<{
680
+ id: string;
681
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
682
+ type: "user.message";
683
+ processed_at?: null | string;
684
+ praxis_context?: {
685
+ items: Array<{
686
+ name: string;
687
+ value: string;
688
+ }>;
689
+ };
690
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
691
+ id: string;
692
+ type: "user.steer";
693
+ event_id: string;
694
+ processed_at: string;
695
+ } | {
696
+ id: string;
697
+ type: "user.tool_confirmation";
698
+ processed_at: string;
699
+ tool_use_id: string;
700
+ result: "allow";
701
+ answers: {
702
+ [key: string]: string;
703
+ };
704
+ annotations?: {
705
+ [key: string]: {
706
+ preview?: string;
707
+ notes?: string;
708
+ };
709
+ };
710
+ }>;
711
+ }>;
712
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
713
+ };
714
+ inbox: {
715
+ letters: {
716
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
717
+ unread: number;
718
+ letters: Array<{
719
+ id: string;
720
+ sender: string;
721
+ summary: string;
722
+ thread: string | null;
723
+ create_time: string;
724
+ }>;
725
+ }>;
726
+ };
727
+ };
452
728
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
453
729
  data: Array<{
454
730
  id: string;
@@ -457,16 +733,17 @@ export declare function createAgent(transport: Transport): {
457
733
  description: null | string;
458
734
  mcp_servers: Array<Types.AgentManaged36>;
459
735
  metadata: Types.AgentManaged37;
460
- model: {
736
+ model?: {
461
737
  id: string;
462
738
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
463
739
  inference_geo?: string;
464
740
  speed?: "standard" | "fast";
465
741
  settings?: {
466
742
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
743
+ max_output_tokens?: number;
467
744
  };
468
745
  };
469
- multiagent: null | Types.AgentManaged39;
746
+ multiagent?: null | Types.AgentManaged39;
470
747
  name: string;
471
748
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
472
749
  system: null | string;
@@ -488,18 +765,25 @@ export declare function createAgent(transport: Transport): {
488
765
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
489
766
  id: string;
490
767
  access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
491
769
  instructions?: string;
492
770
  readonly verified?: boolean;
493
771
  enabled?: boolean;
494
772
  } | {
495
- type: "search" | "browser";
773
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
496
774
  readonly verified?: boolean;
497
775
  enabled?: boolean;
498
776
  }>;
499
- kind: "personal" | "service";
777
+ kind: "general" | "service" | "assume";
778
+ computers?: {
779
+ default: string;
780
+ allowed: Array<{
781
+ template: string;
782
+ name: string;
783
+ }>;
784
+ };
500
785
  computer_id?: string;
501
786
  subagent_model?: string | null;
502
- image_model?: string | null;
503
787
  subagents?: Array<{
504
788
  name: string;
505
789
  description: string;
@@ -590,6 +874,7 @@ export declare function createAgent(transport: Transport): {
590
874
  allowManagedHooksOnly?: boolean;
591
875
  allowManagedMcpServersOnly?: boolean;
592
876
  allowManagedPermissionRulesOnly?: boolean;
877
+ idleCompaction?: boolean;
593
878
  autoMemoryEnabled?: boolean;
594
879
  disabled?: {
595
880
  subagents?: Array<string>;
@@ -598,19 +883,53 @@ export declare function createAgent(transport: Transport): {
598
883
  mcpServers?: Array<string>;
599
884
  hooks?: Array<string>;
600
885
  };
886
+ outputStyle?: string;
601
887
  } | null;
602
888
  models?: {
603
889
  allowed: Array<string>;
604
890
  };
605
891
  avatar: string | null;
606
892
  creation_source: string | null;
893
+ managed_by: string | null;
607
894
  identity_number: string | null;
608
895
  environment_id?: string | null;
609
896
  vault_ids?: Array<string>;
610
897
  status: "active" | "archived";
898
+ output_styles?: Array<{
899
+ name: string;
900
+ description?: string;
901
+ prompt: string;
902
+ keep_coding_instructions?: boolean;
903
+ }> | null;
611
904
  }>;
612
905
  next_page: string | null;
613
906
  }>;
907
+ phone: {
908
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
909
+ object: "agent_phone";
910
+ agent_id: string;
911
+ configured: boolean;
912
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
913
+ sku: string | null;
914
+ name: string | null;
915
+ sandbox_id: string | null;
916
+ lease_ends_at: string | null;
917
+ archived_at: string | null;
918
+ archive_error: string | null;
919
+ }>;
920
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
921
+ object: "agent_phone";
922
+ agent_id: string;
923
+ configured: boolean;
924
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
925
+ sku: string | null;
926
+ name: string | null;
927
+ sandbox_id: string | null;
928
+ lease_ends_at: string | null;
929
+ archived_at: string | null;
930
+ archive_error: string | null;
931
+ }>;
932
+ };
614
933
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
615
934
  id: string;
616
935
  archived_at: null | string;
@@ -618,16 +937,17 @@ export declare function createAgent(transport: Transport): {
618
937
  description: null | string;
619
938
  mcp_servers: Array<Types.AgentManaged36>;
620
939
  metadata: Types.AgentManaged37;
621
- model: {
940
+ model?: {
622
941
  id: string;
623
942
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
624
943
  inference_geo?: string;
625
944
  speed?: "standard" | "fast";
626
945
  settings?: {
627
946
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
947
+ max_output_tokens?: number;
628
948
  };
629
949
  };
630
- multiagent: null | Types.AgentManaged39;
950
+ multiagent?: null | Types.AgentManaged39;
631
951
  name: string;
632
952
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
633
953
  system: null | string;
@@ -650,18 +970,25 @@ export declare function createAgent(transport: Transport): {
650
970
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
651
971
  id: string;
652
972
  access: "read_only" | "read_write" | "invoke";
973
+ customer_access?: "read_only" | "read_write" | "invoke";
653
974
  instructions?: string;
654
975
  readonly verified?: boolean;
655
976
  enabled?: boolean;
656
977
  } | {
657
- type: "search" | "browser";
978
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
658
979
  readonly verified?: boolean;
659
980
  enabled?: boolean;
660
981
  }>;
661
- kind: "personal" | "service";
982
+ kind: "general" | "service" | "assume";
983
+ computers?: {
984
+ default: string;
985
+ allowed: Array<{
986
+ template: string;
987
+ name: string;
988
+ }>;
989
+ };
662
990
  computer_id?: string;
663
991
  subagent_model?: string | null;
664
- image_model?: string | null;
665
992
  subagents?: Array<{
666
993
  name: string;
667
994
  description: string;
@@ -752,6 +1079,7 @@ export declare function createAgent(transport: Transport): {
752
1079
  allowManagedHooksOnly?: boolean;
753
1080
  allowManagedMcpServersOnly?: boolean;
754
1081
  allowManagedPermissionRulesOnly?: boolean;
1082
+ idleCompaction?: boolean;
755
1083
  autoMemoryEnabled?: boolean;
756
1084
  disabled?: {
757
1085
  subagents?: Array<string>;
@@ -760,16 +1088,24 @@ export declare function createAgent(transport: Transport): {
760
1088
  mcpServers?: Array<string>;
761
1089
  hooks?: Array<string>;
762
1090
  };
1091
+ outputStyle?: string;
763
1092
  } | null;
764
1093
  models?: {
765
1094
  allowed: Array<string>;
766
1095
  };
767
1096
  avatar: string | null;
768
1097
  creation_source: string | null;
1098
+ managed_by: string | null;
769
1099
  identity_number: string | null;
770
1100
  environment_id?: string | null;
771
1101
  vault_ids?: Array<string>;
772
1102
  status: "active" | "archived";
1103
+ output_styles?: Array<{
1104
+ name: string;
1105
+ description?: string;
1106
+ prompt: string;
1107
+ keep_coding_instructions?: boolean;
1108
+ }> | null;
773
1109
  }>;
774
1110
  retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
775
1111
  agent?: {
@@ -828,6 +1164,25 @@ export declare function createAgent(transport: Transport): {
828
1164
  history?: {
829
1165
  enabled?: boolean;
830
1166
  };
1167
+ uploads?: {
1168
+ enabled: boolean;
1169
+ max_file_bytes: number;
1170
+ max_files_per_session: number;
1171
+ };
1172
+ }>;
1173
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1174
+ allowed_origins: Array<string>;
1175
+ allow_localhost: boolean;
1176
+ uploads: {
1177
+ enabled: boolean;
1178
+ max_file_bytes: number;
1179
+ max_files_per_session: number;
1180
+ };
1181
+ share_links: {
1182
+ enabled: boolean;
1183
+ daily_session_cap: number | null;
1184
+ daily_spend_cap_micro_usd: number | null;
1185
+ };
831
1186
  }>;
832
1187
  unarchive: {
833
1188
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -864,7 +1219,7 @@ export declare function createAgent(transport: Transport): {
864
1219
  metadata: {
865
1220
  [key: string]: string;
866
1221
  };
867
- model: {
1222
+ model?: {
868
1223
  id: string;
869
1224
  effort?: {
870
1225
  type: "low";
@@ -881,9 +1236,10 @@ export declare function createAgent(transport: Transport): {
881
1236
  speed?: "standard" | "fast";
882
1237
  settings?: {
883
1238
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1239
+ max_output_tokens?: number;
884
1240
  };
885
1241
  };
886
- multiagent: null | {
1242
+ multiagent?: null | {
887
1243
  agents: Array<{
888
1244
  id: string;
889
1245
  type: "agent";
@@ -1071,18 +1427,25 @@ export declare function createAgent(transport: Transport): {
1071
1427
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1072
1428
  id: string;
1073
1429
  access: "read_only" | "read_write" | "invoke";
1430
+ customer_access?: "read_only" | "read_write" | "invoke";
1074
1431
  instructions?: string;
1075
1432
  readonly verified?: boolean;
1076
1433
  enabled?: boolean;
1077
1434
  } | {
1078
- type: "search" | "browser";
1435
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1079
1436
  readonly verified?: boolean;
1080
1437
  enabled?: boolean;
1081
1438
  }>;
1082
- kind: "personal" | "service";
1439
+ kind: "general" | "service" | "assume";
1440
+ computers?: {
1441
+ default: string;
1442
+ allowed: Array<{
1443
+ template: string;
1444
+ name: string;
1445
+ }>;
1446
+ };
1083
1447
  computer_id?: string;
1084
1448
  subagent_model?: string | null;
1085
- image_model?: string | null;
1086
1449
  subagents?: Array<{
1087
1450
  name: string;
1088
1451
  description: string;
@@ -1173,6 +1536,7 @@ export declare function createAgent(transport: Transport): {
1173
1536
  allowManagedHooksOnly?: boolean;
1174
1537
  allowManagedMcpServersOnly?: boolean;
1175
1538
  allowManagedPermissionRulesOnly?: boolean;
1539
+ idleCompaction?: boolean;
1176
1540
  autoMemoryEnabled?: boolean;
1177
1541
  disabled?: {
1178
1542
  subagents?: Array<string>;
@@ -1181,16 +1545,24 @@ export declare function createAgent(transport: Transport): {
1181
1545
  mcpServers?: Array<string>;
1182
1546
  hooks?: Array<string>;
1183
1547
  };
1548
+ outputStyle?: string;
1184
1549
  } | null;
1185
1550
  models?: {
1186
1551
  allowed: Array<string>;
1187
1552
  };
1188
1553
  avatar: string | null;
1189
1554
  creation_source: string | null;
1555
+ managed_by: string | null;
1190
1556
  identity_number: string | null;
1191
1557
  environment_id?: string | null;
1192
1558
  vault_ids?: Array<string>;
1193
1559
  status: "active" | "archived";
1560
+ output_styles?: Array<{
1561
+ name: string;
1562
+ description?: string;
1563
+ prompt: string;
1564
+ keep_coding_instructions?: boolean;
1565
+ }> | null;
1194
1566
  }>;
1195
1567
  };
1196
1568
  update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
@@ -1200,16 +1572,17 @@ export declare function createAgent(transport: Transport): {
1200
1572
  description: null | string;
1201
1573
  mcp_servers: Array<Types.AgentManaged36>;
1202
1574
  metadata: Types.AgentManaged37;
1203
- model: {
1575
+ model?: {
1204
1576
  id: string;
1205
1577
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1206
1578
  inference_geo?: string;
1207
1579
  speed?: "standard" | "fast";
1208
1580
  settings?: {
1209
1581
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1582
+ max_output_tokens?: number;
1210
1583
  };
1211
1584
  };
1212
- multiagent: null | Types.AgentManaged39;
1585
+ multiagent?: null | Types.AgentManaged39;
1213
1586
  name: string;
1214
1587
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1215
1588
  system: null | string;
@@ -1232,18 +1605,25 @@ export declare function createAgent(transport: Transport): {
1232
1605
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1233
1606
  id: string;
1234
1607
  access: "read_only" | "read_write" | "invoke";
1608
+ customer_access?: "read_only" | "read_write" | "invoke";
1235
1609
  instructions?: string;
1236
1610
  readonly verified?: boolean;
1237
1611
  enabled?: boolean;
1238
1612
  } | {
1239
- type: "search" | "browser";
1613
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1240
1614
  readonly verified?: boolean;
1241
1615
  enabled?: boolean;
1242
1616
  }>;
1243
- kind: "personal" | "service";
1617
+ kind: "general" | "service" | "assume";
1618
+ computers?: {
1619
+ default: string;
1620
+ allowed: Array<{
1621
+ template: string;
1622
+ name: string;
1623
+ }>;
1624
+ };
1244
1625
  computer_id?: string;
1245
1626
  subagent_model?: string | null;
1246
- image_model?: string | null;
1247
1627
  subagents?: Array<{
1248
1628
  name: string;
1249
1629
  description: string;
@@ -1334,6 +1714,7 @@ export declare function createAgent(transport: Transport): {
1334
1714
  allowManagedHooksOnly?: boolean;
1335
1715
  allowManagedMcpServersOnly?: boolean;
1336
1716
  allowManagedPermissionRulesOnly?: boolean;
1717
+ idleCompaction?: boolean;
1337
1718
  autoMemoryEnabled?: boolean;
1338
1719
  disabled?: {
1339
1720
  subagents?: Array<string>;
@@ -1342,16 +1723,38 @@ export declare function createAgent(transport: Transport): {
1342
1723
  mcpServers?: Array<string>;
1343
1724
  hooks?: Array<string>;
1344
1725
  };
1726
+ outputStyle?: string;
1345
1727
  } | null;
1346
1728
  models?: {
1347
1729
  allowed: Array<string>;
1348
1730
  };
1349
1731
  avatar: string | null;
1350
1732
  creation_source: string | null;
1733
+ managed_by: string | null;
1351
1734
  identity_number: string | null;
1352
1735
  environment_id?: string | null;
1353
1736
  vault_ids?: Array<string>;
1354
1737
  status: "active" | "archived";
1738
+ output_styles?: Array<{
1739
+ name: string;
1740
+ description?: string;
1741
+ prompt: string;
1742
+ keep_coding_instructions?: boolean;
1743
+ }> | null;
1744
+ }>;
1745
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1746
+ allowed_origins: Array<string>;
1747
+ allow_localhost: boolean;
1748
+ uploads: {
1749
+ enabled: boolean;
1750
+ max_file_bytes: number;
1751
+ max_files_per_session: number;
1752
+ };
1753
+ share_links: {
1754
+ enabled: boolean;
1755
+ daily_session_cap: number | null;
1756
+ daily_spend_cap_micro_usd: number | null;
1757
+ };
1355
1758
  }>;
1356
1759
  versions: {
1357
1760
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
@@ -1359,22 +1762,225 @@ export declare function createAgent(transport: Transport): {
1359
1762
  archived_at: null | string;
1360
1763
  created_at: string;
1361
1764
  description: null | string;
1362
- mcp_servers: Array<Types.AgentManaged36>;
1363
- metadata: Types.AgentManaged37;
1364
- model: {
1765
+ mcp_servers: Array<{
1766
+ type: "url";
1767
+ name: string;
1768
+ url: string;
1769
+ headers?: {
1770
+ [key: string]: string;
1771
+ };
1772
+ timeout_ms?: number;
1773
+ } | {
1774
+ type: "sse";
1775
+ name: string;
1776
+ url: string;
1777
+ headers?: {
1778
+ [key: string]: string;
1779
+ };
1780
+ timeout_ms?: number;
1781
+ } | {
1782
+ type: "stdio";
1783
+ name: string;
1784
+ command: string;
1785
+ args?: Array<string>;
1786
+ env?: {
1787
+ [key: string]: string;
1788
+ };
1789
+ timeout_ms?: number;
1790
+ }>;
1791
+ metadata: {
1792
+ [key: string]: string;
1793
+ };
1794
+ model?: {
1365
1795
  id: string;
1366
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1796
+ effort?: {
1797
+ type: "low";
1798
+ } | {
1799
+ type: "medium";
1800
+ } | {
1801
+ type: "high";
1802
+ } | {
1803
+ type: "xhigh";
1804
+ } | {
1805
+ type: "max";
1806
+ };
1367
1807
  inference_geo?: string;
1368
1808
  speed?: "standard" | "fast";
1369
1809
  settings?: {
1370
1810
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1811
+ max_output_tokens?: number;
1812
+ };
1813
+ };
1814
+ multiagent?: null | {
1815
+ agents: Array<{
1816
+ id: string;
1817
+ type: "agent";
1818
+ version: number;
1819
+ } | {
1820
+ model: string;
1821
+ type: "advisor";
1822
+ }>;
1823
+ type: "coordinator";
1824
+ };
1825
+ name: string;
1826
+ skills: Array<{
1827
+ skill_id: string;
1828
+ type: "anthropic";
1829
+ version: string;
1830
+ } | {
1831
+ skill_id: string;
1832
+ type: "custom";
1833
+ version: string;
1834
+ }>;
1835
+ system: null | string;
1836
+ tools: Array<{
1837
+ configs: Array<{
1838
+ enabled: boolean;
1839
+ name: "bash";
1840
+ permission_policy: {
1841
+ type: "always_allow";
1842
+ } | {
1843
+ type: "always_ask";
1844
+ } | {
1845
+ type: "auto";
1846
+ };
1847
+ type: "bash";
1848
+ } | {
1849
+ enabled: boolean;
1850
+ name: "edit";
1851
+ permission_policy: {
1852
+ type: "always_allow";
1853
+ } | {
1854
+ type: "always_ask";
1855
+ } | {
1856
+ type: "auto";
1857
+ };
1858
+ type: "edit";
1859
+ } | {
1860
+ enabled: boolean;
1861
+ name: "read";
1862
+ permission_policy: {
1863
+ type: "always_allow";
1864
+ } | {
1865
+ type: "always_ask";
1866
+ } | {
1867
+ type: "auto";
1868
+ };
1869
+ type: "read";
1870
+ } | {
1871
+ enabled: boolean;
1872
+ name: "write";
1873
+ permission_policy: {
1874
+ type: "always_allow";
1875
+ } | {
1876
+ type: "always_ask";
1877
+ } | {
1878
+ type: "auto";
1879
+ };
1880
+ type: "write";
1881
+ } | {
1882
+ enabled: boolean;
1883
+ name: "glob";
1884
+ permission_policy: {
1885
+ type: "always_allow";
1886
+ } | {
1887
+ type: "always_ask";
1888
+ } | {
1889
+ type: "auto";
1890
+ };
1891
+ type: "glob";
1892
+ } | {
1893
+ enabled: boolean;
1894
+ name: "grep";
1895
+ permission_policy: {
1896
+ type: "always_allow";
1897
+ } | {
1898
+ type: "always_ask";
1899
+ } | {
1900
+ type: "auto";
1901
+ };
1902
+ type: "grep";
1903
+ } | {
1904
+ enabled: boolean;
1905
+ name: "web_fetch";
1906
+ permission_policy: {
1907
+ type: "always_allow";
1908
+ } | {
1909
+ type: "always_ask";
1910
+ } | {
1911
+ type: "auto";
1912
+ };
1913
+ type: "web_fetch";
1914
+ allowed_domains?: Array<string>;
1915
+ blocked_domains?: Array<string>;
1916
+ max_content_tokens?: null | number;
1917
+ } | {
1918
+ enabled: boolean;
1919
+ name: "web_search";
1920
+ permission_policy: {
1921
+ type: "always_allow";
1922
+ } | {
1923
+ type: "always_ask";
1924
+ } | {
1925
+ type: "auto";
1926
+ };
1927
+ type: "web_search";
1928
+ allowed_domains?: Array<string>;
1929
+ blocked_domains?: Array<string>;
1930
+ user_location?: null | {
1931
+ type: "approximate";
1932
+ city?: null | string;
1933
+ country?: null | string;
1934
+ region?: null | string;
1935
+ timezone?: null | string;
1936
+ };
1937
+ } | {
1938
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1939
+ enabled: boolean;
1940
+ permission_policy: {
1941
+ type: "always_allow" | "always_ask";
1942
+ };
1943
+ }>;
1944
+ default_config: {
1945
+ enabled: boolean;
1946
+ permission_policy: {
1947
+ type: "always_allow";
1948
+ } | {
1949
+ type: "always_ask";
1950
+ } | {
1951
+ type: "auto";
1952
+ };
1371
1953
  };
1372
- };
1373
- multiagent: null | Types.AgentManaged39;
1374
- name: string;
1375
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1376
- system: null | string;
1377
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1954
+ type: "agent_toolset_20260401";
1955
+ } | {
1956
+ type: "mcp_toolset";
1957
+ mcp_server_name: string;
1958
+ default_config?: {
1959
+ enabled?: boolean | null;
1960
+ permission_policy?: null | {
1961
+ type: "always_allow" | "always_ask";
1962
+ };
1963
+ } | null;
1964
+ configs?: Array<{
1965
+ name: string;
1966
+ enabled?: boolean | null;
1967
+ permission_policy?: null | {
1968
+ type: "always_allow" | "always_ask";
1969
+ };
1970
+ }> | null;
1971
+ } | {
1972
+ description: string;
1973
+ input_schema: {
1974
+ type: "object";
1975
+ properties?: null | {
1976
+ [key: string]: unknown;
1977
+ };
1978
+ required?: null | Array<string>;
1979
+ [key: string]: unknown;
1980
+ };
1981
+ name: string;
1982
+ type: "custom";
1983
+ }>;
1378
1984
  type: "agent";
1379
1985
  updated_at: string;
1380
1986
  version: number;
@@ -1393,18 +1999,25 @@ export declare function createAgent(transport: Transport): {
1393
1999
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1394
2000
  id: string;
1395
2001
  access: "read_only" | "read_write" | "invoke";
2002
+ customer_access?: "read_only" | "read_write" | "invoke";
1396
2003
  instructions?: string;
1397
2004
  readonly verified?: boolean;
1398
2005
  enabled?: boolean;
1399
2006
  } | {
1400
- type: "search" | "browser";
2007
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1401
2008
  readonly verified?: boolean;
1402
2009
  enabled?: boolean;
1403
2010
  }>;
1404
- kind: "personal" | "service";
2011
+ kind: "general" | "service" | "assume";
2012
+ computers?: {
2013
+ default: string;
2014
+ allowed: Array<{
2015
+ template: string;
2016
+ name: string;
2017
+ }>;
2018
+ };
1405
2019
  computer_id?: string;
1406
2020
  subagent_model?: string | null;
1407
- image_model?: string | null;
1408
2021
  subagents?: Array<{
1409
2022
  name: string;
1410
2023
  description: string;
@@ -1495,6 +2108,7 @@ export declare function createAgent(transport: Transport): {
1495
2108
  allowManagedHooksOnly?: boolean;
1496
2109
  allowManagedMcpServersOnly?: boolean;
1497
2110
  allowManagedPermissionRulesOnly?: boolean;
2111
+ idleCompaction?: boolean;
1498
2112
  autoMemoryEnabled?: boolean;
1499
2113
  disabled?: {
1500
2114
  subagents?: Array<string>;
@@ -1503,16 +2117,24 @@ export declare function createAgent(transport: Transport): {
1503
2117
  mcpServers?: Array<string>;
1504
2118
  hooks?: Array<string>;
1505
2119
  };
2120
+ outputStyle?: string;
1506
2121
  } | null;
1507
2122
  models?: {
1508
2123
  allowed: Array<string>;
1509
2124
  };
1510
2125
  avatar: string | null;
1511
2126
  creation_source: string | null;
2127
+ managed_by: string | null;
1512
2128
  identity_number: string | null;
1513
2129
  environment_id?: string | null;
1514
2130
  vault_ids?: Array<string>;
1515
2131
  status: "active" | "archived";
2132
+ output_styles?: Array<{
2133
+ name: string;
2134
+ description?: string;
2135
+ prompt: string;
2136
+ keep_coding_instructions?: boolean;
2137
+ }> | null;
1516
2138
  }>;
1517
2139
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
1518
2140
  data: Array<{
@@ -1522,16 +2144,17 @@ export declare function createAgent(transport: Transport): {
1522
2144
  description: null | string;
1523
2145
  mcp_servers: Array<Types.AgentManaged36>;
1524
2146
  metadata: Types.AgentManaged37;
1525
- model: {
2147
+ model?: {
1526
2148
  id: string;
1527
2149
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1528
2150
  inference_geo?: string;
1529
2151
  speed?: "standard" | "fast";
1530
2152
  settings?: {
1531
2153
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2154
+ max_output_tokens?: number;
1532
2155
  };
1533
2156
  };
1534
- multiagent: null | Types.AgentManaged39;
2157
+ multiagent?: null | Types.AgentManaged39;
1535
2158
  name: string;
1536
2159
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1537
2160
  system: null | string;
@@ -1554,18 +2177,25 @@ export declare function createAgent(transport: Transport): {
1554
2177
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1555
2178
  id: string;
1556
2179
  access: "read_only" | "read_write" | "invoke";
2180
+ customer_access?: "read_only" | "read_write" | "invoke";
1557
2181
  instructions?: string;
1558
2182
  readonly verified?: boolean;
1559
2183
  enabled?: boolean;
1560
2184
  } | {
1561
- type: "search" | "browser";
2185
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1562
2186
  readonly verified?: boolean;
1563
2187
  enabled?: boolean;
1564
2188
  }>;
1565
- kind: "personal" | "service";
2189
+ kind: "general" | "service" | "assume";
2190
+ computers?: {
2191
+ default: string;
2192
+ allowed: Array<{
2193
+ template: string;
2194
+ name: string;
2195
+ }>;
2196
+ };
1566
2197
  computer_id?: string;
1567
2198
  subagent_model?: string | null;
1568
- image_model?: string | null;
1569
2199
  subagents?: Array<{
1570
2200
  name: string;
1571
2201
  description: string;
@@ -1656,6 +2286,7 @@ export declare function createAgent(transport: Transport): {
1656
2286
  allowManagedHooksOnly?: boolean;
1657
2287
  allowManagedMcpServersOnly?: boolean;
1658
2288
  allowManagedPermissionRulesOnly?: boolean;
2289
+ idleCompaction?: boolean;
1659
2290
  autoMemoryEnabled?: boolean;
1660
2291
  disabled?: {
1661
2292
  subagents?: Array<string>;
@@ -1664,16 +2295,24 @@ export declare function createAgent(transport: Transport): {
1664
2295
  mcpServers?: Array<string>;
1665
2296
  hooks?: Array<string>;
1666
2297
  };
2298
+ outputStyle?: string;
1667
2299
  } | null;
1668
2300
  models?: {
1669
2301
  allowed: Array<string>;
1670
2302
  };
1671
2303
  avatar: string | null;
1672
2304
  creation_source: string | null;
2305
+ managed_by: string | null;
1673
2306
  identity_number: string | null;
1674
2307
  environment_id?: string | null;
1675
2308
  vault_ids?: Array<string>;
1676
2309
  status: "active" | "archived";
2310
+ output_styles?: Array<{
2311
+ name: string;
2312
+ description?: string;
2313
+ prompt: string;
2314
+ keep_coding_instructions?: boolean;
2315
+ }> | null;
1677
2316
  }>;
1678
2317
  next_page: string | null;
1679
2318
  }>;
@@ -1729,6 +2368,13 @@ export declare function createAgent(transport: Transport): {
1729
2368
  type: "computer_deleted";
1730
2369
  }>;
1731
2370
  files: {
2371
+ convert: {
2372
+ create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
2373
+ data: string;
2374
+ mime: "application/pdf";
2375
+ cached: boolean;
2376
+ }>;
2377
+ };
1732
2378
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
1733
2379
  data: Array<{
1734
2380
  path: string;
@@ -1744,6 +2390,18 @@ export declare function createAgent(transport: Transport): {
1744
2390
  tier: "light" | "heavy";
1745
2391
  }>;
1746
2392
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2393
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2394
+ variant: "image" | "pdf" | "text" | "original";
2395
+ version?: string;
2396
+ mime_type?: string;
2397
+ size?: number;
2398
+ file_id?: string;
2399
+ url?: string;
2400
+ expires_at?: string;
2401
+ cached: boolean;
2402
+ fallback?: "content";
2403
+ skipped?: boolean;
2404
+ }>;
1747
2405
  };
1748
2406
  leases: {
1749
2407
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1784,6 +2442,7 @@ export declare function createAgent(transport: Transport): {
1784
2442
  created_at: string;
1785
2443
  updated_at: string;
1786
2444
  archived_at: string | null;
2445
+ machine: "light" | "full";
1787
2446
  implementation: "virtual" | "sandbox";
1788
2447
  storage_bytes: number;
1789
2448
  file_count: number;
@@ -2008,87 +2667,624 @@ export declare function createAgent(transport: Transport): {
2008
2667
  id: string;
2009
2668
  type: "agent";
2010
2669
  version: number;
2011
- } | {
2012
- id: string;
2013
- type: "agent_with_overrides";
2014
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2015
- cwd?: string;
2016
- model?: string | {
2017
- id: string;
2018
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2019
- speed?: null | "standard" | "fast";
2020
- };
2021
- version: number;
2670
+ } | {
2671
+ id: string;
2672
+ type: "agent_with_overrides";
2673
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2674
+ cwd?: string;
2675
+ model?: string | {
2676
+ id: string;
2677
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2678
+ speed?: null | "standard" | "fast";
2679
+ };
2680
+ version: number;
2681
+ };
2682
+ archived_at: null | string;
2683
+ created_at: string;
2684
+ description: null | string;
2685
+ environment_id?: string | null;
2686
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2687
+ metadata: Types.AgentManaged91;
2688
+ name: string;
2689
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2690
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2691
+ schedule: null | Types.AgentManaged111;
2692
+ status: "active" | "paused";
2693
+ type: "deployment";
2694
+ updated_at: string;
2695
+ vault_ids: Array<string>;
2696
+ budget?: null | Types.AgentManaged76;
2697
+ target: {
2698
+ type: "environment" | "computer";
2699
+ };
2700
+ }>;
2701
+ };
2702
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2703
+ id: string;
2704
+ agent: {
2705
+ id: string;
2706
+ type: "agent";
2707
+ version: number;
2708
+ } | {
2709
+ id: string;
2710
+ type: "agent_with_overrides";
2711
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2712
+ cwd?: string;
2713
+ model?: string | {
2714
+ id: string;
2715
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2716
+ speed?: null | "standard" | "fast";
2717
+ };
2718
+ version: number;
2719
+ };
2720
+ archived_at: null | string;
2721
+ created_at: string;
2722
+ description: null | string;
2723
+ environment_id?: string | null;
2724
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2725
+ metadata: Types.AgentManaged91;
2726
+ name: string;
2727
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2728
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2729
+ schedule: null | Types.AgentManaged111;
2730
+ status: "active" | "paused";
2731
+ type: "deployment";
2732
+ updated_at: string;
2733
+ vault_ids: Array<string>;
2734
+ budget?: null | Types.AgentManaged76;
2735
+ target: {
2736
+ type: "environment" | "computer";
2737
+ };
2738
+ }>;
2739
+ };
2740
+ environments: {
2741
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2742
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2743
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2744
+ data: Array<Types.AgentManaged138>;
2745
+ next_page: string | null;
2746
+ }>;
2747
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2748
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2749
+ };
2750
+ sessions: {
2751
+ agentVersion: {
2752
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2753
+ id: string;
2754
+ agent: {
2755
+ id: string;
2756
+ description: null | string;
2757
+ mcp_servers: Array<{
2758
+ type: "url";
2759
+ name: string;
2760
+ url: string;
2761
+ headers?: {
2762
+ [key: string]: string;
2763
+ };
2764
+ timeout_ms?: number;
2765
+ } | {
2766
+ type: "sse";
2767
+ name: string;
2768
+ url: string;
2769
+ headers?: {
2770
+ [key: string]: string;
2771
+ };
2772
+ timeout_ms?: number;
2773
+ } | {
2774
+ type: "stdio";
2775
+ name: string;
2776
+ command: string;
2777
+ args?: Array<string>;
2778
+ env?: {
2779
+ [key: string]: string;
2780
+ };
2781
+ timeout_ms?: number;
2782
+ }>;
2783
+ model: {
2784
+ id: string;
2785
+ effort?: {
2786
+ type: "low";
2787
+ } | {
2788
+ type: "medium";
2789
+ } | {
2790
+ type: "high";
2791
+ } | {
2792
+ type: "xhigh";
2793
+ } | {
2794
+ type: "max";
2795
+ };
2796
+ inference_geo?: string;
2797
+ speed?: "standard" | "fast";
2798
+ settings?: {
2799
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2800
+ max_output_tokens?: number;
2801
+ };
2802
+ };
2803
+ multiagent: null | {
2804
+ agents: Array<{
2805
+ model: string;
2806
+ type: "advisor";
2807
+ } | {
2808
+ id: string;
2809
+ description: null | string;
2810
+ mcp_servers: Array<{
2811
+ type: "url";
2812
+ name: string;
2813
+ url: string;
2814
+ headers?: {
2815
+ [key: string]: string;
2816
+ };
2817
+ timeout_ms?: number;
2818
+ } | {
2819
+ type: "sse";
2820
+ name: string;
2821
+ url: string;
2822
+ headers?: {
2823
+ [key: string]: string;
2824
+ };
2825
+ timeout_ms?: number;
2826
+ } | {
2827
+ type: "stdio";
2828
+ name: string;
2829
+ command: string;
2830
+ args?: Array<string>;
2831
+ env?: {
2832
+ [key: string]: string;
2833
+ };
2834
+ timeout_ms?: number;
2835
+ }>;
2836
+ model: {
2837
+ id: string;
2838
+ effort?: {
2839
+ type: "low";
2840
+ } | {
2841
+ type: "medium";
2842
+ } | {
2843
+ type: "high";
2844
+ } | {
2845
+ type: "xhigh";
2846
+ } | {
2847
+ type: "max";
2848
+ };
2849
+ inference_geo?: string;
2850
+ speed?: "standard" | "fast";
2851
+ };
2852
+ name: string;
2853
+ skills: Array<{
2854
+ skill_id: string;
2855
+ type: "anthropic";
2856
+ version: string;
2857
+ } | {
2858
+ skill_id: string;
2859
+ type: "custom";
2860
+ version: string;
2861
+ }>;
2862
+ system: null | string;
2863
+ tools: Array<{
2864
+ configs: Array<{
2865
+ enabled: boolean;
2866
+ name: "bash";
2867
+ permission_policy: {
2868
+ type: "always_allow";
2869
+ } | {
2870
+ type: "always_ask";
2871
+ } | {
2872
+ type: "auto";
2873
+ };
2874
+ type: "bash";
2875
+ } | {
2876
+ enabled: boolean;
2877
+ name: "edit";
2878
+ permission_policy: {
2879
+ type: "always_allow";
2880
+ } | {
2881
+ type: "always_ask";
2882
+ } | {
2883
+ type: "auto";
2884
+ };
2885
+ type: "edit";
2886
+ } | {
2887
+ enabled: boolean;
2888
+ name: "read";
2889
+ permission_policy: {
2890
+ type: "always_allow";
2891
+ } | {
2892
+ type: "always_ask";
2893
+ } | {
2894
+ type: "auto";
2895
+ };
2896
+ type: "read";
2897
+ } | {
2898
+ enabled: boolean;
2899
+ name: "write";
2900
+ permission_policy: {
2901
+ type: "always_allow";
2902
+ } | {
2903
+ type: "always_ask";
2904
+ } | {
2905
+ type: "auto";
2906
+ };
2907
+ type: "write";
2908
+ } | {
2909
+ enabled: boolean;
2910
+ name: "glob";
2911
+ permission_policy: {
2912
+ type: "always_allow";
2913
+ } | {
2914
+ type: "always_ask";
2915
+ } | {
2916
+ type: "auto";
2917
+ };
2918
+ type: "glob";
2919
+ } | {
2920
+ enabled: boolean;
2921
+ name: "grep";
2922
+ permission_policy: {
2923
+ type: "always_allow";
2924
+ } | {
2925
+ type: "always_ask";
2926
+ } | {
2927
+ type: "auto";
2928
+ };
2929
+ type: "grep";
2930
+ } | {
2931
+ enabled: boolean;
2932
+ name: "web_fetch";
2933
+ permission_policy: {
2934
+ type: "always_allow";
2935
+ } | {
2936
+ type: "always_ask";
2937
+ } | {
2938
+ type: "auto";
2939
+ };
2940
+ type: "web_fetch";
2941
+ allowed_domains?: Array<string>;
2942
+ blocked_domains?: Array<string>;
2943
+ max_content_tokens?: null | number;
2944
+ } | {
2945
+ enabled: boolean;
2946
+ name: "web_search";
2947
+ permission_policy: {
2948
+ type: "always_allow";
2949
+ } | {
2950
+ type: "always_ask";
2951
+ } | {
2952
+ type: "auto";
2953
+ };
2954
+ type: "web_search";
2955
+ allowed_domains?: Array<string>;
2956
+ blocked_domains?: Array<string>;
2957
+ user_location?: null | {
2958
+ type: "approximate";
2959
+ city?: null | string;
2960
+ country?: null | string;
2961
+ region?: null | string;
2962
+ timezone?: null | string;
2963
+ };
2964
+ } | {
2965
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2966
+ enabled: boolean;
2967
+ permission_policy: {
2968
+ type: "always_allow" | "always_ask";
2969
+ };
2970
+ }>;
2971
+ default_config: {
2972
+ enabled: boolean;
2973
+ permission_policy: {
2974
+ type: "always_allow";
2975
+ } | {
2976
+ type: "always_ask";
2977
+ } | {
2978
+ type: "auto";
2979
+ };
2980
+ };
2981
+ type: "agent_toolset_20260401";
2982
+ } | {
2983
+ type: "mcp_toolset";
2984
+ mcp_server_name: string;
2985
+ default_config?: {
2986
+ enabled?: boolean | null;
2987
+ permission_policy?: null | {
2988
+ type: "always_allow" | "always_ask";
2989
+ };
2990
+ } | null;
2991
+ configs?: Array<{
2992
+ name: string;
2993
+ enabled?: boolean | null;
2994
+ permission_policy?: null | {
2995
+ type: "always_allow" | "always_ask";
2996
+ };
2997
+ }> | null;
2998
+ } | {
2999
+ description: string;
3000
+ input_schema: {
3001
+ type: "object";
3002
+ properties?: null | {
3003
+ [key: string]: unknown;
3004
+ };
3005
+ required?: null | Array<string>;
3006
+ [key: string]: unknown;
3007
+ };
3008
+ name: string;
3009
+ type: "custom";
3010
+ }>;
3011
+ type: "agent";
3012
+ version: number;
3013
+ }>;
3014
+ type: "coordinator";
3015
+ };
3016
+ name: string;
3017
+ skills: Array<{
3018
+ skill_id: string;
3019
+ type: "anthropic";
3020
+ version: string;
3021
+ } | {
3022
+ skill_id: string;
3023
+ type: "custom";
3024
+ version: string;
3025
+ }>;
3026
+ system: null | string;
3027
+ tools: Array<{
3028
+ configs: Array<{
3029
+ enabled: boolean;
3030
+ name: "bash";
3031
+ permission_policy: {
3032
+ type: "always_allow";
3033
+ } | {
3034
+ type: "always_ask";
3035
+ } | {
3036
+ type: "auto";
3037
+ };
3038
+ type: "bash";
3039
+ } | {
3040
+ enabled: boolean;
3041
+ name: "edit";
3042
+ permission_policy: {
3043
+ type: "always_allow";
3044
+ } | {
3045
+ type: "always_ask";
3046
+ } | {
3047
+ type: "auto";
3048
+ };
3049
+ type: "edit";
3050
+ } | {
3051
+ enabled: boolean;
3052
+ name: "read";
3053
+ permission_policy: {
3054
+ type: "always_allow";
3055
+ } | {
3056
+ type: "always_ask";
3057
+ } | {
3058
+ type: "auto";
3059
+ };
3060
+ type: "read";
3061
+ } | {
3062
+ enabled: boolean;
3063
+ name: "write";
3064
+ permission_policy: {
3065
+ type: "always_allow";
3066
+ } | {
3067
+ type: "always_ask";
3068
+ } | {
3069
+ type: "auto";
3070
+ };
3071
+ type: "write";
3072
+ } | {
3073
+ enabled: boolean;
3074
+ name: "glob";
3075
+ permission_policy: {
3076
+ type: "always_allow";
3077
+ } | {
3078
+ type: "always_ask";
3079
+ } | {
3080
+ type: "auto";
3081
+ };
3082
+ type: "glob";
3083
+ } | {
3084
+ enabled: boolean;
3085
+ name: "grep";
3086
+ permission_policy: {
3087
+ type: "always_allow";
3088
+ } | {
3089
+ type: "always_ask";
3090
+ } | {
3091
+ type: "auto";
3092
+ };
3093
+ type: "grep";
3094
+ } | {
3095
+ enabled: boolean;
3096
+ name: "web_fetch";
3097
+ permission_policy: {
3098
+ type: "always_allow";
3099
+ } | {
3100
+ type: "always_ask";
3101
+ } | {
3102
+ type: "auto";
3103
+ };
3104
+ type: "web_fetch";
3105
+ allowed_domains?: Array<string>;
3106
+ blocked_domains?: Array<string>;
3107
+ max_content_tokens?: null | number;
3108
+ } | {
3109
+ enabled: boolean;
3110
+ name: "web_search";
3111
+ permission_policy: {
3112
+ type: "always_allow";
3113
+ } | {
3114
+ type: "always_ask";
3115
+ } | {
3116
+ type: "auto";
3117
+ };
3118
+ type: "web_search";
3119
+ allowed_domains?: Array<string>;
3120
+ blocked_domains?: Array<string>;
3121
+ user_location?: null | {
3122
+ type: "approximate";
3123
+ city?: null | string;
3124
+ country?: null | string;
3125
+ region?: null | string;
3126
+ timezone?: null | string;
3127
+ };
3128
+ } | {
3129
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3130
+ enabled: boolean;
3131
+ permission_policy: {
3132
+ type: "always_allow" | "always_ask";
3133
+ };
3134
+ }>;
3135
+ default_config: {
3136
+ enabled: boolean;
3137
+ permission_policy: {
3138
+ type: "always_allow";
3139
+ } | {
3140
+ type: "always_ask";
3141
+ } | {
3142
+ type: "auto";
3143
+ };
3144
+ };
3145
+ type: "agent_toolset_20260401";
3146
+ } | {
3147
+ type: "mcp_toolset";
3148
+ mcp_server_name: string;
3149
+ default_config?: {
3150
+ enabled?: boolean | null;
3151
+ permission_policy?: null | {
3152
+ type: "always_allow" | "always_ask";
3153
+ };
3154
+ } | null;
3155
+ configs?: Array<{
3156
+ name: string;
3157
+ enabled?: boolean | null;
3158
+ permission_policy?: null | {
3159
+ type: "always_allow" | "always_ask";
3160
+ };
3161
+ }> | null;
3162
+ } | {
3163
+ description: string;
3164
+ input_schema: {
3165
+ type: "object";
3166
+ properties?: null | {
3167
+ [key: string]: unknown;
3168
+ };
3169
+ required?: null | Array<string>;
3170
+ [key: string]: unknown;
3171
+ };
3172
+ name: string;
3173
+ type: "custom";
3174
+ }>;
3175
+ type: "agent";
3176
+ version: number;
2022
3177
  };
2023
3178
  archived_at: null | string;
3179
+ budget: null | {
3180
+ max_list_cost: {
3181
+ amount: string;
3182
+ currency: "USD";
3183
+ };
3184
+ type: "limit";
3185
+ };
2024
3186
  created_at: string;
2025
- description: null | string;
2026
- environment_id?: string | null;
2027
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2028
- metadata: Types.AgentManaged91;
2029
- name: string;
2030
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2031
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2032
- schedule: null | Types.AgentManaged111;
2033
- status: "active" | "paused";
2034
- type: "deployment";
3187
+ environment_id?: string;
3188
+ metadata: {
3189
+ [key: string]: string;
3190
+ };
3191
+ outcome_evaluations: Array<{
3192
+ completed_at: null | string;
3193
+ description: string;
3194
+ explanation: null | string;
3195
+ iteration: number;
3196
+ outcome_id: string;
3197
+ result: string;
3198
+ type: "outcome_evaluation";
3199
+ }>;
3200
+ resources: Array<{
3201
+ id: string;
3202
+ created_at: string;
3203
+ mount_path: string;
3204
+ type: "github_repository";
3205
+ updated_at: string;
3206
+ url: string;
3207
+ checkout?: null | {
3208
+ name: string;
3209
+ type: "branch";
3210
+ } | {
3211
+ sha: string;
3212
+ type: "commit";
3213
+ };
3214
+ } | {
3215
+ id: string;
3216
+ created_at: string;
3217
+ file_id: string;
3218
+ mount_path: string;
3219
+ type: "file";
3220
+ updated_at: string;
3221
+ } | {
3222
+ memory_store_id: string;
3223
+ type: "memory_store";
3224
+ access?: null | "read_write" | "read_only";
3225
+ description?: string;
3226
+ instructions?: null | string;
3227
+ mount_path?: null | string;
3228
+ name?: null | string;
3229
+ }>;
3230
+ stats: {
3231
+ active_seconds?: number;
3232
+ duration_seconds?: number;
3233
+ };
3234
+ status: "rescheduling" | "running" | "idle" | "terminated";
3235
+ title: null | string;
3236
+ type: "session";
2035
3237
  updated_at: string;
3238
+ usage: {
3239
+ active_seconds?: number;
3240
+ cache_creation?: {
3241
+ ephemeral_1h_input_tokens?: number;
3242
+ ephemeral_5m_input_tokens?: number;
3243
+ };
3244
+ cache_read_input_tokens?: number;
3245
+ input_tokens?: number;
3246
+ list_cost?: null | {
3247
+ amount: string;
3248
+ currency: "USD";
3249
+ };
3250
+ output_tokens?: number;
3251
+ server_tool_use?: null | {
3252
+ web_fetch_requests?: number;
3253
+ web_search_requests?: number;
3254
+ };
3255
+ cost_by_product?: {
3256
+ [key: string]: string;
3257
+ };
3258
+ subagent_cost_micro_usd?: number;
3259
+ };
2036
3260
  vault_ids: Array<string>;
2037
- budget?: null | Types.AgentManaged76;
2038
- target: {
2039
- type: "environment" | "computer";
3261
+ deployment_id?: null | string;
3262
+ cwd: string;
3263
+ workspace?: {
3264
+ kind: "shared" | "isolated";
3265
+ path?: string;
3266
+ branch?: string;
2040
3267
  };
2041
- }>;
2042
- };
2043
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2044
- id: string;
2045
- agent: {
2046
- id: string;
2047
- type: "agent";
2048
- version: number;
2049
- } | {
2050
- id: string;
2051
- type: "agent_with_overrides";
2052
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2053
- cwd?: string;
2054
- model?: string | {
3268
+ computer_id?: string;
3269
+ model?: {
2055
3270
  id: string;
2056
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2057
- speed?: null | "standard" | "fast";
3271
+ thinking: {
3272
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3273
+ can_disable: boolean;
3274
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3275
+ } | null;
2058
3276
  };
2059
- version: number;
2060
- };
2061
- archived_at: null | string;
2062
- created_at: string;
2063
- description: null | string;
2064
- environment_id?: string | null;
2065
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2066
- metadata: Types.AgentManaged91;
2067
- name: string;
2068
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2069
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2070
- schedule: null | Types.AgentManaged111;
2071
- status: "active" | "paused";
2072
- type: "deployment";
2073
- updated_at: string;
2074
- vault_ids: Array<string>;
2075
- budget?: null | Types.AgentManaged76;
2076
- target: {
2077
- type: "environment" | "computer";
2078
- };
2079
- }>;
2080
- };
2081
- environments: {
2082
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2083
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2084
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2085
- data: Array<Types.AgentManaged138>;
2086
- next_page: string | null;
2087
- }>;
2088
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2089
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2090
- };
2091
- sessions: {
3277
+ thinking?: {
3278
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3279
+ } | null;
3280
+ forked_from?: {
3281
+ session_id: string;
3282
+ message_id: string;
3283
+ } | null;
3284
+ readonly external_user_id: string | null;
3285
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3286
+ }>;
3287
+ };
2092
3288
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2093
3289
  id: string;
2094
3290
  agent: {
@@ -2102,6 +3298,7 @@ export declare function createAgent(transport: Transport): {
2102
3298
  speed?: "standard" | "fast";
2103
3299
  settings?: {
2104
3300
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3301
+ max_output_tokens?: number;
2105
3302
  };
2106
3303
  };
2107
3304
  multiagent: null | Types.AgentManaged171;
@@ -2128,6 +3325,11 @@ export declare function createAgent(transport: Transport): {
2128
3325
  vault_ids: Array<string>;
2129
3326
  deployment_id?: null | string;
2130
3327
  cwd: string;
3328
+ workspace?: {
3329
+ kind: "shared" | "isolated";
3330
+ path?: string;
3331
+ branch?: string;
3332
+ };
2131
3333
  computer_id?: string;
2132
3334
  model?: {
2133
3335
  id: string;
@@ -2147,6 +3349,40 @@ export declare function createAgent(transport: Transport): {
2147
3349
  readonly external_user_id: string | null;
2148
3350
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2149
3351
  }>;
3352
+ artifacts: {
3353
+ contentUrl: {
3354
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3355
+ url: string;
3356
+ expire_time: string;
3357
+ }>;
3358
+ };
3359
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3360
+ data: Array<{
3361
+ object: "artifact";
3362
+ id: string;
3363
+ session_id: string;
3364
+ run_id: string | null;
3365
+ name: string;
3366
+ version: number;
3367
+ parts: Array<{
3368
+ kind: "file";
3369
+ file_id: string;
3370
+ filename: string;
3371
+ mime_type: string;
3372
+ bytes: number;
3373
+ } | {
3374
+ kind: "object";
3375
+ object_type: "canvas" | "media_asset";
3376
+ object_id: string;
3377
+ href: string;
3378
+ title: string | null;
3379
+ }>;
3380
+ source_hrefs: Array<string>;
3381
+ create_time: string;
3382
+ update_time: string;
3383
+ }>;
3384
+ }>;
3385
+ };
2150
3386
  backgroundTasks: {
2151
3387
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2152
3388
  data: Array<{
@@ -2184,21 +3420,27 @@ export declare function createAgent(transport: Transport): {
2184
3420
  compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
2185
3421
  type: "session_compaction";
2186
3422
  id: string;
2187
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3423
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2188
3424
  reason?: string;
2189
3425
  } | {
2190
3426
  type: "session_compaction";
2191
3427
  id: string;
2192
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3428
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2193
3429
  reason?: string;
2194
3430
  }>;
2195
3431
  compactions: {
2196
3432
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
3433
+ active: {
3434
+ type: "session_compaction";
3435
+ id: string;
3436
+ status: "queued" | "running";
3437
+ trigger: "manual" | "auto" | "idle";
3438
+ } | null;
2197
3439
  data: Array<{
2198
3440
  type: "context_compaction";
2199
3441
  id: string;
2200
3442
  event_id: string | null;
2201
- trigger: "auto" | "manual" | "model_downshift";
3443
+ trigger: "auto" | "manual" | "model_downshift" | "idle";
2202
3444
  status: "succeeded" | "failed";
2203
3445
  model: string;
2204
3446
  compacted_message_count: number;
@@ -2223,6 +3465,7 @@ export declare function createAgent(transport: Transport): {
2223
3465
  speed?: "standard" | "fast";
2224
3466
  settings?: {
2225
3467
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3468
+ max_output_tokens?: number;
2226
3469
  };
2227
3470
  };
2228
3471
  multiagent: null | Types.AgentManaged171;
@@ -2249,6 +3492,11 @@ export declare function createAgent(transport: Transport): {
2249
3492
  vault_ids: Array<string>;
2250
3493
  deployment_id?: null | string;
2251
3494
  cwd: string;
3495
+ workspace?: {
3496
+ kind: "shared" | "isolated";
3497
+ path?: string;
3498
+ branch?: string;
3499
+ };
2252
3500
  computer_id?: string;
2253
3501
  model?: {
2254
3502
  id: string;
@@ -2309,7 +3557,6 @@ export declare function createAgent(transport: Transport): {
2309
3557
  run_id: string | null;
2310
3558
  message_id?: string;
2311
3559
  } | {
2312
- full_access_available?: boolean;
2313
3560
  id: string;
2314
3561
  input: Types.AgentManaged197;
2315
3562
  mcp_server_name: string;
@@ -2319,6 +3566,18 @@ export declare function createAgent(transport: Transport): {
2319
3566
  evaluated_permission?: "allow" | "deny" | "ask";
2320
3567
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2321
3568
  session_thread_id?: null | string;
3569
+ permission_suggestions?: Array<{
3570
+ type: "add_rules";
3571
+ behavior: "allow";
3572
+ destination: "agent" | "session";
3573
+ rules: Array<{
3574
+ tool_name: string;
3575
+ rule_content: string;
3576
+ }>;
3577
+ }>;
3578
+ full_access_available?: boolean;
3579
+ user_once?: true;
3580
+ guarded_rule?: string;
2322
3581
  run_id: string | null;
2323
3582
  _meta?: {
2324
3583
  ui?: {
@@ -2332,17 +3591,6 @@ export declare function createAgent(transport: Transport): {
2332
3591
  };
2333
3592
  source?: "app" | "codemode";
2334
3593
  parent_tool_use_id?: string;
2335
- user_once?: true;
2336
- guarded_rule?: string;
2337
- permission_suggestions?: Array<{
2338
- type: "add_rules";
2339
- behavior: "allow";
2340
- destination: "agent" | "session";
2341
- rules: Array<{
2342
- tool_name: string;
2343
- rule_content: string;
2344
- }>;
2345
- }>;
2346
3594
  title?: string;
2347
3595
  input_titles?: {
2348
3596
  [key: string]: string;
@@ -2361,7 +3609,6 @@ export declare function createAgent(transport: Transport): {
2361
3609
  };
2362
3610
  source?: "app" | "codemode";
2363
3611
  } | {
2364
- full_access_available?: boolean;
2365
3612
  id: string;
2366
3613
  input: Types.AgentManaged206;
2367
3614
  name: string;
@@ -2370,9 +3617,6 @@ export declare function createAgent(transport: Transport): {
2370
3617
  evaluated_permission?: "allow" | "deny" | "ask";
2371
3618
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2372
3619
  session_thread_id?: null | string;
2373
- run_id: string | null;
2374
- user_once?: true;
2375
- guarded_rule?: string;
2376
3620
  permission_suggestions?: Array<{
2377
3621
  type: "add_rules";
2378
3622
  behavior: "allow";
@@ -2382,6 +3626,10 @@ export declare function createAgent(transport: Transport): {
2382
3626
  rule_content: string;
2383
3627
  }>;
2384
3628
  }>;
3629
+ full_access_available?: boolean;
3630
+ user_once?: true;
3631
+ guarded_rule?: string;
3632
+ run_id: string | null;
2385
3633
  } | {
2386
3634
  id: string;
2387
3635
  processed_at: string;
@@ -2402,9 +3650,6 @@ export declare function createAgent(transport: Transport): {
2402
3650
  type: "session.status_idle";
2403
3651
  run_id: string | null;
2404
3652
  } | 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 | {
2405
- permission_mode_version?: number;
2406
- previous_permission_mode?: string | null;
2407
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2408
3653
  id: string;
2409
3654
  processed_at: string;
2410
3655
  type: "session.updated";
@@ -2412,6 +3657,9 @@ export declare function createAgent(transport: Transport): {
2412
3657
  budget?: null | Types.AgentManaged76;
2413
3658
  metadata?: Types.AgentManaged246;
2414
3659
  title?: null | string;
3660
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3661
+ previous_permission_mode?: string | null;
3662
+ permission_mode_version?: number;
2415
3663
  model?: {
2416
3664
  id: string;
2417
3665
  };
@@ -2572,6 +3820,7 @@ export declare function createAgent(transport: Transport): {
2572
3820
  speed?: "standard" | "fast";
2573
3821
  settings?: {
2574
3822
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3823
+ max_output_tokens?: number;
2575
3824
  };
2576
3825
  };
2577
3826
  multiagent: null | {
@@ -3034,6 +4283,11 @@ export declare function createAgent(transport: Transport): {
3034
4283
  vault_ids: Array<string>;
3035
4284
  deployment_id?: null | string;
3036
4285
  cwd: string;
4286
+ workspace?: {
4287
+ kind: "shared" | "isolated";
4288
+ path?: string;
4289
+ branch?: string;
4290
+ };
3037
4291
  computer_id?: string;
3038
4292
  model?: {
3039
4293
  id: string;
@@ -3053,46 +4307,590 @@ export declare function createAgent(transport: Transport): {
3053
4307
  readonly external_user_id: string | null;
3054
4308
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3055
4309
  }>;
3056
- list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
3057
- data: Array<{
4310
+ list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
4311
+ data: Array<{
4312
+ id: string;
4313
+ agent: {
4314
+ id: string;
4315
+ description: null | string;
4316
+ mcp_servers: Array<Types.AgentManaged36>;
4317
+ model: {
4318
+ id: string;
4319
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4320
+ inference_geo?: string;
4321
+ speed?: "standard" | "fast";
4322
+ settings?: {
4323
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4324
+ max_output_tokens?: number;
4325
+ };
4326
+ };
4327
+ multiagent: null | Types.AgentManaged171;
4328
+ name: string;
4329
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4330
+ system: null | string;
4331
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4332
+ type: "agent";
4333
+ version: number;
4334
+ };
4335
+ archived_at: null | string;
4336
+ budget: null | Types.AgentManaged76;
4337
+ created_at: string;
4338
+ environment_id?: string;
4339
+ metadata: Types.AgentManaged173;
4340
+ outcome_evaluations: Array<Types.AgentManaged174>;
4341
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4342
+ stats: Types.AgentManaged178;
4343
+ status: "rescheduling" | "running" | "idle" | "terminated";
4344
+ title: null | string;
4345
+ type: "session";
4346
+ updated_at: string;
4347
+ usage: Types.AgentManaged179;
4348
+ vault_ids: Array<string>;
4349
+ deployment_id?: null | string;
4350
+ cwd: string;
4351
+ workspace?: {
4352
+ kind: "shared" | "isolated";
4353
+ path?: string;
4354
+ branch?: string;
4355
+ };
4356
+ computer_id?: string;
4357
+ model?: {
4358
+ id: string;
4359
+ thinking: {
4360
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4361
+ can_disable: boolean;
4362
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4363
+ } | null;
4364
+ };
4365
+ thinking?: {
4366
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4367
+ } | null;
4368
+ forked_from?: {
4369
+ session_id: string;
4370
+ message_id: string;
4371
+ } | null;
4372
+ readonly external_user_id: string | null;
4373
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4374
+ }>;
4375
+ next_page: string | null;
4376
+ }>;
4377
+ name: {
4378
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
3058
4379
  id: string;
3059
4380
  agent: {
3060
4381
  id: string;
3061
4382
  description: null | string;
3062
- mcp_servers: Array<Types.AgentManaged36>;
4383
+ mcp_servers: Array<{
4384
+ type: "url";
4385
+ name: string;
4386
+ url: string;
4387
+ headers?: {
4388
+ [key: string]: string;
4389
+ };
4390
+ timeout_ms?: number;
4391
+ } | {
4392
+ type: "sse";
4393
+ name: string;
4394
+ url: string;
4395
+ headers?: {
4396
+ [key: string]: string;
4397
+ };
4398
+ timeout_ms?: number;
4399
+ } | {
4400
+ type: "stdio";
4401
+ name: string;
4402
+ command: string;
4403
+ args?: Array<string>;
4404
+ env?: {
4405
+ [key: string]: string;
4406
+ };
4407
+ timeout_ms?: number;
4408
+ }>;
3063
4409
  model: {
3064
4410
  id: string;
3065
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4411
+ effort?: {
4412
+ type: "low";
4413
+ } | {
4414
+ type: "medium";
4415
+ } | {
4416
+ type: "high";
4417
+ } | {
4418
+ type: "xhigh";
4419
+ } | {
4420
+ type: "max";
4421
+ };
3066
4422
  inference_geo?: string;
3067
4423
  speed?: "standard" | "fast";
3068
4424
  settings?: {
3069
4425
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4426
+ max_output_tokens?: number;
3070
4427
  };
3071
4428
  };
3072
- multiagent: null | Types.AgentManaged171;
4429
+ multiagent: null | {
4430
+ agents: Array<{
4431
+ model: string;
4432
+ type: "advisor";
4433
+ } | {
4434
+ id: string;
4435
+ description: null | string;
4436
+ mcp_servers: Array<{
4437
+ type: "url";
4438
+ name: string;
4439
+ url: string;
4440
+ headers?: {
4441
+ [key: string]: string;
4442
+ };
4443
+ timeout_ms?: number;
4444
+ } | {
4445
+ type: "sse";
4446
+ name: string;
4447
+ url: string;
4448
+ headers?: {
4449
+ [key: string]: string;
4450
+ };
4451
+ timeout_ms?: number;
4452
+ } | {
4453
+ type: "stdio";
4454
+ name: string;
4455
+ command: string;
4456
+ args?: Array<string>;
4457
+ env?: {
4458
+ [key: string]: string;
4459
+ };
4460
+ timeout_ms?: number;
4461
+ }>;
4462
+ model: {
4463
+ id: string;
4464
+ effort?: {
4465
+ type: "low";
4466
+ } | {
4467
+ type: "medium";
4468
+ } | {
4469
+ type: "high";
4470
+ } | {
4471
+ type: "xhigh";
4472
+ } | {
4473
+ type: "max";
4474
+ };
4475
+ inference_geo?: string;
4476
+ speed?: "standard" | "fast";
4477
+ };
4478
+ name: string;
4479
+ skills: Array<{
4480
+ skill_id: string;
4481
+ type: "anthropic";
4482
+ version: string;
4483
+ } | {
4484
+ skill_id: string;
4485
+ type: "custom";
4486
+ version: string;
4487
+ }>;
4488
+ system: null | string;
4489
+ tools: Array<{
4490
+ configs: Array<{
4491
+ enabled: boolean;
4492
+ name: "bash";
4493
+ permission_policy: {
4494
+ type: "always_allow";
4495
+ } | {
4496
+ type: "always_ask";
4497
+ } | {
4498
+ type: "auto";
4499
+ };
4500
+ type: "bash";
4501
+ } | {
4502
+ enabled: boolean;
4503
+ name: "edit";
4504
+ permission_policy: {
4505
+ type: "always_allow";
4506
+ } | {
4507
+ type: "always_ask";
4508
+ } | {
4509
+ type: "auto";
4510
+ };
4511
+ type: "edit";
4512
+ } | {
4513
+ enabled: boolean;
4514
+ name: "read";
4515
+ permission_policy: {
4516
+ type: "always_allow";
4517
+ } | {
4518
+ type: "always_ask";
4519
+ } | {
4520
+ type: "auto";
4521
+ };
4522
+ type: "read";
4523
+ } | {
4524
+ enabled: boolean;
4525
+ name: "write";
4526
+ permission_policy: {
4527
+ type: "always_allow";
4528
+ } | {
4529
+ type: "always_ask";
4530
+ } | {
4531
+ type: "auto";
4532
+ };
4533
+ type: "write";
4534
+ } | {
4535
+ enabled: boolean;
4536
+ name: "glob";
4537
+ permission_policy: {
4538
+ type: "always_allow";
4539
+ } | {
4540
+ type: "always_ask";
4541
+ } | {
4542
+ type: "auto";
4543
+ };
4544
+ type: "glob";
4545
+ } | {
4546
+ enabled: boolean;
4547
+ name: "grep";
4548
+ permission_policy: {
4549
+ type: "always_allow";
4550
+ } | {
4551
+ type: "always_ask";
4552
+ } | {
4553
+ type: "auto";
4554
+ };
4555
+ type: "grep";
4556
+ } | {
4557
+ enabled: boolean;
4558
+ name: "web_fetch";
4559
+ permission_policy: {
4560
+ type: "always_allow";
4561
+ } | {
4562
+ type: "always_ask";
4563
+ } | {
4564
+ type: "auto";
4565
+ };
4566
+ type: "web_fetch";
4567
+ allowed_domains?: Array<string>;
4568
+ blocked_domains?: Array<string>;
4569
+ max_content_tokens?: null | number;
4570
+ } | {
4571
+ enabled: boolean;
4572
+ name: "web_search";
4573
+ permission_policy: {
4574
+ type: "always_allow";
4575
+ } | {
4576
+ type: "always_ask";
4577
+ } | {
4578
+ type: "auto";
4579
+ };
4580
+ type: "web_search";
4581
+ allowed_domains?: Array<string>;
4582
+ blocked_domains?: Array<string>;
4583
+ user_location?: null | {
4584
+ type: "approximate";
4585
+ city?: null | string;
4586
+ country?: null | string;
4587
+ region?: null | string;
4588
+ timezone?: null | string;
4589
+ };
4590
+ } | {
4591
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4592
+ enabled: boolean;
4593
+ permission_policy: {
4594
+ type: "always_allow" | "always_ask";
4595
+ };
4596
+ }>;
4597
+ default_config: {
4598
+ enabled: boolean;
4599
+ permission_policy: {
4600
+ type: "always_allow";
4601
+ } | {
4602
+ type: "always_ask";
4603
+ } | {
4604
+ type: "auto";
4605
+ };
4606
+ };
4607
+ type: "agent_toolset_20260401";
4608
+ } | {
4609
+ type: "mcp_toolset";
4610
+ mcp_server_name: string;
4611
+ default_config?: {
4612
+ enabled?: boolean | null;
4613
+ permission_policy?: null | {
4614
+ type: "always_allow" | "always_ask";
4615
+ };
4616
+ } | null;
4617
+ configs?: Array<{
4618
+ name: string;
4619
+ enabled?: boolean | null;
4620
+ permission_policy?: null | {
4621
+ type: "always_allow" | "always_ask";
4622
+ };
4623
+ }> | null;
4624
+ } | {
4625
+ description: string;
4626
+ input_schema: {
4627
+ type: "object";
4628
+ properties?: null | {
4629
+ [key: string]: unknown;
4630
+ };
4631
+ required?: null | Array<string>;
4632
+ [key: string]: unknown;
4633
+ };
4634
+ name: string;
4635
+ type: "custom";
4636
+ }>;
4637
+ type: "agent";
4638
+ version: number;
4639
+ }>;
4640
+ type: "coordinator";
4641
+ };
3073
4642
  name: string;
3074
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4643
+ skills: Array<{
4644
+ skill_id: string;
4645
+ type: "anthropic";
4646
+ version: string;
4647
+ } | {
4648
+ skill_id: string;
4649
+ type: "custom";
4650
+ version: string;
4651
+ }>;
3075
4652
  system: null | string;
3076
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4653
+ tools: Array<{
4654
+ configs: Array<{
4655
+ enabled: boolean;
4656
+ name: "bash";
4657
+ permission_policy: {
4658
+ type: "always_allow";
4659
+ } | {
4660
+ type: "always_ask";
4661
+ } | {
4662
+ type: "auto";
4663
+ };
4664
+ type: "bash";
4665
+ } | {
4666
+ enabled: boolean;
4667
+ name: "edit";
4668
+ permission_policy: {
4669
+ type: "always_allow";
4670
+ } | {
4671
+ type: "always_ask";
4672
+ } | {
4673
+ type: "auto";
4674
+ };
4675
+ type: "edit";
4676
+ } | {
4677
+ enabled: boolean;
4678
+ name: "read";
4679
+ permission_policy: {
4680
+ type: "always_allow";
4681
+ } | {
4682
+ type: "always_ask";
4683
+ } | {
4684
+ type: "auto";
4685
+ };
4686
+ type: "read";
4687
+ } | {
4688
+ enabled: boolean;
4689
+ name: "write";
4690
+ permission_policy: {
4691
+ type: "always_allow";
4692
+ } | {
4693
+ type: "always_ask";
4694
+ } | {
4695
+ type: "auto";
4696
+ };
4697
+ type: "write";
4698
+ } | {
4699
+ enabled: boolean;
4700
+ name: "glob";
4701
+ permission_policy: {
4702
+ type: "always_allow";
4703
+ } | {
4704
+ type: "always_ask";
4705
+ } | {
4706
+ type: "auto";
4707
+ };
4708
+ type: "glob";
4709
+ } | {
4710
+ enabled: boolean;
4711
+ name: "grep";
4712
+ permission_policy: {
4713
+ type: "always_allow";
4714
+ } | {
4715
+ type: "always_ask";
4716
+ } | {
4717
+ type: "auto";
4718
+ };
4719
+ type: "grep";
4720
+ } | {
4721
+ enabled: boolean;
4722
+ name: "web_fetch";
4723
+ permission_policy: {
4724
+ type: "always_allow";
4725
+ } | {
4726
+ type: "always_ask";
4727
+ } | {
4728
+ type: "auto";
4729
+ };
4730
+ type: "web_fetch";
4731
+ allowed_domains?: Array<string>;
4732
+ blocked_domains?: Array<string>;
4733
+ max_content_tokens?: null | number;
4734
+ } | {
4735
+ enabled: boolean;
4736
+ name: "web_search";
4737
+ permission_policy: {
4738
+ type: "always_allow";
4739
+ } | {
4740
+ type: "always_ask";
4741
+ } | {
4742
+ type: "auto";
4743
+ };
4744
+ type: "web_search";
4745
+ allowed_domains?: Array<string>;
4746
+ blocked_domains?: Array<string>;
4747
+ user_location?: null | {
4748
+ type: "approximate";
4749
+ city?: null | string;
4750
+ country?: null | string;
4751
+ region?: null | string;
4752
+ timezone?: null | string;
4753
+ };
4754
+ } | {
4755
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4756
+ enabled: boolean;
4757
+ permission_policy: {
4758
+ type: "always_allow" | "always_ask";
4759
+ };
4760
+ }>;
4761
+ default_config: {
4762
+ enabled: boolean;
4763
+ permission_policy: {
4764
+ type: "always_allow";
4765
+ } | {
4766
+ type: "always_ask";
4767
+ } | {
4768
+ type: "auto";
4769
+ };
4770
+ };
4771
+ type: "agent_toolset_20260401";
4772
+ } | {
4773
+ type: "mcp_toolset";
4774
+ mcp_server_name: string;
4775
+ default_config?: {
4776
+ enabled?: boolean | null;
4777
+ permission_policy?: null | {
4778
+ type: "always_allow" | "always_ask";
4779
+ };
4780
+ } | null;
4781
+ configs?: Array<{
4782
+ name: string;
4783
+ enabled?: boolean | null;
4784
+ permission_policy?: null | {
4785
+ type: "always_allow" | "always_ask";
4786
+ };
4787
+ }> | null;
4788
+ } | {
4789
+ description: string;
4790
+ input_schema: {
4791
+ type: "object";
4792
+ properties?: null | {
4793
+ [key: string]: unknown;
4794
+ };
4795
+ required?: null | Array<string>;
4796
+ [key: string]: unknown;
4797
+ };
4798
+ name: string;
4799
+ type: "custom";
4800
+ }>;
3077
4801
  type: "agent";
3078
4802
  version: number;
3079
4803
  };
3080
4804
  archived_at: null | string;
3081
- budget: null | Types.AgentManaged76;
4805
+ budget: null | {
4806
+ max_list_cost: {
4807
+ amount: string;
4808
+ currency: "USD";
4809
+ };
4810
+ type: "limit";
4811
+ };
3082
4812
  created_at: string;
3083
4813
  environment_id?: string;
3084
- metadata: Types.AgentManaged173;
3085
- outcome_evaluations: Array<Types.AgentManaged174>;
3086
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3087
- stats: Types.AgentManaged178;
4814
+ metadata: {
4815
+ [key: string]: string;
4816
+ };
4817
+ outcome_evaluations: Array<{
4818
+ completed_at: null | string;
4819
+ description: string;
4820
+ explanation: null | string;
4821
+ iteration: number;
4822
+ outcome_id: string;
4823
+ result: string;
4824
+ type: "outcome_evaluation";
4825
+ }>;
4826
+ resources: Array<{
4827
+ id: string;
4828
+ created_at: string;
4829
+ mount_path: string;
4830
+ type: "github_repository";
4831
+ updated_at: string;
4832
+ url: string;
4833
+ checkout?: null | {
4834
+ name: string;
4835
+ type: "branch";
4836
+ } | {
4837
+ sha: string;
4838
+ type: "commit";
4839
+ };
4840
+ } | {
4841
+ id: string;
4842
+ created_at: string;
4843
+ file_id: string;
4844
+ mount_path: string;
4845
+ type: "file";
4846
+ updated_at: string;
4847
+ } | {
4848
+ memory_store_id: string;
4849
+ type: "memory_store";
4850
+ access?: null | "read_write" | "read_only";
4851
+ description?: string;
4852
+ instructions?: null | string;
4853
+ mount_path?: null | string;
4854
+ name?: null | string;
4855
+ }>;
4856
+ stats: {
4857
+ active_seconds?: number;
4858
+ duration_seconds?: number;
4859
+ };
3088
4860
  status: "rescheduling" | "running" | "idle" | "terminated";
3089
4861
  title: null | string;
3090
4862
  type: "session";
3091
4863
  updated_at: string;
3092
- usage: Types.AgentManaged179;
4864
+ usage: {
4865
+ active_seconds?: number;
4866
+ cache_creation?: {
4867
+ ephemeral_1h_input_tokens?: number;
4868
+ ephemeral_5m_input_tokens?: number;
4869
+ };
4870
+ cache_read_input_tokens?: number;
4871
+ input_tokens?: number;
4872
+ list_cost?: null | {
4873
+ amount: string;
4874
+ currency: "USD";
4875
+ };
4876
+ output_tokens?: number;
4877
+ server_tool_use?: null | {
4878
+ web_fetch_requests?: number;
4879
+ web_search_requests?: number;
4880
+ };
4881
+ cost_by_product?: {
4882
+ [key: string]: string;
4883
+ };
4884
+ subagent_cost_micro_usd?: number;
4885
+ };
3093
4886
  vault_ids: Array<string>;
3094
4887
  deployment_id?: null | string;
3095
4888
  cwd: string;
4889
+ workspace?: {
4890
+ kind: "shared" | "isolated";
4891
+ path?: string;
4892
+ branch?: string;
4893
+ };
3096
4894
  computer_id?: string;
3097
4895
  model?: {
3098
4896
  id: string;
@@ -3112,8 +4910,21 @@ export declare function createAgent(transport: Transport): {
3112
4910
  readonly external_user_id: string | null;
3113
4911
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3114
4912
  }>;
3115
- next_page: string | null;
3116
- }>;
4913
+ };
4914
+ requests: {
4915
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4916
+ data: Array<{
4917
+ id: string;
4918
+ object: "request";
4919
+ kind: "question" | "approval";
4920
+ status: "pending";
4921
+ tool_name: string;
4922
+ input: unknown;
4923
+ create_time: string;
4924
+ expire_time: string | null;
4925
+ }>;
4926
+ }>;
4927
+ };
3117
4928
  resources: {
3118
4929
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3119
4930
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3144,6 +4955,7 @@ export declare function createAgent(transport: Transport): {
3144
4955
  speed?: "standard" | "fast";
3145
4956
  settings?: {
3146
4957
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4958
+ max_output_tokens?: number;
3147
4959
  };
3148
4960
  };
3149
4961
  multiagent: null | Types.AgentManaged171;
@@ -3170,6 +4982,11 @@ export declare function createAgent(transport: Transport): {
3170
4982
  vault_ids: Array<string>;
3171
4983
  deployment_id?: null | string;
3172
4984
  cwd: string;
4985
+ workspace?: {
4986
+ kind: "shared" | "isolated";
4987
+ path?: string;
4988
+ branch?: string;
4989
+ };
3173
4990
  computer_id?: string;
3174
4991
  model?: {
3175
4992
  id: string;
@@ -3192,7 +5009,7 @@ export declare function createAgent(transport: Transport): {
3192
5009
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
3193
5010
  type: "session_compaction";
3194
5011
  id: string;
3195
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
5012
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
3196
5013
  reason?: string;
3197
5014
  }>;
3198
5015
  retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
@@ -3316,7 +5133,6 @@ export declare function createAgent(transport: Transport): {
3316
5133
  run_id: string | null;
3317
5134
  message_id?: string;
3318
5135
  } | {
3319
- full_access_available?: boolean;
3320
5136
  id: string;
3321
5137
  input: Types.AgentManaged197;
3322
5138
  mcp_server_name: string;
@@ -3326,6 +5142,18 @@ export declare function createAgent(transport: Transport): {
3326
5142
  evaluated_permission?: "allow" | "deny" | "ask";
3327
5143
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3328
5144
  session_thread_id?: null | string;
5145
+ permission_suggestions?: Array<{
5146
+ type: "add_rules";
5147
+ behavior: "allow";
5148
+ destination: "agent" | "session";
5149
+ rules: Array<{
5150
+ tool_name: string;
5151
+ rule_content: string;
5152
+ }>;
5153
+ }>;
5154
+ full_access_available?: boolean;
5155
+ user_once?: true;
5156
+ guarded_rule?: string;
3329
5157
  run_id: string | null;
3330
5158
  parent_tool_use_id?: string;
3331
5159
  _meta?: {
@@ -3339,17 +5167,6 @@ export declare function createAgent(transport: Transport): {
3339
5167
  };
3340
5168
  };
3341
5169
  source?: "app" | "codemode";
3342
- user_once?: true;
3343
- guarded_rule?: string;
3344
- permission_suggestions?: Array<{
3345
- type: "add_rules";
3346
- behavior: "allow";
3347
- destination: "agent" | "session";
3348
- rules: Array<{
3349
- tool_name: string;
3350
- rule_content: string;
3351
- }>;
3352
- }>;
3353
5170
  title?: string;
3354
5171
  input_titles?: {
3355
5172
  [key: string]: string;
@@ -3368,7 +5185,6 @@ export declare function createAgent(transport: Transport): {
3368
5185
  };
3369
5186
  source?: "app" | "codemode";
3370
5187
  } | {
3371
- full_access_available?: boolean;
3372
5188
  id: string;
3373
5189
  input: Types.AgentManaged206;
3374
5190
  name: string;
@@ -3377,9 +5193,6 @@ export declare function createAgent(transport: Transport): {
3377
5193
  evaluated_permission?: "allow" | "deny" | "ask";
3378
5194
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3379
5195
  session_thread_id?: null | string;
3380
- run_id: string | null;
3381
- user_once?: true;
3382
- guarded_rule?: string;
3383
5196
  permission_suggestions?: Array<{
3384
5197
  type: "add_rules";
3385
5198
  behavior: "allow";
@@ -3389,6 +5202,10 @@ export declare function createAgent(transport: Transport): {
3389
5202
  rule_content: string;
3390
5203
  }>;
3391
5204
  }>;
5205
+ full_access_available?: boolean;
5206
+ user_once?: true;
5207
+ guarded_rule?: string;
5208
+ run_id: string | null;
3392
5209
  } | {
3393
5210
  id: string;
3394
5211
  processed_at: string;
@@ -3409,9 +5226,6 @@ export declare function createAgent(transport: Transport): {
3409
5226
  type: "session.status_idle";
3410
5227
  run_id: string | null;
3411
5228
  } | 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 | {
3412
- permission_mode_version?: number;
3413
- previous_permission_mode?: string | null;
3414
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3415
5229
  id: string;
3416
5230
  processed_at: string;
3417
5231
  type: "session.updated";
@@ -3419,6 +5233,9 @@ export declare function createAgent(transport: Transport): {
3419
5233
  budget?: null | Types.AgentManaged76;
3420
5234
  metadata?: Types.AgentManaged246;
3421
5235
  title?: null | string;
5236
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5237
+ previous_permission_mode?: string | null;
5238
+ permission_mode_version?: number;
3422
5239
  model?: {
3423
5240
  id: string;
3424
5241
  };
@@ -3509,6 +5326,7 @@ export declare function createAgent(transport: Transport): {
3509
5326
  speed?: "standard" | "fast";
3510
5327
  settings?: {
3511
5328
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5329
+ max_output_tokens?: number;
3512
5330
  };
3513
5331
  };
3514
5332
  multiagent: null | Types.AgentManaged171;
@@ -3535,6 +5353,11 @@ export declare function createAgent(transport: Transport): {
3535
5353
  vault_ids: Array<string>;
3536
5354
  deployment_id?: null | string;
3537
5355
  cwd: string;
5356
+ workspace?: {
5357
+ kind: "shared" | "isolated";
5358
+ path?: string;
5359
+ branch?: string;
5360
+ };
3538
5361
  computer_id?: string;
3539
5362
  model?: {
3540
5363
  id: string;
@@ -3599,6 +5422,29 @@ export declare function createAgent(transport: Transport): {
3599
5422
  next_page: null;
3600
5423
  }>;
3601
5424
  };
5425
+ uploads: {
5426
+ contentUrl: {
5427
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5428
+ url: string;
5429
+ expires_at: string;
5430
+ }>;
5431
+ };
5432
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5433
+ upload_id: string;
5434
+ expires_at: string;
5435
+ url: string;
5436
+ } | {
5437
+ upload_id: string;
5438
+ expires_at: string;
5439
+ part_size: number;
5440
+ parts: Array<{
5441
+ part_number: number;
5442
+ url: string;
5443
+ }>;
5444
+ complete_url: string;
5445
+ status_url: string;
5446
+ }>;
5447
+ };
3602
5448
  };
3603
5449
  export declare function createApplication(transport: Transport): {
3604
5450
  assets: {
@@ -3753,6 +5599,33 @@ export declare function createAutomation(transport: Transport): {
3753
5599
  restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
3754
5600
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
3755
5601
  update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
5602
+ vaults: {
5603
+ delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
5604
+ list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
5605
+ data: Array<{
5606
+ alias: string;
5607
+ vault: {
5608
+ id: string;
5609
+ name: string;
5610
+ };
5611
+ secrets: Array<{
5612
+ name: string;
5613
+ }>;
5614
+ secrets_unavailable?: true;
5615
+ }>;
5616
+ }>;
5617
+ set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
5618
+ alias: string;
5619
+ vault: {
5620
+ id: string;
5621
+ name: string;
5622
+ };
5623
+ secrets: Array<{
5624
+ name: string;
5625
+ }>;
5626
+ secrets_unavailable?: true;
5627
+ }>;
5628
+ };
3756
5629
  versions: {
3757
5630
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
3758
5631
  deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
@@ -3800,6 +5673,33 @@ export declare function createAutomation(transport: Transport): {
3800
5673
  restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
3801
5674
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
3802
5675
  update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
5676
+ vaults: {
5677
+ delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
5678
+ list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
5679
+ data: Array<{
5680
+ alias: string;
5681
+ vault: {
5682
+ id: string;
5683
+ name: string;
5684
+ };
5685
+ secrets: Array<{
5686
+ name: string;
5687
+ }>;
5688
+ secrets_unavailable?: true;
5689
+ }>;
5690
+ }>;
5691
+ set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
5692
+ alias: string;
5693
+ vault: {
5694
+ id: string;
5695
+ name: string;
5696
+ };
5697
+ secrets: Array<{
5698
+ name: string;
5699
+ }>;
5700
+ secrets_unavailable?: true;
5701
+ }>;
5702
+ };
3803
5703
  versions: {
3804
5704
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
3805
5705
  deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
@@ -3809,6 +5709,11 @@ export declare function createAutomation(transport: Transport): {
3809
5709
  };
3810
5710
  };
3811
5711
  };
5712
+ export declare function createBilling(transport: Transport): {
5713
+ prices: {
5714
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5715
+ };
5716
+ };
3812
5717
  export declare function createBrowser(transport: Transport): {
3813
5718
  connect: {
3814
5719
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3832,6 +5737,49 @@ export declare function createBrowser(transport: Transport): {
3832
5737
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3833
5738
  };
3834
5739
  sessions: {
5740
+ actions: {
5741
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5742
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5743
+ tab: string;
5744
+ url: string;
5745
+ title: string;
5746
+ } | {
5747
+ type: "select";
5748
+ tab: string;
5749
+ values: Array<string>;
5750
+ } | {
5751
+ type: "tabs.list";
5752
+ tabs: Array<{
5753
+ id: string;
5754
+ url: string;
5755
+ title: string;
5756
+ active: boolean;
5757
+ }>;
5758
+ } | {
5759
+ type: "snapshot";
5760
+ tab: string;
5761
+ url: string;
5762
+ title: string;
5763
+ snapshot: string;
5764
+ refs: number;
5765
+ truncated: boolean;
5766
+ } | {
5767
+ type: "screenshot";
5768
+ tab: string;
5769
+ mediaType: "image/png";
5770
+ data: string;
5771
+ bytes: number;
5772
+ } | {
5773
+ type: "evaluate";
5774
+ tab: string;
5775
+ value: unknown;
5776
+ } | {
5777
+ type: "set_cookie";
5778
+ tab: string;
5779
+ name: string;
5780
+ domain: string;
5781
+ }>;
5782
+ };
3835
5783
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3836
5784
  events: {
3837
5785
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3839,6 +5787,7 @@ export declare function createBrowser(transport: Transport): {
3839
5787
  nextCursor: string | null;
3840
5788
  }>;
3841
5789
  };
5790
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3842
5791
  handoff: {
3843
5792
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3844
5793
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3849,6 +5798,7 @@ export declare function createBrowser(transport: Transport): {
3849
5798
  }>;
3850
5799
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3851
5800
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5801
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3852
5802
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3853
5803
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3854
5804
  viewer: {
@@ -3858,6 +5808,187 @@ export declare function createBrowser(transport: Transport): {
3858
5808
  };
3859
5809
  };
3860
5810
  };
5811
+ export declare function createCanvas(transport: Transport): {
5812
+ canvases: {
5813
+ create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
5814
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
5815
+ execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
5816
+ images: {
5817
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
5818
+ };
5819
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
5820
+ nodes: {
5821
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
5822
+ };
5823
+ restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
5824
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
5825
+ update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
5826
+ versions: {
5827
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListVersionsData>) => Promise<Types.CanvasVersionPage>;
5828
+ };
5829
+ };
5830
+ collections: {
5831
+ create: (options: import("./core/transport.js").CallOptions<Types.CanvasCreateCollectionData>) => Promise<Types.CanvasCollection>;
5832
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCollectionData>) => Promise<Types.CanvasDeletedCollection>;
5833
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCollectionsData> | undefined) => Promise<Types.CanvasCollectionPage>;
5834
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
5835
+ update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
5836
+ };
5837
+ };
5838
+ export declare function createContent(transport: Transport): {
5839
+ contents: {
5840
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5841
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5842
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5843
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5844
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5845
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5846
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5847
+ };
5848
+ playbackSessions: {
5849
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5850
+ };
5851
+ versions: {
5852
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5853
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5854
+ };
5855
+ };
5856
+ export declare function createCrm(transport: Transport): {
5857
+ associations: {
5858
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
5859
+ createDefault: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateDefaultData>) => Promise<Types.CrmAssociationsBatchResponsePublicDefaultAssociation & Types.CrmWriteResult>;
5860
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsListData>) => Promise<Types.CrmAssociationsCollectionResponseMultiAssociatedObjectWithLabelForwardPaging>;
5861
+ remove: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsRemoveData>) => Promise<Types.CrmWriteResult>;
5862
+ };
5863
+ changes: {
5864
+ revert: (options: import("./core/transport.js").CallOptions<Types.CrmChangesRevertData>) => Promise<Types.CrmWriteResult>;
5865
+ };
5866
+ layouts: {
5867
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsRetrieveData>) => Promise<Types.CrmLayout>;
5868
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsUpdateData>) => Promise<Types.CrmLayout & Types.CrmWriteResult>;
5869
+ };
5870
+ leads: {
5871
+ qualify: (options: import("./core/transport.js").CallOptions<Types.CrmLeadsQualifyData>) => Promise<Types.CrmWriteResult>;
5872
+ };
5873
+ objects: {
5874
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsArchiveData>) => Promise<Types.CrmWriteResult>;
5875
+ batch: {
5876
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchArchiveData>) => Promise<Types.CrmWriteResult>;
5877
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchCreateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
5878
+ read: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchReadData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject>;
5879
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpdateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
5880
+ upsert: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpsertData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicUpsertObject & Types.CrmWriteResult>;
5881
+ };
5882
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsCreateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
5883
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsListData>) => Promise<Types.CrmObjectsCollectionResponseSimplePublicObjectWithAssociationsForwardPaging>;
5884
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsRetrieveData>) => Promise<Types.CrmObjectsSimplePublicObjectWithAssociations>;
5885
+ search: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsSearchData>) => Promise<Types.CrmObjectsCollectionResponseWithTotalSimplePublicObject>;
5886
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsUpdateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
5887
+ };
5888
+ pipelines: {
5889
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesArchiveData>) => Promise<Types.CrmWriteResult>;
5890
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesCreateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
5891
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesListData>) => Promise<Types.CrmPipelinesCollectionResponsePipelineNoPaging>;
5892
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesRetrieveData>) => Promise<Types.CrmPipelinesPipeline>;
5893
+ stages: {
5894
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesArchiveData>) => Promise<Types.CrmWriteResult>;
5895
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesCreateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
5896
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesUpdateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
5897
+ };
5898
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesUpdateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
5899
+ };
5900
+ properties: {
5901
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesArchiveData>) => Promise<Types.CrmWriteResult>;
5902
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesCreateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
5903
+ groups: {
5904
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsCreateData>) => Promise<Types.CrmPropertiesPropertyGroup & Types.CrmWriteResult>;
5905
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyGroupNoPaging>;
5906
+ };
5907
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyNoPaging>;
5908
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesRetrieveData>) => Promise<Types.CrmPropertiesProperty>;
5909
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesUpdateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
5910
+ };
5911
+ schemas: {
5912
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmSchemasCreateData>) => Promise<Types.CrmSchemasObjectSchema & Types.CrmWriteResult>;
5913
+ list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
5914
+ };
5915
+ };
5916
+ export declare function createCustomer(transport: Transport): {
5917
+ accessTokens: {
5918
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5919
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5920
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5921
+ };
5922
+ customers: {
5923
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5924
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5925
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5926
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5927
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5928
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5929
+ };
5930
+ grantCodes: {
5931
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5932
+ };
5933
+ publishableKeys: {
5934
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5935
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5936
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5937
+ };
5938
+ usage: {
5939
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5940
+ };
5941
+ };
5942
+ export declare function createCut(transport: Transport): {
5943
+ exports: {
5944
+ cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
5945
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
5946
+ };
5947
+ projects: {
5948
+ analysis: {
5949
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5950
+ kind: "cut-AnalysisResult";
5951
+ } & Types.CutAnalysisResult>;
5952
+ };
5953
+ bindings: {
5954
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
5955
+ delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
5956
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
5957
+ };
5958
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
5959
+ delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
5960
+ execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
5961
+ exports: {
5962
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
5963
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
5964
+ };
5965
+ frames: {
5966
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
5967
+ };
5968
+ list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
5969
+ media: {
5970
+ import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
5971
+ };
5972
+ renders: {
5973
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5974
+ };
5975
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
5976
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
5977
+ retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
5978
+ undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
5979
+ update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
5980
+ versions: {
5981
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
5982
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
5983
+ };
5984
+ };
5985
+ renders: {
5986
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5987
+ };
5988
+ versions: {
5989
+ restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
5990
+ };
5991
+ };
3861
5992
  export declare function createDatabase(transport: Transport): {
3862
5993
  databases: {
3863
5994
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
@@ -3903,8 +6034,197 @@ export declare function createDatabase(transport: Transport): {
3903
6034
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
3904
6035
  };
3905
6036
  };
6037
+ export declare function createDevops(transport: Transport): {
6038
+ changes: {
6039
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6040
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
6041
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6042
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
6043
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6044
+ };
6045
+ connections: {
6046
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6047
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6048
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6049
+ repositories: {
6050
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6051
+ };
6052
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6053
+ };
6054
+ environments: {
6055
+ checkpoints: {
6056
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6057
+ };
6058
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6059
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6060
+ };
6061
+ flags: {
6062
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6063
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6064
+ environments: {
6065
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6066
+ };
6067
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6068
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6069
+ };
6070
+ progressiveRollouts: {
6071
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6072
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6073
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6074
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6075
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6076
+ };
6077
+ projects: {
6078
+ changes: {
6079
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6080
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6081
+ };
6082
+ environments: {
6083
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6084
+ targets: {
6085
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6086
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6087
+ state: {
6088
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6089
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6090
+ lock: {
6091
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6092
+ };
6093
+ };
6094
+ };
6095
+ };
6096
+ flags: {
6097
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6098
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6099
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6100
+ };
6101
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6102
+ promotions: {
6103
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6104
+ };
6105
+ pullRequests: {
6106
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6107
+ };
6108
+ releases: {
6109
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6110
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6111
+ };
6112
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6113
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6114
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6115
+ segments: {
6116
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6117
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6118
+ };
6119
+ targets: {
6120
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6121
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6122
+ };
6123
+ testCases: {
6124
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6125
+ };
6126
+ testPlans: {
6127
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6128
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6129
+ };
6130
+ testReports: {
6131
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6132
+ };
6133
+ testRuns: {
6134
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6135
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6136
+ };
6137
+ testSuites: {
6138
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6139
+ };
6140
+ units: {
6141
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6142
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6143
+ };
6144
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6145
+ workspaces: {
6146
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6147
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6148
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6149
+ };
6150
+ };
6151
+ promotions: {
6152
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6153
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6154
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6155
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6156
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6157
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6158
+ rollouts: {
6159
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6160
+ };
6161
+ };
6162
+ pullRequests: {
6163
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6164
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6165
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6166
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6167
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6168
+ };
6169
+ releases: {
6170
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6171
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6172
+ };
6173
+ rollouts: {
6174
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6175
+ };
6176
+ segments: {
6177
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6178
+ };
6179
+ testCases: {
6180
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6181
+ };
6182
+ testPlans: {
6183
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6184
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6185
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6186
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6187
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6188
+ };
6189
+ testRuns: {
6190
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6191
+ executions: {
6192
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6193
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6194
+ };
6195
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6196
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6197
+ };
6198
+ testSuites: {
6199
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6200
+ };
6201
+ units: {
6202
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6203
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6204
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6205
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6206
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6207
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6208
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6209
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6210
+ transitions: {
6211
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6212
+ };
6213
+ };
6214
+ };
3906
6215
  export declare function createFile(transport: Transport): {
3907
6216
  files: {
6217
+ contentLinks: {
6218
+ revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
6219
+ revoked: true;
6220
+ }>;
6221
+ };
6222
+ contentUrl: {
6223
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
6224
+ url: string;
6225
+ expires_at: string;
6226
+ }>;
6227
+ };
3908
6228
  create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
3909
6229
  delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
3910
6230
  list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
@@ -3915,9 +6235,11 @@ export declare function createFile(transport: Transport): {
3915
6235
  cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3916
6236
  complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3917
6237
  create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
6238
+ createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
3918
6239
  parts: {
3919
6240
  create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
3920
6241
  };
6242
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3921
6243
  };
3922
6244
  };
3923
6245
  export declare function createKnowledge(transport: Transport): {
@@ -3965,11 +6287,33 @@ export declare function createKnowledge(transport: Transport): {
3965
6287
  };
3966
6288
  };
3967
6289
  export declare function createMedia(transport: Transport): {
6290
+ assets: {
6291
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6292
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6293
+ };
6294
+ generation: {
6295
+ capabilities: {
6296
+ list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
6297
+ };
6298
+ };
6299
+ images: {
6300
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6301
+ };
3968
6302
  libraries: {
3969
6303
  assets: {
6304
+ align: {
6305
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6306
+ };
3970
6307
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
3971
6308
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
3972
6309
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
6310
+ frames: {
6311
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
6312
+ };
6313
+ hls: {
6314
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6315
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6316
+ };
3973
6317
  import: {
3974
6318
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
3975
6319
  };
@@ -3982,6 +6326,9 @@ export declare function createMedia(transport: Transport): {
3982
6326
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
3983
6327
  };
3984
6328
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6329
+ versions: {
6330
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6331
+ };
3985
6332
  };
3986
6333
  batches: {
3987
6334
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -3989,6 +6336,9 @@ export declare function createMedia(transport: Transport): {
3989
6336
  };
3990
6337
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
3991
6338
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
6339
+ deliveryTokens: {
6340
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
6341
+ };
3992
6342
  events: {
3993
6343
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
3994
6344
  };
@@ -3996,14 +6346,22 @@ export declare function createMedia(transport: Transport): {
3996
6346
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
3997
6347
  };
3998
6348
  jobs: {
6349
+ cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
6350
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
3999
6351
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4000
6352
  };
4001
6353
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6354
+ materials: {
6355
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6356
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6357
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6358
+ };
4002
6359
  purge: {
4003
6360
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4004
6361
  };
4005
6362
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4006
6363
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6364
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4007
6365
  search: {
4008
6366
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4009
6367
  expression: {
@@ -4016,10 +6374,41 @@ export declare function createMedia(transport: Transport): {
4016
6374
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4017
6375
  };
4018
6376
  };
6377
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
6378
+ understandings: {
6379
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
6380
+ retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
6381
+ };
4019
6382
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6383
+ voices: {
6384
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6385
+ designs: {
6386
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6387
+ };
6388
+ };
6389
+ };
6390
+ speech: {
6391
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6392
+ };
6393
+ videos: {
6394
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4020
6395
  };
4021
6396
  };
4022
6397
  export declare function createMeta(transport: Transport): {
6398
+ docs: {
6399
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
6400
+ path: string;
6401
+ title: string;
6402
+ url: string;
6403
+ markdown: string;
6404
+ }>;
6405
+ search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
6406
+ path: string;
6407
+ title: string;
6408
+ url: string;
6409
+ snippet: string;
6410
+ }[]>;
6411
+ };
4023
6412
  health: {
4024
6413
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
4025
6414
  };
@@ -4055,11 +6444,17 @@ export declare function createModel(transport: Transport): {
4055
6444
  start: number;
4056
6445
  end: number;
4057
6446
  text: string;
6447
+ speaker?: string;
4058
6448
  temperature?: number;
4059
6449
  avg_logprob?: number;
4060
6450
  compression_ratio?: number;
4061
6451
  no_speech_prob?: number;
4062
6452
  }>;
6453
+ words?: Array<{
6454
+ word: string;
6455
+ start: number;
6456
+ end: number;
6457
+ }>;
4063
6458
  }>;
4064
6459
  };
4065
6460
  };
@@ -4197,7 +6592,35 @@ export declare function createModel(transport: Transport): {
4197
6592
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4198
6593
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4199
6594
  };
6595
+ modelAccess: {
6596
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6597
+ items: Array<{
6598
+ model: string;
6599
+ access_required: boolean;
6600
+ granted: boolean;
6601
+ granted_by: string | null;
6602
+ granted_at: string | null;
6603
+ sell_input_price: number | null;
6604
+ sell_output_price: number | null;
6605
+ }>;
6606
+ }>;
6607
+ };
4200
6608
  models: {
6609
+ access: {
6610
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6611
+ model: string;
6612
+ revoked: true;
6613
+ }>;
6614
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6615
+ model: string;
6616
+ access_required: boolean;
6617
+ granted: true;
6618
+ granted_by: string;
6619
+ granted_at: string;
6620
+ sell_input_price: number | null;
6621
+ sell_output_price: number | null;
6622
+ }>;
6623
+ };
4201
6624
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4202
6625
  object: "list";
4203
6626
  data: Array<{
@@ -4212,6 +6635,7 @@ export declare function createModel(transport: Transport): {
4212
6635
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4213
6636
  supported_apis: Array<string>;
4214
6637
  tags: Array<string>;
6638
+ access_required: boolean;
4215
6639
  architecture: {
4216
6640
  modality: string;
4217
6641
  input_modalities: Array<string>;
@@ -4258,6 +6682,7 @@ export declare function createModel(transport: Transport): {
4258
6682
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4259
6683
  supported_apis: Array<string>;
4260
6684
  tags: Array<string>;
6685
+ access_required: boolean;
4261
6686
  architecture: {
4262
6687
  modality: string;
4263
6688
  input_modalities: Array<string>;
@@ -4429,6 +6854,39 @@ export declare function createModel(transport: Transport): {
4429
6854
  [key: string]: unknown;
4430
6855
  }>;
4431
6856
  };
6857
+ systemone: {
6858
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSystemoneData>) => Promise<{
6859
+ model: string;
6860
+ answers: {
6861
+ [key: string]: {
6862
+ type: "noul";
6863
+ noul: number;
6864
+ } | {
6865
+ type: "choice";
6866
+ choice: string;
6867
+ confidence: number;
6868
+ probabilities: {
6869
+ [key: string]: number;
6870
+ };
6871
+ } | {
6872
+ type: "score";
6873
+ score: number;
6874
+ confidence: number;
6875
+ legend: {
6876
+ [key: string]: unknown;
6877
+ };
6878
+ probabilities: {
6879
+ [key: string]: number;
6880
+ };
6881
+ };
6882
+ };
6883
+ usage: {
6884
+ input_tokens: number;
6885
+ output_tokens: number;
6886
+ cost: number;
6887
+ };
6888
+ }>;
6889
+ };
4432
6890
  videos: {
4433
6891
  create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
4434
6892
  id: string;
@@ -4451,6 +6909,7 @@ export declare function createModel(transport: Transport): {
4451
6909
  unsigned_urls: Array<string>;
4452
6910
  usage?: {
4453
6911
  cost: number;
6912
+ billed_seconds?: number;
4454
6913
  };
4455
6914
  }>;
4456
6915
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4481,6 +6940,7 @@ export declare function createModel(transport: Transport): {
4481
6940
  unsigned_urls: Array<string>;
4482
6941
  usage?: {
4483
6942
  cost: number;
6943
+ billed_seconds?: number;
4484
6944
  };
4485
6945
  }>;
4486
6946
  has_more: boolean;
@@ -4509,12 +6969,61 @@ export declare function createModel(transport: Transport): {
4509
6969
  unsigned_urls: Array<string>;
4510
6970
  usage?: {
4511
6971
  cost: number;
6972
+ billed_seconds?: number;
4512
6973
  };
4513
6974
  }>;
4514
6975
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
4515
6976
  };
4516
6977
  };
6978
+ export declare function createOntology(transport: Transport): {
6979
+ changesets: {
6980
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
6981
+ };
6982
+ nodes: {
6983
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
6984
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
6985
+ merge: {
6986
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
6987
+ };
6988
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6989
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
6990
+ update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
6991
+ };
6992
+ relations: {
6993
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
6994
+ invalidate: {
6995
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
6996
+ };
6997
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
6998
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
6999
+ };
7000
+ search: {
7001
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
7002
+ };
7003
+ types: {
7004
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
7005
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
7006
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
7007
+ };
7008
+ };
4517
7009
  export declare function createOrganization(transport: Transport): {
7010
+ actors: {
7011
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
7012
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
7013
+ };
7014
+ assignments: {
7015
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
7016
+ makePrimary: {
7017
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7018
+ };
7019
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7020
+ terminate: {
7021
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7022
+ };
7023
+ transfer: {
7024
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7025
+ };
7026
+ };
4518
7027
  charges: {
4519
7028
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
4520
7029
  ChargePeriodStart: string;
@@ -4556,6 +7065,16 @@ export declare function createOrganization(transport: Transport): {
4556
7065
  next_page: string | null;
4557
7066
  }>;
4558
7067
  };
7068
+ departments: {
7069
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7070
+ dissolve: {
7071
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7072
+ };
7073
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7074
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7075
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7076
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7077
+ };
4559
7078
  events: {
4560
7079
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
4561
7080
  object: "page";
@@ -4758,6 +7277,86 @@ export declare function createOrganization(transport: Transport): {
4758
7277
  }>;
4759
7278
  }>;
4760
7279
  };
7280
+ jobs: {
7281
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7282
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7283
+ retire: {
7284
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7285
+ };
7286
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7287
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7288
+ };
7289
+ keyResults: {
7290
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7291
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7292
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7293
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7294
+ };
7295
+ ladders: {
7296
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7297
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7298
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7299
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7300
+ };
7301
+ members: {
7302
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
7303
+ data: Array<{
7304
+ id: string;
7305
+ name: string | null;
7306
+ email: string;
7307
+ role: "owner" | "admin" | "member";
7308
+ joined_at: string;
7309
+ }>;
7310
+ has_more: boolean;
7311
+ next_page: string | null;
7312
+ }>;
7313
+ };
7314
+ objectives: {
7315
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7316
+ grade: {
7317
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7318
+ };
7319
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7320
+ parents: {
7321
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7322
+ };
7323
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7324
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7325
+ };
7326
+ periods: {
7327
+ close: {
7328
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7329
+ };
7330
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7331
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7332
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7333
+ };
7334
+ positions: {
7335
+ close: {
7336
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7337
+ };
7338
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7339
+ designateHead: {
7340
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7341
+ };
7342
+ freeze: {
7343
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7344
+ };
7345
+ hire: {
7346
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7347
+ };
7348
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7349
+ replaceHolder: {
7350
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7351
+ };
7352
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7353
+ unfreeze: {
7354
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7355
+ };
7356
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7357
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7358
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7359
+ };
4761
7360
  usage: {
4762
7361
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
4763
7362
  object: "page";
@@ -4781,8 +7380,81 @@ export declare function createOrganization(transport: Transport): {
4781
7380
  }>;
4782
7381
  };
4783
7382
  };
7383
+ export declare function createRegistry(transport: Transport): {
7384
+ installations: {
7385
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7386
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7387
+ };
7388
+ packages: {
7389
+ git: {
7390
+ commits: {
7391
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7392
+ };
7393
+ files: {
7394
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7395
+ };
7396
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7397
+ trees: {
7398
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7399
+ };
7400
+ };
7401
+ installations: {
7402
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7403
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7404
+ };
7405
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7406
+ versions: {
7407
+ contents: {
7408
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7409
+ };
7410
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7411
+ files: {
7412
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7413
+ };
7414
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7415
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7416
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7417
+ };
7418
+ };
7419
+ repositories: {
7420
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7421
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7422
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7423
+ packages: {
7424
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7425
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7426
+ };
7427
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7428
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7429
+ };
7430
+ };
4784
7431
  export declare function createSandbox(transport: Transport): {
7432
+ events: {
7433
+ sandboxes: {
7434
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7435
+ };
7436
+ };
4785
7437
  sandboxes: {
7438
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7439
+ type: "snapshot";
7440
+ snapshot: string;
7441
+ refs: number;
7442
+ truncated: boolean;
7443
+ package: string;
7444
+ } | {
7445
+ type: "screenshot";
7446
+ mediaType: string;
7447
+ data: string;
7448
+ width: number;
7449
+ height: number;
7450
+ bytes: number;
7451
+ } | {
7452
+ type: "ok";
7453
+ ms?: number;
7454
+ } | {
7455
+ type: "wait";
7456
+ ms: number;
7457
+ }>;
4786
7458
  commands: {
4787
7459
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
4788
7460
  stdout: string;
@@ -4860,6 +7532,20 @@ export declare function createSandbox(transport: Transport): {
4860
7532
  snapshots: {
4861
7533
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
4862
7534
  };
7535
+ tasks: {
7536
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7537
+ taskId: string;
7538
+ instanceId: string;
7539
+ startedAt: number;
7540
+ }>;
7541
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7542
+ text: string;
7543
+ nextOffset: number;
7544
+ done: boolean;
7545
+ exitCode: number | null;
7546
+ size: number | null;
7547
+ }>;
7548
+ };
4863
7549
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
4864
7550
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
4865
7551
  name: string;
@@ -4874,7 +7560,43 @@ export declare function createSandbox(transport: Transport): {
4874
7560
  list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
4875
7561
  };
4876
7562
  templates: {
4877
- list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1TemplatesData> | undefined) => Promise<Types.SandboxTemplate[]>;
7563
+ aliases: {
7564
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
7565
+ };
7566
+ builds: {
7567
+ status: {
7568
+ list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
7569
+ };
7570
+ update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
7571
+ };
7572
+ create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
7573
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
7574
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
7575
+ templateID: string;
7576
+ buildID: string;
7577
+ cpuCount: Types.SandboxCpuCount;
7578
+ memoryMB: Types.SandboxMemoryMb;
7579
+ diskSizeMB: Types.SandboxDiskSizeMb;
7580
+ public: boolean;
7581
+ aliases: Array<string>;
7582
+ names: Array<string>;
7583
+ createdAt: string;
7584
+ updatedAt: string;
7585
+ createdBy: Types.SandboxTeamUser;
7586
+ lastSpawnedAt: string;
7587
+ spawnCount: number;
7588
+ buildCount: number;
7589
+ envdVersion: Types.SandboxEnvdVersion;
7590
+ buildStatus: Types.SandboxTemplateBuildStatus;
7591
+ official: boolean;
7592
+ sourceKind?: "dockerfile" | "image" | "snapshot";
7593
+ }[]>;
7594
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
7595
+ tags: {
7596
+ create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
7597
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
7598
+ list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
7599
+ };
4878
7600
  };
4879
7601
  volumes: {
4880
7602
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
@@ -4962,6 +7684,131 @@ export declare function createSearch(transport: Transport): {
4962
7684
  }>;
4963
7685
  };
4964
7686
  };
7687
+ export declare function createShare(transport: Transport): {
7688
+ permissions: {
7689
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7690
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7691
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7692
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7693
+ };
7694
+ };
7695
+ export declare function createStudio(transport: Transport): {
7696
+ codexes: {
7697
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7698
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7699
+ entries: {
7700
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7701
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7702
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7703
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7704
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7705
+ };
7706
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7707
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7708
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7709
+ };
7710
+ genres: {
7711
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7712
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7713
+ };
7714
+ platforms: {
7715
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7716
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7717
+ };
7718
+ styles: {
7719
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7720
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7721
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7722
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7723
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7724
+ };
7725
+ templates: {
7726
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7727
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7728
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7729
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7730
+ };
7731
+ themes: {
7732
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7733
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7734
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7735
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7736
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7737
+ };
7738
+ works: {
7739
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7740
+ drafts: {
7741
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7742
+ foreshadows: {
7743
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7744
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7745
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7746
+ };
7747
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7748
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7749
+ renditions: {
7750
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7751
+ };
7752
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7753
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7754
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7755
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7756
+ status: {
7757
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7758
+ };
7759
+ units: {
7760
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7761
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7762
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7763
+ };
7764
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7765
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7766
+ };
7767
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7768
+ progressions: {
7769
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7770
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7771
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7772
+ };
7773
+ renditions: {
7774
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7775
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7776
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7777
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7778
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7779
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7780
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7781
+ };
7782
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7783
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7784
+ reviewSettings: {
7785
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7786
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7787
+ };
7788
+ reviewers: {
7789
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7790
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7791
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7792
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7793
+ };
7794
+ reviews: {
7795
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7796
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7797
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7798
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7799
+ };
7800
+ units: {
7801
+ blocks: {
7802
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7803
+ };
7804
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7805
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7806
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7807
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7808
+ };
7809
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7810
+ };
7811
+ };
4965
7812
  export declare function createTicket(transport: Transport): {
4966
7813
  activity: {
4967
7814
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5006,6 +7853,7 @@ export declare function createTicket(transport: Transport): {
5006
7853
  repositories: Array<Types.TicketRepository>;
5007
7854
  next_page_token: string;
5008
7855
  }>;
7856
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5009
7857
  };
5010
7858
  tickets: {
5011
7859
  comments: {
@@ -5135,16 +7983,27 @@ export declare const resourceFactories: {
5135
7983
  agent: typeof createAgent;
5136
7984
  application: typeof createApplication;
5137
7985
  automation: typeof createAutomation;
7986
+ billing: typeof createBilling;
5138
7987
  browser: typeof createBrowser;
7988
+ canvas: typeof createCanvas;
7989
+ content: typeof createContent;
7990
+ crm: typeof createCrm;
7991
+ customer: typeof createCustomer;
7992
+ cut: typeof createCut;
5139
7993
  database: typeof createDatabase;
7994
+ devops: typeof createDevops;
5140
7995
  file: typeof createFile;
5141
7996
  knowledge: typeof createKnowledge;
5142
7997
  media: typeof createMedia;
5143
7998
  meta: typeof createMeta;
5144
7999
  model: typeof createModel;
8000
+ ontology: typeof createOntology;
5145
8001
  organization: typeof createOrganization;
8002
+ registry: typeof createRegistry;
5146
8003
  sandbox: typeof createSandbox;
5147
8004
  search: typeof createSearch;
8005
+ share: typeof createShare;
8006
+ studio: typeof createStudio;
5148
8007
  ticket: typeof createTicket;
5149
8008
  vault: typeof createVault;
5150
8009
  };