@deepraxis/sdk 0.1.1-dev.6454a0a → 0.1.1-dev.6602a93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/METHODS.md +1375 -190
  2. package/README.md +4 -4
  3. package/dist/core/binary-operations.d.ts +3 -0
  4. package/dist/core/binary-operations.js +14 -0
  5. package/dist/core/credentials.d.ts +22 -3
  6. package/dist/core/credentials.js +44 -5
  7. package/dist/core/errors.d.ts +6 -0
  8. package/dist/core/errors.js +8 -0
  9. package/dist/core/transport.d.ts +1 -1
  10. package/dist/core/transport.js +8 -4
  11. package/dist/generated/binary-operations.gen.d.ts +3 -0
  12. package/dist/generated/binary-operations.gen.js +14 -0
  13. package/dist/generated/index.d.ts +2 -2
  14. package/dist/generated/index.js +1 -1
  15. package/dist/generated/sdk.gen.d.ts +3442 -1158
  16. package/dist/generated/sdk.gen.js +9481 -2940
  17. package/dist/generated/types.gen.d.ts +91056 -50161
  18. package/dist/helpers/application-publish.js +16 -2
  19. package/dist/helpers/browser-actions.d.ts +102 -0
  20. package/dist/helpers/browser-actions.js +146 -0
  21. package/dist/helpers/browser-connect-error.d.ts +28 -0
  22. package/dist/helpers/browser-connect-error.js +74 -0
  23. package/dist/helpers/browser-connect.d.ts +35 -2
  24. package/dist/helpers/browser-connect.js +262 -27
  25. package/dist/helpers/browser-decisions.d.ts +57 -0
  26. package/dist/helpers/browser-decisions.js +64 -0
  27. package/dist/helpers/browser-documentation.d.ts +1 -1
  28. package/dist/helpers/browser-documentation.js +24 -13
  29. package/dist/operations.generated.d.ts +37 -16434
  30. package/dist/operations.generated.js +19232 -5723
  31. package/dist/resources.generated.d.ts +2812 -256
  32. package/dist/resources.generated.js +735 -12
  33. package/package.json +2 -2
@@ -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";
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";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
236
  readonly verified?: boolean;
217
237
  enabled?: boolean;
218
238
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
239
+ kind: "general" | "service" | "assume";
240
+ computers?: {
241
+ default: string;
242
+ allowed: Array<{
243
+ template: string;
244
+ name: string;
245
+ }>;
246
+ };
220
247
  computer_id?: string;
221
248
  subagent_model?: string | null;
222
- image_model?: string | null;
223
249
  subagents?: Array<{
224
250
  name: string;
225
251
  description: string;
@@ -310,6 +336,7 @@ export declare function createAgent(transport: Transport): {
310
336
  allowManagedHooksOnly?: boolean;
311
337
  allowManagedMcpServersOnly?: boolean;
312
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
313
340
  autoMemoryEnabled?: boolean;
314
341
  disabled?: {
315
342
  subagents?: Array<string>;
@@ -318,7 +345,6 @@ export declare function createAgent(transport: Transport): {
318
345
  mcpServers?: Array<string>;
319
346
  hooks?: Array<string>;
320
347
  };
321
- idleCompaction?: boolean;
322
348
  outputStyle?: string;
323
349
  } | null;
324
350
  models?: {
@@ -326,6 +352,7 @@ export declare function createAgent(transport: Transport): {
326
352
  };
327
353
  avatar: string | null;
328
354
  creation_source: string | null;
355
+ managed_by: string | null;
329
356
  identity_number: string | null;
330
357
  environment_id?: string | null;
331
358
  vault_ids?: Array<string>;
@@ -338,42 +365,6 @@ export declare function createAgent(transport: Transport): {
338
365
  }> | null;
339
366
  }>;
340
367
  customers: {
341
- auth: {
342
- accessTokens: {
343
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
344
- type: "customer_access_token";
345
- access_token: string;
346
- expires_at: string;
347
- session_expires_at: string;
348
- customer: {
349
- id: string;
350
- type: "identified" | "anonymous";
351
- };
352
- }>;
353
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
354
- renew: {
355
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
356
- type: "customer_access_token";
357
- access_token: string;
358
- expires_at: string;
359
- session_expires_at: string;
360
- customer: {
361
- id: string;
362
- type: "identified" | "anonymous";
363
- };
364
- }>;
365
- };
366
- };
367
- grantCodes: {
368
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
369
- type: "customer_grant_code";
370
- code: string;
371
- customer_id: string;
372
- expires_at: string;
373
- hosted_url?: string;
374
- }>;
375
- };
376
- };
377
368
  block: {
378
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
370
  id: string;
@@ -465,6 +456,245 @@ export declare function createAgent(transport: Transport): {
465
456
  }>;
466
457
  };
467
458
  };
