@deepraxis/sdk 0.1.1-dev.628e8c1 → 0.1.1-dev.635084e

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";
@@ -2437,46 +2924,595 @@ export declare function createAgent(transport: Transport): {
2437
2924
  retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2438
2925
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2439
2926
  };
2927
+ loginIntents: {
2928
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateAgentLoginIntentData> | undefined) => Promise<{
2929
+ code: string;
2930
+ expires_at: string;
2931
+ }>;
2932
+ };
2440
2933
  sessions: {
2441
- archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2442
- id: string;
2443
- agent: {
2934
+ agentVersion: {
2935
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2444
2936
  id: string;
2445
- description: null | string;
2446
- mcp_servers: Array<Types.AgentManaged36>;
2447
- model: {
2937
+ agent: {
2448
2938
  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";
2939
+ description: null | string;
2940
+ mcp_servers: Array<{
2941
+ type: "url";
2942
+ name: string;
2943
+ url: string;
2944
+ headers?: {
2945
+ [key: string]: string;
2946
+ };
2947
+ timeout_ms?: number;
2948
+ } | {
2949
+ type: "sse";
2950
+ name: string;
2951
+ url: string;
2952
+ headers?: {
2953
+ [key: string]: string;
2954
+ };
2955
+ timeout_ms?: number;
2956
+ } | {
2957
+ type: "stdio";
2958
+ name: string;
2959
+ command: string;
2960
+ args?: Array<string>;
2961
+ env?: {
2962
+ [key: string]: string;
2963
+ };
2964
+ timeout_ms?: number;
2965
+ }>;
2966
+ model: {
2967
+ id: string;
2968
+ effort?: {
2969
+ type: "low";
2970
+ } | {
2971
+ type: "medium";
2972
+ } | {
2973
+ type: "high";
2974
+ } | {
2975
+ type: "xhigh";
2976
+ } | {
2977
+ type: "max";
2978
+ };
2979
+ inference_geo?: string;
2980
+ speed?: "standard" | "fast";
2981
+ settings?: {
2982
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2983
+ max_output_tokens?: number;
2984
+ };
2454
2985
  };
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;
2986
+ multiagent: null | {
2987
+ agents: Array<{
2988
+ model: string;
2989
+ type: "advisor";
2990
+ } | {
2991
+ id: string;
2992
+ description: null | string;
2993
+ mcp_servers: Array<{
2994
+ type: "url";
2995
+ name: string;
2996
+ url: string;
2997
+ headers?: {
2998
+ [key: string]: string;
2999
+ };
3000
+ timeout_ms?: number;
3001
+ } | {
3002
+ type: "sse";
3003
+ name: string;
3004
+ url: string;
3005
+ headers?: {
3006
+ [key: string]: string;
3007
+ };
3008
+ timeout_ms?: number;
3009
+ } | {
3010
+ type: "stdio";
3011
+ name: string;
3012
+ command: string;
3013
+ args?: Array<string>;
3014
+ env?: {
3015
+ [key: string]: string;
3016
+ };
3017
+ timeout_ms?: number;
3018
+ }>;
3019
+ model: {
3020
+ id: string;
3021
+ effort?: {
3022
+ type: "low";
3023
+ } | {
3024
+ type: "medium";
3025
+ } | {
3026
+ type: "high";
3027
+ } | {
3028
+ type: "xhigh";
3029
+ } | {
3030
+ type: "max";
3031
+ };
3032
+ inference_geo?: string;
3033
+ speed?: "standard" | "fast";
3034
+ };
3035
+ name: string;
3036
+ skills: Array<{
3037
+ skill_id: string;
3038
+ type: "anthropic";
3039
+ version: string;
3040
+ } | {
3041
+ skill_id: string;
3042
+ type: "custom";
3043
+ version: string;
3044
+ }>;
3045
+ system: null | string;
3046
+ tools: Array<{
3047
+ configs: Array<{
3048
+ enabled: boolean;
3049
+ name: "bash";
3050
+ permission_policy: {
3051
+ type: "always_allow";
3052
+ } | {
3053
+ type: "always_ask";
3054
+ } | {
3055
+ type: "auto";
3056
+ };
3057
+ type: "bash";
3058
+ } | {
3059
+ enabled: boolean;
3060
+ name: "edit";
3061
+ permission_policy: {
3062
+ type: "always_allow";
3063
+ } | {
3064
+ type: "always_ask";
3065
+ } | {
3066
+ type: "auto";
3067
+ };
3068
+ type: "edit";
3069
+ } | {
3070
+ enabled: boolean;
3071
+ name: "read";
3072
+ permission_policy: {
3073
+ type: "always_allow";
3074
+ } | {
3075
+ type: "always_ask";
3076
+ } | {
3077
+ type: "auto";
3078
+ };
3079
+ type: "read";
3080
+ } | {
3081
+ enabled: boolean;
3082
+ name: "write";
3083
+ permission_policy: {
3084
+ type: "always_allow";
3085
+ } | {
3086
+ type: "always_ask";
3087
+ } | {
3088
+ type: "auto";
3089
+ };
3090
+ type: "write";
3091
+ } | {
3092
+ enabled: boolean;
3093
+ name: "glob";
3094
+ permission_policy: {
3095
+ type: "always_allow";
3096
+ } | {
3097
+ type: "always_ask";
3098
+ } | {
3099
+ type: "auto";
3100
+ };
3101
+ type: "glob";
3102
+ } | {
3103
+ enabled: boolean;
3104
+ name: "grep";
3105
+ permission_policy: {
3106
+ type: "always_allow";
3107
+ } | {
3108
+ type: "always_ask";
3109
+ } | {
3110
+ type: "auto";
3111
+ };
3112
+ type: "grep";
3113
+ } | {
3114
+ enabled: boolean;
3115
+ name: "web_fetch";
3116
+ permission_policy: {
3117
+ type: "always_allow";
3118
+ } | {
3119
+ type: "always_ask";
3120
+ } | {
3121
+ type: "auto";
3122
+ };
3123
+ type: "web_fetch";
3124
+ allowed_domains?: Array<string>;
3125
+ blocked_domains?: Array<string>;
3126
+ max_content_tokens?: null | number;
3127
+ } | {
3128
+ enabled: boolean;
3129
+ name: "web_search";
3130
+ permission_policy: {
3131
+ type: "always_allow";
3132
+ } | {
3133
+ type: "always_ask";
3134
+ } | {
3135
+ type: "auto";
3136
+ };
3137
+ type: "web_search";
3138
+ allowed_domains?: Array<string>;
3139
+ blocked_domains?: Array<string>;
3140
+ user_location?: null | {
3141
+ type: "approximate";
3142
+ city?: null | string;
3143
+ country?: null | string;
3144
+ region?: null | string;
3145
+ timezone?: null | string;
3146
+ };
3147
+ } | {
3148
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3149
+ enabled: boolean;
3150
+ permission_policy: {
3151
+ type: "always_allow" | "always_ask";
3152
+ };
3153
+ }>;
3154
+ default_config: {
3155
+ enabled: boolean;
3156
+ permission_policy: {
3157
+ type: "always_allow";
3158
+ } | {
3159
+ type: "always_ask";
3160
+ } | {
3161
+ type: "auto";
3162
+ };
3163
+ };
3164
+ type: "agent_toolset_20260401";
3165
+ } | {
3166
+ type: "mcp_toolset";
3167
+ mcp_server_name: string;
3168
+ default_config?: {
3169
+ enabled?: boolean | null;
3170
+ permission_policy?: null | {
3171
+ type: "always_allow" | "always_ask";
3172
+ };
3173
+ } | null;
3174
+ configs?: Array<{
3175
+ name: string;
3176
+ enabled?: boolean | null;
3177
+ permission_policy?: null | {
3178
+ type: "always_allow" | "always_ask";
3179
+ };
3180
+ }> | null;
3181
+ } | {
3182
+ description: string;
3183
+ input_schema: {
3184
+ type: "object";
3185
+ properties?: null | {
3186
+ [key: string]: unknown;
3187
+ };
3188
+ required?: null | Array<string>;
3189
+ [key: string]: unknown;
3190
+ };
3191
+ name: string;
3192
+ type: "custom";
3193
+ }>;
3194
+ type: "agent";
3195
+ version: number;
3196
+ }>;
3197
+ type: "coordinator";
3198
+ };
3199
+ name: string;
3200
+ skills: Array<{
3201
+ skill_id: string;
3202
+ type: "anthropic";
3203
+ version: string;
3204
+ } | {
3205
+ skill_id: string;
3206
+ type: "custom";
3207
+ version: string;
3208
+ }>;
3209
+ system: null | string;
3210
+ tools: Array<{
3211
+ configs: Array<{
3212
+ enabled: boolean;
3213
+ name: "bash";
3214
+ permission_policy: {
3215
+ type: "always_allow";
3216
+ } | {
3217
+ type: "always_ask";
3218
+ } | {
3219
+ type: "auto";
3220
+ };
3221
+ type: "bash";
3222
+ } | {
3223
+ enabled: boolean;
3224
+ name: "edit";
3225
+ permission_policy: {
3226
+ type: "always_allow";
3227
+ } | {
3228
+ type: "always_ask";
3229
+ } | {
3230
+ type: "auto";
3231
+ };
3232
+ type: "edit";
3233
+ } | {
3234
+ enabled: boolean;
3235
+ name: "read";
3236
+ permission_policy: {
3237
+ type: "always_allow";
3238
+ } | {
3239
+ type: "always_ask";
3240
+ } | {
3241
+ type: "auto";
3242
+ };
3243
+ type: "read";
3244
+ } | {
3245
+ enabled: boolean;
3246
+ name: "write";
3247
+ permission_policy: {
3248
+ type: "always_allow";
3249
+ } | {
3250
+ type: "always_ask";
3251
+ } | {
3252
+ type: "auto";
3253
+ };
3254
+ type: "write";
3255
+ } | {
3256
+ enabled: boolean;
3257
+ name: "glob";
3258
+ permission_policy: {
3259
+ type: "always_allow";
3260
+ } | {
3261
+ type: "always_ask";
3262
+ } | {
3263
+ type: "auto";
3264
+ };
3265
+ type: "glob";
3266
+ } | {
3267
+ enabled: boolean;
3268
+ name: "grep";
3269
+ permission_policy: {
3270
+ type: "always_allow";
3271
+ } | {
3272
+ type: "always_ask";
3273
+ } | {
3274
+ type: "auto";
3275
+ };
3276
+ type: "grep";
3277
+ } | {
3278
+ enabled: boolean;
3279
+ name: "web_fetch";
3280
+ permission_policy: {
3281
+ type: "always_allow";
3282
+ } | {
3283
+ type: "always_ask";
3284
+ } | {
3285
+ type: "auto";
3286
+ };
3287
+ type: "web_fetch";
3288
+ allowed_domains?: Array<string>;
3289
+ blocked_domains?: Array<string>;
3290
+ max_content_tokens?: null | number;
3291
+ } | {
3292
+ enabled: boolean;
3293
+ name: "web_search";
3294
+ permission_policy: {
3295
+ type: "always_allow";
3296
+ } | {
3297
+ type: "always_ask";
3298
+ } | {
3299
+ type: "auto";
3300
+ };
3301
+ type: "web_search";
3302
+ allowed_domains?: Array<string>;
3303
+ blocked_domains?: Array<string>;
3304
+ user_location?: null | {
3305
+ type: "approximate";
3306
+ city?: null | string;
3307
+ country?: null | string;
3308
+ region?: null | string;
3309
+ timezone?: null | string;
3310
+ };
3311
+ } | {
3312
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3313
+ enabled: boolean;
3314
+ permission_policy: {
3315
+ type: "always_allow" | "always_ask";
3316
+ };
3317
+ }>;
3318
+ default_config: {
3319
+ enabled: boolean;
3320
+ permission_policy: {
3321
+ type: "always_allow";
3322
+ } | {
3323
+ type: "always_ask";
3324
+ } | {
3325
+ type: "auto";
3326
+ };
3327
+ };
3328
+ type: "agent_toolset_20260401";
3329
+ } | {
3330
+ type: "mcp_toolset";
3331
+ mcp_server_name: string;
3332
+ default_config?: {
3333
+ enabled?: boolean | null;
3334
+ permission_policy?: null | {
3335
+ type: "always_allow" | "always_ask";
3336
+ };
3337
+ } | null;
3338
+ configs?: Array<{
3339
+ name: string;
3340
+ enabled?: boolean | null;
3341
+ permission_policy?: null | {
3342
+ type: "always_allow" | "always_ask";
3343
+ };
3344
+ }> | null;
3345
+ } | {
3346
+ description: string;
3347
+ input_schema: {
3348
+ type: "object";
3349
+ properties?: null | {
3350
+ [key: string]: unknown;
3351
+ };
3352
+ required?: null | Array<string>;
3353
+ [key: string]: unknown;
3354
+ };
3355
+ name: string;
3356
+ type: "custom";
3357
+ }>;
3358
+ type: "agent";
3359
+ version: number;
3360
+ };
3361
+ archived_at: null | string;
3362
+ budget: null | {
3363
+ max_list_cost: {
3364
+ amount: string;
3365
+ currency: "USD";
3366
+ };
3367
+ type: "limit";
3368
+ };
3369
+ created_at: string;
3370
+ environment_id?: string;
3371
+ metadata: {
3372
+ [key: string]: string;
3373
+ };
3374
+ outcome_evaluations: Array<{
3375
+ completed_at: null | string;
3376
+ description: string;
3377
+ explanation: null | string;
3378
+ iteration: number;
3379
+ outcome_id: string;
3380
+ result: string;
3381
+ type: "outcome_evaluation";
3382
+ }>;
3383
+ resources: Array<{
3384
+ id: string;
3385
+ created_at: string;
3386
+ mount_path: string;
3387
+ type: "github_repository";
3388
+ updated_at: string;
3389
+ url: string;
3390
+ checkout?: null | {
3391
+ name: string;
3392
+ type: "branch";
3393
+ } | {
3394
+ sha: string;
3395
+ type: "commit";
3396
+ };
3397
+ } | {
3398
+ id: string;
3399
+ created_at: string;
3400
+ file_id: string;
3401
+ mount_path: string;
3402
+ type: "file";
3403
+ updated_at: string;
3404
+ } | {
3405
+ memory_store_id: string;
3406
+ type: "memory_store";
3407
+ access?: null | "read_write" | "read_only";
3408
+ description?: string;
3409
+ instructions?: null | string;
3410
+ mount_path?: null | string;
3411
+ name?: null | string;
3412
+ }>;
3413
+ stats: {
3414
+ active_seconds?: number;
3415
+ duration_seconds?: number;
3416
+ };
3417
+ status: "rescheduling" | "running" | "idle" | "terminated";
3418
+ title: null | string;
3419
+ type: "session";
3420
+ updated_at: string;
3421
+ usage: {
3422
+ active_seconds?: number;
3423
+ cache_creation?: {
3424
+ ephemeral_1h_input_tokens?: number;
3425
+ ephemeral_5m_input_tokens?: number;
3426
+ };
3427
+ cache_read_input_tokens?: number;
3428
+ input_tokens?: number;
3429
+ list_cost?: null | {
3430
+ amount: string;
3431
+ currency: "USD";
3432
+ };
3433
+ output_tokens?: number;
3434
+ server_tool_use?: null | {
3435
+ web_fetch_requests?: number;
3436
+ web_search_requests?: number;
3437
+ };
3438
+ cost_by_product?: {
3439
+ [key: string]: string;
3440
+ };
3441
+ subagent_cost_micro_usd?: number;
3442
+ };
3443
+ vault_ids: Array<string>;
3444
+ deployment_id?: null | string;
3445
+ cwd: string;
3446
+ workspace?: {
3447
+ kind: "shared" | "isolated";
3448
+ path?: string;
3449
+ branch?: string;
3450
+ };
3451
+ computer_id?: string;
3452
+ model?: {
3453
+ id: string;
3454
+ thinking: {
3455
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3456
+ can_disable: boolean;
3457
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3458
+ } | null;
3459
+ };
3460
+ thinking?: {
3461
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3462
+ } | null;
3463
+ forked_from?: {
3464
+ session_id: string;
3465
+ message_id: string;
3466
+ } | null;
3467
+ readonly external_user_id: string | null;
3468
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3469
+ }>;
3470
+ };
3471
+ archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
3472
+ id: string;
3473
+ agent: {
3474
+ id: string;
3475
+ description: null | string;
3476
+ mcp_servers: Array<Types.AgentManaged36>;
3477
+ model: {
3478
+ id: string;
3479
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
3480
+ inference_geo?: string;
3481
+ speed?: "standard" | "fast";
3482
+ settings?: {
3483
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3484
+ max_output_tokens?: number;
3485
+ };
3486
+ };
3487
+ multiagent: null | Types.AgentManaged171;
3488
+ name: string;
3489
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
3490
+ system: null | string;
3491
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
3492
+ type: "agent";
3493
+ version: number;
3494
+ };
3495
+ archived_at: null | string;
3496
+ budget: null | Types.AgentManaged76;
3497
+ created_at: string;
3498
+ environment_id?: string;
3499
+ metadata: Types.AgentManaged173;
3500
+ outcome_evaluations: Array<Types.AgentManaged174>;
3501
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3502
+ stats: Types.AgentManaged178;
3503
+ status: "rescheduling" | "running" | "idle" | "terminated";
3504
+ title: null | string;
3505
+ type: "session";
3506
+ updated_at: string;
3507
+ usage: Types.AgentManaged179;
3508
+ vault_ids: Array<string>;
3509
+ deployment_id?: null | string;
2479
3510
  cwd: string;
3511
+ workspace?: {
3512
+ kind: "shared" | "isolated";
3513
+ path?: string;
3514
+ branch?: string;
3515
+ };
2480
3516
  computer_id?: string;
2481
3517
  model?: {
2482
3518
  id: string;
@@ -2612,6 +3648,7 @@ export declare function createAgent(transport: Transport): {
2612
3648
  speed?: "standard" | "fast";
2613
3649
  settings?: {
2614
3650
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3651
+ max_output_tokens?: number;
2615
3652
  };
2616
3653
  };
2617
3654
  multiagent: null | Types.AgentManaged171;
@@ -2638,6 +3675,11 @@ export declare function createAgent(transport: Transport): {
2638
3675
  vault_ids: Array<string>;
2639
3676
  deployment_id?: null | string;
2640
3677
  cwd: string;
3678
+ workspace?: {
3679
+ kind: "shared" | "isolated";
3680
+ path?: string;
3681
+ branch?: string;
3682
+ };
2641
3683
  computer_id?: string;
2642
3684
  model?: {
2643
3685
  id: string;
@@ -2658,6 +3700,13 @@ export declare function createAgent(transport: Transport): {
2658
3700
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2659
3701
  }>;
2660
3702
  delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
3703
+ dictations: {
3704
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
3705
+ id: string;
3706
+ push_url: string;
3707
+ expires_at: string;
3708
+ }>;
3709
+ };
2661
3710
  events: {
2662
3711
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
2663
3712
  data: Array<{
@@ -2698,7 +3747,6 @@ export declare function createAgent(transport: Transport): {
2698
3747
  run_id: string | null;
2699
3748
  message_id?: string;
2700
3749
  } | {
2701
- full_access_available?: boolean;
2702
3750
  id: string;
2703
3751
  input: Types.AgentManaged197;
2704
3752
  mcp_server_name: string;
@@ -2708,6 +3756,18 @@ export declare function createAgent(transport: Transport): {
2708
3756
  evaluated_permission?: "allow" | "deny" | "ask";
2709
3757
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2710
3758
  session_thread_id?: null | string;
3759
+ permission_suggestions?: Array<{
3760
+ type: "add_rules";
3761
+ behavior: "allow";
3762
+ destination: "agent" | "session";
3763
+ rules: Array<{
3764
+ tool_name: string;
3765
+ rule_content: string;
3766
+ }>;
3767
+ }>;
3768
+ full_access_available?: boolean;
3769
+ user_once?: true;
3770
+ guarded_rule?: string;
2711
3771
  run_id: string | null;
2712
3772
  _meta?: {
2713
3773
  ui?: {
@@ -2721,17 +3781,6 @@ export declare function createAgent(transport: Transport): {
2721
3781
  };
2722
3782
  source?: "app" | "codemode";
2723
3783
  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
3784
  title?: string;
2736
3785
  input_titles?: {
2737
3786
  [key: string]: string;
@@ -2750,7 +3799,6 @@ export declare function createAgent(transport: Transport): {
2750
3799
  };
2751
3800
  source?: "app" | "codemode";
2752
3801
  } | {
2753
- full_access_available?: boolean;
2754
3802
  id: string;
2755
3803
  input: Types.AgentManaged206;
2756
3804
  name: string;
@@ -2759,9 +3807,6 @@ export declare function createAgent(transport: Transport): {
2759
3807
  evaluated_permission?: "allow" | "deny" | "ask";
2760
3808
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2761
3809
  session_thread_id?: null | string;
2762
- run_id: string | null;
2763
- user_once?: true;
2764
- guarded_rule?: string;
2765
3810
  permission_suggestions?: Array<{
2766
3811
  type: "add_rules";
2767
3812
  behavior: "allow";
@@ -2771,6 +3816,10 @@ export declare function createAgent(transport: Transport): {
2771
3816
  rule_content: string;
2772
3817
  }>;
2773
3818
  }>;
3819
+ full_access_available?: boolean;
3820
+ user_once?: true;
3821
+ guarded_rule?: string;
3822
+ run_id: string | null;
2774
3823
  } | {
2775
3824
  id: string;
2776
3825
  processed_at: string;
@@ -2791,9 +3840,6 @@ export declare function createAgent(transport: Transport): {
2791
3840
  type: "session.status_idle";
2792
3841
  run_id: string | null;
2793
3842
  } | 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
3843
  id: string;
2798
3844
  processed_at: string;
2799
3845
  type: "session.updated";
@@ -2801,6 +3847,9 @@ export declare function createAgent(transport: Transport): {
2801
3847
  budget?: null | Types.AgentManaged76;
2802
3848
  metadata?: Types.AgentManaged246;
2803
3849
  title?: null | string;
3850
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3851
+ previous_permission_mode?: string | null;
3852
+ permission_mode_version?: number;
2804
3853
  model?: {
2805
3854
  id: string;
2806
3855
  };
@@ -2810,6 +3859,8 @@ export declare function createAgent(transport: Transport): {
2810
3859
  processed_at: string;
2811
3860
  forked_from_session_id: string;
2812
3861
  forked_from_message_id: string;
3862
+ message_id?: string;
3863
+ session_thread_id?: string | null;
2813
3864
  } | {
2814
3865
  id: string;
2815
3866
  type: "session.goal_changed";
@@ -2840,6 +3891,8 @@ export declare function createAgent(transport: Transport): {
2840
3891
  created_at: number;
2841
3892
  updated_at: number;
2842
3893
  } | null;
3894
+ message_id?: string;
3895
+ session_thread_id?: string | null;
2843
3896
  } | {
2844
3897
  id: string;
2845
3898
  type: "session.goal_verification";
@@ -2854,26 +3907,179 @@ export declare function createAgent(transport: Transport): {
2854
3907
  reason: string;
2855
3908
  next_action?: string;
2856
3909
  };
3910
+ message_id?: string;
3911
+ session_thread_id?: string | null;
2857
3912
  } | {
2858
3913
  id: string;
2859
3914
  type: "user.steer";
2860
3915
  event_id: string;
2861
3916
  processed_at: string;
3917
+ message_id?: string;
3918
+ session_thread_id?: string | null;
3919
+ } | {
3920
+ id: string;
3921
+ type: "cognition.surfaced";
3922
+ processed_at: string;
3923
+ worker_session_id: string;
3924
+ name: string;
3925
+ state: "done" | "waiting" | "failed" | "archived";
3926
+ experience_id?: string;
3927
+ result?: {
3928
+ message?: string;
3929
+ links?: Array<string>;
3930
+ files?: Array<{
3931
+ name?: string;
3932
+ href?: string;
3933
+ }>;
3934
+ held?: Array<{
3935
+ id?: string;
3936
+ summary?: string;
3937
+ effect?: string;
3938
+ method?: string;
3939
+ path?: string;
3940
+ expires_at?: string;
3941
+ }>;
3942
+ };
3943
+ } | {
3944
+ id: string;
3945
+ type: "cognition.intention_woken";
3946
+ processed_at: string;
3947
+ node_id: string;
3948
+ reason: "open_engram" | "assignment";
3949
+ } | {
3950
+ id: string;
3951
+ type: "agent.operation_approval_requested";
3952
+ processed_at: string;
3953
+ approval_id: string;
3954
+ operation_id: string;
3955
+ effect: "outward" | "irreversible";
3956
+ method: string;
3957
+ path: string;
3958
+ summary: string;
3959
+ expires_at: string;
3960
+ worker_session_id?: string;
3961
+ worker_name?: string;
3962
+ } | {
3963
+ id: string;
3964
+ type: "agent.operation_approval_decided";
3965
+ processed_at: string;
3966
+ approval_id: string;
3967
+ status: "approved" | "refused" | "expired";
3968
+ } | {
3969
+ id: string;
3970
+ type: "session.prompt_configuration_mismatch";
3971
+ processed_at: string;
3972
+ pinned_revision_id: string;
3973
+ current_revision_id: string;
3974
+ } | {
3975
+ id: string;
3976
+ type: "session.prompt_rev_changed";
3977
+ processed_at: string;
3978
+ config_revision_id: string;
3979
+ changed: Array<{
3980
+ name: string;
3981
+ rev: string | null;
3982
+ }>;
3983
+ } | {
3984
+ id: string;
3985
+ type: "session.computer_tier";
3986
+ processed_at: string;
3987
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
3988
+ tier: "light" | "heavy";
3989
+ duration_ms: number;
3990
+ error_code?: string;
3991
+ status?: {
3992
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
3993
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
3994
+ percent?: number;
3995
+ files_done?: number;
3996
+ files_total?: number;
3997
+ idle_release_at?: number;
3998
+ retry_at?: number;
3999
+ epoch?: number;
4000
+ heavy_instance?: string | null;
4001
+ heavy_paused?: boolean;
4002
+ };
4003
+ } | {
4004
+ id: string;
4005
+ type: "agent.artifact_delivered";
4006
+ processed_at: string;
4007
+ artifact: {
4008
+ object: "artifact";
4009
+ id: string;
4010
+ session_id: string;
4011
+ run_id: string | null;
4012
+ name: string;
4013
+ version: number;
4014
+ parts: Array<{
4015
+ [key: string]: unknown;
4016
+ }>;
4017
+ source_hrefs: Array<string>;
4018
+ create_time: string;
4019
+ update_time: string;
4020
+ };
2862
4021
  } | {
2863
4022
  id: string;
2864
- type: "user.tool_confirmation";
4023
+ type: "agent.image_generation";
2865
4024
  processed_at: string;
2866
4025
  tool_use_id: string;
2867
- result: "allow";
2868
- answers: {
2869
- [key: string]: string;
4026
+ index: number;
4027
+ total: number;
4028
+ status: string;
4029
+ mode?: string;
4030
+ aspect?: string;
4031
+ prompt?: string;
4032
+ model?: string;
4033
+ file_id?: string;
4034
+ label?: string;
4035
+ width?: number;
4036
+ height?: number;
4037
+ revised_prompt?: string;
4038
+ source_labels?: Array<string>;
4039
+ caption?: string;
4040
+ slot?: number | null;
4041
+ replaces?: string;
4042
+ version?: number;
4043
+ failure?: {
4044
+ reason?: string;
2870
4045
  };
2871
- annotations?: {
2872
- [key: string]: {
2873
- preview?: string;
2874
- notes?: string;
2875
- };
4046
+ } | {
4047
+ id: string;
4048
+ type: "session.image_labeled";
4049
+ processed_at: string;
4050
+ label: string;
4051
+ file_id: string;
4052
+ origin: "generated" | "uploaded";
4053
+ filename: string;
4054
+ tool_use_id?: string;
4055
+ version?: number;
4056
+ replaced_file_id?: string;
4057
+ } | {
4058
+ id: string;
4059
+ type: "session.image_set_planned";
4060
+ processed_at: string;
4061
+ tool_use_id: string;
4062
+ items: Array<unknown>;
4063
+ title?: string;
4064
+ } | {
4065
+ id: string;
4066
+ type: "session.project_attached";
4067
+ processed_at: string;
4068
+ project: {
4069
+ id: string;
4070
+ name: string;
4071
+ path: string;
2876
4072
  };
4073
+ message_id?: string;
4074
+ session_thread_id?: string | null;
4075
+ } | {
4076
+ id: string;
4077
+ type: "session.project_detached";
4078
+ processed_at: string;
4079
+ project_id: string;
4080
+ reason?: "project_removed";
4081
+ message_id?: string;
4082
+ session_thread_id?: string | null;
2877
4083
  }>;
2878
4084
  next_page: string | null;
2879
4085
  }>;
@@ -2894,21 +4100,8 @@ export declare function createAgent(transport: Transport): {
2894
4100
  type: "user.steer";
2895
4101
  event_id: string;
2896
4102
  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
- };
4103
+ message_id?: string;
4104
+ session_thread_id?: string | null;
2912
4105
  }>;
2913
4106
  }>;
2914
4107
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2961,6 +4154,7 @@ export declare function createAgent(transport: Transport): {
2961
4154
  speed?: "standard" | "fast";
2962
4155
  settings?: {
2963
4156
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4157
+ max_output_tokens?: number;
2964
4158
  };
2965
4159
  };
2966
4160
  multiagent: null | {
@@ -3423,6 +4617,11 @@ export declare function createAgent(transport: Transport): {
3423
4617
  vault_ids: Array<string>;
3424
4618
  deployment_id?: null | string;
3425
4619
  cwd: string;
4620
+ workspace?: {
4621
+ kind: "shared" | "isolated";
4622
+ path?: string;
4623
+ branch?: string;
4624
+ };
3426
4625
  computer_id?: string;
3427
4626
  model?: {
3428
4627
  id: string;
@@ -3456,6 +4655,7 @@ export declare function createAgent(transport: Transport): {
3456
4655
  speed?: "standard" | "fast";
3457
4656
  settings?: {
3458
4657
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4658
+ max_output_tokens?: number;
3459
4659
  };
3460
4660
  };
3461
4661
  multiagent: null | Types.AgentManaged171;
@@ -3466,22 +4666,565 @@ export declare function createAgent(transport: Transport): {
3466
4666
  type: "agent";
3467
4667
  version: number;
3468
4668
  };
3469
- archived_at: null | string;
3470
- budget: null | Types.AgentManaged76;
4669
+ archived_at: null | string;
4670
+ budget: null | Types.AgentManaged76;
4671
+ created_at: string;
4672
+ environment_id?: string;
4673
+ metadata: Types.AgentManaged173;
4674
+ outcome_evaluations: Array<Types.AgentManaged174>;
4675
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4676
+ stats: Types.AgentManaged178;
4677
+ status: "rescheduling" | "running" | "idle" | "terminated";
4678
+ title: null | string;
4679
+ type: "session";
4680
+ updated_at: string;
4681
+ usage: Types.AgentManaged179;
4682
+ vault_ids: Array<string>;
4683
+ deployment_id?: null | string;
4684
+ cwd: string;
4685
+ workspace?: {
4686
+ kind: "shared" | "isolated";
4687
+ path?: string;
4688
+ branch?: string;
4689
+ };
4690
+ computer_id?: string;
4691
+ model?: {
4692
+ id: string;
4693
+ thinking: {
4694
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4695
+ can_disable: boolean;
4696
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4697
+ } | null;
4698
+ };
4699
+ thinking?: {
4700
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4701
+ } | null;
4702
+ forked_from?: {
4703
+ session_id: string;
4704
+ message_id: string;
4705
+ } | null;
4706
+ readonly external_user_id: string | null;
4707
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4708
+ }>;
4709
+ next_page: string | null;
4710
+ }>;
4711
+ name: {
4712
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4713
+ id: string;
4714
+ agent: {
4715
+ id: string;
4716
+ description: null | string;
4717
+ mcp_servers: Array<{
4718
+ type: "url";
4719
+ name: string;
4720
+ url: string;
4721
+ headers?: {
4722
+ [key: string]: string;
4723
+ };
4724
+ timeout_ms?: number;
4725
+ } | {
4726
+ type: "sse";
4727
+ name: string;
4728
+ url: string;
4729
+ headers?: {
4730
+ [key: string]: string;
4731
+ };
4732
+ timeout_ms?: number;
4733
+ } | {
4734
+ type: "stdio";
4735
+ name: string;
4736
+ command: string;
4737
+ args?: Array<string>;
4738
+ env?: {
4739
+ [key: string]: string;
4740
+ };
4741
+ timeout_ms?: number;
4742
+ }>;
4743
+ model: {
4744
+ id: string;
4745
+ effort?: {
4746
+ type: "low";
4747
+ } | {
4748
+ type: "medium";
4749
+ } | {
4750
+ type: "high";
4751
+ } | {
4752
+ type: "xhigh";
4753
+ } | {
4754
+ type: "max";
4755
+ };
4756
+ inference_geo?: string;
4757
+ speed?: "standard" | "fast";
4758
+ settings?: {
4759
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4760
+ max_output_tokens?: number;
4761
+ };
4762
+ };
4763
+ multiagent: null | {
4764
+ agents: Array<{
4765
+ model: string;
4766
+ type: "advisor";
4767
+ } | {
4768
+ id: string;
4769
+ description: null | string;
4770
+ mcp_servers: Array<{
4771
+ type: "url";
4772
+ name: string;
4773
+ url: string;
4774
+ headers?: {
4775
+ [key: string]: string;
4776
+ };
4777
+ timeout_ms?: number;
4778
+ } | {
4779
+ type: "sse";
4780
+ name: string;
4781
+ url: string;
4782
+ headers?: {
4783
+ [key: string]: string;
4784
+ };
4785
+ timeout_ms?: number;
4786
+ } | {
4787
+ type: "stdio";
4788
+ name: string;
4789
+ command: string;
4790
+ args?: Array<string>;
4791
+ env?: {
4792
+ [key: string]: string;
4793
+ };
4794
+ timeout_ms?: number;
4795
+ }>;
4796
+ model: {
4797
+ id: string;
4798
+ effort?: {
4799
+ type: "low";
4800
+ } | {
4801
+ type: "medium";
4802
+ } | {
4803
+ type: "high";
4804
+ } | {
4805
+ type: "xhigh";
4806
+ } | {
4807
+ type: "max";
4808
+ };
4809
+ inference_geo?: string;
4810
+ speed?: "standard" | "fast";
4811
+ };
4812
+ name: string;
4813
+ skills: Array<{
4814
+ skill_id: string;
4815
+ type: "anthropic";
4816
+ version: string;
4817
+ } | {
4818
+ skill_id: string;
4819
+ type: "custom";
4820
+ version: string;
4821
+ }>;
4822
+ system: null | string;
4823
+ tools: Array<{
4824
+ configs: Array<{
4825
+ enabled: boolean;
4826
+ name: "bash";
4827
+ permission_policy: {
4828
+ type: "always_allow";
4829
+ } | {
4830
+ type: "always_ask";
4831
+ } | {
4832
+ type: "auto";
4833
+ };
4834
+ type: "bash";
4835
+ } | {
4836
+ enabled: boolean;
4837
+ name: "edit";
4838
+ permission_policy: {
4839
+ type: "always_allow";
4840
+ } | {
4841
+ type: "always_ask";
4842
+ } | {
4843
+ type: "auto";
4844
+ };
4845
+ type: "edit";
4846
+ } | {
4847
+ enabled: boolean;
4848
+ name: "read";
4849
+ permission_policy: {
4850
+ type: "always_allow";
4851
+ } | {
4852
+ type: "always_ask";
4853
+ } | {
4854
+ type: "auto";
4855
+ };
4856
+ type: "read";
4857
+ } | {
4858
+ enabled: boolean;
4859
+ name: "write";
4860
+ permission_policy: {
4861
+ type: "always_allow";
4862
+ } | {
4863
+ type: "always_ask";
4864
+ } | {
4865
+ type: "auto";
4866
+ };
4867
+ type: "write";
4868
+ } | {
4869
+ enabled: boolean;
4870
+ name: "glob";
4871
+ permission_policy: {
4872
+ type: "always_allow";
4873
+ } | {
4874
+ type: "always_ask";
4875
+ } | {
4876
+ type: "auto";
4877
+ };
4878
+ type: "glob";
4879
+ } | {
4880
+ enabled: boolean;
4881
+ name: "grep";
4882
+ permission_policy: {
4883
+ type: "always_allow";
4884
+ } | {
4885
+ type: "always_ask";
4886
+ } | {
4887
+ type: "auto";
4888
+ };
4889
+ type: "grep";
4890
+ } | {
4891
+ enabled: boolean;
4892
+ name: "web_fetch";
4893
+ permission_policy: {
4894
+ type: "always_allow";
4895
+ } | {
4896
+ type: "always_ask";
4897
+ } | {
4898
+ type: "auto";
4899
+ };
4900
+ type: "web_fetch";
4901
+ allowed_domains?: Array<string>;
4902
+ blocked_domains?: Array<string>;
4903
+ max_content_tokens?: null | number;
4904
+ } | {
4905
+ enabled: boolean;
4906
+ name: "web_search";
4907
+ permission_policy: {
4908
+ type: "always_allow";
4909
+ } | {
4910
+ type: "always_ask";
4911
+ } | {
4912
+ type: "auto";
4913
+ };
4914
+ type: "web_search";
4915
+ allowed_domains?: Array<string>;
4916
+ blocked_domains?: Array<string>;
4917
+ user_location?: null | {
4918
+ type: "approximate";
4919
+ city?: null | string;
4920
+ country?: null | string;
4921
+ region?: null | string;
4922
+ timezone?: null | string;
4923
+ };
4924
+ } | {
4925
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4926
+ enabled: boolean;
4927
+ permission_policy: {
4928
+ type: "always_allow" | "always_ask";
4929
+ };
4930
+ }>;
4931
+ default_config: {
4932
+ enabled: boolean;
4933
+ permission_policy: {
4934
+ type: "always_allow";
4935
+ } | {
4936
+ type: "always_ask";
4937
+ } | {
4938
+ type: "auto";
4939
+ };
4940
+ };
4941
+ type: "agent_toolset_20260401";
4942
+ } | {
4943
+ type: "mcp_toolset";
4944
+ mcp_server_name: string;
4945
+ default_config?: {
4946
+ enabled?: boolean | null;
4947
+ permission_policy?: null | {
4948
+ type: "always_allow" | "always_ask";
4949
+ };
4950
+ } | null;
4951
+ configs?: Array<{
4952
+ name: string;
4953
+ enabled?: boolean | null;
4954
+ permission_policy?: null | {
4955
+ type: "always_allow" | "always_ask";
4956
+ };
4957
+ }> | null;
4958
+ } | {
4959
+ description: string;
4960
+ input_schema: {
4961
+ type: "object";
4962
+ properties?: null | {
4963
+ [key: string]: unknown;
4964
+ };
4965
+ required?: null | Array<string>;
4966
+ [key: string]: unknown;
4967
+ };
4968
+ name: string;
4969
+ type: "custom";
4970
+ }>;
4971
+ type: "agent";
4972
+ version: number;
4973
+ }>;
4974
+ type: "coordinator";
4975
+ };
4976
+ name: string;
4977
+ skills: Array<{
4978
+ skill_id: string;
4979
+ type: "anthropic";
4980
+ version: string;
4981
+ } | {
4982
+ skill_id: string;
4983
+ type: "custom";
4984
+ version: string;
4985
+ }>;
4986
+ system: null | string;
4987
+ tools: Array<{
4988
+ configs: Array<{
4989
+ enabled: boolean;
4990
+ name: "bash";
4991
+ permission_policy: {
4992
+ type: "always_allow";
4993
+ } | {
4994
+ type: "always_ask";
4995
+ } | {
4996
+ type: "auto";
4997
+ };
4998
+ type: "bash";
4999
+ } | {
5000
+ enabled: boolean;
5001
+ name: "edit";
5002
+ permission_policy: {
5003
+ type: "always_allow";
5004
+ } | {
5005
+ type: "always_ask";
5006
+ } | {
5007
+ type: "auto";
5008
+ };
5009
+ type: "edit";
5010
+ } | {
5011
+ enabled: boolean;
5012
+ name: "read";
5013
+ permission_policy: {
5014
+ type: "always_allow";
5015
+ } | {
5016
+ type: "always_ask";
5017
+ } | {
5018
+ type: "auto";
5019
+ };
5020
+ type: "read";
5021
+ } | {
5022
+ enabled: boolean;
5023
+ name: "write";
5024
+ permission_policy: {
5025
+ type: "always_allow";
5026
+ } | {
5027
+ type: "always_ask";
5028
+ } | {
5029
+ type: "auto";
5030
+ };
5031
+ type: "write";
5032
+ } | {
5033
+ enabled: boolean;
5034
+ name: "glob";
5035
+ permission_policy: {
5036
+ type: "always_allow";
5037
+ } | {
5038
+ type: "always_ask";
5039
+ } | {
5040
+ type: "auto";
5041
+ };
5042
+ type: "glob";
5043
+ } | {
5044
+ enabled: boolean;
5045
+ name: "grep";
5046
+ permission_policy: {
5047
+ type: "always_allow";
5048
+ } | {
5049
+ type: "always_ask";
5050
+ } | {
5051
+ type: "auto";
5052
+ };
5053
+ type: "grep";
5054
+ } | {
5055
+ enabled: boolean;
5056
+ name: "web_fetch";
5057
+ permission_policy: {
5058
+ type: "always_allow";
5059
+ } | {
5060
+ type: "always_ask";
5061
+ } | {
5062
+ type: "auto";
5063
+ };
5064
+ type: "web_fetch";
5065
+ allowed_domains?: Array<string>;
5066
+ blocked_domains?: Array<string>;
5067
+ max_content_tokens?: null | number;
5068
+ } | {
5069
+ enabled: boolean;
5070
+ name: "web_search";
5071
+ permission_policy: {
5072
+ type: "always_allow";
5073
+ } | {
5074
+ type: "always_ask";
5075
+ } | {
5076
+ type: "auto";
5077
+ };
5078
+ type: "web_search";
5079
+ allowed_domains?: Array<string>;
5080
+ blocked_domains?: Array<string>;
5081
+ user_location?: null | {
5082
+ type: "approximate";
5083
+ city?: null | string;
5084
+ country?: null | string;
5085
+ region?: null | string;
5086
+ timezone?: null | string;
5087
+ };
5088
+ } | {
5089
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
5090
+ enabled: boolean;
5091
+ permission_policy: {
5092
+ type: "always_allow" | "always_ask";
5093
+ };
5094
+ }>;
5095
+ default_config: {
5096
+ enabled: boolean;
5097
+ permission_policy: {
5098
+ type: "always_allow";
5099
+ } | {
5100
+ type: "always_ask";
5101
+ } | {
5102
+ type: "auto";
5103
+ };
5104
+ };
5105
+ type: "agent_toolset_20260401";
5106
+ } | {
5107
+ type: "mcp_toolset";
5108
+ mcp_server_name: string;
5109
+ default_config?: {
5110
+ enabled?: boolean | null;
5111
+ permission_policy?: null | {
5112
+ type: "always_allow" | "always_ask";
5113
+ };
5114
+ } | null;
5115
+ configs?: Array<{
5116
+ name: string;
5117
+ enabled?: boolean | null;
5118
+ permission_policy?: null | {
5119
+ type: "always_allow" | "always_ask";
5120
+ };
5121
+ }> | null;
5122
+ } | {
5123
+ description: string;
5124
+ input_schema: {
5125
+ type: "object";
5126
+ properties?: null | {
5127
+ [key: string]: unknown;
5128
+ };
5129
+ required?: null | Array<string>;
5130
+ [key: string]: unknown;
5131
+ };
5132
+ name: string;
5133
+ type: "custom";
5134
+ }>;
5135
+ type: "agent";
5136
+ version: number;
5137
+ };
5138
+ archived_at: null | string;
5139
+ budget: null | {
5140
+ max_list_cost: {
5141
+ amount: string;
5142
+ currency: "USD";
5143
+ };
5144
+ type: "limit";
5145
+ };
3471
5146
  created_at: string;
3472
5147
  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;
5148
+ metadata: {
5149
+ [key: string]: string;
5150
+ };
5151
+ outcome_evaluations: Array<{
5152
+ completed_at: null | string;
5153
+ description: string;
5154
+ explanation: null | string;
5155
+ iteration: number;
5156
+ outcome_id: string;
5157
+ result: string;
5158
+ type: "outcome_evaluation";
5159
+ }>;
5160
+ resources: Array<{
5161
+ id: string;
5162
+ created_at: string;
5163
+ mount_path: string;
5164
+ type: "github_repository";
5165
+ updated_at: string;
5166
+ url: string;
5167
+ checkout?: null | {
5168
+ name: string;
5169
+ type: "branch";
5170
+ } | {
5171
+ sha: string;
5172
+ type: "commit";
5173
+ };
5174
+ } | {
5175
+ id: string;
5176
+ created_at: string;
5177
+ file_id: string;
5178
+ mount_path: string;
5179
+ type: "file";
5180
+ updated_at: string;
5181
+ } | {
5182
+ memory_store_id: string;
5183
+ type: "memory_store";
5184
+ access?: null | "read_write" | "read_only";
5185
+ description?: string;
5186
+ instructions?: null | string;
5187
+ mount_path?: null | string;
5188
+ name?: null | string;
5189
+ }>;
5190
+ stats: {
5191
+ active_seconds?: number;
5192
+ duration_seconds?: number;
5193
+ };
3477
5194
  status: "rescheduling" | "running" | "idle" | "terminated";
3478
5195
  title: null | string;
3479
5196
  type: "session";
3480
5197
  updated_at: string;
3481
- usage: Types.AgentManaged179;
5198
+ usage: {
5199
+ active_seconds?: number;
5200
+ cache_creation?: {
5201
+ ephemeral_1h_input_tokens?: number;
5202
+ ephemeral_5m_input_tokens?: number;
5203
+ };
5204
+ cache_read_input_tokens?: number;
5205
+ input_tokens?: number;
5206
+ list_cost?: null | {
5207
+ amount: string;
5208
+ currency: "USD";
5209
+ };
5210
+ output_tokens?: number;
5211
+ server_tool_use?: null | {
5212
+ web_fetch_requests?: number;
5213
+ web_search_requests?: number;
5214
+ };
5215
+ cost_by_product?: {
5216
+ [key: string]: string;
5217
+ };
5218
+ subagent_cost_micro_usd?: number;
5219
+ };
3482
5220
  vault_ids: Array<string>;
3483
5221
  deployment_id?: null | string;
3484
5222
  cwd: string;
5223
+ workspace?: {
5224
+ kind: "shared" | "isolated";
5225
+ path?: string;
5226
+ branch?: string;
5227
+ };
3485
5228
  computer_id?: string;
3486
5229
  model?: {
3487
5230
  id: string;
@@ -3501,8 +5244,7 @@ export declare function createAgent(transport: Transport): {
3501
5244
  readonly external_user_id: string | null;
3502
5245
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3503
5246
  }>;
3504
- next_page: string | null;
3505
- }>;
5247
+ };
3506
5248
  requests: {
3507
5249
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
3508
5250
  data: Array<{
@@ -3547,6 +5289,7 @@ export declare function createAgent(transport: Transport): {
3547
5289
  speed?: "standard" | "fast";
3548
5290
  settings?: {
3549
5291
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5292
+ max_output_tokens?: number;
3550
5293
  };
3551
5294
  };
3552
5295
  multiagent: null | Types.AgentManaged171;
@@ -3573,6 +5316,11 @@ export declare function createAgent(transport: Transport): {
3573
5316
  vault_ids: Array<string>;
3574
5317
  deployment_id?: null | string;
3575
5318
  cwd: string;
5319
+ workspace?: {
5320
+ kind: "shared" | "isolated";
5321
+ path?: string;
5322
+ branch?: string;
5323
+ };
3576
5324
  computer_id?: string;
3577
5325
  model?: {
3578
5326
  id: string;
@@ -3655,6 +5403,16 @@ export declare function createAgent(transport: Transport): {
3655
5403
  };
3656
5404
  measured_at: string | null;
3657
5405
  }>;
5406
+ retrievePromptRevs: (options: import("./core/transport.js").CallOptions<Types.GetSessionPromptRevsData>) => Promise<{
5407
+ run_id: string | null;
5408
+ config_revision_id: string;
5409
+ config_version: number | null;
5410
+ platform: {
5411
+ [key: string]: string;
5412
+ };
5413
+ at: number;
5414
+ reaped_turns: number;
5415
+ }>;
3658
5416
  runs: {
3659
5417
  deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
3660
5418
  feedback: {
@@ -3719,7 +5477,6 @@ export declare function createAgent(transport: Transport): {
3719
5477
  run_id: string | null;
3720
5478
  message_id?: string;
3721
5479
  } | {
3722
- full_access_available?: boolean;
3723
5480
  id: string;
3724
5481
  input: Types.AgentManaged197;
3725
5482
  mcp_server_name: string;
@@ -3729,6 +5486,18 @@ export declare function createAgent(transport: Transport): {
3729
5486
  evaluated_permission?: "allow" | "deny" | "ask";
3730
5487
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3731
5488
  session_thread_id?: null | string;
5489
+ permission_suggestions?: Array<{
5490
+ type: "add_rules";
5491
+ behavior: "allow";
5492
+ destination: "agent" | "session";
5493
+ rules: Array<{
5494
+ tool_name: string;
5495
+ rule_content: string;
5496
+ }>;
5497
+ }>;
5498
+ full_access_available?: boolean;
5499
+ user_once?: true;
5500
+ guarded_rule?: string;
3732
5501
  run_id: string | null;
3733
5502
  parent_tool_use_id?: string;
3734
5503
  _meta?: {
@@ -3742,17 +5511,6 @@ export declare function createAgent(transport: Transport): {
3742
5511
  };
3743
5512
  };
3744
5513
  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
5514
  title?: string;
3757
5515
  input_titles?: {
3758
5516
  [key: string]: string;
@@ -3771,7 +5529,6 @@ export declare function createAgent(transport: Transport): {
3771
5529
  };
3772
5530
  source?: "app" | "codemode";
3773
5531
  } | {
3774
- full_access_available?: boolean;
3775
5532
  id: string;
3776
5533
  input: Types.AgentManaged206;
3777
5534
  name: string;
@@ -3780,9 +5537,6 @@ export declare function createAgent(transport: Transport): {
3780
5537
  evaluated_permission?: "allow" | "deny" | "ask";
3781
5538
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3782
5539
  session_thread_id?: null | string;
3783
- run_id: string | null;
3784
- user_once?: true;
3785
- guarded_rule?: string;
3786
5540
  permission_suggestions?: Array<{
3787
5541
  type: "add_rules";
3788
5542
  behavior: "allow";
@@ -3792,6 +5546,10 @@ export declare function createAgent(transport: Transport): {
3792
5546
  rule_content: string;
3793
5547
  }>;
3794
5548
  }>;
5549
+ full_access_available?: boolean;
5550
+ user_once?: true;
5551
+ guarded_rule?: string;
5552
+ run_id: string | null;
3795
5553
  } | {
3796
5554
  id: string;
3797
5555
  processed_at: string;
@@ -3812,9 +5570,6 @@ export declare function createAgent(transport: Transport): {
3812
5570
  type: "session.status_idle";
3813
5571
  run_id: string | null;
3814
5572
  } | 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
5573
  id: string;
3819
5574
  processed_at: string;
3820
5575
  type: "session.updated";
@@ -3822,6 +5577,9 @@ export declare function createAgent(transport: Transport): {
3822
5577
  budget?: null | Types.AgentManaged76;
3823
5578
  metadata?: Types.AgentManaged246;
3824
5579
  title?: null | string;
5580
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5581
+ previous_permission_mode?: string | null;
5582
+ permission_mode_version?: number;
3825
5583
  model?: {
3826
5584
  id: string;
3827
5585
  };
@@ -3831,6 +5589,8 @@ export declare function createAgent(transport: Transport): {
3831
5589
  processed_at: string;
3832
5590
  forked_from_session_id: string;
3833
5591
  forked_from_message_id: string;
5592
+ message_id?: string;
5593
+ session_thread_id?: string | null;
3834
5594
  } | {
3835
5595
  id: string;
3836
5596
  type: "session.goal_changed";
@@ -3861,6 +5621,8 @@ export declare function createAgent(transport: Transport): {
3861
5621
  created_at: number;
3862
5622
  updated_at: number;
3863
5623
  } | null;
5624
+ message_id?: string;
5625
+ session_thread_id?: string | null;
3864
5626
  } | {
3865
5627
  id: string;
3866
5628
  type: "session.goal_verification";
@@ -3875,11 +5637,179 @@ export declare function createAgent(transport: Transport): {
3875
5637
  reason: string;
3876
5638
  next_action?: string;
3877
5639
  };
5640
+ message_id?: string;
5641
+ session_thread_id?: string | null;
3878
5642
  } | {
3879
5643
  id: string;
3880
5644
  type: "user.steer";
3881
5645
  event_id: string;
3882
5646
  processed_at: string;
5647
+ message_id?: string;
5648
+ session_thread_id?: string | null;
5649
+ } | {
5650
+ id: string;
5651
+ type: "cognition.surfaced";
5652
+ processed_at: string;
5653
+ worker_session_id: string;
5654
+ name: string;
5655
+ state: "done" | "waiting" | "failed" | "archived";
5656
+ experience_id?: string;
5657
+ result?: {
5658
+ message?: string;
5659
+ links?: Array<string>;
5660
+ files?: Array<{
5661
+ name?: string;
5662
+ href?: string;
5663
+ }>;
5664
+ held?: Array<{
5665
+ id?: string;
5666
+ summary?: string;
5667
+ effect?: string;
5668
+ method?: string;
5669
+ path?: string;
5670
+ expires_at?: string;
5671
+ }>;
5672
+ };
5673
+ } | {
5674
+ id: string;
5675
+ type: "cognition.intention_woken";
5676
+ processed_at: string;
5677
+ node_id: string;
5678
+ reason: "open_engram" | "assignment";
5679
+ } | {
5680
+ id: string;
5681
+ type: "agent.operation_approval_requested";
5682
+ processed_at: string;
5683
+ approval_id: string;
5684
+ operation_id: string;
5685
+ effect: "outward" | "irreversible";
5686
+ method: string;
5687
+ path: string;
5688
+ summary: string;
5689
+ expires_at: string;
5690
+ worker_session_id?: string;
5691
+ worker_name?: string;
5692
+ } | {
5693
+ id: string;
5694
+ type: "agent.operation_approval_decided";
5695
+ processed_at: string;
5696
+ approval_id: string;
5697
+ status: "approved" | "refused" | "expired";
5698
+ } | {
5699
+ id: string;
5700
+ type: "session.prompt_configuration_mismatch";
5701
+ processed_at: string;
5702
+ pinned_revision_id: string;
5703
+ current_revision_id: string;
5704
+ } | {
5705
+ id: string;
5706
+ type: "session.prompt_rev_changed";
5707
+ processed_at: string;
5708
+ config_revision_id: string;
5709
+ changed: Array<{
5710
+ name: string;
5711
+ rev: string | null;
5712
+ }>;
5713
+ } | {
5714
+ id: string;
5715
+ type: "session.computer_tier";
5716
+ processed_at: string;
5717
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
5718
+ tier: "light" | "heavy";
5719
+ duration_ms: number;
5720
+ error_code?: string;
5721
+ status?: {
5722
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
5723
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
5724
+ percent?: number;
5725
+ files_done?: number;
5726
+ files_total?: number;
5727
+ idle_release_at?: number;
5728
+ retry_at?: number;
5729
+ epoch?: number;
5730
+ heavy_instance?: string | null;
5731
+ heavy_paused?: boolean;
5732
+ };
5733
+ } | {
5734
+ id: string;
5735
+ type: "agent.artifact_delivered";
5736
+ processed_at: string;
5737
+ artifact: {
5738
+ object: "artifact";
5739
+ id: string;
5740
+ session_id: string;
5741
+ run_id: string | null;
5742
+ name: string;
5743
+ version: number;
5744
+ parts: Array<{
5745
+ [key: string]: unknown;
5746
+ }>;
5747
+ source_hrefs: Array<string>;
5748
+ create_time: string;
5749
+ update_time: string;
5750
+ };
5751
+ } | {
5752
+ id: string;
5753
+ type: "agent.image_generation";
5754
+ processed_at: string;
5755
+ tool_use_id: string;
5756
+ index: number;
5757
+ total: number;
5758
+ status: string;
5759
+ mode?: string;
5760
+ aspect?: string;
5761
+ prompt?: string;
5762
+ model?: string;
5763
+ file_id?: string;
5764
+ label?: string;
5765
+ width?: number;
5766
+ height?: number;
5767
+ revised_prompt?: string;
5768
+ source_labels?: Array<string>;
5769
+ caption?: string;
5770
+ slot?: number | null;
5771
+ replaces?: string;
5772
+ version?: number;
5773
+ failure?: {
5774
+ reason?: string;
5775
+ };
5776
+ } | {
5777
+ id: string;
5778
+ type: "session.image_labeled";
5779
+ processed_at: string;
5780
+ label: string;
5781
+ file_id: string;
5782
+ origin: "generated" | "uploaded";
5783
+ filename: string;
5784
+ tool_use_id?: string;
5785
+ version?: number;
5786
+ replaced_file_id?: string;
5787
+ } | {
5788
+ id: string;
5789
+ type: "session.image_set_planned";
5790
+ processed_at: string;
5791
+ tool_use_id: string;
5792
+ items: Array<unknown>;
5793
+ title?: string;
5794
+ } | {
5795
+ id: string;
5796
+ type: "session.project_attached";
5797
+ processed_at: string;
5798
+ project: {
5799
+ id: string;
5800
+ name: string;
5801
+ path: string;
5802
+ };
5803
+ message_id?: string;
5804
+ session_thread_id?: string | null;
5805
+ } | {
5806
+ id: string;
5807
+ type: "session.project_detached";
5808
+ processed_at: string;
5809
+ project_id: string;
5810
+ reason?: "project_removed";
5811
+ message_id?: string;
5812
+ session_thread_id?: string | null;
3883
5813
  }>;
3884
5814
  next_page: string | null;
3885
5815
  }>;
@@ -3912,6 +5842,7 @@ export declare function createAgent(transport: Transport): {
3912
5842
  speed?: "standard" | "fast";
3913
5843
  settings?: {
3914
5844
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5845
+ max_output_tokens?: number;
3915
5846
  };
3916
5847
  };
3917
5848
  multiagent: null | Types.AgentManaged171;
@@ -3938,6 +5869,11 @@ export declare function createAgent(transport: Transport): {
3938
5869
  vault_ids: Array<string>;
3939
5870
  deployment_id?: null | string;
3940
5871
  cwd: string;
5872
+ workspace?: {
5873
+ kind: "shared" | "isolated";
5874
+ path?: string;
5875
+ branch?: string;
5876
+ };
3941
5877
  computer_id?: string;
3942
5878
  model?: {
3943
5879
  id: string;
@@ -4002,6 +5938,29 @@ export declare function createAgent(transport: Transport): {
4002
5938
  next_page: null;
4003
5939
  }>;
4004
5940
  };
5941
+ uploads: {
5942
+ contentUrl: {
5943
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5944
+ url: string;
5945
+ expires_at: string;
5946
+ }>;
5947
+ };
5948
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5949
+ upload_id: string;
5950
+ expires_at: string;
5951
+ url: string;
5952
+ } | {
5953
+ upload_id: string;
5954
+ expires_at: string;
5955
+ part_size: number;
5956
+ parts: Array<{
5957
+ part_number: number;
5958
+ url: string;
5959
+ }>;
5960
+ complete_url: string;
5961
+ status_url: string;
5962
+ }>;
5963
+ };
4005
5964
  };
4006
5965
  export declare function createApplication(transport: Transport): {
4007
5966
  assets: {
@@ -4266,6 +6225,11 @@ export declare function createAutomation(transport: Transport): {
4266
6225
  };
4267
6226
  };
4268
6227
  };
6228
+ export declare function createBilling(transport: Transport): {
6229
+ prices: {
6230
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
6231
+ };
6232
+ };
4269
6233
  export declare function createBrowser(transport: Transport): {
4270
6234
  connect: {
4271
6235
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -4368,10 +6332,18 @@ export declare function createCanvas(transport: Transport): {
4368
6332
  images: {
4369
6333
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
4370
6334
  };
6335
+ imports: {
6336
+ create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
6337
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
6338
+ };
6339
+ libraryVersions: {
6340
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
6341
+ };
4371
6342
  list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
4372
6343
  nodes: {
4373
6344
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
4374
6345
  };
6346
+ publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
4375
6347
  restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
4376
6348
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
4377
6349
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
@@ -4386,6 +6358,9 @@ export declare function createCanvas(transport: Transport): {
4386
6358
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
4387
6359
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4388
6360
  };
6361
+ libraries: {
6362
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
6363
+ };
4389
6364
  };
4390
6365
  export declare function createContent(transport: Transport): {
4391
6366
  contents: {
@@ -4486,6 +6461,7 @@ export declare function createCustomer(transport: Transport): {
4486
6461
  create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
4487
6462
  delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
4488
6463
  list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
6464
+ update: (options: import("./core/transport.js").CallOptions<Types.CustomerUpdatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
4489
6465
  };
4490
6466
  usage: {
4491
6467
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
@@ -4543,15 +6519,40 @@ export declare function createCut(transport: Transport): {
4543
6519
  };
4544
6520
  export declare function createDatabase(transport: Transport): {
4545
6521
  databases: {
6522
+ commands: {
6523
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
6524
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
6525
+ result: unknown;
6526
+ }>;
6527
+ };
6528
+ /** @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. */
4546
6529
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
6530
+ /** @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. */
4547
6531
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4548
6532
  events: {
6533
+ /** @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. */
4549
6534
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4550
6535
  data: Array<Types.DatabaseDatabaseEvent>;
4551
6536
  }>;
4552
6537
  };
6538
+ keys: {
6539
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
6540
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
6541
+ deleted: boolean;
6542
+ }>;
6543
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
6544
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6545
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
6546
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
6547
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
6548
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
6549
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
6550
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
6551
+ };
6552
+ /** @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. */
4553
6553
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4554
6554
  purge: {
6555
+ /** @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. */
4555
6556
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4556
6557
  id: string;
4557
6558
  object: "database";
@@ -4559,37 +6560,132 @@ export declare function createDatabase(transport: Transport): {
4559
6560
  }>;
4560
6561
  };
4561
6562
  rest: {
6563
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
4562
6564
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6565
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
4563
6566
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6567
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
4564
6568
  head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
6569
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
4565
6570
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6571
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
4566
6572
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4567
6573
  };
6574
+ /** @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. */
4568
6575
  restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6576
+ /** @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. */
4569
6577
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
4570
6578
  tables: {
6579
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
4571
6580
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6581
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
4572
6582
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
4573
6583
  deleted: true;
4574
6584
  }>;
4575
6585
  fields: {
6586
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
4576
6587
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6588
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
4577
6589
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6590
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
4578
6591
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
4579
6592
  };
6593
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
4580
6594
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
4581
6595
  data: Array<Types.DatabaseTable>;
4582
6596
  }>;
6597
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
4583
6598
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6599
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
4584
6600
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
4585
6601
  };
6602
+ /** @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. */
4586
6603
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4587
6604
  };
6605
+ kv: {
6606
+ commands: {
6607
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6608
+ result: unknown;
6609
+ }>;
6610
+ };
6611
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6612
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6613
+ events: {
6614
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6615
+ data: Array<Types.DatabaseDatabaseEvent>;
6616
+ }>;
6617
+ };
6618
+ keys: {
6619
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6620
+ deleted: boolean;
6621
+ }>;
6622
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6623
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6624
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6625
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6626
+ };
6627
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6628
+ purge: {
6629
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6630
+ id: string;
6631
+ object: "database";
6632
+ purged: true;
6633
+ }>;
6634
+ };
6635
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6636
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6637
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6638
+ };
6639
+ table: {
6640
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6641
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6642
+ events: {
6643
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6644
+ data: Array<Types.DatabaseDatabaseEvent>;
6645
+ }>;
6646
+ };
6647
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6648
+ purge: {
6649
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6650
+ id: string;
6651
+ object: "database";
6652
+ purged: true;
6653
+ }>;
6654
+ };
6655
+ rest: {
6656
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6657
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6658
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6659
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6660
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6661
+ };
6662
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6663
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6664
+ tables: {
6665
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6666
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
6667
+ deleted: true;
6668
+ }>;
6669
+ fields: {
6670
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6671
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6672
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
6673
+ };
6674
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
6675
+ data: Array<Types.DatabaseTable>;
6676
+ }>;
6677
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6678
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6679
+ };
6680
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6681
+ };
4588
6682
  };
4589
6683
  export declare function createDevops(transport: Transport): {
4590
6684
  changes: {
4591
6685
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6686
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4592
6687
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6688
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4593
6689
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4594
6690
  };
4595
6691
  connections: {
@@ -4629,6 +6725,13 @@ export declare function createDevops(transport: Transport): {
4629
6725
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
4630
6726
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
4631
6727
  };
6728
+ cleanups: {
6729
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6730
+ };
6731
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6732
+ defaultBranch: {
6733
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6734
+ };
4632
6735
  environments: {
4633
6736
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4634
6737
  targets: {
@@ -4701,6 +6804,7 @@ export declare function createDevops(transport: Transport): {
4701
6804
  promotions: {
4702
6805
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4703
6806
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6807
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4704
6808
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4705
6809
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4706
6810
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4710,10 +6814,14 @@ export declare function createDevops(transport: Transport): {
4710
6814
  };
4711
6815
  };
4712
6816
  pullRequests: {
6817
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
4713
6818
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
4714
6819
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
4715
6820
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
4716
6821
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6822
+ reviews: {
6823
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6824
+ };
4717
6825
  };
4718
6826
  releases: {
4719
6827
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -4929,10 +7037,56 @@ export declare function createMedia(transport: Transport): {
4929
7037
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4930
7038
  };
4931
7039
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
7040
+ voices: {
7041
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
7042
+ designs: {
7043
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
7044
+ };
7045
+ };
7046
+ };
7047
+ pipelines: {
7048
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
7049
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaPipelineData>) => Promise<Types.MediaPipelineDeleted>;
7050
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaPipelinesData> | undefined) => Promise<Types.MediaPipelineList>;
7051
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaPipelineData>) => Promise<Types.MediaPipeline>;
7052
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaPipelineData>) => Promise<Types.MediaPipeline>;
4932
7053
  };
4933
7054
  speech: {
4934
7055
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
4935
7056
  };
7057
+ streams: {
7058
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
7059
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
7060
+ disable: {
7061
+ create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
7062
+ };
7063
+ enable: {
7064
+ create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
7065
+ };
7066
+ events: {
7067
+ list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
7068
+ };
7069
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
7070
+ outputs: {
7071
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
7072
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamOutputData>) => Promise<Types.MediaStreamOutputDeleted>;
7073
+ list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamOutputsData>) => Promise<Types.MediaStreamOutputList>;
7074
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
7075
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
7076
+ };
7077
+ playbackToken: {
7078
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamPlaybackData>) => Promise<Types.MediaStreamPlayback>;
7079
+ };
7080
+ resetToken: {
7081
+ create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
7082
+ };
7083
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
7084
+ retrievePlaylist: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamLivePlaylistData>) => Promise<string>;
7085
+ subscribeToken: {
7086
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamSubscriptionData>) => Promise<Types.MediaStreamSubscription>;
7087
+ };
7088
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
7089
+ };
4936
7090
  videos: {
4937
7091
  generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4938
7092
  };
@@ -5452,6 +7606,7 @@ export declare function createModel(transport: Transport): {
5452
7606
  unsigned_urls: Array<string>;
5453
7607
  usage?: {
5454
7608
  cost: number;
7609
+ billed_seconds?: number;
5455
7610
  };
5456
7611
  }>;
5457
7612
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5482,6 +7637,7 @@ export declare function createModel(transport: Transport): {
5482
7637
  unsigned_urls: Array<string>;
5483
7638
  usage?: {
5484
7639
  cost: number;
7640
+ billed_seconds?: number;
5485
7641
  };
5486
7642
  }>;
5487
7643
  has_more: boolean;
@@ -5510,6 +7666,7 @@ export declare function createModel(transport: Transport): {
5510
7666
  unsigned_urls: Array<string>;
5511
7667
  usage?: {
5512
7668
  cost: number;
7669
+ billed_seconds?: number;
5513
7670
  };
5514
7671
  }>;
5515
7672
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5537,33 +7694,16 @@ export declare function createOntology(transport: Transport): {
5537
7694
  list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
5538
7695
  retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
5539
7696
  };
5540
- search: {
5541
- create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
5542
- };
5543
- types: {
5544
- create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
5545
- list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
5546
- retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
5547
- };
5548
- };
5549
- export declare function createOrganization(transport: Transport): {
5550
- actors: {
5551
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
5552
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
5553
- };
5554
- assignments: {
5555
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
5556
- makePrimary: {
5557
- create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5558
- };
5559
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5560
- terminate: {
5561
- create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5562
- };
5563
- transfer: {
5564
- create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5565
- };
5566
- };
7697
+ search: {
7698
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
7699
+ };
7700
+ types: {
7701
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
7702
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
7703
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
7704
+ };
7705
+ };
7706
+ export declare function createOrganization(transport: Transport): {
5567
7707
  charges: {
5568
7708
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5569
7709
  ChargePeriodStart: string;
@@ -5605,16 +7745,6 @@ export declare function createOrganization(transport: Transport): {
5605
7745
  next_page: string | null;
5606
7746
  }>;
5607
7747
  };
5608
- departments: {
5609
- create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5610
- dissolve: {
5611
- create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5612
- };
5613
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
5614
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5615
- update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5616
- updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
5617
- };
5618
7748
  events: {
5619
7749
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5620
7750
  object: "page";
@@ -5817,27 +7947,6 @@ export declare function createOrganization(transport: Transport): {
5817
7947
  }>;
5818
7948
  }>;
5819
7949
  };
5820
- jobs: {
5821
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
5822
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
5823
- retire: {
5824
- create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
5825
- };
5826
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
5827
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
5828
- };
5829
- keyResults: {
5830
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5831
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
5832
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5833
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5834
- };
5835
- ladders: {
5836
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5837
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
5838
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5839
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5840
- };
5841
7950
  members: {
5842
7951
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5843
7952
  data: Array<{
@@ -5851,51 +7960,83 @@ export declare function createOrganization(transport: Transport): {
5851
7960
  next_page: string | null;
5852
7961
  }>;
5853
7962
  };
5854
- objectives: {
5855
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5856
- grade: {
5857
- create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5858
- };
5859
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
5860
- parents: {
5861
- update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5862
- };
5863
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5864
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5865
- };
5866
- periods: {
5867
- close: {
5868
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5869
- };
5870
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5871
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
5872
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5873
- };
5874
- positions: {
5875
- close: {
5876
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5877
- };
5878
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
5879
- designateHead: {
5880
- create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
5881
- };
5882
- freeze: {
5883
- create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7963
+ notifications: {
7964
+ deliveries: {
7965
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7966
+ [key: string]: unknown;
7967
+ }>;
5884
7968
  };
5885
- hire: {
5886
- create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7969
+ letters: {
7970
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7971
+ unread: number;
7972
+ }>;
7973
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7974
+ letters: Array<{
7975
+ id: string;
7976
+ sender: string;
7977
+ summary: string;
7978
+ body: string;
7979
+ thread: string;
7980
+ kind: "notice" | "mention" | "decision";
7981
+ source: {
7982
+ [key: string]: unknown;
7983
+ };
7984
+ read: boolean;
7985
+ deliveredAt: string;
7986
+ createTime: string;
7987
+ reason: string;
7988
+ archived: boolean;
7989
+ }>;
7990
+ nextCursor: string;
7991
+ unread: number;
7992
+ }>;
7993
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7994
+ unread: number;
7995
+ }>;
7996
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7997
+ unread: number;
7998
+ }>;
5887
7999
  };
5888
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
5889
- replaceHolder: {
5890
- create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8000
+ organizationDefault: {
8001
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
8002
+ [key: string]: unknown;
8003
+ }>;
5891
8004
  };
5892
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5893
- unfreeze: {
5894
- create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8005
+ preferences: {
8006
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
8007
+ [key: string]: unknown;
8008
+ }>;
8009
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
8010
+ name: string;
8011
+ workflows: {
8012
+ [key: string]: unknown;
8013
+ };
8014
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
8015
+ updateTime?: string;
8016
+ catalog: Array<{
8017
+ workflow: string;
8018
+ group: string;
8019
+ title: string;
8020
+ description?: string;
8021
+ severity: "high" | "medium" | "low" | "none";
8022
+ critical: boolean;
8023
+ channels: Array<string>;
8024
+ }>;
8025
+ organization: {
8026
+ [key: string]: unknown;
8027
+ };
8028
+ effective: {
8029
+ [key: string]: unknown;
8030
+ };
8031
+ }>;
5895
8032
  };
5896
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5897
- updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5898
- updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8033
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
8034
+ unreadCount: number;
8035
+ unseenCount: number;
8036
+ }>;
8037
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
8038
+ [key: string]: unknown;
8039
+ }>;
5899
8040
  };
5900
8041
  usage: {
5901
8042
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -5926,6 +8067,27 @@ export declare function createRegistry(transport: Transport): {
5926
8067
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
5927
8068
  };
5928
8069
  packages: {
8070
+ git: {
8071
+ commits: {
8072
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
8073
+ };
8074
+ files: {
8075
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
8076
+ };
8077
+ refs: {
8078
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
8079
+ };
8080
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
8081
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
8082
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
8083
+ trees: {
8084
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
8085
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
8086
+ };
8087
+ };
8088
+ gitCredential: {
8089
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
8090
+ };
5929
8091
  installations: {
5930
8092
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
5931
8093
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -5957,12 +8119,105 @@ export declare function createRegistry(transport: Transport): {
5957
8119
  };
5958
8120
  };
5959
8121
  export declare function createSandbox(transport: Transport): {
8122
+ byod: {
8123
+ devices: {
8124
+ disconnect: {
8125
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
8126
+ id: string;
8127
+ object: "byod_device";
8128
+ disconnected: true;
8129
+ }>;
8130
+ };
8131
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
8132
+ data: Array<{
8133
+ object: "byod_device";
8134
+ id: string;
8135
+ platform: "android" | "macos" | "linux";
8136
+ name: string;
8137
+ model: string;
8138
+ os_version: string;
8139
+ online: boolean;
8140
+ last_seen_at: string | null;
8141
+ created_at: string;
8142
+ capabilities: Array<"display" | "agent">;
8143
+ agent_dirs: Array<string>;
8144
+ allow_bypass: boolean;
8145
+ }>;
8146
+ }>;
8147
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
8148
+ object: "byod_device";
8149
+ id: string;
8150
+ platform: "android" | "macos" | "linux";
8151
+ name: string;
8152
+ model: string;
8153
+ os_version: string;
8154
+ online: boolean;
8155
+ last_seen_at: string | null;
8156
+ created_at: string;
8157
+ capabilities: Array<"display" | "agent">;
8158
+ agent_dirs: Array<string>;
8159
+ allow_bypass: boolean;
8160
+ }>;
8161
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
8162
+ object: "byod_device";
8163
+ id: string;
8164
+ platform: "android" | "macos" | "linux";
8165
+ name: string;
8166
+ model: string;
8167
+ os_version: string;
8168
+ online: boolean;
8169
+ last_seen_at: string | null;
8170
+ created_at: string;
8171
+ capabilities: Array<"display" | "agent">;
8172
+ agent_dirs: Array<string>;
8173
+ allow_bypass: boolean;
8174
+ }>;
8175
+ };
8176
+ pairings: {
8177
+ claim: {
8178
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
8179
+ device_id: string;
8180
+ credential: string;
8181
+ socket_url: string;
8182
+ }>;
8183
+ };
8184
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
8185
+ code: string;
8186
+ expires_at: string;
8187
+ qr: string;
8188
+ }>;
8189
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
8190
+ organization_name: string;
8191
+ expires_at: string;
8192
+ }>;
8193
+ };
8194
+ };
5960
8195
  events: {
5961
8196
  sandboxes: {
5962
8197
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5963
8198
  };
5964
8199
  };
