@deepraxis/sdk 0.1.1-dev.71b291b → 0.1.1-dev.723073f

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 (33) hide show
  1. package/METHODS.md +1366 -206
  2. package/README.md +9 -8
  3. package/dist/core/binary-operations.d.ts +3 -0
  4. package/dist/core/binary-operations.js +14 -0
  5. package/dist/core/credentials.d.ts +22 -3
  6. package/dist/core/credentials.js +44 -5
  7. package/dist/core/errors.d.ts +6 -0
  8. package/dist/core/errors.js +8 -0
  9. package/dist/core/transport.d.ts +1 -1
  10. package/dist/core/transport.js +8 -4
  11. package/dist/generated/binary-operations.gen.d.ts +3 -0
  12. package/dist/generated/binary-operations.gen.js +14 -0
  13. package/dist/generated/index.d.ts +2 -2
  14. package/dist/generated/index.js +1 -1
  15. package/dist/generated/sdk.gen.d.ts +3381 -1175
  16. package/dist/generated/sdk.gen.js +9303 -2904
  17. package/dist/generated/types.gen.d.ts +93931 -54512
  18. package/dist/helpers/application-publish.js +16 -2
  19. package/dist/helpers/browser-actions.d.ts +102 -0
  20. package/dist/helpers/browser-actions.js +146 -0
  21. package/dist/helpers/browser-connect-error.d.ts +28 -0
  22. package/dist/helpers/browser-connect-error.js +74 -0
  23. package/dist/helpers/browser-connect.d.ts +35 -2
  24. package/dist/helpers/browser-connect.js +262 -27
  25. package/dist/helpers/browser-decisions.d.ts +57 -0
  26. package/dist/helpers/browser-decisions.js +64 -0
  27. package/dist/helpers/browser-documentation.d.ts +1 -1
  28. package/dist/helpers/browser-documentation.js +24 -13
  29. package/dist/operations.generated.d.ts +37 -16733
  30. package/dist/operations.generated.js +20882 -7707
  31. package/dist/resources.generated.d.ts +2697 -161
  32. package/dist/resources.generated.js +729 -20
  33. package/package.json +2 -2
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
19
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
+ max_output_tokens?: number;
20
21
  };
21
22
  };
22
23
  multiagent?: null | Types.AgentManaged39;
@@ -38,21 +39,21 @@ export declare function createAgent(transport: Transport): {
38
39
  } | null;
39
40
  note: string | null;
40
41
  bindings: Array<{
41
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
42
43
  id: string;
43
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
44
46
  instructions?: string;
45
47
  readonly verified?: boolean;
46
48
  enabled?: boolean;
47
49
  } | {
48
- type: "search" | "browser";
50
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
51
  readonly verified?: boolean;
50
52
  enabled?: boolean;
51
53
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
54
+ kind: "general" | "service" | "assume";
53
55
  computer_id?: string;
54
56
  subagent_model?: string | null;
55
- image_model?: string | null;
56
57
  subagents?: Array<{
57
58
  name: string;
58
59
  description: string;
@@ -143,6 +144,7 @@ export declare function createAgent(transport: Transport): {
143
144
  allowManagedHooksOnly?: boolean;
144
145
  allowManagedMcpServersOnly?: boolean;
145
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
146
148
  autoMemoryEnabled?: boolean;
147
149
  disabled?: {
148
150
  subagents?: Array<string>;
@@ -151,7 +153,6 @@ export declare function createAgent(transport: Transport): {
151
153
  mcpServers?: Array<string>;
152
154
  hooks?: Array<string>;
153
155
  };
154
- idleCompaction?: boolean;
155
156
  outputStyle?: string;
156
157
  } | null;
157
158
  models?: {
@@ -159,6 +160,7 @@ export declare function createAgent(transport: Transport): {
159
160
  };
160
161
  avatar: string | null;
161
162
  creation_source: string | null;
163
+ managed_by: string | null;
162
164
  identity_number: string | null;
163
165
  environment_id?: string | null;
164
166
  vault_ids?: Array<string>;
@@ -170,6 +172,22 @@ export declare function createAgent(transport: Transport): {
170
172
  keep_coding_instructions?: boolean;
171
173
  }> | null;
172
174
  }>;
175
+ consolidations: {
176
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
177
+ id: string;
178
+ session_id: string;
179
+ status: "queued" | "running" | "done" | "failed";
180
+ engram_id?: string;
181
+ error?: string;
182
+ }>;
183
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
184
+ id: string;
185
+ session_id: string;
186
+ status: "queued" | "running" | "done" | "failed";
187
+ engram_id?: string;
188
+ error?: string;
189
+ }>;
190
+ };
173
191
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
192
  id: string;
175
193
  archived_at: null | string;
@@ -184,6 +202,7 @@ export declare function createAgent(transport: Transport): {
184
202
  speed?: "standard" | "fast";
185
203
  settings?: {
186
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
187
206
  };
188
207
  };
189
208
  multiagent?: null | Types.AgentManaged39;
@@ -205,21 +224,28 @@ export declare function createAgent(transport: Transport): {
205
224
  } | null;
206
225
  note: string | null;
207
226
  bindings: Array<{
208
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
227
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
209
228
  id: string;
210
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
211
231
  instructions?: string;
212
232
  readonly verified?: boolean;
213
233
  enabled?: boolean;
214
234
  } | {
215
- type: "search" | "browser";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
236
  readonly verified?: boolean;
217
237
  enabled?: boolean;
218
238
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
239
+ kind: "general" | "service" | "assume";
240
+ computers?: {
241
+ default: string;
242
+ allowed: Array<{
243
+ template: string;
244
+ name: string;
245
+ }>;
246
+ };
220
247
  computer_id?: string;
221
248
  subagent_model?: string | null;
222
- image_model?: string | null;
223
249
  subagents?: Array<{
224
250
  name: string;
225
251
  description: string;
@@ -310,6 +336,7 @@ export declare function createAgent(transport: Transport): {
310
336
  allowManagedHooksOnly?: boolean;
311
337
  allowManagedMcpServersOnly?: boolean;
312
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
313
340
  autoMemoryEnabled?: boolean;
314
341
  disabled?: {
315
342
  subagents?: Array<string>;
@@ -318,7 +345,6 @@ export declare function createAgent(transport: Transport): {
318
345
  mcpServers?: Array<string>;
319
346
  hooks?: Array<string>;
320
347
  };
321
- idleCompaction?: boolean;
322
348
  outputStyle?: string;
323
349
  } | null;
324
350
  models?: {
@@ -326,6 +352,7 @@ export declare function createAgent(transport: Transport): {
326
352
  };
327
353
  avatar: string | null;
328
354
  creation_source: string | null;
355
+ managed_by: string | null;
329
356
  identity_number: string | null;
330
357
  environment_id?: string | null;
331
358
  vault_ids?: Array<string>;
@@ -338,42 +365,6 @@ export declare function createAgent(transport: Transport): {
338
365
  }> | null;
339
366
  }>;
340
367
  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
368
  block: {
378
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
370
  id: string;
@@ -465,6 +456,245 @@ export declare function createAgent(transport: Transport): {
465
456
  }>;
466
457
  };
467
458
  };
459
+ events: {
460
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
461
+ data: Array<{
462
+ id: string;
463
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
464
+ type: "user.message";
465
+ processed_at?: null | string;
466
+ praxis_context?: {
467
+ items: Array<{
468
+ name: string;
469
+ value: string;
470
+ }>;
471
+ };
472
+ message_id?: string;
473
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
474
+ id: string;
475
+ content: Array<{
476
+ text: string;
477
+ type: "text";
478
+ citations?: Array<{
479
+ type: "search_result_location";
480
+ source: string;
481
+ title: string;
482
+ cited_text: string;
483
+ search_result_index: number;
484
+ start_block_index: number;
485
+ end_block_index: number;
486
+ }>;
487
+ } | Types.AgentManaged70>;
488
+ processed_at: string;
489
+ type: "agent.message";
490
+ run_id: string | null;
491
+ message_id?: string;
492
+ } | {
493
+ id: string;
494
+ processed_at: string;
495
+ type: "agent.thinking";
496
+ run_id: string | null;
497
+ message_id?: string;
498
+ } | {
499
+ id: string;
500
+ input: Types.AgentManaged197;
501
+ mcp_server_name: string;
502
+ name: string;
503
+ processed_at: string;
504
+ type: "agent.mcp_tool_use";
505
+ evaluated_permission?: "allow" | "deny" | "ask";
506
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
507
+ session_thread_id?: null | string;
508
+ permission_suggestions?: Array<{
509
+ type: "add_rules";
510
+ behavior: "allow";
511
+ destination: "agent" | "session";
512
+ rules: Array<{
513
+ tool_name: string;
514
+ rule_content: string;
515
+ }>;
516
+ }>;
517
+ full_access_available?: boolean;
518
+ user_once?: true;
519
+ guarded_rule?: string;
520
+ run_id: string | null;
521
+ _meta?: {
522
+ ui?: {
523
+ resourceUri?: string;
524
+ visibility?: Array<string>;
525
+ [key: string]: unknown;
526
+ };
527
+ "openai/ui"?: {
528
+ [key: string]: unknown;
529
+ };
530
+ };
531
+ source?: "app" | "codemode";
532
+ parent_tool_use_id?: string;
533
+ title?: string;
534
+ input_titles?: {
535
+ [key: string]: string;
536
+ };
537
+ } | {
538
+ id: string;
539
+ mcp_tool_use_id: string;
540
+ processed_at: string;
541
+ type: "agent.mcp_tool_result";
542
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
543
+ is_error?: null | false | true;
544
+ run_id: string | null;
545
+ structured_content?: unknown;
546
+ _meta?: {
547
+ [key: string]: unknown;
548
+ };
549
+ source?: "app" | "codemode";
550
+ } | {
551
+ id: string;
552
+ input: Types.AgentManaged206;
553
+ name: string;
554
+ processed_at: string;
555
+ type: "agent.tool_use";
556
+ evaluated_permission?: "allow" | "deny" | "ask";
557
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
558
+ session_thread_id?: null | string;
559
+ permission_suggestions?: Array<{
560
+ type: "add_rules";
561
+ behavior: "allow";
562
+ destination: "agent" | "session";
563
+ rules: Array<{
564
+ tool_name: string;
565
+ rule_content: string;
566
+ }>;
567
+ }>;
568
+ full_access_available?: boolean;
569
+ user_once?: true;
570
+ guarded_rule?: string;
571
+ run_id: string | null;
572
+ } | {
573
+ id: string;
574
+ processed_at: string;
575
+ tool_use_id: string;
576
+ type: "agent.tool_result";
577
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
578
+ is_error?: null | false | true;
579
+ run_id: string | null;
580
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
581
+ id: string;
582
+ processed_at: string;
583
+ type: "session.status_running";
584
+ run_id: string | null;
585
+ } | {
586
+ id: string;
587
+ processed_at: string;
588
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
589
+ type: "session.status_idle";
590
+ run_id: string | null;
591
+ } | 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 | {
592
+ id: string;
593
+ processed_at: string;
594
+ type: "session.updated";
595
+ agent?: null | Types.AgentManaged170;
596
+ budget?: null | Types.AgentManaged76;
597
+ metadata?: Types.AgentManaged246;
598
+ title?: null | string;
599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
600
+ previous_permission_mode?: string | null;
601
+ permission_mode_version?: number;
602
+ model?: {
603
+ id: string;
604
+ };
605
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
606
+ id: string;
607
+ type: "session.forked";
608
+ processed_at: string;
609
+ forked_from_session_id: string;
610
+ forked_from_message_id: string;
611
+ } | {
612
+ id: string;
613
+ type: "session.goal_changed";
614
+ processed_at: string;
615
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
616
+ source: "command" | "runtime";
617
+ goal: {
618
+ goal_id: string;
619
+ objective: string;
620
+ summary_title: string | null;
621
+ status: "active" | "paused" | "budget_limited" | "complete";
622
+ token_budget: number | null;
623
+ tokens_used: number;
624
+ time_used_seconds: number;
625
+ iteration: number;
626
+ created_at: number;
627
+ updated_at: number;
628
+ } | null;
629
+ previous_goal: {
630
+ goal_id: string;
631
+ objective: string;
632
+ summary_title: string | null;
633
+ status: "active" | "paused" | "budget_limited" | "complete";
634
+ token_budget: number | null;
635
+ tokens_used: number;
636
+ time_used_seconds: number;
637
+ iteration: number;
638
+ created_at: number;
639
+ updated_at: number;
640
+ } | null;
641
+ } | {
642
+ id: string;
643
+ type: "session.goal_verification";
644
+ processed_at: string;
645
+ status: "started" | "completed" | "failed_closed" | "cancelled";
646
+ goal_id: string;
647
+ goal_iteration: number;
648
+ verification_id: string;
649
+ anchor_message_id: string | null;
650
+ verification?: {
651
+ passed: boolean;
652
+ reason: string;
653
+ next_action?: string;
654
+ };
655
+ } | {
656
+ id: string;
657
+ type: "user.steer";
658
+ event_id: string;
659
+ processed_at: string;
660
+ }>;
661
+ next_page: string | null;
662
+ }>;
663
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
664
+ data?: Array<{
665
+ id: string;
666
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
667
+ type: "user.message";
668
+ processed_at?: null | string;
669
+ praxis_context?: {
670
+ items: Array<{
671
+ name: string;
672
+ value: string;
673
+ }>;
674
+ };
675
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
676
+ id: string;
677
+ type: "user.steer";
678
+ event_id: string;
679
+ processed_at: string;
680
+ }>;
681
+ }>;
682
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
683
+ };
684
+ inbox: {
685
+ letters: {
686
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
687
+ unread: number;
688
+ letters: Array<{
689
+ id: string;
690
+ sender: string;
691
+ summary: string;
692
+ thread: string | null;
693
+ create_time: string;
694
+ }>;
695
+ }>;
696
+ };
697
+ };
468
698
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
699
  data: Array<{
470
700
  id: string;
@@ -480,6 +710,7 @@ export declare function createAgent(transport: Transport): {
480
710
  speed?: "standard" | "fast";
481
711
  settings?: {
482
712
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
713
+ max_output_tokens?: number;
483
714
  };
484
715
  };
485
716
  multiagent?: null | Types.AgentManaged39;
@@ -501,21 +732,28 @@ export declare function createAgent(transport: Transport): {
501
732
  } | null;
502
733
  note: string | null;
503
734
  bindings: Array<{
504
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
735
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
505
736
  id: string;
506
737
  access: "read_only" | "read_write" | "invoke";
738
+ customer_access?: "read_only" | "read_write" | "invoke";
507
739
  instructions?: string;
508
740
  readonly verified?: boolean;
509
741
  enabled?: boolean;
510
742
  } | {
511
- type: "search" | "browser";
743
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
744
  readonly verified?: boolean;
513
745
  enabled?: boolean;
514
746
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
747
+ kind: "general" | "service" | "assume";
748
+ computers?: {
749
+ default: string;
750
+ allowed: Array<{
751
+ template: string;
752
+ name: string;
753
+ }>;
754
+ };
516
755
  computer_id?: string;
517
756
  subagent_model?: string | null;
518
- image_model?: string | null;
519
757
  subagents?: Array<{
520
758
  name: string;
521
759
  description: string;
@@ -606,6 +844,7 @@ export declare function createAgent(transport: Transport): {
606
844
  allowManagedHooksOnly?: boolean;
607
845
  allowManagedMcpServersOnly?: boolean;
608
846
  allowManagedPermissionRulesOnly?: boolean;
847
+ idleCompaction?: boolean;
609
848
  autoMemoryEnabled?: boolean;
610
849
  disabled?: {
611
850
  subagents?: Array<string>;
@@ -614,7 +853,6 @@ export declare function createAgent(transport: Transport): {
614
853
  mcpServers?: Array<string>;
615
854
  hooks?: Array<string>;
616
855
  };
617
- idleCompaction?: boolean;
618
856
  outputStyle?: string;
619
857
  } | null;
620
858
  models?: {
@@ -622,6 +860,7 @@ export declare function createAgent(transport: Transport): {
622
860
  };
623
861
  avatar: string | null;
624
862
  creation_source: string | null;
863
+ managed_by: string | null;
625
864
  identity_number: string | null;
626
865
  environment_id?: string | null;
627
866
  vault_ids?: Array<string>;
@@ -633,8 +872,36 @@ export declare function createAgent(transport: Transport): {
633
872
  keep_coding_instructions?: boolean;
634
873
  }> | null;
635
874
  }>;
636
- next_page: string | null;
637
- }>;
875
+ next_page: string | null;
876
+ }>;
877
+ phone: {
878
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
879
+ object: "agent_phone";
880
+ agent_id: string;
881
+ configured: boolean;
882
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
883
+ sku: string | null;
884
+ byod_device: string | null;
885
+ name: string | null;
886
+ sandbox_id: string | null;
887
+ lease_ends_at: string | null;
888
+ archived_at: string | null;
889
+ archive_error: string | null;
890
+ }>;
891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
892
+ object: "agent_phone";
893
+ agent_id: string;
894
+ configured: boolean;
895
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
896
+ sku: string | null;
897
+ byod_device: string | null;
898
+ name: string | null;
899
+ sandbox_id: string | null;
900
+ lease_ends_at: string | null;
901
+ archived_at: string | null;
902
+ archive_error: string | null;
903
+ }>;
904
+ };
638
905
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
906
  id: string;
