@deepraxis/sdk 0.1.1-dev.8dbcb9e → 0.1.1-dev.8e6970a

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 (37) hide show
  1. package/METHODS.md +1577 -189
  2. package/README.md +9 -8
  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 +22 -3
  6. package/dist/core/credentials.js +44 -5
  7. package/dist/core/deprecation.d.ts +11 -0
  8. package/dist/core/deprecation.js +20 -0
  9. package/dist/core/errors.d.ts +6 -0
  10. package/dist/core/errors.js +8 -0
  11. package/dist/core/transport.d.ts +5 -1
  12. package/dist/core/transport.js +11 -4
  13. package/dist/generated/binary-operations.gen.d.ts +3 -0
  14. package/dist/generated/binary-operations.gen.js +14 -0
  15. package/dist/generated/index.d.ts +2 -2
  16. package/dist/generated/index.js +1 -1
  17. package/dist/generated/sdk.gen.d.ts +3858 -1155
  18. package/dist/generated/sdk.gen.js +10587 -2943
  19. package/dist/generated/types.gen.d.ts +100938 -53564
  20. package/dist/helpers/application-publish.js +16 -2
  21. package/dist/helpers/browser-actions.d.ts +102 -0
  22. package/dist/helpers/browser-actions.js +146 -0
  23. package/dist/helpers/browser-connect-error.d.ts +28 -0
  24. package/dist/helpers/browser-connect-error.js +74 -0
  25. package/dist/helpers/browser-connect.d.ts +35 -2
  26. package/dist/helpers/browser-connect.js +262 -27
  27. package/dist/helpers/browser-decisions.d.ts +57 -0
  28. package/dist/helpers/browser-decisions.js +64 -0
  29. package/dist/helpers/browser-documentation.d.ts +1 -1
  30. package/dist/helpers/browser-documentation.js +32 -13
  31. package/dist/index.d.ts +3 -0
  32. package/dist/index.js +2 -0
  33. package/dist/operations.generated.d.ts +37 -16545
  34. package/dist/operations.generated.js +24499 -8632
  35. package/dist/resources.generated.d.ts +3491 -163
  36. package/dist/resources.generated.js +1021 -34
  37. package/package.json +2 -2
