@deepraxis/sdk 0.1.1-dev.ff9de03 → 0.2.0-dev.053bf41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/METHODS.md +730 -113
  2. package/README.md +5 -4
  3. package/dist/core/binary-operations.d.ts +3 -0
  4. package/dist/core/binary-operations.js +14 -0
  5. package/dist/core/credentials.d.ts +16 -6
  6. package/dist/core/credentials.js +24 -5
  7. package/dist/core/deprecation.d.ts +11 -0
  8. package/dist/core/deprecation.js +20 -0
  9. package/dist/core/retry.js +2 -0
  10. package/dist/core/transport.d.ts +4 -0
  11. package/dist/core/transport.js +26 -7
  12. package/dist/generated/binary-operations.gen.d.ts +3 -0
  13. package/dist/generated/binary-operations.gen.js +14 -0
  14. package/dist/generated/index.d.ts +2 -2
  15. package/dist/generated/index.js +1 -1
  16. package/dist/generated/sdk.gen.d.ts +1487 -315
  17. package/dist/generated/sdk.gen.js +6679 -3498
  18. package/dist/generated/types.gen.d.ts +73873 -50909
  19. package/dist/helpers/application-publish.js +16 -2
  20. package/dist/helpers/browser-actions.d.ts +2 -0
  21. package/dist/helpers/browser-actions.js +5 -1
  22. package/dist/helpers/browser-connect-error.d.ts +34 -0
  23. package/dist/helpers/browser-connect-error.js +85 -0
  24. package/dist/helpers/browser-connect.d.ts +3 -1
  25. package/dist/helpers/browser-connect.js +49 -44
  26. package/dist/helpers/browser-decisions.d.ts +16 -0
  27. package/dist/helpers/browser-decisions.js +16 -0
  28. package/dist/helpers/browser-documentation.d.ts +1 -1
  29. package/dist/helpers/browser-documentation.js +15 -2
  30. package/dist/index.d.ts +3 -0
  31. package/dist/index.js +2 -0
  32. package/dist/operations.generated.d.ts +1 -0
  33. package/dist/operations.generated.js +19102 -12752
  34. package/dist/resources.generated.d.ts +2939 -344
  35. package/dist/resources.generated.js +636 -121
  36. package/package.json +1 -1
