@deepraxis/sdk 0.1.1-dev.4db1880 → 0.1.1-dev.4ead748

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 +1525 -197
  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 +3761 -1151
  18. package/dist/generated/sdk.gen.js +10255 -2880
  19. package/dist/generated/types.gen.d.ts +94609 -51689
  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 +23009 -7594
  35. package/dist/resources.generated.d.ts +2978 -230
  36. package/dist/resources.generated.js +983 -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;
@@ -2379,7 +3539,6 @@ export declare function createAgent(transport: Transport): {
2379
3539
  run_id: string | null;
2380
3540
  message_id?: string;
2381
3541
  } | {
2382
- full_access_available?: boolean;
2383
3542
  id: string;
2384
3543
  input: Types.AgentManaged197;
2385
3544
  mcp_server_name: string;
@@ -2389,6 +3548,18 @@ export declare function createAgent(transport: Transport): {
2389
3548
  evaluated_permission?: "allow" | "deny" | "ask";
2390
3549
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2391
3550
  session_thread_id?: null | string;
3551
+ permission_suggestions?: Array<{
3552
+ type: "add_rules";
3553
+ behavior: "allow";
3554
+ destination: "agent" | "session";
3555
+ rules: Array<{
3556
+ tool_name: string;
3557
+ rule_content: string;
3558
+ }>;
3559
+ }>;
3560
+ full_access_available?: boolean;
3561
+ user_once?: true;
3562
+ guarded_rule?: string;
2392
3563
  run_id: string | null;
2393
3564
  _meta?: {
2394
3565
  ui?: {
@@ -2402,17 +3573,6 @@ export declare function createAgent(transport: Transport): {
2402
3573
  };
2403
3574
  source?: "app" | "codemode";
2404
3575
  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
3576
  title?: string;
2417
3577
  input_titles?: {
2418
3578
  [key: string]: string;
@@ -2431,7 +3591,6 @@ export declare function createAgent(transport: Transport): {
2431
3591
  };
2432
3592
  source?: "app" | "codemode";
2433
3593
  } | {
2434
- full_access_available?: boolean;
2435
3594
  id: string;
2436
3595
  input: Types.AgentManaged206;
2437
3596
  name: string;
@@ -2440,9 +3599,6 @@ export declare function createAgent(transport: Transport): {
2440
3599
  evaluated_permission?: "allow" | "deny" | "ask";
2441
3600
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2442
3601
  session_thread_id?: null | string;
2443
- run_id: string | null;
2444
- user_once?: true;
2445
- guarded_rule?: string;
2446
3602
  permission_suggestions?: Array<{
2447
3603
  type: "add_rules";
2448
3604
  behavior: "allow";
@@ -2452,6 +3608,10 @@ export declare function createAgent(transport: Transport): {
2452
3608
  rule_content: string;
2453
3609
  }>;
2454
3610
  }>;
3611
+ full_access_available?: boolean;
3612
+ user_once?: true;
3613
+ guarded_rule?: string;
3614
+ run_id: string | null;
2455
3615
  } | {
2456
3616
  id: string;
2457
3617
  processed_at: string;
@@ -2472,9 +3632,6 @@ export declare function createAgent(transport: Transport): {
2472
3632
  type: "session.status_idle";
2473
3633
  run_id: string | null;
2474
3634
  } | 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
3635
  id: string;
2479
3636
  processed_at: string;
2480
3637
  type: "session.updated";
@@ -2482,6 +3639,9 @@ export declare function createAgent(transport: Transport): {
2482
3639
  budget?: null | Types.AgentManaged76;
2483
3640
  metadata?: Types.AgentManaged246;
2484
3641
  title?: null | string;
3642
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3643
+ previous_permission_mode?: string | null;
3644
+ permission_mode_version?: number;
2485
3645
  model?: {
2486
3646
  id: string;
2487
3647
  };
@@ -2540,21 +3700,6 @@ export declare function createAgent(transport: Transport): {
2540
3700
  type: "user.steer";
2541
3701
  event_id: string;
2542
3702
  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
3703
  }>;
2559
3704
  next_page: string | null;
2560
3705
  }>;
@@ -2575,21 +3720,6 @@ export declare function createAgent(transport: Transport): {
2575
3720
  type: "user.steer";
2576
3721
  event_id: string;
2577
3722
  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
3723
  }>;
2594
3724
  }>;
2595
3725
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2642,6 +3772,7 @@ export declare function createAgent(transport: Transport): {
2642
3772
  speed?: "standard" | "fast";
2643
3773
  settings?: {
2644
3774
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3775
+ max_output_tokens?: number;
2645
3776
  };
2646
3777
  };
2647
3778
  multiagent: null | {
@@ -3104,6 +4235,11 @@ export declare function createAgent(transport: Transport): {
3104
4235
  vault_ids: Array<string>;
3105
4236
  deployment_id?: null | string;
3106
4237
  cwd: string;
4238
+ workspace?: {
4239
+ kind: "shared" | "isolated";
4240
+ path?: string;
4241
+ branch?: string;
4242
+ };
3107
4243
  computer_id?: string;
3108
4244
  model?: {
3109
4245
  id: string;
@@ -3137,32 +4273,576 @@ export declare function createAgent(transport: Transport): {
3137
4273
  speed?: "standard" | "fast";
3138
4274
  settings?: {
3139
4275
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4276
+ max_output_tokens?: number;
4277
+ };
4278
+ };
4279
+ multiagent: null | Types.AgentManaged171;
4280
+ name: string;
4281
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4282
+ system: null | string;
4283
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4284
+ type: "agent";
4285
+ version: number;
4286
+ };
4287
+ archived_at: null | string;
4288
+ budget: null | Types.AgentManaged76;
4289
+ created_at: string;
4290
+ environment_id?: string;
4291
+ metadata: Types.AgentManaged173;
4292
+ outcome_evaluations: Array<Types.AgentManaged174>;
4293
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4294
+ stats: Types.AgentManaged178;
4295
+ status: "rescheduling" | "running" | "idle" | "terminated";
4296
+ title: null | string;
4297
+ type: "session";
4298
+ updated_at: string;
4299
+ usage: Types.AgentManaged179;
4300
+ vault_ids: Array<string>;
4301
+ deployment_id?: null | string;
4302
+ cwd: string;
4303
+ workspace?: {
4304
+ kind: "shared" | "isolated";
4305
+ path?: string;
4306
+ branch?: string;
4307
+ };
4308
+ computer_id?: string;
4309
+ model?: {
4310
+ id: string;
4311
+ thinking: {
4312
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4313
+ can_disable: boolean;
4314
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4315
+ } | null;
4316
+ };
4317
+ thinking?: {
4318
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4319
+ } | null;
4320
+ forked_from?: {
4321
+ session_id: string;
4322
+ message_id: string;
4323
+ } | null;
4324
+ readonly external_user_id: string | null;
4325
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4326
+ }>;
4327
+ next_page: string | null;
4328
+ }>;
4329
+ name: {
4330
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4331
+ id: string;
4332
+ agent: {
4333
+ id: string;
4334
+ description: null | string;
4335
+ mcp_servers: Array<{
4336
+ type: "url";
4337
+ name: string;
4338
+ url: string;
4339
+ headers?: {
4340
+ [key: string]: string;
4341
+ };
4342
+ timeout_ms?: number;
4343
+ } | {
4344
+ type: "sse";
4345
+ name: string;
4346
+ url: string;
4347
+ headers?: {
4348
+ [key: string]: string;
4349
+ };
4350
+ timeout_ms?: number;
4351
+ } | {
4352
+ type: "stdio";
4353
+ name: string;
4354
+ command: string;
4355
+ args?: Array<string>;
4356
+ env?: {
4357
+ [key: string]: string;
4358
+ };
4359
+ timeout_ms?: number;
4360
+ }>;
4361
+ model: {
4362
+ id: string;
4363
+ effort?: {
4364
+ type: "low";
4365
+ } | {
4366
+ type: "medium";
4367
+ } | {
4368
+ type: "high";
4369
+ } | {
4370
+ type: "xhigh";
4371
+ } | {
4372
+ type: "max";
4373
+ };
4374
+ inference_geo?: string;
4375
+ speed?: "standard" | "fast";
4376
+ settings?: {
4377
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4378
+ max_output_tokens?: number;
3140
4379
  };
3141
4380
  };
3142
- multiagent: null | Types.AgentManaged171;
4381
+ multiagent: null | {
4382
+ agents: Array<{
4383
+ model: string;
4384
+ type: "advisor";
4385
+ } | {
4386
+ id: string;
4387
+ description: null | string;
4388
+ mcp_servers: Array<{
4389
+ type: "url";
4390
+ name: string;
4391
+ url: string;
4392
+ headers?: {
4393
+ [key: string]: string;
4394
+ };
4395
+ timeout_ms?: number;
4396
+ } | {
4397
+ type: "sse";
4398
+ name: string;
4399
+ url: string;
4400
+ headers?: {
4401
+ [key: string]: string;
4402
+ };
4403
+ timeout_ms?: number;
4404
+ } | {
4405
+ type: "stdio";
4406
+ name: string;
4407
+ command: string;
4408
+ args?: Array<string>;
4409
+ env?: {
4410
+ [key: string]: string;
4411
+ };
4412
+ timeout_ms?: number;
4413
+ }>;
4414
+ model: {
4415
+ id: string;
4416
+ effort?: {
4417
+ type: "low";
4418
+ } | {
4419
+ type: "medium";
4420
+ } | {
4421
+ type: "high";
4422
+ } | {
4423
+ type: "xhigh";
4424
+ } | {
4425
+ type: "max";
4426
+ };
4427
+ inference_geo?: string;
4428
+ speed?: "standard" | "fast";
4429
+ };
4430
+ name: string;
4431
+ skills: Array<{
4432
+ skill_id: string;
4433
+ type: "anthropic";
4434
+ version: string;
4435
+ } | {
4436
+ skill_id: string;
4437
+ type: "custom";
4438
+ version: string;
4439
+ }>;
4440
+ system: null | string;
4441
+ tools: Array<{
4442
+ configs: Array<{
4443
+ enabled: boolean;
4444
+ name: "bash";
4445
+ permission_policy: {
4446
+ type: "always_allow";
4447
+ } | {
4448
+ type: "always_ask";
4449
+ } | {
4450
+ type: "auto";
4451
+ };
4452
+ type: "bash";
4453
+ } | {
4454
+ enabled: boolean;
4455
+ name: "edit";
4456
+ permission_policy: {
4457
+ type: "always_allow";
4458
+ } | {
4459
+ type: "always_ask";
4460
+ } | {
4461
+ type: "auto";
4462
+ };
4463
+ type: "edit";
4464
+ } | {
4465
+ enabled: boolean;
4466
+ name: "read";
4467
+ permission_policy: {
4468
+ type: "always_allow";
4469
+ } | {
4470
+ type: "always_ask";
4471
+ } | {
4472
+ type: "auto";
4473
+ };
4474
+ type: "read";
4475
+ } | {
4476
+ enabled: boolean;
4477
+ name: "write";
4478
+ permission_policy: {
4479
+ type: "always_allow";
4480
+ } | {
4481
+ type: "always_ask";
4482
+ } | {
4483
+ type: "auto";
4484
+ };
4485
+ type: "write";
4486
+ } | {
4487
+ enabled: boolean;
4488
+ name: "glob";
4489
+ permission_policy: {
4490
+ type: "always_allow";
4491
+ } | {
4492
+ type: "always_ask";
4493
+ } | {
4494
+ type: "auto";
4495
+ };
4496
+ type: "glob";
4497
+ } | {
4498
+ enabled: boolean;
4499
+ name: "grep";
4500
+ permission_policy: {
4501
+ type: "always_allow";
4502
+ } | {
4503
+ type: "always_ask";
4504
+ } | {
4505
+ type: "auto";
4506
+ };
4507
+ type: "grep";
4508
+ } | {
4509
+ enabled: boolean;
4510
+ name: "web_fetch";
4511
+ permission_policy: {
4512
+ type: "always_allow";
4513
+ } | {
4514
+ type: "always_ask";
4515
+ } | {
4516
+ type: "auto";
4517
+ };
4518
+ type: "web_fetch";
4519
+ allowed_domains?: Array<string>;
4520
+ blocked_domains?: Array<string>;
4521
+ max_content_tokens?: null | number;
4522
+ } | {
4523
+ enabled: boolean;
4524
+ name: "web_search";
4525
+ permission_policy: {
4526
+ type: "always_allow";
4527
+ } | {
4528
+ type: "always_ask";
4529
+ } | {
4530
+ type: "auto";
4531
+ };
4532
+ type: "web_search";
4533
+ allowed_domains?: Array<string>;
4534
+ blocked_domains?: Array<string>;
4535
+ user_location?: null | {
4536
+ type: "approximate";
4537
+ city?: null | string;
4538
+ country?: null | string;
4539
+ region?: null | string;
4540
+ timezone?: null | string;
4541
+ };
4542
+ } | {
4543
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4544
+ enabled: boolean;
4545
+ permission_policy: {
4546
+ type: "always_allow" | "always_ask";
4547
+ };
4548
+ }>;
4549
+ default_config: {
4550
+ enabled: boolean;
4551
+ permission_policy: {
4552
+ type: "always_allow";
4553
+ } | {
4554
+ type: "always_ask";
4555
+ } | {
4556
+ type: "auto";
4557
+ };
4558
+ };
4559
+ type: "agent_toolset_20260401";
4560
+ } | {
4561
+ type: "mcp_toolset";
4562
+ mcp_server_name: string;
4563
+ default_config?: {
4564
+ enabled?: boolean | null;
4565
+ permission_policy?: null | {
4566
+ type: "always_allow" | "always_ask";
4567
+ };
4568
+ } | null;
4569
+ configs?: Array<{
4570
+ name: string;
4571
+ enabled?: boolean | null;
4572
+ permission_policy?: null | {
4573
+ type: "always_allow" | "always_ask";
4574
+ };
4575
+ }> | null;
4576
+ } | {
4577
+ description: string;
4578
+ input_schema: {
4579
+ type: "object";
4580
+ properties?: null | {
4581
+ [key: string]: unknown;
4582
+ };
4583
+ required?: null | Array<string>;
4584
+ [key: string]: unknown;
4585
+ };
4586
+ name: string;
4587
+ type: "custom";
4588
+ }>;
4589
+ type: "agent";
4590
+ version: number;
4591
+ }>;
4592
+ type: "coordinator";
4593
+ };
3143
4594
  name: string;
3144
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4595
+ skills: Array<{
4596
+ skill_id: string;
4597
+ type: "anthropic";
4598
+ version: string;
4599
+ } | {
4600
+ skill_id: string;
4601
+ type: "custom";
4602
+ version: string;
4603
+ }>;
3145
4604
  system: null | string;
3146
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4605
+ tools: Array<{
4606
+ configs: Array<{
4607
+ enabled: boolean;
4608
+ name: "bash";
4609
+ permission_policy: {
4610
+ type: "always_allow";
4611
+ } | {
4612
+ type: "always_ask";
4613
+ } | {
4614
+ type: "auto";
4615
+ };
4616
+ type: "bash";
4617
+ } | {
4618
+ enabled: boolean;
4619
+ name: "edit";
4620
+ permission_policy: {
4621
+ type: "always_allow";
4622
+ } | {
4623
+ type: "always_ask";
4624
+ } | {
4625
+ type: "auto";
4626
+ };
4627
+ type: "edit";
4628
+ } | {
4629
+ enabled: boolean;
4630
+ name: "read";
4631
+ permission_policy: {
4632
+ type: "always_allow";
4633
+ } | {
4634
+ type: "always_ask";
4635
+ } | {
4636
+ type: "auto";
4637
+ };
4638
+ type: "read";
4639
+ } | {
4640
+ enabled: boolean;
4641
+ name: "write";
4642
+ permission_policy: {
4643
+ type: "always_allow";
4644
+ } | {
4645
+ type: "always_ask";
4646
+ } | {
4647
+ type: "auto";
4648
+ };
4649
+ type: "write";
4650
+ } | {
4651
+ enabled: boolean;
4652
+ name: "glob";
4653
+ permission_policy: {
4654
+ type: "always_allow";
4655
+ } | {
4656
+ type: "always_ask";
4657
+ } | {
4658
+ type: "auto";
4659
+ };
4660
+ type: "glob";
4661
+ } | {
4662
+ enabled: boolean;
4663
+ name: "grep";
4664
+ permission_policy: {
4665
+ type: "always_allow";
4666
+ } | {
4667
+ type: "always_ask";
4668
+ } | {
4669
+ type: "auto";
4670
+ };
4671
+ type: "grep";
4672
+ } | {
4673
+ enabled: boolean;
4674
+ name: "web_fetch";
4675
+ permission_policy: {
4676
+ type: "always_allow";
4677
+ } | {
4678
+ type: "always_ask";
4679
+ } | {
4680
+ type: "auto";
4681
+ };
4682
+ type: "web_fetch";
4683
+ allowed_domains?: Array<string>;
4684
+ blocked_domains?: Array<string>;
4685
+ max_content_tokens?: null | number;
4686
+ } | {
4687
+ enabled: boolean;
4688
+ name: "web_search";
4689
+ permission_policy: {
4690
+ type: "always_allow";
4691
+ } | {
4692
+ type: "always_ask";
4693
+ } | {
4694
+ type: "auto";
4695
+ };
4696
+ type: "web_search";
4697
+ allowed_domains?: Array<string>;
4698
+ blocked_domains?: Array<string>;
4699
+ user_location?: null | {
4700
+ type: "approximate";
4701
+ city?: null | string;
4702
+ country?: null | string;
4703
+ region?: null | string;
4704
+ timezone?: null | string;
4705
+ };
4706
+ } | {
4707
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4708
+ enabled: boolean;
4709
+ permission_policy: {
4710
+ type: "always_allow" | "always_ask";
4711
+ };
4712
+ }>;
4713
+ default_config: {
4714
+ enabled: boolean;
4715
+ permission_policy: {
4716
+ type: "always_allow";
4717
+ } | {
4718
+ type: "always_ask";
4719
+ } | {
4720
+ type: "auto";
4721
+ };
4722
+ };
4723
+ type: "agent_toolset_20260401";
4724
+ } | {
4725
+ type: "mcp_toolset";
4726
+ mcp_server_name: string;
4727
+ default_config?: {
4728
+ enabled?: boolean | null;
4729
+ permission_policy?: null | {
4730
+ type: "always_allow" | "always_ask";
4731
+ };
4732
+ } | null;
4733
+ configs?: Array<{
4734
+ name: string;
4735
+ enabled?: boolean | null;
4736
+ permission_policy?: null | {
4737
+ type: "always_allow" | "always_ask";
4738
+ };
4739
+ }> | null;
4740
+ } | {
4741
+ description: string;
4742
+ input_schema: {
4743
+ type: "object";
4744
+ properties?: null | {
4745
+ [key: string]: unknown;
4746
+ };
4747
+ required?: null | Array<string>;
4748
+ [key: string]: unknown;
4749
+ };
4750
+ name: string;
4751
+ type: "custom";
4752
+ }>;
3147
4753
  type: "agent";
3148
4754
  version: number;
3149
4755
  };
3150
4756
  archived_at: null | string;
3151
- budget: null | Types.AgentManaged76;
4757
+ budget: null | {
4758
+ max_list_cost: {
4759
+ amount: string;
4760
+ currency: "USD";
4761
+ };
4762
+ type: "limit";
4763
+ };
3152
4764
  created_at: string;
3153
4765
  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;
4766
+ metadata: {
4767
+ [key: string]: string;
4768
+ };
4769
+ outcome_evaluations: Array<{
4770
+ completed_at: null | string;
4771
+ description: string;
4772
+ explanation: null | string;
4773
+ iteration: number;
4774
+ outcome_id: string;
4775
+ result: string;
4776
+ type: "outcome_evaluation";
4777
+ }>;
4778
+ resources: Array<{
4779
+ id: string;
4780
+ created_at: string;
4781
+ mount_path: string;
4782
+ type: "github_repository";
4783
+ updated_at: string;
4784
+ url: string;
4785
+ checkout?: null | {
4786
+ name: string;
4787
+ type: "branch";
4788
+ } | {
4789
+ sha: string;
4790
+ type: "commit";
4791
+ };
4792
+ } | {
4793
+ id: string;
4794
+ created_at: string;
4795
+ file_id: string;
4796
+ mount_path: string;
4797
+ type: "file";
4798
+ updated_at: string;
4799
+ } | {
4800
+ memory_store_id: string;
4801
+ type: "memory_store";
4802
+ access?: null | "read_write" | "read_only";
4803
+ description?: string;
4804
+ instructions?: null | string;
4805
+ mount_path?: null | string;
4806
+ name?: null | string;
4807
+ }>;
4808
+ stats: {
4809
+ active_seconds?: number;
4810
+ duration_seconds?: number;
4811
+ };
3158
4812
  status: "rescheduling" | "running" | "idle" | "terminated";
3159
4813
  title: null | string;
3160
4814
  type: "session";
3161
4815
  updated_at: string;
3162
- usage: Types.AgentManaged179;
4816
+ usage: {
4817
+ active_seconds?: number;
4818
+ cache_creation?: {
4819
+ ephemeral_1h_input_tokens?: number;
4820
+ ephemeral_5m_input_tokens?: number;
4821
+ };
4822
+ cache_read_input_tokens?: number;
4823
+ input_tokens?: number;
4824
+ list_cost?: null | {
4825
+ amount: string;
4826
+ currency: "USD";
4827
+ };
4828
+ output_tokens?: number;
4829
+ server_tool_use?: null | {
4830
+ web_fetch_requests?: number;
4831
+ web_search_requests?: number;
4832
+ };
4833
+ cost_by_product?: {
4834
+ [key: string]: string;
4835
+ };
4836
+ subagent_cost_micro_usd?: number;
4837
+ };
3163
4838
  vault_ids: Array<string>;
3164
4839
  deployment_id?: null | string;
3165
4840
  cwd: string;
4841
+ workspace?: {
4842
+ kind: "shared" | "isolated";
4843
+ path?: string;
4844
+ branch?: string;
4845
+ };
3166
4846
  computer_id?: string;
3167
4847
  model?: {
3168
4848
  id: string;
@@ -3182,8 +4862,21 @@ export declare function createAgent(transport: Transport): {
3182
4862
  readonly external_user_id: string | null;
3183
4863
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3184
4864
  }>;
3185
- next_page: string | null;
3186
- }>;
4865
+ };
4866
+ requests: {
4867
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4868
+ data: Array<{
4869
+ id: string;
4870
+ object: "request";
4871
+ kind: "question" | "approval";
4872
+ status: "pending";
4873
+ tool_name: string;
4874
+ input: unknown;
4875
+ create_time: string;
4876
+ expire_time: string | null;
4877
+ }>;
4878
+ }>;
4879
+ };
3187
4880
  resources: {
3188
4881
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3189
4882
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3214,6 +4907,7 @@ export declare function createAgent(transport: Transport): {
3214
4907
  speed?: "standard" | "fast";
3215
4908
  settings?: {
3216
4909
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4910
+ max_output_tokens?: number;
3217
4911
  };
3218
4912
  };
3219
4913
  multiagent: null | Types.AgentManaged171;
@@ -3240,6 +4934,11 @@ export declare function createAgent(transport: Transport): {
3240
4934
  vault_ids: Array<string>;
3241
4935
  deployment_id?: null | string;
3242
4936
  cwd: string;
4937
+ workspace?: {
4938
+ kind: "shared" | "isolated";
4939
+ path?: string;
4940
+ branch?: string;
4941
+ };
3243
4942
  computer_id?: string;
3244
4943
  model?: {
3245
4944
  id: string;
@@ -3386,7 +5085,6 @@ export declare function createAgent(transport: Transport): {
3386
5085
  run_id: string | null;
3387
5086
  message_id?: string;
3388
5087
  } | {
3389
- full_access_available?: boolean;
3390
5088
  id: string;
3391
5089
  input: Types.AgentManaged197;
3392
5090
  mcp_server_name: string;
@@ -3396,6 +5094,18 @@ export declare function createAgent(transport: Transport): {
3396
5094
  evaluated_permission?: "allow" | "deny" | "ask";
3397
5095
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3398
5096
  session_thread_id?: null | string;
5097
+ permission_suggestions?: Array<{
5098
+ type: "add_rules";
5099
+ behavior: "allow";
5100
+ destination: "agent" | "session";
5101
+ rules: Array<{
5102
+ tool_name: string;
5103
+ rule_content: string;
5104
+ }>;
5105
+ }>;
5106
+ full_access_available?: boolean;
5107
+ user_once?: true;
5108
+ guarded_rule?: string;
3399
5109
  run_id: string | null;
3400
5110
  parent_tool_use_id?: string;
3401
5111
  _meta?: {
@@ -3409,17 +5119,6 @@ export declare function createAgent(transport: Transport): {
3409
5119
  };
3410
5120
  };
3411
5121
  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
5122
  title?: string;
3424
5123
  input_titles?: {
3425
5124
  [key: string]: string;
@@ -3438,7 +5137,6 @@ export declare function createAgent(transport: Transport): {
3438
5137
  };
3439
5138
  source?: "app" | "codemode";
3440
5139
  } | {
3441
- full_access_available?: boolean;
3442
5140
  id: string;
3443
5141
  input: Types.AgentManaged206;
3444
5142
  name: string;
@@ -3447,9 +5145,6 @@ export declare function createAgent(transport: Transport): {
3447
5145
  evaluated_permission?: "allow" | "deny" | "ask";
3448
5146
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3449
5147
  session_thread_id?: null | string;
3450
- run_id: string | null;
3451
- user_once?: true;
3452
- guarded_rule?: string;
3453
5148
  permission_suggestions?: Array<{
3454
5149
  type: "add_rules";
3455
5150
  behavior: "allow";
@@ -3459,6 +5154,10 @@ export declare function createAgent(transport: Transport): {
3459
5154
  rule_content: string;
3460
5155
  }>;
3461
5156
  }>;
5157
+ full_access_available?: boolean;
5158
+ user_once?: true;
5159
+ guarded_rule?: string;
5160
+ run_id: string | null;
3462
5161
  } | {
3463
5162
  id: string;
3464
5163
  processed_at: string;
@@ -3479,9 +5178,6 @@ export declare function createAgent(transport: Transport): {
3479
5178
  type: "session.status_idle";
3480
5179
  run_id: string | null;
3481
5180
  } | 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
5181
  id: string;
3486
5182
  processed_at: string;
3487
5183
  type: "session.updated";
@@ -3489,6 +5185,9 @@ export declare function createAgent(transport: Transport): {
3489
5185
  budget?: null | Types.AgentManaged76;
3490
5186
  metadata?: Types.AgentManaged246;
3491
5187
  title?: null | string;
5188
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5189
+ previous_permission_mode?: string | null;
5190
+ permission_mode_version?: number;
3492
5191
  model?: {
3493
5192
  id: string;
3494
5193
  };
@@ -3579,6 +5278,7 @@ export declare function createAgent(transport: Transport): {
3579
5278
  speed?: "standard" | "fast";
3580
5279
  settings?: {
3581
5280
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5281
+ max_output_tokens?: number;
3582
5282
  };
3583
5283
  };
3584
5284
  multiagent: null | Types.AgentManaged171;
@@ -3605,6 +5305,11 @@ export declare function createAgent(transport: Transport): {
3605
5305
  vault_ids: Array<string>;
3606
5306
  deployment_id?: null | string;
3607
5307
  cwd: string;
5308
+ workspace?: {
5309
+ kind: "shared" | "isolated";
5310
+ path?: string;
5311
+ branch?: string;
5312
+ };
3608
5313
  computer_id?: string;
3609
5314
  model?: {
3610
5315
  id: string;
@@ -3669,6 +5374,29 @@ export declare function createAgent(transport: Transport): {
3669
5374
  next_page: null;
3670
5375
  }>;
3671
5376
  };
5377
+ uploads: {
5378
+ contentUrl: {
5379
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5380
+ url: string;
5381
+ expires_at: string;
5382
+ }>;
5383
+ };
5384
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5385
+ upload_id: string;
5386
+ expires_at: string;
5387
+ url: string;
5388
+ } | {
5389
+ upload_id: string;
5390
+ expires_at: string;
5391
+ part_size: number;
5392
+ parts: Array<{
5393
+ part_number: number;
5394
+ url: string;
5395
+ }>;
5396
+ complete_url: string;
5397
+ status_url: string;
5398
+ }>;
5399
+ };
3672
5400
  };
3673
5401
  export declare function createApplication(transport: Transport): {
3674
5402
  assets: {
@@ -3933,6 +5661,11 @@ export declare function createAutomation(transport: Transport): {
3933
5661
  };
3934
5662
  };
3935
5663
  };
5664
+ export declare function createBilling(transport: Transport): {
5665
+ prices: {
5666
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5667
+ };
5668
+ };
3936
5669
  export declare function createBrowser(transport: Transport): {
3937
5670
  connect: {
3938
5671
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3956,6 +5689,49 @@ export declare function createBrowser(transport: Transport): {
3956
5689
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3957
5690
  };
3958
5691
  sessions: {
5692
+ actions: {
5693
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5694
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5695
+ tab: string;
5696
+ url: string;
5697
+ title: string;
5698
+ } | {
5699
+ type: "select";
5700
+ tab: string;
5701
+ values: Array<string>;
5702
+ } | {
5703
+ type: "tabs.list";
5704
+ tabs: Array<{
5705
+ id: string;
5706
+ url: string;
5707
+ title: string;
5708
+ active: boolean;
5709
+ }>;
5710
+ } | {
5711
+ type: "snapshot";
5712
+ tab: string;
5713
+ url: string;
5714
+ title: string;
5715
+ snapshot: string;
5716
+ refs: number;
5717
+ truncated: boolean;
5718
+ } | {
5719
+ type: "screenshot";
5720
+ tab: string;
5721
+ mediaType: "image/png";
5722
+ data: string;
5723
+ bytes: number;
5724
+ } | {
5725
+ type: "evaluate";
5726
+ tab: string;
5727
+ value: unknown;
5728
+ } | {
5729
+ type: "set_cookie";
5730
+ tab: string;
5731
+ name: string;
5732
+ domain: string;
5733
+ }>;
5734
+ };
3959
5735
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3960
5736
  events: {
3961
5737
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3963,6 +5739,7 @@ export declare function createBrowser(transport: Transport): {
3963
5739
  nextCursor: string | null;
3964
5740
  }>;
3965
5741
  };
5742
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3966
5743
  handoff: {
3967
5744
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3968
5745
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3973,6 +5750,7 @@ export declare function createBrowser(transport: Transport): {
3973
5750
  }>;
3974
5751
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3975
5752
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5753
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3976
5754
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3977
5755
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3978
5756
  viewer: {
@@ -4009,6 +5787,24 @@ export declare function createCanvas(transport: Transport): {
4009
5787
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4010
5788
  };
4011
5789
  };
5790
+ export declare function createContent(transport: Transport): {
5791
+ contents: {
5792
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5793
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5794
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5795
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5796
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5797
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5798
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5799
+ };
5800
+ playbackSessions: {
5801
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5802
+ };
5803
+ versions: {
5804
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5805
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5806
+ };
5807
+ };
4012
5808
  export declare function createCrm(transport: Transport): {
4013
5809
  associations: {
4014
5810
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4069,6 +5865,32 @@ export declare function createCrm(transport: Transport): {
4069
5865
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4070
5866
  };
4071
5867
  };
5868
+ export declare function createCustomer(transport: Transport): {
5869
+ accessTokens: {
5870
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5871
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5872
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5873
+ };
5874
+ customers: {
5875
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5876
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5877
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5878
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5879
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5880
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5881
+ };
5882
+ grantCodes: {
5883
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5884
+ };
5885
+ publishableKeys: {
5886
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5887
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5888
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5889
+ };
5890
+ usage: {
5891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5892
+ };
5893
+ };
4072
5894
  export declare function createCut(transport: Transport): {
4073
5895
  exports: {
4074
5896
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4076,7 +5898,9 @@ export declare function createCut(transport: Transport): {
4076
5898
  };
4077
5899
  projects: {
4078
5900
  analysis: {
4079
- create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
5901
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5902
+ kind: "cut-AnalysisResult";
5903
+ } & Types.CutAnalysisResult>;
4080
5904
  };
4081
5905
  bindings: {
4082
5906
  create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
@@ -4097,6 +5921,9 @@ export declare function createCut(transport: Transport): {
4097
5921
  media: {
4098
5922
  import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
4099
5923
  };
5924
+ renders: {
5925
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5926
+ };
4100
5927
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
4101
5928
  retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
4102
5929
  retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
@@ -4107,21 +5934,49 @@ export declare function createCut(transport: Transport): {
4107
5934
  list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
4108
5935
  };
4109
5936
  };
5937
+ renders: {
5938
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5939
+ };
4110
5940
  versions: {
4111
5941
  restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
4112
5942
  };
4113
5943
  };
4114
5944
  export declare function createDatabase(transport: Transport): {
4115
5945
  databases: {
5946
+ commands: {
5947
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
5948
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
5949
+ result: unknown;
5950
+ }>;
5951
+ };
5952
+ /** @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
5953
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
5954
+ /** @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
5955
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4118
5956
  events: {
5957
+ /** @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
5958
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4120
5959
  data: Array<Types.DatabaseDatabaseEvent>;
4121
5960
  }>;
4122
5961
  };
5962
+ keys: {
5963
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
5964
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
5965
+ deleted: boolean;
5966
+ }>;
5967
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
5968
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
5969
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
5970
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
5971
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
5972
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
5973
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
5974
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
5975
+ };
5976
+ /** @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
5977
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4124
5978
  purge: {
5979
+ /** @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
5980
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4126
5981
  id: string;
4127
5982
  object: "database";
@@ -4129,31 +5984,313 @@ export declare function createDatabase(transport: Transport): {
4129
5984
  }>;
4130
5985
  };
4131
5986
  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)[]>;
5987
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
5988
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5989
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
5990
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5991
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
5992
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
5993
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
5994
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5995
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
5996
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5997
+ };
5998
+ /** @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. */
5999
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6000
+ /** @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. */
6001
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
6002
+ tables: {
6003
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
6004
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6005
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
6006
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
6007
+ deleted: true;
6008
+ }>;
6009
+ fields: {
6010
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
6011
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6012
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
6013
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6014
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
6015
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
6016
+ };
6017
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
6018
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
6019
+ data: Array<Types.DatabaseTable>;
6020
+ }>;
6021
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
6022
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6023
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
6024
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
6025
+ };
6026
+ /** @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. */
6027
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
6028
+ };
6029
+ kv: {
6030
+ commands: {
6031
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6032
+ result: unknown;
6033
+ }>;
6034
+ };
6035
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6036
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6037
+ events: {
6038
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6039
+ data: Array<Types.DatabaseDatabaseEvent>;
6040
+ }>;
6041
+ };
6042
+ keys: {
6043
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6044
+ deleted: boolean;
6045
+ }>;
6046
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6047
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6048
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6049
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6050
+ };
6051
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6052
+ purge: {
6053
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6054
+ id: string;
6055
+ object: "database";
6056
+ purged: true;
6057
+ }>;
6058
+ };
6059
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6060
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6061
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6062
+ };
6063
+ table: {
6064
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6065
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6066
+ events: {
6067
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6068
+ data: Array<Types.DatabaseDatabaseEvent>;
6069
+ }>;
6070
+ };
6071
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6072
+ purge: {
6073
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6074
+ id: string;
6075
+ object: "database";
6076
+ purged: true;
6077
+ }>;
6078
+ };
6079
+ rest: {
6080
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6081
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6082
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6083
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6084
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4137
6085
  };
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>;
6086
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6087
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
4140
6088
  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<{
6089
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6090
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
4143
6091
  deleted: true;
4144
6092
  }>;
4145
6093
  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>;
6094
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6095
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6096
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
4149
6097
  };
4150
- list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
6098
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
4151
6099
  data: Array<Types.DatabaseTable>;
4152
6100
  }>;
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>;
6101
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6102
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6103
+ };
6104
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6105
+ };
6106
+ };
6107
+ export declare function createDevops(transport: Transport): {
6108
+ changes: {
6109
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6110
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
6111
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6112
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
6113
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6114
+ };
6115
+ connections: {
6116
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6117
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6118
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6119
+ repositories: {
6120
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6121
+ };
6122
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6123
+ };
6124
+ environments: {
6125
+ checkpoints: {
6126
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6127
+ };
6128
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6129
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6130
+ };
6131
+ flags: {
6132
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6133
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6134
+ environments: {
6135
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6136
+ };
6137
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6138
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6139
+ };
6140
+ progressiveRollouts: {
6141
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6142
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6143
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6144
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6145
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6146
+ };
6147
+ projects: {
6148
+ changes: {
6149
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6150
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6151
+ };
6152
+ cleanups: {
6153
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6154
+ };
6155
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6156
+ defaultBranch: {
6157
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6158
+ };
6159
+ environments: {
6160
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6161
+ targets: {
6162
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6163
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6164
+ state: {
6165
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6166
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6167
+ lock: {
6168
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6169
+ };
6170
+ };
6171
+ };
6172
+ };
6173
+ flags: {
6174
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6175
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6176
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6177
+ };
6178
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6179
+ promotions: {
6180
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6181
+ };
6182
+ pullRequests: {
6183
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6184
+ };
6185
+ releases: {
6186
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6187
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6188
+ };
6189
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6190
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6191
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6192
+ segments: {
6193
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6194
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6195
+ };
6196
+ targets: {
6197
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6198
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6199
+ };
6200
+ testCases: {
6201
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6202
+ };
6203
+ testPlans: {
6204
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6205
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6206
+ };
6207
+ testReports: {
6208
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6209
+ };
6210
+ testRuns: {
6211
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6212
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6213
+ };
6214
+ testSuites: {
6215
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6216
+ };
6217
+ units: {
6218
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6219
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6220
+ };
6221
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6222
+ workspaces: {
6223
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6224
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6225
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6226
+ };
6227
+ };
6228
+ promotions: {
6229
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6230
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6231
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
6232
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6233
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6234
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6235
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6236
+ rollouts: {
6237
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6238
+ };
6239
+ };
6240
+ pullRequests: {
6241
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6242
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6243
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6244
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6245
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6246
+ reviews: {
6247
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6248
+ };
6249
+ };
6250
+ releases: {
6251
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6252
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6253
+ };
6254
+ rollouts: {
6255
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6256
+ };
6257
+ segments: {
6258
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6259
+ };
6260
+ testCases: {
6261
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6262
+ };
6263
+ testPlans: {
6264
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6265
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6266
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6267
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6268
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6269
+ };
6270
+ testRuns: {
6271
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6272
+ executions: {
6273
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6274
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6275
+ };
6276
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6277
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6278
+ };
6279
+ testSuites: {
6280
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6281
+ };
6282
+ units: {
6283
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6284
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6285
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6286
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6287
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6288
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6289
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6290
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6291
+ transitions: {
6292
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
4155
6293
  };
4156
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4157
6294
  };
4158
6295
  };
4159
6296
  export declare function createFile(transport: Transport): {
@@ -4183,6 +6320,7 @@ export declare function createFile(transport: Transport): {
4183
6320
  parts: {
4184
6321
  create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4185
6322
  };
6323
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4186
6324
  };
4187
6325
  };
4188
6326
  export declare function createKnowledge(transport: Transport): {
@@ -4230,14 +6368,33 @@ export declare function createKnowledge(transport: Transport): {
4230
6368
  };
4231
6369
  };
4232
6370
  export declare function createMedia(transport: Transport): {
6371
+ assets: {
6372
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6373
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6374
+ };
6375
+ generation: {
6376
+ capabilities: {
6377
+ list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
6378
+ };
6379
+ };
6380
+ images: {
6381
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6382
+ };
4233
6383
  libraries: {
4234
6384
  assets: {
6385
+ align: {
6386
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6387
+ };
4235
6388
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4236
6389
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4237
6390
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4238
6391
  frames: {
4239
6392
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4240
6393
  };
6394
+ hls: {
6395
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6396
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6397
+ };
4241
6398
  import: {
4242
6399
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4243
6400
  };
@@ -4250,6 +6407,9 @@ export declare function createMedia(transport: Transport): {
4250
6407
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4251
6408
  };
4252
6409
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6410
+ versions: {
6411
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6412
+ };
4253
6413
  };
4254
6414
  batches: {
4255
6415
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4267,14 +6427,22 @@ export declare function createMedia(transport: Transport): {
4267
6427
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4268
6428
  };
4269
6429
  jobs: {
6430
+ cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
6431
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4270
6432
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4271
6433
  };
4272
6434
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6435
+ materials: {
6436
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6437
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6438
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6439
+ };
4273
6440
  purge: {
4274
6441
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4275
6442
  };
4276
6443
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4277
6444
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6445
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4278
6446
  search: {
4279
6447
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4280
6448
  expression: {
@@ -4287,11 +6455,24 @@ export declare function createMedia(transport: Transport): {
4287
6455
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4288
6456
  };
4289
6457
  };
6458
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
4290
6459
  understandings: {
4291
6460
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4292
6461
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4293
6462
  };
4294
6463
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6464
+ voices: {
6465
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6466
+ designs: {
6467
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6468
+ };
6469
+ };
6470
+ };
6471
+ speech: {
6472
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6473
+ };
6474
+ videos: {
6475
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4295
6476
  };
4296
6477
  };
4297
6478
  export declare function createMeta(transport: Transport): {
@@ -4492,7 +6673,35 @@ export declare function createModel(transport: Transport): {
4492
6673
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4493
6674
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4494
6675
  };
6676
+ modelAccess: {
6677
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6678
+ items: Array<{
6679
+ model: string;
6680
+ access_required: boolean;
6681
+ granted: boolean;
6682
+ granted_by: string | null;
6683
+ granted_at: string | null;
6684
+ sell_input_price: number | null;
6685
+ sell_output_price: number | null;
6686
+ }>;
6687
+ }>;
6688
+ };
4495
6689
  models: {
6690
+ access: {
6691
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6692
+ model: string;
6693
+ revoked: true;
6694
+ }>;
6695
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6696
+ model: string;
6697
+ access_required: boolean;
6698
+ granted: true;
6699
+ granted_by: string;
6700
+ granted_at: string;
6701
+ sell_input_price: number | null;
6702
+ sell_output_price: number | null;
6703
+ }>;
6704
+ };
4496
6705
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4497
6706
  object: "list";
4498
6707
  data: Array<{
@@ -4507,6 +6716,7 @@ export declare function createModel(transport: Transport): {
4507
6716
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4508
6717
  supported_apis: Array<string>;
4509
6718
  tags: Array<string>;
6719
+ access_required: boolean;
4510
6720
  architecture: {
4511
6721
  modality: string;
4512
6722
  input_modalities: Array<string>;
@@ -4553,6 +6763,7 @@ export declare function createModel(transport: Transport): {
4553
6763
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4554
6764
  supported_apis: Array<string>;
4555
6765
  tags: Array<string>;
6766
+ access_required: boolean;
4556
6767
  architecture: {
4557
6768
  modality: string;
4558
6769
  input_modalities: Array<string>;
@@ -4779,6 +6990,7 @@ export declare function createModel(transport: Transport): {
4779
6990
  unsigned_urls: Array<string>;
4780
6991
  usage?: {
4781
6992
  cost: number;
6993
+ billed_seconds?: number;
4782
6994
  };
4783
6995
  }>;
4784
6996
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4809,6 +7021,7 @@ export declare function createModel(transport: Transport): {
4809
7021
  unsigned_urls: Array<string>;
4810
7022
  usage?: {
4811
7023
  cost: number;
7024
+ billed_seconds?: number;
4812
7025
  };
4813
7026
  }>;
4814
7027
  has_more: boolean;
@@ -4837,11 +7050,43 @@ export declare function createModel(transport: Transport): {
4837
7050
  unsigned_urls: Array<string>;
4838
7051
  usage?: {
4839
7052
  cost: number;
7053
+ billed_seconds?: number;
4840
7054
  };
4841
7055
  }>;
4842
7056
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
4843
7057
  };
4844
7058
  };
7059
+ export declare function createOntology(transport: Transport): {
7060
+ changesets: {
7061
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
7062
+ };
7063
+ nodes: {
7064
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
7065
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
7066
+ merge: {
7067
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
7068
+ };
7069
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
7070
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
7071
+ update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
7072
+ };
7073
+ relations: {
7074
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
7075
+ invalidate: {
7076
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
7077
+ };
7078
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
7079
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
7080
+ };
7081
+ search: {
7082
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
7083
+ };
7084
+ types: {
7085
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
7086
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
7087
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
7088
+ };
7089
+ };
4845
7090
  export declare function createOrganization(transport: Transport): {
4846
7091
  charges: {
4847
7092
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
@@ -5099,6 +7344,83 @@ export declare function createOrganization(transport: Transport): {
5099
7344
  next_page: string | null;
5100
7345
  }>;
5101
7346
  };
7347
+ notifications: {
7348
+ deliveries: {
7349
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7350
+ [key: string]: unknown;
7351
+ }>;
7352
+ };
7353
+ letters: {
7354
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7355
+ unread: number;
7356
+ }>;
7357
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7358
+ letters: Array<{
7359
+ id: string;
7360
+ sender: string;
7361
+ summary: string;
7362
+ body: string;
7363
+ thread: string;
7364
+ kind: "notice" | "mention" | "decision";
7365
+ source: {
7366
+ [key: string]: unknown;
7367
+ };
7368
+ read: boolean;
7369
+ deliveredAt: string;
7370
+ createTime: string;
7371
+ reason: string;
7372
+ archived: boolean;
7373
+ }>;
7374
+ nextCursor: string;
7375
+ unread: number;
7376
+ }>;
7377
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7378
+ unread: number;
7379
+ }>;
7380
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7381
+ unread: number;
7382
+ }>;
7383
+ };
7384
+ organizationDefault: {
7385
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7386
+ [key: string]: unknown;
7387
+ }>;
7388
+ };
7389
+ preferences: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7391
+ [key: string]: unknown;
7392
+ }>;
7393
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7394
+ name: string;
7395
+ workflows: {
7396
+ [key: string]: unknown;
7397
+ };
7398
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7399
+ updateTime?: string;
7400
+ catalog: Array<{
7401
+ workflow: string;
7402
+ group: string;
7403
+ title: string;
7404
+ description?: string;
7405
+ critical: boolean;
7406
+ channels: Array<string>;
7407
+ }>;
7408
+ organization: {
7409
+ [key: string]: unknown;
7410
+ };
7411
+ effective: {
7412
+ [key: string]: unknown;
7413
+ };
7414
+ }>;
7415
+ };
7416
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
7417
+ unreadCount: number;
7418
+ unseenCount: number;
7419
+ }>;
7420
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
7421
+ [key: string]: unknown;
7422
+ }>;
7423
+ };
5102
7424
  usage: {
5103
7425
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5104
7426
  object: "page";
@@ -5122,8 +7444,163 @@ export declare function createOrganization(transport: Transport): {
5122
7444
  }>;
5123
7445
  };
