@deepraxis/sdk 0.1.1-dev.df9eeaa → 0.1.1-dev.e2643d3

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 +1465 -209
  2. package/README.md +7 -6
  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 +3686 -1242
  18. package/dist/generated/sdk.gen.js +10102 -3093
  19. package/dist/generated/types.gen.d.ts +96654 -56169
  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 -17222
  34. package/dist/operations.generated.js +22914 -8295
  35. package/dist/resources.generated.d.ts +2967 -252
  36. package/dist/resources.generated.js +942 -42
  37. package/package.json +1 -1
@@ -1,6 +1,8 @@
1
1
  import type * as Types from './generated/types.gen.js';
2
+ import type { DeprecationNotice } from './core/deprecation.js';
2
3
  import type { RenameParameters } from './core/bindings.js';
3
4
  import type { Transport } from './core/transport.js';
5
+ export declare const deprecatedMethods: Readonly<Record<string, DeprecationNotice>>;
4
6
  export declare function createAgent(transport: Transport): {
5
7
  agents: {
6
8
  archive: (options: import("./core/transport.js").CallOptions<Types.AgentsArchiveData>) => Promise<{
@@ -17,6 +19,7 @@ export declare function createAgent(transport: Transport): {
17
19
  speed?: "standard" | "fast";
18
20
  settings?: {
19
21
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
22
+ max_output_tokens?: number;
20
23
  };
21
24
  };
22
25
  multiagent?: null | Types.AgentManaged39;
@@ -37,22 +40,23 @@ export declare function createAgent(transport: Transport): {
37
40
  id: string;
38
41
  } | null;
39
42
  note: string | null;
43
+ deployments_behind: number | null;
40
44
  bindings: Array<{
41
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
45
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
42
46
  id: string;
43
47
  access: "read_only" | "read_write" | "invoke";
48
+ customer_access?: "read_only" | "read_write" | "invoke";
44
49
  instructions?: string;
45
50
  readonly verified?: boolean;
46
51
  enabled?: boolean;
47
52
  } | {
48
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
53
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
54
  readonly verified?: boolean;
50
55
  enabled?: boolean;
51
56
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
57
+ kind: "general" | "service" | "assume";
53
58
  computer_id?: string;
54
59
  subagent_model?: string | null;
55
- image_model?: string | null;
56
60
  subagents?: Array<{
57
61
  name: string;
58
62
  description: string;
@@ -143,6 +147,7 @@ export declare function createAgent(transport: Transport): {
143
147
  allowManagedHooksOnly?: boolean;
144
148
  allowManagedMcpServersOnly?: boolean;
145
149
  allowManagedPermissionRulesOnly?: boolean;
150
+ idleCompaction?: boolean;
146
151
  autoMemoryEnabled?: boolean;
147
152
  disabled?: {
148
153
  subagents?: Array<string>;
@@ -151,7 +156,6 @@ export declare function createAgent(transport: Transport): {
151
156
  mcpServers?: Array<string>;
152
157
  hooks?: Array<string>;
153
158
  };
154
- idleCompaction?: boolean;
155
159
  outputStyle?: string;
156
160
  } | null;
157
161
  models?: {
@@ -159,6 +163,7 @@ export declare function createAgent(transport: Transport): {
159
163
  };
160
164
  avatar: string | null;
161
165
  creation_source: string | null;
166
+ managed_by: string | null;
162
167
  identity_number: string | null;
163
168
  environment_id?: string | null;
164
169
  vault_ids?: Array<string>;
@@ -170,6 +175,22 @@ export declare function createAgent(transport: Transport): {
170
175
  keep_coding_instructions?: boolean;
171
176
  }> | null;
172
177
  }>;
178
+ consolidations: {
179
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
180
+ id: string;
181
+ session_id: string;
182
+ status: "queued" | "running" | "done" | "failed";
183
+ engram_id?: string;
184
+ error?: string;
185
+ }>;
186
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
187
+ id: string;
188
+ session_id: string;
189
+ status: "queued" | "running" | "done" | "failed";
190
+ engram_id?: string;
191
+ error?: string;
192
+ }>;
193
+ };
173
194
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
195
  id: string;
175
196
  archived_at: null | string;
@@ -184,6 +205,7 @@ export declare function createAgent(transport: Transport): {
184
205
  speed?: "standard" | "fast";
185
206
  settings?: {
186
207
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
208
+ max_output_tokens?: number;
187
209
  };
188
210
  };
189
211
  multiagent?: null | Types.AgentManaged39;
@@ -204,22 +226,30 @@ export declare function createAgent(transport: Transport): {
204
226
  id: string;
205
227
  } | null;
206
228
  note: string | null;
229
+ deployments_behind: number | null;
207
230
  bindings: Array<{
208
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
231
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
209
232
  id: string;
210
233
  access: "read_only" | "read_write" | "invoke";
234
+ customer_access?: "read_only" | "read_write" | "invoke";
211
235
  instructions?: string;
212
236
  readonly verified?: boolean;
213
237
  enabled?: boolean;
214
238
  } | {
215
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
239
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
240
  readonly verified?: boolean;
217
241
  enabled?: boolean;
218
242
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
243
+ kind: "general" | "service" | "assume";
244
+ computers?: {
245
+ default: string;
246
+ allowed: Array<{
247
+ template: string;
248
+ name: string;
249
+ }>;
250
+ };
220
251
  computer_id?: string;
221
252
  subagent_model?: string | null;
222
- image_model?: string | null;
223
253
  subagents?: Array<{
224
254
  name: string;
225
255
  description: string;
@@ -310,6 +340,7 @@ export declare function createAgent(transport: Transport): {
310
340
  allowManagedHooksOnly?: boolean;
311
341
  allowManagedMcpServersOnly?: boolean;
312
342
  allowManagedPermissionRulesOnly?: boolean;
343
+ idleCompaction?: boolean;
313
344
  autoMemoryEnabled?: boolean;
314
345
  disabled?: {
315
346
  subagents?: Array<string>;
@@ -318,7 +349,6 @@ export declare function createAgent(transport: Transport): {
318
349
  mcpServers?: Array<string>;
319
350
  hooks?: Array<string>;
320
351
  };
321
- idleCompaction?: boolean;
322
352
  outputStyle?: string;
323
353
  } | null;
324
354
  models?: {
@@ -326,6 +356,7 @@ export declare function createAgent(transport: Transport): {
326
356
  };
327
357
  avatar: string | null;
328
358
  creation_source: string | null;
359
+ managed_by: string | null;
329
360
  identity_number: string | null;
330
361
  environment_id?: string | null;
331
362
  vault_ids?: Array<string>;
@@ -338,42 +369,6 @@ export declare function createAgent(transport: Transport): {
338
369
  }> | null;
339
370
  }>;
340
371
  customers: {
341
- auth: {
342
- accessTokens: {
343
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
344
- type: "customer_access_token";
345
- access_token: string;
346
- expires_at: string;
347
- session_expires_at: string;
348
- customer: {
349
- id: string;
350
- type: "identified" | "anonymous";
351
- };
352
- }>;
353
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
354
- renew: {
355
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
356
- type: "customer_access_token";
357
- access_token: string;
358
- expires_at: string;
359
- session_expires_at: string;
360
- customer: {
361
- id: string;
362
- type: "identified" | "anonymous";
363
- };
364
- }>;
365
- };
366
- };
367
- grantCodes: {
368
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
369
- type: "customer_grant_code";
370
- code: string;
371
- customer_id: string;
372
- expires_at: string;
373
- hosted_url?: string;
374
- }>;
375
- };
376
- };
377
372
  block: {
378
373
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
374
  id: string;
@@ -465,6 +460,245 @@ export declare function createAgent(transport: Transport): {
465
460
  }>;
466
461
  };
467
462
  };
463
+ events: {
464
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
465
+ data: Array<{
466
+ id: string;
467
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
468
+ type: "user.message";
469
+ processed_at?: null | string;
470
+ praxis_context?: {
471
+ items: Array<{
472
+ name: string;
473
+ value: string;
474
+ }>;
475
+ };
476
+ message_id?: string;
477
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
478
+ id: string;
479
+ content: Array<{
480
+ text: string;
481
+ type: "text";
482
+ citations?: Array<{
483
+ type: "search_result_location";
484
+ source: string;
485
+ title: string;
486
+ cited_text: string;
487
+ search_result_index: number;
488
+ start_block_index: number;
489
+ end_block_index: number;
490
+ }>;
491
+ } | Types.AgentManaged70>;
492
+ processed_at: string;
493
+ type: "agent.message";
494
+ run_id: string | null;
495
+ message_id?: string;
496
+ } | {
497
+ id: string;
498
+ processed_at: string;
499
+ type: "agent.thinking";
500
+ run_id: string | null;
501
+ message_id?: string;
502
+ } | {
503
+ id: string;
504
+ input: Types.AgentManaged197;
505
+ mcp_server_name: string;
506
+ name: string;
507
+ processed_at: string;
508
+ type: "agent.mcp_tool_use";
509
+ evaluated_permission?: "allow" | "deny" | "ask";
510
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
511
+ session_thread_id?: null | string;
512
+ permission_suggestions?: Array<{
513
+ type: "add_rules";
514
+ behavior: "allow";
515
+ destination: "agent" | "session";
516
+ rules: Array<{
517
+ tool_name: string;
518
+ rule_content: string;
519
+ }>;
520
+ }>;
521
+ full_access_available?: boolean;
522
+ user_once?: true;
523
+ guarded_rule?: string;
524
+ run_id: string | null;
525
+ _meta?: {
526
+ ui?: {
527
+ resourceUri?: string;
528
+ visibility?: Array<string>;
529
+ [key: string]: unknown;
530
+ };
531
+ "openai/ui"?: {
532
+ [key: string]: unknown;
533
+ };
534
+ };
535
+ source?: "app" | "codemode";
536
+ parent_tool_use_id?: string;
537
+ title?: string;
538
+ input_titles?: {
539
+ [key: string]: string;
540
+ };
541
+ } | {
542
+ id: string;
543
+ mcp_tool_use_id: string;
544
+ processed_at: string;
545
+ type: "agent.mcp_tool_result";
546
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
547
+ is_error?: null | false | true;
548
+ run_id: string | null;
549
+ structured_content?: unknown;
550
+ _meta?: {
551
+ [key: string]: unknown;
552
+ };
553
+ source?: "app" | "codemode";
554
+ } | {
555
+ id: string;
556
+ input: Types.AgentManaged206;
557
+ name: string;
558
+ processed_at: string;
559
+ type: "agent.tool_use";
560
+ evaluated_permission?: "allow" | "deny" | "ask";
561
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
562
+ session_thread_id?: null | string;
563
+ permission_suggestions?: Array<{
564
+ type: "add_rules";
565
+ behavior: "allow";
566
+ destination: "agent" | "session";
567
+ rules: Array<{
568
+ tool_name: string;
569
+ rule_content: string;
570
+ }>;
571
+ }>;
572
+ full_access_available?: boolean;
573
+ user_once?: true;
574
+ guarded_rule?: string;
575
+ run_id: string | null;
576
+ } | {
577
+ id: string;
578
+ processed_at: string;
579
+ tool_use_id: string;
580
+ type: "agent.tool_result";
581
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
582
+ is_error?: null | false | true;
583
+ run_id: string | null;
584
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
585
+ id: string;
586
+ processed_at: string;
587
+ type: "session.status_running";
588
+ run_id: string | null;
589
+ } | {
590
+ id: string;
591
+ processed_at: string;
592
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
593
+ type: "session.status_idle";
594
+ run_id: string | null;
595
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
596
+ id: string;
597
+ processed_at: string;
598
+ type: "session.updated";
599
+ agent?: null | Types.AgentManaged170;
600
+ budget?: null | Types.AgentManaged76;
601
+ metadata?: Types.AgentManaged246;
602
+ title?: null | string;
603
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
604
+ previous_permission_mode?: string | null;
605
+ permission_mode_version?: number;
606
+ model?: {
607
+ id: string;
608
+ };
609
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
610
+ id: string;
611
+ type: "session.forked";
612
+ processed_at: string;
613
+ forked_from_session_id: string;
614
+ forked_from_message_id: string;
615
+ } | {
616
+ id: string;
617
+ type: "session.goal_changed";
618
+ processed_at: string;
619
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
620
+ source: "command" | "runtime";
621
+ goal: {
622
+ goal_id: string;
623
+ objective: string;
624
+ summary_title: string | null;
625
+ status: "active" | "paused" | "budget_limited" | "complete";
626
+ token_budget: number | null;
627
+ tokens_used: number;
628
+ time_used_seconds: number;
629
+ iteration: number;
630
+ created_at: number;
631
+ updated_at: number;
632
+ } | null;
633
+ previous_goal: {
634
+ goal_id: string;
635
+ objective: string;
636
+ summary_title: string | null;
637
+ status: "active" | "paused" | "budget_limited" | "complete";
638
+ token_budget: number | null;
639
+ tokens_used: number;
640
+ time_used_seconds: number;
641
+ iteration: number;
642
+ created_at: number;
643
+ updated_at: number;
644
+ } | null;
645
+ } | {
646
+ id: string;
647
+ type: "session.goal_verification";
648
+ processed_at: string;
649
+ status: "started" | "completed" | "failed_closed" | "cancelled";
650
+ goal_id: string;
651
+ goal_iteration: number;
652
+ verification_id: string;
653
+ anchor_message_id: string | null;
654
+ verification?: {
655
+ passed: boolean;
656
+ reason: string;
657
+ next_action?: string;
658
+ };
659
+ } | {
660
+ id: string;
661
+ type: "user.steer";
662
+ event_id: string;
663
+ processed_at: string;
664
+ }>;
665
+ next_page: string | null;
666
+ }>;
667
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
668
+ data?: Array<{
669
+ id: string;
670
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
671
+ type: "user.message";
672
+ processed_at?: null | string;
673
+ praxis_context?: {
674
+ items: Array<{
675
+ name: string;
676
+ value: string;
677
+ }>;
678
+ };
679
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
680
+ id: string;
681
+ type: "user.steer";
682
+ event_id: string;
683
+ processed_at: string;
684
+ }>;
685
+ }>;
686
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
687
+ };
688
+ inbox: {
689
+ letters: {
690
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
691
+ unread: number;
692
+ letters: Array<{
693
+ id: string;
694
+ sender: string;
695
+ summary: string;
696
+ thread: string | null;
697
+ create_time: string;
698
+ }>;
699
+ }>;
700
+ };
701
+ };
468
702
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
703
  data: Array<{
470
704
  id: string;
@@ -480,6 +714,7 @@ export declare function createAgent(transport: Transport): {
480
714
  speed?: "standard" | "fast";
481
715
  settings?: {
482
716
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
717
+ max_output_tokens?: number;
483
718
  };
484
719
  };
485
720
  multiagent?: null | Types.AgentManaged39;
@@ -500,22 +735,30 @@ export declare function createAgent(transport: Transport): {
500
735
  id: string;
501
736
  } | null;
502
737
  note: string | null;
738
+ deployments_behind: number | null;
503
739
  bindings: Array<{
504
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
740
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
505
741
  id: string;
506
742
  access: "read_only" | "read_write" | "invoke";
743
+ customer_access?: "read_only" | "read_write" | "invoke";
507
744
  instructions?: string;
508
745
  readonly verified?: boolean;
509
746
  enabled?: boolean;
510
747
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
748
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
749
  readonly verified?: boolean;
513
750
  enabled?: boolean;
514
751
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
752
+ kind: "general" | "service" | "assume";
753
+ computers?: {
754
+ default: string;
755
+ allowed: Array<{
756
+ template: string;
757
+ name: string;
758
+ }>;
759
+ };
516
760
  computer_id?: string;
517
761
  subagent_model?: string | null;
518
- image_model?: string | null;
519
762
  subagents?: Array<{
520
763
  name: string;
521
764
  description: string;
@@ -606,6 +849,7 @@ export declare function createAgent(transport: Transport): {
606
849
  allowManagedHooksOnly?: boolean;
607
850
  allowManagedMcpServersOnly?: boolean;
608
851
  allowManagedPermissionRulesOnly?: boolean;
852
+ idleCompaction?: boolean;
609
853
  autoMemoryEnabled?: boolean;
610
854
  disabled?: {
611
855
  subagents?: Array<string>;
@@ -614,7 +858,6 @@ export declare function createAgent(transport: Transport): {
614
858
  mcpServers?: Array<string>;
615
859
  hooks?: Array<string>;
616
860
  };
617
- idleCompaction?: boolean;
618
861
  outputStyle?: string;
619
862
  } | null;
620
863
  models?: {
@@ -622,6 +865,7 @@ export declare function createAgent(transport: Transport): {
622
865
  };
623
866
  avatar: string | null;
624
867
  creation_source: string | null;
868
+ managed_by: string | null;
625
869
  identity_number: string | null;
626
870
  environment_id?: string | null;
627
871
  vault_ids?: Array<string>;
@@ -635,6 +879,34 @@ export declare function createAgent(transport: Transport): {
635
879
  }>;
636
880
  next_page: string | null;
637
881
  }>;
882
+ phone: {
883
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
884
+ object: "agent_phone";
885
+ agent_id: string;
886
+ configured: boolean;
887
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
888
+ sku: string | null;
889
+ byod_device: string | null;
890
+ name: string | null;
891
+ sandbox_id: string | null;
892
+ lease_ends_at: string | null;
893
+ archived_at: string | null;
894
+ archive_error: string | null;
895
+ }>;
896
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
897
+ object: "agent_phone";
898
+ agent_id: string;
899
+ configured: boolean;
900
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
901
+ sku: string | null;
902
+ byod_device: string | null;
903
+ name: string | null;
904
+ sandbox_id: string | null;
905
+ lease_ends_at: string | null;
906
+ archived_at: string | null;
907
+ archive_error: string | null;
908
+ }>;
909
+ };
638
910
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
911
  id: string;
640
912
  archived_at: null | string;
@@ -649,6 +921,7 @@ export declare function createAgent(transport: Transport): {
649
921
  speed?: "standard" | "fast";
650
922
  settings?: {
651
923
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
924
+ max_output_tokens?: number;
652
925
  };
653
926
  };
654
927
  multiagent?: null | Types.AgentManaged39;
@@ -670,22 +943,30 @@ export declare function createAgent(transport: Transport): {
670
943
  id: string;
671
944
  } | null;
672
945
  note: string | null;
946
+ deployments_behind: number | null;
673
947
  bindings: Array<{
674
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
948
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
675
949
  id: string;
676
950
  access: "read_only" | "read_write" | "invoke";
951
+ customer_access?: "read_only" | "read_write" | "invoke";
677
952
  instructions?: string;
678
953
  readonly verified?: boolean;
679
954
  enabled?: boolean;
680
955
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
956
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
957
  readonly verified?: boolean;
683
958
  enabled?: boolean;
684
959
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
960
+ kind: "general" | "service" | "assume";
961
+ computers?: {
962
+ default: string;
963
+ allowed: Array<{
964
+ template: string;
965
+ name: string;
966
+ }>;
967
+ };
686
968
  computer_id?: string;
687
969
  subagent_model?: string | null;
688
- image_model?: string | null;
689
970
  subagents?: Array<{
690
971
  name: string;
691
972
  description: string;
@@ -776,6 +1057,7 @@ export declare function createAgent(transport: Transport): {
776
1057
  allowManagedHooksOnly?: boolean;
777
1058
  allowManagedMcpServersOnly?: boolean;
778
1059
  allowManagedPermissionRulesOnly?: boolean;
1060
+ idleCompaction?: boolean;
779
1061
  autoMemoryEnabled?: boolean;
780
1062
  disabled?: {
781
1063
  subagents?: Array<string>;
@@ -784,7 +1066,6 @@ export declare function createAgent(transport: Transport): {
784
1066
  mcpServers?: Array<string>;
785
1067
  hooks?: Array<string>;
786
1068
  };
787
- idleCompaction?: boolean;
788
1069
  outputStyle?: string;
789
1070
  } | null;
790
1071
  models?: {
@@ -792,6 +1073,7 @@ export declare function createAgent(transport: Transport): {
792
1073
  };
793
1074
  avatar: string | null;
794
1075
  creation_source: string | null;
1076
+ managed_by: string | null;
795
1077
  identity_number: string | null;
796
1078
  environment_id?: string | null;
797
1079
  vault_ids?: Array<string>;
@@ -860,6 +1142,26 @@ export declare function createAgent(transport: Transport): {
860
1142
  history?: {
861
1143
  enabled?: boolean;
862
1144
  };
1145
+ uploads?: {
1146
+ enabled: boolean;
1147
+ max_file_bytes: number;
1148
+ max_files_per_session: number;
1149
+ };
1150
+ }>;
1151
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1152
+ allowed_origins: Array<string>;
1153
+ allow_localhost: boolean;
1154
+ uploads: {
1155
+ enabled: boolean;
1156
+ max_file_bytes: number;
1157
+ max_files_per_session: number;
1158
+ };
1159
+ share_links: {
1160
+ enabled: boolean;
1161
+ daily_session_cap: number | null;
1162
+ daily_spend_cap_micro_usd: number | null;
1163
+ currency?: "USD" | "CNY" | null;
1164
+ };
863
1165
  }>;
864
1166
  unarchive: {
865
1167
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1215,7 @@ export declare function createAgent(transport: Transport): {
913
1215
  speed?: "standard" | "fast";
914
1216
  settings?: {
915
1217
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1218
+ max_output_tokens?: number;
916
1219
  };
917
1220
  };
918
1221
  multiagent?: null | {
@@ -1099,22 +1402,30 @@ export declare function createAgent(transport: Transport): {
1099
1402
  id: string;
1100
1403
  } | null;
1101
1404
  note: string | null;
1405
+ deployments_behind: number | null;
1102
1406
  bindings: Array<{
1103
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1407
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1104
1408
  id: string;
1105
1409
  access: "read_only" | "read_write" | "invoke";
1410
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1411
  instructions?: string;
1107
1412
  readonly verified?: boolean;
1108
1413
  enabled?: boolean;
1109
1414
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1415
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1416
  readonly verified?: boolean;
1112
1417
  enabled?: boolean;
1113
1418
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1419
+ kind: "general" | "service" | "assume";
1420
+ computers?: {
1421
+ default: string;
1422
+ allowed: Array<{
1423
+ template: string;
1424
+ name: string;
1425
+ }>;
1426
+ };
1115
1427
  computer_id?: string;
1116
1428
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1429
  subagents?: Array<{
1119
1430
  name: string;
1120
1431
  description: string;
@@ -1205,6 +1516,7 @@ export declare function createAgent(transport: Transport): {
1205
1516
  allowManagedHooksOnly?: boolean;
1206
1517
  allowManagedMcpServersOnly?: boolean;
1207
1518
  allowManagedPermissionRulesOnly?: boolean;
1519
+ idleCompaction?: boolean;
1208
1520
  autoMemoryEnabled?: boolean;
1209
1521
  disabled?: {
1210
1522
  subagents?: Array<string>;
@@ -1213,7 +1525,6 @@ export declare function createAgent(transport: Transport): {
1213
1525
  mcpServers?: Array<string>;
1214
1526
  hooks?: Array<string>;
1215
1527
  };
1216
- idleCompaction?: boolean;
1217
1528
  outputStyle?: string;
1218
1529
  } | null;
1219
1530
  models?: {
@@ -1221,6 +1532,7 @@ export declare function createAgent(transport: Transport): {
1221
1532
  };
1222
1533
  avatar: string | null;
1223
1534
  creation_source: string | null;
1535
+ managed_by: string | null;
1224
1536
  identity_number: string | null;
1225
1537
  environment_id?: string | null;
1226
1538
  vault_ids?: Array<string>;
@@ -1247,6 +1559,7 @@ export declare function createAgent(transport: Transport): {
1247
1559
  speed?: "standard" | "fast";
1248
1560
  settings?: {
1249
1561
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1562
+ max_output_tokens?: number;
1250
1563
  };
1251
1564
  };
1252
1565
  multiagent?: null | Types.AgentManaged39;
@@ -1268,22 +1581,30 @@ export declare function createAgent(transport: Transport): {
1268
1581
  id: string;
1269
1582
  } | null;
1270
1583
  note: string | null;
1584
+ deployments_behind: number | null;
1271
1585
  bindings: Array<{
1272
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1586
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1273
1587
  id: string;
1274
1588
  access: "read_only" | "read_write" | "invoke";
1589
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1590
  instructions?: string;
1276
1591
  readonly verified?: boolean;
1277
1592
  enabled?: boolean;
1278
1593
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1594
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1595
  readonly verified?: boolean;
1281
1596
  enabled?: boolean;
1282
1597
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1598
+ kind: "general" | "service" | "assume";
1599
+ computers?: {
1600
+ default: string;
1601
+ allowed: Array<{
1602
+ template: string;
1603
+ name: string;
1604
+ }>;
1605
+ };
1284
1606
  computer_id?: string;
1285
1607
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1608
  subagents?: Array<{
1288
1609
  name: string;
1289
1610
  description: string;
@@ -1374,6 +1695,7 @@ export declare function createAgent(transport: Transport): {
1374
1695
  allowManagedHooksOnly?: boolean;
1375
1696
  allowManagedMcpServersOnly?: boolean;
1376
1697
  allowManagedPermissionRulesOnly?: boolean;
1698
+ idleCompaction?: boolean;
1377
1699
  autoMemoryEnabled?: boolean;
1378
1700
  disabled?: {
1379
1701
  subagents?: Array<string>;
@@ -1382,7 +1704,6 @@ export declare function createAgent(transport: Transport): {
1382
1704
  mcpServers?: Array<string>;
1383
1705
  hooks?: Array<string>;
1384
1706
  };
1385
- idleCompaction?: boolean;
1386
1707
  outputStyle?: string;
1387
1708
  } | null;
1388
1709
  models?: {
@@ -1390,6 +1711,7 @@ export declare function createAgent(transport: Transport): {
1390
1711
  };
1391
1712
  avatar: string | null;
1392
1713
  creation_source: string | null;
1714
+ managed_by: string | null;
1393
1715
  identity_number: string | null;
1394
1716
  environment_id?: string | null;
1395
1717
  vault_ids?: Array<string>;
@@ -1401,28 +1723,246 @@ export declare function createAgent(transport: Transport): {
1401
1723
  keep_coding_instructions?: boolean;
1402
1724
  }> | null;
1403
1725
  }>;
1726
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1727
+ allowed_origins: Array<string>;
1728
+ allow_localhost: boolean;
1729
+ uploads: {
1730
+ enabled: boolean;
1731
+ max_file_bytes: number;
1732
+ max_files_per_session: number;
1733
+ };
1734
+ share_links: {
1735
+ enabled: boolean;
1736
+ daily_session_cap: number | null;
1737
+ daily_spend_cap_micro_usd: number | null;
1738
+ currency?: "USD" | "CNY" | null;
1739
+ };
1740
+ }>;
1404
1741
  versions: {
1405
1742
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1743
  id: string;
1407
1744
  archived_at: null | string;
1408
1745
  created_at: string;
1409
1746
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1747
+ mcp_servers: Array<{
1748
+ type: "url";
1749
+ name: string;
1750
+ url: string;
1751
+ headers?: {
1752
+ [key: string]: string;
1753
+ };
1754
+ timeout_ms?: number;
1755
+ } | {
1756
+ type: "sse";
1757
+ name: string;
1758
+ url: string;
1759
+ headers?: {
1760
+ [key: string]: string;
1761
+ };
1762
+ timeout_ms?: number;
1763
+ } | {
1764
+ type: "stdio";
1765
+ name: string;
1766
+ command: string;
1767
+ args?: Array<string>;
1768
+ env?: {
1769
+ [key: string]: string;
1770
+ };
1771
+ timeout_ms?: number;
1772
+ }>;
1773
+ metadata: {
1774
+ [key: string]: string;
1775
+ };
1412
1776
  model?: {
1413
1777
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1778
+ effort?: {
1779
+ type: "low";
1780
+ } | {
1781
+ type: "medium";
1782
+ } | {
1783
+ type: "high";
1784
+ } | {
1785
+ type: "xhigh";
1786
+ } | {
1787
+ type: "max";
1788
+ };
1415
1789
  inference_geo?: string;
1416
1790
  speed?: "standard" | "fast";
1417
1791
  settings?: {
1418
1792
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1793
+ max_output_tokens?: number;
1419
1794
  };
1420
1795
  };
1421
- multiagent?: null | Types.AgentManaged39;
1796
+ multiagent?: null | {
1797
+ agents: Array<{
1798
+ id: string;
1799
+ type: "agent";
1800
+ version: number;
1801
+ } | {
1802
+ model: string;
1803
+ type: "advisor";
1804
+ }>;
1805
+ type: "coordinator";
1806
+ };
1422
1807
  name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1808
+ skills: Array<{
1809
+ skill_id: string;
1810
+ type: "anthropic";
1811
+ version: string;
1812
+ } | {
1813
+ skill_id: string;
1814
+ type: "custom";
1815
+ version: string;
1816
+ }>;
1424
1817
  system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1818
+ tools: Array<{
1819
+ configs: Array<{
1820
+ enabled: boolean;
1821
+ name: "bash";
1822
+ permission_policy: {
1823
+ type: "always_allow";
1824
+ } | {
1825
+ type: "always_ask";
1826
+ } | {
1827
+ type: "auto";
1828
+ };
1829
+ type: "bash";
1830
+ } | {
1831
+ enabled: boolean;
1832
+ name: "edit";
1833
+ permission_policy: {
1834
+ type: "always_allow";
1835
+ } | {
1836
+ type: "always_ask";
1837
+ } | {
1838
+ type: "auto";
1839
+ };
1840
+ type: "edit";
1841
+ } | {
1842
+ enabled: boolean;
1843
+ name: "read";
1844
+ permission_policy: {
1845
+ type: "always_allow";
1846
+ } | {
1847
+ type: "always_ask";
1848
+ } | {
1849
+ type: "auto";
1850
+ };
1851
+ type: "read";
1852
+ } | {
1853
+ enabled: boolean;
1854
+ name: "write";
1855
+ permission_policy: {
1856
+ type: "always_allow";
1857
+ } | {
1858
+ type: "always_ask";
1859
+ } | {
1860
+ type: "auto";
1861
+ };
1862
+ type: "write";
1863
+ } | {
1864
+ enabled: boolean;
1865
+ name: "glob";
1866
+ permission_policy: {
1867
+ type: "always_allow";
1868
+ } | {
1869
+ type: "always_ask";
1870
+ } | {
1871
+ type: "auto";
1872
+ };
1873
+ type: "glob";
1874
+ } | {
1875
+ enabled: boolean;
1876
+ name: "grep";
1877
+ permission_policy: {
1878
+ type: "always_allow";
1879
+ } | {
1880
+ type: "always_ask";
1881
+ } | {
1882
+ type: "auto";
1883
+ };
1884
+ type: "grep";
1885
+ } | {
1886
+ enabled: boolean;
1887
+ name: "web_fetch";
1888
+ permission_policy: {
1889
+ type: "always_allow";
1890
+ } | {
1891
+ type: "always_ask";
1892
+ } | {
1893
+ type: "auto";
1894
+ };
1895
+ type: "web_fetch";
1896
+ allowed_domains?: Array<string>;
1897
+ blocked_domains?: Array<string>;
1898
+ max_content_tokens?: null | number;
1899
+ } | {
1900
+ enabled: boolean;
1901
+ name: "web_search";
1902
+ permission_policy: {
1903
+ type: "always_allow";
1904
+ } | {
1905
+ type: "always_ask";
1906
+ } | {
1907
+ type: "auto";
1908
+ };
1909
+ type: "web_search";
1910
+ allowed_domains?: Array<string>;
1911
+ blocked_domains?: Array<string>;
1912
+ user_location?: null | {
1913
+ type: "approximate";
1914
+ city?: null | string;
1915
+ country?: null | string;
1916
+ region?: null | string;
1917
+ timezone?: null | string;
1918
+ };
1919
+ } | {
1920
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1921
+ enabled: boolean;
1922
+ permission_policy: {
1923
+ type: "always_allow" | "always_ask";
1924
+ };
1925
+ }>;
1926
+ default_config: {
1927
+ enabled: boolean;
1928
+ permission_policy: {
1929
+ type: "always_allow";
1930
+ } | {
1931
+ type: "always_ask";
1932
+ } | {
1933
+ type: "auto";
1934
+ };
1935
+ };
1936
+ type: "agent_toolset_20260401";
1937
+ } | {
1938
+ type: "mcp_toolset";
1939
+ mcp_server_name: string;
1940
+ default_config?: {
1941
+ enabled?: boolean | null;
1942
+ permission_policy?: null | {
1943
+ type: "always_allow" | "always_ask";
1944
+ };
1945
+ } | null;
1946
+ configs?: Array<{
1947
+ name: string;
1948
+ enabled?: boolean | null;
1949
+ permission_policy?: null | {
1950
+ type: "always_allow" | "always_ask";
1951
+ };
1952
+ }> | null;
1953
+ } | {
1954
+ description: string;
1955
+ input_schema: {
1956
+ type: "object";
1957
+ properties?: null | {
1958
+ [key: string]: unknown;
1959
+ };
1960
+ required?: null | Array<string>;
1961
+ [key: string]: unknown;
1962
+ };
1963
+ name: string;
1964
+ type: "custom";
1965
+ }>;
1426
1966
  type: "agent";
1427
1967
  updated_at: string;
1428
1968
  version: number;
@@ -1437,22 +1977,30 @@ export declare function createAgent(transport: Transport): {
1437
1977
  id: string;
1438
1978
  } | null;
1439
1979
  note: string | null;
1980
+ deployments_behind: number | null;
1440
1981
  bindings: Array<{
1441
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1982
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1442
1983
  id: string;
1443
1984
  access: "read_only" | "read_write" | "invoke";
1985
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
1986
  instructions?: string;
1445
1987
  readonly verified?: boolean;
1446
1988
  enabled?: boolean;
1447
1989
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1990
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1991
  readonly verified?: boolean;
1450
1992
  enabled?: boolean;
1451
1993
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
1994
+ kind: "general" | "service" | "assume";
1995
+ computers?: {
1996
+ default: string;
1997
+ allowed: Array<{
1998
+ template: string;
1999
+ name: string;
2000
+ }>;
2001
+ };
1453
2002
  computer_id?: string;
1454
2003
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
2004
  subagents?: Array<{
1457
2005
  name: string;
1458
2006
  description: string;
@@ -1543,6 +2091,7 @@ export declare function createAgent(transport: Transport): {
1543
2091
  allowManagedHooksOnly?: boolean;
1544
2092
  allowManagedMcpServersOnly?: boolean;
1545
2093
  allowManagedPermissionRulesOnly?: boolean;
2094
+ idleCompaction?: boolean;
1546
2095
  autoMemoryEnabled?: boolean;
1547
2096
  disabled?: {
1548
2097
  subagents?: Array<string>;
@@ -1551,7 +2100,6 @@ export declare function createAgent(transport: Transport): {
1551
2100
  mcpServers?: Array<string>;
1552
2101
  hooks?: Array<string>;
1553
2102
  };
1554
- idleCompaction?: boolean;
1555
2103
  outputStyle?: string;
1556
2104
  } | null;
1557
2105
  models?: {
@@ -1559,6 +2107,7 @@ export declare function createAgent(transport: Transport): {
1559
2107
  };
1560
2108
  avatar: string | null;
1561
2109
  creation_source: string | null;
2110
+ managed_by: string | null;
1562
2111
  identity_number: string | null;
1563
2112
  environment_id?: string | null;
1564
2113
  vault_ids?: Array<string>;
@@ -1585,6 +2134,7 @@ export declare function createAgent(transport: Transport): {
1585
2134
  speed?: "standard" | "fast";
1586
2135
  settings?: {
1587
2136
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2137
+ max_output_tokens?: number;
1588
2138
  };
1589
2139
  };
1590
2140
  multiagent?: null | Types.AgentManaged39;
@@ -1607,21 +2157,28 @@ export declare function createAgent(transport: Transport): {
1607
2157
  } | null;
1608
2158
  note: string | null;
1609
2159
  bindings: Array<{
1610
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2160
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1611
2161
  id: string;
1612
2162
  access: "read_only" | "read_write" | "invoke";
2163
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2164
  instructions?: string;
1614
2165
  readonly verified?: boolean;
1615
2166
  enabled?: boolean;
1616
2167
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2168
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2169
  readonly verified?: boolean;
1619
2170
  enabled?: boolean;
1620
2171
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2172
+ kind: "general" | "service" | "assume";
2173
+ computers?: {
2174
+ default: string;
2175
+ allowed: Array<{
2176
+ template: string;
2177
+ name: string;
2178
+ }>;
2179
+ };
1622
2180
  computer_id?: string;
1623
2181
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2182
  subagents?: Array<{
1626
2183
  name: string;
1627
2184
  description: string;
@@ -1712,6 +2269,7 @@ export declare function createAgent(transport: Transport): {
1712
2269
  allowManagedHooksOnly?: boolean;
1713
2270
  allowManagedMcpServersOnly?: boolean;
1714
2271
  allowManagedPermissionRulesOnly?: boolean;
2272
+ idleCompaction?: boolean;
1715
2273
  autoMemoryEnabled?: boolean;
1716
2274
  disabled?: {
1717
2275
  subagents?: Array<string>;
@@ -1720,7 +2278,6 @@ export declare function createAgent(transport: Transport): {
1720
2278
  mcpServers?: Array<string>;
1721
2279
  hooks?: Array<string>;
1722
2280
  };
1723
- idleCompaction?: boolean;
1724
2281
  outputStyle?: string;
1725
2282
  } | null;
1726
2283
  models?: {
@@ -1728,6 +2285,7 @@ export declare function createAgent(transport: Transport): {
1728
2285
  };
1729
2286
  avatar: string | null;
1730
2287
  creation_source: string | null;
2288
+ managed_by: string | null;
1731
2289
  identity_number: string | null;
1732
2290
  environment_id?: string | null;
1733
2291
  vault_ids?: Array<string>;
@@ -1795,16 +2353,9 @@ export declare function createAgent(transport: Transport): {
1795
2353
  files: {
1796
2354
  convert: {
1797
2355
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1798
- type: "computer";
1799
- id: string;
1800
- name: string;
1801
- sandbox_id: string | null;
1802
- machine_state: "not_started" | "provisioned";
1803
- environment_id: string | null;
1804
- status: "active" | "archived";
1805
- created_at: string;
1806
- updated_at: string;
1807
- archived_at: string | null;
2356
+ data: string;
2357
+ mime: "application/pdf";
2358
+ cached: boolean;
1808
2359
  }>;
1809
2360
  };
1810
2361
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1822,6 +2373,24 @@ export declare function createAgent(transport: Transport): {
1822
2373
  tier: "light" | "heavy";
1823
2374
  }>;
1824
2375
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2376
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2377
+ variant: "image" | "pdf" | "text" | "original";
2378
+ version?: string;
2379
+ mime_type?: string;
2380
+ size?: number;
2381
+ file_id?: string;
2382
+ url?: string;
2383
+ expires_at?: string;
2384
+ cached: boolean;
2385
+ fallback?: "content";
2386
+ skipped?: boolean;
2387
+ }>;
2388
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2389
+ path: string;
2390
+ size: number;
2391
+ mtime: string | null;
2392
+ version: string;
2393
+ }>;
1825
2394
  };
1826
2395
  leases: {
1827
2396
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1862,6 +2431,7 @@ export declare function createAgent(transport: Transport): {
1862
2431
  created_at: string;
1863
2432
  updated_at: string;
1864
2433
  archived_at: string | null;
2434
+ machine: "light" | "full";
1865
2435
  implementation: "virtual" | "sandbox";
1866
2436
  storage_bytes: number;
1867
2437
  file_count: number;
@@ -1894,6 +2464,8 @@ export declare function createAgent(transport: Transport): {
1894
2464
  id: string;
1895
2465
  type: "agent";
1896
2466
  version: number;
2467
+ pinned_version?: number | null;
2468
+ active_version?: number | null;
1897
2469
  } | {
1898
2470
  id: string;
1899
2471
  type: "agent_with_overrides";
@@ -1931,6 +2503,8 @@ export declare function createAgent(transport: Transport): {
1931
2503
  id: string;
1932
2504
  type: "agent";
1933
2505
  version: number;
2506
+ pinned_version?: number | null;
2507
+ active_version?: number | null;
1934
2508
  } | {
1935
2509
  id: string;
1936
2510
  type: "agent_with_overrides";
@@ -1969,6 +2543,8 @@ export declare function createAgent(transport: Transport): {
1969
2543
  id: string;
1970
2544
  type: "agent";
1971
2545
  version: number;
2546
+ pinned_version?: number | null;
2547
+ active_version?: number | null;
1972
2548
  } | {
1973
2549
  id: string;
1974
2550
  type: "agent_with_overrides";
@@ -2008,6 +2584,8 @@ export declare function createAgent(transport: Transport): {
2008
2584
  id: string;
2009
2585
  type: "agent";
2010
2586
  version: number;
2587
+ pinned_version?: number | null;
2588
+ active_version?: number | null;
2011
2589
  } | {
2012
2590
  id: string;
2013
2591
  type: "agent_with_overrides";
@@ -2045,6 +2623,8 @@ export declare function createAgent(transport: Transport): {
2045
2623
  id: string;
2046
2624
  type: "agent";
2047
2625
  version: number;
2626
+ pinned_version?: number | null;
2627
+ active_version?: number | null;
2048
2628
  } | {
2049
2629
  id: string;
2050
2630
  type: "agent_with_overrides";
@@ -2086,6 +2666,8 @@ export declare function createAgent(transport: Transport): {
2086
2666
  id: string;
2087
2667
  type: "agent";
2088
2668
  version: number;
2669
+ pinned_version?: number | null;
2670
+ active_version?: number | null;
2089
2671
  } | {
2090
2672
  id: string;
2091
2673
  type: "agent_with_overrides";
@@ -2118,55 +2700,594 @@ export declare function createAgent(transport: Transport): {
2118
2700
  };
2119
2701
  }>;
2120
2702
  };
2121
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2122
- id: string;
2123
- agent: {
2124
- id: string;
2125
- type: "agent";
2126
- version: number;
2127
- } | {
2128
- id: string;
2129
- type: "agent_with_overrides";
2130
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2131
- cwd?: string;
2132
- model?: string | {
2133
- id: string;
2134
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2135
- speed?: null | "standard" | "fast";
2136
- };
2137
- version: number;
2138
- };
2139
- archived_at: null | string;
2140
- created_at: string;
2141
- description: null | string;
2142
- environment_id?: string | null;
2143
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2144
- metadata: Types.AgentManaged91;
2145
- name: string;
2146
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2147
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2148
- schedule: null | Types.AgentManaged111;
2149
- status: "active" | "paused";
2150
- type: "deployment";
2151
- updated_at: string;
2152
- vault_ids: Array<string>;
2153
- budget?: null | Types.AgentManaged76;
2154
- target: {
2155
- type: "environment" | "computer";
2156
- };
2157
- }>;
2158
- };
2159
- environments: {
2160
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2161
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2162
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2163
- data: Array<Types.AgentManaged138>;
2164
- next_page: string | null;
2165
- }>;
2166
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2167
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2168
- };
2169
- sessions: {
2703
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2704
+ id: string;
2705
+ agent: {
2706
+ id: string;
2707
+ type: "agent";
2708
+ version: number;
2709
+ pinned_version?: number | null;
2710
+ active_version?: number | null;
2711
+ } | {
2712
+ id: string;
2713
+ type: "agent_with_overrides";
2714
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2715
+ cwd?: string;
2716
+ model?: string | {
2717
+ id: string;
2718
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2719
+ speed?: null | "standard" | "fast";
2720
+ };
2721
+ version: number;
2722
+ };
2723
+ archived_at: null | string;
2724
+ created_at: string;
2725
+ description: null | string;
2726
+ environment_id?: string | null;
2727
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2728
+ metadata: Types.AgentManaged91;
2729
+ name: string;
2730
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2731
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2732
+ schedule: null | Types.AgentManaged111;
2733
+ status: "active" | "paused";
2734
+ type: "deployment";
2735
+ updated_at: string;
2736
+ vault_ids: Array<string>;
2737
+ budget?: null | Types.AgentManaged76;
2738
+ target: {
2739
+ type: "environment" | "computer";
2740
+ };
2741
+ }>;
2742
+ };
2743
+ environments: {
2744
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2745
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2746
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2747
+ data: Array<Types.AgentManaged138>;
2748
+ next_page: string | null;
2749
+ }>;
2750
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2751
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2752
+ };
2753
+ sessions: {
2754
+ agentVersion: {
2755
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2756
+ id: string;
2757
+ agent: {
2758
+ id: string;
2759
+ description: null | string;
2760
+ mcp_servers: Array<{
2761
+ type: "url";
2762
+ name: string;
2763
+ url: string;
2764
+ headers?: {
2765
+ [key: string]: string;
2766
+ };
2767
+ timeout_ms?: number;
2768
+ } | {
2769
+ type: "sse";
2770
+ name: string;
2771
+ url: string;
2772
+ headers?: {
2773
+ [key: string]: string;
2774
+ };
2775
+ timeout_ms?: number;
2776
+ } | {
2777
+ type: "stdio";
2778
+ name: string;
2779
+ command: string;
2780
+ args?: Array<string>;
2781
+ env?: {
2782
+ [key: string]: string;
2783
+ };
2784
+ timeout_ms?: number;
2785
+ }>;
2786
+ model: {
2787
+ id: string;
2788
+ effort?: {
2789
+ type: "low";
2790
+ } | {
2791
+ type: "medium";
2792
+ } | {
2793
+ type: "high";
2794
+ } | {
2795
+ type: "xhigh";
2796
+ } | {
2797
+ type: "max";
2798
+ };
2799
+ inference_geo?: string;
2800
+ speed?: "standard" | "fast";
2801
+ settings?: {
2802
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2803
+ max_output_tokens?: number;
2804
+ };
2805
+ };
2806
+ multiagent: null | {
2807
+ agents: Array<{
2808
+ model: string;
2809
+ type: "advisor";
2810
+ } | {
2811
+ id: string;
2812
+ description: null | string;
2813
+ mcp_servers: Array<{
2814
+ type: "url";
2815
+ name: string;
2816
+ url: string;
2817
+ headers?: {
2818
+ [key: string]: string;
2819
+ };
2820
+ timeout_ms?: number;
2821
+ } | {
2822
+ type: "sse";
2823
+ name: string;
2824
+ url: string;
2825
+ headers?: {
2826
+ [key: string]: string;
2827
+ };
2828
+ timeout_ms?: number;
2829
+ } | {
2830
+ type: "stdio";
2831
+ name: string;
2832
+ command: string;
2833
+ args?: Array<string>;
2834
+ env?: {
2835
+ [key: string]: string;
2836
+ };
2837
+ timeout_ms?: number;
2838
+ }>;
2839
+ model: {
2840
+ id: string;
2841
+ effort?: {
2842
+ type: "low";
2843
+ } | {
2844
+ type: "medium";
2845
+ } | {
2846
+ type: "high";
2847
+ } | {
2848
+ type: "xhigh";
2849
+ } | {
2850
+ type: "max";
2851
+ };
2852
+ inference_geo?: string;
2853
+ speed?: "standard" | "fast";
2854
+ };
2855
+ name: string;
2856
+ skills: Array<{
2857
+ skill_id: string;
2858
+ type: "anthropic";
2859
+ version: string;
2860
+ } | {
2861
+ skill_id: string;
2862
+ type: "custom";
2863
+ version: string;
2864
+ }>;
2865
+ system: null | string;
2866
+ tools: Array<{
2867
+ configs: Array<{
2868
+ enabled: boolean;
2869
+ name: "bash";
2870
+ permission_policy: {
2871
+ type: "always_allow";
2872
+ } | {
2873
+ type: "always_ask";
2874
+ } | {
2875
+ type: "auto";
2876
+ };
2877
+ type: "bash";
2878
+ } | {
2879
+ enabled: boolean;
2880
+ name: "edit";
2881
+ permission_policy: {
2882
+ type: "always_allow";
2883
+ } | {
2884
+ type: "always_ask";
2885
+ } | {
2886
+ type: "auto";
2887
+ };
2888
+ type: "edit";
2889
+ } | {
2890
+ enabled: boolean;
2891
+ name: "read";
2892
+ permission_policy: {
2893
+ type: "always_allow";
2894
+ } | {
2895
+ type: "always_ask";
2896
+ } | {
2897
+ type: "auto";
2898
+ };
2899
+ type: "read";
2900
+ } | {
2901
+ enabled: boolean;
2902
+ name: "write";
2903
+ permission_policy: {
2904
+ type: "always_allow";
2905
+ } | {
2906
+ type: "always_ask";
2907
+ } | {
2908
+ type: "auto";
2909
+ };
2910
+ type: "write";
2911
+ } | {
2912
+ enabled: boolean;
2913
+ name: "glob";
2914
+ permission_policy: {
2915
+ type: "always_allow";
2916
+ } | {
2917
+ type: "always_ask";
2918
+ } | {
2919
+ type: "auto";
2920
+ };
2921
+ type: "glob";
2922
+ } | {
2923
+ enabled: boolean;
2924
+ name: "grep";
2925
+ permission_policy: {
2926
+ type: "always_allow";
2927
+ } | {
2928
+ type: "always_ask";
2929
+ } | {
2930
+ type: "auto";
2931
+ };
2932
+ type: "grep";
2933
+ } | {
2934
+ enabled: boolean;
2935
+ name: "web_fetch";
2936
+ permission_policy: {
2937
+ type: "always_allow";
2938
+ } | {
2939
+ type: "always_ask";
2940
+ } | {
2941
+ type: "auto";
2942
+ };
2943
+ type: "web_fetch";
2944
+ allowed_domains?: Array<string>;
2945
+ blocked_domains?: Array<string>;
2946
+ max_content_tokens?: null | number;
2947
+ } | {
2948
+ enabled: boolean;
2949
+ name: "web_search";
2950
+ permission_policy: {
2951
+ type: "always_allow";
2952
+ } | {
2953
+ type: "always_ask";
2954
+ } | {
2955
+ type: "auto";
2956
+ };
2957
+ type: "web_search";
2958
+ allowed_domains?: Array<string>;
2959
+ blocked_domains?: Array<string>;
2960
+ user_location?: null | {
2961
+ type: "approximate";
2962
+ city?: null | string;
2963
+ country?: null | string;
2964
+ region?: null | string;
2965
+ timezone?: null | string;
2966
+ };
2967
+ } | {
2968
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2969
+ enabled: boolean;
2970
+ permission_policy: {
2971
+ type: "always_allow" | "always_ask";
2972
+ };
2973
+ }>;
2974
+ default_config: {
2975
+ enabled: boolean;
2976
+ permission_policy: {
2977
+ type: "always_allow";
2978
+ } | {
2979
+ type: "always_ask";
2980
+ } | {
2981
+ type: "auto";
2982
+ };
2983
+ };
2984
+ type: "agent_toolset_20260401";
2985
+ } | {
2986
+ type: "mcp_toolset";
2987
+ mcp_server_name: string;
2988
+ default_config?: {
2989
+ enabled?: boolean | null;
2990
+ permission_policy?: null | {
2991
+ type: "always_allow" | "always_ask";
2992
+ };
2993
+ } | null;
2994
+ configs?: Array<{
2995
+ name: string;
2996
+ enabled?: boolean | null;
2997
+ permission_policy?: null | {
2998
+ type: "always_allow" | "always_ask";
2999
+ };
3000
+ }> | null;
3001
+ } | {
3002
+ description: string;
3003
+ input_schema: {
3004
+ type: "object";
3005
+ properties?: null | {
3006
+ [key: string]: unknown;
3007
+ };
3008
+ required?: null | Array<string>;
3009
+ [key: string]: unknown;
3010
+ };
3011
+ name: string;
3012
+ type: "custom";
3013
+ }>;
3014
+ type: "agent";
3015
+ version: number;
3016
+ }>;
3017
+ type: "coordinator";
3018
+ };
3019
+ name: string;
3020
+ skills: Array<{
3021
+ skill_id: string;
3022
+ type: "anthropic";
3023
+ version: string;
3024
+ } | {
3025
+ skill_id: string;
3026
+ type: "custom";
3027
+ version: string;
3028
+ }>;
3029
+ system: null | string;
3030
+ tools: Array<{
3031
+ configs: Array<{
3032
+ enabled: boolean;
3033
+ name: "bash";
3034
+ permission_policy: {
3035
+ type: "always_allow";
3036
+ } | {
3037
+ type: "always_ask";
3038
+ } | {
3039
+ type: "auto";
3040
+ };
3041
+ type: "bash";
3042
+ } | {
3043
+ enabled: boolean;
3044
+ name: "edit";
3045
+ permission_policy: {
3046
+ type: "always_allow";
3047
+ } | {
3048
+ type: "always_ask";
3049
+ } | {
3050
+ type: "auto";
3051
+ };
3052
+ type: "edit";
3053
+ } | {
3054
+ enabled: boolean;
3055
+ name: "read";
3056
+ permission_policy: {
3057
+ type: "always_allow";
3058
+ } | {
3059
+ type: "always_ask";
3060
+ } | {
3061
+ type: "auto";
3062
+ };
3063
+ type: "read";
3064
+ } | {
3065
+ enabled: boolean;
3066
+ name: "write";
3067
+ permission_policy: {
3068
+ type: "always_allow";
3069
+ } | {
3070
+ type: "always_ask";
3071
+ } | {
3072
+ type: "auto";
3073
+ };
3074
+ type: "write";
3075
+ } | {
3076
+ enabled: boolean;
3077
+ name: "glob";
3078
+ permission_policy: {
3079
+ type: "always_allow";
3080
+ } | {
3081
+ type: "always_ask";
3082
+ } | {
3083
+ type: "auto";
3084
+ };
3085
+ type: "glob";
3086
+ } | {
3087
+ enabled: boolean;
3088
+ name: "grep";
3089
+ permission_policy: {
3090
+ type: "always_allow";
3091
+ } | {
3092
+ type: "always_ask";
3093
+ } | {
3094
+ type: "auto";
3095
+ };
3096
+ type: "grep";
3097
+ } | {
3098
+ enabled: boolean;
3099
+ name: "web_fetch";
3100
+ permission_policy: {
3101
+ type: "always_allow";
3102
+ } | {
3103
+ type: "always_ask";
3104
+ } | {
3105
+ type: "auto";
3106
+ };
3107
+ type: "web_fetch";
3108
+ allowed_domains?: Array<string>;
3109
+ blocked_domains?: Array<string>;
3110
+ max_content_tokens?: null | number;
3111
+ } | {
3112
+ enabled: boolean;
3113
+ name: "web_search";
3114
+ permission_policy: {
3115
+ type: "always_allow";
3116
+ } | {
3117
+ type: "always_ask";
3118
+ } | {
3119
+ type: "auto";
3120
+ };
3121
+ type: "web_search";
3122
+ allowed_domains?: Array<string>;
3123
+ blocked_domains?: Array<string>;
3124
+ user_location?: null | {
3125
+ type: "approximate";
3126
+ city?: null | string;
3127
+ country?: null | string;
3128
+ region?: null | string;
3129
+ timezone?: null | string;
3130
+ };
3131
+ } | {
3132
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3133
+ enabled: boolean;
3134
+ permission_policy: {
3135
+ type: "always_allow" | "always_ask";
3136
+ };
3137
+ }>;
3138
+ default_config: {
3139
+ enabled: boolean;
3140
+ permission_policy: {
3141
+ type: "always_allow";
3142
+ } | {
3143
+ type: "always_ask";
3144
+ } | {
3145
+ type: "auto";
3146
+ };
3147
+ };
3148
+ type: "agent_toolset_20260401";
3149
+ } | {
3150
+ type: "mcp_toolset";
3151
+ mcp_server_name: string;
3152
+ default_config?: {
3153
+ enabled?: boolean | null;
3154
+ permission_policy?: null | {
3155
+ type: "always_allow" | "always_ask";
3156
+ };
3157
+ } | null;
3158
+ configs?: Array<{
3159
+ name: string;
3160
+ enabled?: boolean | null;
3161
+ permission_policy?: null | {
3162
+ type: "always_allow" | "always_ask";
3163
+ };
3164
+ }> | null;
3165
+ } | {
3166
+ description: string;
3167
+ input_schema: {
3168
+ type: "object";
3169
+ properties?: null | {
3170
+ [key: string]: unknown;
3171
+ };
3172
+ required?: null | Array<string>;
3173
+ [key: string]: unknown;
3174
+ };
3175
+ name: string;
3176
+ type: "custom";
3177
+ }>;
3178
+ type: "agent";
3179
+ version: number;
3180
+ };
3181
+ archived_at: null | string;
3182
+ budget: null | {
3183
+ max_list_cost: {
3184
+ amount: string;
3185
+ currency: "USD";
3186
+ };
3187
+ type: "limit";
3188
+ };
3189
+ created_at: string;
3190
+ environment_id?: string;
3191
+ metadata: {
3192
+ [key: string]: string;
3193
+ };
3194
+ outcome_evaluations: Array<{
3195
+ completed_at: null | string;
3196
+ description: string;
3197
+ explanation: null | string;
3198
+ iteration: number;
3199
+ outcome_id: string;
3200
+ result: string;
3201
+ type: "outcome_evaluation";
3202
+ }>;
3203
+ resources: Array<{
3204
+ id: string;
3205
+ created_at: string;
3206
+ mount_path: string;
3207
+ type: "github_repository";
3208
+ updated_at: string;
3209
+ url: string;
3210
+ checkout?: null | {
3211
+ name: string;
3212
+ type: "branch";
3213
+ } | {
3214
+ sha: string;
3215
+ type: "commit";
3216
+ };
3217
+ } | {
3218
+ id: string;
3219
+ created_at: string;
3220
+ file_id: string;
3221
+ mount_path: string;
3222
+ type: "file";
3223
+ updated_at: string;
3224
+ } | {
3225
+ memory_store_id: string;
3226
+ type: "memory_store";
3227
+ access?: null | "read_write" | "read_only";
3228
+ description?: string;
3229
+ instructions?: null | string;
3230
+ mount_path?: null | string;
3231
+ name?: null | string;
3232
+ }>;
3233
+ stats: {
3234
+ active_seconds?: number;
3235
+ duration_seconds?: number;
3236
+ };
3237
+ status: "rescheduling" | "running" | "idle" | "terminated";
3238
+ title: null | string;
3239
+ type: "session";
3240
+ updated_at: string;
3241
+ usage: {
3242
+ active_seconds?: number;
3243
+ cache_creation?: {
3244
+ ephemeral_1h_input_tokens?: number;
3245
+ ephemeral_5m_input_tokens?: number;
3246
+ };
3247
+ cache_read_input_tokens?: number;
3248
+ input_tokens?: number;
3249
+ list_cost?: null | {
3250
+ amount: string;
3251
+ currency: "USD";
3252
+ };
3253
+ output_tokens?: number;
3254
+ server_tool_use?: null | {
3255
+ web_fetch_requests?: number;
3256
+ web_search_requests?: number;
3257
+ };
3258
+ cost_by_product?: {
3259
+ [key: string]: string;
3260
+ };
3261
+ subagent_cost_micro_usd?: number;
3262
+ };
3263
+ vault_ids: Array<string>;
3264
+ deployment_id?: null | string;
3265
+ cwd: string;
3266
+ workspace?: {
3267
+ kind: "shared" | "isolated";
3268
+ path?: string;
3269
+ branch?: string;
3270
+ };
3271
+ computer_id?: string;
3272
+ model?: {
3273
+ id: string;
3274
+ thinking: {
3275
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3276
+ can_disable: boolean;
3277
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3278
+ } | null;
3279
+ };
3280
+ thinking?: {
3281
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3282
+ } | null;
3283
+ forked_from?: {
3284
+ session_id: string;
3285
+ message_id: string;
3286
+ } | null;
3287
+ readonly external_user_id: string | null;
3288
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3289
+ }>;
3290
+ };
2170
3291
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2171
3292
  id: string;
2172
3293
  agent: {
@@ -2180,6 +3301,7 @@ export declare function createAgent(transport: Transport): {
2180
3301
  speed?: "standard" | "fast";
2181
3302
  settings?: {
2182
3303
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3304
+ max_output_tokens?: number;
2183
3305
  };
2184
3306
  };
2185
3307
  multiagent: null | Types.AgentManaged171;
@@ -2206,6 +3328,11 @@ export declare function createAgent(transport: Transport): {
2206
3328
  vault_ids: Array<string>;
2207
3329
  deployment_id?: null | string;
2208
3330
  cwd: string;
3331
+ workspace?: {
3332
+ kind: "shared" | "isolated";
3333
+ path?: string;
3334
+ branch?: string;
3335
+ };
2209
3336
  computer_id?: string;
2210
3337
  model?: {
2211
3338
  id: string;
@@ -2225,6 +3352,40 @@ export declare function createAgent(transport: Transport): {
2225
3352
  readonly external_user_id: string | null;
2226
3353
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2227
3354
  }>;
3355
+ artifacts: {
3356
+ contentUrl: {
3357
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3358
+ url: string;
3359
+ expire_time: string;
3360
+ }>;
3361
+ };
3362
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3363
+ data: Array<{
3364
+ object: "artifact";
3365
+ id: string;
3366
+ session_id: string;
3367
+ run_id: string | null;
3368
+ name: string;
3369
+ version: number;
3370
+ parts: Array<{
3371
+ kind: "file";
3372
+ file_id: string;
3373
+ filename: string;
3374
+ mime_type: string;
3375
+ bytes: number;
3376
+ } | {
3377
+ kind: "object";
3378
+ object_type: "canvas" | "media_asset";
3379
+ object_id: string;
3380
+ href: string;
3381
+ title: string | null;
3382
+ }>;
3383
+ source_hrefs: Array<string>;
3384
+ create_time: string;
3385
+ update_time: string;
3386
+ }>;
3387
+ }>;
3388
+ };
2228
3389
  backgroundTasks: {
2229
3390
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2230
3391
  data: Array<{
@@ -2307,6 +3468,7 @@ export declare function createAgent(transport: Transport): {
2307
3468
  speed?: "standard" | "fast";
2308
3469
  settings?: {
2309
3470
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3471
+ max_output_tokens?: number;
2310
3472
  };
2311
3473
  };
2312
3474
  multiagent: null | Types.AgentManaged171;
@@ -2333,6 +3495,11 @@ export declare function createAgent(transport: Transport): {
2333
3495
  vault_ids: Array<string>;
2334
3496
  deployment_id?: null | string;
2335
3497
  cwd: string;
3498
+ workspace?: {
3499
+ kind: "shared" | "isolated";
3500
+ path?: string;
3501
+ branch?: string;
3502
+ };
2336
3503
  computer_id?: string;
2337
3504
  model?: {
2338
3505
  id: string;
@@ -2353,6 +3520,13 @@ export declare function createAgent(transport: Transport): {
2353
3520
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2354
3521
  }>;
2355
3522
  delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
3523
+ dictations: {
3524
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
3525
+ id: string;
3526
+ push_url: string;
3527
+ expires_at: string;
3528
+ }>;
3529
+ };
2356
3530
  events: {
2357
3531
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
2358
3532
  data: Array<{
@@ -2393,7 +3567,6 @@ export declare function createAgent(transport: Transport): {
2393
3567
  run_id: string | null;
2394
3568
  message_id?: string;
2395
3569
  } | {
2396
- full_access_available?: boolean;
2397
3570
  id: string;
2398
3571
  input: Types.AgentManaged197;
2399
3572
  mcp_server_name: string;
@@ -2403,6 +3576,18 @@ export declare function createAgent(transport: Transport): {
2403
3576
  evaluated_permission?: "allow" | "deny" | "ask";
2404
3577
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2405
3578
  session_thread_id?: null | string;
3579
+ permission_suggestions?: Array<{
3580
+ type: "add_rules";
3581
+ behavior: "allow";
3582
+ destination: "agent" | "session";
3583
+ rules: Array<{
3584
+ tool_name: string;
3585
+ rule_content: string;
3586
+ }>;
3587
+ }>;
3588
+ full_access_available?: boolean;
3589
+ user_once?: true;
3590
+ guarded_rule?: string;
2406
3591
  run_id: string | null;
2407
3592
  _meta?: {
2408
3593
  ui?: {
@@ -2416,17 +3601,6 @@ export declare function createAgent(transport: Transport): {
2416
3601
  };
2417
3602
  source?: "app" | "codemode";
2418
3603
  parent_tool_use_id?: string;
2419
- user_once?: true;
2420
- guarded_rule?: string;
2421
- permission_suggestions?: Array<{
2422
- type: "add_rules";
2423
- behavior: "allow";
2424
- destination: "agent" | "session";
2425
- rules: Array<{
2426
- tool_name: string;
2427
- rule_content: string;
2428
- }>;
2429
- }>;
2430
3604
  title?: string;
2431
3605
  input_titles?: {
2432
3606
  [key: string]: string;
@@ -2445,7 +3619,6 @@ export declare function createAgent(transport: Transport): {
2445
3619
  };
2446
3620
  source?: "app" | "codemode";
2447
3621
  } | {
2448
- full_access_available?: boolean;
2449
3622
  id: string;
2450
3623
  input: Types.AgentManaged206;
2451
3624
  name: string;
@@ -2454,9 +3627,6 @@ export declare function createAgent(transport: Transport): {
2454
3627
  evaluated_permission?: "allow" | "deny" | "ask";
2455
3628
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2456
3629
  session_thread_id?: null | string;
2457
- run_id: string | null;
2458
- user_once?: true;
2459
- guarded_rule?: string;
2460
3630
  permission_suggestions?: Array<{
2461
3631
  type: "add_rules";
2462
3632
  behavior: "allow";
@@ -2466,6 +3636,10 @@ export declare function createAgent(transport: Transport): {
2466
3636
  rule_content: string;
2467
3637
  }>;
2468
3638
  }>;
3639
+ full_access_available?: boolean;
3640
+ user_once?: true;
3641
+ guarded_rule?: string;
3642
+ run_id: string | null;
2469
3643
  } | {
2470
3644
  id: string;
2471
3645
  processed_at: string;
@@ -2486,9 +3660,6 @@ export declare function createAgent(transport: Transport): {
2486
3660
  type: "session.status_idle";
2487
3661
  run_id: string | null;
2488
3662
  } | 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 | {
2489
- permission_mode_version?: number;
2490
- previous_permission_mode?: string | null;
2491
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2492
3663
  id: string;
2493
3664
  processed_at: string;
2494
3665
  type: "session.updated";
@@ -2496,6 +3667,9 @@ export declare function createAgent(transport: Transport): {
2496
3667
  budget?: null | Types.AgentManaged76;
2497
3668
  metadata?: Types.AgentManaged246;
2498
3669
  title?: null | string;
3670
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3671
+ previous_permission_mode?: string | null;
3672
+ permission_mode_version?: number;
2499
3673
  model?: {
2500
3674
  id: string;
2501
3675
  };
@@ -2554,21 +3728,6 @@ export declare function createAgent(transport: Transport): {
2554
3728
  type: "user.steer";
2555
3729
  event_id: string;
2556
3730
  processed_at: string;
2557
- } | {
2558
- id: string;
2559
- type: "user.tool_confirmation";
2560
- processed_at: string;
2561
- tool_use_id: string;
2562
- result: "allow";
2563
- answers: {
2564
- [key: string]: string;
2565
- };
2566
- annotations?: {
2567
- [key: string]: {
2568
- preview?: string;
2569
- notes?: string;
2570
- };
2571
- };
2572
3731
  }>;
2573
3732
  next_page: string | null;
2574
3733
  }>;
@@ -2589,21 +3748,6 @@ export declare function createAgent(transport: Transport): {
2589
3748
  type: "user.steer";
2590
3749
  event_id: string;
2591
3750
  processed_at: string;
2592
- } | {
2593
- id: string;
2594
- type: "user.tool_confirmation";
2595
- processed_at: string;
2596
- tool_use_id: string;
2597
- result: "allow";
2598
- answers: {
2599
- [key: string]: string;
2600
- };
2601
- annotations?: {
2602
- [key: string]: {
2603
- preview?: string;
2604
- notes?: string;
2605
- };
2606
- };
2607
3751
  }>;
2608
3752
  }>;
2609
3753
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2656,6 +3800,7 @@ export declare function createAgent(transport: Transport): {
2656
3800
  speed?: "standard" | "fast";
2657
3801
  settings?: {
2658
3802
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3803
+ max_output_tokens?: number;
2659
3804
  };
2660
3805
  };
2661
3806
  multiagent: null | {
@@ -3118,6 +4263,11 @@ export declare function createAgent(transport: Transport): {
3118
4263
  vault_ids: Array<string>;
3119
4264
  deployment_id?: null | string;
3120
4265
  cwd: string;
4266
+ workspace?: {
4267
+ kind: "shared" | "isolated";
4268
+ path?: string;
4269
+ branch?: string;
4270
+ };
3121
4271
  computer_id?: string;
3122
4272
  model?: {
3123
4273
  id: string;
@@ -3151,32 +4301,576 @@ export declare function createAgent(transport: Transport): {
3151
4301
  speed?: "standard" | "fast";
3152
4302
  settings?: {
3153
4303
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4304
+ max_output_tokens?: number;
3154
4305
  };
3155
4306
  };
3156
4307
  multiagent: null | Types.AgentManaged171;
3157
4308
  name: string;
3158
4309
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
3159
4310
  system: null | string;
3160
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4311
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4312
+ type: "agent";
4313
+ version: number;
4314
+ };
4315
+ archived_at: null | string;
4316
+ budget: null | Types.AgentManaged76;
4317
+ created_at: string;
4318
+ environment_id?: string;
4319
+ metadata: Types.AgentManaged173;
4320
+ outcome_evaluations: Array<Types.AgentManaged174>;
4321
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4322
+ stats: Types.AgentManaged178;
4323
+ status: "rescheduling" | "running" | "idle" | "terminated";
4324
+ title: null | string;
4325
+ type: "session";
4326
+ updated_at: string;
4327
+ usage: Types.AgentManaged179;
4328
+ vault_ids: Array<string>;
4329
+ deployment_id?: null | string;
4330
+ cwd: string;
4331
+ workspace?: {
4332
+ kind: "shared" | "isolated";
4333
+ path?: string;
4334
+ branch?: string;
4335
+ };
4336
+ computer_id?: string;
4337
+ model?: {
4338
+ id: string;
4339
+ thinking: {
4340
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4341
+ can_disable: boolean;
4342
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4343
+ } | null;
4344
+ };
4345
+ thinking?: {
4346
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4347
+ } | null;
4348
+ forked_from?: {
4349
+ session_id: string;
4350
+ message_id: string;
4351
+ } | null;
4352
+ readonly external_user_id: string | null;
4353
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4354
+ }>;
4355
+ next_page: string | null;
4356
+ }>;
4357
+ name: {
4358
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4359
+ id: string;
4360
+ agent: {
4361
+ id: string;
4362
+ description: null | string;
4363
+ mcp_servers: Array<{
4364
+ type: "url";
4365
+ name: string;
4366
+ url: string;
4367
+ headers?: {
4368
+ [key: string]: string;
4369
+ };
4370
+ timeout_ms?: number;
4371
+ } | {
4372
+ type: "sse";
4373
+ name: string;
4374
+ url: string;
4375
+ headers?: {
4376
+ [key: string]: string;
4377
+ };
4378
+ timeout_ms?: number;
4379
+ } | {
4380
+ type: "stdio";
4381
+ name: string;
4382
+ command: string;
4383
+ args?: Array<string>;
4384
+ env?: {
4385
+ [key: string]: string;
4386
+ };
4387
+ timeout_ms?: number;
4388
+ }>;
4389
+ model: {
4390
+ id: string;
4391
+ effort?: {
4392
+ type: "low";
4393
+ } | {
4394
+ type: "medium";
4395
+ } | {
4396
+ type: "high";
4397
+ } | {
4398
+ type: "xhigh";
4399
+ } | {
4400
+ type: "max";
4401
+ };
4402
+ inference_geo?: string;
4403
+ speed?: "standard" | "fast";
4404
+ settings?: {
4405
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4406
+ max_output_tokens?: number;
4407
+ };
4408
+ };
4409
+ multiagent: null | {
4410
+ agents: Array<{
4411
+ model: string;
4412
+ type: "advisor";
4413
+ } | {
4414
+ id: string;
4415
+ description: null | string;
4416
+ mcp_servers: Array<{
4417
+ type: "url";
4418
+ name: string;
4419
+ url: string;
4420
+ headers?: {
4421
+ [key: string]: string;
4422
+ };
4423
+ timeout_ms?: number;
4424
+ } | {
4425
+ type: "sse";
4426
+ name: string;
4427
+ url: string;
4428
+ headers?: {
4429
+ [key: string]: string;
4430
+ };
4431
+ timeout_ms?: number;
4432
+ } | {
4433
+ type: "stdio";
4434
+ name: string;
4435
+ command: string;
4436
+ args?: Array<string>;
4437
+ env?: {
4438
+ [key: string]: string;
4439
+ };
4440
+ timeout_ms?: number;
4441
+ }>;
4442
+ model: {
4443
+ id: string;
4444
+ effort?: {
4445
+ type: "low";
4446
+ } | {
4447
+ type: "medium";
4448
+ } | {
4449
+ type: "high";
4450
+ } | {
4451
+ type: "xhigh";
4452
+ } | {
4453
+ type: "max";
4454
+ };
4455
+ inference_geo?: string;
4456
+ speed?: "standard" | "fast";
4457
+ };
4458
+ name: string;
4459
+ skills: Array<{
4460
+ skill_id: string;
4461
+ type: "anthropic";
4462
+ version: string;
4463
+ } | {
4464
+ skill_id: string;
4465
+ type: "custom";
4466
+ version: string;
4467
+ }>;
4468
+ system: null | string;
4469
+ tools: Array<{
4470
+ configs: Array<{
4471
+ enabled: boolean;
4472
+ name: "bash";
4473
+ permission_policy: {
4474
+ type: "always_allow";
4475
+ } | {
4476
+ type: "always_ask";
4477
+ } | {
4478
+ type: "auto";
4479
+ };
4480
+ type: "bash";
4481
+ } | {
4482
+ enabled: boolean;
4483
+ name: "edit";
4484
+ permission_policy: {
4485
+ type: "always_allow";
4486
+ } | {
4487
+ type: "always_ask";
4488
+ } | {
4489
+ type: "auto";
4490
+ };
4491
+ type: "edit";
4492
+ } | {
4493
+ enabled: boolean;
4494
+ name: "read";
4495
+ permission_policy: {
4496
+ type: "always_allow";
4497
+ } | {
4498
+ type: "always_ask";
4499
+ } | {
4500
+ type: "auto";
4501
+ };
4502
+ type: "read";
4503
+ } | {
4504
+ enabled: boolean;
4505
+ name: "write";
4506
+ permission_policy: {
4507
+ type: "always_allow";
4508
+ } | {
4509
+ type: "always_ask";
4510
+ } | {
4511
+ type: "auto";
4512
+ };
4513
+ type: "write";
4514
+ } | {
4515
+ enabled: boolean;
4516
+ name: "glob";
4517
+ permission_policy: {
4518
+ type: "always_allow";
4519
+ } | {
4520
+ type: "always_ask";
4521
+ } | {
4522
+ type: "auto";
4523
+ };
4524
+ type: "glob";
4525
+ } | {
4526
+ enabled: boolean;
4527
+ name: "grep";
4528
+ permission_policy: {
4529
+ type: "always_allow";
4530
+ } | {
4531
+ type: "always_ask";
4532
+ } | {
4533
+ type: "auto";
4534
+ };
4535
+ type: "grep";
4536
+ } | {
4537
+ enabled: boolean;
4538
+ name: "web_fetch";
4539
+ permission_policy: {
4540
+ type: "always_allow";
4541
+ } | {
4542
+ type: "always_ask";
4543
+ } | {
4544
+ type: "auto";
4545
+ };
4546
+ type: "web_fetch";
4547
+ allowed_domains?: Array<string>;
4548
+ blocked_domains?: Array<string>;
4549
+ max_content_tokens?: null | number;
4550
+ } | {
4551
+ enabled: boolean;
4552
+ name: "web_search";
4553
+ permission_policy: {
4554
+ type: "always_allow";
4555
+ } | {
4556
+ type: "always_ask";
4557
+ } | {
4558
+ type: "auto";
4559
+ };
4560
+ type: "web_search";
4561
+ allowed_domains?: Array<string>;
4562
+ blocked_domains?: Array<string>;
4563
+ user_location?: null | {
4564
+ type: "approximate";
4565
+ city?: null | string;
4566
+ country?: null | string;
4567
+ region?: null | string;
4568
+ timezone?: null | string;
4569
+ };
4570
+ } | {
4571
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4572
+ enabled: boolean;
4573
+ permission_policy: {
4574
+ type: "always_allow" | "always_ask";
4575
+ };
4576
+ }>;
4577
+ default_config: {
4578
+ enabled: boolean;
4579
+ permission_policy: {
4580
+ type: "always_allow";
4581
+ } | {
4582
+ type: "always_ask";
4583
+ } | {
4584
+ type: "auto";
4585
+ };
4586
+ };
4587
+ type: "agent_toolset_20260401";
4588
+ } | {
4589
+ type: "mcp_toolset";
4590
+ mcp_server_name: string;
4591
+ default_config?: {
4592
+ enabled?: boolean | null;
4593
+ permission_policy?: null | {
4594
+ type: "always_allow" | "always_ask";
4595
+ };
4596
+ } | null;
4597
+ configs?: Array<{
4598
+ name: string;
4599
+ enabled?: boolean | null;
4600
+ permission_policy?: null | {
4601
+ type: "always_allow" | "always_ask";
4602
+ };
4603
+ }> | null;
4604
+ } | {
4605
+ description: string;
4606
+ input_schema: {
4607
+ type: "object";
4608
+ properties?: null | {
4609
+ [key: string]: unknown;
4610
+ };
4611
+ required?: null | Array<string>;
4612
+ [key: string]: unknown;
4613
+ };
4614
+ name: string;
4615
+ type: "custom";
4616
+ }>;
4617
+ type: "agent";
4618
+ version: number;
4619
+ }>;
4620
+ type: "coordinator";
4621
+ };
4622
+ name: string;
4623
+ skills: Array<{
4624
+ skill_id: string;
4625
+ type: "anthropic";
4626
+ version: string;
4627
+ } | {
4628
+ skill_id: string;
4629
+ type: "custom";
4630
+ version: string;
4631
+ }>;
4632
+ system: null | string;
4633
+ tools: Array<{
4634
+ configs: Array<{
4635
+ enabled: boolean;
4636
+ name: "bash";
4637
+ permission_policy: {
4638
+ type: "always_allow";
4639
+ } | {
4640
+ type: "always_ask";
4641
+ } | {
4642
+ type: "auto";
4643
+ };
4644
+ type: "bash";
4645
+ } | {
4646
+ enabled: boolean;
4647
+ name: "edit";
4648
+ permission_policy: {
4649
+ type: "always_allow";
4650
+ } | {
4651
+ type: "always_ask";
4652
+ } | {
4653
+ type: "auto";
4654
+ };
4655
+ type: "edit";
4656
+ } | {
4657
+ enabled: boolean;
4658
+ name: "read";
4659
+ permission_policy: {
4660
+ type: "always_allow";
4661
+ } | {
4662
+ type: "always_ask";
4663
+ } | {
4664
+ type: "auto";
4665
+ };
4666
+ type: "read";
4667
+ } | {
4668
+ enabled: boolean;
4669
+ name: "write";
4670
+ permission_policy: {
4671
+ type: "always_allow";
4672
+ } | {
4673
+ type: "always_ask";
4674
+ } | {
4675
+ type: "auto";
4676
+ };
4677
+ type: "write";
4678
+ } | {
4679
+ enabled: boolean;
4680
+ name: "glob";
4681
+ permission_policy: {
4682
+ type: "always_allow";
4683
+ } | {
4684
+ type: "always_ask";
4685
+ } | {
4686
+ type: "auto";
4687
+ };
4688
+ type: "glob";
4689
+ } | {
4690
+ enabled: boolean;
4691
+ name: "grep";
4692
+ permission_policy: {
4693
+ type: "always_allow";
4694
+ } | {
4695
+ type: "always_ask";
4696
+ } | {
4697
+ type: "auto";
4698
+ };
4699
+ type: "grep";
4700
+ } | {
4701
+ enabled: boolean;
4702
+ name: "web_fetch";
4703
+ permission_policy: {
4704
+ type: "always_allow";
4705
+ } | {
4706
+ type: "always_ask";
4707
+ } | {
4708
+ type: "auto";
4709
+ };
4710
+ type: "web_fetch";
4711
+ allowed_domains?: Array<string>;
4712
+ blocked_domains?: Array<string>;
4713
+ max_content_tokens?: null | number;
4714
+ } | {
4715
+ enabled: boolean;
4716
+ name: "web_search";
4717
+ permission_policy: {
4718
+ type: "always_allow";
4719
+ } | {
4720
+ type: "always_ask";
4721
+ } | {
4722
+ type: "auto";
4723
+ };
4724
+ type: "web_search";
4725
+ allowed_domains?: Array<string>;
4726
+ blocked_domains?: Array<string>;
4727
+ user_location?: null | {
4728
+ type: "approximate";
4729
+ city?: null | string;
4730
+ country?: null | string;
4731
+ region?: null | string;
4732
+ timezone?: null | string;
4733
+ };
4734
+ } | {
4735
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4736
+ enabled: boolean;
4737
+ permission_policy: {
4738
+ type: "always_allow" | "always_ask";
4739
+ };
4740
+ }>;
4741
+ default_config: {
4742
+ enabled: boolean;
4743
+ permission_policy: {
4744
+ type: "always_allow";
4745
+ } | {
4746
+ type: "always_ask";
4747
+ } | {
4748
+ type: "auto";
4749
+ };
4750
+ };
4751
+ type: "agent_toolset_20260401";
4752
+ } | {
4753
+ type: "mcp_toolset";
4754
+ mcp_server_name: string;
4755
+ default_config?: {
4756
+ enabled?: boolean | null;
4757
+ permission_policy?: null | {
4758
+ type: "always_allow" | "always_ask";
4759
+ };
4760
+ } | null;
4761
+ configs?: Array<{
4762
+ name: string;
4763
+ enabled?: boolean | null;
4764
+ permission_policy?: null | {
4765
+ type: "always_allow" | "always_ask";
4766
+ };
4767
+ }> | null;
4768
+ } | {
4769
+ description: string;
4770
+ input_schema: {
4771
+ type: "object";
4772
+ properties?: null | {
4773
+ [key: string]: unknown;
4774
+ };
4775
+ required?: null | Array<string>;
4776
+ [key: string]: unknown;
4777
+ };
4778
+ name: string;
4779
+ type: "custom";
4780
+ }>;
3161
4781
  type: "agent";
3162
4782
  version: number;
3163
4783
  };
3164
4784
  archived_at: null | string;
3165
- budget: null | Types.AgentManaged76;
4785
+ budget: null | {
4786
+ max_list_cost: {
4787
+ amount: string;
4788
+ currency: "USD";
4789
+ };
4790
+ type: "limit";
4791
+ };
3166
4792
  created_at: string;
3167
4793
  environment_id?: string;
3168
- metadata: Types.AgentManaged173;
3169
- outcome_evaluations: Array<Types.AgentManaged174>;
3170
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3171
- stats: Types.AgentManaged178;
4794
+ metadata: {
4795
+ [key: string]: string;
4796
+ };
4797
+ outcome_evaluations: Array<{
4798
+ completed_at: null | string;
4799
+ description: string;
4800
+ explanation: null | string;
4801
+ iteration: number;
4802
+ outcome_id: string;
4803
+ result: string;
4804
+ type: "outcome_evaluation";
4805
+ }>;
4806
+ resources: Array<{
4807
+ id: string;
4808
+ created_at: string;
4809
+ mount_path: string;
4810
+ type: "github_repository";
4811
+ updated_at: string;
4812
+ url: string;
4813
+ checkout?: null | {
4814
+ name: string;
4815
+ type: "branch";
4816
+ } | {
4817
+ sha: string;
4818
+ type: "commit";
4819
+ };
4820
+ } | {
4821
+ id: string;
4822
+ created_at: string;
4823
+ file_id: string;
4824
+ mount_path: string;
4825
+ type: "file";
4826
+ updated_at: string;
4827
+ } | {
4828
+ memory_store_id: string;
4829
+ type: "memory_store";
4830
+ access?: null | "read_write" | "read_only";
4831
+ description?: string;
4832
+ instructions?: null | string;
4833
+ mount_path?: null | string;
4834
+ name?: null | string;
4835
+ }>;
4836
+ stats: {
4837
+ active_seconds?: number;
4838
+ duration_seconds?: number;
4839
+ };
3172
4840
  status: "rescheduling" | "running" | "idle" | "terminated";
3173
4841
  title: null | string;
3174
4842
  type: "session";
3175
4843
  updated_at: string;
3176
- usage: Types.AgentManaged179;
4844
+ usage: {
4845
+ active_seconds?: number;
4846
+ cache_creation?: {
4847
+ ephemeral_1h_input_tokens?: number;
4848
+ ephemeral_5m_input_tokens?: number;
4849
+ };
4850
+ cache_read_input_tokens?: number;
4851
+ input_tokens?: number;
4852
+ list_cost?: null | {
4853
+ amount: string;
4854
+ currency: "USD";
4855
+ };
4856
+ output_tokens?: number;
4857
+ server_tool_use?: null | {
4858
+ web_fetch_requests?: number;
4859
+ web_search_requests?: number;
4860
+ };
4861
+ cost_by_product?: {
4862
+ [key: string]: string;
4863
+ };
4864
+ subagent_cost_micro_usd?: number;
4865
+ };
3177
4866
  vault_ids: Array<string>;
3178
4867
  deployment_id?: null | string;
3179
4868
  cwd: string;
4869
+ workspace?: {
4870
+ kind: "shared" | "isolated";
4871
+ path?: string;
4872
+ branch?: string;
4873
+ };
3180
4874
  computer_id?: string;
3181
4875
  model?: {
3182
4876
  id: string;
@@ -3196,8 +4890,21 @@ export declare function createAgent(transport: Transport): {
3196
4890
  readonly external_user_id: string | null;
3197
4891
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3198
4892
  }>;
3199
- next_page: string | null;
3200
- }>;
4893
+ };
4894
+ requests: {
4895
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4896
+ data: Array<{
4897
+ id: string;
4898
+ object: "request";
4899
+ kind: "question" | "approval";
4900
+ status: "pending";
4901
+ tool_name: string;
4902
+ input: unknown;
4903
+ create_time: string;
4904
+ expire_time: string | null;
4905
+ }>;
4906
+ }>;
4907
+ };
3201
4908
  resources: {
3202
4909
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3203
4910
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3228,6 +4935,7 @@ export declare function createAgent(transport: Transport): {
3228
4935
  speed?: "standard" | "fast";
3229
4936
  settings?: {
3230
4937
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4938
+ max_output_tokens?: number;
3231
4939
  };
3232
4940
  };
3233
4941
  multiagent: null | Types.AgentManaged171;
@@ -3254,6 +4962,11 @@ export declare function createAgent(transport: Transport): {
3254
4962
  vault_ids: Array<string>;
3255
4963
  deployment_id?: null | string;
3256
4964
  cwd: string;
4965
+ workspace?: {
4966
+ kind: "shared" | "isolated";
4967
+ path?: string;
4968
+ branch?: string;
4969
+ };
3257
4970
  computer_id?: string;
3258
4971
  model?: {
3259
4972
  id: string;
@@ -3400,7 +5113,6 @@ export declare function createAgent(transport: Transport): {
3400
5113
  run_id: string | null;
3401
5114
  message_id?: string;
3402
5115
  } | {
3403
- full_access_available?: boolean;
3404
5116
  id: string;
3405
5117
  input: Types.AgentManaged197;
3406
5118
  mcp_server_name: string;
@@ -3410,6 +5122,18 @@ export declare function createAgent(transport: Transport): {
3410
5122
  evaluated_permission?: "allow" | "deny" | "ask";
3411
5123
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3412
5124
  session_thread_id?: null | string;
5125
+ permission_suggestions?: Array<{
5126
+ type: "add_rules";
5127
+ behavior: "allow";
5128
+ destination: "agent" | "session";
5129
+ rules: Array<{
5130
+ tool_name: string;
5131
+ rule_content: string;
5132
+ }>;
5133
+ }>;
5134
+ full_access_available?: boolean;
5135
+ user_once?: true;
5136
+ guarded_rule?: string;
3413
5137
  run_id: string | null;
3414
5138
  parent_tool_use_id?: string;
3415
5139
  _meta?: {
@@ -3423,17 +5147,6 @@ export declare function createAgent(transport: Transport): {
3423
5147
  };
3424
5148
  };
3425
5149
  source?: "app" | "codemode";
3426
- user_once?: true;
3427
- guarded_rule?: string;
3428
- permission_suggestions?: Array<{
3429
- type: "add_rules";
3430
- behavior: "allow";
3431
- destination: "agent" | "session";
3432
- rules: Array<{
3433
- tool_name: string;
3434
- rule_content: string;
3435
- }>;
3436
- }>;
3437
5150
  title?: string;
3438
5151
  input_titles?: {
3439
5152
  [key: string]: string;
@@ -3452,7 +5165,6 @@ export declare function createAgent(transport: Transport): {
3452
5165
  };
3453
5166
  source?: "app" | "codemode";
3454
5167
  } | {
3455
- full_access_available?: boolean;
3456
5168
  id: string;
3457
5169
  input: Types.AgentManaged206;
3458
5170
  name: string;
@@ -3461,9 +5173,6 @@ export declare function createAgent(transport: Transport): {
3461
5173
  evaluated_permission?: "allow" | "deny" | "ask";
3462
5174
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3463
5175
  session_thread_id?: null | string;
3464
- run_id: string | null;
3465
- user_once?: true;
3466
- guarded_rule?: string;
3467
5176
  permission_suggestions?: Array<{
3468
5177
  type: "add_rules";
3469
5178
  behavior: "allow";
@@ -3473,6 +5182,10 @@ export declare function createAgent(transport: Transport): {
3473
5182
  rule_content: string;
3474
5183
  }>;
3475
5184
  }>;
5185
+ full_access_available?: boolean;
5186
+ user_once?: true;
5187
+ guarded_rule?: string;
5188
+ run_id: string | null;
3476
5189
  } | {
3477
5190
  id: string;
3478
5191
  processed_at: string;
@@ -3493,9 +5206,6 @@ export declare function createAgent(transport: Transport): {
3493
5206
  type: "session.status_idle";
3494
5207
  run_id: string | null;
3495
5208
  } | 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 | {
3496
- permission_mode_version?: number;
3497
- previous_permission_mode?: string | null;
3498
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3499
5209
  id: string;
3500
5210
  processed_at: string;
3501
5211
  type: "session.updated";
@@ -3503,6 +5213,9 @@ export declare function createAgent(transport: Transport): {
3503
5213
  budget?: null | Types.AgentManaged76;
3504
5214
  metadata?: Types.AgentManaged246;
3505
5215
  title?: null | string;
5216
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5217
+ previous_permission_mode?: string | null;
5218
+ permission_mode_version?: number;
3506
5219
  model?: {
3507
5220
  id: string;
3508
5221
  };
@@ -3593,6 +5306,7 @@ export declare function createAgent(transport: Transport): {
3593
5306
  speed?: "standard" | "fast";
3594
5307
  settings?: {
3595
5308
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5309
+ max_output_tokens?: number;
3596
5310
  };
3597
5311
  };
3598
5312
  multiagent: null | Types.AgentManaged171;
@@ -3619,6 +5333,11 @@ export declare function createAgent(transport: Transport): {
3619
5333
  vault_ids: Array<string>;
3620
5334
  deployment_id?: null | string;
3621
5335
  cwd: string;
5336
+ workspace?: {
5337
+ kind: "shared" | "isolated";
5338
+ path?: string;
5339
+ branch?: string;
5340
+ };
3622
5341
  computer_id?: string;
3623
5342
  model?: {
3624
5343
  id: string;
@@ -3683,6 +5402,29 @@ export declare function createAgent(transport: Transport): {
3683
5402
  next_page: null;
3684
5403
  }>;
3685
5404
  };
5405
+ uploads: {
5406
+ contentUrl: {
5407
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5408
+ url: string;
5409
+ expires_at: string;
5410
+ }>;
5411
+ };
5412
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5413
+ upload_id: string;
5414
+ expires_at: string;
5415
+ url: string;
5416
+ } | {
5417
+ upload_id: string;
5418
+ expires_at: string;
5419
+ part_size: number;
5420
+ parts: Array<{
5421
+ part_number: number;
5422
+ url: string;
5423
+ }>;
5424
+ complete_url: string;
5425
+ status_url: string;
5426
+ }>;
5427
+ };
3686
5428
  };
3687
5429
  export declare function createApplication(transport: Transport): {
3688
5430
  assets: {
@@ -3947,6 +5689,11 @@ export declare function createAutomation(transport: Transport): {
3947
5689
  };
3948
5690
  };
3949
5691
  };
5692
+ export declare function createBilling(transport: Transport): {
5693
+ prices: {
5694
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5695
+ };
5696
+ };
3950
5697
  export declare function createBrowser(transport: Transport): {
3951
5698
  connect: {
3952
5699
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3970,6 +5717,49 @@ export declare function createBrowser(transport: Transport): {
3970
5717
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3971
5718
  };
3972
5719
  sessions: {
5720
+ actions: {
5721
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5722
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5723
+ tab: string;
5724
+ url: string;
5725
+ title: string;
5726
+ } | {
5727
+ type: "select";
5728
+ tab: string;
5729
+ values: Array<string>;
5730
+ } | {
5731
+ type: "tabs.list";
5732
+ tabs: Array<{
5733
+ id: string;
5734
+ url: string;
5735
+ title: string;
5736
+ active: boolean;
5737
+ }>;
5738
+ } | {
5739
+ type: "snapshot";
5740
+ tab: string;
5741
+ url: string;
5742
+ title: string;
5743
+ snapshot: string;
5744
+ refs: number;
5745
+ truncated: boolean;
5746
+ } | {
5747
+ type: "screenshot";
5748
+ tab: string;
5749
+ mediaType: "image/png";
5750
+ data: string;
5751
+ bytes: number;
5752
+ } | {
5753
+ type: "evaluate";
5754
+ tab: string;
5755
+ value: unknown;
5756
+ } | {
5757
+ type: "set_cookie";
5758
+ tab: string;
5759
+ name: string;
5760
+ domain: string;
5761
+ }>;
5762
+ };
3973
5763
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3974
5764
  events: {
3975
5765
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3977,6 +5767,7 @@ export declare function createBrowser(transport: Transport): {
3977
5767
  nextCursor: string | null;
3978
5768
  }>;
3979
5769
  };
5770
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3980
5771
  handoff: {
3981
5772
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3982
5773
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3987,6 +5778,7 @@ export declare function createBrowser(transport: Transport): {
3987
5778
  }>;
3988
5779
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3989
5780
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5781
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3990
5782
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3991
5783
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3992
5784
  viewer: {
@@ -4023,6 +5815,24 @@ export declare function createCanvas(transport: Transport): {
4023
5815
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4024
5816
  };
4025
5817
  };
5818
+ export declare function createContent(transport: Transport): {
5819
+ contents: {
5820
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5821
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5822
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5823
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5824
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5825
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5826
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5827
+ };
5828
+ playbackSessions: {
5829
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5830
+ };
5831
+ versions: {
5832
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5833
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5834
+ };
5835
+ };
4026
5836
  export declare function createCrm(transport: Transport): {
4027
5837
  associations: {
4028
5838
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4083,6 +5893,32 @@ export declare function createCrm(transport: Transport): {
4083
5893
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4084
5894
  };
4085
5895
  };
5896
+ export declare function createCustomer(transport: Transport): {
5897
+ accessTokens: {
5898
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5899
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5900
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5901
+ };
5902
+ customers: {
5903
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5904
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5905
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5906
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5907
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5908
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5909
+ };
5910
+ grantCodes: {
5911
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5912
+ };
5913
+ publishableKeys: {
5914
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5915
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5916
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5917
+ };
5918
+ usage: {
5919
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5920
+ };
5921
+ };
4086
5922
  export declare function createCut(transport: Transport): {
4087
5923
  exports: {
4088
5924
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4090,7 +5926,9 @@ export declare function createCut(transport: Transport): {
4090
5926
  };
4091
5927
  projects: {
4092
5928
  analysis: {
4093
- create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
5929
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5930
+ kind: "cut-AnalysisResult";
5931
+ } & Types.CutAnalysisResult>;
4094
5932
  };
4095
5933
  bindings: {
4096
5934
  create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
@@ -4111,6 +5949,9 @@ export declare function createCut(transport: Transport): {
4111
5949
  media: {
4112
5950
  import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
4113
5951
  };
5952
+ renders: {
5953
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5954
+ };
4114
5955
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
4115
5956
  retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
4116
5957
  retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
@@ -4121,53 +5962,363 @@ export declare function createCut(transport: Transport): {
4121
5962
  list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
4122
5963
  };
4123
5964
  };
5965
+ renders: {
5966
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5967
+ };
4124
5968
  versions: {
4125
5969
  restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
4126
5970
  };
4127
- };
4128
- export declare function createDatabase(transport: Transport): {
4129
- databases: {
4130
- create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4131
- delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
5971
+ };
5972
+ export declare function createDatabase(transport: Transport): {
5973
+ databases: {
5974
+ commands: {
5975
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
5976
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
5977
+ result: unknown;
5978
+ }>;
5979
+ };
5980
+ /** @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. */
5981
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
5982
+ /** @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. */
5983
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
5984
+ events: {
5985
+ /** @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. */
5986
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
5987
+ data: Array<Types.DatabaseDatabaseEvent>;
5988
+ }>;
5989
+ };
5990
+ keys: {
5991
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
5992
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
5993
+ deleted: boolean;
5994
+ }>;
5995
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
5996
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
5997
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
5998
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
5999
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
6000
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
6001
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
6002
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
6003
+ };
6004
+ /** @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. */
6005
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6006
+ purge: {
6007
+ /** @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. */
6008
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
6009
+ id: string;
6010
+ object: "database";
6011
+ purged: true;
6012
+ }>;
6013
+ };
6014
+ rest: {
6015
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
6016
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6017
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
6018
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6019
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
6020
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
6021
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
6022
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6023
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
6024
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6025
+ };
6026
+ /** @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. */
6027
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6028
+ /** @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. */
6029
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
6030
+ tables: {
6031
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
6032
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6033
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
6034
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
6035
+ deleted: true;
6036
+ }>;
6037
+ fields: {
6038
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
6039
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6040
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
6041
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6042
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
6043
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
6044
+ };
6045
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
6046
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
6047
+ data: Array<Types.DatabaseTable>;
6048
+ }>;
6049
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
6050
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6051
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
6052
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
6053
+ };
6054
+ /** @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. */
6055
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
6056
+ };
6057
+ kv: {
6058
+ commands: {
6059
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6060
+ result: unknown;
6061
+ }>;
6062
+ };
6063
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6064
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6065
+ events: {
6066
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6067
+ data: Array<Types.DatabaseDatabaseEvent>;
6068
+ }>;
6069
+ };
6070
+ keys: {
6071
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6072
+ deleted: boolean;
6073
+ }>;
6074
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6075
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6076
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6077
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6078
+ };
6079
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6080
+ purge: {
6081
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6082
+ id: string;
6083
+ object: "database";
6084
+ purged: true;
6085
+ }>;
6086
+ };
6087
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6088
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6089
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6090
+ };
6091
+ table: {
6092
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6093
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
4132
6094
  events: {
4133
- list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
6095
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
4134
6096
  data: Array<Types.DatabaseDatabaseEvent>;
4135
6097
  }>;
4136
6098
  };
4137
- list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6099
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4138
6100
  purge: {
4139
- create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
6101
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
4140
6102
  id: string;
4141
6103
  object: "database";
4142
6104
  purged: true;
4143
6105
  }>;
4144
6106
  };
4145
6107
  rest: {
4146
- create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4147
- delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4148
- head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
4149
- retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4150
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6108
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6109
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6110
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6111
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6112
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4151
6113
  };
4152
- restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
4153
- retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
6114
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6115
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
4154
6116
  tables: {
4155
- create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
4156
- delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
6117
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6118
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
4157
6119
  deleted: true;
4158
6120
  }>;
4159
6121
  fields: {
4160
- create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
4161
- delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
4162
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
6122
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6123
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6124
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
4163
6125
  };
4164
- list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
6126
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
4165
6127
  data: Array<Types.DatabaseTable>;
4166
6128
  }>;
4167
- retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
4168
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
6129
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6130
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6131
+ };
6132
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6133
+ };
6134
+ };
6135
+ export declare function createDevops(transport: Transport): {
6136
+ changes: {
6137
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6138
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
6139
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6140
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
6141
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6142
+ };
6143
+ connections: {
6144
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6145
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6146
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6147
+ repositories: {
6148
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6149
+ };
6150
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6151
+ };
6152
+ environments: {
6153
+ checkpoints: {
6154
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6155
+ };
6156
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6157
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6158
+ };
6159
+ flags: {
6160
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6161
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6162
+ environments: {
6163
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6164
+ };
6165
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6166
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6167
+ };
6168
+ progressiveRollouts: {
6169
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6170
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6171
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6172
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6173
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6174
+ };
6175
+ projects: {
6176
+ changes: {
6177
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6178
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6179
+ };
6180
+ cleanups: {
6181
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6182
+ };
6183
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6184
+ defaultBranch: {
6185
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6186
+ };
6187
+ environments: {
6188
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6189
+ targets: {
6190
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6191
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6192
+ state: {
6193
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6194
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6195
+ lock: {
6196
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6197
+ };
6198
+ };
6199
+ };
6200
+ };
6201
+ flags: {
6202
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6203
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6204
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6205
+ };
6206
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6207
+ promotions: {
6208
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6209
+ };
6210
+ pullRequests: {
6211
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6212
+ };
6213
+ releases: {
6214
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6215
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6216
+ };
6217
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6218
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6219
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6220
+ segments: {
6221
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6222
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6223
+ };
6224
+ targets: {
6225
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6226
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6227
+ };
6228
+ testCases: {
6229
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6230
+ };
6231
+ testPlans: {
6232
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6233
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6234
+ };
6235
+ testReports: {
6236
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6237
+ };
6238
+ testRuns: {
6239
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6240
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6241
+ };
6242
+ testSuites: {
6243
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6244
+ };
6245
+ units: {
6246
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6247
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6248
+ };
6249
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6250
+ workspaces: {
6251
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6252
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6253
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6254
+ };
6255
+ };
6256
+ promotions: {
6257
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6258
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6259
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
6260
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6261
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6262
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6263
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6264
+ rollouts: {
6265
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6266
+ };
6267
+ };
6268
+ pullRequests: {
6269
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6270
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6271
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6272
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6273
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6274
+ reviews: {
6275
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6276
+ };
6277
+ };
6278
+ releases: {
6279
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6280
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6281
+ };
6282
+ rollouts: {
6283
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6284
+ };
6285
+ segments: {
6286
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6287
+ };
6288
+ testCases: {
6289
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6290
+ };
6291
+ testPlans: {
6292
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6293
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6294
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6295
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6296
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6297
+ };
6298
+ testRuns: {
6299
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6300
+ executions: {
6301
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6302
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6303
+ };
6304
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6305
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6306
+ };
6307
+ testSuites: {
6308
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6309
+ };
6310
+ units: {
6311
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6312
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6313
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6314
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6315
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6316
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6317
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6318
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6319
+ transitions: {
6320
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
4169
6321
  };
4170
- update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4171
6322
  };
4172
6323
  };
4173
6324
  export declare function createFile(transport: Transport): {
@@ -4245,19 +6396,33 @@ export declare function createKnowledge(transport: Transport): {
4245
6396
  };
4246
6397
  };
4247
6398
  export declare function createMedia(transport: Transport): {
6399
+ assets: {
6400
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6401
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6402
+ };
4248
6403
  generation: {
4249
6404
  capabilities: {
4250
6405
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
4251
6406
  };
4252
6407
  };
6408
+ images: {
6409
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6410
+ };
4253
6411
  libraries: {
4254
6412
  assets: {
6413
+ align: {
6414
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6415
+ };
4255
6416
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4256
6417
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4257
6418
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4258
6419
  frames: {
4259
6420
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4260
6421
  };
6422
+ hls: {
6423
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6424
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6425
+ };
4261
6426
  import: {
4262
6427
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4263
6428
  };
@@ -4270,6 +6435,9 @@ export declare function createMedia(transport: Transport): {
4270
6435
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4271
6436
  };
4272
6437
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6438
+ versions: {
6439
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6440
+ };
4273
6441
  };
4274
6442
  batches: {
4275
6443
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4286,25 +6454,23 @@ export declare function createMedia(transport: Transport): {
4286
6454
  folders: {
4287
6455
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4288
6456
  };
4289
- generations: {
4290
- create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
4291
- };
4292
6457
  jobs: {
4293
6458
  cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
4294
6459
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4295
- outputs: {
4296
- save: {
4297
- create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
4298
- };
4299
- };
4300
6460
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4301
6461
  };
4302
6462
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6463
+ materials: {
6464
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6465
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6466
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6467
+ };
4303
6468
  purge: {
4304
6469
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4305
6470
  };
4306
6471
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4307
6472
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6473
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4308
6474
  search: {
4309
6475
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4310
6476
  expression: {
@@ -4317,11 +6483,24 @@ export declare function createMedia(transport: Transport): {
4317
6483
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4318
6484
  };
4319
6485
  };
6486
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
4320
6487
  understandings: {
4321
6488
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4322
6489
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4323
6490
  };
4324
6491
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6492
+ voices: {
6493
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6494
+ designs: {
6495
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6496
+ };
6497
+ };
6498
+ };
6499
+ speech: {
6500
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6501
+ };
6502
+ videos: {
6503
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4325
6504
  };
4326
6505
  };
4327
6506
  export declare function createMeta(transport: Transport): {
@@ -4522,7 +6701,35 @@ export declare function createModel(transport: Transport): {
4522
6701
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4523
6702
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4524
6703
  };
6704
+ modelAccess: {
6705
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6706
+ items: Array<{
6707
+ model: string;
6708
+ access_required: boolean;
6709
+ granted: boolean;
6710
+ granted_by: string | null;
6711
+ granted_at: string | null;
6712
+ sell_input_price: number | null;
6713
+ sell_output_price: number | null;
6714
+ }>;
6715
+ }>;
6716
+ };
4525
6717
  models: {
6718
+ access: {
6719
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6720
+ model: string;
6721
+ revoked: true;
6722
+ }>;
6723
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6724
+ model: string;
6725
+ access_required: boolean;
6726
+ granted: true;
6727
+ granted_by: string;
6728
+ granted_at: string;
6729
+ sell_input_price: number | null;
6730
+ sell_output_price: number | null;
6731
+ }>;
6732
+ };
4526
6733
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4527
6734
  object: "list";
4528
6735
  data: Array<{
@@ -4537,6 +6744,7 @@ export declare function createModel(transport: Transport): {
4537
6744
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4538
6745
  supported_apis: Array<string>;
4539
6746
  tags: Array<string>;
6747
+ access_required: boolean;
4540
6748
  architecture: {
4541
6749
  modality: string;
4542
6750
  input_modalities: Array<string>;
@@ -4583,6 +6791,7 @@ export declare function createModel(transport: Transport): {
4583
6791
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4584
6792
  supported_apis: Array<string>;
4585
6793
  tags: Array<string>;
6794
+ access_required: boolean;
4586
6795
  architecture: {
4587
6796
  modality: string;
4588
6797
  input_modalities: Array<string>;
@@ -4809,6 +7018,7 @@ export declare function createModel(transport: Transport): {
4809
7018
  unsigned_urls: Array<string>;
4810
7019
  usage?: {
4811
7020
  cost: number;
7021
+ billed_seconds?: number;
4812
7022
  };
4813
7023
  }>;
4814
7024
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4839,6 +7049,7 @@ export declare function createModel(transport: Transport): {
4839
7049
  unsigned_urls: Array<string>;
4840
7050
  usage?: {
4841
7051
  cost: number;
7052
+ billed_seconds?: number;
4842
7053
  };
4843
7054
  }>;
4844
7055
  has_more: boolean;
@@ -4867,6 +7078,7 @@ export declare function createModel(transport: Transport): {
4867
7078
  unsigned_urls: Array<string>;
4868
7079
  usage?: {
4869
7080
  cost: number;
7081
+ billed_seconds?: number;
4870
7082
  };
4871
7083
  }>;
4872
7084
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -4883,6 +7095,7 @@ export declare function createOntology(transport: Transport): {
4883
7095
  create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
4884
7096
  };
4885
7097
  retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
7098
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
4886
7099
  update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
4887
7100
  };
4888
7101
  relations: {
@@ -5159,6 +7372,84 @@ export declare function createOrganization(transport: Transport): {
5159
7372
  next_page: string | null;
5160
7373
  }>;
5161
7374
  };
7375
+ notifications: {
7376
+ deliveries: {
7377
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7378
+ [key: string]: unknown;
7379
+ }>;
7380
+ };
7381
+ letters: {
7382
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7383
+ unread: number;
7384
+ }>;
7385
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7386
+ letters: Array<{
7387
+ id: string;
7388
+ sender: string;
7389
+ summary: string;
7390
+ body: string;
7391
+ thread: string;
7392
+ kind: "notice" | "mention" | "decision";
7393
+ source: {
7394
+ [key: string]: unknown;
7395
+ };
7396
+ read: boolean;
7397
+ deliveredAt: string;
7398
+ createTime: string;
7399
+ reason: string;
7400
+ archived: boolean;
7401
+ }>;
7402
+ nextCursor: string;
7403
+ unread: number;
7404
+ }>;
7405
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7406
+ unread: number;
7407
+ }>;
7408
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7409
+ unread: number;
7410
+ }>;
7411
+ };
7412
+ organizationDefault: {
7413
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7414
+ [key: string]: unknown;
7415
+ }>;
7416
+ };
7417
+ preferences: {
7418
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7419
+ [key: string]: unknown;
7420
+ }>;
7421
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7422
+ name: string;
7423
+ workflows: {
7424
+ [key: string]: unknown;
7425
+ };
7426
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7427
+ updateTime?: string;
7428
+ catalog: Array<{
7429
+ workflow: string;
7430
+ group: string;
7431
+ title: string;
7432
+ description?: string;
7433
+ severity: "high" | "medium" | "low" | "none";
7434
+ critical: boolean;
7435
+ channels: Array<string>;
7436
+ }>;
7437
+ organization: {
7438
+ [key: string]: unknown;
7439
+ };
7440
+ effective: {
7441
+ [key: string]: unknown;
7442
+ };
7443
+ }>;
7444
+ };
7445
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
7446
+ unreadCount: number;
7447
+ unseenCount: number;
7448
+ }>;
7449
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
7450
+ [key: string]: unknown;
7451
+ }>;
7452
+ };
5162
7453
  usage: {
5163
7454
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5164
7455
  object: "page";
@@ -5182,8 +7473,163 @@ export declare function createOrganization(transport: Transport): {
5182
7473
  }>;
5183
7474
  };
5184
7475
  };
7476
+ export declare function createRegistry(transport: Transport): {
7477
+ installations: {
7478
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7479
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7480
+ };
7481
+ packages: {
7482
+ git: {
7483
+ commits: {
7484
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7485
+ };
7486
+ files: {
7487
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7488
+ };
7489
+ refs: {
7490
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7491
+ };
7492
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7493
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7494
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7495
+ trees: {
7496
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7497
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7498
+ };
7499
+ };
7500
+ gitCredential: {
7501
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7502
+ };
7503
+ installations: {
7504
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7505
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7506
+ };
7507
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7508
+ versions: {
7509
+ contents: {
7510
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7511
+ };
7512
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7513
+ files: {
7514
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7515
+ };
7516
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7517
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7518
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7519
+ };
7520
+ };
7521
+ repositories: {
7522
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7523
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7524
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7525
+ packages: {
7526
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7527
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7528
+ };
7529
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7530
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7531
+ };
7532
+ };
5185
7533
  export declare function createSandbox(transport: Transport): {
7534
+ byod: {
7535
+ devices: {
7536
+ disconnect: {
7537
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7538
+ id: string;
7539
+ object: "byod_device";
7540
+ disconnected: true;
7541
+ }>;
7542
+ };
7543
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7544
+ data: Array<{
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
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7560
+ object: "byod_device";
7561
+ id: string;
7562
+ platform: "android" | "macos" | "linux";
7563
+ name: string;
7564
+ model: string;
7565
+ os_version: string;
7566
+ online: boolean;
7567
+ last_seen_at: string | null;
7568
+ created_at: string;
7569
+ capabilities: Array<"display" | "agent">;
7570
+ agent_dirs: Array<string>;
7571
+ allow_bypass: boolean;
7572
+ }>;
7573
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7574
+ object: "byod_device";
7575
+ id: string;
7576
+ platform: "android" | "macos" | "linux";
7577
+ name: string;
7578
+ model: string;
7579
+ os_version: string;
7580
+ online: boolean;
7581
+ last_seen_at: string | null;
7582
+ created_at: string;
7583
+ capabilities: Array<"display" | "agent">;
7584
+ agent_dirs: Array<string>;
7585
+ allow_bypass: boolean;
7586
+ }>;
7587
+ };
7588
+ pairings: {
7589
+ claim: {
7590
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7591
+ device_id: string;
7592
+ credential: string;
7593
+ socket_url: string;
7594
+ }>;
7595
+ };
7596
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7597
+ code: string;
7598
+ expires_at: string;
7599
+ qr: string;
7600
+ }>;
7601
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7602
+ organization_name: string;
7603
+ expires_at: string;
7604
+ }>;
7605
+ };
7606
+ };
7607
+ events: {
7608
+ sandboxes: {
7609
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7610
+ };
7611
+ };
5186
7612
  sandboxes: {
7613
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7614
+ type: "snapshot";
7615
+ snapshot: string;
7616
+ refs: number;
7617
+ truncated: boolean;
7618
+ package: string;
7619
+ } | {
7620
+ type: "screenshot";
7621
+ mediaType: string;
7622
+ data: string;
7623
+ width: number;
7624
+ height: number;
7625
+ bytes: number;
7626
+ } | {
7627
+ type: "ok";
7628
+ ms?: number;
7629
+ } | {
7630
+ type: "wait";
7631
+ ms: number;
7632
+ }>;
5187
7633
  commands: {
5188
7634
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5189
7635
  stdout: string;
@@ -5261,6 +7707,20 @@ export declare function createSandbox(transport: Transport): {
5261
7707
  snapshots: {
5262
7708
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5263
7709
  };
7710
+ tasks: {
7711
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7712
+ taskId: string;
7713
+ instanceId: string;
7714
+ startedAt: number;
7715
+ }>;
7716
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7717
+ text: string;
7718
+ nextOffset: number;
7719
+ done: boolean;
7720
+ exitCode: number | null;
7721
+ size: number | null;
7722
+ }>;
7723
+ };
5264
7724
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5265
7725
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5266
7726
  name: string;
@@ -5303,7 +7763,6 @@ export declare function createSandbox(transport: Transport): {
5303
7763
  buildCount: number;
5304
7764
  envdVersion: Types.SandboxEnvdVersion;
5305
7765
  buildStatus: Types.SandboxTemplateBuildStatus;
5306
- lifecycles?: Array<"ephemeral" | "persistent">;
5307
7766
  official: boolean;
5308
7767
  sourceKind?: "dockerfile" | "image" | "snapshot";
5309
7768
  }[]>;
@@ -5400,6 +7859,131 @@ export declare function createSearch(transport: Transport): {
5400
7859
  }>;
5401
7860
  };
5402
7861
  };
7862
+ export declare function createShare(transport: Transport): {
7863
+ permissions: {
7864
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7865
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7866
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7867
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7868
+ };
7869
+ };
7870
+ export declare function createStudio(transport: Transport): {
7871
+ codexes: {
7872
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7873
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7874
+ entries: {
7875
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7876
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7877
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7878
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7879
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7880
+ };
7881
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7882
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7883
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7884
+ };
7885
+ genres: {
7886
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7887
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7888
+ };
7889
+ platforms: {
7890
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7892
+ };
7893
+ styles: {
7894
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7895
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7896
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7897
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7898
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7899
+ };
7900
+ templates: {
7901
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7902
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7903
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7904
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7905
+ };
7906
+ themes: {
7907
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7908
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7909
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7910
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7911
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7912
+ };
7913
+ works: {
7914
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7915
+ drafts: {
7916
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7917
+ foreshadows: {
7918
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7919
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7920
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7921
+ };
7922
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7923
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7924
+ renditions: {
7925
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7926
+ };
7927
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7928
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7929
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7930
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7931
+ status: {
7932
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7933
+ };
7934
+ units: {
7935
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7936
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7937
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7938
+ };
7939
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7940
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7941
+ };
7942
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7943
+ progressions: {
7944
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7945
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7946
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7947
+ };
7948
+ renditions: {
7949
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7950
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7951
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7952
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7953
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7954
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7955
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7956
+ };
7957
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7958
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7959
+ reviewSettings: {
7960
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7961
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7962
+ };
7963
+ reviewers: {
7964
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7965
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7966
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7967
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7968
+ };
7969
+ reviews: {
7970
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7971
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7972
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7973
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7974
+ };
7975
+ units: {
7976
+ blocks: {
7977
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7978
+ };
7979
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7980
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7981
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7982
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7983
+ };
7984
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7985
+ };
7986
+ };
5403
7987
  export declare function createTicket(transport: Transport): {
5404
7988
  activity: {
5405
7989
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5444,6 +8028,7 @@ export declare function createTicket(transport: Transport): {
5444
8028
  repositories: Array<Types.TicketRepository>;
5445
8029
  next_page_token: string;
5446
8030
  }>;
8031
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5447
8032
  };
5448
8033
  tickets: {
5449
8034
  comments: {
@@ -5569,15 +8154,141 @@ export declare function createVault(transport: Transport): {
5569
8154
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
5570
8155
  };
5571
8156
  };
8157
+ export declare function createWorkforce(transport: Transport): {
8158
+ actors: {
8159
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8160
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8161
+ };
8162
+ assignments: {
8163
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8164
+ makePrimary: {
8165
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8166
+ };
8167
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8168
+ terminate: {
8169
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8170
+ };
8171
+ transfer: {
8172
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8173
+ };
8174
+ };
8175
+ departments: {
8176
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8177
+ dissolve: {
8178
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8179
+ };
8180
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8181
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8182
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8183
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
8184
+ };
8185
+ effectiveSpec: {
8186
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8187
+ };
8188
+ jobs: {
8189
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8190
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8191
+ retire: {
8192
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8193
+ };
8194
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8195
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8196
+ };
8197
+ keyResults: {
8198
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8199
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8200
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8201
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8202
+ };
8203
+ ladders: {
8204
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8205
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8206
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8207
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8208
+ };
8209
+ objectives: {
8210
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8211
+ grade: {
8212
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8213
+ };
8214
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8215
+ parents: {
8216
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8217
+ };
8218
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8219
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8220
+ };
8221
+ periods: {
8222
+ close: {
8223
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8224
+ };
8225
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8226
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8227
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8228
+ };
8229
+ positions: {
8230
+ close: {
8231
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8232
+ };
8233
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8234
+ designateHead: {
8235
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8236
+ };
8237
+ freeze: {
8238
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8239
+ };
8240
+ hire: {
8241
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8242
+ };
8243
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8244
+ replaceHolder: {
8245
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8246
+ };
8247
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8248
+ unfreeze: {
8249
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8250
+ };
8251
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8252
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8253
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8254
+ };
8255
+ reconcile: {
8256
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8257
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8258
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8259
+ run: {
8260
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8261
+ };
8262
+ status: {
8263
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8264
+ };
8265
+ };
8266
+ specSchema: {
8267
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8268
+ };
8269
+ specs: {
8270
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8271
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8272
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8273
+ revisions: {
8274
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8275
+ };
8276
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8277
+ };
8278
+ };
5572
8279
  export declare const resourceFactories: {
5573
8280
  agent: typeof createAgent;
5574
8281
  application: typeof createApplication;
5575
8282
  automation: typeof createAutomation;
8283
+ billing: typeof createBilling;
5576
8284
  browser: typeof createBrowser;
5577
8285
  canvas: typeof createCanvas;
8286
+ content: typeof createContent;
5578
8287
  crm: typeof createCrm;
8288
+ customer: typeof createCustomer;
5579
8289
  cut: typeof createCut;
5580
8290
  database: typeof createDatabase;
8291
+ devops: typeof createDevops;
5581
8292
  file: typeof createFile;
5582
8293
  knowledge: typeof createKnowledge;
5583
8294
  media: typeof createMedia;
@@ -5585,8 +8296,12 @@ export declare const resourceFactories: {
5585
8296
  model: typeof createModel;
5586
8297
  ontology: typeof createOntology;
5587
8298
  organization: typeof createOrganization;
8299
+ registry: typeof createRegistry;
5588
8300
  sandbox: typeof createSandbox;
5589
8301
  search: typeof createSearch;
8302
+ share: typeof createShare;
8303
+ studio: typeof createStudio;
5590
8304
  ticket: typeof createTicket;
5591
8305
  vault: typeof createVault;
8306
+ workforce: typeof createWorkforce;
5592
8307
  };