@deepraxis/sdk 0.1.1-dev.80337c3 → 0.1.1-dev.814f7e1

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;
@@ -38,9 +41,10 @@ export declare function createAgent(transport: Transport): {
38
41
  } | null;
39
42
  note: string | null;
40
43
  bindings: Array<{
41
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
44
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
42
45
  id: string;
43
46
  access: "read_only" | "read_write" | "invoke";
47
+ customer_access?: "read_only" | "read_write" | "invoke";
44
48
  instructions?: string;
45
49
  readonly verified?: boolean;
46
50
  enabled?: boolean;
@@ -49,7 +53,7 @@ export declare function createAgent(transport: Transport): {
49
53
  readonly verified?: boolean;
50
54
  enabled?: boolean;
51
55
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
56
+ kind: "general" | "service" | "assume";
53
57
  computer_id?: string;
54
58
  subagent_model?: string | null;
55
59
  subagents?: Array<{
@@ -142,6 +146,7 @@ export declare function createAgent(transport: Transport): {
142
146
  allowManagedHooksOnly?: boolean;
143
147
  allowManagedMcpServersOnly?: boolean;
144
148
  allowManagedPermissionRulesOnly?: boolean;
149
+ idleCompaction?: boolean;
145
150
  autoMemoryEnabled?: boolean;
146
151
  disabled?: {
147
152
  subagents?: Array<string>;
@@ -150,7 +155,6 @@ export declare function createAgent(transport: Transport): {
150
155
  mcpServers?: Array<string>;
151
156
  hooks?: Array<string>;
152
157
  };
153
- idleCompaction?: boolean;
154
158
  outputStyle?: string;
155
159
  } | null;
156
160
  models?: {
@@ -158,6 +162,7 @@ export declare function createAgent(transport: Transport): {
158
162
  };
159
163
  avatar: string | null;
160
164
  creation_source: string | null;
165
+ managed_by: string | null;
161
166
  identity_number: string | null;
162
167
  environment_id?: string | null;
163
168
  vault_ids?: Array<string>;
@@ -199,6 +204,7 @@ export declare function createAgent(transport: Transport): {
199
204
  speed?: "standard" | "fast";
200
205
  settings?: {
201
206
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
207
+ max_output_tokens?: number;
202
208
  };
203
209
  };
204
210
  multiagent?: null | Types.AgentManaged39;
@@ -220,9 +226,10 @@ export declare function createAgent(transport: Transport): {
220
226
  } | null;
221
227
  note: string | null;
222
228
  bindings: Array<{
223
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
229
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
224
230
  id: string;
225
231
  access: "read_only" | "read_write" | "invoke";
232
+ customer_access?: "read_only" | "read_write" | "invoke";
226
233
  instructions?: string;
227
234
  readonly verified?: boolean;
228
235
  enabled?: boolean;
@@ -231,7 +238,14 @@ export declare function createAgent(transport: Transport): {
231
238
  readonly verified?: boolean;
232
239
  enabled?: boolean;
233
240
  }>;
234
- kind: "general" | "personal" | "service" | "assume";
241
+ kind: "general" | "service" | "assume";
242
+ computers?: {
243
+ default: string;
244
+ allowed: Array<{
245
+ template: string;
246
+ name: string;
247
+ }>;
248
+ };
235
249
  computer_id?: string;
236
250
  subagent_model?: string | null;
237
251
  subagents?: Array<{
@@ -324,6 +338,7 @@ export declare function createAgent(transport: Transport): {
324
338
  allowManagedHooksOnly?: boolean;
325
339
  allowManagedMcpServersOnly?: boolean;
326
340
  allowManagedPermissionRulesOnly?: boolean;
341
+ idleCompaction?: boolean;
327
342
  autoMemoryEnabled?: boolean;
328
343
  disabled?: {
329
344
  subagents?: Array<string>;
@@ -332,7 +347,6 @@ export declare function createAgent(transport: Transport): {
332
347
  mcpServers?: Array<string>;
333
348
  hooks?: Array<string>;
334
349
  };
335
- idleCompaction?: boolean;
336
350
  outputStyle?: string;
337
351
  } | null;
338
352
  models?: {
@@ -340,6 +354,7 @@ export declare function createAgent(transport: Transport): {
340
354
  };
341
355
  avatar: string | null;
342
356
  creation_source: string | null;
357
+ managed_by: string | null;
343
358
  identity_number: string | null;
344
359
  environment_id?: string | null;
345
360
  vault_ids?: Array<string>;
@@ -352,42 +367,6 @@ export declare function createAgent(transport: Transport): {
352
367
  }> | null;
353
368
  }>;
354
369
  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
370
  block: {
392
371
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
393
372
  id: string;
@@ -519,7 +498,6 @@ export declare function createAgent(transport: Transport): {
519
498
  run_id: string | null;
520
499
  message_id?: string;
521
500
  } | {
522
- full_access_available?: boolean;
523
501
  id: string;
524
502
  input: Types.AgentManaged197;
525
503
  mcp_server_name: string;
@@ -529,6 +507,18 @@ export declare function createAgent(transport: Transport): {
529
507
  evaluated_permission?: "allow" | "deny" | "ask";
530
508
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
531
509
  session_thread_id?: null | string;
510
+ permission_suggestions?: Array<{
511
+ type: "add_rules";
512
+ behavior: "allow";
513
+ destination: "agent" | "session";
514
+ rules: Array<{
515
+ tool_name: string;
516
+ rule_content: string;
517
+ }>;
518
+ }>;
519
+ full_access_available?: boolean;
520
+ user_once?: true;
521
+ guarded_rule?: string;
532
522
  run_id: string | null;
533
523
  _meta?: {
534
524
  ui?: {
@@ -542,17 +532,6 @@ export declare function createAgent(transport: Transport): {
542
532
  };
543
533
  source?: "app" | "codemode";
544
534
  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
535
  title?: string;
557
536
  input_titles?: {
558
537
  [key: string]: string;
@@ -571,7 +550,6 @@ export declare function createAgent(transport: Transport): {
571
550
  };
572
551
  source?: "app" | "codemode";
573
552
  } | {
574
- full_access_available?: boolean;
575
553
  id: string;
576
554
  input: Types.AgentManaged206;
577
555
  name: string;
@@ -580,9 +558,6 @@ export declare function createAgent(transport: Transport): {
580
558
  evaluated_permission?: "allow" | "deny" | "ask";
581
559
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
582
560
  session_thread_id?: null | string;
583
- run_id: string | null;
584
- user_once?: true;
585
- guarded_rule?: string;
586
561
  permission_suggestions?: Array<{
587
562
  type: "add_rules";
588
563
  behavior: "allow";
@@ -592,6 +567,10 @@ export declare function createAgent(transport: Transport): {
592
567
  rule_content: string;
593
568
  }>;
594
569
  }>;
570
+ full_access_available?: boolean;
571
+ user_once?: true;
572
+ guarded_rule?: string;
573
+ run_id: string | null;
595
574
  } | {
596
575
  id: string;
597
576
  processed_at: string;
@@ -612,9 +591,6 @@ export declare function createAgent(transport: Transport): {
612
591
  type: "session.status_idle";
613
592
  run_id: string | null;
614
593
  } | 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
594
  id: string;
619
595
  processed_at: string;
620
596
  type: "session.updated";
@@ -622,6 +598,9 @@ export declare function createAgent(transport: Transport): {
622
598
  budget?: null | Types.AgentManaged76;
623
599
  metadata?: Types.AgentManaged246;
624
600
  title?: null | string;
601
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
602
+ previous_permission_mode?: string | null;
603
+ permission_mode_version?: number;
625
604
  model?: {
626
605
  id: string;
627
606
  };
@@ -680,21 +659,6 @@ export declare function createAgent(transport: Transport): {
680
659
  type: "user.steer";
681
660
  event_id: string;
682
661
  processed_at: string;
683
- } | {
684
- id: string;
685
- type: "user.tool_confirmation";
686
- processed_at: string;
687
- tool_use_id: string;
688
- result: "allow";
689
- answers: {
690
- [key: string]: string;
691
- };
692
- annotations?: {
693
- [key: string]: {
694
- preview?: string;
695
- notes?: string;
696
- };
697
- };
698
662
  }>;
699
663
  next_page: string | null;
700
664
  }>;
@@ -715,25 +679,24 @@ export declare function createAgent(transport: Transport): {
715
679
  type: "user.steer";
716
680
  event_id: string;
717
681
  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
- };
733
682
  }>;
734
683
  }>;
735
684
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
736
685
  };
686
+ inbox: {
687
+ letters: {
688
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
689
+ unread: number;
690
+ letters: Array<{
691
+ id: string;
692
+ sender: string;
693
+ summary: string;
694
+ thread: string | null;
695
+ create_time: string;
696
+ }>;
697
+ }>;
698
+ };
699
+ };
737
700
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
738
701
  data: Array<{
739
702
  id: string;
@@ -749,6 +712,7 @@ export declare function createAgent(transport: Transport): {
749
712
  speed?: "standard" | "fast";
750
713
  settings?: {
751
714
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
715
+ max_output_tokens?: number;
752
716
  };
753
717
  };
754
718
  multiagent?: null | Types.AgentManaged39;
@@ -770,9 +734,10 @@ export declare function createAgent(transport: Transport): {
770
734
  } | null;
771
735
  note: string | null;
772
736
  bindings: Array<{
773
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
737
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
774
738
  id: string;
775
739
  access: "read_only" | "read_write" | "invoke";
740
+ customer_access?: "read_only" | "read_write" | "invoke";
776
741
  instructions?: string;
777
742
  readonly verified?: boolean;
778
743
  enabled?: boolean;
@@ -781,7 +746,14 @@ export declare function createAgent(transport: Transport): {
781
746
  readonly verified?: boolean;
782
747
  enabled?: boolean;
783
748
  }>;
784
- kind: "general" | "personal" | "service" | "assume";
749
+ kind: "general" | "service" | "assume";
750
+ computers?: {
751
+ default: string;
752
+ allowed: Array<{
753
+ template: string;
754
+ name: string;
755
+ }>;
756
+ };
785
757
  computer_id?: string;
786
758
  subagent_model?: string | null;
787
759
  subagents?: Array<{
@@ -874,6 +846,7 @@ export declare function createAgent(transport: Transport): {
874
846
  allowManagedHooksOnly?: boolean;
875
847
  allowManagedMcpServersOnly?: boolean;
876
848
  allowManagedPermissionRulesOnly?: boolean;
849
+ idleCompaction?: boolean;
877
850
  autoMemoryEnabled?: boolean;
878
851
  disabled?: {
879
852
  subagents?: Array<string>;
@@ -882,7 +855,6 @@ export declare function createAgent(transport: Transport): {
882
855
  mcpServers?: Array<string>;
883
856
  hooks?: Array<string>;
884
857
  };
885
- idleCompaction?: boolean;
886
858
  outputStyle?: string;
887
859
  } | null;
888
860
  models?: {
@@ -890,6 +862,7 @@ export declare function createAgent(transport: Transport): {
890
862
  };
891
863
  avatar: string | null;
892
864
  creation_source: string | null;
865
+ managed_by: string | null;
893
866
  identity_number: string | null;
894
867
  environment_id?: string | null;
895
868
  vault_ids?: Array<string>;
@@ -903,6 +876,34 @@ export declare function createAgent(transport: Transport): {
903
876
  }>;
904
877
  next_page: string | null;
905
878
  }>;
879
+ phone: {
880
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
881
+ object: "agent_phone";
882
+ agent_id: string;
883
+ configured: boolean;
884
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
885
+ sku: string | null;
886
+ byod_device: string | null;
887
+ name: string | null;
888
+ sandbox_id: string | null;
889
+ lease_ends_at: string | null;
890
+ archived_at: string | null;
891
+ archive_error: string | null;
892
+ }>;
893
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
894
+ object: "agent_phone";
895
+ agent_id: string;
896
+ configured: boolean;
897
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
898
+ sku: string | null;
899
+ byod_device: string | null;
900
+ name: string | null;
901
+ sandbox_id: string | null;
902
+ lease_ends_at: string | null;
903
+ archived_at: string | null;
904
+ archive_error: string | null;
905
+ }>;
906
+ };
906
907
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
907
908
  id: string;
908
909
  archived_at: null | string;
@@ -917,6 +918,7 @@ export declare function createAgent(transport: Transport): {
917
918
  speed?: "standard" | "fast";
918
919
  settings?: {
919
920
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
921
+ max_output_tokens?: number;
920
922
  };
921
923
  };
922
924
  multiagent?: null | Types.AgentManaged39;
@@ -939,9 +941,10 @@ export declare function createAgent(transport: Transport): {
939
941
  } | null;
940
942
  note: string | null;
941
943
  bindings: Array<{
942
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
944
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
943
945
  id: string;
944
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
945
948
  instructions?: string;
946
949
  readonly verified?: boolean;
947
950
  enabled?: boolean;
@@ -950,7 +953,14 @@ export declare function createAgent(transport: Transport): {
950
953
  readonly verified?: boolean;
951
954
  enabled?: boolean;
952
955
  }>;
953
- kind: "general" | "personal" | "service" | "assume";
956
+ kind: "general" | "service" | "assume";
957
+ computers?: {
958
+ default: string;
959
+ allowed: Array<{
960
+ template: string;
961
+ name: string;
962
+ }>;
963
+ };
954
964
  computer_id?: string;
955
965
  subagent_model?: string | null;
956
966
  subagents?: Array<{
@@ -1043,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
1043
1053
  allowManagedHooksOnly?: boolean;
1044
1054
  allowManagedMcpServersOnly?: boolean;
1045
1055
  allowManagedPermissionRulesOnly?: boolean;
1056
+ idleCompaction?: boolean;
1046
1057
  autoMemoryEnabled?: boolean;
1047
1058
  disabled?: {
1048
1059
  subagents?: Array<string>;
@@ -1051,7 +1062,6 @@ export declare function createAgent(transport: Transport): {
1051
1062
  mcpServers?: Array<string>;
1052
1063
  hooks?: Array<string>;
1053
1064
  };
1054
- idleCompaction?: boolean;
1055
1065
  outputStyle?: string;
1056
1066
  } | null;
1057
1067
  models?: {
@@ -1059,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
1059
1069
  };
1060
1070
  avatar: string | null;
1061
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
1062
1073
  identity_number: string | null;
1063
1074
  environment_id?: string | null;
1064
1075
  vault_ids?: Array<string>;
@@ -1127,6 +1138,26 @@ export declare function createAgent(transport: Transport): {
1127
1138
  history?: {
1128
1139
  enabled?: boolean;
1129
1140
  };
1141
+ uploads?: {
1142
+ enabled: boolean;
1143
+ max_file_bytes: number;
1144
+ max_files_per_session: number;
1145
+ };
1146
+ }>;
1147
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1148
+ allowed_origins: Array<string>;
1149
+ allow_localhost: boolean;
1150
+ uploads: {
1151
+ enabled: boolean;
1152
+ max_file_bytes: number;
1153
+ max_files_per_session: number;
1154
+ };
1155
+ share_links: {
1156
+ enabled: boolean;
1157
+ daily_session_cap: number | null;
1158
+ daily_spend_cap_micro_usd: number | null;
1159
+ currency?: "USD" | "CNY" | null;
1160
+ };
1130
1161
  }>;
1131
1162
  unarchive: {
1132
1163
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1180,6 +1211,7 @@ export declare function createAgent(transport: Transport): {
1180
1211
  speed?: "standard" | "fast";
1181
1212
  settings?: {
1182
1213
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1214
+ max_output_tokens?: number;
1183
1215
  };
1184
1216
  };
1185
1217
  multiagent?: null | {
@@ -1367,9 +1399,10 @@ export declare function createAgent(transport: Transport): {
1367
1399
  } | null;
1368
1400
  note: string | null;
1369
1401
  bindings: Array<{
1370
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1402
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1371
1403
  id: string;
1372
1404
  access: "read_only" | "read_write" | "invoke";
1405
+ customer_access?: "read_only" | "read_write" | "invoke";
1373
1406
  instructions?: string;
1374
1407
  readonly verified?: boolean;
1375
1408
  enabled?: boolean;
@@ -1378,7 +1411,14 @@ export declare function createAgent(transport: Transport): {
1378
1411
  readonly verified?: boolean;
1379
1412
  enabled?: boolean;
1380
1413
  }>;
1381
- kind: "general" | "personal" | "service" | "assume";
1414
+ kind: "general" | "service" | "assume";
1415
+ computers?: {
1416
+ default: string;
1417
+ allowed: Array<{
1418
+ template: string;
1419
+ name: string;
1420
+ }>;
1421
+ };
1382
1422
  computer_id?: string;
1383
1423
  subagent_model?: string | null;
1384
1424
  subagents?: Array<{
@@ -1471,6 +1511,7 @@ export declare function createAgent(transport: Transport): {
1471
1511
  allowManagedHooksOnly?: boolean;
1472
1512
  allowManagedMcpServersOnly?: boolean;
1473
1513
  allowManagedPermissionRulesOnly?: boolean;
1514
+ idleCompaction?: boolean;
1474
1515
  autoMemoryEnabled?: boolean;
1475
1516
  disabled?: {
1476
1517
  subagents?: Array<string>;
@@ -1479,7 +1520,6 @@ export declare function createAgent(transport: Transport): {
1479
1520
  mcpServers?: Array<string>;
1480
1521
  hooks?: Array<string>;
1481
1522
  };
1482
- idleCompaction?: boolean;
1483
1523
  outputStyle?: string;
1484
1524
  } | null;
1485
1525
  models?: {
@@ -1487,6 +1527,7 @@ export declare function createAgent(transport: Transport): {
1487
1527
  };
1488
1528
  avatar: string | null;
1489
1529
  creation_source: string | null;
1530
+ managed_by: string | null;
1490
1531
  identity_number: string | null;
1491
1532
  environment_id?: string | null;
1492
1533
  vault_ids?: Array<string>;
@@ -1513,6 +1554,7 @@ export declare function createAgent(transport: Transport): {
1513
1554
  speed?: "standard" | "fast";
1514
1555
  settings?: {
1515
1556
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1557
+ max_output_tokens?: number;
1516
1558
  };
1517
1559
  };
1518
1560
  multiagent?: null | Types.AgentManaged39;
@@ -1535,9 +1577,10 @@ export declare function createAgent(transport: Transport): {
1535
1577
  } | null;
1536
1578
  note: string | null;
1537
1579
  bindings: Array<{
1538
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1580
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1539
1581
  id: string;
1540
1582
  access: "read_only" | "read_write" | "invoke";
1583
+ customer_access?: "read_only" | "read_write" | "invoke";
1541
1584
  instructions?: string;
1542
1585
  readonly verified?: boolean;
1543
1586
  enabled?: boolean;
@@ -1546,7 +1589,14 @@ export declare function createAgent(transport: Transport): {
1546
1589
  readonly verified?: boolean;
1547
1590
  enabled?: boolean;
1548
1591
  }>;
1549
- kind: "general" | "personal" | "service" | "assume";
1592
+ kind: "general" | "service" | "assume";
1593
+ computers?: {
1594
+ default: string;
1595
+ allowed: Array<{
1596
+ template: string;
1597
+ name: string;
1598
+ }>;
1599
+ };
1550
1600
  computer_id?: string;
1551
1601
  subagent_model?: string | null;
1552
1602
  subagents?: Array<{
@@ -1639,6 +1689,7 @@ export declare function createAgent(transport: Transport): {
1639
1689
  allowManagedHooksOnly?: boolean;
1640
1690
  allowManagedMcpServersOnly?: boolean;
1641
1691
  allowManagedPermissionRulesOnly?: boolean;
1692
+ idleCompaction?: boolean;
1642
1693
  autoMemoryEnabled?: boolean;
1643
1694
  disabled?: {
1644
1695
  subagents?: Array<string>;
@@ -1647,7 +1698,6 @@ export declare function createAgent(transport: Transport): {
1647
1698
  mcpServers?: Array<string>;
1648
1699
  hooks?: Array<string>;
1649
1700
  };
1650
- idleCompaction?: boolean;
1651
1701
  outputStyle?: string;
1652
1702
  } | null;
1653
1703
  models?: {
@@ -1655,6 +1705,7 @@ export declare function createAgent(transport: Transport): {
1655
1705
  };
1656
1706
  avatar: string | null;
1657
1707
  creation_source: string | null;
1708
+ managed_by: string | null;
1658
1709
  identity_number: string | null;
1659
1710
  environment_id?: string | null;
1660
1711
  vault_ids?: Array<string>;
@@ -1666,110 +1717,336 @@ export declare function createAgent(transport: Transport): {
1666
1717
  keep_coding_instructions?: boolean;
1667
1718
  }> | null;
1668
1719
  }>;
1720
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1721
+ allowed_origins: Array<string>;
1722
+ allow_localhost: boolean;
1723
+ uploads: {
1724
+ enabled: boolean;
1725
+ max_file_bytes: number;
1726
+ max_files_per_session: number;
1727
+ };
1728
+ share_links: {
1729
+ enabled: boolean;
1730
+ daily_session_cap: number | null;
1731
+ daily_spend_cap_micro_usd: number | null;
1732
+ currency?: "USD" | "CNY" | null;
1733
+ };
1734
+ }>;
1669
1735
  versions: {
1670
1736
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1671
1737
  id: string;
1672
1738
  archived_at: null | string;
1673
1739
  created_at: string;
1674
1740
  description: null | string;
1675
- mcp_servers: Array<Types.AgentManaged36>;
1676
- metadata: Types.AgentManaged37;
1741
+ mcp_servers: Array<{
1742
+ type: "url";
1743
+ name: string;
1744
+ url: string;
1745
+ headers?: {
1746
+ [key: string]: string;
1747
+ };
1748
+ timeout_ms?: number;
1749
+ } | {
1750
+ type: "sse";
1751
+ name: string;
1752
+ url: string;
1753
+ headers?: {
1754
+ [key: string]: string;
1755
+ };
1756
+ timeout_ms?: number;
1757
+ } | {
1758
+ type: "stdio";
1759
+ name: string;
1760
+ command: string;
1761
+ args?: Array<string>;
1762
+ env?: {
1763
+ [key: string]: string;
1764
+ };
1765
+ timeout_ms?: number;
1766
+ }>;
1767
+ metadata: {
1768
+ [key: string]: string;
1769
+ };
1677
1770
  model?: {
1678
1771
  id: string;
1679
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1772
+ effort?: {
1773
+ type: "low";
1774
+ } | {
1775
+ type: "medium";
1776
+ } | {
1777
+ type: "high";
1778
+ } | {
1779
+ type: "xhigh";
1780
+ } | {
1781
+ type: "max";
1782
+ };
1680
1783
  inference_geo?: string;
1681
1784
  speed?: "standard" | "fast";
1682
1785
  settings?: {
1683
1786
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1787
+ max_output_tokens?: number;
1684
1788
  };
1685
1789
  };
1686
- multiagent?: null | Types.AgentManaged39;
1790
+ multiagent?: null | {
1791
+ agents: Array<{
1792
+ id: string;
1793
+ type: "agent";
1794
+ version: number;
1795
+ } | {
1796
+ model: string;
1797
+ type: "advisor";
1798
+ }>;
1799
+ type: "coordinator";
1800
+ };
1687
1801
  name: string;
1688
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1689
- system: null | string;
1690
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1691
- type: "agent";
1692
- updated_at: string;
1693
- version: number;
1694
- latest_version?: number;
1695
- active_version: number;
1696
- created_by: {
1697
- type: "user";
1698
- id: string;
1699
- name?: string;
1700
- } | {
1701
- type: "api_key";
1702
- id: string;
1703
- } | null;
1704
- note: string | null;
1705
- bindings: Array<{
1706
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1707
- id: string;
1708
- access: "read_only" | "read_write" | "invoke";
1709
- instructions?: string;
1710
- readonly verified?: boolean;
1711
- enabled?: boolean;
1802
+ skills: Array<{
1803
+ skill_id: string;
1804
+ type: "anthropic";
1805
+ version: string;
1712
1806
  } | {
1713
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1714
- readonly verified?: boolean;
1715
- enabled?: boolean;
1807
+ skill_id: string;
1808
+ type: "custom";
1809
+ version: string;
1716
1810
  }>;
1717
- kind: "general" | "personal" | "service" | "assume";
1718
- computer_id?: string;
1719
- subagent_model?: string | null;
1720
- subagents?: Array<{
1721
- name: string;
1722
- description: string;
1723
- prompt: string;
1724
- tools?: Array<string>;
1725
- disallowed_tools?: Array<string>;
1726
- model?: string;
1727
- }> | null;
1728
- commands?: Array<{
1729
- name: string;
1730
- description?: string;
1731
- argument_hint?: string;
1732
- prompt: string;
1733
- }> | null;
1734
- settings?: {
1735
- hooks?: {
1736
- SessionStart?: Array<{
1737
- matcher?: string;
1738
- hooks: Array<{
1739
- type: "command";
1740
- command: string;
1741
- timeout?: number;
1742
- async?: boolean;
1743
- enabled?: boolean;
1744
- }>;
1745
- }>;
1746
- UserPromptSubmit?: Array<{
1747
- matcher?: string;
1748
- hooks: Array<{
1749
- type: "command";
1750
- command: string;
1751
- timeout?: number;
1752
- async?: boolean;
1753
- enabled?: boolean;
1754
- }>;
1755
- }>;
1756
- PreToolUse?: Array<{
1757
- matcher?: string;
1758
- hooks: Array<{
1759
- type: "command";
1760
- command: string;
1761
- timeout?: number;
1762
- async?: boolean;
1763
- enabled?: boolean;
1764
- }>;
1765
- }>;
1766
- PermissionRequest?: Array<{
1767
- matcher?: string;
1768
- hooks: Array<{
1769
- type: "command";
1770
- command: string;
1771
- timeout?: number;
1772
- async?: boolean;
1811
+ system: null | string;
1812
+ tools: Array<{
1813
+ configs: Array<{
1814
+ enabled: boolean;
1815
+ name: "bash";
1816
+ permission_policy: {
1817
+ type: "always_allow";
1818
+ } | {
1819
+ type: "always_ask";
1820
+ } | {
1821
+ type: "auto";
1822
+ };
1823
+ type: "bash";
1824
+ } | {
1825
+ enabled: boolean;
1826
+ name: "edit";
1827
+ permission_policy: {
1828
+ type: "always_allow";
1829
+ } | {
1830
+ type: "always_ask";
1831
+ } | {
1832
+ type: "auto";
1833
+ };
1834
+ type: "edit";
1835
+ } | {
1836
+ enabled: boolean;
1837
+ name: "read";
1838
+ permission_policy: {
1839
+ type: "always_allow";
1840
+ } | {
1841
+ type: "always_ask";
1842
+ } | {
1843
+ type: "auto";
1844
+ };
1845
+ type: "read";
1846
+ } | {
1847
+ enabled: boolean;
1848
+ name: "write";
1849
+ permission_policy: {
1850
+ type: "always_allow";
1851
+ } | {
1852
+ type: "always_ask";
1853
+ } | {
1854
+ type: "auto";
1855
+ };
1856
+ type: "write";
1857
+ } | {
1858
+ enabled: boolean;
1859
+ name: "glob";
1860
+ permission_policy: {
1861
+ type: "always_allow";
1862
+ } | {
1863
+ type: "always_ask";
1864
+ } | {
1865
+ type: "auto";
1866
+ };
1867
+ type: "glob";
1868
+ } | {
1869
+ enabled: boolean;
1870
+ name: "grep";
1871
+ permission_policy: {
1872
+ type: "always_allow";
1873
+ } | {
1874
+ type: "always_ask";
1875
+ } | {
1876
+ type: "auto";
1877
+ };
1878
+ type: "grep";
1879
+ } | {
1880
+ enabled: boolean;
1881
+ name: "web_fetch";
1882
+ permission_policy: {
1883
+ type: "always_allow";
1884
+ } | {
1885
+ type: "always_ask";
1886
+ } | {
1887
+ type: "auto";
1888
+ };
1889
+ type: "web_fetch";
1890
+ allowed_domains?: Array<string>;
1891
+ blocked_domains?: Array<string>;
1892
+ max_content_tokens?: null | number;
1893
+ } | {
1894
+ enabled: boolean;
1895
+ name: "web_search";
1896
+ permission_policy: {
1897
+ type: "always_allow";
1898
+ } | {
1899
+ type: "always_ask";
1900
+ } | {
1901
+ type: "auto";
1902
+ };
1903
+ type: "web_search";
1904
+ allowed_domains?: Array<string>;
1905
+ blocked_domains?: Array<string>;
1906
+ user_location?: null | {
1907
+ type: "approximate";
1908
+ city?: null | string;
1909
+ country?: null | string;
1910
+ region?: null | string;
1911
+ timezone?: null | string;
1912
+ };
1913
+ } | {
1914
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1915
+ enabled: boolean;
1916
+ permission_policy: {
1917
+ type: "always_allow" | "always_ask";
1918
+ };
1919
+ }>;
1920
+ default_config: {
1921
+ enabled: boolean;
1922
+ permission_policy: {
1923
+ type: "always_allow";
1924
+ } | {
1925
+ type: "always_ask";
1926
+ } | {
1927
+ type: "auto";
1928
+ };
1929
+ };
1930
+ type: "agent_toolset_20260401";
1931
+ } | {
1932
+ type: "mcp_toolset";
1933
+ mcp_server_name: string;
1934
+ default_config?: {
1935
+ enabled?: boolean | null;
1936
+ permission_policy?: null | {
1937
+ type: "always_allow" | "always_ask";
1938
+ };
1939
+ } | null;
1940
+ configs?: Array<{
1941
+ name: string;
1942
+ enabled?: boolean | null;
1943
+ permission_policy?: null | {
1944
+ type: "always_allow" | "always_ask";
1945
+ };
1946
+ }> | null;
1947
+ } | {
1948
+ description: string;
1949
+ input_schema: {
1950
+ type: "object";
1951
+ properties?: null | {
1952
+ [key: string]: unknown;
1953
+ };
1954
+ required?: null | Array<string>;
1955
+ [key: string]: unknown;
1956
+ };
1957
+ name: string;
1958
+ type: "custom";
1959
+ }>;
1960
+ type: "agent";
1961
+ updated_at: string;
1962
+ version: number;
1963
+ latest_version?: number;
1964
+ active_version: number;
1965
+ created_by: {
1966
+ type: "user";
1967
+ id: string;
1968
+ name?: string;
1969
+ } | {
1970
+ type: "api_key";
1971
+ id: string;
1972
+ } | null;
1973
+ note: string | null;
1974
+ bindings: Array<{
1975
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1976
+ id: string;
1977
+ access: "read_only" | "read_write" | "invoke";
1978
+ customer_access?: "read_only" | "read_write" | "invoke";
1979
+ instructions?: string;
1980
+ readonly verified?: boolean;
1981
+ enabled?: boolean;
1982
+ } | {
1983
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1984
+ readonly verified?: boolean;
1985
+ enabled?: boolean;
1986
+ }>;
1987
+ kind: "general" | "service" | "assume";
1988
+ computers?: {
1989
+ default: string;
1990
+ allowed: Array<{
1991
+ template: string;
1992
+ name: string;
1993
+ }>;
1994
+ };
1995
+ computer_id?: string;
1996
+ subagent_model?: string | null;
1997
+ subagents?: Array<{
1998
+ name: string;
1999
+ description: string;
2000
+ prompt: string;
2001
+ tools?: Array<string>;
2002
+ disallowed_tools?: Array<string>;
2003
+ model?: string;
2004
+ }> | null;
2005
+ commands?: Array<{
2006
+ name: string;
2007
+ description?: string;
2008
+ argument_hint?: string;
2009
+ prompt: string;
2010
+ }> | null;
2011
+ settings?: {
2012
+ hooks?: {
2013
+ SessionStart?: Array<{
2014
+ matcher?: string;
2015
+ hooks: Array<{
2016
+ type: "command";
2017
+ command: string;
2018
+ timeout?: number;
2019
+ async?: boolean;
2020
+ enabled?: boolean;
2021
+ }>;
2022
+ }>;
2023
+ UserPromptSubmit?: Array<{
2024
+ matcher?: string;
2025
+ hooks: Array<{
2026
+ type: "command";
2027
+ command: string;
2028
+ timeout?: number;
2029
+ async?: boolean;
2030
+ enabled?: boolean;
2031
+ }>;
2032
+ }>;
2033
+ PreToolUse?: Array<{
2034
+ matcher?: string;
2035
+ hooks: Array<{
2036
+ type: "command";
2037
+ command: string;
2038
+ timeout?: number;
2039
+ async?: boolean;
2040
+ enabled?: boolean;
2041
+ }>;
2042
+ }>;
2043
+ PermissionRequest?: Array<{
2044
+ matcher?: string;
2045
+ hooks: Array<{
2046
+ type: "command";
2047
+ command: string;
2048
+ timeout?: number;
2049
+ async?: boolean;
1773
2050
  enabled?: boolean;
1774
2051
  }>;
1775
2052
  }>;
@@ -1807,6 +2084,7 @@ export declare function createAgent(transport: Transport): {
1807
2084
  allowManagedHooksOnly?: boolean;
1808
2085
  allowManagedMcpServersOnly?: boolean;
1809
2086
  allowManagedPermissionRulesOnly?: boolean;
2087
+ idleCompaction?: boolean;
1810
2088
  autoMemoryEnabled?: boolean;
1811
2089
  disabled?: {
1812
2090
  subagents?: Array<string>;
@@ -1815,7 +2093,6 @@ export declare function createAgent(transport: Transport): {
1815
2093
  mcpServers?: Array<string>;
1816
2094
  hooks?: Array<string>;
1817
2095
  };
1818
- idleCompaction?: boolean;
1819
2096
  outputStyle?: string;
1820
2097
  } | null;
1821
2098
  models?: {
@@ -1823,6 +2100,7 @@ export declare function createAgent(transport: Transport): {
1823
2100
  };
1824
2101
  avatar: string | null;
1825
2102
  creation_source: string | null;
2103
+ managed_by: string | null;
1826
2104
  identity_number: string | null;
1827
2105
  environment_id?: string | null;
1828
2106
  vault_ids?: Array<string>;
@@ -1849,6 +2127,7 @@ export declare function createAgent(transport: Transport): {
1849
2127
  speed?: "standard" | "fast";
1850
2128
  settings?: {
1851
2129
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2130
+ max_output_tokens?: number;
1852
2131
  };
1853
2132
  };
1854
2133
  multiagent?: null | Types.AgentManaged39;
@@ -1871,9 +2150,10 @@ export declare function createAgent(transport: Transport): {
1871
2150
  } | null;
1872
2151
  note: string | null;
1873
2152
  bindings: Array<{
1874
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2153
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1875
2154
  id: string;
1876
2155
  access: "read_only" | "read_write" | "invoke";
2156
+ customer_access?: "read_only" | "read_write" | "invoke";
1877
2157
  instructions?: string;
1878
2158
  readonly verified?: boolean;
1879
2159
  enabled?: boolean;
@@ -1882,7 +2162,14 @@ export declare function createAgent(transport: Transport): {
1882
2162
  readonly verified?: boolean;
1883
2163
  enabled?: boolean;
1884
2164
  }>;
1885
- kind: "general" | "personal" | "service" | "assume";
2165
+ kind: "general" | "service" | "assume";
2166
+ computers?: {
2167
+ default: string;
2168
+ allowed: Array<{
2169
+ template: string;
2170
+ name: string;
2171
+ }>;
2172
+ };
1886
2173
  computer_id?: string;
1887
2174
  subagent_model?: string | null;
1888
2175
  subagents?: Array<{
@@ -1975,6 +2262,7 @@ export declare function createAgent(transport: Transport): {
1975
2262
  allowManagedHooksOnly?: boolean;
1976
2263
  allowManagedMcpServersOnly?: boolean;
1977
2264
  allowManagedPermissionRulesOnly?: boolean;
2265
+ idleCompaction?: boolean;
1978
2266
  autoMemoryEnabled?: boolean;
1979
2267
  disabled?: {
1980
2268
  subagents?: Array<string>;
@@ -1983,7 +2271,6 @@ export declare function createAgent(transport: Transport): {
1983
2271
  mcpServers?: Array<string>;
1984
2272
  hooks?: Array<string>;
1985
2273
  };
1986
- idleCompaction?: boolean;
1987
2274
  outputStyle?: string;
1988
2275
  } | null;
1989
2276
  models?: {
@@ -1991,6 +2278,7 @@ export declare function createAgent(transport: Transport): {
1991
2278
  };
1992
2279
  avatar: string | null;
1993
2280
  creation_source: string | null;
2281
+ managed_by: string | null;
1994
2282
  identity_number: string | null;
1995
2283
  environment_id?: string | null;
1996
2284
  vault_ids?: Array<string>;
@@ -2078,6 +2366,24 @@ export declare function createAgent(transport: Transport): {
2078
2366
  tier: "light" | "heavy";
2079
2367
  }>;
2080
2368
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2369
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2370
+ variant: "image" | "pdf" | "text" | "original";
2371
+ version?: string;
2372
+ mime_type?: string;
2373
+ size?: number;
2374
+ file_id?: string;
2375
+ url?: string;
2376
+ expires_at?: string;
2377
+ cached: boolean;
2378
+ fallback?: "content";
2379
+ skipped?: boolean;
2380
+ }>;
2381
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2382
+ path: string;
2383
+ size: number;
2384
+ mtime: string | null;
2385
+ version: string;
2386
+ }>;
2081
2387
  };
2082
2388
  leases: {
2083
2389
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2353,77 +2659,614 @@ export declare function createAgent(transport: Transport): {
2353
2659
  effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2354
2660
  speed?: null | "standard" | "fast";
2355
2661
  };
2356
- version: number;
2662
+ version: number;
2663
+ };
2664
+ archived_at: null | string;
2665
+ created_at: string;
2666
+ description: null | string;
2667
+ environment_id?: string | null;
2668
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2669
+ metadata: Types.AgentManaged91;
2670
+ name: string;
2671
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2672
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2673
+ schedule: null | Types.AgentManaged111;
2674
+ status: "active" | "paused";
2675
+ type: "deployment";
2676
+ updated_at: string;
2677
+ vault_ids: Array<string>;
2678
+ budget?: null | Types.AgentManaged76;
2679
+ target: {
2680
+ type: "environment" | "computer";
2681
+ };
2682
+ }>;
2683
+ };
2684
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2685
+ id: string;
2686
+ agent: {
2687
+ id: string;
2688
+ type: "agent";
2689
+ version: number;
2690
+ } | {
2691
+ id: string;
2692
+ type: "agent_with_overrides";
2693
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2694
+ cwd?: string;
2695
+ model?: string | {
2696
+ id: string;
2697
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2698
+ speed?: null | "standard" | "fast";
2699
+ };
2700
+ version: number;
2701
+ };
2702
+ archived_at: null | string;
2703
+ created_at: string;
2704
+ description: null | string;
2705
+ environment_id?: string | null;
2706
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2707
+ metadata: Types.AgentManaged91;
2708
+ name: string;
2709
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2710
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2711
+ schedule: null | Types.AgentManaged111;
2712
+ status: "active" | "paused";
2713
+ type: "deployment";
2714
+ updated_at: string;
2715
+ vault_ids: Array<string>;
2716
+ budget?: null | Types.AgentManaged76;
2717
+ target: {
2718
+ type: "environment" | "computer";
2719
+ };
2720
+ }>;
2721
+ };
2722
+ environments: {
2723
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2724
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2725
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2726
+ data: Array<Types.AgentManaged138>;
2727
+ next_page: string | null;
2728
+ }>;
2729
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2730
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2731
+ };
2732
+ sessions: {
2733
+ agentVersion: {
2734
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2735
+ id: string;
2736
+ agent: {
2737
+ id: string;
2738
+ description: null | string;
2739
+ mcp_servers: Array<{
2740
+ type: "url";
2741
+ name: string;
2742
+ url: string;
2743
+ headers?: {
2744
+ [key: string]: string;
2745
+ };
2746
+ timeout_ms?: number;
2747
+ } | {
2748
+ type: "sse";
2749
+ name: string;
2750
+ url: string;
2751
+ headers?: {
2752
+ [key: string]: string;
2753
+ };
2754
+ timeout_ms?: number;
2755
+ } | {
2756
+ type: "stdio";
2757
+ name: string;
2758
+ command: string;
2759
+ args?: Array<string>;
2760
+ env?: {
2761
+ [key: string]: string;
2762
+ };
2763
+ timeout_ms?: number;
2764
+ }>;
2765
+ model: {
2766
+ id: string;
2767
+ effort?: {
2768
+ type: "low";
2769
+ } | {
2770
+ type: "medium";
2771
+ } | {
2772
+ type: "high";
2773
+ } | {
2774
+ type: "xhigh";
2775
+ } | {
2776
+ type: "max";
2777
+ };
2778
+ inference_geo?: string;
2779
+ speed?: "standard" | "fast";
2780
+ settings?: {
2781
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2782
+ max_output_tokens?: number;
2783
+ };
2784
+ };
2785
+ multiagent: null | {
2786
+ agents: Array<{
2787
+ model: string;
2788
+ type: "advisor";
2789
+ } | {
2790
+ id: string;
2791
+ description: null | string;
2792
+ mcp_servers: Array<{
2793
+ type: "url";
2794
+ name: string;
2795
+ url: string;
2796
+ headers?: {
2797
+ [key: string]: string;
2798
+ };
2799
+ timeout_ms?: number;
2800
+ } | {
2801
+ type: "sse";
2802
+ name: string;
2803
+ url: string;
2804
+ headers?: {
2805
+ [key: string]: string;
2806
+ };
2807
+ timeout_ms?: number;
2808
+ } | {
2809
+ type: "stdio";
2810
+ name: string;
2811
+ command: string;
2812
+ args?: Array<string>;
2813
+ env?: {
2814
+ [key: string]: string;
2815
+ };
2816
+ timeout_ms?: number;
2817
+ }>;
2818
+ model: {
2819
+ id: string;
2820
+ effort?: {
2821
+ type: "low";
2822
+ } | {
2823
+ type: "medium";
2824
+ } | {
2825
+ type: "high";
2826
+ } | {
2827
+ type: "xhigh";
2828
+ } | {
2829
+ type: "max";
2830
+ };
2831
+ inference_geo?: string;
2832
+ speed?: "standard" | "fast";
2833
+ };
2834
+ name: string;
2835
+ skills: Array<{
2836
+ skill_id: string;
2837
+ type: "anthropic";
2838
+ version: string;
2839
+ } | {
2840
+ skill_id: string;
2841
+ type: "custom";
2842
+ version: string;
2843
+ }>;
2844
+ system: null | string;
2845
+ tools: Array<{
2846
+ configs: Array<{
2847
+ enabled: boolean;
2848
+ name: "bash";
2849
+ permission_policy: {
2850
+ type: "always_allow";
2851
+ } | {
2852
+ type: "always_ask";
2853
+ } | {
2854
+ type: "auto";
2855
+ };
2856
+ type: "bash";
2857
+ } | {
2858
+ enabled: boolean;
2859
+ name: "edit";
2860
+ permission_policy: {
2861
+ type: "always_allow";
2862
+ } | {
2863
+ type: "always_ask";
2864
+ } | {
2865
+ type: "auto";
2866
+ };
2867
+ type: "edit";
2868
+ } | {
2869
+ enabled: boolean;
2870
+ name: "read";
2871
+ permission_policy: {
2872
+ type: "always_allow";
2873
+ } | {
2874
+ type: "always_ask";
2875
+ } | {
2876
+ type: "auto";
2877
+ };
2878
+ type: "read";
2879
+ } | {
2880
+ enabled: boolean;
2881
+ name: "write";
2882
+ permission_policy: {
2883
+ type: "always_allow";
2884
+ } | {
2885
+ type: "always_ask";
2886
+ } | {
2887
+ type: "auto";
2888
+ };
2889
+ type: "write";
2890
+ } | {
2891
+ enabled: boolean;
2892
+ name: "glob";
2893
+ permission_policy: {
2894
+ type: "always_allow";
2895
+ } | {
2896
+ type: "always_ask";
2897
+ } | {
2898
+ type: "auto";
2899
+ };
2900
+ type: "glob";
2901
+ } | {
2902
+ enabled: boolean;
2903
+ name: "grep";
2904
+ permission_policy: {
2905
+ type: "always_allow";
2906
+ } | {
2907
+ type: "always_ask";
2908
+ } | {
2909
+ type: "auto";
2910
+ };
2911
+ type: "grep";
2912
+ } | {
2913
+ enabled: boolean;
2914
+ name: "web_fetch";
2915
+ permission_policy: {
2916
+ type: "always_allow";
2917
+ } | {
2918
+ type: "always_ask";
2919
+ } | {
2920
+ type: "auto";
2921
+ };
2922
+ type: "web_fetch";
2923
+ allowed_domains?: Array<string>;
2924
+ blocked_domains?: Array<string>;
2925
+ max_content_tokens?: null | number;
2926
+ } | {
2927
+ enabled: boolean;
2928
+ name: "web_search";
2929
+ permission_policy: {
2930
+ type: "always_allow";
2931
+ } | {
2932
+ type: "always_ask";
2933
+ } | {
2934
+ type: "auto";
2935
+ };
2936
+ type: "web_search";
2937
+ allowed_domains?: Array<string>;
2938
+ blocked_domains?: Array<string>;
2939
+ user_location?: null | {
2940
+ type: "approximate";
2941
+ city?: null | string;
2942
+ country?: null | string;
2943
+ region?: null | string;
2944
+ timezone?: null | string;
2945
+ };
2946
+ } | {
2947
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2948
+ enabled: boolean;
2949
+ permission_policy: {
2950
+ type: "always_allow" | "always_ask";
2951
+ };
2952
+ }>;
2953
+ default_config: {
2954
+ enabled: boolean;
2955
+ permission_policy: {
2956
+ type: "always_allow";
2957
+ } | {
2958
+ type: "always_ask";
2959
+ } | {
2960
+ type: "auto";
2961
+ };
2962
+ };
2963
+ type: "agent_toolset_20260401";
2964
+ } | {
2965
+ type: "mcp_toolset";
2966
+ mcp_server_name: string;
2967
+ default_config?: {
2968
+ enabled?: boolean | null;
2969
+ permission_policy?: null | {
2970
+ type: "always_allow" | "always_ask";
2971
+ };
2972
+ } | null;
2973
+ configs?: Array<{
2974
+ name: string;
2975
+ enabled?: boolean | null;
2976
+ permission_policy?: null | {
2977
+ type: "always_allow" | "always_ask";
2978
+ };
2979
+ }> | null;
2980
+ } | {
2981
+ description: string;
2982
+ input_schema: {
2983
+ type: "object";
2984
+ properties?: null | {
2985
+ [key: string]: unknown;
2986
+ };
2987
+ required?: null | Array<string>;
2988
+ [key: string]: unknown;
2989
+ };
2990
+ name: string;
2991
+ type: "custom";
2992
+ }>;
2993
+ type: "agent";
2994
+ version: number;
2995
+ }>;
2996
+ type: "coordinator";
2997
+ };
2998
+ name: string;
2999
+ skills: Array<{
3000
+ skill_id: string;
3001
+ type: "anthropic";
3002
+ version: string;
3003
+ } | {
3004
+ skill_id: string;
3005
+ type: "custom";
3006
+ version: string;
3007
+ }>;
3008
+ system: null | string;
3009
+ tools: Array<{
3010
+ configs: Array<{
3011
+ enabled: boolean;
3012
+ name: "bash";
3013
+ permission_policy: {
3014
+ type: "always_allow";
3015
+ } | {
3016
+ type: "always_ask";
3017
+ } | {
3018
+ type: "auto";
3019
+ };
3020
+ type: "bash";
3021
+ } | {
3022
+ enabled: boolean;
3023
+ name: "edit";
3024
+ permission_policy: {
3025
+ type: "always_allow";
3026
+ } | {
3027
+ type: "always_ask";
3028
+ } | {
3029
+ type: "auto";
3030
+ };
3031
+ type: "edit";
3032
+ } | {
3033
+ enabled: boolean;
3034
+ name: "read";
3035
+ permission_policy: {
3036
+ type: "always_allow";
3037
+ } | {
3038
+ type: "always_ask";
3039
+ } | {
3040
+ type: "auto";
3041
+ };
3042
+ type: "read";
3043
+ } | {
3044
+ enabled: boolean;
3045
+ name: "write";
3046
+ permission_policy: {
3047
+ type: "always_allow";
3048
+ } | {
3049
+ type: "always_ask";
3050
+ } | {
3051
+ type: "auto";
3052
+ };
3053
+ type: "write";
3054
+ } | {
3055
+ enabled: boolean;
3056
+ name: "glob";
3057
+ permission_policy: {
3058
+ type: "always_allow";
3059
+ } | {
3060
+ type: "always_ask";
3061
+ } | {
3062
+ type: "auto";
3063
+ };
3064
+ type: "glob";
3065
+ } | {
3066
+ enabled: boolean;
3067
+ name: "grep";
3068
+ permission_policy: {
3069
+ type: "always_allow";
3070
+ } | {
3071
+ type: "always_ask";
3072
+ } | {
3073
+ type: "auto";
3074
+ };
3075
+ type: "grep";
3076
+ } | {
3077
+ enabled: boolean;
3078
+ name: "web_fetch";
3079
+ permission_policy: {
3080
+ type: "always_allow";
3081
+ } | {
3082
+ type: "always_ask";
3083
+ } | {
3084
+ type: "auto";
3085
+ };
3086
+ type: "web_fetch";
3087
+ allowed_domains?: Array<string>;
3088
+ blocked_domains?: Array<string>;
3089
+ max_content_tokens?: null | number;
3090
+ } | {
3091
+ enabled: boolean;
3092
+ name: "web_search";
3093
+ permission_policy: {
3094
+ type: "always_allow";
3095
+ } | {
3096
+ type: "always_ask";
3097
+ } | {
3098
+ type: "auto";
3099
+ };
3100
+ type: "web_search";
3101
+ allowed_domains?: Array<string>;
3102
+ blocked_domains?: Array<string>;
3103
+ user_location?: null | {
3104
+ type: "approximate";
3105
+ city?: null | string;
3106
+ country?: null | string;
3107
+ region?: null | string;
3108
+ timezone?: null | string;
3109
+ };
3110
+ } | {
3111
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3112
+ enabled: boolean;
3113
+ permission_policy: {
3114
+ type: "always_allow" | "always_ask";
3115
+ };
3116
+ }>;
3117
+ default_config: {
3118
+ enabled: boolean;
3119
+ permission_policy: {
3120
+ type: "always_allow";
3121
+ } | {
3122
+ type: "always_ask";
3123
+ } | {
3124
+ type: "auto";
3125
+ };
3126
+ };
3127
+ type: "agent_toolset_20260401";
3128
+ } | {
3129
+ type: "mcp_toolset";
3130
+ mcp_server_name: string;
3131
+ default_config?: {
3132
+ enabled?: boolean | null;
3133
+ permission_policy?: null | {
3134
+ type: "always_allow" | "always_ask";
3135
+ };
3136
+ } | null;
3137
+ configs?: Array<{
3138
+ name: string;
3139
+ enabled?: boolean | null;
3140
+ permission_policy?: null | {
3141
+ type: "always_allow" | "always_ask";
3142
+ };
3143
+ }> | null;
3144
+ } | {
3145
+ description: string;
3146
+ input_schema: {
3147
+ type: "object";
3148
+ properties?: null | {
3149
+ [key: string]: unknown;
3150
+ };
3151
+ required?: null | Array<string>;
3152
+ [key: string]: unknown;
3153
+ };
3154
+ name: string;
3155
+ type: "custom";
3156
+ }>;
3157
+ type: "agent";
3158
+ version: number;
3159
+ };
3160
+ archived_at: null | string;
3161
+ budget: null | {
3162
+ max_list_cost: {
3163
+ amount: string;
3164
+ currency: "USD";
3165
+ };
3166
+ type: "limit";
3167
+ };
3168
+ created_at: string;
3169
+ environment_id?: string;
3170
+ metadata: {
3171
+ [key: string]: string;
3172
+ };
3173
+ outcome_evaluations: Array<{
3174
+ completed_at: null | string;
3175
+ description: string;
3176
+ explanation: null | string;
3177
+ iteration: number;
3178
+ outcome_id: string;
3179
+ result: string;
3180
+ type: "outcome_evaluation";
3181
+ }>;
3182
+ resources: Array<{
3183
+ id: string;
3184
+ created_at: string;
3185
+ mount_path: string;
3186
+ type: "github_repository";
3187
+ updated_at: string;
3188
+ url: string;
3189
+ checkout?: null | {
3190
+ name: string;
3191
+ type: "branch";
3192
+ } | {
3193
+ sha: string;
3194
+ type: "commit";
3195
+ };
3196
+ } | {
3197
+ id: string;
3198
+ created_at: string;
3199
+ file_id: string;
3200
+ mount_path: string;
3201
+ type: "file";
3202
+ updated_at: string;
3203
+ } | {
3204
+ memory_store_id: string;
3205
+ type: "memory_store";
3206
+ access?: null | "read_write" | "read_only";
3207
+ description?: string;
3208
+ instructions?: null | string;
3209
+ mount_path?: null | string;
3210
+ name?: null | string;
3211
+ }>;
3212
+ stats: {
3213
+ active_seconds?: number;
3214
+ duration_seconds?: number;
3215
+ };
3216
+ status: "rescheduling" | "running" | "idle" | "terminated";
3217
+ title: null | string;
3218
+ type: "session";
3219
+ updated_at: string;
3220
+ usage: {
3221
+ active_seconds?: number;
3222
+ cache_creation?: {
3223
+ ephemeral_1h_input_tokens?: number;
3224
+ ephemeral_5m_input_tokens?: number;
3225
+ };
3226
+ cache_read_input_tokens?: number;
3227
+ input_tokens?: number;
3228
+ list_cost?: null | {
3229
+ amount: string;
3230
+ currency: "USD";
3231
+ };
3232
+ output_tokens?: number;
3233
+ server_tool_use?: null | {
3234
+ web_fetch_requests?: number;
3235
+ web_search_requests?: number;
3236
+ };
3237
+ cost_by_product?: {
3238
+ [key: string]: string;
3239
+ };
3240
+ subagent_cost_micro_usd?: number;
2357
3241
  };
2358
- archived_at: null | string;
2359
- created_at: string;
2360
- description: null | string;
2361
- environment_id?: string | null;
2362
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2363
- metadata: Types.AgentManaged91;
2364
- name: string;
2365
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2366
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2367
- schedule: null | Types.AgentManaged111;
2368
- status: "active" | "paused";
2369
- type: "deployment";
2370
- updated_at: string;
2371
3242
  vault_ids: Array<string>;
2372
- budget?: null | Types.AgentManaged76;
2373
- target: {
2374
- type: "environment" | "computer";
3243
+ deployment_id?: null | string;
3244
+ cwd: string;
3245
+ workspace?: {
3246
+ kind: "shared" | "isolated";
3247
+ path?: string;
3248
+ branch?: string;
2375
3249
  };
2376
- }>;
2377
- };
2378
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2379
- id: string;
2380
- agent: {
2381
- id: string;
2382
- type: "agent";
2383
- version: number;
2384
- } | {
2385
- id: string;
2386
- type: "agent_with_overrides";
2387
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2388
- cwd?: string;
2389
- model?: string | {
3250
+ computer_id?: string;
3251
+ model?: {
2390
3252
  id: string;
2391
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2392
- speed?: null | "standard" | "fast";
3253
+ thinking: {
3254
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3255
+ can_disable: boolean;
3256
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3257
+ } | null;
2393
3258
  };
2394
- version: number;
2395
- };
2396
- archived_at: null | string;
2397
- created_at: string;
2398
- description: null | string;
2399
- environment_id?: string | null;
2400
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2401
- metadata: Types.AgentManaged91;
2402
- name: string;
2403
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2404
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2405
- schedule: null | Types.AgentManaged111;
2406
- status: "active" | "paused";
2407
- type: "deployment";
2408
- updated_at: string;
2409
- vault_ids: Array<string>;
2410
- budget?: null | Types.AgentManaged76;
2411
- target: {
2412
- type: "environment" | "computer";
2413
- };
2414
- }>;
2415
- };
2416
- environments: {
2417
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2418
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2419
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2420
- data: Array<Types.AgentManaged138>;
2421
- next_page: string | null;
2422
- }>;
2423
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2424
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2425
- };
2426
- sessions: {
3259
+ thinking?: {
3260
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3261
+ } | null;
3262
+ forked_from?: {
3263
+ session_id: string;
3264
+ message_id: string;
3265
+ } | null;
3266
+ readonly external_user_id: string | null;
3267
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3268
+ }>;
3269
+ };
2427
3270
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2428
3271
  id: string;
2429
3272
  agent: {
@@ -2437,6 +3280,7 @@ export declare function createAgent(transport: Transport): {
2437
3280
  speed?: "standard" | "fast";
2438
3281
  settings?: {
2439
3282
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3283
+ max_output_tokens?: number;
2440
3284
  };
2441
3285
  };
2442
3286
  multiagent: null | Types.AgentManaged171;
@@ -2463,6 +3307,11 @@ export declare function createAgent(transport: Transport): {
2463
3307
  vault_ids: Array<string>;
2464
3308
  deployment_id?: null | string;
2465
3309
  cwd: string;
3310
+ workspace?: {
3311
+ kind: "shared" | "isolated";
3312
+ path?: string;
3313
+ branch?: string;
3314
+ };
2466
3315
  computer_id?: string;
2467
3316
  model?: {
2468
3317
  id: string;
@@ -2503,6 +3352,12 @@ export declare function createAgent(transport: Transport): {
2503
3352
  filename: string;
2504
3353
  mime_type: string;
2505
3354
  bytes: number;
3355
+ } | {
3356
+ kind: "object";
3357
+ object_type: "canvas" | "media_asset";
3358
+ object_id: string;
3359
+ href: string;
3360
+ title: string | null;
2506
3361
  }>;
2507
3362
  source_hrefs: Array<string>;
2508
3363
  create_time: string;
@@ -2592,6 +3447,7 @@ export declare function createAgent(transport: Transport): {
2592
3447
  speed?: "standard" | "fast";
2593
3448
  settings?: {
2594
3449
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3450
+ max_output_tokens?: number;
2595
3451
  };
2596
3452
  };
2597
3453
  multiagent: null | Types.AgentManaged171;
@@ -2618,6 +3474,11 @@ export declare function createAgent(transport: Transport): {
2618
3474
  vault_ids: Array<string>;
2619
3475
  deployment_id?: null | string;
2620
3476
  cwd: string;
3477
+ workspace?: {
3478
+ kind: "shared" | "isolated";
3479
+ path?: string;
3480
+ branch?: string;
3481
+ };
2621
3482
  computer_id?: string;
2622
3483
  model?: {
2623
3484
  id: string;
@@ -2678,7 +3539,6 @@ export declare function createAgent(transport: Transport): {
2678
3539
  run_id: string | null;
2679
3540
  message_id?: string;
2680
3541
  } | {
2681
- full_access_available?: boolean;
2682
3542
  id: string;
2683
3543
  input: Types.AgentManaged197;
2684
3544
  mcp_server_name: string;
@@ -2688,6 +3548,18 @@ export declare function createAgent(transport: Transport): {
2688
3548
  evaluated_permission?: "allow" | "deny" | "ask";
2689
3549
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2690
3550
  session_thread_id?: null | string;
3551
+ permission_suggestions?: Array<{
3552
+ type: "add_rules";
3553
+ behavior: "allow";
3554
+ destination: "agent" | "session";
3555
+ rules: Array<{
3556
+ tool_name: string;
3557
+ rule_content: string;
3558
+ }>;
3559
+ }>;
3560
+ full_access_available?: boolean;
3561
+ user_once?: true;
3562
+ guarded_rule?: string;
2691
3563
  run_id: string | null;
2692
3564
  _meta?: {
2693
3565
  ui?: {
@@ -2701,17 +3573,6 @@ export declare function createAgent(transport: Transport): {
2701
3573
  };
2702
3574
  source?: "app" | "codemode";
2703
3575
  parent_tool_use_id?: string;
2704
- user_once?: true;
2705
- guarded_rule?: string;
2706
- permission_suggestions?: Array<{
2707
- type: "add_rules";
2708
- behavior: "allow";
2709
- destination: "agent" | "session";
2710
- rules: Array<{
2711
- tool_name: string;
2712
- rule_content: string;
2713
- }>;
2714
- }>;
2715
3576
  title?: string;
2716
3577
  input_titles?: {
2717
3578
  [key: string]: string;
@@ -2730,7 +3591,6 @@ export declare function createAgent(transport: Transport): {
2730
3591
  };
2731
3592
  source?: "app" | "codemode";
2732
3593
  } | {
2733
- full_access_available?: boolean;
2734
3594
  id: string;
2735
3595
  input: Types.AgentManaged206;
2736
3596
  name: string;
@@ -2739,9 +3599,6 @@ export declare function createAgent(transport: Transport): {
2739
3599
  evaluated_permission?: "allow" | "deny" | "ask";
2740
3600
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2741
3601
  session_thread_id?: null | string;
2742
- run_id: string | null;
2743
- user_once?: true;
2744
- guarded_rule?: string;
2745
3602
  permission_suggestions?: Array<{
2746
3603
  type: "add_rules";
2747
3604
  behavior: "allow";
@@ -2751,6 +3608,10 @@ export declare function createAgent(transport: Transport): {
2751
3608
  rule_content: string;
2752
3609
  }>;
2753
3610
  }>;
3611
+ full_access_available?: boolean;
3612
+ user_once?: true;
3613
+ guarded_rule?: string;
3614
+ run_id: string | null;
2754
3615
  } | {
2755
3616
  id: string;
2756
3617
  processed_at: string;
@@ -2771,9 +3632,6 @@ export declare function createAgent(transport: Transport): {
2771
3632
  type: "session.status_idle";
2772
3633
  run_id: string | null;
2773
3634
  } | 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 | {
2774
- permission_mode_version?: number;
2775
- previous_permission_mode?: string | null;
2776
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2777
3635
  id: string;
2778
3636
  processed_at: string;
2779
3637
  type: "session.updated";
@@ -2781,6 +3639,9 @@ export declare function createAgent(transport: Transport): {
2781
3639
  budget?: null | Types.AgentManaged76;
2782
3640
  metadata?: Types.AgentManaged246;
2783
3641
  title?: null | string;
3642
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3643
+ previous_permission_mode?: string | null;
3644
+ permission_mode_version?: number;
2784
3645
  model?: {
2785
3646
  id: string;
2786
3647
  };
@@ -2839,21 +3700,6 @@ export declare function createAgent(transport: Transport): {
2839
3700
  type: "user.steer";
2840
3701
  event_id: string;
2841
3702
  processed_at: string;
2842
- } | {
2843
- id: string;
2844
- type: "user.tool_confirmation";
2845
- processed_at: string;
2846
- tool_use_id: string;
2847
- result: "allow";
2848
- answers: {
2849
- [key: string]: string;
2850
- };
2851
- annotations?: {
2852
- [key: string]: {
2853
- preview?: string;
2854
- notes?: string;
2855
- };
2856
- };
2857
3703
  }>;
2858
3704
  next_page: string | null;
2859
3705
  }>;
@@ -2874,21 +3720,6 @@ export declare function createAgent(transport: Transport): {
2874
3720
  type: "user.steer";
2875
3721
  event_id: string;
2876
3722
  processed_at: string;
2877
- } | {
2878
- id: string;
2879
- type: "user.tool_confirmation";
2880
- processed_at: string;
2881
- tool_use_id: string;
2882
- result: "allow";
2883
- answers: {
2884
- [key: string]: string;
2885
- };
2886
- annotations?: {
2887
- [key: string]: {
2888
- preview?: string;
2889
- notes?: string;
2890
- };
2891
- };
2892
3723
  }>;
2893
3724
  }>;
2894
3725
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2941,6 +3772,7 @@ export declare function createAgent(transport: Transport): {
2941
3772
  speed?: "standard" | "fast";
2942
3773
  settings?: {
2943
3774
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3775
+ max_output_tokens?: number;
2944
3776
  };
2945
3777
  };
2946
3778
  multiagent: null | {
@@ -3403,6 +4235,11 @@ export declare function createAgent(transport: Transport): {
3403
4235
  vault_ids: Array<string>;
3404
4236
  deployment_id?: null | string;
3405
4237
  cwd: string;
4238
+ workspace?: {
4239
+ kind: "shared" | "isolated";
4240
+ path?: string;
4241
+ branch?: string;
4242
+ };
3406
4243
  computer_id?: string;
3407
4244
  model?: {
3408
4245
  id: string;
@@ -3436,32 +4273,576 @@ export declare function createAgent(transport: Transport): {
3436
4273
  speed?: "standard" | "fast";
3437
4274
  settings?: {
3438
4275
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4276
+ max_output_tokens?: number;
4277
+ };
4278
+ };
4279
+ multiagent: null | Types.AgentManaged171;
4280
+ name: string;
4281
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4282
+ system: null | string;
4283
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4284
+ type: "agent";
4285
+ version: number;
4286
+ };
4287
+ archived_at: null | string;
4288
+ budget: null | Types.AgentManaged76;
4289
+ created_at: string;
4290
+ environment_id?: string;
4291
+ metadata: Types.AgentManaged173;
4292
+ outcome_evaluations: Array<Types.AgentManaged174>;
4293
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4294
+ stats: Types.AgentManaged178;
4295
+ status: "rescheduling" | "running" | "idle" | "terminated";
4296
+ title: null | string;
4297
+ type: "session";
4298
+ updated_at: string;
4299
+ usage: Types.AgentManaged179;
4300
+ vault_ids: Array<string>;
4301
+ deployment_id?: null | string;
4302
+ cwd: string;
4303
+ workspace?: {
4304
+ kind: "shared" | "isolated";
4305
+ path?: string;
4306
+ branch?: string;
4307
+ };
4308
+ computer_id?: string;
4309
+ model?: {
4310
+ id: string;
4311
+ thinking: {
4312
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4313
+ can_disable: boolean;
4314
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4315
+ } | null;
4316
+ };
4317
+ thinking?: {
4318
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4319
+ } | null;
4320
+ forked_from?: {
4321
+ session_id: string;
4322
+ message_id: string;
4323
+ } | null;
4324
+ readonly external_user_id: string | null;
4325
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4326
+ }>;
4327
+ next_page: string | null;
4328
+ }>;
4329
+ name: {
4330
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4331
+ id: string;
4332
+ agent: {
4333
+ id: string;
4334
+ description: null | string;
4335
+ mcp_servers: Array<{
4336
+ type: "url";
4337
+ name: string;
4338
+ url: string;
4339
+ headers?: {
4340
+ [key: string]: string;
4341
+ };
4342
+ timeout_ms?: number;
4343
+ } | {
4344
+ type: "sse";
4345
+ name: string;
4346
+ url: string;
4347
+ headers?: {
4348
+ [key: string]: string;
4349
+ };
4350
+ timeout_ms?: number;
4351
+ } | {
4352
+ type: "stdio";
4353
+ name: string;
4354
+ command: string;
4355
+ args?: Array<string>;
4356
+ env?: {
4357
+ [key: string]: string;
4358
+ };
4359
+ timeout_ms?: number;
4360
+ }>;
4361
+ model: {
4362
+ id: string;
4363
+ effort?: {
4364
+ type: "low";
4365
+ } | {
4366
+ type: "medium";
4367
+ } | {
4368
+ type: "high";
4369
+ } | {
4370
+ type: "xhigh";
4371
+ } | {
4372
+ type: "max";
4373
+ };
4374
+ inference_geo?: string;
4375
+ speed?: "standard" | "fast";
4376
+ settings?: {
4377
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4378
+ max_output_tokens?: number;
3439
4379
  };
3440
4380
  };
3441
- multiagent: null | Types.AgentManaged171;
4381
+ multiagent: null | {
4382
+ agents: Array<{
4383
+ model: string;
4384
+ type: "advisor";
4385
+ } | {
4386
+ id: string;
4387
+ description: null | string;
4388
+ mcp_servers: Array<{
4389
+ type: "url";
4390
+ name: string;
4391
+ url: string;
4392
+ headers?: {
4393
+ [key: string]: string;
4394
+ };
4395
+ timeout_ms?: number;
4396
+ } | {
4397
+ type: "sse";
4398
+ name: string;
4399
+ url: string;
4400
+ headers?: {
4401
+ [key: string]: string;
4402
+ };
4403
+ timeout_ms?: number;
4404
+ } | {
4405
+ type: "stdio";
4406
+ name: string;
4407
+ command: string;
4408
+ args?: Array<string>;
4409
+ env?: {
4410
+ [key: string]: string;
4411
+ };
4412
+ timeout_ms?: number;
4413
+ }>;
4414
+ model: {
4415
+ id: string;
4416
+ effort?: {
4417
+ type: "low";
4418
+ } | {
4419
+ type: "medium";
4420
+ } | {
4421
+ type: "high";
4422
+ } | {
4423
+ type: "xhigh";
4424
+ } | {
4425
+ type: "max";
4426
+ };
4427
+ inference_geo?: string;
4428
+ speed?: "standard" | "fast";
4429
+ };
4430
+ name: string;
4431
+ skills: Array<{
4432
+ skill_id: string;
4433
+ type: "anthropic";
4434
+ version: string;
4435
+ } | {
4436
+ skill_id: string;
4437
+ type: "custom";
4438
+ version: string;
4439
+ }>;
4440
+ system: null | string;
4441
+ tools: Array<{
4442
+ configs: Array<{
4443
+ enabled: boolean;
4444
+ name: "bash";
4445
+ permission_policy: {
4446
+ type: "always_allow";
4447
+ } | {
4448
+ type: "always_ask";
4449
+ } | {
4450
+ type: "auto";
4451
+ };
4452
+ type: "bash";
4453
+ } | {
4454
+ enabled: boolean;
4455
+ name: "edit";
4456
+ permission_policy: {
4457
+ type: "always_allow";
4458
+ } | {
4459
+ type: "always_ask";
4460
+ } | {
4461
+ type: "auto";
4462
+ };
4463
+ type: "edit";
4464
+ } | {
4465
+ enabled: boolean;
4466
+ name: "read";
4467
+ permission_policy: {
4468
+ type: "always_allow";
4469
+ } | {
4470
+ type: "always_ask";
4471
+ } | {
4472
+ type: "auto";
4473
+ };
4474
+ type: "read";
4475
+ } | {
4476
+ enabled: boolean;
4477
+ name: "write";
4478
+ permission_policy: {
4479
+ type: "always_allow";
4480
+ } | {
4481
+ type: "always_ask";
4482
+ } | {
4483
+ type: "auto";
4484
+ };
4485
+ type: "write";
4486
+ } | {
4487
+ enabled: boolean;
4488
+ name: "glob";
4489
+ permission_policy: {
4490
+ type: "always_allow";
4491
+ } | {
4492
+ type: "always_ask";
4493
+ } | {
4494
+ type: "auto";
4495
+ };
4496
+ type: "glob";
4497
+ } | {
4498
+ enabled: boolean;
4499
+ name: "grep";
4500
+ permission_policy: {
4501
+ type: "always_allow";
4502
+ } | {
4503
+ type: "always_ask";
4504
+ } | {
4505
+ type: "auto";
4506
+ };
4507
+ type: "grep";
4508
+ } | {
4509
+ enabled: boolean;
4510
+ name: "web_fetch";
4511
+ permission_policy: {
4512
+ type: "always_allow";
4513
+ } | {
4514
+ type: "always_ask";
4515
+ } | {
4516
+ type: "auto";
4517
+ };
4518
+ type: "web_fetch";
4519
+ allowed_domains?: Array<string>;
4520
+ blocked_domains?: Array<string>;
4521
+ max_content_tokens?: null | number;
4522
+ } | {
4523
+ enabled: boolean;
4524
+ name: "web_search";
4525
+ permission_policy: {
4526
+ type: "always_allow";
4527
+ } | {
4528
+ type: "always_ask";
4529
+ } | {
4530
+ type: "auto";
4531
+ };
4532
+ type: "web_search";
4533
+ allowed_domains?: Array<string>;
4534
+ blocked_domains?: Array<string>;
4535
+ user_location?: null | {
4536
+ type: "approximate";
4537
+ city?: null | string;
4538
+ country?: null | string;
4539
+ region?: null | string;
4540
+ timezone?: null | string;
4541
+ };
4542
+ } | {
4543
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4544
+ enabled: boolean;
4545
+ permission_policy: {
4546
+ type: "always_allow" | "always_ask";
4547
+ };
4548
+ }>;
4549
+ default_config: {
4550
+ enabled: boolean;
4551
+ permission_policy: {
4552
+ type: "always_allow";
4553
+ } | {
4554
+ type: "always_ask";
4555
+ } | {
4556
+ type: "auto";
4557
+ };
4558
+ };
4559
+ type: "agent_toolset_20260401";
4560
+ } | {
4561
+ type: "mcp_toolset";
4562
+ mcp_server_name: string;
4563
+ default_config?: {
4564
+ enabled?: boolean | null;
4565
+ permission_policy?: null | {
4566
+ type: "always_allow" | "always_ask";
4567
+ };
4568
+ } | null;
4569
+ configs?: Array<{
4570
+ name: string;
4571
+ enabled?: boolean | null;
4572
+ permission_policy?: null | {
4573
+ type: "always_allow" | "always_ask";
4574
+ };
4575
+ }> | null;
4576
+ } | {
4577
+ description: string;
4578
+ input_schema: {
4579
+ type: "object";
4580
+ properties?: null | {
4581
+ [key: string]: unknown;
4582
+ };
4583
+ required?: null | Array<string>;
4584
+ [key: string]: unknown;
4585
+ };
4586
+ name: string;
4587
+ type: "custom";
4588
+ }>;
4589
+ type: "agent";
4590
+ version: number;
4591
+ }>;
4592
+ type: "coordinator";
4593
+ };
3442
4594
  name: string;
3443
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4595
+ skills: Array<{
4596
+ skill_id: string;
4597
+ type: "anthropic";
4598
+ version: string;
4599
+ } | {
4600
+ skill_id: string;
4601
+ type: "custom";
4602
+ version: string;
4603
+ }>;
3444
4604
  system: null | string;
3445
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4605
+ tools: Array<{
4606
+ configs: Array<{
4607
+ enabled: boolean;
4608
+ name: "bash";
4609
+ permission_policy: {
4610
+ type: "always_allow";
4611
+ } | {
4612
+ type: "always_ask";
4613
+ } | {
4614
+ type: "auto";
4615
+ };
4616
+ type: "bash";
4617
+ } | {
4618
+ enabled: boolean;
4619
+ name: "edit";
4620
+ permission_policy: {
4621
+ type: "always_allow";
4622
+ } | {
4623
+ type: "always_ask";
4624
+ } | {
4625
+ type: "auto";
4626
+ };
4627
+ type: "edit";
4628
+ } | {
4629
+ enabled: boolean;
4630
+ name: "read";
4631
+ permission_policy: {
4632
+ type: "always_allow";
4633
+ } | {
4634
+ type: "always_ask";
4635
+ } | {
4636
+ type: "auto";
4637
+ };
4638
+ type: "read";
4639
+ } | {
4640
+ enabled: boolean;
4641
+ name: "write";
4642
+ permission_policy: {
4643
+ type: "always_allow";
4644
+ } | {
4645
+ type: "always_ask";
4646
+ } | {
4647
+ type: "auto";
4648
+ };
4649
+ type: "write";
4650
+ } | {
4651
+ enabled: boolean;
4652
+ name: "glob";
4653
+ permission_policy: {
4654
+ type: "always_allow";
4655
+ } | {
4656
+ type: "always_ask";
4657
+ } | {
4658
+ type: "auto";
4659
+ };
4660
+ type: "glob";
4661
+ } | {
4662
+ enabled: boolean;
4663
+ name: "grep";
4664
+ permission_policy: {
4665
+ type: "always_allow";
4666
+ } | {
4667
+ type: "always_ask";
4668
+ } | {
4669
+ type: "auto";
4670
+ };
4671
+ type: "grep";
4672
+ } | {
4673
+ enabled: boolean;
4674
+ name: "web_fetch";
4675
+ permission_policy: {
4676
+ type: "always_allow";
4677
+ } | {
4678
+ type: "always_ask";
4679
+ } | {
4680
+ type: "auto";
4681
+ };
4682
+ type: "web_fetch";
4683
+ allowed_domains?: Array<string>;
4684
+ blocked_domains?: Array<string>;
4685
+ max_content_tokens?: null | number;
4686
+ } | {
4687
+ enabled: boolean;
4688
+ name: "web_search";
4689
+ permission_policy: {
4690
+ type: "always_allow";
4691
+ } | {
4692
+ type: "always_ask";
4693
+ } | {
4694
+ type: "auto";
4695
+ };
4696
+ type: "web_search";
4697
+ allowed_domains?: Array<string>;
4698
+ blocked_domains?: Array<string>;
4699
+ user_location?: null | {
4700
+ type: "approximate";
4701
+ city?: null | string;
4702
+ country?: null | string;
4703
+ region?: null | string;
4704
+ timezone?: null | string;
4705
+ };
4706
+ } | {
4707
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4708
+ enabled: boolean;
4709
+ permission_policy: {
4710
+ type: "always_allow" | "always_ask";
4711
+ };
4712
+ }>;
4713
+ default_config: {
4714
+ enabled: boolean;
4715
+ permission_policy: {
4716
+ type: "always_allow";
4717
+ } | {
4718
+ type: "always_ask";
4719
+ } | {
4720
+ type: "auto";
4721
+ };
4722
+ };
4723
+ type: "agent_toolset_20260401";
4724
+ } | {
4725
+ type: "mcp_toolset";
4726
+ mcp_server_name: string;
4727
+ default_config?: {
4728
+ enabled?: boolean | null;
4729
+ permission_policy?: null | {
4730
+ type: "always_allow" | "always_ask";
4731
+ };
4732
+ } | null;
4733
+ configs?: Array<{
4734
+ name: string;
4735
+ enabled?: boolean | null;
4736
+ permission_policy?: null | {
4737
+ type: "always_allow" | "always_ask";
4738
+ };
4739
+ }> | null;
4740
+ } | {
4741
+ description: string;
4742
+ input_schema: {
4743
+ type: "object";
4744
+ properties?: null | {
4745
+ [key: string]: unknown;
4746
+ };
4747
+ required?: null | Array<string>;
4748
+ [key: string]: unknown;
4749
+ };
4750
+ name: string;
4751
+ type: "custom";
4752
+ }>;
3446
4753
  type: "agent";
3447
4754
  version: number;
3448
4755
  };
3449
4756
  archived_at: null | string;
3450
- budget: null | Types.AgentManaged76;
4757
+ budget: null | {
4758
+ max_list_cost: {
4759
+ amount: string;
4760
+ currency: "USD";
4761
+ };
4762
+ type: "limit";
4763
+ };
3451
4764
  created_at: string;
3452
4765
  environment_id?: string;
3453
- metadata: Types.AgentManaged173;
3454
- outcome_evaluations: Array<Types.AgentManaged174>;
3455
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3456
- stats: Types.AgentManaged178;
4766
+ metadata: {
4767
+ [key: string]: string;
4768
+ };
4769
+ outcome_evaluations: Array<{
4770
+ completed_at: null | string;
4771
+ description: string;
4772
+ explanation: null | string;
4773
+ iteration: number;
4774
+ outcome_id: string;
4775
+ result: string;
4776
+ type: "outcome_evaluation";
4777
+ }>;
4778
+ resources: Array<{
4779
+ id: string;
4780
+ created_at: string;
4781
+ mount_path: string;
4782
+ type: "github_repository";
4783
+ updated_at: string;
4784
+ url: string;
4785
+ checkout?: null | {
4786
+ name: string;
4787
+ type: "branch";
4788
+ } | {
4789
+ sha: string;
4790
+ type: "commit";
4791
+ };
4792
+ } | {
4793
+ id: string;
4794
+ created_at: string;
4795
+ file_id: string;
4796
+ mount_path: string;
4797
+ type: "file";
4798
+ updated_at: string;
4799
+ } | {
4800
+ memory_store_id: string;
4801
+ type: "memory_store";
4802
+ access?: null | "read_write" | "read_only";
4803
+ description?: string;
4804
+ instructions?: null | string;
4805
+ mount_path?: null | string;
4806
+ name?: null | string;
4807
+ }>;
4808
+ stats: {
4809
+ active_seconds?: number;
4810
+ duration_seconds?: number;
4811
+ };
3457
4812
  status: "rescheduling" | "running" | "idle" | "terminated";
3458
4813
  title: null | string;
3459
4814
  type: "session";
3460
4815
  updated_at: string;
3461
- usage: Types.AgentManaged179;
4816
+ usage: {
4817
+ active_seconds?: number;
4818
+ cache_creation?: {
4819
+ ephemeral_1h_input_tokens?: number;
4820
+ ephemeral_5m_input_tokens?: number;
4821
+ };
4822
+ cache_read_input_tokens?: number;
4823
+ input_tokens?: number;
4824
+ list_cost?: null | {
4825
+ amount: string;
4826
+ currency: "USD";
4827
+ };
4828
+ output_tokens?: number;
4829
+ server_tool_use?: null | {
4830
+ web_fetch_requests?: number;
4831
+ web_search_requests?: number;
4832
+ };
4833
+ cost_by_product?: {
4834
+ [key: string]: string;
4835
+ };
4836
+ subagent_cost_micro_usd?: number;
4837
+ };
3462
4838
  vault_ids: Array<string>;
3463
4839
  deployment_id?: null | string;
3464
4840
  cwd: string;
4841
+ workspace?: {
4842
+ kind: "shared" | "isolated";
4843
+ path?: string;
4844
+ branch?: string;
4845
+ };
3465
4846
  computer_id?: string;
3466
4847
  model?: {
3467
4848
  id: string;
@@ -3481,8 +4862,7 @@ export declare function createAgent(transport: Transport): {
3481
4862
  readonly external_user_id: string | null;
3482
4863
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3483
4864
  }>;
3484
- next_page: string | null;
3485
- }>;
4865
+ };
3486
4866
  requests: {
3487
4867
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
3488
4868
  data: Array<{
@@ -3527,6 +4907,7 @@ export declare function createAgent(transport: Transport): {
3527
4907
  speed?: "standard" | "fast";
3528
4908
  settings?: {
3529
4909
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4910
+ max_output_tokens?: number;
3530
4911
  };
3531
4912
  };
3532
4913
  multiagent: null | Types.AgentManaged171;
@@ -3553,6 +4934,11 @@ export declare function createAgent(transport: Transport): {
3553
4934
  vault_ids: Array<string>;
3554
4935
  deployment_id?: null | string;
3555
4936
  cwd: string;
4937
+ workspace?: {
4938
+ kind: "shared" | "isolated";
4939
+ path?: string;
4940
+ branch?: string;
4941
+ };
3556
4942
  computer_id?: string;
3557
4943
  model?: {
3558
4944
  id: string;
@@ -3699,7 +5085,6 @@ export declare function createAgent(transport: Transport): {
3699
5085
  run_id: string | null;
3700
5086
  message_id?: string;
3701
5087
  } | {
3702
- full_access_available?: boolean;
3703
5088
  id: string;
3704
5089
  input: Types.AgentManaged197;
3705
5090
  mcp_server_name: string;
@@ -3709,6 +5094,18 @@ export declare function createAgent(transport: Transport): {
3709
5094
  evaluated_permission?: "allow" | "deny" | "ask";
3710
5095
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3711
5096
  session_thread_id?: null | string;
5097
+ permission_suggestions?: Array<{
5098
+ type: "add_rules";
5099
+ behavior: "allow";
5100
+ destination: "agent" | "session";
5101
+ rules: Array<{
5102
+ tool_name: string;
5103
+ rule_content: string;
5104
+ }>;
5105
+ }>;
5106
+ full_access_available?: boolean;
5107
+ user_once?: true;
5108
+ guarded_rule?: string;
3712
5109
  run_id: string | null;
3713
5110
  parent_tool_use_id?: string;
3714
5111
  _meta?: {
@@ -3722,17 +5119,6 @@ export declare function createAgent(transport: Transport): {
3722
5119
  };
3723
5120
  };
3724
5121
  source?: "app" | "codemode";
3725
- user_once?: true;
3726
- guarded_rule?: string;
3727
- permission_suggestions?: Array<{
3728
- type: "add_rules";
3729
- behavior: "allow";
3730
- destination: "agent" | "session";
3731
- rules: Array<{
3732
- tool_name: string;
3733
- rule_content: string;
3734
- }>;
3735
- }>;
3736
5122
  title?: string;
3737
5123
  input_titles?: {
3738
5124
  [key: string]: string;
@@ -3751,7 +5137,6 @@ export declare function createAgent(transport: Transport): {
3751
5137
  };
3752
5138
  source?: "app" | "codemode";
3753
5139
  } | {
3754
- full_access_available?: boolean;
3755
5140
  id: string;
3756
5141
  input: Types.AgentManaged206;
3757
5142
  name: string;
@@ -3760,9 +5145,6 @@ export declare function createAgent(transport: Transport): {
3760
5145
  evaluated_permission?: "allow" | "deny" | "ask";
3761
5146
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3762
5147
  session_thread_id?: null | string;
3763
- run_id: string | null;
3764
- user_once?: true;
3765
- guarded_rule?: string;
3766
5148
  permission_suggestions?: Array<{
3767
5149
  type: "add_rules";
3768
5150
  behavior: "allow";
@@ -3772,6 +5154,10 @@ export declare function createAgent(transport: Transport): {
3772
5154
  rule_content: string;
3773
5155
  }>;
3774
5156
  }>;
5157
+ full_access_available?: boolean;
5158
+ user_once?: true;
5159
+ guarded_rule?: string;
5160
+ run_id: string | null;
3775
5161
  } | {
3776
5162
  id: string;
3777
5163
  processed_at: string;
@@ -3792,9 +5178,6 @@ export declare function createAgent(transport: Transport): {
3792
5178
  type: "session.status_idle";
3793
5179
  run_id: string | null;
3794
5180
  } | 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 | {
3795
- permission_mode_version?: number;
3796
- previous_permission_mode?: string | null;
3797
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3798
5181
  id: string;
3799
5182
  processed_at: string;
3800
5183
  type: "session.updated";
@@ -3802,6 +5185,9 @@ export declare function createAgent(transport: Transport): {
3802
5185
  budget?: null | Types.AgentManaged76;
3803
5186
  metadata?: Types.AgentManaged246;
3804
5187
  title?: null | string;
5188
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5189
+ previous_permission_mode?: string | null;
5190
+ permission_mode_version?: number;
3805
5191
  model?: {
3806
5192
  id: string;
3807
5193
  };
@@ -3892,6 +5278,7 @@ export declare function createAgent(transport: Transport): {
3892
5278
  speed?: "standard" | "fast";
3893
5279
  settings?: {
3894
5280
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5281
+ max_output_tokens?: number;
3895
5282
  };
3896
5283
  };
3897
5284
  multiagent: null | Types.AgentManaged171;
@@ -3918,6 +5305,11 @@ export declare function createAgent(transport: Transport): {
3918
5305
  vault_ids: Array<string>;
3919
5306
  deployment_id?: null | string;
3920
5307
  cwd: string;
5308
+ workspace?: {
5309
+ kind: "shared" | "isolated";
5310
+ path?: string;
5311
+ branch?: string;
5312
+ };
3921
5313
  computer_id?: string;
3922
5314
  model?: {
3923
5315
  id: string;
@@ -3982,6 +5374,29 @@ export declare function createAgent(transport: Transport): {
3982
5374
  next_page: null;
3983
5375
  }>;
3984
5376
  };
5377
+ uploads: {
5378
+ contentUrl: {
5379
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5380
+ url: string;
5381
+ expires_at: string;
5382
+ }>;
5383
+ };
5384
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5385
+ upload_id: string;
5386
+ expires_at: string;
5387
+ url: string;
5388
+ } | {
5389
+ upload_id: string;
5390
+ expires_at: string;
5391
+ part_size: number;
5392
+ parts: Array<{
5393
+ part_number: number;
5394
+ url: string;
5395
+ }>;
5396
+ complete_url: string;
5397
+ status_url: string;
5398
+ }>;
5399
+ };
3985
5400
  };
3986
5401
  export declare function createApplication(transport: Transport): {
3987
5402
  assets: {
@@ -4246,6 +5661,11 @@ export declare function createAutomation(transport: Transport): {
4246
5661
  };
4247
5662
  };
4248
5663
  };
5664
+ export declare function createBilling(transport: Transport): {
5665
+ prices: {
5666
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5667
+ };
5668
+ };
4249
5669
  export declare function createBrowser(transport: Transport): {
4250
5670
  connect: {
4251
5671
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -4305,6 +5725,11 @@ export declare function createBrowser(transport: Transport): {
4305
5725
  type: "evaluate";
4306
5726
  tab: string;
4307
5727
  value: unknown;
5728
+ } | {
5729
+ type: "set_cookie";
5730
+ tab: string;
5731
+ name: string;
5732
+ domain: string;
4308
5733
  }>;
4309
5734
  };
4310
5735
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4362,6 +5787,24 @@ export declare function createCanvas(transport: Transport): {
4362
5787
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4363
5788
  };
4364
5789
  };
5790
+ export declare function createContent(transport: Transport): {
5791
+ contents: {
5792
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5793
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5794
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5795
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5796
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5797
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5798
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5799
+ };
5800
+ playbackSessions: {
5801
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5802
+ };
5803
+ versions: {
5804
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5805
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5806
+ };
5807
+ };
4365
5808
  export declare function createCrm(transport: Transport): {
4366
5809
  associations: {
4367
5810
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4422,6 +5865,32 @@ export declare function createCrm(transport: Transport): {
4422
5865
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4423
5866
  };
4424
5867
  };
5868
+ export declare function createCustomer(transport: Transport): {
5869
+ accessTokens: {
5870
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5871
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5872
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5873
+ };
5874
+ customers: {
5875
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5876
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5877
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5878
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5879
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5880
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5881
+ };
5882
+ grantCodes: {
5883
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5884
+ };
5885
+ publishableKeys: {
5886
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5887
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5888
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5889
+ };
5890
+ usage: {
5891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5892
+ };
5893
+ };
4425
5894
  export declare function createCut(transport: Transport): {
4426
5895
  exports: {
4427
5896
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4474,15 +5943,40 @@ export declare function createCut(transport: Transport): {
4474
5943
  };
4475
5944
  export declare function createDatabase(transport: Transport): {
4476
5945
  databases: {
5946
+ commands: {
5947
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
5948
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
5949
+ result: unknown;
5950
+ }>;
5951
+ };
5952
+ /** @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. */
4477
5953
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
5954
+ /** @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. */
4478
5955
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4479
5956
  events: {
5957
+ /** @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. */
4480
5958
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4481
5959
  data: Array<Types.DatabaseDatabaseEvent>;
4482
5960
  }>;
4483
5961
  };
5962
+ keys: {
5963
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
5964
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
5965
+ deleted: boolean;
5966
+ }>;
5967
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
5968
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
5969
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
5970
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
5971
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
5972
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
5973
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
5974
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
5975
+ };
5976
+ /** @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. */
4484
5977
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4485
5978
  purge: {
5979
+ /** @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. */
4486
5980
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4487
5981
  id: string;
4488
5982
  object: "database";
@@ -4490,37 +5984,132 @@ export declare function createDatabase(transport: Transport): {
4490
5984
  }>;
4491
5985
  };
4492
5986
  rest: {
5987
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
4493
5988
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5989
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
4494
5990
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5991
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
4495
5992
  head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
5993
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
4496
5994
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5995
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
4497
5996
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4498
5997
  };
5998
+ /** @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. */
4499
5999
  restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6000
+ /** @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. */
4500
6001
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
4501
6002
  tables: {
6003
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
4502
6004
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6005
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
4503
6006
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
4504
6007
  deleted: true;
4505
6008
  }>;
4506
6009
  fields: {
6010
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
4507
6011
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6012
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
4508
6013
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6014
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
4509
6015
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
4510
6016
  };
6017
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
4511
6018
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
4512
6019
  data: Array<Types.DatabaseTable>;
4513
6020
  }>;
6021
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
4514
6022
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6023
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
4515
6024
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
4516
6025
  };
6026
+ /** @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. */
4517
6027
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4518
6028
  };
6029
+ kv: {
6030
+ commands: {
6031
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6032
+ result: unknown;
6033
+ }>;
6034
+ };
6035
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6036
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6037
+ events: {
6038
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6039
+ data: Array<Types.DatabaseDatabaseEvent>;
6040
+ }>;
6041
+ };
6042
+ keys: {
6043
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6044
+ deleted: boolean;
6045
+ }>;
6046
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6047
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6048
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6049
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6050
+ };
6051
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6052
+ purge: {
6053
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6054
+ id: string;
6055
+ object: "database";
6056
+ purged: true;
6057
+ }>;
6058
+ };
6059
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6060
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6061
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6062
+ };
6063
+ table: {
6064
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6065
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6066
+ events: {
6067
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6068
+ data: Array<Types.DatabaseDatabaseEvent>;
6069
+ }>;
6070
+ };
6071
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6072
+ purge: {
6073
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6074
+ id: string;
6075
+ object: "database";
6076
+ purged: true;
6077
+ }>;
6078
+ };
6079
+ rest: {
6080
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6081
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6082
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6083
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6084
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6085
+ };
6086
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6087
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6088
+ tables: {
6089
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6090
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
6091
+ deleted: true;
6092
+ }>;
6093
+ fields: {
6094
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6095
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6096
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
6097
+ };
6098
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
6099
+ data: Array<Types.DatabaseTable>;
6100
+ }>;
6101
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6102
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6103
+ };
6104
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6105
+ };
4519
6106
  };
4520
6107
  export declare function createDevops(transport: Transport): {
4521
6108
  changes: {
4522
6109
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6110
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4523
6111
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6112
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4524
6113
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4525
6114
  };
4526
6115
  connections: {
@@ -4560,6 +6149,13 @@ export declare function createDevops(transport: Transport): {
4560
6149
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
4561
6150
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
4562
6151
  };
6152
+ cleanups: {
6153
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6154
+ };
6155
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6156
+ defaultBranch: {
6157
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6158
+ };
4563
6159
  environments: {
4564
6160
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4565
6161
  targets: {
@@ -4592,6 +6188,7 @@ export declare function createDevops(transport: Transport): {
4592
6188
  };
4593
6189
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4594
6190
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6191
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
4595
6192
  segments: {
4596
6193
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
4597
6194
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
@@ -4631,6 +6228,7 @@ export declare function createDevops(transport: Transport): {
4631
6228
  promotions: {
4632
6229
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4633
6230
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6231
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4634
6232
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4635
6233
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4636
6234
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4640,10 +6238,14 @@ export declare function createDevops(transport: Transport): {
4640
6238
  };
4641
6239
  };
4642
6240
  pullRequests: {
6241
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
4643
6242
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
4644
6243
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
4645
6244
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
4646
6245
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6246
+ reviews: {
6247
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6248
+ };
4647
6249
  };
4648
6250
  releases: {
4649
6251
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -4789,6 +6391,10 @@ export declare function createMedia(transport: Transport): {
4789
6391
  frames: {
4790
6392
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4791
6393
  };
6394
+ hls: {
6395
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6396
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6397
+ };
4792
6398
  import: {
4793
6399
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4794
6400
  };
@@ -4855,6 +6461,12 @@ export declare function createMedia(transport: Transport): {
4855
6461
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4856
6462
  };
4857
6463
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6464
+ voices: {
6465
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6466
+ designs: {
6467
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6468
+ };
6469
+ };
4858
6470
  };
4859
6471
  speech: {
4860
6472
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -5378,6 +6990,7 @@ export declare function createModel(transport: Transport): {
5378
6990
  unsigned_urls: Array<string>;
5379
6991
  usage?: {
5380
6992
  cost: number;
6993
+ billed_seconds?: number;
5381
6994
  };
5382
6995
  }>;
5383
6996
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5408,6 +7021,7 @@ export declare function createModel(transport: Transport): {
5408
7021
  unsigned_urls: Array<string>;
5409
7022
  usage?: {
5410
7023
  cost: number;
7024
+ billed_seconds?: number;
5411
7025
  };
5412
7026
  }>;
5413
7027
  has_more: boolean;
@@ -5436,6 +7050,7 @@ export declare function createModel(transport: Transport): {
5436
7050
  unsigned_urls: Array<string>;
5437
7051
  usage?: {
5438
7052
  cost: number;
7053
+ billed_seconds?: number;
5439
7054
  };
5440
7055
  }>;
5441
7056
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5473,23 +7088,6 @@ export declare function createOntology(transport: Transport): {
5473
7088
  };
5474
7089
  };
5475
7090
  export declare function createOrganization(transport: Transport): {
5476
- actors: {
5477
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
5478
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
5479
- };
5480
- assignments: {
5481
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
5482
- makePrimary: {
5483
- create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5484
- };
5485
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5486
- terminate: {
5487
- create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5488
- };
5489
- transfer: {
5490
- create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5491
- };
5492
- };
5493
7091
  charges: {
5494
7092
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5495
7093
  ChargePeriodStart: string;
@@ -5525,21 +7123,11 @@ export declare function createOrganization(transport: Transport): {
5525
7123
  BilledCost: string;
5526
7124
  BillingCurrency: "CNY" | "USD";
5527
7125
  x_EventCount: string;
5528
- }>;
5529
- }>;
5530
- has_more: boolean;
5531
- next_page: string | null;
5532
- }>;
5533
- };
5534
- departments: {
5535
- create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5536
- dissolve: {
5537
- create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5538
- };
5539
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
5540
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5541
- update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5542
- updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7126
+ }>;
7127
+ }>;
7128
+ has_more: boolean;
7129
+ next_page: string | null;
7130
+ }>;
5543
7131
  };
5544
7132
  events: {
5545
7133
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
@@ -5743,27 +7331,6 @@ export declare function createOrganization(transport: Transport): {
5743
7331
  }>;
5744
7332
  }>;
5745
7333
  };
5746
- jobs: {
5747
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
5748
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
5749
- retire: {
5750
- create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
5751
- };
5752
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
5753
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
5754
- };
5755
- keyResults: {
5756
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5757
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
5758
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5759
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5760
- };
5761
- ladders: {
5762
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5763
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
5764
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5765
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5766
- };
5767
7334
  members: {
5768
7335
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5769
7336
  data: Array<{
@@ -5777,51 +7344,82 @@ export declare function createOrganization(transport: Transport): {
5777
7344
  next_page: string | null;
5778
7345
  }>;
5779
7346
  };
5780
- objectives: {
5781
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5782
- grade: {
5783
- create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5784
- };
5785
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
5786
- parents: {
5787
- update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5788
- };
5789
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5790
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5791
- };
5792
- periods: {
5793
- close: {
5794
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5795
- };
5796
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5797
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
5798
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5799
- };
5800
- positions: {
5801
- close: {
5802
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5803
- };
5804
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
5805
- designateHead: {
5806
- create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
5807
- };
5808
- freeze: {
5809
- create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7347
+ notifications: {
7348
+ deliveries: {
7349
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7350
+ [key: string]: unknown;
7351
+ }>;
5810
7352
  };
5811
- hire: {
5812
- create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7353
+ letters: {
7354
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7355
+ unread: number;
7356
+ }>;
7357
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7358
+ letters: Array<{
7359
+ id: string;
7360
+ sender: string;
7361
+ summary: string;
7362
+ body: string;
7363
+ thread: string;
7364
+ kind: "notice" | "mention" | "decision";
7365
+ source: {
7366
+ [key: string]: unknown;
7367
+ };
7368
+ read: boolean;
7369
+ deliveredAt: string;
7370
+ createTime: string;
7371
+ reason: string;
7372
+ archived: boolean;
7373
+ }>;
7374
+ nextCursor: string;
7375
+ unread: number;
7376
+ }>;
7377
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7378
+ unread: number;
7379
+ }>;
7380
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7381
+ unread: number;
7382
+ }>;
5813
7383
  };
5814
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
5815
- replaceHolder: {
5816
- create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7384
+ organizationDefault: {
7385
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7386
+ [key: string]: unknown;
7387
+ }>;
5817
7388
  };
5818
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5819
- unfreeze: {
5820
- create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7389
+ preferences: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7391
+ [key: string]: unknown;
7392
+ }>;
7393
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7394
+ name: string;
7395
+ workflows: {
7396
+ [key: string]: unknown;
7397
+ };
7398
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7399
+ updateTime?: string;
7400
+ catalog: Array<{
7401
+ workflow: string;
7402
+ group: string;
7403
+ title: string;
7404
+ description?: string;
7405
+ critical: boolean;
7406
+ channels: Array<string>;
7407
+ }>;
7408
+ organization: {
7409
+ [key: string]: unknown;
7410
+ };
7411
+ effective: {
7412
+ [key: string]: unknown;
7413
+ };
7414
+ }>;
5821
7415
  };
5822
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5823
- updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5824
- updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7416
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
7417
+ unreadCount: number;
7418
+ unseenCount: number;
7419
+ }>;
7420
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
7421
+ [key: string]: unknown;
7422
+ }>;
5825
7423
  };
5826
7424
  usage: {
5827
7425
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -5846,13 +7444,163 @@ export declare function createOrganization(transport: Transport): {
5846
7444
  }>;
5847
7445
  };
5848
7446
  };
7447
+ export declare function createRegistry(transport: Transport): {
7448
+ installations: {
7449
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7450
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7451
+ };
7452
+ packages: {
7453
+ git: {
7454
+ commits: {
7455
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7456
+ };
7457
+ files: {
7458
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7459
+ };
7460
+ refs: {
7461
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7462
+ };
7463
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7464
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7465
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7466
+ trees: {
7467
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7468
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7469
+ };
7470
+ };
7471
+ gitCredential: {
7472
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7473
+ };
7474
+ installations: {
7475
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7476
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7477
+ };
7478
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7479
+ versions: {
7480
+ contents: {
7481
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7482
+ };
7483
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7484
+ files: {
7485
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7486
+ };
7487
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7488
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7489
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7490
+ };
7491
+ };
7492
+ repositories: {
7493
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7494
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7495
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7496
+ packages: {
7497
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7498
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7499
+ };
7500
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7501
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7502
+ };
7503
+ };
5849
7504
  export declare function createSandbox(transport: Transport): {
7505
+ byod: {
7506
+ devices: {
7507
+ disconnect: {
7508
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7509
+ id: string;
7510
+ object: "byod_device";
7511
+ disconnected: true;
7512
+ }>;
7513
+ };
7514
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7515
+ data: Array<{
7516
+ object: "byod_device";
7517
+ id: string;
7518
+ platform: "android" | "macos" | "linux";
7519
+ name: string;
7520
+ model: string;
7521
+ os_version: string;
7522
+ online: boolean;
7523
+ last_seen_at: string | null;
7524
+ created_at: string;
7525
+ capabilities: Array<"display" | "agent">;
7526
+ agent_dirs: Array<string>;
7527
+ allow_bypass: boolean;
7528
+ }>;
7529
+ }>;
7530
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7531
+ object: "byod_device";
7532
+ id: string;
7533
+ platform: "android" | "macos" | "linux";
7534
+ name: string;
7535
+ model: string;
7536
+ os_version: string;
7537
+ online: boolean;
7538
+ last_seen_at: string | null;
7539
+ created_at: string;
7540
+ capabilities: Array<"display" | "agent">;
7541
+ agent_dirs: Array<string>;
7542
+ allow_bypass: boolean;
7543
+ }>;
7544
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7545
+ object: "byod_device";
7546
+ id: string;
7547
+ platform: "android" | "macos" | "linux";
7548
+ name: string;
7549
+ model: string;
7550
+ os_version: string;
7551
+ online: boolean;
7552
+ last_seen_at: string | null;
7553
+ created_at: string;
7554
+ capabilities: Array<"display" | "agent">;
7555
+ agent_dirs: Array<string>;
7556
+ allow_bypass: boolean;
7557
+ }>;
7558
+ };
7559
+ pairings: {
7560
+ claim: {
7561
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7562
+ device_id: string;
7563
+ credential: string;
7564
+ socket_url: string;
7565
+ }>;
7566
+ };
7567
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7568
+ code: string;
7569
+ expires_at: string;
7570
+ qr: string;
7571
+ }>;
7572
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7573
+ organization_name: string;
7574
+ expires_at: string;
7575
+ }>;
7576
+ };
7577
+ };
5850
7578
  events: {
5851
7579
  sandboxes: {
5852
7580
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5853
7581
  };
5854
7582
  };
5855
7583
  sandboxes: {
7584
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7585
+ type: "snapshot";
7586
+ snapshot: string;
7587
+ refs: number;
7588
+ truncated: boolean;
7589
+ package: string;
7590
+ } | {
7591
+ type: "screenshot";
7592
+ mediaType: string;
7593
+ data: string;
7594
+ width: number;
7595
+ height: number;
7596
+ bytes: number;
7597
+ } | {
7598
+ type: "ok";
7599
+ ms?: number;
7600
+ } | {
7601
+ type: "wait";
7602
+ ms: number;
7603
+ }>;
5856
7604
  commands: {
5857
7605
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5858
7606
  stdout: string;
@@ -6082,6 +7830,14 @@ export declare function createSearch(transport: Transport): {
6082
7830
  }>;
6083
7831
  };
6084
7832
  };
7833
+ export declare function createShare(transport: Transport): {
7834
+ permissions: {
7835
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7836
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7837
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7838
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7839
+ };
7840
+ };
6085
7841
  export declare function createStudio(transport: Transport): {
6086
7842
  codexes: {
6087
7843
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -6369,13 +8125,138 @@ export declare function createVault(transport: Transport): {
6369
8125
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
6370
8126
  };
6371
8127
  };
8128
+ export declare function createWorkforce(transport: Transport): {
8129
+ actors: {
8130
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8131
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8132
+ };
8133
+ assignments: {
8134
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8135
+ makePrimary: {
8136
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8137
+ };
8138
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8139
+ terminate: {
8140
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8141
+ };
8142
+ transfer: {
8143
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8144
+ };
8145
+ };
8146
+ departments: {
8147
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8148
+ dissolve: {
8149
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8150
+ };
8151
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8152
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8153
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8154
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
8155
+ };
8156
+ effectiveSpec: {
8157
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8158
+ };
8159
+ jobs: {
8160
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8161
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8162
+ retire: {
8163
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8164
+ };
8165
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8166
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8167
+ };
8168
+ keyResults: {
8169
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8170
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8171
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8172
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8173
+ };
8174
+ ladders: {
8175
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8176
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8177
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8178
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8179
+ };
8180
+ objectives: {
8181
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8182
+ grade: {
8183
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8184
+ };
8185
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8186
+ parents: {
8187
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8188
+ };
8189
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8190
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8191
+ };
8192
+ periods: {
8193
+ close: {
8194
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8195
+ };
8196
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8197
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8198
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8199
+ };
8200
+ positions: {
8201
+ close: {
8202
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8203
+ };
8204
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8205
+ designateHead: {
8206
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8207
+ };
8208
+ freeze: {
8209
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8210
+ };
8211
+ hire: {
8212
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8213
+ };
8214
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8215
+ replaceHolder: {
8216
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8217
+ };
8218
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8219
+ unfreeze: {
8220
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8221
+ };
8222
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8223
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8224
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8225
+ };
8226
+ reconcile: {
8227
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8228
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8229
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8230
+ run: {
8231
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8232
+ };
8233
+ status: {
8234
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8235
+ };
8236
+ };
8237
+ specSchema: {
8238
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8239
+ };
8240
+ specs: {
8241
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8242
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8243
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8244
+ revisions: {
8245
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8246
+ };
8247
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8248
+ };
8249
+ };
6372
8250
  export declare const resourceFactories: {
6373
8251
  agent: typeof createAgent;
6374
8252
  application: typeof createApplication;
6375
8253
  automation: typeof createAutomation;
8254
+ billing: typeof createBilling;
6376
8255
  browser: typeof createBrowser;
6377
8256
  canvas: typeof createCanvas;
8257
+ content: typeof createContent;
6378
8258
  crm: typeof createCrm;
8259
+ customer: typeof createCustomer;
6379
8260
  cut: typeof createCut;
6380
8261
  database: typeof createDatabase;
6381
8262
  devops: typeof createDevops;
@@ -6386,9 +8267,12 @@ export declare const resourceFactories: {
6386
8267
  model: typeof createModel;
6387
8268
  ontology: typeof createOntology;
6388
8269
  organization: typeof createOrganization;
8270
+ registry: typeof createRegistry;
6389
8271
  sandbox: typeof createSandbox;
6390
8272
  search: typeof createSearch;
8273
+ share: typeof createShare;
6391
8274
  studio: typeof createStudio;
6392
8275
  ticket: typeof createTicket;
6393
8276
  vault: typeof createVault;
8277
+ workforce: typeof createWorkforce;
6394
8278
  };