@deepraxis/sdk 0.1.1-dev.d3030b1 → 0.1.1-dev.d326820

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.
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
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
23
  multiagent?: null | Types.AgentManaged39;
@@ -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" | "ticket" | "crm" | "canvas" | "cut";
50
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
51
  readonly verified?: boolean;
50
52
  enabled?: boolean;
51
53
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
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,7 +153,6 @@ export declare function createAgent(transport: Transport): {
151
153
  mcpServers?: Array<string>;
152
154
  hooks?: Array<string>;
153
155
  };
154
- idleCompaction?: boolean;
155
156
  outputStyle?: string;
156
157
  } | null;
157
158
  models?: {
@@ -159,6 +160,7 @@ export declare function createAgent(transport: Transport): {
159
160
  };
160
161
  avatar: string | null;
161
162
  creation_source: string | null;
163
+ managed_by: string | null;
162
164
  identity_number: string | null;
163
165
  environment_id?: string | null;
164
166
  vault_ids?: Array<string>;
@@ -170,6 +172,22 @@ export declare function createAgent(transport: Transport): {
170
172
  keep_coding_instructions?: boolean;
171
173
  }> | null;
172
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
+ };
173
191
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
192
  id: string;
175
193
  archived_at: null | string;
@@ -184,6 +202,7 @@ export declare function createAgent(transport: Transport): {
184
202
  speed?: "standard" | "fast";
185
203
  settings?: {
186
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
187
206
  };
188
207
  };
189
208
  multiagent?: null | Types.AgentManaged39;
