@deepraxis/sdk 0.1.1-dev.47e949a → 0.1.1-dev.486af34

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 (35) hide show
  1. package/METHODS.md +867 -15
  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/transport.d.ts +4 -0
  10. package/dist/core/transport.js +11 -4
  11. package/dist/generated/binary-operations.gen.d.ts +3 -0
  12. package/dist/generated/binary-operations.gen.js +14 -0
  13. package/dist/generated/index.d.ts +2 -2
  14. package/dist/generated/index.js +1 -1
  15. package/dist/generated/sdk.gen.d.ts +2712 -1092
  16. package/dist/generated/sdk.gen.js +7220 -2662
  17. package/dist/generated/types.gen.d.ts +87597 -58614
  18. package/dist/helpers/application-publish.js +16 -2
  19. package/dist/helpers/browser-actions.d.ts +18 -0
  20. package/dist/helpers/browser-actions.js +5 -0
  21. package/dist/helpers/browser-connect-error.d.ts +28 -0
  22. package/dist/helpers/browser-connect-error.js +74 -0
  23. package/dist/helpers/browser-connect.d.ts +9 -0
  24. package/dist/helpers/browser-connect.js +40 -43
  25. package/dist/helpers/browser-decisions.d.ts +13 -0
  26. package/dist/helpers/browser-decisions.js +11 -0
  27. package/dist/helpers/browser-documentation.d.ts +1 -1
  28. package/dist/helpers/browser-documentation.js +15 -5
  29. package/dist/index.d.ts +3 -0
  30. package/dist/index.js +2 -0
  31. package/dist/operations.generated.d.ts +2 -0
  32. package/dist/operations.generated.js +20174 -10943
  33. package/dist/resources.generated.d.ts +3132 -217
  34. package/dist/resources.generated.js +684 -35
  35. 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,22 +40,23 @@ 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;
47
52
  } | {
48
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
53
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
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
- image_model?: string | null;
56
60
  subagents?: Array<{
57
61
  name: string;
58
62
  description: string;
@@ -143,6 +147,7 @@ export declare function createAgent(transport: Transport): {
143
147
  allowManagedHooksOnly?: boolean;
144
148
  allowManagedMcpServersOnly?: boolean;
145
149
  allowManagedPermissionRulesOnly?: boolean;
150
+ idleCompaction?: boolean;
146
151
  autoMemoryEnabled?: boolean;
147
152
  disabled?: {
148
153
  subagents?: Array<string>;
@@ -151,7 +156,6 @@ export declare function createAgent(transport: Transport): {
151
156
  mcpServers?: Array<string>;
152
157
  hooks?: Array<string>;
153
158
  };
154
- idleCompaction?: boolean;
155
159
  outputStyle?: string;
156
160
  } | null;
157
161
  models?: {
@@ -159,6 +163,7 @@ export declare function createAgent(transport: Transport): {
159
163
  };
160
164
  avatar: string | null;
161
165
  creation_source: string | null;
166
+ managed_by: string | null;
162
167
  identity_number: string | null;
163
168
  environment_id?: string | null;
164
169
  vault_ids?: Array<string>;
@@ -170,6 +175,22 @@ export declare function createAgent(transport: Transport): {
170
175
  keep_coding_instructions?: boolean;
171
176
  }> | null;
172
177
  }>;
178
+ consolidations: {
179
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
180
+ id: string;
181
+ session_id: string;
182
+ status: "queued" | "running" | "done" | "failed";
183
+ engram_id?: string;
184
+ error?: string;
185
+ }>;
186
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
187
+ id: string;
188
+ session_id: string;
189
+ status: "queued" | "running" | "done" | "failed";
190
+ engram_id?: string;
191
+ error?: string;
192
+ }>;
193
+ };
173
194
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
195
  id: string;
175
196
  archived_at: null | string;
@@ -184,6 +205,7 @@ export declare function createAgent(transport: Transport): {
184
205
  speed?: "standard" | "fast";
185
206
  settings?: {
186
207
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
208
+ max_output_tokens?: number;
187
209
  };
188
210
  };
189
211
  multiagent?: null | Types.AgentManaged39;
@@ -204,22 +226,30 @@ export declare function createAgent(transport: Transport): {
204
226
  id: string;
205
227
  } | null;
206
228
  note: string | null;
229
+ deployments_behind: number | null;
207
230
  bindings: Array<{
208
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
231
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
209
232
  id: string;
210
233
  access: "read_only" | "read_write" | "invoke";
234
+ customer_access?: "read_only" | "read_write" | "invoke";
211
235
  instructions?: string;
212
236
  readonly verified?: boolean;
213
237
  enabled?: boolean;
214
238
  } | {
215
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
239
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
240
  readonly verified?: boolean;
217
241
  enabled?: boolean;
218
242
  }>;
219
- 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
+ };
220
251
  computer_id?: string;
221
252
  subagent_model?: string | null;
222
- image_model?: string | null;
223
253
  subagents?: Array<{
224
254
  name: string;
225
255
  description: string;
@@ -310,6 +340,7 @@ export declare function createAgent(transport: Transport): {
310
340
  allowManagedHooksOnly?: boolean;
311
341
  allowManagedMcpServersOnly?: boolean;
312
342
  allowManagedPermissionRulesOnly?: boolean;
343
+ idleCompaction?: boolean;
313
344
  autoMemoryEnabled?: boolean;
314
345
  disabled?: {
315
346
  subagents?: Array<string>;
@@ -318,7 +349,6 @@ export declare function createAgent(transport: Transport): {
318
349
  mcpServers?: Array<string>;
319
350
  hooks?: Array<string>;
320
351
  };
321
- idleCompaction?: boolean;
322
352
  outputStyle?: string;
323
353
  } | null;
324
354
  models?: {
@@ -326,6 +356,7 @@ export declare function createAgent(transport: Transport): {
326
356
  };
327
357
  avatar: string | null;
328
358
  creation_source: string | null;
359
+ managed_by: string | null;
329
360
  identity_number: string | null;
330
361
  environment_id?: string | null;
331
362
  vault_ids?: Array<string>;
@@ -338,42 +369,6 @@ export declare function createAgent(transport: Transport): {
338
369
  }> | null;
339
370
  }>;
340
371
  customers: {
341
- auth: {
342
- accessTokens: {
343
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
344
- type: "customer_access_token";
345
- access_token: string;
346
- expires_at: string;
347
- session_expires_at: string;
348
- customer: {
349
- id: string;
350
- type: "identified" | "anonymous";
351
- };
352
- }>;
353
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
354
- renew: {
355
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
356
- type: "customer_access_token";
357
- access_token: string;
358
- expires_at: string;
359
- session_expires_at: string;
360
- customer: {
361
- id: string;
362
- type: "identified" | "anonymous";
363
- };
364
- }>;
365
- };
366
- };
367
- grantCodes: {
368
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
369
- type: "customer_grant_code";
370
- code: string;
371
- customer_id: string;
372
- expires_at: string;
373
- hosted_url?: string;
374
- }>;
375
- };
376
- };
377
372
  block: {
378
373
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
374
  id: string;
@@ -465,6 +460,405 @@ export declare function createAgent(transport: Transport): {
465
460
  }>;
466
461
  };
467
462
  };