5124
7446
  };
7447
+ export declare function createRegistry(transport: Transport): {
7448
+ installations: {
7449
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7450
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7451
+ };
7452
+ packages: {
7453
+ git: {
7454
+ commits: {
7455
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7456
+ };
7457
+ files: {
7458
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7459
+ };
7460
+ refs: {
7461
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7462
+ };
7463
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7464
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7465
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7466
+ trees: {
7467
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7468
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7469
+ };
7470
+ };
7471
+ gitCredential: {
7472
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7473
+ };
7474
+ installations: {
7475
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7476
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7477
+ };
7478
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7479
+ versions: {
7480
+ contents: {
7481
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7482
+ };
7483
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7484
+ files: {
7485
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7486
+ };
7487
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7488
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7489
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7490
+ };
7491
+ };
7492
+ repositories: {
7493
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7494
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7495
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7496
+ packages: {
7497
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7498
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7499
+ };
7500
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7501
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7502
+ };
7503
+ };
5125
7504
  export declare function createSandbox(transport: Transport): {
7505
+ byod: {
7506
+ devices: {
7507
+ disconnect: {
7508
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7509
+ id: string;
7510
+ object: "byod_device";
7511
+ disconnected: true;
7512
+ }>;
7513
+ };
7514
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7515
+ data: Array<{
7516
+ object: "byod_device";
7517
+ id: string;
7518
+ platform: "android" | "macos" | "linux";
7519
+ name: string;
7520
+ model: string;
7521
+ os_version: string;
7522
+ online: boolean;
7523
+ last_seen_at: string | null;
7524
+ created_at: string;
7525
+ capabilities: Array<"display" | "agent">;
7526
+ agent_dirs: Array<string>;
7527
+ allow_bypass: boolean;
7528
+ }>;
7529
+ }>;
7530
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7531
+ object: "byod_device";
7532
+ id: string;
7533
+ platform: "android" | "macos" | "linux";
7534
+ name: string;
7535
+ model: string;
7536
+ os_version: string;
7537
+ online: boolean;
7538
+ last_seen_at: string | null;
7539
+ created_at: string;
7540
+ capabilities: Array<"display" | "agent">;
7541
+ agent_dirs: Array<string>;
7542
+ allow_bypass: boolean;
7543
+ }>;
7544
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7545
+ object: "byod_device";
7546
+ id: string;
7547
+ platform: "android" | "macos" | "linux";
7548
+ name: string;
7549
+ model: string;
7550
+ os_version: string;
7551
+ online: boolean;
7552
+ last_seen_at: string | null;
7553
+ created_at: string;
7554
+ capabilities: Array<"display" | "agent">;
7555
+ agent_dirs: Array<string>;
7556
+ allow_bypass: boolean;
7557
+ }>;
7558
+ };
7559
+ pairings: {
7560
+ claim: {
7561
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7562
+ device_id: string;
7563
+ credential: string;
7564
+ socket_url: string;
7565
+ }>;
7566
+ };
7567
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7568
+ code: string;
7569
+ expires_at: string;
7570
+ qr: string;
7571
+ }>;
7572
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7573
+ organization_name: string;
7574
+ expires_at: string;
7575
+ }>;
7576
+ };
7577
+ };
7578
+ events: {
7579
+ sandboxes: {
7580
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7581
+ };
7582
+ };
5126
7583
  sandboxes: {
7584
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7585
+ type: "snapshot";
7586
+ snapshot: string;
7587
+ refs: number;
7588
+ truncated: boolean;
7589
+ package: string;
7590
+ } | {
7591
+ type: "screenshot";
7592
+ mediaType: string;
7593
+ data: string;
7594
+ width: number;
7595
+ height: number;
7596
+ bytes: number;
7597
+ } | {
7598
+ type: "ok";
7599
+ ms?: number;
7600
+ } | {
7601
+ type: "wait";
7602
+ ms: number;
7603
+ }>;
5127
7604
  commands: {
5128
7605
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5129
7606
  stdout: string;
@@ -5201,6 +7678,20 @@ export declare function createSandbox(transport: Transport): {
5201
7678
  snapshots: {
5202
7679
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5203
7680
  };
7681
+ tasks: {
7682
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7683
+ taskId: string;
7684
+ instanceId: string;
7685
+ startedAt: number;
7686
+ }>;
7687
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7688
+ text: string;
7689
+ nextOffset: number;
7690
+ done: boolean;
7691
+ exitCode: number | null;
7692
+ size: number | null;
7693
+ }>;
7694
+ };
5204
7695
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5205
7696
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5206
7697
  name: string;
