@deepraxis/sdk 0.1.1-dev.9932035 → 0.1.1-dev.99a12a4

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.
@@ -1,6 +1,8 @@
1
1
  import type * as Types from './generated/types.gen.js';
2
+ import type { DeprecationNotice } from './core/deprecation.js';
2
3
  import type { RenameParameters } from './core/bindings.js';
3
4
  import type { Transport } from './core/transport.js';
5
+ export declare const deprecatedMethods: Readonly<Record<string, DeprecationNotice>>;
4
6
  export declare function createAgent(transport: Transport): {
5
7
  agents: {
6
8
  archive: (options: import("./core/transport.js").CallOptions<Types.AgentsArchiveData>) => Promise<{
@@ -17,6 +19,7 @@ export declare function createAgent(transport: Transport): {
17
19
  speed?: "standard" | "fast";
18
20
  settings?: {
19
21
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
22
+ max_output_tokens?: number;
20
23
  };
21
24
  };
22
25
  multiagent?: null | Types.AgentManaged39;
@@ -37,10 +40,12 @@ export declare function createAgent(transport: Transport): {
37
40
  id: string;
38
41
  } | null;
39
42
  note: string | null;
43
+ deployments_behind: number | null;
40
44
  bindings: Array<{
41
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
45
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
42
46
  id: string;
43
47
  access: "read_only" | "read_write" | "invoke";
48
+ customer_access?: "read_only" | "read_write" | "invoke";
44
49
  instructions?: string;
45
50
  readonly verified?: boolean;
46
51
  enabled?: boolean;
@@ -142,6 +147,7 @@ export declare function createAgent(transport: Transport): {
142
147
  allowManagedHooksOnly?: boolean;
143
148
  allowManagedMcpServersOnly?: boolean;
144
149
  allowManagedPermissionRulesOnly?: boolean;
150
+ idleCompaction?: boolean;
145
151
  autoMemoryEnabled?: boolean;
146
152
  disabled?: {
147
153
  subagents?: Array<string>;
@@ -150,7 +156,6 @@ export declare function createAgent(transport: Transport): {
150
156
  mcpServers?: Array<string>;
151
157
  hooks?: Array<string>;
152
158
  };
153
- idleCompaction?: boolean;
154
159
  outputStyle?: string;
155
160
  } | null;
156
161
  models?: {
@@ -158,6 +163,7 @@ export declare function createAgent(transport: Transport): {
158
163
  };
159
164
  avatar: string | null;
160
165
  creation_source: string | null;
166
+ managed_by: string | null;
161
167
  identity_number: string | null;
162
168
  environment_id?: string | null;
163
169
  vault_ids?: Array<string>;
@@ -199,6 +205,7 @@ export declare function createAgent(transport: Transport): {
199
205
  speed?: "standard" | "fast";
200
206
  settings?: {
201
207
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
208
+ max_output_tokens?: number;
202
209
  };
203
210
  };
204
211
  multiagent?: null | Types.AgentManaged39;
@@ -219,10 +226,12 @@ export declare function createAgent(transport: Transport): {
219
226
  id: string;
220
227
  } | null;
221
228
  note: string | null;
229
+ deployments_behind: number | null;
222
230
  bindings: Array<{
223
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
231
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
224
232
  id: string;
225
233
  access: "read_only" | "read_write" | "invoke";
234
+ customer_access?: "read_only" | "read_write" | "invoke";
226
235
  instructions?: string;
227
236
  readonly verified?: boolean;
228
237
  enabled?: boolean;
@@ -232,6 +241,13 @@ export declare function createAgent(transport: Transport): {
232
241
  enabled?: boolean;
233
242
  }>;
234
243
  kind: "general" | "service" | "assume";
244
+ computers?: {
245
+ default: string;
246
+ allowed: Array<{
247
+ template: string;
248
+ name: string;
249
+ }>;
250
+ };
235
251
  computer_id?: string;
236
252
  subagent_model?: string | null;
237
253
  subagents?: Array<{
@@ -324,6 +340,7 @@ export declare function createAgent(transport: Transport): {
324
340
  allowManagedHooksOnly?: boolean;
325
341
  allowManagedMcpServersOnly?: boolean;
326
342
  allowManagedPermissionRulesOnly?: boolean;
343
+ idleCompaction?: boolean;
327
344
  autoMemoryEnabled?: boolean;
328
345
  disabled?: {
329
346
  subagents?: Array<string>;
@@ -332,7 +349,6 @@ export declare function createAgent(transport: Transport): {
332
349
  mcpServers?: Array<string>;
333
350
  hooks?: Array<string>;
334
351
  };
335
- idleCompaction?: boolean;
336
352
  outputStyle?: string;
337
353
  } | null;
338
354
  models?: {
@@ -340,6 +356,7 @@ export declare function createAgent(transport: Transport): {
340
356
  };
341
357
  avatar: string | null;
342
358
  creation_source: string | null;
359
+ managed_by: string | null;
343
360
  identity_number: string | null;
344
361
  environment_id?: string | null;
345
362
  vault_ids?: Array<string>;
@@ -352,42 +369,6 @@ export declare function createAgent(transport: Transport): {
352
369
  }> | null;
353
370
  }>;
354
371
  customers: {
355
- auth: {
356
- accessTokens: {
357
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
358
- type: "customer_access_token";
359
- access_token: string;
360
- expires_at: string;
361
- session_expires_at: string;
362
- customer: {
363
- id: string;
364
- type: "identified" | "anonymous";
365
- };
366
- }>;
367
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
368
- renew: {
369
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
370
- type: "customer_access_token";
371
- access_token: string;
372
- expires_at: string;
373
- session_expires_at: string;
374
- customer: {
375
- id: string;
376
- type: "identified" | "anonymous";
377
- };
378
- }>;
379
- };
380
- };
381
- grantCodes: {
382
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
383
- type: "customer_grant_code";
384
- code: string;
385
- customer_id: string;
386
- expires_at: string;
387
- hosted_url?: string;
388
- }>;
389
- };
390
- };
391
372
  block: {
392
373
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
393
374
  id: string;
@@ -519,7 +500,6 @@ export declare function createAgent(transport: Transport): {
519
500
  run_id: string | null;
520
501
  message_id?: string;
521
502
  } | {
522
- full_access_available?: boolean;
523
503
  id: string;
524
504
  input: Types.AgentManaged197;
525
505
  mcp_server_name: string;
@@ -529,6 +509,18 @@ export declare function createAgent(transport: Transport): {
529
509
  evaluated_permission?: "allow" | "deny" | "ask";
530
510
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
531
511
  session_thread_id?: null | string;
512
+ permission_suggestions?: Array<{
513
+ type: "add_rules";
514
+ behavior: "allow";
515
+ destination: "agent" | "session";
516
+ rules: Array<{
517
+ tool_name: string;
518
+ rule_content: string;
519
+ }>;
520
+ }>;
521
+ full_access_available?: boolean;
522
+ user_once?: true;
523
+ guarded_rule?: string;
532
524
  run_id: string | null;
533
525
  _meta?: {
534
526
  ui?: {
@@ -542,17 +534,6 @@ export declare function createAgent(transport: Transport): {
542
534
  };
543
535
  source?: "app" | "codemode";
544
536
  parent_tool_use_id?: string;
545
- user_once?: true;
546
- guarded_rule?: string;
547
- permission_suggestions?: Array<{
548
- type: "add_rules";
549
- behavior: "allow";
550
- destination: "agent" | "session";
551
- rules: Array<{
552
- tool_name: string;
553
- rule_content: string;
554
- }>;
555
- }>;
556
537
  title?: string;
557
538
  input_titles?: {
558
539
  [key: string]: string;
@@ -571,7 +552,6 @@ export declare function createAgent(transport: Transport): {
571
552
  };
572
553
  source?: "app" | "codemode";
573
554
  } | {
574
- full_access_available?: boolean;
575
555
  id: string;
576
556
  input: Types.AgentManaged206;
577
557
  name: string;
@@ -580,9 +560,6 @@ export declare function createAgent(transport: Transport): {
580
560
  evaluated_permission?: "allow" | "deny" | "ask";
581
561
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
582
562
  session_thread_id?: null | string;
583
- run_id: string | null;
584
- user_once?: true;
585
- guarded_rule?: string;
586
563
  permission_suggestions?: Array<{
587
564
  type: "add_rules";
588
565
  behavior: "allow";
@@ -592,6 +569,10 @@ export declare function createAgent(transport: Transport): {
592
569
  rule_content: string;
593
570
  }>;
594
571
  }>;
572
+ full_access_available?: boolean;
573
+ user_once?: true;
574
+ guarded_rule?: string;
575
+ run_id: string | null;
595
576
  } | {
596
577
  id: string;
597
578
  processed_at: string;
@@ -612,9 +593,6 @@ export declare function createAgent(transport: Transport): {
612
593
  type: "session.status_idle";
613
594
  run_id: string | null;
614
595
  } | 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 | {
615
- permission_mode_version?: number;
616
- previous_permission_mode?: string | null;
617
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
618
596
  id: string;
619
597
  processed_at: string;
620
598
  type: "session.updated";
@@ -622,6 +600,9 @@ export declare function createAgent(transport: Transport): {
622
600
  budget?: null | Types.AgentManaged76;
623
601
  metadata?: Types.AgentManaged246;
624
602
  title?: null | string;
603
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
604
+ previous_permission_mode?: string | null;
605
+ permission_mode_version?: number;
625
606
  model?: {
626
607
  id: string;
627
608
  };
@@ -631,6 +612,8 @@ export declare function createAgent(transport: Transport): {
631
612
  processed_at: string;
632
613
  forked_from_session_id: string;
633
614
  forked_from_message_id: string;
615
+ message_id?: string;
616
+ session_thread_id?: string | null;
634
617
  } | {
635
618
  id: string;
636
619
  type: "session.goal_changed";
@@ -661,6 +644,8 @@ export declare function createAgent(transport: Transport): {
661
644
  created_at: number;
662
645
  updated_at: number;
663
646
  } | null;
647
+ message_id?: string;
648
+ session_thread_id?: string | null;
664
649
  } | {
665
650
  id: string;
666
651
  type: "session.goal_verification";
@@ -675,26 +660,179 @@ export declare function createAgent(transport: Transport): {
675
660
  reason: string;
676
661
  next_action?: string;
677
662
  };
663
+ message_id?: string;
664
+ session_thread_id?: string | null;
678
665
  } | {
679
666
  id: string;
680
667
  type: "user.steer";
681
668
  event_id: string;
682
669
  processed_at: string;
670
+ message_id?: string;
671
+ session_thread_id?: string | null;
672
+ } | {
673
+ id: string;
674
+ type: "cognition.surfaced";
675
+ processed_at: string;
676
+ worker_session_id: string;
677
+ name: string;
678
+ state: "done" | "waiting" | "failed" | "archived";
679
+ experience_id?: string;
680
+ result?: {
681
+ message?: string;
682
+ links?: Array<string>;
683
+ files?: Array<{
684
+ name?: string;
685
+ href?: string;
686
+ }>;
687
+ held?: Array<{
688
+ id?: string;
689
+ summary?: string;
690
+ effect?: string;
691
+ method?: string;
692
+ path?: string;
693
+ expires_at?: string;
694
+ }>;
695
+ };
696
+ } | {
697
+ id: string;
698
+ type: "cognition.intention_woken";
699
+ processed_at: string;
700
+ node_id: string;
701
+ reason: "open_engram" | "assignment";
702
+ } | {
703
+ id: string;
704
+ type: "agent.operation_approval_requested";
705
+ processed_at: string;
706
+ approval_id: string;
707
+ operation_id: string;
708
+ effect: "outward" | "irreversible";
709
+ method: string;
710
+ path: string;
711
+ summary: string;
712
+ expires_at: string;
713
+ worker_session_id?: string;
714
+ worker_name?: string;
715
+ } | {
716
+ id: string;
717
+ type: "agent.operation_approval_decided";
718
+ processed_at: string;
719
+ approval_id: string;
720
+ status: "approved" | "refused" | "expired";
721
+ } | {
722
+ id: string;
723
+ type: "session.prompt_configuration_mismatch";
724
+ processed_at: string;
725
+ pinned_revision_id: string;
726
+ current_revision_id: string;
727
+ } | {
728
+ id: string;
729
+ type: "session.prompt_rev_changed";
730
+ processed_at: string;
731
+ config_revision_id: string;
732
+ changed: Array<{
733
+ name: string;
734
+ rev: string | null;
735
+ }>;
736
+ } | {
737
+ id: string;
738
+ type: "session.computer_tier";
739
+ processed_at: string;
740
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
741
+ tier: "light" | "heavy";
742
+ duration_ms: number;
743
+ error_code?: string;
744
+ status?: {
745
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
746
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
747
+ percent?: number;
748
+ files_done?: number;
749
+ files_total?: number;
750
+ idle_release_at?: number;
751
+ retry_at?: number;
752
+ epoch?: number;
753
+ heavy_instance?: string | null;
754
+ heavy_paused?: boolean;
755
+ };
756
+ } | {
757
+ id: string;
758
+ type: "agent.artifact_delivered";
759
+ processed_at: string;
760
+ artifact: {
761
+ object: "artifact";
762
+ id: string;
763
+ session_id: string;
764
+ run_id: string | null;
765
+ name: string;
766
+ version: number;
767
+ parts: Array<{
768
+ [key: string]: unknown;
769
+ }>;
770
+ source_hrefs: Array<string>;
771
+ create_time: string;
772
+ update_time: string;
773
+ };
683
774
  } | {
684
775
  id: string;
685
- type: "user.tool_confirmation";
776
+ type: "agent.image_generation";
686
777
  processed_at: string;
687
778
  tool_use_id: string;
688
- result: "allow";
689
- answers: {
690
- [key: string]: string;
779
+ index: number;
780
+ total: number;
781
+ status: string;
782
+ mode?: string;
783
+ aspect?: string;
784
+ prompt?: string;
785
+ model?: string;
786
+ file_id?: string;
787
+ label?: string;
788
+ width?: number;
789
+ height?: number;
790
+ revised_prompt?: string;
791
+ source_labels?: Array<string>;
792
+ caption?: string;
793
+ slot?: number | null;
794
+ replaces?: string;
795
+ version?: number;
796
+ failure?: {
797
+ reason?: string;
691
798
  };
692
- annotations?: {
693
- [key: string]: {
694
- preview?: string;
695
- notes?: string;
696
- };
799
+ } | {
800
+ id: string;
801
+ type: "session.image_labeled";
802
+ processed_at: string;
803
+ label: string;
804
+ file_id: string;
805
+ origin: "generated" | "uploaded";
806
+ filename: string;
807
+ tool_use_id?: string;
808
+ version?: number;
809
+ replaced_file_id?: string;
810
+ } | {
811
+ id: string;
812
+ type: "session.image_set_planned";
813
+ processed_at: string;
814
+ tool_use_id: string;
815
+ items: Array<unknown>;
816
+ title?: string;
817
+ } | {
818
+ id: string;
819
+ type: "session.project_attached";
820
+ processed_at: string;
821
+ project: {
822
+ id: string;
823
+ name: string;
824
+ path: string;
697
825
  };
826
+ message_id?: string;
827
+ session_thread_id?: string | null;
828
+ } | {
829
+ id: string;
830
+ type: "session.project_detached";
831
+ processed_at: string;
832
+ project_id: string;
833
+ reason?: "project_removed";
834
+ message_id?: string;
835
+ session_thread_id?: string | null;
698
836
  }>;
699
837
  next_page: string | null;
700
838
  }>;
@@ -715,21 +853,8 @@ export declare function createAgent(transport: Transport): {
715
853
  type: "user.steer";
716
854
  event_id: string;
717
855
  processed_at: string;
718
- } | {
719
- id: string;
720
- type: "user.tool_confirmation";
721
- processed_at: string;
722
- tool_use_id: string;
723
- result: "allow";
724
- answers: {
725
- [key: string]: string;
726
- };
727
- annotations?: {
728
- [key: string]: {
729
- preview?: string;
730
- notes?: string;
731
- };
732
- };
856
+ message_id?: string;
857
+ session_thread_id?: string | null;
733
858
  }>;
734
859
  }>;
735
860
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -763,6 +888,7 @@ export declare function createAgent(transport: Transport): {
763
888
  speed?: "standard" | "fast";
764
889
  settings?: {
765
890
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
891
+ max_output_tokens?: number;
766
892
  };
767
893
  };
768
894
  multiagent?: null | Types.AgentManaged39;
@@ -783,10 +909,12 @@ export declare function createAgent(transport: Transport): {
783
909
  id: string;
784
910
  } | null;
785
911
  note: string | null;
912
+ deployments_behind: number | null;
786
913
  bindings: Array<{
787
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
914
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
788
915
  id: string;
789
916
  access: "read_only" | "read_write" | "invoke";
917
+ customer_access?: "read_only" | "read_write" | "invoke";
790
918
  instructions?: string;
791
919
  readonly verified?: boolean;
792
920
  enabled?: boolean;
@@ -796,6 +924,13 @@ export declare function createAgent(transport: Transport): {
796
924
  enabled?: boolean;
797
925
  }>;
798
926
  kind: "general" | "service" | "assume";
927
+ computers?: {
928
+ default: string;
929
+ allowed: Array<{
930
+ template: string;
931
+ name: string;
932
+ }>;
933
+ };
799
934
  computer_id?: string;
800
935
  subagent_model?: string | null;
801
936
  subagents?: Array<{
@@ -888,6 +1023,7 @@ export declare function createAgent(transport: Transport): {
888
1023
  allowManagedHooksOnly?: boolean;
889
1024
  allowManagedMcpServersOnly?: boolean;
890
1025
  allowManagedPermissionRulesOnly?: boolean;
1026
+ idleCompaction?: boolean;
891
1027
  autoMemoryEnabled?: boolean;
892
1028
  disabled?: {
893
1029
  subagents?: Array<string>;
@@ -896,7 +1032,6 @@ export declare function createAgent(transport: Transport): {
896
1032
  mcpServers?: Array<string>;
897
1033
  hooks?: Array<string>;
898
1034
  };
899
- idleCompaction?: boolean;
900
1035
  outputStyle?: string;
901
1036
  } | null;
902
1037
  models?: {
@@ -904,6 +1039,7 @@ export declare function createAgent(transport: Transport): {
904
1039
  };
905
1040
  avatar: string | null;
906
1041
  creation_source: string | null;
1042
+ managed_by: string | null;
907
1043
  identity_number: string | null;
908
1044
  environment_id?: string | null;
909
1045
  vault_ids?: Array<string>;
@@ -917,6 +1053,34 @@ export declare function createAgent(transport: Transport): {
917
1053
  }>;
918
1054
  next_page: string | null;
919
1055
  }>;
1056
+ phone: {
1057
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
1058
+ object: "agent_phone";
1059
+ agent_id: string;
1060
+ configured: boolean;
1061
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
1062
+ sku: string | null;
1063
+ byod_device: string | null;
1064
+ name: string | null;
1065
+ sandbox_id: string | null;
1066
+ lease_ends_at: string | null;
1067
+ archived_at: string | null;
1068
+ archive_error: string | null;
1069
+ }>;
1070
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
1071
+ object: "agent_phone";
1072
+ agent_id: string;
1073
+ configured: boolean;
1074
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
1075
+ sku: string | null;
1076
+ byod_device: string | null;
1077
+ name: string | null;
1078
+ sandbox_id: string | null;
1079
+ lease_ends_at: string | null;
1080
+ archived_at: string | null;
1081
+ archive_error: string | null;
1082
+ }>;
1083
+ };
920
1084
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
921
1085
  id: string;
922
1086
  archived_at: null | string;
@@ -931,6 +1095,7 @@ export declare function createAgent(transport: Transport): {
931
1095
  speed?: "standard" | "fast";
932
1096
  settings?: {
933
1097
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1098
+ max_output_tokens?: number;
934
1099
  };
935
1100
  };
936
1101
  multiagent?: null | Types.AgentManaged39;
@@ -952,10 +1117,12 @@ export declare function createAgent(transport: Transport): {
952
1117
  id: string;
953
1118
  } | null;
954
1119
  note: string | null;
1120
+ deployments_behind: number | null;
955
1121
  bindings: Array<{
956
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1122
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
957
1123
  id: string;
958
1124
  access: "read_only" | "read_write" | "invoke";
1125
+ customer_access?: "read_only" | "read_write" | "invoke";
959
1126
  instructions?: string;
960
1127
  readonly verified?: boolean;
961
1128
  enabled?: boolean;
@@ -965,6 +1132,13 @@ export declare function createAgent(transport: Transport): {
965
1132
  enabled?: boolean;
966
1133
  }>;
967
1134
  kind: "general" | "service" | "assume";
1135
+ computers?: {
1136
+ default: string;
1137
+ allowed: Array<{
1138
+ template: string;
1139
+ name: string;
1140
+ }>;
1141
+ };
968
1142
  computer_id?: string;
969
1143
  subagent_model?: string | null;
970
1144
  subagents?: Array<{
@@ -1057,6 +1231,7 @@ export declare function createAgent(transport: Transport): {
1057
1231
  allowManagedHooksOnly?: boolean;
1058
1232
  allowManagedMcpServersOnly?: boolean;
1059
1233
  allowManagedPermissionRulesOnly?: boolean;
1234
+ idleCompaction?: boolean;
1060
1235
  autoMemoryEnabled?: boolean;
1061
1236
  disabled?: {
1062
1237
  subagents?: Array<string>;
@@ -1065,7 +1240,6 @@ export declare function createAgent(transport: Transport): {
1065
1240
  mcpServers?: Array<string>;
1066
1241
  hooks?: Array<string>;
1067
1242
  };
1068
- idleCompaction?: boolean;
1069
1243
  outputStyle?: string;
1070
1244
  } | null;
1071
1245
  models?: {
@@ -1073,6 +1247,7 @@ export declare function createAgent(transport: Transport): {
1073
1247
  };
1074
1248
  avatar: string | null;
1075
1249
  creation_source: string | null;
1250
+ managed_by: string | null;
1076
1251
  identity_number: string | null;
1077
1252
  environment_id?: string | null;
1078
1253
  vault_ids?: Array<string>;
@@ -1141,6 +1316,26 @@ export declare function createAgent(transport: Transport): {
1141
1316
  history?: {
1142
1317
  enabled?: boolean;
1143
1318
  };
1319
+ uploads?: {
1320
+ enabled: boolean;
1321
+ max_file_bytes: number;
1322
+ max_files_per_session: number;
1323
+ };
1324
+ }>;
1325
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1326
+ allowed_origins: Array<string>;
1327
+ allow_localhost: boolean;
1328
+ uploads: {
1329
+ enabled: boolean;
1330
+ max_file_bytes: number;
1331
+ max_files_per_session: number;
1332
+ };
1333
+ share_links: {
1334
+ enabled: boolean;
1335
+ daily_session_cap: number | null;
1336
+ daily_spend_cap_micro_usd: number | null;
1337
+ currency?: "USD" | "CNY" | null;
1338
+ };
1144
1339
  }>;
1145
1340
  unarchive: {
1146
1341
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1194,6 +1389,7 @@ export declare function createAgent(transport: Transport): {
1194
1389
  speed?: "standard" | "fast";
1195
1390
  settings?: {
1196
1391
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1392
+ max_output_tokens?: number;
1197
1393
  };
1198
1394
  };
1199
1395
  multiagent?: null | {
@@ -1380,10 +1576,12 @@ export declare function createAgent(transport: Transport): {
1380
1576
  id: string;
1381
1577
  } | null;
1382
1578
  note: string | null;
1579
+ deployments_behind: number | null;
1383
1580
  bindings: Array<{
1384
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1581
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1385
1582
  id: string;
1386
1583
  access: "read_only" | "read_write" | "invoke";
1584
+ customer_access?: "read_only" | "read_write" | "invoke";
1387
1585
  instructions?: string;
1388
1586
  readonly verified?: boolean;
1389
1587
  enabled?: boolean;
@@ -1393,6 +1591,13 @@ export declare function createAgent(transport: Transport): {
1393
1591
  enabled?: boolean;
1394
1592
  }>;
1395
1593
  kind: "general" | "service" | "assume";
1594
+ computers?: {
1595
+ default: string;
1596
+ allowed: Array<{
1597
+ template: string;
1598
+ name: string;
1599
+ }>;
1600
+ };
1396
1601
  computer_id?: string;
1397
1602
  subagent_model?: string | null;
1398
1603
  subagents?: Array<{
@@ -1485,6 +1690,7 @@ export declare function createAgent(transport: Transport): {
1485
1690
  allowManagedHooksOnly?: boolean;
1486
1691
  allowManagedMcpServersOnly?: boolean;
1487
1692
  allowManagedPermissionRulesOnly?: boolean;
1693
+ idleCompaction?: boolean;
1488
1694
  autoMemoryEnabled?: boolean;
1489
1695
  disabled?: {
1490
1696
  subagents?: Array<string>;
@@ -1493,7 +1699,6 @@ export declare function createAgent(transport: Transport): {
1493
1699
  mcpServers?: Array<string>;
1494
1700
  hooks?: Array<string>;
1495
1701
  };
1496
- idleCompaction?: boolean;
1497
1702
  outputStyle?: string;
1498
1703
  } | null;
1499
1704
  models?: {
@@ -1501,6 +1706,7 @@ export declare function createAgent(transport: Transport): {
1501
1706
  };
1502
1707
  avatar: string | null;
1503
1708
  creation_source: string | null;
1709
+ managed_by: string | null;
1504
1710
  identity_number: string | null;
1505
1711
  environment_id?: string | null;
1506
1712
  vault_ids?: Array<string>;
@@ -1527,6 +1733,7 @@ export declare function createAgent(transport: Transport): {
1527
1733
  speed?: "standard" | "fast";
1528
1734
  settings?: {
1529
1735
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1736
+ max_output_tokens?: number;
1530
1737
  };
1531
1738
  };
1532
1739
  multiagent?: null | Types.AgentManaged39;
@@ -1548,10 +1755,12 @@ export declare function createAgent(transport: Transport): {
1548
1755
  id: string;
1549
1756
  } | null;
1550
1757
  note: string | null;
1758
+ deployments_behind: number | null;
1551
1759
  bindings: Array<{
1552
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1760
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1553
1761
  id: string;
1554
1762
  access: "read_only" | "read_write" | "invoke";
1763
+ customer_access?: "read_only" | "read_write" | "invoke";
1555
1764
  instructions?: string;
1556
1765
  readonly verified?: boolean;
1557
1766
  enabled?: boolean;
@@ -1561,6 +1770,13 @@ export declare function createAgent(transport: Transport): {
1561
1770
  enabled?: boolean;
1562
1771
  }>;
1563
1772
  kind: "general" | "service" | "assume";
1773
+ computers?: {
1774
+ default: string;
1775
+ allowed: Array<{
1776
+ template: string;
1777
+ name: string;
1778
+ }>;
1779
+ };
1564
1780
  computer_id?: string;
1565
1781
  subagent_model?: string | null;
1566
1782
  subagents?: Array<{
@@ -1653,6 +1869,7 @@ export declare function createAgent(transport: Transport): {
1653
1869
  allowManagedHooksOnly?: boolean;
1654
1870
  allowManagedMcpServersOnly?: boolean;
1655
1871
  allowManagedPermissionRulesOnly?: boolean;
1872
+ idleCompaction?: boolean;
1656
1873
  autoMemoryEnabled?: boolean;
1657
1874
  disabled?: {
1658
1875
  subagents?: Array<string>;
@@ -1661,7 +1878,6 @@ export declare function createAgent(transport: Transport): {
1661
1878
  mcpServers?: Array<string>;
1662
1879
  hooks?: Array<string>;
1663
1880
  };
1664
- idleCompaction?: boolean;
1665
1881
  outputStyle?: string;
1666
1882
  } | null;
1667
1883
  models?: {
@@ -1669,6 +1885,7 @@ export declare function createAgent(transport: Transport): {
1669
1885
  };
1670
1886
  avatar: string | null;
1671
1887
  creation_source: string | null;
1888
+ managed_by: string | null;
1672
1889
  identity_number: string | null;
1673
1890
  environment_id?: string | null;
1674
1891
  vault_ids?: Array<string>;
@@ -1680,55 +1897,282 @@ export declare function createAgent(transport: Transport): {
1680
1897
  keep_coding_instructions?: boolean;
1681
1898
  }> | null;
1682
1899
  }>;
1900
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1901
+ allowed_origins: Array<string>;
1902
+ allow_localhost: boolean;
1903
+ uploads: {
1904
+ enabled: boolean;
1905
+ max_file_bytes: number;
1906
+ max_files_per_session: number;
1907
+ };
1908
+ share_links: {
1909
+ enabled: boolean;
1910
+ daily_session_cap: number | null;
1911
+ daily_spend_cap_micro_usd: number | null;
1912
+ currency?: "USD" | "CNY" | null;
1913
+ };
1914
+ }>;
1683
1915
  versions: {
1684
1916
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1685
1917
  id: string;
1686
1918
  archived_at: null | string;
1687
1919
  created_at: string;
1688
1920
  description: null | string;
1689
- mcp_servers: Array<Types.AgentManaged36>;
1690
- metadata: Types.AgentManaged37;
1921
+ mcp_servers: Array<{
1922
+ type: "url";
1923
+ name: string;
1924
+ url: string;
1925
+ headers?: {
1926
+ [key: string]: string;
1927
+ };
1928
+ timeout_ms?: number;
1929
+ } | {
1930
+ type: "sse";
1931
+ name: string;
1932
+ url: string;
1933
+ headers?: {
1934
+ [key: string]: string;
1935
+ };
1936
+ timeout_ms?: number;
1937
+ } | {
1938
+ type: "stdio";
1939
+ name: string;
1940
+ command: string;
1941
+ args?: Array<string>;
1942
+ env?: {
1943
+ [key: string]: string;
1944
+ };
1945
+ timeout_ms?: number;
1946
+ }>;
1947
+ metadata: {
1948
+ [key: string]: string;
1949
+ };
1691
1950
  model?: {
1692
1951
  id: string;
1693
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1952
+ effort?: {
1953
+ type: "low";
1954
+ } | {
1955
+ type: "medium";
1956
+ } | {
1957
+ type: "high";
1958
+ } | {
1959
+ type: "xhigh";
1960
+ } | {
1961
+ type: "max";
1962
+ };
1694
1963
  inference_geo?: string;
1695
1964
  speed?: "standard" | "fast";
1696
1965
  settings?: {
1697
1966
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1967
+ max_output_tokens?: number;
1698
1968
  };
1699
1969
  };
1700
- multiagent?: null | Types.AgentManaged39;
1970
+ multiagent?: null | {
1971
+ agents: Array<{
1972
+ id: string;
1973
+ type: "agent";
1974
+ version: number;
1975
+ } | {
1976
+ model: string;
1977
+ type: "advisor";
1978
+ }>;
1979
+ type: "coordinator";
1980
+ };
1701
1981
  name: string;
1702
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1703
- system: null | string;
1704
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1705
- type: "agent";
1706
- updated_at: string;
1707
- version: number;
1708
- latest_version?: number;
1709
- active_version: number;
1710
- created_by: {
1711
- type: "user";
1712
- id: string;
1713
- name?: string;
1714
- } | {
1715
- type: "api_key";
1716
- id: string;
1717
- } | null;
1718
- note: string | null;
1719
- bindings: Array<{
1720
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1721
- id: string;
1722
- access: "read_only" | "read_write" | "invoke";
1723
- instructions?: string;
1724
- readonly verified?: boolean;
1725
- enabled?: boolean;
1982
+ skills: Array<{
1983
+ skill_id: string;
1984
+ type: "anthropic";
1985
+ version: string;
1726
1986
  } | {
1727
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1728
- readonly verified?: boolean;
1729
- enabled?: boolean;
1987
+ skill_id: string;
1988
+ type: "custom";
1989
+ version: string;
1990
+ }>;
1991
+ system: null | string;
1992
+ tools: Array<{
1993
+ configs: Array<{
1994
+ enabled: boolean;
1995
+ name: "bash";
1996
+ permission_policy: {
1997
+ type: "always_allow";
1998
+ } | {
1999
+ type: "always_ask";
2000
+ } | {
2001
+ type: "auto";
2002
+ };
2003
+ type: "bash";
2004
+ } | {
2005
+ enabled: boolean;
2006
+ name: "edit";
2007
+ permission_policy: {
2008
+ type: "always_allow";
2009
+ } | {
2010
+ type: "always_ask";
2011
+ } | {
2012
+ type: "auto";
2013
+ };
2014
+ type: "edit";
2015
+ } | {
2016
+ enabled: boolean;
2017
+ name: "read";
2018
+ permission_policy: {
2019
+ type: "always_allow";
2020
+ } | {
2021
+ type: "always_ask";
2022
+ } | {
2023
+ type: "auto";
2024
+ };
2025
+ type: "read";
2026
+ } | {
2027
+ enabled: boolean;
2028
+ name: "write";
2029
+ permission_policy: {
2030
+ type: "always_allow";
2031
+ } | {
2032
+ type: "always_ask";
2033
+ } | {
2034
+ type: "auto";
2035
+ };
2036
+ type: "write";
2037
+ } | {
2038
+ enabled: boolean;
2039
+ name: "glob";
2040
+ permission_policy: {
2041
+ type: "always_allow";
2042
+ } | {
2043
+ type: "always_ask";
2044
+ } | {
2045
+ type: "auto";
2046
+ };
2047
+ type: "glob";
2048
+ } | {
2049
+ enabled: boolean;
2050
+ name: "grep";
2051
+ permission_policy: {
2052
+ type: "always_allow";
2053
+ } | {
2054
+ type: "always_ask";
2055
+ } | {
2056
+ type: "auto";
2057
+ };
2058
+ type: "grep";
2059
+ } | {
2060
+ enabled: boolean;
2061
+ name: "web_fetch";
2062
+ permission_policy: {
2063
+ type: "always_allow";
2064
+ } | {
2065
+ type: "always_ask";
2066
+ } | {
2067
+ type: "auto";
2068
+ };
2069
+ type: "web_fetch";
2070
+ allowed_domains?: Array<string>;
2071
+ blocked_domains?: Array<string>;
2072
+ max_content_tokens?: null | number;
2073
+ } | {
2074
+ enabled: boolean;
2075
+ name: "web_search";
2076
+ permission_policy: {
2077
+ type: "always_allow";
2078
+ } | {
2079
+ type: "always_ask";
2080
+ } | {
2081
+ type: "auto";
2082
+ };
2083
+ type: "web_search";
2084
+ allowed_domains?: Array<string>;
2085
+ blocked_domains?: Array<string>;
2086
+ user_location?: null | {
2087
+ type: "approximate";
2088
+ city?: null | string;
2089
+ country?: null | string;
2090
+ region?: null | string;
2091
+ timezone?: null | string;
2092
+ };
2093
+ } | {
2094
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2095
+ enabled: boolean;
2096
+ permission_policy: {
2097
+ type: "always_allow" | "always_ask";
2098
+ };
2099
+ }>;
2100
+ default_config: {
2101
+ enabled: boolean;
2102
+ permission_policy: {
2103
+ type: "always_allow";
2104
+ } | {
2105
+ type: "always_ask";
2106
+ } | {
2107
+ type: "auto";
2108
+ };
2109
+ };
2110
+ type: "agent_toolset_20260401";
2111
+ } | {
2112
+ type: "mcp_toolset";
2113
+ mcp_server_name: string;
2114
+ default_config?: {
2115
+ enabled?: boolean | null;
2116
+ permission_policy?: null | {
2117
+ type: "always_allow" | "always_ask";
2118
+ };
2119
+ } | null;
2120
+ configs?: Array<{
2121
+ name: string;
2122
+ enabled?: boolean | null;
2123
+ permission_policy?: null | {
2124
+ type: "always_allow" | "always_ask";
2125
+ };
2126
+ }> | null;
2127
+ } | {
2128
+ description: string;
2129
+ input_schema: {
2130
+ type: "object";
2131
+ properties?: null | {
2132
+ [key: string]: unknown;
2133
+ };
2134
+ required?: null | Array<string>;
2135
+ [key: string]: unknown;
2136
+ };
2137
+ name: string;
2138
+ type: "custom";
2139
+ }>;
2140
+ type: "agent";
2141
+ updated_at: string;
2142
+ version: number;
2143
+ latest_version?: number;
2144
+ active_version: number;
2145
+ created_by: {
2146
+ type: "user";
2147
+ id: string;
2148
+ name?: string;
2149
+ } | {
2150
+ type: "api_key";
2151
+ id: string;
2152
+ } | null;
2153
+ note: string | null;
2154
+ deployments_behind: number | null;
2155
+ bindings: Array<{
2156
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
2157
+ id: string;
2158
+ access: "read_only" | "read_write" | "invoke";
2159
+ customer_access?: "read_only" | "read_write" | "invoke";
2160
+ instructions?: string;
2161
+ readonly verified?: boolean;
2162
+ enabled?: boolean;
2163
+ } | {
2164
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
2165
+ readonly verified?: boolean;
2166
+ enabled?: boolean;
1730
2167
  }>;
1731
2168
  kind: "general" | "service" | "assume";
2169
+ computers?: {
2170
+ default: string;
2171
+ allowed: Array<{
2172
+ template: string;
2173
+ name: string;
2174
+ }>;
2175
+ };
1732
2176
  computer_id?: string;
1733
2177
  subagent_model?: string | null;
1734
2178
  subagents?: Array<{
@@ -1821,6 +2265,7 @@ export declare function createAgent(transport: Transport): {
1821
2265
  allowManagedHooksOnly?: boolean;
1822
2266
  allowManagedMcpServersOnly?: boolean;
1823
2267
  allowManagedPermissionRulesOnly?: boolean;
2268
+ idleCompaction?: boolean;
1824
2269
  autoMemoryEnabled?: boolean;
1825
2270
  disabled?: {
1826
2271
  subagents?: Array<string>;
@@ -1829,7 +2274,6 @@ export declare function createAgent(transport: Transport): {
1829
2274
  mcpServers?: Array<string>;
1830
2275
  hooks?: Array<string>;
1831
2276
  };
1832
- idleCompaction?: boolean;
1833
2277
  outputStyle?: string;
1834
2278
  } | null;
1835
2279
  models?: {
@@ -1837,6 +2281,7 @@ export declare function createAgent(transport: Transport): {
1837
2281
  };
1838
2282
  avatar: string | null;
1839
2283
  creation_source: string | null;
2284
+ managed_by: string | null;
1840
2285
  identity_number: string | null;
1841
2286
  environment_id?: string | null;
1842
2287
  vault_ids?: Array<string>;
@@ -1863,6 +2308,7 @@ export declare function createAgent(transport: Transport): {
1863
2308
  speed?: "standard" | "fast";
1864
2309
  settings?: {
1865
2310
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2311
+ max_output_tokens?: number;
1866
2312
  };
1867
2313
  };
1868
2314
  multiagent?: null | Types.AgentManaged39;
@@ -1885,9 +2331,10 @@ export declare function createAgent(transport: Transport): {
1885
2331
  } | null;
1886
2332
  note: string | null;
1887
2333
  bindings: Array<{
1888
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2334
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1889
2335
  id: string;
1890
2336
  access: "read_only" | "read_write" | "invoke";
2337
+ customer_access?: "read_only" | "read_write" | "invoke";
1891
2338
  instructions?: string;
1892
2339
  readonly verified?: boolean;
1893
2340
  enabled?: boolean;
@@ -1897,6 +2344,13 @@ export declare function createAgent(transport: Transport): {
1897
2344
  enabled?: boolean;
1898
2345
  }>;
1899
2346
  kind: "general" | "service" | "assume";
2347
+ computers?: {
2348
+ default: string;
2349
+ allowed: Array<{
2350
+ template: string;
2351
+ name: string;
2352
+ }>;
2353
+ };
1900
2354
  computer_id?: string;
1901
2355
  subagent_model?: string | null;
1902
2356
  subagents?: Array<{
@@ -1989,6 +2443,7 @@ export declare function createAgent(transport: Transport): {
1989
2443
  allowManagedHooksOnly?: boolean;
1990
2444
  allowManagedMcpServersOnly?: boolean;
1991
2445
  allowManagedPermissionRulesOnly?: boolean;
2446
+ idleCompaction?: boolean;
1992
2447
  autoMemoryEnabled?: boolean;
1993
2448
  disabled?: {
1994
2449
  subagents?: Array<string>;
@@ -1997,7 +2452,6 @@ export declare function createAgent(transport: Transport): {
1997
2452
  mcpServers?: Array<string>;
1998
2453
  hooks?: Array<string>;
1999
2454
  };
2000
- idleCompaction?: boolean;
2001
2455
  outputStyle?: string;
2002
2456
  } | null;
2003
2457
  models?: {
@@ -2005,6 +2459,7 @@ export declare function createAgent(transport: Transport): {
2005
2459
  };
2006
2460
  avatar: string | null;
2007
2461
  creation_source: string | null;
2462
+ managed_by: string | null;
2008
2463
  identity_number: string | null;
2009
2464
  environment_id?: string | null;
2010
2465
  vault_ids?: Array<string>;
@@ -2092,6 +2547,24 @@ export declare function createAgent(transport: Transport): {
2092
2547
  tier: "light" | "heavy";
2093
2548
  }>;
2094
2549
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2550
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2551
+ variant: "image" | "pdf" | "text" | "original";
2552
+ version?: string;
2553
+ mime_type?: string;
2554
+ size?: number;
2555
+ file_id?: string;
2556
+ url?: string;
2557
+ expires_at?: string;
2558
+ cached: boolean;
2559
+ fallback?: "content";
2560
+ skipped?: boolean;
2561
+ }>;
2562
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2563
+ path: string;
2564
+ size: number;
2565
+ mtime: string | null;
2566
+ version: string;
2567
+ }>;
2095
2568
  };
2096
2569
  leases: {
2097
2570
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2165,6 +2638,8 @@ export declare function createAgent(transport: Transport): {
2165
2638
  id: string;
2166
2639
  type: "agent";
2167
2640
  version: number;
2641
+ pinned_version?: number | null;
2642
+ active_version?: number | null;
2168
2643
  } | {
2169
2644
  id: string;
2170
2645
  type: "agent_with_overrides";
@@ -2202,6 +2677,8 @@ export declare function createAgent(transport: Transport): {
2202
2677
  id: string;
2203
2678
  type: "agent";
2204
2679
  version: number;
2680
+ pinned_version?: number | null;
2681
+ active_version?: number | null;
2205
2682
  } | {
2206
2683
  id: string;
2207
2684
  type: "agent_with_overrides";
@@ -2240,6 +2717,8 @@ export declare function createAgent(transport: Transport): {
2240
2717
  id: string;
2241
2718
  type: "agent";
2242
2719
  version: number;
2720
+ pinned_version?: number | null;
2721
+ active_version?: number | null;
2243
2722
  } | {
2244
2723
  id: string;
2245
2724
  type: "agent_with_overrides";
@@ -2279,6 +2758,8 @@ export declare function createAgent(transport: Transport): {
2279
2758
  id: string;
2280
2759
  type: "agent";
2281
2760
  version: number;
2761
+ pinned_version?: number | null;
2762
+ active_version?: number | null;
2282
2763
  } | {
2283
2764
  id: string;
2284
2765
  type: "agent_with_overrides";
@@ -2316,6 +2797,8 @@ export declare function createAgent(transport: Transport): {
2316
2797
  id: string;
2317
2798
  type: "agent";
2318
2799
  version: number;
2800
+ pinned_version?: number | null;
2801
+ active_version?: number | null;
2319
2802
  } | {
2320
2803
  id: string;
2321
2804
  type: "agent_with_overrides";
@@ -2357,6 +2840,8 @@ export declare function createAgent(transport: Transport): {
2357
2840
  id: string;
2358
2841
  type: "agent";
2359
2842
  version: number;
2843
+ pinned_version?: number | null;
2844
+ active_version?: number | null;
2360
2845
  } | {
2361
2846
  id: string;
2362
2847
  type: "agent_with_overrides";
@@ -2395,6 +2880,8 @@ export declare function createAgent(transport: Transport): {
2395
2880
  id: string;
2396
2881
  type: "agent";
2397
2882
  version: number;
2883
+ pinned_version?: number | null;
2884
+ active_version?: number | null;
2398
2885
  } | {
2399
2886
  id: string;
2400
2887
  type: "agent_with_overrides";
@@ -2438,46 +2925,589 @@ export declare function createAgent(transport: Transport): {
2438
2925
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2439
2926
  };
2440
2927
  sessions: {
2441
- archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2442
- id: string;
2443
- agent: {
2928
+ agentVersion: {
2929
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2444
2930
  id: string;
2445
- description: null | string;
2446
- mcp_servers: Array<Types.AgentManaged36>;
2447
- model: {
2931
+ agent: {
2448
2932
  id: string;
2449
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2450
- inference_geo?: string;
2451
- speed?: "standard" | "fast";
2452
- settings?: {
2453
- reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2933
+ description: null | string;
2934
+ mcp_servers: Array<{
2935
+ type: "url";
2936
+ name: string;
2937
+ url: string;
2938
+ headers?: {
2939
+ [key: string]: string;
2940
+ };
2941
+ timeout_ms?: number;
2942
+ } | {
2943
+ type: "sse";
2944
+ name: string;
2945
+ url: string;
2946
+ headers?: {
2947
+ [key: string]: string;
2948
+ };
2949
+ timeout_ms?: number;
2950
+ } | {
2951
+ type: "stdio";
2952
+ name: string;
2953
+ command: string;
2954
+ args?: Array<string>;
2955
+ env?: {
2956
+ [key: string]: string;
2957
+ };
2958
+ timeout_ms?: number;
2959
+ }>;
2960
+ model: {
2961
+ id: string;
2962
+ effort?: {
2963
+ type: "low";
2964
+ } | {
2965
+ type: "medium";
2966
+ } | {
2967
+ type: "high";
2968
+ } | {
2969
+ type: "xhigh";
2970
+ } | {
2971
+ type: "max";
2972
+ };
2973
+ inference_geo?: string;
2974
+ speed?: "standard" | "fast";
2975
+ settings?: {
2976
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2977
+ max_output_tokens?: number;
2978
+ };
2454
2979
  };
2455
- };
2456
- multiagent: null | Types.AgentManaged171;
2457
- name: string;
2458
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
2459
- system: null | string;
2460
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
2461
- type: "agent";
2462
- version: number;
2463
- };
2464
- archived_at: null | string;
2465
- budget: null | Types.AgentManaged76;
2466
- created_at: string;
2467
- environment_id?: string;
2468
- metadata: Types.AgentManaged173;
2469
- outcome_evaluations: Array<Types.AgentManaged174>;
2470
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
2471
- stats: Types.AgentManaged178;
2472
- status: "rescheduling" | "running" | "idle" | "terminated";
2473
- title: null | string;
2474
- type: "session";
2475
- updated_at: string;
2476
- usage: Types.AgentManaged179;
2477
- vault_ids: Array<string>;
2478
- deployment_id?: null | string;
2479
- cwd: string;
2480
- computer_id?: string;
2980
+ multiagent: null | {
2981
+ agents: Array<{
2982
+ model: string;
2983
+ type: "advisor";
2984
+ } | {
2985
+ id: string;
2986
+ description: null | string;
2987
+ mcp_servers: Array<{
2988
+ type: "url";
2989
+ name: string;
2990
+ url: string;
2991
+ headers?: {
2992
+ [key: string]: string;
2993
+ };
2994
+ timeout_ms?: number;
2995
+ } | {
2996
+ type: "sse";
2997
+ name: string;
2998
+ url: string;
2999
+ headers?: {
3000
+ [key: string]: string;
3001
+ };
3002
+ timeout_ms?: number;
3003
+ } | {
3004
+ type: "stdio";
3005
+ name: string;
3006
+ command: string;
3007
+ args?: Array<string>;
3008
+ env?: {
3009
+ [key: string]: string;
3010
+ };
3011
+ timeout_ms?: number;
3012
+ }>;
3013
+ model: {
3014
+ id: string;
3015
+ effort?: {
3016
+ type: "low";
3017
+ } | {
3018
+ type: "medium";
3019
+ } | {
3020
+ type: "high";
3021
+ } | {
3022
+ type: "xhigh";
3023
+ } | {
3024
+ type: "max";
3025
+ };
3026
+ inference_geo?: string;
3027
+ speed?: "standard" | "fast";
3028
+ };
3029
+ name: string;
3030
+ skills: Array<{
3031
+ skill_id: string;
3032
+ type: "anthropic";
3033
+ version: string;
3034
+ } | {
3035
+ skill_id: string;
3036
+ type: "custom";
3037
+ version: string;
3038
+ }>;
3039
+ system: null | string;
3040
+ tools: Array<{
3041
+ configs: Array<{
3042
+ enabled: boolean;
3043
+ name: "bash";
3044
+ permission_policy: {
3045
+ type: "always_allow";
3046
+ } | {
3047
+ type: "always_ask";
3048
+ } | {
3049
+ type: "auto";
3050
+ };
3051
+ type: "bash";
3052
+ } | {
3053
+ enabled: boolean;
3054
+ name: "edit";
3055
+ permission_policy: {
3056
+ type: "always_allow";
3057
+ } | {
3058
+ type: "always_ask";
3059
+ } | {
3060
+ type: "auto";
3061
+ };
3062
+ type: "edit";
3063
+ } | {
3064
+ enabled: boolean;
3065
+ name: "read";
3066
+ permission_policy: {
3067
+ type: "always_allow";
3068
+ } | {
3069
+ type: "always_ask";
3070
+ } | {
3071
+ type: "auto";
3072
+ };
3073
+ type: "read";
3074
+ } | {
3075
+ enabled: boolean;
3076
+ name: "write";
3077
+ permission_policy: {
3078
+ type: "always_allow";
3079
+ } | {
3080
+ type: "always_ask";
3081
+ } | {
3082
+ type: "auto";
3083
+ };
3084
+ type: "write";
3085
+ } | {
3086
+ enabled: boolean;
3087
+ name: "glob";
3088
+ permission_policy: {
3089
+ type: "always_allow";
3090
+ } | {
3091
+ type: "always_ask";
3092
+ } | {
3093
+ type: "auto";
3094
+ };
3095
+ type: "glob";
3096
+ } | {
3097
+ enabled: boolean;
3098
+ name: "grep";
3099
+ permission_policy: {
3100
+ type: "always_allow";
3101
+ } | {
3102
+ type: "always_ask";
3103
+ } | {
3104
+ type: "auto";
3105
+ };
3106
+ type: "grep";
3107
+ } | {
3108
+ enabled: boolean;
3109
+ name: "web_fetch";
3110
+ permission_policy: {
3111
+ type: "always_allow";
3112
+ } | {
3113
+ type: "always_ask";
3114
+ } | {
3115
+ type: "auto";
3116
+ };
3117
+ type: "web_fetch";
3118
+ allowed_domains?: Array<string>;
3119
+ blocked_domains?: Array<string>;
3120
+ max_content_tokens?: null | number;
3121
+ } | {
3122
+ enabled: boolean;
3123
+ name: "web_search";
3124
+ permission_policy: {
3125
+ type: "always_allow";
3126
+ } | {
3127
+ type: "always_ask";
3128
+ } | {
3129
+ type: "auto";
3130
+ };
3131
+ type: "web_search";
3132
+ allowed_domains?: Array<string>;
3133
+ blocked_domains?: Array<string>;
3134
+ user_location?: null | {
3135
+ type: "approximate";
3136
+ city?: null | string;
3137
+ country?: null | string;
3138
+ region?: null | string;
3139
+ timezone?: null | string;
3140
+ };
3141
+ } | {
3142
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3143
+ enabled: boolean;
3144
+ permission_policy: {
3145
+ type: "always_allow" | "always_ask";
3146
+ };
3147
+ }>;
3148
+ default_config: {
3149
+ enabled: boolean;
3150
+ permission_policy: {
3151
+ type: "always_allow";
3152
+ } | {
3153
+ type: "always_ask";
3154
+ } | {
3155
+ type: "auto";
3156
+ };
3157
+ };
3158
+ type: "agent_toolset_20260401";
3159
+ } | {
3160
+ type: "mcp_toolset";
3161
+ mcp_server_name: string;
3162
+ default_config?: {
3163
+ enabled?: boolean | null;
3164
+ permission_policy?: null | {
3165
+ type: "always_allow" | "always_ask";
3166
+ };
3167
+ } | null;
3168
+ configs?: Array<{
3169
+ name: string;
3170
+ enabled?: boolean | null;
3171
+ permission_policy?: null | {
3172
+ type: "always_allow" | "always_ask";
3173
+ };
3174
+ }> | null;
3175
+ } | {
3176
+ description: string;
3177
+ input_schema: {
3178
+ type: "object";
3179
+ properties?: null | {
3180
+ [key: string]: unknown;
3181
+ };
3182
+ required?: null | Array<string>;
3183
+ [key: string]: unknown;
3184
+ };
3185
+ name: string;
3186
+ type: "custom";
3187
+ }>;
3188
+ type: "agent";
3189
+ version: number;
3190
+ }>;
3191
+ type: "coordinator";
3192
+ };
3193
+ name: string;
3194
+ skills: Array<{
3195
+ skill_id: string;
3196
+ type: "anthropic";
3197
+ version: string;
3198
+ } | {
3199
+ skill_id: string;
3200
+ type: "custom";
3201
+ version: string;
3202
+ }>;
3203
+ system: null | string;
3204
+ tools: Array<{
3205
+ configs: Array<{
3206
+ enabled: boolean;
3207
+ name: "bash";
3208
+ permission_policy: {
3209
+ type: "always_allow";
3210
+ } | {
3211
+ type: "always_ask";
3212
+ } | {
3213
+ type: "auto";
3214
+ };
3215
+ type: "bash";
3216
+ } | {
3217
+ enabled: boolean;
3218
+ name: "edit";
3219
+ permission_policy: {
3220
+ type: "always_allow";
3221
+ } | {
3222
+ type: "always_ask";
3223
+ } | {
3224
+ type: "auto";
3225
+ };
3226
+ type: "edit";
3227
+ } | {
3228
+ enabled: boolean;
3229
+ name: "read";
3230
+ permission_policy: {
3231
+ type: "always_allow";
3232
+ } | {
3233
+ type: "always_ask";
3234
+ } | {
3235
+ type: "auto";
3236
+ };
3237
+ type: "read";
3238
+ } | {
3239
+ enabled: boolean;
3240
+ name: "write";
3241
+ permission_policy: {
3242
+ type: "always_allow";
3243
+ } | {
3244
+ type: "always_ask";
3245
+ } | {
3246
+ type: "auto";
3247
+ };
3248
+ type: "write";
3249
+ } | {
3250
+ enabled: boolean;
3251
+ name: "glob";
3252
+ permission_policy: {
3253
+ type: "always_allow";
3254
+ } | {
3255
+ type: "always_ask";
3256
+ } | {
3257
+ type: "auto";
3258
+ };
3259
+ type: "glob";
3260
+ } | {
3261
+ enabled: boolean;
3262
+ name: "grep";
3263
+ permission_policy: {
3264
+ type: "always_allow";
3265
+ } | {
3266
+ type: "always_ask";
3267
+ } | {
3268
+ type: "auto";
3269
+ };
3270
+ type: "grep";
3271
+ } | {
3272
+ enabled: boolean;
3273
+ name: "web_fetch";
3274
+ permission_policy: {
3275
+ type: "always_allow";
3276
+ } | {
3277
+ type: "always_ask";
3278
+ } | {
3279
+ type: "auto";
3280
+ };
3281
+ type: "web_fetch";
3282
+ allowed_domains?: Array<string>;
3283
+ blocked_domains?: Array<string>;
3284
+ max_content_tokens?: null | number;
3285
+ } | {
3286
+ enabled: boolean;
3287
+ name: "web_search";
3288
+ permission_policy: {
3289
+ type: "always_allow";
3290
+ } | {
3291
+ type: "always_ask";
3292
+ } | {
3293
+ type: "auto";
3294
+ };
3295
+ type: "web_search";
3296
+ allowed_domains?: Array<string>;
3297
+ blocked_domains?: Array<string>;
3298
+ user_location?: null | {
3299
+ type: "approximate";
3300
+ city?: null | string;
3301
+ country?: null | string;
3302
+ region?: null | string;
3303
+ timezone?: null | string;
3304
+ };
3305
+ } | {
3306
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3307
+ enabled: boolean;
3308
+ permission_policy: {
3309
+ type: "always_allow" | "always_ask";
3310
+ };
3311
+ }>;
3312
+ default_config: {
3313
+ enabled: boolean;
3314
+ permission_policy: {
3315
+ type: "always_allow";
3316
+ } | {
3317
+ type: "always_ask";
3318
+ } | {
3319
+ type: "auto";
3320
+ };
3321
+ };
3322
+ type: "agent_toolset_20260401";
3323
+ } | {
3324
+ type: "mcp_toolset";
3325
+ mcp_server_name: string;
3326
+ default_config?: {
3327
+ enabled?: boolean | null;
3328
+ permission_policy?: null | {
3329
+ type: "always_allow" | "always_ask";
3330
+ };
3331
+ } | null;
3332
+ configs?: Array<{
3333
+ name: string;
3334
+ enabled?: boolean | null;
3335
+ permission_policy?: null | {
3336
+ type: "always_allow" | "always_ask";
3337
+ };
3338
+ }> | null;
3339
+ } | {
3340
+ description: string;
3341
+ input_schema: {
3342
+ type: "object";
3343
+ properties?: null | {
3344
+ [key: string]: unknown;
3345
+ };
3346
+ required?: null | Array<string>;
3347
+ [key: string]: unknown;
3348
+ };
3349
+ name: string;
3350
+ type: "custom";
3351
+ }>;
3352
+ type: "agent";
3353
+ version: number;
3354
+ };
3355
+ archived_at: null | string;
3356
+ budget: null | {
3357
+ max_list_cost: {
3358
+ amount: string;
3359
+ currency: "USD";
3360
+ };
3361
+ type: "limit";
3362
+ };
3363
+ created_at: string;
3364
+ environment_id?: string;
3365
+ metadata: {
3366
+ [key: string]: string;
3367
+ };
3368
+ outcome_evaluations: Array<{
3369
+ completed_at: null | string;
3370
+ description: string;
3371
+ explanation: null | string;
3372
+ iteration: number;
3373
+ outcome_id: string;
3374
+ result: string;
3375
+ type: "outcome_evaluation";
3376
+ }>;
3377
+ resources: Array<{
3378
+ id: string;
3379
+ created_at: string;
3380
+ mount_path: string;
3381
+ type: "github_repository";
3382
+ updated_at: string;
3383
+ url: string;
3384
+ checkout?: null | {
3385
+ name: string;
3386
+ type: "branch";
3387
+ } | {
3388
+ sha: string;
3389
+ type: "commit";
3390
+ };
3391
+ } | {
3392
+ id: string;
3393
+ created_at: string;
3394
+ file_id: string;
3395
+ mount_path: string;
3396
+ type: "file";
3397
+ updated_at: string;
3398
+ } | {
3399
+ memory_store_id: string;
3400
+ type: "memory_store";
3401
+ access?: null | "read_write" | "read_only";
3402
+ description?: string;
3403
+ instructions?: null | string;
3404
+ mount_path?: null | string;
3405
+ name?: null | string;
3406
+ }>;
3407
+ stats: {
3408
+ active_seconds?: number;
3409
+ duration_seconds?: number;
3410
+ };
3411
+ status: "rescheduling" | "running" | "idle" | "terminated";
3412
+ title: null | string;
3413
+ type: "session";
3414
+ updated_at: string;
3415
+ usage: {
3416
+ active_seconds?: number;
3417
+ cache_creation?: {
3418
+ ephemeral_1h_input_tokens?: number;
3419
+ ephemeral_5m_input_tokens?: number;
3420
+ };
3421
+ cache_read_input_tokens?: number;
3422
+ input_tokens?: number;
3423
+ list_cost?: null | {
3424
+ amount: string;
3425
+ currency: "USD";
3426
+ };
3427
+ output_tokens?: number;
3428
+ server_tool_use?: null | {
3429
+ web_fetch_requests?: number;
3430
+ web_search_requests?: number;
3431
+ };
3432
+ cost_by_product?: {
3433
+ [key: string]: string;
3434
+ };
3435
+ subagent_cost_micro_usd?: number;
3436
+ };
3437
+ vault_ids: Array<string>;
3438
+ deployment_id?: null | string;
3439
+ cwd: string;
3440
+ workspace?: {
3441
+ kind: "shared" | "isolated";
3442
+ path?: string;
3443
+ branch?: string;
3444
+ };
3445
+ computer_id?: string;
3446
+ model?: {
3447
+ id: string;
3448
+ thinking: {
3449
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3450
+ can_disable: boolean;
3451
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3452
+ } | null;
3453
+ };
3454
+ thinking?: {
3455
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3456
+ } | null;
3457
+ forked_from?: {
3458
+ session_id: string;
3459
+ message_id: string;
3460
+ } | null;
3461
+ readonly external_user_id: string | null;
3462
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3463
+ }>;
3464
+ };
3465
+ archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
3466
+ id: string;
3467
+ agent: {
3468
+ id: string;
3469
+ description: null | string;
3470
+ mcp_servers: Array<Types.AgentManaged36>;
3471
+ model: {
3472
+ id: string;
3473
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
3474
+ inference_geo?: string;
3475
+ speed?: "standard" | "fast";
3476
+ settings?: {
3477
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3478
+ max_output_tokens?: number;
3479
+ };
3480
+ };
3481
+ multiagent: null | Types.AgentManaged171;
3482
+ name: string;
3483
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
3484
+ system: null | string;
3485
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
3486
+ type: "agent";
3487
+ version: number;
3488
+ };
3489
+ archived_at: null | string;
3490
+ budget: null | Types.AgentManaged76;
3491
+ created_at: string;
3492
+ environment_id?: string;
3493
+ metadata: Types.AgentManaged173;
3494
+ outcome_evaluations: Array<Types.AgentManaged174>;
3495
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3496
+ stats: Types.AgentManaged178;
3497
+ status: "rescheduling" | "running" | "idle" | "terminated";
3498
+ title: null | string;
3499
+ type: "session";
3500
+ updated_at: string;
3501
+ usage: Types.AgentManaged179;
3502
+ vault_ids: Array<string>;
3503
+ deployment_id?: null | string;
3504
+ cwd: string;
3505
+ workspace?: {
3506
+ kind: "shared" | "isolated";
3507
+ path?: string;
3508
+ branch?: string;
3509
+ };
3510
+ computer_id?: string;
2481
3511
  model?: {
2482
3512
  id: string;
2483
3513
  thinking: {
@@ -2612,6 +3642,7 @@ export declare function createAgent(transport: Transport): {
2612
3642
  speed?: "standard" | "fast";
2613
3643
  settings?: {
2614
3644
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3645
+ max_output_tokens?: number;
2615
3646
  };
2616
3647
  };
2617
3648
  multiagent: null | Types.AgentManaged171;
@@ -2638,6 +3669,11 @@ export declare function createAgent(transport: Transport): {
2638
3669
  vault_ids: Array<string>;
2639
3670
  deployment_id?: null | string;
2640
3671
  cwd: string;
3672
+ workspace?: {
3673
+ kind: "shared" | "isolated";
3674
+ path?: string;
3675
+ branch?: string;
3676
+ };
2641
3677
  computer_id?: string;
2642
3678
  model?: {
2643
3679
  id: string;
@@ -2658,6 +3694,13 @@ export declare function createAgent(transport: Transport): {
2658
3694
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2659
3695
  }>;
2660
3696
  delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
3697
+ dictations: {
3698
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
3699
+ id: string;
3700
+ push_url: string;
3701
+ expires_at: string;
3702
+ }>;
3703
+ };
2661
3704
  events: {
2662
3705
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
2663
3706
  data: Array<{
@@ -2698,7 +3741,6 @@ export declare function createAgent(transport: Transport): {
2698
3741
  run_id: string | null;
2699
3742
  message_id?: string;
2700
3743
  } | {
2701
- full_access_available?: boolean;
2702
3744
  id: string;
2703
3745
  input: Types.AgentManaged197;
2704
3746
  mcp_server_name: string;
@@ -2708,6 +3750,18 @@ export declare function createAgent(transport: Transport): {
2708
3750
  evaluated_permission?: "allow" | "deny" | "ask";
2709
3751
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2710
3752
  session_thread_id?: null | string;
3753
+ permission_suggestions?: Array<{
3754
+ type: "add_rules";
3755
+ behavior: "allow";
3756
+ destination: "agent" | "session";
3757
+ rules: Array<{
3758
+ tool_name: string;
3759
+ rule_content: string;
3760
+ }>;
3761
+ }>;
3762
+ full_access_available?: boolean;
3763
+ user_once?: true;
3764
+ guarded_rule?: string;
2711
3765
  run_id: string | null;
2712
3766
  _meta?: {
2713
3767
  ui?: {
@@ -2721,17 +3775,6 @@ export declare function createAgent(transport: Transport): {
2721
3775
  };
2722
3776
  source?: "app" | "codemode";
2723
3777
  parent_tool_use_id?: string;
2724
- user_once?: true;
2725
- guarded_rule?: string;
2726
- permission_suggestions?: Array<{
2727
- type: "add_rules";
2728
- behavior: "allow";
2729
- destination: "agent" | "session";
2730
- rules: Array<{
2731
- tool_name: string;
2732
- rule_content: string;
2733
- }>;
2734
- }>;
2735
3778
  title?: string;
2736
3779
  input_titles?: {
2737
3780
  [key: string]: string;
@@ -2750,7 +3793,6 @@ export declare function createAgent(transport: Transport): {
2750
3793
  };
2751
3794
  source?: "app" | "codemode";
2752
3795
  } | {
2753
- full_access_available?: boolean;
2754
3796
  id: string;
2755
3797
  input: Types.AgentManaged206;
2756
3798
  name: string;
@@ -2759,9 +3801,6 @@ export declare function createAgent(transport: Transport): {
2759
3801
  evaluated_permission?: "allow" | "deny" | "ask";
2760
3802
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2761
3803
  session_thread_id?: null | string;
2762
- run_id: string | null;
2763
- user_once?: true;
2764
- guarded_rule?: string;
2765
3804
  permission_suggestions?: Array<{
2766
3805
  type: "add_rules";
2767
3806
  behavior: "allow";
@@ -2771,6 +3810,10 @@ export declare function createAgent(transport: Transport): {
2771
3810
  rule_content: string;
2772
3811
  }>;
2773
3812
  }>;
3813
+ full_access_available?: boolean;
3814
+ user_once?: true;
3815
+ guarded_rule?: string;
3816
+ run_id: string | null;
2774
3817
  } | {
2775
3818
  id: string;
2776
3819
  processed_at: string;
@@ -2791,9 +3834,6 @@ export declare function createAgent(transport: Transport): {
2791
3834
  type: "session.status_idle";
2792
3835
  run_id: string | null;
2793
3836
  } | 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 | {
2794
- permission_mode_version?: number;
2795
- previous_permission_mode?: string | null;
2796
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2797
3837
  id: string;
2798
3838
  processed_at: string;
2799
3839
  type: "session.updated";
@@ -2801,6 +3841,9 @@ export declare function createAgent(transport: Transport): {
2801
3841
  budget?: null | Types.AgentManaged76;
2802
3842
  metadata?: Types.AgentManaged246;
2803
3843
  title?: null | string;
3844
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3845
+ previous_permission_mode?: string | null;
3846
+ permission_mode_version?: number;
2804
3847
  model?: {
2805
3848
  id: string;
2806
3849
  };
@@ -2810,6 +3853,8 @@ export declare function createAgent(transport: Transport): {
2810
3853
  processed_at: string;
2811
3854
  forked_from_session_id: string;
2812
3855
  forked_from_message_id: string;
3856
+ message_id?: string;
3857
+ session_thread_id?: string | null;
2813
3858
  } | {
2814
3859
  id: string;
2815
3860
  type: "session.goal_changed";
@@ -2840,6 +3885,8 @@ export declare function createAgent(transport: Transport): {
2840
3885
  created_at: number;
2841
3886
  updated_at: number;
2842
3887
  } | null;
3888
+ message_id?: string;
3889
+ session_thread_id?: string | null;
2843
3890
  } | {
2844
3891
  id: string;
2845
3892
  type: "session.goal_verification";
@@ -2854,26 +3901,179 @@ export declare function createAgent(transport: Transport): {
2854
3901
  reason: string;
2855
3902
  next_action?: string;
2856
3903
  };
3904
+ message_id?: string;
3905
+ session_thread_id?: string | null;
2857
3906
  } | {
2858
3907
  id: string;
2859
3908
  type: "user.steer";
2860
3909
  event_id: string;
2861
3910
  processed_at: string;
3911
+ message_id?: string;
3912
+ session_thread_id?: string | null;
3913
+ } | {
3914
+ id: string;
3915
+ type: "cognition.surfaced";
3916
+ processed_at: string;
3917
+ worker_session_id: string;
3918
+ name: string;
3919
+ state: "done" | "waiting" | "failed" | "archived";
3920
+ experience_id?: string;
3921
+ result?: {
3922
+ message?: string;
3923
+ links?: Array<string>;
3924
+ files?: Array<{
3925
+ name?: string;
3926
+ href?: string;
3927
+ }>;
3928
+ held?: Array<{
3929
+ id?: string;
3930
+ summary?: string;
3931
+ effect?: string;
3932
+ method?: string;
3933
+ path?: string;
3934
+ expires_at?: string;
3935
+ }>;
3936
+ };
3937
+ } | {
3938
+ id: string;
3939
+ type: "cognition.intention_woken";
3940
+ processed_at: string;
3941
+ node_id: string;
3942
+ reason: "open_engram" | "assignment";
3943
+ } | {
3944
+ id: string;
3945
+ type: "agent.operation_approval_requested";
3946
+ processed_at: string;
3947
+ approval_id: string;
3948
+ operation_id: string;
3949
+ effect: "outward" | "irreversible";
3950
+ method: string;
3951
+ path: string;
3952
+ summary: string;
3953
+ expires_at: string;
3954
+ worker_session_id?: string;
3955
+ worker_name?: string;
3956
+ } | {
3957
+ id: string;
3958
+ type: "agent.operation_approval_decided";
3959
+ processed_at: string;
3960
+ approval_id: string;
3961
+ status: "approved" | "refused" | "expired";
3962
+ } | {
3963
+ id: string;
3964
+ type: "session.prompt_configuration_mismatch";
3965
+ processed_at: string;
3966
+ pinned_revision_id: string;
3967
+ current_revision_id: string;
2862
3968
  } | {
2863
3969
  id: string;
2864
- type: "user.tool_confirmation";
3970
+ type: "session.prompt_rev_changed";
3971
+ processed_at: string;
3972
+ config_revision_id: string;
3973
+ changed: Array<{
3974
+ name: string;
3975
+ rev: string | null;
3976
+ }>;
3977
+ } | {
3978
+ id: string;
3979
+ type: "session.computer_tier";
3980
+ processed_at: string;
3981
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
3982
+ tier: "light" | "heavy";
3983
+ duration_ms: number;
3984
+ error_code?: string;
3985
+ status?: {
3986
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
3987
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
3988
+ percent?: number;
3989
+ files_done?: number;
3990
+ files_total?: number;
3991
+ idle_release_at?: number;
3992
+ retry_at?: number;
3993
+ epoch?: number;
3994
+ heavy_instance?: string | null;
3995
+ heavy_paused?: boolean;
3996
+ };
3997
+ } | {
3998
+ id: string;
3999
+ type: "agent.artifact_delivered";
4000
+ processed_at: string;
4001
+ artifact: {
4002
+ object: "artifact";
4003
+ id: string;
4004
+ session_id: string;
4005
+ run_id: string | null;
4006
+ name: string;
4007
+ version: number;
4008
+ parts: Array<{
4009
+ [key: string]: unknown;
4010
+ }>;
4011
+ source_hrefs: Array<string>;
4012
+ create_time: string;
4013
+ update_time: string;
4014
+ };
4015
+ } | {
4016
+ id: string;
4017
+ type: "agent.image_generation";
2865
4018
  processed_at: string;
2866
4019
  tool_use_id: string;
2867
- result: "allow";
2868
- answers: {
2869
- [key: string]: string;
4020
+ index: number;
4021
+ total: number;
4022
+ status: string;
4023
+ mode?: string;
4024
+ aspect?: string;
4025
+ prompt?: string;
4026
+ model?: string;
4027
+ file_id?: string;
4028
+ label?: string;
4029
+ width?: number;
4030
+ height?: number;
4031
+ revised_prompt?: string;
4032
+ source_labels?: Array<string>;
4033
+ caption?: string;
4034
+ slot?: number | null;
4035
+ replaces?: string;
4036
+ version?: number;
4037
+ failure?: {
4038
+ reason?: string;
2870
4039
  };
2871
- annotations?: {
2872
- [key: string]: {
2873
- preview?: string;
2874
- notes?: string;
2875
- };
4040
+ } | {
4041
+ id: string;
4042
+ type: "session.image_labeled";
4043
+ processed_at: string;
4044
+ label: string;
4045
+ file_id: string;
4046
+ origin: "generated" | "uploaded";
4047
+ filename: string;
4048
+ tool_use_id?: string;
4049
+ version?: number;
4050
+ replaced_file_id?: string;
4051
+ } | {
4052
+ id: string;
4053
+ type: "session.image_set_planned";
4054
+ processed_at: string;
4055
+ tool_use_id: string;
4056
+ items: Array<unknown>;
4057
+ title?: string;
4058
+ } | {
4059
+ id: string;
4060
+ type: "session.project_attached";
4061
+ processed_at: string;
4062
+ project: {
4063
+ id: string;
4064
+ name: string;
4065
+ path: string;
2876
4066
  };
4067
+ message_id?: string;
4068
+ session_thread_id?: string | null;
4069
+ } | {
4070
+ id: string;
4071
+ type: "session.project_detached";
4072
+ processed_at: string;
4073
+ project_id: string;
4074
+ reason?: "project_removed";
4075
+ message_id?: string;
4076
+ session_thread_id?: string | null;
2877
4077
  }>;
2878
4078
  next_page: string | null;
2879
4079
  }>;
@@ -2894,21 +4094,8 @@ export declare function createAgent(transport: Transport): {
2894
4094
  type: "user.steer";
2895
4095
  event_id: string;
2896
4096
  processed_at: string;
2897
- } | {
2898
- id: string;
2899
- type: "user.tool_confirmation";
2900
- processed_at: string;
2901
- tool_use_id: string;
2902
- result: "allow";
2903
- answers: {
2904
- [key: string]: string;
2905
- };
2906
- annotations?: {
2907
- [key: string]: {
2908
- preview?: string;
2909
- notes?: string;
2910
- };
2911
- };
4097
+ message_id?: string;
4098
+ session_thread_id?: string | null;
2912
4099
  }>;
2913
4100
  }>;
2914
4101
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2961,6 +4148,7 @@ export declare function createAgent(transport: Transport): {
2961
4148
  speed?: "standard" | "fast";
2962
4149
  settings?: {
2963
4150
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4151
+ max_output_tokens?: number;
2964
4152
  };
2965
4153
  };
2966
4154
  multiagent: null | {
@@ -3423,6 +4611,11 @@ export declare function createAgent(transport: Transport): {
3423
4611
  vault_ids: Array<string>;
3424
4612
  deployment_id?: null | string;
3425
4613
  cwd: string;
4614
+ workspace?: {
4615
+ kind: "shared" | "isolated";
4616
+ path?: string;
4617
+ branch?: string;
4618
+ };
3426
4619
  computer_id?: string;
3427
4620
  model?: {
3428
4621
  id: string;
@@ -3456,6 +4649,7 @@ export declare function createAgent(transport: Transport): {
3456
4649
  speed?: "standard" | "fast";
3457
4650
  settings?: {
3458
4651
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4652
+ max_output_tokens?: number;
3459
4653
  };
3460
4654
  };
3461
4655
  multiagent: null | Types.AgentManaged171;
@@ -3470,18 +4664,561 @@ export declare function createAgent(transport: Transport): {
3470
4664
  budget: null | Types.AgentManaged76;
3471
4665
  created_at: string;
3472
4666
  environment_id?: string;
3473
- metadata: Types.AgentManaged173;
3474
- outcome_evaluations: Array<Types.AgentManaged174>;
3475
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3476
- stats: Types.AgentManaged178;
4667
+ metadata: Types.AgentManaged173;
4668
+ outcome_evaluations: Array<Types.AgentManaged174>;
4669
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4670
+ stats: Types.AgentManaged178;
4671
+ status: "rescheduling" | "running" | "idle" | "terminated";
4672
+ title: null | string;
4673
+ type: "session";
4674
+ updated_at: string;
4675
+ usage: Types.AgentManaged179;
4676
+ vault_ids: Array<string>;
4677
+ deployment_id?: null | string;
4678
+ cwd: string;
4679
+ workspace?: {
4680
+ kind: "shared" | "isolated";
4681
+ path?: string;
4682
+ branch?: string;
4683
+ };
4684
+ computer_id?: string;
4685
+ model?: {
4686
+ id: string;
4687
+ thinking: {
4688
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4689
+ can_disable: boolean;
4690
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4691
+ } | null;
4692
+ };
4693
+ thinking?: {
4694
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4695
+ } | null;
4696
+ forked_from?: {
4697
+ session_id: string;
4698
+ message_id: string;
4699
+ } | null;
4700
+ readonly external_user_id: string | null;
4701
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4702
+ }>;
4703
+ next_page: string | null;
4704
+ }>;
4705
+ name: {
4706
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4707
+ id: string;
4708
+ agent: {
4709
+ id: string;
4710
+ description: null | string;
4711
+ mcp_servers: Array<{
4712
+ type: "url";
4713
+ name: string;
4714
+ url: string;
4715
+ headers?: {
4716
+ [key: string]: string;
4717
+ };
4718
+ timeout_ms?: number;
4719
+ } | {
4720
+ type: "sse";
4721
+ name: string;
4722
+ url: string;
4723
+ headers?: {
4724
+ [key: string]: string;
4725
+ };
4726
+ timeout_ms?: number;
4727
+ } | {
4728
+ type: "stdio";
4729
+ name: string;
4730
+ command: string;
4731
+ args?: Array<string>;
4732
+ env?: {
4733
+ [key: string]: string;
4734
+ };
4735
+ timeout_ms?: number;
4736
+ }>;
4737
+ model: {
4738
+ id: string;
4739
+ effort?: {
4740
+ type: "low";
4741
+ } | {
4742
+ type: "medium";
4743
+ } | {
4744
+ type: "high";
4745
+ } | {
4746
+ type: "xhigh";
4747
+ } | {
4748
+ type: "max";
4749
+ };
4750
+ inference_geo?: string;
4751
+ speed?: "standard" | "fast";
4752
+ settings?: {
4753
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4754
+ max_output_tokens?: number;
4755
+ };
4756
+ };
4757
+ multiagent: null | {
4758
+ agents: Array<{
4759
+ model: string;
4760
+ type: "advisor";
4761
+ } | {
4762
+ id: string;
4763
+ description: null | string;
4764
+ mcp_servers: Array<{
4765
+ type: "url";
4766
+ name: string;
4767
+ url: string;
4768
+ headers?: {
4769
+ [key: string]: string;
4770
+ };
4771
+ timeout_ms?: number;
4772
+ } | {
4773
+ type: "sse";
4774
+ name: string;
4775
+ url: string;
4776
+ headers?: {
4777
+ [key: string]: string;
4778
+ };
4779
+ timeout_ms?: number;
4780
+ } | {
4781
+ type: "stdio";
4782
+ name: string;
4783
+ command: string;
4784
+ args?: Array<string>;
4785
+ env?: {
4786
+ [key: string]: string;
4787
+ };
4788
+ timeout_ms?: number;
4789
+ }>;
4790
+ model: {
4791
+ id: string;
4792
+ effort?: {
4793
+ type: "low";
4794
+ } | {
4795
+ type: "medium";
4796
+ } | {
4797
+ type: "high";
4798
+ } | {
4799
+ type: "xhigh";
4800
+ } | {
4801
+ type: "max";
4802
+ };
4803
+ inference_geo?: string;
4804
+ speed?: "standard" | "fast";
4805
+ };
4806
+ name: string;
4807
+ skills: Array<{
4808
+ skill_id: string;
4809
+ type: "anthropic";
4810
+ version: string;
4811
+ } | {
4812
+ skill_id: string;
4813
+ type: "custom";
4814
+ version: string;
4815
+ }>;
4816
+ system: null | string;
4817
+ tools: Array<{
4818
+ configs: Array<{
4819
+ enabled: boolean;
4820
+ name: "bash";
4821
+ permission_policy: {
4822
+ type: "always_allow";
4823
+ } | {
4824
+ type: "always_ask";
4825
+ } | {
4826
+ type: "auto";
4827
+ };
4828
+ type: "bash";
4829
+ } | {
4830
+ enabled: boolean;
4831
+ name: "edit";
4832
+ permission_policy: {
4833
+ type: "always_allow";
4834
+ } | {
4835
+ type: "always_ask";
4836
+ } | {
4837
+ type: "auto";
4838
+ };
4839
+ type: "edit";
4840
+ } | {
4841
+ enabled: boolean;
4842
+ name: "read";
4843
+ permission_policy: {
4844
+ type: "always_allow";
4845
+ } | {
4846
+ type: "always_ask";
4847
+ } | {
4848
+ type: "auto";
4849
+ };
4850
+ type: "read";
4851
+ } | {
4852
+ enabled: boolean;
4853
+ name: "write";
4854
+ permission_policy: {
4855
+ type: "always_allow";
4856
+ } | {
4857
+ type: "always_ask";
4858
+ } | {
4859
+ type: "auto";
4860
+ };
4861
+ type: "write";
4862
+ } | {
4863
+ enabled: boolean;
4864
+ name: "glob";
4865
+ permission_policy: {
4866
+ type: "always_allow";
4867
+ } | {
4868
+ type: "always_ask";
4869
+ } | {
4870
+ type: "auto";
4871
+ };
4872
+ type: "glob";
4873
+ } | {
4874
+ enabled: boolean;
4875
+ name: "grep";
4876
+ permission_policy: {
4877
+ type: "always_allow";
4878
+ } | {
4879
+ type: "always_ask";
4880
+ } | {
4881
+ type: "auto";
4882
+ };
4883
+ type: "grep";
4884
+ } | {
4885
+ enabled: boolean;
4886
+ name: "web_fetch";
4887
+ permission_policy: {
4888
+ type: "always_allow";
4889
+ } | {
4890
+ type: "always_ask";
4891
+ } | {
4892
+ type: "auto";
4893
+ };
4894
+ type: "web_fetch";
4895
+ allowed_domains?: Array<string>;
4896
+ blocked_domains?: Array<string>;
4897
+ max_content_tokens?: null | number;
4898
+ } | {
4899
+ enabled: boolean;
4900
+ name: "web_search";
4901
+ permission_policy: {
4902
+ type: "always_allow";
4903
+ } | {
4904
+ type: "always_ask";
4905
+ } | {
4906
+ type: "auto";
4907
+ };
4908
+ type: "web_search";
4909
+ allowed_domains?: Array<string>;
4910
+ blocked_domains?: Array<string>;
4911
+ user_location?: null | {
4912
+ type: "approximate";
4913
+ city?: null | string;
4914
+ country?: null | string;
4915
+ region?: null | string;
4916
+ timezone?: null | string;
4917
+ };
4918
+ } | {
4919
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4920
+ enabled: boolean;
4921
+ permission_policy: {
4922
+ type: "always_allow" | "always_ask";
4923
+ };
4924
+ }>;
4925
+ default_config: {
4926
+ enabled: boolean;
4927
+ permission_policy: {
4928
+ type: "always_allow";
4929
+ } | {
4930
+ type: "always_ask";
4931
+ } | {
4932
+ type: "auto";
4933
+ };
4934
+ };
4935
+ type: "agent_toolset_20260401";
4936
+ } | {
4937
+ type: "mcp_toolset";
4938
+ mcp_server_name: string;
4939
+ default_config?: {
4940
+ enabled?: boolean | null;
4941
+ permission_policy?: null | {
4942
+ type: "always_allow" | "always_ask";
4943
+ };
4944
+ } | null;
4945
+ configs?: Array<{
4946
+ name: string;
4947
+ enabled?: boolean | null;
4948
+ permission_policy?: null | {
4949
+ type: "always_allow" | "always_ask";
4950
+ };
4951
+ }> | null;
4952
+ } | {
4953
+ description: string;
4954
+ input_schema: {
4955
+ type: "object";
4956
+ properties?: null | {
4957
+ [key: string]: unknown;
4958
+ };
4959
+ required?: null | Array<string>;
4960
+ [key: string]: unknown;
4961
+ };
4962
+ name: string;
4963
+ type: "custom";
4964
+ }>;
4965
+ type: "agent";
4966
+ version: number;
4967
+ }>;
4968
+ type: "coordinator";
4969
+ };
4970
+ name: string;
4971
+ skills: Array<{
4972
+ skill_id: string;
4973
+ type: "anthropic";
4974
+ version: string;
4975
+ } | {
4976
+ skill_id: string;
4977
+ type: "custom";
4978
+ version: string;
4979
+ }>;
4980
+ system: null | string;
4981
+ tools: Array<{
4982
+ configs: Array<{
4983
+ enabled: boolean;
4984
+ name: "bash";
4985
+ permission_policy: {
4986
+ type: "always_allow";
4987
+ } | {
4988
+ type: "always_ask";
4989
+ } | {
4990
+ type: "auto";
4991
+ };
4992
+ type: "bash";
4993
+ } | {
4994
+ enabled: boolean;
4995
+ name: "edit";
4996
+ permission_policy: {
4997
+ type: "always_allow";
4998
+ } | {
4999
+ type: "always_ask";
5000
+ } | {
5001
+ type: "auto";
5002
+ };
5003
+ type: "edit";
5004
+ } | {
5005
+ enabled: boolean;
5006
+ name: "read";
5007
+ permission_policy: {
5008
+ type: "always_allow";
5009
+ } | {
5010
+ type: "always_ask";
5011
+ } | {
5012
+ type: "auto";
5013
+ };
5014
+ type: "read";
5015
+ } | {
5016
+ enabled: boolean;
5017
+ name: "write";
5018
+ permission_policy: {
5019
+ type: "always_allow";
5020
+ } | {
5021
+ type: "always_ask";
5022
+ } | {
5023
+ type: "auto";
5024
+ };
5025
+ type: "write";
5026
+ } | {
5027
+ enabled: boolean;
5028
+ name: "glob";
5029
+ permission_policy: {
5030
+ type: "always_allow";
5031
+ } | {
5032
+ type: "always_ask";
5033
+ } | {
5034
+ type: "auto";
5035
+ };
5036
+ type: "glob";
5037
+ } | {
5038
+ enabled: boolean;
5039
+ name: "grep";
5040
+ permission_policy: {
5041
+ type: "always_allow";
5042
+ } | {
5043
+ type: "always_ask";
5044
+ } | {
5045
+ type: "auto";
5046
+ };
5047
+ type: "grep";
5048
+ } | {
5049
+ enabled: boolean;
5050
+ name: "web_fetch";
5051
+ permission_policy: {
5052
+ type: "always_allow";
5053
+ } | {
5054
+ type: "always_ask";
5055
+ } | {
5056
+ type: "auto";
5057
+ };
5058
+ type: "web_fetch";
5059
+ allowed_domains?: Array<string>;
5060
+ blocked_domains?: Array<string>;
5061
+ max_content_tokens?: null | number;
5062
+ } | {
5063
+ enabled: boolean;
5064
+ name: "web_search";
5065
+ permission_policy: {
5066
+ type: "always_allow";
5067
+ } | {
5068
+ type: "always_ask";
5069
+ } | {
5070
+ type: "auto";
5071
+ };
5072
+ type: "web_search";
5073
+ allowed_domains?: Array<string>;
5074
+ blocked_domains?: Array<string>;
5075
+ user_location?: null | {
5076
+ type: "approximate";
5077
+ city?: null | string;
5078
+ country?: null | string;
5079
+ region?: null | string;
5080
+ timezone?: null | string;
5081
+ };
5082
+ } | {
5083
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
5084
+ enabled: boolean;
5085
+ permission_policy: {
5086
+ type: "always_allow" | "always_ask";
5087
+ };
5088
+ }>;
5089
+ default_config: {
5090
+ enabled: boolean;
5091
+ permission_policy: {
5092
+ type: "always_allow";
5093
+ } | {
5094
+ type: "always_ask";
5095
+ } | {
5096
+ type: "auto";
5097
+ };
5098
+ };
5099
+ type: "agent_toolset_20260401";
5100
+ } | {
5101
+ type: "mcp_toolset";
5102
+ mcp_server_name: string;
5103
+ default_config?: {
5104
+ enabled?: boolean | null;
5105
+ permission_policy?: null | {
5106
+ type: "always_allow" | "always_ask";
5107
+ };
5108
+ } | null;
5109
+ configs?: Array<{
5110
+ name: string;
5111
+ enabled?: boolean | null;
5112
+ permission_policy?: null | {
5113
+ type: "always_allow" | "always_ask";
5114
+ };
5115
+ }> | null;
5116
+ } | {
5117
+ description: string;
5118
+ input_schema: {
5119
+ type: "object";
5120
+ properties?: null | {
5121
+ [key: string]: unknown;
5122
+ };
5123
+ required?: null | Array<string>;
5124
+ [key: string]: unknown;
5125
+ };
5126
+ name: string;
5127
+ type: "custom";
5128
+ }>;
5129
+ type: "agent";
5130
+ version: number;
5131
+ };
5132
+ archived_at: null | string;
5133
+ budget: null | {
5134
+ max_list_cost: {
5135
+ amount: string;
5136
+ currency: "USD";
5137
+ };
5138
+ type: "limit";
5139
+ };
5140
+ created_at: string;
5141
+ environment_id?: string;
5142
+ metadata: {
5143
+ [key: string]: string;
5144
+ };
5145
+ outcome_evaluations: Array<{
5146
+ completed_at: null | string;
5147
+ description: string;
5148
+ explanation: null | string;
5149
+ iteration: number;
5150
+ outcome_id: string;
5151
+ result: string;
5152
+ type: "outcome_evaluation";
5153
+ }>;
5154
+ resources: Array<{
5155
+ id: string;
5156
+ created_at: string;
5157
+ mount_path: string;
5158
+ type: "github_repository";
5159
+ updated_at: string;
5160
+ url: string;
5161
+ checkout?: null | {
5162
+ name: string;
5163
+ type: "branch";
5164
+ } | {
5165
+ sha: string;
5166
+ type: "commit";
5167
+ };
5168
+ } | {
5169
+ id: string;
5170
+ created_at: string;
5171
+ file_id: string;
5172
+ mount_path: string;
5173
+ type: "file";
5174
+ updated_at: string;
5175
+ } | {
5176
+ memory_store_id: string;
5177
+ type: "memory_store";
5178
+ access?: null | "read_write" | "read_only";
5179
+ description?: string;
5180
+ instructions?: null | string;
5181
+ mount_path?: null | string;
5182
+ name?: null | string;
5183
+ }>;
5184
+ stats: {
5185
+ active_seconds?: number;
5186
+ duration_seconds?: number;
5187
+ };
3477
5188
  status: "rescheduling" | "running" | "idle" | "terminated";
3478
5189
  title: null | string;
3479
5190
  type: "session";
3480
5191
  updated_at: string;
3481
- usage: Types.AgentManaged179;
5192
+ usage: {
5193
+ active_seconds?: number;
5194
+ cache_creation?: {
5195
+ ephemeral_1h_input_tokens?: number;
5196
+ ephemeral_5m_input_tokens?: number;
5197
+ };
5198
+ cache_read_input_tokens?: number;
5199
+ input_tokens?: number;
5200
+ list_cost?: null | {
5201
+ amount: string;
5202
+ currency: "USD";
5203
+ };
5204
+ output_tokens?: number;
5205
+ server_tool_use?: null | {
5206
+ web_fetch_requests?: number;
5207
+ web_search_requests?: number;
5208
+ };
5209
+ cost_by_product?: {
5210
+ [key: string]: string;
5211
+ };
5212
+ subagent_cost_micro_usd?: number;
5213
+ };
3482
5214
  vault_ids: Array<string>;
3483
5215
  deployment_id?: null | string;
3484
5216
  cwd: string;
5217
+ workspace?: {
5218
+ kind: "shared" | "isolated";
5219
+ path?: string;
5220
+ branch?: string;
5221
+ };
3485
5222
  computer_id?: string;
3486
5223
  model?: {
3487
5224
  id: string;
@@ -3501,8 +5238,7 @@ export declare function createAgent(transport: Transport): {
3501
5238
  readonly external_user_id: string | null;
3502
5239
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3503
5240
  }>;
3504
- next_page: string | null;
3505
- }>;
5241
+ };
3506
5242
  requests: {
3507
5243
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
3508
5244
  data: Array<{
@@ -3547,6 +5283,7 @@ export declare function createAgent(transport: Transport): {
3547
5283
  speed?: "standard" | "fast";
3548
5284
  settings?: {
3549
5285
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5286
+ max_output_tokens?: number;
3550
5287
  };
3551
5288
  };
3552
5289
  multiagent: null | Types.AgentManaged171;
@@ -3573,6 +5310,11 @@ export declare function createAgent(transport: Transport): {
3573
5310
  vault_ids: Array<string>;
3574
5311
  deployment_id?: null | string;
3575
5312
  cwd: string;
5313
+ workspace?: {
5314
+ kind: "shared" | "isolated";
5315
+ path?: string;
5316
+ branch?: string;
5317
+ };
3576
5318
  computer_id?: string;
3577
5319
  model?: {
3578
5320
  id: string;
@@ -3719,7 +5461,6 @@ export declare function createAgent(transport: Transport): {
3719
5461
  run_id: string | null;
3720
5462
  message_id?: string;
3721
5463
  } | {
3722
- full_access_available?: boolean;
3723
5464
  id: string;
3724
5465
  input: Types.AgentManaged197;
3725
5466
  mcp_server_name: string;
@@ -3729,6 +5470,18 @@ export declare function createAgent(transport: Transport): {
3729
5470
  evaluated_permission?: "allow" | "deny" | "ask";
3730
5471
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3731
5472
  session_thread_id?: null | string;
5473
+ permission_suggestions?: Array<{
5474
+ type: "add_rules";
5475
+ behavior: "allow";
5476
+ destination: "agent" | "session";
5477
+ rules: Array<{
5478
+ tool_name: string;
5479
+ rule_content: string;
5480
+ }>;
5481
+ }>;
5482
+ full_access_available?: boolean;
5483
+ user_once?: true;
5484
+ guarded_rule?: string;
3732
5485
  run_id: string | null;
3733
5486
  parent_tool_use_id?: string;
3734
5487
  _meta?: {
@@ -3742,17 +5495,6 @@ export declare function createAgent(transport: Transport): {
3742
5495
  };
3743
5496
  };
3744
5497
  source?: "app" | "codemode";
3745
- user_once?: true;
3746
- guarded_rule?: string;
3747
- permission_suggestions?: Array<{
3748
- type: "add_rules";
3749
- behavior: "allow";
3750
- destination: "agent" | "session";
3751
- rules: Array<{
3752
- tool_name: string;
3753
- rule_content: string;
3754
- }>;
3755
- }>;
3756
5498
  title?: string;
3757
5499
  input_titles?: {
3758
5500
  [key: string]: string;
@@ -3771,7 +5513,6 @@ export declare function createAgent(transport: Transport): {
3771
5513
  };
3772
5514
  source?: "app" | "codemode";
3773
5515
  } | {
3774
- full_access_available?: boolean;
3775
5516
  id: string;
3776
5517
  input: Types.AgentManaged206;
3777
5518
  name: string;
@@ -3780,9 +5521,6 @@ export declare function createAgent(transport: Transport): {
3780
5521
  evaluated_permission?: "allow" | "deny" | "ask";
3781
5522
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3782
5523
  session_thread_id?: null | string;
3783
- run_id: string | null;
3784
- user_once?: true;
3785
- guarded_rule?: string;
3786
5524
  permission_suggestions?: Array<{
3787
5525
  type: "add_rules";
3788
5526
  behavior: "allow";
@@ -3792,6 +5530,10 @@ export declare function createAgent(transport: Transport): {
3792
5530
  rule_content: string;
3793
5531
  }>;
3794
5532
  }>;
5533
+ full_access_available?: boolean;
5534
+ user_once?: true;
5535
+ guarded_rule?: string;
5536
+ run_id: string | null;
3795
5537
  } | {
3796
5538
  id: string;
3797
5539
  processed_at: string;
@@ -3812,9 +5554,6 @@ export declare function createAgent(transport: Transport): {
3812
5554
  type: "session.status_idle";
3813
5555
  run_id: string | null;
3814
5556
  } | 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 | {
3815
- permission_mode_version?: number;
3816
- previous_permission_mode?: string | null;
3817
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3818
5557
  id: string;
3819
5558
  processed_at: string;
3820
5559
  type: "session.updated";
@@ -3822,6 +5561,9 @@ export declare function createAgent(transport: Transport): {
3822
5561
  budget?: null | Types.AgentManaged76;
3823
5562
  metadata?: Types.AgentManaged246;
3824
5563
  title?: null | string;
5564
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5565
+ previous_permission_mode?: string | null;
5566
+ permission_mode_version?: number;
3825
5567
  model?: {
3826
5568
  id: string;
3827
5569
  };
@@ -3831,6 +5573,8 @@ export declare function createAgent(transport: Transport): {
3831
5573
  processed_at: string;
3832
5574
  forked_from_session_id: string;
3833
5575
  forked_from_message_id: string;
5576
+ message_id?: string;
5577
+ session_thread_id?: string | null;
3834
5578
  } | {
3835
5579
  id: string;
3836
5580
  type: "session.goal_changed";
@@ -3861,6 +5605,8 @@ export declare function createAgent(transport: Transport): {
3861
5605
  created_at: number;
3862
5606
  updated_at: number;
3863
5607
  } | null;
5608
+ message_id?: string;
5609
+ session_thread_id?: string | null;
3864
5610
  } | {
3865
5611
  id: string;
3866
5612
  type: "session.goal_verification";
@@ -3875,11 +5621,179 @@ export declare function createAgent(transport: Transport): {
3875
5621
  reason: string;
3876
5622
  next_action?: string;
3877
5623
  };
5624
+ message_id?: string;
5625
+ session_thread_id?: string | null;
3878
5626
  } | {
3879
5627
  id: string;
3880
5628
  type: "user.steer";
3881
5629
  event_id: string;
3882
5630
  processed_at: string;
5631
+ message_id?: string;
5632
+ session_thread_id?: string | null;
5633
+ } | {
5634
+ id: string;
5635
+ type: "cognition.surfaced";
5636
+ processed_at: string;
5637
+ worker_session_id: string;
5638
+ name: string;
5639
+ state: "done" | "waiting" | "failed" | "archived";
5640
+ experience_id?: string;
5641
+ result?: {
5642
+ message?: string;
5643
+ links?: Array<string>;
5644
+ files?: Array<{
5645
+ name?: string;
5646
+ href?: string;
5647
+ }>;
5648
+ held?: Array<{
5649
+ id?: string;
5650
+ summary?: string;
5651
+ effect?: string;
5652
+ method?: string;
5653
+ path?: string;
5654
+ expires_at?: string;
5655
+ }>;
5656
+ };
5657
+ } | {
5658
+ id: string;
5659
+ type: "cognition.intention_woken";
5660
+ processed_at: string;
5661
+ node_id: string;
5662
+ reason: "open_engram" | "assignment";
5663
+ } | {
5664
+ id: string;
5665
+ type: "agent.operation_approval_requested";
5666
+ processed_at: string;
5667
+ approval_id: string;
5668
+ operation_id: string;
5669
+ effect: "outward" | "irreversible";
5670
+ method: string;
5671
+ path: string;
5672
+ summary: string;
5673
+ expires_at: string;
5674
+ worker_session_id?: string;
5675
+ worker_name?: string;
5676
+ } | {
5677
+ id: string;
5678
+ type: "agent.operation_approval_decided";
5679
+ processed_at: string;
5680
+ approval_id: string;
5681
+ status: "approved" | "refused" | "expired";
5682
+ } | {
5683
+ id: string;
5684
+ type: "session.prompt_configuration_mismatch";
5685
+ processed_at: string;
5686
+ pinned_revision_id: string;
5687
+ current_revision_id: string;
5688
+ } | {
5689
+ id: string;
5690
+ type: "session.prompt_rev_changed";
5691
+ processed_at: string;
5692
+ config_revision_id: string;
5693
+ changed: Array<{
5694
+ name: string;
5695
+ rev: string | null;
5696
+ }>;
5697
+ } | {
5698
+ id: string;
5699
+ type: "session.computer_tier";
5700
+ processed_at: string;
5701
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
5702
+ tier: "light" | "heavy";
5703
+ duration_ms: number;
5704
+ error_code?: string;
5705
+ status?: {
5706
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
5707
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
5708
+ percent?: number;
5709
+ files_done?: number;
5710
+ files_total?: number;
5711
+ idle_release_at?: number;
5712
+ retry_at?: number;
5713
+ epoch?: number;
5714
+ heavy_instance?: string | null;
5715
+ heavy_paused?: boolean;
5716
+ };
5717
+ } | {
5718
+ id: string;
5719
+ type: "agent.artifact_delivered";
5720
+ processed_at: string;
5721
+ artifact: {
5722
+ object: "artifact";
5723
+ id: string;
5724
+ session_id: string;
5725
+ run_id: string | null;
5726
+ name: string;
5727
+ version: number;
5728
+ parts: Array<{
5729
+ [key: string]: unknown;
5730
+ }>;
5731
+ source_hrefs: Array<string>;
5732
+ create_time: string;
5733
+ update_time: string;
5734
+ };
5735
+ } | {
5736
+ id: string;
5737
+ type: "agent.image_generation";
5738
+ processed_at: string;
5739
+ tool_use_id: string;
5740
+ index: number;
5741
+ total: number;
5742
+ status: string;
5743
+ mode?: string;
5744
+ aspect?: string;
5745
+ prompt?: string;
5746
+ model?: string;
5747
+ file_id?: string;
5748
+ label?: string;
5749
+ width?: number;
5750
+ height?: number;
5751
+ revised_prompt?: string;
5752
+ source_labels?: Array<string>;
5753
+ caption?: string;
5754
+ slot?: number | null;
5755
+ replaces?: string;
5756
+ version?: number;
5757
+ failure?: {
5758
+ reason?: string;
5759
+ };
5760
+ } | {
5761
+ id: string;
5762
+ type: "session.image_labeled";
5763
+ processed_at: string;
5764
+ label: string;
5765
+ file_id: string;
5766
+ origin: "generated" | "uploaded";
5767
+ filename: string;
5768
+ tool_use_id?: string;
5769
+ version?: number;
5770
+ replaced_file_id?: string;
5771
+ } | {
5772
+ id: string;
5773
+ type: "session.image_set_planned";
5774
+ processed_at: string;
5775
+ tool_use_id: string;
5776
+ items: Array<unknown>;
5777
+ title?: string;
5778
+ } | {
5779
+ id: string;
5780
+ type: "session.project_attached";
5781
+ processed_at: string;
5782
+ project: {
5783
+ id: string;
5784
+ name: string;
5785
+ path: string;
5786
+ };
5787
+ message_id?: string;
5788
+ session_thread_id?: string | null;
5789
+ } | {
5790
+ id: string;
5791
+ type: "session.project_detached";
5792
+ processed_at: string;
5793
+ project_id: string;
5794
+ reason?: "project_removed";
5795
+ message_id?: string;
5796
+ session_thread_id?: string | null;
3883
5797
  }>;
3884
5798
  next_page: string | null;
3885
5799
  }>;
@@ -3912,6 +5826,7 @@ export declare function createAgent(transport: Transport): {
3912
5826
  speed?: "standard" | "fast";
3913
5827
  settings?: {
3914
5828
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5829
+ max_output_tokens?: number;
3915
5830
  };
3916
5831
  };
3917
5832
  multiagent: null | Types.AgentManaged171;
@@ -3938,6 +5853,11 @@ export declare function createAgent(transport: Transport): {
3938
5853
  vault_ids: Array<string>;
3939
5854
  deployment_id?: null | string;
3940
5855
  cwd: string;
5856
+ workspace?: {
5857
+ kind: "shared" | "isolated";
5858
+ path?: string;
5859
+ branch?: string;
5860
+ };
3941
5861
  computer_id?: string;
3942
5862
  model?: {
3943
5863
  id: string;
@@ -4002,6 +5922,29 @@ export declare function createAgent(transport: Transport): {
4002
5922
  next_page: null;
4003
5923
  }>;
4004
5924
  };
5925
+ uploads: {
5926
+ contentUrl: {
5927
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5928
+ url: string;
5929
+ expires_at: string;
5930
+ }>;
5931
+ };
5932
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5933
+ upload_id: string;
5934
+ expires_at: string;
5935
+ url: string;
5936
+ } | {
5937
+ upload_id: string;
5938
+ expires_at: string;
5939
+ part_size: number;
5940
+ parts: Array<{
5941
+ part_number: number;
5942
+ url: string;
5943
+ }>;
5944
+ complete_url: string;
5945
+ status_url: string;
5946
+ }>;
5947
+ };
4005
5948
  };
4006
5949
  export declare function createApplication(transport: Transport): {
4007
5950
  assets: {
@@ -4266,6 +6209,11 @@ export declare function createAutomation(transport: Transport): {
4266
6209
  };
4267
6210
  };
4268
6211
  };
6212
+ export declare function createBilling(transport: Transport): {
6213
+ prices: {
6214
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
6215
+ };
6216
+ };
4269
6217
  export declare function createBrowser(transport: Transport): {
4270
6218
  connect: {
4271
6219
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -4368,10 +6316,18 @@ export declare function createCanvas(transport: Transport): {
4368
6316
  images: {
4369
6317
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
4370
6318
  };
6319
+ imports: {
6320
+ create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
6321
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
6322
+ };
6323
+ libraryVersions: {
6324
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
6325
+ };
4371
6326
  list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
4372
6327
  nodes: {
4373
6328
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
4374
6329
  };
6330
+ publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
4375
6331
  restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
4376
6332
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
4377
6333
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
@@ -4386,6 +6342,27 @@ export declare function createCanvas(transport: Transport): {
4386
6342
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
4387
6343
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4388
6344
  };
6345
+ libraries: {
6346
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
6347
+ };
6348
+ };
6349
+ export declare function createContent(transport: Transport): {
6350
+ contents: {
6351
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
6352
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
6353
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
6354
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
6355
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
6356
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
6357
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
6358
+ };
6359
+ playbackSessions: {
6360
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
6361
+ };
6362
+ versions: {
6363
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
6364
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
6365
+ };
4389
6366
  };
4390
6367
  export declare function createCrm(transport: Transport): {
4391
6368
  associations: {
@@ -4447,6 +6424,32 @@ export declare function createCrm(transport: Transport): {
4447
6424
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4448
6425
  };
4449
6426
  };
6427
+ export declare function createCustomer(transport: Transport): {
6428
+ accessTokens: {
6429
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
6430
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
6431
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
6432
+ };
6433
+ customers: {
6434
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
6435
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
6436
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
6437
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
6438
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
6439
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
6440
+ };
6441
+ grantCodes: {
6442
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
6443
+ };
6444
+ publishableKeys: {
6445
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
6446
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
6447
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
6448
+ };
6449
+ usage: {
6450
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
6451
+ };
6452
+ };
4450
6453
  export declare function createCut(transport: Transport): {
4451
6454
  exports: {
4452
6455
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4499,15 +6502,40 @@ export declare function createCut(transport: Transport): {
4499
6502
  };
4500
6503
  export declare function createDatabase(transport: Transport): {
4501
6504
  databases: {
6505
+ commands: {
6506
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
6507
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
6508
+ result: unknown;
6509
+ }>;
6510
+ };
6511
+ /** @deprecated use praxis.database.table.create for a table database or praxis.database.kv.create for a key-value database instead; this path stops working on 2027-03-01. */
4502
6512
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
6513
+ /** @deprecated use praxis.database.table.delete for a table database or praxis.database.kv.delete for a key-value database instead; this path stops working on 2027-03-01. */
4503
6514
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4504
6515
  events: {
6516
+ /** @deprecated use praxis.database.table.events.list for a table database or praxis.database.kv.events.list for a key-value database instead; this path stops working on 2027-03-01. */
4505
6517
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4506
6518
  data: Array<Types.DatabaseDatabaseEvent>;
4507
6519
  }>;
4508
6520
  };
6521
+ keys: {
6522
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
6523
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
6524
+ deleted: boolean;
6525
+ }>;
6526
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
6527
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6528
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
6529
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
6530
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
6531
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
6532
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
6533
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
6534
+ };
6535
+ /** @deprecated use praxis.database.table.list for a table database or praxis.database.kv.list for a key-value database instead; this path stops working on 2027-03-01. */
4509
6536
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4510
6537
  purge: {
6538
+ /** @deprecated use praxis.database.table.purge.create for a table database or praxis.database.kv.purge.create for a key-value database instead; this path stops working on 2027-03-01. */
4511
6539
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4512
6540
  id: string;
4513
6541
  object: "database";
@@ -4515,37 +6543,132 @@ export declare function createDatabase(transport: Transport): {
4515
6543
  }>;
4516
6544
  };
4517
6545
  rest: {
6546
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
4518
6547
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6548
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
4519
6549
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6550
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
4520
6551
  head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
6552
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
4521
6553
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6554
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
4522
6555
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4523
6556
  };
6557
+ /** @deprecated use praxis.database.table.restore for a table database or praxis.database.kv.restore for a key-value database instead; this path stops working on 2027-03-01. */
4524
6558
  restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6559
+ /** @deprecated use praxis.database.table.retrieve for a table database or praxis.database.kv.retrieve for a key-value database instead; this path stops working on 2027-03-01. */
4525
6560
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
4526
6561
  tables: {
6562
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
4527
6563
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6564
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
4528
6565
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
4529
6566
  deleted: true;
4530
6567
  }>;
4531
6568
  fields: {
6569
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
4532
6570
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6571
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
4533
6572
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6573
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
4534
6574
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
4535
6575
  };
6576
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
4536
6577
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
4537
6578
  data: Array<Types.DatabaseTable>;
4538
6579
  }>;
6580
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
4539
6581
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6582
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
4540
6583
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
4541
6584
  };
6585
+ /** @deprecated use praxis.database.table.update for a table database or praxis.database.kv.update for a key-value database instead; this path stops working on 2027-03-01. */
4542
6586
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4543
6587
  };
6588
+ kv: {
6589
+ commands: {
6590
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6591
+ result: unknown;
6592
+ }>;
6593
+ };
6594
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6595
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6596
+ events: {
6597
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6598
+ data: Array<Types.DatabaseDatabaseEvent>;
6599
+ }>;
6600
+ };
6601
+ keys: {
6602
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6603
+ deleted: boolean;
6604
+ }>;
6605
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6606
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6607
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6608
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6609
+ };
6610
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6611
+ purge: {
6612
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6613
+ id: string;
6614
+ object: "database";
6615
+ purged: true;
6616
+ }>;
6617
+ };
6618
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6619
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6620
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6621
+ };
6622
+ table: {
6623
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6624
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6625
+ events: {
6626
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6627
+ data: Array<Types.DatabaseDatabaseEvent>;
6628
+ }>;
6629
+ };
6630
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6631
+ purge: {
6632
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6633
+ id: string;
6634
+ object: "database";
6635
+ purged: true;
6636
+ }>;
6637
+ };
6638
+ rest: {
6639
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6640
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6641
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6642
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6643
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6644
+ };
6645
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6646
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6647
+ tables: {
6648
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6649
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
6650
+ deleted: true;
6651
+ }>;
6652
+ fields: {
6653
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6654
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6655
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
6656
+ };
6657
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
6658
+ data: Array<Types.DatabaseTable>;
6659
+ }>;
6660
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6661
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6662
+ };
6663
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6664
+ };
4544
6665
  };
4545
6666
  export declare function createDevops(transport: Transport): {
4546
6667
  changes: {
4547
6668
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6669
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4548
6670
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6671
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4549
6672
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4550
6673
  };
4551
6674
  connections: {
@@ -4585,6 +6708,13 @@ export declare function createDevops(transport: Transport): {
4585
6708
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
4586
6709
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
4587
6710
  };
6711
+ cleanups: {
6712
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6713
+ };
6714
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6715
+ defaultBranch: {
6716
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6717
+ };
4588
6718
  environments: {
4589
6719
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4590
6720
  targets: {
@@ -4617,6 +6747,7 @@ export declare function createDevops(transport: Transport): {
4617
6747
  };
4618
6748
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4619
6749
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6750
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
4620
6751
  segments: {
4621
6752
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
4622
6753
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
@@ -4656,6 +6787,7 @@ export declare function createDevops(transport: Transport): {
4656
6787
  promotions: {
4657
6788
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4658
6789
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6790
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4659
6791
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4660
6792
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4661
6793
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4665,10 +6797,14 @@ export declare function createDevops(transport: Transport): {
4665
6797
  };
4666
6798
  };
4667
6799
  pullRequests: {
6800
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
4668
6801
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
4669
6802
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
4670
6803
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
4671
6804
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6805
+ reviews: {
6806
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6807
+ };
4672
6808
  };
4673
6809
  releases: {
4674
6810
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -4884,10 +7020,49 @@ export declare function createMedia(transport: Transport): {
4884
7020
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4885
7021
  };
4886
7022
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
7023
+ voices: {
7024
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
7025
+ designs: {
7026
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
7027
+ };
7028
+ };
7029
+ };
7030
+ pipelines: {
7031
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
7032
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaPipelineData>) => Promise<Types.MediaPipelineDeleted>;
7033
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaPipelinesData> | undefined) => Promise<Types.MediaPipelineList>;
7034
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaPipelineData>) => Promise<Types.MediaPipeline>;
7035
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaPipelineData>) => Promise<Types.MediaPipeline>;
4887
7036
  };
4888
7037
  speech: {
4889
7038
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
4890
7039
  };
7040
+ streams: {
7041
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
7042
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
7043
+ disable: {
7044
+ create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
7045
+ };
7046
+ enable: {
7047
+ create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
7048
+ };
7049
+ events: {
7050
+ list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
7051
+ };
7052
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
7053
+ playbackToken: {
7054
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamPlaybackData>) => Promise<Types.MediaStreamPlayback>;
7055
+ };
7056
+ resetToken: {
7057
+ create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
7058
+ };
7059
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
7060
+ retrievePlaylist: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamLivePlaylistData>) => Promise<string>;
7061
+ subscribeToken: {
7062
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamSubscriptionData>) => Promise<Types.MediaStreamSubscription>;
7063
+ };
7064
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
7065
+ };
4891
7066
  videos: {
4892
7067
  generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4893
7068
  };
@@ -5407,6 +7582,7 @@ export declare function createModel(transport: Transport): {
5407
7582
  unsigned_urls: Array<string>;
5408
7583
  usage?: {
5409
7584
  cost: number;
7585
+ billed_seconds?: number;
5410
7586
  };
5411
7587
  }>;
5412
7588
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5437,6 +7613,7 @@ export declare function createModel(transport: Transport): {
5437
7613
  unsigned_urls: Array<string>;
5438
7614
  usage?: {
5439
7615
  cost: number;
7616
+ billed_seconds?: number;
5440
7617
  };
5441
7618
  }>;
5442
7619
  has_more: boolean;
@@ -5465,6 +7642,7 @@ export declare function createModel(transport: Transport): {
5465
7642
  unsigned_urls: Array<string>;
5466
7643
  usage?: {
5467
7644
  cost: number;
7645
+ billed_seconds?: number;
5468
7646
  };
5469
7647
  }>;
5470
7648
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5492,33 +7670,16 @@ export declare function createOntology(transport: Transport): {
5492
7670
  list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
5493
7671
  retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
5494
7672
  };
5495
- search: {
5496
- create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
5497
- };
5498
- types: {
5499
- create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
5500
- list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
5501
- retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
5502
- };
5503
- };
5504
- export declare function createOrganization(transport: Transport): {
5505
- actors: {
5506
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
5507
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
5508
- };
5509
- assignments: {
5510
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
5511
- makePrimary: {
5512
- create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5513
- };
5514
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5515
- terminate: {
5516
- create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5517
- };
5518
- transfer: {
5519
- create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5520
- };
5521
- };
7673
+ search: {
7674
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
7675
+ };
7676
+ types: {
7677
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
7678
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
7679
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
7680
+ };
7681
+ };
7682
+ export declare function createOrganization(transport: Transport): {
5522
7683
  charges: {
5523
7684
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5524
7685
  ChargePeriodStart: string;
@@ -5560,16 +7721,6 @@ export declare function createOrganization(transport: Transport): {
5560
7721
  next_page: string | null;
5561
7722
  }>;
5562
7723
  };
5563
- departments: {
5564
- create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5565
- dissolve: {
5566
- create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5567
- };
5568
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
5569
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5570
- update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5571
- updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
5572
- };
5573
7724
  events: {
5574
7725
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5575
7726
  object: "page";
@@ -5772,27 +7923,6 @@ export declare function createOrganization(transport: Transport): {
5772
7923
  }>;
5773
7924
  }>;
5774
7925
  };
5775
- jobs: {
5776
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
5777
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
5778
- retire: {
5779
- create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
5780
- };
5781
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
5782
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
5783
- };
5784
- keyResults: {
5785
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5786
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
5787
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5788
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5789
- };
5790
- ladders: {
5791
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5792
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
5793
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5794
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5795
- };
5796
7926
  members: {
5797
7927
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5798
7928
  data: Array<{
@@ -5806,51 +7936,83 @@ export declare function createOrganization(transport: Transport): {
5806
7936
  next_page: string | null;
5807
7937
  }>;
5808
7938
  };
5809
- objectives: {
5810
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5811
- grade: {
5812
- create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5813
- };
5814
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
5815
- parents: {
5816
- update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5817
- };
5818
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5819
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5820
- };
5821
- periods: {
5822
- close: {
5823
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5824
- };
5825
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5826
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
5827
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5828
- };
5829
- positions: {
5830
- close: {
5831
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5832
- };
5833
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
5834
- designateHead: {
5835
- create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
5836
- };
5837
- freeze: {
5838
- create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7939
+ notifications: {
7940
+ deliveries: {
7941
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7942
+ [key: string]: unknown;
7943
+ }>;
5839
7944
  };
5840
- hire: {
5841
- create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7945
+ letters: {
7946
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7947
+ unread: number;
7948
+ }>;
7949
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7950
+ letters: Array<{
7951
+ id: string;
7952
+ sender: string;
7953
+ summary: string;
7954
+ body: string;
7955
+ thread: string;
7956
+ kind: "notice" | "mention" | "decision";
7957
+ source: {
7958
+ [key: string]: unknown;
7959
+ };
7960
+ read: boolean;
7961
+ deliveredAt: string;
7962
+ createTime: string;
7963
+ reason: string;
7964
+ archived: boolean;
7965
+ }>;
7966
+ nextCursor: string;
7967
+ unread: number;
7968
+ }>;
7969
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7970
+ unread: number;
7971
+ }>;
7972
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7973
+ unread: number;
7974
+ }>;
5842
7975
  };
5843
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
5844
- replaceHolder: {
5845
- create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7976
+ organizationDefault: {
7977
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7978
+ [key: string]: unknown;
7979
+ }>;
5846
7980
  };
5847
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5848
- unfreeze: {
5849
- create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7981
+ preferences: {
7982
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7983
+ [key: string]: unknown;
7984
+ }>;
7985
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7986
+ name: string;
7987
+ workflows: {
7988
+ [key: string]: unknown;
7989
+ };
7990
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7991
+ updateTime?: string;
7992
+ catalog: Array<{
7993
+ workflow: string;
7994
+ group: string;
7995
+ title: string;
7996
+ description?: string;
7997
+ severity: "high" | "medium" | "low" | "none";
7998
+ critical: boolean;
7999
+ channels: Array<string>;
8000
+ }>;
8001
+ organization: {
8002
+ [key: string]: unknown;
8003
+ };
8004
+ effective: {
8005
+ [key: string]: unknown;
8006
+ };
8007
+ }>;
5850
8008
  };
5851
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5852
- updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5853
- updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8009
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
8010
+ unreadCount: number;
8011
+ unseenCount: number;
8012
+ }>;
8013
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
8014
+ [key: string]: unknown;
8015
+ }>;
5854
8016
  };
5855
8017
  usage: {
5856
8018
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -5881,6 +8043,27 @@ export declare function createRegistry(transport: Transport): {
5881
8043
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
5882
8044
  };
5883
8045
  packages: {
8046
+ git: {
8047
+ commits: {
8048
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
8049
+ };
8050
+ files: {
8051
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
8052
+ };
8053
+ refs: {
8054
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
8055
+ };
8056
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
8057
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
8058
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
8059
+ trees: {
8060
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
8061
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
8062
+ };
8063
+ };
8064
+ gitCredential: {
8065
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
8066
+ };
5884
8067
  installations: {
5885
8068
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
5886
8069
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -5912,12 +8095,105 @@ export declare function createRegistry(transport: Transport): {
5912
8095
  };
5913
8096
  };
5914
8097
  export declare function createSandbox(transport: Transport): {
8098
+ byod: {
8099
+ devices: {
8100
+ disconnect: {
8101
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
8102
+ id: string;
8103
+ object: "byod_device";
8104
+ disconnected: true;
8105
+ }>;
8106
+ };
8107
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
8108
+ data: Array<{
8109
+ object: "byod_device";
8110
+ id: string;
8111
+ platform: "android" | "macos" | "linux";
8112
+ name: string;
8113
+ model: string;
8114
+ os_version: string;
8115
+ online: boolean;
8116
+ last_seen_at: string | null;
8117
+ created_at: string;
8118
+ capabilities: Array<"display" | "agent">;
8119
+ agent_dirs: Array<string>;
8120
+ allow_bypass: boolean;
8121
+ }>;
8122
+ }>;
8123
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
8124
+ object: "byod_device";
8125
+ id: string;
8126
+ platform: "android" | "macos" | "linux";
8127
+ name: string;
8128
+ model: string;
8129
+ os_version: string;
8130
+ online: boolean;
8131
+ last_seen_at: string | null;
8132
+ created_at: string;
8133
+ capabilities: Array<"display" | "agent">;
8134
+ agent_dirs: Array<string>;
8135
+ allow_bypass: boolean;
8136
+ }>;
8137
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
8138
+ object: "byod_device";
8139
+ id: string;
8140
+ platform: "android" | "macos" | "linux";
8141
+ name: string;
8142
+ model: string;
8143
+ os_version: string;
8144
+ online: boolean;
8145
+ last_seen_at: string | null;
8146
+ created_at: string;
8147
+ capabilities: Array<"display" | "agent">;
8148
+ agent_dirs: Array<string>;
8149
+ allow_bypass: boolean;
8150
+ }>;
8151
+ };
8152
+ pairings: {
8153
+ claim: {
8154
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
8155
+ device_id: string;
8156
+ credential: string;
8157
+ socket_url: string;
8158
+ }>;
8159
+ };
8160
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
8161
+ code: string;
8162
+ expires_at: string;
8163
+ qr: string;
8164
+ }>;
8165
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
8166
+ organization_name: string;
8167
+ expires_at: string;
8168
+ }>;
8169
+ };
8170
+ };
5915
8171
  events: {
5916
8172
  sandboxes: {
5917
8173
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5918
8174
  };
5919
8175
  };
5920
8176
  sandboxes: {
8177
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
8178
+ type: "snapshot";
8179
+ snapshot: string;
8180
+ refs: number;
8181
+ truncated: boolean;
8182
+ package: string;
8183
+ } | {
8184
+ type: "screenshot";
8185
+ mediaType: string;
8186
+ data: string;
8187
+ width: number;
8188
+ height: number;
8189
+ bytes: number;
8190
+ } | {
8191
+ type: "ok";
8192
+ ms?: number;
8193
+ } | {
8194
+ type: "wait";
8195
+ ms: number;
8196
+ }>;
5921
8197
  commands: {
5922
8198
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5923
8199
  stdout: string;
@@ -6442,13 +8718,139 @@ export declare function createVault(transport: Transport): {
6442
8718
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
6443
8719
  };
6444
8720
  };
8721
+ export declare function createWorkforce(transport: Transport): {
8722
+ actors: {
8723
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8724
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8725
+ };
8726
+ assignments: {
8727
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8728
+ makePrimary: {
8729
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8730
+ };
8731
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8732
+ terminate: {
8733
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8734
+ };
8735
+ transfer: {
8736
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8737
+ };
8738
+ };
8739
+ departments: {
8740
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8741
+ dissolve: {
8742
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8743
+ };
8744
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8745
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8746
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8747
+ /** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
8748
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
8749
+ };
8750
+ effectiveSpec: {
8751
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8752
+ };
8753
+ jobs: {
8754
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8755
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8756
+ retire: {
8757
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8758
+ };
8759
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8760
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8761
+ };
8762
+ keyResults: {
8763
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8764
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8765
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8766
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8767
+ };
8768
+ ladders: {
8769
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8770
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8771
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8772
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8773
+ };
8774
+ objectives: {
8775
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8776
+ grade: {
8777
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8778
+ };
8779
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8780
+ parents: {
8781
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8782
+ };
8783
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8784
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8785
+ };
8786
+ periods: {
8787
+ close: {
8788
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8789
+ };
8790
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8791
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8792
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8793
+ };
8794
+ positions: {
8795
+ close: {
8796
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8797
+ };
8798
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8799
+ designateHead: {
8800
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8801
+ };
8802
+ freeze: {
8803
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8804
+ };
8805
+ hire: {
8806
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8807
+ };
8808
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8809
+ replaceHolder: {
8810
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8811
+ };
8812
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8813
+ unfreeze: {
8814
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8815
+ };
8816
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8817
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8818
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8819
+ };
8820
+ reconcile: {
8821
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8822
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8823
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8824
+ run: {
8825
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8826
+ };
8827
+ status: {
8828
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8829
+ };
8830
+ };
8831
+ specSchema: {
8832
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8833
+ };
8834
+ specs: {
8835
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8836
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8837
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8838
+ revisions: {
8839
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8840
+ };
8841
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8842
+ };
8843
+ };
6445
8844
  export declare const resourceFactories: {
6446
8845
  agent: typeof createAgent;
6447
8846
  application: typeof createApplication;
6448
8847
  automation: typeof createAutomation;
8848
+ billing: typeof createBilling;
6449
8849
  browser: typeof createBrowser;
6450
8850
  canvas: typeof createCanvas;
8851
+ content: typeof createContent;
6451
8852
  crm: typeof createCrm;
8853
+ customer: typeof createCustomer;
6452
8854
  cut: typeof createCut;
6453
8855
  database: typeof createDatabase;
6454
8856
  devops: typeof createDevops;
@@ -6466,4 +8868,5 @@ export declare const resourceFactories: {
6466
8868
  studio: typeof createStudio;
6467
8869
  ticket: typeof createTicket;
6468
8870
  vault: typeof createVault;
8871
+ workforce: typeof createWorkforce;
6469
8872
  };