459
+ events: {
460
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
461
+ data: Array<{
462
+ id: string;
463
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
464
+ type: "user.message";
465
+ processed_at?: null | string;
466
+ praxis_context?: {
467
+ items: Array<{
468
+ name: string;
469
+ value: string;
470
+ }>;
471
+ };
472
+ message_id?: string;
473
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
474
+ id: string;
475
+ content: Array<{
476
+ text: string;
477
+ type: "text";
478
+ citations?: Array<{
479
+ type: "search_result_location";
480
+ source: string;
481
+ title: string;
482
+ cited_text: string;
483
+ search_result_index: number;
484
+ start_block_index: number;
485
+ end_block_index: number;
486
+ }>;
487
+ } | Types.AgentManaged70>;
488
+ processed_at: string;
489
+ type: "agent.message";
490
+ run_id: string | null;
491
+ message_id?: string;
492
+ } | {
493
+ id: string;
494
+ processed_at: string;
495
+ type: "agent.thinking";
496
+ run_id: string | null;
497
+ message_id?: string;
498
+ } | {
499
+ id: string;
500
+ input: Types.AgentManaged197;
501
+ mcp_server_name: string;
502
+ name: string;
503
+ processed_at: string;
504
+ type: "agent.mcp_tool_use";
505
+ evaluated_permission?: "allow" | "deny" | "ask";
506
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
507
+ session_thread_id?: null | string;
508
+ permission_suggestions?: Array<{
509
+ type: "add_rules";
510
+ behavior: "allow";
511
+ destination: "agent" | "session";
512
+ rules: Array<{
513
+ tool_name: string;
514
+ rule_content: string;
515
+ }>;
516
+ }>;
517
+ full_access_available?: boolean;
518
+ user_once?: true;
519
+ guarded_rule?: string;
520
+ run_id: string | null;
521
+ _meta?: {
522
+ ui?: {
523
+ resourceUri?: string;
524
+ visibility?: Array<string>;
525
+ [key: string]: unknown;
526
+ };
527
+ "openai/ui"?: {
528
+ [key: string]: unknown;
529
+ };
530
+ };
531
+ source?: "app" | "codemode";
532
+ parent_tool_use_id?: string;
533
+ title?: string;
534
+ input_titles?: {
535
+ [key: string]: string;
536
+ };
537
+ } | {
538
+ id: string;
539
+ mcp_tool_use_id: string;
540
+ processed_at: string;
541
+ type: "agent.mcp_tool_result";
542
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
543
+ is_error?: null | false | true;
544
+ run_id: string | null;
545
+ structured_content?: unknown;
546
+ _meta?: {
547
+ [key: string]: unknown;
548
+ };
549
+ source?: "app" | "codemode";
550
+ } | {
551
+ id: string;
552
+ input: Types.AgentManaged206;
553
+ name: string;
554
+ processed_at: string;
555
+ type: "agent.tool_use";
556
+ evaluated_permission?: "allow" | "deny" | "ask";
557
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
558
+ session_thread_id?: null | string;
559
+ permission_suggestions?: Array<{
560
+ type: "add_rules";
561
+ behavior: "allow";
562
+ destination: "agent" | "session";
563
+ rules: Array<{
564
+ tool_name: string;
565
+ rule_content: string;
566
+ }>;
567
+ }>;
568
+ full_access_available?: boolean;
569
+ user_once?: true;
570
+ guarded_rule?: string;
571
+ run_id: string | null;
572
+ } | {
573
+ id: string;
574
+ processed_at: string;
575
+ tool_use_id: string;
576
+ type: "agent.tool_result";
577
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
578
+ is_error?: null | false | true;
579
+ run_id: string | null;
580
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
581
+ id: string;
582
+ processed_at: string;
583
+ type: "session.status_running";
584
+ run_id: string | null;
585
+ } | {
586
+ id: string;
587
+ processed_at: string;
588
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
589
+ type: "session.status_idle";
590
+ run_id: string | null;
591
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
592
+ id: string;
593
+ processed_at: string;
594
+ type: "session.updated";
595
+ agent?: null | Types.AgentManaged170;
596
+ budget?: null | Types.AgentManaged76;
597
+ metadata?: Types.AgentManaged246;
598
+ title?: null | string;
599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
600
+ previous_permission_mode?: string | null;
601
+ permission_mode_version?: number;
602
+ model?: {
603
+ id: string;
604
+ };
605
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
606
+ id: string;
607
+ type: "session.forked";
608
+ processed_at: string;
609
+ forked_from_session_id: string;
610
+ forked_from_message_id: string;
611
+ } | {
612
+ id: string;
613
+ type: "session.goal_changed";
614
+ processed_at: string;
615
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
616
+ source: "command" | "runtime";
617
+ goal: {
618
+ goal_id: string;
619
+ objective: string;
620
+ summary_title: string | null;
621
+ status: "active" | "paused" | "budget_limited" | "complete";
622
+ token_budget: number | null;
623
+ tokens_used: number;
624
+ time_used_seconds: number;
625
+ iteration: number;
626
+ created_at: number;
627
+ updated_at: number;
628
+ } | null;
629
+ previous_goal: {
630
+ goal_id: string;
631
+ objective: string;
632
+ summary_title: string | null;
633
+ status: "active" | "paused" | "budget_limited" | "complete";
634
+ token_budget: number | null;
635
+ tokens_used: number;
636
+ time_used_seconds: number;
637
+ iteration: number;
638
+ created_at: number;
639
+ updated_at: number;
640
+ } | null;
641
+ } | {
642
+ id: string;
643
+ type: "session.goal_verification";
644
+ processed_at: string;
645
+ status: "started" | "completed" | "failed_closed" | "cancelled";
646
+ goal_id: string;
647
+ goal_iteration: number;
648
+ verification_id: string;
649
+ anchor_message_id: string | null;
650
+ verification?: {
651
+ passed: boolean;
652
+ reason: string;
653
+ next_action?: string;
654
+ };
655
+ } | {
656
+ id: string;
657
+ type: "user.steer";
658
+ event_id: string;
659
+ processed_at: string;
660
+ }>;
661
+ next_page: string | null;
662
+ }>;
663
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
664
+ data?: Array<{
665
+ id: string;
666
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
667
+ type: "user.message";
668
+ processed_at?: null | string;
669
+ praxis_context?: {
670
+ items: Array<{
671
+ name: string;
672
+ value: string;
673
+ }>;
674
+ };
675
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
676
+ id: string;
677
+ type: "user.steer";
678
+ event_id: string;
679
+ processed_at: string;
680
+ }>;
681
+ }>;
682
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
683
+ };
684
+ inbox: {
685
+ letters: {
686
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
687
+ unread: number;
688
+ letters: Array<{
689
+ id: string;
690
+ sender: string;
691
+ summary: string;
692
+ thread: string | null;
693
+ create_time: string;
694
+ }>;
695
+ }>;
696
+ };
697
+ };
468
698
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
699
  data: Array<{
470
700
  id: string;
@@ -480,6 +710,7 @@ export declare function createAgent(transport: Transport): {
480
710
  speed?: "standard" | "fast";
481
711
  settings?: {
482
712
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
713
+ max_output_tokens?: number;
483
714
  };
484
715
  };
485
716
  multiagent?: null | Types.AgentManaged39;
@@ -504,18 +735,25 @@ export declare function createAgent(transport: Transport): {
504
735
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
505
736
  id: string;
506
737
  access: "read_only" | "read_write" | "invoke";
738
+ customer_access?: "read_only" | "read_write" | "invoke";
507
739
  instructions?: string;
508
740
  readonly verified?: boolean;
509
741
  enabled?: boolean;
510
742
  } | {
511
- type: "search" | "browser";
743
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
744
  readonly verified?: boolean;
513
745
  enabled?: boolean;
514
746
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
747
+ kind: "general" | "service" | "assume";
748
+ computers?: {
749
+ default: string;
750
+ allowed: Array<{
751
+ template: string;
752
+ name: string;
753
+ }>;
754
+ };
516
755
  computer_id?: string;
517
756
  subagent_model?: string | null;
518
- image_model?: string | null;
519
757
  subagents?: Array<{
520
758
  name: string;
521
759
  description: string;
@@ -606,6 +844,7 @@ export declare function createAgent(transport: Transport): {
606
844
  allowManagedHooksOnly?: boolean;
607
845
  allowManagedMcpServersOnly?: boolean;
608
846
  allowManagedPermissionRulesOnly?: boolean;
847
+ idleCompaction?: boolean;
609
848
  autoMemoryEnabled?: boolean;
610
849
  disabled?: {
611
850
  subagents?: Array<string>;
@@ -614,7 +853,6 @@ export declare function createAgent(transport: Transport): {
614
853
  mcpServers?: Array<string>;
615
854
  hooks?: Array<string>;
616
855
  };
617
- idleCompaction?: boolean;
618
856
  outputStyle?: string;
619
857
  } | null;
620
858
  models?: {
@@ -622,6 +860,7 @@ export declare function createAgent(transport: Transport): {
622
860
  };
623
861
  avatar: string | null;
624
862
  creation_source: string | null;
863
+ managed_by: string | null;
625
864
  identity_number: string | null;
626
865
  environment_id?: string | null;
627
866
  vault_ids?: Array<string>;
@@ -635,6 +874,34 @@ export declare function createAgent(transport: Transport): {
635
874
  }>;
636
875
  next_page: string | null;
637
876
  }>;
877
+ phone: {
878
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
879
+ object: "agent_phone";
880
+ agent_id: string;
881
+ configured: boolean;
882
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
883
+ sku: string | null;
884
+ byod_device: string | null;
885
+ name: string | null;
886
+ sandbox_id: string | null;
887
+ lease_ends_at: string | null;
888
+ archived_at: string | null;
889
+ archive_error: string | null;
890
+ }>;
891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
892
+ object: "agent_phone";
893
+ agent_id: string;
894
+ configured: boolean;
895
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
896
+ sku: string | null;
897
+ byod_device: string | null;
898
+ name: string | null;
899
+ sandbox_id: string | null;
900
+ lease_ends_at: string | null;
901
+ archived_at: string | null;
902
+ archive_error: string | null;
903
+ }>;
904
+ };
638
905
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
906
  id: string;
640
907
  archived_at: null | string;
@@ -649,6 +916,7 @@ export declare function createAgent(transport: Transport): {
649
916
  speed?: "standard" | "fast";
650
917
  settings?: {
651
918
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
919
+ max_output_tokens?: number;
652
920
  };
653
921
  };
654
922
  multiagent?: null | Types.AgentManaged39;
@@ -674,18 +942,25 @@ export declare function createAgent(transport: Transport): {
674
942
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
675
943
  id: string;
676
944
  access: "read_only" | "read_write" | "invoke";
945
+ customer_access?: "read_only" | "read_write" | "invoke";
677
946
  instructions?: string;
678
947
  readonly verified?: boolean;
679
948
  enabled?: boolean;
680
949
  } | {
681
- type: "search" | "browser";
950
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
951
  readonly verified?: boolean;
683
952
  enabled?: boolean;
684
953
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
954
+ kind: "general" | "service" | "assume";
955
+ computers?: {
956
+ default: string;
957
+ allowed: Array<{
958
+ template: string;
959
+ name: string;
960
+ }>;
961
+ };
686
962
  computer_id?: string;
687
963
  subagent_model?: string | null;
688
- image_model?: string | null;
689
964
  subagents?: Array<{
690
965
  name: string;
691
966
  description: string;
@@ -776,6 +1051,7 @@ export declare function createAgent(transport: Transport): {
776
1051
  allowManagedHooksOnly?: boolean;
777
1052
  allowManagedMcpServersOnly?: boolean;
778
1053
  allowManagedPermissionRulesOnly?: boolean;
1054
+ idleCompaction?: boolean;
779
1055
  autoMemoryEnabled?: boolean;
780
1056
  disabled?: {
781
1057
  subagents?: Array<string>;
@@ -784,7 +1060,6 @@ export declare function createAgent(transport: Transport): {
784
1060
  mcpServers?: Array<string>;
785
1061
  hooks?: Array<string>;
786
1062
  };
787
- idleCompaction?: boolean;
788
1063
  outputStyle?: string;
789
1064
  } | null;
790
1065
  models?: {
@@ -792,6 +1067,7 @@ export declare function createAgent(transport: Transport): {
792
1067
  };
793
1068
  avatar: string | null;
794
1069
  creation_source: string | null;
1070
+ managed_by: string | null;
795
1071
  identity_number: string | null;
796
1072
  environment_id?: string | null;
797
1073
  vault_ids?: Array<string>;
@@ -860,6 +1136,25 @@ export declare function createAgent(transport: Transport): {
860
1136
  history?: {
861
1137
  enabled?: boolean;
862
1138
  };
1139
+ uploads?: {
1140
+ enabled: boolean;
1141
+ max_file_bytes: number;
1142
+ max_files_per_session: number;
1143
+ };
1144
+ }>;
1145
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1146
+ allowed_origins: Array<string>;
1147
+ allow_localhost: boolean;
1148
+ uploads: {
1149
+ enabled: boolean;
1150
+ max_file_bytes: number;
1151
+ max_files_per_session: number;
1152
+ };
1153
+ share_links: {
1154
+ enabled: boolean;
1155
+ daily_session_cap: number | null;
1156
+ daily_spend_cap_micro_usd: number | null;
1157
+ };
863
1158
  }>;
864
1159
  unarchive: {
865
1160
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1208,7 @@ export declare function createAgent(transport: Transport): {
913
1208
  speed?: "standard" | "fast";
914
1209
  settings?: {
915
1210
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1211
+ max_output_tokens?: number;
916
1212
  };
917
1213
  };
918
1214
  multiagent?: null | {
@@ -1103,18 +1399,25 @@ export declare function createAgent(transport: Transport): {
1103
1399
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1104
1400
  id: string;
1105
1401
  access: "read_only" | "read_write" | "invoke";
1402
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1403
  instructions?: string;
1107
1404
  readonly verified?: boolean;
1108
1405
  enabled?: boolean;
1109
1406
  } | {
1110
- type: "search" | "browser";
1407
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1408
  readonly verified?: boolean;
1112
1409
  enabled?: boolean;
1113
1410
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1411
+ kind: "general" | "service" | "assume";
1412
+ computers?: {
1413
+ default: string;
1414
+ allowed: Array<{
1415
+ template: string;
1416
+ name: string;
1417
+ }>;
1418
+ };
1115
1419
  computer_id?: string;
1116
1420
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1421
  subagents?: Array<{
1119
1422
  name: string;
1120
1423
  description: string;
@@ -1205,6 +1508,7 @@ export declare function createAgent(transport: Transport): {
1205
1508
  allowManagedHooksOnly?: boolean;
1206
1509
  allowManagedMcpServersOnly?: boolean;
1207
1510
  allowManagedPermissionRulesOnly?: boolean;
1511
+ idleCompaction?: boolean;
1208
1512
  autoMemoryEnabled?: boolean;
1209
1513
  disabled?: {
1210
1514
  subagents?: Array<string>;
@@ -1213,7 +1517,6 @@ export declare function createAgent(transport: Transport): {
1213
1517
  mcpServers?: Array<string>;
1214
1518
  hooks?: Array<string>;
1215
1519
  };
1216
- idleCompaction?: boolean;
1217
1520
  outputStyle?: string;
1218
1521
  } | null;
1219
1522
  models?: {
@@ -1221,6 +1524,7 @@ export declare function createAgent(transport: Transport): {
1221
1524
  };
1222
1525
  avatar: string | null;
1223
1526
  creation_source: string | null;
1527
+ managed_by: string | null;
1224
1528
  identity_number: string | null;
1225
1529
  environment_id?: string | null;
1226
1530
  vault_ids?: Array<string>;
@@ -1247,6 +1551,7 @@ export declare function createAgent(transport: Transport): {
1247
1551
  speed?: "standard" | "fast";
1248
1552
  settings?: {
1249
1553
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1554
+ max_output_tokens?: number;
1250
1555
  };
1251
1556
  };
1252
1557
  multiagent?: null | Types.AgentManaged39;
@@ -1272,18 +1577,25 @@ export declare function createAgent(transport: Transport): {
1272
1577
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1273
1578
  id: string;
1274
1579
  access: "read_only" | "read_write" | "invoke";
1580
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1581
  instructions?: string;
1276
1582
  readonly verified?: boolean;
1277
1583
  enabled?: boolean;
1278
1584
  } | {
1279
- type: "search" | "browser";
1585
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1586
  readonly verified?: boolean;
1281
1587
  enabled?: boolean;
1282
1588
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1589
+ kind: "general" | "service" | "assume";
1590
+ computers?: {
1591
+ default: string;
1592
+ allowed: Array<{
1593
+ template: string;
1594
+ name: string;
1595
+ }>;
1596
+ };
1284
1597
  computer_id?: string;
1285
1598
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1599
  subagents?: Array<{
1288
1600
  name: string;
1289
1601
  description: string;
@@ -1370,59 +1682,277 @@ export declare function createAgent(transport: Transport): {
1370
1682
  enabled?: boolean;
1371
1683
  }>;
1372
1684
  }>;
1373
- };
1374
- allowManagedHooksOnly?: boolean;
1375
- allowManagedMcpServersOnly?: boolean;
1376
- allowManagedPermissionRulesOnly?: boolean;
1377
- autoMemoryEnabled?: boolean;
1378
- disabled?: {
1379
- subagents?: Array<string>;
1380
- commands?: Array<string>;
1381
- skills?: Array<string>;
1382
- mcpServers?: Array<string>;
1383
- hooks?: Array<string>;
1384
- };
1385
- idleCompaction?: boolean;
1386
- outputStyle?: string;
1387
- } | null;
1388
- models?: {
1389
- allowed: Array<string>;
1390
- };
1391
- avatar: string | null;
1392
- creation_source: string | null;
1393
- identity_number: string | null;
1394
- environment_id?: string | null;
1395
- vault_ids?: Array<string>;
1396
- status: "active" | "archived";
1397
- output_styles?: Array<{
1398
- name: string;
1399
- description?: string;
1400
- prompt: string;
1401
- keep_coding_instructions?: boolean;
1402
- }> | null;
1403
- }>;
1404
- versions: {
1405
- apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
- id: string;
1407
- archived_at: null | string;
1408
- created_at: string;
1409
- description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1412
- model?: {
1413
- id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1415
- inference_geo?: string;
1416
- speed?: "standard" | "fast";
1417
- settings?: {
1418
- reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1685
+ };
1686
+ allowManagedHooksOnly?: boolean;
1687
+ allowManagedMcpServersOnly?: boolean;
1688
+ allowManagedPermissionRulesOnly?: boolean;
1689
+ idleCompaction?: boolean;
1690
+ autoMemoryEnabled?: boolean;
1691
+ disabled?: {
1692
+ subagents?: Array<string>;
1693
+ commands?: Array<string>;
1694
+ skills?: Array<string>;
1695
+ mcpServers?: Array<string>;
1696
+ hooks?: Array<string>;
1697
+ };
1698
+ outputStyle?: string;
1699
+ } | null;
1700
+ models?: {
1701
+ allowed: Array<string>;
1702
+ };
1703
+ avatar: string | null;
1704
+ creation_source: string | null;
1705
+ managed_by: string | null;
1706
+ identity_number: string | null;
1707
+ environment_id?: string | null;
1708
+ vault_ids?: Array<string>;
1709
+ status: "active" | "archived";
1710
+ output_styles?: Array<{
1711
+ name: string;
1712
+ description?: string;
1713
+ prompt: string;
1714
+ keep_coding_instructions?: boolean;
1715
+ }> | null;
1716
+ }>;
1717
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1718
+ allowed_origins: Array<string>;
1719
+ allow_localhost: boolean;
1720
+ uploads: {
1721
+ enabled: boolean;
1722
+ max_file_bytes: number;
1723
+ max_files_per_session: number;
1724
+ };
1725
+ share_links: {
1726
+ enabled: boolean;
1727
+ daily_session_cap: number | null;
1728
+ daily_spend_cap_micro_usd: number | null;
1729
+ };
1730
+ }>;
1731
+ versions: {
1732
+ apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1733
+ id: string;
1734
+ archived_at: null | string;
1735
+ created_at: string;
1736
+ description: null | string;
1737
+ mcp_servers: Array<{
1738
+ type: "url";
1739
+ name: string;
1740
+ url: string;
1741
+ headers?: {
1742
+ [key: string]: string;
1743
+ };
1744
+ timeout_ms?: number;
1745
+ } | {
1746
+ type: "sse";
1747
+ name: string;
1748
+ url: string;
1749
+ headers?: {
1750
+ [key: string]: string;
1751
+ };
1752
+ timeout_ms?: number;
1753
+ } | {
1754
+ type: "stdio";
1755
+ name: string;
1756
+ command: string;
1757
+ args?: Array<string>;
1758
+ env?: {
1759
+ [key: string]: string;
1760
+ };
1761
+ timeout_ms?: number;
1762
+ }>;
1763
+ metadata: {
1764
+ [key: string]: string;
1765
+ };
1766
+ model?: {
1767
+ id: string;
1768
+ effort?: {
1769
+ type: "low";
1770
+ } | {
1771
+ type: "medium";
1772
+ } | {
1773
+ type: "high";
1774
+ } | {
1775
+ type: "xhigh";
1776
+ } | {
1777
+ type: "max";
1778
+ };
1779
+ inference_geo?: string;
1780
+ speed?: "standard" | "fast";
1781
+ settings?: {
1782
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1783
+ max_output_tokens?: number;
1784
+ };
1785
+ };
1786
+ multiagent?: null | {
1787
+ agents: Array<{
1788
+ id: string;
1789
+ type: "agent";
1790
+ version: number;
1791
+ } | {
1792
+ model: string;
1793
+ type: "advisor";
1794
+ }>;
1795
+ type: "coordinator";
1796
+ };
1797
+ name: string;
1798
+ skills: Array<{
1799
+ skill_id: string;
1800
+ type: "anthropic";
1801
+ version: string;
1802
+ } | {
1803
+ skill_id: string;
1804
+ type: "custom";
1805
+ version: string;
1806
+ }>;
1807
+ system: null | string;
1808
+ tools: Array<{
1809
+ configs: Array<{
1810
+ enabled: boolean;
1811
+ name: "bash";
1812
+ permission_policy: {
1813
+ type: "always_allow";
1814
+ } | {
1815
+ type: "always_ask";
1816
+ } | {
1817
+ type: "auto";
1818
+ };
1819
+ type: "bash";
1820
+ } | {
1821
+ enabled: boolean;
1822
+ name: "edit";
1823
+ permission_policy: {
1824
+ type: "always_allow";
1825
+ } | {
1826
+ type: "always_ask";
1827
+ } | {
1828
+ type: "auto";
1829
+ };
1830
+ type: "edit";
1831
+ } | {
1832
+ enabled: boolean;
1833
+ name: "read";
1834
+ permission_policy: {
1835
+ type: "always_allow";
1836
+ } | {
1837
+ type: "always_ask";
1838
+ } | {
1839
+ type: "auto";
1840
+ };
1841
+ type: "read";
1842
+ } | {
1843
+ enabled: boolean;
1844
+ name: "write";
1845
+ permission_policy: {
1846
+ type: "always_allow";
1847
+ } | {
1848
+ type: "always_ask";
1849
+ } | {
1850
+ type: "auto";
1851
+ };
1852
+ type: "write";
1853
+ } | {
1854
+ enabled: boolean;
1855
+ name: "glob";
1856
+ permission_policy: {
1857
+ type: "always_allow";
1858
+ } | {
1859
+ type: "always_ask";
1860
+ } | {
1861
+ type: "auto";
1862
+ };
1863
+ type: "glob";
1864
+ } | {
1865
+ enabled: boolean;
1866
+ name: "grep";
1867
+ permission_policy: {
1868
+ type: "always_allow";
1869
+ } | {
1870
+ type: "always_ask";
1871
+ } | {
1872
+ type: "auto";
1873
+ };
1874
+ type: "grep";
1875
+ } | {
1876
+ enabled: boolean;
1877
+ name: "web_fetch";
1878
+ permission_policy: {
1879
+ type: "always_allow";
1880
+ } | {
1881
+ type: "always_ask";
1882
+ } | {
1883
+ type: "auto";
1884
+ };
1885
+ type: "web_fetch";
1886
+ allowed_domains?: Array<string>;
1887
+ blocked_domains?: Array<string>;
1888
+ max_content_tokens?: null | number;
1889
+ } | {
1890
+ enabled: boolean;
1891
+ name: "web_search";
1892
+ permission_policy: {
1893
+ type: "always_allow";
1894
+ } | {
1895
+ type: "always_ask";
1896
+ } | {
1897
+ type: "auto";
1898
+ };
1899
+ type: "web_search";
1900
+ allowed_domains?: Array<string>;
1901
+ blocked_domains?: Array<string>;
1902
+ user_location?: null | {
1903
+ type: "approximate";
1904
+ city?: null | string;
1905
+ country?: null | string;
1906
+ region?: null | string;
1907
+ timezone?: null | string;
1908
+ };
1909
+ } | {
1910
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1911
+ enabled: boolean;
1912
+ permission_policy: {
1913
+ type: "always_allow" | "always_ask";
1914
+ };
1915
+ }>;
1916
+ default_config: {
1917
+ enabled: boolean;
1918
+ permission_policy: {
1919
+ type: "always_allow";
1920
+ } | {
1921
+ type: "always_ask";
1922
+ } | {
1923
+ type: "auto";
1924
+ };
1419
1925
  };
1420
- };
1421
- multiagent?: null | Types.AgentManaged39;
1422
- name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1424
- system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1926
+ type: "agent_toolset_20260401";
1927
+ } | {
1928
+ type: "mcp_toolset";
1929
+ mcp_server_name: string;
1930
+ default_config?: {
1931
+ enabled?: boolean | null;
1932
+ permission_policy?: null | {
1933
+ type: "always_allow" | "always_ask";
1934
+ };
1935
+ } | null;
1936
+ configs?: Array<{
1937
+ name: string;
1938
+ enabled?: boolean | null;
1939
+ permission_policy?: null | {
1940
+ type: "always_allow" | "always_ask";
1941
+ };
1942
+ }> | null;
1943
+ } | {
1944
+ description: string;
1945
+ input_schema: {
1946
+ type: "object";
1947
+ properties?: null | {
1948
+ [key: string]: unknown;
1949
+ };
1950
+ required?: null | Array<string>;
1951
+ [key: string]: unknown;
1952
+ };
1953
+ name: string;
1954
+ type: "custom";
1955
+ }>;
1426
1956
  type: "agent";
1427
1957
  updated_at: string;
1428
1958
  version: number;
@@ -1441,18 +1971,25 @@ export declare function createAgent(transport: Transport): {
1441
1971
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1442
1972
  id: string;
1443
1973
  access: "read_only" | "read_write" | "invoke";
1974
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
1975
  instructions?: string;
1445
1976
  readonly verified?: boolean;
1446
1977
  enabled?: boolean;
1447
1978
  } | {
1448
- type: "search" | "browser";
1979
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1980
  readonly verified?: boolean;
1450
1981
  enabled?: boolean;
1451
1982
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
1983
+ kind: "general" | "service" | "assume";
1984
+ computers?: {
1985
+ default: string;
1986
+ allowed: Array<{
1987
+ template: string;
1988
+ name: string;
1989
+ }>;
1990
+ };
1453
1991
  computer_id?: string;
1454
1992
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1993
  subagents?: Array<{
1457
1994
  name: string;
1458
1995
  description: string;
@@ -1543,6 +2080,7 @@ export declare function createAgent(transport: Transport): {
1543
2080
  allowManagedHooksOnly?: boolean;
1544
2081
  allowManagedMcpServersOnly?: boolean;
1545
2082
  allowManagedPermissionRulesOnly?: boolean;
2083
+ idleCompaction?: boolean;
1546
2084
  autoMemoryEnabled?: boolean;
1547
2085
  disabled?: {
1548
2086
  subagents?: Array<string>;
@@ -1551,7 +2089,6 @@ export declare function createAgent(transport: Transport): {
1551
2089
  mcpServers?: Array<string>;
1552
2090
  hooks?: Array<string>;
1553
2091
  };
1554
- idleCompaction?: boolean;
1555
2092
  outputStyle?: string;
1556
2093
  } | null;
1557
2094
  models?: {
@@ -1559,6 +2096,7 @@ export declare function createAgent(transport: Transport): {
1559
2096
  };
1560
2097
  avatar: string | null;
1561
2098
  creation_source: string | null;
2099
+ managed_by: string | null;
1562
2100
  identity_number: string | null;
1563
2101
  environment_id?: string | null;
1564
2102
  vault_ids?: Array<string>;
@@ -1585,6 +2123,7 @@ export declare function createAgent(transport: Transport): {
1585
2123
  speed?: "standard" | "fast";
1586
2124
  settings?: {
1587
2125
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2126
+ max_output_tokens?: number;
1588
2127
  };
1589
2128
  };
1590
2129
  multiagent?: null | Types.AgentManaged39;
@@ -1610,18 +2149,25 @@ export declare function createAgent(transport: Transport): {
1610
2149
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1611
2150
  id: string;
1612
2151
  access: "read_only" | "read_write" | "invoke";
2152
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2153
  instructions?: string;
1614
2154
  readonly verified?: boolean;
1615
2155
  enabled?: boolean;
1616
2156
  } | {
1617
- type: "search" | "browser";
2157
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2158
  readonly verified?: boolean;
1619
2159
  enabled?: boolean;
1620
2160
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2161
+ kind: "general" | "service" | "assume";
2162
+ computers?: {
2163
+ default: string;
2164
+ allowed: Array<{
2165
+ template: string;
2166
+ name: string;
2167
+ }>;
2168
+ };
1622
2169
  computer_id?: string;
1623
2170
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2171
  subagents?: Array<{
1626
2172
  name: string;
1627
2173
  description: string;
@@ -1712,6 +2258,7 @@ export declare function createAgent(transport: Transport): {
1712
2258
  allowManagedHooksOnly?: boolean;
1713
2259
  allowManagedMcpServersOnly?: boolean;
1714
2260
  allowManagedPermissionRulesOnly?: boolean;
2261
+ idleCompaction?: boolean;
1715
2262
  autoMemoryEnabled?: boolean;
1716
2263
  disabled?: {
1717
2264
  subagents?: Array<string>;
@@ -1720,7 +2267,6 @@ export declare function createAgent(transport: Transport): {
1720
2267
  mcpServers?: Array<string>;
1721
2268
  hooks?: Array<string>;
1722
2269
  };
1723
- idleCompaction?: boolean;
1724
2270
  outputStyle?: string;
1725
2271
  } | null;
1726
2272
  models?: {
@@ -1728,6 +2274,7 @@ export declare function createAgent(transport: Transport): {
1728
2274
  };
1729
2275
  avatar: string | null;
1730
2276
  creation_source: string | null;
2277
+ managed_by: string | null;
1731
2278
  identity_number: string | null;
1732
2279
  environment_id?: string | null;
1733
2280
  vault_ids?: Array<string>;
@@ -1793,6 +2340,13 @@ export declare function createAgent(transport: Transport): {
1793
2340
  type: "computer_deleted";
1794
2341
  }>;
1795
2342
  files: {
2343
+ convert: {
2344
+ create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
2345
+ data: string;
2346
+ mime: "application/pdf";
2347
+ cached: boolean;
2348
+ }>;
2349
+ };
1796
2350
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
1797
2351
  data: Array<{
1798
2352
  path: string;
@@ -1808,6 +2362,24 @@ export declare function createAgent(transport: Transport): {
1808
2362
  tier: "light" | "heavy";
1809
2363
  }>;
1810
2364
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2365
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2366
+ variant: "image" | "pdf" | "text" | "original";
2367
+ version?: string;
2368
+ mime_type?: string;
2369
+ size?: number;
2370
+ file_id?: string;
2371
+ url?: string;
2372
+ expires_at?: string;
2373
+ cached: boolean;
2374
+ fallback?: "content";
2375
+ skipped?: boolean;
2376
+ }>;
2377
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2378
+ path: string;
2379
+ size: number;
2380
+ mtime: string | null;
2381
+ version: string;
2382
+ }>;
1811
2383
  };
1812
2384
  leases: {
1813
2385
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1848,6 +2420,7 @@ export declare function createAgent(transport: Transport): {
1848
2420
  created_at: string;
1849
2421
  updated_at: string;
1850
2422
  archived_at: string | null;
2423
+ machine: "light" | "full";
1851
2424
  implementation: "virtual" | "sandbox";
1852
2425
  storage_bytes: number;
1853
2426
  file_count: number;
@@ -2086,73 +2659,610 @@ export declare function createAgent(transport: Transport): {
2086
2659
  };
2087
2660
  archived_at: null | string;
2088
2661
  created_at: string;
2089
- description: null | string;
2090
- environment_id?: string | null;
2091
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2092
- metadata: Types.AgentManaged91;
2093
- name: string;
2094
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2095
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2096
- schedule: null | Types.AgentManaged111;
2097
- status: "active" | "paused";
2098
- type: "deployment";
2662
+ description: null | string;
2663
+ environment_id?: string | null;
2664
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2665
+ metadata: Types.AgentManaged91;
2666
+ name: string;
2667
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2668
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2669
+ schedule: null | Types.AgentManaged111;
2670
+ status: "active" | "paused";
2671
+ type: "deployment";
2672
+ updated_at: string;
2673
+ vault_ids: Array<string>;
2674
+ budget?: null | Types.AgentManaged76;
2675
+ target: {
2676
+ type: "environment" | "computer";
2677
+ };
2678
+ }>;
2679
+ };
2680
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2681
+ id: string;
2682
+ agent: {
2683
+ id: string;
2684
+ type: "agent";
2685
+ version: number;
2686
+ } | {
2687
+ id: string;
2688
+ type: "agent_with_overrides";
2689
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2690
+ cwd?: string;
2691
+ model?: string | {
2692
+ id: string;
2693
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2694
+ speed?: null | "standard" | "fast";
2695
+ };
2696
+ version: number;
2697
+ };
2698
+ archived_at: null | string;
2699
+ created_at: string;
2700
+ description: null | string;
2701
+ environment_id?: string | null;
2702
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2703
+ metadata: Types.AgentManaged91;
2704
+ name: string;
2705
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2706
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2707
+ schedule: null | Types.AgentManaged111;
2708
+ status: "active" | "paused";
2709
+ type: "deployment";
2710
+ updated_at: string;
2711
+ vault_ids: Array<string>;
2712
+ budget?: null | Types.AgentManaged76;
2713
+ target: {
2714
+ type: "environment" | "computer";
2715
+ };
2716
+ }>;
2717
+ };
2718
+ environments: {
2719
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2720
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2721
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2722
+ data: Array<Types.AgentManaged138>;
2723
+ next_page: string | null;
2724
+ }>;
2725
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2726
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2727
+ };
2728
+ sessions: {
2729
+ agentVersion: {
2730
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2731
+ id: string;
2732
+ agent: {
2733
+ id: string;
2734
+ description: null | string;
2735
+ mcp_servers: Array<{
2736
+ type: "url";
2737
+ name: string;
2738
+ url: string;
2739
+ headers?: {
2740
+ [key: string]: string;
2741
+ };
2742
+ timeout_ms?: number;
2743
+ } | {
2744
+ type: "sse";
2745
+ name: string;
2746
+ url: string;
2747
+ headers?: {
2748
+ [key: string]: string;
2749
+ };
2750
+ timeout_ms?: number;
2751
+ } | {
2752
+ type: "stdio";
2753
+ name: string;
2754
+ command: string;
2755
+ args?: Array<string>;
2756
+ env?: {
2757
+ [key: string]: string;
2758
+ };
2759
+ timeout_ms?: number;
2760
+ }>;
2761
+ model: {
2762
+ id: string;
2763
+ effort?: {
2764
+ type: "low";
2765
+ } | {
2766
+ type: "medium";
2767
+ } | {
2768
+ type: "high";
2769
+ } | {
2770
+ type: "xhigh";
2771
+ } | {
2772
+ type: "max";
2773
+ };
2774
+ inference_geo?: string;
2775
+ speed?: "standard" | "fast";
2776
+ settings?: {
2777
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2778
+ max_output_tokens?: number;
2779
+ };
2780
+ };
2781
+ multiagent: null | {
2782
+ agents: Array<{
2783
+ model: string;
2784
+ type: "advisor";
2785
+ } | {
2786
+ id: string;
2787
+ description: null | string;
2788
+ mcp_servers: Array<{
2789
+ type: "url";
2790
+ name: string;
2791
+ url: string;
2792
+ headers?: {
2793
+ [key: string]: string;
2794
+ };
2795
+ timeout_ms?: number;
2796
+ } | {
2797
+ type: "sse";
2798
+ name: string;
2799
+ url: string;
2800
+ headers?: {
2801
+ [key: string]: string;
2802
+ };
2803
+ timeout_ms?: number;
2804
+ } | {
2805
+ type: "stdio";
2806
+ name: string;
2807
+ command: string;
2808
+ args?: Array<string>;
2809
+ env?: {
2810
+ [key: string]: string;
2811
+ };
2812
+ timeout_ms?: number;
2813
+ }>;
2814
+ model: {
2815
+ id: string;
2816
+ effort?: {
2817
+ type: "low";
2818
+ } | {
2819
+ type: "medium";
2820
+ } | {
2821
+ type: "high";
2822
+ } | {
2823
+ type: "xhigh";
2824
+ } | {
2825
+ type: "max";
2826
+ };
2827
+ inference_geo?: string;
2828
+ speed?: "standard" | "fast";
2829
+ };
2830
+ name: string;
2831
+ skills: Array<{
2832
+ skill_id: string;
2833
+ type: "anthropic";
2834
+ version: string;
2835
+ } | {
2836
+ skill_id: string;
2837
+ type: "custom";
2838
+ version: string;
2839
+ }>;
2840
+ system: null | string;
2841
+ tools: Array<{
2842
+ configs: Array<{
2843
+ enabled: boolean;
2844
+ name: "bash";
2845
+ permission_policy: {
2846
+ type: "always_allow";
2847
+ } | {
2848
+ type: "always_ask";
2849
+ } | {
2850
+ type: "auto";
2851
+ };
2852
+ type: "bash";
2853
+ } | {
2854
+ enabled: boolean;
2855
+ name: "edit";
2856
+ permission_policy: {
2857
+ type: "always_allow";
2858
+ } | {
2859
+ type: "always_ask";
2860
+ } | {
2861
+ type: "auto";
2862
+ };
2863
+ type: "edit";
2864
+ } | {
2865
+ enabled: boolean;
2866
+ name: "read";
2867
+ permission_policy: {
2868
+ type: "always_allow";
2869
+ } | {
2870
+ type: "always_ask";
2871
+ } | {
2872
+ type: "auto";
2873
+ };
2874
+ type: "read";
2875
+ } | {
2876
+ enabled: boolean;
2877
+ name: "write";
2878
+ permission_policy: {
2879
+ type: "always_allow";
2880
+ } | {
2881
+ type: "always_ask";
2882
+ } | {
2883
+ type: "auto";
2884
+ };
2885
+ type: "write";
2886
+ } | {
2887
+ enabled: boolean;
2888
+ name: "glob";
2889
+ permission_policy: {
2890
+ type: "always_allow";
2891
+ } | {
2892
+ type: "always_ask";
2893
+ } | {
2894
+ type: "auto";
2895
+ };
2896
+ type: "glob";
2897
+ } | {
2898
+ enabled: boolean;
2899
+ name: "grep";
2900
+ permission_policy: {
2901
+ type: "always_allow";
2902
+ } | {
2903
+ type: "always_ask";
2904
+ } | {
2905
+ type: "auto";
2906
+ };
2907
+ type: "grep";
2908
+ } | {
2909
+ enabled: boolean;
2910
+ name: "web_fetch";
2911
+ permission_policy: {
2912
+ type: "always_allow";
2913
+ } | {
2914
+ type: "always_ask";
2915
+ } | {
2916
+ type: "auto";
2917
+ };
2918
+ type: "web_fetch";
2919
+ allowed_domains?: Array<string>;
2920
+ blocked_domains?: Array<string>;
2921
+ max_content_tokens?: null | number;
2922
+ } | {
2923
+ enabled: boolean;
2924
+ name: "web_search";
2925
+ permission_policy: {
2926
+ type: "always_allow";
2927
+ } | {
2928
+ type: "always_ask";
2929
+ } | {
2930
+ type: "auto";
2931
+ };
2932
+ type: "web_search";
2933
+ allowed_domains?: Array<string>;
2934
+ blocked_domains?: Array<string>;
2935
+ user_location?: null | {
2936
+ type: "approximate";
2937
+ city?: null | string;
2938
+ country?: null | string;
2939
+ region?: null | string;
2940
+ timezone?: null | string;
2941
+ };
2942
+ } | {
2943
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2944
+ enabled: boolean;
2945
+ permission_policy: {
2946
+ type: "always_allow" | "always_ask";
2947
+ };
2948
+ }>;
2949
+ default_config: {
2950
+ enabled: boolean;
2951
+ permission_policy: {
2952
+ type: "always_allow";
2953
+ } | {
2954
+ type: "always_ask";
2955
+ } | {
2956
+ type: "auto";
2957
+ };
2958
+ };
2959
+ type: "agent_toolset_20260401";
2960
+ } | {
2961
+ type: "mcp_toolset";
2962
+ mcp_server_name: string;
2963
+ default_config?: {
2964
+ enabled?: boolean | null;
2965
+ permission_policy?: null | {
2966
+ type: "always_allow" | "always_ask";
2967
+ };
2968
+ } | null;
2969
+ configs?: Array<{
2970
+ name: string;
2971
+ enabled?: boolean | null;
2972
+ permission_policy?: null | {
2973
+ type: "always_allow" | "always_ask";
2974
+ };
2975
+ }> | null;
2976
+ } | {
2977
+ description: string;
2978
+ input_schema: {
2979
+ type: "object";
2980
+ properties?: null | {
2981
+ [key: string]: unknown;
2982
+ };
2983
+ required?: null | Array<string>;
2984
+ [key: string]: unknown;
2985
+ };
2986
+ name: string;
2987
+ type: "custom";
2988
+ }>;
2989
+ type: "agent";
2990
+ version: number;
2991
+ }>;
2992
+ type: "coordinator";
2993
+ };
2994
+ name: string;
2995
+ skills: Array<{
2996
+ skill_id: string;
2997
+ type: "anthropic";
2998
+ version: string;
2999
+ } | {
3000
+ skill_id: string;
3001
+ type: "custom";
3002
+ version: string;
3003
+ }>;
3004
+ system: null | string;
3005
+ tools: Array<{
3006
+ configs: Array<{
3007
+ enabled: boolean;
3008
+ name: "bash";
3009
+ permission_policy: {
3010
+ type: "always_allow";
3011
+ } | {
3012
+ type: "always_ask";
3013
+ } | {
3014
+ type: "auto";
3015
+ };
3016
+ type: "bash";
3017
+ } | {
3018
+ enabled: boolean;
3019
+ name: "edit";
3020
+ permission_policy: {
3021
+ type: "always_allow";
3022
+ } | {
3023
+ type: "always_ask";
3024
+ } | {
3025
+ type: "auto";
3026
+ };
3027
+ type: "edit";
3028
+ } | {
3029
+ enabled: boolean;
3030
+ name: "read";
3031
+ permission_policy: {
3032
+ type: "always_allow";
3033
+ } | {
3034
+ type: "always_ask";
3035
+ } | {
3036
+ type: "auto";
3037
+ };
3038
+ type: "read";
3039
+ } | {
3040
+ enabled: boolean;
3041
+ name: "write";
3042
+ permission_policy: {
3043
+ type: "always_allow";
3044
+ } | {
3045
+ type: "always_ask";
3046
+ } | {
3047
+ type: "auto";
3048
+ };
3049
+ type: "write";
3050
+ } | {
3051
+ enabled: boolean;
3052
+ name: "glob";
3053
+ permission_policy: {
3054
+ type: "always_allow";
3055
+ } | {
3056
+ type: "always_ask";
3057
+ } | {
3058
+ type: "auto";
3059
+ };
3060
+ type: "glob";
3061
+ } | {
3062
+ enabled: boolean;
3063
+ name: "grep";
3064
+ permission_policy: {
3065
+ type: "always_allow";
3066
+ } | {
3067
+ type: "always_ask";
3068
+ } | {
3069
+ type: "auto";
3070
+ };
3071
+ type: "grep";
3072
+ } | {
3073
+ enabled: boolean;
3074
+ name: "web_fetch";
3075
+ permission_policy: {
3076
+ type: "always_allow";
3077
+ } | {
3078
+ type: "always_ask";
3079
+ } | {
3080
+ type: "auto";
3081
+ };
3082
+ type: "web_fetch";
3083
+ allowed_domains?: Array<string>;
3084
+ blocked_domains?: Array<string>;
3085
+ max_content_tokens?: null | number;
3086
+ } | {
3087
+ enabled: boolean;
3088
+ name: "web_search";
3089
+ permission_policy: {
3090
+ type: "always_allow";
3091
+ } | {
3092
+ type: "always_ask";
3093
+ } | {
3094
+ type: "auto";
3095
+ };
3096
+ type: "web_search";
3097
+ allowed_domains?: Array<string>;
3098
+ blocked_domains?: Array<string>;
3099
+ user_location?: null | {
3100
+ type: "approximate";
3101
+ city?: null | string;
3102
+ country?: null | string;
3103
+ region?: null | string;
3104
+ timezone?: null | string;
3105
+ };
3106
+ } | {
3107
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3108
+ enabled: boolean;
3109
+ permission_policy: {
3110
+ type: "always_allow" | "always_ask";
3111
+ };
3112
+ }>;
3113
+ default_config: {
3114
+ enabled: boolean;
3115
+ permission_policy: {
3116
+ type: "always_allow";
3117
+ } | {
3118
+ type: "always_ask";
3119
+ } | {
3120
+ type: "auto";
3121
+ };
3122
+ };
3123
+ type: "agent_toolset_20260401";
3124
+ } | {
3125
+ type: "mcp_toolset";
3126
+ mcp_server_name: string;
3127
+ default_config?: {
3128
+ enabled?: boolean | null;
3129
+ permission_policy?: null | {
3130
+ type: "always_allow" | "always_ask";
3131
+ };
3132
+ } | null;
3133
+ configs?: Array<{
3134
+ name: string;
3135
+ enabled?: boolean | null;
3136
+ permission_policy?: null | {
3137
+ type: "always_allow" | "always_ask";
3138
+ };
3139
+ }> | null;
3140
+ } | {
3141
+ description: string;
3142
+ input_schema: {
3143
+ type: "object";
3144
+ properties?: null | {
3145
+ [key: string]: unknown;
3146
+ };
3147
+ required?: null | Array<string>;
3148
+ [key: string]: unknown;
3149
+ };
3150
+ name: string;
3151
+ type: "custom";
3152
+ }>;
3153
+ type: "agent";
3154
+ version: number;
3155
+ };
3156
+ archived_at: null | string;
3157
+ budget: null | {
3158
+ max_list_cost: {
3159
+ amount: string;
3160
+ currency: "USD";
3161
+ };
3162
+ type: "limit";
3163
+ };
3164
+ created_at: string;
3165
+ environment_id?: string;
3166
+ metadata: {
3167
+ [key: string]: string;
3168
+ };
3169
+ outcome_evaluations: Array<{
3170
+ completed_at: null | string;
3171
+ description: string;
3172
+ explanation: null | string;
3173
+ iteration: number;
3174
+ outcome_id: string;
3175
+ result: string;
3176
+ type: "outcome_evaluation";
3177
+ }>;
3178
+ resources: Array<{
3179
+ id: string;
3180
+ created_at: string;
3181
+ mount_path: string;
3182
+ type: "github_repository";
3183
+ updated_at: string;
3184
+ url: string;
3185
+ checkout?: null | {
3186
+ name: string;
3187
+ type: "branch";
3188
+ } | {
3189
+ sha: string;
3190
+ type: "commit";
3191
+ };
3192
+ } | {
3193
+ id: string;
3194
+ created_at: string;
3195
+ file_id: string;
3196
+ mount_path: string;
3197
+ type: "file";
3198
+ updated_at: string;
3199
+ } | {
3200
+ memory_store_id: string;
3201
+ type: "memory_store";
3202
+ access?: null | "read_write" | "read_only";
3203
+ description?: string;
3204
+ instructions?: null | string;
3205
+ mount_path?: null | string;
3206
+ name?: null | string;
3207
+ }>;
3208
+ stats: {
3209
+ active_seconds?: number;
3210
+ duration_seconds?: number;
3211
+ };
3212
+ status: "rescheduling" | "running" | "idle" | "terminated";
3213
+ title: null | string;
3214
+ type: "session";
2099
3215
  updated_at: string;
3216
+ usage: {
3217
+ active_seconds?: number;
3218
+ cache_creation?: {
3219
+ ephemeral_1h_input_tokens?: number;
3220
+ ephemeral_5m_input_tokens?: number;
3221
+ };
3222
+ cache_read_input_tokens?: number;
3223
+ input_tokens?: number;
3224
+ list_cost?: null | {
3225
+ amount: string;
3226
+ currency: "USD";
3227
+ };
3228
+ output_tokens?: number;
3229
+ server_tool_use?: null | {
3230
+ web_fetch_requests?: number;
3231
+ web_search_requests?: number;
3232
+ };
3233
+ cost_by_product?: {
3234
+ [key: string]: string;
3235
+ };
3236
+ subagent_cost_micro_usd?: number;
3237
+ };
2100
3238
  vault_ids: Array<string>;
2101
- budget?: null | Types.AgentManaged76;
2102
- target: {
2103
- type: "environment" | "computer";
3239
+ deployment_id?: null | string;
3240
+ cwd: string;
3241
+ workspace?: {
3242
+ kind: "shared" | "isolated";
3243
+ path?: string;
3244
+ branch?: string;
2104
3245
  };
2105
- }>;
2106
- };
2107
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2108
- id: string;
2109
- agent: {
2110
- id: string;
2111
- type: "agent";
2112
- version: number;
2113
- } | {
2114
- id: string;
2115
- type: "agent_with_overrides";
2116
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2117
- cwd?: string;
2118
- model?: string | {
3246
+ computer_id?: string;
3247
+ model?: {
2119
3248
  id: string;
2120
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2121
- speed?: null | "standard" | "fast";
3249
+ thinking: {
3250
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3251
+ can_disable: boolean;
3252
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3253
+ } | null;
2122
3254
  };
2123
- version: number;
2124
- };
2125
- archived_at: null | string;
2126
- created_at: string;
2127
- description: null | string;
2128
- environment_id?: string | null;
2129
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2130
- metadata: Types.AgentManaged91;
2131
- name: string;
2132
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2133
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2134
- schedule: null | Types.AgentManaged111;
2135
- status: "active" | "paused";
2136
- type: "deployment";
2137
- updated_at: string;
2138
- vault_ids: Array<string>;
2139
- budget?: null | Types.AgentManaged76;
2140
- target: {
2141
- type: "environment" | "computer";
2142
- };
2143
- }>;
2144
- };
2145
- environments: {
2146
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2147
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2148
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2149
- data: Array<Types.AgentManaged138>;
2150
- next_page: string | null;
2151
- }>;
2152
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2153
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2154
- };
2155
- sessions: {
3255
+ thinking?: {
3256
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3257
+ } | null;
3258
+ forked_from?: {
3259
+ session_id: string;
3260
+ message_id: string;
3261
+ } | null;
3262
+ readonly external_user_id: string | null;
3263
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3264
+ }>;
3265
+ };
2156
3266
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2157
3267
  id: string;
2158
3268
  agent: {
@@ -2166,6 +3276,7 @@ export declare function createAgent(transport: Transport): {
2166
3276
  speed?: "standard" | "fast";
2167
3277
  settings?: {
2168
3278
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3279
+ max_output_tokens?: number;
2169
3280
  };
2170
3281
  };
2171
3282
  multiagent: null | Types.AgentManaged171;
@@ -2192,6 +3303,11 @@ export declare function createAgent(transport: Transport): {
2192
3303
  vault_ids: Array<string>;
2193
3304
  deployment_id?: null | string;
2194
3305
  cwd: string;
3306
+ workspace?: {
3307
+ kind: "shared" | "isolated";
3308
+ path?: string;
3309
+ branch?: string;
3310
+ };
2195
3311
  computer_id?: string;
2196
3312
  model?: {
2197
3313
  id: string;
@@ -2211,6 +3327,40 @@ export declare function createAgent(transport: Transport): {
2211
3327
  readonly external_user_id: string | null;
2212
3328
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2213
3329
  }>;
3330
+ artifacts: {
3331
+ contentUrl: {
3332
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3333
+ url: string;
3334
+ expire_time: string;
3335
+ }>;
3336
+ };
3337
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3338
+ data: Array<{
3339
+ object: "artifact";
3340
+ id: string;
3341
+ session_id: string;
3342
+ run_id: string | null;
3343
+ name: string;
3344
+ version: number;
3345
+ parts: Array<{
3346
+ kind: "file";
3347
+ file_id: string;
3348
+ filename: string;
3349
+ mime_type: string;
3350
+ bytes: number;
3351
+ } | {
3352
+ kind: "object";
3353
+ object_type: "canvas" | "media_asset";
3354
+ object_id: string;
3355
+ href: string;
3356
+ title: string | null;
3357
+ }>;
3358
+ source_hrefs: Array<string>;
3359
+ create_time: string;
3360
+ update_time: string;
3361
+ }>;
3362
+ }>;
3363
+ };
2214
3364
  backgroundTasks: {
2215
3365
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2216
3366
  data: Array<{
@@ -2293,6 +3443,7 @@ export declare function createAgent(transport: Transport): {
2293
3443
  speed?: "standard" | "fast";
2294
3444
  settings?: {
2295
3445
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3446
+ max_output_tokens?: number;
2296
3447
  };
2297
3448
  };
2298
3449
  multiagent: null | Types.AgentManaged171;
@@ -2319,6 +3470,11 @@ export declare function createAgent(transport: Transport): {
2319
3470
  vault_ids: Array<string>;
2320
3471
  deployment_id?: null | string;
2321
3472
  cwd: string;
3473
+ workspace?: {
3474
+ kind: "shared" | "isolated";
3475
+ path?: string;
3476
+ branch?: string;
3477
+ };
2322
3478
  computer_id?: string;
2323
3479
  model?: {
2324
3480
  id: string;
@@ -2379,7 +3535,6 @@ export declare function createAgent(transport: Transport): {
2379
3535
  run_id: string | null;
2380
3536
  message_id?: string;
2381
3537
  } | {
2382
- full_access_available?: boolean;
2383
3538
  id: string;
2384
3539
  input: Types.AgentManaged197;
2385
3540
  mcp_server_name: string;
@@ -2389,6 +3544,18 @@ export declare function createAgent(transport: Transport): {
2389
3544
  evaluated_permission?: "allow" | "deny" | "ask";
2390
3545
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2391
3546
  session_thread_id?: null | string;
3547
+ permission_suggestions?: Array<{
3548
+ type: "add_rules";
3549
+ behavior: "allow";
3550
+ destination: "agent" | "session";
3551
+ rules: Array<{
3552
+ tool_name: string;
3553
+ rule_content: string;
3554
+ }>;
3555
+ }>;
3556
+ full_access_available?: boolean;
3557
+ user_once?: true;
3558
+ guarded_rule?: string;
2392
3559
  run_id: string | null;
2393
3560
  _meta?: {
2394
3561
  ui?: {
@@ -2402,17 +3569,6 @@ export declare function createAgent(transport: Transport): {
2402
3569
  };
2403
3570
  source?: "app" | "codemode";
2404
3571
  parent_tool_use_id?: string;
2405
- user_once?: true;
2406
- guarded_rule?: string;
2407
- permission_suggestions?: Array<{
2408
- type: "add_rules";
2409
- behavior: "allow";
2410
- destination: "agent" | "session";
2411
- rules: Array<{
2412
- tool_name: string;
2413
- rule_content: string;
2414
- }>;
2415
- }>;
2416
3572
  title?: string;
2417
3573
  input_titles?: {
2418
3574
  [key: string]: string;
@@ -2431,7 +3587,6 @@ export declare function createAgent(transport: Transport): {
2431
3587
  };
2432
3588
  source?: "app" | "codemode";
2433
3589
  } | {
2434
- full_access_available?: boolean;
2435
3590
  id: string;
2436
3591
  input: Types.AgentManaged206;
2437
3592
  name: string;
@@ -2440,9 +3595,6 @@ export declare function createAgent(transport: Transport): {
2440
3595
  evaluated_permission?: "allow" | "deny" | "ask";
2441
3596
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2442
3597
  session_thread_id?: null | string;
2443
- run_id: string | null;
2444
- user_once?: true;
2445
- guarded_rule?: string;
2446
3598
  permission_suggestions?: Array<{
2447
3599
  type: "add_rules";
2448
3600
  behavior: "allow";
@@ -2452,6 +3604,10 @@ export declare function createAgent(transport: Transport): {
2452
3604
  rule_content: string;
2453
3605
  }>;
2454
3606
  }>;
3607
+ full_access_available?: boolean;
3608
+ user_once?: true;
3609
+ guarded_rule?: string;
3610
+ run_id: string | null;
2455
3611
  } | {
2456
3612
  id: string;
2457
3613
  processed_at: string;
@@ -2472,9 +3628,6 @@ export declare function createAgent(transport: Transport): {
2472
3628
  type: "session.status_idle";
2473
3629
  run_id: string | null;
2474
3630
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2475
- permission_mode_version?: number;
2476
- previous_permission_mode?: string | null;
2477
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2478
3631
  id: string;
2479
3632
  processed_at: string;
2480
3633
  type: "session.updated";
@@ -2482,6 +3635,9 @@ export declare function createAgent(transport: Transport): {
2482
3635
  budget?: null | Types.AgentManaged76;
2483
3636
  metadata?: Types.AgentManaged246;
2484
3637
  title?: null | string;
3638
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3639
+ previous_permission_mode?: string | null;
3640
+ permission_mode_version?: number;
2485
3641
  model?: {
2486
3642
  id: string;
2487
3643
  };
@@ -2533,28 +3689,13 @@ export declare function createAgent(transport: Transport): {
2533
3689
  verification?: {
2534
3690
  passed: boolean;
2535
3691
  reason: string;
2536
- next_action?: string;
2537
- };
2538
- } | {
2539
- id: string;
2540
- type: "user.steer";
2541
- event_id: string;
2542
- processed_at: string;
2543
- } | {
2544
- id: string;
2545
- type: "user.tool_confirmation";
2546
- processed_at: string;
2547
- tool_use_id: string;
2548
- result: "allow";
2549
- answers: {
2550
- [key: string]: string;
2551
- };
2552
- annotations?: {
2553
- [key: string]: {
2554
- preview?: string;
2555
- notes?: string;
2556
- };
3692
+ next_action?: string;
2557
3693
  };
3694
+ } | {
3695
+ id: string;
3696
+ type: "user.steer";
3697
+ event_id: string;
3698
+ processed_at: string;
2558
3699
  }>;
2559
3700
  next_page: string | null;
2560
3701
  }>;
@@ -2575,21 +3716,6 @@ export declare function createAgent(transport: Transport): {
2575
3716
  type: "user.steer";
2576
3717
  event_id: string;
2577
3718
  processed_at: string;
2578
- } | {
2579
- id: string;
2580
- type: "user.tool_confirmation";
2581
- processed_at: string;
2582
- tool_use_id: string;
2583
- result: "allow";
2584
- answers: {
2585
- [key: string]: string;
2586
- };
2587
- annotations?: {
2588
- [key: string]: {
2589
- preview?: string;
2590
- notes?: string;
2591
- };
2592
- };
2593
3719
  }>;
2594
3720
  }>;
2595
3721
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2642,6 +3768,7 @@ export declare function createAgent(transport: Transport): {
2642
3768
  speed?: "standard" | "fast";
2643
3769
  settings?: {
2644
3770
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3771
+ max_output_tokens?: number;
2645
3772
  };
2646
3773
  };
2647
3774
  multiagent: null | {
@@ -3104,6 +4231,11 @@ export declare function createAgent(transport: Transport): {
3104
4231
  vault_ids: Array<string>;
3105
4232
  deployment_id?: null | string;
3106
4233
  cwd: string;
4234
+ workspace?: {
4235
+ kind: "shared" | "isolated";
4236
+ path?: string;
4237
+ branch?: string;
4238
+ };
3107
4239
  computer_id?: string;
3108
4240
  model?: {
3109
4241
  id: string;
@@ -3137,6 +4269,7 @@ export declare function createAgent(transport: Transport): {
3137
4269
  speed?: "standard" | "fast";
3138
4270
  settings?: {
3139
4271
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4272
+ max_output_tokens?: number;
3140
4273
  };
3141
4274
  };
3142
4275
  multiagent: null | Types.AgentManaged171;
@@ -3163,6 +4296,11 @@ export declare function createAgent(transport: Transport): {
3163
4296
  vault_ids: Array<string>;
3164
4297
  deployment_id?: null | string;
3165
4298
  cwd: string;
4299
+ workspace?: {
4300
+ kind: "shared" | "isolated";
4301
+ path?: string;
4302
+ branch?: string;
4303
+ };
3166
4304
  computer_id?: string;
3167
4305
  model?: {
3168
4306
  id: string;
@@ -3184,6 +4322,557 @@ export declare function createAgent(transport: Transport): {
3184
4322
  }>;
3185
4323
  next_page: string | null;
3186
4324
  }>;
4325
+ name: {
4326
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4327
+ id: string;
4328
+ agent: {
4329
+ id: string;
4330
+ description: null | string;
4331
+ mcp_servers: Array<{
4332
+ type: "url";
4333
+ name: string;
4334
+ url: string;
4335
+ headers?: {
4336
+ [key: string]: string;
4337
+ };
4338
+ timeout_ms?: number;
4339
+ } | {
4340
+ type: "sse";
4341
+ name: string;
4342
+ url: string;
4343
+ headers?: {
4344
+ [key: string]: string;
4345
+ };
4346
+ timeout_ms?: number;
4347
+ } | {
4348
+ type: "stdio";
4349
+ name: string;
4350
+ command: string;
4351
+ args?: Array<string>;
4352
+ env?: {
4353
+ [key: string]: string;
4354
+ };
4355
+ timeout_ms?: number;
4356
+ }>;
4357
+ model: {
4358
+ id: string;
4359
+ effort?: {
4360
+ type: "low";
4361
+ } | {
4362
+ type: "medium";
4363
+ } | {
4364
+ type: "high";
4365
+ } | {
4366
+ type: "xhigh";
4367
+ } | {
4368
+ type: "max";
4369
+ };
4370
+ inference_geo?: string;
4371
+ speed?: "standard" | "fast";
4372
+ settings?: {
4373
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4374
+ max_output_tokens?: number;
4375
+ };
4376
+ };
4377
+ multiagent: null | {
4378
+ agents: Array<{
4379
+ model: string;
4380
+ type: "advisor";
4381
+ } | {
4382
+ id: string;
4383
+ description: null | string;
4384
+ mcp_servers: Array<{
4385
+ type: "url";
4386
+ name: string;
4387
+ url: string;
4388
+ headers?: {
4389
+ [key: string]: string;
4390
+ };
4391
+ timeout_ms?: number;
4392
+ } | {
4393
+ type: "sse";
4394
+ name: string;
4395
+ url: string;
4396
+ headers?: {
4397
+ [key: string]: string;
4398
+ };
4399
+ timeout_ms?: number;
4400
+ } | {
4401
+ type: "stdio";
4402
+ name: string;
4403
+ command: string;
4404
+ args?: Array<string>;
4405
+ env?: {
4406
+ [key: string]: string;
4407
+ };
4408
+ timeout_ms?: number;
4409
+ }>;
4410
+ model: {
4411
+ id: string;
4412
+ effort?: {
4413
+ type: "low";
4414
+ } | {
4415
+ type: "medium";
4416
+ } | {
4417
+ type: "high";
4418
+ } | {
4419
+ type: "xhigh";
4420
+ } | {
4421
+ type: "max";
4422
+ };
4423
+ inference_geo?: string;
4424
+ speed?: "standard" | "fast";
4425
+ };
4426
+ name: string;
4427
+ skills: Array<{
4428
+ skill_id: string;
4429
+ type: "anthropic";
4430
+ version: string;
4431
+ } | {
4432
+ skill_id: string;
4433
+ type: "custom";
4434
+ version: string;
4435
+ }>;
4436
+ system: null | string;
4437
+ tools: Array<{
4438
+ configs: Array<{
4439
+ enabled: boolean;
4440
+ name: "bash";
4441
+ permission_policy: {
4442
+ type: "always_allow";
4443
+ } | {
4444
+ type: "always_ask";
4445
+ } | {
4446
+ type: "auto";
4447
+ };
4448
+ type: "bash";
4449
+ } | {
4450
+ enabled: boolean;
4451
+ name: "edit";
4452
+ permission_policy: {
4453
+ type: "always_allow";
4454
+ } | {
4455
+ type: "always_ask";
4456
+ } | {
4457
+ type: "auto";
4458
+ };
4459
+ type: "edit";
4460
+ } | {
4461
+ enabled: boolean;
4462
+ name: "read";
4463
+ permission_policy: {
4464
+ type: "always_allow";
4465
+ } | {
4466
+ type: "always_ask";
4467
+ } | {
4468
+ type: "auto";
4469
+ };
4470
+ type: "read";
4471
+ } | {
4472
+ enabled: boolean;
4473
+ name: "write";
4474
+ permission_policy: {
4475
+ type: "always_allow";
4476
+ } | {
4477
+ type: "always_ask";
4478
+ } | {
4479
+ type: "auto";
4480
+ };
4481
+ type: "write";
4482
+ } | {
4483
+ enabled: boolean;
4484
+ name: "glob";
4485
+ permission_policy: {
4486
+ type: "always_allow";
4487
+ } | {
4488
+ type: "always_ask";
4489
+ } | {
4490
+ type: "auto";
4491
+ };
4492
+ type: "glob";
4493
+ } | {
4494
+ enabled: boolean;
4495
+ name: "grep";
4496
+ permission_policy: {
4497
+ type: "always_allow";
4498
+ } | {
4499
+ type: "always_ask";
4500
+ } | {
4501
+ type: "auto";
4502
+ };
4503
+ type: "grep";
4504
+ } | {
4505
+ enabled: boolean;
4506
+ name: "web_fetch";
4507
+ permission_policy: {
4508
+ type: "always_allow";
4509
+ } | {
4510
+ type: "always_ask";
4511
+ } | {
4512
+ type: "auto";
4513
+ };
4514
+ type: "web_fetch";
4515
+ allowed_domains?: Array<string>;
4516
+ blocked_domains?: Array<string>;
4517
+ max_content_tokens?: null | number;
4518
+ } | {
4519
+ enabled: boolean;
4520
+ name: "web_search";
4521
+ permission_policy: {
4522
+ type: "always_allow";
4523
+ } | {
4524
+ type: "always_ask";
4525
+ } | {
4526
+ type: "auto";
4527
+ };
4528
+ type: "web_search";
4529
+ allowed_domains?: Array<string>;
4530
+ blocked_domains?: Array<string>;
4531
+ user_location?: null | {
4532
+ type: "approximate";
4533
+ city?: null | string;
4534
+ country?: null | string;
4535
+ region?: null | string;
4536
+ timezone?: null | string;
4537
+ };
4538
+ } | {
4539
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4540
+ enabled: boolean;
4541
+ permission_policy: {
4542
+ type: "always_allow" | "always_ask";
4543
+ };
4544
+ }>;
4545
+ default_config: {
4546
+ enabled: boolean;
4547
+ permission_policy: {
4548
+ type: "always_allow";
4549
+ } | {
4550
+ type: "always_ask";
4551
+ } | {
4552
+ type: "auto";
4553
+ };
4554
+ };
4555
+ type: "agent_toolset_20260401";
4556
+ } | {
4557
+ type: "mcp_toolset";
4558
+ mcp_server_name: string;
4559
+ default_config?: {
4560
+ enabled?: boolean | null;
4561
+ permission_policy?: null | {
4562
+ type: "always_allow" | "always_ask";
4563
+ };
4564
+ } | null;
4565
+ configs?: Array<{
4566
+ name: string;
4567
+ enabled?: boolean | null;
4568
+ permission_policy?: null | {
4569
+ type: "always_allow" | "always_ask";
4570
+ };
4571
+ }> | null;
4572
+ } | {
4573
+ description: string;
4574
+ input_schema: {
4575
+ type: "object";
4576
+ properties?: null | {
4577
+ [key: string]: unknown;
4578
+ };
4579
+ required?: null | Array<string>;
4580
+ [key: string]: unknown;
4581
+ };
4582
+ name: string;
4583
+ type: "custom";
4584
+ }>;
4585
+ type: "agent";
4586
+ version: number;
4587
+ }>;
4588
+ type: "coordinator";
4589
+ };
4590
+ name: string;
4591
+ skills: Array<{
4592
+ skill_id: string;
4593
+ type: "anthropic";
4594
+ version: string;
4595
+ } | {
4596
+ skill_id: string;
4597
+ type: "custom";
4598
+ version: string;
4599
+ }>;
4600
+ system: null | string;
4601
+ tools: Array<{
4602
+ configs: Array<{
4603
+ enabled: boolean;
4604
+ name: "bash";
4605
+ permission_policy: {
4606
+ type: "always_allow";
4607
+ } | {
4608
+ type: "always_ask";
4609
+ } | {
4610
+ type: "auto";
4611
+ };
4612
+ type: "bash";
4613
+ } | {
4614
+ enabled: boolean;
4615
+ name: "edit";
4616
+ permission_policy: {
4617
+ type: "always_allow";
4618
+ } | {
4619
+ type: "always_ask";
4620
+ } | {
4621
+ type: "auto";
4622
+ };
4623
+ type: "edit";
4624
+ } | {
4625
+ enabled: boolean;
4626
+ name: "read";
4627
+ permission_policy: {
4628
+ type: "always_allow";
4629
+ } | {
4630
+ type: "always_ask";
4631
+ } | {
4632
+ type: "auto";
4633
+ };
4634
+ type: "read";
4635
+ } | {
4636
+ enabled: boolean;
4637
+ name: "write";
4638
+ permission_policy: {
4639
+ type: "always_allow";
4640
+ } | {
4641
+ type: "always_ask";
4642
+ } | {
4643
+ type: "auto";
4644
+ };
4645
+ type: "write";
4646
+ } | {
4647
+ enabled: boolean;
4648
+ name: "glob";
4649
+ permission_policy: {
4650
+ type: "always_allow";
4651
+ } | {
4652
+ type: "always_ask";
4653
+ } | {
4654
+ type: "auto";
4655
+ };
4656
+ type: "glob";
4657
+ } | {
4658
+ enabled: boolean;
4659
+ name: "grep";
4660
+ permission_policy: {
4661
+ type: "always_allow";
4662
+ } | {
4663
+ type: "always_ask";
4664
+ } | {
4665
+ type: "auto";
4666
+ };
4667
+ type: "grep";
4668
+ } | {
4669
+ enabled: boolean;
4670
+ name: "web_fetch";
4671
+ permission_policy: {
4672
+ type: "always_allow";
4673
+ } | {
4674
+ type: "always_ask";
4675
+ } | {
4676
+ type: "auto";
4677
+ };
4678
+ type: "web_fetch";
4679
+ allowed_domains?: Array<string>;
4680
+ blocked_domains?: Array<string>;
4681
+ max_content_tokens?: null | number;
4682
+ } | {
4683
+ enabled: boolean;
4684
+ name: "web_search";
4685
+ permission_policy: {
4686
+ type: "always_allow";
4687
+ } | {
4688
+ type: "always_ask";
4689
+ } | {
4690
+ type: "auto";
4691
+ };
4692
+ type: "web_search";
4693
+ allowed_domains?: Array<string>;
4694
+ blocked_domains?: Array<string>;
4695
+ user_location?: null | {
4696
+ type: "approximate";
4697
+ city?: null | string;
4698
+ country?: null | string;
4699
+ region?: null | string;
4700
+ timezone?: null | string;
4701
+ };
4702
+ } | {
4703
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4704
+ enabled: boolean;
4705
+ permission_policy: {
4706
+ type: "always_allow" | "always_ask";
4707
+ };
4708
+ }>;
4709
+ default_config: {
4710
+ enabled: boolean;
4711
+ permission_policy: {
4712
+ type: "always_allow";
4713
+ } | {
4714
+ type: "always_ask";
4715
+ } | {
4716
+ type: "auto";
4717
+ };
4718
+ };
4719
+ type: "agent_toolset_20260401";
4720
+ } | {
4721
+ type: "mcp_toolset";
4722
+ mcp_server_name: string;
4723
+ default_config?: {
4724
+ enabled?: boolean | null;
4725
+ permission_policy?: null | {
4726
+ type: "always_allow" | "always_ask";
4727
+ };
4728
+ } | null;
4729
+ configs?: Array<{
4730
+ name: string;
4731
+ enabled?: boolean | null;
4732
+ permission_policy?: null | {
4733
+ type: "always_allow" | "always_ask";
4734
+ };
4735
+ }> | null;
4736
+ } | {
4737
+ description: string;
4738
+ input_schema: {
4739
+ type: "object";
4740
+ properties?: null | {
4741
+ [key: string]: unknown;
4742
+ };
4743
+ required?: null | Array<string>;
4744
+ [key: string]: unknown;
4745
+ };
4746
+ name: string;
4747
+ type: "custom";
4748
+ }>;
4749
+ type: "agent";
4750
+ version: number;
4751
+ };
4752
+ archived_at: null | string;
4753
+ budget: null | {
4754
+ max_list_cost: {
4755
+ amount: string;
4756
+ currency: "USD";
4757
+ };
4758
+ type: "limit";
4759
+ };
4760
+ created_at: string;
4761
+ environment_id?: string;
4762
+ metadata: {
4763
+ [key: string]: string;
4764
+ };
4765
+ outcome_evaluations: Array<{
4766
+ completed_at: null | string;
4767
+ description: string;
4768
+ explanation: null | string;
4769
+ iteration: number;
4770
+ outcome_id: string;
4771
+ result: string;
4772
+ type: "outcome_evaluation";
4773
+ }>;
4774
+ resources: Array<{
4775
+ id: string;
4776
+ created_at: string;
4777
+ mount_path: string;
4778
+ type: "github_repository";
4779
+ updated_at: string;
4780
+ url: string;
4781
+ checkout?: null | {
4782
+ name: string;
4783
+ type: "branch";
4784
+ } | {
4785
+ sha: string;
4786
+ type: "commit";
4787
+ };
4788
+ } | {
4789
+ id: string;
4790
+ created_at: string;
4791
+ file_id: string;
4792
+ mount_path: string;
4793
+ type: "file";
4794
+ updated_at: string;
4795
+ } | {
4796
+ memory_store_id: string;
4797
+ type: "memory_store";
4798
+ access?: null | "read_write" | "read_only";
4799
+ description?: string;
4800
+ instructions?: null | string;
4801
+ mount_path?: null | string;
4802
+ name?: null | string;
4803
+ }>;
4804
+ stats: {
4805
+ active_seconds?: number;
4806
+ duration_seconds?: number;
4807
+ };
4808
+ status: "rescheduling" | "running" | "idle" | "terminated";
4809
+ title: null | string;
4810
+ type: "session";
4811
+ updated_at: string;
4812
+ usage: {
4813
+ active_seconds?: number;
4814
+ cache_creation?: {
4815
+ ephemeral_1h_input_tokens?: number;
4816
+ ephemeral_5m_input_tokens?: number;
4817
+ };
4818
+ cache_read_input_tokens?: number;
4819
+ input_tokens?: number;
4820
+ list_cost?: null | {
4821
+ amount: string;
4822
+ currency: "USD";
4823
+ };
4824
+ output_tokens?: number;
4825
+ server_tool_use?: null | {
4826
+ web_fetch_requests?: number;
4827
+ web_search_requests?: number;
4828
+ };
4829
+ cost_by_product?: {
4830
+ [key: string]: string;
4831
+ };
4832
+ subagent_cost_micro_usd?: number;
4833
+ };
4834
+ vault_ids: Array<string>;
4835
+ deployment_id?: null | string;
4836
+ cwd: string;
4837
+ workspace?: {
4838
+ kind: "shared" | "isolated";
4839
+ path?: string;
4840
+ branch?: string;
4841
+ };
4842
+ computer_id?: string;
4843
+ model?: {
4844
+ id: string;
4845
+ thinking: {
4846
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4847
+ can_disable: boolean;
4848
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4849
+ } | null;
4850
+ };
4851
+ thinking?: {
4852
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4853
+ } | null;
4854
+ forked_from?: {
4855
+ session_id: string;
4856
+ message_id: string;
4857
+ } | null;
4858
+ readonly external_user_id: string | null;
4859
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4860
+ }>;
4861
+ };
4862
+ requests: {
4863
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4864
+ data: Array<{
4865
+ id: string;
4866
+ object: "request";
4867
+ kind: "question" | "approval";
4868
+ status: "pending";
4869
+ tool_name: string;
4870
+ input: unknown;
4871
+ create_time: string;
4872
+ expire_time: string | null;
4873
+ }>;
4874
+ }>;
4875
+ };
3187
4876
  resources: {
3188
4877
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3189
4878
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3214,6 +4903,7 @@ export declare function createAgent(transport: Transport): {
3214
4903
  speed?: "standard" | "fast";
3215
4904
  settings?: {
3216
4905
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4906
+ max_output_tokens?: number;
3217
4907
  };
3218
4908
  };
3219
4909
  multiagent: null | Types.AgentManaged171;
@@ -3240,6 +4930,11 @@ export declare function createAgent(transport: Transport): {
3240
4930
  vault_ids: Array<string>;
3241
4931
  deployment_id?: null | string;
3242
4932
  cwd: string;
4933
+ workspace?: {
4934
+ kind: "shared" | "isolated";
4935
+ path?: string;
4936
+ branch?: string;
4937
+ };
3243
4938
  computer_id?: string;
3244
4939
  model?: {
3245
4940
  id: string;
@@ -3386,7 +5081,6 @@ export declare function createAgent(transport: Transport): {
3386
5081
  run_id: string | null;
3387
5082
  message_id?: string;
3388
5083
  } | {
3389
- full_access_available?: boolean;
3390
5084
  id: string;
3391
5085
  input: Types.AgentManaged197;
3392
5086
  mcp_server_name: string;
@@ -3396,6 +5090,18 @@ export declare function createAgent(transport: Transport): {
3396
5090
  evaluated_permission?: "allow" | "deny" | "ask";
3397
5091
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3398
5092
  session_thread_id?: null | string;
5093
+ permission_suggestions?: Array<{
5094
+ type: "add_rules";
5095
+ behavior: "allow";
5096
+ destination: "agent" | "session";
5097
+ rules: Array<{
5098
+ tool_name: string;
5099
+ rule_content: string;
5100
+ }>;
5101
+ }>;
5102
+ full_access_available?: boolean;
5103
+ user_once?: true;
5104
+ guarded_rule?: string;
3399
5105
  run_id: string | null;
3400
5106
  parent_tool_use_id?: string;
3401
5107
  _meta?: {
@@ -3409,17 +5115,6 @@ export declare function createAgent(transport: Transport): {
3409
5115
  };
3410
5116
  };
3411
5117
  source?: "app" | "codemode";
3412
- user_once?: true;
3413
- guarded_rule?: string;
3414
- permission_suggestions?: Array<{
3415
- type: "add_rules";
3416
- behavior: "allow";
3417
- destination: "agent" | "session";
3418
- rules: Array<{
3419
- tool_name: string;
3420
- rule_content: string;
3421
- }>;
3422
- }>;
3423
5118
  title?: string;
3424
5119
  input_titles?: {
3425
5120
  [key: string]: string;
@@ -3438,7 +5133,6 @@ export declare function createAgent(transport: Transport): {
3438
5133
  };
3439
5134
  source?: "app" | "codemode";
3440
5135
  } | {
3441
- full_access_available?: boolean;
3442
5136
  id: string;
3443
5137
  input: Types.AgentManaged206;
3444
5138
  name: string;
@@ -3447,9 +5141,6 @@ export declare function createAgent(transport: Transport): {
3447
5141
  evaluated_permission?: "allow" | "deny" | "ask";
3448
5142
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3449
5143
  session_thread_id?: null | string;
3450
- run_id: string | null;
3451
- user_once?: true;
3452
- guarded_rule?: string;
3453
5144
  permission_suggestions?: Array<{
3454
5145
  type: "add_rules";
3455
5146
  behavior: "allow";
@@ -3459,6 +5150,10 @@ export declare function createAgent(transport: Transport): {
3459
5150
  rule_content: string;
3460
5151
  }>;
3461
5152
  }>;
5153
+ full_access_available?: boolean;
5154
+ user_once?: true;
5155
+ guarded_rule?: string;
5156
+ run_id: string | null;
3462
5157
  } | {
3463
5158
  id: string;
3464
5159
  processed_at: string;
@@ -3479,9 +5174,6 @@ export declare function createAgent(transport: Transport): {
3479
5174
  type: "session.status_idle";
3480
5175
  run_id: string | null;
3481
5176
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3482
- permission_mode_version?: number;
3483
- previous_permission_mode?: string | null;
3484
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3485
5177
  id: string;
3486
5178
  processed_at: string;
3487
5179
  type: "session.updated";
@@ -3489,6 +5181,9 @@ export declare function createAgent(transport: Transport): {
3489
5181
  budget?: null | Types.AgentManaged76;
3490
5182
  metadata?: Types.AgentManaged246;
3491
5183
  title?: null | string;
5184
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5185
+ previous_permission_mode?: string | null;
5186
+ permission_mode_version?: number;
3492
5187
  model?: {
3493
5188
  id: string;
3494
5189
  };
@@ -3579,6 +5274,7 @@ export declare function createAgent(transport: Transport): {
3579
5274
  speed?: "standard" | "fast";
3580
5275
  settings?: {
3581
5276
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5277
+ max_output_tokens?: number;
3582
5278
  };
3583
5279
  };
3584
5280
  multiagent: null | Types.AgentManaged171;
@@ -3605,6 +5301,11 @@ export declare function createAgent(transport: Transport): {
3605
5301
  vault_ids: Array<string>;
3606
5302
  deployment_id?: null | string;
3607
5303
  cwd: string;
5304
+ workspace?: {
5305
+ kind: "shared" | "isolated";
5306
+ path?: string;
5307
+ branch?: string;
5308
+ };
3608
5309
  computer_id?: string;
3609
5310
  model?: {
3610
5311
  id: string;
@@ -3669,6 +5370,29 @@ export declare function createAgent(transport: Transport): {
3669
5370
  next_page: null;
3670
5371
  }>;
3671
5372
  };
5373
+ uploads: {
5374
+ contentUrl: {
5375
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5376
+ url: string;
5377
+ expires_at: string;
5378
+ }>;
5379
+ };
5380
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5381
+ upload_id: string;
5382
+ expires_at: string;
5383
+ url: string;
5384
+ } | {
5385
+ upload_id: string;
5386
+ expires_at: string;
5387
+ part_size: number;
5388
+ parts: Array<{
5389
+ part_number: number;
5390
+ url: string;
5391
+ }>;
5392
+ complete_url: string;
5393
+ status_url: string;
5394
+ }>;
5395
+ };
3672
5396
  };
3673
5397
  export declare function createApplication(transport: Transport): {
3674
5398
  assets: {
@@ -3933,6 +5657,11 @@ export declare function createAutomation(transport: Transport): {
3933
5657
  };
3934
5658
  };
3935
5659
  };
5660
+ export declare function createBilling(transport: Transport): {
5661
+ prices: {
5662
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5663
+ };
5664
+ };
3936
5665
  export declare function createBrowser(transport: Transport): {
3937
5666
  connect: {
3938
5667
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3956,6 +5685,49 @@ export declare function createBrowser(transport: Transport): {
3956
5685
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3957
5686
  };
3958
5687
  sessions: {
5688
+ actions: {
5689
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5690
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5691
+ tab: string;
5692
+ url: string;
5693
+ title: string;
5694
+ } | {
5695
+ type: "select";
5696
+ tab: string;
5697
+ values: Array<string>;
5698
+ } | {
5699
+ type: "tabs.list";
5700
+ tabs: Array<{
5701
+ id: string;
5702
+ url: string;
5703
+ title: string;
5704
+ active: boolean;
5705
+ }>;
5706
+ } | {
5707
+ type: "snapshot";
5708
+ tab: string;
5709
+ url: string;
5710
+ title: string;
5711
+ snapshot: string;
5712
+ refs: number;
5713
+ truncated: boolean;
5714
+ } | {
5715
+ type: "screenshot";
5716
+ tab: string;
5717
+ mediaType: "image/png";
5718
+ data: string;
5719
+ bytes: number;
5720
+ } | {
5721
+ type: "evaluate";
5722
+ tab: string;
5723
+ value: unknown;
5724
+ } | {
5725
+ type: "set_cookie";
5726
+ tab: string;
5727
+ name: string;
5728
+ domain: string;
5729
+ }>;
5730
+ };
3959
5731
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3960
5732
  events: {
3961
5733
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3963,6 +5735,7 @@ export declare function createBrowser(transport: Transport): {
3963
5735
  nextCursor: string | null;
3964
5736
  }>;
3965
5737
  };
5738
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3966
5739
  handoff: {
3967
5740
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3968
5741
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3973,6 +5746,7 @@ export declare function createBrowser(transport: Transport): {
3973
5746
  }>;
3974
5747
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3975
5748
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5749
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3976
5750
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3977
5751
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3978
5752
  viewer: {
@@ -4009,6 +5783,24 @@ export declare function createCanvas(transport: Transport): {
4009
5783
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4010
5784
  };
4011
5785
  };
5786
+ export declare function createContent(transport: Transport): {
5787
+ contents: {
5788
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5789
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5790
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5791
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5792
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5793
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5794
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5795
+ };
5796
+ playbackSessions: {
5797
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5798
+ };
5799
+ versions: {
5800
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5801
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5802
+ };
5803
+ };
4012
5804
  export declare function createCrm(transport: Transport): {
4013
5805
  associations: {
4014
5806
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4069,6 +5861,32 @@ export declare function createCrm(transport: Transport): {
4069
5861
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4070
5862
  };
4071
5863
  };
5864
+ export declare function createCustomer(transport: Transport): {
5865
+ accessTokens: {
5866
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5867
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5868
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5869
+ };
5870
+ customers: {
5871
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5872
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5873
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5874
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5875
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5876
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5877
+ };
5878
+ grantCodes: {
5879
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5880
+ };
5881
+ publishableKeys: {
5882
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5883
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5884
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5885
+ };
5886
+ usage: {
5887
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5888
+ };
5889
+ };
4072
5890
  export declare function createCut(transport: Transport): {
4073
5891
  exports: {
4074
5892
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4076,7 +5894,9 @@ export declare function createCut(transport: Transport): {
4076
5894
  };
4077
5895
  projects: {
4078
5896
  analysis: {
4079
- create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
5897
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5898
+ kind: "cut-AnalysisResult";
5899
+ } & Types.CutAnalysisResult>;
4080
5900
  };
4081
5901
  bindings: {
4082
5902
  create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
@@ -4097,6 +5917,9 @@ export declare function createCut(transport: Transport): {
4097
5917
  media: {
4098
5918
  import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
4099
5919
  };
5920
+ renders: {
5921
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5922
+ };
4100
5923
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
4101
5924
  retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
4102
5925
  retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
@@ -4107,6 +5930,9 @@ export declare function createCut(transport: Transport): {
4107
5930
  list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
4108
5931
  };
4109
5932
  };
5933
+ renders: {
5934
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5935
+ };
4110
5936
  versions: {
4111
5937
  restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
4112
5938
  };
@@ -4156,6 +5982,195 @@ export declare function createDatabase(transport: Transport): {
4156
5982
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4157
5983
  };
4158
5984
  };
5985
+ export declare function createDevops(transport: Transport): {
5986
+ changes: {
5987
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5988
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
5989
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5990
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
5991
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
5992
+ };
5993
+ connections: {
5994
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5995
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5996
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5997
+ repositories: {
5998
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5999
+ };
6000
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6001
+ };
6002
+ environments: {
6003
+ checkpoints: {
6004
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6005
+ };
6006
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6007
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6008
+ };
6009
+ flags: {
6010
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6011
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6012
+ environments: {
6013
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6014
+ };
6015
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6016
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6017
+ };
6018
+ progressiveRollouts: {
6019
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6020
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6021
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6022
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6023
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6024
+ };
6025
+ projects: {
6026
+ changes: {
6027
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6028
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6029
+ };
6030
+ cleanups: {
6031
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6032
+ };
6033
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6034
+ defaultBranch: {
6035
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6036
+ };
6037
+ environments: {
6038
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6039
+ targets: {
6040
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6041
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6042
+ state: {
6043
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6044
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6045
+ lock: {
6046
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6047
+ };
6048
+ };
6049
+ };
6050
+ };
6051
+ flags: {
6052
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6053
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6054
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6055
+ };
6056
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6057
+ promotions: {
6058
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6059
+ };
6060
+ pullRequests: {
6061
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6062
+ };
6063
+ releases: {
6064
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6065
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6066
+ };
6067
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6068
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6069
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6070
+ segments: {
6071
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6072
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6073
+ };
6074
+ targets: {
6075
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6076
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6077
+ };
6078
+ testCases: {
6079
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6080
+ };
6081
+ testPlans: {
6082
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6083
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6084
+ };
6085
+ testReports: {
6086
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6087
+ };
6088
+ testRuns: {
6089
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6090
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6091
+ };
6092
+ testSuites: {
6093
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6094
+ };
6095
+ units: {
6096
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6097
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6098
+ };
6099
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6100
+ workspaces: {
6101
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6102
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6103
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6104
+ };
6105
+ };
6106
+ promotions: {
6107
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6108
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6109
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
6110
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6111
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6112
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6113
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6114
+ rollouts: {
6115
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6116
+ };
6117
+ };
6118
+ pullRequests: {
6119
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6120
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6121
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6122
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6123
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6124
+ reviews: {
6125
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6126
+ };
6127
+ };
6128
+ releases: {
6129
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6130
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6131
+ };
6132
+ rollouts: {
6133
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6134
+ };
6135
+ segments: {
6136
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6137
+ };
6138
+ testCases: {
6139
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6140
+ };
6141
+ testPlans: {
6142
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6143
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6144
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6145
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6146
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6147
+ };
6148
+ testRuns: {
6149
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6150
+ executions: {
6151
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6152
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6153
+ };
6154
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6155
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6156
+ };
6157
+ testSuites: {
6158
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6159
+ };
6160
+ units: {
6161
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6162
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6163
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6164
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6165
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6166
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6167
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6168
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6169
+ transitions: {
6170
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6171
+ };
6172
+ };
6173
+ };
4159
6174
  export declare function createFile(transport: Transport): {
4160
6175
  files: {
4161
6176
  contentLinks: {
@@ -4183,6 +6198,7 @@ export declare function createFile(transport: Transport): {
4183
6198
  parts: {
4184
6199
  create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4185
6200
  };
6201
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4186
6202
  };
4187
6203
  };
4188
6204
  export declare function createKnowledge(transport: Transport): {
@@ -4230,11 +6246,33 @@ export declare function createKnowledge(transport: Transport): {
4230
6246
  };
4231
6247
  };
4232
6248
  export declare function createMedia(transport: Transport): {
6249
+ assets: {
6250
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6251
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6252
+ };
6253
+ generation: {
6254
+ capabilities: {
6255
+ list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
6256
+ };
6257
+ };
6258
+ images: {
6259
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6260
+ };
4233
6261
  libraries: {
4234
6262
  assets: {
6263
+ align: {
6264
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6265
+ };
4235
6266
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4236
6267
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4237
6268
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
6269
+ frames: {
6270
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
6271
+ };
6272
+ hls: {
6273
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6274
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6275
+ };
4238
6276
  import: {
4239
6277
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4240
6278
  };
@@ -4247,6 +6285,9 @@ export declare function createMedia(transport: Transport): {
4247
6285
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4248
6286
  };
4249
6287
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6288
+ versions: {
6289
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6290
+ };
4250
6291
  };
4251
6292
  batches: {
4252
6293
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4264,14 +6305,22 @@ export declare function createMedia(transport: Transport): {
4264
6305
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4265
6306
  };
4266
6307
  jobs: {
6308
+ cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
6309
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4267
6310
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4268
6311
  };
4269
6312
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6313
+ materials: {
6314
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6315
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6316
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6317
+ };
4270
6318
  purge: {
4271
6319
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4272
6320
  };
4273
6321
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4274
6322
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6323
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4275
6324
  search: {
4276
6325
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4277
6326
  expression: {
@@ -4284,7 +6333,24 @@ export declare function createMedia(transport: Transport): {
4284
6333
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4285
6334
  };
4286
6335
  };
6336
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
6337
+ understandings: {
6338
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
6339
+ retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
6340
+ };
4287
6341
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6342
+ voices: {
6343
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6344
+ designs: {
6345
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6346
+ };
6347
+ };
6348
+ };
6349
+ speech: {
6350
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6351
+ };
6352
+ videos: {
6353
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4288
6354
  };
4289
6355
  };
4290
6356
  export declare function createMeta(transport: Transport): {
@@ -4337,11 +6403,17 @@ export declare function createModel(transport: Transport): {
4337
6403
  start: number;
4338
6404
  end: number;
4339
6405
  text: string;
6406
+ speaker?: string;
4340
6407
  temperature?: number;
4341
6408
  avg_logprob?: number;
4342
6409
  compression_ratio?: number;
4343
6410
  no_speech_prob?: number;
4344
6411
  }>;
6412
+ words?: Array<{
6413
+ word: string;
6414
+ start: number;
6415
+ end: number;
6416
+ }>;
4345
6417
  }>;
4346
6418
  };
4347
6419
  };
@@ -4479,7 +6551,35 @@ export declare function createModel(transport: Transport): {
4479
6551
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4480
6552
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4481
6553
  };
6554
+ modelAccess: {
6555
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6556
+ items: Array<{
6557
+ model: string;
6558
+ access_required: boolean;
6559
+ granted: boolean;
6560
+ granted_by: string | null;
6561
+ granted_at: string | null;
6562
+ sell_input_price: number | null;
6563
+ sell_output_price: number | null;
6564
+ }>;
6565
+ }>;
6566
+ };
4482
6567
  models: {
6568
+ access: {
6569
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6570
+ model: string;
6571
+ revoked: true;
6572
+ }>;
6573
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6574
+ model: string;
6575
+ access_required: boolean;
6576
+ granted: true;
6577
+ granted_by: string;
6578
+ granted_at: string;
6579
+ sell_input_price: number | null;
6580
+ sell_output_price: number | null;
6581
+ }>;
6582
+ };
4483
6583
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4484
6584
  object: "list";
4485
6585
  data: Array<{
@@ -4494,6 +6594,7 @@ export declare function createModel(transport: Transport): {
4494
6594
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4495
6595
  supported_apis: Array<string>;
4496
6596
  tags: Array<string>;
6597
+ access_required: boolean;
4497
6598
  architecture: {
4498
6599
  modality: string;
4499
6600
  input_modalities: Array<string>;
@@ -4540,6 +6641,7 @@ export declare function createModel(transport: Transport): {
4540
6641
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4541
6642
  supported_apis: Array<string>;
4542
6643
  tags: Array<string>;
6644
+ access_required: boolean;
4543
6645
  architecture: {
4544
6646
  modality: string;
4545
6647
  input_modalities: Array<string>;
@@ -4766,6 +6868,7 @@ export declare function createModel(transport: Transport): {
4766
6868
  unsigned_urls: Array<string>;
4767
6869
  usage?: {
4768
6870
  cost: number;
6871
+ billed_seconds?: number;
4769
6872
  };
4770
6873
  }>;
4771
6874
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4796,6 +6899,7 @@ export declare function createModel(transport: Transport): {
4796
6899
  unsigned_urls: Array<string>;
4797
6900
  usage?: {
4798
6901
  cost: number;
6902
+ billed_seconds?: number;
4799
6903
  };
4800
6904
  }>;
4801
6905
  has_more: boolean;
@@ -4824,12 +6928,61 @@ export declare function createModel(transport: Transport): {
4824
6928
  unsigned_urls: Array<string>;
4825
6929
  usage?: {
4826
6930
  cost: number;
6931
+ billed_seconds?: number;
4827
6932
  };
4828
6933
  }>;
4829
6934
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
4830
6935
  };
4831
6936
  };
6937
+ export declare function createOntology(transport: Transport): {
6938
+ changesets: {
6939
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
6940
+ };
6941
+ nodes: {
6942
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
6943
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
6944
+ merge: {
6945
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
6946
+ };
6947
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6948
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
6949
+ update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
6950
+ };
6951
+ relations: {
6952
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
6953
+ invalidate: {
6954
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
6955
+ };
6956
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
6957
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
6958
+ };
6959
+ search: {
6960
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
6961
+ };
6962
+ types: {
6963
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
6964
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
6965
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
6966
+ };
6967
+ };
4832
6968
  export declare function createOrganization(transport: Transport): {
6969
+ actors: {
6970
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6971
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6972
+ };
6973
+ assignments: {
6974
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6975
+ makePrimary: {
6976
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6977
+ };
6978
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6979
+ terminate: {
6980
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6981
+ };
6982
+ transfer: {
6983
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6984
+ };
6985
+ };
4833
6986
  charges: {
4834
6987
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
4835
6988
  ChargePeriodStart: string;
@@ -4871,6 +7024,19 @@ export declare function createOrganization(transport: Transport): {
4871
7024
  next_page: string | null;
4872
7025
  }>;
4873
7026
  };
7027
+ departments: {
7028
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7029
+ dissolve: {
7030
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7031
+ };
7032
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7033
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7034
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7035
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7036
+ };
7037
+ effectiveSpec: {
7038
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7039
+ };
4874
7040
  events: {
4875
7041
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
4876
7042
  object: "page";
@@ -5073,6 +7239,27 @@ export declare function createOrganization(transport: Transport): {
5073
7239
  }>;
5074
7240
  }>;
5075
7241
  };
7242
+ jobs: {
7243
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7244
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7245
+ retire: {
7246
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7247
+ };
7248
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7249
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7250
+ };
7251
+ keyResults: {
7252
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7253
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7254
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7255
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7256
+ };
7257
+ ladders: {
7258
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7259
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7260
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7261
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7262
+ };
5076
7263
  members: {
5077
7264
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5078
7265
  data: Array<{
@@ -5086,6 +7273,72 @@ export declare function createOrganization(transport: Transport): {
5086
7273
  next_page: string | null;
5087
7274
  }>;
5088
7275
  };
7276
+ objectives: {
7277
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7278
+ grade: {
7279
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7280
+ };
7281
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7282
+ parents: {
7283
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7284
+ };
7285
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7286
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7287
+ };
7288
+ periods: {
7289
+ close: {
7290
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7291
+ };
7292
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7293
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7294
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7295
+ };
7296
+ positions: {
7297
+ close: {
7298
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7299
+ };
7300
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7301
+ designateHead: {
7302
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7303
+ };
7304
+ freeze: {
7305
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7306
+ };
7307
+ hire: {
7308
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7309
+ };
7310
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7311
+ replaceHolder: {
7312
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7313
+ };
7314
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7315
+ unfreeze: {
7316
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7317
+ };
7318
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7319
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7320
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7321
+ };
7322
+ reconcile: {
7323
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7324
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7325
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
7326
+ run: {
7327
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7328
+ };
7329
+ status: {
7330
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
7331
+ };
7332
+ };
7333
+ specs: {
7334
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
7335
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7336
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
7337
+ revisions: {
7338
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
7339
+ };
7340
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7341
+ };
5089
7342
  usage: {
5090
7343
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5091
7344
  object: "page";
@@ -5109,8 +7362,163 @@ export declare function createOrganization(transport: Transport): {
5109
7362
  }>;
5110
7363
  };
5111
7364
  };
7365
+ export declare function createRegistry(transport: Transport): {
7366
+ installations: {
7367
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7368
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7369
+ };
7370
+ packages: {
7371
+ git: {
7372
+ commits: {
7373
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7374
+ };
7375
+ files: {
7376
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7377
+ };
7378
+ refs: {
7379
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7380
+ };
7381
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7382
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7383
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7384
+ trees: {
7385
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7386
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7387
+ };
7388
+ };
7389
+ gitCredential: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7391
+ };
7392
+ installations: {
7393
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7394
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7395
+ };
7396
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7397
+ versions: {
7398
+ contents: {
7399
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7400
+ };
7401
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7402
+ files: {
7403
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7404
+ };
7405
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7406
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7407
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7408
+ };
7409
+ };
7410
+ repositories: {
7411
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7412
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7413
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7414
+ packages: {
7415
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7416
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7417
+ };
7418
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7419
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7420
+ };
7421
+ };
5112
7422
  export declare function createSandbox(transport: Transport): {
7423
+ byod: {
7424
+ devices: {
7425
+ disconnect: {
7426
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7427
+ id: string;
7428
+ object: "byod_device";
7429
+ disconnected: true;
7430
+ }>;
7431
+ };
7432
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7433
+ data: Array<{
7434
+ object: "byod_device";
7435
+ id: string;
7436
+ platform: "android" | "macos" | "linux";
7437
+ name: string;
7438
+ model: string;
7439
+ os_version: string;
7440
+ online: boolean;
7441
+ last_seen_at: string | null;
7442
+ created_at: string;
7443
+ capabilities: Array<"display" | "agent">;
7444
+ agent_dirs: Array<string>;
7445
+ allow_bypass: boolean;
7446
+ }>;
7447
+ }>;
7448
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7449
+ object: "byod_device";
7450
+ id: string;
7451
+ platform: "android" | "macos" | "linux";
7452
+ name: string;
7453
+ model: string;
7454
+ os_version: string;
7455
+ online: boolean;
7456
+ last_seen_at: string | null;
7457
+ created_at: string;
7458
+ capabilities: Array<"display" | "agent">;
7459
+ agent_dirs: Array<string>;
7460
+ allow_bypass: boolean;
7461
+ }>;
7462
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7463
+ object: "byod_device";
7464
+ id: string;
7465
+ platform: "android" | "macos" | "linux";
7466
+ name: string;
7467
+ model: string;
7468
+ os_version: string;
7469
+ online: boolean;
7470
+ last_seen_at: string | null;
7471
+ created_at: string;
7472
+ capabilities: Array<"display" | "agent">;
7473
+ agent_dirs: Array<string>;
7474
+ allow_bypass: boolean;
7475
+ }>;
7476
+ };
7477
+ pairings: {
7478
+ claim: {
7479
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7480
+ device_id: string;
7481
+ credential: string;
7482
+ socket_url: string;
7483
+ }>;
7484
+ };
7485
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7486
+ code: string;
7487
+ expires_at: string;
7488
+ qr: string;
7489
+ }>;
7490
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7491
+ organization_name: string;
7492
+ expires_at: string;
7493
+ }>;
7494
+ };
7495
+ };
7496
+ events: {
7497
+ sandboxes: {
7498
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7499
+ };
7500
+ };
5113
7501
  sandboxes: {
7502
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7503
+ type: "snapshot";
7504
+ snapshot: string;
7505
+ refs: number;
7506
+ truncated: boolean;
7507
+ package: string;
7508
+ } | {
7509
+ type: "screenshot";
7510
+ mediaType: string;
7511
+ data: string;
7512
+ width: number;
7513
+ height: number;
7514
+ bytes: number;
7515
+ } | {
7516
+ type: "ok";
7517
+ ms?: number;
7518
+ } | {
7519
+ type: "wait";
7520
+ ms: number;
7521
+ }>;
5114
7522
  commands: {
5115
7523
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5116
7524
  stdout: string;
@@ -5188,6 +7596,20 @@ export declare function createSandbox(transport: Transport): {
5188
7596
  snapshots: {
5189
7597
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5190
7598
  };
7599
+ tasks: {
7600
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7601
+ taskId: string;
7602
+ instanceId: string;
7603
+ startedAt: number;
7604
+ }>;
7605
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7606
+ text: string;
7607
+ nextOffset: number;
7608
+ done: boolean;
7609
+ exitCode: number | null;
7610
+ size: number | null;
7611
+ }>;
7612
+ };
5191
7613
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5192
7614
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5193
7615
  name: string;
@@ -5326,6 +7748,131 @@ export declare function createSearch(transport: Transport): {
5326
7748
  }>;
5327
7749
  };
5328
7750
  };
7751
+ export declare function createShare(transport: Transport): {
7752
+ permissions: {
7753
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7754
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7755
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7756
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7757
+ };
7758
+ };
7759
+ export declare function createStudio(transport: Transport): {
7760
+ codexes: {
7761
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7762
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7763
+ entries: {
7764
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7765
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7766
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7767
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7768
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7769
+ };
7770
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7771
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7772
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7773
+ };
7774
+ genres: {
7775
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7776
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7777
+ };
7778
+ platforms: {
7779
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7780
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7781
+ };
7782
+ styles: {
7783
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7784
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7785
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7786
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7787
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7788
+ };
7789
+ templates: {
7790
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7791
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7792
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7793
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7794
+ };
7795
+ themes: {
7796
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7797
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7798
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7799
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7800
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7801
+ };
7802
+ works: {
7803
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7804
+ drafts: {
7805
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7806
+ foreshadows: {
7807
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7808
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7809
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7810
+ };
7811
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7812
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7813
+ renditions: {
7814
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7815
+ };
7816
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7817
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7818
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7819
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7820
+ status: {
7821
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7822
+ };
7823
+ units: {
7824
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7825
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7826
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7827
+ };
7828
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7829
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7830
+ };
7831
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7832
+ progressions: {
7833
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7834
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7835
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7836
+ };
7837
+ renditions: {
7838
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7839
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7840
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7841
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7842
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7843
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7844
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7845
+ };
7846
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7847
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7848
+ reviewSettings: {
7849
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7850
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7851
+ };
7852
+ reviewers: {
7853
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7854
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7855
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7856
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7857
+ };
7858
+ reviews: {
7859
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7860
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7861
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7862
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7863
+ };
7864
+ units: {
7865
+ blocks: {
7866
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7867
+ };
7868
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7869
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7870
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7871
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7872
+ };
7873
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7874
+ };
7875
+ };
5329
7876
  export declare function createTicket(transport: Transport): {
5330
7877
  activity: {
5331
7878
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5370,6 +7917,7 @@ export declare function createTicket(transport: Transport): {
5370
7917
  repositories: Array<Types.TicketRepository>;
5371
7918
  next_page_token: string;
5372
7919
  }>;
7920
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5373
7921
  };
5374
7922
  tickets: {
5375
7923
  comments: {
@@ -5499,19 +8047,27 @@ export declare const resourceFactories: {
5499
8047
  agent: typeof createAgent;
5500
8048
  application: typeof createApplication;
5501
8049
  automation: typeof createAutomation;
8050
+ billing: typeof createBilling;
5502
8051
  browser: typeof createBrowser;
5503
8052
  canvas: typeof createCanvas;
8053
+ content: typeof createContent;
5504
8054
  crm: typeof createCrm;
8055
+ customer: typeof createCustomer;
5505
8056
  cut: typeof createCut;
5506
8057
  database: typeof createDatabase;
8058
+ devops: typeof createDevops;
5507
8059
  file: typeof createFile;
5508
8060
  knowledge: typeof createKnowledge;
5509
8061
  media: typeof createMedia;
5510
8062
  meta: typeof createMeta;
5511
8063
  model: typeof createModel;
8064
+ ontology: typeof createOntology;
5512
8065
  organization: typeof createOrganization;
8066
+ registry: typeof createRegistry;
5513
8067
  sandbox: typeof createSandbox;
5514
8068
  search: typeof createSearch;
8069
+ share: typeof createShare;
8070
+ studio: typeof createStudio;
5515
8071
  ticket: typeof createTicket;
5516
8072
  vault: typeof createVault;
5517
8073
  };