640
907
  archived_at: null | string;
@@ -649,6 +916,7 @@ export declare function createAgent(transport: Transport): {
649
916
  speed?: "standard" | "fast";
650
917
  settings?: {
651
918
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
919
+ max_output_tokens?: number;
652
920
  };
653
921
  };
654
922
  multiagent?: null | Types.AgentManaged39;
@@ -671,21 +939,28 @@ export declare function createAgent(transport: Transport): {
671
939
  } | null;
672
940
  note: string | null;
673
941
  bindings: Array<{
674
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
942
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
675
943
  id: string;
676
944
  access: "read_only" | "read_write" | "invoke";
945
+ customer_access?: "read_only" | "read_write" | "invoke";
677
946
  instructions?: string;
678
947
  readonly verified?: boolean;
679
948
  enabled?: boolean;
680
949
  } | {
681
- type: "search" | "browser";
950
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
951
  readonly verified?: boolean;
683
952
  enabled?: boolean;
684
953
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
954
+ kind: "general" | "service" | "assume";
955
+ computers?: {
956
+ default: string;
957
+ allowed: Array<{
958
+ template: string;
959
+ name: string;
960
+ }>;
961
+ };
686
962
  computer_id?: string;
687
963
  subagent_model?: string | null;
688
- image_model?: string | null;
689
964
  subagents?: Array<{
690
965
  name: string;
691
966
  description: string;
@@ -776,6 +1051,7 @@ export declare function createAgent(transport: Transport): {
776
1051
  allowManagedHooksOnly?: boolean;
777
1052
  allowManagedMcpServersOnly?: boolean;
778
1053
  allowManagedPermissionRulesOnly?: boolean;
1054
+ idleCompaction?: boolean;
779
1055
  autoMemoryEnabled?: boolean;
780
1056
  disabled?: {
781
1057
  subagents?: Array<string>;
@@ -784,7 +1060,6 @@ export declare function createAgent(transport: Transport): {
784
1060
  mcpServers?: Array<string>;
785
1061
  hooks?: Array<string>;
786
1062
  };
787
- idleCompaction?: boolean;
788
1063
  outputStyle?: string;
789
1064
  } | null;
790
1065
  models?: {
@@ -792,6 +1067,7 @@ export declare function createAgent(transport: Transport): {
792
1067
  };
793
1068
  avatar: string | null;
794
1069
  creation_source: string | null;
1070
+ managed_by: string | null;
795
1071
  identity_number: string | null;
796
1072
  environment_id?: string | null;
797
1073
  vault_ids?: Array<string>;
@@ -860,6 +1136,26 @@ export declare function createAgent(transport: Transport): {
860
1136
  history?: {
861
1137
  enabled?: boolean;
862
1138
  };
1139
+ uploads?: {
1140
+ enabled: boolean;
1141
+ max_file_bytes: number;
1142
+ max_files_per_session: number;
1143
+ };
1144
+ }>;
1145
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1146
+ allowed_origins: Array<string>;
1147
+ allow_localhost: boolean;
1148
+ uploads: {
1149
+ enabled: boolean;
1150
+ max_file_bytes: number;
1151
+ max_files_per_session: number;
1152
+ };
1153
+ share_links: {
1154
+ enabled: boolean;
1155
+ daily_session_cap: number | null;
1156
+ daily_spend_cap_micro_usd: number | null;
1157
+ currency?: "USD" | "CNY" | null;
1158
+ };
863
1159
  }>;
864
1160
  unarchive: {
865
1161
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1209,7 @@ export declare function createAgent(transport: Transport): {
913
1209
  speed?: "standard" | "fast";
914
1210
  settings?: {
915
1211
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1212
+ max_output_tokens?: number;
916
1213
  };
917
1214
  };
918
1215
  multiagent?: null | {
@@ -1100,21 +1397,28 @@ export declare function createAgent(transport: Transport): {
1100
1397
  } | null;
1101
1398
  note: string | null;
1102
1399
  bindings: Array<{
1103
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1400
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1104
1401
  id: string;
1105
1402
  access: "read_only" | "read_write" | "invoke";
1403
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1404
  instructions?: string;
1107
1405
  readonly verified?: boolean;
1108
1406
  enabled?: boolean;
1109
1407
  } | {
1110
- type: "search" | "browser";
1408
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1409
  readonly verified?: boolean;
1112
1410
  enabled?: boolean;
1113
1411
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1412
+ kind: "general" | "service" | "assume";
1413
+ computers?: {
1414
+ default: string;
1415
+ allowed: Array<{
1416
+ template: string;
1417
+ name: string;
1418
+ }>;
1419
+ };
1115
1420
  computer_id?: string;
1116
1421
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1422
  subagents?: Array<{
1119
1423
  name: string;
1120
1424
  description: string;
@@ -1205,6 +1509,7 @@ export declare function createAgent(transport: Transport): {
1205
1509
  allowManagedHooksOnly?: boolean;
1206
1510
  allowManagedMcpServersOnly?: boolean;
1207
1511
  allowManagedPermissionRulesOnly?: boolean;
1512
+ idleCompaction?: boolean;
1208
1513
  autoMemoryEnabled?: boolean;
1209
1514
  disabled?: {
1210
1515
  subagents?: Array<string>;
@@ -1213,7 +1518,6 @@ export declare function createAgent(transport: Transport): {
1213
1518
  mcpServers?: Array<string>;
1214
1519
  hooks?: Array<string>;
1215
1520
  };
1216
- idleCompaction?: boolean;
1217
1521
  outputStyle?: string;
1218
1522
  } | null;
1219
1523
  models?: {
@@ -1221,6 +1525,7 @@ export declare function createAgent(transport: Transport): {
1221
1525
  };
1222
1526
  avatar: string | null;
1223
1527
  creation_source: string | null;
1528
+ managed_by: string | null;
1224
1529
  identity_number: string | null;
1225
1530
  environment_id?: string | null;
1226
1531
  vault_ids?: Array<string>;
@@ -1247,6 +1552,7 @@ export declare function createAgent(transport: Transport): {
1247
1552
  speed?: "standard" | "fast";
1248
1553
  settings?: {
1249
1554
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1555
+ max_output_tokens?: number;
1250
1556
  };
1251
1557
  };
1252
1558
  multiagent?: null | Types.AgentManaged39;
@@ -1269,21 +1575,28 @@ export declare function createAgent(transport: Transport): {
1269
1575
  } | null;
1270
1576
  note: string | null;
1271
1577
  bindings: Array<{
1272
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1578
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1273
1579
  id: string;
1274
1580
  access: "read_only" | "read_write" | "invoke";
1581
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1582
  instructions?: string;
1276
1583
  readonly verified?: boolean;
1277
1584
  enabled?: boolean;
1278
1585
  } | {
1279
- type: "search" | "browser";
1586
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1587
  readonly verified?: boolean;
1281
1588
  enabled?: boolean;
1282
1589
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1590
+ kind: "general" | "service" | "assume";
1591
+ computers?: {
1592
+ default: string;
1593
+ allowed: Array<{
1594
+ template: string;
1595
+ name: string;
1596
+ }>;
1597
+ };
1284
1598
  computer_id?: string;
1285
1599
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1600
  subagents?: Array<{
1288
1601
  name: string;
1289
1602
  description: string;
@@ -1374,6 +1687,7 @@ export declare function createAgent(transport: Transport): {
1374
1687
  allowManagedHooksOnly?: boolean;
1375
1688
  allowManagedMcpServersOnly?: boolean;
1376
1689
  allowManagedPermissionRulesOnly?: boolean;
1690
+ idleCompaction?: boolean;
1377
1691
  autoMemoryEnabled?: boolean;
1378
1692
  disabled?: {
1379
1693
  subagents?: Array<string>;
@@ -1382,7 +1696,6 @@ export declare function createAgent(transport: Transport): {
1382
1696
  mcpServers?: Array<string>;
1383
1697
  hooks?: Array<string>;
1384
1698
  };
1385
- idleCompaction?: boolean;
1386
1699
  outputStyle?: string;
1387
1700
  } | null;
1388
1701
  models?: {
@@ -1390,6 +1703,7 @@ export declare function createAgent(transport: Transport): {
1390
1703
  };
1391
1704
  avatar: string | null;
1392
1705
  creation_source: string | null;
1706
+ managed_by: string | null;
1393
1707
  identity_number: string | null;
1394
1708
  environment_id?: string | null;
1395
1709
  vault_ids?: Array<string>;
@@ -1401,28 +1715,246 @@ export declare function createAgent(transport: Transport): {
1401
1715
  keep_coding_instructions?: boolean;
1402
1716
  }> | null;
1403
1717
  }>;
1718
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1719
+ allowed_origins: Array<string>;
1720
+ allow_localhost: boolean;
1721
+ uploads: {
1722
+ enabled: boolean;
1723
+ max_file_bytes: number;
1724
+ max_files_per_session: number;
1725
+ };
1726
+ share_links: {
1727
+ enabled: boolean;
1728
+ daily_session_cap: number | null;
1729
+ daily_spend_cap_micro_usd: number | null;
1730
+ currency?: "USD" | "CNY" | null;
1731
+ };
1732
+ }>;
1404
1733
  versions: {
1405
1734
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1735
  id: string;
1407
1736
  archived_at: null | string;
1408
1737
  created_at: string;
1409
1738
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1739
+ mcp_servers: Array<{
1740
+ type: "url";
1741
+ name: string;
1742
+ url: string;
1743
+ headers?: {
1744
+ [key: string]: string;
1745
+ };
1746
+ timeout_ms?: number;
1747
+ } | {
1748
+ type: "sse";
1749
+ name: string;
1750
+ url: string;
1751
+ headers?: {
1752
+ [key: string]: string;
1753
+ };
1754
+ timeout_ms?: number;
1755
+ } | {
1756
+ type: "stdio";
1757
+ name: string;
1758
+ command: string;
1759
+ args?: Array<string>;
1760
+ env?: {
1761
+ [key: string]: string;
1762
+ };
1763
+ timeout_ms?: number;
1764
+ }>;
1765
+ metadata: {
1766
+ [key: string]: string;
1767
+ };
1412
1768
  model?: {
1413
1769
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1770
+ effort?: {
1771
+ type: "low";
1772
+ } | {
1773
+ type: "medium";
1774
+ } | {
1775
+ type: "high";
1776
+ } | {
1777
+ type: "xhigh";
1778
+ } | {
1779
+ type: "max";
1780
+ };
1415
1781
  inference_geo?: string;
1416
1782
  speed?: "standard" | "fast";
1417
1783
  settings?: {
1418
1784
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1785
+ max_output_tokens?: number;
1419
1786
  };
1420
1787
  };
1421
- multiagent?: null | Types.AgentManaged39;
1788
+ multiagent?: null | {
1789
+ agents: Array<{
1790
+ id: string;
1791
+ type: "agent";
1792
+ version: number;
1793
+ } | {
1794
+ model: string;
1795
+ type: "advisor";
1796
+ }>;
1797
+ type: "coordinator";
1798
+ };
1422
1799
  name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1800
+ skills: Array<{
1801
+ skill_id: string;
1802
+ type: "anthropic";
1803
+ version: string;
1804
+ } | {
1805
+ skill_id: string;
1806
+ type: "custom";
1807
+ version: string;
1808
+ }>;
1424
1809
  system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1810
+ tools: Array<{
1811
+ configs: Array<{
1812
+ enabled: boolean;
1813
+ name: "bash";
1814
+ permission_policy: {
1815
+ type: "always_allow";
1816
+ } | {
1817
+ type: "always_ask";
1818
+ } | {
1819
+ type: "auto";
1820
+ };
1821
+ type: "bash";
1822
+ } | {
1823
+ enabled: boolean;
1824
+ name: "edit";
1825
+ permission_policy: {
1826
+ type: "always_allow";
1827
+ } | {
1828
+ type: "always_ask";
1829
+ } | {
1830
+ type: "auto";
1831
+ };
1832
+ type: "edit";
1833
+ } | {
1834
+ enabled: boolean;
1835
+ name: "read";
1836
+ permission_policy: {
1837
+ type: "always_allow";
1838
+ } | {
1839
+ type: "always_ask";
1840
+ } | {
1841
+ type: "auto";
1842
+ };
1843
+ type: "read";
1844
+ } | {
1845
+ enabled: boolean;
1846
+ name: "write";
1847
+ permission_policy: {
1848
+ type: "always_allow";
1849
+ } | {
1850
+ type: "always_ask";
1851
+ } | {
1852
+ type: "auto";
1853
+ };
1854
+ type: "write";
1855
+ } | {
1856
+ enabled: boolean;
1857
+ name: "glob";
1858
+ permission_policy: {
1859
+ type: "always_allow";
1860
+ } | {
1861
+ type: "always_ask";
1862
+ } | {
1863
+ type: "auto";
1864
+ };
1865
+ type: "glob";
1866
+ } | {
1867
+ enabled: boolean;
1868
+ name: "grep";
1869
+ permission_policy: {
1870
+ type: "always_allow";
1871
+ } | {
1872
+ type: "always_ask";
1873
+ } | {
1874
+ type: "auto";
1875
+ };
1876
+ type: "grep";
1877
+ } | {
1878
+ enabled: boolean;
1879
+ name: "web_fetch";
1880
+ permission_policy: {
1881
+ type: "always_allow";
1882
+ } | {
1883
+ type: "always_ask";
1884
+ } | {
1885
+ type: "auto";
1886
+ };
1887
+ type: "web_fetch";
1888
+ allowed_domains?: Array<string>;
1889
+ blocked_domains?: Array<string>;
1890
+ max_content_tokens?: null | number;
1891
+ } | {
1892
+ enabled: boolean;
1893
+ name: "web_search";
1894
+ permission_policy: {
1895
+ type: "always_allow";
1896
+ } | {
1897
+ type: "always_ask";
1898
+ } | {
1899
+ type: "auto";
1900
+ };
1901
+ type: "web_search";
1902
+ allowed_domains?: Array<string>;
1903
+ blocked_domains?: Array<string>;
1904
+ user_location?: null | {
1905
+ type: "approximate";
1906
+ city?: null | string;
1907
+ country?: null | string;
1908
+ region?: null | string;
1909
+ timezone?: null | string;
1910
+ };
1911
+ } | {
1912
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1913
+ enabled: boolean;
1914
+ permission_policy: {
1915
+ type: "always_allow" | "always_ask";
1916
+ };
1917
+ }>;
1918
+ default_config: {
1919
+ enabled: boolean;
1920
+ permission_policy: {
1921
+ type: "always_allow";
1922
+ } | {
1923
+ type: "always_ask";
1924
+ } | {
1925
+ type: "auto";
1926
+ };
1927
+ };
1928
+ type: "agent_toolset_20260401";
1929
+ } | {
1930
+ type: "mcp_toolset";
1931
+ mcp_server_name: string;
1932
+ default_config?: {
1933
+ enabled?: boolean | null;
1934
+ permission_policy?: null | {
1935
+ type: "always_allow" | "always_ask";
1936
+ };
1937
+ } | null;
1938
+ configs?: Array<{
1939
+ name: string;
1940
+ enabled?: boolean | null;
1941
+ permission_policy?: null | {
1942
+ type: "always_allow" | "always_ask";
1943
+ };
1944
+ }> | null;
1945
+ } | {
1946
+ description: string;
1947
+ input_schema: {
1948
+ type: "object";
1949
+ properties?: null | {
1950
+ [key: string]: unknown;
1951
+ };
1952
+ required?: null | Array<string>;
1953
+ [key: string]: unknown;
1954
+ };
1955
+ name: string;
1956
+ type: "custom";
1957
+ }>;
1426
1958
  type: "agent";
1427
1959
  updated_at: string;
1428
1960
  version: number;
@@ -1438,21 +1970,28 @@ export declare function createAgent(transport: Transport): {
1438
1970
  } | null;
1439
1971
  note: string | null;
1440
1972
  bindings: Array<{
1441
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1973
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1442
1974
  id: string;
1443
1975
  access: "read_only" | "read_write" | "invoke";
1976
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
1977
  instructions?: string;
1445
1978
  readonly verified?: boolean;
1446
1979
  enabled?: boolean;
1447
1980
  } | {
1448
- type: "search" | "browser";
1981
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1982
  readonly verified?: boolean;
1450
1983
  enabled?: boolean;
1451
1984
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
1985
+ kind: "general" | "service" | "assume";
1986
+ computers?: {
1987
+ default: string;
1988
+ allowed: Array<{
1989
+ template: string;
1990
+ name: string;
1991
+ }>;
1992
+ };
1453
1993
  computer_id?: string;
1454
1994
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1995
  subagents?: Array<{
1457
1996
  name: string;
1458
1997
  description: string;
@@ -1543,6 +2082,7 @@ export declare function createAgent(transport: Transport): {
1543
2082
  allowManagedHooksOnly?: boolean;
1544
2083
  allowManagedMcpServersOnly?: boolean;
1545
2084
  allowManagedPermissionRulesOnly?: boolean;
2085
+ idleCompaction?: boolean;
1546
2086
  autoMemoryEnabled?: boolean;
1547
2087
  disabled?: {
1548
2088
  subagents?: Array<string>;
@@ -1551,7 +2091,6 @@ export declare function createAgent(transport: Transport): {
1551
2091
  mcpServers?: Array<string>;
1552
2092
  hooks?: Array<string>;
1553
2093
  };
1554
- idleCompaction?: boolean;
1555
2094
  outputStyle?: string;
1556
2095
  } | null;
1557
2096
  models?: {
@@ -1559,6 +2098,7 @@ export declare function createAgent(transport: Transport): {
1559
2098
  };
1560
2099
  avatar: string | null;
1561
2100
  creation_source: string | null;
2101
+ managed_by: string | null;
1562
2102
  identity_number: string | null;
1563
2103
  environment_id?: string | null;
1564
2104
  vault_ids?: Array<string>;
@@ -1585,6 +2125,7 @@ export declare function createAgent(transport: Transport): {
1585
2125
  speed?: "standard" | "fast";
1586
2126
  settings?: {
1587
2127
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2128
+ max_output_tokens?: number;
1588
2129
  };
1589
2130
  };
1590
2131
  multiagent?: null | Types.AgentManaged39;
@@ -1607,21 +2148,28 @@ export declare function createAgent(transport: Transport): {
1607
2148
  } | null;
1608
2149
  note: string | null;
1609
2150
  bindings: Array<{
1610
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2151
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1611
2152
  id: string;
1612
2153
  access: "read_only" | "read_write" | "invoke";
2154
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2155
  instructions?: string;
1614
2156
  readonly verified?: boolean;
1615
2157
  enabled?: boolean;
1616
2158
  } | {
1617
- type: "search" | "browser";
2159
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2160
  readonly verified?: boolean;
1619
2161
  enabled?: boolean;
1620
2162
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2163
+ kind: "general" | "service" | "assume";
2164
+ computers?: {
2165
+ default: string;
2166
+ allowed: Array<{
2167
+ template: string;
2168
+ name: string;
2169
+ }>;
2170
+ };
1622
2171
  computer_id?: string;
1623
2172
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2173
  subagents?: Array<{
1626
2174
  name: string;
1627
2175
  description: string;
@@ -1712,6 +2260,7 @@ export declare function createAgent(transport: Transport): {
1712
2260
  allowManagedHooksOnly?: boolean;
1713
2261
  allowManagedMcpServersOnly?: boolean;
1714
2262
  allowManagedPermissionRulesOnly?: boolean;
2263
+ idleCompaction?: boolean;
1715
2264
  autoMemoryEnabled?: boolean;
1716
2265
  disabled?: {
1717
2266
  subagents?: Array<string>;
@@ -1720,7 +2269,6 @@ export declare function createAgent(transport: Transport): {
1720
2269
  mcpServers?: Array<string>;
1721
2270
  hooks?: Array<string>;
1722
2271
  };
1723
- idleCompaction?: boolean;
1724
2272
  outputStyle?: string;
1725
2273
  } | null;
1726
2274
  models?: {
@@ -1728,6 +2276,7 @@ export declare function createAgent(transport: Transport): {
1728
2276
  };
1729
2277
  avatar: string | null;
1730
2278
  creation_source: string | null;
2279
+ managed_by: string | null;
1731
2280
  identity_number: string | null;
1732
2281
  environment_id?: string | null;
1733
2282
  vault_ids?: Array<string>;
@@ -1793,6 +2342,13 @@ export declare function createAgent(transport: Transport): {
1793
2342
  type: "computer_deleted";
1794
2343
  }>;
1795
2344
  files: {
2345
+ convert: {
2346
+ create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
2347
+ data: string;
2348
+ mime: "application/pdf";
2349
+ cached: boolean;
2350
+ }>;
2351
+ };
1796
2352
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
1797
2353
  data: Array<{
1798
2354
  path: string;
@@ -1808,6 +2364,24 @@ export declare function createAgent(transport: Transport): {
1808
2364
  tier: "light" | "heavy";
1809
2365
  }>;
1810
2366
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2367
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2368
+ variant: "image" | "pdf" | "text" | "original";
2369
+ version?: string;
2370
+ mime_type?: string;
2371
+ size?: number;
2372
+ file_id?: string;
2373
+ url?: string;
2374
+ expires_at?: string;
2375
+ cached: boolean;
2376
+ fallback?: "content";
2377
+ skipped?: boolean;
2378
+ }>;
2379
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2380
+ path: string;
2381
+ size: number;
2382
+ mtime: string | null;
2383
+ version: string;
2384
+ }>;
1811
2385
  };
1812
2386
  leases: {
1813
2387
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -1848,6 +2422,7 @@ export declare function createAgent(transport: Transport): {
1848
2422
  created_at: string;
1849
2423
  updated_at: string;
1850
2424
  archived_at: string | null;
2425
+ machine: "light" | "full";
1851
2426
  implementation: "virtual" | "sandbox";
1852
2427
  storage_bytes: number;
1853
2428
  file_count: number;
@@ -2153,6 +2728,543 @@ export declare function createAgent(transport: Transport): {
2153
2728
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2154
2729
  };
2155
2730
  sessions: {
2731
+ agentVersion: {
2732
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2733
+ id: string;
2734
+ agent: {
2735
+ id: string;
2736
+ description: null | string;
2737
+ mcp_servers: Array<{
2738
+ type: "url";
2739
+ name: string;
2740
+ url: string;
2741
+ headers?: {
2742
+ [key: string]: string;
2743
+ };
2744
+ timeout_ms?: number;
2745
+ } | {
2746
+ type: "sse";
2747
+ name: string;
2748
+ url: string;
2749
+ headers?: {
2750
+ [key: string]: string;
2751
+ };
2752
+ timeout_ms?: number;
2753
+ } | {
2754
+ type: "stdio";
2755
+ name: string;
2756
+ command: string;
2757
+ args?: Array<string>;
2758
+ env?: {
2759
+ [key: string]: string;
2760
+ };
2761
+ timeout_ms?: number;
2762
+ }>;
2763
+ model: {
2764
+ id: string;
2765
+ effort?: {
2766
+ type: "low";
2767
+ } | {
2768
+ type: "medium";
2769
+ } | {
2770
+ type: "high";
2771
+ } | {
2772
+ type: "xhigh";
2773
+ } | {
2774
+ type: "max";
2775
+ };
2776
+ inference_geo?: string;
2777
+ speed?: "standard" | "fast";
2778
+ settings?: {
2779
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2780
+ max_output_tokens?: number;
2781
+ };
2782
+ };
2783
+ multiagent: null | {
2784
+ agents: Array<{
2785
+ model: string;
2786
+ type: "advisor";
2787
+ } | {
2788
+ id: string;
2789
+ description: null | string;
2790
+ mcp_servers: Array<{
2791
+ type: "url";
2792
+ name: string;
2793
+ url: string;
2794
+ headers?: {
2795
+ [key: string]: string;
2796
+ };
2797
+ timeout_ms?: number;
2798
+ } | {
2799
+ type: "sse";
2800
+ name: string;
2801
+ url: string;
2802
+ headers?: {
2803
+ [key: string]: string;
2804
+ };
2805
+ timeout_ms?: number;
2806
+ } | {
2807
+ type: "stdio";
2808
+ name: string;
2809
+ command: string;
2810
+ args?: Array<string>;
2811
+ env?: {
2812
+ [key: string]: string;
2813
+ };
2814
+ timeout_ms?: number;
2815
+ }>;
2816
+ model: {
2817
+ id: string;
2818
+ effort?: {
2819
+ type: "low";
2820
+ } | {
2821
+ type: "medium";
2822
+ } | {
2823
+ type: "high";
2824
+ } | {
2825
+ type: "xhigh";
2826
+ } | {
2827
+ type: "max";
2828
+ };
2829
+ inference_geo?: string;
2830
+ speed?: "standard" | "fast";
2831
+ };
2832
+ name: string;
2833
+ skills: Array<{
2834
+ skill_id: string;
2835
+ type: "anthropic";
2836
+ version: string;
2837
+ } | {
2838
+ skill_id: string;
2839
+ type: "custom";
2840
+ version: string;
2841
+ }>;
2842
+ system: null | string;
2843
+ tools: Array<{
2844
+ configs: Array<{
2845
+ enabled: boolean;
2846
+ name: "bash";
2847
+ permission_policy: {
2848
+ type: "always_allow";
2849
+ } | {
2850
+ type: "always_ask";
2851
+ } | {
2852
+ type: "auto";
2853
+ };
2854
+ type: "bash";
2855
+ } | {
2856
+ enabled: boolean;
2857
+ name: "edit";
2858
+ permission_policy: {
2859
+ type: "always_allow";
2860
+ } | {
2861
+ type: "always_ask";
2862
+ } | {
2863
+ type: "auto";
2864
+ };
2865
+ type: "edit";
2866
+ } | {
2867
+ enabled: boolean;
2868
+ name: "read";
2869
+ permission_policy: {
2870
+ type: "always_allow";
2871
+ } | {
2872
+ type: "always_ask";
2873
+ } | {
2874
+ type: "auto";
2875
+ };
2876
+ type: "read";
2877
+ } | {
2878
+ enabled: boolean;
2879
+ name: "write";
2880
+ permission_policy: {
2881
+ type: "always_allow";
2882
+ } | {
2883
+ type: "always_ask";
2884
+ } | {
2885
+ type: "auto";
2886
+ };
2887
+ type: "write";
2888
+ } | {
2889
+ enabled: boolean;
2890
+ name: "glob";
2891
+ permission_policy: {
2892
+ type: "always_allow";
2893
+ } | {
2894
+ type: "always_ask";
2895
+ } | {
2896
+ type: "auto";
2897
+ };
2898
+ type: "glob";
2899
+ } | {
2900
+ enabled: boolean;
2901
+ name: "grep";
2902
+ permission_policy: {
2903
+ type: "always_allow";
2904
+ } | {
2905
+ type: "always_ask";
2906
+ } | {
2907
+ type: "auto";
2908
+ };
2909
+ type: "grep";
2910
+ } | {
2911
+ enabled: boolean;
2912
+ name: "web_fetch";
2913
+ permission_policy: {
2914
+ type: "always_allow";
2915
+ } | {
2916
+ type: "always_ask";
2917
+ } | {
2918
+ type: "auto";
2919
+ };
2920
+ type: "web_fetch";
2921
+ allowed_domains?: Array<string>;
2922
+ blocked_domains?: Array<string>;
2923
+ max_content_tokens?: null | number;
2924
+ } | {
2925
+ enabled: boolean;
2926
+ name: "web_search";
2927
+ permission_policy: {
2928
+ type: "always_allow";
2929
+ } | {
2930
+ type: "always_ask";
2931
+ } | {
2932
+ type: "auto";
2933
+ };
2934
+ type: "web_search";
2935
+ allowed_domains?: Array<string>;
2936
+ blocked_domains?: Array<string>;
2937
+ user_location?: null | {
2938
+ type: "approximate";
2939
+ city?: null | string;
2940
+ country?: null | string;
2941
+ region?: null | string;
2942
+ timezone?: null | string;
2943
+ };
2944
+ } | {
2945
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2946
+ enabled: boolean;
2947
+ permission_policy: {
2948
+ type: "always_allow" | "always_ask";
2949
+ };
2950
+ }>;
2951
+ default_config: {
2952
+ enabled: boolean;
2953
+ permission_policy: {
2954
+ type: "always_allow";
2955
+ } | {
2956
+ type: "always_ask";
2957
+ } | {
2958
+ type: "auto";
2959
+ };
2960
+ };
2961
+ type: "agent_toolset_20260401";
2962
+ } | {
2963
+ type: "mcp_toolset";
2964
+ mcp_server_name: string;
2965
+ default_config?: {
2966
+ enabled?: boolean | null;
2967
+ permission_policy?: null | {
2968
+ type: "always_allow" | "always_ask";
2969
+ };
2970
+ } | null;
2971
+ configs?: Array<{
2972
+ name: string;
2973
+ enabled?: boolean | null;
2974
+ permission_policy?: null | {
2975
+ type: "always_allow" | "always_ask";
2976
+ };
2977
+ }> | null;
2978
+ } | {
2979
+ description: string;
2980
+ input_schema: {
2981
+ type: "object";
2982
+ properties?: null | {
2983
+ [key: string]: unknown;
2984
+ };
2985
+ required?: null | Array<string>;
2986
+ [key: string]: unknown;
2987
+ };
2988
+ name: string;
2989
+ type: "custom";
2990
+ }>;
2991
+ type: "agent";
2992
+ version: number;
2993
+ }>;
2994
+ type: "coordinator";
2995
+ };
2996
+ name: string;
2997
+ skills: Array<{
2998
+ skill_id: string;
2999
+ type: "anthropic";
3000
+ version: string;
3001
+ } | {
3002
+ skill_id: string;
3003
+ type: "custom";
3004
+ version: string;
3005
+ }>;
3006
+ system: null | string;
3007
+ tools: Array<{
3008
+ configs: Array<{
3009
+ enabled: boolean;
3010
+ name: "bash";
3011
+ permission_policy: {
3012
+ type: "always_allow";
3013
+ } | {
3014
+ type: "always_ask";
3015
+ } | {
3016
+ type: "auto";
3017
+ };
3018
+ type: "bash";
3019
+ } | {
3020
+ enabled: boolean;
3021
+ name: "edit";
3022
+ permission_policy: {
3023
+ type: "always_allow";
3024
+ } | {
3025
+ type: "always_ask";
3026
+ } | {
3027
+ type: "auto";
3028
+ };
3029
+ type: "edit";
3030
+ } | {
3031
+ enabled: boolean;
3032
+ name: "read";
3033
+ permission_policy: {
3034
+ type: "always_allow";
3035
+ } | {
3036
+ type: "always_ask";
3037
+ } | {
3038
+ type: "auto";
3039
+ };
3040
+ type: "read";
3041
+ } | {
3042
+ enabled: boolean;
3043
+ name: "write";
3044
+ permission_policy: {
3045
+ type: "always_allow";
3046
+ } | {
3047
+ type: "always_ask";
3048
+ } | {
3049
+ type: "auto";
3050
+ };
3051
+ type: "write";
3052
+ } | {
3053
+ enabled: boolean;
3054
+ name: "glob";
3055
+ permission_policy: {
3056
+ type: "always_allow";
3057
+ } | {
3058
+ type: "always_ask";
3059
+ } | {
3060
+ type: "auto";
3061
+ };
3062
+ type: "glob";
3063
+ } | {
3064
+ enabled: boolean;
3065
+ name: "grep";
3066
+ permission_policy: {
3067
+ type: "always_allow";
3068
+ } | {
3069
+ type: "always_ask";
3070
+ } | {
3071
+ type: "auto";
3072
+ };
3073
+ type: "grep";
3074
+ } | {
3075
+ enabled: boolean;
3076
+ name: "web_fetch";
3077
+ permission_policy: {
3078
+ type: "always_allow";
3079
+ } | {
3080
+ type: "always_ask";
3081
+ } | {
3082
+ type: "auto";
3083
+ };
3084
+ type: "web_fetch";
3085
+ allowed_domains?: Array<string>;
3086
+ blocked_domains?: Array<string>;
3087
+ max_content_tokens?: null | number;
3088
+ } | {
3089
+ enabled: boolean;
3090
+ name: "web_search";
3091
+ permission_policy: {
3092
+ type: "always_allow";
3093
+ } | {
3094
+ type: "always_ask";
3095
+ } | {
3096
+ type: "auto";
3097
+ };
3098
+ type: "web_search";
3099
+ allowed_domains?: Array<string>;
3100
+ blocked_domains?: Array<string>;
3101
+ user_location?: null | {
3102
+ type: "approximate";
3103
+ city?: null | string;
3104
+ country?: null | string;
3105
+ region?: null | string;
3106
+ timezone?: null | string;
3107
+ };
3108
+ } | {
3109
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3110
+ enabled: boolean;
3111
+ permission_policy: {
3112
+ type: "always_allow" | "always_ask";
3113
+ };
3114
+ }>;
3115
+ default_config: {
3116
+ enabled: boolean;
3117
+ permission_policy: {
3118
+ type: "always_allow";
3119
+ } | {
3120
+ type: "always_ask";
3121
+ } | {
3122
+ type: "auto";
3123
+ };
3124
+ };
3125
+ type: "agent_toolset_20260401";
3126
+ } | {
3127
+ type: "mcp_toolset";
3128
+ mcp_server_name: string;
3129
+ default_config?: {
3130
+ enabled?: boolean | null;
3131
+ permission_policy?: null | {
3132
+ type: "always_allow" | "always_ask";
3133
+ };
3134
+ } | null;
3135
+ configs?: Array<{
3136
+ name: string;
3137
+ enabled?: boolean | null;
3138
+ permission_policy?: null | {
3139
+ type: "always_allow" | "always_ask";
3140
+ };
3141
+ }> | null;
3142
+ } | {
3143
+ description: string;
3144
+ input_schema: {
3145
+ type: "object";
3146
+ properties?: null | {
3147
+ [key: string]: unknown;
3148
+ };
3149
+ required?: null | Array<string>;
3150
+ [key: string]: unknown;
3151
+ };
3152
+ name: string;
3153
+ type: "custom";
3154
+ }>;
3155
+ type: "agent";
3156
+ version: number;
3157
+ };
3158
+ archived_at: null | string;
3159
+ budget: null | {
3160
+ max_list_cost: {
3161
+ amount: string;
3162
+ currency: "USD";
3163
+ };
3164
+ type: "limit";
3165
+ };
3166
+ created_at: string;
3167
+ environment_id?: string;
3168
+ metadata: {
3169
+ [key: string]: string;
3170
+ };
3171
+ outcome_evaluations: Array<{
3172
+ completed_at: null | string;
3173
+ description: string;
3174
+ explanation: null | string;
3175
+ iteration: number;
3176
+ outcome_id: string;
3177
+ result: string;
3178
+ type: "outcome_evaluation";
3179
+ }>;
3180
+ resources: Array<{
3181
+ id: string;
3182
+ created_at: string;
3183
+ mount_path: string;
3184
+ type: "github_repository";
3185
+ updated_at: string;
3186
+ url: string;
3187
+ checkout?: null | {
3188
+ name: string;
3189
+ type: "branch";
3190
+ } | {
3191
+ sha: string;
3192
+ type: "commit";
3193
+ };
3194
+ } | {
3195
+ id: string;
3196
+ created_at: string;
3197
+ file_id: string;
3198
+ mount_path: string;
3199
+ type: "file";
3200
+ updated_at: string;
3201
+ } | {
3202
+ memory_store_id: string;
3203
+ type: "memory_store";
3204
+ access?: null | "read_write" | "read_only";
3205
+ description?: string;
3206
+ instructions?: null | string;
3207
+ mount_path?: null | string;
3208
+ name?: null | string;
3209
+ }>;
3210
+ stats: {
3211
+ active_seconds?: number;
3212
+ duration_seconds?: number;
3213
+ };
3214
+ status: "rescheduling" | "running" | "idle" | "terminated";
3215
+ title: null | string;
3216
+ type: "session";
3217
+ updated_at: string;
3218
+ usage: {
3219
+ active_seconds?: number;
3220
+ cache_creation?: {
3221
+ ephemeral_1h_input_tokens?: number;
3222
+ ephemeral_5m_input_tokens?: number;
3223
+ };
3224
+ cache_read_input_tokens?: number;
3225
+ input_tokens?: number;
3226
+ list_cost?: null | {
3227
+ amount: string;
3228
+ currency: "USD";
3229
+ };
3230
+ output_tokens?: number;
3231
+ server_tool_use?: null | {
3232
+ web_fetch_requests?: number;
3233
+ web_search_requests?: number;
3234
+ };
3235
+ cost_by_product?: {
3236
+ [key: string]: string;
3237
+ };
3238
+ subagent_cost_micro_usd?: number;
3239
+ };
3240
+ vault_ids: Array<string>;
3241
+ deployment_id?: null | string;
3242
+ cwd: string;
3243
+ workspace?: {
3244
+ kind: "shared" | "isolated";
3245
+ path?: string;
3246
+ branch?: string;
3247
+ };
3248
+ computer_id?: string;
3249
+ model?: {
3250
+ id: string;
3251
+ thinking: {
3252
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3253
+ can_disable: boolean;
3254
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3255
+ } | null;
3256
+ };
3257
+ thinking?: {
3258
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3259
+ } | null;
3260
+ forked_from?: {
3261
+ session_id: string;
3262
+ message_id: string;
3263
+ } | null;
3264
+ readonly external_user_id: string | null;
3265
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3266
+ }>;
3267
+ };
2156
3268
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2157
3269
  id: string;
2158
3270
  agent: {
@@ -2166,6 +3278,7 @@ export declare function createAgent(transport: Transport): {
2166
3278
  speed?: "standard" | "fast";
2167
3279
  settings?: {
2168
3280
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3281
+ max_output_tokens?: number;
2169
3282
  };
2170
3283
  };
2171
3284
  multiagent: null | Types.AgentManaged171;
@@ -2192,6 +3305,11 @@ export declare function createAgent(transport: Transport): {
2192
3305
  vault_ids: Array<string>;
2193
3306
  deployment_id?: null | string;
2194
3307
  cwd: string;
3308
+ workspace?: {
3309
+ kind: "shared" | "isolated";
3310
+ path?: string;
3311
+ branch?: string;
3312
+ };
2195
3313
  computer_id?: string;
2196
3314
  model?: {
2197
3315
  id: string;
@@ -2211,6 +3329,40 @@ export declare function createAgent(transport: Transport): {
2211
3329
  readonly external_user_id: string | null;
2212
3330
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2213
3331
  }>;
3332
+ artifacts: {
3333
+ contentUrl: {
3334
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3335
+ url: string;
3336
+ expire_time: string;
3337
+ }>;
3338
+ };
3339
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3340
+ data: Array<{
3341
+ object: "artifact";
3342
+ id: string;
3343
+ session_id: string;
3344
+ run_id: string | null;
3345
+ name: string;
3346
+ version: number;
3347
+ parts: Array<{
3348
+ kind: "file";
3349
+ file_id: string;
3350
+ filename: string;
3351
+ mime_type: string;
3352
+ bytes: number;
3353
+ } | {
3354
+ kind: "object";
3355
+ object_type: "canvas" | "media_asset";
3356
+ object_id: string;
3357
+ href: string;
3358
+ title: string | null;
3359
+ }>;
3360
+ source_hrefs: Array<string>;
3361
+ create_time: string;
3362
+ update_time: string;
3363
+ }>;
3364
+ }>;
3365
+ };
2214
3366
  backgroundTasks: {
2215
3367
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2216
3368
  data: Array<{
@@ -2293,6 +3445,7 @@ export declare function createAgent(transport: Transport): {
2293
3445
  speed?: "standard" | "fast";
2294
3446
  settings?: {
2295
3447
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3448
+ max_output_tokens?: number;
2296
3449
  };
2297
3450
  };
2298
3451
  multiagent: null | Types.AgentManaged171;
@@ -2319,6 +3472,11 @@ export declare function createAgent(transport: Transport): {
2319
3472
  vault_ids: Array<string>;
2320
3473
  deployment_id?: null | string;
2321
3474
  cwd: string;
3475
+ workspace?: {
3476
+ kind: "shared" | "isolated";
3477
+ path?: string;
3478
+ branch?: string;
3479
+ };
2322
3480
  computer_id?: string;
2323
3481
  model?: {
2324
3482
  id: string;
@@ -2379,7 +3537,6 @@ export declare function createAgent(transport: Transport): {
2379
3537
  run_id: string | null;
2380
3538
  message_id?: string;
2381
3539
  } | {
2382
- full_access_available?: boolean;
2383
3540
  id: string;
2384
3541
  input: Types.AgentManaged197;
2385
3542
  mcp_server_name: string;
@@ -2389,6 +3546,18 @@ export declare function createAgent(transport: Transport): {
2389
3546
  evaluated_permission?: "allow" | "deny" | "ask";
2390
3547
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2391
3548
  session_thread_id?: null | string;
3549
+ permission_suggestions?: Array<{
3550
+ type: "add_rules";
3551
+ behavior: "allow";
3552
+ destination: "agent" | "session";
3553
+ rules: Array<{
3554
+ tool_name: string;
3555
+ rule_content: string;
3556
+ }>;
3557
+ }>;
3558
+ full_access_available?: boolean;
3559
+ user_once?: true;
3560
+ guarded_rule?: string;
2392
3561
  run_id: string | null;
2393
3562
  _meta?: {
2394
3563
  ui?: {
@@ -2402,17 +3571,6 @@ export declare function createAgent(transport: Transport): {
2402
3571
  };
2403
3572
  source?: "app" | "codemode";
2404
3573
  parent_tool_use_id?: string;
2405
- user_once?: true;
2406
- guarded_rule?: string;
2407
- permission_suggestions?: Array<{
2408
- type: "add_rules";
2409
- behavior: "allow";
2410
- destination: "agent" | "session";
2411
- rules: Array<{
2412
- tool_name: string;
2413
- rule_content: string;
2414
- }>;
2415
- }>;
2416
3574
  title?: string;
2417
3575
  input_titles?: {
2418
3576
  [key: string]: string;
@@ -2431,7 +3589,6 @@ export declare function createAgent(transport: Transport): {
2431
3589
  };
2432
3590
  source?: "app" | "codemode";
2433
3591
  } | {
2434
- full_access_available?: boolean;
2435
3592
  id: string;
2436
3593
  input: Types.AgentManaged206;
2437
3594
  name: string;
@@ -2440,9 +3597,6 @@ export declare function createAgent(transport: Transport): {
2440
3597
  evaluated_permission?: "allow" | "deny" | "ask";
2441
3598
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2442
3599
  session_thread_id?: null | string;
2443
- run_id: string | null;
2444
- user_once?: true;
2445
- guarded_rule?: string;
2446
3600
  permission_suggestions?: Array<{
2447
3601
  type: "add_rules";
2448
3602
  behavior: "allow";
@@ -2452,6 +3606,10 @@ export declare function createAgent(transport: Transport): {
2452
3606
  rule_content: string;
2453
3607
  }>;
2454
3608
  }>;
3609
+ full_access_available?: boolean;
3610
+ user_once?: true;
3611
+ guarded_rule?: string;
3612
+ run_id: string | null;
2455
3613
  } | {
2456
3614
  id: string;
2457
3615
  processed_at: string;
@@ -2472,9 +3630,6 @@ export declare function createAgent(transport: Transport): {
2472
3630
  type: "session.status_idle";
2473
3631
  run_id: string | null;
2474
3632
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2475
- permission_mode_version?: number;
2476
- previous_permission_mode?: string | null;
2477
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2478
3633
  id: string;
2479
3634
  processed_at: string;
2480
3635
  type: "session.updated";
@@ -2482,6 +3637,9 @@ export declare function createAgent(transport: Transport): {
2482
3637
  budget?: null | Types.AgentManaged76;
2483
3638
  metadata?: Types.AgentManaged246;
2484
3639
  title?: null | string;
3640
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3641
+ previous_permission_mode?: string | null;
3642
+ permission_mode_version?: number;
2485
3643
  model?: {
2486
3644
  id: string;
2487
3645
  };
@@ -2540,21 +3698,6 @@ export declare function createAgent(transport: Transport): {
2540
3698
  type: "user.steer";
2541
3699
  event_id: string;
2542
3700
  processed_at: string;
2543
- } | {
2544
- id: string;
2545
- type: "user.tool_confirmation";
2546
- processed_at: string;
2547
- tool_use_id: string;
2548
- result: "allow";
2549
- answers: {
2550
- [key: string]: string;
2551
- };
2552
- annotations?: {
2553
- [key: string]: {
2554
- preview?: string;
2555
- notes?: string;
2556
- };
2557
- };
2558
3701
  }>;
2559
3702
  next_page: string | null;
2560
3703
  }>;
@@ -2575,21 +3718,6 @@ export declare function createAgent(transport: Transport): {
2575
3718
  type: "user.steer";
2576
3719
  event_id: string;
2577
3720
  processed_at: string;
2578
- } | {
2579
- id: string;
2580
- type: "user.tool_confirmation";
2581
- processed_at: string;
2582
- tool_use_id: string;
2583
- result: "allow";
2584
- answers: {
2585
- [key: string]: string;
2586
- };
2587
- annotations?: {
2588
- [key: string]: {
2589
- preview?: string;
2590
- notes?: string;
2591
- };
2592
- };
2593
3721
  }>;
2594
3722
  }>;
2595
3723
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2642,6 +3770,7 @@ export declare function createAgent(transport: Transport): {
2642
3770
  speed?: "standard" | "fast";
2643
3771
  settings?: {
2644
3772
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3773
+ max_output_tokens?: number;
2645
3774
  };
2646
3775
  };
2647
3776
  multiagent: null | {
@@ -3104,6 +4233,11 @@ export declare function createAgent(transport: Transport): {
3104
4233
  vault_ids: Array<string>;
3105
4234
  deployment_id?: null | string;
3106
4235
  cwd: string;
4236
+ workspace?: {
4237
+ kind: "shared" | "isolated";
4238
+ path?: string;
4239
+ branch?: string;
4240
+ };
3107
4241
  computer_id?: string;
3108
4242
  model?: {
3109
4243
  id: string;
@@ -3137,6 +4271,7 @@ export declare function createAgent(transport: Transport): {
3137
4271
  speed?: "standard" | "fast";
3138
4272
  settings?: {
3139
4273
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4274
+ max_output_tokens?: number;
3140
4275
  };
3141
4276
  };
3142
4277
  multiagent: null | Types.AgentManaged171;
@@ -3163,6 +4298,11 @@ export declare function createAgent(transport: Transport): {
3163
4298
  vault_ids: Array<string>;
3164
4299
  deployment_id?: null | string;
3165
4300
  cwd: string;
4301
+ workspace?: {
4302
+ kind: "shared" | "isolated";
4303
+ path?: string;
4304
+ branch?: string;
4305
+ };
3166
4306
  computer_id?: string;
3167
4307
  model?: {
3168
4308
  id: string;
@@ -3184,6 +4324,557 @@ export declare function createAgent(transport: Transport): {
3184
4324
  }>;
3185
4325
  next_page: string | null;
3186
4326
  }>;
4327
+ name: {
4328
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4329
+ id: string;
4330
+ agent: {
4331
+ id: string;
4332
+ description: null | string;
4333
+ mcp_servers: Array<{
4334
+ type: "url";
4335
+ name: string;
4336
+ url: string;
4337
+ headers?: {
4338
+ [key: string]: string;
4339
+ };
4340
+ timeout_ms?: number;
4341
+ } | {
4342
+ type: "sse";
4343
+ name: string;
4344
+ url: string;
4345
+ headers?: {
4346
+ [key: string]: string;
4347
+ };
4348
+ timeout_ms?: number;
4349
+ } | {
4350
+ type: "stdio";
4351
+ name: string;
4352
+ command: string;
4353
+ args?: Array<string>;
4354
+ env?: {
4355
+ [key: string]: string;
4356
+ };
4357
+ timeout_ms?: number;
4358
+ }>;
4359
+ model: {
4360
+ id: string;
4361
+ effort?: {
4362
+ type: "low";
4363
+ } | {
4364
+ type: "medium";
4365
+ } | {
4366
+ type: "high";
4367
+ } | {
4368
+ type: "xhigh";
4369
+ } | {
4370
+ type: "max";
4371
+ };
4372
+ inference_geo?: string;
4373
+ speed?: "standard" | "fast";
4374
+ settings?: {
4375
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4376
+ max_output_tokens?: number;
4377
+ };
4378
+ };
4379
+ multiagent: null | {
4380
+ agents: Array<{
4381
+ model: string;
4382
+ type: "advisor";
4383
+ } | {
4384
+ id: string;
4385
+ description: null | string;
4386
+ mcp_servers: Array<{
4387
+ type: "url";
4388
+ name: string;
4389
+ url: string;
4390
+ headers?: {
4391
+ [key: string]: string;
4392
+ };
4393
+ timeout_ms?: number;
4394
+ } | {
4395
+ type: "sse";
4396
+ name: string;
4397
+ url: string;
4398
+ headers?: {
4399
+ [key: string]: string;
4400
+ };
4401
+ timeout_ms?: number;
4402
+ } | {
4403
+ type: "stdio";
4404
+ name: string;
4405
+ command: string;
4406
+ args?: Array<string>;
4407
+ env?: {
4408
+ [key: string]: string;
4409
+ };
4410
+ timeout_ms?: number;
4411
+ }>;
4412
+ model: {
4413
+ id: string;
4414
+ effort?: {
4415
+ type: "low";
4416
+ } | {
4417
+ type: "medium";
4418
+ } | {
4419
+ type: "high";
4420
+ } | {
4421
+ type: "xhigh";
4422
+ } | {
4423
+ type: "max";
4424
+ };
4425
+ inference_geo?: string;
4426
+ speed?: "standard" | "fast";
4427
+ };
4428
+ name: string;
4429
+ skills: Array<{
4430
+ skill_id: string;
4431
+ type: "anthropic";
4432
+ version: string;
4433
+ } | {
4434
+ skill_id: string;
4435
+ type: "custom";
4436
+ version: string;
4437
+ }>;
4438
+ system: null | string;
4439
+ tools: Array<{
4440
+ configs: Array<{
4441
+ enabled: boolean;
4442
+ name: "bash";
4443
+ permission_policy: {
4444
+ type: "always_allow";
4445
+ } | {
4446
+ type: "always_ask";
4447
+ } | {
4448
+ type: "auto";
4449
+ };
4450
+ type: "bash";
4451
+ } | {
4452
+ enabled: boolean;
4453
+ name: "edit";
4454
+ permission_policy: {
4455
+ type: "always_allow";
4456
+ } | {
4457
+ type: "always_ask";
4458
+ } | {
4459
+ type: "auto";
4460
+ };
4461
+ type: "edit";
4462
+ } | {
4463
+ enabled: boolean;
4464
+ name: "read";
4465
+ permission_policy: {
4466
+ type: "always_allow";
4467
+ } | {
4468
+ type: "always_ask";
4469
+ } | {
4470
+ type: "auto";
4471
+ };
4472
+ type: "read";
4473
+ } | {
4474
+ enabled: boolean;
4475
+ name: "write";
4476
+ permission_policy: {
4477
+ type: "always_allow";
4478
+ } | {
4479
+ type: "always_ask";
4480
+ } | {
4481
+ type: "auto";
4482
+ };
4483
+ type: "write";
4484
+ } | {
4485
+ enabled: boolean;
4486
+ name: "glob";
4487
+ permission_policy: {
4488
+ type: "always_allow";
4489
+ } | {
4490
+ type: "always_ask";
4491
+ } | {
4492
+ type: "auto";
4493
+ };
4494
+ type: "glob";
4495
+ } | {
4496
+ enabled: boolean;
4497
+ name: "grep";
4498
+ permission_policy: {
4499
+ type: "always_allow";
4500
+ } | {
4501
+ type: "always_ask";
4502
+ } | {
4503
+ type: "auto";
4504
+ };
4505
+ type: "grep";
4506
+ } | {
4507
+ enabled: boolean;
4508
+ name: "web_fetch";
4509
+ permission_policy: {
4510
+ type: "always_allow";
4511
+ } | {
4512
+ type: "always_ask";
4513
+ } | {
4514
+ type: "auto";
4515
+ };
4516
+ type: "web_fetch";
4517
+ allowed_domains?: Array<string>;
4518
+ blocked_domains?: Array<string>;
4519
+ max_content_tokens?: null | number;
4520
+ } | {
4521
+ enabled: boolean;
4522
+ name: "web_search";
4523
+ permission_policy: {
4524
+ type: "always_allow";
4525
+ } | {
4526
+ type: "always_ask";
4527
+ } | {
4528
+ type: "auto";
4529
+ };
4530
+ type: "web_search";
4531
+ allowed_domains?: Array<string>;
4532
+ blocked_domains?: Array<string>;
4533
+ user_location?: null | {
4534
+ type: "approximate";
4535
+ city?: null | string;
4536
+ country?: null | string;
4537
+ region?: null | string;
4538
+ timezone?: null | string;
4539
+ };
4540
+ } | {
4541
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4542
+ enabled: boolean;
4543
+ permission_policy: {
4544
+ type: "always_allow" | "always_ask";
4545
+ };
4546
+ }>;
4547
+ default_config: {
4548
+ enabled: boolean;
4549
+ permission_policy: {
4550
+ type: "always_allow";
4551
+ } | {
4552
+ type: "always_ask";
4553
+ } | {
4554
+ type: "auto";
4555
+ };
4556
+ };
4557
+ type: "agent_toolset_20260401";
4558
+ } | {
4559
+ type: "mcp_toolset";
4560
+ mcp_server_name: string;
4561
+ default_config?: {
4562
+ enabled?: boolean | null;
4563
+ permission_policy?: null | {
4564
+ type: "always_allow" | "always_ask";
4565
+ };
4566
+ } | null;
4567
+ configs?: Array<{
4568
+ name: string;
4569
+ enabled?: boolean | null;
4570
+ permission_policy?: null | {
4571
+ type: "always_allow" | "always_ask";
4572
+ };
4573
+ }> | null;
4574
+ } | {
4575
+ description: string;
4576
+ input_schema: {
4577
+ type: "object";
4578
+ properties?: null | {
4579
+ [key: string]: unknown;
4580
+ };
4581
+ required?: null | Array<string>;
4582
+ [key: string]: unknown;
4583
+ };
4584
+ name: string;
4585
+ type: "custom";
4586
+ }>;
4587
+ type: "agent";
4588
+ version: number;
4589
+ }>;
4590
+ type: "coordinator";
4591
+ };
4592
+ name: string;
4593
+ skills: Array<{
4594
+ skill_id: string;
4595
+ type: "anthropic";
4596
+ version: string;
4597
+ } | {
4598
+ skill_id: string;
4599
+ type: "custom";
4600
+ version: string;
4601
+ }>;
4602
+ system: null | string;
4603
+ tools: Array<{
4604
+ configs: Array<{
4605
+ enabled: boolean;
4606
+ name: "bash";
4607
+ permission_policy: {
4608
+ type: "always_allow";
4609
+ } | {
4610
+ type: "always_ask";
4611
+ } | {
4612
+ type: "auto";
4613
+ };
4614
+ type: "bash";
4615
+ } | {
4616
+ enabled: boolean;
4617
+ name: "edit";
4618
+ permission_policy: {
4619
+ type: "always_allow";
4620
+ } | {
4621
+ type: "always_ask";
4622
+ } | {
4623
+ type: "auto";
4624
+ };
4625
+ type: "edit";
4626
+ } | {
4627
+ enabled: boolean;
4628
+ name: "read";
4629
+ permission_policy: {
4630
+ type: "always_allow";
4631
+ } | {
4632
+ type: "always_ask";
4633
+ } | {
4634
+ type: "auto";
4635
+ };
4636
+ type: "read";
4637
+ } | {
4638
+ enabled: boolean;
4639
+ name: "write";
4640
+ permission_policy: {
4641
+ type: "always_allow";
4642
+ } | {
4643
+ type: "always_ask";
4644
+ } | {
4645
+ type: "auto";
4646
+ };
4647
+ type: "write";
4648
+ } | {
4649
+ enabled: boolean;
4650
+ name: "glob";
4651
+ permission_policy: {
4652
+ type: "always_allow";
4653
+ } | {
4654
+ type: "always_ask";
4655
+ } | {
4656
+ type: "auto";
4657
+ };
4658
+ type: "glob";
4659
+ } | {
4660
+ enabled: boolean;
4661
+ name: "grep";
4662
+ permission_policy: {
4663
+ type: "always_allow";
4664
+ } | {
4665
+ type: "always_ask";
4666
+ } | {
4667
+ type: "auto";
4668
+ };
4669
+ type: "grep";
4670
+ } | {
4671
+ enabled: boolean;
4672
+ name: "web_fetch";
4673
+ permission_policy: {
4674
+ type: "always_allow";
4675
+ } | {
4676
+ type: "always_ask";
4677
+ } | {
4678
+ type: "auto";
4679
+ };
4680
+ type: "web_fetch";
4681
+ allowed_domains?: Array<string>;
4682
+ blocked_domains?: Array<string>;
4683
+ max_content_tokens?: null | number;
4684
+ } | {
4685
+ enabled: boolean;
4686
+ name: "web_search";
4687
+ permission_policy: {
4688
+ type: "always_allow";
4689
+ } | {
4690
+ type: "always_ask";
4691
+ } | {
4692
+ type: "auto";
4693
+ };
4694
+ type: "web_search";
4695
+ allowed_domains?: Array<string>;
4696
+ blocked_domains?: Array<string>;
4697
+ user_location?: null | {
4698
+ type: "approximate";
4699
+ city?: null | string;
4700
+ country?: null | string;
4701
+ region?: null | string;
4702
+ timezone?: null | string;
4703
+ };
4704
+ } | {
4705
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4706
+ enabled: boolean;
4707
+ permission_policy: {
4708
+ type: "always_allow" | "always_ask";
4709
+ };
4710
+ }>;
4711
+ default_config: {
4712
+ enabled: boolean;
4713
+ permission_policy: {
4714
+ type: "always_allow";
4715
+ } | {
4716
+ type: "always_ask";
4717
+ } | {
4718
+ type: "auto";
4719
+ };
4720
+ };
4721
+ type: "agent_toolset_20260401";
4722
+ } | {
4723
+ type: "mcp_toolset";
4724
+ mcp_server_name: string;
4725
+ default_config?: {
4726
+ enabled?: boolean | null;
4727
+ permission_policy?: null | {
4728
+ type: "always_allow" | "always_ask";
4729
+ };
4730
+ } | null;
4731
+ configs?: Array<{
4732
+ name: string;
4733
+ enabled?: boolean | null;
4734
+ permission_policy?: null | {
4735
+ type: "always_allow" | "always_ask";
4736
+ };
4737
+ }> | null;
4738
+ } | {
4739
+ description: string;
4740
+ input_schema: {
4741
+ type: "object";
4742
+ properties?: null | {
4743
+ [key: string]: unknown;
4744
+ };
4745
+ required?: null | Array<string>;
4746
+ [key: string]: unknown;
4747
+ };
4748
+ name: string;
4749
+ type: "custom";
4750
+ }>;
4751
+ type: "agent";
4752
+ version: number;
4753
+ };
4754
+ archived_at: null | string;
4755
+ budget: null | {
4756
+ max_list_cost: {
4757
+ amount: string;
4758
+ currency: "USD";
4759
+ };
4760
+ type: "limit";
4761
+ };
4762
+ created_at: string;
4763
+ environment_id?: string;
4764
+ metadata: {
4765
+ [key: string]: string;
4766
+ };
4767
+ outcome_evaluations: Array<{
4768
+ completed_at: null | string;
4769
+ description: string;
4770
+ explanation: null | string;
4771
+ iteration: number;
4772
+ outcome_id: string;
4773
+ result: string;
4774
+ type: "outcome_evaluation";
4775
+ }>;
4776
+ resources: Array<{
4777
+ id: string;
4778
+ created_at: string;
4779
+ mount_path: string;
4780
+ type: "github_repository";
4781
+ updated_at: string;
4782
+ url: string;
4783
+ checkout?: null | {
4784
+ name: string;
4785
+ type: "branch";
4786
+ } | {
4787
+ sha: string;
4788
+ type: "commit";
4789
+ };
4790
+ } | {
4791
+ id: string;
4792
+ created_at: string;
4793
+ file_id: string;
4794
+ mount_path: string;
4795
+ type: "file";
4796
+ updated_at: string;
4797
+ } | {
4798
+ memory_store_id: string;
4799
+ type: "memory_store";
4800
+ access?: null | "read_write" | "read_only";
4801
+ description?: string;
4802
+ instructions?: null | string;
4803
+ mount_path?: null | string;
4804
+ name?: null | string;
4805
+ }>;
4806
+ stats: {
4807
+ active_seconds?: number;
4808
+ duration_seconds?: number;
4809
+ };
4810
+ status: "rescheduling" | "running" | "idle" | "terminated";
4811
+ title: null | string;
4812
+ type: "session";
4813
+ updated_at: string;
4814
+ usage: {
4815
+ active_seconds?: number;
4816
+ cache_creation?: {
4817
+ ephemeral_1h_input_tokens?: number;
4818
+ ephemeral_5m_input_tokens?: number;
4819
+ };
4820
+ cache_read_input_tokens?: number;
4821
+ input_tokens?: number;
4822
+ list_cost?: null | {
4823
+ amount: string;
4824
+ currency: "USD";
4825
+ };
4826
+ output_tokens?: number;
4827
+ server_tool_use?: null | {
4828
+ web_fetch_requests?: number;
4829
+ web_search_requests?: number;
4830
+ };
4831
+ cost_by_product?: {
4832
+ [key: string]: string;
4833
+ };
4834
+ subagent_cost_micro_usd?: number;
4835
+ };
4836
+ vault_ids: Array<string>;
4837
+ deployment_id?: null | string;
4838
+ cwd: string;
4839
+ workspace?: {
4840
+ kind: "shared" | "isolated";
4841
+ path?: string;
4842
+ branch?: string;
4843
+ };
4844
+ computer_id?: string;
4845
+ model?: {
4846
+ id: string;
4847
+ thinking: {
4848
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4849
+ can_disable: boolean;
4850
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4851
+ } | null;
4852
+ };
4853
+ thinking?: {
4854
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4855
+ } | null;
4856
+ forked_from?: {
4857
+ session_id: string;
4858
+ message_id: string;
4859
+ } | null;
4860
+ readonly external_user_id: string | null;
4861
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4862
+ }>;
4863
+ };
4864
+ requests: {
4865
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4866
+ data: Array<{
4867
+ id: string;
4868
+ object: "request";
4869
+ kind: "question" | "approval";
4870
+ status: "pending";
4871
+ tool_name: string;
4872
+ input: unknown;
4873
+ create_time: string;
4874
+ expire_time: string | null;
4875
+ }>;
4876
+ }>;
4877
+ };
3187
4878
  resources: {
3188
4879
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3189
4880
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3214,6 +4905,7 @@ export declare function createAgent(transport: Transport): {
3214
4905
  speed?: "standard" | "fast";
3215
4906
  settings?: {
3216
4907
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4908
+ max_output_tokens?: number;
3217
4909
  };
3218
4910
  };
3219
4911
  multiagent: null | Types.AgentManaged171;
@@ -3240,6 +4932,11 @@ export declare function createAgent(transport: Transport): {
3240
4932
  vault_ids: Array<string>;
3241
4933
  deployment_id?: null | string;
3242
4934
  cwd: string;
4935
+ workspace?: {
4936
+ kind: "shared" | "isolated";
4937
+ path?: string;
4938
+ branch?: string;
4939
+ };
3243
4940
  computer_id?: string;
3244
4941
  model?: {
3245
4942
  id: string;
@@ -3386,7 +5083,6 @@ export declare function createAgent(transport: Transport): {
3386
5083
  run_id: string | null;
3387
5084
  message_id?: string;
3388
5085
  } | {
3389
- full_access_available?: boolean;
3390
5086
  id: string;
3391
5087
  input: Types.AgentManaged197;
3392
5088
  mcp_server_name: string;
@@ -3396,6 +5092,18 @@ export declare function createAgent(transport: Transport): {
3396
5092
  evaluated_permission?: "allow" | "deny" | "ask";
3397
5093
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3398
5094
  session_thread_id?: null | string;
5095
+ permission_suggestions?: Array<{
5096
+ type: "add_rules";
5097
+ behavior: "allow";
5098
+ destination: "agent" | "session";
5099
+ rules: Array<{
5100
+ tool_name: string;
5101
+ rule_content: string;
5102
+ }>;
5103
+ }>;
5104
+ full_access_available?: boolean;
5105
+ user_once?: true;
5106
+ guarded_rule?: string;
3399
5107
  run_id: string | null;
3400
5108
  parent_tool_use_id?: string;
3401
5109
  _meta?: {
@@ -3409,17 +5117,6 @@ export declare function createAgent(transport: Transport): {
3409
5117
  };
3410
5118
  };
3411
5119
  source?: "app" | "codemode";
3412
- user_once?: true;
3413
- guarded_rule?: string;
3414
- permission_suggestions?: Array<{
3415
- type: "add_rules";
3416
- behavior: "allow";
3417
- destination: "agent" | "session";
3418
- rules: Array<{
3419
- tool_name: string;
3420
- rule_content: string;
3421
- }>;
3422
- }>;
3423
5120
  title?: string;
3424
5121
  input_titles?: {
3425
5122
  [key: string]: string;
@@ -3438,7 +5135,6 @@ export declare function createAgent(transport: Transport): {
3438
5135
  };
3439
5136
  source?: "app" | "codemode";
3440
5137
  } | {
3441
- full_access_available?: boolean;
3442
5138
  id: string;
3443
5139
  input: Types.AgentManaged206;
3444
5140
  name: string;
@@ -3447,9 +5143,6 @@ export declare function createAgent(transport: Transport): {
3447
5143
  evaluated_permission?: "allow" | "deny" | "ask";
3448
5144
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3449
5145
  session_thread_id?: null | string;
3450
- run_id: string | null;
3451
- user_once?: true;
3452
- guarded_rule?: string;
3453
5146
  permission_suggestions?: Array<{
3454
5147
  type: "add_rules";
3455
5148
  behavior: "allow";
@@ -3459,6 +5152,10 @@ export declare function createAgent(transport: Transport): {
3459
5152
  rule_content: string;
3460
5153
  }>;
3461
5154
  }>;
5155
+ full_access_available?: boolean;
5156
+ user_once?: true;
5157
+ guarded_rule?: string;
5158
+ run_id: string | null;
3462
5159
  } | {
3463
5160
  id: string;
3464
5161
  processed_at: string;
@@ -3479,9 +5176,6 @@ export declare function createAgent(transport: Transport): {
3479
5176
  type: "session.status_idle";
3480
5177
  run_id: string | null;
3481
5178
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3482
- permission_mode_version?: number;
3483
- previous_permission_mode?: string | null;
3484
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3485
5179
  id: string;
3486
5180
  processed_at: string;
3487
5181
  type: "session.updated";
@@ -3489,6 +5183,9 @@ export declare function createAgent(transport: Transport): {
3489
5183
  budget?: null | Types.AgentManaged76;
3490
5184
  metadata?: Types.AgentManaged246;
3491
5185
  title?: null | string;
5186
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5187
+ previous_permission_mode?: string | null;
5188
+ permission_mode_version?: number;
3492
5189
  model?: {
3493
5190
  id: string;
3494
5191
  };
@@ -3579,6 +5276,7 @@ export declare function createAgent(transport: Transport): {
3579
5276
  speed?: "standard" | "fast";
3580
5277
  settings?: {
3581
5278
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5279
+ max_output_tokens?: number;
3582
5280
  };
3583
5281
  };
3584
5282
  multiagent: null | Types.AgentManaged171;
@@ -3605,6 +5303,11 @@ export declare function createAgent(transport: Transport): {
3605
5303
  vault_ids: Array<string>;
3606
5304
  deployment_id?: null | string;
3607
5305
  cwd: string;
5306
+ workspace?: {
5307
+ kind: "shared" | "isolated";
5308
+ path?: string;
5309
+ branch?: string;
5310
+ };
3608
5311
  computer_id?: string;
3609
5312
  model?: {
3610
5313
  id: string;
@@ -3669,6 +5372,29 @@ export declare function createAgent(transport: Transport): {
3669
5372
  next_page: null;
3670
5373
  }>;
3671
5374
  };
5375
+ uploads: {
5376
+ contentUrl: {
5377
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5378
+ url: string;
5379
+ expires_at: string;
5380
+ }>;
5381
+ };
5382
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5383
+ upload_id: string;
5384
+ expires_at: string;
5385
+ url: string;
5386
+ } | {
5387
+ upload_id: string;
5388
+ expires_at: string;
5389
+ part_size: number;
5390
+ parts: Array<{
5391
+ part_number: number;
5392
+ url: string;
5393
+ }>;
5394
+ complete_url: string;
5395
+ status_url: string;
5396
+ }>;
5397
+ };
3672
5398
  };
3673
5399
  export declare function createApplication(transport: Transport): {
3674
5400
  assets: {
@@ -3933,6 +5659,11 @@ export declare function createAutomation(transport: Transport): {
3933
5659
  };
3934
5660
  };
3935
5661
  };
5662
+ export declare function createBilling(transport: Transport): {
5663
+ prices: {
5664
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5665
+ };
5666
+ };
3936
5667
  export declare function createBrowser(transport: Transport): {
3937
5668
  connect: {
3938
5669
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3956,6 +5687,49 @@ export declare function createBrowser(transport: Transport): {
3956
5687
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3957
5688
  };
3958
5689
  sessions: {
5690
+ actions: {
5691
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5692
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5693
+ tab: string;
5694
+ url: string;
5695
+ title: string;
5696
+ } | {
5697
+ type: "select";
5698
+ tab: string;
5699
+ values: Array<string>;
5700
+ } | {
5701
+ type: "tabs.list";
5702
+ tabs: Array<{
5703
+ id: string;
5704
+ url: string;
5705
+ title: string;
5706
+ active: boolean;
5707
+ }>;
5708
+ } | {
5709
+ type: "snapshot";
5710
+ tab: string;
5711
+ url: string;
5712
+ title: string;
5713
+ snapshot: string;
5714
+ refs: number;
5715
+ truncated: boolean;
5716
+ } | {
5717
+ type: "screenshot";
5718
+ tab: string;
5719
+ mediaType: "image/png";
5720
+ data: string;
5721
+ bytes: number;
5722
+ } | {
5723
+ type: "evaluate";
5724
+ tab: string;
5725
+ value: unknown;
5726
+ } | {
5727
+ type: "set_cookie";
5728
+ tab: string;
5729
+ name: string;
5730
+ domain: string;
5731
+ }>;
5732
+ };
3959
5733
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3960
5734
  events: {
3961
5735
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3963,6 +5737,7 @@ export declare function createBrowser(transport: Transport): {
3963
5737
  nextCursor: string | null;
3964
5738
  }>;
3965
5739
  };
5740
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3966
5741
  handoff: {
3967
5742
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3968
5743
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3973,6 +5748,7 @@ export declare function createBrowser(transport: Transport): {
3973
5748
  }>;
3974
5749
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3975
5750
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5751
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3976
5752
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3977
5753
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3978
5754
  viewer: {
@@ -4009,6 +5785,24 @@ export declare function createCanvas(transport: Transport): {
4009
5785
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4010
5786
  };
4011
5787
  };
5788
+ export declare function createContent(transport: Transport): {
5789
+ contents: {
5790
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5791
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5792
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5793
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5794
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5795
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5796
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5797
+ };
5798
+ playbackSessions: {
5799
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5800
+ };
5801
+ versions: {
5802
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5803
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5804
+ };
5805
+ };
4012
5806
  export declare function createCrm(transport: Transport): {
4013
5807
  associations: {
4014
5808
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4069,6 +5863,32 @@ export declare function createCrm(transport: Transport): {
4069
5863
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4070
5864
  };
4071
5865
  };
5866
+ export declare function createCustomer(transport: Transport): {
5867
+ accessTokens: {
5868
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5869
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5870
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5871
+ };
5872
+ customers: {
5873
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5874
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5875
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5876
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5877
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5878
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5879
+ };
5880
+ grantCodes: {
5881
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5882
+ };
5883
+ publishableKeys: {
5884
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5885
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5886
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5887
+ };
5888
+ usage: {
5889
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5890
+ };
5891
+ };
4072
5892
  export declare function createCut(transport: Transport): {
4073
5893
  exports: {
4074
5894
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4076,7 +5896,9 @@ export declare function createCut(transport: Transport): {
4076
5896
  };
4077
5897
  projects: {
4078
5898
  analysis: {
4079
- create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
5899
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5900
+ kind: "cut-AnalysisResult";
5901
+ } & Types.CutAnalysisResult>;
4080
5902
  };
4081
5903
  bindings: {
4082
5904
  create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
@@ -4097,6 +5919,9 @@ export declare function createCut(transport: Transport): {
4097
5919
  media: {
4098
5920
  import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
4099
5921
  };
5922
+ renders: {
5923
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5924
+ };
4100
5925
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
4101
5926
  retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
4102
5927
  retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
@@ -4107,6 +5932,9 @@ export declare function createCut(transport: Transport): {
4107
5932
  list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
4108
5933
  };
4109
5934
  };
5935
+ renders: {
5936
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5937
+ };
4110
5938
  versions: {
4111
5939
  restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
4112
5940
  };
@@ -4156,6 +5984,195 @@ export declare function createDatabase(transport: Transport): {
4156
5984
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4157
5985
  };
4158
5986
  };
5987
+ export declare function createDevops(transport: Transport): {
5988
+ changes: {
5989
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5990
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
5991
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5992
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
5993
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
5994
+ };
5995
+ connections: {
5996
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5997
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5998
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5999
+ repositories: {
6000
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6001
+ };
6002
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6003
+ };
6004
+ environments: {
6005
+ checkpoints: {
6006
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
6007
+ };
6008
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6009
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
6010
+ };
6011
+ flags: {
6012
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
6013
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
6014
+ environments: {
6015
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
6016
+ };
6017
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
6018
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
6019
+ };
6020
+ progressiveRollouts: {
6021
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6022
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6023
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6024
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6025
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6026
+ };
6027
+ projects: {
6028
+ changes: {
6029
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6030
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6031
+ };
6032
+ cleanups: {
6033
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6034
+ };
6035
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6036
+ defaultBranch: {
6037
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6038
+ };
6039
+ environments: {
6040
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6041
+ targets: {
6042
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6043
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6044
+ state: {
6045
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6046
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6047
+ lock: {
6048
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6049
+ };
6050
+ };
6051
+ };
6052
+ };
6053
+ flags: {
6054
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6055
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6056
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6057
+ };
6058
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6059
+ promotions: {
6060
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6061
+ };
6062
+ pullRequests: {
6063
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6064
+ };
6065
+ releases: {
6066
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6067
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6068
+ };
6069
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6070
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6071
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6072
+ segments: {
6073
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6074
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6075
+ };
6076
+ targets: {
6077
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6078
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6079
+ };
6080
+ testCases: {
6081
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6082
+ };
6083
+ testPlans: {
6084
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6085
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6086
+ };
6087
+ testReports: {
6088
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6089
+ };
6090
+ testRuns: {
6091
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6092
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6093
+ };
6094
+ testSuites: {
6095
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6096
+ };
6097
+ units: {
6098
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6099
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6100
+ };
6101
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6102
+ workspaces: {
6103
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6104
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6105
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6106
+ };
6107
+ };
6108
+ promotions: {
6109
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6110
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6111
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
6112
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6113
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6114
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6115
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6116
+ rollouts: {
6117
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6118
+ };
6119
+ };
6120
+ pullRequests: {
6121
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6122
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6123
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6124
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6125
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6126
+ reviews: {
6127
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6128
+ };
6129
+ };
6130
+ releases: {
6131
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6132
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6133
+ };
6134
+ rollouts: {
6135
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6136
+ };
6137
+ segments: {
6138
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6139
+ };
6140
+ testCases: {
6141
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6142
+ };
6143
+ testPlans: {
6144
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6145
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6146
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6147
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6148
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6149
+ };
6150
+ testRuns: {
6151
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6152
+ executions: {
6153
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6154
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6155
+ };
6156
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6157
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6158
+ };
6159
+ testSuites: {
6160
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6161
+ };
6162
+ units: {
6163
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6164
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6165
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6166
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6167
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6168
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6169
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6170
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6171
+ transitions: {
6172
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6173
+ };
6174
+ };
6175
+ };
4159
6176
  export declare function createFile(transport: Transport): {
4160
6177
  files: {
4161
6178
  contentLinks: {
@@ -4183,6 +6200,7 @@ export declare function createFile(transport: Transport): {
4183
6200
  parts: {
4184
6201
  create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4185
6202
  };
6203
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4186
6204
  };
4187
6205
  };
4188
6206
  export declare function createKnowledge(transport: Transport): {
@@ -4230,19 +6248,33 @@ export declare function createKnowledge(transport: Transport): {
4230
6248
  };
4231
6249
  };
4232
6250
  export declare function createMedia(transport: Transport): {
6251
+ assets: {
6252
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6253
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6254
+ };
4233
6255
  generation: {
4234
6256
  capabilities: {
4235
6257
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
4236
6258
  };
4237
6259
  };
6260
+ images: {
6261
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6262
+ };
4238
6263
  libraries: {
4239
6264
  assets: {
6265
+ align: {
6266
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6267
+ };
4240
6268
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4241
6269
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4242
6270
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4243
6271
  frames: {
4244
6272
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4245
6273
  };
6274
+ hls: {
6275
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6276
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6277
+ };
4246
6278
  import: {
4247
6279
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4248
6280
  };
@@ -4255,6 +6287,9 @@ export declare function createMedia(transport: Transport): {
4255
6287
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4256
6288
  };
4257
6289
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6290
+ versions: {
6291
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6292
+ };
4258
6293
  };
4259
6294
  batches: {
4260
6295
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4271,25 +6306,23 @@ export declare function createMedia(transport: Transport): {
4271
6306
  folders: {
4272
6307
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4273
6308
  };
4274
- generations: {
4275
- create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
4276
- };
4277
6309
  jobs: {
4278
6310
  cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
4279
6311
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4280
- outputs: {
4281
- save: {
4282
- create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
4283
- };
4284
- };
4285
6312
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4286
6313
  };
4287
6314
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6315
+ materials: {
6316
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6317
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6318
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6319
+ };
4288
6320
  purge: {
4289
6321
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4290
6322
  };
4291
6323
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4292
6324
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6325
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4293
6326
  search: {
4294
6327
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4295
6328
  expression: {
@@ -4302,11 +6335,24 @@ export declare function createMedia(transport: Transport): {
4302
6335
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4303
6336
  };
4304
6337
  };
6338
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
4305
6339
  understandings: {
4306
6340
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4307
6341
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4308
6342
  };
4309
6343
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6344
+ voices: {
6345
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6346
+ designs: {
6347
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6348
+ };
6349
+ };
6350
+ };
6351
+ speech: {
6352
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6353
+ };
6354
+ videos: {
6355
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4310
6356
  };
4311
6357
  };
4312
6358
  export declare function createMeta(transport: Transport): {
@@ -4507,7 +6553,35 @@ export declare function createModel(transport: Transport): {
4507
6553
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4508
6554
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4509
6555
  };
6556
+ modelAccess: {
6557
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6558
+ items: Array<{
6559
+ model: string;
6560
+ access_required: boolean;
6561
+ granted: boolean;
6562
+ granted_by: string | null;
6563
+ granted_at: string | null;
6564
+ sell_input_price: number | null;
6565
+ sell_output_price: number | null;
6566
+ }>;
6567
+ }>;
6568
+ };
4510
6569
  models: {
6570
+ access: {
6571
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6572
+ model: string;
6573
+ revoked: true;
6574
+ }>;
6575
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6576
+ model: string;
6577
+ access_required: boolean;
6578
+ granted: true;
6579
+ granted_by: string;
6580
+ granted_at: string;
6581
+ sell_input_price: number | null;
6582
+ sell_output_price: number | null;
6583
+ }>;
6584
+ };
4511
6585
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4512
6586
  object: "list";
4513
6587
  data: Array<{
@@ -4522,6 +6596,7 @@ export declare function createModel(transport: Transport): {
4522
6596
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4523
6597
  supported_apis: Array<string>;
4524
6598
  tags: Array<string>;
6599
+ access_required: boolean;
4525
6600
  architecture: {
4526
6601
  modality: string;
4527
6602
  input_modalities: Array<string>;
@@ -4568,6 +6643,7 @@ export declare function createModel(transport: Transport): {
4568
6643
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4569
6644
  supported_apis: Array<string>;
4570
6645
  tags: Array<string>;
6646
+ access_required: boolean;
4571
6647
  architecture: {
4572
6648
  modality: string;
4573
6649
  input_modalities: Array<string>;
@@ -4794,6 +6870,7 @@ export declare function createModel(transport: Transport): {
4794
6870
  unsigned_urls: Array<string>;
4795
6871
  usage?: {
4796
6872
  cost: number;
6873
+ billed_seconds?: number;
4797
6874
  };
4798
6875
  }>;
4799
6876
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4824,6 +6901,7 @@ export declare function createModel(transport: Transport): {
4824
6901
  unsigned_urls: Array<string>;
4825
6902
  usage?: {
4826
6903
  cost: number;
6904
+ billed_seconds?: number;
4827
6905
  };
4828
6906
  }>;
4829
6907
  has_more: boolean;
@@ -4852,11 +6930,43 @@ export declare function createModel(transport: Transport): {
4852
6930
  unsigned_urls: Array<string>;
4853
6931
  usage?: {
4854
6932
  cost: number;
6933
+ billed_seconds?: number;
4855
6934
  };
4856
6935
  }>;
4857
6936
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
4858
6937
  };
4859
6938
  };
6939
+ export declare function createOntology(transport: Transport): {
6940
+ changesets: {
6941
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
6942
+ };
6943
+ nodes: {
6944
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
6945
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
6946
+ merge: {
6947
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
6948
+ };
6949
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6950
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
6951
+ update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
6952
+ };
6953
+ relations: {
6954
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
6955
+ invalidate: {
6956
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
6957
+ };
6958
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
6959
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
6960
+ };
6961
+ search: {
6962
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
6963
+ };
6964
+ types: {
6965
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
6966
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
6967
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
6968
+ };
6969
+ };
4860
6970
  export declare function createOrganization(transport: Transport): {
4861
6971
  charges: {
4862
6972
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
@@ -5137,8 +7247,163 @@ export declare function createOrganization(transport: Transport): {
5137
7247
  }>;
5138
7248
  };
5139
7249
  };
7250
+ export declare function createRegistry(transport: Transport): {
7251
+ installations: {
7252
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7253
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7254
+ };
7255
+ packages: {
7256
+ git: {
7257
+ commits: {
7258
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7259
+ };
7260
+ files: {
7261
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7262
+ };
7263
+ refs: {
7264
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7265
+ };
7266
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7267
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7268
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7269
+ trees: {
7270
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7271
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7272
+ };
7273
+ };
7274
+ gitCredential: {
7275
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7276
+ };
7277
+ installations: {
7278
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7279
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7280
+ };
7281
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7282
+ versions: {
7283
+ contents: {
7284
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7285
+ };
7286
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7287
+ files: {
7288
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7289
+ };
7290
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7291
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7292
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7293
+ };
7294
+ };
7295
+ repositories: {
7296
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7297
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7298
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7299
+ packages: {
7300
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7301
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7302
+ };
7303
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7304
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7305
+ };
7306
+ };
5140
7307
  export declare function createSandbox(transport: Transport): {
7308
+ byod: {
7309
+ devices: {
7310
+ disconnect: {
7311
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7312
+ id: string;
7313
+ object: "byod_device";
7314
+ disconnected: true;
7315
+ }>;
7316
+ };
7317
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7318
+ data: Array<{
7319
+ object: "byod_device";
7320
+ id: string;
7321
+ platform: "android" | "macos" | "linux";
7322
+ name: string;
7323
+ model: string;
7324
+ os_version: string;
7325
+ online: boolean;
7326
+ last_seen_at: string | null;
7327
+ created_at: string;
7328
+ capabilities: Array<"display" | "agent">;
7329
+ agent_dirs: Array<string>;
7330
+ allow_bypass: boolean;
7331
+ }>;
7332
+ }>;
7333
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7334
+ object: "byod_device";
7335
+ id: string;
7336
+ platform: "android" | "macos" | "linux";
7337
+ name: string;
7338
+ model: string;
7339
+ os_version: string;
7340
+ online: boolean;
7341
+ last_seen_at: string | null;
7342
+ created_at: string;
7343
+ capabilities: Array<"display" | "agent">;
7344
+ agent_dirs: Array<string>;
7345
+ allow_bypass: boolean;
7346
+ }>;
7347
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7348
+ object: "byod_device";
7349
+ id: string;
7350
+ platform: "android" | "macos" | "linux";
7351
+ name: string;
7352
+ model: string;
7353
+ os_version: string;
7354
+ online: boolean;
7355
+ last_seen_at: string | null;
7356
+ created_at: string;
7357
+ capabilities: Array<"display" | "agent">;
7358
+ agent_dirs: Array<string>;
7359
+ allow_bypass: boolean;
7360
+ }>;
7361
+ };
7362
+ pairings: {
7363
+ claim: {
7364
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7365
+ device_id: string;
7366
+ credential: string;
7367
+ socket_url: string;
7368
+ }>;
7369
+ };
7370
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7371
+ code: string;
7372
+ expires_at: string;
7373
+ qr: string;
7374
+ }>;
7375
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7376
+ organization_name: string;
7377
+ expires_at: string;
7378
+ }>;
7379
+ };
7380
+ };
7381
+ events: {
7382
+ sandboxes: {
7383
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7384
+ };
7385
+ };
5141
7386
  sandboxes: {
7387
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7388
+ type: "snapshot";
7389
+ snapshot: string;
7390
+ refs: number;
7391
+ truncated: boolean;
7392
+ package: string;
7393
+ } | {
7394
+ type: "screenshot";
7395
+ mediaType: string;
7396
+ data: string;
7397
+ width: number;
7398
+ height: number;
7399
+ bytes: number;
7400
+ } | {
7401
+ type: "ok";
7402
+ ms?: number;
7403
+ } | {
7404
+ type: "wait";
7405
+ ms: number;
7406
+ }>;
5142
7407
  commands: {
5143
7408
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5144
7409
  stdout: string;
@@ -5216,6 +7481,20 @@ export declare function createSandbox(transport: Transport): {
5216
7481
  snapshots: {
5217
7482
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5218
7483
  };
7484
+ tasks: {
7485
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7486
+ taskId: string;
7487
+ instanceId: string;
7488
+ startedAt: number;
7489
+ }>;
7490
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7491
+ text: string;
7492
+ nextOffset: number;
7493
+ done: boolean;
7494
+ exitCode: number | null;
7495
+ size: number | null;
7496
+ }>;
7497
+ };
5219
7498
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5220
7499
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5221
7500
  name: string;
@@ -5354,6 +7633,131 @@ export declare function createSearch(transport: Transport): {
5354
7633
  }>;
5355
7634
  };
5356
7635
  };
7636
+ export declare function createShare(transport: Transport): {
7637
+ permissions: {
7638
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7639
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7640
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7641
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7642
+ };
7643
+ };
7644
+ export declare function createStudio(transport: Transport): {
7645
+ codexes: {
7646
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7647
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7648
+ entries: {
7649
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7650
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7651
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7652
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7653
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7654
+ };
7655
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7656
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7657
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7658
+ };
7659
+ genres: {
7660
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7661
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7662
+ };
7663
+ platforms: {
7664
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7665
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7666
+ };
7667
+ styles: {
7668
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7669
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7670
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7671
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7672
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7673
+ };
7674
+ templates: {
7675
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7676
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7677
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7678
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7679
+ };
7680
+ themes: {
7681
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7682
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7683
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7684
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7685
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7686
+ };
7687
+ works: {
7688
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7689
+ drafts: {
7690
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7691
+ foreshadows: {
7692
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7693
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7694
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7695
+ };
7696
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7697
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7698
+ renditions: {
7699
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7700
+ };
7701
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7702
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7703
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7704
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7705
+ status: {
7706
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7707
+ };
7708
+ units: {
7709
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7710
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7711
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7712
+ };
7713
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7714
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7715
+ };
7716
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7717
+ progressions: {
7718
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7719
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7720
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7721
+ };
7722
+ renditions: {
7723
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7724
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7725
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7726
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7727
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7728
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7729
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7730
+ };
7731
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7732
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7733
+ reviewSettings: {
7734
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7735
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7736
+ };
7737
+ reviewers: {
7738
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7739
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7740
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7741
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7742
+ };
7743
+ reviews: {
7744
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7745
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7746
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7747
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7748
+ };
7749
+ units: {
7750
+ blocks: {
7751
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7752
+ };
7753
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7754
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7755
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7756
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7757
+ };
7758
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7759
+ };
7760
+ };
5357
7761
  export declare function createTicket(transport: Transport): {
5358
7762
  activity: {
5359
7763
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5398,6 +7802,7 @@ export declare function createTicket(transport: Transport): {
5398
7802
  repositories: Array<Types.TicketRepository>;
5399
7803
  next_page_token: string;
5400
7804
  }>;
7805
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5401
7806
  };
5402
7807
  tickets: {
5403
7808
  comments: {
@@ -5523,23 +7928,154 @@ export declare function createVault(transport: Transport): {
5523
7928
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
5524
7929
  };
5525
7930
  };
7931
+ export declare function createWorkforce(transport: Transport): {
7932
+ actors: {
7933
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
7934
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
7935
+ };
7936
+ assignments: {
7937
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
7938
+ makePrimary: {
7939
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7940
+ };
7941
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7942
+ terminate: {
7943
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7944
+ };
7945
+ transfer: {
7946
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7947
+ };
7948
+ };
7949
+ departments: {
7950
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7951
+ dissolve: {
7952
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7953
+ };
7954
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7955
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7956
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7957
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7958
+ };
7959
+ effectiveSpec: {
7960
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7961
+ };
7962
+ jobs: {
7963
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7964
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7965
+ retire: {
7966
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7967
+ };
7968
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7969
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7970
+ };
7971
+ keyResults: {
7972
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7973
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7974
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7975
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7976
+ };
7977
+ ladders: {
7978
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7979
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7980
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7981
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7982
+ };
7983
+ objectives: {
7984
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7985
+ grade: {
7986
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7987
+ };
7988
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7989
+ parents: {
7990
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7991
+ };
7992
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7993
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7994
+ };
7995
+ periods: {
7996
+ close: {
7997
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7998
+ };
7999
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8000
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8001
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8002
+ };
8003
+ positions: {
8004
+ close: {
8005
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8006
+ };
8007
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8008
+ designateHead: {
8009
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8010
+ };
8011
+ freeze: {
8012
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8013
+ };
8014
+ hire: {
8015
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8016
+ };
8017
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8018
+ replaceHolder: {
8019
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8020
+ };
8021
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8022
+ unfreeze: {
8023
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8024
+ };
8025
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8026
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8027
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8028
+ };
8029
+ reconcile: {
8030
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8031
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8032
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8033
+ run: {
8034
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8035
+ };
8036
+ status: {
8037
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8038
+ };
8039
+ };
8040
+ specSchema: {
8041
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8042
+ };
8043
+ specs: {
8044
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8045
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8046
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8047
+ revisions: {
8048
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8049
+ };
8050
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8051
+ };
8052
+ };
5526
8053
  export declare const resourceFactories: {
5527
8054
  agent: typeof createAgent;
5528
8055
  application: typeof createApplication;
5529
8056
  automation: typeof createAutomation;
8057
+ billing: typeof createBilling;
5530
8058
  browser: typeof createBrowser;
5531
8059
  canvas: typeof createCanvas;
8060
+ content: typeof createContent;
5532
8061
  crm: typeof createCrm;
8062
+ customer: typeof createCustomer;
5533
8063
  cut: typeof createCut;
5534
8064
  database: typeof createDatabase;
8065
+ devops: typeof createDevops;
5535
8066
  file: typeof createFile;
5536
8067
  knowledge: typeof createKnowledge;
5537
8068
  media: typeof createMedia;
5538
8069
  meta: typeof createMeta;
5539
8070
  model: typeof createModel;
8071
+ ontology: typeof createOntology;
5540
8072
  organization: typeof createOrganization;
8073
+ registry: typeof createRegistry;
5541
8074
  sandbox: typeof createSandbox;
5542
8075
  search: typeof createSearch;
8076
+ share: typeof createShare;
8077
+ studio: typeof createStudio;
5543
8078
  ticket: typeof createTicket;
5544
8079
  vault: typeof createVault;
8080
+ workforce: typeof createWorkforce;
5545
8081
  };