@@ -5339,6 +7830,131 @@ export declare function createSearch(transport: Transport): {
5339
7830
  }>;
5340
7831
  };
5341
7832
  };
7833
+ export declare function createShare(transport: Transport): {
7834
+ permissions: {
7835
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7836
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7837
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7838
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7839
+ };
7840
+ };
7841
+ export declare function createStudio(transport: Transport): {
7842
+ codexes: {
7843
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7844
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7845
+ entries: {
7846
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7847
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7848
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7849
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7850
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7851
+ };
7852
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7853
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7854
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7855
+ };
7856
+ genres: {
7857
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7858
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7859
+ };
7860
+ platforms: {
7861
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7862
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7863
+ };
7864
+ styles: {
7865
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7866
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7867
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7868
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7869
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7870
+ };
7871
+ templates: {
7872
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7873
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7874
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7875
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7876
+ };
7877
+ themes: {
7878
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7879
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7880
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7881
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7882
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7883
+ };
7884
+ works: {
7885
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7886
+ drafts: {
7887
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7888
+ foreshadows: {
7889
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7890
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7891
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7892
+ };
7893
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7894
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7895
+ renditions: {
7896
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7897
+ };
7898
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7899
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7900
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7901
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7902
+ status: {
7903
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7904
+ };
7905
+ units: {
7906
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7907
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7908
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7909
+ };
7910
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7911
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7912
+ };
7913
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7914
+ progressions: {
7915
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7916
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7917
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7918
+ };
7919
+ renditions: {
7920
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7921
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7922
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7923
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7924
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7925
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7926
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7927
+ };
7928
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7929
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7930
+ reviewSettings: {
7931
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7932
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7933
+ };
7934
+ reviewers: {
7935
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7936
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7937
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7938
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7939
+ };
7940
+ reviews: {
7941
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7942
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7943
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7944
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7945
+ };
7946
+ units: {
7947
+ blocks: {
7948
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7949
+ };
7950
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7951
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7952
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7953
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7954
+ };
7955
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7956
+ };
7957
+ };
5342
7958
  export declare function createTicket(transport: Transport): {
5343
7959
  activity: {
5344
7960
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5383,6 +7999,7 @@ export declare function createTicket(transport: Transport): {
5383
7999
  repositories: Array<Types.TicketRepository>;
5384
8000
  next_page_token: string;
5385
8001
  }>;
8002
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5386
8003
  };
5387
8004
  tickets: {
5388
8005
  comments: {
@@ -5508,23 +8125,154 @@ export declare function createVault(transport: Transport): {
5508
8125
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
5509
8126
  };
5510
8127
  };
8128
+ export declare function createWorkforce(transport: Transport): {
8129
+ actors: {
8130
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8131
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8132
+ };
8133
+ assignments: {
8134
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8135
+ makePrimary: {
8136
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8137
+ };
8138
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8139
+ terminate: {
8140
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8141
+ };
8142
+ transfer: {
8143
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8144
+ };
8145
+ };
8146
+ departments: {
8147
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8148
+ dissolve: {
8149
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8150
+ };
8151
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8152
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8153
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8154
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
8155
+ };
8156
+ effectiveSpec: {
8157
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8158
+ };
8159
+ jobs: {
8160
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8161
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8162
+ retire: {
8163
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8164
+ };
8165
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8166
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8167
+ };
8168
+ keyResults: {
8169
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8170
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8171
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8172
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8173
+ };
8174
+ ladders: {
8175
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8176
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8177
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8178
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8179
+ };
8180
+ objectives: {
8181
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8182
+ grade: {
8183
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8184
+ };
8185
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8186
+ parents: {
8187
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8188
+ };
8189
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8190
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8191
+ };
8192
+ periods: {
8193
+ close: {
8194
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8195
+ };
8196
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8197
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8198
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8199
+ };
8200
+ positions: {
8201
+ close: {
8202
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8203
+ };
8204
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8205
+ designateHead: {
8206
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8207
+ };
8208
+ freeze: {
8209
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8210
+ };
8211
+ hire: {
8212
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8213
+ };
8214
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8215
+ replaceHolder: {
8216
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8217
+ };
8218
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8219
+ unfreeze: {
8220
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8221
+ };
8222
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8223
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8224
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8225
+ };
8226
+ reconcile: {
8227
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8228
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8229
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8230
+ run: {
8231
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8232
+ };
8233
+ status: {
8234
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8235
+ };
8236
+ };
8237
+ specSchema: {
8238
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8239
+ };
8240
+ specs: {
8241
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8242
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8243
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8244
+ revisions: {
8245
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8246
+ };
8247
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8248
+ };
8249
+ };
5511
8250
  export declare const resourceFactories: {
5512
8251
  agent: typeof createAgent;
5513
8252
  application: typeof createApplication;
5514
8253
  automation: typeof createAutomation;
8254
+ billing: typeof createBilling;
5515
8255
  browser: typeof createBrowser;
5516
8256
  canvas: typeof createCanvas;
8257
+ content: typeof createContent;
5517
8258
  crm: typeof createCrm;
8259
+ customer: typeof createCustomer;
5518
8260
  cut: typeof createCut;
5519
8261
  database: typeof createDatabase;
8262
+ devops: typeof createDevops;
5520
8263
  file: typeof createFile;
5521
8264
  knowledge: typeof createKnowledge;
5522
8265
  media: typeof createMedia;
5523
8266
  meta: typeof createMeta;
5524
8267
  model: typeof createModel;
8268
+ ontology: typeof createOntology;
5525
8269
  organization: typeof createOrganization;
8270
+ registry: typeof createRegistry;
5526
8271
  sandbox: typeof createSandbox;
5527
8272
  search: typeof createSearch;
8273
+ share: typeof createShare;
8274
+ studio: typeof createStudio;
5528
8275
  ticket: typeof createTicket;
5529
8276
  vault: typeof createVault;
8277
+ workforce: typeof createWorkforce;
5530
8278
  };