@deepraxis/sdk 0.1.1-dev.068423d → 0.1.1-dev.076efd9

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,275 @@ 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
+ id: string;
662
+ type: "user.tool_confirmation";
663
+ processed_at: string;
664
+ tool_use_id: string;
665
+ result: "allow";
666
+ answers: {
667
+ [key: string]: string;
668
+ };
669
+ annotations?: {
670
+ [key: string]: {
671
+ preview?: string;
672
+ notes?: string;
673
+ };
674
+ };
675
+ }>;
676
+ next_page: string | null;
677
+ }>;
678
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
679
+ data?: Array<{
680
+ id: string;
681
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
682
+ type: "user.message";
683
+ processed_at?: null | string;
684
+ praxis_context?: {
685
+ items: Array<{
686
+ name: string;
687
+ value: string;
688
+ }>;
689
+ };
690
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
691
+ id: string;
692
+ type: "user.steer";
693
+ event_id: string;
694
+ processed_at: string;
695
+ } | {
696
+ id: string;
697
+ type: "user.tool_confirmation";
698
+ processed_at: string;
699
+ tool_use_id: string;
700
+ result: "allow";
701
+ answers: {
702
+ [key: string]: string;
703
+ };
704
+ annotations?: {
705
+ [key: string]: {
706
+ preview?: string;
707
+ notes?: string;
708
+ };
709
+ };
710
+ }>;
711
+ }>;
712
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
713
+ };
714
+ inbox: {
715
+ letters: {
716
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
717
+ unread: number;
718
+ letters: Array<{
719
+ id: string;
720
+ sender: string;
721
+ summary: string;
722
+ thread: string | null;
723
+ create_time: string;
724
+ }>;
725
+ }>;
726
+ };
727
+ };
468
728
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
729
  data: Array<{
470
730
  id: string;
@@ -480,6 +740,7 @@ export declare function createAgent(transport: Transport): {
480
740
  speed?: "standard" | "fast";
481
741
  settings?: {
482
742
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
743
+ max_output_tokens?: number;
483
744
  };
484
745
  };
485
746
  multiagent?: null | Types.AgentManaged39;
@@ -504,18 +765,25 @@ export declare function createAgent(transport: Transport): {
504
765
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
505
766
  id: string;
506
767
  access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
507
769
  instructions?: string;
508
770
  readonly verified?: boolean;
509
771
  enabled?: boolean;
510
772
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
773
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
774
  readonly verified?: boolean;
513
775
  enabled?: boolean;
514
776
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
777
+ kind: "general" | "service" | "assume";
778
+ computers?: {
779
+ default: string;
780
+ allowed: Array<{
781
+ template: string;
782
+ name: string;
783
+ }>;
784
+ };
516
785
  computer_id?: string;
517
786
  subagent_model?: string | null;
518
- image_model?: string | null;
519
787
  subagents?: Array<{
520
788
  name: string;
521
789
  description: string;
@@ -606,6 +874,7 @@ export declare function createAgent(transport: Transport): {
606
874
  allowManagedHooksOnly?: boolean;
607
875
  allowManagedMcpServersOnly?: boolean;
608
876
  allowManagedPermissionRulesOnly?: boolean;
877
+ idleCompaction?: boolean;
609
878
  autoMemoryEnabled?: boolean;
610
879
  disabled?: {
611
880
  subagents?: Array<string>;
@@ -614,7 +883,6 @@ export declare function createAgent(transport: Transport): {
614
883
  mcpServers?: Array<string>;
615
884
  hooks?: Array<string>;
616
885
  };
617
- idleCompaction?: boolean;
618
886
  outputStyle?: string;
619
887
  } | null;
620
888
  models?: {
@@ -622,6 +890,7 @@ export declare function createAgent(transport: Transport): {
622
890
  };
623
891
  avatar: string | null;
624
892
  creation_source: string | null;
893
+ managed_by: string | null;
625
894
  identity_number: string | null;
626
895
  environment_id?: string | null;
627
896
  vault_ids?: Array<string>;
@@ -635,6 +904,32 @@ export declare function createAgent(transport: Transport): {
635
904
  }>;
636
905
  next_page: string | null;
637
906
  }>;
907
+ phone: {
908
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
909
+ object: "agent_phone";
910
+ agent_id: string;
911
+ configured: boolean;
912
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
913
+ sku: string | null;
914
+ name: string | null;
915
+ sandbox_id: string | null;
916
+ lease_ends_at: string | null;
917
+ archived_at: string | null;
918
+ archive_error: string | null;
919
+ }>;
920
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
921
+ object: "agent_phone";
922
+ agent_id: string;
923
+ configured: boolean;
924
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
925
+ sku: string | null;
926
+ name: string | null;
927
+ sandbox_id: string | null;
928
+ lease_ends_at: string | null;
929
+ archived_at: string | null;
930
+ archive_error: string | null;
931
+ }>;
932
+ };
638
933
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
934
  id: string;
640
935
  archived_at: null | string;
@@ -649,6 +944,7 @@ export declare function createAgent(transport: Transport): {
649
944
  speed?: "standard" | "fast";
650
945
  settings?: {
651
946
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
947
+ max_output_tokens?: number;
652
948
  };
653
949
  };
654
950
  multiagent?: null | Types.AgentManaged39;
@@ -674,18 +970,25 @@ export declare function createAgent(transport: Transport): {
674
970
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
675
971
  id: string;
676
972
  access: "read_only" | "read_write" | "invoke";
973
+ customer_access?: "read_only" | "read_write" | "invoke";
677
974
  instructions?: string;
678
975
  readonly verified?: boolean;
679
976
  enabled?: boolean;
680
977
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
978
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
979
  readonly verified?: boolean;
683
980
  enabled?: boolean;
684
981
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
982
+ kind: "general" | "service" | "assume";
983
+ computers?: {
984
+ default: string;
985
+ allowed: Array<{
986
+ template: string;
987
+ name: string;
988
+ }>;
989
+ };
686
990
  computer_id?: string;
687
991
  subagent_model?: string | null;
688
- image_model?: string | null;
689
992
  subagents?: Array<{
690
993
  name: string;
691
994
  description: string;
@@ -776,6 +1079,7 @@ export declare function createAgent(transport: Transport): {
776
1079
  allowManagedHooksOnly?: boolean;
777
1080
  allowManagedMcpServersOnly?: boolean;
778
1081
  allowManagedPermissionRulesOnly?: boolean;
1082
+ idleCompaction?: boolean;
779
1083
  autoMemoryEnabled?: boolean;
780
1084
  disabled?: {
781
1085
  subagents?: Array<string>;
@@ -784,7 +1088,6 @@ export declare function createAgent(transport: Transport): {
784
1088
  mcpServers?: Array<string>;
785
1089
  hooks?: Array<string>;
786
1090
  };
787
- idleCompaction?: boolean;
788
1091
  outputStyle?: string;
789
1092
  } | null;
790
1093
  models?: {
@@ -792,6 +1095,7 @@ export declare function createAgent(transport: Transport): {
792
1095
  };
793
1096
  avatar: string | null;
794
1097
  creation_source: string | null;
1098
+ managed_by: string | null;
795
1099
  identity_number: string | null;
796
1100
  environment_id?: string | null;
797
1101
  vault_ids?: Array<string>;
@@ -860,6 +1164,25 @@ export declare function createAgent(transport: Transport): {
860
1164
  history?: {
861
1165
  enabled?: boolean;
862
1166
  };
1167
+ uploads?: {
1168
+ enabled: boolean;
1169
+ max_file_bytes: number;
1170
+ max_files_per_session: number;
1171
+ };
1172
+ }>;
1173
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1174
+ allowed_origins: Array<string>;
1175
+ allow_localhost: boolean;
1176
+ uploads: {
1177
+ enabled: boolean;
1178
+ max_file_bytes: number;
1179
+ max_files_per_session: number;
1180
+ };
1181
+ share_links: {
1182
+ enabled: boolean;
1183
+ daily_session_cap: number | null;
1184
+ daily_spend_cap_micro_usd: number | null;
1185
+ };
863
1186
  }>;
864
1187
  unarchive: {
865
1188
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1236,7 @@ export declare function createAgent(transport: Transport): {
913
1236
  speed?: "standard" | "fast";
914
1237
  settings?: {
915
1238
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1239
+ max_output_tokens?: number;
916
1240
  };
917
1241
  };
918
1242
  multiagent?: null | {
@@ -1103,18 +1427,25 @@ export declare function createAgent(transport: Transport): {
1103
1427
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1104
1428
  id: string;
1105
1429
  access: "read_only" | "read_write" | "invoke";
1430
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1431
  instructions?: string;
1107
1432
  readonly verified?: boolean;
1108
1433
  enabled?: boolean;
1109
1434
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1435
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1436
  readonly verified?: boolean;
1112
1437
  enabled?: boolean;
1113
1438
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1439
+ kind: "general" | "service" | "assume";
1440
+ computers?: {
1441
+ default: string;
1442
+ allowed: Array<{
1443
+ template: string;
1444
+ name: string;
1445
+ }>;
1446
+ };
1115
1447
  computer_id?: string;
1116
1448
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1449
  subagents?: Array<{
1119
1450
  name: string;
1120
1451
  description: string;
@@ -1205,6 +1536,7 @@ export declare function createAgent(transport: Transport): {
1205
1536
  allowManagedHooksOnly?: boolean;
1206
1537
  allowManagedMcpServersOnly?: boolean;
1207
1538
  allowManagedPermissionRulesOnly?: boolean;
1539
+ idleCompaction?: boolean;
1208
1540
  autoMemoryEnabled?: boolean;
1209
1541
  disabled?: {
1210
1542
  subagents?: Array<string>;
@@ -1213,7 +1545,6 @@ export declare function createAgent(transport: Transport): {
1213
1545
  mcpServers?: Array<string>;
1214
1546
  hooks?: Array<string>;
1215
1547
  };
1216
- idleCompaction?: boolean;
1217
1548
  outputStyle?: string;
1218
1549
  } | null;
1219
1550
  models?: {
@@ -1221,6 +1552,7 @@ export declare function createAgent(transport: Transport): {
1221
1552
  };
1222
1553
  avatar: string | null;
1223
1554
  creation_source: string | null;
1555
+ managed_by: string | null;
1224
1556
  identity_number: string | null;
1225
1557
  environment_id?: string | null;
1226
1558
  vault_ids?: Array<string>;
@@ -1247,6 +1579,7 @@ export declare function createAgent(transport: Transport): {
1247
1579
  speed?: "standard" | "fast";
1248
1580
  settings?: {
1249
1581
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1582
+ max_output_tokens?: number;
1250
1583
  };
1251
1584
  };
1252
1585
  multiagent?: null | Types.AgentManaged39;
@@ -1272,18 +1605,25 @@ export declare function createAgent(transport: Transport): {
1272
1605
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1273
1606
  id: string;
1274
1607
  access: "read_only" | "read_write" | "invoke";
1608
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1609
  instructions?: string;
1276
1610
  readonly verified?: boolean;
1277
1611
  enabled?: boolean;
1278
1612
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1613
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1614
  readonly verified?: boolean;
1281
1615
  enabled?: boolean;
1282
1616
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1617
+ kind: "general" | "service" | "assume";
1618
+ computers?: {
1619
+ default: string;
1620
+ allowed: Array<{
1621
+ template: string;
1622
+ name: string;
1623
+ }>;
1624
+ };
1284
1625
  computer_id?: string;
1285
1626
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1627
  subagents?: Array<{
1288
1628
  name: string;
1289
1629
  description: string;
@@ -1374,6 +1714,7 @@ export declare function createAgent(transport: Transport): {
1374
1714
  allowManagedHooksOnly?: boolean;
1375
1715
  allowManagedMcpServersOnly?: boolean;
1376
1716
  allowManagedPermissionRulesOnly?: boolean;
1717
+ idleCompaction?: boolean;
1377
1718
  autoMemoryEnabled?: boolean;
1378
1719
  disabled?: {
1379
1720
  subagents?: Array<string>;
@@ -1382,7 +1723,6 @@ export declare function createAgent(transport: Transport): {
1382
1723
  mcpServers?: Array<string>;
1383
1724
  hooks?: Array<string>;
1384
1725
  };
1385
- idleCompaction?: boolean;
1386
1726
  outputStyle?: string;
1387
1727
  } | null;
1388
1728
  models?: {
@@ -1390,6 +1730,7 @@ export declare function createAgent(transport: Transport): {
1390
1730
  };
1391
1731
  avatar: string | null;
1392
1732
  creation_source: string | null;
1733
+ managed_by: string | null;
1393
1734
  identity_number: string | null;
1394
1735
  environment_id?: string | null;
1395
1736
  vault_ids?: Array<string>;
@@ -1401,28 +1742,245 @@ export declare function createAgent(transport: Transport): {
1401
1742
  keep_coding_instructions?: boolean;
1402
1743
  }> | null;
1403
1744
  }>;
1745
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1746
+ allowed_origins: Array<string>;
1747
+ allow_localhost: boolean;
1748
+ uploads: {
1749
+ enabled: boolean;
1750
+ max_file_bytes: number;
1751
+ max_files_per_session: number;
1752
+ };
1753
+ share_links: {
1754
+ enabled: boolean;
1755
+ daily_session_cap: number | null;
1756
+ daily_spend_cap_micro_usd: number | null;
1757
+ };
1758
+ }>;
1404
1759
  versions: {
1405
1760
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1761
  id: string;
1407
1762
  archived_at: null | string;
1408
1763
  created_at: string;
1409
1764
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1765
+ mcp_servers: Array<{
1766
+ type: "url";
1767
+ name: string;
1768
+ url: string;
1769
+ headers?: {
1770
+ [key: string]: string;
1771
+ };
1772
+ timeout_ms?: number;
1773
+ } | {
1774
+ type: "sse";
1775
+ name: string;
1776
+ url: string;
1777
+ headers?: {
1778
+ [key: string]: string;
1779
+ };
1780
+ timeout_ms?: number;
1781
+ } | {
1782
+ type: "stdio";
1783
+ name: string;
1784
+ command: string;
1785
+ args?: Array<string>;
1786
+ env?: {
1787
+ [key: string]: string;
1788
+ };
1789
+ timeout_ms?: number;
1790
+ }>;
1791
+ metadata: {
1792
+ [key: string]: string;
1793
+ };
1412
1794
  model?: {
1413
1795
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1796
+ effort?: {
1797
+ type: "low";
1798
+ } | {
1799
+ type: "medium";
1800
+ } | {
1801
+ type: "high";
1802
+ } | {
1803
+ type: "xhigh";
1804
+ } | {
1805
+ type: "max";
1806
+ };
1415
1807
  inference_geo?: string;
1416
1808
  speed?: "standard" | "fast";
1417
1809
  settings?: {
1418
1810
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1811
+ max_output_tokens?: number;
1812
+ };
1813
+ };
1814
+ multiagent?: null | {
1815
+ agents: Array<{
1816
+ id: string;
1817
+ type: "agent";
1818
+ version: number;
1819
+ } | {
1820
+ model: string;
1821
+ type: "advisor";
1822
+ }>;
1823
+ type: "coordinator";
1824
+ };
1825
+ name: string;
1826
+ skills: Array<{
1827
+ skill_id: string;
1828
+ type: "anthropic";
1829
+ version: string;
1830
+ } | {
1831
+ skill_id: string;
1832
+ type: "custom";
1833
+ version: string;
1834
+ }>;
1835
+ system: null | string;
1836
+ tools: Array<{
1837
+ configs: Array<{
1838
+ enabled: boolean;
1839
+ name: "bash";
1840
+ permission_policy: {
1841
+ type: "always_allow";
1842
+ } | {
1843
+ type: "always_ask";
1844
+ } | {
1845
+ type: "auto";
1846
+ };
1847
+ type: "bash";
1848
+ } | {
1849
+ enabled: boolean;
1850
+ name: "edit";
1851
+ permission_policy: {
1852
+ type: "always_allow";
1853
+ } | {
1854
+ type: "always_ask";
1855
+ } | {
1856
+ type: "auto";
1857
+ };
1858
+ type: "edit";
1859
+ } | {
1860
+ enabled: boolean;
1861
+ name: "read";
1862
+ permission_policy: {
1863
+ type: "always_allow";
1864
+ } | {
1865
+ type: "always_ask";
1866
+ } | {
1867
+ type: "auto";
1868
+ };
1869
+ type: "read";
1870
+ } | {
1871
+ enabled: boolean;
1872
+ name: "write";
1873
+ permission_policy: {
1874
+ type: "always_allow";
1875
+ } | {
1876
+ type: "always_ask";
1877
+ } | {
1878
+ type: "auto";
1879
+ };
1880
+ type: "write";
1881
+ } | {
1882
+ enabled: boolean;
1883
+ name: "glob";
1884
+ permission_policy: {
1885
+ type: "always_allow";
1886
+ } | {
1887
+ type: "always_ask";
1888
+ } | {
1889
+ type: "auto";
1890
+ };
1891
+ type: "glob";
1892
+ } | {
1893
+ enabled: boolean;
1894
+ name: "grep";
1895
+ permission_policy: {
1896
+ type: "always_allow";
1897
+ } | {
1898
+ type: "always_ask";
1899
+ } | {
1900
+ type: "auto";
1901
+ };
1902
+ type: "grep";
1903
+ } | {
1904
+ enabled: boolean;
1905
+ name: "web_fetch";
1906
+ permission_policy: {
1907
+ type: "always_allow";
1908
+ } | {
1909
+ type: "always_ask";
1910
+ } | {
1911
+ type: "auto";
1912
+ };
1913
+ type: "web_fetch";
1914
+ allowed_domains?: Array<string>;
1915
+ blocked_domains?: Array<string>;
1916
+ max_content_tokens?: null | number;
1917
+ } | {
1918
+ enabled: boolean;
1919
+ name: "web_search";
1920
+ permission_policy: {
1921
+ type: "always_allow";
1922
+ } | {
1923
+ type: "always_ask";
1924
+ } | {
1925
+ type: "auto";
1926
+ };
1927
+ type: "web_search";
1928
+ allowed_domains?: Array<string>;
1929
+ blocked_domains?: Array<string>;
1930
+ user_location?: null | {
1931
+ type: "approximate";
1932
+ city?: null | string;
1933
+ country?: null | string;
1934
+ region?: null | string;
1935
+ timezone?: null | string;
1936
+ };
1937
+ } | {
1938
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1939
+ enabled: boolean;
1940
+ permission_policy: {
1941
+ type: "always_allow" | "always_ask";
1942
+ };
1943
+ }>;
1944
+ default_config: {
1945
+ enabled: boolean;
1946
+ permission_policy: {
1947
+ type: "always_allow";
1948
+ } | {
1949
+ type: "always_ask";
1950
+ } | {
1951
+ type: "auto";
1952
+ };
1419
1953
  };
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>;
1954
+ type: "agent_toolset_20260401";
1955
+ } | {
1956
+ type: "mcp_toolset";
1957
+ mcp_server_name: string;
1958
+ default_config?: {
1959
+ enabled?: boolean | null;
1960
+ permission_policy?: null | {
1961
+ type: "always_allow" | "always_ask";
1962
+ };
1963
+ } | null;
1964
+ configs?: Array<{
1965
+ name: string;
1966
+ enabled?: boolean | null;
1967
+ permission_policy?: null | {
1968
+ type: "always_allow" | "always_ask";
1969
+ };
1970
+ }> | null;
1971
+ } | {
1972
+ description: string;
1973
+ input_schema: {
1974
+ type: "object";
1975
+ properties?: null | {
1976
+ [key: string]: unknown;
1977
+ };
1978
+ required?: null | Array<string>;
1979
+ [key: string]: unknown;
1980
+ };
1981
+ name: string;
1982
+ type: "custom";
1983
+ }>;
1426
1984
  type: "agent";
1427
1985
  updated_at: string;
1428
1986
  version: number;
@@ -1441,18 +1999,25 @@ export declare function createAgent(transport: Transport): {
1441
1999
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1442
2000
  id: string;
1443
2001
  access: "read_only" | "read_write" | "invoke";
2002
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
2003
  instructions?: string;
1445
2004
  readonly verified?: boolean;
1446
2005
  enabled?: boolean;
1447
2006
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2007
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
2008
  readonly verified?: boolean;
1450
2009
  enabled?: boolean;
1451
2010
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
2011
+ kind: "general" | "service" | "assume";
2012
+ computers?: {
2013
+ default: string;
2014
+ allowed: Array<{
2015
+ template: string;
2016
+ name: string;
2017
+ }>;
2018
+ };
1453
2019
  computer_id?: string;
1454
2020
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
2021
  subagents?: Array<{
1457
2022
  name: string;
1458
2023
  description: string;
@@ -1543,6 +2108,7 @@ export declare function createAgent(transport: Transport): {
1543
2108
  allowManagedHooksOnly?: boolean;
1544
2109
  allowManagedMcpServersOnly?: boolean;
1545
2110
  allowManagedPermissionRulesOnly?: boolean;
2111
+ idleCompaction?: boolean;
1546
2112
  autoMemoryEnabled?: boolean;
1547
2113
  disabled?: {
1548
2114
  subagents?: Array<string>;
@@ -1551,7 +2117,6 @@ export declare function createAgent(transport: Transport): {
1551
2117
  mcpServers?: Array<string>;
1552
2118
  hooks?: Array<string>;
1553
2119
  };
1554
- idleCompaction?: boolean;
1555
2120
  outputStyle?: string;
1556
2121
  } | null;
1557
2122
  models?: {
@@ -1559,6 +2124,7 @@ export declare function createAgent(transport: Transport): {
1559
2124
  };
1560
2125
  avatar: string | null;
1561
2126
  creation_source: string | null;
2127
+ managed_by: string | null;
1562
2128
  identity_number: string | null;
1563
2129
  environment_id?: string | null;
1564
2130
  vault_ids?: Array<string>;
@@ -1585,6 +2151,7 @@ export declare function createAgent(transport: Transport): {
1585
2151
  speed?: "standard" | "fast";
1586
2152
  settings?: {
1587
2153
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2154
+ max_output_tokens?: number;
1588
2155
  };
1589
2156
  };
1590
2157
  multiagent?: null | Types.AgentManaged39;
@@ -1610,18 +2177,25 @@ export declare function createAgent(transport: Transport): {
1610
2177
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1611
2178
  id: string;
1612
2179
  access: "read_only" | "read_write" | "invoke";
2180
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2181
  instructions?: string;
1614
2182
  readonly verified?: boolean;
1615
2183
  enabled?: boolean;
1616
2184
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2185
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2186
  readonly verified?: boolean;
1619
2187
  enabled?: boolean;
1620
2188
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2189
+ kind: "general" | "service" | "assume";
2190
+ computers?: {
2191
+ default: string;
2192
+ allowed: Array<{
2193
+ template: string;
2194
+ name: string;
2195
+ }>;
2196
+ };
1622
2197
  computer_id?: string;
1623
2198
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2199
  subagents?: Array<{
1626
2200
  name: string;
1627
2201
  description: string;
@@ -1712,6 +2286,7 @@ export declare function createAgent(transport: Transport): {
1712
2286
  allowManagedHooksOnly?: boolean;
1713
2287
  allowManagedMcpServersOnly?: boolean;
1714
2288
  allowManagedPermissionRulesOnly?: boolean;
2289
+ idleCompaction?: boolean;
1715
2290
  autoMemoryEnabled?: boolean;
1716
2291
  disabled?: {
1717
2292
  subagents?: Array<string>;
@@ -1720,7 +2295,6 @@ export declare function createAgent(transport: Transport): {
1720
2295
  mcpServers?: Array<string>;
1721
2296
  hooks?: Array<string>;
1722
2297
  };
1723
- idleCompaction?: boolean;
1724
2298
  outputStyle?: string;
1725
2299
  } | null;
1726
2300
  models?: {
@@ -1728,6 +2302,7 @@ export declare function createAgent(transport: Transport): {
1728
2302
  };
1729
2303
  avatar: string | null;
1730
2304
  creation_source: string | null;
2305
+ managed_by: string | null;
1731
2306
  identity_number: string | null;
1732
2307
  environment_id?: string | null;
1733
2308
  vault_ids?: Array<string>;
@@ -1795,16 +2370,9 @@ export declare function createAgent(transport: Transport): {
1795
2370
  files: {
1796
2371
  convert: {
1797
2372
  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;
2373
+ data: string;
2374
+ mime: "application/pdf";
2375
+ cached: boolean;
1808
2376
  }>;
1809
2377
  };
1810
2378
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1822,6 +2390,18 @@ export declare function createAgent(transport: Transport): {
1822
2390
  tier: "light" | "heavy";
1823
2391
  }>;
1824
2392
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2393
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2394
+ variant: "image" | "pdf" | "text" | "original";
2395
+ version?: string;
2396
+ mime_type?: string;
2397
+ size?: number;
2398
+ file_id?: string;
2399
+ url?: string;
2400
+ expires_at?: string;
2401
+ cached: boolean;
2402
+ fallback?: "content";
2403
+ skipped?: boolean;
2404
+ }>;
1825
2405
  };
1826
2406
  leases: {
1827
2407
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1862,6 +2442,7 @@ export declare function createAgent(transport: Transport): {
1862
2442
  created_at: string;
1863
2443
  updated_at: string;
1864
2444
  archived_at: string | null;
2445
+ machine: "light" | "full";
1865
2446
  implementation: "virtual" | "sandbox";
1866
2447
  storage_bytes: number;
1867
2448
  file_count: number;
@@ -2167,6 +2748,543 @@ export declare function createAgent(transport: Transport): {
2167
2748
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2168
2749
  };
2169
2750
  sessions: {
2751
+ agentVersion: {
2752
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2753
+ id: string;
2754
+ agent: {
2755
+ id: string;
2756
+ description: null | string;
2757
+ mcp_servers: Array<{
2758
+ type: "url";
2759
+ name: string;
2760
+ url: string;
2761
+ headers?: {
2762
+ [key: string]: string;
2763
+ };
2764
+ timeout_ms?: number;
2765
+ } | {
2766
+ type: "sse";
2767
+ name: string;
2768
+ url: string;
2769
+ headers?: {
2770
+ [key: string]: string;
2771
+ };
2772
+ timeout_ms?: number;
2773
+ } | {
2774
+ type: "stdio";
2775
+ name: string;
2776
+ command: string;
2777
+ args?: Array<string>;
2778
+ env?: {
2779
+ [key: string]: string;
2780
+ };
2781
+ timeout_ms?: number;
2782
+ }>;
2783
+ model: {
2784
+ id: string;
2785
+ effort?: {
2786
+ type: "low";
2787
+ } | {
2788
+ type: "medium";
2789
+ } | {
2790
+ type: "high";
2791
+ } | {
2792
+ type: "xhigh";
2793
+ } | {
2794
+ type: "max";
2795
+ };
2796
+ inference_geo?: string;
2797
+ speed?: "standard" | "fast";
2798
+ settings?: {
2799
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2800
+ max_output_tokens?: number;
2801
+ };
2802
+ };
2803
+ multiagent: null | {
2804
+ agents: Array<{
2805
+ model: string;
2806
+ type: "advisor";
2807
+ } | {
2808
+ id: string;
2809
+ description: null | string;
2810
+ mcp_servers: Array<{
2811
+ type: "url";
2812
+ name: string;
2813
+ url: string;
2814
+ headers?: {
2815
+ [key: string]: string;
2816
+ };
2817
+ timeout_ms?: number;
2818
+ } | {
2819
+ type: "sse";
2820
+ name: string;
2821
+ url: string;
2822
+ headers?: {
2823
+ [key: string]: string;
2824
+ };
2825
+ timeout_ms?: number;
2826
+ } | {
2827
+ type: "stdio";
2828
+ name: string;
2829
+ command: string;
2830
+ args?: Array<string>;
2831
+ env?: {
2832
+ [key: string]: string;
2833
+ };
2834
+ timeout_ms?: number;
2835
+ }>;
2836
+ model: {
2837
+ id: string;
2838
+ effort?: {
2839
+ type: "low";
2840
+ } | {
2841
+ type: "medium";
2842
+ } | {
2843
+ type: "high";
2844
+ } | {
2845
+ type: "xhigh";
2846
+ } | {
2847
+ type: "max";
2848
+ };
2849
+ inference_geo?: string;
2850
+ speed?: "standard" | "fast";
2851
+ };
2852
+ name: string;
2853
+ skills: Array<{
2854
+ skill_id: string;
2855
+ type: "anthropic";
2856
+ version: string;
2857
+ } | {
2858
+ skill_id: string;
2859
+ type: "custom";
2860
+ version: string;
2861
+ }>;
2862
+ system: null | string;
2863
+ tools: Array<{
2864
+ configs: Array<{
2865
+ enabled: boolean;
2866
+ name: "bash";
2867
+ permission_policy: {
2868
+ type: "always_allow";
2869
+ } | {
2870
+ type: "always_ask";
2871
+ } | {
2872
+ type: "auto";
2873
+ };
2874
+ type: "bash";
2875
+ } | {
2876
+ enabled: boolean;
2877
+ name: "edit";
2878
+ permission_policy: {
2879
+ type: "always_allow";
2880
+ } | {
2881
+ type: "always_ask";
2882
+ } | {
2883
+ type: "auto";
2884
+ };
2885
+ type: "edit";
2886
+ } | {
2887
+ enabled: boolean;
2888
+ name: "read";
2889
+ permission_policy: {
2890
+ type: "always_allow";
2891
+ } | {
2892
+ type: "always_ask";
2893
+ } | {
2894
+ type: "auto";
2895
+ };
2896
+ type: "read";
2897
+ } | {
2898
+ enabled: boolean;
2899
+ name: "write";
2900
+ permission_policy: {
2901
+ type: "always_allow";
2902
+ } | {
2903
+ type: "always_ask";
2904
+ } | {
2905
+ type: "auto";
2906
+ };
2907
+ type: "write";
2908
+ } | {
2909
+ enabled: boolean;
2910
+ name: "glob";
2911
+ permission_policy: {
2912
+ type: "always_allow";
2913
+ } | {
2914
+ type: "always_ask";
2915
+ } | {
2916
+ type: "auto";
2917
+ };
2918
+ type: "glob";
2919
+ } | {
2920
+ enabled: boolean;
2921
+ name: "grep";
2922
+ permission_policy: {
2923
+ type: "always_allow";
2924
+ } | {
2925
+ type: "always_ask";
2926
+ } | {
2927
+ type: "auto";
2928
+ };
2929
+ type: "grep";
2930
+ } | {
2931
+ enabled: boolean;
2932
+ name: "web_fetch";
2933
+ permission_policy: {
2934
+ type: "always_allow";
2935
+ } | {
2936
+ type: "always_ask";
2937
+ } | {
2938
+ type: "auto";
2939
+ };
2940
+ type: "web_fetch";
2941
+ allowed_domains?: Array<string>;
2942
+ blocked_domains?: Array<string>;
2943
+ max_content_tokens?: null | number;
2944
+ } | {
2945
+ enabled: boolean;
2946
+ name: "web_search";
2947
+ permission_policy: {
2948
+ type: "always_allow";
2949
+ } | {
2950
+ type: "always_ask";
2951
+ } | {
2952
+ type: "auto";
2953
+ };
2954
+ type: "web_search";
2955
+ allowed_domains?: Array<string>;
2956
+ blocked_domains?: Array<string>;
2957
+ user_location?: null | {
2958
+ type: "approximate";
2959
+ city?: null | string;
2960
+ country?: null | string;
2961
+ region?: null | string;
2962
+ timezone?: null | string;
2963
+ };
2964
+ } | {
2965
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2966
+ enabled: boolean;
2967
+ permission_policy: {
2968
+ type: "always_allow" | "always_ask";
2969
+ };
2970
+ }>;
2971
+ default_config: {
2972
+ enabled: boolean;
2973
+ permission_policy: {
2974
+ type: "always_allow";
2975
+ } | {
2976
+ type: "always_ask";
2977
+ } | {
2978
+ type: "auto";
2979
+ };
2980
+ };
2981
+ type: "agent_toolset_20260401";
2982
+ } | {
2983
+ type: "mcp_toolset";
2984
+ mcp_server_name: string;
2985
+ default_config?: {
2986
+ enabled?: boolean | null;
2987
+ permission_policy?: null | {
2988
+ type: "always_allow" | "always_ask";
2989
+ };
2990
+ } | null;
2991
+ configs?: Array<{
2992
+ name: string;
2993
+ enabled?: boolean | null;
2994
+ permission_policy?: null | {
2995
+ type: "always_allow" | "always_ask";
2996
+ };
2997
+ }> | null;
2998
+ } | {
2999
+ description: string;
3000
+ input_schema: {
3001
+ type: "object";
3002
+ properties?: null | {
3003
+ [key: string]: unknown;
3004
+ };
3005
+ required?: null | Array<string>;
3006
+ [key: string]: unknown;
3007
+ };
3008
+ name: string;
3009
+ type: "custom";
3010
+ }>;
3011
+ type: "agent";
3012
+ version: number;
3013
+ }>;
3014
+ type: "coordinator";
3015
+ };
3016
+ name: string;
3017
+ skills: Array<{
3018
+ skill_id: string;
3019
+ type: "anthropic";
3020
+ version: string;
3021
+ } | {
3022
+ skill_id: string;
3023
+ type: "custom";
3024
+ version: string;
3025
+ }>;
3026
+ system: null | string;
3027
+ tools: Array<{
3028
+ configs: Array<{
3029
+ enabled: boolean;
3030
+ name: "bash";
3031
+ permission_policy: {
3032
+ type: "always_allow";
3033
+ } | {
3034
+ type: "always_ask";
3035
+ } | {
3036
+ type: "auto";
3037
+ };
3038
+ type: "bash";
3039
+ } | {
3040
+ enabled: boolean;
3041
+ name: "edit";
3042
+ permission_policy: {
3043
+ type: "always_allow";
3044
+ } | {
3045
+ type: "always_ask";
3046
+ } | {
3047
+ type: "auto";
3048
+ };
3049
+ type: "edit";
3050
+ } | {
3051
+ enabled: boolean;
3052
+ name: "read";
3053
+ permission_policy: {
3054
+ type: "always_allow";
3055
+ } | {
3056
+ type: "always_ask";
3057
+ } | {
3058
+ type: "auto";
3059
+ };
3060
+ type: "read";
3061
+ } | {
3062
+ enabled: boolean;
3063
+ name: "write";
3064
+ permission_policy: {
3065
+ type: "always_allow";
3066
+ } | {
3067
+ type: "always_ask";
3068
+ } | {
3069
+ type: "auto";
3070
+ };
3071
+ type: "write";
3072
+ } | {
3073
+ enabled: boolean;
3074
+ name: "glob";
3075
+ permission_policy: {
3076
+ type: "always_allow";
3077
+ } | {
3078
+ type: "always_ask";
3079
+ } | {
3080
+ type: "auto";
3081
+ };
3082
+ type: "glob";
3083
+ } | {
3084
+ enabled: boolean;
3085
+ name: "grep";
3086
+ permission_policy: {
3087
+ type: "always_allow";
3088
+ } | {
3089
+ type: "always_ask";
3090
+ } | {
3091
+ type: "auto";
3092
+ };
3093
+ type: "grep";
3094
+ } | {
3095
+ enabled: boolean;
3096
+ name: "web_fetch";
3097
+ permission_policy: {
3098
+ type: "always_allow";
3099
+ } | {
3100
+ type: "always_ask";
3101
+ } | {
3102
+ type: "auto";
3103
+ };
3104
+ type: "web_fetch";
3105
+ allowed_domains?: Array<string>;
3106
+ blocked_domains?: Array<string>;
3107
+ max_content_tokens?: null | number;
3108
+ } | {
3109
+ enabled: boolean;
3110
+ name: "web_search";
3111
+ permission_policy: {
3112
+ type: "always_allow";
3113
+ } | {
3114
+ type: "always_ask";
3115
+ } | {
3116
+ type: "auto";
3117
+ };
3118
+ type: "web_search";
3119
+ allowed_domains?: Array<string>;
3120
+ blocked_domains?: Array<string>;
3121
+ user_location?: null | {
3122
+ type: "approximate";
3123
+ city?: null | string;
3124
+ country?: null | string;
3125
+ region?: null | string;
3126
+ timezone?: null | string;
3127
+ };
3128
+ } | {
3129
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3130
+ enabled: boolean;
3131
+ permission_policy: {
3132
+ type: "always_allow" | "always_ask";
3133
+ };
3134
+ }>;
3135
+ default_config: {
3136
+ enabled: boolean;
3137
+ permission_policy: {
3138
+ type: "always_allow";
3139
+ } | {
3140
+ type: "always_ask";
3141
+ } | {
3142
+ type: "auto";
3143
+ };
3144
+ };
3145
+ type: "agent_toolset_20260401";
3146
+ } | {
3147
+ type: "mcp_toolset";
3148
+ mcp_server_name: string;
3149
+ default_config?: {
3150
+ enabled?: boolean | null;
3151
+ permission_policy?: null | {
3152
+ type: "always_allow" | "always_ask";
3153
+ };
3154
+ } | null;
3155
+ configs?: Array<{
3156
+ name: string;
3157
+ enabled?: boolean | null;
3158
+ permission_policy?: null | {
3159
+ type: "always_allow" | "always_ask";
3160
+ };
3161
+ }> | null;
3162
+ } | {
3163
+ description: string;
3164
+ input_schema: {
3165
+ type: "object";
3166
+ properties?: null | {
3167
+ [key: string]: unknown;
3168
+ };
3169
+ required?: null | Array<string>;
3170
+ [key: string]: unknown;
3171
+ };
3172
+ name: string;
3173
+ type: "custom";
3174
+ }>;
3175
+ type: "agent";
3176
+ version: number;
3177
+ };
3178
+ archived_at: null | string;
3179
+ budget: null | {
3180
+ max_list_cost: {
3181
+ amount: string;
3182
+ currency: "USD";
3183
+ };
3184
+ type: "limit";
3185
+ };
3186
+ created_at: string;
3187
+ environment_id?: string;
3188
+ metadata: {
3189
+ [key: string]: string;
3190
+ };
3191
+ outcome_evaluations: Array<{
3192
+ completed_at: null | string;
3193
+ description: string;
3194
+ explanation: null | string;
3195
+ iteration: number;
3196
+ outcome_id: string;
3197
+ result: string;
3198
+ type: "outcome_evaluation";
3199
+ }>;
3200
+ resources: Array<{
3201
+ id: string;
3202
+ created_at: string;
3203
+ mount_path: string;
3204
+ type: "github_repository";
3205
+ updated_at: string;
3206
+ url: string;
3207
+ checkout?: null | {
3208
+ name: string;
3209
+ type: "branch";
3210
+ } | {
3211
+ sha: string;
3212
+ type: "commit";
3213
+ };
3214
+ } | {
3215
+ id: string;
3216
+ created_at: string;
3217
+ file_id: string;
3218
+ mount_path: string;
3219
+ type: "file";
3220
+ updated_at: string;
3221
+ } | {
3222
+ memory_store_id: string;
3223
+ type: "memory_store";
3224
+ access?: null | "read_write" | "read_only";
3225
+ description?: string;
3226
+ instructions?: null | string;
3227
+ mount_path?: null | string;
3228
+ name?: null | string;
3229
+ }>;
3230
+ stats: {
3231
+ active_seconds?: number;
3232
+ duration_seconds?: number;
3233
+ };
3234
+ status: "rescheduling" | "running" | "idle" | "terminated";
3235
+ title: null | string;
3236
+ type: "session";
3237
+ updated_at: string;
3238
+ usage: {
3239
+ active_seconds?: number;
3240
+ cache_creation?: {
3241
+ ephemeral_1h_input_tokens?: number;
3242
+ ephemeral_5m_input_tokens?: number;
3243
+ };
3244
+ cache_read_input_tokens?: number;
3245
+ input_tokens?: number;
3246
+ list_cost?: null | {
3247
+ amount: string;
3248
+ currency: "USD";
3249
+ };
3250
+ output_tokens?: number;
3251
+ server_tool_use?: null | {
3252
+ web_fetch_requests?: number;
3253
+ web_search_requests?: number;
3254
+ };
3255
+ cost_by_product?: {
3256
+ [key: string]: string;
3257
+ };
3258
+ subagent_cost_micro_usd?: number;
3259
+ };
3260
+ vault_ids: Array<string>;
3261
+ deployment_id?: null | string;
3262
+ cwd: string;
3263
+ workspace?: {
3264
+ kind: "shared" | "isolated";
3265
+ path?: string;
3266
+ branch?: string;
3267
+ };
3268
+ computer_id?: string;
3269
+ model?: {
3270
+ id: string;
3271
+ thinking: {
3272
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3273
+ can_disable: boolean;
3274
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3275
+ } | null;
3276
+ };
3277
+ thinking?: {
3278
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3279
+ } | null;
3280
+ forked_from?: {
3281
+ session_id: string;
3282
+ message_id: string;
3283
+ } | null;
3284
+ readonly external_user_id: string | null;
3285
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3286
+ }>;
3287
+ };
2170
3288
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2171
3289
  id: string;
2172
3290
  agent: {
@@ -2180,6 +3298,7 @@ export declare function createAgent(transport: Transport): {
2180
3298
  speed?: "standard" | "fast";
2181
3299
  settings?: {
2182
3300
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3301
+ max_output_tokens?: number;
2183
3302
  };
2184
3303
  };
2185
3304
  multiagent: null | Types.AgentManaged171;
@@ -2206,6 +3325,11 @@ export declare function createAgent(transport: Transport): {
2206
3325
  vault_ids: Array<string>;
2207
3326
  deployment_id?: null | string;
2208
3327
  cwd: string;
3328
+ workspace?: {
3329
+ kind: "shared" | "isolated";
3330
+ path?: string;
3331
+ branch?: string;
3332
+ };
2209
3333
  computer_id?: string;
2210
3334
  model?: {
2211
3335
  id: string;
@@ -2225,6 +3349,40 @@ export declare function createAgent(transport: Transport): {
2225
3349
  readonly external_user_id: string | null;
2226
3350
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2227
3351
  }>;
3352
+ artifacts: {
3353
+ contentUrl: {
3354
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3355
+ url: string;
3356
+ expire_time: string;
3357
+ }>;
3358
+ };
3359
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3360
+ data: Array<{
3361
+ object: "artifact";
3362
+ id: string;
3363
+ session_id: string;
3364
+ run_id: string | null;
3365
+ name: string;
3366
+ version: number;
3367
+ parts: Array<{
3368
+ kind: "file";
3369
+ file_id: string;
3370
+ filename: string;
3371
+ mime_type: string;
3372
+ bytes: number;
3373
+ } | {
3374
+ kind: "object";
3375
+ object_type: "canvas" | "media_asset";
3376
+ object_id: string;
3377
+ href: string;
3378
+ title: string | null;
3379
+ }>;
3380
+ source_hrefs: Array<string>;
3381
+ create_time: string;
3382
+ update_time: string;
3383
+ }>;
3384
+ }>;
3385
+ };
2228
3386
  backgroundTasks: {
2229
3387
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2230
3388
  data: Array<{
@@ -2307,6 +3465,7 @@ export declare function createAgent(transport: Transport): {
2307
3465
  speed?: "standard" | "fast";
2308
3466
  settings?: {
2309
3467
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3468
+ max_output_tokens?: number;
2310
3469
  };
2311
3470
  };
2312
3471
  multiagent: null | Types.AgentManaged171;
@@ -2333,6 +3492,11 @@ export declare function createAgent(transport: Transport): {
2333
3492
  vault_ids: Array<string>;
2334
3493
  deployment_id?: null | string;
2335
3494
  cwd: string;
3495
+ workspace?: {
3496
+ kind: "shared" | "isolated";
3497
+ path?: string;
3498
+ branch?: string;
3499
+ };
2336
3500
  computer_id?: string;
2337
3501
  model?: {
2338
3502
  id: string;
@@ -2393,7 +3557,6 @@ export declare function createAgent(transport: Transport): {
2393
3557
  run_id: string | null;
2394
3558
  message_id?: string;
2395
3559
  } | {
2396
- full_access_available?: boolean;
2397
3560
  id: string;
2398
3561
  input: Types.AgentManaged197;
2399
3562
  mcp_server_name: string;
@@ -2403,6 +3566,18 @@ export declare function createAgent(transport: Transport): {
2403
3566
  evaluated_permission?: "allow" | "deny" | "ask";
2404
3567
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2405
3568
  session_thread_id?: null | string;
3569
+ permission_suggestions?: Array<{
3570
+ type: "add_rules";
3571
+ behavior: "allow";
3572
+ destination: "agent" | "session";
3573
+ rules: Array<{
3574
+ tool_name: string;
3575
+ rule_content: string;
3576
+ }>;
3577
+ }>;
3578
+ full_access_available?: boolean;
3579
+ user_once?: true;
3580
+ guarded_rule?: string;
2406
3581
  run_id: string | null;
2407
3582
  _meta?: {
2408
3583
  ui?: {
@@ -2416,17 +3591,6 @@ export declare function createAgent(transport: Transport): {
2416
3591
  };
2417
3592
  source?: "app" | "codemode";
2418
3593
  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
3594
  title?: string;
2431
3595
  input_titles?: {
2432
3596
  [key: string]: string;
@@ -2445,7 +3609,6 @@ export declare function createAgent(transport: Transport): {
2445
3609
  };
2446
3610
  source?: "app" | "codemode";
2447
3611
  } | {
2448
- full_access_available?: boolean;
2449
3612
  id: string;
2450
3613
  input: Types.AgentManaged206;
2451
3614
  name: string;
@@ -2454,9 +3617,6 @@ export declare function createAgent(transport: Transport): {
2454
3617
  evaluated_permission?: "allow" | "deny" | "ask";
2455
3618
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2456
3619
  session_thread_id?: null | string;
2457
- run_id: string | null;
2458
- user_once?: true;
2459
- guarded_rule?: string;
2460
3620
  permission_suggestions?: Array<{
2461
3621
  type: "add_rules";
2462
3622
  behavior: "allow";
@@ -2466,6 +3626,10 @@ export declare function createAgent(transport: Transport): {
2466
3626
  rule_content: string;
2467
3627
  }>;
2468
3628
  }>;
3629
+ full_access_available?: boolean;
3630
+ user_once?: true;
3631
+ guarded_rule?: string;
3632
+ run_id: string | null;
2469
3633
  } | {
2470
3634
  id: string;
2471
3635
  processed_at: string;
@@ -2486,9 +3650,6 @@ export declare function createAgent(transport: Transport): {
2486
3650
  type: "session.status_idle";
2487
3651
  run_id: string | null;
2488
3652
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2489
- permission_mode_version?: number;
2490
- previous_permission_mode?: string | null;
2491
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2492
3653
  id: string;
2493
3654
  processed_at: string;
2494
3655
  type: "session.updated";
@@ -2496,6 +3657,9 @@ export declare function createAgent(transport: Transport): {
2496
3657
  budget?: null | Types.AgentManaged76;
2497
3658
  metadata?: Types.AgentManaged246;
2498
3659
  title?: null | string;
3660
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3661
+ previous_permission_mode?: string | null;
3662
+ permission_mode_version?: number;
2499
3663
  model?: {
2500
3664
  id: string;
2501
3665
  };
@@ -2656,6 +3820,7 @@ export declare function createAgent(transport: Transport): {
2656
3820
  speed?: "standard" | "fast";
2657
3821
  settings?: {
2658
3822
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3823
+ max_output_tokens?: number;
2659
3824
  };
2660
3825
  };
2661
3826
  multiagent: null | {
@@ -3118,6 +4283,11 @@ export declare function createAgent(transport: Transport): {
3118
4283
  vault_ids: Array<string>;
3119
4284
  deployment_id?: null | string;
3120
4285
  cwd: string;
4286
+ workspace?: {
4287
+ kind: "shared" | "isolated";
4288
+ path?: string;
4289
+ branch?: string;
4290
+ };
3121
4291
  computer_id?: string;
3122
4292
  model?: {
3123
4293
  id: string;
@@ -3151,6 +4321,7 @@ export declare function createAgent(transport: Transport): {
3151
4321
  speed?: "standard" | "fast";
3152
4322
  settings?: {
3153
4323
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4324
+ max_output_tokens?: number;
3154
4325
  };
3155
4326
  };
3156
4327
  multiagent: null | Types.AgentManaged171;
@@ -3162,21 +4333,564 @@ export declare function createAgent(transport: Transport): {
3162
4333
  version: number;
3163
4334
  };
3164
4335
  archived_at: null | string;
3165
- budget: null | Types.AgentManaged76;
4336
+ budget: null | Types.AgentManaged76;
4337
+ created_at: string;
4338
+ environment_id?: string;
4339
+ metadata: Types.AgentManaged173;
4340
+ outcome_evaluations: Array<Types.AgentManaged174>;
4341
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4342
+ stats: Types.AgentManaged178;
4343
+ status: "rescheduling" | "running" | "idle" | "terminated";
4344
+ title: null | string;
4345
+ type: "session";
4346
+ updated_at: string;
4347
+ usage: Types.AgentManaged179;
4348
+ vault_ids: Array<string>;
4349
+ deployment_id?: null | string;
4350
+ cwd: string;
4351
+ workspace?: {
4352
+ kind: "shared" | "isolated";
4353
+ path?: string;
4354
+ branch?: string;
4355
+ };
4356
+ computer_id?: string;
4357
+ model?: {
4358
+ id: string;
4359
+ thinking: {
4360
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4361
+ can_disable: boolean;
4362
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4363
+ } | null;
4364
+ };
4365
+ thinking?: {
4366
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4367
+ } | null;
4368
+ forked_from?: {
4369
+ session_id: string;
4370
+ message_id: string;
4371
+ } | null;
4372
+ readonly external_user_id: string | null;
4373
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4374
+ }>;
4375
+ next_page: string | null;
4376
+ }>;
4377
+ name: {
4378
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4379
+ id: string;
4380
+ agent: {
4381
+ id: string;
4382
+ description: null | string;
4383
+ mcp_servers: Array<{
4384
+ type: "url";
4385
+ name: string;
4386
+ url: string;
4387
+ headers?: {
4388
+ [key: string]: string;
4389
+ };
4390
+ timeout_ms?: number;
4391
+ } | {
4392
+ type: "sse";
4393
+ name: string;
4394
+ url: string;
4395
+ headers?: {
4396
+ [key: string]: string;
4397
+ };
4398
+ timeout_ms?: number;
4399
+ } | {
4400
+ type: "stdio";
4401
+ name: string;
4402
+ command: string;
4403
+ args?: Array<string>;
4404
+ env?: {
4405
+ [key: string]: string;
4406
+ };
4407
+ timeout_ms?: number;
4408
+ }>;
4409
+ model: {
4410
+ id: string;
4411
+ effort?: {
4412
+ type: "low";
4413
+ } | {
4414
+ type: "medium";
4415
+ } | {
4416
+ type: "high";
4417
+ } | {
4418
+ type: "xhigh";
4419
+ } | {
4420
+ type: "max";
4421
+ };
4422
+ inference_geo?: string;
4423
+ speed?: "standard" | "fast";
4424
+ settings?: {
4425
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4426
+ max_output_tokens?: number;
4427
+ };
4428
+ };
4429
+ multiagent: null | {
4430
+ agents: Array<{
4431
+ model: string;
4432
+ type: "advisor";
4433
+ } | {
4434
+ id: string;
4435
+ description: null | string;
4436
+ mcp_servers: Array<{
4437
+ type: "url";
4438
+ name: string;
4439
+ url: string;
4440
+ headers?: {
4441
+ [key: string]: string;
4442
+ };
4443
+ timeout_ms?: number;
4444
+ } | {
4445
+ type: "sse";
4446
+ name: string;
4447
+ url: string;
4448
+ headers?: {
4449
+ [key: string]: string;
4450
+ };
4451
+ timeout_ms?: number;
4452
+ } | {
4453
+ type: "stdio";
4454
+ name: string;
4455
+ command: string;
4456
+ args?: Array<string>;
4457
+ env?: {
4458
+ [key: string]: string;
4459
+ };
4460
+ timeout_ms?: number;
4461
+ }>;
4462
+ model: {
4463
+ id: string;
4464
+ effort?: {
4465
+ type: "low";
4466
+ } | {
4467
+ type: "medium";
4468
+ } | {
4469
+ type: "high";
4470
+ } | {
4471
+ type: "xhigh";
4472
+ } | {
4473
+ type: "max";
4474
+ };
4475
+ inference_geo?: string;
4476
+ speed?: "standard" | "fast";
4477
+ };
4478
+ name: string;
4479
+ skills: Array<{
4480
+ skill_id: string;
4481
+ type: "anthropic";
4482
+ version: string;
4483
+ } | {
4484
+ skill_id: string;
4485
+ type: "custom";
4486
+ version: string;
4487
+ }>;
4488
+ system: null | string;
4489
+ tools: Array<{
4490
+ configs: Array<{
4491
+ enabled: boolean;
4492
+ name: "bash";
4493
+ permission_policy: {
4494
+ type: "always_allow";
4495
+ } | {
4496
+ type: "always_ask";
4497
+ } | {
4498
+ type: "auto";
4499
+ };
4500
+ type: "bash";
4501
+ } | {
4502
+ enabled: boolean;
4503
+ name: "edit";
4504
+ permission_policy: {
4505
+ type: "always_allow";
4506
+ } | {
4507
+ type: "always_ask";
4508
+ } | {
4509
+ type: "auto";
4510
+ };
4511
+ type: "edit";
4512
+ } | {
4513
+ enabled: boolean;
4514
+ name: "read";
4515
+ permission_policy: {
4516
+ type: "always_allow";
4517
+ } | {
4518
+ type: "always_ask";
4519
+ } | {
4520
+ type: "auto";
4521
+ };
4522
+ type: "read";
4523
+ } | {
4524
+ enabled: boolean;
4525
+ name: "write";
4526
+ permission_policy: {
4527
+ type: "always_allow";
4528
+ } | {
4529
+ type: "always_ask";
4530
+ } | {
4531
+ type: "auto";
4532
+ };
4533
+ type: "write";
4534
+ } | {
4535
+ enabled: boolean;
4536
+ name: "glob";
4537
+ permission_policy: {
4538
+ type: "always_allow";
4539
+ } | {
4540
+ type: "always_ask";
4541
+ } | {
4542
+ type: "auto";
4543
+ };
4544
+ type: "glob";
4545
+ } | {
4546
+ enabled: boolean;
4547
+ name: "grep";
4548
+ permission_policy: {
4549
+ type: "always_allow";
4550
+ } | {
4551
+ type: "always_ask";
4552
+ } | {
4553
+ type: "auto";
4554
+ };
4555
+ type: "grep";
4556
+ } | {
4557
+ enabled: boolean;
4558
+ name: "web_fetch";
4559
+ permission_policy: {
4560
+ type: "always_allow";
4561
+ } | {
4562
+ type: "always_ask";
4563
+ } | {
4564
+ type: "auto";
4565
+ };
4566
+ type: "web_fetch";
4567
+ allowed_domains?: Array<string>;
4568
+ blocked_domains?: Array<string>;
4569
+ max_content_tokens?: null | number;
4570
+ } | {
4571
+ enabled: boolean;
4572
+ name: "web_search";
4573
+ permission_policy: {
4574
+ type: "always_allow";
4575
+ } | {
4576
+ type: "always_ask";
4577
+ } | {
4578
+ type: "auto";
4579
+ };
4580
+ type: "web_search";
4581
+ allowed_domains?: Array<string>;
4582
+ blocked_domains?: Array<string>;
4583
+ user_location?: null | {
4584
+ type: "approximate";
4585
+ city?: null | string;
4586
+ country?: null | string;
4587
+ region?: null | string;
4588
+ timezone?: null | string;
4589
+ };
4590
+ } | {
4591
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4592
+ enabled: boolean;
4593
+ permission_policy: {
4594
+ type: "always_allow" | "always_ask";
4595
+ };
4596
+ }>;
4597
+ default_config: {
4598
+ enabled: boolean;
4599
+ permission_policy: {
4600
+ type: "always_allow";
4601
+ } | {
4602
+ type: "always_ask";
4603
+ } | {
4604
+ type: "auto";
4605
+ };
4606
+ };
4607
+ type: "agent_toolset_20260401";
4608
+ } | {
4609
+ type: "mcp_toolset";
4610
+ mcp_server_name: string;
4611
+ default_config?: {
4612
+ enabled?: boolean | null;
4613
+ permission_policy?: null | {
4614
+ type: "always_allow" | "always_ask";
4615
+ };
4616
+ } | null;
4617
+ configs?: Array<{
4618
+ name: string;
4619
+ enabled?: boolean | null;
4620
+ permission_policy?: null | {
4621
+ type: "always_allow" | "always_ask";
4622
+ };
4623
+ }> | null;
4624
+ } | {
4625
+ description: string;
4626
+ input_schema: {
4627
+ type: "object";
4628
+ properties?: null | {
4629
+ [key: string]: unknown;
4630
+ };
4631
+ required?: null | Array<string>;
4632
+ [key: string]: unknown;
4633
+ };
4634
+ name: string;
4635
+ type: "custom";
4636
+ }>;
4637
+ type: "agent";
4638
+ version: number;
4639
+ }>;
4640
+ type: "coordinator";
4641
+ };
4642
+ name: string;
4643
+ skills: Array<{
4644
+ skill_id: string;
4645
+ type: "anthropic";
4646
+ version: string;
4647
+ } | {
4648
+ skill_id: string;
4649
+ type: "custom";
4650
+ version: string;
4651
+ }>;
4652
+ system: null | string;
4653
+ tools: Array<{
4654
+ configs: Array<{
4655
+ enabled: boolean;
4656
+ name: "bash";
4657
+ permission_policy: {
4658
+ type: "always_allow";
4659
+ } | {
4660
+ type: "always_ask";
4661
+ } | {
4662
+ type: "auto";
4663
+ };
4664
+ type: "bash";
4665
+ } | {
4666
+ enabled: boolean;
4667
+ name: "edit";
4668
+ permission_policy: {
4669
+ type: "always_allow";
4670
+ } | {
4671
+ type: "always_ask";
4672
+ } | {
4673
+ type: "auto";
4674
+ };
4675
+ type: "edit";
4676
+ } | {
4677
+ enabled: boolean;
4678
+ name: "read";
4679
+ permission_policy: {
4680
+ type: "always_allow";
4681
+ } | {
4682
+ type: "always_ask";
4683
+ } | {
4684
+ type: "auto";
4685
+ };
4686
+ type: "read";
4687
+ } | {
4688
+ enabled: boolean;
4689
+ name: "write";
4690
+ permission_policy: {
4691
+ type: "always_allow";
4692
+ } | {
4693
+ type: "always_ask";
4694
+ } | {
4695
+ type: "auto";
4696
+ };
4697
+ type: "write";
4698
+ } | {
4699
+ enabled: boolean;
4700
+ name: "glob";
4701
+ permission_policy: {
4702
+ type: "always_allow";
4703
+ } | {
4704
+ type: "always_ask";
4705
+ } | {
4706
+ type: "auto";
4707
+ };
4708
+ type: "glob";
4709
+ } | {
4710
+ enabled: boolean;
4711
+ name: "grep";
4712
+ permission_policy: {
4713
+ type: "always_allow";
4714
+ } | {
4715
+ type: "always_ask";
4716
+ } | {
4717
+ type: "auto";
4718
+ };
4719
+ type: "grep";
4720
+ } | {
4721
+ enabled: boolean;
4722
+ name: "web_fetch";
4723
+ permission_policy: {
4724
+ type: "always_allow";
4725
+ } | {
4726
+ type: "always_ask";
4727
+ } | {
4728
+ type: "auto";
4729
+ };
4730
+ type: "web_fetch";
4731
+ allowed_domains?: Array<string>;
4732
+ blocked_domains?: Array<string>;
4733
+ max_content_tokens?: null | number;
4734
+ } | {
4735
+ enabled: boolean;
4736
+ name: "web_search";
4737
+ permission_policy: {
4738
+ type: "always_allow";
4739
+ } | {
4740
+ type: "always_ask";
4741
+ } | {
4742
+ type: "auto";
4743
+ };
4744
+ type: "web_search";
4745
+ allowed_domains?: Array<string>;
4746
+ blocked_domains?: Array<string>;
4747
+ user_location?: null | {
4748
+ type: "approximate";
4749
+ city?: null | string;
4750
+ country?: null | string;
4751
+ region?: null | string;
4752
+ timezone?: null | string;
4753
+ };
4754
+ } | {
4755
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4756
+ enabled: boolean;
4757
+ permission_policy: {
4758
+ type: "always_allow" | "always_ask";
4759
+ };
4760
+ }>;
4761
+ default_config: {
4762
+ enabled: boolean;
4763
+ permission_policy: {
4764
+ type: "always_allow";
4765
+ } | {
4766
+ type: "always_ask";
4767
+ } | {
4768
+ type: "auto";
4769
+ };
4770
+ };
4771
+ type: "agent_toolset_20260401";
4772
+ } | {
4773
+ type: "mcp_toolset";
4774
+ mcp_server_name: string;
4775
+ default_config?: {
4776
+ enabled?: boolean | null;
4777
+ permission_policy?: null | {
4778
+ type: "always_allow" | "always_ask";
4779
+ };
4780
+ } | null;
4781
+ configs?: Array<{
4782
+ name: string;
4783
+ enabled?: boolean | null;
4784
+ permission_policy?: null | {
4785
+ type: "always_allow" | "always_ask";
4786
+ };
4787
+ }> | null;
4788
+ } | {
4789
+ description: string;
4790
+ input_schema: {
4791
+ type: "object";
4792
+ properties?: null | {
4793
+ [key: string]: unknown;
4794
+ };
4795
+ required?: null | Array<string>;
4796
+ [key: string]: unknown;
4797
+ };
4798
+ name: string;
4799
+ type: "custom";
4800
+ }>;
4801
+ type: "agent";
4802
+ version: number;
4803
+ };
4804
+ archived_at: null | string;
4805
+ budget: null | {
4806
+ max_list_cost: {
4807
+ amount: string;
4808
+ currency: "USD";
4809
+ };
4810
+ type: "limit";
4811
+ };
3166
4812
  created_at: string;
3167
4813
  environment_id?: string;
3168
- metadata: Types.AgentManaged173;
3169
- outcome_evaluations: Array<Types.AgentManaged174>;
3170
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3171
- stats: Types.AgentManaged178;
4814
+ metadata: {
4815
+ [key: string]: string;
4816
+ };
4817
+ outcome_evaluations: Array<{
4818
+ completed_at: null | string;
4819
+ description: string;
4820
+ explanation: null | string;
4821
+ iteration: number;
4822
+ outcome_id: string;
4823
+ result: string;
4824
+ type: "outcome_evaluation";
4825
+ }>;
4826
+ resources: Array<{
4827
+ id: string;
4828
+ created_at: string;
4829
+ mount_path: string;
4830
+ type: "github_repository";
4831
+ updated_at: string;
4832
+ url: string;
4833
+ checkout?: null | {
4834
+ name: string;
4835
+ type: "branch";
4836
+ } | {
4837
+ sha: string;
4838
+ type: "commit";
4839
+ };
4840
+ } | {
4841
+ id: string;
4842
+ created_at: string;
4843
+ file_id: string;
4844
+ mount_path: string;
4845
+ type: "file";
4846
+ updated_at: string;
4847
+ } | {
4848
+ memory_store_id: string;
4849
+ type: "memory_store";
4850
+ access?: null | "read_write" | "read_only";
4851
+ description?: string;
4852
+ instructions?: null | string;
4853
+ mount_path?: null | string;
4854
+ name?: null | string;
4855
+ }>;
4856
+ stats: {
4857
+ active_seconds?: number;
4858
+ duration_seconds?: number;
4859
+ };
3172
4860
  status: "rescheduling" | "running" | "idle" | "terminated";
3173
4861
  title: null | string;
3174
4862
  type: "session";
3175
4863
  updated_at: string;
3176
- usage: Types.AgentManaged179;
4864
+ usage: {
4865
+ active_seconds?: number;
4866
+ cache_creation?: {
4867
+ ephemeral_1h_input_tokens?: number;
4868
+ ephemeral_5m_input_tokens?: number;
4869
+ };
4870
+ cache_read_input_tokens?: number;
4871
+ input_tokens?: number;
4872
+ list_cost?: null | {
4873
+ amount: string;
4874
+ currency: "USD";
4875
+ };
4876
+ output_tokens?: number;
4877
+ server_tool_use?: null | {
4878
+ web_fetch_requests?: number;
4879
+ web_search_requests?: number;
4880
+ };
4881
+ cost_by_product?: {
4882
+ [key: string]: string;
4883
+ };
4884
+ subagent_cost_micro_usd?: number;
4885
+ };
3177
4886
  vault_ids: Array<string>;
3178
4887
  deployment_id?: null | string;
3179
4888
  cwd: string;
4889
+ workspace?: {
4890
+ kind: "shared" | "isolated";
4891
+ path?: string;
4892
+ branch?: string;
4893
+ };
3180
4894
  computer_id?: string;
3181
4895
  model?: {
3182
4896
  id: string;
@@ -3196,8 +4910,21 @@ export declare function createAgent(transport: Transport): {
3196
4910
  readonly external_user_id: string | null;
3197
4911
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3198
4912
  }>;
3199
- next_page: string | null;
3200
- }>;
4913
+ };
4914
+ requests: {
4915
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4916
+ data: Array<{
4917
+ id: string;
4918
+ object: "request";
4919
+ kind: "question" | "approval";
4920
+ status: "pending";
4921
+ tool_name: string;
4922
+ input: unknown;
4923
+ create_time: string;
4924
+ expire_time: string | null;
4925
+ }>;
4926
+ }>;
4927
+ };
3201
4928
  resources: {
3202
4929
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3203
4930
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3228,6 +4955,7 @@ export declare function createAgent(transport: Transport): {
3228
4955
  speed?: "standard" | "fast";
3229
4956
  settings?: {
3230
4957
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4958
+ max_output_tokens?: number;
3231
4959
  };
3232
4960
  };
3233
4961
  multiagent: null | Types.AgentManaged171;
@@ -3254,6 +4982,11 @@ export declare function createAgent(transport: Transport): {
3254
4982
  vault_ids: Array<string>;
3255
4983
  deployment_id?: null | string;
3256
4984
  cwd: string;
4985
+ workspace?: {
4986
+ kind: "shared" | "isolated";
4987
+ path?: string;
4988
+ branch?: string;
4989
+ };
3257
4990
  computer_id?: string;
3258
4991
  model?: {
3259
4992
  id: string;
@@ -3400,7 +5133,6 @@ export declare function createAgent(transport: Transport): {
3400
5133
  run_id: string | null;
3401
5134
  message_id?: string;
3402
5135
  } | {
3403
- full_access_available?: boolean;
3404
5136
  id: string;
3405
5137
  input: Types.AgentManaged197;
3406
5138
  mcp_server_name: string;
@@ -3410,6 +5142,18 @@ export declare function createAgent(transport: Transport): {
3410
5142
  evaluated_permission?: "allow" | "deny" | "ask";
3411
5143
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3412
5144
  session_thread_id?: null | string;
5145
+ permission_suggestions?: Array<{
5146
+ type: "add_rules";
5147
+ behavior: "allow";
5148
+ destination: "agent" | "session";
5149
+ rules: Array<{
5150
+ tool_name: string;
5151
+ rule_content: string;
5152
+ }>;
5153
+ }>;
5154
+ full_access_available?: boolean;
5155
+ user_once?: true;
5156
+ guarded_rule?: string;
3413
5157
  run_id: string | null;
3414
5158
  parent_tool_use_id?: string;
3415
5159
  _meta?: {
@@ -3423,17 +5167,6 @@ export declare function createAgent(transport: Transport): {
3423
5167
  };
3424
5168
  };
3425
5169
  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
5170
  title?: string;
3438
5171
  input_titles?: {
3439
5172
  [key: string]: string;
@@ -3452,7 +5185,6 @@ export declare function createAgent(transport: Transport): {
3452
5185
  };
3453
5186
  source?: "app" | "codemode";
3454
5187
  } | {
3455
- full_access_available?: boolean;
3456
5188
  id: string;
3457
5189
  input: Types.AgentManaged206;
3458
5190
  name: string;
@@ -3461,9 +5193,6 @@ export declare function createAgent(transport: Transport): {
3461
5193
  evaluated_permission?: "allow" | "deny" | "ask";
3462
5194
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3463
5195
  session_thread_id?: null | string;
3464
- run_id: string | null;
3465
- user_once?: true;
3466
- guarded_rule?: string;
3467
5196
  permission_suggestions?: Array<{
3468
5197
  type: "add_rules";
3469
5198
  behavior: "allow";
@@ -3473,6 +5202,10 @@ export declare function createAgent(transport: Transport): {
3473
5202
  rule_content: string;
3474
5203
  }>;
3475
5204
  }>;
5205
+ full_access_available?: boolean;
5206
+ user_once?: true;
5207
+ guarded_rule?: string;
5208
+ run_id: string | null;
3476
5209
  } | {
3477
5210
  id: string;
3478
5211
  processed_at: string;
@@ -3493,9 +5226,6 @@ export declare function createAgent(transport: Transport): {
3493
5226
  type: "session.status_idle";
3494
5227
  run_id: string | null;
3495
5228
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3496
- permission_mode_version?: number;
3497
- previous_permission_mode?: string | null;
3498
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3499
5229
  id: string;
3500
5230
  processed_at: string;
3501
5231
  type: "session.updated";
@@ -3503,6 +5233,9 @@ export declare function createAgent(transport: Transport): {
3503
5233
  budget?: null | Types.AgentManaged76;
3504
5234
  metadata?: Types.AgentManaged246;
3505
5235
  title?: null | string;
5236
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5237
+ previous_permission_mode?: string | null;
5238
+ permission_mode_version?: number;
3506
5239
  model?: {
3507
5240
  id: string;
3508
5241
  };
@@ -3593,6 +5326,7 @@ export declare function createAgent(transport: Transport): {
3593
5326
  speed?: "standard" | "fast";
3594
5327
  settings?: {
3595
5328
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5329
+ max_output_tokens?: number;
3596
5330
  };
3597
5331
  };
3598
5332
  multiagent: null | Types.AgentManaged171;
@@ -3619,6 +5353,11 @@ export declare function createAgent(transport: Transport): {
3619
5353
  vault_ids: Array<string>;
3620
5354
  deployment_id?: null | string;
3621
5355
  cwd: string;
5356
+ workspace?: {
5357
+ kind: "shared" | "isolated";
5358
+ path?: string;
5359
+ branch?: string;
5360
+ };
3622
5361
  computer_id?: string;
3623
5362
  model?: {
3624
5363
  id: string;
@@ -3683,6 +5422,29 @@ export declare function createAgent(transport: Transport): {
3683
5422
  next_page: null;
3684
5423
  }>;
3685
5424
  };
5425
+ uploads: {
5426
+ contentUrl: {
5427
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5428
+ url: string;
5429
+ expires_at: string;
5430
+ }>;
5431
+ };
5432
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5433
+ upload_id: string;
5434
+ expires_at: string;
5435
+ url: string;
5436
+ } | {
5437
+ upload_id: string;
5438
+ expires_at: string;
5439
+ part_size: number;
5440
+ parts: Array<{
5441
+ part_number: number;
5442
+ url: string;
5443
+ }>;
5444
+ complete_url: string;
5445
+ status_url: string;
5446
+ }>;
5447
+ };
3686
5448
  };
3687
5449
  export declare function createApplication(transport: Transport): {
3688
5450
  assets: {
@@ -3970,6 +5732,49 @@ export declare function createBrowser(transport: Transport): {
3970
5732
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3971
5733
  };
3972
5734
  sessions: {
5735
+ actions: {
5736
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5737
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5738
+ tab: string;
5739
+ url: string;
5740
+ title: string;
5741
+ } | {
5742
+ type: "select";
5743
+ tab: string;
5744
+ values: Array<string>;
5745
+ } | {
5746
+ type: "tabs.list";
5747
+ tabs: Array<{
5748
+ id: string;
5749
+ url: string;
5750
+ title: string;
5751
+ active: boolean;
5752
+ }>;
5753
+ } | {
5754
+ type: "snapshot";
5755
+ tab: string;
5756
+ url: string;
5757
+ title: string;
5758
+ snapshot: string;
5759
+ refs: number;
5760
+ truncated: boolean;
5761
+ } | {
5762
+ type: "screenshot";
5763
+ tab: string;
5764
+ mediaType: "image/png";
5765
+ data: string;
5766
+ bytes: number;
5767
+ } | {
5768
+ type: "evaluate";
5769
+ tab: string;
5770
+ value: unknown;
5771
+ } | {
5772
+ type: "set_cookie";
5773
+ tab: string;
5774
+ name: string;
5775
+ domain: string;
5776
+ }>;
5777
+ };
3973
5778
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3974
5779
  events: {
3975
5780
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3977,6 +5782,7 @@ export declare function createBrowser(transport: Transport): {
3977
5782
  nextCursor: string | null;
3978
5783
  }>;
3979
5784
  };
5785
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3980
5786
  handoff: {
3981
5787
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3982
5788
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3987,6 +5793,7 @@ export declare function createBrowser(transport: Transport): {
3987
5793
  }>;
3988
5794
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3989
5795
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5796
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3990
5797
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3991
5798
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3992
5799
  viewer: {
@@ -4023,6 +5830,24 @@ export declare function createCanvas(transport: Transport): {
4023
5830
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4024
5831
  };
4025
5832
  };
5833
+ export declare function createContent(transport: Transport): {
5834
+ contents: {
5835
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5836
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5837
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5838
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5839
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5840
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5841
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5842
+ };
5843
+ playbackSessions: {
5844
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5845
+ };
5846
+ versions: {
5847
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5848
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5849
+ };
5850
+ };
4026
5851
  export declare function createCrm(transport: Transport): {
4027
5852
  associations: {
4028
5853
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4083,6 +5908,32 @@ export declare function createCrm(transport: Transport): {
4083
5908
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4084
5909
  };
4085
5910
  };
5911
+ export declare function createCustomer(transport: Transport): {
5912
+ accessTokens: {
5913
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5914
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5915
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5916
+ };
5917
+ customers: {
5918
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5919
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5920
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5921
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5922
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5923
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5924
+ };
5925
+ grantCodes: {
5926
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5927
+ };
5928
+ publishableKeys: {
5929
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5930
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5931
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5932
+ };
5933
+ usage: {
5934
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5935
+ };
5936
+ };
4086
5937
  export declare function createCut(transport: Transport): {
4087
5938
  exports: {
4088
5939
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4179,8 +6030,91 @@ export declare function createDatabase(transport: Transport): {
4179
6030
  };
4180
6031
  };
4181
6032
  export declare function createDevops(transport: Transport): {
6033
+ changes: {
6034
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6035
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
6036
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6037
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
6038
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6039
+ };
6040
+ connections: {
6041
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6042
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6043
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6044
+ repositories: {
6045
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6046
+ };
6047
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6048
+ };
6049
+ environments: {
6050
+ checkpoints: {
6051
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6052
+ };
6053
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6054
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6055
+ };
6056
+ flags: {
6057
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6058
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6059
+ environments: {
6060
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6061
+ };
6062
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6063
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6064
+ };
6065
+ progressiveRollouts: {
6066
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6067
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6068
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6069
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6070
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6071
+ };
4182
6072
  projects: {
6073
+ changes: {
6074
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6075
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6076
+ };
6077
+ environments: {
6078
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6079
+ targets: {
6080
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6081
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6082
+ state: {
6083
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6084
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6085
+ lock: {
6086
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6087
+ };
6088
+ };
6089
+ };
6090
+ };
6091
+ flags: {
6092
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6093
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6094
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6095
+ };
6096
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6097
+ promotions: {
6098
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6099
+ };
6100
+ pullRequests: {
6101
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6102
+ };
6103
+ releases: {
6104
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6105
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6106
+ };
6107
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4183
6108
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6109
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6110
+ segments: {
6111
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6112
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6113
+ };
6114
+ targets: {
6115
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6116
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6117
+ };
4184
6118
  testCases: {
4185
6119
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
4186
6120
  };
@@ -4198,6 +6132,44 @@ export declare function createDevops(transport: Transport): {
4198
6132
  testSuites: {
4199
6133
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4200
6134
  };
6135
+ units: {
6136
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6137
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6138
+ };
6139
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6140
+ workspaces: {
6141
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6142
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6143
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6144
+ };
6145
+ };
6146
+ promotions: {
6147
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6148
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6149
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6150
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6151
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6152
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6153
+ rollouts: {
6154
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6155
+ };
6156
+ };
6157
+ pullRequests: {
6158
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6159
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6160
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6161
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6162
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6163
+ };
6164
+ releases: {
6165
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6166
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6167
+ };
6168
+ rollouts: {
6169
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6170
+ };
6171
+ segments: {
6172
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
4201
6173
  };
4202
6174
  testCases: {
4203
6175
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
@@ -4216,10 +6188,24 @@ export declare function createDevops(transport: Transport): {
4216
6188
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4217
6189
  };
4218
6190
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6191
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4219
6192
  };
4220
6193
  testSuites: {
4221
6194
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4222
6195
  };
6196
+ units: {
6197
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6198
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6199
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6200
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6201
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6202
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6203
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6204
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6205
+ transitions: {
6206
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6207
+ };
6208
+ };
4223
6209
  };
4224
6210
  export declare function createFile(transport: Transport): {
4225
6211
  files: {
@@ -4296,19 +6282,33 @@ export declare function createKnowledge(transport: Transport): {
4296
6282
  };
4297
6283
  };
4298
6284
  export declare function createMedia(transport: Transport): {
6285
+ assets: {
6286
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6287
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6288
+ };
4299
6289
  generation: {
4300
6290
  capabilities: {
4301
6291
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
4302
6292
  };
4303
6293
  };
6294
+ images: {
6295
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6296
+ };
4304
6297
  libraries: {
4305
6298
  assets: {
6299
+ align: {
6300
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6301
+ };
4306
6302
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4307
6303
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4308
6304
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4309
6305
  frames: {
4310
6306
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4311
6307
  };
6308
+ hls: {
6309
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6310
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6311
+ };
4312
6312
  import: {
4313
6313
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4314
6314
  };
@@ -4321,6 +6321,9 @@ export declare function createMedia(transport: Transport): {
4321
6321
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4322
6322
  };
4323
6323
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6324
+ versions: {
6325
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6326
+ };
4324
6327
  };
4325
6328
  batches: {
4326
6329
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4337,25 +6340,23 @@ export declare function createMedia(transport: Transport): {
4337
6340
  folders: {
4338
6341
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4339
6342
  };
4340
- generations: {
4341
- create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
4342
- };
4343
6343
  jobs: {
4344
6344
  cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
4345
6345
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4346
- outputs: {
4347
- save: {
4348
- create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
4349
- };
4350
- };
4351
6346
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4352
6347
  };
4353
6348
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6349
+ materials: {
6350
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6351
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6352
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6353
+ };
4354
6354
  purge: {
4355
6355
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4356
6356
  };
4357
6357
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4358
6358
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6359
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4359
6360
  search: {
4360
6361
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4361
6362
  expression: {
@@ -4368,11 +6369,24 @@ export declare function createMedia(transport: Transport): {
4368
6369
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4369
6370
  };
4370
6371
  };
6372
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
4371
6373
  understandings: {
4372
6374
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4373
6375
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4374
6376
  };
4375
6377
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6378
+ voices: {
6379
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6380
+ designs: {
6381
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6382
+ };
6383
+ };
6384
+ };
6385
+ speech: {
6386
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6387
+ };
6388
+ videos: {
6389
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4376
6390
  };
4377
6391
  };
4378
6392
  export declare function createMeta(transport: Transport): {
@@ -4573,7 +6587,35 @@ export declare function createModel(transport: Transport): {
4573
6587
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4574
6588
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4575
6589
  };
6590
+ modelAccess: {
6591
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6592
+ items: Array<{
6593
+ model: string;
6594
+ access_required: boolean;
6595
+ granted: boolean;
6596
+ granted_by: string | null;
6597
+ granted_at: string | null;
6598
+ sell_input_price: number | null;
6599
+ sell_output_price: number | null;
6600
+ }>;
6601
+ }>;
6602
+ };
4576
6603
  models: {
6604
+ access: {
6605
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6606
+ model: string;
6607
+ revoked: true;
6608
+ }>;
6609
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6610
+ model: string;
6611
+ access_required: boolean;
6612
+ granted: true;
6613
+ granted_by: string;
6614
+ granted_at: string;
6615
+ sell_input_price: number | null;
6616
+ sell_output_price: number | null;
6617
+ }>;
6618
+ };
4577
6619
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4578
6620
  object: "list";
4579
6621
  data: Array<{
@@ -4588,6 +6630,7 @@ export declare function createModel(transport: Transport): {
4588
6630
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4589
6631
  supported_apis: Array<string>;
4590
6632
  tags: Array<string>;
6633
+ access_required: boolean;
4591
6634
  architecture: {
4592
6635
  modality: string;
4593
6636
  input_modalities: Array<string>;
@@ -4634,6 +6677,7 @@ export declare function createModel(transport: Transport): {
4634
6677
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4635
6678
  supported_apis: Array<string>;
4636
6679
  tags: Array<string>;
6680
+ access_required: boolean;
4637
6681
  architecture: {
4638
6682
  modality: string;
4639
6683
  input_modalities: Array<string>;
@@ -4860,6 +6904,7 @@ export declare function createModel(transport: Transport): {
4860
6904
  unsigned_urls: Array<string>;
4861
6905
  usage?: {
4862
6906
  cost: number;
6907
+ billed_seconds?: number;
4863
6908
  };
4864
6909
  }>;
4865
6910
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4890,6 +6935,7 @@ export declare function createModel(transport: Transport): {
4890
6935
  unsigned_urls: Array<string>;
4891
6936
  usage?: {
4892
6937
  cost: number;
6938
+ billed_seconds?: number;
4893
6939
  };
4894
6940
  }>;
4895
6941
  has_more: boolean;
@@ -4918,6 +6964,7 @@ export declare function createModel(transport: Transport): {
4918
6964
  unsigned_urls: Array<string>;
4919
6965
  usage?: {
4920
6966
  cost: number;
6967
+ billed_seconds?: number;
4921
6968
  };
4922
6969
  }>;
4923
6970
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -4934,6 +6981,7 @@ export declare function createOntology(transport: Transport): {
4934
6981
  create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
4935
6982
  };
4936
6983
  retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6984
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
4937
6985
  update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
4938
6986
  };
4939
6987
  relations: {
@@ -4954,6 +7002,23 @@ export declare function createOntology(transport: Transport): {
4954
7002
  };
4955
7003
  };
4956
7004
  export declare function createOrganization(transport: Transport): {
7005
+ actors: {
7006
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
7007
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
7008
+ };
7009
+ assignments: {
7010
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
7011
+ makePrimary: {
7012
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7013
+ };
7014
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7015
+ terminate: {
7016
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7017
+ };
7018
+ transfer: {
7019
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7020
+ };
7021
+ };
4957
7022
  charges: {
4958
7023
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
4959
7024
  ChargePeriodStart: string;
@@ -4995,6 +7060,16 @@ export declare function createOrganization(transport: Transport): {
4995
7060
  next_page: string | null;
4996
7061
  }>;
4997
7062
  };
7063
+ departments: {
7064
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7065
+ dissolve: {
7066
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7067
+ };
7068
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7069
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7070
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7071
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7072
+ };
4998
7073
  events: {
4999
7074
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5000
7075
  object: "page";
@@ -5197,6 +7272,27 @@ export declare function createOrganization(transport: Transport): {
5197
7272
  }>;
5198
7273
  }>;
5199
7274
  };
7275
+ jobs: {
7276
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7277
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7278
+ retire: {
7279
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7280
+ };
7281
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7282
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7283
+ };
7284
+ keyResults: {
7285
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7286
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7287
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7288
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7289
+ };
7290
+ ladders: {
7291
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7292
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7293
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7294
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7295
+ };
5200
7296
  members: {
5201
7297
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5202
7298
  data: Array<{
@@ -5210,6 +7306,52 @@ export declare function createOrganization(transport: Transport): {
5210
7306
  next_page: string | null;
5211
7307
  }>;
5212
7308
  };
7309
+ objectives: {
7310
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7311
+ grade: {
7312
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7313
+ };
7314
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7315
+ parents: {
7316
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7317
+ };
7318
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7319
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7320
+ };
7321
+ periods: {
7322
+ close: {
7323
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7324
+ };
7325
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7326
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7327
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7328
+ };
7329
+ positions: {
7330
+ close: {
7331
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7332
+ };
7333
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7334
+ designateHead: {
7335
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7336
+ };
7337
+ freeze: {
7338
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7339
+ };
7340
+ hire: {
7341
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7342
+ };
7343
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7344
+ replaceHolder: {
7345
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7346
+ };
7347
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7348
+ unfreeze: {
7349
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7350
+ };
7351
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7352
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7353
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7354
+ };
5213
7355
  usage: {
5214
7356
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5215
7357
  object: "page";
@@ -5233,8 +7375,81 @@ export declare function createOrganization(transport: Transport): {
5233
7375
  }>;
5234
7376
  };
5235
7377
  };
7378
+ export declare function createRegistry(transport: Transport): {
7379
+ installations: {
7380
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7381
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7382
+ };
7383
+ packages: {
7384
+ git: {
7385
+ commits: {
7386
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7387
+ };
7388
+ files: {
7389
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7390
+ };
7391
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7392
+ trees: {
7393
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7394
+ };
7395
+ };
7396
+ installations: {
7397
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7398
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7399
+ };
7400
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7401
+ versions: {
7402
+ contents: {
7403
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7404
+ };
7405
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7406
+ files: {
7407
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7408
+ };
7409
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7410
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7411
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7412
+ };
7413
+ };
7414
+ repositories: {
7415
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7416
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7417
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7418
+ packages: {
7419
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7420
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7421
+ };
7422
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7423
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7424
+ };
7425
+ };
5236
7426
  export declare function createSandbox(transport: Transport): {
7427
+ events: {
7428
+ sandboxes: {
7429
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7430
+ };
7431
+ };
5237
7432
  sandboxes: {
7433
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7434
+ type: "snapshot";
7435
+ snapshot: string;
7436
+ refs: number;
7437
+ truncated: boolean;
7438
+ package: string;
7439
+ } | {
7440
+ type: "screenshot";
7441
+ mediaType: string;
7442
+ data: string;
7443
+ width: number;
7444
+ height: number;
7445
+ bytes: number;
7446
+ } | {
7447
+ type: "ok";
7448
+ ms?: number;
7449
+ } | {
7450
+ type: "wait";
7451
+ ms: number;
7452
+ }>;
5238
7453
  commands: {
5239
7454
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5240
7455
  stdout: string;
@@ -5312,6 +7527,20 @@ export declare function createSandbox(transport: Transport): {
5312
7527
  snapshots: {
5313
7528
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5314
7529
  };
7530
+ tasks: {
7531
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7532
+ taskId: string;
7533
+ instanceId: string;
7534
+ startedAt: number;
7535
+ }>;
7536
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7537
+ text: string;
7538
+ nextOffset: number;
7539
+ done: boolean;
7540
+ exitCode: number | null;
7541
+ size: number | null;
7542
+ }>;
7543
+ };
5315
7544
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5316
7545
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5317
7546
  name: string;
@@ -5354,7 +7583,6 @@ export declare function createSandbox(transport: Transport): {
5354
7583
  buildCount: number;
5355
7584
  envdVersion: Types.SandboxEnvdVersion;
5356
7585
  buildStatus: Types.SandboxTemplateBuildStatus;
5357
- lifecycles?: Array<"ephemeral" | "persistent">;
5358
7586
  official: boolean;
5359
7587
  sourceKind?: "dockerfile" | "image" | "snapshot";
5360
7588
  }[]>;
@@ -5451,6 +7679,14 @@ export declare function createSearch(transport: Transport): {
5451
7679
  }>;
5452
7680
  };
5453
7681
  };
7682
+ export declare function createShare(transport: Transport): {
7683
+ permissions: {
7684
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7685
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7686
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7687
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7688
+ };
7689
+ };
5454
7690
  export declare function createStudio(transport: Transport): {
5455
7691
  codexes: {
5456
7692
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5498,8 +7734,16 @@ export declare function createStudio(transport: Transport): {
5498
7734
  create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
5499
7735
  drafts: {
5500
7736
  create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7737
+ foreshadows: {
7738
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7739
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7740
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7741
+ };
5501
7742
  list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
5502
7743
  rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7744
+ renditions: {
7745
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7746
+ };
5503
7747
  retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
5504
7748
  retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
5505
7749
  retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
@@ -5513,10 +7757,41 @@ export declare function createStudio(transport: Transport): {
5513
7757
  create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
5514
7758
  };
5515
7759
  update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7760
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
5516
7761
  };
5517
7762
  list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7763
+ progressions: {
7764
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7765
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7766
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7767
+ };
7768
+ renditions: {
7769
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7770
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7771
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7772
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7773
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7774
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7775
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7776
+ };
5518
7777
  resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
5519
7778
  retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7779
+ reviewSettings: {
7780
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7781
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7782
+ };
7783
+ reviewers: {
7784
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7785
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7786
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7787
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7788
+ };
7789
+ reviews: {
7790
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7791
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7792
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7793
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7794
+ };
5520
7795
  units: {
5521
7796
  blocks: {
5522
7797
  patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
@@ -5527,7 +7802,6 @@ export declare function createStudio(transport: Transport): {
5527
7802
  update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
5528
7803
  };
5529
7804
  update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
5530
- updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
5531
7805
  };
5532
7806
  };
5533
7807
  export declare function createTicket(transport: Transport): {
@@ -5574,6 +7848,7 @@ export declare function createTicket(transport: Transport): {
5574
7848
  repositories: Array<Types.TicketRepository>;
5575
7849
  next_page_token: string;
5576
7850
  }>;
7851
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5577
7852
  };
5578
7853
  tickets: {
5579
7854
  comments: {
@@ -5705,7 +7980,9 @@ export declare const resourceFactories: {
5705
7980
  automation: typeof createAutomation;
5706
7981
  browser: typeof createBrowser;
5707
7982
  canvas: typeof createCanvas;
7983
+ content: typeof createContent;
5708
7984
  crm: typeof createCrm;
7985
+ customer: typeof createCustomer;
5709
7986
  cut: typeof createCut;
5710
7987
  database: typeof createDatabase;
5711
7988
  devops: typeof createDevops;
@@ -5716,8 +7993,10 @@ export declare const resourceFactories: {
5716
7993
  model: typeof createModel;
5717
7994
  ontology: typeof createOntology;
5718
7995
  organization: typeof createOrganization;
7996
+ registry: typeof createRegistry;
5719
7997
  sandbox: typeof createSandbox;
5720
7998
  search: typeof createSearch;
7999
+ share: typeof createShare;
5721
8000
  studio: typeof createStudio;
5722
8001
  ticket: typeof createTicket;
5723
8002
  vault: typeof createVault;