5965
8200
  sandboxes: {
8201
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
8202
+ type: "snapshot";
8203
+ snapshot: string;
8204
+ refs: number;
8205
+ truncated: boolean;
8206
+ package: string;
8207
+ } | {
8208
+ type: "screenshot";
8209
+ mediaType: string;
8210
+ data: string;
8211
+ width: number;
8212
+ height: number;
8213
+ bytes: number;
8214
+ } | {
8215
+ type: "ok";
8216
+ ms?: number;
8217
+ } | {
8218
+ type: "wait";
8219
+ ms: number;
8220
+ }>;
5966
8221
  commands: {
5967
8222
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5968
8223
  stdout: string;
@@ -6487,10 +8742,134 @@ export declare function createVault(transport: Transport): {
6487
8742
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
6488
8743
  };
6489
8744
  };
8745
+ export declare function createWorkforce(transport: Transport): {
8746
+ actors: {
8747
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8748
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8749
+ };
8750
+ assignments: {
8751
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8752
+ makePrimary: {
8753
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8754
+ };
8755
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8756
+ terminate: {
8757
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8758
+ };
8759
+ transfer: {
8760
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8761
+ };
8762
+ };
8763
+ departments: {
8764
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8765
+ dissolve: {
8766
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8767
+ };
8768
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8769
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8770
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8771
+ /** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
8772
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
8773
+ };
8774
+ effectiveSpec: {
8775
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8776
+ };
8777
+ jobs: {
8778
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8779
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8780
+ retire: {
8781
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8782
+ };
8783
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8784
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8785
+ };
8786
+ keyResults: {
8787
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8788
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8789
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8790
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8791
+ };
8792
+ ladders: {
8793
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8794
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8795
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8796
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8797
+ };
8798
+ objectives: {
8799
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8800
+ grade: {
8801
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8802
+ };
8803
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8804
+ parents: {
8805
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8806
+ };
8807
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8808
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8809
+ };
8810
+ periods: {
8811
+ close: {
8812
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8813
+ };
8814
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8815
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8816
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8817
+ };
8818
+ positions: {
8819
+ close: {
8820
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8821
+ };
8822
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8823
+ designateHead: {
8824
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8825
+ };
8826
+ freeze: {
8827
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8828
+ };
8829
+ hire: {
8830
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8831
+ };
8832
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8833
+ replaceHolder: {
8834
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8835
+ };
8836
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8837
+ unfreeze: {
8838
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8839
+ };
8840
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8841
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8842
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8843
+ };
8844
+ reconcile: {
8845
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8846
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8847
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8848
+ run: {
8849
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8850
+ };
8851
+ status: {
8852
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8853
+ };
8854
+ };
8855
+ specSchema: {
8856
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8857
+ };
8858
+ specs: {
8859
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8860
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8861
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8862
+ revisions: {
8863
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8864
+ };
8865
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8866
+ };
8867
+ };
6490
8868
  export declare const resourceFactories: {
6491
8869
  agent: typeof createAgent;
6492
8870
  application: typeof createApplication;
6493
8871
  automation: typeof createAutomation;
8872
+ billing: typeof createBilling;
6494
8873
  browser: typeof createBrowser;
6495
8874
  canvas: typeof createCanvas;
6496
8875
  content: typeof createContent;
@@ -6513,4 +8892,5 @@ export declare const resourceFactories: {
6513
8892
  studio: typeof createStudio;
6514
8893
  ticket: typeof createTicket;
6515
8894
  vault: typeof createVault;
8895
+ workforce: typeof createWorkforce;
6516
8896
  };