@@ -208,18 +227,25 @@ export declare function createAgent(transport: Transport): {
208
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
209
228
  id: string;
210
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
211
231
  instructions?: string;
212
232
  readonly verified?: boolean;
213
233
  enabled?: boolean;
214
234
  } | {
215
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
236
  readonly verified?: boolean;
217
237
  enabled?: boolean;
218
238
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
239
+ kind: "general" | "service" | "assume";
240
+ computers?: {
241
+ default: string;
242
+ allowed: Array<{
243
+ template: string;
244
+ name: string;
245
+ }>;
246
+ };
220
247
  computer_id?: string;
221
248
  subagent_model?: string | null;
222
- image_model?: string | null;
223
249
  subagents?: Array<{
224
250
  name: string;
225
251
  description: string;
@@ -310,6 +336,7 @@ export declare function createAgent(transport: Transport): {
310
336
  allowManagedHooksOnly?: boolean;
311
337
  allowManagedMcpServersOnly?: boolean;
312
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
313
340
  autoMemoryEnabled?: boolean;
314
341
  disabled?: {
315
342
  subagents?: Array<string>;
@@ -318,7 +345,6 @@ export declare function createAgent(transport: Transport): {
318
345
  mcpServers?: Array<string>;
319
346
  hooks?: Array<string>;
320
347
  };
321
- idleCompaction?: boolean;
322
348
  outputStyle?: string;
323
349
  } | null;
324
350
  models?: {
@@ -326,6 +352,7 @@ export declare function createAgent(transport: Transport): {
326
352
  };
327
353
  avatar: string | null;
328
354
  creation_source: string | null;
355
+ managed_by: string | null;
329
356
  identity_number: string | null;
330
357
  environment_id?: string | null;
331
358
  vault_ids?: Array<string>;
@@ -338,42 +365,6 @@ export declare function createAgent(transport: Transport): {
338
365
  }> | null;
339
366
  }>;
340
367
  customers: {
341
- auth: {
342
- accessTokens: {
343
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
344
- type: "customer_access_token";
345
- access_token: string;
346
- expires_at: string;
347
- session_expires_at: string;
348
- customer: {
349
- id: string;
350
- type: "identified" | "anonymous";
351
- };
352
- }>;
353
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
354
- renew: {
355
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
356
- type: "customer_access_token";
357
- access_token: string;
358
- expires_at: string;
359
- session_expires_at: string;
360
- customer: {
361
- id: string;
362
- type: "identified" | "anonymous";
363
- };
364
- }>;
365
- };
366
- };
367
- grantCodes: {
368
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
369
- type: "customer_grant_code";
370
- code: string;
371
- customer_id: string;
372
- expires_at: string;
373
- hosted_url?: string;
374
- }>;
375
- };
376
- };
377
368
  block: {
378
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
370
  id: string;
@@ -465,6 +456,245 @@ export declare function createAgent(transport: Transport): {
465
456
  }>;
466
457
  };
467
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
+ next_page: string | null;
662
+ }>;
663
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
664
+ data?: Array<{
665
+ id: string;
666
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
667
+ type: "user.message";
668
+ processed_at?: null | string;
669
+ praxis_context?: {
670
+ items: Array<{
671
+ name: string;
672
+ value: string;
673
+ }>;
674
+ };
675
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
676
+ id: string;
677
+ type: "user.steer";
678
+ event_id: string;
679
+ processed_at: string;
680
+ }>;
681
+ }>;
682
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
683
+ };
684
+ inbox: {
685
+ letters: {
686
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
687
+ unread: number;
688
+ letters: Array<{
689
+ id: string;
690
+ sender: string;
691
+ summary: string;
692
+ thread: string | null;
693
+ create_time: string;
694
+ }>;
695
+ }>;
696
+ };
697
+ };
468
698
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
699
  data: Array<{
470
700
  id: string;
@@ -480,6 +710,7 @@ export declare function createAgent(transport: Transport): {
480
710
  speed?: "standard" | "fast";
481
711
  settings?: {
482
712
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
713
+ max_output_tokens?: number;
483
714
  };
484
715
  };
485
716
  multiagent?: null | Types.AgentManaged39;
@@ -504,18 +735,25 @@ export declare function createAgent(transport: Transport): {
504
735
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
505
736
  id: string;
506
737
  access: "read_only" | "read_write" | "invoke";
738
+ customer_access?: "read_only" | "read_write" | "invoke";
507
739
  instructions?: string;
508
740
  readonly verified?: boolean;
509
741
  enabled?: boolean;
510
742
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
743
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
744
  readonly verified?: boolean;
513
745
  enabled?: boolean;
514
746
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
747
+ kind: "general" | "service" | "assume";
748
+ computers?: {
749
+ default: string;
750
+ allowed: Array<{
751
+ template: string;
752
+ name: string;
753
+ }>;
754
+ };
516
755
  computer_id?: string;
517
756
  subagent_model?: string | null;
518
- image_model?: string | null;
519
757
  subagents?: Array<{
520
758
  name: string;
521
759
  description: string;
@@ -606,6 +844,7 @@ export declare function createAgent(transport: Transport): {
606
844
  allowManagedHooksOnly?: boolean;
607
845
  allowManagedMcpServersOnly?: boolean;
608
846
  allowManagedPermissionRulesOnly?: boolean;
847
+ idleCompaction?: boolean;
609
848
  autoMemoryEnabled?: boolean;
610
849
  disabled?: {
611
850
  subagents?: Array<string>;
@@ -614,7 +853,6 @@ export declare function createAgent(transport: Transport): {
614
853
  mcpServers?: Array<string>;
615
854
  hooks?: Array<string>;
616
855
  };
617
- idleCompaction?: boolean;
618
856
  outputStyle?: string;
619
857
  } | null;
620
858
  models?: {
@@ -622,6 +860,7 @@ export declare function createAgent(transport: Transport): {
622
860
  };
623
861
  avatar: string | null;
624
862
  creation_source: string | null;
863
+ managed_by: string | null;
625
864
  identity_number: string | null;
626
865
  environment_id?: string | null;
627
866
  vault_ids?: Array<string>;
@@ -635,6 +874,34 @@ export declare function createAgent(transport: Transport): {
635
874
  }>;
636
875
  next_page: string | null;
637
876
  }>;
877
+ phone: {
878
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
879
+ object: "agent_phone";
880
+ agent_id: string;
881
+ configured: boolean;
882
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
883
+ sku: string | null;
884
+ byod_device: string | null;
885
+ name: string | null;
886
+ sandbox_id: string | null;
887
+ lease_ends_at: string | null;
888
+ archived_at: string | null;
889
+ archive_error: string | null;
890
+ }>;
891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
892
+ object: "agent_phone";
893
+ agent_id: string;
894
+ configured: boolean;
895
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
896
+ sku: string | null;
897
+ byod_device: string | null;
898
+ name: string | null;
899
+ sandbox_id: string | null;
900
+ lease_ends_at: string | null;
901
+ archived_at: string | null;
902
+ archive_error: string | null;
903
+ }>;
904
+ };
638
905
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
906
  id: string;
640
907
  archived_at: null | string;
@@ -649,6 +916,7 @@ export declare function createAgent(transport: Transport): {
649
916
  speed?: "standard" | "fast";
650
917
  settings?: {
651
918
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
919
+ max_output_tokens?: number;
652
920
  };
653
921
  };
654
922
  multiagent?: null | Types.AgentManaged39;
@@ -674,18 +942,25 @@ export declare function createAgent(transport: Transport): {
674
942
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
675
943
  id: string;
676
944
  access: "read_only" | "read_write" | "invoke";
945
+ customer_access?: "read_only" | "read_write" | "invoke";
677
946
  instructions?: string;
678
947
  readonly verified?: boolean;
679
948
  enabled?: boolean;
680
949
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
950
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
951
  readonly verified?: boolean;
683
952
  enabled?: boolean;
684
953
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
954
+ kind: "general" | "service" | "assume";
955
+ computers?: {
956
+ default: string;
957
+ allowed: Array<{
958
+ template: string;
959
+ name: string;
960
+ }>;
961
+ };
686
962
  computer_id?: string;
687
963
  subagent_model?: string | null;
688
- image_model?: string | null;
689
964
  subagents?: Array<{
690
965
  name: string;
691
966
  description: string;
@@ -776,6 +1051,7 @@ export declare function createAgent(transport: Transport): {
776
1051
  allowManagedHooksOnly?: boolean;
777
1052
  allowManagedMcpServersOnly?: boolean;
778
1053
  allowManagedPermissionRulesOnly?: boolean;
1054
+ idleCompaction?: boolean;
779
1055
  autoMemoryEnabled?: boolean;
780
1056
  disabled?: {
781
1057
  subagents?: Array<string>;
@@ -784,7 +1060,6 @@ export declare function createAgent(transport: Transport): {
784
1060
  mcpServers?: Array<string>;
785
1061
  hooks?: Array<string>;
786
1062
  };
787
- idleCompaction?: boolean;
788
1063
  outputStyle?: string;
789
1064
  } | null;
790
1065
  models?: {
@@ -792,6 +1067,7 @@ export declare function createAgent(transport: Transport): {
792
1067
  };
793
1068
  avatar: string | null;
794
1069
  creation_source: string | null;
1070
+ managed_by: string | null;
795
1071
  identity_number: string | null;
796
1072
  environment_id?: string | null;
797
1073
  vault_ids?: Array<string>;
@@ -860,6 +1136,25 @@ export declare function createAgent(transport: Transport): {
860
1136
  history?: {
861
1137
  enabled?: boolean;
862
1138
  };
1139
+ uploads?: {
1140
+ enabled: boolean;
1141
+ max_file_bytes: number;
1142
+ max_files_per_session: number;
1143
+ };
1144
+ }>;
1145
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1146
+ allowed_origins: Array<string>;
1147
+ allow_localhost: boolean;
1148
+ uploads: {
1149
+ enabled: boolean;
1150
+ max_file_bytes: number;
1151
+ max_files_per_session: number;
1152
+ };
1153
+ share_links: {
1154
+ enabled: boolean;
1155
+ daily_session_cap: number | null;
1156
+ daily_spend_cap_micro_usd: number | null;
1157
+ };
863
1158
  }>;
864
1159
  unarchive: {
865
1160
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1208,7 @@ export declare function createAgent(transport: Transport): {
913
1208
  speed?: "standard" | "fast";
914
1209
  settings?: {
915
1210
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1211
+ max_output_tokens?: number;
916
1212
  };
917
1213
  };
918
1214
  multiagent?: null | {
@@ -1103,18 +1399,25 @@ export declare function createAgent(transport: Transport): {
1103
1399
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1104
1400
  id: string;
1105
1401
  access: "read_only" | "read_write" | "invoke";
1402
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1403
  instructions?: string;
1107
1404
  readonly verified?: boolean;
1108
1405
  enabled?: boolean;
1109
1406
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1407
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1408
  readonly verified?: boolean;
1112
1409
  enabled?: boolean;
1113
1410
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1411
+ kind: "general" | "service" | "assume";
1412
+ computers?: {
1413
+ default: string;
1414
+ allowed: Array<{
1415
+ template: string;
1416
+ name: string;
1417
+ }>;
1418
+ };
1115
1419
  computer_id?: string;
1116
1420
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1421
  subagents?: Array<{
1119
1422
  name: string;
1120
1423
  description: string;
@@ -1205,6 +1508,7 @@ export declare function createAgent(transport: Transport): {
1205
1508
  allowManagedHooksOnly?: boolean;
1206
1509
  allowManagedMcpServersOnly?: boolean;
1207
1510
  allowManagedPermissionRulesOnly?: boolean;
1511
+ idleCompaction?: boolean;
1208
1512
  autoMemoryEnabled?: boolean;
1209
1513
  disabled?: {
1210
1514
  subagents?: Array<string>;
@@ -1213,7 +1517,6 @@ export declare function createAgent(transport: Transport): {
1213
1517
  mcpServers?: Array<string>;
1214
1518
  hooks?: Array<string>;
1215
1519
  };
1216
- idleCompaction?: boolean;
1217
1520
  outputStyle?: string;
1218
1521
  } | null;
1219
1522
  models?: {
@@ -1221,6 +1524,7 @@ export declare function createAgent(transport: Transport): {
1221
1524
  };
1222
1525
  avatar: string | null;
1223
1526
  creation_source: string | null;
1527
+ managed_by: string | null;
1224
1528
  identity_number: string | null;
1225
1529
  environment_id?: string | null;
1226
1530
  vault_ids?: Array<string>;
@@ -1247,6 +1551,7 @@ export declare function createAgent(transport: Transport): {
1247
1551
  speed?: "standard" | "fast";
1248
1552
  settings?: {
1249
1553
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1554
+ max_output_tokens?: number;
1250
1555
  };
1251
1556
  };
1252
1557
  multiagent?: null | Types.AgentManaged39;
@@ -1272,18 +1577,25 @@ export declare function createAgent(transport: Transport): {
1272
1577
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1273
1578
  id: string;
1274
1579
  access: "read_only" | "read_write" | "invoke";
1580
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1581
  instructions?: string;
1276
1582
  readonly verified?: boolean;
1277
1583
  enabled?: boolean;
1278
1584
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1585
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1586
  readonly verified?: boolean;
1281
1587
  enabled?: boolean;
1282
1588
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1589
+ kind: "general" | "service" | "assume";
1590
+ computers?: {
1591
+ default: string;
1592
+ allowed: Array<{
1593
+ template: string;
1594
+ name: string;
1595
+ }>;
1596
+ };
1284
1597
  computer_id?: string;
1285
1598
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1599
  subagents?: Array<{
1288
1600
  name: string;
1289
1601
  description: string;
@@ -1374,6 +1686,7 @@ export declare function createAgent(transport: Transport): {
1374
1686
  allowManagedHooksOnly?: boolean;
1375
1687
  allowManagedMcpServersOnly?: boolean;
1376
1688
  allowManagedPermissionRulesOnly?: boolean;
1689
+ idleCompaction?: boolean;
1377
1690
  autoMemoryEnabled?: boolean;
1378
1691
  disabled?: {
1379
1692
  subagents?: Array<string>;
@@ -1382,7 +1695,6 @@ export declare function createAgent(transport: Transport): {
1382
1695
  mcpServers?: Array<string>;
1383
1696
  hooks?: Array<string>;
1384
1697
  };
1385
- idleCompaction?: boolean;
1386
1698
  outputStyle?: string;
1387
1699
  } | null;
1388
1700
  models?: {
@@ -1390,6 +1702,7 @@ export declare function createAgent(transport: Transport): {
1390
1702
  };
1391
1703
  avatar: string | null;
1392
1704
  creation_source: string | null;
1705
+ managed_by: string | null;
1393
1706
  identity_number: string | null;
1394
1707
  environment_id?: string | null;
1395
1708
  vault_ids?: Array<string>;
@@ -1401,28 +1714,245 @@ export declare function createAgent(transport: Transport): {
1401
1714
  keep_coding_instructions?: boolean;
1402
1715
  }> | null;
1403
1716
  }>;
1717
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1718
+ allowed_origins: Array<string>;
1719
+ allow_localhost: boolean;
1720
+ uploads: {
1721
+ enabled: boolean;
1722
+ max_file_bytes: number;
1723
+ max_files_per_session: number;
1724
+ };
1725
+ share_links: {
1726
+ enabled: boolean;
1727
+ daily_session_cap: number | null;
1728
+ daily_spend_cap_micro_usd: number | null;
1729
+ };
1730
+ }>;
1404
1731
  versions: {
1405
1732
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1733
  id: string;
1407
1734
  archived_at: null | string;
1408
1735
  created_at: string;
1409
1736
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1737
+ mcp_servers: Array<{
1738
+ type: "url";
1739
+ name: string;
1740
+ url: string;
1741
+ headers?: {
1742
+ [key: string]: string;
1743
+ };
1744
+ timeout_ms?: number;
1745
+ } | {
1746
+ type: "sse";
1747
+ name: string;
1748
+ url: string;
1749
+ headers?: {
1750
+ [key: string]: string;
1751
+ };
1752
+ timeout_ms?: number;
1753
+ } | {
1754
+ type: "stdio";
1755
+ name: string;
1756
+ command: string;
1757
+ args?: Array<string>;
1758
+ env?: {
1759
+ [key: string]: string;
1760
+ };
1761
+ timeout_ms?: number;
1762
+ }>;
1763
+ metadata: {
1764
+ [key: string]: string;
1765
+ };
1412
1766
  model?: {
1413
1767
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1768
+ effort?: {
1769
+ type: "low";
1770
+ } | {
1771
+ type: "medium";
1772
+ } | {
1773
+ type: "high";
1774
+ } | {
1775
+ type: "xhigh";
1776
+ } | {
1777
+ type: "max";
1778
+ };
1415
1779
  inference_geo?: string;
1416
1780
  speed?: "standard" | "fast";
1417
1781
  settings?: {
1418
1782
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1783
+ max_output_tokens?: number;
1784
+ };
1785
+ };
1786
+ multiagent?: null | {
1787
+ agents: Array<{
1788
+ id: string;
1789
+ type: "agent";
1790
+ version: number;
1791
+ } | {
1792
+ model: string;
1793
+ type: "advisor";
1794
+ }>;
1795
+ type: "coordinator";
1796
+ };
1797
+ name: string;
1798
+ skills: Array<{
1799
+ skill_id: string;
1800
+ type: "anthropic";
1801
+ version: string;
1802
+ } | {
1803
+ skill_id: string;
1804
+ type: "custom";
1805
+ version: string;
1806
+ }>;
1807
+ system: null | string;
1808
+ tools: Array<{
1809
+ configs: Array<{
1810
+ enabled: boolean;
1811
+ name: "bash";
1812
+ permission_policy: {
1813
+ type: "always_allow";
1814
+ } | {
1815
+ type: "always_ask";
1816
+ } | {
1817
+ type: "auto";
1818
+ };
1819
+ type: "bash";
1820
+ } | {
1821
+ enabled: boolean;
1822
+ name: "edit";
1823
+ permission_policy: {
1824
+ type: "always_allow";
1825
+ } | {
1826
+ type: "always_ask";
1827
+ } | {
1828
+ type: "auto";
1829
+ };
1830
+ type: "edit";
1831
+ } | {
1832
+ enabled: boolean;
1833
+ name: "read";
1834
+ permission_policy: {
1835
+ type: "always_allow";
1836
+ } | {
1837
+ type: "always_ask";
1838
+ } | {
1839
+ type: "auto";
1840
+ };
1841
+ type: "read";
1842
+ } | {
1843
+ enabled: boolean;
1844
+ name: "write";
1845
+ permission_policy: {
1846
+ type: "always_allow";
1847
+ } | {
1848
+ type: "always_ask";
1849
+ } | {
1850
+ type: "auto";
1851
+ };
1852
+ type: "write";
1853
+ } | {
1854
+ enabled: boolean;
1855
+ name: "glob";
1856
+ permission_policy: {
1857
+ type: "always_allow";
1858
+ } | {
1859
+ type: "always_ask";
1860
+ } | {
1861
+ type: "auto";
1862
+ };
1863
+ type: "glob";
1864
+ } | {
1865
+ enabled: boolean;
1866
+ name: "grep";
1867
+ permission_policy: {
1868
+ type: "always_allow";
1869
+ } | {
1870
+ type: "always_ask";
1871
+ } | {
1872
+ type: "auto";
1873
+ };
1874
+ type: "grep";
1875
+ } | {
1876
+ enabled: boolean;
1877
+ name: "web_fetch";
1878
+ permission_policy: {
1879
+ type: "always_allow";
1880
+ } | {
1881
+ type: "always_ask";
1882
+ } | {
1883
+ type: "auto";
1884
+ };
1885
+ type: "web_fetch";
1886
+ allowed_domains?: Array<string>;
1887
+ blocked_domains?: Array<string>;
1888
+ max_content_tokens?: null | number;
1889
+ } | {
1890
+ enabled: boolean;
1891
+ name: "web_search";
1892
+ permission_policy: {
1893
+ type: "always_allow";
1894
+ } | {
1895
+ type: "always_ask";
1896
+ } | {
1897
+ type: "auto";
1898
+ };
1899
+ type: "web_search";
1900
+ allowed_domains?: Array<string>;
1901
+ blocked_domains?: Array<string>;
1902
+ user_location?: null | {
1903
+ type: "approximate";
1904
+ city?: null | string;
1905
+ country?: null | string;
1906
+ region?: null | string;
1907
+ timezone?: null | string;
1908
+ };
1909
+ } | {
1910
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1911
+ enabled: boolean;
1912
+ permission_policy: {
1913
+ type: "always_allow" | "always_ask";
1914
+ };
1915
+ }>;
1916
+ default_config: {
1917
+ enabled: boolean;
1918
+ permission_policy: {
1919
+ type: "always_allow";
1920
+ } | {
1921
+ type: "always_ask";
1922
+ } | {
1923
+ type: "auto";
1924
+ };
1419
1925
  };
1420
- };
1421
- multiagent?: null | Types.AgentManaged39;
1422
- name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1424
- system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1926
+ type: "agent_toolset_20260401";
1927
+ } | {
1928
+ type: "mcp_toolset";
1929
+ mcp_server_name: string;
1930
+ default_config?: {
1931
+ enabled?: boolean | null;
1932
+ permission_policy?: null | {
1933
+ type: "always_allow" | "always_ask";
1934
+ };
1935
+ } | null;
1936
+ configs?: Array<{
1937
+ name: string;
1938
+ enabled?: boolean | null;
1939
+ permission_policy?: null | {
1940
+ type: "always_allow" | "always_ask";
1941
+ };
1942
+ }> | null;
1943
+ } | {
1944
+ description: string;
1945
+ input_schema: {
1946
+ type: "object";
1947
+ properties?: null | {
1948
+ [key: string]: unknown;
1949
+ };
1950
+ required?: null | Array<string>;
1951
+ [key: string]: unknown;
1952
+ };
1953
+ name: string;
1954
+ type: "custom";
1955
+ }>;
1426
1956
  type: "agent";
1427
1957
  updated_at: string;
1428
1958
  version: number;
@@ -1441,18 +1971,25 @@ export declare function createAgent(transport: Transport): {
1441
1971
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1442
1972
  id: string;
1443
1973
  access: "read_only" | "read_write" | "invoke";
1974
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
1975
  instructions?: string;
1445
1976
  readonly verified?: boolean;
1446
1977
  enabled?: boolean;
1447
1978
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1979
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1980
  readonly verified?: boolean;
1450
1981
  enabled?: boolean;
1451
1982
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
1983
+ kind: "general" | "service" | "assume";
1984
+ computers?: {
1985
+ default: string;
1986
+ allowed: Array<{
1987
+ template: string;
1988
+ name: string;
1989
+ }>;
1990
+ };
1453
1991
  computer_id?: string;
1454
1992
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1993
  subagents?: Array<{
1457
1994
  name: string;
1458
1995
  description: string;
@@ -1543,6 +2080,7 @@ export declare function createAgent(transport: Transport): {
1543
2080
  allowManagedHooksOnly?: boolean;
1544
2081
  allowManagedMcpServersOnly?: boolean;
1545
2082
  allowManagedPermissionRulesOnly?: boolean;
2083
+ idleCompaction?: boolean;
1546
2084
  autoMemoryEnabled?: boolean;
1547
2085
  disabled?: {
1548
2086
  subagents?: Array<string>;
@@ -1551,7 +2089,6 @@ export declare function createAgent(transport: Transport): {
1551
2089
  mcpServers?: Array<string>;
1552
2090
  hooks?: Array<string>;
1553
2091
  };
1554
- idleCompaction?: boolean;
1555
2092
  outputStyle?: string;
1556
2093
  } | null;
1557
2094
  models?: {
@@ -1559,6 +2096,7 @@ export declare function createAgent(transport: Transport): {
1559
2096
  };
1560
2097
  avatar: string | null;
1561
2098
  creation_source: string | null;
2099
+ managed_by: string | null;
1562
2100
  identity_number: string | null;
1563
2101
  environment_id?: string | null;
1564
2102
  vault_ids?: Array<string>;
@@ -1585,6 +2123,7 @@ export declare function createAgent(transport: Transport): {
1585
2123
  speed?: "standard" | "fast";
1586
2124
  settings?: {
1587
2125
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2126
+ max_output_tokens?: number;
1588
2127
  };
1589
2128
  };
1590
2129
  multiagent?: null | Types.AgentManaged39;
@@ -1610,18 +2149,25 @@ export declare function createAgent(transport: Transport): {
1610
2149
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1611
2150
  id: string;
1612
2151
  access: "read_only" | "read_write" | "invoke";
2152
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2153
  instructions?: string;
1614
2154
  readonly verified?: boolean;
1615
2155
  enabled?: boolean;
1616
2156
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2157
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2158
  readonly verified?: boolean;
1619
2159
  enabled?: boolean;
1620
2160
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2161
+ kind: "general" | "service" | "assume";
2162
+ computers?: {
2163
+ default: string;
2164
+ allowed: Array<{
2165
+ template: string;
2166
+ name: string;
2167
+ }>;
2168
+ };
1622
2169
  computer_id?: string;
1623
2170
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2171
  subagents?: Array<{
1626
2172
  name: string;
1627
2173
  description: string;
@@ -1712,6 +2258,7 @@ export declare function createAgent(transport: Transport): {
1712
2258
  allowManagedHooksOnly?: boolean;
1713
2259
  allowManagedMcpServersOnly?: boolean;
1714
2260
  allowManagedPermissionRulesOnly?: boolean;
2261
+ idleCompaction?: boolean;
1715
2262
  autoMemoryEnabled?: boolean;
1716
2263
  disabled?: {
1717
2264
  subagents?: Array<string>;
@@ -1720,7 +2267,6 @@ export declare function createAgent(transport: Transport): {
1720
2267
  mcpServers?: Array<string>;
1721
2268
  hooks?: Array<string>;
1722
2269
  };
1723
- idleCompaction?: boolean;
1724
2270
  outputStyle?: string;
1725
2271
  } | null;
1726
2272
  models?: {
@@ -1728,6 +2274,7 @@ export declare function createAgent(transport: Transport): {
1728
2274
  };
1729
2275
  avatar: string | null;
1730
2276
  creation_source: string | null;
2277
+ managed_by: string | null;
1731
2278
  identity_number: string | null;
1732
2279
  environment_id?: string | null;
1733
2280
  vault_ids?: Array<string>;
@@ -1795,16 +2342,9 @@ export declare function createAgent(transport: Transport): {
1795
2342
  files: {
1796
2343
  convert: {
1797
2344
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1798
- type: "computer";
1799
- id: string;
1800
- name: string;
1801
- sandbox_id: string | null;
1802
- machine_state: "not_started" | "provisioned";
1803
- environment_id: string | null;
1804
- status: "active" | "archived";
1805
- created_at: string;
1806
- updated_at: string;
1807
- archived_at: string | null;
2345
+ data: string;
2346
+ mime: "application/pdf";
2347
+ cached: boolean;
1808
2348
  }>;
1809
2349
  };
1810
2350
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1822,6 +2362,24 @@ export declare function createAgent(transport: Transport): {
1822
2362
  tier: "light" | "heavy";
1823
2363
  }>;
1824
2364
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2365
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2366
+ variant: "image" | "pdf" | "text" | "original";
2367
+ version?: string;
2368
+ mime_type?: string;
2369
+ size?: number;
2370
+ file_id?: string;
2371
+ url?: string;
2372
+ expires_at?: string;
2373
+ cached: boolean;
2374
+ fallback?: "content";
2375
+ skipped?: boolean;
2376
+ }>;
2377
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2378
+ path: string;
2379
+ size: number;
2380
+ mtime: string | null;
2381
+ version: string;
2382
+ }>;
1825
2383
  };
1826
2384
  leases: {
1827
2385
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1862,6 +2420,7 @@ export declare function createAgent(transport: Transport): {
1862
2420
  created_at: string;
1863
2421
  updated_at: string;
1864
2422
  archived_at: string | null;
2423
+ machine: "light" | "full";
1865
2424
  implementation: "virtual" | "sandbox";
1866
2425
  storage_bytes: number;
1867
2426
  file_count: number;
@@ -2167,6 +2726,543 @@ export declare function createAgent(transport: Transport): {
2167
2726
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2168
2727
  };
2169
2728
  sessions: {
2729
+ agentVersion: {
2730
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2731
+ id: string;
2732
+ agent: {
2733
+ id: string;
2734
+ description: null | string;
2735
+ mcp_servers: Array<{
2736
+ type: "url";
2737
+ name: string;
2738
+ url: string;
2739
+ headers?: {
2740
+ [key: string]: string;
2741
+ };
2742
+ timeout_ms?: number;
2743
+ } | {
2744
+ type: "sse";
2745
+ name: string;
2746
+ url: string;
2747
+ headers?: {
2748
+ [key: string]: string;
2749
+ };
2750
+ timeout_ms?: number;
2751
+ } | {
2752
+ type: "stdio";
2753
+ name: string;
2754
+ command: string;
2755
+ args?: Array<string>;
2756
+ env?: {
2757
+ [key: string]: string;
2758
+ };
2759
+ timeout_ms?: number;
2760
+ }>;
2761
+ model: {
2762
+ id: string;
2763
+ effort?: {
2764
+ type: "low";
2765
+ } | {
2766
+ type: "medium";
2767
+ } | {
2768
+ type: "high";
2769
+ } | {
2770
+ type: "xhigh";
2771
+ } | {
2772
+ type: "max";
2773
+ };
2774
+ inference_geo?: string;
2775
+ speed?: "standard" | "fast";
2776
+ settings?: {
2777
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2778
+ max_output_tokens?: number;
2779
+ };
2780
+ };
2781
+ multiagent: null | {
2782
+ agents: Array<{
2783
+ model: string;
2784
+ type: "advisor";
2785
+ } | {
2786
+ id: string;
2787
+ description: null | string;
2788
+ mcp_servers: Array<{
2789
+ type: "url";
2790
+ name: string;
2791
+ url: string;
2792
+ headers?: {
2793
+ [key: string]: string;
2794
+ };
2795
+ timeout_ms?: number;
2796
+ } | {
2797
+ type: "sse";
2798
+ name: string;
2799
+ url: string;
2800
+ headers?: {
2801
+ [key: string]: string;
2802
+ };
2803
+ timeout_ms?: number;
2804
+ } | {
2805
+ type: "stdio";
2806
+ name: string;
2807
+ command: string;
2808
+ args?: Array<string>;
2809
+ env?: {
2810
+ [key: string]: string;
2811
+ };
2812
+ timeout_ms?: number;
2813
+ }>;
2814
+ model: {
2815
+ id: string;
2816
+ effort?: {
2817
+ type: "low";
2818
+ } | {
2819
+ type: "medium";
2820
+ } | {
2821
+ type: "high";
2822
+ } | {
2823
+ type: "xhigh";
2824
+ } | {
2825
+ type: "max";
2826
+ };
2827
+ inference_geo?: string;
2828
+ speed?: "standard" | "fast";
2829
+ };
2830
+ name: string;
2831
+ skills: Array<{
2832
+ skill_id: string;
2833
+ type: "anthropic";
2834
+ version: string;
2835
+ } | {
2836
+ skill_id: string;
2837
+ type: "custom";
2838
+ version: string;
2839
+ }>;
2840
+ system: null | string;
2841
+ tools: Array<{
2842
+ configs: Array<{
2843
+ enabled: boolean;
2844
+ name: "bash";
2845
+ permission_policy: {
2846
+ type: "always_allow";
2847
+ } | {
2848
+ type: "always_ask";
2849
+ } | {
2850
+ type: "auto";
2851
+ };
2852
+ type: "bash";
2853
+ } | {
2854
+ enabled: boolean;
2855
+ name: "edit";
2856
+ permission_policy: {
2857
+ type: "always_allow";
2858
+ } | {
2859
+ type: "always_ask";
2860
+ } | {
2861
+ type: "auto";
2862
+ };
2863
+ type: "edit";
2864
+ } | {
2865
+ enabled: boolean;
2866
+ name: "read";
2867
+ permission_policy: {
2868
+ type: "always_allow";
2869
+ } | {
2870
+ type: "always_ask";
2871
+ } | {
2872
+ type: "auto";
2873
+ };
2874
+ type: "read";
2875
+ } | {
2876
+ enabled: boolean;
2877
+ name: "write";
2878
+ permission_policy: {
2879
+ type: "always_allow";
2880
+ } | {
2881
+ type: "always_ask";
2882
+ } | {
2883
+ type: "auto";
2884
+ };
2885
+ type: "write";
2886
+ } | {
2887
+ enabled: boolean;
2888
+ name: "glob";
2889
+ permission_policy: {
2890
+ type: "always_allow";
2891
+ } | {
2892
+ type: "always_ask";
2893
+ } | {
2894
+ type: "auto";
2895
+ };
2896
+ type: "glob";
2897
+ } | {
2898
+ enabled: boolean;
2899
+ name: "grep";
2900
+ permission_policy: {
2901
+ type: "always_allow";
2902
+ } | {
2903
+ type: "always_ask";
2904
+ } | {
2905
+ type: "auto";
2906
+ };
2907
+ type: "grep";
2908
+ } | {
2909
+ enabled: boolean;
2910
+ name: "web_fetch";
2911
+ permission_policy: {
2912
+ type: "always_allow";
2913
+ } | {
2914
+ type: "always_ask";
2915
+ } | {
2916
+ type: "auto";
2917
+ };
2918
+ type: "web_fetch";
2919
+ allowed_domains?: Array<string>;
2920
+ blocked_domains?: Array<string>;
2921
+ max_content_tokens?: null | number;
2922
+ } | {
2923
+ enabled: boolean;
2924
+ name: "web_search";
2925
+ permission_policy: {
2926
+ type: "always_allow";
2927
+ } | {
2928
+ type: "always_ask";
2929
+ } | {
2930
+ type: "auto";
2931
+ };
2932
+ type: "web_search";
2933
+ allowed_domains?: Array<string>;
2934
+ blocked_domains?: Array<string>;
2935
+ user_location?: null | {
2936
+ type: "approximate";
2937
+ city?: null | string;
2938
+ country?: null | string;
2939
+ region?: null | string;
2940
+ timezone?: null | string;
2941
+ };
2942
+ } | {
2943
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2944
+ enabled: boolean;
2945
+ permission_policy: {
2946
+ type: "always_allow" | "always_ask";
2947
+ };
2948
+ }>;
2949
+ default_config: {
2950
+ enabled: boolean;
2951
+ permission_policy: {
2952
+ type: "always_allow";
2953
+ } | {
2954
+ type: "always_ask";
2955
+ } | {
2956
+ type: "auto";
2957
+ };
2958
+ };
2959
+ type: "agent_toolset_20260401";
2960
+ } | {
2961
+ type: "mcp_toolset";
2962
+ mcp_server_name: string;
2963
+ default_config?: {
2964
+ enabled?: boolean | null;
2965
+ permission_policy?: null | {
2966
+ type: "always_allow" | "always_ask";
2967
+ };
2968
+ } | null;
2969
+ configs?: Array<{
2970
+ name: string;
2971
+ enabled?: boolean | null;
2972
+ permission_policy?: null | {
2973
+ type: "always_allow" | "always_ask";
2974
+ };
2975
+ }> | null;
2976
+ } | {
2977
+ description: string;
2978
+ input_schema: {
2979
+ type: "object";
2980
+ properties?: null | {
2981
+ [key: string]: unknown;
2982
+ };
2983
+ required?: null | Array<string>;
2984
+ [key: string]: unknown;
2985
+ };
2986
+ name: string;
2987
+ type: "custom";
2988
+ }>;
2989
+ type: "agent";
2990
+ version: number;
2991
+ }>;
2992
+ type: "coordinator";
2993
+ };
2994
+ name: string;
2995
+ skills: Array<{
2996
+ skill_id: string;
2997
+ type: "anthropic";
2998
+ version: string;
2999
+ } | {
3000
+ skill_id: string;
3001
+ type: "custom";
3002
+ version: string;
3003
+ }>;
3004
+ system: null | string;
3005
+ tools: Array<{
3006
+ configs: Array<{
3007
+ enabled: boolean;
3008
+ name: "bash";
3009
+ permission_policy: {
3010
+ type: "always_allow";
3011
+ } | {
3012
+ type: "always_ask";
3013
+ } | {
3014
+ type: "auto";
3015
+ };
3016
+ type: "bash";
3017
+ } | {
3018
+ enabled: boolean;
3019
+ name: "edit";
3020
+ permission_policy: {
3021
+ type: "always_allow";
3022
+ } | {
3023
+ type: "always_ask";
3024
+ } | {
3025
+ type: "auto";
3026
+ };
3027
+ type: "edit";
3028
+ } | {
3029
+ enabled: boolean;
3030
+ name: "read";
3031
+ permission_policy: {
3032
+ type: "always_allow";
3033
+ } | {
3034
+ type: "always_ask";
3035
+ } | {
3036
+ type: "auto";
3037
+ };
3038
+ type: "read";
3039
+ } | {
3040
+ enabled: boolean;
3041
+ name: "write";
3042
+ permission_policy: {
3043
+ type: "always_allow";
3044
+ } | {
3045
+ type: "always_ask";
3046
+ } | {
3047
+ type: "auto";
3048
+ };
3049
+ type: "write";
3050
+ } | {
3051
+ enabled: boolean;
3052
+ name: "glob";
3053
+ permission_policy: {
3054
+ type: "always_allow";
3055
+ } | {
3056
+ type: "always_ask";
3057
+ } | {
3058
+ type: "auto";
3059
+ };
3060
+ type: "glob";
3061
+ } | {
3062
+ enabled: boolean;
3063
+ name: "grep";
3064
+ permission_policy: {
3065
+ type: "always_allow";
3066
+ } | {
3067
+ type: "always_ask";
3068
+ } | {
3069
+ type: "auto";
3070
+ };
3071
+ type: "grep";
3072
+ } | {
3073
+ enabled: boolean;
3074
+ name: "web_fetch";
3075
+ permission_policy: {
3076
+ type: "always_allow";
3077
+ } | {
3078
+ type: "always_ask";
3079
+ } | {
3080
+ type: "auto";
3081
+ };
3082
+ type: "web_fetch";
3083
+ allowed_domains?: Array<string>;
3084
+ blocked_domains?: Array<string>;
3085
+ max_content_tokens?: null | number;
3086
+ } | {
3087
+ enabled: boolean;
3088
+ name: "web_search";
3089
+ permission_policy: {
3090
+ type: "always_allow";
3091
+ } | {
3092
+ type: "always_ask";
3093
+ } | {
3094
+ type: "auto";
3095
+ };
3096
+ type: "web_search";
3097
+ allowed_domains?: Array<string>;
3098
+ blocked_domains?: Array<string>;
3099
+ user_location?: null | {
3100
+ type: "approximate";
3101
+ city?: null | string;
3102
+ country?: null | string;
3103
+ region?: null | string;
3104
+ timezone?: null | string;
3105
+ };
3106
+ } | {
3107
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3108
+ enabled: boolean;
3109
+ permission_policy: {
3110
+ type: "always_allow" | "always_ask";
3111
+ };
3112
+ }>;
3113
+ default_config: {
3114
+ enabled: boolean;
3115
+ permission_policy: {
3116
+ type: "always_allow";
3117
+ } | {
3118
+ type: "always_ask";
3119
+ } | {
3120
+ type: "auto";
3121
+ };
3122
+ };
3123
+ type: "agent_toolset_20260401";
3124
+ } | {
3125
+ type: "mcp_toolset";
3126
+ mcp_server_name: string;
3127
+ default_config?: {
3128
+ enabled?: boolean | null;
3129
+ permission_policy?: null | {
3130
+ type: "always_allow" | "always_ask";
3131
+ };
3132
+ } | null;
3133
+ configs?: Array<{
3134
+ name: string;
3135
+ enabled?: boolean | null;
3136
+ permission_policy?: null | {
3137
+ type: "always_allow" | "always_ask";
3138
+ };
3139
+ }> | null;
3140
+ } | {
3141
+ description: string;
3142
+ input_schema: {
3143
+ type: "object";
3144
+ properties?: null | {
3145
+ [key: string]: unknown;
3146
+ };
3147
+ required?: null | Array<string>;
3148
+ [key: string]: unknown;
3149
+ };
3150
+ name: string;
3151
+ type: "custom";
3152
+ }>;
3153
+ type: "agent";
3154
+ version: number;
3155
+ };
3156
+ archived_at: null | string;
3157
+ budget: null | {
3158
+ max_list_cost: {
3159
+ amount: string;
3160
+ currency: "USD";
3161
+ };
3162
+ type: "limit";
3163
+ };
3164
+ created_at: string;
3165
+ environment_id?: string;
3166
+ metadata: {
3167
+ [key: string]: string;
3168
+ };
3169
+ outcome_evaluations: Array<{
3170
+ completed_at: null | string;
3171
+ description: string;
3172
+ explanation: null | string;
3173
+ iteration: number;
3174
+ outcome_id: string;
3175
+ result: string;
3176
+ type: "outcome_evaluation";
3177
+ }>;
3178
+ resources: Array<{
3179
+ id: string;
3180
+ created_at: string;
3181
+ mount_path: string;
3182
+ type: "github_repository";
3183
+ updated_at: string;
3184
+ url: string;
3185
+ checkout?: null | {
3186
+ name: string;
3187
+ type: "branch";
3188
+ } | {
3189
+ sha: string;
3190
+ type: "commit";
3191
+ };
3192
+ } | {
3193
+ id: string;
3194
+ created_at: string;
3195
+ file_id: string;
3196
+ mount_path: string;
3197
+ type: "file";
3198
+ updated_at: string;
3199
+ } | {
3200
+ memory_store_id: string;
3201
+ type: "memory_store";
3202
+ access?: null | "read_write" | "read_only";
3203
+ description?: string;
3204
+ instructions?: null | string;
3205
+ mount_path?: null | string;
3206
+ name?: null | string;
3207
+ }>;
3208
+ stats: {
3209
+ active_seconds?: number;
3210
+ duration_seconds?: number;
3211
+ };
3212
+ status: "rescheduling" | "running" | "idle" | "terminated";
3213
+ title: null | string;
3214
+ type: "session";
3215
+ updated_at: string;
3216
+ usage: {
3217
+ active_seconds?: number;
3218
+ cache_creation?: {
3219
+ ephemeral_1h_input_tokens?: number;
3220
+ ephemeral_5m_input_tokens?: number;
3221
+ };
3222
+ cache_read_input_tokens?: number;
3223
+ input_tokens?: number;
3224
+ list_cost?: null | {
3225
+ amount: string;
3226
+ currency: "USD";
3227
+ };
3228
+ output_tokens?: number;
3229
+ server_tool_use?: null | {
3230
+ web_fetch_requests?: number;
3231
+ web_search_requests?: number;
3232
+ };
3233
+ cost_by_product?: {
3234
+ [key: string]: string;
3235
+ };
3236
+ subagent_cost_micro_usd?: number;
3237
+ };
3238
+ vault_ids: Array<string>;
3239
+ deployment_id?: null | string;
3240
+ cwd: string;
3241
+ workspace?: {
3242
+ kind: "shared" | "isolated";
3243
+ path?: string;
3244
+ branch?: string;
3245
+ };
3246
+ computer_id?: string;
3247
+ model?: {
3248
+ id: string;
3249
+ thinking: {
3250
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3251
+ can_disable: boolean;
3252
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3253
+ } | null;
3254
+ };
3255
+ thinking?: {
3256
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3257
+ } | null;
3258
+ forked_from?: {
3259
+ session_id: string;
3260
+ message_id: string;
3261
+ } | null;
3262
+ readonly external_user_id: string | null;
3263
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3264
+ }>;
3265
+ };
2170
3266
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2171
3267
  id: string;
2172
3268
  agent: {
@@ -2180,6 +3276,7 @@ export declare function createAgent(transport: Transport): {
2180
3276
  speed?: "standard" | "fast";
2181
3277
  settings?: {
2182
3278
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3279
+ max_output_tokens?: number;
2183
3280
  };
2184
3281
  };
2185
3282
  multiagent: null | Types.AgentManaged171;
@@ -2206,6 +3303,11 @@ export declare function createAgent(transport: Transport): {
2206
3303
  vault_ids: Array<string>;
2207
3304
  deployment_id?: null | string;
2208
3305
  cwd: string;
3306
+ workspace?: {
3307
+ kind: "shared" | "isolated";
3308
+ path?: string;
3309
+ branch?: string;
3310
+ };
2209
3311
  computer_id?: string;
2210
3312
  model?: {
2211
3313
  id: string;
@@ -2225,6 +3327,40 @@ export declare function createAgent(transport: Transport): {
2225
3327
  readonly external_user_id: string | null;
2226
3328
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2227
3329
  }>;
3330
+ artifacts: {
3331
+ contentUrl: {
3332
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3333
+ url: string;
3334
+ expire_time: string;
3335
+ }>;
3336
+ };
3337
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3338
+ data: Array<{
3339
+ object: "artifact";
3340
+ id: string;
3341
+ session_id: string;
3342
+ run_id: string | null;
3343
+ name: string;
3344
+ version: number;
3345
+ parts: Array<{
3346
+ kind: "file";
3347
+ file_id: string;
3348
+ filename: string;
3349
+ mime_type: string;
3350
+ bytes: number;
3351
+ } | {
3352
+ kind: "object";
3353
+ object_type: "canvas" | "media_asset";
3354
+ object_id: string;
3355
+ href: string;
3356
+ title: string | null;
3357
+ }>;
3358
+ source_hrefs: Array<string>;
3359
+ create_time: string;
3360
+ update_time: string;
3361
+ }>;
3362
+ }>;
3363
+ };
2228
3364
  backgroundTasks: {
2229
3365
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2230
3366
  data: Array<{
@@ -2307,6 +3443,7 @@ export declare function createAgent(transport: Transport): {
2307
3443
  speed?: "standard" | "fast";
2308
3444
  settings?: {
2309
3445
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3446
+ max_output_tokens?: number;
2310
3447
  };
2311
3448
  };
2312
3449
  multiagent: null | Types.AgentManaged171;
@@ -2333,6 +3470,11 @@ export declare function createAgent(transport: Transport): {
2333
3470
  vault_ids: Array<string>;
2334
3471
  deployment_id?: null | string;
2335
3472
  cwd: string;
3473
+ workspace?: {
3474
+ kind: "shared" | "isolated";
3475
+ path?: string;
3476
+ branch?: string;
3477
+ };
2336
3478
  computer_id?: string;
2337
3479
  model?: {
2338
3480
  id: string;
@@ -2393,7 +3535,6 @@ export declare function createAgent(transport: Transport): {
2393
3535
  run_id: string | null;
2394
3536
  message_id?: string;
2395
3537
  } | {
2396
- full_access_available?: boolean;
2397
3538
  id: string;
2398
3539
  input: Types.AgentManaged197;
2399
3540
  mcp_server_name: string;
@@ -2403,6 +3544,18 @@ export declare function createAgent(transport: Transport): {
2403
3544
  evaluated_permission?: "allow" | "deny" | "ask";
2404
3545
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2405
3546
  session_thread_id?: null | string;
3547
+ permission_suggestions?: Array<{
3548
+ type: "add_rules";
3549
+ behavior: "allow";
3550
+ destination: "agent" | "session";
3551
+ rules: Array<{
3552
+ tool_name: string;
3553
+ rule_content: string;
3554
+ }>;
3555
+ }>;
3556
+ full_access_available?: boolean;
3557
+ user_once?: true;
3558
+ guarded_rule?: string;
2406
3559
  run_id: string | null;
2407
3560
  _meta?: {
2408
3561
  ui?: {
@@ -2416,17 +3569,6 @@ export declare function createAgent(transport: Transport): {
2416
3569
  };
2417
3570
  source?: "app" | "codemode";
2418
3571
  parent_tool_use_id?: string;
2419
- user_once?: true;
2420
- guarded_rule?: string;
2421
- permission_suggestions?: Array<{
2422
- type: "add_rules";
2423
- behavior: "allow";
2424
- destination: "agent" | "session";
2425
- rules: Array<{
2426
- tool_name: string;
2427
- rule_content: string;
2428
- }>;
2429
- }>;
2430
3572
  title?: string;
2431
3573
  input_titles?: {
2432
3574
  [key: string]: string;
@@ -2445,7 +3587,6 @@ export declare function createAgent(transport: Transport): {
2445
3587
  };
2446
3588
  source?: "app" | "codemode";
2447
3589
  } | {
2448
- full_access_available?: boolean;
2449
3590
  id: string;
2450
3591
  input: Types.AgentManaged206;
2451
3592
  name: string;
@@ -2454,9 +3595,6 @@ export declare function createAgent(transport: Transport): {
2454
3595
  evaluated_permission?: "allow" | "deny" | "ask";
2455
3596
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2456
3597
  session_thread_id?: null | string;
2457
- run_id: string | null;
2458
- user_once?: true;
2459
- guarded_rule?: string;
2460
3598
  permission_suggestions?: Array<{
2461
3599
  type: "add_rules";
2462
3600
  behavior: "allow";
@@ -2466,6 +3604,10 @@ export declare function createAgent(transport: Transport): {
2466
3604
  rule_content: string;
2467
3605
  }>;
2468
3606
  }>;
3607
+ full_access_available?: boolean;
3608
+ user_once?: true;
3609
+ guarded_rule?: string;
3610
+ run_id: string | null;
2469
3611
  } | {
2470
3612
  id: string;
2471
3613
  processed_at: string;
@@ -2486,9 +3628,6 @@ export declare function createAgent(transport: Transport): {
2486
3628
  type: "session.status_idle";
2487
3629
  run_id: string | null;
2488
3630
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2489
- permission_mode_version?: number;
2490
- previous_permission_mode?: string | null;
2491
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2492
3631
  id: string;
2493
3632
  processed_at: string;
2494
3633
  type: "session.updated";
@@ -2496,6 +3635,9 @@ export declare function createAgent(transport: Transport): {
2496
3635
  budget?: null | Types.AgentManaged76;
2497
3636
  metadata?: Types.AgentManaged246;
2498
3637
  title?: null | string;
3638
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3639
+ previous_permission_mode?: string | null;
3640
+ permission_mode_version?: number;
2499
3641
  model?: {
2500
3642
  id: string;
2501
3643
  };
@@ -2554,21 +3696,6 @@ export declare function createAgent(transport: Transport): {
2554
3696
  type: "user.steer";
2555
3697
  event_id: string;
2556
3698
  processed_at: string;
2557
- } | {
2558
- id: string;
2559
- type: "user.tool_confirmation";
2560
- processed_at: string;
2561
- tool_use_id: string;
2562
- result: "allow";
2563
- answers: {
2564
- [key: string]: string;
2565
- };
2566
- annotations?: {
2567
- [key: string]: {
2568
- preview?: string;
2569
- notes?: string;
2570
- };
2571
- };
2572
3699
  }>;
2573
3700
  next_page: string | null;
2574
3701
  }>;
@@ -2589,21 +3716,6 @@ export declare function createAgent(transport: Transport): {
2589
3716
  type: "user.steer";
2590
3717
  event_id: string;
2591
3718
  processed_at: string;
2592
- } | {
2593
- id: string;
2594
- type: "user.tool_confirmation";
2595
- processed_at: string;
2596
- tool_use_id: string;
2597
- result: "allow";
2598
- answers: {
2599
- [key: string]: string;
2600
- };
2601
- annotations?: {
2602
- [key: string]: {
2603
- preview?: string;
2604
- notes?: string;
2605
- };
2606
- };
2607
3719
  }>;
2608
3720
  }>;
2609
3721
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2656,6 +3768,7 @@ export declare function createAgent(transport: Transport): {
2656
3768
  speed?: "standard" | "fast";
2657
3769
  settings?: {
2658
3770
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3771
+ max_output_tokens?: number;
2659
3772
  };
2660
3773
  };
2661
3774
  multiagent: null | {
@@ -3118,6 +4231,11 @@ export declare function createAgent(transport: Transport): {
3118
4231
  vault_ids: Array<string>;
3119
4232
  deployment_id?: null | string;
3120
4233
  cwd: string;
4234
+ workspace?: {
4235
+ kind: "shared" | "isolated";
4236
+ path?: string;
4237
+ branch?: string;
4238
+ };
3121
4239
  computer_id?: string;
3122
4240
  model?: {
3123
4241
  id: string;
@@ -3151,6 +4269,7 @@ export declare function createAgent(transport: Transport): {
3151
4269
  speed?: "standard" | "fast";
3152
4270
  settings?: {
3153
4271
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4272
+ max_output_tokens?: number;
3154
4273
  };
3155
4274
  };
3156
4275
  multiagent: null | Types.AgentManaged171;
@@ -3177,6 +4296,549 @@ export declare function createAgent(transport: Transport): {
3177
4296
  vault_ids: Array<string>;
3178
4297
  deployment_id?: null | string;
3179
4298
  cwd: string;
4299
+ workspace?: {
4300
+ kind: "shared" | "isolated";
4301
+ path?: string;
4302
+ branch?: string;
4303
+ };
4304
+ computer_id?: string;
4305
+ model?: {
4306
+ id: string;
4307
+ thinking: {
4308
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4309
+ can_disable: boolean;
4310
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4311
+ } | null;
4312
+ };
4313
+ thinking?: {
4314
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4315
+ } | null;
4316
+ forked_from?: {
4317
+ session_id: string;
4318
+ message_id: string;
4319
+ } | null;
4320
+ readonly external_user_id: string | null;
4321
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4322
+ }>;
4323
+ next_page: string | null;
4324
+ }>;
4325
+ name: {
4326
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4327
+ id: string;
4328
+ agent: {
4329
+ id: string;
4330
+ description: null | string;
4331
+ mcp_servers: Array<{
4332
+ type: "url";
4333
+ name: string;
4334
+ url: string;
4335
+ headers?: {
4336
+ [key: string]: string;
4337
+ };
4338
+ timeout_ms?: number;
4339
+ } | {
4340
+ type: "sse";
4341
+ name: string;
4342
+ url: string;
4343
+ headers?: {
4344
+ [key: string]: string;
4345
+ };
4346
+ timeout_ms?: number;
4347
+ } | {
4348
+ type: "stdio";
4349
+ name: string;
4350
+ command: string;
4351
+ args?: Array<string>;
4352
+ env?: {
4353
+ [key: string]: string;
4354
+ };
4355
+ timeout_ms?: number;
4356
+ }>;
4357
+ model: {
4358
+ id: string;
4359
+ effort?: {
4360
+ type: "low";
4361
+ } | {
4362
+ type: "medium";
4363
+ } | {
4364
+ type: "high";
4365
+ } | {
4366
+ type: "xhigh";
4367
+ } | {
4368
+ type: "max";
4369
+ };
4370
+ inference_geo?: string;
4371
+ speed?: "standard" | "fast";
4372
+ settings?: {
4373
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4374
+ max_output_tokens?: number;
4375
+ };
4376
+ };
4377
+ multiagent: null | {
4378
+ agents: Array<{
4379
+ model: string;
4380
+ type: "advisor";
4381
+ } | {
4382
+ id: string;
4383
+ description: null | string;
4384
+ mcp_servers: Array<{
4385
+ type: "url";
4386
+ name: string;
4387
+ url: string;
4388
+ headers?: {
4389
+ [key: string]: string;
4390
+ };
4391
+ timeout_ms?: number;
4392
+ } | {
4393
+ type: "sse";
4394
+ name: string;
4395
+ url: string;
4396
+ headers?: {
4397
+ [key: string]: string;
4398
+ };
4399
+ timeout_ms?: number;
4400
+ } | {
4401
+ type: "stdio";
4402
+ name: string;
4403
+ command: string;
4404
+ args?: Array<string>;
4405
+ env?: {
4406
+ [key: string]: string;
4407
+ };
4408
+ timeout_ms?: number;
4409
+ }>;
4410
+ model: {
4411
+ id: string;
4412
+ effort?: {
4413
+ type: "low";
4414
+ } | {
4415
+ type: "medium";
4416
+ } | {
4417
+ type: "high";
4418
+ } | {
4419
+ type: "xhigh";
4420
+ } | {
4421
+ type: "max";
4422
+ };
4423
+ inference_geo?: string;
4424
+ speed?: "standard" | "fast";
4425
+ };
4426
+ name: string;
4427
+ skills: Array<{
4428
+ skill_id: string;
4429
+ type: "anthropic";
4430
+ version: string;
4431
+ } | {
4432
+ skill_id: string;
4433
+ type: "custom";
4434
+ version: string;
4435
+ }>;
4436
+ system: null | string;
4437
+ tools: Array<{
4438
+ configs: Array<{
4439
+ enabled: boolean;
4440
+ name: "bash";
4441
+ permission_policy: {
4442
+ type: "always_allow";
4443
+ } | {
4444
+ type: "always_ask";
4445
+ } | {
4446
+ type: "auto";
4447
+ };
4448
+ type: "bash";
4449
+ } | {
4450
+ enabled: boolean;
4451
+ name: "edit";
4452
+ permission_policy: {
4453
+ type: "always_allow";
4454
+ } | {
4455
+ type: "always_ask";
4456
+ } | {
4457
+ type: "auto";
4458
+ };
4459
+ type: "edit";
4460
+ } | {
4461
+ enabled: boolean;
4462
+ name: "read";
4463
+ permission_policy: {
4464
+ type: "always_allow";
4465
+ } | {
4466
+ type: "always_ask";
4467
+ } | {
4468
+ type: "auto";
4469
+ };
4470
+ type: "read";
4471
+ } | {
4472
+ enabled: boolean;
4473
+ name: "write";
4474
+ permission_policy: {
4475
+ type: "always_allow";
4476
+ } | {
4477
+ type: "always_ask";
4478
+ } | {
4479
+ type: "auto";
4480
+ };
4481
+ type: "write";
4482
+ } | {
4483
+ enabled: boolean;
4484
+ name: "glob";
4485
+ permission_policy: {
4486
+ type: "always_allow";
4487
+ } | {
4488
+ type: "always_ask";
4489
+ } | {
4490
+ type: "auto";
4491
+ };
4492
+ type: "glob";
4493
+ } | {
4494
+ enabled: boolean;
4495
+ name: "grep";
4496
+ permission_policy: {
4497
+ type: "always_allow";
4498
+ } | {
4499
+ type: "always_ask";
4500
+ } | {
4501
+ type: "auto";
4502
+ };
4503
+ type: "grep";
4504
+ } | {
4505
+ enabled: boolean;
4506
+ name: "web_fetch";
4507
+ permission_policy: {
4508
+ type: "always_allow";
4509
+ } | {
4510
+ type: "always_ask";
4511
+ } | {
4512
+ type: "auto";
4513
+ };
4514
+ type: "web_fetch";
4515
+ allowed_domains?: Array<string>;
4516
+ blocked_domains?: Array<string>;
4517
+ max_content_tokens?: null | number;
4518
+ } | {
4519
+ enabled: boolean;
4520
+ name: "web_search";
4521
+ permission_policy: {
4522
+ type: "always_allow";
4523
+ } | {
4524
+ type: "always_ask";
4525
+ } | {
4526
+ type: "auto";
4527
+ };
4528
+ type: "web_search";
4529
+ allowed_domains?: Array<string>;
4530
+ blocked_domains?: Array<string>;
4531
+ user_location?: null | {
4532
+ type: "approximate";
4533
+ city?: null | string;
4534
+ country?: null | string;
4535
+ region?: null | string;
4536
+ timezone?: null | string;
4537
+ };
4538
+ } | {
4539
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4540
+ enabled: boolean;
4541
+ permission_policy: {
4542
+ type: "always_allow" | "always_ask";
4543
+ };
4544
+ }>;
4545
+ default_config: {
4546
+ enabled: boolean;
4547
+ permission_policy: {
4548
+ type: "always_allow";
4549
+ } | {
4550
+ type: "always_ask";
4551
+ } | {
4552
+ type: "auto";
4553
+ };
4554
+ };
4555
+ type: "agent_toolset_20260401";
4556
+ } | {
4557
+ type: "mcp_toolset";
4558
+ mcp_server_name: string;
4559
+ default_config?: {
4560
+ enabled?: boolean | null;
4561
+ permission_policy?: null | {
4562
+ type: "always_allow" | "always_ask";
4563
+ };
4564
+ } | null;
4565
+ configs?: Array<{
4566
+ name: string;
4567
+ enabled?: boolean | null;
4568
+ permission_policy?: null | {
4569
+ type: "always_allow" | "always_ask";
4570
+ };
4571
+ }> | null;
4572
+ } | {
4573
+ description: string;
4574
+ input_schema: {
4575
+ type: "object";
4576
+ properties?: null | {
4577
+ [key: string]: unknown;
4578
+ };
4579
+ required?: null | Array<string>;
4580
+ [key: string]: unknown;
4581
+ };
4582
+ name: string;
4583
+ type: "custom";
4584
+ }>;
4585
+ type: "agent";
4586
+ version: number;
4587
+ }>;
4588
+ type: "coordinator";
4589
+ };
4590
+ name: string;
4591
+ skills: Array<{
4592
+ skill_id: string;
4593
+ type: "anthropic";
4594
+ version: string;
4595
+ } | {
4596
+ skill_id: string;
4597
+ type: "custom";
4598
+ version: string;
4599
+ }>;
4600
+ system: null | string;
4601
+ tools: Array<{
4602
+ configs: Array<{
4603
+ enabled: boolean;
4604
+ name: "bash";
4605
+ permission_policy: {
4606
+ type: "always_allow";
4607
+ } | {
4608
+ type: "always_ask";
4609
+ } | {
4610
+ type: "auto";
4611
+ };
4612
+ type: "bash";
4613
+ } | {
4614
+ enabled: boolean;
4615
+ name: "edit";
4616
+ permission_policy: {
4617
+ type: "always_allow";
4618
+ } | {
4619
+ type: "always_ask";
4620
+ } | {
4621
+ type: "auto";
4622
+ };
4623
+ type: "edit";
4624
+ } | {
4625
+ enabled: boolean;
4626
+ name: "read";
4627
+ permission_policy: {
4628
+ type: "always_allow";
4629
+ } | {
4630
+ type: "always_ask";
4631
+ } | {
4632
+ type: "auto";
4633
+ };
4634
+ type: "read";
4635
+ } | {
4636
+ enabled: boolean;
4637
+ name: "write";
4638
+ permission_policy: {
4639
+ type: "always_allow";
4640
+ } | {
4641
+ type: "always_ask";
4642
+ } | {
4643
+ type: "auto";
4644
+ };
4645
+ type: "write";
4646
+ } | {
4647
+ enabled: boolean;
4648
+ name: "glob";
4649
+ permission_policy: {
4650
+ type: "always_allow";
4651
+ } | {
4652
+ type: "always_ask";
4653
+ } | {
4654
+ type: "auto";
4655
+ };
4656
+ type: "glob";
4657
+ } | {
4658
+ enabled: boolean;
4659
+ name: "grep";
4660
+ permission_policy: {
4661
+ type: "always_allow";
4662
+ } | {
4663
+ type: "always_ask";
4664
+ } | {
4665
+ type: "auto";
4666
+ };
4667
+ type: "grep";
4668
+ } | {
4669
+ enabled: boolean;
4670
+ name: "web_fetch";
4671
+ permission_policy: {
4672
+ type: "always_allow";
4673
+ } | {
4674
+ type: "always_ask";
4675
+ } | {
4676
+ type: "auto";
4677
+ };
4678
+ type: "web_fetch";
4679
+ allowed_domains?: Array<string>;
4680
+ blocked_domains?: Array<string>;
4681
+ max_content_tokens?: null | number;
4682
+ } | {
4683
+ enabled: boolean;
4684
+ name: "web_search";
4685
+ permission_policy: {
4686
+ type: "always_allow";
4687
+ } | {
4688
+ type: "always_ask";
4689
+ } | {
4690
+ type: "auto";
4691
+ };
4692
+ type: "web_search";
4693
+ allowed_domains?: Array<string>;
4694
+ blocked_domains?: Array<string>;
4695
+ user_location?: null | {
4696
+ type: "approximate";
4697
+ city?: null | string;
4698
+ country?: null | string;
4699
+ region?: null | string;
4700
+ timezone?: null | string;
4701
+ };
4702
+ } | {
4703
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4704
+ enabled: boolean;
4705
+ permission_policy: {
4706
+ type: "always_allow" | "always_ask";
4707
+ };
4708
+ }>;
4709
+ default_config: {
4710
+ enabled: boolean;
4711
+ permission_policy: {
4712
+ type: "always_allow";
4713
+ } | {
4714
+ type: "always_ask";
4715
+ } | {
4716
+ type: "auto";
4717
+ };
4718
+ };
4719
+ type: "agent_toolset_20260401";
4720
+ } | {
4721
+ type: "mcp_toolset";
4722
+ mcp_server_name: string;
4723
+ default_config?: {
4724
+ enabled?: boolean | null;
4725
+ permission_policy?: null | {
4726
+ type: "always_allow" | "always_ask";
4727
+ };
4728
+ } | null;
4729
+ configs?: Array<{
4730
+ name: string;
4731
+ enabled?: boolean | null;
4732
+ permission_policy?: null | {
4733
+ type: "always_allow" | "always_ask";
4734
+ };
4735
+ }> | null;
4736
+ } | {
4737
+ description: string;
4738
+ input_schema: {
4739
+ type: "object";
4740
+ properties?: null | {
4741
+ [key: string]: unknown;
4742
+ };
4743
+ required?: null | Array<string>;
4744
+ [key: string]: unknown;
4745
+ };
4746
+ name: string;
4747
+ type: "custom";
4748
+ }>;
4749
+ type: "agent";
4750
+ version: number;
4751
+ };
4752
+ archived_at: null | string;
4753
+ budget: null | {
4754
+ max_list_cost: {
4755
+ amount: string;
4756
+ currency: "USD";
4757
+ };
4758
+ type: "limit";
4759
+ };
4760
+ created_at: string;
4761
+ environment_id?: string;
4762
+ metadata: {
4763
+ [key: string]: string;
4764
+ };
4765
+ outcome_evaluations: Array<{
4766
+ completed_at: null | string;
4767
+ description: string;
4768
+ explanation: null | string;
4769
+ iteration: number;
4770
+ outcome_id: string;
4771
+ result: string;
4772
+ type: "outcome_evaluation";
4773
+ }>;
4774
+ resources: Array<{
4775
+ id: string;
4776
+ created_at: string;
4777
+ mount_path: string;
4778
+ type: "github_repository";
4779
+ updated_at: string;
4780
+ url: string;
4781
+ checkout?: null | {
4782
+ name: string;
4783
+ type: "branch";
4784
+ } | {
4785
+ sha: string;
4786
+ type: "commit";
4787
+ };
4788
+ } | {
4789
+ id: string;
4790
+ created_at: string;
4791
+ file_id: string;
4792
+ mount_path: string;
4793
+ type: "file";
4794
+ updated_at: string;
4795
+ } | {
4796
+ memory_store_id: string;
4797
+ type: "memory_store";
4798
+ access?: null | "read_write" | "read_only";
4799
+ description?: string;
4800
+ instructions?: null | string;
4801
+ mount_path?: null | string;
4802
+ name?: null | string;
4803
+ }>;
4804
+ stats: {
4805
+ active_seconds?: number;
4806
+ duration_seconds?: number;
4807
+ };
4808
+ status: "rescheduling" | "running" | "idle" | "terminated";
4809
+ title: null | string;
4810
+ type: "session";
4811
+ updated_at: string;
4812
+ usage: {
4813
+ active_seconds?: number;
4814
+ cache_creation?: {
4815
+ ephemeral_1h_input_tokens?: number;
4816
+ ephemeral_5m_input_tokens?: number;
4817
+ };
4818
+ cache_read_input_tokens?: number;
4819
+ input_tokens?: number;
4820
+ list_cost?: null | {
4821
+ amount: string;
4822
+ currency: "USD";
4823
+ };
4824
+ output_tokens?: number;
4825
+ server_tool_use?: null | {
4826
+ web_fetch_requests?: number;
4827
+ web_search_requests?: number;
4828
+ };
4829
+ cost_by_product?: {
4830
+ [key: string]: string;
4831
+ };
4832
+ subagent_cost_micro_usd?: number;
4833
+ };
4834
+ vault_ids: Array<string>;
4835
+ deployment_id?: null | string;
4836
+ cwd: string;
4837
+ workspace?: {
4838
+ kind: "shared" | "isolated";
4839
+ path?: string;
4840
+ branch?: string;
4841
+ };
3180
4842
  computer_id?: string;
3181
4843
  model?: {
3182
4844
  id: string;
@@ -3196,8 +4858,21 @@ export declare function createAgent(transport: Transport): {
3196
4858
  readonly external_user_id: string | null;
3197
4859
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3198
4860
  }>;
3199
- next_page: string | null;
3200
- }>;
4861
+ };
4862
+ requests: {
4863
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4864
+ data: Array<{
4865
+ id: string;
4866
+ object: "request";
4867
+ kind: "question" | "approval";
4868
+ status: "pending";
4869
+ tool_name: string;
4870
+ input: unknown;
4871
+ create_time: string;
4872
+ expire_time: string | null;
4873
+ }>;
4874
+ }>;
4875
+ };
3201
4876
  resources: {
3202
4877
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3203
4878
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3228,6 +4903,7 @@ export declare function createAgent(transport: Transport): {
3228
4903
  speed?: "standard" | "fast";
3229
4904
  settings?: {
3230
4905
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4906
+ max_output_tokens?: number;
3231
4907
  };
3232
4908
  };
3233
4909
  multiagent: null | Types.AgentManaged171;
@@ -3254,6 +4930,11 @@ export declare function createAgent(transport: Transport): {
3254
4930
  vault_ids: Array<string>;
3255
4931
  deployment_id?: null | string;
3256
4932
  cwd: string;
4933
+ workspace?: {
4934
+ kind: "shared" | "isolated";
4935
+ path?: string;
4936
+ branch?: string;
4937
+ };
3257
4938
  computer_id?: string;
3258
4939
  model?: {
3259
4940
  id: string;
@@ -3400,7 +5081,6 @@ export declare function createAgent(transport: Transport): {
3400
5081
  run_id: string | null;
3401
5082
  message_id?: string;
3402
5083
  } | {
3403
- full_access_available?: boolean;
3404
5084
  id: string;
3405
5085
  input: Types.AgentManaged197;
3406
5086
  mcp_server_name: string;
@@ -3410,6 +5090,18 @@ export declare function createAgent(transport: Transport): {
3410
5090
  evaluated_permission?: "allow" | "deny" | "ask";
3411
5091
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3412
5092
  session_thread_id?: null | string;
5093
+ permission_suggestions?: Array<{
5094
+ type: "add_rules";
5095
+ behavior: "allow";
5096
+ destination: "agent" | "session";
5097
+ rules: Array<{
5098
+ tool_name: string;
5099
+ rule_content: string;
5100
+ }>;
5101
+ }>;
5102
+ full_access_available?: boolean;
5103
+ user_once?: true;
5104
+ guarded_rule?: string;
3413
5105
  run_id: string | null;
3414
5106
  parent_tool_use_id?: string;
3415
5107
  _meta?: {
@@ -3423,17 +5115,6 @@ export declare function createAgent(transport: Transport): {
3423
5115
  };
3424
5116
  };
3425
5117
  source?: "app" | "codemode";
3426
- user_once?: true;
3427
- guarded_rule?: string;
3428
- permission_suggestions?: Array<{
3429
- type: "add_rules";
3430
- behavior: "allow";
3431
- destination: "agent" | "session";
3432
- rules: Array<{
3433
- tool_name: string;
3434
- rule_content: string;
3435
- }>;
3436
- }>;
3437
5118
  title?: string;
3438
5119
  input_titles?: {
3439
5120
  [key: string]: string;
@@ -3452,7 +5133,6 @@ export declare function createAgent(transport: Transport): {
3452
5133
  };
3453
5134
  source?: "app" | "codemode";
3454
5135
  } | {
3455
- full_access_available?: boolean;
3456
5136
  id: string;
3457
5137
  input: Types.AgentManaged206;
3458
5138
  name: string;
@@ -3461,9 +5141,6 @@ export declare function createAgent(transport: Transport): {
3461
5141
  evaluated_permission?: "allow" | "deny" | "ask";
3462
5142
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3463
5143
  session_thread_id?: null | string;
3464
- run_id: string | null;
3465
- user_once?: true;
3466
- guarded_rule?: string;
3467
5144
  permission_suggestions?: Array<{
3468
5145
  type: "add_rules";
3469
5146
  behavior: "allow";
@@ -3473,6 +5150,10 @@ export declare function createAgent(transport: Transport): {
3473
5150
  rule_content: string;
3474
5151
  }>;
3475
5152
  }>;
5153
+ full_access_available?: boolean;
5154
+ user_once?: true;
5155
+ guarded_rule?: string;
5156
+ run_id: string | null;
3476
5157
  } | {
3477
5158
  id: string;
3478
5159
  processed_at: string;
@@ -3493,9 +5174,6 @@ export declare function createAgent(transport: Transport): {
3493
5174
  type: "session.status_idle";
3494
5175
  run_id: string | null;
3495
5176
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3496
- permission_mode_version?: number;
3497
- previous_permission_mode?: string | null;
3498
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3499
5177
  id: string;
3500
5178
  processed_at: string;
3501
5179
  type: "session.updated";
@@ -3503,6 +5181,9 @@ export declare function createAgent(transport: Transport): {
3503
5181
  budget?: null | Types.AgentManaged76;
3504
5182
  metadata?: Types.AgentManaged246;
3505
5183
  title?: null | string;
5184
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5185
+ previous_permission_mode?: string | null;
5186
+ permission_mode_version?: number;
3506
5187
  model?: {
3507
5188
  id: string;
3508
5189
  };
@@ -3593,6 +5274,7 @@ export declare function createAgent(transport: Transport): {
3593
5274
  speed?: "standard" | "fast";
3594
5275
  settings?: {
3595
5276
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5277
+ max_output_tokens?: number;
3596
5278
  };
3597
5279
  };
3598
5280
  multiagent: null | Types.AgentManaged171;
@@ -3619,6 +5301,11 @@ export declare function createAgent(transport: Transport): {
3619
5301
  vault_ids: Array<string>;
3620
5302
  deployment_id?: null | string;
3621
5303
  cwd: string;
5304
+ workspace?: {
5305
+ kind: "shared" | "isolated";
5306
+ path?: string;
5307
+ branch?: string;
5308
+ };
3622
5309
  computer_id?: string;
3623
5310
  model?: {
3624
5311
  id: string;
@@ -3683,6 +5370,29 @@ export declare function createAgent(transport: Transport): {
3683
5370
  next_page: null;
3684
5371
  }>;
3685
5372
  };
5373
+ uploads: {
5374
+ contentUrl: {
5375
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5376
+ url: string;
5377
+ expires_at: string;
5378
+ }>;
5379
+ };
5380
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5381
+ upload_id: string;
5382
+ expires_at: string;
5383
+ url: string;
5384
+ } | {
5385
+ upload_id: string;
5386
+ expires_at: string;
5387
+ part_size: number;
5388
+ parts: Array<{
5389
+ part_number: number;
5390
+ url: string;
5391
+ }>;
5392
+ complete_url: string;
5393
+ status_url: string;
5394
+ }>;
5395
+ };
3686
5396
  };
3687
5397
  export declare function createApplication(transport: Transport): {
3688
5398
  assets: {
@@ -3947,6 +5657,11 @@ export declare function createAutomation(transport: Transport): {
3947
5657
  };
3948
5658
  };
3949
5659
  };
5660
+ export declare function createBilling(transport: Transport): {
5661
+ prices: {
5662
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5663
+ };
5664
+ };
3950
5665
  export declare function createBrowser(transport: Transport): {
3951
5666
  connect: {
3952
5667
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3976,6 +5691,10 @@ export declare function createBrowser(transport: Transport): {
3976
5691
  tab: string;
3977
5692
  url: string;
3978
5693
  title: string;
5694
+ } | {
5695
+ type: "select";
5696
+ tab: string;
5697
+ values: Array<string>;
3979
5698
  } | {
3980
5699
  type: "tabs.list";
3981
5700
  tabs: Array<{
@@ -4002,6 +5721,11 @@ export declare function createBrowser(transport: Transport): {
4002
5721
  type: "evaluate";
4003
5722
  tab: string;
4004
5723
  value: unknown;
5724
+ } | {
5725
+ type: "set_cookie";
5726
+ tab: string;
5727
+ name: string;
5728
+ domain: string;
4005
5729
  }>;
4006
5730
  };
4007
5731
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4011,6 +5735,7 @@ export declare function createBrowser(transport: Transport): {
4011
5735
  nextCursor: string | null;
4012
5736
  }>;
4013
5737
  };
5738
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
4014
5739
  handoff: {
4015
5740
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
4016
5741
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -4021,6 +5746,7 @@ export declare function createBrowser(transport: Transport): {
4021
5746
  }>;
4022
5747
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
4023
5748
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5749
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
4024
5750
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
4025
5751
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
4026
5752
  viewer: {
@@ -4057,6 +5783,24 @@ export declare function createCanvas(transport: Transport): {
4057
5783
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4058
5784
  };
4059
5785
  };
5786
+ export declare function createContent(transport: Transport): {
5787
+ contents: {
5788
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5789
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5790
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5791
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5792
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5793
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5794
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5795
+ };
5796
+ playbackSessions: {
5797
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5798
+ };
5799
+ versions: {
5800
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5801
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5802
+ };
5803
+ };
4060
5804
  export declare function createCrm(transport: Transport): {
4061
5805
  associations: {
4062
5806
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4117,6 +5861,32 @@ export declare function createCrm(transport: Transport): {
4117
5861
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4118
5862
  };
4119
5863
  };
5864
+ export declare function createCustomer(transport: Transport): {
5865
+ accessTokens: {
5866
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5867
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5868
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5869
+ };
5870
+ customers: {
5871
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5872
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5873
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5874
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5875
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5876
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5877
+ };
5878
+ grantCodes: {
5879
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5880
+ };
5881
+ publishableKeys: {
5882
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5883
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5884
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5885
+ };
5886
+ usage: {
5887
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5888
+ };
5889
+ };
4120
5890
  export declare function createCut(transport: Transport): {
4121
5891
  exports: {
4122
5892
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4213,8 +5983,98 @@ export declare function createDatabase(transport: Transport): {
4213
5983
  };
4214
5984
  };
4215
5985
  export declare function createDevops(transport: Transport): {
5986
+ changes: {
5987
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5988
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
5989
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5990
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
5991
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
5992
+ };
5993
+ connections: {
5994
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5995
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5996
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5997
+ repositories: {
5998
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5999
+ };
6000
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6001
+ };
6002
+ environments: {
6003
+ checkpoints: {
6004
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6005
+ };
6006
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6007
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6008
+ };
6009
+ flags: {
6010
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6011
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6012
+ environments: {
6013
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6014
+ };
6015
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6016
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6017
+ };
6018
+ progressiveRollouts: {
6019
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6020
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6021
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6022
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6023
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6024
+ };
4216
6025
  projects: {
6026
+ changes: {
6027
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6028
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6029
+ };
6030
+ cleanups: {
6031
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6032
+ };
6033
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6034
+ defaultBranch: {
6035
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6036
+ };
6037
+ environments: {
6038
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6039
+ targets: {
6040
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6041
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6042
+ state: {
6043
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6044
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6045
+ lock: {
6046
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6047
+ };
6048
+ };
6049
+ };
6050
+ };
6051
+ flags: {
6052
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6053
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6054
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6055
+ };
6056
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6057
+ promotions: {
6058
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6059
+ };
6060
+ pullRequests: {
6061
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6062
+ };
6063
+ releases: {
6064
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6065
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6066
+ };
6067
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4217
6068
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6069
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6070
+ segments: {
6071
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6072
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6073
+ };
6074
+ targets: {
6075
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6076
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6077
+ };
4218
6078
  testCases: {
4219
6079
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
4220
6080
  };
@@ -4232,6 +6092,48 @@ export declare function createDevops(transport: Transport): {
4232
6092
  testSuites: {
4233
6093
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4234
6094
  };
6095
+ units: {
6096
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6097
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6098
+ };
6099
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6100
+ workspaces: {
6101
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6102
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6103
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6104
+ };
6105
+ };
6106
+ promotions: {
6107
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6108
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6109
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
6110
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6111
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6112
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6113
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6114
+ rollouts: {
6115
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6116
+ };
6117
+ };
6118
+ pullRequests: {
6119
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6120
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6121
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6122
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6123
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6124
+ reviews: {
6125
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6126
+ };
6127
+ };
6128
+ releases: {
6129
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6130
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6131
+ };
6132
+ rollouts: {
6133
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6134
+ };
6135
+ segments: {
6136
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
4235
6137
  };
4236
6138
  testCases: {
4237
6139
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
@@ -4250,10 +6152,24 @@ export declare function createDevops(transport: Transport): {
4250
6152
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4251
6153
  };
4252
6154
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6155
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4253
6156
  };
4254
6157
  testSuites: {
4255
6158
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4256
6159
  };
6160
+ units: {
6161
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6162
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6163
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6164
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6165
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6166
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6167
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6168
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6169
+ transitions: {
6170
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6171
+ };
6172
+ };
4257
6173
  };
4258
6174
  export declare function createFile(transport: Transport): {
4259
6175
  files: {
@@ -4330,19 +6246,33 @@ export declare function createKnowledge(transport: Transport): {
4330
6246
  };
4331
6247
  };
4332
6248
  export declare function createMedia(transport: Transport): {
6249
+ assets: {
6250
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6251
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6252
+ };
4333
6253
  generation: {
4334
6254
  capabilities: {
4335
6255
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
4336
6256
  };
4337
6257
  };
6258
+ images: {
6259
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6260
+ };
4338
6261
  libraries: {
4339
6262
  assets: {
6263
+ align: {
6264
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6265
+ };
4340
6266
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4341
6267
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4342
6268
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4343
6269
  frames: {
4344
6270
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4345
6271
  };
6272
+ hls: {
6273
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6274
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6275
+ };
4346
6276
  import: {
4347
6277
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4348
6278
  };
@@ -4355,6 +6285,9 @@ export declare function createMedia(transport: Transport): {
4355
6285
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4356
6286
  };
4357
6287
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6288
+ versions: {
6289
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6290
+ };
4358
6291
  };
4359
6292
  batches: {
4360
6293
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4371,25 +6304,23 @@ export declare function createMedia(transport: Transport): {
4371
6304
  folders: {
4372
6305
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4373
6306
  };
4374
- generations: {
4375
- create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
4376
- };
4377
6307
  jobs: {
4378
6308
  cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
4379
6309
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4380
- outputs: {
4381
- save: {
4382
- create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
4383
- };
4384
- };
4385
6310
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4386
6311
  };
4387
6312
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6313
+ materials: {
6314
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6315
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6316
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6317
+ };
4388
6318
  purge: {
4389
6319
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4390
6320
  };
4391
6321
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4392
6322
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6323
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4393
6324
  search: {
4394
6325
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4395
6326
  expression: {
@@ -4402,11 +6333,24 @@ export declare function createMedia(transport: Transport): {
4402
6333
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4403
6334
  };
4404
6335
  };
6336
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
4405
6337
  understandings: {
4406
6338
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4407
6339
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4408
6340
  };
4409
6341
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6342
+ voices: {
6343
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6344
+ designs: {
6345
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6346
+ };
6347
+ };
6348
+ };
6349
+ speech: {
6350
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6351
+ };
6352
+ videos: {
6353
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4410
6354
  };
4411
6355
  };
4412
6356
  export declare function createMeta(transport: Transport): {
@@ -4607,7 +6551,35 @@ export declare function createModel(transport: Transport): {
4607
6551
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4608
6552
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4609
6553
  };
6554
+ modelAccess: {
6555
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6556
+ items: Array<{
6557
+ model: string;
6558
+ access_required: boolean;
6559
+ granted: boolean;
6560
+ granted_by: string | null;
6561
+ granted_at: string | null;
6562
+ sell_input_price: number | null;
6563
+ sell_output_price: number | null;
6564
+ }>;
6565
+ }>;
6566
+ };
4610
6567
  models: {
6568
+ access: {
6569
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6570
+ model: string;
6571
+ revoked: true;
6572
+ }>;
6573
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6574
+ model: string;
6575
+ access_required: boolean;
6576
+ granted: true;
6577
+ granted_by: string;
6578
+ granted_at: string;
6579
+ sell_input_price: number | null;
6580
+ sell_output_price: number | null;
6581
+ }>;
6582
+ };
4611
6583
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4612
6584
  object: "list";
4613
6585
  data: Array<{
@@ -4622,6 +6594,7 @@ export declare function createModel(transport: Transport): {
4622
6594
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4623
6595
  supported_apis: Array<string>;
4624
6596
  tags: Array<string>;
6597
+ access_required: boolean;
4625
6598
  architecture: {
4626
6599
  modality: string;
4627
6600
  input_modalities: Array<string>;
@@ -4668,6 +6641,7 @@ export declare function createModel(transport: Transport): {
4668
6641
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4669
6642
  supported_apis: Array<string>;
4670
6643
  tags: Array<string>;
6644
+ access_required: boolean;
4671
6645
  architecture: {
4672
6646
  modality: string;
4673
6647
  input_modalities: Array<string>;
@@ -4894,6 +6868,7 @@ export declare function createModel(transport: Transport): {
4894
6868
  unsigned_urls: Array<string>;
4895
6869
  usage?: {
4896
6870
  cost: number;
6871
+ billed_seconds?: number;
4897
6872
  };
4898
6873
  }>;
4899
6874
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4924,6 +6899,7 @@ export declare function createModel(transport: Transport): {
4924
6899
  unsigned_urls: Array<string>;
4925
6900
  usage?: {
4926
6901
  cost: number;
6902
+ billed_seconds?: number;
4927
6903
  };
4928
6904
  }>;
4929
6905
  has_more: boolean;
@@ -4952,6 +6928,7 @@ export declare function createModel(transport: Transport): {
4952
6928
  unsigned_urls: Array<string>;
4953
6929
  usage?: {
4954
6930
  cost: number;
6931
+ billed_seconds?: number;
4955
6932
  };
4956
6933
  }>;
4957
6934
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -4968,6 +6945,7 @@ export declare function createOntology(transport: Transport): {
4968
6945
  create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
4969
6946
  };
4970
6947
  retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6948
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
4971
6949
  update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
4972
6950
  };
4973
6951
  relations: {
@@ -4988,6 +6966,23 @@ export declare function createOntology(transport: Transport): {
4988
6966
  };
4989
6967
  };
4990
6968
  export declare function createOrganization(transport: Transport): {
6969
+ actors: {
6970
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6971
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6972
+ };
6973
+ assignments: {
6974
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6975
+ makePrimary: {
6976
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6977
+ };
6978
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6979
+ terminate: {
6980
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6981
+ };
6982
+ transfer: {
6983
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6984
+ };
6985
+ };
4991
6986
  charges: {
4992
6987
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
4993
6988
  ChargePeriodStart: string;
@@ -5029,6 +7024,19 @@ export declare function createOrganization(transport: Transport): {
5029
7024
  next_page: string | null;
5030
7025
  }>;
5031
7026
  };
7027
+ departments: {
7028
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7029
+ dissolve: {
7030
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7031
+ };
7032
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7033
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7034
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7035
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7036
+ };
7037
+ effectiveSpec: {
7038
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7039
+ };
5032
7040
  events: {
5033
7041
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5034
7042
  object: "page";
@@ -5231,6 +7239,27 @@ export declare function createOrganization(transport: Transport): {
5231
7239
  }>;
5232
7240
  }>;
5233
7241
  };
7242
+ jobs: {
7243
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7244
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7245
+ retire: {
7246
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7247
+ };
7248
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7249
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7250
+ };
7251
+ keyResults: {
7252
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7253
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7254
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7255
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7256
+ };
7257
+ ladders: {
7258
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7259
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7260
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7261
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7262
+ };
5234
7263
  members: {
5235
7264
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5236
7265
  data: Array<{
@@ -5244,6 +7273,72 @@ export declare function createOrganization(transport: Transport): {
5244
7273
  next_page: string | null;
5245
7274
  }>;
5246
7275
  };
7276
+ objectives: {
7277
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7278
+ grade: {
7279
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7280
+ };
7281
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7282
+ parents: {
7283
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7284
+ };
7285
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7286
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7287
+ };
7288
+ periods: {
7289
+ close: {
7290
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7291
+ };
7292
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7293
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7294
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7295
+ };
7296
+ positions: {
7297
+ close: {
7298
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7299
+ };
7300
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7301
+ designateHead: {
7302
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7303
+ };
7304
+ freeze: {
7305
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7306
+ };
7307
+ hire: {
7308
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7309
+ };
7310
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7311
+ replaceHolder: {
7312
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7313
+ };
7314
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7315
+ unfreeze: {
7316
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7317
+ };
7318
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7319
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7320
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7321
+ };
7322
+ reconcile: {
7323
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7324
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7325
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
7326
+ run: {
7327
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7328
+ };
7329
+ status: {
7330
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
7331
+ };
7332
+ };
7333
+ specs: {
7334
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
7335
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7336
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
7337
+ revisions: {
7338
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
7339
+ };
7340
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7341
+ };
5247
7342
  usage: {
5248
7343
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5249
7344
  object: "page";
@@ -5267,8 +7362,163 @@ export declare function createOrganization(transport: Transport): {
5267
7362
  }>;
5268
7363
  };
5269
7364
  };
7365
+ export declare function createRegistry(transport: Transport): {
7366
+ installations: {
7367
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7368
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7369
+ };
7370
+ packages: {
7371
+ git: {
7372
+ commits: {
7373
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7374
+ };
7375
+ files: {
7376
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7377
+ };
7378
+ refs: {
7379
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7380
+ };
7381
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7382
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7383
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7384
+ trees: {
7385
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7386
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7387
+ };
7388
+ };
7389
+ gitCredential: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7391
+ };
7392
+ installations: {
7393
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7394
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7395
+ };
7396
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7397
+ versions: {
7398
+ contents: {
7399
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7400
+ };
7401
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7402
+ files: {
7403
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7404
+ };
7405
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7406
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7407
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7408
+ };
7409
+ };
7410
+ repositories: {
7411
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7412
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7413
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7414
+ packages: {
7415
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7416
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7417
+ };
7418
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7419
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7420
+ };
7421
+ };
5270
7422
  export declare function createSandbox(transport: Transport): {
7423
+ byod: {
7424
+ devices: {
7425
+ disconnect: {
7426
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7427
+ id: string;
7428
+ object: "byod_device";
7429
+ disconnected: true;
7430
+ }>;
7431
+ };
7432
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7433
+ data: Array<{
7434
+ object: "byod_device";
7435
+ id: string;
7436
+ platform: "android" | "macos" | "linux";
7437
+ name: string;
7438
+ model: string;
7439
+ os_version: string;
7440
+ online: boolean;
7441
+ last_seen_at: string | null;
7442
+ created_at: string;
7443
+ capabilities: Array<"display" | "agent">;
7444
+ agent_dirs: Array<string>;
7445
+ allow_bypass: boolean;
7446
+ }>;
7447
+ }>;
7448
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7449
+ object: "byod_device";
7450
+ id: string;
7451
+ platform: "android" | "macos" | "linux";
7452
+ name: string;
7453
+ model: string;
7454
+ os_version: string;
7455
+ online: boolean;
7456
+ last_seen_at: string | null;
7457
+ created_at: string;
7458
+ capabilities: Array<"display" | "agent">;
7459
+ agent_dirs: Array<string>;
7460
+ allow_bypass: boolean;
7461
+ }>;
7462
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7463
+ object: "byod_device";
7464
+ id: string;
7465
+ platform: "android" | "macos" | "linux";
7466
+ name: string;
7467
+ model: string;
7468
+ os_version: string;
7469
+ online: boolean;
7470
+ last_seen_at: string | null;
7471
+ created_at: string;
7472
+ capabilities: Array<"display" | "agent">;
7473
+ agent_dirs: Array<string>;
7474
+ allow_bypass: boolean;
7475
+ }>;
7476
+ };
7477
+ pairings: {
7478
+ claim: {
7479
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7480
+ device_id: string;
7481
+ credential: string;
7482
+ socket_url: string;
7483
+ }>;
7484
+ };
7485
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7486
+ code: string;
7487
+ expires_at: string;
7488
+ qr: string;
7489
+ }>;
7490
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7491
+ organization_name: string;
7492
+ expires_at: string;
7493
+ }>;
7494
+ };
7495
+ };
7496
+ events: {
7497
+ sandboxes: {
7498
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7499
+ };
7500
+ };
5271
7501
  sandboxes: {
7502
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7503
+ type: "snapshot";
7504
+ snapshot: string;
7505
+ refs: number;
7506
+ truncated: boolean;
7507
+ package: string;
7508
+ } | {
7509
+ type: "screenshot";
7510
+ mediaType: string;
7511
+ data: string;
7512
+ width: number;
7513
+ height: number;
7514
+ bytes: number;
7515
+ } | {
7516
+ type: "ok";
7517
+ ms?: number;
7518
+ } | {
7519
+ type: "wait";
7520
+ ms: number;
7521
+ }>;
5272
7522
  commands: {
5273
7523
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5274
7524
  stdout: string;
@@ -5346,6 +7596,20 @@ export declare function createSandbox(transport: Transport): {
5346
7596
  snapshots: {
5347
7597
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5348
7598
  };
7599
+ tasks: {
7600
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7601
+ taskId: string;
7602
+ instanceId: string;
7603
+ startedAt: number;
7604
+ }>;
7605
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7606
+ text: string;
7607
+ nextOffset: number;
7608
+ done: boolean;
7609
+ exitCode: number | null;
7610
+ size: number | null;
7611
+ }>;
7612
+ };
5349
7613
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5350
7614
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5351
7615
  name: string;
@@ -5388,7 +7652,6 @@ export declare function createSandbox(transport: Transport): {
5388
7652
  buildCount: number;
5389
7653
  envdVersion: Types.SandboxEnvdVersion;
5390
7654
  buildStatus: Types.SandboxTemplateBuildStatus;
5391
- lifecycles?: Array<"ephemeral" | "persistent">;
5392
7655
  official: boolean;
5393
7656
  sourceKind?: "dockerfile" | "image" | "snapshot";
5394
7657
  }[]>;
@@ -5485,6 +7748,14 @@ export declare function createSearch(transport: Transport): {
5485
7748
  }>;
5486
7749
  };
5487
7750
  };
7751
+ export declare function createShare(transport: Transport): {
7752
+ permissions: {
7753
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7754
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7755
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7756
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7757
+ };
7758
+ };
5488
7759
  export declare function createStudio(transport: Transport): {
5489
7760
  codexes: {
5490
7761
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5532,8 +7803,16 @@ export declare function createStudio(transport: Transport): {
5532
7803
  create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
5533
7804
  drafts: {
5534
7805
  create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7806
+ foreshadows: {
7807
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7808
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7809
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7810
+ };
5535
7811
  list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
5536
7812
  rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7813
+ renditions: {
7814
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7815
+ };
5537
7816
  retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
5538
7817
  retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
5539
7818
  retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
@@ -5547,10 +7826,41 @@ export declare function createStudio(transport: Transport): {
5547
7826
  create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
5548
7827
  };
5549
7828
  update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7829
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
5550
7830
  };
5551
7831
  list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7832
+ progressions: {
7833
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7834
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7835
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7836
+ };
7837
+ renditions: {
7838
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7839
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7840
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7841
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7842
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7843
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7844
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7845
+ };
5552
7846
  resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
5553
7847
  retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7848
+ reviewSettings: {
7849
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7850
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7851
+ };
7852
+ reviewers: {
7853
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7854
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7855
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7856
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7857
+ };
7858
+ reviews: {
7859
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7860
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7861
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7862
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7863
+ };
5554
7864
  units: {
5555
7865
  blocks: {
5556
7866
  patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
@@ -5561,7 +7871,6 @@ export declare function createStudio(transport: Transport): {
5561
7871
  update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
5562
7872
  };
5563
7873
  update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
5564
- updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
5565
7874
  };
5566
7875
  };
5567
7876
  export declare function createTicket(transport: Transport): {
@@ -5608,6 +7917,7 @@ export declare function createTicket(transport: Transport): {
5608
7917
  repositories: Array<Types.TicketRepository>;
5609
7918
  next_page_token: string;
5610
7919
  }>;
7920
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5611
7921
  };
5612
7922
  tickets: {
5613
7923
  comments: {
@@ -5737,9 +8047,12 @@ export declare const resourceFactories: {
5737
8047
  agent: typeof createAgent;
5738
8048
  application: typeof createApplication;
5739
8049
  automation: typeof createAutomation;
8050
+ billing: typeof createBilling;
5740
8051
  browser: typeof createBrowser;
5741
8052
  canvas: typeof createCanvas;
8053
+ content: typeof createContent;
5742
8054
  crm: typeof createCrm;
8055
+ customer: typeof createCustomer;
5743
8056
  cut: typeof createCut;
5744
8057
  database: typeof createDatabase;
5745
8058
  devops: typeof createDevops;
@@ -5750,8 +8063,10 @@ export declare const resourceFactories: {
5750
8063
  model: typeof createModel;
5751
8064
  ontology: typeof createOntology;
5752
8065
  organization: typeof createOrganization;
8066
+ registry: typeof createRegistry;
5753
8067
  sandbox: typeof createSandbox;
5754
8068
  search: typeof createSearch;
8069
+ share: typeof createShare;
5755
8070
  studio: typeof createStudio;
5756
8071
  ticket: typeof createTicket;
5757
8072
  vault: typeof createVault;