@deepraxis/sdk 0.1.1-dev.b4438f4 → 0.1.1-dev.b48e6b7

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