463
+ events: {
464
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
465
+ data: Array<{
466
+ id: string;
467
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
468
+ type: "user.message";
469
+ processed_at?: null | string;
470
+ praxis_context?: {
471
+ items: Array<{
472
+ name: string;
473
+ value: string;
474
+ }>;
475
+ };
476
+ message_id?: string;
477
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
478
+ id: string;
479
+ content: Array<{
480
+ text: string;
481
+ type: "text";
482
+ citations?: Array<{
483
+ type: "search_result_location";
484
+ source: string;
485
+ title: string;
486
+ cited_text: string;
487
+ search_result_index: number;
488
+ start_block_index: number;
489
+ end_block_index: number;
490
+ }>;
491
+ } | Types.AgentManaged70>;
492
+ processed_at: string;
493
+ type: "agent.message";
494
+ run_id: string | null;
495
+ message_id?: string;
496
+ } | {
497
+ id: string;
498
+ processed_at: string;
499
+ type: "agent.thinking";
500
+ run_id: string | null;
501
+ message_id?: string;
502
+ } | {
503
+ id: string;
504
+ input: Types.AgentManaged197;
505
+ mcp_server_name: string;
506
+ name: string;
507
+ processed_at: string;
508
+ type: "agent.mcp_tool_use";
509
+ evaluated_permission?: "allow" | "deny" | "ask";
510
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
511
+ session_thread_id?: null | string;
512
+ permission_suggestions?: Array<{
513
+ type: "add_rules";
514
+ behavior: "allow";
515
+ destination: "agent" | "session";
516
+ rules: Array<{
517
+ tool_name: string;
518
+ rule_content: string;
519
+ }>;
520
+ }>;
521
+ full_access_available?: boolean;
522
+ user_once?: true;
523
+ guarded_rule?: string;
524
+ run_id: string | null;
525
+ _meta?: {
526
+ ui?: {
527
+ resourceUri?: string;
528
+ visibility?: Array<string>;
529
+ [key: string]: unknown;
530
+ };
531
+ "openai/ui"?: {
532
+ [key: string]: unknown;
533
+ };
534
+ };
535
+ source?: "app" | "codemode";
536
+ parent_tool_use_id?: string;
537
+ title?: string;
538
+ input_titles?: {
539
+ [key: string]: string;
540
+ };
541
+ } | {
542
+ id: string;
543
+ mcp_tool_use_id: string;
544
+ processed_at: string;
545
+ type: "agent.mcp_tool_result";
546
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
547
+ is_error?: null | false | true;
548
+ run_id: string | null;
549
+ structured_content?: unknown;
550
+ _meta?: {
551
+ [key: string]: unknown;
552
+ };
553
+ source?: "app" | "codemode";
554
+ } | {
555
+ id: string;
556
+ input: Types.AgentManaged206;
557
+ name: string;
558
+ processed_at: string;
559
+ type: "agent.tool_use";
560
+ evaluated_permission?: "allow" | "deny" | "ask";
561
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
562
+ session_thread_id?: null | string;
563
+ permission_suggestions?: Array<{
564
+ type: "add_rules";
565
+ behavior: "allow";
566
+ destination: "agent" | "session";
567
+ rules: Array<{
568
+ tool_name: string;
569
+ rule_content: string;
570
+ }>;
571
+ }>;
572
+ full_access_available?: boolean;
573
+ user_once?: true;
574
+ guarded_rule?: string;
575
+ run_id: string | null;
576
+ } | {
577
+ id: string;
578
+ processed_at: string;
579
+ tool_use_id: string;
580
+ type: "agent.tool_result";
581
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
582
+ is_error?: null | false | true;
583
+ run_id: string | null;
584
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
585
+ id: string;
586
+ processed_at: string;
587
+ type: "session.status_running";
588
+ run_id: string | null;
589
+ } | {
590
+ id: string;
591
+ processed_at: string;
592
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
593
+ type: "session.status_idle";
594
+ run_id: string | null;
595
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
596
+ id: string;
597
+ processed_at: string;
598
+ type: "session.updated";
599
+ agent?: null | Types.AgentManaged170;
600
+ budget?: null | Types.AgentManaged76;
601
+ metadata?: Types.AgentManaged246;
602
+ title?: null | string;
603
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
604
+ previous_permission_mode?: string | null;
605
+ permission_mode_version?: number;
606
+ model?: {
607
+ id: string;
608
+ };
609
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
610
+ id: string;
611
+ type: "session.forked";
612
+ processed_at: string;
613
+ forked_from_session_id: string;
614
+ forked_from_message_id: string;
615
+ } | {
616
+ id: string;
617
+ type: "session.goal_changed";
618
+ processed_at: string;
619
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
620
+ source: "command" | "runtime";
621
+ goal: {
622
+ goal_id: string;
623
+ objective: string;
624
+ summary_title: string | null;
625
+ status: "active" | "paused" | "budget_limited" | "complete";
626
+ token_budget: number | null;
627
+ tokens_used: number;
628
+ time_used_seconds: number;
629
+ iteration: number;
630
+ created_at: number;
631
+ updated_at: number;
632
+ } | null;
633
+ previous_goal: {
634
+ goal_id: string;
635
+ objective: string;
636
+ summary_title: string | null;
637
+ status: "active" | "paused" | "budget_limited" | "complete";
638
+ token_budget: number | null;
639
+ tokens_used: number;
640
+ time_used_seconds: number;
641
+ iteration: number;
642
+ created_at: number;
643
+ updated_at: number;
644
+ } | null;
645
+ } | {
646
+ id: string;
647
+ type: "session.goal_verification";
648
+ processed_at: string;
649
+ status: "started" | "completed" | "failed_closed" | "cancelled";
650
+ goal_id: string;
651
+ goal_iteration: number;
652
+ verification_id: string;
653
+ anchor_message_id: string | null;
654
+ verification?: {
655
+ passed: boolean;
656
+ reason: string;
657
+ next_action?: string;
658
+ };
659
+ } | {
660
+ id: string;
661
+ type: "user.steer";
662
+ event_id: string;
663
+ processed_at: string;
664
+ } | {
665
+ id: string;
666
+ type: "cognition.surfaced";
667
+ processed_at: string;
668
+ worker_session_id: string;
669
+ name: string;
670
+ state: "done" | "waiting" | "failed" | "archived";
671
+ experience_id?: string;
672
+ result?: {
673
+ message?: string;
674
+ links?: Array<string>;
675
+ files?: Array<{
676
+ name?: string;
677
+ href?: string;
678
+ }>;
679
+ held?: Array<{
680
+ id?: string;
681
+ summary?: string;
682
+ effect?: string;
683
+ method?: string;
684
+ path?: string;
685
+ expires_at?: string;
686
+ }>;
687
+ };
688
+ } | {
689
+ id: string;
690
+ type: "cognition.intention_woken";
691
+ processed_at: string;
692
+ node_id: string;
693
+ reason: "open_engram" | "assignment";
694
+ } | {
695
+ id: string;
696
+ type: "agent.operation_approval_requested";
697
+ processed_at: string;
698
+ approval_id: string;
699
+ operation_id: string;
700
+ effect: "outward" | "irreversible";
701
+ method: string;
702
+ path: string;
703
+ summary: string;
704
+ expires_at: string;
705
+ worker_session_id?: string;
706
+ worker_name?: string;
707
+ } | {
708
+ id: string;
709
+ type: "agent.operation_approval_decided";
710
+ processed_at: string;
711
+ approval_id: string;
712
+ status: "approved" | "refused" | "expired";
713
+ } | {
714
+ id: string;
715
+ type: "session.prompt_configuration_mismatch";
716
+ processed_at: string;
717
+ pinned_revision_id: string;
718
+ current_revision_id: string;
719
+ } | {
720
+ id: string;
721
+ type: "session.prompt_rev_changed";
722
+ processed_at: string;
723
+ config_revision_id: string;
724
+ changed: Array<{
725
+ name: string;
726
+ rev: string | null;
727
+ }>;
728
+ } | {
729
+ id: string;
730
+ type: "session.computer_tier";
731
+ processed_at: string;
732
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
733
+ tier: "light" | "heavy";
734
+ duration_ms: number;
735
+ error_code?: string;
736
+ status?: {
737
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
738
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
739
+ percent?: number;
740
+ files_done?: number;
741
+ files_total?: number;
742
+ idle_release_at?: number;
743
+ retry_at?: number;
744
+ epoch?: number;
745
+ heavy_instance?: string | null;
746
+ heavy_paused?: boolean;
747
+ };
748
+ } | {
749
+ id: string;
750
+ type: "agent.artifact_delivered";
751
+ processed_at: string;
752
+ artifact: {
753
+ object: "artifact";
754
+ id: string;
755
+ session_id: string;
756
+ run_id: string | null;
757
+ name: string;
758
+ version: number;
759
+ parts: Array<{
760
+ [key: string]: unknown;
761
+ }>;
762
+ source_hrefs: Array<string>;
763
+ create_time: string;
764
+ update_time: string;
765
+ };
766
+ } | {
767
+ id: string;
768
+ type: "agent.image_generation";
769
+ processed_at: string;
770
+ tool_use_id: string;
771
+ index: number;
772
+ total: number;
773
+ status: string;
774
+ mode?: string;
775
+ aspect?: string;
776
+ prompt?: string;
777
+ model?: string;
778
+ file_id?: string;
779
+ label?: string;
780
+ width?: number;
781
+ height?: number;
782
+ revised_prompt?: string;
783
+ source_labels?: Array<string>;
784
+ caption?: string;
785
+ slot?: number | null;
786
+ replaces?: string;
787
+ version?: number;
788
+ failure?: {
789
+ reason?: string;
790
+ };
791
+ } | {
792
+ id: string;
793
+ type: "session.image_labeled";
794
+ processed_at: string;
795
+ label: string;
796
+ file_id: string;
797
+ origin: "generated" | "uploaded";
798
+ filename: string;
799
+ tool_use_id?: string;
800
+ version?: number;
801
+ replaced_file_id?: string;
802
+ } | {
803
+ id: string;
804
+ type: "session.image_set_planned";
805
+ processed_at: string;
806
+ tool_use_id: string;
807
+ items: Array<unknown>;
808
+ title?: string;
809
+ } | {
810
+ id: string;
811
+ type: "session.project_attached";
812
+ processed_at: string;
813
+ project: {
814
+ id: string;
815
+ name: string;
816
+ path: string;
817
+ };
818
+ } | {
819
+ id: string;
820
+ type: "session.project_detached";
821
+ processed_at: string;
822
+ project_id: string;
823
+ reason?: "project_removed";
824
+ }>;
825
+ next_page: string | null;
826
+ }>;
827
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
828
+ data?: Array<{
829
+ id: string;
830
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
831
+ type: "user.message";
832
+ processed_at?: null | string;
833
+ praxis_context?: {
834
+ items: Array<{
835
+ name: string;
836
+ value: string;
837
+ }>;
838
+ };
839
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
840
+ id: string;
841
+ type: "user.steer";
842
+ event_id: string;
843
+ processed_at: string;
844
+ }>;
845
+ }>;
846
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
847
+ };
848
+ inbox: {
849
+ letters: {
850
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
851
+ unread: number;
852
+ letters: Array<{
853
+ id: string;
854
+ sender: string;
855
+ summary: string;
856
+ thread: string | null;
857
+ create_time: string;
858
+ }>;
859
+ }>;
860
+ };
861
+ };
468
862
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
863
  data: Array<{
470
864
  id: string;
@@ -480,6 +874,7 @@ export declare function createAgent(transport: Transport): {
480
874
  speed?: "standard" | "fast";
481
875
  settings?: {
482
876
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
877
+ max_output_tokens?: number;
483
878
  };
484
879
  };
485
880
  multiagent?: null | Types.AgentManaged39;
@@ -500,22 +895,30 @@ export declare function createAgent(transport: Transport): {
500
895
  id: string;
501
896
  } | null;
502
897
  note: string | null;
898
+ deployments_behind: number | null;
503
899
  bindings: Array<{
504
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
900
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
505
901
  id: string;
506
902
  access: "read_only" | "read_write" | "invoke";
903
+ customer_access?: "read_only" | "read_write" | "invoke";
507
904
  instructions?: string;
508
905
  readonly verified?: boolean;
509
906
  enabled?: boolean;
510
907
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
908
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
909
  readonly verified?: boolean;
513
910
  enabled?: boolean;
514
911
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
912
+ kind: "general" | "service" | "assume";
913
+ computers?: {
914
+ default: string;
915
+ allowed: Array<{
916
+ template: string;
917
+ name: string;
918
+ }>;
919
+ };
516
920
  computer_id?: string;
517
921
  subagent_model?: string | null;
518
- image_model?: string | null;
519
922
  subagents?: Array<{
520
923
  name: string;
521
924
  description: string;
@@ -606,6 +1009,7 @@ export declare function createAgent(transport: Transport): {
606
1009
  allowManagedHooksOnly?: boolean;
607
1010
  allowManagedMcpServersOnly?: boolean;
608
1011
  allowManagedPermissionRulesOnly?: boolean;
1012
+ idleCompaction?: boolean;
609
1013
  autoMemoryEnabled?: boolean;
610
1014
  disabled?: {
611
1015
  subagents?: Array<string>;
@@ -614,7 +1018,6 @@ export declare function createAgent(transport: Transport): {
614
1018
  mcpServers?: Array<string>;
615
1019
  hooks?: Array<string>;
616
1020
  };
617
- idleCompaction?: boolean;
618
1021
  outputStyle?: string;
619
1022
  } | null;
620
1023
  models?: {
@@ -622,6 +1025,7 @@ export declare function createAgent(transport: Transport): {
622
1025
  };
623
1026
  avatar: string | null;
624
1027
  creation_source: string | null;
1028
+ managed_by: string | null;
625
1029
  identity_number: string | null;
626
1030
  environment_id?: string | null;
627
1031
  vault_ids?: Array<string>;
@@ -635,6 +1039,34 @@ export declare function createAgent(transport: Transport): {
635
1039
  }>;
636
1040
  next_page: string | null;
637
1041
  }>;
1042
+ phone: {
1043
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
1044
+ object: "agent_phone";
1045
+ agent_id: string;
1046
+ configured: boolean;
1047
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
1048
+ sku: string | null;
1049
+ byod_device: string | null;
1050
+ name: string | null;
1051
+ sandbox_id: string | null;
1052
+ lease_ends_at: string | null;
1053
+ archived_at: string | null;
1054
+ archive_error: string | null;
1055
+ }>;
1056
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
1057
+ object: "agent_phone";
1058
+ agent_id: string;
1059
+ configured: boolean;
1060
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
1061
+ sku: string | null;
1062
+ byod_device: string | null;
1063
+ name: string | null;
1064
+ sandbox_id: string | null;
1065
+ lease_ends_at: string | null;
1066
+ archived_at: string | null;
1067
+ archive_error: string | null;
1068
+ }>;
1069
+ };
638
1070
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
1071
  id: string;
640
1072
  archived_at: null | string;
@@ -649,6 +1081,7 @@ export declare function createAgent(transport: Transport): {
649
1081
  speed?: "standard" | "fast";
650
1082
  settings?: {
651
1083
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1084
+ max_output_tokens?: number;
652
1085
  };
653
1086
  };
654
1087
  multiagent?: null | Types.AgentManaged39;
@@ -670,22 +1103,30 @@ export declare function createAgent(transport: Transport): {
670
1103
  id: string;
671
1104
  } | null;
672
1105
  note: string | null;
1106
+ deployments_behind: number | null;
673
1107
  bindings: Array<{
674
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1108
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
675
1109
  id: string;
676
1110
  access: "read_only" | "read_write" | "invoke";
1111
+ customer_access?: "read_only" | "read_write" | "invoke";
677
1112
  instructions?: string;
678
1113
  readonly verified?: boolean;
679
1114
  enabled?: boolean;
680
1115
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1116
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
1117
  readonly verified?: boolean;
683
1118
  enabled?: boolean;
684
1119
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
1120
+ kind: "general" | "service" | "assume";
1121
+ computers?: {
1122
+ default: string;
1123
+ allowed: Array<{
1124
+ template: string;
1125
+ name: string;
1126
+ }>;
1127
+ };
686
1128
  computer_id?: string;
687
1129
  subagent_model?: string | null;
688
- image_model?: string | null;
689
1130
  subagents?: Array<{
690
1131
  name: string;
691
1132
  description: string;
@@ -776,6 +1217,7 @@ export declare function createAgent(transport: Transport): {
776
1217
  allowManagedHooksOnly?: boolean;
777
1218
  allowManagedMcpServersOnly?: boolean;
778
1219
  allowManagedPermissionRulesOnly?: boolean;
1220
+ idleCompaction?: boolean;
779
1221
  autoMemoryEnabled?: boolean;
780
1222
  disabled?: {
781
1223
  subagents?: Array<string>;
@@ -784,7 +1226,6 @@ export declare function createAgent(transport: Transport): {
784
1226
  mcpServers?: Array<string>;
785
1227
  hooks?: Array<string>;
786
1228
  };
787
- idleCompaction?: boolean;
788
1229
  outputStyle?: string;
789
1230
  } | null;
790
1231
  models?: {
@@ -792,6 +1233,7 @@ export declare function createAgent(transport: Transport): {
792
1233
  };
793
1234
  avatar: string | null;
794
1235
  creation_source: string | null;
1236
+ managed_by: string | null;
795
1237
  identity_number: string | null;
796
1238
  environment_id?: string | null;
797
1239
  vault_ids?: Array<string>;
@@ -860,6 +1302,26 @@ export declare function createAgent(transport: Transport): {
860
1302
  history?: {
861
1303
  enabled?: boolean;
862
1304
  };
1305
+ uploads?: {
1306
+ enabled: boolean;
1307
+ max_file_bytes: number;
1308
+ max_files_per_session: number;
1309
+ };
1310
+ }>;
1311
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1312
+ allowed_origins: Array<string>;
1313
+ allow_localhost: boolean;
1314
+ uploads: {
1315
+ enabled: boolean;
1316
+ max_file_bytes: number;
1317
+ max_files_per_session: number;
1318
+ };
1319
+ share_links: {
1320
+ enabled: boolean;
1321
+ daily_session_cap: number | null;
1322
+ daily_spend_cap_micro_usd: number | null;
1323
+ currency?: "USD" | "CNY" | null;
1324
+ };
863
1325
  }>;
864
1326
  unarchive: {
865
1327
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1375,7 @@ export declare function createAgent(transport: Transport): {
913
1375
  speed?: "standard" | "fast";
914
1376
  settings?: {
915
1377
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1378
+ max_output_tokens?: number;
916
1379
  };
917
1380
  };
918
1381
  multiagent?: null | {
@@ -1099,22 +1562,30 @@ export declare function createAgent(transport: Transport): {
1099
1562
  id: string;
1100
1563
  } | null;
1101
1564
  note: string | null;
1565
+ deployments_behind: number | null;
1102
1566
  bindings: Array<{
1103
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1567
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1104
1568
  id: string;
1105
1569
  access: "read_only" | "read_write" | "invoke";
1570
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1571
  instructions?: string;
1107
1572
  readonly verified?: boolean;
1108
1573
  enabled?: boolean;
1109
1574
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1575
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1576
  readonly verified?: boolean;
1112
1577
  enabled?: boolean;
1113
1578
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1579
+ kind: "general" | "service" | "assume";
1580
+ computers?: {
1581
+ default: string;
1582
+ allowed: Array<{
1583
+ template: string;
1584
+ name: string;
1585
+ }>;
1586
+ };
1115
1587
  computer_id?: string;
1116
1588
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1589
  subagents?: Array<{
1119
1590
  name: string;
1120
1591
  description: string;
@@ -1205,6 +1676,7 @@ export declare function createAgent(transport: Transport): {
1205
1676
  allowManagedHooksOnly?: boolean;
1206
1677
  allowManagedMcpServersOnly?: boolean;
1207
1678
  allowManagedPermissionRulesOnly?: boolean;
1679
+ idleCompaction?: boolean;
1208
1680
  autoMemoryEnabled?: boolean;
1209
1681
  disabled?: {
1210
1682
  subagents?: Array<string>;
@@ -1213,7 +1685,6 @@ export declare function createAgent(transport: Transport): {
1213
1685
  mcpServers?: Array<string>;
1214
1686
  hooks?: Array<string>;
1215
1687
  };
1216
- idleCompaction?: boolean;
1217
1688
  outputStyle?: string;
1218
1689
  } | null;
1219
1690
  models?: {
@@ -1221,6 +1692,7 @@ export declare function createAgent(transport: Transport): {
1221
1692
  };
1222
1693
  avatar: string | null;
1223
1694
  creation_source: string | null;
1695
+ managed_by: string | null;
1224
1696
  identity_number: string | null;
1225
1697
  environment_id?: string | null;
1226
1698
  vault_ids?: Array<string>;
@@ -1247,6 +1719,7 @@ export declare function createAgent(transport: Transport): {
1247
1719
  speed?: "standard" | "fast";
1248
1720
  settings?: {
1249
1721
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1722
+ max_output_tokens?: number;
1250
1723
  };
1251
1724
  };
1252
1725
  multiagent?: null | Types.AgentManaged39;
@@ -1268,22 +1741,30 @@ export declare function createAgent(transport: Transport): {
1268
1741
  id: string;
1269
1742
  } | null;
1270
1743
  note: string | null;
1744
+ deployments_behind: number | null;
1271
1745
  bindings: Array<{
1272
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1746
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1273
1747
  id: string;
1274
1748
  access: "read_only" | "read_write" | "invoke";
1749
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1750
  instructions?: string;
1276
1751
  readonly verified?: boolean;
1277
1752
  enabled?: boolean;
1278
1753
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1754
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1755
  readonly verified?: boolean;
1281
1756
  enabled?: boolean;
1282
1757
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1758
+ kind: "general" | "service" | "assume";
1759
+ computers?: {
1760
+ default: string;
1761
+ allowed: Array<{
1762
+ template: string;
1763
+ name: string;
1764
+ }>;
1765
+ };
1284
1766
  computer_id?: string;
1285
1767
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1768
  subagents?: Array<{
1288
1769
  name: string;
1289
1770
  description: string;
@@ -1374,6 +1855,7 @@ export declare function createAgent(transport: Transport): {
1374
1855
  allowManagedHooksOnly?: boolean;
1375
1856
  allowManagedMcpServersOnly?: boolean;
1376
1857
  allowManagedPermissionRulesOnly?: boolean;
1858
+ idleCompaction?: boolean;
1377
1859
  autoMemoryEnabled?: boolean;
1378
1860
  disabled?: {
1379
1861
  subagents?: Array<string>;
@@ -1382,7 +1864,6 @@ export declare function createAgent(transport: Transport): {
1382
1864
  mcpServers?: Array<string>;
1383
1865
  hooks?: Array<string>;
1384
1866
  };
1385
- idleCompaction?: boolean;
1386
1867
  outputStyle?: string;
1387
1868
  } | null;
1388
1869
  models?: {
@@ -1390,6 +1871,7 @@ export declare function createAgent(transport: Transport): {
1390
1871
  };
1391
1872
  avatar: string | null;
1392
1873
  creation_source: string | null;
1874
+ managed_by: string | null;
1393
1875
  identity_number: string | null;
1394
1876
  environment_id?: string | null;
1395
1877
  vault_ids?: Array<string>;
@@ -1401,28 +1883,246 @@ export declare function createAgent(transport: Transport): {
1401
1883
  keep_coding_instructions?: boolean;
1402
1884
  }> | null;
1403
1885
  }>;
1886
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1887
+ allowed_origins: Array<string>;
1888
+ allow_localhost: boolean;
1889
+ uploads: {
1890
+ enabled: boolean;
1891
+ max_file_bytes: number;
1892
+ max_files_per_session: number;
1893
+ };
1894
+ share_links: {
1895
+ enabled: boolean;
1896
+ daily_session_cap: number | null;
1897
+ daily_spend_cap_micro_usd: number | null;
1898
+ currency?: "USD" | "CNY" | null;
1899
+ };
1900
+ }>;
1404
1901
  versions: {
1405
1902
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1903
  id: string;
1407
1904
  archived_at: null | string;
1408
1905
  created_at: string;
1409
1906
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1907
+ mcp_servers: Array<{
1908
+ type: "url";
1909
+ name: string;
1910
+ url: string;
1911
+ headers?: {
1912
+ [key: string]: string;
1913
+ };
1914
+ timeout_ms?: number;
1915
+ } | {
1916
+ type: "sse";
1917
+ name: string;
1918
+ url: string;
1919
+ headers?: {
1920
+ [key: string]: string;
1921
+ };
1922
+ timeout_ms?: number;
1923
+ } | {
1924
+ type: "stdio";
1925
+ name: string;
1926
+ command: string;
1927
+ args?: Array<string>;
1928
+ env?: {
1929
+ [key: string]: string;
1930
+ };
1931
+ timeout_ms?: number;
1932
+ }>;
1933
+ metadata: {
1934
+ [key: string]: string;
1935
+ };
1412
1936
  model?: {
1413
1937
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1938
+ effort?: {
1939
+ type: "low";
1940
+ } | {
1941
+ type: "medium";
1942
+ } | {
1943
+ type: "high";
1944
+ } | {
1945
+ type: "xhigh";
1946
+ } | {
1947
+ type: "max";
1948
+ };
1415
1949
  inference_geo?: string;
1416
1950
  speed?: "standard" | "fast";
1417
1951
  settings?: {
1418
1952
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1953
+ max_output_tokens?: number;
1954
+ };
1955
+ };
1956
+ multiagent?: null | {
1957
+ agents: Array<{
1958
+ id: string;
1959
+ type: "agent";
1960
+ version: number;
1961
+ } | {
1962
+ model: string;
1963
+ type: "advisor";
1964
+ }>;
1965
+ type: "coordinator";
1966
+ };
1967
+ name: string;
1968
+ skills: Array<{
1969
+ skill_id: string;
1970
+ type: "anthropic";
1971
+ version: string;
1972
+ } | {
1973
+ skill_id: string;
1974
+ type: "custom";
1975
+ version: string;
1976
+ }>;
1977
+ system: null | string;
1978
+ tools: Array<{
1979
+ configs: Array<{
1980
+ enabled: boolean;
1981
+ name: "bash";
1982
+ permission_policy: {
1983
+ type: "always_allow";
1984
+ } | {
1985
+ type: "always_ask";
1986
+ } | {
1987
+ type: "auto";
1988
+ };
1989
+ type: "bash";
1990
+ } | {
1991
+ enabled: boolean;
1992
+ name: "edit";
1993
+ permission_policy: {
1994
+ type: "always_allow";
1995
+ } | {
1996
+ type: "always_ask";
1997
+ } | {
1998
+ type: "auto";
1999
+ };
2000
+ type: "edit";
2001
+ } | {
2002
+ enabled: boolean;
2003
+ name: "read";
2004
+ permission_policy: {
2005
+ type: "always_allow";
2006
+ } | {
2007
+ type: "always_ask";
2008
+ } | {
2009
+ type: "auto";
2010
+ };
2011
+ type: "read";
2012
+ } | {
2013
+ enabled: boolean;
2014
+ name: "write";
2015
+ permission_policy: {
2016
+ type: "always_allow";
2017
+ } | {
2018
+ type: "always_ask";
2019
+ } | {
2020
+ type: "auto";
2021
+ };
2022
+ type: "write";
2023
+ } | {
2024
+ enabled: boolean;
2025
+ name: "glob";
2026
+ permission_policy: {
2027
+ type: "always_allow";
2028
+ } | {
2029
+ type: "always_ask";
2030
+ } | {
2031
+ type: "auto";
2032
+ };
2033
+ type: "glob";
2034
+ } | {
2035
+ enabled: boolean;
2036
+ name: "grep";
2037
+ permission_policy: {
2038
+ type: "always_allow";
2039
+ } | {
2040
+ type: "always_ask";
2041
+ } | {
2042
+ type: "auto";
2043
+ };
2044
+ type: "grep";
2045
+ } | {
2046
+ enabled: boolean;
2047
+ name: "web_fetch";
2048
+ permission_policy: {
2049
+ type: "always_allow";
2050
+ } | {
2051
+ type: "always_ask";
2052
+ } | {
2053
+ type: "auto";
2054
+ };
2055
+ type: "web_fetch";
2056
+ allowed_domains?: Array<string>;
2057
+ blocked_domains?: Array<string>;
2058
+ max_content_tokens?: null | number;
2059
+ } | {
2060
+ enabled: boolean;
2061
+ name: "web_search";
2062
+ permission_policy: {
2063
+ type: "always_allow";
2064
+ } | {
2065
+ type: "always_ask";
2066
+ } | {
2067
+ type: "auto";
2068
+ };
2069
+ type: "web_search";
2070
+ allowed_domains?: Array<string>;
2071
+ blocked_domains?: Array<string>;
2072
+ user_location?: null | {
2073
+ type: "approximate";
2074
+ city?: null | string;
2075
+ country?: null | string;
2076
+ region?: null | string;
2077
+ timezone?: null | string;
2078
+ };
2079
+ } | {
2080
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2081
+ enabled: boolean;
2082
+ permission_policy: {
2083
+ type: "always_allow" | "always_ask";
2084
+ };
2085
+ }>;
2086
+ default_config: {
2087
+ enabled: boolean;
2088
+ permission_policy: {
2089
+ type: "always_allow";
2090
+ } | {
2091
+ type: "always_ask";
2092
+ } | {
2093
+ type: "auto";
2094
+ };
2095
+ };
2096
+ type: "agent_toolset_20260401";
2097
+ } | {
2098
+ type: "mcp_toolset";
2099
+ mcp_server_name: string;
2100
+ default_config?: {
2101
+ enabled?: boolean | null;
2102
+ permission_policy?: null | {
2103
+ type: "always_allow" | "always_ask";
2104
+ };
2105
+ } | null;
2106
+ configs?: Array<{
2107
+ name: string;
2108
+ enabled?: boolean | null;
2109
+ permission_policy?: null | {
2110
+ type: "always_allow" | "always_ask";
2111
+ };
2112
+ }> | null;
2113
+ } | {
2114
+ description: string;
2115
+ input_schema: {
2116
+ type: "object";
2117
+ properties?: null | {
2118
+ [key: string]: unknown;
2119
+ };
2120
+ required?: null | Array<string>;
2121
+ [key: string]: unknown;
1419
2122
  };
1420
- };
1421
- multiagent?: null | Types.AgentManaged39;
1422
- name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1424
- system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
2123
+ name: string;
2124
+ type: "custom";
2125
+ }>;
1426
2126
  type: "agent";
1427
2127
  updated_at: string;
1428
2128
  version: number;
@@ -1437,22 +2137,30 @@ export declare function createAgent(transport: Transport): {
1437
2137
  id: string;
1438
2138
  } | null;
1439
2139
  note: string | null;
2140
+ deployments_behind: number | null;
1440
2141
  bindings: Array<{
1441
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2142
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1442
2143
  id: string;
1443
2144
  access: "read_only" | "read_write" | "invoke";
2145
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
2146
  instructions?: string;
1445
2147
  readonly verified?: boolean;
1446
2148
  enabled?: boolean;
1447
2149
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2150
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
2151
  readonly verified?: boolean;
1450
2152
  enabled?: boolean;
1451
2153
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
2154
+ kind: "general" | "service" | "assume";
2155
+ computers?: {
2156
+ default: string;
2157
+ allowed: Array<{
2158
+ template: string;
2159
+ name: string;
2160
+ }>;
2161
+ };
1453
2162
  computer_id?: string;
1454
2163
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
2164
  subagents?: Array<{
1457
2165
  name: string;
1458
2166
  description: string;
@@ -1543,6 +2251,7 @@ export declare function createAgent(transport: Transport): {
1543
2251
  allowManagedHooksOnly?: boolean;
1544
2252
  allowManagedMcpServersOnly?: boolean;
1545
2253
  allowManagedPermissionRulesOnly?: boolean;
2254
+ idleCompaction?: boolean;
1546
2255
  autoMemoryEnabled?: boolean;
1547
2256
  disabled?: {
1548
2257
  subagents?: Array<string>;
@@ -1551,7 +2260,6 @@ export declare function createAgent(transport: Transport): {
1551
2260
  mcpServers?: Array<string>;
1552
2261
  hooks?: Array<string>;
1553
2262
  };
1554
- idleCompaction?: boolean;
1555
2263
  outputStyle?: string;
1556
2264
  } | null;
1557
2265
  models?: {
@@ -1559,6 +2267,7 @@ export declare function createAgent(transport: Transport): {
1559
2267
  };
1560
2268
  avatar: string | null;
1561
2269
  creation_source: string | null;
2270
+ managed_by: string | null;
1562
2271
  identity_number: string | null;
1563
2272
  environment_id?: string | null;
1564
2273
  vault_ids?: Array<string>;
@@ -1585,6 +2294,7 @@ export declare function createAgent(transport: Transport): {
1585
2294
  speed?: "standard" | "fast";
1586
2295
  settings?: {
1587
2296
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2297
+ max_output_tokens?: number;
1588
2298
  };
1589
2299
  };
1590
2300
  multiagent?: null | Types.AgentManaged39;
@@ -1607,21 +2317,28 @@ export declare function createAgent(transport: Transport): {
1607
2317
  } | null;
1608
2318
  note: string | null;
1609
2319
  bindings: Array<{
1610
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2320
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1611
2321
  id: string;
1612
2322
  access: "read_only" | "read_write" | "invoke";
2323
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2324
  instructions?: string;
1614
2325
  readonly verified?: boolean;
1615
2326
  enabled?: boolean;
1616
2327
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2328
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2329
  readonly verified?: boolean;
1619
2330
  enabled?: boolean;
1620
2331
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2332
+ kind: "general" | "service" | "assume";
2333
+ computers?: {
2334
+ default: string;
2335
+ allowed: Array<{
2336
+ template: string;
2337
+ name: string;
2338
+ }>;
2339
+ };
1622
2340
  computer_id?: string;
1623
2341
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2342
  subagents?: Array<{
1626
2343
  name: string;
1627
2344
  description: string;
@@ -1712,6 +2429,7 @@ export declare function createAgent(transport: Transport): {
1712
2429
  allowManagedHooksOnly?: boolean;
1713
2430
  allowManagedMcpServersOnly?: boolean;
1714
2431
  allowManagedPermissionRulesOnly?: boolean;
2432
+ idleCompaction?: boolean;
1715
2433
  autoMemoryEnabled?: boolean;
1716
2434
  disabled?: {
1717
2435
  subagents?: Array<string>;
@@ -1720,7 +2438,6 @@ export declare function createAgent(transport: Transport): {
1720
2438
  mcpServers?: Array<string>;
1721
2439
  hooks?: Array<string>;
1722
2440
  };
1723
- idleCompaction?: boolean;
1724
2441
  outputStyle?: string;
1725
2442
  } | null;
1726
2443
  models?: {
@@ -1728,6 +2445,7 @@ export declare function createAgent(transport: Transport): {
1728
2445
  };
1729
2446
  avatar: string | null;
1730
2447
  creation_source: string | null;
2448
+ managed_by: string | null;
1731
2449
  identity_number: string | null;
1732
2450
  environment_id?: string | null;
1733
2451
  vault_ids?: Array<string>;
@@ -1795,16 +2513,9 @@ export declare function createAgent(transport: Transport): {
1795
2513
  files: {
1796
2514
  convert: {
1797
2515
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1798
- type: "computer";
1799
- id: string;
1800
- name: string;
1801
- sandbox_id: string | null;
1802
- machine_state: "not_started" | "provisioned";
1803
- environment_id: string | null;
1804
- status: "active" | "archived";
1805
- created_at: string;
1806
- updated_at: string;
1807
- archived_at: string | null;
2516
+ data: string;
2517
+ mime: "application/pdf";
2518
+ cached: boolean;
1808
2519
  }>;
1809
2520
  };
1810
2521
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1822,6 +2533,24 @@ export declare function createAgent(transport: Transport): {
1822
2533
  tier: "light" | "heavy";
1823
2534
  }>;
1824
2535
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2536
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2537
+ variant: "image" | "pdf" | "text" | "original";
2538
+ version?: string;
2539
+ mime_type?: string;
2540
+ size?: number;
2541
+ file_id?: string;
2542
+ url?: string;
2543
+ expires_at?: string;
2544
+ cached: boolean;
2545
+ fallback?: "content";
2546
+ skipped?: boolean;
2547
+ }>;
2548
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2549
+ path: string;
2550
+ size: number;
2551
+ mtime: string | null;
2552
+ version: string;
2553
+ }>;
1825
2554
  };
1826
2555
  leases: {
1827
2556
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1895,6 +2624,8 @@ export declare function createAgent(transport: Transport): {
1895
2624
  id: string;
1896
2625
  type: "agent";
1897
2626
  version: number;
2627
+ pinned_version?: number | null;
2628
+ active_version?: number | null;
1898
2629
  } | {
1899
2630
  id: string;
1900
2631
  type: "agent_with_overrides";
@@ -1932,6 +2663,8 @@ export declare function createAgent(transport: Transport): {
1932
2663
  id: string;
1933
2664
  type: "agent";
1934
2665
  version: number;
2666
+ pinned_version?: number | null;
2667
+ active_version?: number | null;
1935
2668
  } | {
1936
2669
  id: string;
1937
2670
  type: "agent_with_overrides";
@@ -1970,6 +2703,8 @@ export declare function createAgent(transport: Transport): {
1970
2703
  id: string;
1971
2704
  type: "agent";
1972
2705
  version: number;
2706
+ pinned_version?: number | null;
2707
+ active_version?: number | null;
1973
2708
  } | {
1974
2709
  id: string;
1975
2710
  type: "agent_with_overrides";
@@ -2009,6 +2744,8 @@ export declare function createAgent(transport: Transport): {
2009
2744
  id: string;
2010
2745
  type: "agent";
2011
2746
  version: number;
2747
+ pinned_version?: number | null;
2748
+ active_version?: number | null;
2012
2749
  } | {
2013
2750
  id: string;
2014
2751
  type: "agent_with_overrides";
@@ -2046,6 +2783,8 @@ export declare function createAgent(transport: Transport): {
2046
2783
  id: string;
2047
2784
  type: "agent";
2048
2785
  version: number;
2786
+ pinned_version?: number | null;
2787
+ active_version?: number | null;
2049
2788
  } | {
2050
2789
  id: string;
2051
2790
  type: "agent_with_overrides";
@@ -2087,6 +2826,8 @@ export declare function createAgent(transport: Transport): {
2087
2826
  id: string;
2088
2827
  type: "agent";
2089
2828
  version: number;
2829
+ pinned_version?: number | null;
2830
+ active_version?: number | null;
2090
2831
  } | {
2091
2832
  id: string;
2092
2833
  type: "agent_with_overrides";
@@ -2125,6 +2866,8 @@ export declare function createAgent(transport: Transport): {
2125
2866
  id: string;
2126
2867
  type: "agent";
2127
2868
  version: number;
2869
+ pinned_version?: number | null;
2870
+ active_version?: number | null;
2128
2871
  } | {
2129
2872
  id: string;
2130
2873
  type: "agent_with_overrides";
@@ -2132,42 +2875,579 @@ export declare function createAgent(transport: Transport): {
2132
2875
  cwd?: string;
2133
2876
  model?: string | {
2134
2877
  id: string;
2135
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2136
- speed?: null | "standard" | "fast";
2878
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2879
+ speed?: null | "standard" | "fast";
2880
+ };
2881
+ version: number;
2882
+ };
2883
+ archived_at: null | string;
2884
+ created_at: string;
2885
+ description: null | string;
2886
+ environment_id?: string | null;
2887
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2888
+ metadata: Types.AgentManaged91;
2889
+ name: string;
2890
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2891
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2892
+ schedule: null | Types.AgentManaged111;
2893
+ status: "active" | "paused";
2894
+ type: "deployment";
2895
+ updated_at: string;
2896
+ vault_ids: Array<string>;
2897
+ budget?: null | Types.AgentManaged76;
2898
+ target: {
2899
+ type: "environment" | "computer";
2900
+ };
2901
+ }>;
2902
+ };
2903
+ environments: {
2904
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2905
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2906
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2907
+ data: Array<Types.AgentManaged138>;
2908
+ next_page: string | null;
2909
+ }>;
2910
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2911
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2912
+ };
2913
+ sessions: {
2914
+ agentVersion: {
2915
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2916
+ id: string;
2917
+ agent: {
2918
+ id: string;
2919
+ description: null | string;
2920
+ mcp_servers: Array<{
2921
+ type: "url";
2922
+ name: string;
2923
+ url: string;
2924
+ headers?: {
2925
+ [key: string]: string;
2926
+ };
2927
+ timeout_ms?: number;
2928
+ } | {
2929
+ type: "sse";
2930
+ name: string;
2931
+ url: string;
2932
+ headers?: {
2933
+ [key: string]: string;
2934
+ };
2935
+ timeout_ms?: number;
2936
+ } | {
2937
+ type: "stdio";
2938
+ name: string;
2939
+ command: string;
2940
+ args?: Array<string>;
2941
+ env?: {
2942
+ [key: string]: string;
2943
+ };
2944
+ timeout_ms?: number;
2945
+ }>;
2946
+ model: {
2947
+ id: string;
2948
+ effort?: {
2949
+ type: "low";
2950
+ } | {
2951
+ type: "medium";
2952
+ } | {
2953
+ type: "high";
2954
+ } | {
2955
+ type: "xhigh";
2956
+ } | {
2957
+ type: "max";
2958
+ };
2959
+ inference_geo?: string;
2960
+ speed?: "standard" | "fast";
2961
+ settings?: {
2962
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2963
+ max_output_tokens?: number;
2964
+ };
2965
+ };
2966
+ multiagent: null | {
2967
+ agents: Array<{
2968
+ model: string;
2969
+ type: "advisor";
2970
+ } | {
2971
+ id: string;
2972
+ description: null | string;
2973
+ mcp_servers: Array<{
2974
+ type: "url";
2975
+ name: string;
2976
+ url: string;
2977
+ headers?: {
2978
+ [key: string]: string;
2979
+ };
2980
+ timeout_ms?: number;
2981
+ } | {
2982
+ type: "sse";
2983
+ name: string;
2984
+ url: string;
2985
+ headers?: {
2986
+ [key: string]: string;
2987
+ };
2988
+ timeout_ms?: number;
2989
+ } | {
2990
+ type: "stdio";
2991
+ name: string;
2992
+ command: string;
2993
+ args?: Array<string>;
2994
+ env?: {
2995
+ [key: string]: string;
2996
+ };
2997
+ timeout_ms?: number;
2998
+ }>;
2999
+ model: {
3000
+ id: string;
3001
+ effort?: {
3002
+ type: "low";
3003
+ } | {
3004
+ type: "medium";
3005
+ } | {
3006
+ type: "high";
3007
+ } | {
3008
+ type: "xhigh";
3009
+ } | {
3010
+ type: "max";
3011
+ };
3012
+ inference_geo?: string;
3013
+ speed?: "standard" | "fast";
3014
+ };
3015
+ name: string;
3016
+ skills: Array<{
3017
+ skill_id: string;
3018
+ type: "anthropic";
3019
+ version: string;
3020
+ } | {
3021
+ skill_id: string;
3022
+ type: "custom";
3023
+ version: string;
3024
+ }>;
3025
+ system: null | string;
3026
+ tools: Array<{
3027
+ configs: Array<{
3028
+ enabled: boolean;
3029
+ name: "bash";
3030
+ permission_policy: {
3031
+ type: "always_allow";
3032
+ } | {
3033
+ type: "always_ask";
3034
+ } | {
3035
+ type: "auto";
3036
+ };
3037
+ type: "bash";
3038
+ } | {
3039
+ enabled: boolean;
3040
+ name: "edit";
3041
+ permission_policy: {
3042
+ type: "always_allow";
3043
+ } | {
3044
+ type: "always_ask";
3045
+ } | {
3046
+ type: "auto";
3047
+ };
3048
+ type: "edit";
3049
+ } | {
3050
+ enabled: boolean;
3051
+ name: "read";
3052
+ permission_policy: {
3053
+ type: "always_allow";
3054
+ } | {
3055
+ type: "always_ask";
3056
+ } | {
3057
+ type: "auto";
3058
+ };
3059
+ type: "read";
3060
+ } | {
3061
+ enabled: boolean;
3062
+ name: "write";
3063
+ permission_policy: {
3064
+ type: "always_allow";
3065
+ } | {
3066
+ type: "always_ask";
3067
+ } | {
3068
+ type: "auto";
3069
+ };
3070
+ type: "write";
3071
+ } | {
3072
+ enabled: boolean;
3073
+ name: "glob";
3074
+ permission_policy: {
3075
+ type: "always_allow";
3076
+ } | {
3077
+ type: "always_ask";
3078
+ } | {
3079
+ type: "auto";
3080
+ };
3081
+ type: "glob";
3082
+ } | {
3083
+ enabled: boolean;
3084
+ name: "grep";
3085
+ permission_policy: {
3086
+ type: "always_allow";
3087
+ } | {
3088
+ type: "always_ask";
3089
+ } | {
3090
+ type: "auto";
3091
+ };
3092
+ type: "grep";
3093
+ } | {
3094
+ enabled: boolean;
3095
+ name: "web_fetch";
3096
+ permission_policy: {
3097
+ type: "always_allow";
3098
+ } | {
3099
+ type: "always_ask";
3100
+ } | {
3101
+ type: "auto";
3102
+ };
3103
+ type: "web_fetch";
3104
+ allowed_domains?: Array<string>;
3105
+ blocked_domains?: Array<string>;
3106
+ max_content_tokens?: null | number;
3107
+ } | {
3108
+ enabled: boolean;
3109
+ name: "web_search";
3110
+ permission_policy: {
3111
+ type: "always_allow";
3112
+ } | {
3113
+ type: "always_ask";
3114
+ } | {
3115
+ type: "auto";
3116
+ };
3117
+ type: "web_search";
3118
+ allowed_domains?: Array<string>;
3119
+ blocked_domains?: Array<string>;
3120
+ user_location?: null | {
3121
+ type: "approximate";
3122
+ city?: null | string;
3123
+ country?: null | string;
3124
+ region?: null | string;
3125
+ timezone?: null | string;
3126
+ };
3127
+ } | {
3128
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3129
+ enabled: boolean;
3130
+ permission_policy: {
3131
+ type: "always_allow" | "always_ask";
3132
+ };
3133
+ }>;
3134
+ default_config: {
3135
+ enabled: boolean;
3136
+ permission_policy: {
3137
+ type: "always_allow";
3138
+ } | {
3139
+ type: "always_ask";
3140
+ } | {
3141
+ type: "auto";
3142
+ };
3143
+ };
3144
+ type: "agent_toolset_20260401";
3145
+ } | {
3146
+ type: "mcp_toolset";
3147
+ mcp_server_name: string;
3148
+ default_config?: {
3149
+ enabled?: boolean | null;
3150
+ permission_policy?: null | {
3151
+ type: "always_allow" | "always_ask";
3152
+ };
3153
+ } | null;
3154
+ configs?: Array<{
3155
+ name: string;
3156
+ enabled?: boolean | null;
3157
+ permission_policy?: null | {
3158
+ type: "always_allow" | "always_ask";
3159
+ };
3160
+ }> | null;
3161
+ } | {
3162
+ description: string;
3163
+ input_schema: {
3164
+ type: "object";
3165
+ properties?: null | {
3166
+ [key: string]: unknown;
3167
+ };
3168
+ required?: null | Array<string>;
3169
+ [key: string]: unknown;
3170
+ };
3171
+ name: string;
3172
+ type: "custom";
3173
+ }>;
3174
+ type: "agent";
3175
+ version: number;
3176
+ }>;
3177
+ type: "coordinator";
3178
+ };
3179
+ name: string;
3180
+ skills: Array<{
3181
+ skill_id: string;
3182
+ type: "anthropic";
3183
+ version: string;
3184
+ } | {
3185
+ skill_id: string;
3186
+ type: "custom";
3187
+ version: string;
3188
+ }>;
3189
+ system: null | string;
3190
+ tools: Array<{
3191
+ configs: Array<{
3192
+ enabled: boolean;
3193
+ name: "bash";
3194
+ permission_policy: {
3195
+ type: "always_allow";
3196
+ } | {
3197
+ type: "always_ask";
3198
+ } | {
3199
+ type: "auto";
3200
+ };
3201
+ type: "bash";
3202
+ } | {
3203
+ enabled: boolean;
3204
+ name: "edit";
3205
+ permission_policy: {
3206
+ type: "always_allow";
3207
+ } | {
3208
+ type: "always_ask";
3209
+ } | {
3210
+ type: "auto";
3211
+ };
3212
+ type: "edit";
3213
+ } | {
3214
+ enabled: boolean;
3215
+ name: "read";
3216
+ permission_policy: {
3217
+ type: "always_allow";
3218
+ } | {
3219
+ type: "always_ask";
3220
+ } | {
3221
+ type: "auto";
3222
+ };
3223
+ type: "read";
3224
+ } | {
3225
+ enabled: boolean;
3226
+ name: "write";
3227
+ permission_policy: {
3228
+ type: "always_allow";
3229
+ } | {
3230
+ type: "always_ask";
3231
+ } | {
3232
+ type: "auto";
3233
+ };
3234
+ type: "write";
3235
+ } | {
3236
+ enabled: boolean;
3237
+ name: "glob";
3238
+ permission_policy: {
3239
+ type: "always_allow";
3240
+ } | {
3241
+ type: "always_ask";
3242
+ } | {
3243
+ type: "auto";
3244
+ };
3245
+ type: "glob";
3246
+ } | {
3247
+ enabled: boolean;
3248
+ name: "grep";
3249
+ permission_policy: {
3250
+ type: "always_allow";
3251
+ } | {
3252
+ type: "always_ask";
3253
+ } | {
3254
+ type: "auto";
3255
+ };
3256
+ type: "grep";
3257
+ } | {
3258
+ enabled: boolean;
3259
+ name: "web_fetch";
3260
+ permission_policy: {
3261
+ type: "always_allow";
3262
+ } | {
3263
+ type: "always_ask";
3264
+ } | {
3265
+ type: "auto";
3266
+ };
3267
+ type: "web_fetch";
3268
+ allowed_domains?: Array<string>;
3269
+ blocked_domains?: Array<string>;
3270
+ max_content_tokens?: null | number;
3271
+ } | {
3272
+ enabled: boolean;
3273
+ name: "web_search";
3274
+ permission_policy: {
3275
+ type: "always_allow";
3276
+ } | {
3277
+ type: "always_ask";
3278
+ } | {
3279
+ type: "auto";
3280
+ };
3281
+ type: "web_search";
3282
+ allowed_domains?: Array<string>;
3283
+ blocked_domains?: Array<string>;
3284
+ user_location?: null | {
3285
+ type: "approximate";
3286
+ city?: null | string;
3287
+ country?: null | string;
3288
+ region?: null | string;
3289
+ timezone?: null | string;
3290
+ };
3291
+ } | {
3292
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3293
+ enabled: boolean;
3294
+ permission_policy: {
3295
+ type: "always_allow" | "always_ask";
3296
+ };
3297
+ }>;
3298
+ default_config: {
3299
+ enabled: boolean;
3300
+ permission_policy: {
3301
+ type: "always_allow";
3302
+ } | {
3303
+ type: "always_ask";
3304
+ } | {
3305
+ type: "auto";
3306
+ };
3307
+ };
3308
+ type: "agent_toolset_20260401";
3309
+ } | {
3310
+ type: "mcp_toolset";
3311
+ mcp_server_name: string;
3312
+ default_config?: {
3313
+ enabled?: boolean | null;
3314
+ permission_policy?: null | {
3315
+ type: "always_allow" | "always_ask";
3316
+ };
3317
+ } | null;
3318
+ configs?: Array<{
3319
+ name: string;
3320
+ enabled?: boolean | null;
3321
+ permission_policy?: null | {
3322
+ type: "always_allow" | "always_ask";
3323
+ };
3324
+ }> | null;
3325
+ } | {
3326
+ description: string;
3327
+ input_schema: {
3328
+ type: "object";
3329
+ properties?: null | {
3330
+ [key: string]: unknown;
3331
+ };
3332
+ required?: null | Array<string>;
3333
+ [key: string]: unknown;
3334
+ };
3335
+ name: string;
3336
+ type: "custom";
3337
+ }>;
3338
+ type: "agent";
3339
+ version: number;
3340
+ };
3341
+ archived_at: null | string;
3342
+ budget: null | {
3343
+ max_list_cost: {
3344
+ amount: string;
3345
+ currency: "USD";
3346
+ };
3347
+ type: "limit";
3348
+ };
3349
+ created_at: string;
3350
+ environment_id?: string;
3351
+ metadata: {
3352
+ [key: string]: string;
3353
+ };
3354
+ outcome_evaluations: Array<{
3355
+ completed_at: null | string;
3356
+ description: string;
3357
+ explanation: null | string;
3358
+ iteration: number;
3359
+ outcome_id: string;
3360
+ result: string;
3361
+ type: "outcome_evaluation";
3362
+ }>;
3363
+ resources: Array<{
3364
+ id: string;
3365
+ created_at: string;
3366
+ mount_path: string;
3367
+ type: "github_repository";
3368
+ updated_at: string;
3369
+ url: string;
3370
+ checkout?: null | {
3371
+ name: string;
3372
+ type: "branch";
3373
+ } | {
3374
+ sha: string;
3375
+ type: "commit";
3376
+ };
3377
+ } | {
3378
+ id: string;
3379
+ created_at: string;
3380
+ file_id: string;
3381
+ mount_path: string;
3382
+ type: "file";
3383
+ updated_at: string;
3384
+ } | {
3385
+ memory_store_id: string;
3386
+ type: "memory_store";
3387
+ access?: null | "read_write" | "read_only";
3388
+ description?: string;
3389
+ instructions?: null | string;
3390
+ mount_path?: null | string;
3391
+ name?: null | string;
3392
+ }>;
3393
+ stats: {
3394
+ active_seconds?: number;
3395
+ duration_seconds?: number;
3396
+ };
3397
+ status: "rescheduling" | "running" | "idle" | "terminated";
3398
+ title: null | string;
3399
+ type: "session";
3400
+ updated_at: string;
3401
+ usage: {
3402
+ active_seconds?: number;
3403
+ cache_creation?: {
3404
+ ephemeral_1h_input_tokens?: number;
3405
+ ephemeral_5m_input_tokens?: number;
3406
+ };
3407
+ cache_read_input_tokens?: number;
3408
+ input_tokens?: number;
3409
+ list_cost?: null | {
3410
+ amount: string;
3411
+ currency: "USD";
3412
+ };
3413
+ output_tokens?: number;
3414
+ server_tool_use?: null | {
3415
+ web_fetch_requests?: number;
3416
+ web_search_requests?: number;
3417
+ };
3418
+ cost_by_product?: {
3419
+ [key: string]: string;
3420
+ };
3421
+ subagent_cost_micro_usd?: number;
3422
+ };
3423
+ vault_ids: Array<string>;
3424
+ deployment_id?: null | string;
3425
+ cwd: string;
3426
+ workspace?: {
3427
+ kind: "shared" | "isolated";
3428
+ path?: string;
3429
+ branch?: string;
3430
+ };
3431
+ computer_id?: string;
3432
+ model?: {
3433
+ id: string;
3434
+ thinking: {
3435
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3436
+ can_disable: boolean;
3437
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3438
+ } | null;
2137
3439
  };
2138
- version: number;
2139
- };
2140
- archived_at: null | string;
2141
- created_at: string;
2142
- description: null | string;
2143
- environment_id?: string | null;
2144
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2145
- metadata: Types.AgentManaged91;
2146
- name: string;
2147
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2148
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2149
- schedule: null | Types.AgentManaged111;
2150
- status: "active" | "paused";
2151
- type: "deployment";
2152
- updated_at: string;
2153
- vault_ids: Array<string>;
2154
- budget?: null | Types.AgentManaged76;
2155
- target: {
2156
- type: "environment" | "computer";
2157
- };
2158
- }>;
2159
- };
2160
- environments: {
2161
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2162
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2163
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2164
- data: Array<Types.AgentManaged138>;
2165
- next_page: string | null;
2166
- }>;
2167
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2168
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2169
- };
2170
- sessions: {
3440
+ thinking?: {
3441
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3442
+ } | null;
3443
+ forked_from?: {
3444
+ session_id: string;
3445
+ message_id: string;
3446
+ } | null;
3447
+ readonly external_user_id: string | null;
3448
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3449
+ }>;
3450
+ };
2171
3451
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2172
3452
  id: string;
2173
3453
  agent: {
@@ -2181,6 +3461,7 @@ export declare function createAgent(transport: Transport): {
2181
3461
  speed?: "standard" | "fast";
2182
3462
  settings?: {
2183
3463
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3464
+ max_output_tokens?: number;
2184
3465
  };
2185
3466
  };
2186
3467
  multiagent: null | Types.AgentManaged171;
@@ -2207,6 +3488,11 @@ export declare function createAgent(transport: Transport): {
2207
3488
  vault_ids: Array<string>;
2208
3489
  deployment_id?: null | string;
2209
3490
  cwd: string;
3491
+ workspace?: {
3492
+ kind: "shared" | "isolated";
3493
+ path?: string;
3494
+ branch?: string;
3495
+ };
2210
3496
  computer_id?: string;
2211
3497
  model?: {
2212
3498
  id: string;
@@ -2226,6 +3512,40 @@ export declare function createAgent(transport: Transport): {
2226
3512
  readonly external_user_id: string | null;
2227
3513
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2228
3514
  }>;
3515
+ artifacts: {
3516
+ contentUrl: {
3517
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3518
+ url: string;
3519
+ expire_time: string;
3520
+ }>;
3521
+ };
3522
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3523
+ data: Array<{
3524
+ object: "artifact";
3525
+ id: string;
3526
+ session_id: string;
3527
+ run_id: string | null;
3528
+ name: string;
3529
+ version: number;
3530
+ parts: Array<{
3531
+ kind: "file";
3532
+ file_id: string;
3533
+ filename: string;
3534
+ mime_type: string;
3535
+ bytes: number;
3536
+ } | {
3537
+ kind: "object";
3538
+ object_type: "canvas" | "media_asset";
3539
+ object_id: string;
3540
+ href: string;
3541
+ title: string | null;
3542
+ }>;
3543
+ source_hrefs: Array<string>;
3544
+ create_time: string;
3545
+ update_time: string;
3546
+ }>;
3547
+ }>;
3548
+ };
2229
3549
  backgroundTasks: {
2230
3550
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2231
3551
  data: Array<{
@@ -2308,6 +3628,7 @@ export declare function createAgent(transport: Transport): {
2308
3628
  speed?: "standard" | "fast";
2309
3629
  settings?: {
2310
3630
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3631
+ max_output_tokens?: number;
2311
3632
  };
2312
3633
  };
2313
3634
  multiagent: null | Types.AgentManaged171;
@@ -2334,6 +3655,11 @@ export declare function createAgent(transport: Transport): {
2334
3655
  vault_ids: Array<string>;
2335
3656
  deployment_id?: null | string;
2336
3657
  cwd: string;
3658
+ workspace?: {
3659
+ kind: "shared" | "isolated";
3660
+ path?: string;
3661
+ branch?: string;
3662
+ };
2337
3663
  computer_id?: string;
2338
3664
  model?: {
2339
3665
  id: string;
@@ -2354,6 +3680,13 @@ export declare function createAgent(transport: Transport): {
2354
3680
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2355
3681
  }>;
2356
3682
  delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
3683
+ dictations: {
3684
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
3685
+ id: string;
3686
+ push_url: string;
3687
+ expires_at: string;
3688
+ }>;
3689
+ };
2357
3690
  events: {
2358
3691
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
2359
3692
  data: Array<{
@@ -2394,7 +3727,6 @@ export declare function createAgent(transport: Transport): {
2394
3727
  run_id: string | null;
2395
3728
  message_id?: string;
2396
3729
  } | {
2397
- full_access_available?: boolean;
2398
3730
  id: string;
2399
3731
  input: Types.AgentManaged197;
2400
3732
  mcp_server_name: string;
@@ -2404,6 +3736,18 @@ export declare function createAgent(transport: Transport): {
2404
3736
  evaluated_permission?: "allow" | "deny" | "ask";
2405
3737
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2406
3738
  session_thread_id?: null | string;
3739
+ permission_suggestions?: Array<{
3740
+ type: "add_rules";
3741
+ behavior: "allow";
3742
+ destination: "agent" | "session";
3743
+ rules: Array<{
3744
+ tool_name: string;
3745
+ rule_content: string;
3746
+ }>;
3747
+ }>;
3748
+ full_access_available?: boolean;
3749
+ user_once?: true;
3750
+ guarded_rule?: string;
2407
3751
  run_id: string | null;
2408
3752
  _meta?: {
2409
3753
  ui?: {
@@ -2417,17 +3761,6 @@ export declare function createAgent(transport: Transport): {
2417
3761
  };
2418
3762
  source?: "app" | "codemode";
2419
3763
  parent_tool_use_id?: string;
2420
- user_once?: true;
2421
- guarded_rule?: string;
2422
- permission_suggestions?: Array<{
2423
- type: "add_rules";
2424
- behavior: "allow";
2425
- destination: "agent" | "session";
2426
- rules: Array<{
2427
- tool_name: string;
2428
- rule_content: string;
2429
- }>;
2430
- }>;
2431
3764
  title?: string;
2432
3765
  input_titles?: {
2433
3766
  [key: string]: string;
@@ -2446,7 +3779,6 @@ export declare function createAgent(transport: Transport): {
2446
3779
  };
2447
3780
  source?: "app" | "codemode";
2448
3781
  } | {
2449
- full_access_available?: boolean;
2450
3782
  id: string;
2451
3783
  input: Types.AgentManaged206;
2452
3784
  name: string;
@@ -2455,9 +3787,6 @@ export declare function createAgent(transport: Transport): {
2455
3787
  evaluated_permission?: "allow" | "deny" | "ask";
2456
3788
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2457
3789
  session_thread_id?: null | string;
2458
- run_id: string | null;
2459
- user_once?: true;
2460
- guarded_rule?: string;
2461
3790
  permission_suggestions?: Array<{
2462
3791
  type: "add_rules";
2463
3792
  behavior: "allow";
@@ -2467,6 +3796,10 @@ export declare function createAgent(transport: Transport): {
2467
3796
  rule_content: string;
2468
3797
  }>;
2469
3798
  }>;
3799
+ full_access_available?: boolean;
3800
+ user_once?: true;
3801
+ guarded_rule?: string;
3802
+ run_id: string | null;
2470
3803
  } | {
2471
3804
  id: string;
2472
3805
  processed_at: string;
@@ -2487,9 +3820,6 @@ export declare function createAgent(transport: Transport): {
2487
3820
  type: "session.status_idle";
2488
3821
  run_id: string | null;
2489
3822
  } | 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 | {
2490
- permission_mode_version?: number;
2491
- previous_permission_mode?: string | null;
2492
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2493
3823
  id: string;
2494
3824
  processed_at: string;
2495
3825
  type: "session.updated";
@@ -2497,6 +3827,9 @@ export declare function createAgent(transport: Transport): {
2497
3827
  budget?: null | Types.AgentManaged76;
2498
3828
  metadata?: Types.AgentManaged246;
2499
3829
  title?: null | string;
3830
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3831
+ previous_permission_mode?: string | null;
3832
+ permission_mode_version?: number;
2500
3833
  model?: {
2501
3834
  id: string;
2502
3835
  };
@@ -2557,19 +3890,164 @@ export declare function createAgent(transport: Transport): {
2557
3890
  processed_at: string;
2558
3891
  } | {
2559
3892
  id: string;
2560
- type: "user.tool_confirmation";
3893
+ type: "cognition.surfaced";
3894
+ processed_at: string;
3895
+ worker_session_id: string;
3896
+ name: string;
3897
+ state: "done" | "waiting" | "failed" | "archived";
3898
+ experience_id?: string;
3899
+ result?: {
3900
+ message?: string;
3901
+ links?: Array<string>;
3902
+ files?: Array<{
3903
+ name?: string;
3904
+ href?: string;
3905
+ }>;
3906
+ held?: Array<{
3907
+ id?: string;
3908
+ summary?: string;
3909
+ effect?: string;
3910
+ method?: string;
3911
+ path?: string;
3912
+ expires_at?: string;
3913
+ }>;
3914
+ };
3915
+ } | {
3916
+ id: string;
3917
+ type: "cognition.intention_woken";
3918
+ processed_at: string;
3919
+ node_id: string;
3920
+ reason: "open_engram" | "assignment";
3921
+ } | {
3922
+ id: string;
3923
+ type: "agent.operation_approval_requested";
3924
+ processed_at: string;
3925
+ approval_id: string;
3926
+ operation_id: string;
3927
+ effect: "outward" | "irreversible";
3928
+ method: string;
3929
+ path: string;
3930
+ summary: string;
3931
+ expires_at: string;
3932
+ worker_session_id?: string;
3933
+ worker_name?: string;
3934
+ } | {
3935
+ id: string;
3936
+ type: "agent.operation_approval_decided";
3937
+ processed_at: string;
3938
+ approval_id: string;
3939
+ status: "approved" | "refused" | "expired";
3940
+ } | {
3941
+ id: string;
3942
+ type: "session.prompt_configuration_mismatch";
3943
+ processed_at: string;
3944
+ pinned_revision_id: string;
3945
+ current_revision_id: string;
3946
+ } | {
3947
+ id: string;
3948
+ type: "session.prompt_rev_changed";
3949
+ processed_at: string;
3950
+ config_revision_id: string;
3951
+ changed: Array<{
3952
+ name: string;
3953
+ rev: string | null;
3954
+ }>;
3955
+ } | {
3956
+ id: string;
3957
+ type: "session.computer_tier";
3958
+ processed_at: string;
3959
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
3960
+ tier: "light" | "heavy";
3961
+ duration_ms: number;
3962
+ error_code?: string;
3963
+ status?: {
3964
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
3965
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
3966
+ percent?: number;
3967
+ files_done?: number;
3968
+ files_total?: number;
3969
+ idle_release_at?: number;
3970
+ retry_at?: number;
3971
+ epoch?: number;
3972
+ heavy_instance?: string | null;
3973
+ heavy_paused?: boolean;
3974
+ };
3975
+ } | {
3976
+ id: string;
3977
+ type: "agent.artifact_delivered";
3978
+ processed_at: string;
3979
+ artifact: {
3980
+ object: "artifact";
3981
+ id: string;
3982
+ session_id: string;
3983
+ run_id: string | null;
3984
+ name: string;
3985
+ version: number;
3986
+ parts: Array<{
3987
+ [key: string]: unknown;
3988
+ }>;
3989
+ source_hrefs: Array<string>;
3990
+ create_time: string;
3991
+ update_time: string;
3992
+ };
3993
+ } | {
3994
+ id: string;
3995
+ type: "agent.image_generation";
2561
3996
  processed_at: string;
2562
3997
  tool_use_id: string;
2563
- result: "allow";
2564
- answers: {
2565
- [key: string]: string;
3998
+ index: number;
3999
+ total: number;
4000
+ status: string;
4001
+ mode?: string;
4002
+ aspect?: string;
4003
+ prompt?: string;
4004
+ model?: string;
4005
+ file_id?: string;
4006
+ label?: string;
4007
+ width?: number;
4008
+ height?: number;
4009
+ revised_prompt?: string;
4010
+ source_labels?: Array<string>;
4011
+ caption?: string;
4012
+ slot?: number | null;
4013
+ replaces?: string;
4014
+ version?: number;
4015
+ failure?: {
4016
+ reason?: string;
2566
4017
  };
2567
- annotations?: {
2568
- [key: string]: {
2569
- preview?: string;
2570
- notes?: string;
2571
- };
4018
+ } | {
4019
+ id: string;
4020
+ type: "session.image_labeled";
4021
+ processed_at: string;
4022
+ label: string;
4023
+ file_id: string;
4024
+ origin: "generated" | "uploaded";
4025
+ filename: string;
4026
+ tool_use_id?: string;
4027
+ version?: number;
4028
+ replaced_file_id?: string;
4029
+ } | {
4030
+ id: string;
4031
+ type: "session.image_set_planned";
4032
+ processed_at: string;
4033
+ tool_use_id: string;
4034
+ items: Array<unknown>;
4035
+ title?: string;
4036
+ } | {
4037
+ id: string;
4038
+ type: "session.project_attached";
4039
+ processed_at: string;
4040
+ project: {
4041
+ id: string;
4042
+ name: string;
4043
+ path: string;
2572
4044
  };
4045
+ } | {
4046
+ id: string;
4047
+ type: "session.project_detached";
4048
+ processed_at: string;
4049
+ project_id: string;
4050
+ reason?: "project_removed";
2573
4051
  }>;
2574
4052
  next_page: string | null;
2575
4053
  }>;
@@ -2590,21 +4068,6 @@ export declare function createAgent(transport: Transport): {
2590
4068
  type: "user.steer";
2591
4069
  event_id: string;
2592
4070
  processed_at: string;
2593
- } | {
2594
- id: string;
2595
- type: "user.tool_confirmation";
2596
- processed_at: string;
2597
- tool_use_id: string;
2598
- result: "allow";
2599
- answers: {
2600
- [key: string]: string;
2601
- };
2602
- annotations?: {
2603
- [key: string]: {
2604
- preview?: string;
2605
- notes?: string;
2606
- };
2607
- };
2608
4071
  }>;
2609
4072
  }>;
2610
4073
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2657,6 +4120,7 @@ export declare function createAgent(transport: Transport): {
2657
4120
  speed?: "standard" | "fast";
2658
4121
  settings?: {
2659
4122
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4123
+ max_output_tokens?: number;
2660
4124
  };
2661
4125
  };
2662
4126
  multiagent: null | {
@@ -3119,6 +4583,11 @@ export declare function createAgent(transport: Transport): {
3119
4583
  vault_ids: Array<string>;
3120
4584
  deployment_id?: null | string;
3121
4585
  cwd: string;
4586
+ workspace?: {
4587
+ kind: "shared" | "isolated";
4588
+ path?: string;
4589
+ branch?: string;
4590
+ };
3122
4591
  computer_id?: string;
3123
4592
  model?: {
3124
4593
  id: string;
@@ -3147,37 +4616,581 @@ export declare function createAgent(transport: Transport): {
3147
4616
  mcp_servers: Array<Types.AgentManaged36>;
3148
4617
  model: {
3149
4618
  id: string;
3150
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4619
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4620
+ inference_geo?: string;
4621
+ speed?: "standard" | "fast";
4622
+ settings?: {
4623
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4624
+ max_output_tokens?: number;
4625
+ };
4626
+ };
4627
+ multiagent: null | Types.AgentManaged171;
4628
+ name: string;
4629
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4630
+ system: null | string;
4631
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4632
+ type: "agent";
4633
+ version: number;
4634
+ };
4635
+ archived_at: null | string;
4636
+ budget: null | Types.AgentManaged76;
4637
+ created_at: string;
4638
+ environment_id?: string;
4639
+ metadata: Types.AgentManaged173;
4640
+ outcome_evaluations: Array<Types.AgentManaged174>;
4641
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4642
+ stats: Types.AgentManaged178;
4643
+ status: "rescheduling" | "running" | "idle" | "terminated";
4644
+ title: null | string;
4645
+ type: "session";
4646
+ updated_at: string;
4647
+ usage: Types.AgentManaged179;
4648
+ vault_ids: Array<string>;
4649
+ deployment_id?: null | string;
4650
+ cwd: string;
4651
+ workspace?: {
4652
+ kind: "shared" | "isolated";
4653
+ path?: string;
4654
+ branch?: string;
4655
+ };
4656
+ computer_id?: string;
4657
+ model?: {
4658
+ id: string;
4659
+ thinking: {
4660
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4661
+ can_disable: boolean;
4662
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4663
+ } | null;
4664
+ };
4665
+ thinking?: {
4666
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4667
+ } | null;
4668
+ forked_from?: {
4669
+ session_id: string;
4670
+ message_id: string;
4671
+ } | null;
4672
+ readonly external_user_id: string | null;
4673
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4674
+ }>;
4675
+ next_page: string | null;
4676
+ }>;
4677
+ name: {
4678
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4679
+ id: string;
4680
+ agent: {
4681
+ id: string;
4682
+ description: null | string;
4683
+ mcp_servers: Array<{
4684
+ type: "url";
4685
+ name: string;
4686
+ url: string;
4687
+ headers?: {
4688
+ [key: string]: string;
4689
+ };
4690
+ timeout_ms?: number;
4691
+ } | {
4692
+ type: "sse";
4693
+ name: string;
4694
+ url: string;
4695
+ headers?: {
4696
+ [key: string]: string;
4697
+ };
4698
+ timeout_ms?: number;
4699
+ } | {
4700
+ type: "stdio";
4701
+ name: string;
4702
+ command: string;
4703
+ args?: Array<string>;
4704
+ env?: {
4705
+ [key: string]: string;
4706
+ };
4707
+ timeout_ms?: number;
4708
+ }>;
4709
+ model: {
4710
+ id: string;
4711
+ effort?: {
4712
+ type: "low";
4713
+ } | {
4714
+ type: "medium";
4715
+ } | {
4716
+ type: "high";
4717
+ } | {
4718
+ type: "xhigh";
4719
+ } | {
4720
+ type: "max";
4721
+ };
3151
4722
  inference_geo?: string;
3152
4723
  speed?: "standard" | "fast";
3153
4724
  settings?: {
3154
4725
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4726
+ max_output_tokens?: number;
3155
4727
  };
3156
4728
  };
3157
- multiagent: null | Types.AgentManaged171;
4729
+ multiagent: null | {
4730
+ agents: Array<{
4731
+ model: string;
4732
+ type: "advisor";
4733
+ } | {
4734
+ id: string;
4735
+ description: null | string;
4736
+ mcp_servers: Array<{
4737
+ type: "url";
4738
+ name: string;
4739
+ url: string;
4740
+ headers?: {
4741
+ [key: string]: string;
4742
+ };
4743
+ timeout_ms?: number;
4744
+ } | {
4745
+ type: "sse";
4746
+ name: string;
4747
+ url: string;
4748
+ headers?: {
4749
+ [key: string]: string;
4750
+ };
4751
+ timeout_ms?: number;
4752
+ } | {
4753
+ type: "stdio";
4754
+ name: string;
4755
+ command: string;
4756
+ args?: Array<string>;
4757
+ env?: {
4758
+ [key: string]: string;
4759
+ };
4760
+ timeout_ms?: number;
4761
+ }>;
4762
+ model: {
4763
+ id: string;
4764
+ effort?: {
4765
+ type: "low";
4766
+ } | {
4767
+ type: "medium";
4768
+ } | {
4769
+ type: "high";
4770
+ } | {
4771
+ type: "xhigh";
4772
+ } | {
4773
+ type: "max";
4774
+ };
4775
+ inference_geo?: string;
4776
+ speed?: "standard" | "fast";
4777
+ };
4778
+ name: string;
4779
+ skills: Array<{
4780
+ skill_id: string;
4781
+ type: "anthropic";
4782
+ version: string;
4783
+ } | {
4784
+ skill_id: string;
4785
+ type: "custom";
4786
+ version: string;
4787
+ }>;
4788
+ system: null | string;
4789
+ tools: Array<{
4790
+ configs: Array<{
4791
+ enabled: boolean;
4792
+ name: "bash";
4793
+ permission_policy: {
4794
+ type: "always_allow";
4795
+ } | {
4796
+ type: "always_ask";
4797
+ } | {
4798
+ type: "auto";
4799
+ };
4800
+ type: "bash";
4801
+ } | {
4802
+ enabled: boolean;
4803
+ name: "edit";
4804
+ permission_policy: {
4805
+ type: "always_allow";
4806
+ } | {
4807
+ type: "always_ask";
4808
+ } | {
4809
+ type: "auto";
4810
+ };
4811
+ type: "edit";
4812
+ } | {
4813
+ enabled: boolean;
4814
+ name: "read";
4815
+ permission_policy: {
4816
+ type: "always_allow";
4817
+ } | {
4818
+ type: "always_ask";
4819
+ } | {
4820
+ type: "auto";
4821
+ };
4822
+ type: "read";
4823
+ } | {
4824
+ enabled: boolean;
4825
+ name: "write";
4826
+ permission_policy: {
4827
+ type: "always_allow";
4828
+ } | {
4829
+ type: "always_ask";
4830
+ } | {
4831
+ type: "auto";
4832
+ };
4833
+ type: "write";
4834
+ } | {
4835
+ enabled: boolean;
4836
+ name: "glob";
4837
+ permission_policy: {
4838
+ type: "always_allow";
4839
+ } | {
4840
+ type: "always_ask";
4841
+ } | {
4842
+ type: "auto";
4843
+ };
4844
+ type: "glob";
4845
+ } | {
4846
+ enabled: boolean;
4847
+ name: "grep";
4848
+ permission_policy: {
4849
+ type: "always_allow";
4850
+ } | {
4851
+ type: "always_ask";
4852
+ } | {
4853
+ type: "auto";
4854
+ };
4855
+ type: "grep";
4856
+ } | {
4857
+ enabled: boolean;
4858
+ name: "web_fetch";
4859
+ permission_policy: {
4860
+ type: "always_allow";
4861
+ } | {
4862
+ type: "always_ask";
4863
+ } | {
4864
+ type: "auto";
4865
+ };
4866
+ type: "web_fetch";
4867
+ allowed_domains?: Array<string>;
4868
+ blocked_domains?: Array<string>;
4869
+ max_content_tokens?: null | number;
4870
+ } | {
4871
+ enabled: boolean;
4872
+ name: "web_search";
4873
+ permission_policy: {
4874
+ type: "always_allow";
4875
+ } | {
4876
+ type: "always_ask";
4877
+ } | {
4878
+ type: "auto";
4879
+ };
4880
+ type: "web_search";
4881
+ allowed_domains?: Array<string>;
4882
+ blocked_domains?: Array<string>;
4883
+ user_location?: null | {
4884
+ type: "approximate";
4885
+ city?: null | string;
4886
+ country?: null | string;
4887
+ region?: null | string;
4888
+ timezone?: null | string;
4889
+ };
4890
+ } | {
4891
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4892
+ enabled: boolean;
4893
+ permission_policy: {
4894
+ type: "always_allow" | "always_ask";
4895
+ };
4896
+ }>;
4897
+ default_config: {
4898
+ enabled: boolean;
4899
+ permission_policy: {
4900
+ type: "always_allow";
4901
+ } | {
4902
+ type: "always_ask";
4903
+ } | {
4904
+ type: "auto";
4905
+ };
4906
+ };
4907
+ type: "agent_toolset_20260401";
4908
+ } | {
4909
+ type: "mcp_toolset";
4910
+ mcp_server_name: string;
4911
+ default_config?: {
4912
+ enabled?: boolean | null;
4913
+ permission_policy?: null | {
4914
+ type: "always_allow" | "always_ask";
4915
+ };
4916
+ } | null;
4917
+ configs?: Array<{
4918
+ name: string;
4919
+ enabled?: boolean | null;
4920
+ permission_policy?: null | {
4921
+ type: "always_allow" | "always_ask";
4922
+ };
4923
+ }> | null;
4924
+ } | {
4925
+ description: string;
4926
+ input_schema: {
4927
+ type: "object";
4928
+ properties?: null | {
4929
+ [key: string]: unknown;
4930
+ };
4931
+ required?: null | Array<string>;
4932
+ [key: string]: unknown;
4933
+ };
4934
+ name: string;
4935
+ type: "custom";
4936
+ }>;
4937
+ type: "agent";
4938
+ version: number;
4939
+ }>;
4940
+ type: "coordinator";
4941
+ };
3158
4942
  name: string;
3159
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4943
+ skills: Array<{
4944
+ skill_id: string;
4945
+ type: "anthropic";
4946
+ version: string;
4947
+ } | {
4948
+ skill_id: string;
4949
+ type: "custom";
4950
+ version: string;
4951
+ }>;
3160
4952
  system: null | string;
3161
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4953
+ tools: Array<{
4954
+ configs: Array<{
4955
+ enabled: boolean;
4956
+ name: "bash";
4957
+ permission_policy: {
4958
+ type: "always_allow";
4959
+ } | {
4960
+ type: "always_ask";
4961
+ } | {
4962
+ type: "auto";
4963
+ };
4964
+ type: "bash";
4965
+ } | {
4966
+ enabled: boolean;
4967
+ name: "edit";
4968
+ permission_policy: {
4969
+ type: "always_allow";
4970
+ } | {
4971
+ type: "always_ask";
4972
+ } | {
4973
+ type: "auto";
4974
+ };
4975
+ type: "edit";
4976
+ } | {
4977
+ enabled: boolean;
4978
+ name: "read";
4979
+ permission_policy: {
4980
+ type: "always_allow";
4981
+ } | {
4982
+ type: "always_ask";
4983
+ } | {
4984
+ type: "auto";
4985
+ };
4986
+ type: "read";
4987
+ } | {
4988
+ enabled: boolean;
4989
+ name: "write";
4990
+ permission_policy: {
4991
+ type: "always_allow";
4992
+ } | {
4993
+ type: "always_ask";
4994
+ } | {
4995
+ type: "auto";
4996
+ };
4997
+ type: "write";
4998
+ } | {
4999
+ enabled: boolean;
5000
+ name: "glob";
5001
+ permission_policy: {
5002
+ type: "always_allow";
5003
+ } | {
5004
+ type: "always_ask";
5005
+ } | {
5006
+ type: "auto";
5007
+ };
5008
+ type: "glob";
5009
+ } | {
5010
+ enabled: boolean;
5011
+ name: "grep";
5012
+ permission_policy: {
5013
+ type: "always_allow";
5014
+ } | {
5015
+ type: "always_ask";
5016
+ } | {
5017
+ type: "auto";
5018
+ };
5019
+ type: "grep";
5020
+ } | {
5021
+ enabled: boolean;
5022
+ name: "web_fetch";
5023
+ permission_policy: {
5024
+ type: "always_allow";
5025
+ } | {
5026
+ type: "always_ask";
5027
+ } | {
5028
+ type: "auto";
5029
+ };
5030
+ type: "web_fetch";
5031
+ allowed_domains?: Array<string>;
5032
+ blocked_domains?: Array<string>;
5033
+ max_content_tokens?: null | number;
5034
+ } | {
5035
+ enabled: boolean;
5036
+ name: "web_search";
5037
+ permission_policy: {
5038
+ type: "always_allow";
5039
+ } | {
5040
+ type: "always_ask";
5041
+ } | {
5042
+ type: "auto";
5043
+ };
5044
+ type: "web_search";
5045
+ allowed_domains?: Array<string>;
5046
+ blocked_domains?: Array<string>;
5047
+ user_location?: null | {
5048
+ type: "approximate";
5049
+ city?: null | string;
5050
+ country?: null | string;
5051
+ region?: null | string;
5052
+ timezone?: null | string;
5053
+ };
5054
+ } | {
5055
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
5056
+ enabled: boolean;
5057
+ permission_policy: {
5058
+ type: "always_allow" | "always_ask";
5059
+ };
5060
+ }>;
5061
+ default_config: {
5062
+ enabled: boolean;
5063
+ permission_policy: {
5064
+ type: "always_allow";
5065
+ } | {
5066
+ type: "always_ask";
5067
+ } | {
5068
+ type: "auto";
5069
+ };
5070
+ };
5071
+ type: "agent_toolset_20260401";
5072
+ } | {
5073
+ type: "mcp_toolset";
5074
+ mcp_server_name: string;
5075
+ default_config?: {
5076
+ enabled?: boolean | null;
5077
+ permission_policy?: null | {
5078
+ type: "always_allow" | "always_ask";
5079
+ };
5080
+ } | null;
5081
+ configs?: Array<{
5082
+ name: string;
5083
+ enabled?: boolean | null;
5084
+ permission_policy?: null | {
5085
+ type: "always_allow" | "always_ask";
5086
+ };
5087
+ }> | null;
5088
+ } | {
5089
+ description: string;
5090
+ input_schema: {
5091
+ type: "object";
5092
+ properties?: null | {
5093
+ [key: string]: unknown;
5094
+ };
5095
+ required?: null | Array<string>;
5096
+ [key: string]: unknown;
5097
+ };
5098
+ name: string;
5099
+ type: "custom";
5100
+ }>;
3162
5101
  type: "agent";
3163
5102
  version: number;
3164
5103
  };
3165
5104
  archived_at: null | string;
3166
- budget: null | Types.AgentManaged76;
5105
+ budget: null | {
5106
+ max_list_cost: {
5107
+ amount: string;
5108
+ currency: "USD";
5109
+ };
5110
+ type: "limit";
5111
+ };
3167
5112
  created_at: string;
3168
5113
  environment_id?: string;
3169
- metadata: Types.AgentManaged173;
3170
- outcome_evaluations: Array<Types.AgentManaged174>;
3171
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3172
- stats: Types.AgentManaged178;
5114
+ metadata: {
5115
+ [key: string]: string;
5116
+ };
5117
+ outcome_evaluations: Array<{
5118
+ completed_at: null | string;
5119
+ description: string;
5120
+ explanation: null | string;
5121
+ iteration: number;
5122
+ outcome_id: string;
5123
+ result: string;
5124
+ type: "outcome_evaluation";
5125
+ }>;
5126
+ resources: Array<{
5127
+ id: string;
5128
+ created_at: string;
5129
+ mount_path: string;
5130
+ type: "github_repository";
5131
+ updated_at: string;
5132
+ url: string;
5133
+ checkout?: null | {
5134
+ name: string;
5135
+ type: "branch";
5136
+ } | {
5137
+ sha: string;
5138
+ type: "commit";
5139
+ };
5140
+ } | {
5141
+ id: string;
5142
+ created_at: string;
5143
+ file_id: string;
5144
+ mount_path: string;
5145
+ type: "file";
5146
+ updated_at: string;
5147
+ } | {
5148
+ memory_store_id: string;
5149
+ type: "memory_store";
5150
+ access?: null | "read_write" | "read_only";
5151
+ description?: string;
5152
+ instructions?: null | string;
5153
+ mount_path?: null | string;
5154
+ name?: null | string;
5155
+ }>;
5156
+ stats: {
5157
+ active_seconds?: number;
5158
+ duration_seconds?: number;
5159
+ };
3173
5160
  status: "rescheduling" | "running" | "idle" | "terminated";
3174
5161
  title: null | string;
3175
5162
  type: "session";
3176
5163
  updated_at: string;
3177
- usage: Types.AgentManaged179;
5164
+ usage: {
5165
+ active_seconds?: number;
5166
+ cache_creation?: {
5167
+ ephemeral_1h_input_tokens?: number;
5168
+ ephemeral_5m_input_tokens?: number;
5169
+ };
5170
+ cache_read_input_tokens?: number;
5171
+ input_tokens?: number;
5172
+ list_cost?: null | {
5173
+ amount: string;
5174
+ currency: "USD";
5175
+ };
5176
+ output_tokens?: number;
5177
+ server_tool_use?: null | {
5178
+ web_fetch_requests?: number;
5179
+ web_search_requests?: number;
5180
+ };
5181
+ cost_by_product?: {
5182
+ [key: string]: string;
5183
+ };
5184
+ subagent_cost_micro_usd?: number;
5185
+ };
3178
5186
  vault_ids: Array<string>;
3179
5187
  deployment_id?: null | string;
3180
5188
  cwd: string;
5189
+ workspace?: {
5190
+ kind: "shared" | "isolated";
5191
+ path?: string;
5192
+ branch?: string;
5193
+ };
3181
5194
  computer_id?: string;
3182
5195
  model?: {
3183
5196
  id: string;
@@ -3197,8 +5210,21 @@ export declare function createAgent(transport: Transport): {
3197
5210
  readonly external_user_id: string | null;
3198
5211
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3199
5212
  }>;
3200
- next_page: string | null;
3201
- }>;
5213
+ };
5214
+ requests: {
5215
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
5216
+ data: Array<{
5217
+ id: string;
5218
+ object: "request";
5219
+ kind: "question" | "approval";
5220
+ status: "pending";
5221
+ tool_name: string;
5222
+ input: unknown;
5223
+ create_time: string;
5224
+ expire_time: string | null;
5225
+ }>;
5226
+ }>;
5227
+ };
3202
5228
  resources: {
3203
5229
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3204
5230
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3229,6 +5255,7 @@ export declare function createAgent(transport: Transport): {
3229
5255
  speed?: "standard" | "fast";
3230
5256
  settings?: {
3231
5257
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5258
+ max_output_tokens?: number;
3232
5259
  };
3233
5260
  };
3234
5261
  multiagent: null | Types.AgentManaged171;
@@ -3255,6 +5282,11 @@ export declare function createAgent(transport: Transport): {
3255
5282
  vault_ids: Array<string>;
3256
5283
  deployment_id?: null | string;
3257
5284
  cwd: string;
5285
+ workspace?: {
5286
+ kind: "shared" | "isolated";
5287
+ path?: string;
5288
+ branch?: string;
5289
+ };
3258
5290
  computer_id?: string;
3259
5291
  model?: {
3260
5292
  id: string;
@@ -3401,7 +5433,6 @@ export declare function createAgent(transport: Transport): {
3401
5433
  run_id: string | null;
3402
5434
  message_id?: string;
3403
5435
  } | {
3404
- full_access_available?: boolean;
3405
5436
  id: string;
3406
5437
  input: Types.AgentManaged197;
3407
5438
  mcp_server_name: string;
@@ -3411,6 +5442,18 @@ export declare function createAgent(transport: Transport): {
3411
5442
  evaluated_permission?: "allow" | "deny" | "ask";
3412
5443
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3413
5444
  session_thread_id?: null | string;
5445
+ permission_suggestions?: Array<{
5446
+ type: "add_rules";
5447
+ behavior: "allow";
5448
+ destination: "agent" | "session";
5449
+ rules: Array<{
5450
+ tool_name: string;
5451
+ rule_content: string;
5452
+ }>;
5453
+ }>;
5454
+ full_access_available?: boolean;
5455
+ user_once?: true;
5456
+ guarded_rule?: string;
3414
5457
  run_id: string | null;
3415
5458
  parent_tool_use_id?: string;
3416
5459
  _meta?: {
@@ -3424,17 +5467,6 @@ export declare function createAgent(transport: Transport): {
3424
5467
  };
3425
5468
  };
3426
5469
  source?: "app" | "codemode";
3427
- user_once?: true;
3428
- guarded_rule?: string;
3429
- permission_suggestions?: Array<{
3430
- type: "add_rules";
3431
- behavior: "allow";
3432
- destination: "agent" | "session";
3433
- rules: Array<{
3434
- tool_name: string;
3435
- rule_content: string;
3436
- }>;
3437
- }>;
3438
5470
  title?: string;
3439
5471
  input_titles?: {
3440
5472
  [key: string]: string;
@@ -3453,7 +5485,6 @@ export declare function createAgent(transport: Transport): {
3453
5485
  };
3454
5486
  source?: "app" | "codemode";
3455
5487
  } | {
3456
- full_access_available?: boolean;
3457
5488
  id: string;
3458
5489
  input: Types.AgentManaged206;
3459
5490
  name: string;
@@ -3462,9 +5493,6 @@ export declare function createAgent(transport: Transport): {
3462
5493
  evaluated_permission?: "allow" | "deny" | "ask";
3463
5494
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3464
5495
  session_thread_id?: null | string;
3465
- run_id: string | null;
3466
- user_once?: true;
3467
- guarded_rule?: string;
3468
5496
  permission_suggestions?: Array<{
3469
5497
  type: "add_rules";
3470
5498
  behavior: "allow";
@@ -3474,6 +5502,10 @@ export declare function createAgent(transport: Transport): {
3474
5502
  rule_content: string;
3475
5503
  }>;
3476
5504
  }>;
5505
+ full_access_available?: boolean;
5506
+ user_once?: true;
5507
+ guarded_rule?: string;
5508
+ run_id: string | null;
3477
5509
  } | {
3478
5510
  id: string;
3479
5511
  processed_at: string;
@@ -3494,9 +5526,6 @@ export declare function createAgent(transport: Transport): {
3494
5526
  type: "session.status_idle";
3495
5527
  run_id: string | null;
3496
5528
  } | 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 | {
3497
- permission_mode_version?: number;
3498
- previous_permission_mode?: string | null;
3499
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3500
5529
  id: string;
3501
5530
  processed_at: string;
3502
5531
  type: "session.updated";
@@ -3504,6 +5533,9 @@ export declare function createAgent(transport: Transport): {
3504
5533
  budget?: null | Types.AgentManaged76;
3505
5534
  metadata?: Types.AgentManaged246;
3506
5535
  title?: null | string;
5536
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5537
+ previous_permission_mode?: string | null;
5538
+ permission_mode_version?: number;
3507
5539
  model?: {
3508
5540
  id: string;
3509
5541
  };
@@ -3545,23 +5577,183 @@ export declare function createAgent(transport: Transport): {
3545
5577
  } | null;
3546
5578
  } | {
3547
5579
  id: string;
3548
- type: "session.goal_verification";
5580
+ type: "session.goal_verification";
5581
+ processed_at: string;
5582
+ status: "started" | "completed" | "failed_closed" | "cancelled";
5583
+ goal_id: string;
5584
+ goal_iteration: number;
5585
+ verification_id: string;
5586
+ anchor_message_id: string | null;
5587
+ verification?: {
5588
+ passed: boolean;
5589
+ reason: string;
5590
+ next_action?: string;
5591
+ };
5592
+ } | {
5593
+ id: string;
5594
+ type: "user.steer";
5595
+ event_id: string;
5596
+ processed_at: string;
5597
+ } | {
5598
+ id: string;
5599
+ type: "cognition.surfaced";
5600
+ processed_at: string;
5601
+ worker_session_id: string;
5602
+ name: string;
5603
+ state: "done" | "waiting" | "failed" | "archived";
5604
+ experience_id?: string;
5605
+ result?: {
5606
+ message?: string;
5607
+ links?: Array<string>;
5608
+ files?: Array<{
5609
+ name?: string;
5610
+ href?: string;
5611
+ }>;
5612
+ held?: Array<{
5613
+ id?: string;
5614
+ summary?: string;
5615
+ effect?: string;
5616
+ method?: string;
5617
+ path?: string;
5618
+ expires_at?: string;
5619
+ }>;
5620
+ };
5621
+ } | {
5622
+ id: string;
5623
+ type: "cognition.intention_woken";
5624
+ processed_at: string;
5625
+ node_id: string;
5626
+ reason: "open_engram" | "assignment";
5627
+ } | {
5628
+ id: string;
5629
+ type: "agent.operation_approval_requested";
5630
+ processed_at: string;
5631
+ approval_id: string;
5632
+ operation_id: string;
5633
+ effect: "outward" | "irreversible";
5634
+ method: string;
5635
+ path: string;
5636
+ summary: string;
5637
+ expires_at: string;
5638
+ worker_session_id?: string;
5639
+ worker_name?: string;
5640
+ } | {
5641
+ id: string;
5642
+ type: "agent.operation_approval_decided";
5643
+ processed_at: string;
5644
+ approval_id: string;
5645
+ status: "approved" | "refused" | "expired";
5646
+ } | {
5647
+ id: string;
5648
+ type: "session.prompt_configuration_mismatch";
5649
+ processed_at: string;
5650
+ pinned_revision_id: string;
5651
+ current_revision_id: string;
5652
+ } | {
5653
+ id: string;
5654
+ type: "session.prompt_rev_changed";
5655
+ processed_at: string;
5656
+ config_revision_id: string;
5657
+ changed: Array<{
5658
+ name: string;
5659
+ rev: string | null;
5660
+ }>;
5661
+ } | {
5662
+ id: string;
5663
+ type: "session.computer_tier";
5664
+ processed_at: string;
5665
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
5666
+ tier: "light" | "heavy";
5667
+ duration_ms: number;
5668
+ error_code?: string;
5669
+ status?: {
5670
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
5671
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
5672
+ percent?: number;
5673
+ files_done?: number;
5674
+ files_total?: number;
5675
+ idle_release_at?: number;
5676
+ retry_at?: number;
5677
+ epoch?: number;
5678
+ heavy_instance?: string | null;
5679
+ heavy_paused?: boolean;
5680
+ };
5681
+ } | {
5682
+ id: string;
5683
+ type: "agent.artifact_delivered";
5684
+ processed_at: string;
5685
+ artifact: {
5686
+ object: "artifact";
5687
+ id: string;
5688
+ session_id: string;
5689
+ run_id: string | null;
5690
+ name: string;
5691
+ version: number;
5692
+ parts: Array<{
5693
+ [key: string]: unknown;
5694
+ }>;
5695
+ source_hrefs: Array<string>;
5696
+ create_time: string;
5697
+ update_time: string;
5698
+ };
5699
+ } | {
5700
+ id: string;
5701
+ type: "agent.image_generation";
5702
+ processed_at: string;
5703
+ tool_use_id: string;
5704
+ index: number;
5705
+ total: number;
5706
+ status: string;
5707
+ mode?: string;
5708
+ aspect?: string;
5709
+ prompt?: string;
5710
+ model?: string;
5711
+ file_id?: string;
5712
+ label?: string;
5713
+ width?: number;
5714
+ height?: number;
5715
+ revised_prompt?: string;
5716
+ source_labels?: Array<string>;
5717
+ caption?: string;
5718
+ slot?: number | null;
5719
+ replaces?: string;
5720
+ version?: number;
5721
+ failure?: {
5722
+ reason?: string;
5723
+ };
5724
+ } | {
5725
+ id: string;
5726
+ type: "session.image_labeled";
5727
+ processed_at: string;
5728
+ label: string;
5729
+ file_id: string;
5730
+ origin: "generated" | "uploaded";
5731
+ filename: string;
5732
+ tool_use_id?: string;
5733
+ version?: number;
5734
+ replaced_file_id?: string;
5735
+ } | {
5736
+ id: string;
5737
+ type: "session.image_set_planned";
3549
5738
  processed_at: string;
3550
- status: "started" | "completed" | "failed_closed" | "cancelled";
3551
- goal_id: string;
3552
- goal_iteration: number;
3553
- verification_id: string;
3554
- anchor_message_id: string | null;
3555
- verification?: {
3556
- passed: boolean;
3557
- reason: string;
3558
- next_action?: string;
5739
+ tool_use_id: string;
5740
+ items: Array<unknown>;
5741
+ title?: string;
5742
+ } | {
5743
+ id: string;
5744
+ type: "session.project_attached";
5745
+ processed_at: string;
5746
+ project: {
5747
+ id: string;
5748
+ name: string;
5749
+ path: string;
3559
5750
  };
3560
5751
  } | {
3561
5752
  id: string;
3562
- type: "user.steer";
3563
- event_id: string;
5753
+ type: "session.project_detached";
3564
5754
  processed_at: string;
5755
+ project_id: string;
5756
+ reason?: "project_removed";
3565
5757
  }>;
3566
5758
  next_page: string | null;
3567
5759
  }>;
@@ -3594,6 +5786,7 @@ export declare function createAgent(transport: Transport): {
3594
5786
  speed?: "standard" | "fast";
3595
5787
  settings?: {
3596
5788
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5789
+ max_output_tokens?: number;
3597
5790
  };
3598
5791
  };
3599
5792
  multiagent: null | Types.AgentManaged171;
@@ -3620,6 +5813,11 @@ export declare function createAgent(transport: Transport): {
3620
5813
  vault_ids: Array<string>;
3621
5814
  deployment_id?: null | string;
3622
5815
  cwd: string;
5816
+ workspace?: {
5817
+ kind: "shared" | "isolated";
5818
+ path?: string;
5819
+ branch?: string;
5820
+ };
3623
5821
  computer_id?: string;
3624
5822
  model?: {
3625
5823
  id: string;
@@ -3684,6 +5882,29 @@ export declare function createAgent(transport: Transport): {
3684
5882
  next_page: null;
3685
5883
  }>;
3686
5884
  };
5885
+ uploads: {
5886
+ contentUrl: {
5887
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5888
+ url: string;
5889
+ expires_at: string;
5890
+ }>;
5891
+ };
5892
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5893
+ upload_id: string;
5894
+ expires_at: string;
5895
+ url: string;
5896
+ } | {
5897
+ upload_id: string;
5898
+ expires_at: string;
5899
+ part_size: number;
5900
+ parts: Array<{
5901
+ part_number: number;
5902
+ url: string;
5903
+ }>;
5904
+ complete_url: string;
5905
+ status_url: string;
5906
+ }>;
5907
+ };
3687
5908
  };
3688
5909
  export declare function createApplication(transport: Transport): {
3689
5910
  assets: {
@@ -3948,6 +6169,11 @@ export declare function createAutomation(transport: Transport): {
3948
6169
  };
3949
6170
  };
3950
6171
  };
6172
+ export declare function createBilling(transport: Transport): {
6173
+ prices: {
6174
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
6175
+ };
6176
+ };
3951
6177
  export declare function createBrowser(transport: Transport): {
3952
6178
  connect: {
3953
6179
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3977,6 +6203,10 @@ export declare function createBrowser(transport: Transport): {
3977
6203
  tab: string;
3978
6204
  url: string;
3979
6205
  title: string;
6206
+ } | {
6207
+ type: "select";
6208
+ tab: string;
6209
+ values: Array<string>;
3980
6210
  } | {
3981
6211
  type: "tabs.list";
3982
6212
  tabs: Array<{
@@ -4003,6 +6233,11 @@ export declare function createBrowser(transport: Transport): {
4003
6233
  type: "evaluate";
4004
6234
  tab: string;
4005
6235
  value: unknown;
6236
+ } | {
6237
+ type: "set_cookie";
6238
+ tab: string;
6239
+ name: string;
6240
+ domain: string;
4006
6241
  }>;
4007
6242
  };
4008
6243
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4060,6 +6295,24 @@ export declare function createCanvas(transport: Transport): {
4060
6295
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4061
6296
  };
4062
6297
  };
6298
+ export declare function createContent(transport: Transport): {
6299
+ contents: {
6300
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
6301
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
6302
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
6303
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
6304
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
6305
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
6306
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
6307
+ };
6308
+ playbackSessions: {
6309
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
6310
+ };
6311
+ versions: {
6312
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
6313
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
6314
+ };
6315
+ };
4063
6316
  export declare function createCrm(transport: Transport): {
4064
6317
  associations: {
4065
6318
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4120,6 +6373,32 @@ export declare function createCrm(transport: Transport): {
4120
6373
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4121
6374
  };
4122
6375
  };
6376
+ export declare function createCustomer(transport: Transport): {
6377
+ accessTokens: {
6378
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
6379
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
6380
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
6381
+ };
6382
+ customers: {
6383
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
6384
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
6385
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
6386
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
6387
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
6388
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
6389
+ };
6390
+ grantCodes: {
6391
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
6392
+ };
6393
+ publishableKeys: {
6394
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
6395
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
6396
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
6397
+ };
6398
+ usage: {
6399
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
6400
+ };
6401
+ };
4123
6402
  export declare function createCut(transport: Transport): {
4124
6403
  exports: {
4125
6404
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4172,15 +6451,40 @@ export declare function createCut(transport: Transport): {
4172
6451
  };
4173
6452
  export declare function createDatabase(transport: Transport): {
4174
6453
  databases: {
6454
+ commands: {
6455
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
6456
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
6457
+ result: unknown;
6458
+ }>;
6459
+ };
6460
+ /** @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. */
4175
6461
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
6462
+ /** @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. */
4176
6463
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4177
6464
  events: {
6465
+ /** @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. */
4178
6466
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4179
6467
  data: Array<Types.DatabaseDatabaseEvent>;
4180
6468
  }>;
4181
6469
  };
6470
+ keys: {
6471
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
6472
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
6473
+ deleted: boolean;
6474
+ }>;
6475
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
6476
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6477
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
6478
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
6479
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
6480
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
6481
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
6482
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
6483
+ };
6484
+ /** @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. */
4182
6485
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4183
6486
  purge: {
6487
+ /** @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. */
4184
6488
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4185
6489
  id: string;
4186
6490
  object: "database";
@@ -4188,38 +6492,149 @@ export declare function createDatabase(transport: Transport): {
4188
6492
  }>;
4189
6493
  };
4190
6494
  rest: {
6495
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
4191
6496
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6497
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
4192
6498
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6499
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
4193
6500
  head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
6501
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
4194
6502
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6503
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
4195
6504
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4196
6505
  };
6506
+ /** @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. */
4197
6507
  restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6508
+ /** @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. */
4198
6509
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
4199
6510
  tables: {
6511
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
4200
6512
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6513
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
4201
6514
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
4202
6515
  deleted: true;
4203
6516
  }>;
4204
6517
  fields: {
6518
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
4205
6519
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6520
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
4206
6521
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6522
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
4207
6523
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
4208
6524
  };
6525
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
4209
6526
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
4210
6527
  data: Array<Types.DatabaseTable>;
4211
6528
  }>;
6529
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
4212
6530
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6531
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
4213
6532
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
4214
6533
  };
6534
+ /** @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. */
4215
6535
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4216
6536
  };
6537
+ kv: {
6538
+ commands: {
6539
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6540
+ result: unknown;
6541
+ }>;
6542
+ };
6543
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6544
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6545
+ events: {
6546
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6547
+ data: Array<Types.DatabaseDatabaseEvent>;
6548
+ }>;
6549
+ };
6550
+ keys: {
6551
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6552
+ deleted: boolean;
6553
+ }>;
6554
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6555
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6556
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6557
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6558
+ };
6559
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6560
+ purge: {
6561
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6562
+ id: string;
6563
+ object: "database";
6564
+ purged: true;
6565
+ }>;
6566
+ };
6567
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6568
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6569
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6570
+ };
6571
+ table: {
6572
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6573
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6574
+ events: {
6575
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6576
+ data: Array<Types.DatabaseDatabaseEvent>;
6577
+ }>;
6578
+ };
6579
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6580
+ purge: {
6581
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6582
+ id: string;
6583
+ object: "database";
6584
+ purged: true;
6585
+ }>;
6586
+ };
6587
+ rest: {
6588
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6589
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6590
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6591
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6592
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6593
+ };
6594
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6595
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6596
+ tables: {
6597
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6598
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
6599
+ deleted: true;
6600
+ }>;
6601
+ fields: {
6602
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6603
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6604
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
6605
+ };
6606
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
6607
+ data: Array<Types.DatabaseTable>;
6608
+ }>;
6609
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6610
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6611
+ };
6612
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6613
+ };
4217
6614
  };
4218
6615
  export declare function createDevops(transport: Transport): {
6616
+ changes: {
6617
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6618
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
6619
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6620
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
6621
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6622
+ };
6623
+ connections: {
6624
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6625
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6626
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6627
+ repositories: {
6628
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6629
+ };
6630
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6631
+ };
4219
6632
  environments: {
4220
6633
  checkpoints: {
4221
6634
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4222
6635
  };
6636
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6637
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
4223
6638
  };
4224
6639
  flags: {
4225
6640
  archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
@@ -4238,6 +6653,17 @@ export declare function createDevops(transport: Transport): {
4238
6653
  rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
4239
6654
  };
4240
6655
  projects: {
6656
+ changes: {
6657
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6658
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6659
+ };
6660
+ cleanups: {
6661
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6662
+ };
6663
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6664
+ defaultBranch: {
6665
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6666
+ };
4241
6667
  environments: {
4242
6668
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4243
6669
  targets: {
@@ -4255,17 +6681,26 @@ export declare function createDevops(transport: Transport): {
4255
6681
  flags: {
4256
6682
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4257
6683
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6684
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4258
6685
  };
4259
6686
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4260
6687
  promotions: {
4261
6688
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4262
6689
  };
6690
+ pullRequests: {
6691
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6692
+ };
4263
6693
  releases: {
4264
6694
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4265
6695
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4266
6696
  };
4267
6697
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4268
6698
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6699
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6700
+ segments: {
6701
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6702
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6703
+ };
4269
6704
  targets: {
4270
6705
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4271
6706
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4287,10 +6722,21 @@ export declare function createDevops(transport: Transport): {
4287
6722
  testSuites: {
4288
6723
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4289
6724
  };
6725
+ units: {
6726
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6727
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6728
+ };
6729
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6730
+ workspaces: {
6731
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6732
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6733
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6734
+ };
4290
6735
  };
4291
6736
  promotions: {
4292
6737
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4293
6738
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6739
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4294
6740
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4295
6741
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4296
6742
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4299,6 +6745,16 @@ export declare function createDevops(transport: Transport): {
4299
6745
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4300
6746
  };
4301
6747
  };
6748
+ pullRequests: {
6749
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6750
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6751
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6752
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6753
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6754
+ reviews: {
6755
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6756
+ };
6757
+ };
4302
6758
  releases: {
4303
6759
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4304
6760
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4306,6 +6762,9 @@ export declare function createDevops(transport: Transport): {
4306
6762
  rollouts: {
4307
6763
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4308
6764
  };
6765
+ segments: {
6766
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6767
+ };
4309
6768
  testCases: {
4310
6769
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4311
6770
  };
@@ -4323,10 +6782,24 @@ export declare function createDevops(transport: Transport): {
4323
6782
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4324
6783
  };
4325
6784
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6785
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4326
6786
  };
4327
6787
  testSuites: {
4328
6788
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4329
6789
  };
6790
+ units: {
6791
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6792
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6793
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6794
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6795
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6796
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6797
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6798
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6799
+ transitions: {
6800
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6801
+ };
6802
+ };
4330
6803
  };
4331
6804
  export declare function createFile(transport: Transport): {
4332
6805
  files: {
@@ -4417,12 +6890,19 @@ export declare function createMedia(transport: Transport): {
4417
6890
  };
4418
6891
  libraries: {
4419
6892
  assets: {
6893
+ align: {
6894
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6895
+ };
4420
6896
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4421
6897
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4422
6898
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4423
6899
  frames: {
4424
6900
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4425
6901
  };
6902
+ hls: {
6903
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6904
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6905
+ };
4426
6906
  import: {
4427
6907
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4428
6908
  };
@@ -4435,6 +6915,9 @@ export declare function createMedia(transport: Transport): {
4435
6915
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4436
6916
  };
4437
6917
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6918
+ versions: {
6919
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6920
+ };
4438
6921
  };
4439
6922
  batches: {
4440
6923
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4457,6 +6940,11 @@ export declare function createMedia(transport: Transport): {
4457
6940
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4458
6941
  };
4459
6942
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6943
+ materials: {
6944
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6945
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6946
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6947
+ };
4460
6948
  purge: {
4461
6949
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4462
6950
  };
@@ -4481,6 +6969,12 @@ export declare function createMedia(transport: Transport): {
4481
6969
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4482
6970
  };
4483
6971
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6972
+ voices: {
6973
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6974
+ designs: {
6975
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6976
+ };
6977
+ };
4484
6978
  };
4485
6979
  speech: {
4486
6980
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -4687,7 +7181,35 @@ export declare function createModel(transport: Transport): {
4687
7181
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4688
7182
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4689
7183
  };
7184
+ modelAccess: {
7185
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
7186
+ items: Array<{
7187
+ model: string;
7188
+ access_required: boolean;
7189
+ granted: boolean;
7190
+ granted_by: string | null;
7191
+ granted_at: string | null;
7192
+ sell_input_price: number | null;
7193
+ sell_output_price: number | null;
7194
+ }>;
7195
+ }>;
7196
+ };
4690
7197
  models: {
7198
+ access: {
7199
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
7200
+ model: string;
7201
+ revoked: true;
7202
+ }>;
7203
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
7204
+ model: string;
7205
+ access_required: boolean;
7206
+ granted: true;
7207
+ granted_by: string;
7208
+ granted_at: string;
7209
+ sell_input_price: number | null;
7210
+ sell_output_price: number | null;
7211
+ }>;
7212
+ };
4691
7213
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4692
7214
  object: "list";
4693
7215
  data: Array<{
@@ -4702,6 +7224,7 @@ export declare function createModel(transport: Transport): {
4702
7224
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4703
7225
  supported_apis: Array<string>;
4704
7226
  tags: Array<string>;
7227
+ access_required: boolean;
4705
7228
  architecture: {
4706
7229
  modality: string;
4707
7230
  input_modalities: Array<string>;
@@ -4748,6 +7271,7 @@ export declare function createModel(transport: Transport): {
4748
7271
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4749
7272
  supported_apis: Array<string>;
4750
7273
  tags: Array<string>;
7274
+ access_required: boolean;
4751
7275
  architecture: {
4752
7276
  modality: string;
4753
7277
  input_modalities: Array<string>;
@@ -4974,6 +7498,7 @@ export declare function createModel(transport: Transport): {
4974
7498
  unsigned_urls: Array<string>;
4975
7499
  usage?: {
4976
7500
  cost: number;
7501
+ billed_seconds?: number;
4977
7502
  };
4978
7503
  }>;
4979
7504
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5004,6 +7529,7 @@ export declare function createModel(transport: Transport): {
5004
7529
  unsigned_urls: Array<string>;
5005
7530
  usage?: {
5006
7531
  cost: number;
7532
+ billed_seconds?: number;
5007
7533
  };
5008
7534
  }>;
5009
7535
  has_more: boolean;
@@ -5032,6 +7558,7 @@ export declare function createModel(transport: Transport): {
5032
7558
  unsigned_urls: Array<string>;
5033
7559
  usage?: {
5034
7560
  cost: number;
7561
+ billed_seconds?: number;
5035
7562
  };
5036
7563
  }>;
5037
7564
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5325,6 +7852,84 @@ export declare function createOrganization(transport: Transport): {
5325
7852
  next_page: string | null;
5326
7853
  }>;
5327
7854
  };
7855
+ notifications: {
7856
+ deliveries: {
7857
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7858
+ [key: string]: unknown;
7859
+ }>;
7860
+ };
7861
+ letters: {
7862
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7863
+ unread: number;
7864
+ }>;
7865
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7866
+ letters: Array<{
7867
+ id: string;
7868
+ sender: string;
7869
+ summary: string;
7870
+ body: string;
7871
+ thread: string;
7872
+ kind: "notice" | "mention" | "decision";
7873
+ source: {
7874
+ [key: string]: unknown;
7875
+ };
7876
+ read: boolean;
7877
+ deliveredAt: string;
7878
+ createTime: string;
7879
+ reason: string;
7880
+ archived: boolean;
7881
+ }>;
7882
+ nextCursor: string;
7883
+ unread: number;
7884
+ }>;
7885
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7886
+ unread: number;
7887
+ }>;
7888
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7889
+ unread: number;
7890
+ }>;
7891
+ };
7892
+ organizationDefault: {
7893
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7894
+ [key: string]: unknown;
7895
+ }>;
7896
+ };
7897
+ preferences: {
7898
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7899
+ [key: string]: unknown;
7900
+ }>;
7901
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7902
+ name: string;
7903
+ workflows: {
7904
+ [key: string]: unknown;
7905
+ };
7906
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7907
+ updateTime?: string;
7908
+ catalog: Array<{
7909
+ workflow: string;
7910
+ group: string;
7911
+ title: string;
7912
+ description?: string;
7913
+ severity: "high" | "medium" | "low" | "none";
7914
+ critical: boolean;
7915
+ channels: Array<string>;
7916
+ }>;
7917
+ organization: {
7918
+ [key: string]: unknown;
7919
+ };
7920
+ effective: {
7921
+ [key: string]: unknown;
7922
+ };
7923
+ }>;
7924
+ };
7925
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
7926
+ unreadCount: number;
7927
+ unseenCount: number;
7928
+ }>;
7929
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
7930
+ [key: string]: unknown;
7931
+ }>;
7932
+ };
5328
7933
  usage: {
5329
7934
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5330
7935
  object: "page";
@@ -5348,13 +7953,163 @@ export declare function createOrganization(transport: Transport): {
5348
7953
  }>;
5349
7954
  };
5350
7955
  };
7956
+ export declare function createRegistry(transport: Transport): {
7957
+ installations: {
7958
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7959
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7960
+ };
7961
+ packages: {
7962
+ git: {
7963
+ commits: {
7964
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7965
+ };
7966
+ files: {
7967
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7968
+ };
7969
+ refs: {
7970
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7971
+ };
7972
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7973
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7974
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7975
+ trees: {
7976
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7977
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7978
+ };
7979
+ };
7980
+ gitCredential: {
7981
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7982
+ };
7983
+ installations: {
7984
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7985
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7986
+ };
7987
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7988
+ versions: {
7989
+ contents: {
7990
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7991
+ };
7992
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7993
+ files: {
7994
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7995
+ };
7996
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7997
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7998
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7999
+ };
8000
+ };
8001
+ repositories: {
8002
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
8003
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
8004
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
8005
+ packages: {
8006
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
8007
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
8008
+ };
8009
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
8010
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
8011
+ };
8012
+ };
5351
8013
  export declare function createSandbox(transport: Transport): {
8014
+ byod: {
8015
+ devices: {
8016
+ disconnect: {
8017
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
8018
+ id: string;
8019
+ object: "byod_device";
8020
+ disconnected: true;
8021
+ }>;
8022
+ };
8023
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
8024
+ data: Array<{
8025
+ object: "byod_device";
8026
+ id: string;
8027
+ platform: "android" | "macos" | "linux";
8028
+ name: string;
8029
+ model: string;
8030
+ os_version: string;
8031
+ online: boolean;
8032
+ last_seen_at: string | null;
8033
+ created_at: string;
8034
+ capabilities: Array<"display" | "agent">;
8035
+ agent_dirs: Array<string>;
8036
+ allow_bypass: boolean;
8037
+ }>;
8038
+ }>;
8039
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
8040
+ object: "byod_device";
8041
+ id: string;
8042
+ platform: "android" | "macos" | "linux";
8043
+ name: string;
8044
+ model: string;
8045
+ os_version: string;
8046
+ online: boolean;
8047
+ last_seen_at: string | null;
8048
+ created_at: string;
8049
+ capabilities: Array<"display" | "agent">;
8050
+ agent_dirs: Array<string>;
8051
+ allow_bypass: boolean;
8052
+ }>;
8053
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
8054
+ object: "byod_device";
8055
+ id: string;
8056
+ platform: "android" | "macos" | "linux";
8057
+ name: string;
8058
+ model: string;
8059
+ os_version: string;
8060
+ online: boolean;
8061
+ last_seen_at: string | null;
8062
+ created_at: string;
8063
+ capabilities: Array<"display" | "agent">;
8064
+ agent_dirs: Array<string>;
8065
+ allow_bypass: boolean;
8066
+ }>;
8067
+ };
8068
+ pairings: {
8069
+ claim: {
8070
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
8071
+ device_id: string;
8072
+ credential: string;
8073
+ socket_url: string;
8074
+ }>;
8075
+ };
8076
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
8077
+ code: string;
8078
+ expires_at: string;
8079
+ qr: string;
8080
+ }>;
8081
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
8082
+ organization_name: string;
8083
+ expires_at: string;
8084
+ }>;
8085
+ };
8086
+ };
5352
8087
  events: {
5353
8088
  sandboxes: {
5354
8089
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5355
8090
  };
5356
8091
  };
5357
8092
  sandboxes: {
8093
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
8094
+ type: "snapshot";
8095
+ snapshot: string;
8096
+ refs: number;
8097
+ truncated: boolean;
8098
+ package: string;
8099
+ } | {
8100
+ type: "screenshot";
8101
+ mediaType: string;
8102
+ data: string;
8103
+ width: number;
8104
+ height: number;
8105
+ bytes: number;
8106
+ } | {
8107
+ type: "ok";
8108
+ ms?: number;
8109
+ } | {
8110
+ type: "wait";
8111
+ ms: number;
8112
+ }>;
5358
8113
  commands: {
5359
8114
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5360
8115
  stdout: string;
@@ -5432,6 +8187,20 @@ export declare function createSandbox(transport: Transport): {
5432
8187
  snapshots: {
5433
8188
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5434
8189
  };
8190
+ tasks: {
8191
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
8192
+ taskId: string;
8193
+ instanceId: string;
8194
+ startedAt: number;
8195
+ }>;
8196
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
8197
+ text: string;
8198
+ nextOffset: number;
8199
+ done: boolean;
8200
+ exitCode: number | null;
8201
+ size: number | null;
8202
+ }>;
8203
+ };
5435
8204
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5436
8205
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5437
8206
  name: string;
@@ -5570,6 +8339,14 @@ export declare function createSearch(transport: Transport): {
5570
8339
  }>;
5571
8340
  };
5572
8341
  };
8342
+ export declare function createShare(transport: Transport): {
8343
+ permissions: {
8344
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
8345
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
8346
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
8347
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
8348
+ };
8349
+ };
5573
8350
  export declare function createStudio(transport: Transport): {
5574
8351
  codexes: {
5575
8352
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5617,6 +8394,11 @@ export declare function createStudio(transport: Transport): {
5617
8394
  create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
5618
8395
  drafts: {
5619
8396
  create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
8397
+ foreshadows: {
8398
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
8399
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
8400
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
8401
+ };
5620
8402
  list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
5621
8403
  rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
5622
8404
  renditions: {
@@ -5635,8 +8417,14 @@ export declare function createStudio(transport: Transport): {
5635
8417
  create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
5636
8418
  };
5637
8419
  update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
8420
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
5638
8421
  };
5639
8422
  list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
8423
+ progressions: {
8424
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
8425
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
8426
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
8427
+ };
5640
8428
  renditions: {
5641
8429
  delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
5642
8430
  list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
@@ -5674,7 +8462,6 @@ export declare function createStudio(transport: Transport): {
5674
8462
  update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
5675
8463
  };
5676
8464
  update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
5677
- updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
5678
8465
  };
5679
8466
  };
5680
8467
  export declare function createTicket(transport: Transport): {
@@ -5847,13 +8634,138 @@ export declare function createVault(transport: Transport): {
5847
8634
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
5848
8635
  };
5849
8636
  };
8637
+ export declare function createWorkforce(transport: Transport): {
8638
+ actors: {
8639
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8640
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8641
+ };
8642
+ assignments: {
8643
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8644
+ makePrimary: {
8645
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8646
+ };
8647
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8648
+ terminate: {
8649
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8650
+ };
8651
+ transfer: {
8652
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8653
+ };
8654
+ };
8655
+ departments: {
8656
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8657
+ dissolve: {
8658
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8659
+ };
8660
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8661
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8662
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8663
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
8664
+ };
8665
+ effectiveSpec: {
8666
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8667
+ };
8668
+ jobs: {
8669
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8670
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8671
+ retire: {
8672
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8673
+ };
8674
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8675
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8676
+ };
8677
+ keyResults: {
8678
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8679
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8680
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8681
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8682
+ };
8683
+ ladders: {
8684
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8685
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8686
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8687
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8688
+ };
8689
+ objectives: {
8690
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8691
+ grade: {
8692
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8693
+ };
8694
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8695
+ parents: {
8696
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8697
+ };
8698
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8699
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8700
+ };
8701
+ periods: {
8702
+ close: {
8703
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8704
+ };
8705
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8706
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8707
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8708
+ };
8709
+ positions: {
8710
+ close: {
8711
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8712
+ };
8713
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8714
+ designateHead: {
8715
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8716
+ };
8717
+ freeze: {
8718
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8719
+ };
8720
+ hire: {
8721
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8722
+ };
8723
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8724
+ replaceHolder: {
8725
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8726
+ };
8727
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8728
+ unfreeze: {
8729
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8730
+ };
8731
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8732
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8733
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8734
+ };
8735
+ reconcile: {
8736
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8737
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8738
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8739
+ run: {
8740
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8741
+ };
8742
+ status: {
8743
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8744
+ };
8745
+ };
8746
+ specSchema: {
8747
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8748
+ };
8749
+ specs: {
8750
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8751
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8752
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8753
+ revisions: {
8754
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8755
+ };
8756
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8757
+ };
8758
+ };
5850
8759
  export declare const resourceFactories: {
5851
8760
  agent: typeof createAgent;
5852
8761
  application: typeof createApplication;
5853
8762
  automation: typeof createAutomation;
8763
+ billing: typeof createBilling;
5854
8764
  browser: typeof createBrowser;
5855
8765
  canvas: typeof createCanvas;
8766
+ content: typeof createContent;
5856
8767
  crm: typeof createCrm;
8768
+ customer: typeof createCustomer;
5857
8769
  cut: typeof createCut;
5858
8770
  database: typeof createDatabase;
5859
8771
  devops: typeof createDevops;
@@ -5864,9 +8776,12 @@ export declare const resourceFactories: {
5864
8776
  model: typeof createModel;
5865
8777
  ontology: typeof createOntology;
5866
8778
  organization: typeof createOrganization;
8779
+ registry: typeof createRegistry;
5867
8780
  sandbox: typeof createSandbox;
5868
8781
  search: typeof createSearch;
8782
+ share: typeof createShare;
5869
8783
  studio: typeof createStudio;
5870
8784
  ticket: typeof createTicket;
5871
8785
  vault: typeof createVault;
8786
+ workforce: typeof createWorkforce;
5872
8787
  };