@deepraxis/sdk 0.1.1-dev.4421e6c → 0.1.1-dev.447e6b9

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 +1535 -201
  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 +3767 -1161
  18. package/dist/generated/sdk.gen.js +10262 -2875
  19. package/dist/generated/types.gen.d.ts +94916 -52094
  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 +24 -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 +22931 -7485
  35. package/dist/resources.generated.d.ts +2985 -230
  36. package/dist/resources.generated.js +986 -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;
@@ -38,21 +41,21 @@ export declare function createAgent(transport: Transport): {
38
41
  } | null;
39
42
  note: string | null;
40
43
  bindings: Array<{
41
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
44
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
42
45
  id: string;
43
46
  access: "read_only" | "read_write" | "invoke";
47
+ customer_access?: "read_only" | "read_write" | "invoke";
44
48
  instructions?: string;
45
49
  readonly verified?: boolean;
46
50
  enabled?: boolean;
47
51
  } | {
48
- type: "search" | "browser";
52
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
53
  readonly verified?: boolean;
50
54
  enabled?: boolean;
51
55
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
56
+ kind: "general" | "service" | "assume";
53
57
  computer_id?: string;
54
58
  subagent_model?: string | null;
55
- image_model?: string | null;
56
59
  subagents?: Array<{
57
60
  name: string;
58
61
  description: string;
@@ -143,6 +146,7 @@ export declare function createAgent(transport: Transport): {
143
146
  allowManagedHooksOnly?: boolean;
144
147
  allowManagedMcpServersOnly?: boolean;
145
148
  allowManagedPermissionRulesOnly?: boolean;
149
+ idleCompaction?: boolean;
146
150
  autoMemoryEnabled?: boolean;
147
151
  disabled?: {
148
152
  subagents?: Array<string>;
@@ -151,7 +155,6 @@ export declare function createAgent(transport: Transport): {
151
155
  mcpServers?: Array<string>;
152
156
  hooks?: Array<string>;
153
157
  };
154
- idleCompaction?: boolean;
155
158
  outputStyle?: string;
156
159
  } | null;
157
160
  models?: {
@@ -159,6 +162,7 @@ export declare function createAgent(transport: Transport): {
159
162
  };
160
163
  avatar: string | null;
161
164
  creation_source: string | null;
165
+ managed_by: string | null;
162
166
  identity_number: string | null;
163
167
  environment_id?: string | null;
164
168
  vault_ids?: Array<string>;
@@ -170,6 +174,22 @@ export declare function createAgent(transport: Transport): {
170
174
  keep_coding_instructions?: boolean;
171
175
  }> | null;
172
176
  }>;
177
+ consolidations: {
178
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
179
+ id: string;
180
+ session_id: string;
181
+ status: "queued" | "running" | "done" | "failed";
182
+ engram_id?: string;
183
+ error?: string;
184
+ }>;
185
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
186
+ id: string;
187
+ session_id: string;
188
+ status: "queued" | "running" | "done" | "failed";
189
+ engram_id?: string;
190
+ error?: string;
191
+ }>;
192
+ };
173
193
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
194
  id: string;
175
195
  archived_at: null | string;
@@ -184,6 +204,7 @@ export declare function createAgent(transport: Transport): {
184
204
  speed?: "standard" | "fast";
185
205
  settings?: {
186
206
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
207
+ max_output_tokens?: number;
187
208
  };
188
209
  };
189
210
  multiagent?: null | Types.AgentManaged39;
@@ -205,21 +226,28 @@ export declare function createAgent(transport: Transport): {
205
226
  } | null;
206
227
  note: string | null;
207
228
  bindings: Array<{
208
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
229
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
209
230
  id: string;
210
231
  access: "read_only" | "read_write" | "invoke";
232
+ customer_access?: "read_only" | "read_write" | "invoke";
211
233
  instructions?: string;
212
234
  readonly verified?: boolean;
213
235
  enabled?: boolean;
214
236
  } | {
215
- type: "search" | "browser";
237
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
238
  readonly verified?: boolean;
217
239
  enabled?: boolean;
218
240
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
241
+ kind: "general" | "service" | "assume";
242
+ computers?: {
243
+ default: string;
244
+ allowed: Array<{
245
+ template: string;
246
+ name: string;
247
+ }>;
248
+ };
220
249
  computer_id?: string;
221
250
  subagent_model?: string | null;
222
- image_model?: string | null;
223
251
  subagents?: Array<{
224
252
  name: string;
225
253
  description: string;
@@ -310,6 +338,7 @@ export declare function createAgent(transport: Transport): {
310
338
  allowManagedHooksOnly?: boolean;
311
339
  allowManagedMcpServersOnly?: boolean;
312
340
  allowManagedPermissionRulesOnly?: boolean;
341
+ idleCompaction?: boolean;
313
342
  autoMemoryEnabled?: boolean;
314
343
  disabled?: {
315
344
  subagents?: Array<string>;
@@ -318,7 +347,6 @@ export declare function createAgent(transport: Transport): {
318
347
  mcpServers?: Array<string>;
319
348
  hooks?: Array<string>;
320
349
  };
321
- idleCompaction?: boolean;
322
350
  outputStyle?: string;
323
351
  } | null;
324
352
  models?: {
@@ -326,6 +354,7 @@ export declare function createAgent(transport: Transport): {
326
354
  };
327
355
  avatar: string | null;
328
356
  creation_source: string | null;
357
+ managed_by: string | null;
329
358
  identity_number: string | null;
330
359
  environment_id?: string | null;
331
360
  vault_ids?: Array<string>;
@@ -338,42 +367,6 @@ export declare function createAgent(transport: Transport): {
338
367
  }> | null;
339
368
  }>;
340
369
  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
370
  block: {
378
371
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
372
  id: string;
@@ -465,6 +458,245 @@ export declare function createAgent(transport: Transport): {
465
458
  }>;
466
459
  };
467
460
  };
461
+ events: {
462
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
463
+ data: Array<{
464
+ id: string;
465
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
466
+ type: "user.message";
467
+ processed_at?: null | string;
468
+ praxis_context?: {
469
+ items: Array<{
470
+ name: string;
471
+ value: string;
472
+ }>;
473
+ };
474
+ message_id?: string;
475
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
476
+ id: string;
477
+ content: Array<{
478
+ text: string;
479
+ type: "text";
480
+ citations?: Array<{
481
+ type: "search_result_location";
482
+ source: string;
483
+ title: string;
484
+ cited_text: string;
485
+ search_result_index: number;
486
+ start_block_index: number;
487
+ end_block_index: number;
488
+ }>;
489
+ } | Types.AgentManaged70>;
490
+ processed_at: string;
491
+ type: "agent.message";
492
+ run_id: string | null;
493
+ message_id?: string;
494
+ } | {
495
+ id: string;
496
+ processed_at: string;
497
+ type: "agent.thinking";
498
+ run_id: string | null;
499
+ message_id?: string;
500
+ } | {
501
+ id: string;
502
+ input: Types.AgentManaged197;
503
+ mcp_server_name: string;
504
+ name: string;
505
+ processed_at: string;
506
+ type: "agent.mcp_tool_use";
507
+ evaluated_permission?: "allow" | "deny" | "ask";
508
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
509
+ session_thread_id?: null | string;
510
+ permission_suggestions?: Array<{
511
+ type: "add_rules";
512
+ behavior: "allow";
513
+ destination: "agent" | "session";
514
+ rules: Array<{
515
+ tool_name: string;
516
+ rule_content: string;
517
+ }>;
518
+ }>;
519
+ full_access_available?: boolean;
520
+ user_once?: true;
521
+ guarded_rule?: string;
522
+ run_id: string | null;
523
+ _meta?: {
524
+ ui?: {
525
+ resourceUri?: string;
526
+ visibility?: Array<string>;
527
+ [key: string]: unknown;
528
+ };
529
+ "openai/ui"?: {
530
+ [key: string]: unknown;
531
+ };
532
+ };
533
+ source?: "app" | "codemode";
534
+ parent_tool_use_id?: string;
535
+ title?: string;
536
+ input_titles?: {
537
+ [key: string]: string;
538
+ };
539
+ } | {
540
+ id: string;
541
+ mcp_tool_use_id: string;
542
+ processed_at: string;
543
+ type: "agent.mcp_tool_result";
544
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
545
+ is_error?: null | false | true;
546
+ run_id: string | null;
547
+ structured_content?: unknown;
548
+ _meta?: {
549
+ [key: string]: unknown;
550
+ };
551
+ source?: "app" | "codemode";
552
+ } | {
553
+ id: string;
554
+ input: Types.AgentManaged206;
555
+ name: string;
556
+ processed_at: string;
557
+ type: "agent.tool_use";
558
+ evaluated_permission?: "allow" | "deny" | "ask";
559
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
560
+ session_thread_id?: null | string;
561
+ permission_suggestions?: Array<{
562
+ type: "add_rules";
563
+ behavior: "allow";
564
+ destination: "agent" | "session";
565
+ rules: Array<{
566
+ tool_name: string;
567
+ rule_content: string;
568
+ }>;
569
+ }>;
570
+ full_access_available?: boolean;
571
+ user_once?: true;
572
+ guarded_rule?: string;
573
+ run_id: string | null;
574
+ } | {
575
+ id: string;
576
+ processed_at: string;
577
+ tool_use_id: string;
578
+ type: "agent.tool_result";
579
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
580
+ is_error?: null | false | true;
581
+ run_id: string | null;
582
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
583
+ id: string;
584
+ processed_at: string;
585
+ type: "session.status_running";
586
+ run_id: string | null;
587
+ } | {
588
+ id: string;
589
+ processed_at: string;
590
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
591
+ type: "session.status_idle";
592
+ run_id: string | null;
593
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
594
+ id: string;
595
+ processed_at: string;
596
+ type: "session.updated";
597
+ agent?: null | Types.AgentManaged170;
598
+ budget?: null | Types.AgentManaged76;
599
+ metadata?: Types.AgentManaged246;
600
+ title?: null | string;
601
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
602
+ previous_permission_mode?: string | null;
603
+ permission_mode_version?: number;
604
+ model?: {
605
+ id: string;
606
+ };
607
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
608
+ id: string;
609
+ type: "session.forked";
610
+ processed_at: string;
611
+ forked_from_session_id: string;
612
+ forked_from_message_id: string;
613
+ } | {
614
+ id: string;
615
+ type: "session.goal_changed";
616
+ processed_at: string;
617
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
618
+ source: "command" | "runtime";
619
+ goal: {
620
+ goal_id: string;
621
+ objective: string;
622
+ summary_title: string | null;
623
+ status: "active" | "paused" | "budget_limited" | "complete";
624
+ token_budget: number | null;
625
+ tokens_used: number;
626
+ time_used_seconds: number;
627
+ iteration: number;
628
+ created_at: number;
629
+ updated_at: number;
630
+ } | null;
631
+ previous_goal: {
632
+ goal_id: string;
633
+ objective: string;
634
+ summary_title: string | null;
635
+ status: "active" | "paused" | "budget_limited" | "complete";
636
+ token_budget: number | null;
637
+ tokens_used: number;
638
+ time_used_seconds: number;
639
+ iteration: number;
640
+ created_at: number;
641
+ updated_at: number;
642
+ } | null;
643
+ } | {
644
+ id: string;
645
+ type: "session.goal_verification";
646
+ processed_at: string;
647
+ status: "started" | "completed" | "failed_closed" | "cancelled";
648
+ goal_id: string;
649
+ goal_iteration: number;
650
+ verification_id: string;
651
+ anchor_message_id: string | null;
652
+ verification?: {
653
+ passed: boolean;
654
+ reason: string;
655
+ next_action?: string;
656
+ };
657
+ } | {
658
+ id: string;
659
+ type: "user.steer";
660
+ event_id: string;
661
+ processed_at: string;
662
+ }>;
663
+ next_page: string | null;
664
+ }>;
665
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
666
+ data?: Array<{
667
+ id: string;
668
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
669
+ type: "user.message";
670
+ processed_at?: null | string;
671
+ praxis_context?: {
672
+ items: Array<{
673
+ name: string;
674
+ value: string;
675
+ }>;
676
+ };
677
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
678
+ id: string;
679
+ type: "user.steer";
680
+ event_id: string;
681
+ processed_at: string;
682
+ }>;
683
+ }>;
684
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
685
+ };
686
+ inbox: {
687
+ letters: {
688
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
689
+ unread: number;
690
+ letters: Array<{
691
+ id: string;
692
+ sender: string;
693
+ summary: string;
694
+ thread: string | null;
695
+ create_time: string;
696
+ }>;
697
+ }>;
698
+ };
699
+ };
468
700
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
701
  data: Array<{
470
702
  id: string;
@@ -480,6 +712,7 @@ export declare function createAgent(transport: Transport): {
480
712
  speed?: "standard" | "fast";
481
713
  settings?: {
482
714
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
715
+ max_output_tokens?: number;
483
716
  };
484
717
  };
485
718
  multiagent?: null | Types.AgentManaged39;
@@ -501,21 +734,28 @@ export declare function createAgent(transport: Transport): {
501
734
  } | null;
502
735
  note: string | null;
503
736
  bindings: Array<{
504
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
737
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
505
738
  id: string;
506
739
  access: "read_only" | "read_write" | "invoke";
740
+ customer_access?: "read_only" | "read_write" | "invoke";
507
741
  instructions?: string;
508
742
  readonly verified?: boolean;
509
743
  enabled?: boolean;
510
744
  } | {
511
- type: "search" | "browser";
745
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
746
  readonly verified?: boolean;
513
747
  enabled?: boolean;
514
748
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
749
+ kind: "general" | "service" | "assume";
750
+ computers?: {
751
+ default: string;
752
+ allowed: Array<{
753
+ template: string;
754
+ name: string;
755
+ }>;
756
+ };
516
757
  computer_id?: string;
517
758
  subagent_model?: string | null;
518
- image_model?: string | null;
519
759
  subagents?: Array<{
520
760
  name: string;
521
761
  description: string;
@@ -606,6 +846,7 @@ export declare function createAgent(transport: Transport): {
606
846
  allowManagedHooksOnly?: boolean;
607
847
  allowManagedMcpServersOnly?: boolean;
608
848
  allowManagedPermissionRulesOnly?: boolean;
849
+ idleCompaction?: boolean;
609
850
  autoMemoryEnabled?: boolean;
610
851
  disabled?: {
611
852
  subagents?: Array<string>;
@@ -614,7 +855,6 @@ export declare function createAgent(transport: Transport): {
614
855
  mcpServers?: Array<string>;
615
856
  hooks?: Array<string>;
616
857
  };
617
- idleCompaction?: boolean;
618
858
  outputStyle?: string;
619
859
  } | null;
620
860
  models?: {
@@ -622,6 +862,7 @@ export declare function createAgent(transport: Transport): {
622
862
  };
623
863
  avatar: string | null;
624
864
  creation_source: string | null;
865
+ managed_by: string | null;
625
866
  identity_number: string | null;
626
867
  environment_id?: string | null;
627
868
  vault_ids?: Array<string>;
@@ -635,6 +876,34 @@ export declare function createAgent(transport: Transport): {
635
876
  }>;
636
877
  next_page: string | null;
637
878
  }>;
879
+ phone: {
880
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
881
+ object: "agent_phone";
882
+ agent_id: string;
883
+ configured: boolean;
884
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
885
+ sku: string | null;
886
+ byod_device: string | null;
887
+ name: string | null;
888
+ sandbox_id: string | null;
889
+ lease_ends_at: string | null;
890
+ archived_at: string | null;
891
+ archive_error: string | null;
892
+ }>;
893
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
894
+ object: "agent_phone";
895
+ agent_id: string;
896
+ configured: boolean;
897
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
898
+ sku: string | null;
899
+ byod_device: string | null;
900
+ name: string | null;
901
+ sandbox_id: string | null;
902
+ lease_ends_at: string | null;
903
+ archived_at: string | null;
904
+ archive_error: string | null;
905
+ }>;
906
+ };
638
907
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
908
  id: string;
640
909
  archived_at: null | string;
@@ -649,6 +918,7 @@ export declare function createAgent(transport: Transport): {
649
918
  speed?: "standard" | "fast";
650
919
  settings?: {
651
920
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
921
+ max_output_tokens?: number;
652
922
  };
653
923
  };
654
924
  multiagent?: null | Types.AgentManaged39;
@@ -671,21 +941,28 @@ export declare function createAgent(transport: Transport): {
671
941
  } | null;
672
942
  note: string | null;
673
943
  bindings: Array<{
674
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
944
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
675
945
  id: string;
676
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
677
948
  instructions?: string;
678
949
  readonly verified?: boolean;
679
950
  enabled?: boolean;
680
951
  } | {
681
- type: "search" | "browser";
952
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
953
  readonly verified?: boolean;
683
954
  enabled?: boolean;
684
955
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
956
+ kind: "general" | "service" | "assume";
957
+ computers?: {
958
+ default: string;
959
+ allowed: Array<{
960
+ template: string;
961
+ name: string;
962
+ }>;
963
+ };
686
964
  computer_id?: string;
687
965
  subagent_model?: string | null;
688
- image_model?: string | null;
689
966
  subagents?: Array<{
690
967
  name: string;
691
968
  description: string;
@@ -776,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
776
1053
  allowManagedHooksOnly?: boolean;
777
1054
  allowManagedMcpServersOnly?: boolean;
778
1055
  allowManagedPermissionRulesOnly?: boolean;
1056
+ idleCompaction?: boolean;
779
1057
  autoMemoryEnabled?: boolean;
780
1058
  disabled?: {
781
1059
  subagents?: Array<string>;
@@ -784,7 +1062,6 @@ export declare function createAgent(transport: Transport): {
784
1062
  mcpServers?: Array<string>;
785
1063
  hooks?: Array<string>;
786
1064
  };
787
- idleCompaction?: boolean;
788
1065
  outputStyle?: string;
789
1066
  } | null;
790
1067
  models?: {
@@ -792,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
792
1069
  };
793
1070
  avatar: string | null;
794
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
795
1073
  identity_number: string | null;
796
1074
  environment_id?: string | null;
797
1075
  vault_ids?: Array<string>;
@@ -860,6 +1138,26 @@ export declare function createAgent(transport: Transport): {
860
1138
  history?: {
861
1139
  enabled?: boolean;
862
1140
  };
1141
+ uploads?: {
1142
+ enabled: boolean;
1143
+ max_file_bytes: number;
1144
+ max_files_per_session: number;
1145
+ };
1146
+ }>;
1147
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1148
+ allowed_origins: Array<string>;
1149
+ allow_localhost: boolean;
1150
+ uploads: {
1151
+ enabled: boolean;
1152
+ max_file_bytes: number;
1153
+ max_files_per_session: number;
1154
+ };
1155
+ share_links: {
1156
+ enabled: boolean;
1157
+ daily_session_cap: number | null;
1158
+ daily_spend_cap_micro_usd: number | null;
1159
+ currency?: "USD" | "CNY" | null;
1160
+ };
863
1161
  }>;
864
1162
  unarchive: {
865
1163
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1211,7 @@ export declare function createAgent(transport: Transport): {
913
1211
  speed?: "standard" | "fast";
914
1212
  settings?: {
915
1213
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1214
+ max_output_tokens?: number;
916
1215
  };
917
1216
  };
918
1217
  multiagent?: null | {
@@ -1100,21 +1399,28 @@ export declare function createAgent(transport: Transport): {
1100
1399
  } | null;
1101
1400
  note: string | null;
1102
1401
  bindings: Array<{
1103
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1402
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1104
1403
  id: string;
1105
1404
  access: "read_only" | "read_write" | "invoke";
1405
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1406
  instructions?: string;
1107
1407
  readonly verified?: boolean;
1108
1408
  enabled?: boolean;
1109
1409
  } | {
1110
- type: "search" | "browser";
1410
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1411
  readonly verified?: boolean;
1112
1412
  enabled?: boolean;
1113
1413
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1414
+ kind: "general" | "service" | "assume";
1415
+ computers?: {
1416
+ default: string;
1417
+ allowed: Array<{
1418
+ template: string;
1419
+ name: string;
1420
+ }>;
1421
+ };
1115
1422
  computer_id?: string;
1116
1423
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1424
  subagents?: Array<{
1119
1425
  name: string;
1120
1426
  description: string;
@@ -1205,6 +1511,7 @@ export declare function createAgent(transport: Transport): {
1205
1511
  allowManagedHooksOnly?: boolean;
1206
1512
  allowManagedMcpServersOnly?: boolean;
1207
1513
  allowManagedPermissionRulesOnly?: boolean;
1514
+ idleCompaction?: boolean;
1208
1515
  autoMemoryEnabled?: boolean;
1209
1516
  disabled?: {
1210
1517
  subagents?: Array<string>;
@@ -1213,7 +1520,6 @@ export declare function createAgent(transport: Transport): {
1213
1520
  mcpServers?: Array<string>;
1214
1521
  hooks?: Array<string>;
1215
1522
  };
1216
- idleCompaction?: boolean;
1217
1523
  outputStyle?: string;
1218
1524
  } | null;
1219
1525
  models?: {
@@ -1221,6 +1527,7 @@ export declare function createAgent(transport: Transport): {
1221
1527
  };
1222
1528
  avatar: string | null;
1223
1529
  creation_source: string | null;
1530
+ managed_by: string | null;
1224
1531
  identity_number: string | null;
1225
1532
  environment_id?: string | null;
1226
1533
  vault_ids?: Array<string>;
@@ -1247,6 +1554,7 @@ export declare function createAgent(transport: Transport): {
1247
1554
  speed?: "standard" | "fast";
1248
1555
  settings?: {
1249
1556
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1557
+ max_output_tokens?: number;
1250
1558
  };
1251
1559
  };
1252
1560
  multiagent?: null | Types.AgentManaged39;
@@ -1269,21 +1577,28 @@ export declare function createAgent(transport: Transport): {
1269
1577
  } | null;
1270
1578
  note: string | null;
1271
1579
  bindings: Array<{
1272
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1580
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1273
1581
  id: string;
1274
1582
  access: "read_only" | "read_write" | "invoke";
1583
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1584
  instructions?: string;
1276
1585
  readonly verified?: boolean;
1277
1586
  enabled?: boolean;
1278
1587
  } | {
1279
- type: "search" | "browser";
1588
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1589
  readonly verified?: boolean;
1281
1590
  enabled?: boolean;
1282
1591
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1592
+ kind: "general" | "service" | "assume";
1593
+ computers?: {
1594
+ default: string;
1595
+ allowed: Array<{
1596
+ template: string;
1597
+ name: string;
1598
+ }>;
1599
+ };
1284
1600
  computer_id?: string;
1285
1601
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1602
  subagents?: Array<{
1288
1603
  name: string;
1289
1604
  description: string;
@@ -1374,6 +1689,7 @@ export declare function createAgent(transport: Transport): {
1374
1689
  allowManagedHooksOnly?: boolean;
1375
1690
  allowManagedMcpServersOnly?: boolean;
1376
1691
  allowManagedPermissionRulesOnly?: boolean;
1692
+ idleCompaction?: boolean;
1377
1693
  autoMemoryEnabled?: boolean;
1378
1694
  disabled?: {
1379
1695
  subagents?: Array<string>;
@@ -1382,7 +1698,6 @@ export declare function createAgent(transport: Transport): {
1382
1698
  mcpServers?: Array<string>;
1383
1699
  hooks?: Array<string>;
1384
1700
  };
1385
- idleCompaction?: boolean;
1386
1701
  outputStyle?: string;
1387
1702
  } | null;
1388
1703
  models?: {
@@ -1390,6 +1705,7 @@ export declare function createAgent(transport: Transport): {
1390
1705
  };
1391
1706
  avatar: string | null;
1392
1707
  creation_source: string | null;
1708
+ managed_by: string | null;
1393
1709
  identity_number: string | null;
1394
1710
  environment_id?: string | null;
1395
1711
  vault_ids?: Array<string>;
@@ -1401,28 +1717,246 @@ export declare function createAgent(transport: Transport): {
1401
1717
  keep_coding_instructions?: boolean;
1402
1718
  }> | null;
1403
1719
  }>;
1720
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1721
+ allowed_origins: Array<string>;
1722
+ allow_localhost: boolean;
1723
+ uploads: {
1724
+ enabled: boolean;
1725
+ max_file_bytes: number;
1726
+ max_files_per_session: number;
1727
+ };
1728
+ share_links: {
1729
+ enabled: boolean;
1730
+ daily_session_cap: number | null;
1731
+ daily_spend_cap_micro_usd: number | null;
1732
+ currency?: "USD" | "CNY" | null;
1733
+ };
1734
+ }>;
1404
1735
  versions: {
1405
1736
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1737
  id: string;
1407
1738
  archived_at: null | string;
1408
1739
  created_at: string;
1409
1740
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1741
+ mcp_servers: Array<{
1742
+ type: "url";
1743
+ name: string;
1744
+ url: string;
1745
+ headers?: {
1746
+ [key: string]: string;
1747
+ };
1748
+ timeout_ms?: number;
1749
+ } | {
1750
+ type: "sse";
1751
+ name: string;
1752
+ url: string;
1753
+ headers?: {
1754
+ [key: string]: string;
1755
+ };
1756
+ timeout_ms?: number;
1757
+ } | {
1758
+ type: "stdio";
1759
+ name: string;
1760
+ command: string;
1761
+ args?: Array<string>;
1762
+ env?: {
1763
+ [key: string]: string;
1764
+ };
1765
+ timeout_ms?: number;
1766
+ }>;
1767
+ metadata: {
1768
+ [key: string]: string;
1769
+ };
1412
1770
  model?: {
1413
1771
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1772
+ effort?: {
1773
+ type: "low";
1774
+ } | {
1775
+ type: "medium";
1776
+ } | {
1777
+ type: "high";
1778
+ } | {
1779
+ type: "xhigh";
1780
+ } | {
1781
+ type: "max";
1782
+ };
1415
1783
  inference_geo?: string;
1416
1784
  speed?: "standard" | "fast";
1417
1785
  settings?: {
1418
1786
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1787
+ max_output_tokens?: number;
1788
+ };
1789
+ };
1790
+ multiagent?: null | {
1791
+ agents: Array<{
1792
+ id: string;
1793
+ type: "agent";
1794
+ version: number;
1795
+ } | {
1796
+ model: string;
1797
+ type: "advisor";
1798
+ }>;
1799
+ type: "coordinator";
1800
+ };
1801
+ name: string;
1802
+ skills: Array<{
1803
+ skill_id: string;
1804
+ type: "anthropic";
1805
+ version: string;
1806
+ } | {
1807
+ skill_id: string;
1808
+ type: "custom";
1809
+ version: string;
1810
+ }>;
1811
+ system: null | string;
1812
+ tools: Array<{
1813
+ configs: Array<{
1814
+ enabled: boolean;
1815
+ name: "bash";
1816
+ permission_policy: {
1817
+ type: "always_allow";
1818
+ } | {
1819
+ type: "always_ask";
1820
+ } | {
1821
+ type: "auto";
1822
+ };
1823
+ type: "bash";
1824
+ } | {
1825
+ enabled: boolean;
1826
+ name: "edit";
1827
+ permission_policy: {
1828
+ type: "always_allow";
1829
+ } | {
1830
+ type: "always_ask";
1831
+ } | {
1832
+ type: "auto";
1833
+ };
1834
+ type: "edit";
1835
+ } | {
1836
+ enabled: boolean;
1837
+ name: "read";
1838
+ permission_policy: {
1839
+ type: "always_allow";
1840
+ } | {
1841
+ type: "always_ask";
1842
+ } | {
1843
+ type: "auto";
1844
+ };
1845
+ type: "read";
1846
+ } | {
1847
+ enabled: boolean;
1848
+ name: "write";
1849
+ permission_policy: {
1850
+ type: "always_allow";
1851
+ } | {
1852
+ type: "always_ask";
1853
+ } | {
1854
+ type: "auto";
1855
+ };
1856
+ type: "write";
1857
+ } | {
1858
+ enabled: boolean;
1859
+ name: "glob";
1860
+ permission_policy: {
1861
+ type: "always_allow";
1862
+ } | {
1863
+ type: "always_ask";
1864
+ } | {
1865
+ type: "auto";
1866
+ };
1867
+ type: "glob";
1868
+ } | {
1869
+ enabled: boolean;
1870
+ name: "grep";
1871
+ permission_policy: {
1872
+ type: "always_allow";
1873
+ } | {
1874
+ type: "always_ask";
1875
+ } | {
1876
+ type: "auto";
1877
+ };
1878
+ type: "grep";
1879
+ } | {
1880
+ enabled: boolean;
1881
+ name: "web_fetch";
1882
+ permission_policy: {
1883
+ type: "always_allow";
1884
+ } | {
1885
+ type: "always_ask";
1886
+ } | {
1887
+ type: "auto";
1888
+ };
1889
+ type: "web_fetch";
1890
+ allowed_domains?: Array<string>;
1891
+ blocked_domains?: Array<string>;
1892
+ max_content_tokens?: null | number;
1893
+ } | {
1894
+ enabled: boolean;
1895
+ name: "web_search";
1896
+ permission_policy: {
1897
+ type: "always_allow";
1898
+ } | {
1899
+ type: "always_ask";
1900
+ } | {
1901
+ type: "auto";
1902
+ };
1903
+ type: "web_search";
1904
+ allowed_domains?: Array<string>;
1905
+ blocked_domains?: Array<string>;
1906
+ user_location?: null | {
1907
+ type: "approximate";
1908
+ city?: null | string;
1909
+ country?: null | string;
1910
+ region?: null | string;
1911
+ timezone?: null | string;
1912
+ };
1913
+ } | {
1914
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1915
+ enabled: boolean;
1916
+ permission_policy: {
1917
+ type: "always_allow" | "always_ask";
1918
+ };
1919
+ }>;
1920
+ default_config: {
1921
+ enabled: boolean;
1922
+ permission_policy: {
1923
+ type: "always_allow";
1924
+ } | {
1925
+ type: "always_ask";
1926
+ } | {
1927
+ type: "auto";
1928
+ };
1929
+ };
1930
+ type: "agent_toolset_20260401";
1931
+ } | {
1932
+ type: "mcp_toolset";
1933
+ mcp_server_name: string;
1934
+ default_config?: {
1935
+ enabled?: boolean | null;
1936
+ permission_policy?: null | {
1937
+ type: "always_allow" | "always_ask";
1938
+ };
1939
+ } | null;
1940
+ configs?: Array<{
1941
+ name: string;
1942
+ enabled?: boolean | null;
1943
+ permission_policy?: null | {
1944
+ type: "always_allow" | "always_ask";
1945
+ };
1946
+ }> | null;
1947
+ } | {
1948
+ description: string;
1949
+ input_schema: {
1950
+ type: "object";
1951
+ properties?: null | {
1952
+ [key: string]: unknown;
1953
+ };
1954
+ required?: null | Array<string>;
1955
+ [key: string]: unknown;
1419
1956
  };
1420
- };
1421
- multiagent?: null | Types.AgentManaged39;
1422
- name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1424
- system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1957
+ name: string;
1958
+ type: "custom";
1959
+ }>;
1426
1960
  type: "agent";
1427
1961
  updated_at: string;
1428
1962
  version: number;
@@ -1438,21 +1972,28 @@ export declare function createAgent(transport: Transport): {
1438
1972
  } | null;
1439
1973
  note: string | null;
1440
1974
  bindings: Array<{
1441
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1975
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1442
1976
  id: string;
1443
1977
  access: "read_only" | "read_write" | "invoke";
1978
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
1979
  instructions?: string;
1445
1980
  readonly verified?: boolean;
1446
1981
  enabled?: boolean;
1447
1982
  } | {
1448
- type: "search" | "browser";
1983
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1984
  readonly verified?: boolean;
1450
1985
  enabled?: boolean;
1451
1986
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
1987
+ kind: "general" | "service" | "assume";
1988
+ computers?: {
1989
+ default: string;
1990
+ allowed: Array<{
1991
+ template: string;
1992
+ name: string;
1993
+ }>;
1994
+ };
1453
1995
  computer_id?: string;
1454
1996
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1997
  subagents?: Array<{
1457
1998
  name: string;
1458
1999
  description: string;
@@ -1543,6 +2084,7 @@ export declare function createAgent(transport: Transport): {
1543
2084
  allowManagedHooksOnly?: boolean;
1544
2085
  allowManagedMcpServersOnly?: boolean;
1545
2086
  allowManagedPermissionRulesOnly?: boolean;
2087
+ idleCompaction?: boolean;
1546
2088
  autoMemoryEnabled?: boolean;
1547
2089
  disabled?: {
1548
2090
  subagents?: Array<string>;
@@ -1551,7 +2093,6 @@ export declare function createAgent(transport: Transport): {
1551
2093
  mcpServers?: Array<string>;
1552
2094
  hooks?: Array<string>;
1553
2095
  };
1554
- idleCompaction?: boolean;
1555
2096
  outputStyle?: string;
1556
2097
  } | null;
1557
2098
  models?: {
@@ -1559,6 +2100,7 @@ export declare function createAgent(transport: Transport): {
1559
2100
  };
1560
2101
  avatar: string | null;
1561
2102
  creation_source: string | null;
2103
+ managed_by: string | null;
1562
2104
  identity_number: string | null;
1563
2105
  environment_id?: string | null;
1564
2106
  vault_ids?: Array<string>;
@@ -1585,6 +2127,7 @@ export declare function createAgent(transport: Transport): {
1585
2127
  speed?: "standard" | "fast";
1586
2128
  settings?: {
1587
2129
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2130
+ max_output_tokens?: number;
1588
2131
  };
1589
2132
  };
1590
2133
  multiagent?: null | Types.AgentManaged39;
@@ -1607,21 +2150,28 @@ export declare function createAgent(transport: Transport): {
1607
2150
  } | null;
1608
2151
  note: string | null;
1609
2152
  bindings: Array<{
1610
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2153
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1611
2154
  id: string;
1612
2155
  access: "read_only" | "read_write" | "invoke";
2156
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2157
  instructions?: string;
1614
2158
  readonly verified?: boolean;
1615
2159
  enabled?: boolean;
1616
2160
  } | {
1617
- type: "search" | "browser";
2161
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2162
  readonly verified?: boolean;
1619
2163
  enabled?: boolean;
1620
2164
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2165
+ kind: "general" | "service" | "assume";
2166
+ computers?: {
2167
+ default: string;
2168
+ allowed: Array<{
2169
+ template: string;
2170
+ name: string;
2171
+ }>;
2172
+ };
1622
2173
  computer_id?: string;
1623
2174
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2175
  subagents?: Array<{
1626
2176
  name: string;
1627
2177
  description: string;
@@ -1712,6 +2262,7 @@ export declare function createAgent(transport: Transport): {
1712
2262
  allowManagedHooksOnly?: boolean;
1713
2263
  allowManagedMcpServersOnly?: boolean;
1714
2264
  allowManagedPermissionRulesOnly?: boolean;
2265
+ idleCompaction?: boolean;
1715
2266
  autoMemoryEnabled?: boolean;
1716
2267
  disabled?: {
1717
2268
  subagents?: Array<string>;
@@ -1720,7 +2271,6 @@ export declare function createAgent(transport: Transport): {
1720
2271
  mcpServers?: Array<string>;
1721
2272
  hooks?: Array<string>;
1722
2273
  };
1723
- idleCompaction?: boolean;
1724
2274
  outputStyle?: string;
1725
2275
  } | null;
1726
2276
  models?: {
@@ -1728,6 +2278,7 @@ export declare function createAgent(transport: Transport): {
1728
2278
  };
1729
2279
  avatar: string | null;
1730
2280
  creation_source: string | null;
2281
+ managed_by: string | null;
1731
2282
  identity_number: string | null;
1732
2283
  environment_id?: string | null;
1733
2284
  vault_ids?: Array<string>;
@@ -1793,6 +2344,13 @@ export declare function createAgent(transport: Transport): {
1793
2344
  type: "computer_deleted";
1794
2345
  }>;
1795
2346
  files: {
2347
+ convert: {
2348
+ create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
2349
+ data: string;
2350
+ mime: "application/pdf";
2351
+ cached: boolean;
2352
+ }>;
2353
+ };
1796
2354
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
1797
2355
  data: Array<{
1798
2356
  path: string;
@@ -1808,6 +2366,24 @@ export declare function createAgent(transport: Transport): {
1808
2366
  tier: "light" | "heavy";
1809
2367
  }>;
1810
2368
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2369
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2370
+ variant: "image" | "pdf" | "text" | "original";
2371
+ version?: string;
2372
+ mime_type?: string;
2373
+ size?: number;
2374
+ file_id?: string;
2375
+ url?: string;
2376
+ expires_at?: string;
2377
+ cached: boolean;
2378
+ fallback?: "content";
2379
+ skipped?: boolean;
2380
+ }>;
2381
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2382
+ path: string;
2383
+ size: number;
2384
+ mtime: string | null;
2385
+ version: string;
2386
+ }>;
1811
2387
  };
1812
2388
  leases: {
1813
2389
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1848,6 +2424,7 @@ export declare function createAgent(transport: Transport): {
1848
2424
  created_at: string;
1849
2425
  updated_at: string;
1850
2426
  archived_at: string | null;
2427
+ machine: "light" | "full";
1851
2428
  implementation: "virtual" | "sandbox";
1852
2429
  storage_bytes: number;
1853
2430
  file_count: number;
@@ -2102,57 +2679,594 @@ export declare function createAgent(transport: Transport): {
2102
2679
  target: {
2103
2680
  type: "environment" | "computer";
2104
2681
  };
2105
- }>;
2106
- };
2107
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2108
- id: string;
2109
- agent: {
2110
- id: string;
2111
- type: "agent";
2112
- version: number;
2113
- } | {
2114
- id: string;
2115
- type: "agent_with_overrides";
2116
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2117
- cwd?: string;
2118
- model?: string | {
2682
+ }>;
2683
+ };
2684
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2685
+ id: string;
2686
+ agent: {
2687
+ id: string;
2688
+ type: "agent";
2689
+ version: number;
2690
+ } | {
2691
+ id: string;
2692
+ type: "agent_with_overrides";
2693
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2694
+ cwd?: string;
2695
+ model?: string | {
2696
+ id: string;
2697
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2698
+ speed?: null | "standard" | "fast";
2699
+ };
2700
+ version: number;
2701
+ };
2702
+ archived_at: null | string;
2703
+ created_at: string;
2704
+ description: null | string;
2705
+ environment_id?: string | null;
2706
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2707
+ metadata: Types.AgentManaged91;
2708
+ name: string;
2709
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2710
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2711
+ schedule: null | Types.AgentManaged111;
2712
+ status: "active" | "paused";
2713
+ type: "deployment";
2714
+ updated_at: string;
2715
+ vault_ids: Array<string>;
2716
+ budget?: null | Types.AgentManaged76;
2717
+ target: {
2718
+ type: "environment" | "computer";
2719
+ };
2720
+ }>;
2721
+ };
2722
+ environments: {
2723
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2724
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2725
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2726
+ data: Array<Types.AgentManaged138>;
2727
+ next_page: string | null;
2728
+ }>;
2729
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2730
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2731
+ };
2732
+ sessions: {
2733
+ agentVersion: {
2734
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2735
+ id: string;
2736
+ agent: {
2737
+ id: string;
2738
+ description: null | string;
2739
+ mcp_servers: Array<{
2740
+ type: "url";
2741
+ name: string;
2742
+ url: string;
2743
+ headers?: {
2744
+ [key: string]: string;
2745
+ };
2746
+ timeout_ms?: number;
2747
+ } | {
2748
+ type: "sse";
2749
+ name: string;
2750
+ url: string;
2751
+ headers?: {
2752
+ [key: string]: string;
2753
+ };
2754
+ timeout_ms?: number;
2755
+ } | {
2756
+ type: "stdio";
2757
+ name: string;
2758
+ command: string;
2759
+ args?: Array<string>;
2760
+ env?: {
2761
+ [key: string]: string;
2762
+ };
2763
+ timeout_ms?: number;
2764
+ }>;
2765
+ model: {
2766
+ id: string;
2767
+ effort?: {
2768
+ type: "low";
2769
+ } | {
2770
+ type: "medium";
2771
+ } | {
2772
+ type: "high";
2773
+ } | {
2774
+ type: "xhigh";
2775
+ } | {
2776
+ type: "max";
2777
+ };
2778
+ inference_geo?: string;
2779
+ speed?: "standard" | "fast";
2780
+ settings?: {
2781
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2782
+ max_output_tokens?: number;
2783
+ };
2784
+ };
2785
+ multiagent: null | {
2786
+ agents: Array<{
2787
+ model: string;
2788
+ type: "advisor";
2789
+ } | {
2790
+ id: string;
2791
+ description: null | string;
2792
+ mcp_servers: Array<{
2793
+ type: "url";
2794
+ name: string;
2795
+ url: string;
2796
+ headers?: {
2797
+ [key: string]: string;
2798
+ };
2799
+ timeout_ms?: number;
2800
+ } | {
2801
+ type: "sse";
2802
+ name: string;
2803
+ url: string;
2804
+ headers?: {
2805
+ [key: string]: string;
2806
+ };
2807
+ timeout_ms?: number;
2808
+ } | {
2809
+ type: "stdio";
2810
+ name: string;
2811
+ command: string;
2812
+ args?: Array<string>;
2813
+ env?: {
2814
+ [key: string]: string;
2815
+ };
2816
+ timeout_ms?: number;
2817
+ }>;
2818
+ model: {
2819
+ id: string;
2820
+ effort?: {
2821
+ type: "low";
2822
+ } | {
2823
+ type: "medium";
2824
+ } | {
2825
+ type: "high";
2826
+ } | {
2827
+ type: "xhigh";
2828
+ } | {
2829
+ type: "max";
2830
+ };
2831
+ inference_geo?: string;
2832
+ speed?: "standard" | "fast";
2833
+ };
2834
+ name: string;
2835
+ skills: Array<{
2836
+ skill_id: string;
2837
+ type: "anthropic";
2838
+ version: string;
2839
+ } | {
2840
+ skill_id: string;
2841
+ type: "custom";
2842
+ version: string;
2843
+ }>;
2844
+ system: null | string;
2845
+ tools: Array<{
2846
+ configs: Array<{
2847
+ enabled: boolean;
2848
+ name: "bash";
2849
+ permission_policy: {
2850
+ type: "always_allow";
2851
+ } | {
2852
+ type: "always_ask";
2853
+ } | {
2854
+ type: "auto";
2855
+ };
2856
+ type: "bash";
2857
+ } | {
2858
+ enabled: boolean;
2859
+ name: "edit";
2860
+ permission_policy: {
2861
+ type: "always_allow";
2862
+ } | {
2863
+ type: "always_ask";
2864
+ } | {
2865
+ type: "auto";
2866
+ };
2867
+ type: "edit";
2868
+ } | {
2869
+ enabled: boolean;
2870
+ name: "read";
2871
+ permission_policy: {
2872
+ type: "always_allow";
2873
+ } | {
2874
+ type: "always_ask";
2875
+ } | {
2876
+ type: "auto";
2877
+ };
2878
+ type: "read";
2879
+ } | {
2880
+ enabled: boolean;
2881
+ name: "write";
2882
+ permission_policy: {
2883
+ type: "always_allow";
2884
+ } | {
2885
+ type: "always_ask";
2886
+ } | {
2887
+ type: "auto";
2888
+ };
2889
+ type: "write";
2890
+ } | {
2891
+ enabled: boolean;
2892
+ name: "glob";
2893
+ permission_policy: {
2894
+ type: "always_allow";
2895
+ } | {
2896
+ type: "always_ask";
2897
+ } | {
2898
+ type: "auto";
2899
+ };
2900
+ type: "glob";
2901
+ } | {
2902
+ enabled: boolean;
2903
+ name: "grep";
2904
+ permission_policy: {
2905
+ type: "always_allow";
2906
+ } | {
2907
+ type: "always_ask";
2908
+ } | {
2909
+ type: "auto";
2910
+ };
2911
+ type: "grep";
2912
+ } | {
2913
+ enabled: boolean;
2914
+ name: "web_fetch";
2915
+ permission_policy: {
2916
+ type: "always_allow";
2917
+ } | {
2918
+ type: "always_ask";
2919
+ } | {
2920
+ type: "auto";
2921
+ };
2922
+ type: "web_fetch";
2923
+ allowed_domains?: Array<string>;
2924
+ blocked_domains?: Array<string>;
2925
+ max_content_tokens?: null | number;
2926
+ } | {
2927
+ enabled: boolean;
2928
+ name: "web_search";
2929
+ permission_policy: {
2930
+ type: "always_allow";
2931
+ } | {
2932
+ type: "always_ask";
2933
+ } | {
2934
+ type: "auto";
2935
+ };
2936
+ type: "web_search";
2937
+ allowed_domains?: Array<string>;
2938
+ blocked_domains?: Array<string>;
2939
+ user_location?: null | {
2940
+ type: "approximate";
2941
+ city?: null | string;
2942
+ country?: null | string;
2943
+ region?: null | string;
2944
+ timezone?: null | string;
2945
+ };
2946
+ } | {
2947
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2948
+ enabled: boolean;
2949
+ permission_policy: {
2950
+ type: "always_allow" | "always_ask";
2951
+ };
2952
+ }>;
2953
+ default_config: {
2954
+ enabled: boolean;
2955
+ permission_policy: {
2956
+ type: "always_allow";
2957
+ } | {
2958
+ type: "always_ask";
2959
+ } | {
2960
+ type: "auto";
2961
+ };
2962
+ };
2963
+ type: "agent_toolset_20260401";
2964
+ } | {
2965
+ type: "mcp_toolset";
2966
+ mcp_server_name: string;
2967
+ default_config?: {
2968
+ enabled?: boolean | null;
2969
+ permission_policy?: null | {
2970
+ type: "always_allow" | "always_ask";
2971
+ };
2972
+ } | null;
2973
+ configs?: Array<{
2974
+ name: string;
2975
+ enabled?: boolean | null;
2976
+ permission_policy?: null | {
2977
+ type: "always_allow" | "always_ask";
2978
+ };
2979
+ }> | null;
2980
+ } | {
2981
+ description: string;
2982
+ input_schema: {
2983
+ type: "object";
2984
+ properties?: null | {
2985
+ [key: string]: unknown;
2986
+ };
2987
+ required?: null | Array<string>;
2988
+ [key: string]: unknown;
2989
+ };
2990
+ name: string;
2991
+ type: "custom";
2992
+ }>;
2993
+ type: "agent";
2994
+ version: number;
2995
+ }>;
2996
+ type: "coordinator";
2997
+ };
2998
+ name: string;
2999
+ skills: Array<{
3000
+ skill_id: string;
3001
+ type: "anthropic";
3002
+ version: string;
3003
+ } | {
3004
+ skill_id: string;
3005
+ type: "custom";
3006
+ version: string;
3007
+ }>;
3008
+ system: null | string;
3009
+ tools: Array<{
3010
+ configs: Array<{
3011
+ enabled: boolean;
3012
+ name: "bash";
3013
+ permission_policy: {
3014
+ type: "always_allow";
3015
+ } | {
3016
+ type: "always_ask";
3017
+ } | {
3018
+ type: "auto";
3019
+ };
3020
+ type: "bash";
3021
+ } | {
3022
+ enabled: boolean;
3023
+ name: "edit";
3024
+ permission_policy: {
3025
+ type: "always_allow";
3026
+ } | {
3027
+ type: "always_ask";
3028
+ } | {
3029
+ type: "auto";
3030
+ };
3031
+ type: "edit";
3032
+ } | {
3033
+ enabled: boolean;
3034
+ name: "read";
3035
+ permission_policy: {
3036
+ type: "always_allow";
3037
+ } | {
3038
+ type: "always_ask";
3039
+ } | {
3040
+ type: "auto";
3041
+ };
3042
+ type: "read";
3043
+ } | {
3044
+ enabled: boolean;
3045
+ name: "write";
3046
+ permission_policy: {
3047
+ type: "always_allow";
3048
+ } | {
3049
+ type: "always_ask";
3050
+ } | {
3051
+ type: "auto";
3052
+ };
3053
+ type: "write";
3054
+ } | {
3055
+ enabled: boolean;
3056
+ name: "glob";
3057
+ permission_policy: {
3058
+ type: "always_allow";
3059
+ } | {
3060
+ type: "always_ask";
3061
+ } | {
3062
+ type: "auto";
3063
+ };
3064
+ type: "glob";
3065
+ } | {
3066
+ enabled: boolean;
3067
+ name: "grep";
3068
+ permission_policy: {
3069
+ type: "always_allow";
3070
+ } | {
3071
+ type: "always_ask";
3072
+ } | {
3073
+ type: "auto";
3074
+ };
3075
+ type: "grep";
3076
+ } | {
3077
+ enabled: boolean;
3078
+ name: "web_fetch";
3079
+ permission_policy: {
3080
+ type: "always_allow";
3081
+ } | {
3082
+ type: "always_ask";
3083
+ } | {
3084
+ type: "auto";
3085
+ };
3086
+ type: "web_fetch";
3087
+ allowed_domains?: Array<string>;
3088
+ blocked_domains?: Array<string>;
3089
+ max_content_tokens?: null | number;
3090
+ } | {
3091
+ enabled: boolean;
3092
+ name: "web_search";
3093
+ permission_policy: {
3094
+ type: "always_allow";
3095
+ } | {
3096
+ type: "always_ask";
3097
+ } | {
3098
+ type: "auto";
3099
+ };
3100
+ type: "web_search";
3101
+ allowed_domains?: Array<string>;
3102
+ blocked_domains?: Array<string>;
3103
+ user_location?: null | {
3104
+ type: "approximate";
3105
+ city?: null | string;
3106
+ country?: null | string;
3107
+ region?: null | string;
3108
+ timezone?: null | string;
3109
+ };
3110
+ } | {
3111
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3112
+ enabled: boolean;
3113
+ permission_policy: {
3114
+ type: "always_allow" | "always_ask";
3115
+ };
3116
+ }>;
3117
+ default_config: {
3118
+ enabled: boolean;
3119
+ permission_policy: {
3120
+ type: "always_allow";
3121
+ } | {
3122
+ type: "always_ask";
3123
+ } | {
3124
+ type: "auto";
3125
+ };
3126
+ };
3127
+ type: "agent_toolset_20260401";
3128
+ } | {
3129
+ type: "mcp_toolset";
3130
+ mcp_server_name: string;
3131
+ default_config?: {
3132
+ enabled?: boolean | null;
3133
+ permission_policy?: null | {
3134
+ type: "always_allow" | "always_ask";
3135
+ };
3136
+ } | null;
3137
+ configs?: Array<{
3138
+ name: string;
3139
+ enabled?: boolean | null;
3140
+ permission_policy?: null | {
3141
+ type: "always_allow" | "always_ask";
3142
+ };
3143
+ }> | null;
3144
+ } | {
3145
+ description: string;
3146
+ input_schema: {
3147
+ type: "object";
3148
+ properties?: null | {
3149
+ [key: string]: unknown;
3150
+ };
3151
+ required?: null | Array<string>;
3152
+ [key: string]: unknown;
3153
+ };
3154
+ name: string;
3155
+ type: "custom";
3156
+ }>;
3157
+ type: "agent";
3158
+ version: number;
3159
+ };
3160
+ archived_at: null | string;
3161
+ budget: null | {
3162
+ max_list_cost: {
3163
+ amount: string;
3164
+ currency: "USD";
3165
+ };
3166
+ type: "limit";
3167
+ };
3168
+ created_at: string;
3169
+ environment_id?: string;
3170
+ metadata: {
3171
+ [key: string]: string;
3172
+ };
3173
+ outcome_evaluations: Array<{
3174
+ completed_at: null | string;
3175
+ description: string;
3176
+ explanation: null | string;
3177
+ iteration: number;
3178
+ outcome_id: string;
3179
+ result: string;
3180
+ type: "outcome_evaluation";
3181
+ }>;
3182
+ resources: Array<{
3183
+ id: string;
3184
+ created_at: string;
3185
+ mount_path: string;
3186
+ type: "github_repository";
3187
+ updated_at: string;
3188
+ url: string;
3189
+ checkout?: null | {
3190
+ name: string;
3191
+ type: "branch";
3192
+ } | {
3193
+ sha: string;
3194
+ type: "commit";
3195
+ };
3196
+ } | {
3197
+ id: string;
3198
+ created_at: string;
3199
+ file_id: string;
3200
+ mount_path: string;
3201
+ type: "file";
3202
+ updated_at: string;
3203
+ } | {
3204
+ memory_store_id: string;
3205
+ type: "memory_store";
3206
+ access?: null | "read_write" | "read_only";
3207
+ description?: string;
3208
+ instructions?: null | string;
3209
+ mount_path?: null | string;
3210
+ name?: null | string;
3211
+ }>;
3212
+ stats: {
3213
+ active_seconds?: number;
3214
+ duration_seconds?: number;
3215
+ };
3216
+ status: "rescheduling" | "running" | "idle" | "terminated";
3217
+ title: null | string;
3218
+ type: "session";
3219
+ updated_at: string;
3220
+ usage: {
3221
+ active_seconds?: number;
3222
+ cache_creation?: {
3223
+ ephemeral_1h_input_tokens?: number;
3224
+ ephemeral_5m_input_tokens?: number;
3225
+ };
3226
+ cache_read_input_tokens?: number;
3227
+ input_tokens?: number;
3228
+ list_cost?: null | {
3229
+ amount: string;
3230
+ currency: "USD";
3231
+ };
3232
+ output_tokens?: number;
3233
+ server_tool_use?: null | {
3234
+ web_fetch_requests?: number;
3235
+ web_search_requests?: number;
3236
+ };
3237
+ cost_by_product?: {
3238
+ [key: string]: string;
3239
+ };
3240
+ subagent_cost_micro_usd?: number;
3241
+ };
3242
+ vault_ids: Array<string>;
3243
+ deployment_id?: null | string;
3244
+ cwd: string;
3245
+ workspace?: {
3246
+ kind: "shared" | "isolated";
3247
+ path?: string;
3248
+ branch?: string;
3249
+ };
3250
+ computer_id?: string;
3251
+ model?: {
2119
3252
  id: string;
2120
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2121
- speed?: null | "standard" | "fast";
3253
+ thinking: {
3254
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3255
+ can_disable: boolean;
3256
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3257
+ } | null;
2122
3258
  };
2123
- version: number;
2124
- };
2125
- archived_at: null | string;
2126
- created_at: string;
2127
- description: null | string;
2128
- environment_id?: string | null;
2129
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2130
- metadata: Types.AgentManaged91;
2131
- name: string;
2132
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2133
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2134
- schedule: null | Types.AgentManaged111;
2135
- status: "active" | "paused";
2136
- type: "deployment";
2137
- updated_at: string;
2138
- vault_ids: Array<string>;
2139
- budget?: null | Types.AgentManaged76;
2140
- target: {
2141
- type: "environment" | "computer";
2142
- };
2143
- }>;
2144
- };
2145
- environments: {
2146
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2147
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2148
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2149
- data: Array<Types.AgentManaged138>;
2150
- next_page: string | null;
2151
- }>;
2152
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2153
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2154
- };
2155
- sessions: {
3259
+ thinking?: {
3260
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3261
+ } | null;
3262
+ forked_from?: {
3263
+ session_id: string;
3264
+ message_id: string;
3265
+ } | null;
3266
+ readonly external_user_id: string | null;
3267
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3268
+ }>;
3269
+ };
2156
3270
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2157
3271
  id: string;
2158
3272
  agent: {
@@ -2166,6 +3280,7 @@ export declare function createAgent(transport: Transport): {
2166
3280
  speed?: "standard" | "fast";
2167
3281
  settings?: {
2168
3282
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3283
+ max_output_tokens?: number;
2169
3284
  };
2170
3285
  };
2171
3286
  multiagent: null | Types.AgentManaged171;
@@ -2192,6 +3307,11 @@ export declare function createAgent(transport: Transport): {
2192
3307
  vault_ids: Array<string>;
2193
3308
  deployment_id?: null | string;
2194
3309
  cwd: string;
3310
+ workspace?: {
3311
+ kind: "shared" | "isolated";
3312
+ path?: string;
3313
+ branch?: string;
3314
+ };
2195
3315
  computer_id?: string;
2196
3316
  model?: {
2197
3317
  id: string;
@@ -2211,6 +3331,40 @@ export declare function createAgent(transport: Transport): {
2211
3331
  readonly external_user_id: string | null;
2212
3332
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2213
3333
  }>;
3334
+ artifacts: {
3335
+ contentUrl: {
3336
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3337
+ url: string;
3338
+ expire_time: string;
3339
+ }>;
3340
+ };
3341
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3342
+ data: Array<{
3343
+ object: "artifact";
3344
+ id: string;
3345
+ session_id: string;
3346
+ run_id: string | null;
3347
+ name: string;
3348
+ version: number;
3349
+ parts: Array<{
3350
+ kind: "file";
3351
+ file_id: string;
3352
+ filename: string;
3353
+ mime_type: string;
3354
+ bytes: number;
3355
+ } | {
3356
+ kind: "object";
3357
+ object_type: "canvas" | "media_asset";
3358
+ object_id: string;
3359
+ href: string;
3360
+ title: string | null;
3361
+ }>;
3362
+ source_hrefs: Array<string>;
3363
+ create_time: string;
3364
+ update_time: string;
3365
+ }>;
3366
+ }>;
3367
+ };
2214
3368
  backgroundTasks: {
2215
3369
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2216
3370
  data: Array<{
@@ -2293,6 +3447,7 @@ export declare function createAgent(transport: Transport): {
2293
3447
  speed?: "standard" | "fast";
2294
3448
  settings?: {
2295
3449
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3450
+ max_output_tokens?: number;
2296
3451
  };
2297
3452
  };
2298
3453
  multiagent: null | Types.AgentManaged171;
@@ -2319,6 +3474,11 @@ export declare function createAgent(transport: Transport): {
2319
3474
  vault_ids: Array<string>;
2320
3475
  deployment_id?: null | string;
2321
3476
  cwd: string;
3477
+ workspace?: {
3478
+ kind: "shared" | "isolated";
3479
+ path?: string;
3480
+ branch?: string;
3481
+ };
2322
3482
  computer_id?: string;
2323
3483
  model?: {
2324
3484
  id: string;
@@ -2339,6 +3499,13 @@ export declare function createAgent(transport: Transport): {
2339
3499
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2340
3500
  }>;
2341
3501
  delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
3502
+ dictations: {
3503
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
3504
+ id: string;
3505
+ push_url: string;
3506
+ expires_at: string;
3507
+ }>;
3508
+ };
2342
3509
  events: {
2343
3510
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
2344
3511
  data: Array<{
@@ -2379,7 +3546,6 @@ export declare function createAgent(transport: Transport): {
2379
3546
  run_id: string | null;
2380
3547
  message_id?: string;
2381
3548
  } | {
2382
- full_access_available?: boolean;
2383
3549
  id: string;
2384
3550
  input: Types.AgentManaged197;
2385
3551
  mcp_server_name: string;
@@ -2389,6 +3555,18 @@ export declare function createAgent(transport: Transport): {
2389
3555
  evaluated_permission?: "allow" | "deny" | "ask";
2390
3556
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2391
3557
  session_thread_id?: null | string;
3558
+ permission_suggestions?: Array<{
3559
+ type: "add_rules";
3560
+ behavior: "allow";
3561
+ destination: "agent" | "session";
3562
+ rules: Array<{
3563
+ tool_name: string;
3564
+ rule_content: string;
3565
+ }>;
3566
+ }>;
3567
+ full_access_available?: boolean;
3568
+ user_once?: true;
3569
+ guarded_rule?: string;
2392
3570
  run_id: string | null;
2393
3571
  _meta?: {
2394
3572
  ui?: {
@@ -2402,17 +3580,6 @@ export declare function createAgent(transport: Transport): {
2402
3580
  };
2403
3581
  source?: "app" | "codemode";
2404
3582
  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
3583
  title?: string;
2417
3584
  input_titles?: {
2418
3585
  [key: string]: string;
@@ -2431,7 +3598,6 @@ export declare function createAgent(transport: Transport): {
2431
3598
  };
2432
3599
  source?: "app" | "codemode";
2433
3600
  } | {
2434
- full_access_available?: boolean;
2435
3601
  id: string;
2436
3602
  input: Types.AgentManaged206;
2437
3603
  name: string;
@@ -2440,9 +3606,6 @@ export declare function createAgent(transport: Transport): {
2440
3606
  evaluated_permission?: "allow" | "deny" | "ask";
2441
3607
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2442
3608
  session_thread_id?: null | string;
2443
- run_id: string | null;
2444
- user_once?: true;
2445
- guarded_rule?: string;
2446
3609
  permission_suggestions?: Array<{
2447
3610
  type: "add_rules";
2448
3611
  behavior: "allow";
@@ -2452,6 +3615,10 @@ export declare function createAgent(transport: Transport): {
2452
3615
  rule_content: string;
2453
3616
  }>;
2454
3617
  }>;
3618
+ full_access_available?: boolean;
3619
+ user_once?: true;
3620
+ guarded_rule?: string;
3621
+ run_id: string | null;
2455
3622
  } | {
2456
3623
  id: string;
2457
3624
  processed_at: string;
@@ -2472,9 +3639,6 @@ export declare function createAgent(transport: Transport): {
2472
3639
  type: "session.status_idle";
2473
3640
  run_id: string | null;
2474
3641
  } | 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
3642
  id: string;
2479
3643
  processed_at: string;
2480
3644
  type: "session.updated";
@@ -2482,6 +3646,9 @@ export declare function createAgent(transport: Transport): {
2482
3646
  budget?: null | Types.AgentManaged76;
2483
3647
  metadata?: Types.AgentManaged246;
2484
3648
  title?: null | string;
3649
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3650
+ previous_permission_mode?: string | null;
3651
+ permission_mode_version?: number;
2485
3652
  model?: {
2486
3653
  id: string;
2487
3654
  };
@@ -2540,21 +3707,6 @@ export declare function createAgent(transport: Transport): {
2540
3707
  type: "user.steer";
2541
3708
  event_id: string;
2542
3709
  processed_at: string;
2543
- } | {
2544
- id: string;
2545
- type: "user.tool_confirmation";
2546
- processed_at: string;
2547
- tool_use_id: string;
2548
- result: "allow";
2549
- answers: {
2550
- [key: string]: string;
2551
- };
2552
- annotations?: {
2553
- [key: string]: {
2554
- preview?: string;
2555
- notes?: string;
2556
- };
2557
- };
2558
3710
  }>;
2559
3711
  next_page: string | null;
2560
3712
  }>;
@@ -2575,21 +3727,6 @@ export declare function createAgent(transport: Transport): {
2575
3727
  type: "user.steer";
2576
3728
  event_id: string;
2577
3729
  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
- };
2593
3730
  }>;
2594
3731
  }>;
2595
3732
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2642,6 +3779,7 @@ export declare function createAgent(transport: Transport): {
2642
3779
  speed?: "standard" | "fast";
2643
3780
  settings?: {
2644
3781
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3782
+ max_output_tokens?: number;
2645
3783
  };
2646
3784
  };
2647
3785
  multiagent: null | {
@@ -3104,6 +4242,11 @@ export declare function createAgent(transport: Transport): {
3104
4242
  vault_ids: Array<string>;
3105
4243
  deployment_id?: null | string;
3106
4244
  cwd: string;
4245
+ workspace?: {
4246
+ kind: "shared" | "isolated";
4247
+ path?: string;
4248
+ branch?: string;
4249
+ };
3107
4250
  computer_id?: string;
3108
4251
  model?: {
3109
4252
  id: string;
@@ -3137,32 +4280,576 @@ export declare function createAgent(transport: Transport): {
3137
4280
  speed?: "standard" | "fast";
3138
4281
  settings?: {
3139
4282
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4283
+ max_output_tokens?: number;
4284
+ };
4285
+ };
4286
+ multiagent: null | Types.AgentManaged171;
4287
+ name: string;
4288
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4289
+ system: null | string;
4290
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4291
+ type: "agent";
4292
+ version: number;
4293
+ };
4294
+ archived_at: null | string;
4295
+ budget: null | Types.AgentManaged76;
4296
+ created_at: string;
4297
+ environment_id?: string;
4298
+ metadata: Types.AgentManaged173;
4299
+ outcome_evaluations: Array<Types.AgentManaged174>;
4300
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4301
+ stats: Types.AgentManaged178;
4302
+ status: "rescheduling" | "running" | "idle" | "terminated";
4303
+ title: null | string;
4304
+ type: "session";
4305
+ updated_at: string;
4306
+ usage: Types.AgentManaged179;
4307
+ vault_ids: Array<string>;
4308
+ deployment_id?: null | string;
4309
+ cwd: string;
4310
+ workspace?: {
4311
+ kind: "shared" | "isolated";
4312
+ path?: string;
4313
+ branch?: string;
4314
+ };
4315
+ computer_id?: string;
4316
+ model?: {
4317
+ id: string;
4318
+ thinking: {
4319
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4320
+ can_disable: boolean;
4321
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4322
+ } | null;
4323
+ };
4324
+ thinking?: {
4325
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4326
+ } | null;
4327
+ forked_from?: {
4328
+ session_id: string;
4329
+ message_id: string;
4330
+ } | null;
4331
+ readonly external_user_id: string | null;
4332
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4333
+ }>;
4334
+ next_page: string | null;
4335
+ }>;
4336
+ name: {
4337
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4338
+ id: string;
4339
+ agent: {
4340
+ id: string;
4341
+ description: null | string;
4342
+ mcp_servers: Array<{
4343
+ type: "url";
4344
+ name: string;
4345
+ url: string;
4346
+ headers?: {
4347
+ [key: string]: string;
4348
+ };
4349
+ timeout_ms?: number;
4350
+ } | {
4351
+ type: "sse";
4352
+ name: string;
4353
+ url: string;
4354
+ headers?: {
4355
+ [key: string]: string;
4356
+ };
4357
+ timeout_ms?: number;
4358
+ } | {
4359
+ type: "stdio";
4360
+ name: string;
4361
+ command: string;
4362
+ args?: Array<string>;
4363
+ env?: {
4364
+ [key: string]: string;
4365
+ };
4366
+ timeout_ms?: number;
4367
+ }>;
4368
+ model: {
4369
+ id: string;
4370
+ effort?: {
4371
+ type: "low";
4372
+ } | {
4373
+ type: "medium";
4374
+ } | {
4375
+ type: "high";
4376
+ } | {
4377
+ type: "xhigh";
4378
+ } | {
4379
+ type: "max";
4380
+ };
4381
+ inference_geo?: string;
4382
+ speed?: "standard" | "fast";
4383
+ settings?: {
4384
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4385
+ max_output_tokens?: number;
3140
4386
  };
3141
4387
  };
3142
- multiagent: null | Types.AgentManaged171;
4388
+ multiagent: null | {
4389
+ agents: Array<{
4390
+ model: string;
4391
+ type: "advisor";
4392
+ } | {
4393
+ id: string;
4394
+ description: null | string;
4395
+ mcp_servers: Array<{
4396
+ type: "url";
4397
+ name: string;
4398
+ url: string;
4399
+ headers?: {
4400
+ [key: string]: string;
4401
+ };
4402
+ timeout_ms?: number;
4403
+ } | {
4404
+ type: "sse";
4405
+ name: string;
4406
+ url: string;
4407
+ headers?: {
4408
+ [key: string]: string;
4409
+ };
4410
+ timeout_ms?: number;
4411
+ } | {
4412
+ type: "stdio";
4413
+ name: string;
4414
+ command: string;
4415
+ args?: Array<string>;
4416
+ env?: {
4417
+ [key: string]: string;
4418
+ };
4419
+ timeout_ms?: number;
4420
+ }>;
4421
+ model: {
4422
+ id: string;
4423
+ effort?: {
4424
+ type: "low";
4425
+ } | {
4426
+ type: "medium";
4427
+ } | {
4428
+ type: "high";
4429
+ } | {
4430
+ type: "xhigh";
4431
+ } | {
4432
+ type: "max";
4433
+ };
4434
+ inference_geo?: string;
4435
+ speed?: "standard" | "fast";
4436
+ };
4437
+ name: string;
4438
+ skills: Array<{
4439
+ skill_id: string;
4440
+ type: "anthropic";
4441
+ version: string;
4442
+ } | {
4443
+ skill_id: string;
4444
+ type: "custom";
4445
+ version: string;
4446
+ }>;
4447
+ system: null | string;
4448
+ tools: Array<{
4449
+ configs: Array<{
4450
+ enabled: boolean;
4451
+ name: "bash";
4452
+ permission_policy: {
4453
+ type: "always_allow";
4454
+ } | {
4455
+ type: "always_ask";
4456
+ } | {
4457
+ type: "auto";
4458
+ };
4459
+ type: "bash";
4460
+ } | {
4461
+ enabled: boolean;
4462
+ name: "edit";
4463
+ permission_policy: {
4464
+ type: "always_allow";
4465
+ } | {
4466
+ type: "always_ask";
4467
+ } | {
4468
+ type: "auto";
4469
+ };
4470
+ type: "edit";
4471
+ } | {
4472
+ enabled: boolean;
4473
+ name: "read";
4474
+ permission_policy: {
4475
+ type: "always_allow";
4476
+ } | {
4477
+ type: "always_ask";
4478
+ } | {
4479
+ type: "auto";
4480
+ };
4481
+ type: "read";
4482
+ } | {
4483
+ enabled: boolean;
4484
+ name: "write";
4485
+ permission_policy: {
4486
+ type: "always_allow";
4487
+ } | {
4488
+ type: "always_ask";
4489
+ } | {
4490
+ type: "auto";
4491
+ };
4492
+ type: "write";
4493
+ } | {
4494
+ enabled: boolean;
4495
+ name: "glob";
4496
+ permission_policy: {
4497
+ type: "always_allow";
4498
+ } | {
4499
+ type: "always_ask";
4500
+ } | {
4501
+ type: "auto";
4502
+ };
4503
+ type: "glob";
4504
+ } | {
4505
+ enabled: boolean;
4506
+ name: "grep";
4507
+ permission_policy: {
4508
+ type: "always_allow";
4509
+ } | {
4510
+ type: "always_ask";
4511
+ } | {
4512
+ type: "auto";
4513
+ };
4514
+ type: "grep";
4515
+ } | {
4516
+ enabled: boolean;
4517
+ name: "web_fetch";
4518
+ permission_policy: {
4519
+ type: "always_allow";
4520
+ } | {
4521
+ type: "always_ask";
4522
+ } | {
4523
+ type: "auto";
4524
+ };
4525
+ type: "web_fetch";
4526
+ allowed_domains?: Array<string>;
4527
+ blocked_domains?: Array<string>;
4528
+ max_content_tokens?: null | number;
4529
+ } | {
4530
+ enabled: boolean;
4531
+ name: "web_search";
4532
+ permission_policy: {
4533
+ type: "always_allow";
4534
+ } | {
4535
+ type: "always_ask";
4536
+ } | {
4537
+ type: "auto";
4538
+ };
4539
+ type: "web_search";
4540
+ allowed_domains?: Array<string>;
4541
+ blocked_domains?: Array<string>;
4542
+ user_location?: null | {
4543
+ type: "approximate";
4544
+ city?: null | string;
4545
+ country?: null | string;
4546
+ region?: null | string;
4547
+ timezone?: null | string;
4548
+ };
4549
+ } | {
4550
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4551
+ enabled: boolean;
4552
+ permission_policy: {
4553
+ type: "always_allow" | "always_ask";
4554
+ };
4555
+ }>;
4556
+ default_config: {
4557
+ enabled: boolean;
4558
+ permission_policy: {
4559
+ type: "always_allow";
4560
+ } | {
4561
+ type: "always_ask";
4562
+ } | {
4563
+ type: "auto";
4564
+ };
4565
+ };
4566
+ type: "agent_toolset_20260401";
4567
+ } | {
4568
+ type: "mcp_toolset";
4569
+ mcp_server_name: string;
4570
+ default_config?: {
4571
+ enabled?: boolean | null;
4572
+ permission_policy?: null | {
4573
+ type: "always_allow" | "always_ask";
4574
+ };
4575
+ } | null;
4576
+ configs?: Array<{
4577
+ name: string;
4578
+ enabled?: boolean | null;
4579
+ permission_policy?: null | {
4580
+ type: "always_allow" | "always_ask";
4581
+ };
4582
+ }> | null;
4583
+ } | {
4584
+ description: string;
4585
+ input_schema: {
4586
+ type: "object";
4587
+ properties?: null | {
4588
+ [key: string]: unknown;
4589
+ };
4590
+ required?: null | Array<string>;
4591
+ [key: string]: unknown;
4592
+ };
4593
+ name: string;
4594
+ type: "custom";
4595
+ }>;
4596
+ type: "agent";
4597
+ version: number;
4598
+ }>;
4599
+ type: "coordinator";
4600
+ };
3143
4601
  name: string;
3144
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4602
+ skills: Array<{
4603
+ skill_id: string;
4604
+ type: "anthropic";
4605
+ version: string;
4606
+ } | {
4607
+ skill_id: string;
4608
+ type: "custom";
4609
+ version: string;
4610
+ }>;
3145
4611
  system: null | string;
3146
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4612
+ tools: Array<{
4613
+ configs: Array<{
4614
+ enabled: boolean;
4615
+ name: "bash";
4616
+ permission_policy: {
4617
+ type: "always_allow";
4618
+ } | {
4619
+ type: "always_ask";
4620
+ } | {
4621
+ type: "auto";
4622
+ };
4623
+ type: "bash";
4624
+ } | {
4625
+ enabled: boolean;
4626
+ name: "edit";
4627
+ permission_policy: {
4628
+ type: "always_allow";
4629
+ } | {
4630
+ type: "always_ask";
4631
+ } | {
4632
+ type: "auto";
4633
+ };
4634
+ type: "edit";
4635
+ } | {
4636
+ enabled: boolean;
4637
+ name: "read";
4638
+ permission_policy: {
4639
+ type: "always_allow";
4640
+ } | {
4641
+ type: "always_ask";
4642
+ } | {
4643
+ type: "auto";
4644
+ };
4645
+ type: "read";
4646
+ } | {
4647
+ enabled: boolean;
4648
+ name: "write";
4649
+ permission_policy: {
4650
+ type: "always_allow";
4651
+ } | {
4652
+ type: "always_ask";
4653
+ } | {
4654
+ type: "auto";
4655
+ };
4656
+ type: "write";
4657
+ } | {
4658
+ enabled: boolean;
4659
+ name: "glob";
4660
+ permission_policy: {
4661
+ type: "always_allow";
4662
+ } | {
4663
+ type: "always_ask";
4664
+ } | {
4665
+ type: "auto";
4666
+ };
4667
+ type: "glob";
4668
+ } | {
4669
+ enabled: boolean;
4670
+ name: "grep";
4671
+ permission_policy: {
4672
+ type: "always_allow";
4673
+ } | {
4674
+ type: "always_ask";
4675
+ } | {
4676
+ type: "auto";
4677
+ };
4678
+ type: "grep";
4679
+ } | {
4680
+ enabled: boolean;
4681
+ name: "web_fetch";
4682
+ permission_policy: {
4683
+ type: "always_allow";
4684
+ } | {
4685
+ type: "always_ask";
4686
+ } | {
4687
+ type: "auto";
4688
+ };
4689
+ type: "web_fetch";
4690
+ allowed_domains?: Array<string>;
4691
+ blocked_domains?: Array<string>;
4692
+ max_content_tokens?: null | number;
4693
+ } | {
4694
+ enabled: boolean;
4695
+ name: "web_search";
4696
+ permission_policy: {
4697
+ type: "always_allow";
4698
+ } | {
4699
+ type: "always_ask";
4700
+ } | {
4701
+ type: "auto";
4702
+ };
4703
+ type: "web_search";
4704
+ allowed_domains?: Array<string>;
4705
+ blocked_domains?: Array<string>;
4706
+ user_location?: null | {
4707
+ type: "approximate";
4708
+ city?: null | string;
4709
+ country?: null | string;
4710
+ region?: null | string;
4711
+ timezone?: null | string;
4712
+ };
4713
+ } | {
4714
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4715
+ enabled: boolean;
4716
+ permission_policy: {
4717
+ type: "always_allow" | "always_ask";
4718
+ };
4719
+ }>;
4720
+ default_config: {
4721
+ enabled: boolean;
4722
+ permission_policy: {
4723
+ type: "always_allow";
4724
+ } | {
4725
+ type: "always_ask";
4726
+ } | {
4727
+ type: "auto";
4728
+ };
4729
+ };
4730
+ type: "agent_toolset_20260401";
4731
+ } | {
4732
+ type: "mcp_toolset";
4733
+ mcp_server_name: string;
4734
+ default_config?: {
4735
+ enabled?: boolean | null;
4736
+ permission_policy?: null | {
4737
+ type: "always_allow" | "always_ask";
4738
+ };
4739
+ } | null;
4740
+ configs?: Array<{
4741
+ name: string;
4742
+ enabled?: boolean | null;
4743
+ permission_policy?: null | {
4744
+ type: "always_allow" | "always_ask";
4745
+ };
4746
+ }> | null;
4747
+ } | {
4748
+ description: string;
4749
+ input_schema: {
4750
+ type: "object";
4751
+ properties?: null | {
4752
+ [key: string]: unknown;
4753
+ };
4754
+ required?: null | Array<string>;
4755
+ [key: string]: unknown;
4756
+ };
4757
+ name: string;
4758
+ type: "custom";
4759
+ }>;
3147
4760
  type: "agent";
3148
4761
  version: number;
3149
4762
  };
3150
4763
  archived_at: null | string;
3151
- budget: null | Types.AgentManaged76;
4764
+ budget: null | {
4765
+ max_list_cost: {
4766
+ amount: string;
4767
+ currency: "USD";
4768
+ };
4769
+ type: "limit";
4770
+ };
3152
4771
  created_at: string;
3153
4772
  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;
4773
+ metadata: {
4774
+ [key: string]: string;
4775
+ };
4776
+ outcome_evaluations: Array<{
4777
+ completed_at: null | string;
4778
+ description: string;
4779
+ explanation: null | string;
4780
+ iteration: number;
4781
+ outcome_id: string;
4782
+ result: string;
4783
+ type: "outcome_evaluation";
4784
+ }>;
4785
+ resources: Array<{
4786
+ id: string;
4787
+ created_at: string;
4788
+ mount_path: string;
4789
+ type: "github_repository";
4790
+ updated_at: string;
4791
+ url: string;
4792
+ checkout?: null | {
4793
+ name: string;
4794
+ type: "branch";
4795
+ } | {
4796
+ sha: string;
4797
+ type: "commit";
4798
+ };
4799
+ } | {
4800
+ id: string;
4801
+ created_at: string;
4802
+ file_id: string;
4803
+ mount_path: string;
4804
+ type: "file";
4805
+ updated_at: string;
4806
+ } | {
4807
+ memory_store_id: string;
4808
+ type: "memory_store";
4809
+ access?: null | "read_write" | "read_only";
4810
+ description?: string;
4811
+ instructions?: null | string;
4812
+ mount_path?: null | string;
4813
+ name?: null | string;
4814
+ }>;
4815
+ stats: {
4816
+ active_seconds?: number;
4817
+ duration_seconds?: number;
4818
+ };
3158
4819
  status: "rescheduling" | "running" | "idle" | "terminated";
3159
4820
  title: null | string;
3160
4821
  type: "session";
3161
4822
  updated_at: string;
3162
- usage: Types.AgentManaged179;
4823
+ usage: {
4824
+ active_seconds?: number;
4825
+ cache_creation?: {
4826
+ ephemeral_1h_input_tokens?: number;
4827
+ ephemeral_5m_input_tokens?: number;
4828
+ };
4829
+ cache_read_input_tokens?: number;
4830
+ input_tokens?: number;
4831
+ list_cost?: null | {
4832
+ amount: string;
4833
+ currency: "USD";
4834
+ };
4835
+ output_tokens?: number;
4836
+ server_tool_use?: null | {
4837
+ web_fetch_requests?: number;
4838
+ web_search_requests?: number;
4839
+ };
4840
+ cost_by_product?: {
4841
+ [key: string]: string;
4842
+ };
4843
+ subagent_cost_micro_usd?: number;
4844
+ };
3163
4845
  vault_ids: Array<string>;
3164
4846
  deployment_id?: null | string;
3165
4847
  cwd: string;
4848
+ workspace?: {
4849
+ kind: "shared" | "isolated";
4850
+ path?: string;
4851
+ branch?: string;
4852
+ };
3166
4853
  computer_id?: string;
3167
4854
  model?: {
3168
4855
  id: string;
@@ -3182,8 +4869,21 @@ export declare function createAgent(transport: Transport): {
3182
4869
  readonly external_user_id: string | null;
3183
4870
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3184
4871
  }>;
3185
- next_page: string | null;
3186
- }>;
4872
+ };
4873
+ requests: {
4874
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4875
+ data: Array<{
4876
+ id: string;
4877
+ object: "request";
4878
+ kind: "question" | "approval";
4879
+ status: "pending";
4880
+ tool_name: string;
4881
+ input: unknown;
4882
+ create_time: string;
4883
+ expire_time: string | null;
4884
+ }>;
4885
+ }>;
4886
+ };
3187
4887
  resources: {
3188
4888
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3189
4889
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3214,6 +4914,7 @@ export declare function createAgent(transport: Transport): {
3214
4914
  speed?: "standard" | "fast";
3215
4915
  settings?: {
3216
4916
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4917
+ max_output_tokens?: number;
3217
4918
  };
3218
4919
  };
3219
4920
  multiagent: null | Types.AgentManaged171;
@@ -3240,6 +4941,11 @@ export declare function createAgent(transport: Transport): {
3240
4941
  vault_ids: Array<string>;
3241
4942
  deployment_id?: null | string;
3242
4943
  cwd: string;
4944
+ workspace?: {
4945
+ kind: "shared" | "isolated";
4946
+ path?: string;
4947
+ branch?: string;
4948
+ };
3243
4949
  computer_id?: string;
3244
4950
  model?: {
3245
4951
  id: string;
@@ -3386,7 +5092,6 @@ export declare function createAgent(transport: Transport): {
3386
5092
  run_id: string | null;
3387
5093
  message_id?: string;
3388
5094
  } | {
3389
- full_access_available?: boolean;
3390
5095
  id: string;
3391
5096
  input: Types.AgentManaged197;
3392
5097
  mcp_server_name: string;
@@ -3396,6 +5101,18 @@ export declare function createAgent(transport: Transport): {
3396
5101
  evaluated_permission?: "allow" | "deny" | "ask";
3397
5102
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3398
5103
  session_thread_id?: null | string;
5104
+ permission_suggestions?: Array<{
5105
+ type: "add_rules";
5106
+ behavior: "allow";
5107
+ destination: "agent" | "session";
5108
+ rules: Array<{
5109
+ tool_name: string;
5110
+ rule_content: string;
5111
+ }>;
5112
+ }>;
5113
+ full_access_available?: boolean;
5114
+ user_once?: true;
5115
+ guarded_rule?: string;
3399
5116
  run_id: string | null;
3400
5117
  parent_tool_use_id?: string;
3401
5118
  _meta?: {
@@ -3409,17 +5126,6 @@ export declare function createAgent(transport: Transport): {
3409
5126
  };
3410
5127
  };
3411
5128
  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
5129
  title?: string;
3424
5130
  input_titles?: {
3425
5131
  [key: string]: string;
@@ -3438,7 +5144,6 @@ export declare function createAgent(transport: Transport): {
3438
5144
  };
3439
5145
  source?: "app" | "codemode";
3440
5146
  } | {
3441
- full_access_available?: boolean;
3442
5147
  id: string;
3443
5148
  input: Types.AgentManaged206;
3444
5149
  name: string;
@@ -3447,9 +5152,6 @@ export declare function createAgent(transport: Transport): {
3447
5152
  evaluated_permission?: "allow" | "deny" | "ask";
3448
5153
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3449
5154
  session_thread_id?: null | string;
3450
- run_id: string | null;
3451
- user_once?: true;
3452
- guarded_rule?: string;
3453
5155
  permission_suggestions?: Array<{
3454
5156
  type: "add_rules";
3455
5157
  behavior: "allow";
@@ -3459,6 +5161,10 @@ export declare function createAgent(transport: Transport): {
3459
5161
  rule_content: string;
3460
5162
  }>;
3461
5163
  }>;
5164
+ full_access_available?: boolean;
5165
+ user_once?: true;
5166
+ guarded_rule?: string;
5167
+ run_id: string | null;
3462
5168
  } | {
3463
5169
  id: string;
3464
5170
  processed_at: string;
@@ -3479,9 +5185,6 @@ export declare function createAgent(transport: Transport): {
3479
5185
  type: "session.status_idle";
3480
5186
  run_id: string | null;
3481
5187
  } | 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
5188
  id: string;
3486
5189
  processed_at: string;
3487
5190
  type: "session.updated";
@@ -3489,6 +5192,9 @@ export declare function createAgent(transport: Transport): {
3489
5192
  budget?: null | Types.AgentManaged76;
3490
5193
  metadata?: Types.AgentManaged246;
3491
5194
  title?: null | string;
5195
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5196
+ previous_permission_mode?: string | null;
5197
+ permission_mode_version?: number;
3492
5198
  model?: {
3493
5199
  id: string;
3494
5200
  };
@@ -3579,6 +5285,7 @@ export declare function createAgent(transport: Transport): {
3579
5285
  speed?: "standard" | "fast";
3580
5286
  settings?: {
3581
5287
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5288
+ max_output_tokens?: number;
3582
5289
  };
3583
5290
  };
3584
5291
  multiagent: null | Types.AgentManaged171;
@@ -3605,6 +5312,11 @@ export declare function createAgent(transport: Transport): {
3605
5312
  vault_ids: Array<string>;
3606
5313
  deployment_id?: null | string;
3607
5314
  cwd: string;
5315
+ workspace?: {
5316
+ kind: "shared" | "isolated";
5317
+ path?: string;
5318
+ branch?: string;
5319
+ };
3608
5320
  computer_id?: string;
3609
5321
  model?: {
3610
5322
  id: string;
@@ -3669,6 +5381,29 @@ export declare function createAgent(transport: Transport): {
3669
5381
  next_page: null;
3670
5382
  }>;
3671
5383
  };
5384
+ uploads: {
5385
+ contentUrl: {
5386
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5387
+ url: string;
5388
+ expires_at: string;
5389
+ }>;
5390
+ };
5391
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5392
+ upload_id: string;
5393
+ expires_at: string;
5394
+ url: string;
5395
+ } | {
5396
+ upload_id: string;
5397
+ expires_at: string;
5398
+ part_size: number;
5399
+ parts: Array<{
5400
+ part_number: number;
5401
+ url: string;
5402
+ }>;
5403
+ complete_url: string;
5404
+ status_url: string;
5405
+ }>;
5406
+ };
3672
5407
  };
3673
5408
  export declare function createApplication(transport: Transport): {
3674
5409
  assets: {
@@ -3933,6 +5668,11 @@ export declare function createAutomation(transport: Transport): {
3933
5668
  };
3934
5669
  };
3935
5670
  };
5671
+ export declare function createBilling(transport: Transport): {
5672
+ prices: {
5673
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5674
+ };
5675
+ };
3936
5676
  export declare function createBrowser(transport: Transport): {
3937
5677
  connect: {
3938
5678
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3956,6 +5696,49 @@ export declare function createBrowser(transport: Transport): {
3956
5696
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3957
5697
  };
3958
5698
  sessions: {
5699
+ actions: {
5700
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5701
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5702
+ tab: string;
5703
+ url: string;
5704
+ title: string;
5705
+ } | {
5706
+ type: "select";
5707
+ tab: string;
5708
+ values: Array<string>;
5709
+ } | {
5710
+ type: "tabs.list";
5711
+ tabs: Array<{
5712
+ id: string;
5713
+ url: string;
5714
+ title: string;
5715
+ active: boolean;
5716
+ }>;
5717
+ } | {
5718
+ type: "snapshot";
5719
+ tab: string;
5720
+ url: string;
5721
+ title: string;
5722
+ snapshot: string;
5723
+ refs: number;
5724
+ truncated: boolean;
5725
+ } | {
5726
+ type: "screenshot";
5727
+ tab: string;
5728
+ mediaType: "image/png";
5729
+ data: string;
5730
+ bytes: number;
5731
+ } | {
5732
+ type: "evaluate";
5733
+ tab: string;
5734
+ value: unknown;
5735
+ } | {
5736
+ type: "set_cookie";
5737
+ tab: string;
5738
+ name: string;
5739
+ domain: string;
5740
+ }>;
5741
+ };
3959
5742
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3960
5743
  events: {
3961
5744
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3963,6 +5746,7 @@ export declare function createBrowser(transport: Transport): {
3963
5746
  nextCursor: string | null;
3964
5747
  }>;
3965
5748
  };
5749
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3966
5750
  handoff: {
3967
5751
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3968
5752
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3973,6 +5757,7 @@ export declare function createBrowser(transport: Transport): {
3973
5757
  }>;
3974
5758
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3975
5759
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5760
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3976
5761
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3977
5762
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3978
5763
  viewer: {
@@ -4009,6 +5794,24 @@ export declare function createCanvas(transport: Transport): {
4009
5794
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4010
5795
  };
4011
5796
  };
5797
+ export declare function createContent(transport: Transport): {
5798
+ contents: {
5799
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5800
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5801
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5802
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5803
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5804
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5805
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5806
+ };
5807
+ playbackSessions: {
5808
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5809
+ };
5810
+ versions: {
5811
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5812
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5813
+ };
5814
+ };
4012
5815
  export declare function createCrm(transport: Transport): {
4013
5816
  associations: {
4014
5817
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4069,6 +5872,32 @@ export declare function createCrm(transport: Transport): {
4069
5872
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4070
5873
  };
4071
5874
  };
5875
+ export declare function createCustomer(transport: Transport): {
5876
+ accessTokens: {
5877
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5878
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5879
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5880
+ };
5881
+ customers: {
5882
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5883
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5884
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5885
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5886
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5887
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5888
+ };
5889
+ grantCodes: {
5890
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5891
+ };
5892
+ publishableKeys: {
5893
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5894
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5895
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5896
+ };
5897
+ usage: {
5898
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5899
+ };
5900
+ };
4072
5901
  export declare function createCut(transport: Transport): {
4073
5902
  exports: {
4074
5903
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4076,7 +5905,9 @@ export declare function createCut(transport: Transport): {
4076
5905
  };
4077
5906
  projects: {
4078
5907
  analysis: {
4079
- create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
5908
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5909
+ kind: "cut-AnalysisResult";
5910
+ } & Types.CutAnalysisResult>;
4080
5911
  };
4081
5912
  bindings: {
4082
5913
  create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
@@ -4097,6 +5928,9 @@ export declare function createCut(transport: Transport): {
4097
5928
  media: {
4098
5929
  import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
4099
5930
  };
5931
+ renders: {
5932
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5933
+ };
4100
5934
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
4101
5935
  retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
4102
5936
  retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
@@ -4107,21 +5941,49 @@ export declare function createCut(transport: Transport): {
4107
5941
  list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
4108
5942
  };
4109
5943
  };
5944
+ renders: {
5945
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5946
+ };
4110
5947
  versions: {
4111
5948
  restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
4112
5949
  };
4113
5950
  };
4114
5951
  export declare function createDatabase(transport: Transport): {
4115
5952
  databases: {
5953
+ commands: {
5954
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
5955
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
5956
+ result: unknown;
5957
+ }>;
5958
+ };
5959
+ /** @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
5960
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
5961
+ /** @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
5962
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4118
5963
  events: {
5964
+ /** @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
5965
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4120
5966
  data: Array<Types.DatabaseDatabaseEvent>;
4121
5967
  }>;
4122
5968
  };
5969
+ keys: {
5970
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
5971
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
5972
+ deleted: boolean;
5973
+ }>;
5974
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
5975
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
5976
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
5977
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
5978
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
5979
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
5980
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
5981
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
5982
+ };
5983
+ /** @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
5984
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4124
5985
  purge: {
5986
+ /** @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
5987
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4126
5988
  id: string;
4127
5989
  object: "database";
@@ -4129,31 +5991,313 @@ export declare function createDatabase(transport: Transport): {
4129
5991
  }>;
4130
5992
  };
4131
5993
  rest: {
4132
- create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4133
- delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4134
- head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
4135
- retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4136
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5994
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
5995
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5996
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
5997
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5998
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
5999
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
6000
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
6001
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6002
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
6003
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6004
+ };
6005
+ /** @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. */
6006
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6007
+ /** @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. */
6008
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
6009
+ tables: {
6010
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
6011
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6012
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
6013
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
6014
+ deleted: true;
6015
+ }>;
6016
+ fields: {
6017
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
6018
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6019
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
6020
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6021
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
6022
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
6023
+ };
6024
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
6025
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
6026
+ data: Array<Types.DatabaseTable>;
6027
+ }>;
6028
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
6029
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6030
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
6031
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
6032
+ };
6033
+ /** @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. */
6034
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
6035
+ };
6036
+ kv: {
6037
+ commands: {
6038
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6039
+ result: unknown;
6040
+ }>;
6041
+ };
6042
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6043
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6044
+ events: {
6045
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6046
+ data: Array<Types.DatabaseDatabaseEvent>;
6047
+ }>;
6048
+ };
6049
+ keys: {
6050
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6051
+ deleted: boolean;
6052
+ }>;
6053
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6054
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6055
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6056
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6057
+ };
6058
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6059
+ purge: {
6060
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6061
+ id: string;
6062
+ object: "database";
6063
+ purged: true;
6064
+ }>;
6065
+ };
6066
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6067
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6068
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6069
+ };
6070
+ table: {
6071
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6072
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6073
+ events: {
6074
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6075
+ data: Array<Types.DatabaseDatabaseEvent>;
6076
+ }>;
6077
+ };
6078
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6079
+ purge: {
6080
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6081
+ id: string;
6082
+ object: "database";
6083
+ purged: true;
6084
+ }>;
6085
+ };
6086
+ rest: {
6087
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6088
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6089
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6090
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6091
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4137
6092
  };
4138
- restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
4139
- retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
6093
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6094
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
4140
6095
  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<{
6096
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6097
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
4143
6098
  deleted: true;
4144
6099
  }>;
4145
6100
  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>;
6101
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6102
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6103
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
4149
6104
  };
4150
- list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
6105
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
4151
6106
  data: Array<Types.DatabaseTable>;
4152
6107
  }>;
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>;
6108
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6109
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6110
+ };
6111
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6112
+ };
6113
+ };
6114
+ export declare function createDevops(transport: Transport): {
6115
+ changes: {
6116
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6117
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
6118
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6119
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
6120
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6121
+ };
6122
+ connections: {
6123
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6124
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6125
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6126
+ repositories: {
6127
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6128
+ };
6129
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6130
+ };
6131
+ environments: {
6132
+ checkpoints: {
6133
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6134
+ };
6135
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6136
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6137
+ };
6138
+ flags: {
6139
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6140
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6141
+ environments: {
6142
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6143
+ };
6144
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6145
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6146
+ };
6147
+ progressiveRollouts: {
6148
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6149
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6150
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6151
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6152
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6153
+ };
6154
+ projects: {
6155
+ changes: {
6156
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6157
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6158
+ };
6159
+ cleanups: {
6160
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6161
+ };
6162
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6163
+ defaultBranch: {
6164
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6165
+ };
6166
+ environments: {
6167
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6168
+ targets: {
6169
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6170
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6171
+ state: {
6172
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6173
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6174
+ lock: {
6175
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6176
+ };
6177
+ };
6178
+ };
6179
+ };
6180
+ flags: {
6181
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6182
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6183
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6184
+ };
6185
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6186
+ promotions: {
6187
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6188
+ };
6189
+ pullRequests: {
6190
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6191
+ };
6192
+ releases: {
6193
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6194
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6195
+ };
6196
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6197
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6198
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6199
+ segments: {
6200
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6201
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6202
+ };
6203
+ targets: {
6204
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6205
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6206
+ };
6207
+ testCases: {
6208
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6209
+ };
6210
+ testPlans: {
6211
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6212
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6213
+ };
6214
+ testReports: {
6215
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6216
+ };
6217
+ testRuns: {
6218
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6219
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6220
+ };
6221
+ testSuites: {
6222
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6223
+ };
6224
+ units: {
6225
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6226
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6227
+ };
6228
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6229
+ workspaces: {
6230
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6231
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6232
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6233
+ };
6234
+ };
6235
+ promotions: {
6236
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6237
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6238
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
6239
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6240
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6241
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6242
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6243
+ rollouts: {
6244
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6245
+ };
6246
+ };
6247
+ pullRequests: {
6248
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6249
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6250
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6251
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6252
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6253
+ reviews: {
6254
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6255
+ };
6256
+ };
6257
+ releases: {
6258
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6259
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6260
+ };
6261
+ rollouts: {
6262
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6263
+ };
6264
+ segments: {
6265
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6266
+ };
6267
+ testCases: {
6268
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6269
+ };
6270
+ testPlans: {
6271
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6272
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6273
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6274
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6275
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6276
+ };
6277
+ testRuns: {
6278
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6279
+ executions: {
6280
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6281
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6282
+ };
6283
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6284
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6285
+ };
6286
+ testSuites: {
6287
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6288
+ };
6289
+ units: {
6290
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6291
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6292
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6293
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6294
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6295
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6296
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6297
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6298
+ transitions: {
6299
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
4155
6300
  };
4156
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4157
6301
  };
4158
6302
  };
4159
6303
  export declare function createFile(transport: Transport): {
@@ -4183,6 +6327,7 @@ export declare function createFile(transport: Transport): {
4183
6327
  parts: {
4184
6328
  create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4185
6329
  };
6330
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4186
6331
  };
4187
6332
  };
4188
6333
  export declare function createKnowledge(transport: Transport): {
@@ -4230,14 +6375,33 @@ export declare function createKnowledge(transport: Transport): {
4230
6375
  };
4231
6376
  };
4232
6377
  export declare function createMedia(transport: Transport): {
6378
+ assets: {
6379
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6380
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6381
+ };
6382
+ generation: {
6383
+ capabilities: {
6384
+ list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
6385
+ };
6386
+ };
6387
+ images: {
6388
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6389
+ };
4233
6390
  libraries: {
4234
6391
  assets: {
6392
+ align: {
6393
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6394
+ };
4235
6395
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4236
6396
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4237
6397
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4238
6398
  frames: {
4239
6399
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4240
6400
  };
6401
+ hls: {
6402
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6403
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6404
+ };
4241
6405
  import: {
4242
6406
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4243
6407
  };
@@ -4250,6 +6414,9 @@ export declare function createMedia(transport: Transport): {
4250
6414
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4251
6415
  };
4252
6416
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6417
+ versions: {
6418
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6419
+ };
4253
6420
  };
4254
6421
  batches: {
4255
6422
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4267,14 +6434,22 @@ export declare function createMedia(transport: Transport): {
4267
6434
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4268
6435
  };
4269
6436
  jobs: {
6437
+ cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
6438
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4270
6439
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4271
6440
  };
4272
6441
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6442
+ materials: {
6443
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6444
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6445
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6446
+ };
4273
6447
  purge: {
4274
6448
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4275
6449
  };
4276
6450
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4277
6451
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6452
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4278
6453
  search: {
4279
6454
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4280
6455
  expression: {
@@ -4287,11 +6462,24 @@ export declare function createMedia(transport: Transport): {
4287
6462
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4288
6463
  };
4289
6464
  };
6465
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
4290
6466
  understandings: {
4291
6467
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4292
6468
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4293
6469
  };
4294
6470
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6471
+ voices: {
6472
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6473
+ designs: {
6474
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6475
+ };
6476
+ };
6477
+ };
6478
+ speech: {
6479
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6480
+ };
6481
+ videos: {
6482
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4295
6483
  };
4296
6484
  };
4297
6485
  export declare function createMeta(transport: Transport): {
@@ -4492,7 +6680,35 @@ export declare function createModel(transport: Transport): {
4492
6680
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4493
6681
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4494
6682
  };
6683
+ modelAccess: {
6684
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6685
+ items: Array<{
6686
+ model: string;
6687
+ access_required: boolean;
6688
+ granted: boolean;
6689
+ granted_by: string | null;
6690
+ granted_at: string | null;
6691
+ sell_input_price: number | null;
6692
+ sell_output_price: number | null;
6693
+ }>;
6694
+ }>;
6695
+ };
4495
6696
  models: {
6697
+ access: {
6698
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6699
+ model: string;
6700
+ revoked: true;
6701
+ }>;
6702
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6703
+ model: string;
6704
+ access_required: boolean;
6705
+ granted: true;
6706
+ granted_by: string;
6707
+ granted_at: string;
6708
+ sell_input_price: number | null;
6709
+ sell_output_price: number | null;
6710
+ }>;
6711
+ };
4496
6712
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4497
6713
  object: "list";
4498
6714
  data: Array<{
@@ -4507,6 +6723,7 @@ export declare function createModel(transport: Transport): {
4507
6723
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4508
6724
  supported_apis: Array<string>;
4509
6725
  tags: Array<string>;
6726
+ access_required: boolean;
4510
6727
  architecture: {
4511
6728
  modality: string;
4512
6729
  input_modalities: Array<string>;
@@ -4553,6 +6770,7 @@ export declare function createModel(transport: Transport): {
4553
6770
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4554
6771
  supported_apis: Array<string>;
4555
6772
  tags: Array<string>;
6773
+ access_required: boolean;
4556
6774
  architecture: {
4557
6775
  modality: string;
4558
6776
  input_modalities: Array<string>;
@@ -4779,6 +6997,7 @@ export declare function createModel(transport: Transport): {
4779
6997
  unsigned_urls: Array<string>;
4780
6998
  usage?: {
4781
6999
  cost: number;
7000
+ billed_seconds?: number;
4782
7001
  };
4783
7002
  }>;
4784
7003
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4809,6 +7028,7 @@ export declare function createModel(transport: Transport): {
4809
7028
  unsigned_urls: Array<string>;
4810
7029
  usage?: {
4811
7030
  cost: number;
7031
+ billed_seconds?: number;
4812
7032
  };
4813
7033
  }>;
4814
7034
  has_more: boolean;
@@ -4837,11 +7057,43 @@ export declare function createModel(transport: Transport): {
4837
7057
  unsigned_urls: Array<string>;
4838
7058
  usage?: {
4839
7059
  cost: number;
7060
+ billed_seconds?: number;
4840
7061
  };
4841
7062
  }>;
4842
7063
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
4843
7064
  };
4844
7065
  };
7066
+ export declare function createOntology(transport: Transport): {
7067
+ changesets: {
7068
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
7069
+ };
7070
+ nodes: {
7071
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
7072
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
7073
+ merge: {
7074
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
7075
+ };
7076
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
7077
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
7078
+ update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
7079
+ };
7080
+ relations: {
7081
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
7082
+ invalidate: {
7083
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
7084
+ };
7085
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
7086
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
7087
+ };
7088
+ search: {
7089
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
7090
+ };
7091
+ types: {
7092
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
7093
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
7094
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
7095
+ };
7096
+ };
4845
7097
  export declare function createOrganization(transport: Transport): {
4846
7098
  charges: {
4847
7099
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
@@ -5099,6 +7351,83 @@ export declare function createOrganization(transport: Transport): {
5099
7351
  next_page: string | null;
5100
7352
  }>;
5101
7353
  };
7354
+ notifications: {
7355
+ deliveries: {
7356
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7357
+ [key: string]: unknown;
7358
+ }>;
7359
+ };
7360
+ letters: {
7361
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7362
+ unread: number;
7363
+ }>;
7364
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7365
+ letters: Array<{
7366
+ id: string;
7367
+ sender: string;
7368
+ summary: string;
7369
+ body: string;
7370
+ thread: string;
7371
+ kind: "notice" | "mention" | "decision";
7372
+ source: {
7373
+ [key: string]: unknown;
7374
+ };
7375
+ read: boolean;
7376
+ deliveredAt: string;
7377
+ createTime: string;
7378
+ reason: string;
7379
+ archived: boolean;
7380
+ }>;
7381
+ nextCursor: string;
7382
+ unread: number;
7383
+ }>;
7384
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7385
+ unread: number;
7386
+ }>;
7387
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7388
+ unread: number;
7389
+ }>;
7390
+ };
7391
+ organizationDefault: {
7392
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7393
+ [key: string]: unknown;
7394
+ }>;
7395
+ };
7396
+ preferences: {
7397
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7398
+ [key: string]: unknown;
7399
+ }>;
7400
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7401
+ name: string;
7402
+ workflows: {
7403
+ [key: string]: unknown;
7404
+ };
7405
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7406
+ updateTime?: string;
7407
+ catalog: Array<{
7408
+ workflow: string;
7409
+ group: string;
7410
+ title: string;
7411
+ description?: string;
7412
+ critical: boolean;
7413
+ channels: Array<string>;
7414
+ }>;
7415
+ organization: {
7416
+ [key: string]: unknown;
7417
+ };
7418
+ effective: {
7419
+ [key: string]: unknown;
7420
+ };
7421
+ }>;
7422
+ };
7423
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
7424
+ unreadCount: number;
7425
+ unseenCount: number;
7426
+ }>;
7427
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
7428
+ [key: string]: unknown;
7429
+ }>;
7430
+ };
5102
7431
  usage: {
5103
7432
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5104
7433
  object: "page";
@@ -5122,8 +7451,163 @@ export declare function createOrganization(transport: Transport): {
5122
7451
  }>;
5123
7452
  };
5124
7453
  };
7454
+ export declare function createRegistry(transport: Transport): {
7455
+ installations: {
7456
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7457
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7458
+ };
7459
+ packages: {
7460
+ git: {
7461
+ commits: {
7462
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7463
+ };
7464
+ files: {
7465
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7466
+ };
7467
+ refs: {
7468
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7469
+ };
7470
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7471
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7472
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7473
+ trees: {
7474
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7475
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7476
+ };
7477
+ };
7478
+ gitCredential: {
7479
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7480
+ };
7481
+ installations: {
7482
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7483
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7484
+ };
7485
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7486
+ versions: {
7487
+ contents: {
7488
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7489
+ };
7490
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7491
+ files: {
7492
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7493
+ };
7494
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7495
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7496
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7497
+ };
7498
+ };
7499
+ repositories: {
7500
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7501
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7502
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7503
+ packages: {
7504
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7505
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7506
+ };
7507
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7508
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7509
+ };
7510
+ };
5125
7511
  export declare function createSandbox(transport: Transport): {
7512
+ byod: {
7513
+ devices: {
7514
+ disconnect: {
7515
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7516
+ id: string;
7517
+ object: "byod_device";
7518
+ disconnected: true;
7519
+ }>;
7520
+ };
7521
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7522
+ data: Array<{
7523
+ object: "byod_device";
7524
+ id: string;
7525
+ platform: "android" | "macos" | "linux";
7526
+ name: string;
7527
+ model: string;
7528
+ os_version: string;
7529
+ online: boolean;
7530
+ last_seen_at: string | null;
7531
+ created_at: string;
7532
+ capabilities: Array<"display" | "agent">;
7533
+ agent_dirs: Array<string>;
7534
+ allow_bypass: boolean;
7535
+ }>;
7536
+ }>;
7537
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7538
+ object: "byod_device";
7539
+ id: string;
7540
+ platform: "android" | "macos" | "linux";
7541
+ name: string;
7542
+ model: string;
7543
+ os_version: string;
7544
+ online: boolean;
7545
+ last_seen_at: string | null;
7546
+ created_at: string;
7547
+ capabilities: Array<"display" | "agent">;
7548
+ agent_dirs: Array<string>;
7549
+ allow_bypass: boolean;
7550
+ }>;
7551
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7552
+ object: "byod_device";
7553
+ id: string;
7554
+ platform: "android" | "macos" | "linux";
7555
+ name: string;
7556
+ model: string;
7557
+ os_version: string;
7558
+ online: boolean;
7559
+ last_seen_at: string | null;
7560
+ created_at: string;
7561
+ capabilities: Array<"display" | "agent">;
7562
+ agent_dirs: Array<string>;
7563
+ allow_bypass: boolean;
7564
+ }>;
7565
+ };
7566
+ pairings: {
7567
+ claim: {
7568
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7569
+ device_id: string;
7570
+ credential: string;
7571
+ socket_url: string;
7572
+ }>;
7573
+ };
7574
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7575
+ code: string;
7576
+ expires_at: string;
7577
+ qr: string;
7578
+ }>;
7579
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7580
+ organization_name: string;
7581
+ expires_at: string;
7582
+ }>;
7583
+ };
7584
+ };
7585
+ events: {
7586
+ sandboxes: {
7587
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7588
+ };
7589
+ };
5126
7590
  sandboxes: {
7591
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7592
+ type: "snapshot";
7593
+ snapshot: string;
7594
+ refs: number;
7595
+ truncated: boolean;
7596
+ package: string;
7597
+ } | {
7598
+ type: "screenshot";
7599
+ mediaType: string;
7600
+ data: string;
7601
+ width: number;
7602
+ height: number;
7603
+ bytes: number;
7604
+ } | {
7605
+ type: "ok";
7606
+ ms?: number;
7607
+ } | {
7608
+ type: "wait";
7609
+ ms: number;
7610
+ }>;
5127
7611
  commands: {
5128
7612
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5129
7613
  stdout: string;
@@ -5201,6 +7685,20 @@ export declare function createSandbox(transport: Transport): {
5201
7685
  snapshots: {
5202
7686
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5203
7687
  };
7688
+ tasks: {
7689
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7690
+ taskId: string;
7691
+ instanceId: string;
7692
+ startedAt: number;
7693
+ }>;
7694
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7695
+ text: string;
7696
+ nextOffset: number;
7697
+ done: boolean;
7698
+ exitCode: number | null;
7699
+ size: number | null;
7700
+ }>;
7701
+ };
5204
7702
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5205
7703
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5206
7704
  name: string;
@@ -5339,6 +7837,131 @@ export declare function createSearch(transport: Transport): {
5339
7837
  }>;
5340
7838
  };
5341
7839
  };
7840
+ export declare function createShare(transport: Transport): {
7841
+ permissions: {
7842
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7843
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7844
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7845
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7846
+ };
7847
+ };
7848
+ export declare function createStudio(transport: Transport): {
7849
+ codexes: {
7850
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7851
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7852
+ entries: {
7853
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7854
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7855
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7856
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7857
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7858
+ };
7859
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7860
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7861
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7862
+ };
7863
+ genres: {
7864
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7865
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7866
+ };
7867
+ platforms: {
7868
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7869
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7870
+ };
7871
+ styles: {
7872
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7873
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7874
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7875
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7876
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7877
+ };
7878
+ templates: {
7879
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7880
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7881
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7882
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7883
+ };
7884
+ themes: {
7885
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7886
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7887
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7888
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7889
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7890
+ };
7891
+ works: {
7892
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7893
+ drafts: {
7894
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7895
+ foreshadows: {
7896
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7897
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7898
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7899
+ };
7900
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7901
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7902
+ renditions: {
7903
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7904
+ };
7905
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7906
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7907
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7908
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7909
+ status: {
7910
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7911
+ };
7912
+ units: {
7913
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7914
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7915
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7916
+ };
7917
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7918
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7919
+ };
7920
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7921
+ progressions: {
7922
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7923
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7924
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7925
+ };
7926
+ renditions: {
7927
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7928
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7929
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7930
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7931
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7932
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7933
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7934
+ };
7935
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7936
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7937
+ reviewSettings: {
7938
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7939
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7940
+ };
7941
+ reviewers: {
7942
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7943
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7944
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7945
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7946
+ };
7947
+ reviews: {
7948
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7949
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7950
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7951
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7952
+ };
7953
+ units: {
7954
+ blocks: {
7955
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7956
+ };
7957
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7958
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7959
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7960
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7961
+ };
7962
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7963
+ };
7964
+ };
5342
7965
  export declare function createTicket(transport: Transport): {
5343
7966
  activity: {
5344
7967
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5383,6 +8006,7 @@ export declare function createTicket(transport: Transport): {
5383
8006
  repositories: Array<Types.TicketRepository>;
5384
8007
  next_page_token: string;
5385
8008
  }>;
8009
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5386
8010
  };
5387
8011
  tickets: {
5388
8012
  comments: {
@@ -5508,23 +8132,154 @@ export declare function createVault(transport: Transport): {
5508
8132
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
5509
8133
  };
5510
8134
  };
8135
+ export declare function createWorkforce(transport: Transport): {
8136
+ actors: {
8137
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8138
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8139
+ };
8140
+ assignments: {
8141
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8142
+ makePrimary: {
8143
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8144
+ };
8145
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8146
+ terminate: {
8147
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8148
+ };
8149
+ transfer: {
8150
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8151
+ };
8152
+ };
8153
+ departments: {
8154
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8155
+ dissolve: {
8156
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8157
+ };
8158
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8159
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8160
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8161
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
8162
+ };
8163
+ effectiveSpec: {
8164
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8165
+ };
8166
+ jobs: {
8167
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8168
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8169
+ retire: {
8170
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8171
+ };
8172
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8173
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8174
+ };
8175
+ keyResults: {
8176
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8177
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8178
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8179
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8180
+ };
8181
+ ladders: {
8182
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8183
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8184
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8185
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8186
+ };
8187
+ objectives: {
8188
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8189
+ grade: {
8190
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8191
+ };
8192
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8193
+ parents: {
8194
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8195
+ };
8196
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8197
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8198
+ };
8199
+ periods: {
8200
+ close: {
8201
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8202
+ };
8203
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8204
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8205
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8206
+ };
8207
+ positions: {
8208
+ close: {
8209
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8210
+ };
8211
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8212
+ designateHead: {
8213
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8214
+ };
8215
+ freeze: {
8216
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8217
+ };
8218
+ hire: {
8219
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8220
+ };
8221
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8222
+ replaceHolder: {
8223
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8224
+ };
8225
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8226
+ unfreeze: {
8227
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8228
+ };
8229
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8230
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8231
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8232
+ };
8233
+ reconcile: {
8234
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8235
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8236
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8237
+ run: {
8238
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8239
+ };
8240
+ status: {
8241
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8242
+ };
8243
+ };
8244
+ specSchema: {
8245
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8246
+ };
8247
+ specs: {
8248
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8249
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8250
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8251
+ revisions: {
8252
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8253
+ };
8254
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8255
+ };
8256
+ };
5511
8257
  export declare const resourceFactories: {
5512
8258
  agent: typeof createAgent;
5513
8259
  application: typeof createApplication;
5514
8260
  automation: typeof createAutomation;
8261
+ billing: typeof createBilling;
5515
8262
  browser: typeof createBrowser;
5516
8263
  canvas: typeof createCanvas;
8264
+ content: typeof createContent;
5517
8265
  crm: typeof createCrm;
8266
+ customer: typeof createCustomer;
5518
8267
  cut: typeof createCut;
5519
8268
  database: typeof createDatabase;
8269
+ devops: typeof createDevops;
5520
8270
  file: typeof createFile;
5521
8271
  knowledge: typeof createKnowledge;
5522
8272
  media: typeof createMedia;
5523
8273
  meta: typeof createMeta;
5524
8274
  model: typeof createModel;
8275
+ ontology: typeof createOntology;
5525
8276
  organization: typeof createOrganization;
8277
+ registry: typeof createRegistry;
5526
8278
  sandbox: typeof createSandbox;
5527
8279
  search: typeof createSearch;
8280
+ share: typeof createShare;
8281
+ studio: typeof createStudio;
5528
8282
  ticket: typeof createTicket;
5529
8283
  vault: typeof createVault;
8284
+ workforce: typeof createWorkforce;
5530
8285
  };