@@ -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";
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";
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,419 @@ 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
+ message_id?: string;
616
+ session_thread_id?: string | null;
617
+ } | {
618
+ id: string;
619
+ type: "session.goal_changed";
620
+ processed_at: string;
621
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
622
+ source: "command" | "runtime";
623
+ goal: {
624
+ goal_id: string;
625
+ objective: string;
626
+ summary_title: string | null;
627
+ status: "active" | "paused" | "budget_limited" | "complete";
628
+ token_budget: number | null;
629
+ tokens_used: number;
630
+ time_used_seconds: number;
631
+ iteration: number;
632
+ created_at: number;
633
+ updated_at: number;
634
+ } | null;
635
+ previous_goal: {
636
+ goal_id: string;
637
+ objective: string;
638
+ summary_title: string | null;
639
+ status: "active" | "paused" | "budget_limited" | "complete";
640
+ token_budget: number | null;
641
+ tokens_used: number;
642
+ time_used_seconds: number;
643
+ iteration: number;
644
+ created_at: number;
645
+ updated_at: number;
646
+ } | null;
647
+ message_id?: string;
648
+ session_thread_id?: string | null;
649
+ } | {
650
+ id: string;
651
+ type: "session.goal_verification";
652
+ processed_at: string;
653
+ status: "started" | "completed" | "failed_closed" | "cancelled";
654
+ goal_id: string;
655
+ goal_iteration: number;
656
+ verification_id: string;
657
+ anchor_message_id: string | null;
658
+ verification?: {
659
+ passed: boolean;
660
+ reason: string;
661
+ next_action?: string;
662
+ };
663
+ message_id?: string;
664
+ session_thread_id?: string | null;
665
+ } | {
666
+ id: string;
667
+ type: "user.steer";
668
+ event_id: string;
669
+ processed_at: string;
670
+ message_id?: string;
671
+ session_thread_id?: string | null;
672
+ } | {
673
+ id: string;
674
+ type: "cognition.surfaced";
675
+ processed_at: string;
676
+ worker_session_id: string;
677
+ name: string;
678
+ state: "done" | "waiting" | "failed" | "archived";
679
+ experience_id?: string;
680
+ result?: {
681
+ message?: string;
682
+ links?: Array<string>;
683
+ files?: Array<{
684
+ name?: string;
685
+ href?: string;
686
+ }>;
687
+ held?: Array<{
688
+ id?: string;
689
+ summary?: string;
690
+ effect?: string;
691
+ method?: string;
692
+ path?: string;
693
+ expires_at?: string;
694
+ }>;
695
+ };
696
+ } | {
697
+ id: string;
698
+ type: "cognition.intention_woken";
699
+ processed_at: string;
700
+ node_id: string;
701
+ reason: "open_engram" | "assignment";
702
+ } | {
703
+ id: string;
704
+ type: "agent.operation_approval_requested";
705
+ processed_at: string;
706
+ approval_id: string;
707
+ operation_id: string;
708
+ effect: "outward" | "irreversible";
709
+ method: string;
710
+ path: string;
711
+ summary: string;
712
+ expires_at: string;
713
+ worker_session_id?: string;
714
+ worker_name?: string;
715
+ } | {
716
+ id: string;
717
+ type: "agent.operation_approval_decided";
718
+ processed_at: string;
719
+ approval_id: string;
720
+ status: "approved" | "refused" | "expired";
721
+ } | {
722
+ id: string;
723
+ type: "session.prompt_configuration_mismatch";
724
+ processed_at: string;
725
+ pinned_revision_id: string;
726
+ current_revision_id: string;
727
+ } | {
728
+ id: string;
729
+ type: "session.prompt_rev_changed";
730
+ processed_at: string;
731
+ config_revision_id: string;
732
+ changed: Array<{
733
+ name: string;
734
+ rev: string | null;
735
+ }>;
736
+ } | {
737
+ id: string;
738
+ type: "session.computer_tier";
739
+ processed_at: string;
740
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
741
+ tier: "light" | "heavy";
742
+ duration_ms: number;
743
+ error_code?: string;
744
+ status?: {
745
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
746
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
747
+ percent?: number;
748
+ files_done?: number;
749
+ files_total?: number;
750
+ idle_release_at?: number;
751
+ retry_at?: number;
752
+ epoch?: number;
753
+ heavy_instance?: string | null;
754
+ heavy_paused?: boolean;
755
+ };
756
+ } | {
757
+ id: string;
758
+ type: "agent.artifact_delivered";
759
+ processed_at: string;
760
+ artifact: {
761
+ object: "artifact";
762
+ id: string;
763
+ session_id: string;
764
+ run_id: string | null;
765
+ name: string;
766
+ version: number;
767
+ parts: Array<{
768
+ [key: string]: unknown;
769
+ }>;
770
+ source_hrefs: Array<string>;
771
+ create_time: string;
772
+ update_time: string;
773
+ };
774
+ } | {
775
+ id: string;
776
+ type: "agent.image_generation";
777
+ processed_at: string;
778
+ tool_use_id: string;
779
+ index: number;
780
+ total: number;
781
+ status: string;
782
+ mode?: string;
783
+ aspect?: string;
784
+ prompt?: string;
785
+ model?: string;
786
+ file_id?: string;
787
+ label?: string;
788
+ width?: number;
789
+ height?: number;
790
+ revised_prompt?: string;
791
+ source_labels?: Array<string>;
792
+ caption?: string;
793
+ slot?: number | null;
794
+ replaces?: string;
795
+ version?: number;
796
+ failure?: {
797
+ reason?: string;
798
+ };
799
+ } | {
800
+ id: string;
801
+ type: "session.image_labeled";
802
+ processed_at: string;
803
+ label: string;
804
+ file_id: string;
805
+ origin: "generated" | "uploaded";
806
+ filename: string;
807
+ tool_use_id?: string;
808
+ version?: number;
809
+ replaced_file_id?: string;
810
+ } | {
811
+ id: string;
812
+ type: "session.image_set_planned";
813
+ processed_at: string;
814
+ tool_use_id: string;
815
+ items: Array<unknown>;
816
+ title?: string;
817
+ } | {
818
+ id: string;
819
+ type: "session.project_attached";
820
+ processed_at: string;
821
+ project: {
822
+ id: string;
823
+ name: string;
824
+ path: string;
825
+ };
826
+ message_id?: string;
827
+ session_thread_id?: string | null;
828
+ } | {
829
+ id: string;
830
+ type: "session.project_detached";
831
+ processed_at: string;
832
+ project_id: string;
833
+ reason?: "project_removed";
834
+ message_id?: string;
835
+ session_thread_id?: string | null;
836
+ }>;
837
+ next_page: string | null;
838
+ }>;
839
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
840
+ data?: Array<{
841
+ id: string;
842
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
843
+ type: "user.message";
844
+ processed_at?: null | string;
845
+ praxis_context?: {
846
+ items: Array<{
847
+ name: string;
848
+ value: string;
849
+ }>;
850
+ };
851
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
852
+ id: string;
853
+ type: "user.steer";
854
+ event_id: string;
855
+ processed_at: string;
856
+ message_id?: string;
857
+ session_thread_id?: string | null;
858
+ }>;
859
+ }>;
860
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
861
+ };
862
+ inbox: {
863
+ letters: {
864
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
865
+ unread: number;
866
+ letters: Array<{
867
+ id: string;
868
+ sender: string;
869
+ summary: string;
870
+ thread: string | null;
871
+ create_time: string;
872
+ }>;
873
+ }>;
874
+ };
875
+ };
468
876
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
877
  data: Array<{
470
878
  id: string;
@@ -480,6 +888,7 @@ export declare function createAgent(transport: Transport): {
480
888
  speed?: "standard" | "fast";
481
889
  settings?: {
482
890
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
891
+ max_output_tokens?: number;
483
892
  };
484
893
  };
485
894
  multiagent?: null | Types.AgentManaged39;
@@ -500,22 +909,30 @@ export declare function createAgent(transport: Transport): {
500
909
  id: string;
501
910
  } | null;
502
911
  note: string | null;
912
+ deployments_behind: number | null;
503
913
  bindings: Array<{
504
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
914
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
505
915
  id: string;
506
916
  access: "read_only" | "read_write" | "invoke";
917
+ customer_access?: "read_only" | "read_write" | "invoke";
507
918
  instructions?: string;
508
919
  readonly verified?: boolean;
509
920
  enabled?: boolean;
510
921
  } | {
511
- type: "search" | "browser";
922
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
923
  readonly verified?: boolean;
513
924
  enabled?: boolean;
514
925
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
926
+ kind: "general" | "service" | "assume";
927
+ computers?: {
928
+ default: string;
929
+ allowed: Array<{
930
+ template: string;
931
+ name: string;
932
+ }>;
933
+ };
516
934
  computer_id?: string;
517
935
  subagent_model?: string | null;
518
- image_model?: string | null;
519
936
  subagents?: Array<{
520
937
  name: string;
521
938
  description: string;
@@ -606,6 +1023,7 @@ export declare function createAgent(transport: Transport): {
606
1023
  allowManagedHooksOnly?: boolean;
607
1024
  allowManagedMcpServersOnly?: boolean;
608
1025
  allowManagedPermissionRulesOnly?: boolean;
1026
+ idleCompaction?: boolean;
609
1027
  autoMemoryEnabled?: boolean;
610
1028
  disabled?: {
611
1029
  subagents?: Array<string>;
@@ -614,7 +1032,6 @@ export declare function createAgent(transport: Transport): {
614
1032
  mcpServers?: Array<string>;
615
1033
  hooks?: Array<string>;
616
1034
  };
617
- idleCompaction?: boolean;
618
1035
  outputStyle?: string;
619
1036
  } | null;
620
1037
  models?: {
@@ -622,6 +1039,7 @@ export declare function createAgent(transport: Transport): {
622
1039
  };
623
1040
  avatar: string | null;
624
1041
  creation_source: string | null;
1042
+ managed_by: string | null;
625
1043
  identity_number: string | null;
626
1044
  environment_id?: string | null;
627
1045
  vault_ids?: Array<string>;
@@ -635,6 +1053,34 @@ export declare function createAgent(transport: Transport): {
635
1053
  }>;
636
1054
  next_page: string | null;
637
1055
  }>;
1056
+ phone: {
1057
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
1058
+ object: "agent_phone";
1059
+ agent_id: string;
1060
+ configured: boolean;
1061
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
1062
+ sku: string | null;
1063
+ byod_device: string | null;
1064
+ name: string | null;
1065
+ sandbox_id: string | null;
1066
+ lease_ends_at: string | null;
1067
+ archived_at: string | null;
1068
+ archive_error: string | null;
1069
+ }>;
1070
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
1071
+ object: "agent_phone";
1072
+ agent_id: string;
1073
+ configured: boolean;
1074
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
1075
+ sku: string | null;
1076
+ byod_device: string | null;
1077
+ name: string | null;
1078
+ sandbox_id: string | null;
1079
+ lease_ends_at: string | null;
1080
+ archived_at: string | null;
1081
+ archive_error: string | null;
1082
+ }>;
1083
+ };
638
1084
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
1085
  id: string;
640
1086
  archived_at: null | string;
@@ -649,6 +1095,7 @@ export declare function createAgent(transport: Transport): {
649
1095
  speed?: "standard" | "fast";
650
1096
  settings?: {
651
1097
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1098
+ max_output_tokens?: number;
652
1099
  };
653
1100
  };
654
1101
  multiagent?: null | Types.AgentManaged39;
@@ -670,22 +1117,30 @@ export declare function createAgent(transport: Transport): {
670
1117
  id: string;
671
1118
  } | null;
672
1119
  note: string | null;
1120
+ deployments_behind: number | null;
673
1121
  bindings: Array<{
674
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1122
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
675
1123
  id: string;
676
1124
  access: "read_only" | "read_write" | "invoke";
1125
+ customer_access?: "read_only" | "read_write" | "invoke";
677
1126
  instructions?: string;
678
1127
  readonly verified?: boolean;
679
1128
  enabled?: boolean;
680
1129
  } | {
681
- type: "search" | "browser";
1130
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
1131
  readonly verified?: boolean;
683
1132
  enabled?: boolean;
684
1133
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
1134
+ kind: "general" | "service" | "assume";
1135
+ computers?: {
1136
+ default: string;
1137
+ allowed: Array<{
1138
+ template: string;
1139
+ name: string;
1140
+ }>;
1141
+ };
686
1142
  computer_id?: string;
687
1143
  subagent_model?: string | null;
688
- image_model?: string | null;
689
1144
  subagents?: Array<{
690
1145
  name: string;
691
1146
  description: string;
@@ -776,6 +1231,7 @@ export declare function createAgent(transport: Transport): {
776
1231
  allowManagedHooksOnly?: boolean;
777
1232
  allowManagedMcpServersOnly?: boolean;
778
1233
  allowManagedPermissionRulesOnly?: boolean;
1234
+ idleCompaction?: boolean;
779
1235
  autoMemoryEnabled?: boolean;
780
1236
  disabled?: {
781
1237
  subagents?: Array<string>;
@@ -784,7 +1240,6 @@ export declare function createAgent(transport: Transport): {
784
1240
  mcpServers?: Array<string>;
785
1241
  hooks?: Array<string>;
786
1242
  };
787
- idleCompaction?: boolean;
788
1243
  outputStyle?: string;
789
1244
  } | null;
790
1245
  models?: {
@@ -792,6 +1247,7 @@ export declare function createAgent(transport: Transport): {
792
1247
  };
793
1248
  avatar: string | null;
794
1249
  creation_source: string | null;
1250
+ managed_by: string | null;
795
1251
  identity_number: string | null;
796
1252
  environment_id?: string | null;
797
1253
  vault_ids?: Array<string>;
@@ -860,6 +1316,26 @@ export declare function createAgent(transport: Transport): {
860
1316
  history?: {
861
1317
  enabled?: boolean;
862
1318
  };
1319
+ uploads?: {
1320
+ enabled: boolean;
1321
+ max_file_bytes: number;
1322
+ max_files_per_session: number;
1323
+ };
1324
+ }>;
1325
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1326
+ allowed_origins: Array<string>;
1327
+ allow_localhost: boolean;
1328
+ uploads: {
1329
+ enabled: boolean;
1330
+ max_file_bytes: number;
1331
+ max_files_per_session: number;
1332
+ };
1333
+ share_links: {
1334
+ enabled: boolean;
1335
+ daily_session_cap: number | null;
1336
+ daily_spend_cap_micro_usd: number | null;
1337
+ currency?: "USD" | "CNY" | null;
1338
+ };
863
1339
  }>;
864
1340
  unarchive: {
865
1341
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1389,7 @@ export declare function createAgent(transport: Transport): {
913
1389
  speed?: "standard" | "fast";
914
1390
  settings?: {
915
1391
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1392
+ max_output_tokens?: number;
916
1393
  };
917
1394
  };
918
1395
  multiagent?: null | {
@@ -1099,22 +1576,30 @@ export declare function createAgent(transport: Transport): {
1099
1576
  id: string;
1100
1577
  } | null;
1101
1578
  note: string | null;
1579
+ deployments_behind: number | null;
1102
1580
  bindings: Array<{
1103
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1581
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1104
1582
  id: string;
1105
1583
  access: "read_only" | "read_write" | "invoke";
1584
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1585
  instructions?: string;
1107
1586
  readonly verified?: boolean;
1108
1587
  enabled?: boolean;
1109
1588
  } | {
1110
- type: "search" | "browser";
1589
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1590
  readonly verified?: boolean;
1112
1591
  enabled?: boolean;
1113
1592
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1593
+ kind: "general" | "service" | "assume";
1594
+ computers?: {
1595
+ default: string;
1596
+ allowed: Array<{
1597
+ template: string;
1598
+ name: string;
1599
+ }>;
1600
+ };
1115
1601
  computer_id?: string;
1116
1602
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1603
  subagents?: Array<{
1119
1604
  name: string;
1120
1605
  description: string;
@@ -1205,6 +1690,7 @@ export declare function createAgent(transport: Transport): {
1205
1690
  allowManagedHooksOnly?: boolean;
1206
1691
  allowManagedMcpServersOnly?: boolean;
1207
1692
  allowManagedPermissionRulesOnly?: boolean;
1693
+ idleCompaction?: boolean;
1208
1694
  autoMemoryEnabled?: boolean;
1209
1695
  disabled?: {
1210
1696
  subagents?: Array<string>;
@@ -1213,7 +1699,6 @@ export declare function createAgent(transport: Transport): {
1213
1699
  mcpServers?: Array<string>;
1214
1700
  hooks?: Array<string>;
1215
1701
  };
1216
- idleCompaction?: boolean;
1217
1702
  outputStyle?: string;
1218
1703
  } | null;
1219
1704
  models?: {
@@ -1221,6 +1706,7 @@ export declare function createAgent(transport: Transport): {
1221
1706
  };
1222
1707
  avatar: string | null;
1223
1708
  creation_source: string | null;
1709
+ managed_by: string | null;
1224
1710
  identity_number: string | null;
1225
1711
  environment_id?: string | null;
1226
1712
  vault_ids?: Array<string>;
@@ -1247,6 +1733,7 @@ export declare function createAgent(transport: Transport): {
1247
1733
  speed?: "standard" | "fast";
1248
1734
  settings?: {
1249
1735
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1736
+ max_output_tokens?: number;
1250
1737
  };
1251
1738
  };
1252
1739
  multiagent?: null | Types.AgentManaged39;
@@ -1268,22 +1755,30 @@ export declare function createAgent(transport: Transport): {
1268
1755
  id: string;
1269
1756
  } | null;
1270
1757
  note: string | null;
1758
+ deployments_behind: number | null;
1271
1759
  bindings: Array<{
1272
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1760
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1273
1761
  id: string;
1274
1762
  access: "read_only" | "read_write" | "invoke";
1763
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1764
  instructions?: string;
1276
1765
  readonly verified?: boolean;
1277
1766
  enabled?: boolean;
1278
1767
  } | {
1279
- type: "search" | "browser";
1768
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1769
  readonly verified?: boolean;
1281
1770
  enabled?: boolean;
1282
1771
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1772
+ kind: "general" | "service" | "assume";
1773
+ computers?: {
1774
+ default: string;
1775
+ allowed: Array<{
1776
+ template: string;
1777
+ name: string;
1778
+ }>;
1779
+ };
1284
1780
  computer_id?: string;
1285
1781
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1782
  subagents?: Array<{
1288
1783
  name: string;
1289
1784
  description: string;
@@ -1374,6 +1869,7 @@ export declare function createAgent(transport: Transport): {
1374
1869
  allowManagedHooksOnly?: boolean;
1375
1870
  allowManagedMcpServersOnly?: boolean;
1376
1871
  allowManagedPermissionRulesOnly?: boolean;
1872
+ idleCompaction?: boolean;
1377
1873
  autoMemoryEnabled?: boolean;
1378
1874
  disabled?: {
1379
1875
  subagents?: Array<string>;
@@ -1382,7 +1878,6 @@ export declare function createAgent(transport: Transport): {
1382
1878
  mcpServers?: Array<string>;
1383
1879
  hooks?: Array<string>;
1384
1880
  };
1385
- idleCompaction?: boolean;
1386
1881
  outputStyle?: string;
1387
1882
  } | null;
1388
1883
  models?: {
@@ -1390,6 +1885,7 @@ export declare function createAgent(transport: Transport): {
1390
1885
  };
1391
1886
  avatar: string | null;
1392
1887
  creation_source: string | null;
1888
+ managed_by: string | null;
1393
1889
  identity_number: string | null;
1394
1890
  environment_id?: string | null;
1395
1891
  vault_ids?: Array<string>;
@@ -1401,28 +1897,246 @@ export declare function createAgent(transport: Transport): {
1401
1897
  keep_coding_instructions?: boolean;
1402
1898
  }> | null;
1403
1899
  }>;
1900
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1901
+ allowed_origins: Array<string>;
1902
+ allow_localhost: boolean;
1903
+ uploads: {
1904
+ enabled: boolean;
1905
+ max_file_bytes: number;
1906
+ max_files_per_session: number;
1907
+ };
1908
+ share_links: {
1909
+ enabled: boolean;
1910
+ daily_session_cap: number | null;
1911
+ daily_spend_cap_micro_usd: number | null;
1912
+ currency?: "USD" | "CNY" | null;
1913
+ };
1914
+ }>;
1404
1915
  versions: {
1405
1916
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1917
  id: string;
1407
1918
  archived_at: null | string;
1408
1919
  created_at: string;
1409
1920
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1921
+ mcp_servers: Array<{
1922
+ type: "url";
1923
+ name: string;
1924
+ url: string;
1925
+ headers?: {
1926
+ [key: string]: string;
1927
+ };
1928
+ timeout_ms?: number;
1929
+ } | {
1930
+ type: "sse";
1931
+ name: string;
1932
+ url: string;
1933
+ headers?: {
1934
+ [key: string]: string;
1935
+ };
1936
+ timeout_ms?: number;
1937
+ } | {
1938
+ type: "stdio";
1939
+ name: string;
1940
+ command: string;
1941
+ args?: Array<string>;
1942
+ env?: {
1943
+ [key: string]: string;
1944
+ };
1945
+ timeout_ms?: number;
1946
+ }>;
1947
+ metadata: {
1948
+ [key: string]: string;
1949
+ };
1412
1950
  model?: {
1413
1951
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1952
+ effort?: {
1953
+ type: "low";
1954
+ } | {
1955
+ type: "medium";
1956
+ } | {
1957
+ type: "high";
1958
+ } | {
1959
+ type: "xhigh";
1960
+ } | {
1961
+ type: "max";
1962
+ };
1415
1963
  inference_geo?: string;
1416
1964
  speed?: "standard" | "fast";
1417
1965
  settings?: {
1418
1966
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1967
+ max_output_tokens?: number;
1419
1968
  };
1420
1969
  };
1421
- multiagent?: null | Types.AgentManaged39;
1970
+ multiagent?: null | {
1971
+ agents: Array<{
1972
+ id: string;
1973
+ type: "agent";
1974
+ version: number;
1975
+ } | {
1976
+ model: string;
1977
+ type: "advisor";
1978
+ }>;
1979
+ type: "coordinator";
1980
+ };
1422
1981
  name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1982
+ skills: Array<{
1983
+ skill_id: string;
1984
+ type: "anthropic";
1985
+ version: string;
1986
+ } | {
1987
+ skill_id: string;
1988
+ type: "custom";
1989
+ version: string;
1990
+ }>;
1424
1991
  system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1992
+ tools: Array<{
1993
+ configs: Array<{
1994
+ enabled: boolean;
1995
+ name: "bash";
1996
+ permission_policy: {
1997
+ type: "always_allow";
1998
+ } | {
1999
+ type: "always_ask";
2000
+ } | {
2001
+ type: "auto";
2002
+ };
2003
+ type: "bash";
2004
+ } | {
2005
+ enabled: boolean;
2006
+ name: "edit";
2007
+ permission_policy: {
2008
+ type: "always_allow";
2009
+ } | {
2010
+ type: "always_ask";
2011
+ } | {
2012
+ type: "auto";
2013
+ };
2014
+ type: "edit";
2015
+ } | {
2016
+ enabled: boolean;
2017
+ name: "read";
2018
+ permission_policy: {
2019
+ type: "always_allow";
2020
+ } | {
2021
+ type: "always_ask";
2022
+ } | {
2023
+ type: "auto";
2024
+ };
2025
+ type: "read";
2026
+ } | {
2027
+ enabled: boolean;
2028
+ name: "write";
2029
+ permission_policy: {
2030
+ type: "always_allow";
2031
+ } | {
2032
+ type: "always_ask";
2033
+ } | {
2034
+ type: "auto";
2035
+ };
2036
+ type: "write";
2037
+ } | {
2038
+ enabled: boolean;
2039
+ name: "glob";
2040
+ permission_policy: {
2041
+ type: "always_allow";
2042
+ } | {
2043
+ type: "always_ask";
2044
+ } | {
2045
+ type: "auto";
2046
+ };
2047
+ type: "glob";
2048
+ } | {
2049
+ enabled: boolean;
2050
+ name: "grep";
2051
+ permission_policy: {
2052
+ type: "always_allow";
2053
+ } | {
2054
+ type: "always_ask";
2055
+ } | {
2056
+ type: "auto";
2057
+ };
2058
+ type: "grep";
2059
+ } | {
2060
+ enabled: boolean;
2061
+ name: "web_fetch";
2062
+ permission_policy: {
2063
+ type: "always_allow";
2064
+ } | {
2065
+ type: "always_ask";
2066
+ } | {
2067
+ type: "auto";
2068
+ };
2069
+ type: "web_fetch";
2070
+ allowed_domains?: Array<string>;
2071
+ blocked_domains?: Array<string>;
2072
+ max_content_tokens?: null | number;
2073
+ } | {
2074
+ enabled: boolean;
2075
+ name: "web_search";
2076
+ permission_policy: {
2077
+ type: "always_allow";
2078
+ } | {
2079
+ type: "always_ask";
2080
+ } | {
2081
+ type: "auto";
2082
+ };
2083
+ type: "web_search";
2084
+ allowed_domains?: Array<string>;
2085
+ blocked_domains?: Array<string>;
2086
+ user_location?: null | {
2087
+ type: "approximate";
2088
+ city?: null | string;
2089
+ country?: null | string;
2090
+ region?: null | string;
2091
+ timezone?: null | string;
2092
+ };
2093
+ } | {
2094
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2095
+ enabled: boolean;
2096
+ permission_policy: {
2097
+ type: "always_allow" | "always_ask";
2098
+ };
2099
+ }>;
2100
+ default_config: {
2101
+ enabled: boolean;
2102
+ permission_policy: {
2103
+ type: "always_allow";
2104
+ } | {
2105
+ type: "always_ask";
2106
+ } | {
2107
+ type: "auto";
2108
+ };
2109
+ };
2110
+ type: "agent_toolset_20260401";
2111
+ } | {
2112
+ type: "mcp_toolset";
2113
+ mcp_server_name: string;
2114
+ default_config?: {
2115
+ enabled?: boolean | null;
2116
+ permission_policy?: null | {
2117
+ type: "always_allow" | "always_ask";
2118
+ };
2119
+ } | null;
2120
+ configs?: Array<{
2121
+ name: string;
2122
+ enabled?: boolean | null;
2123
+ permission_policy?: null | {
2124
+ type: "always_allow" | "always_ask";
2125
+ };
2126
+ }> | null;
2127
+ } | {
2128
+ description: string;
2129
+ input_schema: {
2130
+ type: "object";
2131
+ properties?: null | {
2132
+ [key: string]: unknown;
2133
+ };
2134
+ required?: null | Array<string>;
2135
+ [key: string]: unknown;
2136
+ };
2137
+ name: string;
2138
+ type: "custom";
2139
+ }>;
1426
2140
  type: "agent";
1427
2141
  updated_at: string;
1428
2142
  version: number;
@@ -1437,22 +2151,30 @@ export declare function createAgent(transport: Transport): {
1437
2151
  id: string;
1438
2152
  } | null;
1439
2153
  note: string | null;
2154
+ deployments_behind: number | null;
1440
2155
  bindings: Array<{
1441
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2156
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1442
2157
  id: string;
1443
2158
  access: "read_only" | "read_write" | "invoke";
2159
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
2160
  instructions?: string;
1445
2161
  readonly verified?: boolean;
1446
2162
  enabled?: boolean;
1447
2163
  } | {
1448
- type: "search" | "browser";
2164
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
2165
  readonly verified?: boolean;
1450
2166
  enabled?: boolean;
1451
2167
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
2168
+ kind: "general" | "service" | "assume";
2169
+ computers?: {
2170
+ default: string;
2171
+ allowed: Array<{
2172
+ template: string;
2173
+ name: string;
2174
+ }>;
2175
+ };
1453
2176
  computer_id?: string;
1454
2177
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
2178
  subagents?: Array<{
1457
2179
  name: string;
1458
2180
  description: string;
@@ -1543,6 +2265,7 @@ export declare function createAgent(transport: Transport): {
1543
2265
  allowManagedHooksOnly?: boolean;
1544
2266
  allowManagedMcpServersOnly?: boolean;
1545
2267
  allowManagedPermissionRulesOnly?: boolean;
2268
+ idleCompaction?: boolean;
1546
2269
  autoMemoryEnabled?: boolean;
1547
2270
  disabled?: {
1548
2271
  subagents?: Array<string>;
@@ -1551,7 +2274,6 @@ export declare function createAgent(transport: Transport): {
1551
2274
  mcpServers?: Array<string>;
1552
2275
  hooks?: Array<string>;
1553
2276
  };
1554
- idleCompaction?: boolean;
1555
2277
  outputStyle?: string;
1556
2278
  } | null;
1557
2279
  models?: {
@@ -1559,6 +2281,7 @@ export declare function createAgent(transport: Transport): {
1559
2281
  };
1560
2282
  avatar: string | null;
1561
2283
  creation_source: string | null;
2284
+ managed_by: string | null;
1562
2285
  identity_number: string | null;
1563
2286
  environment_id?: string | null;
1564
2287
  vault_ids?: Array<string>;
@@ -1585,6 +2308,7 @@ export declare function createAgent(transport: Transport): {
1585
2308
  speed?: "standard" | "fast";
1586
2309
  settings?: {
1587
2310
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2311
+ max_output_tokens?: number;
1588
2312
  };
1589
2313
  };
1590
2314
  multiagent?: null | Types.AgentManaged39;
@@ -1607,21 +2331,28 @@ export declare function createAgent(transport: Transport): {
1607
2331
  } | null;
1608
2332
  note: string | null;
1609
2333
  bindings: Array<{
1610
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2334
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1611
2335
  id: string;
1612
2336
  access: "read_only" | "read_write" | "invoke";
2337
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2338
  instructions?: string;
1614
2339
  readonly verified?: boolean;
1615
2340
  enabled?: boolean;
1616
2341
  } | {
1617
- type: "search" | "browser";
2342
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2343
  readonly verified?: boolean;
1619
2344
  enabled?: boolean;
1620
2345
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2346
+ kind: "general" | "service" | "assume";
2347
+ computers?: {
2348
+ default: string;
2349
+ allowed: Array<{
2350
+ template: string;
2351
+ name: string;
2352
+ }>;
2353
+ };
1622
2354
  computer_id?: string;
1623
2355
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2356
  subagents?: Array<{
1626
2357
  name: string;
1627
2358
  description: string;
@@ -1712,6 +2443,7 @@ export declare function createAgent(transport: Transport): {
1712
2443
  allowManagedHooksOnly?: boolean;
1713
2444
  allowManagedMcpServersOnly?: boolean;
1714
2445
  allowManagedPermissionRulesOnly?: boolean;
2446
+ idleCompaction?: boolean;
1715
2447
  autoMemoryEnabled?: boolean;
1716
2448
  disabled?: {
1717
2449
  subagents?: Array<string>;
@@ -1720,7 +2452,6 @@ export declare function createAgent(transport: Transport): {
1720
2452
  mcpServers?: Array<string>;
1721
2453
  hooks?: Array<string>;
1722
2454
  };
1723
- idleCompaction?: boolean;
1724
2455
  outputStyle?: string;
1725
2456
  } | null;
1726
2457
  models?: {
@@ -1728,6 +2459,7 @@ export declare function createAgent(transport: Transport): {
1728
2459
  };
1729
2460
  avatar: string | null;
1730
2461
  creation_source: string | null;
2462
+ managed_by: string | null;
1731
2463
  identity_number: string | null;
1732
2464
  environment_id?: string | null;
1733
2465
  vault_ids?: Array<string>;
@@ -1793,6 +2525,13 @@ export declare function createAgent(transport: Transport): {
1793
2525
  type: "computer_deleted";
1794
2526
  }>;
1795
2527
  files: {
2528
+ convert: {
2529
+ create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
2530
+ data: string;
2531
+ mime: "application/pdf";
2532
+ cached: boolean;
2533
+ }>;
2534
+ };
1796
2535
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
1797
2536
  data: Array<{
1798
2537
  path: string;
@@ -1808,6 +2547,24 @@ export declare function createAgent(transport: Transport): {
1808
2547
  tier: "light" | "heavy";
1809
2548
  }>;
1810
2549
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2550
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2551
+ variant: "image" | "pdf" | "text" | "original";
2552
+ version?: string;
2553
+ mime_type?: string;
2554
+ size?: number;
2555
+ file_id?: string;
2556
+ url?: string;
2557
+ expires_at?: string;
2558
+ cached: boolean;
2559
+ fallback?: "content";
2560
+ skipped?: boolean;
2561
+ }>;
2562
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2563
+ path: string;
2564
+ size: number;
2565
+ mtime: string | null;
2566
+ version: string;
2567
+ }>;
1811
2568
  };
1812
2569
  leases: {
1813
2570
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1848,6 +2605,7 @@ export declare function createAgent(transport: Transport): {
1848
2605
  created_at: string;
1849
2606
  updated_at: string;
1850
2607
  archived_at: string | null;
2608
+ machine: "light" | "full";
1851
2609
  implementation: "virtual" | "sandbox";
1852
2610
  storage_bytes: number;
1853
2611
  file_count: number;
@@ -1880,6 +2638,8 @@ export declare function createAgent(transport: Transport): {
1880
2638
  id: string;
1881
2639
  type: "agent";
1882
2640
  version: number;
2641
+ pinned_version?: number | null;
2642
+ active_version?: number | null;
1883
2643
  } | {
1884
2644
  id: string;
1885
2645
  type: "agent_with_overrides";
@@ -1917,6 +2677,8 @@ export declare function createAgent(transport: Transport): {
1917
2677
  id: string;
1918
2678
  type: "agent";
1919
2679
  version: number;
2680
+ pinned_version?: number | null;
2681
+ active_version?: number | null;
1920
2682
  } | {
1921
2683
  id: string;
1922
2684
  type: "agent_with_overrides";
@@ -1955,6 +2717,8 @@ export declare function createAgent(transport: Transport): {
1955
2717
  id: string;
1956
2718
  type: "agent";
1957
2719
  version: number;
2720
+ pinned_version?: number | null;
2721
+ active_version?: number | null;
1958
2722
  } | {
1959
2723
  id: string;
1960
2724
  type: "agent_with_overrides";
@@ -1994,6 +2758,8 @@ export declare function createAgent(transport: Transport): {
1994
2758
  id: string;
1995
2759
  type: "agent";
1996
2760
  version: number;
2761
+ pinned_version?: number | null;
2762
+ active_version?: number | null;
1997
2763
  } | {
1998
2764
  id: string;
1999
2765
  type: "agent_with_overrides";
@@ -2031,6 +2797,8 @@ export declare function createAgent(transport: Transport): {
2031
2797
  id: string;
2032
2798
  type: "agent";
2033
2799
  version: number;
2800
+ pinned_version?: number | null;
2801
+ active_version?: number | null;
2034
2802
  } | {
2035
2803
  id: string;
2036
2804
  type: "agent_with_overrides";
@@ -2072,6 +2840,8 @@ export declare function createAgent(transport: Transport): {
2072
2840
  id: string;
2073
2841
  type: "agent";
2074
2842
  version: number;
2843
+ pinned_version?: number | null;
2844
+ active_version?: number | null;
2075
2845
  } | {
2076
2846
  id: string;
2077
2847
  type: "agent_with_overrides";
@@ -2110,6 +2880,8 @@ export declare function createAgent(transport: Transport): {
2110
2880
  id: string;
2111
2881
  type: "agent";
2112
2882
  version: number;
2883
+ pinned_version?: number | null;
2884
+ active_version?: number | null;
2113
2885
  } | {
2114
2886
  id: string;
2115
2887
  type: "agent_with_overrides";
@@ -2153,6 +2925,543 @@ export declare function createAgent(transport: Transport): {
2153
2925
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2154
2926
  };
2155
2927
  sessions: {
2928
+ agentVersion: {
2929
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2930
+ id: string;
2931
+ agent: {
2932
+ id: string;
2933
+ description: null | string;
2934
+ mcp_servers: Array<{
2935
+ type: "url";
2936
+ name: string;
2937
+ url: string;
2938
+ headers?: {
2939
+ [key: string]: string;
2940
+ };
2941
+ timeout_ms?: number;
2942
+ } | {
2943
+ type: "sse";
2944
+ name: string;
2945
+ url: string;
2946
+ headers?: {
2947
+ [key: string]: string;
2948
+ };
2949
+ timeout_ms?: number;
2950
+ } | {
2951
+ type: "stdio";
2952
+ name: string;
2953
+ command: string;
2954
+ args?: Array<string>;
2955
+ env?: {
2956
+ [key: string]: string;
2957
+ };
2958
+ timeout_ms?: number;
2959
+ }>;
2960
+ model: {
2961
+ id: string;
2962
+ effort?: {
2963
+ type: "low";
2964
+ } | {
2965
+ type: "medium";
2966
+ } | {
2967
+ type: "high";
2968
+ } | {
2969
+ type: "xhigh";
2970
+ } | {
2971
+ type: "max";
2972
+ };
2973
+ inference_geo?: string;
2974
+ speed?: "standard" | "fast";
2975
+ settings?: {
2976
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2977
+ max_output_tokens?: number;
2978
+ };
2979
+ };
2980
+ multiagent: null | {
2981
+ agents: Array<{
2982
+ model: string;
2983
+ type: "advisor";
2984
+ } | {
2985
+ id: string;
2986
+ description: null | string;
2987
+ mcp_servers: Array<{
2988
+ type: "url";
2989
+ name: string;
2990
+ url: string;
2991
+ headers?: {
2992
+ [key: string]: string;
2993
+ };
2994
+ timeout_ms?: number;
2995
+ } | {
2996
+ type: "sse";
2997
+ name: string;
2998
+ url: string;
2999
+ headers?: {
3000
+ [key: string]: string;
3001
+ };
3002
+ timeout_ms?: number;
3003
+ } | {
3004
+ type: "stdio";
3005
+ name: string;
3006
+ command: string;
3007
+ args?: Array<string>;
3008
+ env?: {
3009
+ [key: string]: string;
3010
+ };
3011
+ timeout_ms?: number;
3012
+ }>;
3013
+ model: {
3014
+ id: string;
3015
+ effort?: {
3016
+ type: "low";
3017
+ } | {
3018
+ type: "medium";
3019
+ } | {
3020
+ type: "high";
3021
+ } | {
3022
+ type: "xhigh";
3023
+ } | {
3024
+ type: "max";
3025
+ };
3026
+ inference_geo?: string;
3027
+ speed?: "standard" | "fast";
3028
+ };
3029
+ name: string;
3030
+ skills: Array<{
3031
+ skill_id: string;
3032
+ type: "anthropic";
3033
+ version: string;
3034
+ } | {
3035
+ skill_id: string;
3036
+ type: "custom";
3037
+ version: string;
3038
+ }>;
3039
+ system: null | string;
3040
+ tools: Array<{
3041
+ configs: Array<{
3042
+ enabled: boolean;
3043
+ name: "bash";
3044
+ permission_policy: {
3045
+ type: "always_allow";
3046
+ } | {
3047
+ type: "always_ask";
3048
+ } | {
3049
+ type: "auto";
3050
+ };
3051
+ type: "bash";
3052
+ } | {
3053
+ enabled: boolean;
3054
+ name: "edit";
3055
+ permission_policy: {
3056
+ type: "always_allow";
3057
+ } | {
3058
+ type: "always_ask";
3059
+ } | {
3060
+ type: "auto";
3061
+ };
3062
+ type: "edit";
3063
+ } | {
3064
+ enabled: boolean;
3065
+ name: "read";
3066
+ permission_policy: {
3067
+ type: "always_allow";
3068
+ } | {
3069
+ type: "always_ask";
3070
+ } | {
3071
+ type: "auto";
3072
+ };
3073
+ type: "read";
3074
+ } | {
3075
+ enabled: boolean;
3076
+ name: "write";
3077
+ permission_policy: {
3078
+ type: "always_allow";
3079
+ } | {
3080
+ type: "always_ask";
3081
+ } | {
3082
+ type: "auto";
3083
+ };
3084
+ type: "write";
3085
+ } | {
3086
+ enabled: boolean;
3087
+ name: "glob";
3088
+ permission_policy: {
3089
+ type: "always_allow";
3090
+ } | {
3091
+ type: "always_ask";
3092
+ } | {
3093
+ type: "auto";
3094
+ };
3095
+ type: "glob";
3096
+ } | {
3097
+ enabled: boolean;
3098
+ name: "grep";
3099
+ permission_policy: {
3100
+ type: "always_allow";
3101
+ } | {
3102
+ type: "always_ask";
3103
+ } | {
3104
+ type: "auto";
3105
+ };
3106
+ type: "grep";
3107
+ } | {
3108
+ enabled: boolean;
3109
+ name: "web_fetch";
3110
+ permission_policy: {
3111
+ type: "always_allow";
3112
+ } | {
3113
+ type: "always_ask";
3114
+ } | {
3115
+ type: "auto";
3116
+ };
3117
+ type: "web_fetch";
3118
+ allowed_domains?: Array<string>;
3119
+ blocked_domains?: Array<string>;
3120
+ max_content_tokens?: null | number;
3121
+ } | {
3122
+ enabled: boolean;
3123
+ name: "web_search";
3124
+ permission_policy: {
3125
+ type: "always_allow";
3126
+ } | {
3127
+ type: "always_ask";
3128
+ } | {
3129
+ type: "auto";
3130
+ };
3131
+ type: "web_search";
3132
+ allowed_domains?: Array<string>;
3133
+ blocked_domains?: Array<string>;
3134
+ user_location?: null | {
3135
+ type: "approximate";
3136
+ city?: null | string;
3137
+ country?: null | string;
3138
+ region?: null | string;
3139
+ timezone?: null | string;
3140
+ };
3141
+ } | {
3142
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3143
+ enabled: boolean;
3144
+ permission_policy: {
3145
+ type: "always_allow" | "always_ask";
3146
+ };
3147
+ }>;
3148
+ default_config: {
3149
+ enabled: boolean;
3150
+ permission_policy: {
3151
+ type: "always_allow";
3152
+ } | {
3153
+ type: "always_ask";
3154
+ } | {
3155
+ type: "auto";
3156
+ };
3157
+ };
3158
+ type: "agent_toolset_20260401";
3159
+ } | {
3160
+ type: "mcp_toolset";
3161
+ mcp_server_name: string;
3162
+ default_config?: {
3163
+ enabled?: boolean | null;
3164
+ permission_policy?: null | {
3165
+ type: "always_allow" | "always_ask";
3166
+ };
3167
+ } | null;
3168
+ configs?: Array<{
3169
+ name: string;
3170
+ enabled?: boolean | null;
3171
+ permission_policy?: null | {
3172
+ type: "always_allow" | "always_ask";
3173
+ };
3174
+ }> | null;
3175
+ } | {
3176
+ description: string;
3177
+ input_schema: {
3178
+ type: "object";
3179
+ properties?: null | {
3180
+ [key: string]: unknown;
3181
+ };
3182
+ required?: null | Array<string>;
3183
+ [key: string]: unknown;
3184
+ };
3185
+ name: string;
3186
+ type: "custom";
3187
+ }>;
3188
+ type: "agent";
3189
+ version: number;
3190
+ }>;
3191
+ type: "coordinator";
3192
+ };
3193
+ name: string;
3194
+ skills: Array<{
3195
+ skill_id: string;
3196
+ type: "anthropic";
3197
+ version: string;
3198
+ } | {
3199
+ skill_id: string;
3200
+ type: "custom";
3201
+ version: string;
3202
+ }>;
3203
+ system: null | string;
3204
+ tools: Array<{
3205
+ configs: Array<{
3206
+ enabled: boolean;
3207
+ name: "bash";
3208
+ permission_policy: {
3209
+ type: "always_allow";
3210
+ } | {
3211
+ type: "always_ask";
3212
+ } | {
3213
+ type: "auto";
3214
+ };
3215
+ type: "bash";
3216
+ } | {
3217
+ enabled: boolean;
3218
+ name: "edit";
3219
+ permission_policy: {
3220
+ type: "always_allow";
3221
+ } | {
3222
+ type: "always_ask";
3223
+ } | {
3224
+ type: "auto";
3225
+ };
3226
+ type: "edit";
3227
+ } | {
3228
+ enabled: boolean;
3229
+ name: "read";
3230
+ permission_policy: {
3231
+ type: "always_allow";
3232
+ } | {
3233
+ type: "always_ask";
3234
+ } | {
3235
+ type: "auto";
3236
+ };
3237
+ type: "read";
3238
+ } | {
3239
+ enabled: boolean;
3240
+ name: "write";
3241
+ permission_policy: {
3242
+ type: "always_allow";
3243
+ } | {
3244
+ type: "always_ask";
3245
+ } | {
3246
+ type: "auto";
3247
+ };
3248
+ type: "write";
3249
+ } | {
3250
+ enabled: boolean;
3251
+ name: "glob";
3252
+ permission_policy: {
3253
+ type: "always_allow";
3254
+ } | {
3255
+ type: "always_ask";
3256
+ } | {
3257
+ type: "auto";
3258
+ };
3259
+ type: "glob";
3260
+ } | {
3261
+ enabled: boolean;
3262
+ name: "grep";
3263
+ permission_policy: {
3264
+ type: "always_allow";
3265
+ } | {
3266
+ type: "always_ask";
3267
+ } | {
3268
+ type: "auto";
3269
+ };
3270
+ type: "grep";
3271
+ } | {
3272
+ enabled: boolean;
3273
+ name: "web_fetch";
3274
+ permission_policy: {
3275
+ type: "always_allow";
3276
+ } | {
3277
+ type: "always_ask";
3278
+ } | {
3279
+ type: "auto";
3280
+ };
3281
+ type: "web_fetch";
3282
+ allowed_domains?: Array<string>;
3283
+ blocked_domains?: Array<string>;
3284
+ max_content_tokens?: null | number;
3285
+ } | {
3286
+ enabled: boolean;
3287
+ name: "web_search";
3288
+ permission_policy: {
3289
+ type: "always_allow";
3290
+ } | {
3291
+ type: "always_ask";
3292
+ } | {
3293
+ type: "auto";
3294
+ };
3295
+ type: "web_search";
3296
+ allowed_domains?: Array<string>;
3297
+ blocked_domains?: Array<string>;
3298
+ user_location?: null | {
3299
+ type: "approximate";
3300
+ city?: null | string;
3301
+ country?: null | string;
3302
+ region?: null | string;
3303
+ timezone?: null | string;
3304
+ };
3305
+ } | {
3306
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3307
+ enabled: boolean;
3308
+ permission_policy: {
3309
+ type: "always_allow" | "always_ask";
3310
+ };
3311
+ }>;
3312
+ default_config: {
3313
+ enabled: boolean;
3314
+ permission_policy: {
3315
+ type: "always_allow";
3316
+ } | {
3317
+ type: "always_ask";
3318
+ } | {
3319
+ type: "auto";
3320
+ };
3321
+ };
3322
+ type: "agent_toolset_20260401";
3323
+ } | {
3324
+ type: "mcp_toolset";
3325
+ mcp_server_name: string;
3326
+ default_config?: {
3327
+ enabled?: boolean | null;
3328
+ permission_policy?: null | {
3329
+ type: "always_allow" | "always_ask";
3330
+ };
3331
+ } | null;
3332
+ configs?: Array<{
3333
+ name: string;
3334
+ enabled?: boolean | null;
3335
+ permission_policy?: null | {
3336
+ type: "always_allow" | "always_ask";
3337
+ };
3338
+ }> | null;
3339
+ } | {
3340
+ description: string;
3341
+ input_schema: {
3342
+ type: "object";
3343
+ properties?: null | {
3344
+ [key: string]: unknown;
3345
+ };
3346
+ required?: null | Array<string>;
3347
+ [key: string]: unknown;
3348
+ };
3349
+ name: string;
3350
+ type: "custom";
3351
+ }>;
3352
+ type: "agent";
3353
+ version: number;
3354
+ };
3355
+ archived_at: null | string;
3356
+ budget: null | {
3357
+ max_list_cost: {
3358
+ amount: string;
3359
+ currency: "USD";
3360
+ };
3361
+ type: "limit";
3362
+ };
3363
+ created_at: string;
3364
+ environment_id?: string;
3365
+ metadata: {
3366
+ [key: string]: string;
3367
+ };
3368
+ outcome_evaluations: Array<{
3369
+ completed_at: null | string;
3370
+ description: string;
3371
+ explanation: null | string;
3372
+ iteration: number;
3373
+ outcome_id: string;
3374
+ result: string;
3375
+ type: "outcome_evaluation";
3376
+ }>;
3377
+ resources: Array<{
3378
+ id: string;
3379
+ created_at: string;
3380
+ mount_path: string;
3381
+ type: "github_repository";
3382
+ updated_at: string;
3383
+ url: string;
3384
+ checkout?: null | {
3385
+ name: string;
3386
+ type: "branch";
3387
+ } | {
3388
+ sha: string;
3389
+ type: "commit";
3390
+ };
3391
+ } | {
3392
+ id: string;
3393
+ created_at: string;
3394
+ file_id: string;
3395
+ mount_path: string;
3396
+ type: "file";
3397
+ updated_at: string;
3398
+ } | {
3399
+ memory_store_id: string;
3400
+ type: "memory_store";
3401
+ access?: null | "read_write" | "read_only";
3402
+ description?: string;
3403
+ instructions?: null | string;
3404
+ mount_path?: null | string;
3405
+ name?: null | string;
3406
+ }>;
3407
+ stats: {
3408
+ active_seconds?: number;
3409
+ duration_seconds?: number;
3410
+ };
3411
+ status: "rescheduling" | "running" | "idle" | "terminated";
3412
+ title: null | string;
3413
+ type: "session";
3414
+ updated_at: string;
3415
+ usage: {
3416
+ active_seconds?: number;
3417
+ cache_creation?: {
3418
+ ephemeral_1h_input_tokens?: number;
3419
+ ephemeral_5m_input_tokens?: number;
3420
+ };
3421
+ cache_read_input_tokens?: number;
3422
+ input_tokens?: number;
3423
+ list_cost?: null | {
3424
+ amount: string;
3425
+ currency: "USD";
3426
+ };
3427
+ output_tokens?: number;
3428
+ server_tool_use?: null | {
3429
+ web_fetch_requests?: number;
3430
+ web_search_requests?: number;
3431
+ };
3432
+ cost_by_product?: {
3433
+ [key: string]: string;
3434
+ };
3435
+ subagent_cost_micro_usd?: number;
3436
+ };
3437
+ vault_ids: Array<string>;
3438
+ deployment_id?: null | string;
3439
+ cwd: string;
3440
+ workspace?: {
3441
+ kind: "shared" | "isolated";
3442
+ path?: string;
3443
+ branch?: string;
3444
+ };
3445
+ computer_id?: string;
3446
+ model?: {
3447
+ id: string;
3448
+ thinking: {
3449
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3450
+ can_disable: boolean;
3451
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3452
+ } | null;
3453
+ };
3454
+ thinking?: {
3455
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3456
+ } | null;
3457
+ forked_from?: {
3458
+ session_id: string;
3459
+ message_id: string;
3460
+ } | null;
3461
+ readonly external_user_id: string | null;
3462
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3463
+ }>;
3464
+ };
2156
3465
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2157
3466
  id: string;
2158
3467
  agent: {
@@ -2166,6 +3475,7 @@ export declare function createAgent(transport: Transport): {
2166
3475
  speed?: "standard" | "fast";
2167
3476
  settings?: {
2168
3477
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3478
+ max_output_tokens?: number;
2169
3479
  };
2170
3480
  };
2171
3481
  multiagent: null | Types.AgentManaged171;
@@ -2192,6 +3502,11 @@ export declare function createAgent(transport: Transport): {
2192
3502
  vault_ids: Array<string>;
2193
3503
  deployment_id?: null | string;
2194
3504
  cwd: string;
3505
+ workspace?: {
3506
+ kind: "shared" | "isolated";
3507
+ path?: string;
3508
+ branch?: string;
3509
+ };
2195
3510
  computer_id?: string;
2196
3511
  model?: {
2197
3512
  id: string;
@@ -2211,6 +3526,40 @@ export declare function createAgent(transport: Transport): {
2211
3526
  readonly external_user_id: string | null;
2212
3527
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2213
3528
  }>;
3529
+ artifacts: {
3530
+ contentUrl: {
3531
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3532
+ url: string;
3533
+ expire_time: string;
3534
+ }>;
3535
+ };
3536
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3537
+ data: Array<{
3538
+ object: "artifact";
3539
+ id: string;
3540
+ session_id: string;
3541
+ run_id: string | null;
3542
+ name: string;
3543
+ version: number;
3544
+ parts: Array<{
3545
+ kind: "file";
3546
+ file_id: string;
3547
+ filename: string;
3548
+ mime_type: string;
3549
+ bytes: number;
3550
+ } | {
3551
+ kind: "object";
3552
+ object_type: "canvas" | "media_asset";
3553
+ object_id: string;
3554
+ href: string;
3555
+ title: string | null;
3556
+ }>;
3557
+ source_hrefs: Array<string>;
3558
+ create_time: string;
3559
+ update_time: string;
3560
+ }>;
3561
+ }>;
3562
+ };
2214
3563
  backgroundTasks: {
2215
3564
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2216
3565
  data: Array<{
@@ -2293,6 +3642,7 @@ export declare function createAgent(transport: Transport): {
2293
3642
  speed?: "standard" | "fast";
2294
3643
  settings?: {
2295
3644
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3645
+ max_output_tokens?: number;
2296
3646
  };
2297
3647
  };
2298
3648
  multiagent: null | Types.AgentManaged171;
@@ -2319,6 +3669,11 @@ export declare function createAgent(transport: Transport): {
2319
3669
  vault_ids: Array<string>;
2320
3670
  deployment_id?: null | string;
2321
3671
  cwd: string;
3672
+ workspace?: {
3673
+ kind: "shared" | "isolated";
3674
+ path?: string;
3675
+ branch?: string;
3676
+ };
2322
3677
  computer_id?: string;
2323
3678
  model?: {
2324
3679
  id: string;
@@ -2339,6 +3694,13 @@ export declare function createAgent(transport: Transport): {
2339
3694
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2340
3695
  }>;
2341
3696
  delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
3697
+ dictations: {
3698
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
3699
+ id: string;
3700
+ push_url: string;
3701
+ expires_at: string;
3702
+ }>;
3703
+ };
2342
3704
  events: {
2343
3705
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
2344
3706
  data: Array<{
@@ -2379,7 +3741,6 @@ export declare function createAgent(transport: Transport): {
2379
3741
  run_id: string | null;
2380
3742
  message_id?: string;
2381
3743
  } | {
2382
- full_access_available?: boolean;
2383
3744
  id: string;
2384
3745
  input: Types.AgentManaged197;
2385
3746
  mcp_server_name: string;
@@ -2389,6 +3750,18 @@ export declare function createAgent(transport: Transport): {
2389
3750
  evaluated_permission?: "allow" | "deny" | "ask";
2390
3751
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2391
3752
  session_thread_id?: null | string;
3753
+ permission_suggestions?: Array<{
3754
+ type: "add_rules";
3755
+ behavior: "allow";
3756
+ destination: "agent" | "session";
3757
+ rules: Array<{
3758
+ tool_name: string;
3759
+ rule_content: string;
3760
+ }>;
3761
+ }>;
3762
+ full_access_available?: boolean;
3763
+ user_once?: true;
3764
+ guarded_rule?: string;
2392
3765
  run_id: string | null;
2393
3766
  _meta?: {
2394
3767
  ui?: {
@@ -2402,17 +3775,6 @@ export declare function createAgent(transport: Transport): {
2402
3775
  };
2403
3776
  source?: "app" | "codemode";
2404
3777
  parent_tool_use_id?: string;
2405
- user_once?: true;
2406
- guarded_rule?: string;
2407
- permission_suggestions?: Array<{
2408
- type: "add_rules";
2409
- behavior: "allow";
2410
- destination: "agent" | "session";
2411
- rules: Array<{
2412
- tool_name: string;
2413
- rule_content: string;
2414
- }>;
2415
- }>;
2416
3778
  title?: string;
2417
3779
  input_titles?: {
2418
3780
  [key: string]: string;
@@ -2431,7 +3793,6 @@ export declare function createAgent(transport: Transport): {
2431
3793
  };
2432
3794
  source?: "app" | "codemode";
2433
3795
  } | {
2434
- full_access_available?: boolean;
2435
3796
  id: string;
2436
3797
  input: Types.AgentManaged206;
2437
3798
  name: string;
@@ -2439,10 +3800,7 @@ export declare function createAgent(transport: Transport): {
2439
3800
  type: "agent.tool_use";
2440
3801
  evaluated_permission?: "allow" | "deny" | "ask";
2441
3802
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2442
- session_thread_id?: null | string;
2443
- run_id: string | null;
2444
- user_once?: true;
2445
- guarded_rule?: string;
3803
+ session_thread_id?: null | string;
2446
3804
  permission_suggestions?: Array<{
2447
3805
  type: "add_rules";
2448
3806
  behavior: "allow";
@@ -2452,6 +3810,10 @@ export declare function createAgent(transport: Transport): {
2452
3810
  rule_content: string;
2453
3811
  }>;
2454
3812
  }>;
3813
+ full_access_available?: boolean;
3814
+ user_once?: true;
3815
+ guarded_rule?: string;
3816
+ run_id: string | null;
2455
3817
  } | {
2456
3818
  id: string;
2457
3819
  processed_at: string;
@@ -2472,9 +3834,6 @@ export declare function createAgent(transport: Transport): {
2472
3834
  type: "session.status_idle";
2473
3835
  run_id: string | null;
2474
3836
  } | 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 | {
2475
- permission_mode_version?: number;
2476
- previous_permission_mode?: string | null;
2477
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2478
3837
  id: string;
2479
3838
  processed_at: string;
2480
3839
  type: "session.updated";
@@ -2482,6 +3841,9 @@ export declare function createAgent(transport: Transport): {
2482
3841
  budget?: null | Types.AgentManaged76;
2483
3842
  metadata?: Types.AgentManaged246;
2484
3843
  title?: null | string;
3844
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3845
+ previous_permission_mode?: string | null;
3846
+ permission_mode_version?: number;
2485
3847
  model?: {
2486
3848
  id: string;
2487
3849
  };
@@ -2491,6 +3853,8 @@ export declare function createAgent(transport: Transport): {
2491
3853
  processed_at: string;
2492
3854
  forked_from_session_id: string;
2493
3855
  forked_from_message_id: string;
3856
+ message_id?: string;
3857
+ session_thread_id?: string | null;
2494
3858
  } | {
2495
3859
  id: string;
2496
3860
  type: "session.goal_changed";
@@ -2521,6 +3885,8 @@ export declare function createAgent(transport: Transport): {
2521
3885
  created_at: number;
2522
3886
  updated_at: number;
2523
3887
  } | null;
3888
+ message_id?: string;
3889
+ session_thread_id?: string | null;
2524
3890
  } | {
2525
3891
  id: string;
2526
3892
  type: "session.goal_verification";
@@ -2535,26 +3901,179 @@ export declare function createAgent(transport: Transport): {
2535
3901
  reason: string;
2536
3902
  next_action?: string;
2537
3903
  };
3904
+ message_id?: string;
3905
+ session_thread_id?: string | null;
2538
3906
  } | {
2539
3907
  id: string;
2540
3908
  type: "user.steer";
2541
3909
  event_id: string;
2542
3910
  processed_at: string;
3911
+ message_id?: string;
3912
+ session_thread_id?: string | null;
3913
+ } | {
3914
+ id: string;
3915
+ type: "cognition.surfaced";
3916
+ processed_at: string;
3917
+ worker_session_id: string;
3918
+ name: string;
3919
+ state: "done" | "waiting" | "failed" | "archived";
3920
+ experience_id?: string;
3921
+ result?: {
3922
+ message?: string;
3923
+ links?: Array<string>;
3924
+ files?: Array<{
3925
+ name?: string;
3926
+ href?: string;
3927
+ }>;
3928
+ held?: Array<{
3929
+ id?: string;
3930
+ summary?: string;
3931
+ effect?: string;
3932
+ method?: string;
3933
+ path?: string;
3934
+ expires_at?: string;
3935
+ }>;
3936
+ };
3937
+ } | {
3938
+ id: string;
3939
+ type: "cognition.intention_woken";
3940
+ processed_at: string;
3941
+ node_id: string;
3942
+ reason: "open_engram" | "assignment";
3943
+ } | {
3944
+ id: string;
3945
+ type: "agent.operation_approval_requested";
3946
+ processed_at: string;
3947
+ approval_id: string;
3948
+ operation_id: string;
3949
+ effect: "outward" | "irreversible";
3950
+ method: string;
3951
+ path: string;
3952
+ summary: string;
3953
+ expires_at: string;
3954
+ worker_session_id?: string;
3955
+ worker_name?: string;
3956
+ } | {
3957
+ id: string;
3958
+ type: "agent.operation_approval_decided";
3959
+ processed_at: string;
3960
+ approval_id: string;
3961
+ status: "approved" | "refused" | "expired";
2543
3962
  } | {
2544
3963
  id: string;
2545
- type: "user.tool_confirmation";
3964
+ type: "session.prompt_configuration_mismatch";
3965
+ processed_at: string;
3966
+ pinned_revision_id: string;
3967
+ current_revision_id: string;
3968
+ } | {
3969
+ id: string;
3970
+ type: "session.prompt_rev_changed";
3971
+ processed_at: string;
3972
+ config_revision_id: string;
3973
+ changed: Array<{
3974
+ name: string;
3975
+ rev: string | null;
3976
+ }>;
3977
+ } | {
3978
+ id: string;
3979
+ type: "session.computer_tier";
3980
+ processed_at: string;
3981
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
3982
+ tier: "light" | "heavy";
3983
+ duration_ms: number;
3984
+ error_code?: string;
3985
+ status?: {
3986
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
3987
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
3988
+ percent?: number;
3989
+ files_done?: number;
3990
+ files_total?: number;
3991
+ idle_release_at?: number;
3992
+ retry_at?: number;
3993
+ epoch?: number;
3994
+ heavy_instance?: string | null;
3995
+ heavy_paused?: boolean;
3996
+ };
3997
+ } | {
3998
+ id: string;
3999
+ type: "agent.artifact_delivered";
4000
+ processed_at: string;
4001
+ artifact: {
4002
+ object: "artifact";
4003
+ id: string;
4004
+ session_id: string;
4005
+ run_id: string | null;
4006
+ name: string;
4007
+ version: number;
4008
+ parts: Array<{
4009
+ [key: string]: unknown;
4010
+ }>;
4011
+ source_hrefs: Array<string>;
4012
+ create_time: string;
4013
+ update_time: string;
4014
+ };
4015
+ } | {
4016
+ id: string;
4017
+ type: "agent.image_generation";
2546
4018
  processed_at: string;
2547
4019
  tool_use_id: string;
2548
- result: "allow";
2549
- answers: {
2550
- [key: string]: string;
4020
+ index: number;
4021
+ total: number;
4022
+ status: string;
4023
+ mode?: string;
4024
+ aspect?: string;
4025
+ prompt?: string;
4026
+ model?: string;
4027
+ file_id?: string;
4028
+ label?: string;
4029
+ width?: number;
4030
+ height?: number;
4031
+ revised_prompt?: string;
4032
+ source_labels?: Array<string>;
4033
+ caption?: string;
4034
+ slot?: number | null;
4035
+ replaces?: string;
4036
+ version?: number;
4037
+ failure?: {
4038
+ reason?: string;
2551
4039
  };
2552
- annotations?: {
2553
- [key: string]: {
2554
- preview?: string;
2555
- notes?: string;
2556
- };
4040
+ } | {
4041
+ id: string;
4042
+ type: "session.image_labeled";
4043
+ processed_at: string;
4044
+ label: string;
4045
+ file_id: string;
4046
+ origin: "generated" | "uploaded";
4047
+ filename: string;
4048
+ tool_use_id?: string;
4049
+ version?: number;
4050
+ replaced_file_id?: string;
4051
+ } | {
4052
+ id: string;
4053
+ type: "session.image_set_planned";
4054
+ processed_at: string;
4055
+ tool_use_id: string;
4056
+ items: Array<unknown>;
4057
+ title?: string;
4058
+ } | {
4059
+ id: string;
4060
+ type: "session.project_attached";
4061
+ processed_at: string;
4062
+ project: {
4063
+ id: string;
4064
+ name: string;
4065
+ path: string;
2557
4066
  };
4067
+ message_id?: string;
4068
+ session_thread_id?: string | null;
4069
+ } | {
4070
+ id: string;
4071
+ type: "session.project_detached";
4072
+ processed_at: string;
4073
+ project_id: string;
4074
+ reason?: "project_removed";
4075
+ message_id?: string;
4076
+ session_thread_id?: string | null;
2558
4077
  }>;
2559
4078
  next_page: string | null;
2560
4079
  }>;
@@ -2575,21 +4094,8 @@ export declare function createAgent(transport: Transport): {
2575
4094
  type: "user.steer";
2576
4095
  event_id: string;
2577
4096
  processed_at: string;
2578
- } | {
2579
- id: string;
2580
- type: "user.tool_confirmation";
2581
- processed_at: string;
2582
- tool_use_id: string;
2583
- result: "allow";
2584
- answers: {
2585
- [key: string]: string;
2586
- };
2587
- annotations?: {
2588
- [key: string]: {
2589
- preview?: string;
2590
- notes?: string;
2591
- };
2592
- };
4097
+ message_id?: string;
4098
+ session_thread_id?: string | null;
2593
4099
  }>;
2594
4100
  }>;
2595
4101
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2642,6 +4148,7 @@ export declare function createAgent(transport: Transport): {
2642
4148
  speed?: "standard" | "fast";
2643
4149
  settings?: {
2644
4150
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4151
+ max_output_tokens?: number;
2645
4152
  };
2646
4153
  };
2647
4154
  multiagent: null | {
@@ -3104,6 +4611,11 @@ export declare function createAgent(transport: Transport): {
3104
4611
  vault_ids: Array<string>;
3105
4612
  deployment_id?: null | string;
3106
4613
  cwd: string;
4614
+ workspace?: {
4615
+ kind: "shared" | "isolated";
4616
+ path?: string;
4617
+ branch?: string;
4618
+ };
3107
4619
  computer_id?: string;
3108
4620
  model?: {
3109
4621
  id: string;
@@ -3137,6 +4649,7 @@ export declare function createAgent(transport: Transport): {
3137
4649
  speed?: "standard" | "fast";
3138
4650
  settings?: {
3139
4651
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4652
+ max_output_tokens?: number;
3140
4653
  };
3141
4654
  };
3142
4655
  multiagent: null | Types.AgentManaged171;
@@ -3148,21 +4661,564 @@ export declare function createAgent(transport: Transport): {
3148
4661
  version: number;
3149
4662
  };
3150
4663
  archived_at: null | string;
3151
- budget: null | Types.AgentManaged76;
4664
+ budget: null | Types.AgentManaged76;
4665
+ created_at: string;
4666
+ environment_id?: string;
4667
+ metadata: Types.AgentManaged173;
4668
+ outcome_evaluations: Array<Types.AgentManaged174>;
4669
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4670
+ stats: Types.AgentManaged178;
4671
+ status: "rescheduling" | "running" | "idle" | "terminated";
4672
+ title: null | string;
4673
+ type: "session";
4674
+ updated_at: string;
4675
+ usage: Types.AgentManaged179;
4676
+ vault_ids: Array<string>;
4677
+ deployment_id?: null | string;
4678
+ cwd: string;
4679
+ workspace?: {
4680
+ kind: "shared" | "isolated";
4681
+ path?: string;
4682
+ branch?: string;
4683
+ };
4684
+ computer_id?: string;
4685
+ model?: {
4686
+ id: string;
4687
+ thinking: {
4688
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4689
+ can_disable: boolean;
4690
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4691
+ } | null;
4692
+ };
4693
+ thinking?: {
4694
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4695
+ } | null;
4696
+ forked_from?: {
4697
+ session_id: string;
4698
+ message_id: string;
4699
+ } | null;
4700
+ readonly external_user_id: string | null;
4701
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4702
+ }>;
4703
+ next_page: string | null;
4704
+ }>;
4705
+ name: {
4706
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4707
+ id: string;
4708
+ agent: {
4709
+ id: string;
4710
+ description: null | string;
4711
+ mcp_servers: Array<{
4712
+ type: "url";
4713
+ name: string;
4714
+ url: string;
4715
+ headers?: {
4716
+ [key: string]: string;
4717
+ };
4718
+ timeout_ms?: number;
4719
+ } | {
4720
+ type: "sse";
4721
+ name: string;
4722
+ url: string;
4723
+ headers?: {
4724
+ [key: string]: string;
4725
+ };
4726
+ timeout_ms?: number;
4727
+ } | {
4728
+ type: "stdio";
4729
+ name: string;
4730
+ command: string;
4731
+ args?: Array<string>;
4732
+ env?: {
4733
+ [key: string]: string;
4734
+ };
4735
+ timeout_ms?: number;
4736
+ }>;
4737
+ model: {
4738
+ id: string;
4739
+ effort?: {
4740
+ type: "low";
4741
+ } | {
4742
+ type: "medium";
4743
+ } | {
4744
+ type: "high";
4745
+ } | {
4746
+ type: "xhigh";
4747
+ } | {
4748
+ type: "max";
4749
+ };
4750
+ inference_geo?: string;
4751
+ speed?: "standard" | "fast";
4752
+ settings?: {
4753
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4754
+ max_output_tokens?: number;
4755
+ };
4756
+ };
4757
+ multiagent: null | {
4758
+ agents: Array<{
4759
+ model: string;
4760
+ type: "advisor";
4761
+ } | {
4762
+ id: string;
4763
+ description: null | string;
4764
+ mcp_servers: Array<{
4765
+ type: "url";
4766
+ name: string;
4767
+ url: string;
4768
+ headers?: {
4769
+ [key: string]: string;
4770
+ };
4771
+ timeout_ms?: number;
4772
+ } | {
4773
+ type: "sse";
4774
+ name: string;
4775
+ url: string;
4776
+ headers?: {
4777
+ [key: string]: string;
4778
+ };
4779
+ timeout_ms?: number;
4780
+ } | {
4781
+ type: "stdio";
4782
+ name: string;
4783
+ command: string;
4784
+ args?: Array<string>;
4785
+ env?: {
4786
+ [key: string]: string;
4787
+ };
4788
+ timeout_ms?: number;
4789
+ }>;
4790
+ model: {
4791
+ id: string;
4792
+ effort?: {
4793
+ type: "low";
4794
+ } | {
4795
+ type: "medium";
4796
+ } | {
4797
+ type: "high";
4798
+ } | {
4799
+ type: "xhigh";
4800
+ } | {
4801
+ type: "max";
4802
+ };
4803
+ inference_geo?: string;
4804
+ speed?: "standard" | "fast";
4805
+ };
4806
+ name: string;
4807
+ skills: Array<{
4808
+ skill_id: string;
4809
+ type: "anthropic";
4810
+ version: string;
4811
+ } | {
4812
+ skill_id: string;
4813
+ type: "custom";
4814
+ version: string;
4815
+ }>;
4816
+ system: null | string;
4817
+ tools: Array<{
4818
+ configs: Array<{
4819
+ enabled: boolean;
4820
+ name: "bash";
4821
+ permission_policy: {
4822
+ type: "always_allow";
4823
+ } | {
4824
+ type: "always_ask";
4825
+ } | {
4826
+ type: "auto";
4827
+ };
4828
+ type: "bash";
4829
+ } | {
4830
+ enabled: boolean;
4831
+ name: "edit";
4832
+ permission_policy: {
4833
+ type: "always_allow";
4834
+ } | {
4835
+ type: "always_ask";
4836
+ } | {
4837
+ type: "auto";
4838
+ };
4839
+ type: "edit";
4840
+ } | {
4841
+ enabled: boolean;
4842
+ name: "read";
4843
+ permission_policy: {
4844
+ type: "always_allow";
4845
+ } | {
4846
+ type: "always_ask";
4847
+ } | {
4848
+ type: "auto";
4849
+ };
4850
+ type: "read";
4851
+ } | {
4852
+ enabled: boolean;
4853
+ name: "write";
4854
+ permission_policy: {
4855
+ type: "always_allow";
4856
+ } | {
4857
+ type: "always_ask";
4858
+ } | {
4859
+ type: "auto";
4860
+ };
4861
+ type: "write";
4862
+ } | {
4863
+ enabled: boolean;
4864
+ name: "glob";
4865
+ permission_policy: {
4866
+ type: "always_allow";
4867
+ } | {
4868
+ type: "always_ask";
4869
+ } | {
4870
+ type: "auto";
4871
+ };
4872
+ type: "glob";
4873
+ } | {
4874
+ enabled: boolean;
4875
+ name: "grep";
4876
+ permission_policy: {
4877
+ type: "always_allow";
4878
+ } | {
4879
+ type: "always_ask";
4880
+ } | {
4881
+ type: "auto";
4882
+ };
4883
+ type: "grep";
4884
+ } | {
4885
+ enabled: boolean;
4886
+ name: "web_fetch";
4887
+ permission_policy: {
4888
+ type: "always_allow";
4889
+ } | {
4890
+ type: "always_ask";
4891
+ } | {
4892
+ type: "auto";
4893
+ };
4894
+ type: "web_fetch";
4895
+ allowed_domains?: Array<string>;
4896
+ blocked_domains?: Array<string>;
4897
+ max_content_tokens?: null | number;
4898
+ } | {
4899
+ enabled: boolean;
4900
+ name: "web_search";
4901
+ permission_policy: {
4902
+ type: "always_allow";
4903
+ } | {
4904
+ type: "always_ask";
4905
+ } | {
4906
+ type: "auto";
4907
+ };
4908
+ type: "web_search";
4909
+ allowed_domains?: Array<string>;
4910
+ blocked_domains?: Array<string>;
4911
+ user_location?: null | {
4912
+ type: "approximate";
4913
+ city?: null | string;
4914
+ country?: null | string;
4915
+ region?: null | string;
4916
+ timezone?: null | string;
4917
+ };
4918
+ } | {
4919
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4920
+ enabled: boolean;
4921
+ permission_policy: {
4922
+ type: "always_allow" | "always_ask";
4923
+ };
4924
+ }>;
4925
+ default_config: {
4926
+ enabled: boolean;
4927
+ permission_policy: {
4928
+ type: "always_allow";
4929
+ } | {
4930
+ type: "always_ask";
4931
+ } | {
4932
+ type: "auto";
4933
+ };
4934
+ };
4935
+ type: "agent_toolset_20260401";
4936
+ } | {
4937
+ type: "mcp_toolset";
4938
+ mcp_server_name: string;
4939
+ default_config?: {
4940
+ enabled?: boolean | null;
4941
+ permission_policy?: null | {
4942
+ type: "always_allow" | "always_ask";
4943
+ };
4944
+ } | null;
4945
+ configs?: Array<{
4946
+ name: string;
4947
+ enabled?: boolean | null;
4948
+ permission_policy?: null | {
4949
+ type: "always_allow" | "always_ask";
4950
+ };
4951
+ }> | null;
4952
+ } | {
4953
+ description: string;
4954
+ input_schema: {
4955
+ type: "object";
4956
+ properties?: null | {
4957
+ [key: string]: unknown;
4958
+ };
4959
+ required?: null | Array<string>;
4960
+ [key: string]: unknown;
4961
+ };
4962
+ name: string;
4963
+ type: "custom";
4964
+ }>;
4965
+ type: "agent";
4966
+ version: number;
4967
+ }>;
4968
+ type: "coordinator";
4969
+ };
4970
+ name: string;
4971
+ skills: Array<{
4972
+ skill_id: string;
4973
+ type: "anthropic";
4974
+ version: string;
4975
+ } | {
4976
+ skill_id: string;
4977
+ type: "custom";
4978
+ version: string;
4979
+ }>;
4980
+ system: null | string;
4981
+ tools: Array<{
4982
+ configs: Array<{
4983
+ enabled: boolean;
4984
+ name: "bash";
4985
+ permission_policy: {
4986
+ type: "always_allow";
4987
+ } | {
4988
+ type: "always_ask";
4989
+ } | {
4990
+ type: "auto";
4991
+ };
4992
+ type: "bash";
4993
+ } | {
4994
+ enabled: boolean;
4995
+ name: "edit";
4996
+ permission_policy: {
4997
+ type: "always_allow";
4998
+ } | {
4999
+ type: "always_ask";
5000
+ } | {
5001
+ type: "auto";
5002
+ };
5003
+ type: "edit";
5004
+ } | {
5005
+ enabled: boolean;
5006
+ name: "read";
5007
+ permission_policy: {
5008
+ type: "always_allow";
5009
+ } | {
5010
+ type: "always_ask";
5011
+ } | {
5012
+ type: "auto";
5013
+ };
5014
+ type: "read";
5015
+ } | {
5016
+ enabled: boolean;
5017
+ name: "write";
5018
+ permission_policy: {
5019
+ type: "always_allow";
5020
+ } | {
5021
+ type: "always_ask";
5022
+ } | {
5023
+ type: "auto";
5024
+ };
5025
+ type: "write";
5026
+ } | {
5027
+ enabled: boolean;
5028
+ name: "glob";
5029
+ permission_policy: {
5030
+ type: "always_allow";
5031
+ } | {
5032
+ type: "always_ask";
5033
+ } | {
5034
+ type: "auto";
5035
+ };
5036
+ type: "glob";
5037
+ } | {
5038
+ enabled: boolean;
5039
+ name: "grep";
5040
+ permission_policy: {
5041
+ type: "always_allow";
5042
+ } | {
5043
+ type: "always_ask";
5044
+ } | {
5045
+ type: "auto";
5046
+ };
5047
+ type: "grep";
5048
+ } | {
5049
+ enabled: boolean;
5050
+ name: "web_fetch";
5051
+ permission_policy: {
5052
+ type: "always_allow";
5053
+ } | {
5054
+ type: "always_ask";
5055
+ } | {
5056
+ type: "auto";
5057
+ };
5058
+ type: "web_fetch";
5059
+ allowed_domains?: Array<string>;
5060
+ blocked_domains?: Array<string>;
5061
+ max_content_tokens?: null | number;
5062
+ } | {
5063
+ enabled: boolean;
5064
+ name: "web_search";
5065
+ permission_policy: {
5066
+ type: "always_allow";
5067
+ } | {
5068
+ type: "always_ask";
5069
+ } | {
5070
+ type: "auto";
5071
+ };
5072
+ type: "web_search";
5073
+ allowed_domains?: Array<string>;
5074
+ blocked_domains?: Array<string>;
5075
+ user_location?: null | {
5076
+ type: "approximate";
5077
+ city?: null | string;
5078
+ country?: null | string;
5079
+ region?: null | string;
5080
+ timezone?: null | string;
5081
+ };
5082
+ } | {
5083
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
5084
+ enabled: boolean;
5085
+ permission_policy: {
5086
+ type: "always_allow" | "always_ask";
5087
+ };
5088
+ }>;
5089
+ default_config: {
5090
+ enabled: boolean;
5091
+ permission_policy: {
5092
+ type: "always_allow";
5093
+ } | {
5094
+ type: "always_ask";
5095
+ } | {
5096
+ type: "auto";
5097
+ };
5098
+ };
5099
+ type: "agent_toolset_20260401";
5100
+ } | {
5101
+ type: "mcp_toolset";
5102
+ mcp_server_name: string;
5103
+ default_config?: {
5104
+ enabled?: boolean | null;
5105
+ permission_policy?: null | {
5106
+ type: "always_allow" | "always_ask";
5107
+ };
5108
+ } | null;
5109
+ configs?: Array<{
5110
+ name: string;
5111
+ enabled?: boolean | null;
5112
+ permission_policy?: null | {
5113
+ type: "always_allow" | "always_ask";
5114
+ };
5115
+ }> | null;
5116
+ } | {
5117
+ description: string;
5118
+ input_schema: {
5119
+ type: "object";
5120
+ properties?: null | {
5121
+ [key: string]: unknown;
5122
+ };
5123
+ required?: null | Array<string>;
5124
+ [key: string]: unknown;
5125
+ };
5126
+ name: string;
5127
+ type: "custom";
5128
+ }>;
5129
+ type: "agent";
5130
+ version: number;
5131
+ };
5132
+ archived_at: null | string;
5133
+ budget: null | {
5134
+ max_list_cost: {
5135
+ amount: string;
5136
+ currency: "USD";
5137
+ };
5138
+ type: "limit";
5139
+ };
3152
5140
  created_at: string;
3153
5141
  environment_id?: string;
3154
- metadata: Types.AgentManaged173;
3155
- outcome_evaluations: Array<Types.AgentManaged174>;
3156
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3157
- stats: Types.AgentManaged178;
5142
+ metadata: {
5143
+ [key: string]: string;
5144
+ };
5145
+ outcome_evaluations: Array<{
5146
+ completed_at: null | string;
5147
+ description: string;
5148
+ explanation: null | string;
5149
+ iteration: number;
5150
+ outcome_id: string;
5151
+ result: string;
5152
+ type: "outcome_evaluation";
5153
+ }>;
5154
+ resources: Array<{
5155
+ id: string;
5156
+ created_at: string;
5157
+ mount_path: string;
5158
+ type: "github_repository";
5159
+ updated_at: string;
5160
+ url: string;
5161
+ checkout?: null | {
5162
+ name: string;
5163
+ type: "branch";
5164
+ } | {
5165
+ sha: string;
5166
+ type: "commit";
5167
+ };
5168
+ } | {
5169
+ id: string;
5170
+ created_at: string;
5171
+ file_id: string;
5172
+ mount_path: string;
5173
+ type: "file";
5174
+ updated_at: string;
5175
+ } | {
5176
+ memory_store_id: string;
5177
+ type: "memory_store";
5178
+ access?: null | "read_write" | "read_only";
5179
+ description?: string;
5180
+ instructions?: null | string;
5181
+ mount_path?: null | string;
5182
+ name?: null | string;
5183
+ }>;
5184
+ stats: {
5185
+ active_seconds?: number;
5186
+ duration_seconds?: number;
5187
+ };
3158
5188
  status: "rescheduling" | "running" | "idle" | "terminated";
3159
5189
  title: null | string;
3160
5190
  type: "session";
3161
5191
  updated_at: string;
3162
- usage: Types.AgentManaged179;
5192
+ usage: {
5193
+ active_seconds?: number;
5194
+ cache_creation?: {
5195
+ ephemeral_1h_input_tokens?: number;
5196
+ ephemeral_5m_input_tokens?: number;
5197
+ };
5198
+ cache_read_input_tokens?: number;
5199
+ input_tokens?: number;
5200
+ list_cost?: null | {
5201
+ amount: string;
5202
+ currency: "USD";
5203
+ };
5204
+ output_tokens?: number;
5205
+ server_tool_use?: null | {
5206
+ web_fetch_requests?: number;
5207
+ web_search_requests?: number;
5208
+ };
5209
+ cost_by_product?: {
5210
+ [key: string]: string;
5211
+ };
5212
+ subagent_cost_micro_usd?: number;
5213
+ };
3163
5214
  vault_ids: Array<string>;
3164
5215
  deployment_id?: null | string;
3165
5216
  cwd: string;
5217
+ workspace?: {
5218
+ kind: "shared" | "isolated";
5219
+ path?: string;
5220
+ branch?: string;
5221
+ };
3166
5222
  computer_id?: string;
3167
5223
  model?: {
3168
5224
  id: string;
@@ -3182,8 +5238,21 @@ export declare function createAgent(transport: Transport): {
3182
5238
  readonly external_user_id: string | null;
3183
5239
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3184
5240
  }>;
3185
- next_page: string | null;
3186
- }>;
5241
+ };
5242
+ requests: {
5243
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
5244
+ data: Array<{
5245
+ id: string;
5246
+ object: "request";
5247
+ kind: "question" | "approval";
5248
+ status: "pending";
5249
+ tool_name: string;
5250
+ input: unknown;
5251
+ create_time: string;
5252
+ expire_time: string | null;
5253
+ }>;
5254
+ }>;
5255
+ };
3187
5256
  resources: {
3188
5257
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3189
5258
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3214,6 +5283,7 @@ export declare function createAgent(transport: Transport): {
3214
5283
  speed?: "standard" | "fast";
3215
5284
  settings?: {
3216
5285
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5286
+ max_output_tokens?: number;
3217
5287
  };
3218
5288
  };
3219
5289
  multiagent: null | Types.AgentManaged171;
@@ -3240,6 +5310,11 @@ export declare function createAgent(transport: Transport): {
3240
5310
  vault_ids: Array<string>;
3241
5311
  deployment_id?: null | string;
3242
5312
  cwd: string;
5313
+ workspace?: {
5314
+ kind: "shared" | "isolated";
5315
+ path?: string;
5316
+ branch?: string;
5317
+ };
3243
5318
  computer_id?: string;
3244
5319
  model?: {
3245
5320
  id: string;
@@ -3386,7 +5461,6 @@ export declare function createAgent(transport: Transport): {
3386
5461
  run_id: string | null;
3387
5462
  message_id?: string;
3388
5463
  } | {
3389
- full_access_available?: boolean;
3390
5464
  id: string;
3391
5465
  input: Types.AgentManaged197;
3392
5466
  mcp_server_name: string;
@@ -3396,6 +5470,18 @@ export declare function createAgent(transport: Transport): {
3396
5470
  evaluated_permission?: "allow" | "deny" | "ask";
3397
5471
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3398
5472
  session_thread_id?: null | string;
5473
+ permission_suggestions?: Array<{
5474
+ type: "add_rules";
5475
+ behavior: "allow";
5476
+ destination: "agent" | "session";
5477
+ rules: Array<{
5478
+ tool_name: string;
5479
+ rule_content: string;
5480
+ }>;
5481
+ }>;
5482
+ full_access_available?: boolean;
5483
+ user_once?: true;
5484
+ guarded_rule?: string;
3399
5485
  run_id: string | null;
3400
5486
  parent_tool_use_id?: string;
3401
5487
  _meta?: {
@@ -3409,17 +5495,6 @@ export declare function createAgent(transport: Transport): {
3409
5495
  };
3410
5496
  };
3411
5497
  source?: "app" | "codemode";
3412
- user_once?: true;
3413
- guarded_rule?: string;
3414
- permission_suggestions?: Array<{
3415
- type: "add_rules";
3416
- behavior: "allow";
3417
- destination: "agent" | "session";
3418
- rules: Array<{
3419
- tool_name: string;
3420
- rule_content: string;
3421
- }>;
3422
- }>;
3423
5498
  title?: string;
3424
5499
  input_titles?: {
3425
5500
  [key: string]: string;
@@ -3438,7 +5513,6 @@ export declare function createAgent(transport: Transport): {
3438
5513
  };
3439
5514
  source?: "app" | "codemode";
3440
5515
  } | {
3441
- full_access_available?: boolean;
3442
5516
  id: string;
3443
5517
  input: Types.AgentManaged206;
3444
5518
  name: string;
@@ -3447,9 +5521,6 @@ export declare function createAgent(transport: Transport): {
3447
5521
  evaluated_permission?: "allow" | "deny" | "ask";
3448
5522
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3449
5523
  session_thread_id?: null | string;
3450
- run_id: string | null;
3451
- user_once?: true;
3452
- guarded_rule?: string;
3453
5524
  permission_suggestions?: Array<{
3454
5525
  type: "add_rules";
3455
5526
  behavior: "allow";
@@ -3459,6 +5530,10 @@ export declare function createAgent(transport: Transport): {
3459
5530
  rule_content: string;
3460
5531
  }>;
3461
5532
  }>;
5533
+ full_access_available?: boolean;
5534
+ user_once?: true;
5535
+ guarded_rule?: string;
5536
+ run_id: string | null;
3462
5537
  } | {
3463
5538
  id: string;
3464
5539
  processed_at: string;
@@ -3479,9 +5554,6 @@ export declare function createAgent(transport: Transport): {
3479
5554
  type: "session.status_idle";
3480
5555
  run_id: string | null;
3481
5556
  } | 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 | {
3482
- permission_mode_version?: number;
3483
- previous_permission_mode?: string | null;
3484
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3485
5557
  id: string;
3486
5558
  processed_at: string;
3487
5559
  type: "session.updated";
@@ -3489,6 +5561,9 @@ export declare function createAgent(transport: Transport): {
3489
5561
  budget?: null | Types.AgentManaged76;
3490
5562
  metadata?: Types.AgentManaged246;
3491
5563
  title?: null | string;
5564
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5565
+ previous_permission_mode?: string | null;
5566
+ permission_mode_version?: number;
3492
5567
  model?: {
3493
5568
  id: string;
3494
5569
  };
@@ -3498,6 +5573,8 @@ export declare function createAgent(transport: Transport): {
3498
5573
  processed_at: string;
3499
5574
  forked_from_session_id: string;
3500
5575
  forked_from_message_id: string;
5576
+ message_id?: string;
5577
+ session_thread_id?: string | null;
3501
5578
  } | {
3502
5579
  id: string;
3503
5580
  type: "session.goal_changed";
@@ -3528,6 +5605,8 @@ export declare function createAgent(transport: Transport): {
3528
5605
  created_at: number;
3529
5606
  updated_at: number;
3530
5607
  } | null;
5608
+ message_id?: string;
5609
+ session_thread_id?: string | null;
3531
5610
  } | {
3532
5611
  id: string;
3533
5612
  type: "session.goal_verification";
@@ -3542,11 +5621,179 @@ export declare function createAgent(transport: Transport): {
3542
5621
  reason: string;
3543
5622
  next_action?: string;
3544
5623
  };
5624
+ message_id?: string;
5625
+ session_thread_id?: string | null;
3545
5626
  } | {
3546
5627
  id: string;
3547
5628
  type: "user.steer";
3548
5629
  event_id: string;
3549
5630
  processed_at: string;
5631
+ message_id?: string;
5632
+ session_thread_id?: string | null;
5633
+ } | {
5634
+ id: string;
5635
+ type: "cognition.surfaced";
5636
+ processed_at: string;
5637
+ worker_session_id: string;
5638
+ name: string;
5639
+ state: "done" | "waiting" | "failed" | "archived";
5640
+ experience_id?: string;
5641
+ result?: {
5642
+ message?: string;
5643
+ links?: Array<string>;
5644
+ files?: Array<{
5645
+ name?: string;
5646
+ href?: string;
5647
+ }>;
5648
+ held?: Array<{
5649
+ id?: string;
5650
+ summary?: string;
5651
+ effect?: string;
5652
+ method?: string;
5653
+ path?: string;
5654
+ expires_at?: string;
5655
+ }>;
5656
+ };
5657
+ } | {
5658
+ id: string;
5659
+ type: "cognition.intention_woken";
5660
+ processed_at: string;
5661
+ node_id: string;
5662
+ reason: "open_engram" | "assignment";
5663
+ } | {
5664
+ id: string;
5665
+ type: "agent.operation_approval_requested";
5666
+ processed_at: string;
5667
+ approval_id: string;
5668
+ operation_id: string;
5669
+ effect: "outward" | "irreversible";
5670
+ method: string;
5671
+ path: string;
5672
+ summary: string;
5673
+ expires_at: string;
5674
+ worker_session_id?: string;
5675
+ worker_name?: string;
5676
+ } | {
5677
+ id: string;
5678
+ type: "agent.operation_approval_decided";
5679
+ processed_at: string;
5680
+ approval_id: string;
5681
+ status: "approved" | "refused" | "expired";
5682
+ } | {
5683
+ id: string;
5684
+ type: "session.prompt_configuration_mismatch";
5685
+ processed_at: string;
5686
+ pinned_revision_id: string;
5687
+ current_revision_id: string;
5688
+ } | {
5689
+ id: string;
5690
+ type: "session.prompt_rev_changed";
5691
+ processed_at: string;
5692
+ config_revision_id: string;
5693
+ changed: Array<{
5694
+ name: string;
5695
+ rev: string | null;
5696
+ }>;
5697
+ } | {
5698
+ id: string;
5699
+ type: "session.computer_tier";
5700
+ processed_at: string;
5701
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
5702
+ tier: "light" | "heavy";
5703
+ duration_ms: number;
5704
+ error_code?: string;
5705
+ status?: {
5706
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
5707
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
5708
+ percent?: number;
5709
+ files_done?: number;
5710
+ files_total?: number;
5711
+ idle_release_at?: number;
5712
+ retry_at?: number;
5713
+ epoch?: number;
5714
+ heavy_instance?: string | null;
5715
+ heavy_paused?: boolean;
5716
+ };
5717
+ } | {
5718
+ id: string;
5719
+ type: "agent.artifact_delivered";
5720
+ processed_at: string;
5721
+ artifact: {
5722
+ object: "artifact";
5723
+ id: string;
5724
+ session_id: string;
5725
+ run_id: string | null;
5726
+ name: string;
5727
+ version: number;
5728
+ parts: Array<{
5729
+ [key: string]: unknown;
5730
+ }>;
5731
+ source_hrefs: Array<string>;
5732
+ create_time: string;
5733
+ update_time: string;
5734
+ };
5735
+ } | {
5736
+ id: string;
5737
+ type: "agent.image_generation";
5738
+ processed_at: string;
5739
+ tool_use_id: string;
5740
+ index: number;
5741
+ total: number;
5742
+ status: string;
5743
+ mode?: string;
5744
+ aspect?: string;
5745
+ prompt?: string;
5746
+ model?: string;
5747
+ file_id?: string;
5748
+ label?: string;
5749
+ width?: number;
5750
+ height?: number;
5751
+ revised_prompt?: string;
5752
+ source_labels?: Array<string>;
5753
+ caption?: string;
5754
+ slot?: number | null;
5755
+ replaces?: string;
5756
+ version?: number;
5757
+ failure?: {
5758
+ reason?: string;
5759
+ };
5760
+ } | {
5761
+ id: string;
5762
+ type: "session.image_labeled";
5763
+ processed_at: string;
5764
+ label: string;
5765
+ file_id: string;
5766
+ origin: "generated" | "uploaded";
5767
+ filename: string;
5768
+ tool_use_id?: string;
5769
+ version?: number;
5770
+ replaced_file_id?: string;
5771
+ } | {
5772
+ id: string;
5773
+ type: "session.image_set_planned";
5774
+ processed_at: string;
5775
+ tool_use_id: string;
5776
+ items: Array<unknown>;
5777
+ title?: string;
5778
+ } | {
5779
+ id: string;
5780
+ type: "session.project_attached";
5781
+ processed_at: string;
5782
+ project: {
5783
+ id: string;
5784
+ name: string;
5785
+ path: string;
5786
+ };
5787
+ message_id?: string;
5788
+ session_thread_id?: string | null;
5789
+ } | {
5790
+ id: string;
5791
+ type: "session.project_detached";
5792
+ processed_at: string;
5793
+ project_id: string;
5794
+ reason?: "project_removed";
5795
+ message_id?: string;
5796
+ session_thread_id?: string | null;
3550
5797
  }>;
3551
5798
  next_page: string | null;
3552
5799
  }>;
@@ -3579,6 +5826,7 @@ export declare function createAgent(transport: Transport): {
3579
5826
  speed?: "standard" | "fast";
3580
5827
  settings?: {
3581
5828
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5829
+ max_output_tokens?: number;
3582
5830
  };
3583
5831
  };
3584
5832
  multiagent: null | Types.AgentManaged171;
@@ -3605,6 +5853,11 @@ export declare function createAgent(transport: Transport): {
3605
5853
  vault_ids: Array<string>;
3606
5854
  deployment_id?: null | string;
3607
5855
  cwd: string;
5856
+ workspace?: {
5857
+ kind: "shared" | "isolated";
5858
+ path?: string;
5859
+ branch?: string;
5860
+ };
3608
5861
  computer_id?: string;
3609
5862
  model?: {
3610
5863
  id: string;
@@ -3669,6 +5922,29 @@ export declare function createAgent(transport: Transport): {
3669
5922
  next_page: null;
3670
5923
  }>;
3671
5924
  };
5925
+ uploads: {
5926
+ contentUrl: {
5927
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5928
+ url: string;
5929
+ expires_at: string;
5930
+ }>;
5931
+ };
5932
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5933
+ upload_id: string;
5934
+ expires_at: string;
5935
+ url: string;
5936
+ } | {
5937
+ upload_id: string;
5938
+ expires_at: string;
5939
+ part_size: number;
5940
+ parts: Array<{
5941
+ part_number: number;
5942
+ url: string;
5943
+ }>;
5944
+ complete_url: string;
5945
+ status_url: string;
5946
+ }>;
5947
+ };
3672
5948
  };
3673
5949
  export declare function createApplication(transport: Transport): {
3674
5950
  assets: {
@@ -3933,6 +6209,11 @@ export declare function createAutomation(transport: Transport): {
3933
6209
  };
3934
6210
  };
3935
6211
  };
6212
+ export declare function createBilling(transport: Transport): {
6213
+ prices: {
6214
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
6215
+ };
6216
+ };
3936
6217
  export declare function createBrowser(transport: Transport): {
3937
6218
  connect: {
3938
6219
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3956,6 +6237,49 @@ export declare function createBrowser(transport: Transport): {
3956
6237
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3957
6238
  };
3958
6239
  sessions: {
6240
+ actions: {
6241
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
6242
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
6243
+ tab: string;
6244
+ url: string;
6245
+ title: string;
6246
+ } | {
6247
+ type: "select";
6248
+ tab: string;
6249
+ values: Array<string>;
6250
+ } | {
6251
+ type: "tabs.list";
6252
+ tabs: Array<{
6253
+ id: string;
6254
+ url: string;
6255
+ title: string;
6256
+ active: boolean;
6257
+ }>;
6258
+ } | {
6259
+ type: "snapshot";
6260
+ tab: string;
6261
+ url: string;
6262
+ title: string;
6263
+ snapshot: string;
6264
+ refs: number;
6265
+ truncated: boolean;
6266
+ } | {
6267
+ type: "screenshot";
6268
+ tab: string;
6269
+ mediaType: "image/png";
6270
+ data: string;
6271
+ bytes: number;
6272
+ } | {
6273
+ type: "evaluate";
6274
+ tab: string;
6275
+ value: unknown;
6276
+ } | {
6277
+ type: "set_cookie";
6278
+ tab: string;
6279
+ name: string;
6280
+ domain: string;
6281
+ }>;
6282
+ };
3959
6283
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3960
6284
  events: {
3961
6285
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3963,6 +6287,7 @@ export declare function createBrowser(transport: Transport): {
3963
6287
  nextCursor: string | null;
3964
6288
  }>;
3965
6289
  };
6290
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3966
6291
  handoff: {
3967
6292
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3968
6293
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3973,6 +6298,7 @@ export declare function createBrowser(transport: Transport): {
3973
6298
  }>;
3974
6299
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3975
6300
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
6301
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3976
6302
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3977
6303
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3978
6304
  viewer: {
@@ -3990,10 +6316,18 @@ export declare function createCanvas(transport: Transport): {
3990
6316
  images: {
3991
6317
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
3992
6318
  };
6319
+ imports: {
6320
+ create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
6321
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
6322
+ };
6323
+ libraryVersions: {
6324
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
6325
+ };
3993
6326
  list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
3994
6327
  nodes: {
3995
6328
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
3996
6329
  };
6330
+ publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
3997
6331
  restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
3998
6332
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
3999
6333
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
@@ -4008,6 +6342,27 @@ export declare function createCanvas(transport: Transport): {
4008
6342
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
4009
6343
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4010
6344
  };
6345
+ libraries: {
6346
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
6347
+ };
6348
+ };
6349
+ export declare function createContent(transport: Transport): {
6350
+ contents: {
6351
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
6352
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
6353
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
6354
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
6355
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
6356
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
6357
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
6358
+ };
6359
+ playbackSessions: {
6360
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
6361
+ };
6362
+ versions: {
6363
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
6364
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
6365
+ };
4011
6366
  };
4012
6367
  export declare function createCrm(transport: Transport): {
4013
6368
  associations: {
@@ -4069,6 +6424,32 @@ export declare function createCrm(transport: Transport): {
4069
6424
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4070
6425
  };
4071
6426
  };
6427
+ export declare function createCustomer(transport: Transport): {
6428
+ accessTokens: {
6429
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
6430
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
6431
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
6432
+ };
6433
+ customers: {
6434
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
6435
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
6436
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
6437
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
6438
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
6439
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
6440
+ };
6441
+ grantCodes: {
6442
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
6443
+ };
6444
+ publishableKeys: {
6445
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
6446
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
6447
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
6448
+ };
6449
+ usage: {
6450
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
6451
+ };
6452
+ };
4072
6453
  export declare function createCut(transport: Transport): {
4073
6454
  exports: {
4074
6455
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4076,7 +6457,9 @@ export declare function createCut(transport: Transport): {
4076
6457
  };
4077
6458
  projects: {
4078
6459
  analysis: {
4079
- create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
6460
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
6461
+ kind: "cut-AnalysisResult";
6462
+ } & Types.CutAnalysisResult>;
4080
6463
  };
4081
6464
  bindings: {
4082
6465
  create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
@@ -4097,6 +6480,9 @@ export declare function createCut(transport: Transport): {
4097
6480
  media: {
4098
6481
  import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
4099
6482
  };
6483
+ renders: {
6484
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
6485
+ };
4100
6486
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
4101
6487
  retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
4102
6488
  retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
@@ -4107,21 +6493,49 @@ export declare function createCut(transport: Transport): {
4107
6493
  list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
4108
6494
  };
4109
6495
  };
6496
+ renders: {
6497
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
6498
+ };
4110
6499
  versions: {
4111
6500
  restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
4112
6501
  };
4113
6502
  };
4114
6503
  export declare function createDatabase(transport: Transport): {
4115
6504
  databases: {
6505
+ commands: {
6506
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
6507
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
6508
+ result: unknown;
6509
+ }>;
6510
+ };
6511
+ /** @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. */
4116
6512
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
6513
+ /** @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. */
4117
6514
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4118
6515
  events: {
6516
+ /** @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. */
4119
6517
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4120
6518
  data: Array<Types.DatabaseDatabaseEvent>;
4121
6519
  }>;
4122
6520
  };
6521
+ keys: {
6522
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
6523
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
6524
+ deleted: boolean;
6525
+ }>;
6526
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
6527
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6528
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
6529
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
6530
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
6531
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
6532
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
6533
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
6534
+ };
6535
+ /** @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. */
4123
6536
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4124
6537
  purge: {
6538
+ /** @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. */
4125
6539
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4126
6540
  id: string;
4127
6541
  object: "database";
@@ -4129,31 +6543,313 @@ export declare function createDatabase(transport: Transport): {
4129
6543
  }>;
4130
6544
  };
4131
6545
  rest: {
6546
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
4132
6547
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6548
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
4133
6549
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6550
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
4134
6551
  head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
6552
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
4135
6553
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6554
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
4136
6555
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4137
6556
  };
6557
+ /** @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. */
4138
6558
  restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6559
+ /** @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. */
4139
6560
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
4140
6561
  tables: {
4141
- create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
4142
- delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
6562
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
6563
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6564
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
6565
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
6566
+ deleted: true;
6567
+ }>;
6568
+ fields: {
6569
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
6570
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6571
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
6572
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6573
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
6574
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
6575
+ };
6576
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
6577
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
6578
+ data: Array<Types.DatabaseTable>;
6579
+ }>;
6580
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
6581
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6582
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
6583
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
6584
+ };
6585
+ /** @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. */
6586
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
6587
+ };
6588
+ kv: {
6589
+ commands: {
6590
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6591
+ result: unknown;
6592
+ }>;
6593
+ };
6594
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6595
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6596
+ events: {
6597
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6598
+ data: Array<Types.DatabaseDatabaseEvent>;
6599
+ }>;
6600
+ };
6601
+ keys: {
6602
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6603
+ deleted: boolean;
6604
+ }>;
6605
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6606
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6607
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6608
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6609
+ };
6610
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6611
+ purge: {
6612
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6613
+ id: string;
6614
+ object: "database";
6615
+ purged: true;
6616
+ }>;
6617
+ };
6618
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6619
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6620
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6621
+ };
6622
+ table: {
6623
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6624
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6625
+ events: {
6626
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6627
+ data: Array<Types.DatabaseDatabaseEvent>;
6628
+ }>;
6629
+ };
6630
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6631
+ purge: {
6632
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6633
+ id: string;
6634
+ object: "database";
6635
+ purged: true;
6636
+ }>;
6637
+ };
6638
+ rest: {
6639
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6640
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6641
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6642
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6643
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6644
+ };
6645
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6646
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6647
+ tables: {
6648
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6649
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
4143
6650
  deleted: true;
4144
6651
  }>;
4145
6652
  fields: {
4146
- create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
4147
- delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
4148
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
6653
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6654
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6655
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
4149
6656
  };
4150
- list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
6657
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
4151
6658
  data: Array<Types.DatabaseTable>;
4152
6659
  }>;
4153
- retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
4154
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
6660
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6661
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6662
+ };
6663
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6664
+ };
6665
+ };
6666
+ export declare function createDevops(transport: Transport): {
6667
+ changes: {
6668
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6669
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
6670
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6671
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
6672
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6673
+ };
6674
+ connections: {
6675
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6676
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6677
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6678
+ repositories: {
6679
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6680
+ };
6681
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6682
+ };
6683
+ environments: {
6684
+ checkpoints: {
6685
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6686
+ };
6687
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6688
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6689
+ };
6690
+ flags: {
6691
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6692
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6693
+ environments: {
6694
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6695
+ };
6696
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6697
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6698
+ };
6699
+ progressiveRollouts: {
6700
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6701
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6702
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6703
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6704
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6705
+ };
6706
+ projects: {
6707
+ changes: {
6708
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6709
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6710
+ };
6711
+ cleanups: {
6712
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6713
+ };
6714
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6715
+ defaultBranch: {
6716
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6717
+ };
6718
+ environments: {
6719
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6720
+ targets: {
6721
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6722
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6723
+ state: {
6724
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6725
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6726
+ lock: {
6727
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6728
+ };
6729
+ };
6730
+ };
6731
+ };
6732
+ flags: {
6733
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6734
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6735
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6736
+ };
6737
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6738
+ promotions: {
6739
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6740
+ };
6741
+ pullRequests: {
6742
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6743
+ };
6744
+ releases: {
6745
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6746
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6747
+ };
6748
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6749
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6750
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6751
+ segments: {
6752
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6753
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6754
+ };
6755
+ targets: {
6756
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6757
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6758
+ };
6759
+ testCases: {
6760
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6761
+ };
6762
+ testPlans: {
6763
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6764
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6765
+ };
6766
+ testReports: {
6767
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6768
+ };
6769
+ testRuns: {
6770
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6771
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6772
+ };
6773
+ testSuites: {
6774
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6775
+ };
6776
+ units: {
6777
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6778
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6779
+ };
6780
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6781
+ workspaces: {
6782
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6783
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6784
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6785
+ };
6786
+ };
6787
+ promotions: {
6788
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6789
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6790
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
6791
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6792
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6793
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6794
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6795
+ rollouts: {
6796
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6797
+ };
6798
+ };
6799
+ pullRequests: {
6800
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6801
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6802
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6803
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6804
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6805
+ reviews: {
6806
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6807
+ };
6808
+ };
6809
+ releases: {
6810
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6811
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6812
+ };
6813
+ rollouts: {
6814
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6815
+ };
6816
+ segments: {
6817
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6818
+ };
6819
+ testCases: {
6820
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6821
+ };
6822
+ testPlans: {
6823
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6824
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6825
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6826
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6827
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6828
+ };
6829
+ testRuns: {
6830
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6831
+ executions: {
6832
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6833
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6834
+ };
6835
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6836
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6837
+ };
6838
+ testSuites: {
6839
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6840
+ };
6841
+ units: {
6842
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6843
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6844
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6845
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6846
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6847
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6848
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6849
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6850
+ transitions: {
6851
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
4155
6852
  };
4156
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4157
6853
  };
4158
6854
  };
4159
6855
  export declare function createFile(transport: Transport): {
@@ -4183,6 +6879,7 @@ export declare function createFile(transport: Transport): {
4183
6879
  parts: {
4184
6880
  create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4185
6881
  };
6882
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4186
6883
  };
4187
6884
  };
4188
6885
  export declare function createKnowledge(transport: Transport): {
@@ -4230,14 +6927,33 @@ export declare function createKnowledge(transport: Transport): {
4230
6927
  };
4231
6928
  };
4232
6929
  export declare function createMedia(transport: Transport): {
6930
+ assets: {
6931
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6932
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6933
+ };
6934
+ generation: {
6935
+ capabilities: {
6936
+ list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
6937
+ };
6938
+ };
6939
+ images: {
6940
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6941
+ };
4233
6942
  libraries: {
4234
6943
  assets: {
6944
+ align: {
6945
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6946
+ };
4235
6947
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4236
6948
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4237
6949
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4238
6950
  frames: {
4239
6951
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4240
6952
  };
6953
+ hls: {
6954
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6955
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6956
+ };
4241
6957
  import: {
4242
6958
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4243
6959
  };
@@ -4250,6 +6966,9 @@ export declare function createMedia(transport: Transport): {
4250
6966
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4251
6967
  };
4252
6968
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6969
+ versions: {
6970
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6971
+ };
4253
6972
  };
4254
6973
  batches: {
4255
6974
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4267,14 +6986,22 @@ export declare function createMedia(transport: Transport): {
4267
6986
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4268
6987
  };
4269
6988
  jobs: {
6989
+ cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
6990
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4270
6991
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4271
6992
  };
4272
6993
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6994
+ materials: {
6995
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6996
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6997
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6998
+ };
4273
6999
  purge: {
4274
7000
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4275
7001
  };
4276
7002
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4277
7003
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
7004
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4278
7005
  search: {
4279
7006
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4280
7007
  expression: {
@@ -4287,11 +7014,43 @@ export declare function createMedia(transport: Transport): {
4287
7014
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4288
7015
  };
4289
7016
  };
7017
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
4290
7018
  understandings: {
4291
7019
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4292
7020
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4293
7021
  };
4294
7022
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
7023
+ voices: {
7024
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
7025
+ designs: {
7026
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
7027
+ };
7028
+ };
7029
+ };
7030
+ speech: {
7031
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
7032
+ };
7033
+ streams: {
7034
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
7035
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
7036
+ disable: {
7037
+ create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
7038
+ };
7039
+ enable: {
7040
+ create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
7041
+ };
7042
+ events: {
7043
+ list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
7044
+ };
7045
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
7046
+ resetToken: {
7047
+ create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
7048
+ };
7049
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
7050
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
7051
+ };
7052
+ videos: {
7053
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4295
7054
  };
4296
7055
  };
4297
7056
  export declare function createMeta(transport: Transport): {
@@ -4492,7 +7251,35 @@ export declare function createModel(transport: Transport): {
4492
7251
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4493
7252
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4494
7253
  };
7254
+ modelAccess: {
7255
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
7256
+ items: Array<{
7257
+ model: string;
7258
+ access_required: boolean;
7259
+ granted: boolean;
7260
+ granted_by: string | null;
7261
+ granted_at: string | null;
7262
+ sell_input_price: number | null;
7263
+ sell_output_price: number | null;
7264
+ }>;
7265
+ }>;
7266
+ };
4495
7267
  models: {
7268
+ access: {
7269
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
7270
+ model: string;
7271
+ revoked: true;
7272
+ }>;
7273
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
7274
+ model: string;
7275
+ access_required: boolean;
7276
+ granted: true;
7277
+ granted_by: string;
7278
+ granted_at: string;
7279
+ sell_input_price: number | null;
7280
+ sell_output_price: number | null;
7281
+ }>;
7282
+ };
4496
7283
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4497
7284
  object: "list";
4498
7285
  data: Array<{
@@ -4507,6 +7294,7 @@ export declare function createModel(transport: Transport): {
4507
7294
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4508
7295
  supported_apis: Array<string>;
4509
7296
  tags: Array<string>;
7297
+ access_required: boolean;
4510
7298
  architecture: {
4511
7299
  modality: string;
4512
7300
  input_modalities: Array<string>;
@@ -4553,6 +7341,7 @@ export declare function createModel(transport: Transport): {
4553
7341
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4554
7342
  supported_apis: Array<string>;
4555
7343
  tags: Array<string>;
7344
+ access_required: boolean;
4556
7345
  architecture: {
4557
7346
  modality: string;
4558
7347
  input_modalities: Array<string>;
@@ -4779,6 +7568,7 @@ export declare function createModel(transport: Transport): {
4779
7568
  unsigned_urls: Array<string>;
4780
7569
  usage?: {
4781
7570
  cost: number;
7571
+ billed_seconds?: number;
4782
7572
  };
4783
7573
  }>;
4784
7574
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4809,6 +7599,7 @@ export declare function createModel(transport: Transport): {
4809
7599
  unsigned_urls: Array<string>;
4810
7600
  usage?: {
4811
7601
  cost: number;
7602
+ billed_seconds?: number;
4812
7603
  };
4813
7604
  }>;
4814
7605
  has_more: boolean;
@@ -4837,11 +7628,43 @@ export declare function createModel(transport: Transport): {
4837
7628
  unsigned_urls: Array<string>;
4838
7629
  usage?: {
4839
7630
  cost: number;
7631
+ billed_seconds?: number;
4840
7632
  };
4841
7633
  }>;
4842
7634
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
4843
7635
  };
4844
7636
  };
7637
+ export declare function createOntology(transport: Transport): {
7638
+ changesets: {
7639
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
7640
+ };
7641
+ nodes: {
7642
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
7643
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
7644
+ merge: {
7645
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
7646
+ };
7647
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
7648
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
7649
+ update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
7650
+ };
7651
+ relations: {
7652
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
7653
+ invalidate: {
7654
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
7655
+ };
7656
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
7657
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
7658
+ };
7659
+ search: {
7660
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
7661
+ };
7662
+ types: {
7663
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
7664
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
7665
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
7666
+ };
7667
+ };
4845
7668
  export declare function createOrganization(transport: Transport): {
4846
7669
  charges: {
4847
7670
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
@@ -5099,6 +7922,84 @@ export declare function createOrganization(transport: Transport): {
5099
7922
  next_page: string | null;
5100
7923
  }>;
5101
7924
  };
7925
+ notifications: {
7926
+ deliveries: {
7927
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7928
+ [key: string]: unknown;
7929
+ }>;
7930
+ };
7931
+ letters: {
7932
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7933
+ unread: number;
7934
+ }>;
7935
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7936
+ letters: Array<{
7937
+ id: string;
7938
+ sender: string;
7939
+ summary: string;
7940
+ body: string;
7941
+ thread: string;
7942
+ kind: "notice" | "mention" | "decision";
7943
+ source: {
7944
+ [key: string]: unknown;
7945
+ };
7946
+ read: boolean;
7947
+ deliveredAt: string;
7948
+ createTime: string;
7949
+ reason: string;
7950
+ archived: boolean;
7951
+ }>;
7952
+ nextCursor: string;
7953
+ unread: number;
7954
+ }>;
7955
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7956
+ unread: number;
7957
+ }>;
7958
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7959
+ unread: number;
7960
+ }>;
7961
+ };
7962
+ organizationDefault: {
7963
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7964
+ [key: string]: unknown;
7965
+ }>;
7966
+ };
7967
+ preferences: {
7968
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7969
+ [key: string]: unknown;
7970
+ }>;
7971
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7972
+ name: string;
7973
+ workflows: {
7974
+ [key: string]: unknown;
7975
+ };
7976
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7977
+ updateTime?: string;
7978
+ catalog: Array<{
7979
+ workflow: string;
7980
+ group: string;
7981
+ title: string;
7982
+ description?: string;
7983
+ severity: "high" | "medium" | "low" | "none";
7984
+ critical: boolean;
7985
+ channels: Array<string>;
7986
+ }>;
7987
+ organization: {
7988
+ [key: string]: unknown;
7989
+ };
7990
+ effective: {
7991
+ [key: string]: unknown;
7992
+ };
7993
+ }>;
7994
+ };
7995
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
7996
+ unreadCount: number;
7997
+ unseenCount: number;
7998
+ }>;
7999
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
8000
+ [key: string]: unknown;
8001
+ }>;
8002
+ };
5102
8003
  usage: {
5103
8004
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5104
8005
  object: "page";
@@ -5122,8 +8023,163 @@ export declare function createOrganization(transport: Transport): {
5122
8023
  }>;
5123
8024
  };
5124
8025
  };
8026
+ export declare function createRegistry(transport: Transport): {
8027
+ installations: {
8028
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
8029
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
8030
+ };
8031
+ packages: {
8032
+ git: {
8033
+ commits: {
8034
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
8035
+ };
8036
+ files: {
8037
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
8038
+ };
8039
+ refs: {
8040
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
8041
+ };
8042
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
8043
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
8044
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
8045
+ trees: {
8046
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
8047
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
8048
+ };
8049
+ };
8050
+ gitCredential: {
8051
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
8052
+ };
8053
+ installations: {
8054
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
8055
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
8056
+ };
8057
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
8058
+ versions: {
8059
+ contents: {
8060
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
8061
+ };
8062
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
8063
+ files: {
8064
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
8065
+ };
8066
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
8067
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
8068
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
8069
+ };
8070
+ };
8071
+ repositories: {
8072
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
8073
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
8074
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
8075
+ packages: {
8076
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
8077
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
8078
+ };
8079
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
8080
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
8081
+ };
8082
+ };
5125
8083
  export declare function createSandbox(transport: Transport): {
8084
+ byod: {
8085
+ devices: {
8086
+ disconnect: {
8087
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
8088
+ id: string;
8089
+ object: "byod_device";
8090
+ disconnected: true;
8091
+ }>;
8092
+ };
8093
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
8094
+ data: Array<{
8095
+ object: "byod_device";
8096
+ id: string;
8097
+ platform: "android" | "macos" | "linux";
8098
+ name: string;
8099
+ model: string;
8100
+ os_version: string;
8101
+ online: boolean;
8102
+ last_seen_at: string | null;
8103
+ created_at: string;
8104
+ capabilities: Array<"display" | "agent">;
8105
+ agent_dirs: Array<string>;
8106
+ allow_bypass: boolean;
8107
+ }>;
8108
+ }>;
8109
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
8110
+ object: "byod_device";
8111
+ id: string;
8112
+ platform: "android" | "macos" | "linux";
8113
+ name: string;
8114
+ model: string;
8115
+ os_version: string;
8116
+ online: boolean;
8117
+ last_seen_at: string | null;
8118
+ created_at: string;
8119
+ capabilities: Array<"display" | "agent">;
8120
+ agent_dirs: Array<string>;
8121
+ allow_bypass: boolean;
8122
+ }>;
8123
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
8124
+ object: "byod_device";
8125
+ id: string;
8126
+ platform: "android" | "macos" | "linux";
8127
+ name: string;
8128
+ model: string;
8129
+ os_version: string;
8130
+ online: boolean;
8131
+ last_seen_at: string | null;
8132
+ created_at: string;
8133
+ capabilities: Array<"display" | "agent">;
8134
+ agent_dirs: Array<string>;
8135
+ allow_bypass: boolean;
8136
+ }>;
8137
+ };
8138
+ pairings: {
8139
+ claim: {
8140
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
8141
+ device_id: string;
8142
+ credential: string;
8143
+ socket_url: string;
8144
+ }>;
8145
+ };
8146
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
8147
+ code: string;
8148
+ expires_at: string;
8149
+ qr: string;
8150
+ }>;
8151
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
8152
+ organization_name: string;
8153
+ expires_at: string;
8154
+ }>;
8155
+ };
8156
+ };
8157
+ events: {
8158
+ sandboxes: {
8159
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
8160
+ };
8161
+ };
5126
8162
  sandboxes: {
8163
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
8164
+ type: "snapshot";
8165
+ snapshot: string;
8166
+ refs: number;
8167
+ truncated: boolean;
8168
+ package: string;
8169
+ } | {
8170
+ type: "screenshot";
8171
+ mediaType: string;
8172
+ data: string;
8173
+ width: number;
8174
+ height: number;
8175
+ bytes: number;
8176
+ } | {
8177
+ type: "ok";
8178
+ ms?: number;
8179
+ } | {
8180
+ type: "wait";
8181
+ ms: number;
8182
+ }>;
5127
8183
  commands: {
5128
8184
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5129
8185
  stdout: string;
@@ -5201,6 +8257,20 @@ export declare function createSandbox(transport: Transport): {
5201
8257
  snapshots: {
5202
8258
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5203
8259
  };
8260
+ tasks: {
8261
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
8262
+ taskId: string;
8263
+ instanceId: string;
8264
+ startedAt: number;
8265
+ }>;
8266
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
8267
+ text: string;
8268
+ nextOffset: number;
8269
+ done: boolean;
8270
+ exitCode: number | null;
8271
+ size: number | null;
8272
+ }>;
8273
+ };
5204
8274
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5205
8275
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5206
8276
  name: string;
@@ -5339,6 +8409,131 @@ export declare function createSearch(transport: Transport): {
5339
8409
  }>;
5340
8410
  };
5341
8411
  };
8412
+ export declare function createShare(transport: Transport): {
8413
+ permissions: {
8414
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
8415
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
8416
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
8417
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
8418
+ };
8419
+ };
8420
+ export declare function createStudio(transport: Transport): {
8421
+ codexes: {
8422
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
8423
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
8424
+ entries: {
8425
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
8426
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
8427
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
8428
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
8429
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
8430
+ };
8431
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
8432
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
8433
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
8434
+ };
8435
+ genres: {
8436
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
8437
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
8438
+ };
8439
+ platforms: {
8440
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
8441
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
8442
+ };
8443
+ styles: {
8444
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
8445
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
8446
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
8447
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
8448
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
8449
+ };
8450
+ templates: {
8451
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
8452
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
8453
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
8454
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
8455
+ };
8456
+ themes: {
8457
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
8458
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
8459
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
8460
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
8461
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
8462
+ };
8463
+ works: {
8464
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
8465
+ drafts: {
8466
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
8467
+ foreshadows: {
8468
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
8469
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
8470
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
8471
+ };
8472
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
8473
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
8474
+ renditions: {
8475
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
8476
+ };
8477
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
8478
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
8479
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
8480
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
8481
+ status: {
8482
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
8483
+ };
8484
+ units: {
8485
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
8486
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
8487
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
8488
+ };
8489
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
8490
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
8491
+ };
8492
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
8493
+ progressions: {
8494
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
8495
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
8496
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
8497
+ };
8498
+ renditions: {
8499
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
8500
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
8501
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
8502
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
8503
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
8504
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
8505
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
8506
+ };
8507
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
8508
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
8509
+ reviewSettings: {
8510
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
8511
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
8512
+ };
8513
+ reviewers: {
8514
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
8515
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
8516
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
8517
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
8518
+ };
8519
+ reviews: {
8520
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
8521
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
8522
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
8523
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
8524
+ };
8525
+ units: {
8526
+ blocks: {
8527
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
8528
+ };
8529
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
8530
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
8531
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
8532
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
8533
+ };
8534
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
8535
+ };
8536
+ };
5342
8537
  export declare function createTicket(transport: Transport): {
5343
8538
  activity: {
5344
8539
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5383,6 +8578,7 @@ export declare function createTicket(transport: Transport): {
5383
8578
  repositories: Array<Types.TicketRepository>;
5384
8579
  next_page_token: string;
5385
8580
  }>;
8581
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5386
8582
  };
5387
8583
  tickets: {
5388
8584
  comments: {
@@ -5508,23 +8704,155 @@ export declare function createVault(transport: Transport): {
5508
8704
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
5509
8705
  };
5510
8706
  };
8707
+ export declare function createWorkforce(transport: Transport): {
8708
+ actors: {
8709
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8710
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8711
+ };
8712
+ assignments: {
8713
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8714
+ makePrimary: {
8715
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8716
+ };
8717
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8718
+ terminate: {
8719
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8720
+ };
8721
+ transfer: {
8722
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8723
+ };
8724
+ };
8725
+ departments: {
8726
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8727
+ dissolve: {
8728
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8729
+ };
8730
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8731
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8732
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8733
+ /** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
8734
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
8735
+ };
8736
+ effectiveSpec: {
8737
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8738
+ };
8739
+ jobs: {
8740
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8741
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8742
+ retire: {
8743
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8744
+ };
8745
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8746
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8747
+ };
8748
+ keyResults: {
8749
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8750
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8751
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8752
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8753
+ };
8754
+ ladders: {
8755
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8756
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8757
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8758
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8759
+ };
8760
+ objectives: {
8761
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8762
+ grade: {
8763
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8764
+ };
8765
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8766
+ parents: {
8767
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8768
+ };
8769
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8770
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8771
+ };
8772
+ periods: {
8773
+ close: {
8774
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8775
+ };
8776
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8777
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8778
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8779
+ };
8780
+ positions: {
8781
+ close: {
8782
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8783
+ };
8784
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8785
+ designateHead: {
8786
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8787
+ };
8788
+ freeze: {
8789
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8790
+ };
8791
+ hire: {
8792
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8793
+ };
8794
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8795
+ replaceHolder: {
8796
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8797
+ };
8798
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8799
+ unfreeze: {
8800
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8801
+ };
8802
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8803
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8804
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8805
+ };
8806
+ reconcile: {
8807
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8808
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8809
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8810
+ run: {
8811
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8812
+ };
8813
+ status: {
8814
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8815
+ };
8816
+ };
8817
+ specSchema: {
8818
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8819
+ };
8820
+ specs: {
8821
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8822
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8823
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8824
+ revisions: {
8825
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8826
+ };
8827
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8828
+ };
8829
+ };
5511
8830
  export declare const resourceFactories: {
5512
8831
  agent: typeof createAgent;
5513
8832
  application: typeof createApplication;
5514
8833
  automation: typeof createAutomation;
8834
+ billing: typeof createBilling;
5515
8835
  browser: typeof createBrowser;
5516
8836
  canvas: typeof createCanvas;
8837
+ content: typeof createContent;
5517
8838
  crm: typeof createCrm;
8839
+ customer: typeof createCustomer;
5518
8840
  cut: typeof createCut;
5519
8841
  database: typeof createDatabase;
8842
+ devops: typeof createDevops;
5520
8843
  file: typeof createFile;
5521
8844
  knowledge: typeof createKnowledge;
5522
8845
  media: typeof createMedia;
5523
8846
  meta: typeof createMeta;
5524
8847
  model: typeof createModel;
8848
+ ontology: typeof createOntology;
5525
8849
  organization: typeof createOrganization;
8850
+ registry: typeof createRegistry;
5526
8851
  sandbox: typeof createSandbox;
5527
8852
  search: typeof createSearch;
8853
+ share: typeof createShare;
8854
+ studio: typeof createStudio;
5528
8855
  ticket: typeof createTicket;
5529
8856
  vault: typeof createVault;
8857
+ workforce: typeof createWorkforce;
5530
8858
  };