@deepraxis/sdk 0.1.1-dev.9932035 → 0.1.1-dev.9ae8c78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,8 @@
1
1
  import type * as Types from './generated/types.gen.js';
2
+ import type { DeprecationNotice } from './core/deprecation.js';
2
3
  import type { RenameParameters } from './core/bindings.js';
3
4
  import type { Transport } from './core/transport.js';
5
+ export declare const deprecatedMethods: Readonly<Record<string, DeprecationNotice>>;
4
6
  export declare function createAgent(transport: Transport): {
5
7
  agents: {
6
8
  archive: (options: import("./core/transport.js").CallOptions<Types.AgentsArchiveData>) => Promise<{
@@ -17,6 +19,7 @@ export declare function createAgent(transport: Transport): {
17
19
  speed?: "standard" | "fast";
18
20
  settings?: {
19
21
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
22
+ max_output_tokens?: number;
20
23
  };
21
24
  };
22
25
  multiagent?: null | Types.AgentManaged39;
@@ -37,10 +40,12 @@ export declare function createAgent(transport: Transport): {
37
40
  id: string;
38
41
  } | null;
39
42
  note: string | null;
43
+ deployments_behind: number | null;
40
44
  bindings: Array<{
41
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
45
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
42
46
  id: string;
43
47
  access: "read_only" | "read_write" | "invoke";
48
+ customer_access?: "read_only" | "read_write" | "invoke";
44
49
  instructions?: string;
45
50
  readonly verified?: boolean;
46
51
  enabled?: boolean;
@@ -142,6 +147,7 @@ export declare function createAgent(transport: Transport): {
142
147
  allowManagedHooksOnly?: boolean;
143
148
  allowManagedMcpServersOnly?: boolean;
144
149
  allowManagedPermissionRulesOnly?: boolean;
150
+ idleCompaction?: boolean;
145
151
  autoMemoryEnabled?: boolean;
146
152
  disabled?: {
147
153
  subagents?: Array<string>;
@@ -150,7 +156,6 @@ export declare function createAgent(transport: Transport): {
150
156
  mcpServers?: Array<string>;
151
157
  hooks?: Array<string>;
152
158
  };
153
- idleCompaction?: boolean;
154
159
  outputStyle?: string;
155
160
  } | null;
156
161
  models?: {
@@ -158,6 +163,7 @@ export declare function createAgent(transport: Transport): {
158
163
  };
159
164
  avatar: string | null;
160
165
  creation_source: string | null;
166
+ managed_by: string | null;
161
167
  identity_number: string | null;
162
168
  environment_id?: string | null;
163
169
  vault_ids?: Array<string>;
@@ -199,6 +205,7 @@ export declare function createAgent(transport: Transport): {
199
205
  speed?: "standard" | "fast";
200
206
  settings?: {
201
207
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
208
+ max_output_tokens?: number;
202
209
  };
203
210
  };
204
211
  multiagent?: null | Types.AgentManaged39;
@@ -219,10 +226,12 @@ export declare function createAgent(transport: Transport): {
219
226
  id: string;
220
227
  } | null;
221
228
  note: string | null;
229
+ deployments_behind: number | null;
222
230
  bindings: Array<{
223
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
231
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
224
232
  id: string;
225
233
  access: "read_only" | "read_write" | "invoke";
234
+ customer_access?: "read_only" | "read_write" | "invoke";
226
235
  instructions?: string;
227
236
  readonly verified?: boolean;
228
237
  enabled?: boolean;
@@ -232,6 +241,13 @@ export declare function createAgent(transport: Transport): {
232
241
  enabled?: boolean;
233
242
  }>;
234
243
  kind: "general" | "service" | "assume";
244
+ computers?: {
245
+ default: string;
246
+ allowed: Array<{
247
+ template: string;
248
+ name: string;
249
+ }>;
250
+ };
235
251
  computer_id?: string;
236
252
  subagent_model?: string | null;
237
253
  subagents?: Array<{
@@ -324,6 +340,7 @@ export declare function createAgent(transport: Transport): {
324
340
  allowManagedHooksOnly?: boolean;
325
341
  allowManagedMcpServersOnly?: boolean;
326
342
  allowManagedPermissionRulesOnly?: boolean;
343
+ idleCompaction?: boolean;
327
344
  autoMemoryEnabled?: boolean;
328
345
  disabled?: {
329
346
  subagents?: Array<string>;
@@ -332,7 +349,6 @@ export declare function createAgent(transport: Transport): {
332
349
  mcpServers?: Array<string>;
333
350
  hooks?: Array<string>;
334
351
  };
335
- idleCompaction?: boolean;
336
352
  outputStyle?: string;
337
353
  } | null;
338
354
  models?: {
@@ -340,6 +356,7 @@ export declare function createAgent(transport: Transport): {
340
356
  };
341
357
  avatar: string | null;
342
358
  creation_source: string | null;
359
+ managed_by: string | null;
343
360
  identity_number: string | null;
344
361
  environment_id?: string | null;
345
362
  vault_ids?: Array<string>;
@@ -352,42 +369,6 @@ export declare function createAgent(transport: Transport): {
352
369
  }> | null;
353
370
  }>;
354
371
  customers: {
355
- auth: {
356
- accessTokens: {
357
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
358
- type: "customer_access_token";
359
- access_token: string;
360
- expires_at: string;
361
- session_expires_at: string;
362
- customer: {
363
- id: string;
364
- type: "identified" | "anonymous";
365
- };
366
- }>;
367
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
368
- renew: {
369
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
370
- type: "customer_access_token";
371
- access_token: string;
372
- expires_at: string;
373
- session_expires_at: string;
374
- customer: {
375
- id: string;
376
- type: "identified" | "anonymous";
377
- };
378
- }>;
379
- };
380
- };
381
- grantCodes: {
382
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
383
- type: "customer_grant_code";
384
- code: string;
385
- customer_id: string;
386
- expires_at: string;
387
- hosted_url?: string;
388
- }>;
389
- };
390
- };
391
372
  block: {
392
373
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
393
374
  id: string;
@@ -519,7 +500,6 @@ export declare function createAgent(transport: Transport): {
519
500
  run_id: string | null;
520
501
  message_id?: string;
521
502
  } | {
522
- full_access_available?: boolean;
523
503
  id: string;
524
504
  input: Types.AgentManaged197;
525
505
  mcp_server_name: string;
@@ -529,6 +509,18 @@ export declare function createAgent(transport: Transport): {
529
509
  evaluated_permission?: "allow" | "deny" | "ask";
530
510
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
531
511
  session_thread_id?: null | string;
512
+ permission_suggestions?: Array<{
513
+ type: "add_rules";
514
+ behavior: "allow";
515
+ destination: "agent" | "session";
516
+ rules: Array<{
517
+ tool_name: string;
518
+ rule_content: string;
519
+ }>;
520
+ }>;
521
+ full_access_available?: boolean;
522
+ user_once?: true;
523
+ guarded_rule?: string;
532
524
  run_id: string | null;
533
525
  _meta?: {
534
526
  ui?: {
@@ -542,17 +534,6 @@ export declare function createAgent(transport: Transport): {
542
534
  };
543
535
  source?: "app" | "codemode";
544
536
  parent_tool_use_id?: string;
545
- user_once?: true;
546
- guarded_rule?: string;
547
- permission_suggestions?: Array<{
548
- type: "add_rules";
549
- behavior: "allow";
550
- destination: "agent" | "session";
551
- rules: Array<{
552
- tool_name: string;
553
- rule_content: string;
554
- }>;
555
- }>;
556
537
  title?: string;
557
538
  input_titles?: {
558
539
  [key: string]: string;
@@ -571,7 +552,6 @@ export declare function createAgent(transport: Transport): {
571
552
  };
572
553
  source?: "app" | "codemode";
573
554
  } | {
574
- full_access_available?: boolean;
575
555
  id: string;
576
556
  input: Types.AgentManaged206;
577
557
  name: string;
@@ -580,9 +560,6 @@ export declare function createAgent(transport: Transport): {
580
560
  evaluated_permission?: "allow" | "deny" | "ask";
581
561
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
582
562
  session_thread_id?: null | string;
583
- run_id: string | null;
584
- user_once?: true;
585
- guarded_rule?: string;
586
563
  permission_suggestions?: Array<{
587
564
  type: "add_rules";
588
565
  behavior: "allow";
@@ -592,6 +569,10 @@ export declare function createAgent(transport: Transport): {
592
569
  rule_content: string;
593
570
  }>;
594
571
  }>;
572
+ full_access_available?: boolean;
573
+ user_once?: true;
574
+ guarded_rule?: string;
575
+ run_id: string | null;
595
576
  } | {
596
577
  id: string;
597
578
  processed_at: string;
@@ -612,9 +593,6 @@ export declare function createAgent(transport: Transport): {
612
593
  type: "session.status_idle";
613
594
  run_id: string | null;
614
595
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
615
- permission_mode_version?: number;
616
- previous_permission_mode?: string | null;
617
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
618
596
  id: string;
619
597
  processed_at: string;
620
598
  type: "session.updated";
@@ -622,6 +600,9 @@ export declare function createAgent(transport: Transport): {
622
600
  budget?: null | Types.AgentManaged76;
623
601
  metadata?: Types.AgentManaged246;
624
602
  title?: null | string;
603
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
604
+ previous_permission_mode?: string | null;
605
+ permission_mode_version?: number;
625
606
  model?: {
626
607
  id: string;
627
608
  };
@@ -680,21 +661,6 @@ export declare function createAgent(transport: Transport): {
680
661
  type: "user.steer";
681
662
  event_id: string;
682
663
  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
664
  }>;
699
665
  next_page: string | null;
700
666
  }>;
@@ -715,21 +681,6 @@ export declare function createAgent(transport: Transport): {
715
681
  type: "user.steer";
716
682
  event_id: string;
717
683
  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
684
  }>;
734
685
  }>;
735
686
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -763,6 +714,7 @@ export declare function createAgent(transport: Transport): {
763
714
  speed?: "standard" | "fast";
764
715
  settings?: {
765
716
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
717
+ max_output_tokens?: number;
766
718
  };
767
719
  };
768
720
  multiagent?: null | Types.AgentManaged39;
@@ -783,10 +735,12 @@ export declare function createAgent(transport: Transport): {
783
735
  id: string;
784
736
  } | null;
785
737
  note: string | null;
738
+ deployments_behind: number | null;
786
739
  bindings: Array<{
787
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
740
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
788
741
  id: string;
789
742
  access: "read_only" | "read_write" | "invoke";
743
+ customer_access?: "read_only" | "read_write" | "invoke";
790
744
  instructions?: string;
791
745
  readonly verified?: boolean;
792
746
  enabled?: boolean;
@@ -796,6 +750,13 @@ export declare function createAgent(transport: Transport): {
796
750
  enabled?: boolean;
797
751
  }>;
798
752
  kind: "general" | "service" | "assume";
753
+ computers?: {
754
+ default: string;
755
+ allowed: Array<{
756
+ template: string;
757
+ name: string;
758
+ }>;
759
+ };
799
760
  computer_id?: string;
800
761
  subagent_model?: string | null;
801
762
  subagents?: Array<{
@@ -888,6 +849,7 @@ export declare function createAgent(transport: Transport): {
888
849
  allowManagedHooksOnly?: boolean;
889
850
  allowManagedMcpServersOnly?: boolean;
890
851
  allowManagedPermissionRulesOnly?: boolean;
852
+ idleCompaction?: boolean;
891
853
  autoMemoryEnabled?: boolean;
892
854
  disabled?: {
893
855
  subagents?: Array<string>;
@@ -896,7 +858,6 @@ export declare function createAgent(transport: Transport): {
896
858
  mcpServers?: Array<string>;
897
859
  hooks?: Array<string>;
898
860
  };
899
- idleCompaction?: boolean;
900
861
  outputStyle?: string;
901
862
  } | null;
902
863
  models?: {
@@ -904,6 +865,7 @@ export declare function createAgent(transport: Transport): {
904
865
  };
905
866
  avatar: string | null;
906
867
  creation_source: string | null;
868
+ managed_by: string | null;
907
869
  identity_number: string | null;
908
870
  environment_id?: string | null;
909
871
  vault_ids?: Array<string>;
@@ -917,6 +879,34 @@ export declare function createAgent(transport: Transport): {
917
879
  }>;
918
880
  next_page: string | null;
919
881
  }>;
882
+ phone: {
883
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
884
+ object: "agent_phone";
885
+ agent_id: string;
886
+ configured: boolean;
887
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
888
+ sku: string | null;
889
+ byod_device: string | null;
890
+ name: string | null;
891
+ sandbox_id: string | null;
892
+ lease_ends_at: string | null;
893
+ archived_at: string | null;
894
+ archive_error: string | null;
895
+ }>;
896
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
897
+ object: "agent_phone";
898
+ agent_id: string;
899
+ configured: boolean;
900
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
901
+ sku: string | null;
902
+ byod_device: string | null;
903
+ name: string | null;
904
+ sandbox_id: string | null;
905
+ lease_ends_at: string | null;
906
+ archived_at: string | null;
907
+ archive_error: string | null;
908
+ }>;
909
+ };
920
910
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
921
911
  id: string;
922
912
  archived_at: null | string;
@@ -931,6 +921,7 @@ export declare function createAgent(transport: Transport): {
931
921
  speed?: "standard" | "fast";
932
922
  settings?: {
933
923
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
924
+ max_output_tokens?: number;
934
925
  };
935
926
  };
936
927
  multiagent?: null | Types.AgentManaged39;
@@ -952,10 +943,12 @@ export declare function createAgent(transport: Transport): {
952
943
  id: string;
953
944
  } | null;
954
945
  note: string | null;
946
+ deployments_behind: number | null;
955
947
  bindings: Array<{
956
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
948
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
957
949
  id: string;
958
950
  access: "read_only" | "read_write" | "invoke";
951
+ customer_access?: "read_only" | "read_write" | "invoke";
959
952
  instructions?: string;
960
953
  readonly verified?: boolean;
961
954
  enabled?: boolean;
@@ -965,6 +958,13 @@ export declare function createAgent(transport: Transport): {
965
958
  enabled?: boolean;
966
959
  }>;
967
960
  kind: "general" | "service" | "assume";
961
+ computers?: {
962
+ default: string;
963
+ allowed: Array<{
964
+ template: string;
965
+ name: string;
966
+ }>;
967
+ };
968
968
  computer_id?: string;
969
969
  subagent_model?: string | null;
970
970
  subagents?: Array<{
@@ -1057,6 +1057,7 @@ export declare function createAgent(transport: Transport): {
1057
1057
  allowManagedHooksOnly?: boolean;
1058
1058
  allowManagedMcpServersOnly?: boolean;
1059
1059
  allowManagedPermissionRulesOnly?: boolean;
1060
+ idleCompaction?: boolean;
1060
1061
  autoMemoryEnabled?: boolean;
1061
1062
  disabled?: {
1062
1063
  subagents?: Array<string>;
@@ -1065,7 +1066,6 @@ export declare function createAgent(transport: Transport): {
1065
1066
  mcpServers?: Array<string>;
1066
1067
  hooks?: Array<string>;
1067
1068
  };
1068
- idleCompaction?: boolean;
1069
1069
  outputStyle?: string;
1070
1070
  } | null;
1071
1071
  models?: {
@@ -1073,6 +1073,7 @@ export declare function createAgent(transport: Transport): {
1073
1073
  };
1074
1074
  avatar: string | null;
1075
1075
  creation_source: string | null;
1076
+ managed_by: string | null;
1076
1077
  identity_number: string | null;
1077
1078
  environment_id?: string | null;
1078
1079
  vault_ids?: Array<string>;
@@ -1141,6 +1142,26 @@ export declare function createAgent(transport: Transport): {
1141
1142
  history?: {
1142
1143
  enabled?: boolean;
1143
1144
  };
1145
+ uploads?: {
1146
+ enabled: boolean;
1147
+ max_file_bytes: number;
1148
+ max_files_per_session: number;
1149
+ };
1150
+ }>;
1151
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1152
+ allowed_origins: Array<string>;
1153
+ allow_localhost: boolean;
1154
+ uploads: {
1155
+ enabled: boolean;
1156
+ max_file_bytes: number;
1157
+ max_files_per_session: number;
1158
+ };
1159
+ share_links: {
1160
+ enabled: boolean;
1161
+ daily_session_cap: number | null;
1162
+ daily_spend_cap_micro_usd: number | null;
1163
+ currency?: "USD" | "CNY" | null;
1164
+ };
1144
1165
  }>;
1145
1166
  unarchive: {
1146
1167
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1194,6 +1215,7 @@ export declare function createAgent(transport: Transport): {
1194
1215
  speed?: "standard" | "fast";
1195
1216
  settings?: {
1196
1217
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1218
+ max_output_tokens?: number;
1197
1219
  };
1198
1220
  };
1199
1221
  multiagent?: null | {
@@ -1380,10 +1402,12 @@ export declare function createAgent(transport: Transport): {
1380
1402
  id: string;
1381
1403
  } | null;
1382
1404
  note: string | null;
1405
+ deployments_behind: number | null;
1383
1406
  bindings: Array<{
1384
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1407
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1385
1408
  id: string;
1386
1409
  access: "read_only" | "read_write" | "invoke";
1410
+ customer_access?: "read_only" | "read_write" | "invoke";
1387
1411
  instructions?: string;
1388
1412
  readonly verified?: boolean;
1389
1413
  enabled?: boolean;
@@ -1393,6 +1417,13 @@ export declare function createAgent(transport: Transport): {
1393
1417
  enabled?: boolean;
1394
1418
  }>;
1395
1419
  kind: "general" | "service" | "assume";
1420
+ computers?: {
1421
+ default: string;
1422
+ allowed: Array<{
1423
+ template: string;
1424
+ name: string;
1425
+ }>;
1426
+ };
1396
1427
  computer_id?: string;
1397
1428
  subagent_model?: string | null;
1398
1429
  subagents?: Array<{
@@ -1485,6 +1516,7 @@ export declare function createAgent(transport: Transport): {
1485
1516
  allowManagedHooksOnly?: boolean;
1486
1517
  allowManagedMcpServersOnly?: boolean;
1487
1518
  allowManagedPermissionRulesOnly?: boolean;
1519
+ idleCompaction?: boolean;
1488
1520
  autoMemoryEnabled?: boolean;
1489
1521
  disabled?: {
1490
1522
  subagents?: Array<string>;
@@ -1493,7 +1525,6 @@ export declare function createAgent(transport: Transport): {
1493
1525
  mcpServers?: Array<string>;
1494
1526
  hooks?: Array<string>;
1495
1527
  };
1496
- idleCompaction?: boolean;
1497
1528
  outputStyle?: string;
1498
1529
  } | null;
1499
1530
  models?: {
@@ -1501,6 +1532,7 @@ export declare function createAgent(transport: Transport): {
1501
1532
  };
1502
1533
  avatar: string | null;
1503
1534
  creation_source: string | null;
1535
+ managed_by: string | null;
1504
1536
  identity_number: string | null;
1505
1537
  environment_id?: string | null;
1506
1538
  vault_ids?: Array<string>;
@@ -1527,6 +1559,7 @@ export declare function createAgent(transport: Transport): {
1527
1559
  speed?: "standard" | "fast";
1528
1560
  settings?: {
1529
1561
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1562
+ max_output_tokens?: number;
1530
1563
  };
1531
1564
  };
1532
1565
  multiagent?: null | Types.AgentManaged39;
@@ -1548,10 +1581,12 @@ export declare function createAgent(transport: Transport): {
1548
1581
  id: string;
1549
1582
  } | null;
1550
1583
  note: string | null;
1584
+ deployments_behind: number | null;
1551
1585
  bindings: Array<{
1552
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1586
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1553
1587
  id: string;
1554
1588
  access: "read_only" | "read_write" | "invoke";
1589
+ customer_access?: "read_only" | "read_write" | "invoke";
1555
1590
  instructions?: string;
1556
1591
  readonly verified?: boolean;
1557
1592
  enabled?: boolean;
@@ -1561,6 +1596,13 @@ export declare function createAgent(transport: Transport): {
1561
1596
  enabled?: boolean;
1562
1597
  }>;
1563
1598
  kind: "general" | "service" | "assume";
1599
+ computers?: {
1600
+ default: string;
1601
+ allowed: Array<{
1602
+ template: string;
1603
+ name: string;
1604
+ }>;
1605
+ };
1564
1606
  computer_id?: string;
1565
1607
  subagent_model?: string | null;
1566
1608
  subagents?: Array<{
@@ -1653,6 +1695,7 @@ export declare function createAgent(transport: Transport): {
1653
1695
  allowManagedHooksOnly?: boolean;
1654
1696
  allowManagedMcpServersOnly?: boolean;
1655
1697
  allowManagedPermissionRulesOnly?: boolean;
1698
+ idleCompaction?: boolean;
1656
1699
  autoMemoryEnabled?: boolean;
1657
1700
  disabled?: {
1658
1701
  subagents?: Array<string>;
@@ -1661,7 +1704,6 @@ export declare function createAgent(transport: Transport): {
1661
1704
  mcpServers?: Array<string>;
1662
1705
  hooks?: Array<string>;
1663
1706
  };
1664
- idleCompaction?: boolean;
1665
1707
  outputStyle?: string;
1666
1708
  } | null;
1667
1709
  models?: {
@@ -1669,6 +1711,7 @@ export declare function createAgent(transport: Transport): {
1669
1711
  };
1670
1712
  avatar: string | null;
1671
1713
  creation_source: string | null;
1714
+ managed_by: string | null;
1672
1715
  identity_number: string | null;
1673
1716
  environment_id?: string | null;
1674
1717
  vault_ids?: Array<string>;
@@ -1680,114 +1723,341 @@ export declare function createAgent(transport: Transport): {
1680
1723
  keep_coding_instructions?: boolean;
1681
1724
  }> | null;
1682
1725
  }>;
1726
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1727
+ allowed_origins: Array<string>;
1728
+ allow_localhost: boolean;
1729
+ uploads: {
1730
+ enabled: boolean;
1731
+ max_file_bytes: number;
1732
+ max_files_per_session: number;
1733
+ };
1734
+ share_links: {
1735
+ enabled: boolean;
1736
+ daily_session_cap: number | null;
1737
+ daily_spend_cap_micro_usd: number | null;
1738
+ currency?: "USD" | "CNY" | null;
1739
+ };
1740
+ }>;
1683
1741
  versions: {
1684
1742
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1685
1743
  id: string;
1686
1744
  archived_at: null | string;
1687
1745
  created_at: string;
1688
1746
  description: null | string;
1689
- mcp_servers: Array<Types.AgentManaged36>;
1690
- metadata: Types.AgentManaged37;
1747
+ mcp_servers: Array<{
1748
+ type: "url";
1749
+ name: string;
1750
+ url: string;
1751
+ headers?: {
1752
+ [key: string]: string;
1753
+ };
1754
+ timeout_ms?: number;
1755
+ } | {
1756
+ type: "sse";
1757
+ name: string;
1758
+ url: string;
1759
+ headers?: {
1760
+ [key: string]: string;
1761
+ };
1762
+ timeout_ms?: number;
1763
+ } | {
1764
+ type: "stdio";
1765
+ name: string;
1766
+ command: string;
1767
+ args?: Array<string>;
1768
+ env?: {
1769
+ [key: string]: string;
1770
+ };
1771
+ timeout_ms?: number;
1772
+ }>;
1773
+ metadata: {
1774
+ [key: string]: string;
1775
+ };
1691
1776
  model?: {
1692
1777
  id: string;
1693
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1778
+ effort?: {
1779
+ type: "low";
1780
+ } | {
1781
+ type: "medium";
1782
+ } | {
1783
+ type: "high";
1784
+ } | {
1785
+ type: "xhigh";
1786
+ } | {
1787
+ type: "max";
1788
+ };
1694
1789
  inference_geo?: string;
1695
1790
  speed?: "standard" | "fast";
1696
1791
  settings?: {
1697
1792
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1793
+ max_output_tokens?: number;
1698
1794
  };
1699
1795
  };
1700
- multiagent?: null | Types.AgentManaged39;
1796
+ multiagent?: null | {
1797
+ agents: Array<{
1798
+ id: string;
1799
+ type: "agent";
1800
+ version: number;
1801
+ } | {
1802
+ model: string;
1803
+ type: "advisor";
1804
+ }>;
1805
+ type: "coordinator";
1806
+ };
1701
1807
  name: string;
1702
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1703
- system: null | string;
1704
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1705
- type: "agent";
1706
- updated_at: string;
1707
- version: number;
1708
- latest_version?: number;
1709
- active_version: number;
1710
- created_by: {
1711
- type: "user";
1712
- id: string;
1713
- name?: string;
1714
- } | {
1715
- type: "api_key";
1716
- id: string;
1717
- } | null;
1718
- note: string | null;
1719
- bindings: Array<{
1720
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1721
- id: string;
1722
- access: "read_only" | "read_write" | "invoke";
1723
- instructions?: string;
1724
- readonly verified?: boolean;
1725
- enabled?: boolean;
1808
+ skills: Array<{
1809
+ skill_id: string;
1810
+ type: "anthropic";
1811
+ version: string;
1726
1812
  } | {
1727
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1728
- readonly verified?: boolean;
1729
- enabled?: boolean;
1813
+ skill_id: string;
1814
+ type: "custom";
1815
+ version: string;
1730
1816
  }>;
1731
- kind: "general" | "service" | "assume";
1732
- computer_id?: string;
1733
- subagent_model?: string | null;
1734
- subagents?: Array<{
1735
- name: string;
1736
- description: string;
1737
- prompt: string;
1738
- tools?: Array<string>;
1739
- disallowed_tools?: Array<string>;
1740
- model?: string;
1741
- }> | null;
1742
- commands?: Array<{
1743
- name: string;
1744
- description?: string;
1745
- argument_hint?: string;
1746
- prompt: string;
1747
- }> | null;
1748
- settings?: {
1749
- hooks?: {
1750
- SessionStart?: Array<{
1751
- matcher?: string;
1752
- hooks: Array<{
1753
- type: "command";
1754
- command: string;
1755
- timeout?: number;
1756
- async?: boolean;
1757
- enabled?: boolean;
1758
- }>;
1759
- }>;
1760
- UserPromptSubmit?: Array<{
1761
- matcher?: string;
1762
- hooks: Array<{
1763
- type: "command";
1764
- command: string;
1765
- timeout?: number;
1766
- async?: boolean;
1767
- enabled?: boolean;
1768
- }>;
1769
- }>;
1770
- PreToolUse?: Array<{
1771
- matcher?: string;
1772
- hooks: Array<{
1773
- type: "command";
1774
- command: string;
1775
- timeout?: number;
1776
- async?: boolean;
1777
- enabled?: boolean;
1778
- }>;
1779
- }>;
1780
- PermissionRequest?: Array<{
1781
- matcher?: string;
1782
- hooks: Array<{
1783
- type: "command";
1784
- command: string;
1785
- timeout?: number;
1786
- async?: boolean;
1787
- enabled?: boolean;
1788
- }>;
1789
- }>;
1790
- PostToolUse?: Array<{
1817
+ system: null | string;
1818
+ tools: Array<{
1819
+ configs: Array<{
1820
+ enabled: boolean;
1821
+ name: "bash";
1822
+ permission_policy: {
1823
+ type: "always_allow";
1824
+ } | {
1825
+ type: "always_ask";
1826
+ } | {
1827
+ type: "auto";
1828
+ };
1829
+ type: "bash";
1830
+ } | {
1831
+ enabled: boolean;
1832
+ name: "edit";
1833
+ permission_policy: {
1834
+ type: "always_allow";
1835
+ } | {
1836
+ type: "always_ask";
1837
+ } | {
1838
+ type: "auto";
1839
+ };
1840
+ type: "edit";
1841
+ } | {
1842
+ enabled: boolean;
1843
+ name: "read";
1844
+ permission_policy: {
1845
+ type: "always_allow";
1846
+ } | {
1847
+ type: "always_ask";
1848
+ } | {
1849
+ type: "auto";
1850
+ };
1851
+ type: "read";
1852
+ } | {
1853
+ enabled: boolean;
1854
+ name: "write";
1855
+ permission_policy: {
1856
+ type: "always_allow";
1857
+ } | {
1858
+ type: "always_ask";
1859
+ } | {
1860
+ type: "auto";
1861
+ };
1862
+ type: "write";
1863
+ } | {
1864
+ enabled: boolean;
1865
+ name: "glob";
1866
+ permission_policy: {
1867
+ type: "always_allow";
1868
+ } | {
1869
+ type: "always_ask";
1870
+ } | {
1871
+ type: "auto";
1872
+ };
1873
+ type: "glob";
1874
+ } | {
1875
+ enabled: boolean;
1876
+ name: "grep";
1877
+ permission_policy: {
1878
+ type: "always_allow";
1879
+ } | {
1880
+ type: "always_ask";
1881
+ } | {
1882
+ type: "auto";
1883
+ };
1884
+ type: "grep";
1885
+ } | {
1886
+ enabled: boolean;
1887
+ name: "web_fetch";
1888
+ permission_policy: {
1889
+ type: "always_allow";
1890
+ } | {
1891
+ type: "always_ask";
1892
+ } | {
1893
+ type: "auto";
1894
+ };
1895
+ type: "web_fetch";
1896
+ allowed_domains?: Array<string>;
1897
+ blocked_domains?: Array<string>;
1898
+ max_content_tokens?: null | number;
1899
+ } | {
1900
+ enabled: boolean;
1901
+ name: "web_search";
1902
+ permission_policy: {
1903
+ type: "always_allow";
1904
+ } | {
1905
+ type: "always_ask";
1906
+ } | {
1907
+ type: "auto";
1908
+ };
1909
+ type: "web_search";
1910
+ allowed_domains?: Array<string>;
1911
+ blocked_domains?: Array<string>;
1912
+ user_location?: null | {
1913
+ type: "approximate";
1914
+ city?: null | string;
1915
+ country?: null | string;
1916
+ region?: null | string;
1917
+ timezone?: null | string;
1918
+ };
1919
+ } | {
1920
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1921
+ enabled: boolean;
1922
+ permission_policy: {
1923
+ type: "always_allow" | "always_ask";
1924
+ };
1925
+ }>;
1926
+ default_config: {
1927
+ enabled: boolean;
1928
+ permission_policy: {
1929
+ type: "always_allow";
1930
+ } | {
1931
+ type: "always_ask";
1932
+ } | {
1933
+ type: "auto";
1934
+ };
1935
+ };
1936
+ type: "agent_toolset_20260401";
1937
+ } | {
1938
+ type: "mcp_toolset";
1939
+ mcp_server_name: string;
1940
+ default_config?: {
1941
+ enabled?: boolean | null;
1942
+ permission_policy?: null | {
1943
+ type: "always_allow" | "always_ask";
1944
+ };
1945
+ } | null;
1946
+ configs?: Array<{
1947
+ name: string;
1948
+ enabled?: boolean | null;
1949
+ permission_policy?: null | {
1950
+ type: "always_allow" | "always_ask";
1951
+ };
1952
+ }> | null;
1953
+ } | {
1954
+ description: string;
1955
+ input_schema: {
1956
+ type: "object";
1957
+ properties?: null | {
1958
+ [key: string]: unknown;
1959
+ };
1960
+ required?: null | Array<string>;
1961
+ [key: string]: unknown;
1962
+ };
1963
+ name: string;
1964
+ type: "custom";
1965
+ }>;
1966
+ type: "agent";
1967
+ updated_at: string;
1968
+ version: number;
1969
+ latest_version?: number;
1970
+ active_version: number;
1971
+ created_by: {
1972
+ type: "user";
1973
+ id: string;
1974
+ name?: string;
1975
+ } | {
1976
+ type: "api_key";
1977
+ id: string;
1978
+ } | null;
1979
+ note: string | null;
1980
+ deployments_behind: number | null;
1981
+ bindings: Array<{
1982
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1983
+ id: string;
1984
+ access: "read_only" | "read_write" | "invoke";
1985
+ customer_access?: "read_only" | "read_write" | "invoke";
1986
+ instructions?: string;
1987
+ readonly verified?: boolean;
1988
+ enabled?: boolean;
1989
+ } | {
1990
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1991
+ readonly verified?: boolean;
1992
+ enabled?: boolean;
1993
+ }>;
1994
+ kind: "general" | "service" | "assume";
1995
+ computers?: {
1996
+ default: string;
1997
+ allowed: Array<{
1998
+ template: string;
1999
+ name: string;
2000
+ }>;
2001
+ };
2002
+ computer_id?: string;
2003
+ subagent_model?: string | null;
2004
+ subagents?: Array<{
2005
+ name: string;
2006
+ description: string;
2007
+ prompt: string;
2008
+ tools?: Array<string>;
2009
+ disallowed_tools?: Array<string>;
2010
+ model?: string;
2011
+ }> | null;
2012
+ commands?: Array<{
2013
+ name: string;
2014
+ description?: string;
2015
+ argument_hint?: string;
2016
+ prompt: string;
2017
+ }> | null;
2018
+ settings?: {
2019
+ hooks?: {
2020
+ SessionStart?: Array<{
2021
+ matcher?: string;
2022
+ hooks: Array<{
2023
+ type: "command";
2024
+ command: string;
2025
+ timeout?: number;
2026
+ async?: boolean;
2027
+ enabled?: boolean;
2028
+ }>;
2029
+ }>;
2030
+ UserPromptSubmit?: Array<{
2031
+ matcher?: string;
2032
+ hooks: Array<{
2033
+ type: "command";
2034
+ command: string;
2035
+ timeout?: number;
2036
+ async?: boolean;
2037
+ enabled?: boolean;
2038
+ }>;
2039
+ }>;
2040
+ PreToolUse?: Array<{
2041
+ matcher?: string;
2042
+ hooks: Array<{
2043
+ type: "command";
2044
+ command: string;
2045
+ timeout?: number;
2046
+ async?: boolean;
2047
+ enabled?: boolean;
2048
+ }>;
2049
+ }>;
2050
+ PermissionRequest?: Array<{
2051
+ matcher?: string;
2052
+ hooks: Array<{
2053
+ type: "command";
2054
+ command: string;
2055
+ timeout?: number;
2056
+ async?: boolean;
2057
+ enabled?: boolean;
2058
+ }>;
2059
+ }>;
2060
+ PostToolUse?: Array<{
1791
2061
  matcher?: string;
1792
2062
  hooks: Array<{
1793
2063
  type: "command";
@@ -1821,6 +2091,7 @@ export declare function createAgent(transport: Transport): {
1821
2091
  allowManagedHooksOnly?: boolean;
1822
2092
  allowManagedMcpServersOnly?: boolean;
1823
2093
  allowManagedPermissionRulesOnly?: boolean;
2094
+ idleCompaction?: boolean;
1824
2095
  autoMemoryEnabled?: boolean;
1825
2096
  disabled?: {
1826
2097
  subagents?: Array<string>;
@@ -1829,7 +2100,6 @@ export declare function createAgent(transport: Transport): {
1829
2100
  mcpServers?: Array<string>;
1830
2101
  hooks?: Array<string>;
1831
2102
  };
1832
- idleCompaction?: boolean;
1833
2103
  outputStyle?: string;
1834
2104
  } | null;
1835
2105
  models?: {
@@ -1837,6 +2107,7 @@ export declare function createAgent(transport: Transport): {
1837
2107
  };
1838
2108
  avatar: string | null;
1839
2109
  creation_source: string | null;
2110
+ managed_by: string | null;
1840
2111
  identity_number: string | null;
1841
2112
  environment_id?: string | null;
1842
2113
  vault_ids?: Array<string>;
@@ -1863,6 +2134,7 @@ export declare function createAgent(transport: Transport): {
1863
2134
  speed?: "standard" | "fast";
1864
2135
  settings?: {
1865
2136
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2137
+ max_output_tokens?: number;
1866
2138
  };
1867
2139
  };
1868
2140
  multiagent?: null | Types.AgentManaged39;
@@ -1885,9 +2157,10 @@ export declare function createAgent(transport: Transport): {
1885
2157
  } | null;
1886
2158
  note: string | null;
1887
2159
  bindings: Array<{
1888
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2160
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1889
2161
  id: string;
1890
2162
  access: "read_only" | "read_write" | "invoke";
2163
+ customer_access?: "read_only" | "read_write" | "invoke";
1891
2164
  instructions?: string;
1892
2165
  readonly verified?: boolean;
1893
2166
  enabled?: boolean;
@@ -1897,6 +2170,13 @@ export declare function createAgent(transport: Transport): {
1897
2170
  enabled?: boolean;
1898
2171
  }>;
1899
2172
  kind: "general" | "service" | "assume";
2173
+ computers?: {
2174
+ default: string;
2175
+ allowed: Array<{
2176
+ template: string;
2177
+ name: string;
2178
+ }>;
2179
+ };
1900
2180
  computer_id?: string;
1901
2181
  subagent_model?: string | null;
1902
2182
  subagents?: Array<{
@@ -1989,6 +2269,7 @@ export declare function createAgent(transport: Transport): {
1989
2269
  allowManagedHooksOnly?: boolean;
1990
2270
  allowManagedMcpServersOnly?: boolean;
1991
2271
  allowManagedPermissionRulesOnly?: boolean;
2272
+ idleCompaction?: boolean;
1992
2273
  autoMemoryEnabled?: boolean;
1993
2274
  disabled?: {
1994
2275
  subagents?: Array<string>;
@@ -1997,7 +2278,6 @@ export declare function createAgent(transport: Transport): {
1997
2278
  mcpServers?: Array<string>;
1998
2279
  hooks?: Array<string>;
1999
2280
  };
2000
- idleCompaction?: boolean;
2001
2281
  outputStyle?: string;
2002
2282
  } | null;
2003
2283
  models?: {
@@ -2005,6 +2285,7 @@ export declare function createAgent(transport: Transport): {
2005
2285
  };
2006
2286
  avatar: string | null;
2007
2287
  creation_source: string | null;
2288
+ managed_by: string | null;
2008
2289
  identity_number: string | null;
2009
2290
  environment_id?: string | null;
2010
2291
  vault_ids?: Array<string>;
@@ -2092,6 +2373,24 @@ export declare function createAgent(transport: Transport): {
2092
2373
  tier: "light" | "heavy";
2093
2374
  }>;
2094
2375
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2376
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2377
+ variant: "image" | "pdf" | "text" | "original";
2378
+ version?: string;
2379
+ mime_type?: string;
2380
+ size?: number;
2381
+ file_id?: string;
2382
+ url?: string;
2383
+ expires_at?: string;
2384
+ cached: boolean;
2385
+ fallback?: "content";
2386
+ skipped?: boolean;
2387
+ }>;
2388
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2389
+ path: string;
2390
+ size: number;
2391
+ mtime: string | null;
2392
+ version: string;
2393
+ }>;
2095
2394
  };
2096
2395
  leases: {
2097
2396
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2165,6 +2464,8 @@ export declare function createAgent(transport: Transport): {
2165
2464
  id: string;
2166
2465
  type: "agent";
2167
2466
  version: number;
2467
+ pinned_version?: number | null;
2468
+ active_version?: number | null;
2168
2469
  } | {
2169
2470
  id: string;
2170
2471
  type: "agent_with_overrides";
@@ -2202,6 +2503,8 @@ export declare function createAgent(transport: Transport): {
2202
2503
  id: string;
2203
2504
  type: "agent";
2204
2505
  version: number;
2506
+ pinned_version?: number | null;
2507
+ active_version?: number | null;
2205
2508
  } | {
2206
2509
  id: string;
2207
2510
  type: "agent_with_overrides";
@@ -2240,6 +2543,8 @@ export declare function createAgent(transport: Transport): {
2240
2543
  id: string;
2241
2544
  type: "agent";
2242
2545
  version: number;
2546
+ pinned_version?: number | null;
2547
+ active_version?: number | null;
2243
2548
  } | {
2244
2549
  id: string;
2245
2550
  type: "agent_with_overrides";
@@ -2279,6 +2584,8 @@ export declare function createAgent(transport: Transport): {
2279
2584
  id: string;
2280
2585
  type: "agent";
2281
2586
  version: number;
2587
+ pinned_version?: number | null;
2588
+ active_version?: number | null;
2282
2589
  } | {
2283
2590
  id: string;
2284
2591
  type: "agent_with_overrides";
@@ -2316,6 +2623,8 @@ export declare function createAgent(transport: Transport): {
2316
2623
  id: string;
2317
2624
  type: "agent";
2318
2625
  version: number;
2626
+ pinned_version?: number | null;
2627
+ active_version?: number | null;
2319
2628
  } | {
2320
2629
  id: string;
2321
2630
  type: "agent_with_overrides";
@@ -2357,6 +2666,8 @@ export declare function createAgent(transport: Transport): {
2357
2666
  id: string;
2358
2667
  type: "agent";
2359
2668
  version: number;
2669
+ pinned_version?: number | null;
2670
+ active_version?: number | null;
2360
2671
  } | {
2361
2672
  id: string;
2362
2673
  type: "agent_with_overrides";
@@ -2369,75 +2680,614 @@ export declare function createAgent(transport: Transport): {
2369
2680
  };
2370
2681
  version: number;
2371
2682
  };
2372
- archived_at: null | string;
2373
- created_at: string;
2374
- description: null | string;
2375
- environment_id?: string | null;
2376
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2377
- metadata: Types.AgentManaged91;
2378
- name: string;
2379
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2380
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2381
- schedule: null | Types.AgentManaged111;
2382
- status: "active" | "paused";
2383
- type: "deployment";
2683
+ archived_at: null | string;
2684
+ created_at: string;
2685
+ description: null | string;
2686
+ environment_id?: string | null;
2687
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2688
+ metadata: Types.AgentManaged91;
2689
+ name: string;
2690
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2691
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2692
+ schedule: null | Types.AgentManaged111;
2693
+ status: "active" | "paused";
2694
+ type: "deployment";
2695
+ updated_at: string;
2696
+ vault_ids: Array<string>;
2697
+ budget?: null | Types.AgentManaged76;
2698
+ target: {
2699
+ type: "environment" | "computer";
2700
+ };
2701
+ }>;
2702
+ };
2703
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2704
+ id: string;
2705
+ agent: {
2706
+ id: string;
2707
+ type: "agent";
2708
+ version: number;
2709
+ pinned_version?: number | null;
2710
+ active_version?: number | null;
2711
+ } | {
2712
+ id: string;
2713
+ type: "agent_with_overrides";
2714
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2715
+ cwd?: string;
2716
+ model?: string | {
2717
+ id: string;
2718
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2719
+ speed?: null | "standard" | "fast";
2720
+ };
2721
+ version: number;
2722
+ };
2723
+ archived_at: null | string;
2724
+ created_at: string;
2725
+ description: null | string;
2726
+ environment_id?: string | null;
2727
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2728
+ metadata: Types.AgentManaged91;
2729
+ name: string;
2730
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2731
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2732
+ schedule: null | Types.AgentManaged111;
2733
+ status: "active" | "paused";
2734
+ type: "deployment";
2735
+ updated_at: string;
2736
+ vault_ids: Array<string>;
2737
+ budget?: null | Types.AgentManaged76;
2738
+ target: {
2739
+ type: "environment" | "computer";
2740
+ };
2741
+ }>;
2742
+ };
2743
+ environments: {
2744
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2745
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2746
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2747
+ data: Array<Types.AgentManaged138>;
2748
+ next_page: string | null;
2749
+ }>;
2750
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2751
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2752
+ };
2753
+ sessions: {
2754
+ agentVersion: {
2755
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2756
+ id: string;
2757
+ agent: {
2758
+ id: string;
2759
+ description: null | string;
2760
+ mcp_servers: Array<{
2761
+ type: "url";
2762
+ name: string;
2763
+ url: string;
2764
+ headers?: {
2765
+ [key: string]: string;
2766
+ };
2767
+ timeout_ms?: number;
2768
+ } | {
2769
+ type: "sse";
2770
+ name: string;
2771
+ url: string;
2772
+ headers?: {
2773
+ [key: string]: string;
2774
+ };
2775
+ timeout_ms?: number;
2776
+ } | {
2777
+ type: "stdio";
2778
+ name: string;
2779
+ command: string;
2780
+ args?: Array<string>;
2781
+ env?: {
2782
+ [key: string]: string;
2783
+ };
2784
+ timeout_ms?: number;
2785
+ }>;
2786
+ model: {
2787
+ id: string;
2788
+ effort?: {
2789
+ type: "low";
2790
+ } | {
2791
+ type: "medium";
2792
+ } | {
2793
+ type: "high";
2794
+ } | {
2795
+ type: "xhigh";
2796
+ } | {
2797
+ type: "max";
2798
+ };
2799
+ inference_geo?: string;
2800
+ speed?: "standard" | "fast";
2801
+ settings?: {
2802
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2803
+ max_output_tokens?: number;
2804
+ };
2805
+ };
2806
+ multiagent: null | {
2807
+ agents: Array<{
2808
+ model: string;
2809
+ type: "advisor";
2810
+ } | {
2811
+ id: string;
2812
+ description: null | string;
2813
+ mcp_servers: Array<{
2814
+ type: "url";
2815
+ name: string;
2816
+ url: string;
2817
+ headers?: {
2818
+ [key: string]: string;
2819
+ };
2820
+ timeout_ms?: number;
2821
+ } | {
2822
+ type: "sse";
2823
+ name: string;
2824
+ url: string;
2825
+ headers?: {
2826
+ [key: string]: string;
2827
+ };
2828
+ timeout_ms?: number;
2829
+ } | {
2830
+ type: "stdio";
2831
+ name: string;
2832
+ command: string;
2833
+ args?: Array<string>;
2834
+ env?: {
2835
+ [key: string]: string;
2836
+ };
2837
+ timeout_ms?: number;
2838
+ }>;
2839
+ model: {
2840
+ id: string;
2841
+ effort?: {
2842
+ type: "low";
2843
+ } | {
2844
+ type: "medium";
2845
+ } | {
2846
+ type: "high";
2847
+ } | {
2848
+ type: "xhigh";
2849
+ } | {
2850
+ type: "max";
2851
+ };
2852
+ inference_geo?: string;
2853
+ speed?: "standard" | "fast";
2854
+ };
2855
+ name: string;
2856
+ skills: Array<{
2857
+ skill_id: string;
2858
+ type: "anthropic";
2859
+ version: string;
2860
+ } | {
2861
+ skill_id: string;
2862
+ type: "custom";
2863
+ version: string;
2864
+ }>;
2865
+ system: null | string;
2866
+ tools: Array<{
2867
+ configs: Array<{
2868
+ enabled: boolean;
2869
+ name: "bash";
2870
+ permission_policy: {
2871
+ type: "always_allow";
2872
+ } | {
2873
+ type: "always_ask";
2874
+ } | {
2875
+ type: "auto";
2876
+ };
2877
+ type: "bash";
2878
+ } | {
2879
+ enabled: boolean;
2880
+ name: "edit";
2881
+ permission_policy: {
2882
+ type: "always_allow";
2883
+ } | {
2884
+ type: "always_ask";
2885
+ } | {
2886
+ type: "auto";
2887
+ };
2888
+ type: "edit";
2889
+ } | {
2890
+ enabled: boolean;
2891
+ name: "read";
2892
+ permission_policy: {
2893
+ type: "always_allow";
2894
+ } | {
2895
+ type: "always_ask";
2896
+ } | {
2897
+ type: "auto";
2898
+ };
2899
+ type: "read";
2900
+ } | {
2901
+ enabled: boolean;
2902
+ name: "write";
2903
+ permission_policy: {
2904
+ type: "always_allow";
2905
+ } | {
2906
+ type: "always_ask";
2907
+ } | {
2908
+ type: "auto";
2909
+ };
2910
+ type: "write";
2911
+ } | {
2912
+ enabled: boolean;
2913
+ name: "glob";
2914
+ permission_policy: {
2915
+ type: "always_allow";
2916
+ } | {
2917
+ type: "always_ask";
2918
+ } | {
2919
+ type: "auto";
2920
+ };
2921
+ type: "glob";
2922
+ } | {
2923
+ enabled: boolean;
2924
+ name: "grep";
2925
+ permission_policy: {
2926
+ type: "always_allow";
2927
+ } | {
2928
+ type: "always_ask";
2929
+ } | {
2930
+ type: "auto";
2931
+ };
2932
+ type: "grep";
2933
+ } | {
2934
+ enabled: boolean;
2935
+ name: "web_fetch";
2936
+ permission_policy: {
2937
+ type: "always_allow";
2938
+ } | {
2939
+ type: "always_ask";
2940
+ } | {
2941
+ type: "auto";
2942
+ };
2943
+ type: "web_fetch";
2944
+ allowed_domains?: Array<string>;
2945
+ blocked_domains?: Array<string>;
2946
+ max_content_tokens?: null | number;
2947
+ } | {
2948
+ enabled: boolean;
2949
+ name: "web_search";
2950
+ permission_policy: {
2951
+ type: "always_allow";
2952
+ } | {
2953
+ type: "always_ask";
2954
+ } | {
2955
+ type: "auto";
2956
+ };
2957
+ type: "web_search";
2958
+ allowed_domains?: Array<string>;
2959
+ blocked_domains?: Array<string>;
2960
+ user_location?: null | {
2961
+ type: "approximate";
2962
+ city?: null | string;
2963
+ country?: null | string;
2964
+ region?: null | string;
2965
+ timezone?: null | string;
2966
+ };
2967
+ } | {
2968
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2969
+ enabled: boolean;
2970
+ permission_policy: {
2971
+ type: "always_allow" | "always_ask";
2972
+ };
2973
+ }>;
2974
+ default_config: {
2975
+ enabled: boolean;
2976
+ permission_policy: {
2977
+ type: "always_allow";
2978
+ } | {
2979
+ type: "always_ask";
2980
+ } | {
2981
+ type: "auto";
2982
+ };
2983
+ };
2984
+ type: "agent_toolset_20260401";
2985
+ } | {
2986
+ type: "mcp_toolset";
2987
+ mcp_server_name: string;
2988
+ default_config?: {
2989
+ enabled?: boolean | null;
2990
+ permission_policy?: null | {
2991
+ type: "always_allow" | "always_ask";
2992
+ };
2993
+ } | null;
2994
+ configs?: Array<{
2995
+ name: string;
2996
+ enabled?: boolean | null;
2997
+ permission_policy?: null | {
2998
+ type: "always_allow" | "always_ask";
2999
+ };
3000
+ }> | null;
3001
+ } | {
3002
+ description: string;
3003
+ input_schema: {
3004
+ type: "object";
3005
+ properties?: null | {
3006
+ [key: string]: unknown;
3007
+ };
3008
+ required?: null | Array<string>;
3009
+ [key: string]: unknown;
3010
+ };
3011
+ name: string;
3012
+ type: "custom";
3013
+ }>;
3014
+ type: "agent";
3015
+ version: number;
3016
+ }>;
3017
+ type: "coordinator";
3018
+ };
3019
+ name: string;
3020
+ skills: Array<{
3021
+ skill_id: string;
3022
+ type: "anthropic";
3023
+ version: string;
3024
+ } | {
3025
+ skill_id: string;
3026
+ type: "custom";
3027
+ version: string;
3028
+ }>;
3029
+ system: null | string;
3030
+ tools: Array<{
3031
+ configs: Array<{
3032
+ enabled: boolean;
3033
+ name: "bash";
3034
+ permission_policy: {
3035
+ type: "always_allow";
3036
+ } | {
3037
+ type: "always_ask";
3038
+ } | {
3039
+ type: "auto";
3040
+ };
3041
+ type: "bash";
3042
+ } | {
3043
+ enabled: boolean;
3044
+ name: "edit";
3045
+ permission_policy: {
3046
+ type: "always_allow";
3047
+ } | {
3048
+ type: "always_ask";
3049
+ } | {
3050
+ type: "auto";
3051
+ };
3052
+ type: "edit";
3053
+ } | {
3054
+ enabled: boolean;
3055
+ name: "read";
3056
+ permission_policy: {
3057
+ type: "always_allow";
3058
+ } | {
3059
+ type: "always_ask";
3060
+ } | {
3061
+ type: "auto";
3062
+ };
3063
+ type: "read";
3064
+ } | {
3065
+ enabled: boolean;
3066
+ name: "write";
3067
+ permission_policy: {
3068
+ type: "always_allow";
3069
+ } | {
3070
+ type: "always_ask";
3071
+ } | {
3072
+ type: "auto";
3073
+ };
3074
+ type: "write";
3075
+ } | {
3076
+ enabled: boolean;
3077
+ name: "glob";
3078
+ permission_policy: {
3079
+ type: "always_allow";
3080
+ } | {
3081
+ type: "always_ask";
3082
+ } | {
3083
+ type: "auto";
3084
+ };
3085
+ type: "glob";
3086
+ } | {
3087
+ enabled: boolean;
3088
+ name: "grep";
3089
+ permission_policy: {
3090
+ type: "always_allow";
3091
+ } | {
3092
+ type: "always_ask";
3093
+ } | {
3094
+ type: "auto";
3095
+ };
3096
+ type: "grep";
3097
+ } | {
3098
+ enabled: boolean;
3099
+ name: "web_fetch";
3100
+ permission_policy: {
3101
+ type: "always_allow";
3102
+ } | {
3103
+ type: "always_ask";
3104
+ } | {
3105
+ type: "auto";
3106
+ };
3107
+ type: "web_fetch";
3108
+ allowed_domains?: Array<string>;
3109
+ blocked_domains?: Array<string>;
3110
+ max_content_tokens?: null | number;
3111
+ } | {
3112
+ enabled: boolean;
3113
+ name: "web_search";
3114
+ permission_policy: {
3115
+ type: "always_allow";
3116
+ } | {
3117
+ type: "always_ask";
3118
+ } | {
3119
+ type: "auto";
3120
+ };
3121
+ type: "web_search";
3122
+ allowed_domains?: Array<string>;
3123
+ blocked_domains?: Array<string>;
3124
+ user_location?: null | {
3125
+ type: "approximate";
3126
+ city?: null | string;
3127
+ country?: null | string;
3128
+ region?: null | string;
3129
+ timezone?: null | string;
3130
+ };
3131
+ } | {
3132
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3133
+ enabled: boolean;
3134
+ permission_policy: {
3135
+ type: "always_allow" | "always_ask";
3136
+ };
3137
+ }>;
3138
+ default_config: {
3139
+ enabled: boolean;
3140
+ permission_policy: {
3141
+ type: "always_allow";
3142
+ } | {
3143
+ type: "always_ask";
3144
+ } | {
3145
+ type: "auto";
3146
+ };
3147
+ };
3148
+ type: "agent_toolset_20260401";
3149
+ } | {
3150
+ type: "mcp_toolset";
3151
+ mcp_server_name: string;
3152
+ default_config?: {
3153
+ enabled?: boolean | null;
3154
+ permission_policy?: null | {
3155
+ type: "always_allow" | "always_ask";
3156
+ };
3157
+ } | null;
3158
+ configs?: Array<{
3159
+ name: string;
3160
+ enabled?: boolean | null;
3161
+ permission_policy?: null | {
3162
+ type: "always_allow" | "always_ask";
3163
+ };
3164
+ }> | null;
3165
+ } | {
3166
+ description: string;
3167
+ input_schema: {
3168
+ type: "object";
3169
+ properties?: null | {
3170
+ [key: string]: unknown;
3171
+ };
3172
+ required?: null | Array<string>;
3173
+ [key: string]: unknown;
3174
+ };
3175
+ name: string;
3176
+ type: "custom";
3177
+ }>;
3178
+ type: "agent";
3179
+ version: number;
3180
+ };
3181
+ archived_at: null | string;
3182
+ budget: null | {
3183
+ max_list_cost: {
3184
+ amount: string;
3185
+ currency: "USD";
3186
+ };
3187
+ type: "limit";
3188
+ };
3189
+ created_at: string;
3190
+ environment_id?: string;
3191
+ metadata: {
3192
+ [key: string]: string;
3193
+ };
3194
+ outcome_evaluations: Array<{
3195
+ completed_at: null | string;
3196
+ description: string;
3197
+ explanation: null | string;
3198
+ iteration: number;
3199
+ outcome_id: string;
3200
+ result: string;
3201
+ type: "outcome_evaluation";
3202
+ }>;
3203
+ resources: Array<{
3204
+ id: string;
3205
+ created_at: string;
3206
+ mount_path: string;
3207
+ type: "github_repository";
3208
+ updated_at: string;
3209
+ url: string;
3210
+ checkout?: null | {
3211
+ name: string;
3212
+ type: "branch";
3213
+ } | {
3214
+ sha: string;
3215
+ type: "commit";
3216
+ };
3217
+ } | {
3218
+ id: string;
3219
+ created_at: string;
3220
+ file_id: string;
3221
+ mount_path: string;
3222
+ type: "file";
3223
+ updated_at: string;
3224
+ } | {
3225
+ memory_store_id: string;
3226
+ type: "memory_store";
3227
+ access?: null | "read_write" | "read_only";
3228
+ description?: string;
3229
+ instructions?: null | string;
3230
+ mount_path?: null | string;
3231
+ name?: null | string;
3232
+ }>;
3233
+ stats: {
3234
+ active_seconds?: number;
3235
+ duration_seconds?: number;
3236
+ };
3237
+ status: "rescheduling" | "running" | "idle" | "terminated";
3238
+ title: null | string;
3239
+ type: "session";
2384
3240
  updated_at: string;
3241
+ usage: {
3242
+ active_seconds?: number;
3243
+ cache_creation?: {
3244
+ ephemeral_1h_input_tokens?: number;
3245
+ ephemeral_5m_input_tokens?: number;
3246
+ };
3247
+ cache_read_input_tokens?: number;
3248
+ input_tokens?: number;
3249
+ list_cost?: null | {
3250
+ amount: string;
3251
+ currency: "USD";
3252
+ };
3253
+ output_tokens?: number;
3254
+ server_tool_use?: null | {
3255
+ web_fetch_requests?: number;
3256
+ web_search_requests?: number;
3257
+ };
3258
+ cost_by_product?: {
3259
+ [key: string]: string;
3260
+ };
3261
+ subagent_cost_micro_usd?: number;
3262
+ };
2385
3263
  vault_ids: Array<string>;
2386
- budget?: null | Types.AgentManaged76;
2387
- target: {
2388
- type: "environment" | "computer";
3264
+ deployment_id?: null | string;
3265
+ cwd: string;
3266
+ workspace?: {
3267
+ kind: "shared" | "isolated";
3268
+ path?: string;
3269
+ branch?: string;
2389
3270
  };
2390
- }>;
2391
- };
2392
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2393
- id: string;
2394
- agent: {
2395
- id: string;
2396
- type: "agent";
2397
- version: number;
2398
- } | {
2399
- id: string;
2400
- type: "agent_with_overrides";
2401
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2402
- cwd?: string;
2403
- model?: string | {
3271
+ computer_id?: string;
3272
+ model?: {
2404
3273
  id: string;
2405
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2406
- speed?: null | "standard" | "fast";
3274
+ thinking: {
3275
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3276
+ can_disable: boolean;
3277
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3278
+ } | null;
2407
3279
  };
2408
- version: number;
2409
- };
2410
- archived_at: null | string;
2411
- created_at: string;
2412
- description: null | string;
2413
- environment_id?: string | null;
2414
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2415
- metadata: Types.AgentManaged91;
2416
- name: string;
2417
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2418
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2419
- schedule: null | Types.AgentManaged111;
2420
- status: "active" | "paused";
2421
- type: "deployment";
2422
- updated_at: string;
2423
- vault_ids: Array<string>;
2424
- budget?: null | Types.AgentManaged76;
2425
- target: {
2426
- type: "environment" | "computer";
2427
- };
2428
- }>;
2429
- };
2430
- environments: {
2431
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2432
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2433
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2434
- data: Array<Types.AgentManaged138>;
2435
- next_page: string | null;
2436
- }>;
2437
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2438
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2439
- };
2440
- sessions: {
3280
+ thinking?: {
3281
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3282
+ } | null;
3283
+ forked_from?: {
3284
+ session_id: string;
3285
+ message_id: string;
3286
+ } | null;
3287
+ readonly external_user_id: string | null;
3288
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3289
+ }>;
3290
+ };
2441
3291
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2442
3292
  id: string;
2443
3293
  agent: {
@@ -2451,6 +3301,7 @@ export declare function createAgent(transport: Transport): {
2451
3301
  speed?: "standard" | "fast";
2452
3302
  settings?: {
2453
3303
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3304
+ max_output_tokens?: number;
2454
3305
  };
2455
3306
  };
2456
3307
  multiagent: null | Types.AgentManaged171;
@@ -2477,6 +3328,11 @@ export declare function createAgent(transport: Transport): {
2477
3328
  vault_ids: Array<string>;
2478
3329
  deployment_id?: null | string;
2479
3330
  cwd: string;
3331
+ workspace?: {
3332
+ kind: "shared" | "isolated";
3333
+ path?: string;
3334
+ branch?: string;
3335
+ };
2480
3336
  computer_id?: string;
2481
3337
  model?: {
2482
3338
  id: string;
@@ -2612,6 +3468,7 @@ export declare function createAgent(transport: Transport): {
2612
3468
  speed?: "standard" | "fast";
2613
3469
  settings?: {
2614
3470
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3471
+ max_output_tokens?: number;
2615
3472
  };
2616
3473
  };
2617
3474
  multiagent: null | Types.AgentManaged171;
@@ -2638,6 +3495,11 @@ export declare function createAgent(transport: Transport): {
2638
3495
  vault_ids: Array<string>;
2639
3496
  deployment_id?: null | string;
2640
3497
  cwd: string;
3498
+ workspace?: {
3499
+ kind: "shared" | "isolated";
3500
+ path?: string;
3501
+ branch?: string;
3502
+ };
2641
3503
  computer_id?: string;
2642
3504
  model?: {
2643
3505
  id: string;
@@ -2658,6 +3520,13 @@ export declare function createAgent(transport: Transport): {
2658
3520
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2659
3521
  }>;
2660
3522
  delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
3523
+ dictations: {
3524
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
3525
+ id: string;
3526
+ push_url: string;
3527
+ expires_at: string;
3528
+ }>;
3529
+ };
2661
3530
  events: {
2662
3531
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
2663
3532
  data: Array<{
@@ -2698,7 +3567,6 @@ export declare function createAgent(transport: Transport): {
2698
3567
  run_id: string | null;
2699
3568
  message_id?: string;
2700
3569
  } | {
2701
- full_access_available?: boolean;
2702
3570
  id: string;
2703
3571
  input: Types.AgentManaged197;
2704
3572
  mcp_server_name: string;
@@ -2708,6 +3576,18 @@ export declare function createAgent(transport: Transport): {
2708
3576
  evaluated_permission?: "allow" | "deny" | "ask";
2709
3577
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2710
3578
  session_thread_id?: null | string;
3579
+ permission_suggestions?: Array<{
3580
+ type: "add_rules";
3581
+ behavior: "allow";
3582
+ destination: "agent" | "session";
3583
+ rules: Array<{
3584
+ tool_name: string;
3585
+ rule_content: string;
3586
+ }>;
3587
+ }>;
3588
+ full_access_available?: boolean;
3589
+ user_once?: true;
3590
+ guarded_rule?: string;
2711
3591
  run_id: string | null;
2712
3592
  _meta?: {
2713
3593
  ui?: {
@@ -2721,17 +3601,6 @@ export declare function createAgent(transport: Transport): {
2721
3601
  };
2722
3602
  source?: "app" | "codemode";
2723
3603
  parent_tool_use_id?: string;
2724
- user_once?: true;
2725
- guarded_rule?: string;
2726
- permission_suggestions?: Array<{
2727
- type: "add_rules";
2728
- behavior: "allow";
2729
- destination: "agent" | "session";
2730
- rules: Array<{
2731
- tool_name: string;
2732
- rule_content: string;
2733
- }>;
2734
- }>;
2735
3604
  title?: string;
2736
3605
  input_titles?: {
2737
3606
  [key: string]: string;
@@ -2750,7 +3619,6 @@ export declare function createAgent(transport: Transport): {
2750
3619
  };
2751
3620
  source?: "app" | "codemode";
2752
3621
  } | {
2753
- full_access_available?: boolean;
2754
3622
  id: string;
2755
3623
  input: Types.AgentManaged206;
2756
3624
  name: string;
@@ -2759,9 +3627,6 @@ export declare function createAgent(transport: Transport): {
2759
3627
  evaluated_permission?: "allow" | "deny" | "ask";
2760
3628
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2761
3629
  session_thread_id?: null | string;
2762
- run_id: string | null;
2763
- user_once?: true;
2764
- guarded_rule?: string;
2765
3630
  permission_suggestions?: Array<{
2766
3631
  type: "add_rules";
2767
3632
  behavior: "allow";
@@ -2771,6 +3636,10 @@ export declare function createAgent(transport: Transport): {
2771
3636
  rule_content: string;
2772
3637
  }>;
2773
3638
  }>;
3639
+ full_access_available?: boolean;
3640
+ user_once?: true;
3641
+ guarded_rule?: string;
3642
+ run_id: string | null;
2774
3643
  } | {
2775
3644
  id: string;
2776
3645
  processed_at: string;
@@ -2791,9 +3660,6 @@ export declare function createAgent(transport: Transport): {
2791
3660
  type: "session.status_idle";
2792
3661
  run_id: string | null;
2793
3662
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2794
- permission_mode_version?: number;
2795
- previous_permission_mode?: string | null;
2796
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2797
3663
  id: string;
2798
3664
  processed_at: string;
2799
3665
  type: "session.updated";
@@ -2801,6 +3667,9 @@ export declare function createAgent(transport: Transport): {
2801
3667
  budget?: null | Types.AgentManaged76;
2802
3668
  metadata?: Types.AgentManaged246;
2803
3669
  title?: null | string;
3670
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3671
+ previous_permission_mode?: string | null;
3672
+ permission_mode_version?: number;
2804
3673
  model?: {
2805
3674
  id: string;
2806
3675
  };
@@ -2859,21 +3728,6 @@ export declare function createAgent(transport: Transport): {
2859
3728
  type: "user.steer";
2860
3729
  event_id: string;
2861
3730
  processed_at: string;
2862
- } | {
2863
- id: string;
2864
- type: "user.tool_confirmation";
2865
- processed_at: string;
2866
- tool_use_id: string;
2867
- result: "allow";
2868
- answers: {
2869
- [key: string]: string;
2870
- };
2871
- annotations?: {
2872
- [key: string]: {
2873
- preview?: string;
2874
- notes?: string;
2875
- };
2876
- };
2877
3731
  }>;
2878
3732
  next_page: string | null;
2879
3733
  }>;
@@ -2894,21 +3748,6 @@ export declare function createAgent(transport: Transport): {
2894
3748
  type: "user.steer";
2895
3749
  event_id: string;
2896
3750
  processed_at: string;
2897
- } | {
2898
- id: string;
2899
- type: "user.tool_confirmation";
2900
- processed_at: string;
2901
- tool_use_id: string;
2902
- result: "allow";
2903
- answers: {
2904
- [key: string]: string;
2905
- };
2906
- annotations?: {
2907
- [key: string]: {
2908
- preview?: string;
2909
- notes?: string;
2910
- };
2911
- };
2912
3751
  }>;
2913
3752
  }>;
2914
3753
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2961,6 +3800,7 @@ export declare function createAgent(transport: Transport): {
2961
3800
  speed?: "standard" | "fast";
2962
3801
  settings?: {
2963
3802
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3803
+ max_output_tokens?: number;
2964
3804
  };
2965
3805
  };
2966
3806
  multiagent: null | {
@@ -3423,6 +4263,11 @@ export declare function createAgent(transport: Transport): {
3423
4263
  vault_ids: Array<string>;
3424
4264
  deployment_id?: null | string;
3425
4265
  cwd: string;
4266
+ workspace?: {
4267
+ kind: "shared" | "isolated";
4268
+ path?: string;
4269
+ branch?: string;
4270
+ };
3426
4271
  computer_id?: string;
3427
4272
  model?: {
3428
4273
  id: string;
@@ -3456,32 +4301,576 @@ export declare function createAgent(transport: Transport): {
3456
4301
  speed?: "standard" | "fast";
3457
4302
  settings?: {
3458
4303
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4304
+ max_output_tokens?: number;
4305
+ };
4306
+ };
4307
+ multiagent: null | Types.AgentManaged171;
4308
+ name: string;
4309
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4310
+ system: null | string;
4311
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4312
+ type: "agent";
4313
+ version: number;
4314
+ };
4315
+ archived_at: null | string;
4316
+ budget: null | Types.AgentManaged76;
4317
+ created_at: string;
4318
+ environment_id?: string;
4319
+ metadata: Types.AgentManaged173;
4320
+ outcome_evaluations: Array<Types.AgentManaged174>;
4321
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4322
+ stats: Types.AgentManaged178;
4323
+ status: "rescheduling" | "running" | "idle" | "terminated";
4324
+ title: null | string;
4325
+ type: "session";
4326
+ updated_at: string;
4327
+ usage: Types.AgentManaged179;
4328
+ vault_ids: Array<string>;
4329
+ deployment_id?: null | string;
4330
+ cwd: string;
4331
+ workspace?: {
4332
+ kind: "shared" | "isolated";
4333
+ path?: string;
4334
+ branch?: string;
4335
+ };
4336
+ computer_id?: string;
4337
+ model?: {
4338
+ id: string;
4339
+ thinking: {
4340
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4341
+ can_disable: boolean;
4342
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4343
+ } | null;
4344
+ };
4345
+ thinking?: {
4346
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4347
+ } | null;
4348
+ forked_from?: {
4349
+ session_id: string;
4350
+ message_id: string;
4351
+ } | null;
4352
+ readonly external_user_id: string | null;
4353
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4354
+ }>;
4355
+ next_page: string | null;
4356
+ }>;
4357
+ name: {
4358
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4359
+ id: string;
4360
+ agent: {
4361
+ id: string;
4362
+ description: null | string;
4363
+ mcp_servers: Array<{
4364
+ type: "url";
4365
+ name: string;
4366
+ url: string;
4367
+ headers?: {
4368
+ [key: string]: string;
4369
+ };
4370
+ timeout_ms?: number;
4371
+ } | {
4372
+ type: "sse";
4373
+ name: string;
4374
+ url: string;
4375
+ headers?: {
4376
+ [key: string]: string;
4377
+ };
4378
+ timeout_ms?: number;
4379
+ } | {
4380
+ type: "stdio";
4381
+ name: string;
4382
+ command: string;
4383
+ args?: Array<string>;
4384
+ env?: {
4385
+ [key: string]: string;
4386
+ };
4387
+ timeout_ms?: number;
4388
+ }>;
4389
+ model: {
4390
+ id: string;
4391
+ effort?: {
4392
+ type: "low";
4393
+ } | {
4394
+ type: "medium";
4395
+ } | {
4396
+ type: "high";
4397
+ } | {
4398
+ type: "xhigh";
4399
+ } | {
4400
+ type: "max";
4401
+ };
4402
+ inference_geo?: string;
4403
+ speed?: "standard" | "fast";
4404
+ settings?: {
4405
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4406
+ max_output_tokens?: number;
3459
4407
  };
3460
4408
  };
3461
- multiagent: null | Types.AgentManaged171;
4409
+ multiagent: null | {
4410
+ agents: Array<{
4411
+ model: string;
4412
+ type: "advisor";
4413
+ } | {
4414
+ id: string;
4415
+ description: null | string;
4416
+ mcp_servers: Array<{
4417
+ type: "url";
4418
+ name: string;
4419
+ url: string;
4420
+ headers?: {
4421
+ [key: string]: string;
4422
+ };
4423
+ timeout_ms?: number;
4424
+ } | {
4425
+ type: "sse";
4426
+ name: string;
4427
+ url: string;
4428
+ headers?: {
4429
+ [key: string]: string;
4430
+ };
4431
+ timeout_ms?: number;
4432
+ } | {
4433
+ type: "stdio";
4434
+ name: string;
4435
+ command: string;
4436
+ args?: Array<string>;
4437
+ env?: {
4438
+ [key: string]: string;
4439
+ };
4440
+ timeout_ms?: number;
4441
+ }>;
4442
+ model: {
4443
+ id: string;
4444
+ effort?: {
4445
+ type: "low";
4446
+ } | {
4447
+ type: "medium";
4448
+ } | {
4449
+ type: "high";
4450
+ } | {
4451
+ type: "xhigh";
4452
+ } | {
4453
+ type: "max";
4454
+ };
4455
+ inference_geo?: string;
4456
+ speed?: "standard" | "fast";
4457
+ };
4458
+ name: string;
4459
+ skills: Array<{
4460
+ skill_id: string;
4461
+ type: "anthropic";
4462
+ version: string;
4463
+ } | {
4464
+ skill_id: string;
4465
+ type: "custom";
4466
+ version: string;
4467
+ }>;
4468
+ system: null | string;
4469
+ tools: Array<{
4470
+ configs: Array<{
4471
+ enabled: boolean;
4472
+ name: "bash";
4473
+ permission_policy: {
4474
+ type: "always_allow";
4475
+ } | {
4476
+ type: "always_ask";
4477
+ } | {
4478
+ type: "auto";
4479
+ };
4480
+ type: "bash";
4481
+ } | {
4482
+ enabled: boolean;
4483
+ name: "edit";
4484
+ permission_policy: {
4485
+ type: "always_allow";
4486
+ } | {
4487
+ type: "always_ask";
4488
+ } | {
4489
+ type: "auto";
4490
+ };
4491
+ type: "edit";
4492
+ } | {
4493
+ enabled: boolean;
4494
+ name: "read";
4495
+ permission_policy: {
4496
+ type: "always_allow";
4497
+ } | {
4498
+ type: "always_ask";
4499
+ } | {
4500
+ type: "auto";
4501
+ };
4502
+ type: "read";
4503
+ } | {
4504
+ enabled: boolean;
4505
+ name: "write";
4506
+ permission_policy: {
4507
+ type: "always_allow";
4508
+ } | {
4509
+ type: "always_ask";
4510
+ } | {
4511
+ type: "auto";
4512
+ };
4513
+ type: "write";
4514
+ } | {
4515
+ enabled: boolean;
4516
+ name: "glob";
4517
+ permission_policy: {
4518
+ type: "always_allow";
4519
+ } | {
4520
+ type: "always_ask";
4521
+ } | {
4522
+ type: "auto";
4523
+ };
4524
+ type: "glob";
4525
+ } | {
4526
+ enabled: boolean;
4527
+ name: "grep";
4528
+ permission_policy: {
4529
+ type: "always_allow";
4530
+ } | {
4531
+ type: "always_ask";
4532
+ } | {
4533
+ type: "auto";
4534
+ };
4535
+ type: "grep";
4536
+ } | {
4537
+ enabled: boolean;
4538
+ name: "web_fetch";
4539
+ permission_policy: {
4540
+ type: "always_allow";
4541
+ } | {
4542
+ type: "always_ask";
4543
+ } | {
4544
+ type: "auto";
4545
+ };
4546
+ type: "web_fetch";
4547
+ allowed_domains?: Array<string>;
4548
+ blocked_domains?: Array<string>;
4549
+ max_content_tokens?: null | number;
4550
+ } | {
4551
+ enabled: boolean;
4552
+ name: "web_search";
4553
+ permission_policy: {
4554
+ type: "always_allow";
4555
+ } | {
4556
+ type: "always_ask";
4557
+ } | {
4558
+ type: "auto";
4559
+ };
4560
+ type: "web_search";
4561
+ allowed_domains?: Array<string>;
4562
+ blocked_domains?: Array<string>;
4563
+ user_location?: null | {
4564
+ type: "approximate";
4565
+ city?: null | string;
4566
+ country?: null | string;
4567
+ region?: null | string;
4568
+ timezone?: null | string;
4569
+ };
4570
+ } | {
4571
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4572
+ enabled: boolean;
4573
+ permission_policy: {
4574
+ type: "always_allow" | "always_ask";
4575
+ };
4576
+ }>;
4577
+ default_config: {
4578
+ enabled: boolean;
4579
+ permission_policy: {
4580
+ type: "always_allow";
4581
+ } | {
4582
+ type: "always_ask";
4583
+ } | {
4584
+ type: "auto";
4585
+ };
4586
+ };
4587
+ type: "agent_toolset_20260401";
4588
+ } | {
4589
+ type: "mcp_toolset";
4590
+ mcp_server_name: string;
4591
+ default_config?: {
4592
+ enabled?: boolean | null;
4593
+ permission_policy?: null | {
4594
+ type: "always_allow" | "always_ask";
4595
+ };
4596
+ } | null;
4597
+ configs?: Array<{
4598
+ name: string;
4599
+ enabled?: boolean | null;
4600
+ permission_policy?: null | {
4601
+ type: "always_allow" | "always_ask";
4602
+ };
4603
+ }> | null;
4604
+ } | {
4605
+ description: string;
4606
+ input_schema: {
4607
+ type: "object";
4608
+ properties?: null | {
4609
+ [key: string]: unknown;
4610
+ };
4611
+ required?: null | Array<string>;
4612
+ [key: string]: unknown;
4613
+ };
4614
+ name: string;
4615
+ type: "custom";
4616
+ }>;
4617
+ type: "agent";
4618
+ version: number;
4619
+ }>;
4620
+ type: "coordinator";
4621
+ };
3462
4622
  name: string;
3463
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4623
+ skills: Array<{
4624
+ skill_id: string;
4625
+ type: "anthropic";
4626
+ version: string;
4627
+ } | {
4628
+ skill_id: string;
4629
+ type: "custom";
4630
+ version: string;
4631
+ }>;
3464
4632
  system: null | string;
3465
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4633
+ tools: Array<{
4634
+ configs: Array<{
4635
+ enabled: boolean;
4636
+ name: "bash";
4637
+ permission_policy: {
4638
+ type: "always_allow";
4639
+ } | {
4640
+ type: "always_ask";
4641
+ } | {
4642
+ type: "auto";
4643
+ };
4644
+ type: "bash";
4645
+ } | {
4646
+ enabled: boolean;
4647
+ name: "edit";
4648
+ permission_policy: {
4649
+ type: "always_allow";
4650
+ } | {
4651
+ type: "always_ask";
4652
+ } | {
4653
+ type: "auto";
4654
+ };
4655
+ type: "edit";
4656
+ } | {
4657
+ enabled: boolean;
4658
+ name: "read";
4659
+ permission_policy: {
4660
+ type: "always_allow";
4661
+ } | {
4662
+ type: "always_ask";
4663
+ } | {
4664
+ type: "auto";
4665
+ };
4666
+ type: "read";
4667
+ } | {
4668
+ enabled: boolean;
4669
+ name: "write";
4670
+ permission_policy: {
4671
+ type: "always_allow";
4672
+ } | {
4673
+ type: "always_ask";
4674
+ } | {
4675
+ type: "auto";
4676
+ };
4677
+ type: "write";
4678
+ } | {
4679
+ enabled: boolean;
4680
+ name: "glob";
4681
+ permission_policy: {
4682
+ type: "always_allow";
4683
+ } | {
4684
+ type: "always_ask";
4685
+ } | {
4686
+ type: "auto";
4687
+ };
4688
+ type: "glob";
4689
+ } | {
4690
+ enabled: boolean;
4691
+ name: "grep";
4692
+ permission_policy: {
4693
+ type: "always_allow";
4694
+ } | {
4695
+ type: "always_ask";
4696
+ } | {
4697
+ type: "auto";
4698
+ };
4699
+ type: "grep";
4700
+ } | {
4701
+ enabled: boolean;
4702
+ name: "web_fetch";
4703
+ permission_policy: {
4704
+ type: "always_allow";
4705
+ } | {
4706
+ type: "always_ask";
4707
+ } | {
4708
+ type: "auto";
4709
+ };
4710
+ type: "web_fetch";
4711
+ allowed_domains?: Array<string>;
4712
+ blocked_domains?: Array<string>;
4713
+ max_content_tokens?: null | number;
4714
+ } | {
4715
+ enabled: boolean;
4716
+ name: "web_search";
4717
+ permission_policy: {
4718
+ type: "always_allow";
4719
+ } | {
4720
+ type: "always_ask";
4721
+ } | {
4722
+ type: "auto";
4723
+ };
4724
+ type: "web_search";
4725
+ allowed_domains?: Array<string>;
4726
+ blocked_domains?: Array<string>;
4727
+ user_location?: null | {
4728
+ type: "approximate";
4729
+ city?: null | string;
4730
+ country?: null | string;
4731
+ region?: null | string;
4732
+ timezone?: null | string;
4733
+ };
4734
+ } | {
4735
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4736
+ enabled: boolean;
4737
+ permission_policy: {
4738
+ type: "always_allow" | "always_ask";
4739
+ };
4740
+ }>;
4741
+ default_config: {
4742
+ enabled: boolean;
4743
+ permission_policy: {
4744
+ type: "always_allow";
4745
+ } | {
4746
+ type: "always_ask";
4747
+ } | {
4748
+ type: "auto";
4749
+ };
4750
+ };
4751
+ type: "agent_toolset_20260401";
4752
+ } | {
4753
+ type: "mcp_toolset";
4754
+ mcp_server_name: string;
4755
+ default_config?: {
4756
+ enabled?: boolean | null;
4757
+ permission_policy?: null | {
4758
+ type: "always_allow" | "always_ask";
4759
+ };
4760
+ } | null;
4761
+ configs?: Array<{
4762
+ name: string;
4763
+ enabled?: boolean | null;
4764
+ permission_policy?: null | {
4765
+ type: "always_allow" | "always_ask";
4766
+ };
4767
+ }> | null;
4768
+ } | {
4769
+ description: string;
4770
+ input_schema: {
4771
+ type: "object";
4772
+ properties?: null | {
4773
+ [key: string]: unknown;
4774
+ };
4775
+ required?: null | Array<string>;
4776
+ [key: string]: unknown;
4777
+ };
4778
+ name: string;
4779
+ type: "custom";
4780
+ }>;
3466
4781
  type: "agent";
3467
4782
  version: number;
3468
4783
  };
3469
4784
  archived_at: null | string;
3470
- budget: null | Types.AgentManaged76;
4785
+ budget: null | {
4786
+ max_list_cost: {
4787
+ amount: string;
4788
+ currency: "USD";
4789
+ };
4790
+ type: "limit";
4791
+ };
3471
4792
  created_at: string;
3472
4793
  environment_id?: string;
3473
- metadata: Types.AgentManaged173;
3474
- outcome_evaluations: Array<Types.AgentManaged174>;
3475
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3476
- stats: Types.AgentManaged178;
4794
+ metadata: {
4795
+ [key: string]: string;
4796
+ };
4797
+ outcome_evaluations: Array<{
4798
+ completed_at: null | string;
4799
+ description: string;
4800
+ explanation: null | string;
4801
+ iteration: number;
4802
+ outcome_id: string;
4803
+ result: string;
4804
+ type: "outcome_evaluation";
4805
+ }>;
4806
+ resources: Array<{
4807
+ id: string;
4808
+ created_at: string;
4809
+ mount_path: string;
4810
+ type: "github_repository";
4811
+ updated_at: string;
4812
+ url: string;
4813
+ checkout?: null | {
4814
+ name: string;
4815
+ type: "branch";
4816
+ } | {
4817
+ sha: string;
4818
+ type: "commit";
4819
+ };
4820
+ } | {
4821
+ id: string;
4822
+ created_at: string;
4823
+ file_id: string;
4824
+ mount_path: string;
4825
+ type: "file";
4826
+ updated_at: string;
4827
+ } | {
4828
+ memory_store_id: string;
4829
+ type: "memory_store";
4830
+ access?: null | "read_write" | "read_only";
4831
+ description?: string;
4832
+ instructions?: null | string;
4833
+ mount_path?: null | string;
4834
+ name?: null | string;
4835
+ }>;
4836
+ stats: {
4837
+ active_seconds?: number;
4838
+ duration_seconds?: number;
4839
+ };
3477
4840
  status: "rescheduling" | "running" | "idle" | "terminated";
3478
4841
  title: null | string;
3479
4842
  type: "session";
3480
4843
  updated_at: string;
3481
- usage: Types.AgentManaged179;
4844
+ usage: {
4845
+ active_seconds?: number;
4846
+ cache_creation?: {
4847
+ ephemeral_1h_input_tokens?: number;
4848
+ ephemeral_5m_input_tokens?: number;
4849
+ };
4850
+ cache_read_input_tokens?: number;
4851
+ input_tokens?: number;
4852
+ list_cost?: null | {
4853
+ amount: string;
4854
+ currency: "USD";
4855
+ };
4856
+ output_tokens?: number;
4857
+ server_tool_use?: null | {
4858
+ web_fetch_requests?: number;
4859
+ web_search_requests?: number;
4860
+ };
4861
+ cost_by_product?: {
4862
+ [key: string]: string;
4863
+ };
4864
+ subagent_cost_micro_usd?: number;
4865
+ };
3482
4866
  vault_ids: Array<string>;
3483
4867
  deployment_id?: null | string;
3484
4868
  cwd: string;
4869
+ workspace?: {
4870
+ kind: "shared" | "isolated";
4871
+ path?: string;
4872
+ branch?: string;
4873
+ };
3485
4874
  computer_id?: string;
3486
4875
  model?: {
3487
4876
  id: string;
@@ -3501,8 +4890,7 @@ export declare function createAgent(transport: Transport): {
3501
4890
  readonly external_user_id: string | null;
3502
4891
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3503
4892
  }>;
3504
- next_page: string | null;
3505
- }>;
4893
+ };
3506
4894
  requests: {
3507
4895
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
3508
4896
  data: Array<{
@@ -3547,6 +4935,7 @@ export declare function createAgent(transport: Transport): {
3547
4935
  speed?: "standard" | "fast";
3548
4936
  settings?: {
3549
4937
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4938
+ max_output_tokens?: number;
3550
4939
  };
3551
4940
  };
3552
4941
  multiagent: null | Types.AgentManaged171;
@@ -3573,6 +4962,11 @@ export declare function createAgent(transport: Transport): {
3573
4962
  vault_ids: Array<string>;
3574
4963
  deployment_id?: null | string;
3575
4964
  cwd: string;
4965
+ workspace?: {
4966
+ kind: "shared" | "isolated";
4967
+ path?: string;
4968
+ branch?: string;
4969
+ };
3576
4970
  computer_id?: string;
3577
4971
  model?: {
3578
4972
  id: string;
@@ -3719,7 +5113,6 @@ export declare function createAgent(transport: Transport): {
3719
5113
  run_id: string | null;
3720
5114
  message_id?: string;
3721
5115
  } | {
3722
- full_access_available?: boolean;
3723
5116
  id: string;
3724
5117
  input: Types.AgentManaged197;
3725
5118
  mcp_server_name: string;
@@ -3729,6 +5122,18 @@ export declare function createAgent(transport: Transport): {
3729
5122
  evaluated_permission?: "allow" | "deny" | "ask";
3730
5123
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3731
5124
  session_thread_id?: null | string;
5125
+ permission_suggestions?: Array<{
5126
+ type: "add_rules";
5127
+ behavior: "allow";
5128
+ destination: "agent" | "session";
5129
+ rules: Array<{
5130
+ tool_name: string;
5131
+ rule_content: string;
5132
+ }>;
5133
+ }>;
5134
+ full_access_available?: boolean;
5135
+ user_once?: true;
5136
+ guarded_rule?: string;
3732
5137
  run_id: string | null;
3733
5138
  parent_tool_use_id?: string;
3734
5139
  _meta?: {
@@ -3742,17 +5147,6 @@ export declare function createAgent(transport: Transport): {
3742
5147
  };
3743
5148
  };
3744
5149
  source?: "app" | "codemode";
3745
- user_once?: true;
3746
- guarded_rule?: string;
3747
- permission_suggestions?: Array<{
3748
- type: "add_rules";
3749
- behavior: "allow";
3750
- destination: "agent" | "session";
3751
- rules: Array<{
3752
- tool_name: string;
3753
- rule_content: string;
3754
- }>;
3755
- }>;
3756
5150
  title?: string;
3757
5151
  input_titles?: {
3758
5152
  [key: string]: string;
@@ -3771,7 +5165,6 @@ export declare function createAgent(transport: Transport): {
3771
5165
  };
3772
5166
  source?: "app" | "codemode";
3773
5167
  } | {
3774
- full_access_available?: boolean;
3775
5168
  id: string;
3776
5169
  input: Types.AgentManaged206;
3777
5170
  name: string;
@@ -3780,9 +5173,6 @@ export declare function createAgent(transport: Transport): {
3780
5173
  evaluated_permission?: "allow" | "deny" | "ask";
3781
5174
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3782
5175
  session_thread_id?: null | string;
3783
- run_id: string | null;
3784
- user_once?: true;
3785
- guarded_rule?: string;
3786
5176
  permission_suggestions?: Array<{
3787
5177
  type: "add_rules";
3788
5178
  behavior: "allow";
@@ -3792,6 +5182,10 @@ export declare function createAgent(transport: Transport): {
3792
5182
  rule_content: string;
3793
5183
  }>;
3794
5184
  }>;
5185
+ full_access_available?: boolean;
5186
+ user_once?: true;
5187
+ guarded_rule?: string;
5188
+ run_id: string | null;
3795
5189
  } | {
3796
5190
  id: string;
3797
5191
  processed_at: string;
@@ -3812,9 +5206,6 @@ export declare function createAgent(transport: Transport): {
3812
5206
  type: "session.status_idle";
3813
5207
  run_id: string | null;
3814
5208
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3815
- permission_mode_version?: number;
3816
- previous_permission_mode?: string | null;
3817
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3818
5209
  id: string;
3819
5210
  processed_at: string;
3820
5211
  type: "session.updated";
@@ -3822,6 +5213,9 @@ export declare function createAgent(transport: Transport): {
3822
5213
  budget?: null | Types.AgentManaged76;
3823
5214
  metadata?: Types.AgentManaged246;
3824
5215
  title?: null | string;
5216
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5217
+ previous_permission_mode?: string | null;
5218
+ permission_mode_version?: number;
3825
5219
  model?: {
3826
5220
  id: string;
3827
5221
  };
@@ -3912,6 +5306,7 @@ export declare function createAgent(transport: Transport): {
3912
5306
  speed?: "standard" | "fast";
3913
5307
  settings?: {
3914
5308
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5309
+ max_output_tokens?: number;
3915
5310
  };
3916
5311
  };
3917
5312
  multiagent: null | Types.AgentManaged171;
@@ -3938,6 +5333,11 @@ export declare function createAgent(transport: Transport): {
3938
5333
  vault_ids: Array<string>;
3939
5334
  deployment_id?: null | string;
3940
5335
  cwd: string;
5336
+ workspace?: {
5337
+ kind: "shared" | "isolated";
5338
+ path?: string;
5339
+ branch?: string;
5340
+ };
3941
5341
  computer_id?: string;
3942
5342
  model?: {
3943
5343
  id: string;
@@ -4002,6 +5402,29 @@ export declare function createAgent(transport: Transport): {
4002
5402
  next_page: null;
4003
5403
  }>;
4004
5404
  };
5405
+ uploads: {
5406
+ contentUrl: {
5407
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5408
+ url: string;
5409
+ expires_at: string;
5410
+ }>;
5411
+ };
5412
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5413
+ upload_id: string;
5414
+ expires_at: string;
5415
+ url: string;
5416
+ } | {
5417
+ upload_id: string;
5418
+ expires_at: string;
5419
+ part_size: number;
5420
+ parts: Array<{
5421
+ part_number: number;
5422
+ url: string;
5423
+ }>;
5424
+ complete_url: string;
5425
+ status_url: string;
5426
+ }>;
5427
+ };
4005
5428
  };
4006
5429
  export declare function createApplication(transport: Transport): {
4007
5430
  assets: {
@@ -4266,6 +5689,11 @@ export declare function createAutomation(transport: Transport): {
4266
5689
  };
4267
5690
  };
4268
5691
  };
5692
+ export declare function createBilling(transport: Transport): {
5693
+ prices: {
5694
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5695
+ };
5696
+ };
4269
5697
  export declare function createBrowser(transport: Transport): {
4270
5698
  connect: {
4271
5699
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -4387,6 +5815,24 @@ export declare function createCanvas(transport: Transport): {
4387
5815
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4388
5816
  };
4389
5817
  };
5818
+ export declare function createContent(transport: Transport): {
5819
+ contents: {
5820
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5821
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5822
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5823
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5824
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5825
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5826
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5827
+ };
5828
+ playbackSessions: {
5829
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5830
+ };
5831
+ versions: {
5832
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5833
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5834
+ };
5835
+ };
4390
5836
  export declare function createCrm(transport: Transport): {
4391
5837
  associations: {
4392
5838
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4447,6 +5893,32 @@ export declare function createCrm(transport: Transport): {
4447
5893
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4448
5894
  };
4449
5895
  };
5896
+ export declare function createCustomer(transport: Transport): {
5897
+ accessTokens: {
5898
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5899
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5900
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5901
+ };
5902
+ customers: {
5903
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5904
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5905
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5906
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5907
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5908
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5909
+ };
5910
+ grantCodes: {
5911
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5912
+ };
5913
+ publishableKeys: {
5914
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5915
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5916
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5917
+ };
5918
+ usage: {
5919
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5920
+ };
5921
+ };
4450
5922
  export declare function createCut(transport: Transport): {
4451
5923
  exports: {
4452
5924
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4499,15 +5971,40 @@ export declare function createCut(transport: Transport): {
4499
5971
  };
4500
5972
  export declare function createDatabase(transport: Transport): {
4501
5973
  databases: {
5974
+ commands: {
5975
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
5976
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
5977
+ result: unknown;
5978
+ }>;
5979
+ };
5980
+ /** @deprecated use praxis.database.table.create for a table database or praxis.database.kv.create for a key-value database instead; this path stops working on 2027-03-01. */
4502
5981
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
5982
+ /** @deprecated use praxis.database.table.delete for a table database or praxis.database.kv.delete for a key-value database instead; this path stops working on 2027-03-01. */
4503
5983
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4504
5984
  events: {
5985
+ /** @deprecated use praxis.database.table.events.list for a table database or praxis.database.kv.events.list for a key-value database instead; this path stops working on 2027-03-01. */
4505
5986
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4506
5987
  data: Array<Types.DatabaseDatabaseEvent>;
4507
5988
  }>;
4508
5989
  };
5990
+ keys: {
5991
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
5992
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
5993
+ deleted: boolean;
5994
+ }>;
5995
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
5996
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
5997
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
5998
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
5999
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
6000
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
6001
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
6002
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
6003
+ };
6004
+ /** @deprecated use praxis.database.table.list for a table database or praxis.database.kv.list for a key-value database instead; this path stops working on 2027-03-01. */
4509
6005
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4510
6006
  purge: {
6007
+ /** @deprecated use praxis.database.table.purge.create for a table database or praxis.database.kv.purge.create for a key-value database instead; this path stops working on 2027-03-01. */
4511
6008
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4512
6009
  id: string;
4513
6010
  object: "database";
@@ -4515,37 +6012,132 @@ export declare function createDatabase(transport: Transport): {
4515
6012
  }>;
4516
6013
  };
4517
6014
  rest: {
6015
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
4518
6016
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6017
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
4519
6018
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6019
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
4520
6020
  head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
6021
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
4521
6022
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6023
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
4522
6024
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4523
6025
  };
6026
+ /** @deprecated use praxis.database.table.restore for a table database or praxis.database.kv.restore for a key-value database instead; this path stops working on 2027-03-01. */
4524
6027
  restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6028
+ /** @deprecated use praxis.database.table.retrieve for a table database or praxis.database.kv.retrieve for a key-value database instead; this path stops working on 2027-03-01. */
4525
6029
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
4526
6030
  tables: {
6031
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
4527
6032
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6033
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
4528
6034
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
4529
6035
  deleted: true;
4530
6036
  }>;
4531
6037
  fields: {
6038
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
4532
6039
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6040
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
4533
6041
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6042
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
4534
6043
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
4535
6044
  };
6045
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
4536
6046
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
4537
6047
  data: Array<Types.DatabaseTable>;
4538
6048
  }>;
6049
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
4539
6050
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6051
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
4540
6052
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
4541
6053
  };
6054
+ /** @deprecated use praxis.database.table.update for a table database or praxis.database.kv.update for a key-value database instead; this path stops working on 2027-03-01. */
4542
6055
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4543
6056
  };
6057
+ kv: {
6058
+ commands: {
6059
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6060
+ result: unknown;
6061
+ }>;
6062
+ };
6063
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6064
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6065
+ events: {
6066
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6067
+ data: Array<Types.DatabaseDatabaseEvent>;
6068
+ }>;
6069
+ };
6070
+ keys: {
6071
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6072
+ deleted: boolean;
6073
+ }>;
6074
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6075
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6076
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6077
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6078
+ };
6079
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6080
+ purge: {
6081
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6082
+ id: string;
6083
+ object: "database";
6084
+ purged: true;
6085
+ }>;
6086
+ };
6087
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6088
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6089
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6090
+ };
6091
+ table: {
6092
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6093
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6094
+ events: {
6095
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6096
+ data: Array<Types.DatabaseDatabaseEvent>;
6097
+ }>;
6098
+ };
6099
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6100
+ purge: {
6101
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6102
+ id: string;
6103
+ object: "database";
6104
+ purged: true;
6105
+ }>;
6106
+ };
6107
+ rest: {
6108
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6109
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6110
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6111
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6112
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6113
+ };
6114
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6115
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6116
+ tables: {
6117
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6118
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
6119
+ deleted: true;
6120
+ }>;
6121
+ fields: {
6122
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6123
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6124
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
6125
+ };
6126
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
6127
+ data: Array<Types.DatabaseTable>;
6128
+ }>;
6129
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6130
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6131
+ };
6132
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6133
+ };
4544
6134
  };
4545
6135
  export declare function createDevops(transport: Transport): {
4546
6136
  changes: {
4547
6137
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6138
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4548
6139
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6140
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4549
6141
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4550
6142
  };
4551
6143
  connections: {
@@ -4585,6 +6177,13 @@ export declare function createDevops(transport: Transport): {
4585
6177
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
4586
6178
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
4587
6179
  };
6180
+ cleanups: {
6181
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6182
+ };
6183
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6184
+ defaultBranch: {
6185
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6186
+ };
4588
6187
  environments: {
4589
6188
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4590
6189
  targets: {
@@ -4617,6 +6216,7 @@ export declare function createDevops(transport: Transport): {
4617
6216
  };
4618
6217
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4619
6218
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6219
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
4620
6220
  segments: {
4621
6221
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
4622
6222
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
@@ -4656,6 +6256,7 @@ export declare function createDevops(transport: Transport): {
4656
6256
  promotions: {
4657
6257
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4658
6258
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6259
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4659
6260
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4660
6261
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4661
6262
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4665,10 +6266,14 @@ export declare function createDevops(transport: Transport): {
4665
6266
  };
4666
6267
  };
4667
6268
  pullRequests: {
6269
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
4668
6270
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
4669
6271
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
4670
6272
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
4671
6273
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6274
+ reviews: {
6275
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6276
+ };
4672
6277
  };
4673
6278
  releases: {
4674
6279
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -4884,6 +6489,12 @@ export declare function createMedia(transport: Transport): {
4884
6489
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4885
6490
  };
4886
6491
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6492
+ voices: {
6493
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6494
+ designs: {
6495
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6496
+ };
6497
+ };
4887
6498
  };
4888
6499
  speech: {
4889
6500
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -5407,6 +7018,7 @@ export declare function createModel(transport: Transport): {
5407
7018
  unsigned_urls: Array<string>;
5408
7019
  usage?: {
5409
7020
  cost: number;
7021
+ billed_seconds?: number;
5410
7022
  };
5411
7023
  }>;
5412
7024
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5437,6 +7049,7 @@ export declare function createModel(transport: Transport): {
5437
7049
  unsigned_urls: Array<string>;
5438
7050
  usage?: {
5439
7051
  cost: number;
7052
+ billed_seconds?: number;
5440
7053
  };
5441
7054
  }>;
5442
7055
  has_more: boolean;
@@ -5465,6 +7078,7 @@ export declare function createModel(transport: Transport): {
5465
7078
  unsigned_urls: Array<string>;
5466
7079
  usage?: {
5467
7080
  cost: number;
7081
+ billed_seconds?: number;
5468
7082
  };
5469
7083
  }>;
5470
7084
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5493,32 +7107,15 @@ export declare function createOntology(transport: Transport): {
5493
7107
  retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
5494
7108
  };
5495
7109
  search: {
5496
- create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
5497
- };
5498
- types: {
5499
- create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
5500
- list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
5501
- retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
5502
- };
5503
- };
5504
- export declare function createOrganization(transport: Transport): {
5505
- actors: {
5506
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
5507
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
5508
- };
5509
- assignments: {
5510
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
5511
- makePrimary: {
5512
- create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5513
- };
5514
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5515
- terminate: {
5516
- create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5517
- };
5518
- transfer: {
5519
- create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5520
- };
7110
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
7111
+ };
7112
+ types: {
7113
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
7114
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
7115
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
5521
7116
  };
7117
+ };
7118
+ export declare function createOrganization(transport: Transport): {
5522
7119
  charges: {
5523
7120
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5524
7121
  ChargePeriodStart: string;
@@ -5560,16 +7157,6 @@ export declare function createOrganization(transport: Transport): {
5560
7157
  next_page: string | null;
5561
7158
  }>;
5562
7159
  };
5563
- departments: {
5564
- create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5565
- dissolve: {
5566
- create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5567
- };
5568
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
5569
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5570
- update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5571
- updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
5572
- };
5573
7160
  events: {
5574
7161
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5575
7162
  object: "page";
@@ -5772,27 +7359,6 @@ export declare function createOrganization(transport: Transport): {
5772
7359
  }>;
5773
7360
  }>;
5774
7361
  };
5775
- jobs: {
5776
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
5777
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
5778
- retire: {
5779
- create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
5780
- };
5781
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
5782
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
5783
- };
5784
- keyResults: {
5785
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5786
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
5787
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5788
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5789
- };
5790
- ladders: {
5791
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5792
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
5793
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5794
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5795
- };
5796
7362
  members: {
5797
7363
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5798
7364
  data: Array<{
@@ -5806,51 +7372,83 @@ export declare function createOrganization(transport: Transport): {
5806
7372
  next_page: string | null;
5807
7373
  }>;
5808
7374
  };
5809
- objectives: {
5810
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5811
- grade: {
5812
- create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5813
- };
5814
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
5815
- parents: {
5816
- update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5817
- };
5818
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5819
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5820
- };
5821
- periods: {
5822
- close: {
5823
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5824
- };
5825
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5826
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
5827
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5828
- };
5829
- positions: {
5830
- close: {
5831
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5832
- };
5833
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
5834
- designateHead: {
5835
- create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
5836
- };
5837
- freeze: {
5838
- create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7375
+ notifications: {
7376
+ deliveries: {
7377
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7378
+ [key: string]: unknown;
7379
+ }>;
5839
7380
  };
5840
- hire: {
5841
- create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7381
+ letters: {
7382
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7383
+ unread: number;
7384
+ }>;
7385
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7386
+ letters: Array<{
7387
+ id: string;
7388
+ sender: string;
7389
+ summary: string;
7390
+ body: string;
7391
+ thread: string;
7392
+ kind: "notice" | "mention" | "decision";
7393
+ source: {
7394
+ [key: string]: unknown;
7395
+ };
7396
+ read: boolean;
7397
+ deliveredAt: string;
7398
+ createTime: string;
7399
+ reason: string;
7400
+ archived: boolean;
7401
+ }>;
7402
+ nextCursor: string;
7403
+ unread: number;
7404
+ }>;
7405
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7406
+ unread: number;
7407
+ }>;
7408
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7409
+ unread: number;
7410
+ }>;
5842
7411
  };
5843
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
5844
- replaceHolder: {
5845
- create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7412
+ organizationDefault: {
7413
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7414
+ [key: string]: unknown;
7415
+ }>;
5846
7416
  };
5847
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5848
- unfreeze: {
5849
- create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7417
+ preferences: {
7418
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7419
+ [key: string]: unknown;
7420
+ }>;
7421
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7422
+ name: string;
7423
+ workflows: {
7424
+ [key: string]: unknown;
7425
+ };
7426
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7427
+ updateTime?: string;
7428
+ catalog: Array<{
7429
+ workflow: string;
7430
+ group: string;
7431
+ title: string;
7432
+ description?: string;
7433
+ severity: "high" | "medium" | "low" | "none";
7434
+ critical: boolean;
7435
+ channels: Array<string>;
7436
+ }>;
7437
+ organization: {
7438
+ [key: string]: unknown;
7439
+ };
7440
+ effective: {
7441
+ [key: string]: unknown;
7442
+ };
7443
+ }>;
5850
7444
  };
5851
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5852
- updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5853
- updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7445
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
7446
+ unreadCount: number;
7447
+ unseenCount: number;
7448
+ }>;
7449
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
7450
+ [key: string]: unknown;
7451
+ }>;
5854
7452
  };
5855
7453
  usage: {
5856
7454
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -5881,6 +7479,27 @@ export declare function createRegistry(transport: Transport): {
5881
7479
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
5882
7480
  };
5883
7481
  packages: {
7482
+ git: {
7483
+ commits: {
7484
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7485
+ };
7486
+ files: {
7487
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7488
+ };
7489
+ refs: {
7490
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7491
+ };
7492
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7493
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7494
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7495
+ trees: {
7496
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7497
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7498
+ };
7499
+ };
7500
+ gitCredential: {
7501
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7502
+ };
5884
7503
  installations: {
5885
7504
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
5886
7505
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -5912,12 +7531,105 @@ export declare function createRegistry(transport: Transport): {
5912
7531
  };
5913
7532
  };
5914
7533
  export declare function createSandbox(transport: Transport): {
7534
+ byod: {
7535
+ devices: {
7536
+ disconnect: {
7537
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7538
+ id: string;
7539
+ object: "byod_device";
7540
+ disconnected: true;
7541
+ }>;
7542
+ };
7543
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7544
+ data: Array<{
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
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7560
+ object: "byod_device";
7561
+ id: string;
7562
+ platform: "android" | "macos" | "linux";
7563
+ name: string;
7564
+ model: string;
7565
+ os_version: string;
7566
+ online: boolean;
7567
+ last_seen_at: string | null;
7568
+ created_at: string;
7569
+ capabilities: Array<"display" | "agent">;
7570
+ agent_dirs: Array<string>;
7571
+ allow_bypass: boolean;
7572
+ }>;
7573
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7574
+ object: "byod_device";
7575
+ id: string;
7576
+ platform: "android" | "macos" | "linux";
7577
+ name: string;
7578
+ model: string;
7579
+ os_version: string;
7580
+ online: boolean;
7581
+ last_seen_at: string | null;
7582
+ created_at: string;
7583
+ capabilities: Array<"display" | "agent">;
7584
+ agent_dirs: Array<string>;
7585
+ allow_bypass: boolean;
7586
+ }>;
7587
+ };
7588
+ pairings: {
7589
+ claim: {
7590
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7591
+ device_id: string;
7592
+ credential: string;
7593
+ socket_url: string;
7594
+ }>;
7595
+ };
7596
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7597
+ code: string;
7598
+ expires_at: string;
7599
+ qr: string;
7600
+ }>;
7601
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7602
+ organization_name: string;
7603
+ expires_at: string;
7604
+ }>;
7605
+ };
7606
+ };
5915
7607
  events: {
5916
7608
  sandboxes: {
5917
7609
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5918
7610
  };
5919
7611
  };
5920
7612
  sandboxes: {
7613
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7614
+ type: "snapshot";
7615
+ snapshot: string;
7616
+ refs: number;
7617
+ truncated: boolean;
7618
+ package: string;
7619
+ } | {
7620
+ type: "screenshot";
7621
+ mediaType: string;
7622
+ data: string;
7623
+ width: number;
7624
+ height: number;
7625
+ bytes: number;
7626
+ } | {
7627
+ type: "ok";
7628
+ ms?: number;
7629
+ } | {
7630
+ type: "wait";
7631
+ ms: number;
7632
+ }>;
5921
7633
  commands: {
5922
7634
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5923
7635
  stdout: string;
@@ -6442,13 +8154,138 @@ export declare function createVault(transport: Transport): {
6442
8154
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
6443
8155
  };
6444
8156
  };
8157
+ export declare function createWorkforce(transport: Transport): {
8158
+ actors: {
8159
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8160
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8161
+ };
8162
+ assignments: {
8163
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8164
+ makePrimary: {
8165
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8166
+ };
8167
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8168
+ terminate: {
8169
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8170
+ };
8171
+ transfer: {
8172
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8173
+ };
8174
+ };
8175
+ departments: {
8176
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8177
+ dissolve: {
8178
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8179
+ };
8180
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8181
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8182
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8183
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
8184
+ };
8185
+ effectiveSpec: {
8186
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8187
+ };
8188
+ jobs: {
8189
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8190
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8191
+ retire: {
8192
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8193
+ };
8194
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8195
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8196
+ };
8197
+ keyResults: {
8198
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8199
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8200
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8201
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8202
+ };
8203
+ ladders: {
8204
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8205
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8206
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8207
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8208
+ };
8209
+ objectives: {
8210
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8211
+ grade: {
8212
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8213
+ };
8214
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8215
+ parents: {
8216
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8217
+ };
8218
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8219
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8220
+ };
8221
+ periods: {
8222
+ close: {
8223
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8224
+ };
8225
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8226
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8227
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8228
+ };
8229
+ positions: {
8230
+ close: {
8231
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8232
+ };
8233
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8234
+ designateHead: {
8235
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8236
+ };
8237
+ freeze: {
8238
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8239
+ };
8240
+ hire: {
8241
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8242
+ };
8243
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8244
+ replaceHolder: {
8245
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8246
+ };
8247
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8248
+ unfreeze: {
8249
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8250
+ };
8251
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8252
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8253
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8254
+ };
8255
+ reconcile: {
8256
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8257
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8258
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8259
+ run: {
8260
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8261
+ };
8262
+ status: {
8263
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8264
+ };
8265
+ };
8266
+ specSchema: {
8267
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8268
+ };
8269
+ specs: {
8270
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8271
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8272
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8273
+ revisions: {
8274
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8275
+ };
8276
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8277
+ };
8278
+ };
6445
8279
  export declare const resourceFactories: {
6446
8280
  agent: typeof createAgent;
6447
8281
  application: typeof createApplication;
6448
8282
  automation: typeof createAutomation;
8283
+ billing: typeof createBilling;
6449
8284
  browser: typeof createBrowser;
6450
8285
  canvas: typeof createCanvas;
8286
+ content: typeof createContent;
6451
8287
  crm: typeof createCrm;
8288
+ customer: typeof createCustomer;
6452
8289
  cut: typeof createCut;
6453
8290
  database: typeof createDatabase;
6454
8291
  devops: typeof createDevops;
@@ -6466,4 +8303,5 @@ export declare const resourceFactories: {
6466
8303
  studio: typeof createStudio;
6467
8304
  ticket: typeof createTicket;
6468
8305
  vault: typeof createVault;
8306
+ workforce: typeof createWorkforce;
6469
8307
  };