@@ -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;
@@ -49,7 +54,7 @@ export declare function createAgent(transport: Transport): {
49
54
  readonly verified?: boolean;
50
55
  enabled?: boolean;
51
56
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
57
+ kind: "general" | "service" | "assume";
53
58
  computer_id?: string;
54
59
  subagent_model?: string | null;
55
60
  subagents?: Array<{
@@ -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;
@@ -231,7 +240,17 @@ export declare function createAgent(transport: Transport): {
231
240
  readonly verified?: boolean;
232
241
  enabled?: boolean;
233
242
  }>;
234
- kind: "general" | "personal" | "service" | "assume";
243
+ kind: "general" | "service" | "assume";
244
+ computers?: {
245
+ default: string;
246
+ allowed: Array<{
247
+ template: string;
248
+ name: string;
249
+ }>;
250
+ };
251
+ browser?: {
252
+ byob: string;
253
+ } | null;
235
254
  computer_id?: string;
236
255
  subagent_model?: string | null;
237
256
  subagents?: Array<{
@@ -324,6 +343,7 @@ export declare function createAgent(transport: Transport): {
324
343
  allowManagedHooksOnly?: boolean;
325
344
  allowManagedMcpServersOnly?: boolean;
326
345
  allowManagedPermissionRulesOnly?: boolean;
346
+ idleCompaction?: boolean;
327
347
  autoMemoryEnabled?: boolean;
328
348
  disabled?: {
329
349
  subagents?: Array<string>;
@@ -332,7 +352,6 @@ export declare function createAgent(transport: Transport): {
332
352
  mcpServers?: Array<string>;
333
353
  hooks?: Array<string>;
334
354
  };
335
- idleCompaction?: boolean;
336
355
  outputStyle?: string;
337
356
  } | null;
338
357
  models?: {
@@ -340,6 +359,7 @@ export declare function createAgent(transport: Transport): {
340
359
  };
341
360
  avatar: string | null;
342
361
  creation_source: string | null;
362
+ managed_by: string | null;
343
363
  identity_number: string | null;
344
364
  environment_id?: string | null;
345
365
  vault_ids?: Array<string>;
@@ -352,42 +372,6 @@ export declare function createAgent(transport: Transport): {
352
372
  }> | null;
353
373
  }>;
354
374
  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
375
  block: {
392
376
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
393
377
  id: string;
@@ -479,6 +463,16 @@ export declare function createAgent(transport: Transport): {
479
463
  }>;
480
464
  };
481
465
  };
466
+ devices: {
467
+ localSessions: {
468
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentDeviceLocalSessionsData>) => Promise<import("./automation.js").Page<{
469
+ id: string;
470
+ title: string;
471
+ updated_at: string | null;
472
+ cwd: string | null;
473
+ }>>;
474
+ };
475
+ };
482
476
  events: {
483
477
  list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
484
478
  data: Array<{
@@ -519,7 +513,6 @@ export declare function createAgent(transport: Transport): {
519
513
  run_id: string | null;
520
514
  message_id?: string;
521
515
  } | {
522
- full_access_available?: boolean;
523
516
  id: string;
524
517
  input: Types.AgentManaged197;
525
518
  mcp_server_name: string;
@@ -529,6 +522,18 @@ export declare function createAgent(transport: Transport): {
529
522
  evaluated_permission?: "allow" | "deny" | "ask";
530
523
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
531
524
  session_thread_id?: null | string;
525
+ permission_suggestions?: Array<{
526
+ type: "add_rules";
527
+ behavior: "allow";
528
+ destination: "agent" | "session";
529
+ rules: Array<{
530
+ tool_name: string;
531
+ rule_content: string;
532
+ }>;
533
+ }>;
534
+ full_access_available?: boolean;
535
+ user_once?: true;
536
+ guarded_rule?: string;
532
537
  run_id: string | null;
533
538
  _meta?: {
534
539
  ui?: {
@@ -542,17 +547,6 @@ export declare function createAgent(transport: Transport): {
542
547
  };
543
548
  source?: "app" | "codemode";
544
549
  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
550
  title?: string;
557
551
  input_titles?: {
558
552
  [key: string]: string;
@@ -571,7 +565,6 @@ export declare function createAgent(transport: Transport): {
571
565
  };
572
566
  source?: "app" | "codemode";
573
567
  } | {
574
- full_access_available?: boolean;
575
568
  id: string;
576
569
  input: Types.AgentManaged206;
577
570
  name: string;
@@ -580,9 +573,6 @@ export declare function createAgent(transport: Transport): {
580
573
  evaluated_permission?: "allow" | "deny" | "ask";
581
574
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
582
575
  session_thread_id?: null | string;
583
- run_id: string | null;
584
- user_once?: true;
585
- guarded_rule?: string;
586
576
  permission_suggestions?: Array<{
587
577
  type: "add_rules";
588
578
  behavior: "allow";
@@ -592,6 +582,10 @@ export declare function createAgent(transport: Transport): {
592
582
  rule_content: string;
593
583
  }>;
594
584
  }>;
585
+ full_access_available?: boolean;
586
+ user_once?: true;
587
+ guarded_rule?: string;
588
+ run_id: string | null;
595
589
  } | {
596
590
  id: string;
597
591
  processed_at: string;
@@ -612,9 +606,6 @@ export declare function createAgent(transport: Transport): {
612
606
  type: "session.status_idle";
613
607
  run_id: string | null;
614
608
  } | 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
609
  id: string;
619
610
  processed_at: string;
620
611
  type: "session.updated";
@@ -622,6 +613,9 @@ export declare function createAgent(transport: Transport): {
622
613
  budget?: null | Types.AgentManaged76;
623
614
  metadata?: Types.AgentManaged246;
624
615
  title?: null | string;
616
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
617
+ previous_permission_mode?: string | null;
618
+ permission_mode_version?: number;
625
619
  model?: {
626
620
  id: string;
627
621
  };
@@ -631,6 +625,8 @@ export declare function createAgent(transport: Transport): {
631
625
  processed_at: string;
632
626
  forked_from_session_id: string;
633
627
  forked_from_message_id: string;
628
+ message_id?: string;
629
+ session_thread_id?: string | null;
634
630
  } | {
635
631
  id: string;
636
632
  type: "session.goal_changed";
@@ -661,6 +657,8 @@ export declare function createAgent(transport: Transport): {
661
657
  created_at: number;
662
658
  updated_at: number;
663
659
  } | null;
660
+ message_id?: string;
661
+ session_thread_id?: string | null;
664
662
  } | {
665
663
  id: string;
666
664
  type: "session.goal_verification";
@@ -675,26 +673,186 @@ export declare function createAgent(transport: Transport): {
675
673
  reason: string;
676
674
  next_action?: string;
677
675
  };
676
+ message_id?: string;
677
+ session_thread_id?: string | null;
678
678
  } | {
679
679
  id: string;
680
680
  type: "user.steer";
681
681
  event_id: string;
682
682
  processed_at: string;
683
+ message_id?: string;
684
+ session_thread_id?: string | null;
685
+ } | {
686
+ id: string;
687
+ type: "cognition.surfaced";
688
+ processed_at: string;
689
+ worker_session_id: string;
690
+ name: string;
691
+ state: "done" | "waiting" | "failed" | "archived";
692
+ experience_id?: string;
693
+ result?: {
694
+ message?: string;
695
+ links?: Array<string>;
696
+ files?: Array<{
697
+ name?: string;
698
+ href?: string;
699
+ }>;
700
+ held?: Array<{
701
+ id?: string;
702
+ summary?: string;
703
+ effect?: string;
704
+ method?: string;
705
+ path?: string;
706
+ expires_at?: string;
707
+ }>;
708
+ };
709
+ } | {
710
+ id: string;
711
+ type: "cognition.intention_woken";
712
+ processed_at: string;
713
+ node_id: string;
714
+ reason: "open_engram" | "assignment";
715
+ } | {
716
+ id: string;
717
+ type: "agent.operation_approval_requested";
718
+ processed_at: string;
719
+ approval_id: string;
720
+ operation_id: string;
721
+ effect: "outward" | "irreversible";
722
+ method: string;
723
+ path: string;
724
+ summary: string;
725
+ expires_at: string;
726
+ worker_session_id?: string;
727
+ worker_name?: string;
728
+ } | {
729
+ id: string;
730
+ type: "agent.operation_approval_decided";
731
+ processed_at: string;
732
+ approval_id: string;
733
+ status: "approved" | "refused" | "expired";
734
+ } | {
735
+ id: string;
736
+ type: "session.prompt_configuration_mismatch";
737
+ processed_at: string;
738
+ pinned_revision_id: string;
739
+ current_revision_id: string;
740
+ } | {
741
+ id: string;
742
+ type: "session.prompt_rev_changed";
743
+ processed_at: string;
744
+ config_revision_id: string;
745
+ changed: Array<{
746
+ name: string;
747
+ rev: string | null;
748
+ }>;
749
+ } | {
750
+ id: string;
751
+ type: "session.computer_tier";
752
+ processed_at: string;
753
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
754
+ tier: "light" | "heavy";
755
+ duration_ms: number;
756
+ error_code?: string;
757
+ status?: {
758
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
759
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
760
+ percent?: number;
761
+ files_done?: number;
762
+ files_total?: number;
763
+ idle_release_at?: number;
764
+ retry_at?: number;
765
+ epoch?: number;
766
+ heavy_instance?: string | null;
767
+ heavy_paused?: boolean;
768
+ };
769
+ } | {
770
+ id: string;
771
+ type: "agent.artifact_delivered";
772
+ processed_at: string;
773
+ artifact: {
774
+ object: "artifact";
775
+ id: string;
776
+ session_id: string;
777
+ run_id: string | null;
778
+ name: string;
779
+ version: number;
780
+ parts: Array<{
781
+ [key: string]: unknown;
782
+ }>;
783
+ source_hrefs: Array<string>;
784
+ create_time: string;
785
+ update_time: string;
786
+ };
683
787
  } | {
684
788
  id: string;
685
- type: "user.tool_confirmation";
789
+ type: "agent.image_generation";
686
790
  processed_at: string;
687
791
  tool_use_id: string;
688
- result: "allow";
689
- answers: {
690
- [key: string]: string;
792
+ index: number;
793
+ total: number;
794
+ status: string;
795
+ mode?: string;
796
+ aspect?: string;
797
+ prompt?: string;
798
+ model?: string;
799
+ file_id?: string;
800
+ label?: string;
801
+ width?: number;
802
+ height?: number;
803
+ revised_prompt?: string;
804
+ source_labels?: Array<string>;
805
+ caption?: string;
806
+ slot?: number | null;
807
+ replaces?: string;
808
+ version?: number;
809
+ failure?: {
810
+ reason?: string;
691
811
  };
692
- annotations?: {
693
- [key: string]: {
694
- preview?: string;
695
- notes?: string;
696
- };
812
+ } | {
813
+ id: string;
814
+ type: "session.image_labeled";
815
+ processed_at: string;
816
+ label: string;
817
+ file_id: string;
818
+ origin: "generated" | "uploaded";
819
+ filename: string;
820
+ tool_use_id?: string;
821
+ version?: number;
822
+ replaced_file_id?: string;
823
+ } | {
824
+ id: string;
825
+ type: "session.image_set_planned";
826
+ processed_at: string;
827
+ tool_use_id: string;
828
+ items: Array<unknown>;
829
+ title?: string;
830
+ } | {
831
+ id: string;
832
+ type: "session.project_attached";
833
+ processed_at: string;
834
+ project: {
835
+ id: string;
836
+ name: string;
837
+ path: string;
697
838
  };
839
+ message_id?: string;
840
+ session_thread_id?: string | null;
841
+ } | {
842
+ id: string;
843
+ type: "session.project_detached";
844
+ processed_at: string;
845
+ project_id: string;
846
+ reason?: "project_removed";
847
+ message_id?: string;
848
+ session_thread_id?: string | null;
849
+ } | {
850
+ id: string;
851
+ type: "session.status_preparing";
852
+ processed_at: string;
853
+ stage: "launching" | "loading" | "ready";
854
+ message_id?: string;
855
+ session_thread_id?: string | null;
698
856
  }>;
699
857
  next_page: string | null;
700
858
  }>;
@@ -715,21 +873,8 @@ export declare function createAgent(transport: Transport): {
715
873
  type: "user.steer";
716
874
  event_id: string;
717
875
  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
- };
876
+ message_id?: string;
877
+ session_thread_id?: string | null;
733
878
  }>;
734
879
  }>;
735
880
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -763,6 +908,7 @@ export declare function createAgent(transport: Transport): {
763
908
  speed?: "standard" | "fast";
764
909
  settings?: {
765
910
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
911
+ max_output_tokens?: number;
766
912
  };
767
913
  };
768
914
  multiagent?: null | Types.AgentManaged39;
@@ -783,10 +929,12 @@ export declare function createAgent(transport: Transport): {
783
929
  id: string;
784
930
  } | null;
785
931
  note: string | null;
932
+ deployments_behind: number | null;
786
933
  bindings: Array<{
787
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
934
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
788
935
  id: string;
789
936
  access: "read_only" | "read_write" | "invoke";
937
+ customer_access?: "read_only" | "read_write" | "invoke";
790
938
  instructions?: string;
791
939
  readonly verified?: boolean;
792
940
  enabled?: boolean;
@@ -795,7 +943,17 @@ export declare function createAgent(transport: Transport): {
795
943
  readonly verified?: boolean;
796
944
  enabled?: boolean;
797
945
  }>;
798
- kind: "general" | "personal" | "service" | "assume";
946
+ kind: "general" | "service" | "assume";
947
+ computers?: {
948
+ default: string;
949
+ allowed: Array<{
950
+ template: string;
951
+ name: string;
952
+ }>;
953
+ };
954
+ browser?: {
955
+ byob: string;
956
+ } | null;
799
957
  computer_id?: string;
800
958
  subagent_model?: string | null;
801
959
  subagents?: Array<{
@@ -888,6 +1046,7 @@ export declare function createAgent(transport: Transport): {
888
1046
  allowManagedHooksOnly?: boolean;
889
1047
  allowManagedMcpServersOnly?: boolean;
890
1048
  allowManagedPermissionRulesOnly?: boolean;
1049
+ idleCompaction?: boolean;
891
1050
  autoMemoryEnabled?: boolean;
892
1051
  disabled?: {
893
1052
  subagents?: Array<string>;
@@ -896,7 +1055,6 @@ export declare function createAgent(transport: Transport): {
896
1055
  mcpServers?: Array<string>;
897
1056
  hooks?: Array<string>;
898
1057
  };
899
- idleCompaction?: boolean;
900
1058
  outputStyle?: string;
901
1059
  } | null;
902
1060
  models?: {
@@ -904,6 +1062,7 @@ export declare function createAgent(transport: Transport): {
904
1062
  };
905
1063
  avatar: string | null;
906
1064
  creation_source: string | null;
1065
+ managed_by: string | null;
907
1066
  identity_number: string | null;
908
1067
  environment_id?: string | null;
909
1068
  vault_ids?: Array<string>;
@@ -917,6 +1076,34 @@ export declare function createAgent(transport: Transport): {
917
1076
  }>;
918
1077
  next_page: string | null;
919
1078
  }>;
1079
+ phone: {
1080
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
1081
+ object: "agent_phone";
1082
+ agent_id: string;
1083
+ configured: boolean;
1084
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
1085
+ sku: string | null;
1086
+ byod_device: string | null;
1087
+ name: string | null;
1088
+ sandbox_id: string | null;
1089
+ lease_ends_at: string | null;
1090
+ archived_at: string | null;
1091
+ archive_error: string | null;
1092
+ }>;
1093
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
1094
+ object: "agent_phone";
1095
+ agent_id: string;
1096
+ configured: boolean;
1097
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
1098
+ sku: string | null;
1099
+ byod_device: string | null;
1100
+ name: string | null;
1101
+ sandbox_id: string | null;
1102
+ lease_ends_at: string | null;
1103
+ archived_at: string | null;
1104
+ archive_error: string | null;
1105
+ }>;
1106
+ };
920
1107
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
921
1108
  id: string;
922
1109
  archived_at: null | string;
@@ -931,6 +1118,7 @@ export declare function createAgent(transport: Transport): {
931
1118
  speed?: "standard" | "fast";
932
1119
  settings?: {
933
1120
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1121
+ max_output_tokens?: number;
934
1122
  };
935
1123
  };
936
1124
  multiagent?: null | Types.AgentManaged39;
@@ -952,10 +1140,12 @@ export declare function createAgent(transport: Transport): {
952
1140
  id: string;
953
1141
  } | null;
954
1142
  note: string | null;
1143
+ deployments_behind: number | null;
955
1144
  bindings: Array<{
956
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1145
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
957
1146
  id: string;
958
1147
  access: "read_only" | "read_write" | "invoke";
1148
+ customer_access?: "read_only" | "read_write" | "invoke";
959
1149
  instructions?: string;
960
1150
  readonly verified?: boolean;
961
1151
  enabled?: boolean;
@@ -964,7 +1154,17 @@ export declare function createAgent(transport: Transport): {
964
1154
  readonly verified?: boolean;
965
1155
  enabled?: boolean;
966
1156
  }>;
967
- kind: "general" | "personal" | "service" | "assume";
1157
+ kind: "general" | "service" | "assume";
1158
+ computers?: {
1159
+ default: string;
1160
+ allowed: Array<{
1161
+ template: string;
1162
+ name: string;
1163
+ }>;
1164
+ };
1165
+ browser?: {
1166
+ byob: string;
1167
+ } | null;
968
1168
  computer_id?: string;
969
1169
  subagent_model?: string | null;
970
1170
  subagents?: Array<{
@@ -1057,6 +1257,7 @@ export declare function createAgent(transport: Transport): {
1057
1257
  allowManagedHooksOnly?: boolean;
1058
1258
  allowManagedMcpServersOnly?: boolean;
1059
1259
  allowManagedPermissionRulesOnly?: boolean;
1260
+ idleCompaction?: boolean;
1060
1261
  autoMemoryEnabled?: boolean;
1061
1262
  disabled?: {
1062
1263
  subagents?: Array<string>;
@@ -1065,7 +1266,6 @@ export declare function createAgent(transport: Transport): {
1065
1266
  mcpServers?: Array<string>;
1066
1267
  hooks?: Array<string>;
1067
1268
  };
1068
- idleCompaction?: boolean;
1069
1269
  outputStyle?: string;
1070
1270
  } | null;
1071
1271
  models?: {
@@ -1073,6 +1273,7 @@ export declare function createAgent(transport: Transport): {
1073
1273
  };
1074
1274
  avatar: string | null;
1075
1275
  creation_source: string | null;
1276
+ managed_by: string | null;
1076
1277
  identity_number: string | null;
1077
1278
  environment_id?: string | null;
1078
1279
  vault_ids?: Array<string>;
@@ -1141,6 +1342,26 @@ export declare function createAgent(transport: Transport): {
1141
1342
  history?: {
1142
1343
  enabled?: boolean;
1143
1344
  };
1345
+ uploads?: {
1346
+ enabled: boolean;
1347
+ max_file_bytes: number;
1348
+ max_files_per_session: number;
1349
+ };
1350
+ }>;
1351
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1352
+ allowed_origins: Array<string>;
1353
+ allow_localhost: boolean;
1354
+ uploads: {
1355
+ enabled: boolean;
1356
+ max_file_bytes: number;
1357
+ max_files_per_session: number;
1358
+ };
1359
+ share_links: {
1360
+ enabled: boolean;
1361
+ daily_session_cap: number | null;
1362
+ daily_spend_cap_micro_usd: number | null;
1363
+ currency?: "USD" | "CNY" | null;
1364
+ };
1144
1365
  }>;
1145
1366
  unarchive: {
1146
1367
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1194,6 +1415,7 @@ export declare function createAgent(transport: Transport): {
1194
1415
  speed?: "standard" | "fast";
1195
1416
  settings?: {
1196
1417
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1418
+ max_output_tokens?: number;
1197
1419
  };
1198
1420
  };
1199
1421
  multiagent?: null | {
@@ -1380,10 +1602,12 @@ export declare function createAgent(transport: Transport): {
1380
1602
  id: string;
1381
1603
  } | null;
1382
1604
  note: string | null;
1605
+ deployments_behind: number | null;
1383
1606
  bindings: Array<{
1384
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1607
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1385
1608
  id: string;
1386
1609
  access: "read_only" | "read_write" | "invoke";
1610
+ customer_access?: "read_only" | "read_write" | "invoke";
1387
1611
  instructions?: string;
1388
1612
  readonly verified?: boolean;
1389
1613
  enabled?: boolean;
@@ -1392,7 +1616,17 @@ export declare function createAgent(transport: Transport): {
1392
1616
  readonly verified?: boolean;
1393
1617
  enabled?: boolean;
1394
1618
  }>;
1395
- kind: "general" | "personal" | "service" | "assume";
1619
+ kind: "general" | "service" | "assume";
1620
+ computers?: {
1621
+ default: string;
1622
+ allowed: Array<{
1623
+ template: string;
1624
+ name: string;
1625
+ }>;
1626
+ };
1627
+ browser?: {
1628
+ byob: string;
1629
+ } | null;
1396
1630
  computer_id?: string;
1397
1631
  subagent_model?: string | null;
1398
1632
  subagents?: Array<{
@@ -1485,6 +1719,7 @@ export declare function createAgent(transport: Transport): {
1485
1719
  allowManagedHooksOnly?: boolean;
1486
1720
  allowManagedMcpServersOnly?: boolean;
1487
1721
  allowManagedPermissionRulesOnly?: boolean;
1722
+ idleCompaction?: boolean;
1488
1723
  autoMemoryEnabled?: boolean;
1489
1724
  disabled?: {
1490
1725
  subagents?: Array<string>;
@@ -1493,7 +1728,6 @@ export declare function createAgent(transport: Transport): {
1493
1728
  mcpServers?: Array<string>;
1494
1729
  hooks?: Array<string>;
1495
1730
  };
1496
- idleCompaction?: boolean;
1497
1731
  outputStyle?: string;
1498
1732
  } | null;
1499
1733
  models?: {
@@ -1501,6 +1735,7 @@ export declare function createAgent(transport: Transport): {
1501
1735
  };
1502
1736
  avatar: string | null;
1503
1737
  creation_source: string | null;
1738
+ managed_by: string | null;
1504
1739
  identity_number: string | null;
1505
1740
  environment_id?: string | null;
1506
1741
  vault_ids?: Array<string>;
@@ -1527,6 +1762,7 @@ export declare function createAgent(transport: Transport): {
1527
1762
  speed?: "standard" | "fast";
1528
1763
  settings?: {
1529
1764
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1765
+ max_output_tokens?: number;
1530
1766
  };
1531
1767
  };
1532
1768
  multiagent?: null | Types.AgentManaged39;
@@ -1548,10 +1784,12 @@ export declare function createAgent(transport: Transport): {
1548
1784
  id: string;
1549
1785
  } | null;
1550
1786
  note: string | null;
1787
+ deployments_behind: number | null;
1551
1788
  bindings: Array<{
1552
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1789
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1553
1790
  id: string;
1554
1791
  access: "read_only" | "read_write" | "invoke";
1792
+ customer_access?: "read_only" | "read_write" | "invoke";
1555
1793
  instructions?: string;
1556
1794
  readonly verified?: boolean;
1557
1795
  enabled?: boolean;
@@ -1560,7 +1798,17 @@ export declare function createAgent(transport: Transport): {
1560
1798
  readonly verified?: boolean;
1561
1799
  enabled?: boolean;
1562
1800
  }>;
1563
- kind: "general" | "personal" | "service" | "assume";
1801
+ kind: "general" | "service" | "assume";
1802
+ computers?: {
1803
+ default: string;
1804
+ allowed: Array<{
1805
+ template: string;
1806
+ name: string;
1807
+ }>;
1808
+ };
1809
+ browser?: {
1810
+ byob: string;
1811
+ } | null;
1564
1812
  computer_id?: string;
1565
1813
  subagent_model?: string | null;
1566
1814
  subagents?: Array<{
@@ -1653,6 +1901,7 @@ export declare function createAgent(transport: Transport): {
1653
1901
  allowManagedHooksOnly?: boolean;
1654
1902
  allowManagedMcpServersOnly?: boolean;
1655
1903
  allowManagedPermissionRulesOnly?: boolean;
1904
+ idleCompaction?: boolean;
1656
1905
  autoMemoryEnabled?: boolean;
1657
1906
  disabled?: {
1658
1907
  subagents?: Array<string>;
@@ -1661,7 +1910,6 @@ export declare function createAgent(transport: Transport): {
1661
1910
  mcpServers?: Array<string>;
1662
1911
  hooks?: Array<string>;
1663
1912
  };
1664
- idleCompaction?: boolean;
1665
1913
  outputStyle?: string;
1666
1914
  } | null;
1667
1915
  models?: {
@@ -1669,6 +1917,7 @@ export declare function createAgent(transport: Transport): {
1669
1917
  };
1670
1918
  avatar: string | null;
1671
1919
  creation_source: string | null;
1920
+ managed_by: string | null;
1672
1921
  identity_number: string | null;
1673
1922
  environment_id?: string | null;
1674
1923
  vault_ids?: Array<string>;
@@ -1680,46 +1929,266 @@ export declare function createAgent(transport: Transport): {
1680
1929
  keep_coding_instructions?: boolean;
1681
1930
  }> | null;
1682
1931
  }>;
1932
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1933
+ allowed_origins: Array<string>;
1934
+ allow_localhost: boolean;
1935
+ uploads: {
1936
+ enabled: boolean;
1937
+ max_file_bytes: number;
1938
+ max_files_per_session: number;
1939
+ };
1940
+ share_links: {
1941
+ enabled: boolean;
1942
+ daily_session_cap: number | null;
1943
+ daily_spend_cap_micro_usd: number | null;
1944
+ currency?: "USD" | "CNY" | null;
1945
+ };
1946
+ }>;
1683
1947
  versions: {
1684
1948
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1685
1949
  id: string;
1686
1950
  archived_at: null | string;
1687
1951
  created_at: string;
1688
1952
  description: null | string;
1689
- mcp_servers: Array<Types.AgentManaged36>;
1690
- metadata: Types.AgentManaged37;
1953
+ mcp_servers: Array<{
1954
+ type: "url";
1955
+ name: string;
1956
+ url: string;
1957
+ headers?: {
1958
+ [key: string]: string;
1959
+ };
1960
+ timeout_ms?: number;
1961
+ } | {
1962
+ type: "sse";
1963
+ name: string;
1964
+ url: string;
1965
+ headers?: {
1966
+ [key: string]: string;
1967
+ };
1968
+ timeout_ms?: number;
1969
+ } | {
1970
+ type: "stdio";
1971
+ name: string;
1972
+ command: string;
1973
+ args?: Array<string>;
1974
+ env?: {
1975
+ [key: string]: string;
1976
+ };
1977
+ timeout_ms?: number;
1978
+ }>;
1979
+ metadata: {
1980
+ [key: string]: string;
1981
+ };
1691
1982
  model?: {
1692
1983
  id: string;
1693
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1984
+ effort?: {
1985
+ type: "low";
1986
+ } | {
1987
+ type: "medium";
1988
+ } | {
1989
+ type: "high";
1990
+ } | {
1991
+ type: "xhigh";
1992
+ } | {
1993
+ type: "max";
1994
+ };
1694
1995
  inference_geo?: string;
1695
1996
  speed?: "standard" | "fast";
1696
1997
  settings?: {
1697
1998
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1999
+ max_output_tokens?: number;
1698
2000
  };
1699
2001
  };
1700
- multiagent?: null | Types.AgentManaged39;
2002
+ multiagent?: null | {
2003
+ agents: Array<{
2004
+ id: string;
2005
+ type: "agent";
2006
+ version: number;
2007
+ } | {
2008
+ model: string;
2009
+ type: "advisor";
2010
+ }>;
2011
+ type: "coordinator";
2012
+ };
1701
2013
  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;
2014
+ skills: Array<{
2015
+ skill_id: string;
2016
+ type: "anthropic";
2017
+ version: string;
2018
+ } | {
2019
+ skill_id: string;
2020
+ type: "custom";
2021
+ version: string;
2022
+ }>;
2023
+ system: null | string;
2024
+ tools: Array<{
2025
+ configs: Array<{
2026
+ enabled: boolean;
2027
+ name: "bash";
2028
+ permission_policy: {
2029
+ type: "always_allow";
2030
+ } | {
2031
+ type: "always_ask";
2032
+ } | {
2033
+ type: "auto";
2034
+ };
2035
+ type: "bash";
2036
+ } | {
2037
+ enabled: boolean;
2038
+ name: "edit";
2039
+ permission_policy: {
2040
+ type: "always_allow";
2041
+ } | {
2042
+ type: "always_ask";
2043
+ } | {
2044
+ type: "auto";
2045
+ };
2046
+ type: "edit";
2047
+ } | {
2048
+ enabled: boolean;
2049
+ name: "read";
2050
+ permission_policy: {
2051
+ type: "always_allow";
2052
+ } | {
2053
+ type: "always_ask";
2054
+ } | {
2055
+ type: "auto";
2056
+ };
2057
+ type: "read";
2058
+ } | {
2059
+ enabled: boolean;
2060
+ name: "write";
2061
+ permission_policy: {
2062
+ type: "always_allow";
2063
+ } | {
2064
+ type: "always_ask";
2065
+ } | {
2066
+ type: "auto";
2067
+ };
2068
+ type: "write";
2069
+ } | {
2070
+ enabled: boolean;
2071
+ name: "glob";
2072
+ permission_policy: {
2073
+ type: "always_allow";
2074
+ } | {
2075
+ type: "always_ask";
2076
+ } | {
2077
+ type: "auto";
2078
+ };
2079
+ type: "glob";
2080
+ } | {
2081
+ enabled: boolean;
2082
+ name: "grep";
2083
+ permission_policy: {
2084
+ type: "always_allow";
2085
+ } | {
2086
+ type: "always_ask";
2087
+ } | {
2088
+ type: "auto";
2089
+ };
2090
+ type: "grep";
2091
+ } | {
2092
+ enabled: boolean;
2093
+ name: "web_fetch";
2094
+ permission_policy: {
2095
+ type: "always_allow";
2096
+ } | {
2097
+ type: "always_ask";
2098
+ } | {
2099
+ type: "auto";
2100
+ };
2101
+ type: "web_fetch";
2102
+ allowed_domains?: Array<string>;
2103
+ blocked_domains?: Array<string>;
2104
+ max_content_tokens?: null | number;
2105
+ } | {
2106
+ enabled: boolean;
2107
+ name: "web_search";
2108
+ permission_policy: {
2109
+ type: "always_allow";
2110
+ } | {
2111
+ type: "always_ask";
2112
+ } | {
2113
+ type: "auto";
2114
+ };
2115
+ type: "web_search";
2116
+ allowed_domains?: Array<string>;
2117
+ blocked_domains?: Array<string>;
2118
+ user_location?: null | {
2119
+ type: "approximate";
2120
+ city?: null | string;
2121
+ country?: null | string;
2122
+ region?: null | string;
2123
+ timezone?: null | string;
2124
+ };
2125
+ } | {
2126
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2127
+ enabled: boolean;
2128
+ permission_policy: {
2129
+ type: "always_allow" | "always_ask";
2130
+ };
2131
+ }>;
2132
+ default_config: {
2133
+ enabled: boolean;
2134
+ permission_policy: {
2135
+ type: "always_allow";
2136
+ } | {
2137
+ type: "always_ask";
2138
+ } | {
2139
+ type: "auto";
2140
+ };
2141
+ };
2142
+ type: "agent_toolset_20260401";
2143
+ } | {
2144
+ type: "mcp_toolset";
2145
+ mcp_server_name: string;
2146
+ default_config?: {
2147
+ enabled?: boolean | null;
2148
+ permission_policy?: null | {
2149
+ type: "always_allow" | "always_ask";
2150
+ };
2151
+ } | null;
2152
+ configs?: Array<{
2153
+ name: string;
2154
+ enabled?: boolean | null;
2155
+ permission_policy?: null | {
2156
+ type: "always_allow" | "always_ask";
2157
+ };
2158
+ }> | null;
2159
+ } | {
2160
+ description: string;
2161
+ input_schema: {
2162
+ type: "object";
2163
+ properties?: null | {
2164
+ [key: string]: unknown;
2165
+ };
2166
+ required?: null | Array<string>;
2167
+ [key: string]: unknown;
2168
+ };
2169
+ name: string;
2170
+ type: "custom";
2171
+ }>;
2172
+ type: "agent";
2173
+ updated_at: string;
2174
+ version: number;
2175
+ latest_version?: number;
2176
+ active_version: number;
2177
+ created_by: {
2178
+ type: "user";
2179
+ id: string;
2180
+ name?: string;
1714
2181
  } | {
1715
2182
  type: "api_key";
1716
2183
  id: string;
1717
2184
  } | null;
1718
2185
  note: string | null;
2186
+ deployments_behind: number | null;
1719
2187
  bindings: Array<{
1720
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2188
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1721
2189
  id: string;
1722
2190
  access: "read_only" | "read_write" | "invoke";
2191
+ customer_access?: "read_only" | "read_write" | "invoke";
1723
2192
  instructions?: string;
1724
2193
  readonly verified?: boolean;
1725
2194
  enabled?: boolean;
@@ -1728,7 +2197,17 @@ export declare function createAgent(transport: Transport): {
1728
2197
  readonly verified?: boolean;
1729
2198
  enabled?: boolean;
1730
2199
  }>;
1731
- kind: "general" | "personal" | "service" | "assume";
2200
+ kind: "general" | "service" | "assume";
2201
+ computers?: {
2202
+ default: string;
2203
+ allowed: Array<{
2204
+ template: string;
2205
+ name: string;
2206
+ }>;
2207
+ };
2208
+ browser?: {
2209
+ byob: string;
2210
+ } | null;
1732
2211
  computer_id?: string;
1733
2212
  subagent_model?: string | null;
1734
2213
  subagents?: Array<{
@@ -1821,6 +2300,7 @@ export declare function createAgent(transport: Transport): {
1821
2300
  allowManagedHooksOnly?: boolean;
1822
2301
  allowManagedMcpServersOnly?: boolean;
1823
2302
  allowManagedPermissionRulesOnly?: boolean;
2303
+ idleCompaction?: boolean;
1824
2304
  autoMemoryEnabled?: boolean;
1825
2305
  disabled?: {
1826
2306
  subagents?: Array<string>;
@@ -1829,7 +2309,6 @@ export declare function createAgent(transport: Transport): {
1829
2309
  mcpServers?: Array<string>;
1830
2310
  hooks?: Array<string>;
1831
2311
  };
1832
- idleCompaction?: boolean;
1833
2312
  outputStyle?: string;
1834
2313
  } | null;
1835
2314
  models?: {
@@ -1837,6 +2316,7 @@ export declare function createAgent(transport: Transport): {
1837
2316
  };
1838
2317
  avatar: string | null;
1839
2318
  creation_source: string | null;
2319
+ managed_by: string | null;
1840
2320
  identity_number: string | null;
1841
2321
  environment_id?: string | null;
1842
2322
  vault_ids?: Array<string>;
@@ -1863,6 +2343,7 @@ export declare function createAgent(transport: Transport): {
1863
2343
  speed?: "standard" | "fast";
1864
2344
  settings?: {
1865
2345
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2346
+ max_output_tokens?: number;
1866
2347
  };
1867
2348
  };
1868
2349
  multiagent?: null | Types.AgentManaged39;
@@ -1885,9 +2366,10 @@ export declare function createAgent(transport: Transport): {
1885
2366
  } | null;
1886
2367
  note: string | null;
1887
2368
  bindings: Array<{
1888
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2369
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1889
2370
  id: string;
1890
2371
  access: "read_only" | "read_write" | "invoke";
2372
+ customer_access?: "read_only" | "read_write" | "invoke";
1891
2373
  instructions?: string;
1892
2374
  readonly verified?: boolean;
1893
2375
  enabled?: boolean;
@@ -1896,7 +2378,17 @@ export declare function createAgent(transport: Transport): {
1896
2378
  readonly verified?: boolean;
1897
2379
  enabled?: boolean;
1898
2380
  }>;
1899
- kind: "general" | "personal" | "service" | "assume";
2381
+ kind: "general" | "service" | "assume";
2382
+ computers?: {
2383
+ default: string;
2384
+ allowed: Array<{
2385
+ template: string;
2386
+ name: string;
2387
+ }>;
2388
+ };
2389
+ browser?: {
2390
+ byob: string;
2391
+ } | null;
1900
2392
  computer_id?: string;
1901
2393
  subagent_model?: string | null;
1902
2394
  subagents?: Array<{
@@ -1989,6 +2481,7 @@ export declare function createAgent(transport: Transport): {
1989
2481
  allowManagedHooksOnly?: boolean;
1990
2482
  allowManagedMcpServersOnly?: boolean;
1991
2483
  allowManagedPermissionRulesOnly?: boolean;
2484
+ idleCompaction?: boolean;
1992
2485
  autoMemoryEnabled?: boolean;
1993
2486
  disabled?: {
1994
2487
  subagents?: Array<string>;
@@ -1997,7 +2490,6 @@ export declare function createAgent(transport: Transport): {
1997
2490
  mcpServers?: Array<string>;
1998
2491
  hooks?: Array<string>;
1999
2492
  };
2000
- idleCompaction?: boolean;
2001
2493
  outputStyle?: string;
2002
2494
  } | null;
2003
2495
  models?: {
@@ -2005,6 +2497,7 @@ export declare function createAgent(transport: Transport): {
2005
2497
  };
2006
2498
  avatar: string | null;
2007
2499
  creation_source: string | null;
2500
+ managed_by: string | null;
2008
2501
  identity_number: string | null;
2009
2502
  environment_id?: string | null;
2010
2503
  vault_ids?: Array<string>;
@@ -2092,6 +2585,24 @@ export declare function createAgent(transport: Transport): {
2092
2585
  tier: "light" | "heavy";
2093
2586
  }>;
2094
2587
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2588
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2589
+ variant: "image" | "pdf" | "text" | "original";
2590
+ version?: string;
2591
+ mime_type?: string;
2592
+ size?: number;
2593
+ file_id?: string;
2594
+ url?: string;
2595
+ expires_at?: string;
2596
+ cached: boolean;
2597
+ fallback?: "content";
2598
+ skipped?: boolean;
2599
+ }>;
2600
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2601
+ path: string;
2602
+ size: number;
2603
+ mtime: string | null;
2604
+ version: string;
2605
+ }>;
2095
2606
  };
2096
2607
  leases: {
2097
2608
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2165,6 +2676,8 @@ export declare function createAgent(transport: Transport): {
2165
2676
  id: string;
2166
2677
  type: "agent";
2167
2678
  version: number;
2679
+ pinned_version?: number | null;
2680
+ active_version?: number | null;
2168
2681
  } | {
2169
2682
  id: string;
2170
2683
  type: "agent_with_overrides";
@@ -2202,6 +2715,8 @@ export declare function createAgent(transport: Transport): {
2202
2715
  id: string;
2203
2716
  type: "agent";
2204
2717
  version: number;
2718
+ pinned_version?: number | null;
2719
+ active_version?: number | null;
2205
2720
  } | {
2206
2721
  id: string;
2207
2722
  type: "agent_with_overrides";
@@ -2240,6 +2755,8 @@ export declare function createAgent(transport: Transport): {
2240
2755
  id: string;
2241
2756
  type: "agent";
2242
2757
  version: number;
2758
+ pinned_version?: number | null;
2759
+ active_version?: number | null;
2243
2760
  } | {
2244
2761
  id: string;
2245
2762
  type: "agent_with_overrides";
@@ -2279,6 +2796,8 @@ export declare function createAgent(transport: Transport): {
2279
2796
  id: string;
2280
2797
  type: "agent";
2281
2798
  version: number;
2799
+ pinned_version?: number | null;
2800
+ active_version?: number | null;
2282
2801
  } | {
2283
2802
  id: string;
2284
2803
  type: "agent_with_overrides";
@@ -2316,6 +2835,8 @@ export declare function createAgent(transport: Transport): {
2316
2835
  id: string;
2317
2836
  type: "agent";
2318
2837
  version: number;
2838
+ pinned_version?: number | null;
2839
+ active_version?: number | null;
2319
2840
  } | {
2320
2841
  id: string;
2321
2842
  type: "agent_with_overrides";
@@ -2357,6 +2878,8 @@ export declare function createAgent(transport: Transport): {
2357
2878
  id: string;
2358
2879
  type: "agent";
2359
2880
  version: number;
2881
+ pinned_version?: number | null;
2882
+ active_version?: number | null;
2360
2883
  } | {
2361
2884
  id: string;
2362
2885
  type: "agent_with_overrides";
@@ -2395,6 +2918,8 @@ export declare function createAgent(transport: Transport): {
2395
2918
  id: string;
2396
2919
  type: "agent";
2397
2920
  version: number;
2921
+ pinned_version?: number | null;
2922
+ active_version?: number | null;
2398
2923
  } | {
2399
2924
  id: string;
2400
2925
  type: "agent_with_overrides";
@@ -2437,57 +2962,606 @@ export declare function createAgent(transport: Transport): {
2437
2962
  retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2438
2963
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2439
2964
  };
2965
+ loginIntents: {
2966
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateAgentLoginIntentData> | undefined) => Promise<{
2967
+ code: string;
2968
+ expires_at: string;
2969
+ }>;
2970
+ };
2440
2971
  sessions: {
2441
- archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2442
- id: string;
2443
- agent: {
2972
+ agentVersion: {
2973
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2444
2974
  id: string;
2445
- description: null | string;
2446
- mcp_servers: Array<Types.AgentManaged36>;
2447
- model: {
2975
+ agent: {
2448
2976
  id: string;
2449
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2450
- inference_geo?: string;
2451
- speed?: "standard" | "fast";
2452
- settings?: {
2453
- reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2977
+ description: null | string;
2978
+ mcp_servers: Array<{
2979
+ type: "url";
2980
+ name: string;
2981
+ url: string;
2982
+ headers?: {
2983
+ [key: string]: string;
2984
+ };
2985
+ timeout_ms?: number;
2986
+ } | {
2987
+ type: "sse";
2988
+ name: string;
2989
+ url: string;
2990
+ headers?: {
2991
+ [key: string]: string;
2992
+ };
2993
+ timeout_ms?: number;
2994
+ } | {
2995
+ type: "stdio";
2996
+ name: string;
2997
+ command: string;
2998
+ args?: Array<string>;
2999
+ env?: {
3000
+ [key: string]: string;
3001
+ };
3002
+ timeout_ms?: number;
3003
+ }>;
3004
+ model: {
3005
+ id: string;
3006
+ effort?: {
3007
+ type: "low";
3008
+ } | {
3009
+ type: "medium";
3010
+ } | {
3011
+ type: "high";
3012
+ } | {
3013
+ type: "xhigh";
3014
+ } | {
3015
+ type: "max";
3016
+ };
3017
+ inference_geo?: string;
3018
+ speed?: "standard" | "fast";
3019
+ settings?: {
3020
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3021
+ max_output_tokens?: number;
3022
+ };
2454
3023
  };
2455
- };
2456
- multiagent: null | Types.AgentManaged171;
2457
- name: string;
2458
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
2459
- system: null | string;
2460
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
2461
- type: "agent";
2462
- version: number;
2463
- };
2464
- archived_at: null | string;
2465
- budget: null | Types.AgentManaged76;
2466
- created_at: string;
2467
- environment_id?: string;
2468
- metadata: Types.AgentManaged173;
2469
- outcome_evaluations: Array<Types.AgentManaged174>;
2470
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
2471
- stats: Types.AgentManaged178;
2472
- status: "rescheduling" | "running" | "idle" | "terminated";
2473
- title: null | string;
2474
- type: "session";
2475
- updated_at: string;
2476
- usage: Types.AgentManaged179;
2477
- vault_ids: Array<string>;
2478
- deployment_id?: null | string;
2479
- cwd: string;
2480
- computer_id?: string;
2481
- model?: {
2482
- id: string;
2483
- thinking: {
2484
- efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2485
- can_disable: boolean;
2486
- default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2487
- } | null;
2488
- };
2489
- thinking?: {
2490
- effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3024
+ multiagent: null | {
3025
+ agents: Array<{
3026
+ model: string;
3027
+ type: "advisor";
3028
+ } | {
3029
+ id: string;
3030
+ description: null | string;
3031
+ mcp_servers: Array<{
3032
+ type: "url";
3033
+ name: string;
3034
+ url: string;
3035
+ headers?: {
3036
+ [key: string]: string;
3037
+ };
3038
+ timeout_ms?: number;
3039
+ } | {
3040
+ type: "sse";
3041
+ name: string;
3042
+ url: string;
3043
+ headers?: {
3044
+ [key: string]: string;
3045
+ };
3046
+ timeout_ms?: number;
3047
+ } | {
3048
+ type: "stdio";
3049
+ name: string;
3050
+ command: string;
3051
+ args?: Array<string>;
3052
+ env?: {
3053
+ [key: string]: string;
3054
+ };
3055
+ timeout_ms?: number;
3056
+ }>;
3057
+ model: {
3058
+ id: string;
3059
+ effort?: {
3060
+ type: "low";
3061
+ } | {
3062
+ type: "medium";
3063
+ } | {
3064
+ type: "high";
3065
+ } | {
3066
+ type: "xhigh";
3067
+ } | {
3068
+ type: "max";
3069
+ };
3070
+ inference_geo?: string;
3071
+ speed?: "standard" | "fast";
3072
+ };
3073
+ name: string;
3074
+ skills: Array<{
3075
+ skill_id: string;
3076
+ type: "anthropic";
3077
+ version: string;
3078
+ } | {
3079
+ skill_id: string;
3080
+ type: "custom";
3081
+ version: string;
3082
+ }>;
3083
+ system: null | string;
3084
+ tools: Array<{
3085
+ configs: Array<{
3086
+ enabled: boolean;
3087
+ name: "bash";
3088
+ permission_policy: {
3089
+ type: "always_allow";
3090
+ } | {
3091
+ type: "always_ask";
3092
+ } | {
3093
+ type: "auto";
3094
+ };
3095
+ type: "bash";
3096
+ } | {
3097
+ enabled: boolean;
3098
+ name: "edit";
3099
+ permission_policy: {
3100
+ type: "always_allow";
3101
+ } | {
3102
+ type: "always_ask";
3103
+ } | {
3104
+ type: "auto";
3105
+ };
3106
+ type: "edit";
3107
+ } | {
3108
+ enabled: boolean;
3109
+ name: "read";
3110
+ permission_policy: {
3111
+ type: "always_allow";
3112
+ } | {
3113
+ type: "always_ask";
3114
+ } | {
3115
+ type: "auto";
3116
+ };
3117
+ type: "read";
3118
+ } | {
3119
+ enabled: boolean;
3120
+ name: "write";
3121
+ permission_policy: {
3122
+ type: "always_allow";
3123
+ } | {
3124
+ type: "always_ask";
3125
+ } | {
3126
+ type: "auto";
3127
+ };
3128
+ type: "write";
3129
+ } | {
3130
+ enabled: boolean;
3131
+ name: "glob";
3132
+ permission_policy: {
3133
+ type: "always_allow";
3134
+ } | {
3135
+ type: "always_ask";
3136
+ } | {
3137
+ type: "auto";
3138
+ };
3139
+ type: "glob";
3140
+ } | {
3141
+ enabled: boolean;
3142
+ name: "grep";
3143
+ permission_policy: {
3144
+ type: "always_allow";
3145
+ } | {
3146
+ type: "always_ask";
3147
+ } | {
3148
+ type: "auto";
3149
+ };
3150
+ type: "grep";
3151
+ } | {
3152
+ enabled: boolean;
3153
+ name: "web_fetch";
3154
+ permission_policy: {
3155
+ type: "always_allow";
3156
+ } | {
3157
+ type: "always_ask";
3158
+ } | {
3159
+ type: "auto";
3160
+ };
3161
+ type: "web_fetch";
3162
+ allowed_domains?: Array<string>;
3163
+ blocked_domains?: Array<string>;
3164
+ max_content_tokens?: null | number;
3165
+ } | {
3166
+ enabled: boolean;
3167
+ name: "web_search";
3168
+ permission_policy: {
3169
+ type: "always_allow";
3170
+ } | {
3171
+ type: "always_ask";
3172
+ } | {
3173
+ type: "auto";
3174
+ };
3175
+ type: "web_search";
3176
+ allowed_domains?: Array<string>;
3177
+ blocked_domains?: Array<string>;
3178
+ user_location?: null | {
3179
+ type: "approximate";
3180
+ city?: null | string;
3181
+ country?: null | string;
3182
+ region?: null | string;
3183
+ timezone?: null | string;
3184
+ };
3185
+ } | {
3186
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3187
+ enabled: boolean;
3188
+ permission_policy: {
3189
+ type: "always_allow" | "always_ask";
3190
+ };
3191
+ }>;
3192
+ default_config: {
3193
+ enabled: boolean;
3194
+ permission_policy: {
3195
+ type: "always_allow";
3196
+ } | {
3197
+ type: "always_ask";
3198
+ } | {
3199
+ type: "auto";
3200
+ };
3201
+ };
3202
+ type: "agent_toolset_20260401";
3203
+ } | {
3204
+ type: "mcp_toolset";
3205
+ mcp_server_name: string;
3206
+ default_config?: {
3207
+ enabled?: boolean | null;
3208
+ permission_policy?: null | {
3209
+ type: "always_allow" | "always_ask";
3210
+ };
3211
+ } | null;
3212
+ configs?: Array<{
3213
+ name: string;
3214
+ enabled?: boolean | null;
3215
+ permission_policy?: null | {
3216
+ type: "always_allow" | "always_ask";
3217
+ };
3218
+ }> | null;
3219
+ } | {
3220
+ description: string;
3221
+ input_schema: {
3222
+ type: "object";
3223
+ properties?: null | {
3224
+ [key: string]: unknown;
3225
+ };
3226
+ required?: null | Array<string>;
3227
+ [key: string]: unknown;
3228
+ };
3229
+ name: string;
3230
+ type: "custom";
3231
+ }>;
3232
+ type: "agent";
3233
+ version: number;
3234
+ }>;
3235
+ type: "coordinator";
3236
+ };
3237
+ name: string;
3238
+ skills: Array<{
3239
+ skill_id: string;
3240
+ type: "anthropic";
3241
+ version: string;
3242
+ } | {
3243
+ skill_id: string;
3244
+ type: "custom";
3245
+ version: string;
3246
+ }>;
3247
+ system: null | string;
3248
+ tools: Array<{
3249
+ configs: Array<{
3250
+ enabled: boolean;
3251
+ name: "bash";
3252
+ permission_policy: {
3253
+ type: "always_allow";
3254
+ } | {
3255
+ type: "always_ask";
3256
+ } | {
3257
+ type: "auto";
3258
+ };
3259
+ type: "bash";
3260
+ } | {
3261
+ enabled: boolean;
3262
+ name: "edit";
3263
+ permission_policy: {
3264
+ type: "always_allow";
3265
+ } | {
3266
+ type: "always_ask";
3267
+ } | {
3268
+ type: "auto";
3269
+ };
3270
+ type: "edit";
3271
+ } | {
3272
+ enabled: boolean;
3273
+ name: "read";
3274
+ permission_policy: {
3275
+ type: "always_allow";
3276
+ } | {
3277
+ type: "always_ask";
3278
+ } | {
3279
+ type: "auto";
3280
+ };
3281
+ type: "read";
3282
+ } | {
3283
+ enabled: boolean;
3284
+ name: "write";
3285
+ permission_policy: {
3286
+ type: "always_allow";
3287
+ } | {
3288
+ type: "always_ask";
3289
+ } | {
3290
+ type: "auto";
3291
+ };
3292
+ type: "write";
3293
+ } | {
3294
+ enabled: boolean;
3295
+ name: "glob";
3296
+ permission_policy: {
3297
+ type: "always_allow";
3298
+ } | {
3299
+ type: "always_ask";
3300
+ } | {
3301
+ type: "auto";
3302
+ };
3303
+ type: "glob";
3304
+ } | {
3305
+ enabled: boolean;
3306
+ name: "grep";
3307
+ permission_policy: {
3308
+ type: "always_allow";
3309
+ } | {
3310
+ type: "always_ask";
3311
+ } | {
3312
+ type: "auto";
3313
+ };
3314
+ type: "grep";
3315
+ } | {
3316
+ enabled: boolean;
3317
+ name: "web_fetch";
3318
+ permission_policy: {
3319
+ type: "always_allow";
3320
+ } | {
3321
+ type: "always_ask";
3322
+ } | {
3323
+ type: "auto";
3324
+ };
3325
+ type: "web_fetch";
3326
+ allowed_domains?: Array<string>;
3327
+ blocked_domains?: Array<string>;
3328
+ max_content_tokens?: null | number;
3329
+ } | {
3330
+ enabled: boolean;
3331
+ name: "web_search";
3332
+ permission_policy: {
3333
+ type: "always_allow";
3334
+ } | {
3335
+ type: "always_ask";
3336
+ } | {
3337
+ type: "auto";
3338
+ };
3339
+ type: "web_search";
3340
+ allowed_domains?: Array<string>;
3341
+ blocked_domains?: Array<string>;
3342
+ user_location?: null | {
3343
+ type: "approximate";
3344
+ city?: null | string;
3345
+ country?: null | string;
3346
+ region?: null | string;
3347
+ timezone?: null | string;
3348
+ };
3349
+ } | {
3350
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3351
+ enabled: boolean;
3352
+ permission_policy: {
3353
+ type: "always_allow" | "always_ask";
3354
+ };
3355
+ }>;
3356
+ default_config: {
3357
+ enabled: boolean;
3358
+ permission_policy: {
3359
+ type: "always_allow";
3360
+ } | {
3361
+ type: "always_ask";
3362
+ } | {
3363
+ type: "auto";
3364
+ };
3365
+ };
3366
+ type: "agent_toolset_20260401";
3367
+ } | {
3368
+ type: "mcp_toolset";
3369
+ mcp_server_name: string;
3370
+ default_config?: {
3371
+ enabled?: boolean | null;
3372
+ permission_policy?: null | {
3373
+ type: "always_allow" | "always_ask";
3374
+ };
3375
+ } | null;
3376
+ configs?: Array<{
3377
+ name: string;
3378
+ enabled?: boolean | null;
3379
+ permission_policy?: null | {
3380
+ type: "always_allow" | "always_ask";
3381
+ };
3382
+ }> | null;
3383
+ } | {
3384
+ description: string;
3385
+ input_schema: {
3386
+ type: "object";
3387
+ properties?: null | {
3388
+ [key: string]: unknown;
3389
+ };
3390
+ required?: null | Array<string>;
3391
+ [key: string]: unknown;
3392
+ };
3393
+ name: string;
3394
+ type: "custom";
3395
+ }>;
3396
+ type: "agent";
3397
+ version: number;
3398
+ };
3399
+ archived_at: null | string;
3400
+ budget: null | {
3401
+ max_list_cost: {
3402
+ amount: string;
3403
+ currency: "USD";
3404
+ };
3405
+ type: "limit";
3406
+ };
3407
+ created_at: string;
3408
+ environment_id?: string;
3409
+ metadata: {
3410
+ [key: string]: string;
3411
+ };
3412
+ outcome_evaluations: Array<{
3413
+ completed_at: null | string;
3414
+ description: string;
3415
+ explanation: null | string;
3416
+ iteration: number;
3417
+ outcome_id: string;
3418
+ result: string;
3419
+ type: "outcome_evaluation";
3420
+ }>;
3421
+ resources: Array<{
3422
+ id: string;
3423
+ created_at: string;
3424
+ mount_path: string;
3425
+ type: "github_repository";
3426
+ updated_at: string;
3427
+ url: string;
3428
+ checkout?: null | {
3429
+ name: string;
3430
+ type: "branch";
3431
+ } | {
3432
+ sha: string;
3433
+ type: "commit";
3434
+ };
3435
+ } | {
3436
+ id: string;
3437
+ created_at: string;
3438
+ file_id: string;
3439
+ mount_path: string;
3440
+ type: "file";
3441
+ updated_at: string;
3442
+ } | {
3443
+ memory_store_id: string;
3444
+ type: "memory_store";
3445
+ access?: null | "read_write" | "read_only";
3446
+ description?: string;
3447
+ instructions?: null | string;
3448
+ mount_path?: null | string;
3449
+ name?: null | string;
3450
+ }>;
3451
+ stats: {
3452
+ active_seconds?: number;
3453
+ duration_seconds?: number;
3454
+ };
3455
+ status: "rescheduling" | "running" | "idle" | "terminated";
3456
+ title: null | string;
3457
+ type: "session";
3458
+ updated_at: string;
3459
+ usage: {
3460
+ active_seconds?: number;
3461
+ cache_creation?: {
3462
+ ephemeral_1h_input_tokens?: number;
3463
+ ephemeral_5m_input_tokens?: number;
3464
+ };
3465
+ cache_read_input_tokens?: number;
3466
+ input_tokens?: number;
3467
+ list_cost?: null | {
3468
+ amount: string;
3469
+ currency: "USD";
3470
+ };
3471
+ output_tokens?: number;
3472
+ server_tool_use?: null | {
3473
+ web_fetch_requests?: number;
3474
+ web_search_requests?: number;
3475
+ };
3476
+ cost_by_product?: {
3477
+ [key: string]: string;
3478
+ };
3479
+ subagent_cost_micro_usd?: number;
3480
+ };
3481
+ vault_ids: Array<string>;
3482
+ deployment_id?: null | string;
3483
+ cwd: string;
3484
+ workspace?: {
3485
+ kind: "shared" | "isolated";
3486
+ path?: string;
3487
+ branch?: string;
3488
+ };
3489
+ computer_id?: string;
3490
+ model?: {
3491
+ id: string;
3492
+ thinking: {
3493
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3494
+ can_disable: boolean;
3495
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3496
+ } | null;
3497
+ };
3498
+ thinking?: {
3499
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3500
+ } | null;
3501
+ forked_from?: {
3502
+ session_id: string;
3503
+ message_id: string;
3504
+ } | null;
3505
+ readonly external_user_id: string | null;
3506
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3507
+ }>;
3508
+ };
3509
+ archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
3510
+ id: string;
3511
+ agent: {
3512
+ id: string;
3513
+ description: null | string;
3514
+ mcp_servers: Array<Types.AgentManaged36>;
3515
+ model: {
3516
+ id: string;
3517
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
3518
+ inference_geo?: string;
3519
+ speed?: "standard" | "fast";
3520
+ settings?: {
3521
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3522
+ max_output_tokens?: number;
3523
+ };
3524
+ };
3525
+ multiagent: null | Types.AgentManaged171;
3526
+ name: string;
3527
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
3528
+ system: null | string;
3529
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
3530
+ type: "agent";
3531
+ version: number;
3532
+ };
3533
+ archived_at: null | string;
3534
+ budget: null | Types.AgentManaged76;
3535
+ created_at: string;
3536
+ environment_id?: string;
3537
+ metadata: Types.AgentManaged173;
3538
+ outcome_evaluations: Array<Types.AgentManaged174>;
3539
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3540
+ stats: Types.AgentManaged178;
3541
+ status: "rescheduling" | "running" | "idle" | "terminated";
3542
+ title: null | string;
3543
+ type: "session";
3544
+ updated_at: string;
3545
+ usage: Types.AgentManaged179;
3546
+ vault_ids: Array<string>;
3547
+ deployment_id?: null | string;
3548
+ cwd: string;
3549
+ workspace?: {
3550
+ kind: "shared" | "isolated";
3551
+ path?: string;
3552
+ branch?: string;
3553
+ };
3554
+ computer_id?: string;
3555
+ model?: {
3556
+ id: string;
3557
+ thinking: {
3558
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3559
+ can_disable: boolean;
3560
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3561
+ } | null;
3562
+ };
3563
+ thinking?: {
3564
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2491
3565
  } | null;
2492
3566
  forked_from?: {
2493
3567
  session_id: string;
@@ -2517,6 +3591,12 @@ export declare function createAgent(transport: Transport): {
2517
3591
  filename: string;
2518
3592
  mime_type: string;
2519
3593
  bytes: number;
3594
+ } | {
3595
+ kind: "object";
3596
+ object_type: "canvas" | "media_asset";
3597
+ object_id: string;
3598
+ href: string;
3599
+ title: string | null;
2520
3600
  }>;
2521
3601
  source_hrefs: Array<string>;
2522
3602
  create_time: string;
@@ -2606,6 +3686,7 @@ export declare function createAgent(transport: Transport): {
2606
3686
  speed?: "standard" | "fast";
2607
3687
  settings?: {
2608
3688
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3689
+ max_output_tokens?: number;
2609
3690
  };
2610
3691
  };
2611
3692
  multiagent: null | Types.AgentManaged171;
@@ -2632,6 +3713,11 @@ export declare function createAgent(transport: Transport): {
2632
3713
  vault_ids: Array<string>;
2633
3714
  deployment_id?: null | string;
2634
3715
  cwd: string;
3716
+ workspace?: {
3717
+ kind: "shared" | "isolated";
3718
+ path?: string;
3719
+ branch?: string;
3720
+ };
2635
3721
  computer_id?: string;
2636
3722
  model?: {
2637
3723
  id: string;
@@ -2652,6 +3738,13 @@ export declare function createAgent(transport: Transport): {
2652
3738
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2653
3739
  }>;
2654
3740
  delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
3741
+ dictations: {
3742
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
3743
+ id: string;
3744
+ push_url: string;
3745
+ expires_at: string;
3746
+ }>;
3747
+ };
2655
3748
  events: {
2656
3749
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
2657
3750
  data: Array<{
@@ -2692,7 +3785,6 @@ export declare function createAgent(transport: Transport): {
2692
3785
  run_id: string | null;
2693
3786
  message_id?: string;
2694
3787
  } | {
2695
- full_access_available?: boolean;
2696
3788
  id: string;
2697
3789
  input: Types.AgentManaged197;
2698
3790
  mcp_server_name: string;
@@ -2702,6 +3794,18 @@ export declare function createAgent(transport: Transport): {
2702
3794
  evaluated_permission?: "allow" | "deny" | "ask";
2703
3795
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2704
3796
  session_thread_id?: null | string;
3797
+ permission_suggestions?: Array<{
3798
+ type: "add_rules";
3799
+ behavior: "allow";
3800
+ destination: "agent" | "session";
3801
+ rules: Array<{
3802
+ tool_name: string;
3803
+ rule_content: string;
3804
+ }>;
3805
+ }>;
3806
+ full_access_available?: boolean;
3807
+ user_once?: true;
3808
+ guarded_rule?: string;
2705
3809
  run_id: string | null;
2706
3810
  _meta?: {
2707
3811
  ui?: {
@@ -2715,17 +3819,6 @@ export declare function createAgent(transport: Transport): {
2715
3819
  };
2716
3820
  source?: "app" | "codemode";
2717
3821
  parent_tool_use_id?: string;
2718
- user_once?: true;
2719
- guarded_rule?: string;
2720
- permission_suggestions?: Array<{
2721
- type: "add_rules";
2722
- behavior: "allow";
2723
- destination: "agent" | "session";
2724
- rules: Array<{
2725
- tool_name: string;
2726
- rule_content: string;
2727
- }>;
2728
- }>;
2729
3822
  title?: string;
2730
3823
  input_titles?: {
2731
3824
  [key: string]: string;
@@ -2744,7 +3837,6 @@ export declare function createAgent(transport: Transport): {
2744
3837
  };
2745
3838
  source?: "app" | "codemode";
2746
3839
  } | {
2747
- full_access_available?: boolean;
2748
3840
  id: string;
2749
3841
  input: Types.AgentManaged206;
2750
3842
  name: string;
@@ -2753,9 +3845,6 @@ export declare function createAgent(transport: Transport): {
2753
3845
  evaluated_permission?: "allow" | "deny" | "ask";
2754
3846
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2755
3847
  session_thread_id?: null | string;
2756
- run_id: string | null;
2757
- user_once?: true;
2758
- guarded_rule?: string;
2759
3848
  permission_suggestions?: Array<{
2760
3849
  type: "add_rules";
2761
3850
  behavior: "allow";
@@ -2765,6 +3854,10 @@ export declare function createAgent(transport: Transport): {
2765
3854
  rule_content: string;
2766
3855
  }>;
2767
3856
  }>;
3857
+ full_access_available?: boolean;
3858
+ user_once?: true;
3859
+ guarded_rule?: string;
3860
+ run_id: string | null;
2768
3861
  } | {
2769
3862
  id: string;
2770
3863
  processed_at: string;
@@ -2785,9 +3878,6 @@ export declare function createAgent(transport: Transport): {
2785
3878
  type: "session.status_idle";
2786
3879
  run_id: string | null;
2787
3880
  } | 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 | {
2788
- permission_mode_version?: number;
2789
- previous_permission_mode?: string | null;
2790
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2791
3881
  id: string;
2792
3882
  processed_at: string;
2793
3883
  type: "session.updated";
@@ -2795,6 +3885,9 @@ export declare function createAgent(transport: Transport): {
2795
3885
  budget?: null | Types.AgentManaged76;
2796
3886
  metadata?: Types.AgentManaged246;
2797
3887
  title?: null | string;
3888
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3889
+ previous_permission_mode?: string | null;
3890
+ permission_mode_version?: number;
2798
3891
  model?: {
2799
3892
  id: string;
2800
3893
  };
@@ -2804,6 +3897,8 @@ export declare function createAgent(transport: Transport): {
2804
3897
  processed_at: string;
2805
3898
  forked_from_session_id: string;
2806
3899
  forked_from_message_id: string;
3900
+ message_id?: string;
3901
+ session_thread_id?: string | null;
2807
3902
  } | {
2808
3903
  id: string;
2809
3904
  type: "session.goal_changed";
@@ -2834,40 +3929,202 @@ export declare function createAgent(transport: Transport): {
2834
3929
  created_at: number;
2835
3930
  updated_at: number;
2836
3931
  } | null;
3932
+ message_id?: string;
3933
+ session_thread_id?: string | null;
3934
+ } | {
3935
+ id: string;
3936
+ type: "session.goal_verification";
3937
+ processed_at: string;
3938
+ status: "started" | "completed" | "failed_closed" | "cancelled";
3939
+ goal_id: string;
3940
+ goal_iteration: number;
3941
+ verification_id: string;
3942
+ anchor_message_id: string | null;
3943
+ verification?: {
3944
+ passed: boolean;
3945
+ reason: string;
3946
+ next_action?: string;
3947
+ };
3948
+ message_id?: string;
3949
+ session_thread_id?: string | null;
3950
+ } | {
3951
+ id: string;
3952
+ type: "user.steer";
3953
+ event_id: string;
3954
+ processed_at: string;
3955
+ message_id?: string;
3956
+ session_thread_id?: string | null;
3957
+ } | {
3958
+ id: string;
3959
+ type: "cognition.surfaced";
3960
+ processed_at: string;
3961
+ worker_session_id: string;
3962
+ name: string;
3963
+ state: "done" | "waiting" | "failed" | "archived";
3964
+ experience_id?: string;
3965
+ result?: {
3966
+ message?: string;
3967
+ links?: Array<string>;
3968
+ files?: Array<{
3969
+ name?: string;
3970
+ href?: string;
3971
+ }>;
3972
+ held?: Array<{
3973
+ id?: string;
3974
+ summary?: string;
3975
+ effect?: string;
3976
+ method?: string;
3977
+ path?: string;
3978
+ expires_at?: string;
3979
+ }>;
3980
+ };
3981
+ } | {
3982
+ id: string;
3983
+ type: "cognition.intention_woken";
3984
+ processed_at: string;
3985
+ node_id: string;
3986
+ reason: "open_engram" | "assignment";
3987
+ } | {
3988
+ id: string;
3989
+ type: "agent.operation_approval_requested";
3990
+ processed_at: string;
3991
+ approval_id: string;
3992
+ operation_id: string;
3993
+ effect: "outward" | "irreversible";
3994
+ method: string;
3995
+ path: string;
3996
+ summary: string;
3997
+ expires_at: string;
3998
+ worker_session_id?: string;
3999
+ worker_name?: string;
4000
+ } | {
4001
+ id: string;
4002
+ type: "agent.operation_approval_decided";
4003
+ processed_at: string;
4004
+ approval_id: string;
4005
+ status: "approved" | "refused" | "expired";
4006
+ } | {
4007
+ id: string;
4008
+ type: "session.prompt_configuration_mismatch";
4009
+ processed_at: string;
4010
+ pinned_revision_id: string;
4011
+ current_revision_id: string;
4012
+ } | {
4013
+ id: string;
4014
+ type: "session.prompt_rev_changed";
4015
+ processed_at: string;
4016
+ config_revision_id: string;
4017
+ changed: Array<{
4018
+ name: string;
4019
+ rev: string | null;
4020
+ }>;
4021
+ } | {
4022
+ id: string;
4023
+ type: "session.computer_tier";
4024
+ processed_at: string;
4025
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
4026
+ tier: "light" | "heavy";
4027
+ duration_ms: number;
4028
+ error_code?: string;
4029
+ status?: {
4030
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
4031
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
4032
+ percent?: number;
4033
+ files_done?: number;
4034
+ files_total?: number;
4035
+ idle_release_at?: number;
4036
+ retry_at?: number;
4037
+ epoch?: number;
4038
+ heavy_instance?: string | null;
4039
+ heavy_paused?: boolean;
4040
+ };
4041
+ } | {
4042
+ id: string;
4043
+ type: "agent.artifact_delivered";
4044
+ processed_at: string;
4045
+ artifact: {
4046
+ object: "artifact";
4047
+ id: string;
4048
+ session_id: string;
4049
+ run_id: string | null;
4050
+ name: string;
4051
+ version: number;
4052
+ parts: Array<{
4053
+ [key: string]: unknown;
4054
+ }>;
4055
+ source_hrefs: Array<string>;
4056
+ create_time: string;
4057
+ update_time: string;
4058
+ };
2837
4059
  } | {
2838
4060
  id: string;
2839
- type: "session.goal_verification";
4061
+ type: "agent.image_generation";
2840
4062
  processed_at: string;
2841
- status: "started" | "completed" | "failed_closed" | "cancelled";
2842
- goal_id: string;
2843
- goal_iteration: number;
2844
- verification_id: string;
2845
- anchor_message_id: string | null;
2846
- verification?: {
2847
- passed: boolean;
2848
- reason: string;
2849
- next_action?: string;
4063
+ tool_use_id: string;
4064
+ index: number;
4065
+ total: number;
4066
+ status: string;
4067
+ mode?: string;
4068
+ aspect?: string;
4069
+ prompt?: string;
4070
+ model?: string;
4071
+ file_id?: string;
4072
+ label?: string;
4073
+ width?: number;
4074
+ height?: number;
4075
+ revised_prompt?: string;
4076
+ source_labels?: Array<string>;
4077
+ caption?: string;
4078
+ slot?: number | null;
4079
+ replaces?: string;
4080
+ version?: number;
4081
+ failure?: {
4082
+ reason?: string;
2850
4083
  };
2851
4084
  } | {
2852
4085
  id: string;
2853
- type: "user.steer";
2854
- event_id: string;
4086
+ type: "session.image_labeled";
2855
4087
  processed_at: string;
4088
+ label: string;
4089
+ file_id: string;
4090
+ origin: "generated" | "uploaded";
4091
+ filename: string;
4092
+ tool_use_id?: string;
4093
+ version?: number;
4094
+ replaced_file_id?: string;
2856
4095
  } | {
2857
4096
  id: string;
2858
- type: "user.tool_confirmation";
4097
+ type: "session.image_set_planned";
2859
4098
  processed_at: string;
2860
4099
  tool_use_id: string;
2861
- result: "allow";
2862
- answers: {
2863
- [key: string]: string;
2864
- };
2865
- annotations?: {
2866
- [key: string]: {
2867
- preview?: string;
2868
- notes?: string;
2869
- };
4100
+ items: Array<unknown>;
4101
+ title?: string;
4102
+ } | {
4103
+ id: string;
4104
+ type: "session.project_attached";
4105
+ processed_at: string;
4106
+ project: {
4107
+ id: string;
4108
+ name: string;
4109
+ path: string;
2870
4110
  };
4111
+ message_id?: string;
4112
+ session_thread_id?: string | null;
4113
+ } | {
4114
+ id: string;
4115
+ type: "session.project_detached";
4116
+ processed_at: string;
4117
+ project_id: string;
4118
+ reason?: "project_removed";
4119
+ message_id?: string;
4120
+ session_thread_id?: string | null;
4121
+ } | {
4122
+ id: string;
4123
+ type: "session.status_preparing";
4124
+ processed_at: string;
4125
+ stage: "launching" | "loading" | "ready";
4126
+ message_id?: string;
4127
+ session_thread_id?: string | null;
2871
4128
  }>;
2872
4129
  next_page: string | null;
2873
4130
  }>;
@@ -2888,21 +4145,8 @@ export declare function createAgent(transport: Transport): {
2888
4145
  type: "user.steer";
2889
4146
  event_id: string;
2890
4147
  processed_at: string;
2891
- } | {
2892
- id: string;
2893
- type: "user.tool_confirmation";
2894
- processed_at: string;
2895
- tool_use_id: string;
2896
- result: "allow";
2897
- answers: {
2898
- [key: string]: string;
2899
- };
2900
- annotations?: {
2901
- [key: string]: {
2902
- preview?: string;
2903
- notes?: string;
2904
- };
2905
- };
4148
+ message_id?: string;
4149
+ session_thread_id?: string | null;
2906
4150
  }>;
2907
4151
  }>;
2908
4152
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2955,6 +4199,7 @@ export declare function createAgent(transport: Transport): {
2955
4199
  speed?: "standard" | "fast";
2956
4200
  settings?: {
2957
4201
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4202
+ max_output_tokens?: number;
2958
4203
  };
2959
4204
  };
2960
4205
  multiagent: null | {
@@ -3417,6 +4662,11 @@ export declare function createAgent(transport: Transport): {
3417
4662
  vault_ids: Array<string>;
3418
4663
  deployment_id?: null | string;
3419
4664
  cwd: string;
4665
+ workspace?: {
4666
+ kind: "shared" | "isolated";
4667
+ path?: string;
4668
+ branch?: string;
4669
+ };
3420
4670
  computer_id?: string;
3421
4671
  model?: {
3422
4672
  id: string;
@@ -3450,6 +4700,7 @@ export declare function createAgent(transport: Transport): {
3450
4700
  speed?: "standard" | "fast";
3451
4701
  settings?: {
3452
4702
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4703
+ max_output_tokens?: number;
3453
4704
  };
3454
4705
  };
3455
4706
  multiagent: null | Types.AgentManaged171;
@@ -3476,6 +4727,11 @@ export declare function createAgent(transport: Transport): {
3476
4727
  vault_ids: Array<string>;
3477
4728
  deployment_id?: null | string;
3478
4729
  cwd: string;
4730
+ workspace?: {
4731
+ kind: "shared" | "isolated";
4732
+ path?: string;
4733
+ branch?: string;
4734
+ };
3479
4735
  computer_id?: string;
3480
4736
  model?: {
3481
4737
  id: string;
@@ -3497,6 +4753,543 @@ export declare function createAgent(transport: Transport): {
3497
4753
  }>;
3498
4754
  next_page: string | null;
3499
4755
  }>;
4756
+ name: {
4757
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4758
+ id: string;
4759
+ agent: {
4760
+ id: string;
4761
+ description: null | string;
4762
+ mcp_servers: Array<{
4763
+ type: "url";
4764
+ name: string;
4765
+ url: string;
4766
+ headers?: {
4767
+ [key: string]: string;
4768
+ };
4769
+ timeout_ms?: number;
4770
+ } | {
4771
+ type: "sse";
4772
+ name: string;
4773
+ url: string;
4774
+ headers?: {
4775
+ [key: string]: string;
4776
+ };
4777
+ timeout_ms?: number;
4778
+ } | {
4779
+ type: "stdio";
4780
+ name: string;
4781
+ command: string;
4782
+ args?: Array<string>;
4783
+ env?: {
4784
+ [key: string]: string;
4785
+ };
4786
+ timeout_ms?: number;
4787
+ }>;
4788
+ model: {
4789
+ id: string;
4790
+ effort?: {
4791
+ type: "low";
4792
+ } | {
4793
+ type: "medium";
4794
+ } | {
4795
+ type: "high";
4796
+ } | {
4797
+ type: "xhigh";
4798
+ } | {
4799
+ type: "max";
4800
+ };
4801
+ inference_geo?: string;
4802
+ speed?: "standard" | "fast";
4803
+ settings?: {
4804
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4805
+ max_output_tokens?: number;
4806
+ };
4807
+ };
4808
+ multiagent: null | {
4809
+ agents: Array<{
4810
+ model: string;
4811
+ type: "advisor";
4812
+ } | {
4813
+ id: string;
4814
+ description: null | string;
4815
+ mcp_servers: Array<{
4816
+ type: "url";
4817
+ name: string;
4818
+ url: string;
4819
+ headers?: {
4820
+ [key: string]: string;
4821
+ };
4822
+ timeout_ms?: number;
4823
+ } | {
4824
+ type: "sse";
4825
+ name: string;
4826
+ url: string;
4827
+ headers?: {
4828
+ [key: string]: string;
4829
+ };
4830
+ timeout_ms?: number;
4831
+ } | {
4832
+ type: "stdio";
4833
+ name: string;
4834
+ command: string;
4835
+ args?: Array<string>;
4836
+ env?: {
4837
+ [key: string]: string;
4838
+ };
4839
+ timeout_ms?: number;
4840
+ }>;
4841
+ model: {
4842
+ id: string;
4843
+ effort?: {
4844
+ type: "low";
4845
+ } | {
4846
+ type: "medium";
4847
+ } | {
4848
+ type: "high";
4849
+ } | {
4850
+ type: "xhigh";
4851
+ } | {
4852
+ type: "max";
4853
+ };
4854
+ inference_geo?: string;
4855
+ speed?: "standard" | "fast";
4856
+ };
4857
+ name: string;
4858
+ skills: Array<{
4859
+ skill_id: string;
4860
+ type: "anthropic";
4861
+ version: string;
4862
+ } | {
4863
+ skill_id: string;
4864
+ type: "custom";
4865
+ version: string;
4866
+ }>;
4867
+ system: null | string;
4868
+ tools: Array<{
4869
+ configs: Array<{
4870
+ enabled: boolean;
4871
+ name: "bash";
4872
+ permission_policy: {
4873
+ type: "always_allow";
4874
+ } | {
4875
+ type: "always_ask";
4876
+ } | {
4877
+ type: "auto";
4878
+ };
4879
+ type: "bash";
4880
+ } | {
4881
+ enabled: boolean;
4882
+ name: "edit";
4883
+ permission_policy: {
4884
+ type: "always_allow";
4885
+ } | {
4886
+ type: "always_ask";
4887
+ } | {
4888
+ type: "auto";
4889
+ };
4890
+ type: "edit";
4891
+ } | {
4892
+ enabled: boolean;
4893
+ name: "read";
4894
+ permission_policy: {
4895
+ type: "always_allow";
4896
+ } | {
4897
+ type: "always_ask";
4898
+ } | {
4899
+ type: "auto";
4900
+ };
4901
+ type: "read";
4902
+ } | {
4903
+ enabled: boolean;
4904
+ name: "write";
4905
+ permission_policy: {
4906
+ type: "always_allow";
4907
+ } | {
4908
+ type: "always_ask";
4909
+ } | {
4910
+ type: "auto";
4911
+ };
4912
+ type: "write";
4913
+ } | {
4914
+ enabled: boolean;
4915
+ name: "glob";
4916
+ permission_policy: {
4917
+ type: "always_allow";
4918
+ } | {
4919
+ type: "always_ask";
4920
+ } | {
4921
+ type: "auto";
4922
+ };
4923
+ type: "glob";
4924
+ } | {
4925
+ enabled: boolean;
4926
+ name: "grep";
4927
+ permission_policy: {
4928
+ type: "always_allow";
4929
+ } | {
4930
+ type: "always_ask";
4931
+ } | {
4932
+ type: "auto";
4933
+ };
4934
+ type: "grep";
4935
+ } | {
4936
+ enabled: boolean;
4937
+ name: "web_fetch";
4938
+ permission_policy: {
4939
+ type: "always_allow";
4940
+ } | {
4941
+ type: "always_ask";
4942
+ } | {
4943
+ type: "auto";
4944
+ };
4945
+ type: "web_fetch";
4946
+ allowed_domains?: Array<string>;
4947
+ blocked_domains?: Array<string>;
4948
+ max_content_tokens?: null | number;
4949
+ } | {
4950
+ enabled: boolean;
4951
+ name: "web_search";
4952
+ permission_policy: {
4953
+ type: "always_allow";
4954
+ } | {
4955
+ type: "always_ask";
4956
+ } | {
4957
+ type: "auto";
4958
+ };
4959
+ type: "web_search";
4960
+ allowed_domains?: Array<string>;
4961
+ blocked_domains?: Array<string>;
4962
+ user_location?: null | {
4963
+ type: "approximate";
4964
+ city?: null | string;
4965
+ country?: null | string;
4966
+ region?: null | string;
4967
+ timezone?: null | string;
4968
+ };
4969
+ } | {
4970
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4971
+ enabled: boolean;
4972
+ permission_policy: {
4973
+ type: "always_allow" | "always_ask";
4974
+ };
4975
+ }>;
4976
+ default_config: {
4977
+ enabled: boolean;
4978
+ permission_policy: {
4979
+ type: "always_allow";
4980
+ } | {
4981
+ type: "always_ask";
4982
+ } | {
4983
+ type: "auto";
4984
+ };
4985
+ };
4986
+ type: "agent_toolset_20260401";
4987
+ } | {
4988
+ type: "mcp_toolset";
4989
+ mcp_server_name: string;
4990
+ default_config?: {
4991
+ enabled?: boolean | null;
4992
+ permission_policy?: null | {
4993
+ type: "always_allow" | "always_ask";
4994
+ };
4995
+ } | null;
4996
+ configs?: Array<{
4997
+ name: string;
4998
+ enabled?: boolean | null;
4999
+ permission_policy?: null | {
5000
+ type: "always_allow" | "always_ask";
5001
+ };
5002
+ }> | null;
5003
+ } | {
5004
+ description: string;
5005
+ input_schema: {
5006
+ type: "object";
5007
+ properties?: null | {
5008
+ [key: string]: unknown;
5009
+ };
5010
+ required?: null | Array<string>;
5011
+ [key: string]: unknown;
5012
+ };
5013
+ name: string;
5014
+ type: "custom";
5015
+ }>;
5016
+ type: "agent";
5017
+ version: number;
5018
+ }>;
5019
+ type: "coordinator";
5020
+ };
5021
+ name: string;
5022
+ skills: Array<{
5023
+ skill_id: string;
5024
+ type: "anthropic";
5025
+ version: string;
5026
+ } | {
5027
+ skill_id: string;
5028
+ type: "custom";
5029
+ version: string;
5030
+ }>;
5031
+ system: null | string;
5032
+ tools: Array<{
5033
+ configs: Array<{
5034
+ enabled: boolean;
5035
+ name: "bash";
5036
+ permission_policy: {
5037
+ type: "always_allow";
5038
+ } | {
5039
+ type: "always_ask";
5040
+ } | {
5041
+ type: "auto";
5042
+ };
5043
+ type: "bash";
5044
+ } | {
5045
+ enabled: boolean;
5046
+ name: "edit";
5047
+ permission_policy: {
5048
+ type: "always_allow";
5049
+ } | {
5050
+ type: "always_ask";
5051
+ } | {
5052
+ type: "auto";
5053
+ };
5054
+ type: "edit";
5055
+ } | {
5056
+ enabled: boolean;
5057
+ name: "read";
5058
+ permission_policy: {
5059
+ type: "always_allow";
5060
+ } | {
5061
+ type: "always_ask";
5062
+ } | {
5063
+ type: "auto";
5064
+ };
5065
+ type: "read";
5066
+ } | {
5067
+ enabled: boolean;
5068
+ name: "write";
5069
+ permission_policy: {
5070
+ type: "always_allow";
5071
+ } | {
5072
+ type: "always_ask";
5073
+ } | {
5074
+ type: "auto";
5075
+ };
5076
+ type: "write";
5077
+ } | {
5078
+ enabled: boolean;
5079
+ name: "glob";
5080
+ permission_policy: {
5081
+ type: "always_allow";
5082
+ } | {
5083
+ type: "always_ask";
5084
+ } | {
5085
+ type: "auto";
5086
+ };
5087
+ type: "glob";
5088
+ } | {
5089
+ enabled: boolean;
5090
+ name: "grep";
5091
+ permission_policy: {
5092
+ type: "always_allow";
5093
+ } | {
5094
+ type: "always_ask";
5095
+ } | {
5096
+ type: "auto";
5097
+ };
5098
+ type: "grep";
5099
+ } | {
5100
+ enabled: boolean;
5101
+ name: "web_fetch";
5102
+ permission_policy: {
5103
+ type: "always_allow";
5104
+ } | {
5105
+ type: "always_ask";
5106
+ } | {
5107
+ type: "auto";
5108
+ };
5109
+ type: "web_fetch";
5110
+ allowed_domains?: Array<string>;
5111
+ blocked_domains?: Array<string>;
5112
+ max_content_tokens?: null | number;
5113
+ } | {
5114
+ enabled: boolean;
5115
+ name: "web_search";
5116
+ permission_policy: {
5117
+ type: "always_allow";
5118
+ } | {
5119
+ type: "always_ask";
5120
+ } | {
5121
+ type: "auto";
5122
+ };
5123
+ type: "web_search";
5124
+ allowed_domains?: Array<string>;
5125
+ blocked_domains?: Array<string>;
5126
+ user_location?: null | {
5127
+ type: "approximate";
5128
+ city?: null | string;
5129
+ country?: null | string;
5130
+ region?: null | string;
5131
+ timezone?: null | string;
5132
+ };
5133
+ } | {
5134
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
5135
+ enabled: boolean;
5136
+ permission_policy: {
5137
+ type: "always_allow" | "always_ask";
5138
+ };
5139
+ }>;
5140
+ default_config: {
5141
+ enabled: boolean;
5142
+ permission_policy: {
5143
+ type: "always_allow";
5144
+ } | {
5145
+ type: "always_ask";
5146
+ } | {
5147
+ type: "auto";
5148
+ };
5149
+ };
5150
+ type: "agent_toolset_20260401";
5151
+ } | {
5152
+ type: "mcp_toolset";
5153
+ mcp_server_name: string;
5154
+ default_config?: {
5155
+ enabled?: boolean | null;
5156
+ permission_policy?: null | {
5157
+ type: "always_allow" | "always_ask";
5158
+ };
5159
+ } | null;
5160
+ configs?: Array<{
5161
+ name: string;
5162
+ enabled?: boolean | null;
5163
+ permission_policy?: null | {
5164
+ type: "always_allow" | "always_ask";
5165
+ };
5166
+ }> | null;
5167
+ } | {
5168
+ description: string;
5169
+ input_schema: {
5170
+ type: "object";
5171
+ properties?: null | {
5172
+ [key: string]: unknown;
5173
+ };
5174
+ required?: null | Array<string>;
5175
+ [key: string]: unknown;
5176
+ };
5177
+ name: string;
5178
+ type: "custom";
5179
+ }>;
5180
+ type: "agent";
5181
+ version: number;
5182
+ };
5183
+ archived_at: null | string;
5184
+ budget: null | {
5185
+ max_list_cost: {
5186
+ amount: string;
5187
+ currency: "USD";
5188
+ };
5189
+ type: "limit";
5190
+ };
5191
+ created_at: string;
5192
+ environment_id?: string;
5193
+ metadata: {
5194
+ [key: string]: string;
5195
+ };
5196
+ outcome_evaluations: Array<{
5197
+ completed_at: null | string;
5198
+ description: string;
5199
+ explanation: null | string;
5200
+ iteration: number;
5201
+ outcome_id: string;
5202
+ result: string;
5203
+ type: "outcome_evaluation";
5204
+ }>;
5205
+ resources: Array<{
5206
+ id: string;
5207
+ created_at: string;
5208
+ mount_path: string;
5209
+ type: "github_repository";
5210
+ updated_at: string;
5211
+ url: string;
5212
+ checkout?: null | {
5213
+ name: string;
5214
+ type: "branch";
5215
+ } | {
5216
+ sha: string;
5217
+ type: "commit";
5218
+ };
5219
+ } | {
5220
+ id: string;
5221
+ created_at: string;
5222
+ file_id: string;
5223
+ mount_path: string;
5224
+ type: "file";
5225
+ updated_at: string;
5226
+ } | {
5227
+ memory_store_id: string;
5228
+ type: "memory_store";
5229
+ access?: null | "read_write" | "read_only";
5230
+ description?: string;
5231
+ instructions?: null | string;
5232
+ mount_path?: null | string;
5233
+ name?: null | string;
5234
+ }>;
5235
+ stats: {
5236
+ active_seconds?: number;
5237
+ duration_seconds?: number;
5238
+ };
5239
+ status: "rescheduling" | "running" | "idle" | "terminated";
5240
+ title: null | string;
5241
+ type: "session";
5242
+ updated_at: string;
5243
+ usage: {
5244
+ active_seconds?: number;
5245
+ cache_creation?: {
5246
+ ephemeral_1h_input_tokens?: number;
5247
+ ephemeral_5m_input_tokens?: number;
5248
+ };
5249
+ cache_read_input_tokens?: number;
5250
+ input_tokens?: number;
5251
+ list_cost?: null | {
5252
+ amount: string;
5253
+ currency: "USD";
5254
+ };
5255
+ output_tokens?: number;
5256
+ server_tool_use?: null | {
5257
+ web_fetch_requests?: number;
5258
+ web_search_requests?: number;
5259
+ };
5260
+ cost_by_product?: {
5261
+ [key: string]: string;
5262
+ };
5263
+ subagent_cost_micro_usd?: number;
5264
+ };
5265
+ vault_ids: Array<string>;
5266
+ deployment_id?: null | string;
5267
+ cwd: string;
5268
+ workspace?: {
5269
+ kind: "shared" | "isolated";
5270
+ path?: string;
5271
+ branch?: string;
5272
+ };
5273
+ computer_id?: string;
5274
+ model?: {
5275
+ id: string;
5276
+ thinking: {
5277
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
5278
+ can_disable: boolean;
5279
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
5280
+ } | null;
5281
+ };
5282
+ thinking?: {
5283
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5284
+ } | null;
5285
+ forked_from?: {
5286
+ session_id: string;
5287
+ message_id: string;
5288
+ } | null;
5289
+ readonly external_user_id: string | null;
5290
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
5291
+ }>;
5292
+ };
3500
5293
  requests: {
3501
5294
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
3502
5295
  data: Array<{
@@ -3541,6 +5334,7 @@ export declare function createAgent(transport: Transport): {
3541
5334
  speed?: "standard" | "fast";
3542
5335
  settings?: {
3543
5336
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5337
+ max_output_tokens?: number;
3544
5338
  };
3545
5339
  };
3546
5340
  multiagent: null | Types.AgentManaged171;
@@ -3567,6 +5361,11 @@ export declare function createAgent(transport: Transport): {
3567
5361
  vault_ids: Array<string>;
3568
5362
  deployment_id?: null | string;
3569
5363
  cwd: string;
5364
+ workspace?: {
5365
+ kind: "shared" | "isolated";
5366
+ path?: string;
5367
+ branch?: string;
5368
+ };
3570
5369
  computer_id?: string;
3571
5370
  model?: {
3572
5371
  id: string;
@@ -3649,6 +5448,16 @@ export declare function createAgent(transport: Transport): {
3649
5448
  };
3650
5449
  measured_at: string | null;
3651
5450
  }>;
5451
+ retrievePromptRevs: (options: import("./core/transport.js").CallOptions<Types.GetSessionPromptRevsData>) => Promise<{
5452
+ run_id: string | null;
5453
+ config_revision_id: string;
5454
+ config_version: number | null;
5455
+ platform: {
5456
+ [key: string]: string;
5457
+ };
5458
+ at: number;
5459
+ reaped_turns: number;
5460
+ }>;
3652
5461
  runs: {
3653
5462
  deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
3654
5463
  feedback: {
@@ -3713,7 +5522,6 @@ export declare function createAgent(transport: Transport): {
3713
5522
  run_id: string | null;
3714
5523
  message_id?: string;
3715
5524
  } | {
3716
- full_access_available?: boolean;
3717
5525
  id: string;
3718
5526
  input: Types.AgentManaged197;
3719
5527
  mcp_server_name: string;
@@ -3723,6 +5531,18 @@ export declare function createAgent(transport: Transport): {
3723
5531
  evaluated_permission?: "allow" | "deny" | "ask";
3724
5532
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3725
5533
  session_thread_id?: null | string;
5534
+ permission_suggestions?: Array<{
5535
+ type: "add_rules";
5536
+ behavior: "allow";
5537
+ destination: "agent" | "session";
5538
+ rules: Array<{
5539
+ tool_name: string;
5540
+ rule_content: string;
5541
+ }>;
5542
+ }>;
5543
+ full_access_available?: boolean;
5544
+ user_once?: true;
5545
+ guarded_rule?: string;
3726
5546
  run_id: string | null;
3727
5547
  parent_tool_use_id?: string;
3728
5548
  _meta?: {
@@ -3736,17 +5556,6 @@ export declare function createAgent(transport: Transport): {
3736
5556
  };
3737
5557
  };
3738
5558
  source?: "app" | "codemode";
3739
- user_once?: true;
3740
- guarded_rule?: string;
3741
- permission_suggestions?: Array<{
3742
- type: "add_rules";
3743
- behavior: "allow";
3744
- destination: "agent" | "session";
3745
- rules: Array<{
3746
- tool_name: string;
3747
- rule_content: string;
3748
- }>;
3749
- }>;
3750
5559
  title?: string;
3751
5560
  input_titles?: {
3752
5561
  [key: string]: string;
@@ -3765,7 +5574,6 @@ export declare function createAgent(transport: Transport): {
3765
5574
  };
3766
5575
  source?: "app" | "codemode";
3767
5576
  } | {
3768
- full_access_available?: boolean;
3769
5577
  id: string;
3770
5578
  input: Types.AgentManaged206;
3771
5579
  name: string;
@@ -3774,9 +5582,6 @@ export declare function createAgent(transport: Transport): {
3774
5582
  evaluated_permission?: "allow" | "deny" | "ask";
3775
5583
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3776
5584
  session_thread_id?: null | string;
3777
- run_id: string | null;
3778
- user_once?: true;
3779
- guarded_rule?: string;
3780
5585
  permission_suggestions?: Array<{
3781
5586
  type: "add_rules";
3782
5587
  behavior: "allow";
@@ -3786,6 +5591,10 @@ export declare function createAgent(transport: Transport): {
3786
5591
  rule_content: string;
3787
5592
  }>;
3788
5593
  }>;
5594
+ full_access_available?: boolean;
5595
+ user_once?: true;
5596
+ guarded_rule?: string;
5597
+ run_id: string | null;
3789
5598
  } | {
3790
5599
  id: string;
3791
5600
  processed_at: string;
@@ -3806,9 +5615,6 @@ export declare function createAgent(transport: Transport): {
3806
5615
  type: "session.status_idle";
3807
5616
  run_id: string | null;
3808
5617
  } | 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 | {
3809
- permission_mode_version?: number;
3810
- previous_permission_mode?: string | null;
3811
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3812
5618
  id: string;
3813
5619
  processed_at: string;
3814
5620
  type: "session.updated";
@@ -3816,6 +5622,9 @@ export declare function createAgent(transport: Transport): {
3816
5622
  budget?: null | Types.AgentManaged76;
3817
5623
  metadata?: Types.AgentManaged246;
3818
5624
  title?: null | string;
5625
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5626
+ previous_permission_mode?: string | null;
5627
+ permission_mode_version?: number;
3819
5628
  model?: {
3820
5629
  id: string;
3821
5630
  };
@@ -3825,6 +5634,8 @@ export declare function createAgent(transport: Transport): {
3825
5634
  processed_at: string;
3826
5635
  forked_from_session_id: string;
3827
5636
  forked_from_message_id: string;
5637
+ message_id?: string;
5638
+ session_thread_id?: string | null;
3828
5639
  } | {
3829
5640
  id: string;
3830
5641
  type: "session.goal_changed";
@@ -3855,6 +5666,8 @@ export declare function createAgent(transport: Transport): {
3855
5666
  created_at: number;
3856
5667
  updated_at: number;
3857
5668
  } | null;
5669
+ message_id?: string;
5670
+ session_thread_id?: string | null;
3858
5671
  } | {
3859
5672
  id: string;
3860
5673
  type: "session.goal_verification";
@@ -3869,11 +5682,186 @@ export declare function createAgent(transport: Transport): {
3869
5682
  reason: string;
3870
5683
  next_action?: string;
3871
5684
  };
5685
+ message_id?: string;
5686
+ session_thread_id?: string | null;
3872
5687
  } | {
3873
5688
  id: string;
3874
5689
  type: "user.steer";
3875
5690
  event_id: string;
3876
5691
  processed_at: string;
5692
+ message_id?: string;
5693
+ session_thread_id?: string | null;
5694
+ } | {
5695
+ id: string;
5696
+ type: "cognition.surfaced";
5697
+ processed_at: string;
5698
+ worker_session_id: string;
5699
+ name: string;
5700
+ state: "done" | "waiting" | "failed" | "archived";
5701
+ experience_id?: string;
5702
+ result?: {
5703
+ message?: string;
5704
+ links?: Array<string>;
5705
+ files?: Array<{
5706
+ name?: string;
5707
+ href?: string;
5708
+ }>;
5709
+ held?: Array<{
5710
+ id?: string;
5711
+ summary?: string;
5712
+ effect?: string;
5713
+ method?: string;
5714
+ path?: string;
5715
+ expires_at?: string;
5716
+ }>;
5717
+ };
5718
+ } | {
5719
+ id: string;
5720
+ type: "cognition.intention_woken";
5721
+ processed_at: string;
5722
+ node_id: string;
5723
+ reason: "open_engram" | "assignment";
5724
+ } | {
5725
+ id: string;
5726
+ type: "agent.operation_approval_requested";
5727
+ processed_at: string;
5728
+ approval_id: string;
5729
+ operation_id: string;
5730
+ effect: "outward" | "irreversible";
5731
+ method: string;
5732
+ path: string;
5733
+ summary: string;
5734
+ expires_at: string;
5735
+ worker_session_id?: string;
5736
+ worker_name?: string;
5737
+ } | {
5738
+ id: string;
5739
+ type: "agent.operation_approval_decided";
5740
+ processed_at: string;
5741
+ approval_id: string;
5742
+ status: "approved" | "refused" | "expired";
5743
+ } | {
5744
+ id: string;
5745
+ type: "session.prompt_configuration_mismatch";
5746
+ processed_at: string;
5747
+ pinned_revision_id: string;
5748
+ current_revision_id: string;
5749
+ } | {
5750
+ id: string;
5751
+ type: "session.prompt_rev_changed";
5752
+ processed_at: string;
5753
+ config_revision_id: string;
5754
+ changed: Array<{
5755
+ name: string;
5756
+ rev: string | null;
5757
+ }>;
5758
+ } | {
5759
+ id: string;
5760
+ type: "session.computer_tier";
5761
+ processed_at: string;
5762
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
5763
+ tier: "light" | "heavy";
5764
+ duration_ms: number;
5765
+ error_code?: string;
5766
+ status?: {
5767
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
5768
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
5769
+ percent?: number;
5770
+ files_done?: number;
5771
+ files_total?: number;
5772
+ idle_release_at?: number;
5773
+ retry_at?: number;
5774
+ epoch?: number;
5775
+ heavy_instance?: string | null;
5776
+ heavy_paused?: boolean;
5777
+ };
5778
+ } | {
5779
+ id: string;
5780
+ type: "agent.artifact_delivered";
5781
+ processed_at: string;
5782
+ artifact: {
5783
+ object: "artifact";
5784
+ id: string;
5785
+ session_id: string;
5786
+ run_id: string | null;
5787
+ name: string;
5788
+ version: number;
5789
+ parts: Array<{
5790
+ [key: string]: unknown;
5791
+ }>;
5792
+ source_hrefs: Array<string>;
5793
+ create_time: string;
5794
+ update_time: string;
5795
+ };
5796
+ } | {
5797
+ id: string;
5798
+ type: "agent.image_generation";
5799
+ processed_at: string;
5800
+ tool_use_id: string;
5801
+ index: number;
5802
+ total: number;
5803
+ status: string;
5804
+ mode?: string;
5805
+ aspect?: string;
5806
+ prompt?: string;
5807
+ model?: string;
5808
+ file_id?: string;
5809
+ label?: string;
5810
+ width?: number;
5811
+ height?: number;
5812
+ revised_prompt?: string;
5813
+ source_labels?: Array<string>;
5814
+ caption?: string;
5815
+ slot?: number | null;
5816
+ replaces?: string;
5817
+ version?: number;
5818
+ failure?: {
5819
+ reason?: string;
5820
+ };
5821
+ } | {
5822
+ id: string;
5823
+ type: "session.image_labeled";
5824
+ processed_at: string;
5825
+ label: string;
5826
+ file_id: string;
5827
+ origin: "generated" | "uploaded";
5828
+ filename: string;
5829
+ tool_use_id?: string;
5830
+ version?: number;
5831
+ replaced_file_id?: string;
5832
+ } | {
5833
+ id: string;
5834
+ type: "session.image_set_planned";
5835
+ processed_at: string;
5836
+ tool_use_id: string;
5837
+ items: Array<unknown>;
5838
+ title?: string;
5839
+ } | {
5840
+ id: string;
5841
+ type: "session.project_attached";
5842
+ processed_at: string;
5843
+ project: {
5844
+ id: string;
5845
+ name: string;
5846
+ path: string;
5847
+ };
5848
+ message_id?: string;
5849
+ session_thread_id?: string | null;
5850
+ } | {
5851
+ id: string;
5852
+ type: "session.project_detached";
5853
+ processed_at: string;
5854
+ project_id: string;
5855
+ reason?: "project_removed";
5856
+ message_id?: string;
5857
+ session_thread_id?: string | null;
5858
+ } | {
5859
+ id: string;
5860
+ type: "session.status_preparing";
5861
+ processed_at: string;
5862
+ stage: "launching" | "loading" | "ready";
5863
+ message_id?: string;
5864
+ session_thread_id?: string | null;
3877
5865
  }>;
3878
5866
  next_page: string | null;
3879
5867
  }>;
@@ -3906,6 +5894,7 @@ export declare function createAgent(transport: Transport): {
3906
5894
  speed?: "standard" | "fast";
3907
5895
  settings?: {
3908
5896
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5897
+ max_output_tokens?: number;
3909
5898
  };
3910
5899
  };
3911
5900
  multiagent: null | Types.AgentManaged171;
@@ -3932,6 +5921,11 @@ export declare function createAgent(transport: Transport): {
3932
5921
  vault_ids: Array<string>;
3933
5922
  deployment_id?: null | string;
3934
5923
  cwd: string;
5924
+ workspace?: {
5925
+ kind: "shared" | "isolated";
5926
+ path?: string;
5927
+ branch?: string;
5928
+ };
3935
5929
  computer_id?: string;
3936
5930
  model?: {
3937
5931
  id: string;
@@ -3996,6 +5990,29 @@ export declare function createAgent(transport: Transport): {
3996
5990
  next_page: null;
3997
5991
  }>;
3998
5992
  };
5993
+ uploads: {
5994
+ contentUrl: {
5995
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5996
+ url: string;
5997
+ expires_at: string;
5998
+ }>;
5999
+ };
6000
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
6001
+ upload_id: string;
6002
+ expires_at: string;
6003
+ url: string;
6004
+ } | {
6005
+ upload_id: string;
6006
+ expires_at: string;
6007
+ part_size: number;
6008
+ parts: Array<{
6009
+ part_number: number;
6010
+ url: string;
6011
+ }>;
6012
+ complete_url: string;
6013
+ status_url: string;
6014
+ }>;
6015
+ };
3999
6016
  };
4000
6017
  export declare function createApplication(transport: Transport): {
4001
6018
  assets: {
@@ -4260,7 +6277,32 @@ export declare function createAutomation(transport: Transport): {
4260
6277
  };
4261
6278
  };
4262
6279
  };
6280
+ export declare function createBilling(transport: Transport): {
6281
+ prices: {
6282
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
6283
+ };
6284
+ };
4263
6285
  export declare function createBrowser(transport: Transport): {
6286
+ byob: {
6287
+ browsers: {
6288
+ disconnect: {
6289
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserDisconnectByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
6290
+ };
6291
+ list: (options?: import("./core/transport.js").CallOptions<Types.BrowserListByobBrowsersData> | undefined) => Promise<{
6292
+ data: Array<Types.BrowserByobBrowser>;
6293
+ nextCursor: string | null;
6294
+ }>;
6295
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
6296
+ update: (options: import("./core/transport.js").CallOptions<Types.BrowserUpdateByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
6297
+ };
6298
+ pairings: {
6299
+ claim: {
6300
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserClaimByobPairingData>) => Promise<Types.BrowserByobClaimResult>;
6301
+ };
6302
+ create: (options?: import("./core/transport.js").CallOptions<Types.BrowserCreateByobPairingData> | undefined) => Promise<Types.BrowserByobPairing>;
6303
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserReadByobPairingData>) => Promise<Types.BrowserByobPairingView>;
6304
+ };
6305
+ };
4264
6306
  connect: {
4265
6307
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
4266
6308
  };
@@ -4319,6 +6361,11 @@ export declare function createBrowser(transport: Transport): {
4319
6361
  type: "evaluate";
4320
6362
  tab: string;
4321
6363
  value: unknown;
6364
+ } | {
6365
+ type: "set_cookie";
6366
+ tab: string;
6367
+ name: string;
6368
+ domain: string;
4322
6369
  }>;
4323
6370
  };
4324
6371
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4357,10 +6404,18 @@ export declare function createCanvas(transport: Transport): {
4357
6404
  images: {
4358
6405
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
4359
6406
  };
6407
+ imports: {
6408
+ create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
6409
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
6410
+ };
6411
+ libraryVersions: {
6412
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
6413
+ };
4360
6414
  list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
4361
6415
  nodes: {
4362
6416
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
4363
6417
  };
6418
+ publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
4364
6419
  restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
4365
6420
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
4366
6421
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
@@ -4375,6 +6430,27 @@ export declare function createCanvas(transport: Transport): {
4375
6430
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
4376
6431
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4377
6432
  };
6433
+ libraries: {
6434
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
6435
+ };
6436
+ };
6437
+ export declare function createContent(transport: Transport): {
6438
+ contents: {
6439
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
6440
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
6441
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
6442
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
6443
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
6444
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
6445
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
6446
+ };
6447
+ playbackSessions: {
6448
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
6449
+ };
6450
+ versions: {
6451
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
6452
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
6453
+ };
4378
6454
  };
4379
6455
  export declare function createCrm(transport: Transport): {
4380
6456
  associations: {
@@ -4436,6 +6512,33 @@ export declare function createCrm(transport: Transport): {
4436
6512
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4437
6513
  };
4438
6514
  };
6515
+ export declare function createCustomer(transport: Transport): {
6516
+ accessTokens: {
6517
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
6518
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
6519
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
6520
+ };
6521
+ customers: {
6522
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
6523
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
6524
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
6525
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
6526
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
6527
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
6528
+ };
6529
+ grantCodes: {
6530
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
6531
+ };
6532
+ publishableKeys: {
6533
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
6534
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
6535
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
6536
+ update: (options: import("./core/transport.js").CallOptions<Types.CustomerUpdatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
6537
+ };
6538
+ usage: {
6539
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
6540
+ };
6541
+ };
4439
6542
  export declare function createCut(transport: Transport): {
4440
6543
  exports: {
4441
6544
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4488,15 +6591,40 @@ export declare function createCut(transport: Transport): {
4488
6591
  };
4489
6592
  export declare function createDatabase(transport: Transport): {
4490
6593
  databases: {
6594
+ commands: {
6595
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
6596
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
6597
+ result: unknown;
6598
+ }>;
6599
+ };
6600
+ /** @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. */
4491
6601
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
6602
+ /** @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. */
4492
6603
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4493
6604
  events: {
6605
+ /** @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. */
4494
6606
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4495
6607
  data: Array<Types.DatabaseDatabaseEvent>;
4496
6608
  }>;
4497
6609
  };
6610
+ keys: {
6611
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
6612
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
6613
+ deleted: boolean;
6614
+ }>;
6615
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
6616
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6617
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
6618
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
6619
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
6620
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
6621
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
6622
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
6623
+ };
6624
+ /** @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. */
4498
6625
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4499
6626
  purge: {
6627
+ /** @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. */
4500
6628
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4501
6629
  id: string;
4502
6630
  object: "database";
@@ -4504,38 +6632,136 @@ export declare function createDatabase(transport: Transport): {
4504
6632
  }>;
4505
6633
  };
4506
6634
  rest: {
6635
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
4507
6636
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6637
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
4508
6638
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6639
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
4509
6640
  head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
6641
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
4510
6642
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6643
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
4511
6644
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4512
6645
  };
6646
+ /** @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. */
4513
6647
  restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6648
+ /** @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. */
4514
6649
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
4515
6650
  tables: {
6651
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
4516
6652
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6653
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
4517
6654
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
4518
6655
  deleted: true;
4519
6656
  }>;
4520
6657
  fields: {
6658
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
4521
6659
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6660
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
4522
6661
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6662
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
4523
6663
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
4524
6664
  };
6665
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
4525
6666
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
4526
6667
  data: Array<Types.DatabaseTable>;
4527
6668
  }>;
6669
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
4528
6670
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6671
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
4529
6672
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
4530
6673
  };
6674
+ /** @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. */
4531
6675
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4532
6676
  };
6677
+ kv: {
6678
+ commands: {
6679
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6680
+ result: unknown;
6681
+ }>;
6682
+ };
6683
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6684
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6685
+ events: {
6686
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6687
+ data: Array<Types.DatabaseDatabaseEvent>;
6688
+ }>;
6689
+ };
6690
+ keys: {
6691
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6692
+ deleted: boolean;
6693
+ }>;
6694
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6695
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6696
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6697
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6698
+ };
6699
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6700
+ purge: {
6701
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6702
+ id: string;
6703
+ object: "database";
6704
+ purged: true;
6705
+ }>;
6706
+ };
6707
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6708
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6709
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6710
+ };
6711
+ table: {
6712
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6713
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6714
+ events: {
6715
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6716
+ data: Array<Types.DatabaseDatabaseEvent>;
6717
+ }>;
6718
+ };
6719
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6720
+ purge: {
6721
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6722
+ id: string;
6723
+ object: "database";
6724
+ purged: true;
6725
+ }>;
6726
+ };
6727
+ rest: {
6728
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6729
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6730
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6731
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6732
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6733
+ };
6734
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6735
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6736
+ tables: {
6737
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6738
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
6739
+ deleted: true;
6740
+ }>;
6741
+ fields: {
6742
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6743
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6744
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
6745
+ };
6746
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
6747
+ data: Array<Types.DatabaseTable>;
6748
+ }>;
6749
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6750
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6751
+ };
6752
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6753
+ };
4533
6754
  };
4534
6755
  export declare function createDevops(transport: Transport): {
4535
6756
  changes: {
4536
6757
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6758
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4537
6759
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6760
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4538
6761
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6762
+ slices: {
6763
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesSlicesCreateData>) => Promise<Types.DevopsChangeSliceOpened>;
6764
+ };
4539
6765
  };
4540
6766
  connections: {
4541
6767
  complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
@@ -4574,6 +6800,13 @@ export declare function createDevops(transport: Transport): {
4574
6800
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
4575
6801
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
4576
6802
  };
6803
+ cleanups: {
6804
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6805
+ };
6806
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6807
+ defaultBranch: {
6808
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6809
+ };
4577
6810
  environments: {
4578
6811
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4579
6812
  targets: {
@@ -4606,6 +6839,7 @@ export declare function createDevops(transport: Transport): {
4606
6839
  };
4607
6840
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4608
6841
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6842
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
4609
6843
  segments: {
4610
6844
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
4611
6845
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
@@ -4645,6 +6879,7 @@ export declare function createDevops(transport: Transport): {
4645
6879
  promotions: {
4646
6880
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4647
6881
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6882
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4648
6883
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4649
6884
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4650
6885
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4654,10 +6889,14 @@ export declare function createDevops(transport: Transport): {
4654
6889
  };
4655
6890
  };
4656
6891
  pullRequests: {
6892
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
4657
6893
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
4658
6894
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
4659
6895
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
4660
6896
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6897
+ reviews: {
6898
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6899
+ };
4661
6900
  };
4662
6901
  releases: {
4663
6902
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -4803,6 +7042,10 @@ export declare function createMedia(transport: Transport): {
4803
7042
  frames: {
4804
7043
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4805
7044
  };
7045
+ hls: {
7046
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
7047
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
7048
+ };
4806
7049
  import: {
4807
7050
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4808
7051
  };
@@ -4869,10 +7112,56 @@ export declare function createMedia(transport: Transport): {
4869
7112
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4870
7113
  };
4871
7114
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
7115
+ voices: {
7116
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
7117
+ designs: {
7118
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
7119
+ };
7120
+ };
7121
+ };
7122
+ pipelines: {
7123
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
7124
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaPipelineData>) => Promise<Types.MediaPipelineDeleted>;
7125
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaPipelinesData> | undefined) => Promise<Types.MediaPipelineList>;
7126
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaPipelineData>) => Promise<Types.MediaPipeline>;
7127
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaPipelineData>) => Promise<Types.MediaPipeline>;
4872
7128
  };
4873
7129
  speech: {
4874
7130
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
4875
7131
  };
7132
+ streams: {
7133
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
7134
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
7135
+ disable: {
7136
+ create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
7137
+ };
7138
+ enable: {
7139
+ create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
7140
+ };
7141
+ events: {
7142
+ list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
7143
+ };
7144
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
7145
+ outputs: {
7146
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
7147
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamOutputData>) => Promise<Types.MediaStreamOutputDeleted>;
7148
+ list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamOutputsData>) => Promise<Types.MediaStreamOutputList>;
7149
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
7150
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
7151
+ };
7152
+ playbackToken: {
7153
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamPlaybackData>) => Promise<Types.MediaStreamPlayback>;
7154
+ };
7155
+ resetToken: {
7156
+ create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
7157
+ };
7158
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
7159
+ retrievePlaylist: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamLivePlaylistData>) => Promise<string>;
7160
+ subscribeToken: {
7161
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamSubscriptionData>) => Promise<Types.MediaStreamSubscription>;
7162
+ };
7163
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
7164
+ };
4876
7165
  videos: {
4877
7166
  generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4878
7167
  };
@@ -5392,6 +7681,7 @@ export declare function createModel(transport: Transport): {
5392
7681
  unsigned_urls: Array<string>;
5393
7682
  usage?: {
5394
7683
  cost: number;
7684
+ billed_seconds?: number;
5395
7685
  };
5396
7686
  }>;
5397
7687
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5422,6 +7712,7 @@ export declare function createModel(transport: Transport): {
5422
7712
  unsigned_urls: Array<string>;
5423
7713
  usage?: {
5424
7714
  cost: number;
7715
+ billed_seconds?: number;
5425
7716
  };
5426
7717
  }>;
5427
7718
  has_more: boolean;
@@ -5450,6 +7741,7 @@ export declare function createModel(transport: Transport): {
5450
7741
  unsigned_urls: Array<string>;
5451
7742
  usage?: {
5452
7743
  cost: number;
7744
+ billed_seconds?: number;
5453
7745
  };
5454
7746
  }>;
5455
7747
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5487,23 +7779,6 @@ export declare function createOntology(transport: Transport): {
5487
7779
  };
5488
7780
  };
5489
7781
  export declare function createOrganization(transport: Transport): {
5490
- actors: {
5491
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
5492
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
5493
- };
5494
- assignments: {
5495
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
5496
- makePrimary: {
5497
- create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5498
- };
5499
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5500
- terminate: {
5501
- create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5502
- };
5503
- transfer: {
5504
- create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5505
- };
5506
- };
5507
7782
  charges: {
5508
7783
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5509
7784
  ChargePeriodStart: string;
@@ -5545,16 +7820,6 @@ export declare function createOrganization(transport: Transport): {
5545
7820
  next_page: string | null;
5546
7821
  }>;
5547
7822
  };
5548
- departments: {
5549
- create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5550
- dissolve: {
5551
- create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5552
- };
5553
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
5554
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5555
- update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5556
- updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
5557
- };
5558
7823
  events: {
5559
7824
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5560
7825
  object: "page";
@@ -5742,41 +8007,20 @@ export declare function createOrganization(transport: Transport): {
5742
8007
  update_time: string;
5743
8008
  reporter?: {
5744
8009
  type?: "user" | "api_key" | "agent_session";
5745
- };
5746
- last_message_preview?: {
5747
- author_kind?: "customer" | "staff" | "system";
5748
- body?: string;
5749
- create_time?: string;
5750
- } | null;
5751
- attachments: Array<{
5752
- id?: string;
5753
- name?: string;
5754
- content_type?: string;
5755
- size?: number;
5756
- create_time?: string;
5757
- }>;
5758
- }>;
5759
- };
5760
- jobs: {
5761
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
5762
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
5763
- retire: {
5764
- create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
5765
- };
5766
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
5767
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
5768
- };
5769
- keyResults: {
5770
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5771
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
5772
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5773
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5774
- };
5775
- ladders: {
5776
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5777
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
5778
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5779
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8010
+ };
8011
+ last_message_preview?: {
8012
+ author_kind?: "customer" | "staff" | "system";
8013
+ body?: string;
8014
+ create_time?: string;
8015
+ } | null;
8016
+ attachments: Array<{
8017
+ id?: string;
8018
+ name?: string;
8019
+ content_type?: string;
8020
+ size?: number;
8021
+ create_time?: string;
8022
+ }>;
8023
+ }>;
5780
8024
  };
5781
8025
  members: {
5782
8026
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
@@ -5791,51 +8035,109 @@ export declare function createOrganization(transport: Transport): {
5791
8035
  next_page: string | null;
5792
8036
  }>;
5793
8037
  };
5794
- objectives: {
5795
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5796
- grade: {
5797
- create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5798
- };
5799
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
5800
- parents: {
5801
- update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5802
- };
5803
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5804
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5805
- };
5806
- periods: {
5807
- close: {
5808
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5809
- };
5810
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5811
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
5812
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5813
- };
5814
- positions: {
5815
- close: {
5816
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5817
- };
5818
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
5819
- designateHead: {
5820
- create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
5821
- };
5822
- freeze: {
5823
- create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8038
+ notifications: {
8039
+ deliveries: {
8040
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
8041
+ [key: string]: unknown;
8042
+ }>;
5824
8043
  };
5825
- hire: {
5826
- create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8044
+ letters: {
8045
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
8046
+ unread: number;
8047
+ }>;
8048
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
8049
+ letters: Array<{
8050
+ id: string;
8051
+ sender: string;
8052
+ summary: string;
8053
+ body: string;
8054
+ thread: string;
8055
+ kind: "notice" | "mention" | "decision";
8056
+ source: {
8057
+ [key: string]: unknown;
8058
+ };
8059
+ read: boolean;
8060
+ deliveredAt: string;
8061
+ createTime: string;
8062
+ reason: string;
8063
+ archived: boolean;
8064
+ organization: {
8065
+ id: string;
8066
+ slug: string;
8067
+ name: string;
8068
+ };
8069
+ }>;
8070
+ nextCursor: string;
8071
+ unread: number;
8072
+ }>;
8073
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
8074
+ unread: number;
8075
+ }>;
8076
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
8077
+ unread: number;
8078
+ }>;
8079
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationLetterData>) => Promise<{
8080
+ id: string;
8081
+ sender: string;
8082
+ summary: string;
8083
+ body: string;
8084
+ thread: string;
8085
+ kind: "notice" | "mention" | "decision";
8086
+ source: {
8087
+ [key: string]: unknown;
8088
+ };
8089
+ read: boolean;
8090
+ deliveredAt: string;
8091
+ createTime: string;
8092
+ reason: string;
8093
+ archived: boolean;
8094
+ organization: {
8095
+ id: string;
8096
+ slug: string;
8097
+ name: string;
8098
+ };
8099
+ }>;
5827
8100
  };
5828
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
5829
- replaceHolder: {
5830
- create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8101
+ organizationDefault: {
8102
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
8103
+ [key: string]: unknown;
8104
+ }>;
5831
8105
  };
5832
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5833
- unfreeze: {
5834
- create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8106
+ preferences: {
8107
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
8108
+ [key: string]: unknown;
8109
+ }>;
8110
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
8111
+ name: string;
8112
+ workflows: {
8113
+ [key: string]: unknown;
8114
+ };
8115
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
8116
+ updateTime?: string;
8117
+ catalog: Array<{
8118
+ workflow: string;
8119
+ group: string;
8120
+ title: string;
8121
+ description?: string;
8122
+ severity: "high" | "medium" | "low" | "none";
8123
+ critical: boolean;
8124
+ channels: Array<string>;
8125
+ }>;
8126
+ organization: {
8127
+ [key: string]: unknown;
8128
+ };
8129
+ effective: {
8130
+ [key: string]: unknown;
8131
+ };
8132
+ }>;
5835
8133
  };
5836
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5837
- updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5838
- updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8134
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
8135
+ unreadCount: number;
8136
+ unseenCount: number;
8137
+ }>;
8138
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
8139
+ [key: string]: unknown;
8140
+ }>;
5839
8141
  };
5840
8142
  usage: {
5841
8143
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -5860,13 +8162,178 @@ export declare function createOrganization(transport: Transport): {
5860
8162
  }>;
5861
8163
  };
5862
8164
  };
8165
+ export declare function createRegistry(transport: Transport): {
8166
+ installations: {
8167
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
8168
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
8169
+ };
8170
+ packages: {
8171
+ git: {
8172
+ commits: {
8173
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
8174
+ };
8175
+ files: {
8176
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
8177
+ };
8178
+ refs: {
8179
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
8180
+ };
8181
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
8182
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
8183
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
8184
+ trees: {
8185
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
8186
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
8187
+ };
8188
+ };
8189
+ gitCredential: {
8190
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
8191
+ };
8192
+ installations: {
8193
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
8194
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
8195
+ };
8196
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
8197
+ versions: {
8198
+ contents: {
8199
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
8200
+ };
8201
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
8202
+ files: {
8203
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
8204
+ };
8205
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
8206
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
8207
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
8208
+ };
8209
+ };
8210
+ repositories: {
8211
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
8212
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
8213
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
8214
+ packages: {
8215
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
8216
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
8217
+ };
8218
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
8219
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
8220
+ };
8221
+ };
5863
8222
  export declare function createSandbox(transport: Transport): {
8223
+ byod: {
8224
+ devices: {
8225
+ disconnect: {
8226
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
8227
+ id: string;
8228
+ object: "byod_device";
8229
+ disconnected: true;
8230
+ }>;
8231
+ };
8232
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
8233
+ data: Array<{
8234
+ object: "byod_device";
8235
+ id: string;
8236
+ platform: "android" | "macos" | "linux";
8237
+ name: string;
8238
+ model: string;
8239
+ os_version: string;
8240
+ online: boolean;
8241
+ last_seen_at: string | null;
8242
+ created_at: string;
8243
+ capabilities: Array<"display" | "agent">;
8244
+ agent_dirs: Array<string>;
8245
+ agent_bindings: Array<{
8246
+ dir: string;
8247
+ agent: string;
8248
+ }>;
8249
+ envd_version: string | null;
8250
+ allow_bypass: boolean;
8251
+ }>;
8252
+ }>;
8253
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
8254
+ object: "byod_device";
8255
+ id: string;
8256
+ platform: "android" | "macos" | "linux";
8257
+ name: string;
8258
+ model: string;
8259
+ os_version: string;
8260
+ online: boolean;
8261
+ last_seen_at: string | null;
8262
+ created_at: string;
8263
+ capabilities: Array<"display" | "agent">;
8264
+ agent_dirs: Array<string>;
8265
+ agent_bindings: Array<{
8266
+ dir: string;
8267
+ agent: string;
8268
+ }>;
8269
+ envd_version: string | null;
8270
+ allow_bypass: boolean;
8271
+ }>;
8272
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
8273
+ object: "byod_device";
8274
+ id: string;
8275
+ platform: "android" | "macos" | "linux";
8276
+ name: string;
8277
+ model: string;
8278
+ os_version: string;
8279
+ online: boolean;
8280
+ last_seen_at: string | null;
8281
+ created_at: string;
8282
+ capabilities: Array<"display" | "agent">;
8283
+ agent_dirs: Array<string>;
8284
+ agent_bindings: Array<{
8285
+ dir: string;
8286
+ agent: string;
8287
+ }>;
8288
+ envd_version: string | null;
8289
+ allow_bypass: boolean;
8290
+ }>;
8291
+ };
8292
+ pairings: {
8293
+ claim: {
8294
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
8295
+ device_id: string;
8296
+ credential: string;
8297
+ socket_url: string;
8298
+ }>;
8299
+ };
8300
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
8301
+ code: string;
8302
+ expires_at: string;
8303
+ qr: string;
8304
+ }>;
8305
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
8306
+ organization_name: string;
8307
+ expires_at: string;
8308
+ }>;
8309
+ };
8310
+ };
5864
8311
  events: {
5865
8312
  sandboxes: {
5866
8313
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5867
8314
  };
5868
8315
  };
5869
8316
  sandboxes: {
8317
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
8318
+ type: "snapshot";
8319
+ snapshot: string;
8320
+ refs: number;
8321
+ truncated: boolean;
8322
+ package: string;
8323
+ } | {
8324
+ type: "screenshot";
8325
+ mediaType: string;
8326
+ data: string;
8327
+ width: number;
8328
+ height: number;
8329
+ bytes: number;
8330
+ } | {
8331
+ type: "ok";
8332
+ ms?: number;
8333
+ } | {
8334
+ type: "wait";
8335
+ ms: number;
8336
+ }>;
5870
8337
  commands: {
5871
8338
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5872
8339
  stdout: string;
@@ -6391,13 +8858,139 @@ export declare function createVault(transport: Transport): {
6391
8858
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
6392
8859
  };
6393
8860
  };
8861
+ export declare function createWorkforce(transport: Transport): {
8862
+ actors: {
8863
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8864
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8865
+ };
8866
+ assignments: {
8867
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8868
+ makePrimary: {
8869
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8870
+ };
8871
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8872
+ terminate: {
8873
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8874
+ };
8875
+ transfer: {
8876
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8877
+ };
8878
+ };
8879
+ departments: {
8880
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8881
+ dissolve: {
8882
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8883
+ };
8884
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8885
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8886
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8887
+ /** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
8888
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
8889
+ };
8890
+ effectiveSpec: {
8891
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8892
+ };
8893
+ jobs: {
8894
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8895
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8896
+ retire: {
8897
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8898
+ };
8899
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8900
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8901
+ };
8902
+ keyResults: {
8903
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8904
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8905
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8906
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8907
+ };
8908
+ ladders: {
8909
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8910
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8911
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8912
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8913
+ };
8914
+ objectives: {
8915
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8916
+ grade: {
8917
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8918
+ };
8919
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8920
+ parents: {
8921
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8922
+ };
8923
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8924
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8925
+ };
8926
+ periods: {
8927
+ close: {
8928
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8929
+ };
8930
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8931
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8932
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8933
+ };
8934
+ positions: {
8935
+ close: {
8936
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8937
+ };
8938
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8939
+ designateHead: {
8940
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8941
+ };
8942
+ freeze: {
8943
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8944
+ };
8945
+ hire: {
8946
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8947
+ };
8948
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8949
+ replaceHolder: {
8950
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8951
+ };
8952
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8953
+ unfreeze: {
8954
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8955
+ };
8956
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8957
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8958
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8959
+ };
8960
+ reconcile: {
8961
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8962
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8963
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8964
+ run: {
8965
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8966
+ };
8967
+ status: {
8968
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8969
+ };
8970
+ };
8971
+ specSchema: {
8972
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8973
+ };
8974
+ specs: {
8975
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8976
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8977
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8978
+ revisions: {
8979
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8980
+ };
8981
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8982
+ };
8983
+ };
6394
8984
  export declare const resourceFactories: {
6395
8985
  agent: typeof createAgent;
6396
8986
  application: typeof createApplication;
6397
8987
  automation: typeof createAutomation;
8988
+ billing: typeof createBilling;
6398
8989
  browser: typeof createBrowser;
6399
8990
  canvas: typeof createCanvas;
8991
+ content: typeof createContent;
6400
8992
  crm: typeof createCrm;
8993
+ customer: typeof createCustomer;
6401
8994
  cut: typeof createCut;
6402
8995
  database: typeof createDatabase;
6403
8996
  devops: typeof createDevops;
@@ -6408,10 +9001,12 @@ export declare const resourceFactories: {
6408
9001
  model: typeof createModel;
6409
9002
  ontology: typeof createOntology;
6410
9003
  organization: typeof createOrganization;
9004
+ registry: typeof createRegistry;
6411
9005
  sandbox: typeof createSandbox;
6412
9006
  search: typeof createSearch;
6413
9007
  share: typeof createShare;
6414
9008
  studio: typeof createStudio;
6415
9009
  ticket: typeof createTicket;
6416
9010
  vault: typeof createVault;
9011
+ workforce: typeof createWorkforce;
6417
9012
  };