@deepraxis/sdk 0.1.1-dev.8b0bba1 → 0.1.1-dev.8bc4611

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.
@@ -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;
@@ -41,18 +42,18 @@ export declare function createAgent(transport: Transport): {
41
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
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" | "ticket" | "crm" | "canvas" | "cut";
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;
@@ -208,18 +227,25 @@ export declare function createAgent(transport: Transport): {
208
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
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" | "ticket" | "crm" | "canvas" | "cut";
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,275 @@ 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
+ id: string;
662
+ type: "user.tool_confirmation";
663
+ processed_at: string;
664
+ tool_use_id: string;
665
+ result: "allow";
666
+ answers: {
667
+ [key: string]: string;
668
+ };
669
+ annotations?: {
670
+ [key: string]: {
671
+ preview?: string;
672
+ notes?: string;
673
+ };
674
+ };
675
+ }>;
676
+ next_page: string | null;
677
+ }>;
678
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
679
+ data?: Array<{
680
+ id: string;
681
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
682
+ type: "user.message";
683
+ processed_at?: null | string;
684
+ praxis_context?: {
685
+ items: Array<{
686
+ name: string;
687
+ value: string;
688
+ }>;
689
+ };
690
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
691
+ id: string;
692
+ type: "user.steer";
693
+ event_id: string;
694
+ processed_at: string;
695
+ } | {
696
+ id: string;
697
+ type: "user.tool_confirmation";
698
+ processed_at: string;
699
+ tool_use_id: string;
700
+ result: "allow";
701
+ answers: {
702
+ [key: string]: string;
703
+ };
704
+ annotations?: {
705
+ [key: string]: {
706
+ preview?: string;
707
+ notes?: string;
708
+ };
709
+ };
710
+ }>;
711
+ }>;
712
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
713
+ };
714
+ inbox: {
715
+ letters: {
716
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
717
+ unread: number;
718
+ letters: Array<{
719
+ id: string;
720
+ sender: string;
721
+ summary: string;
722
+ thread: string | null;
723
+ create_time: string;
724
+ }>;
725
+ }>;
726
+ };
727
+ };
468
728
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
729
  data: Array<{
470
730
  id: string;
@@ -480,6 +740,7 @@ export declare function createAgent(transport: Transport): {
480
740
  speed?: "standard" | "fast";
481
741
  settings?: {
482
742
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
743
+ max_output_tokens?: number;
483
744
  };
484
745
  };
485
746
  multiagent?: null | Types.AgentManaged39;
@@ -504,18 +765,25 @@ export declare function createAgent(transport: Transport): {
504
765
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
505
766
  id: string;
506
767
  access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
507
769
  instructions?: string;
508
770
  readonly verified?: boolean;
509
771
  enabled?: boolean;
510
772
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
773
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
774
  readonly verified?: boolean;
513
775
  enabled?: boolean;
514
776
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
777
+ kind: "general" | "service" | "assume";
778
+ computers?: {
779
+ default: string;
780
+ allowed: Array<{
781
+ template: string;
782
+ name: string;
783
+ }>;
784
+ };
516
785
  computer_id?: string;
517
786
  subagent_model?: string | null;
518
- image_model?: string | null;
519
787
  subagents?: Array<{
520
788
  name: string;
521
789
  description: string;
@@ -606,6 +874,7 @@ export declare function createAgent(transport: Transport): {
606
874
  allowManagedHooksOnly?: boolean;
607
875
  allowManagedMcpServersOnly?: boolean;
608
876
  allowManagedPermissionRulesOnly?: boolean;
877
+ idleCompaction?: boolean;
609
878
  autoMemoryEnabled?: boolean;
610
879
  disabled?: {
611
880
  subagents?: Array<string>;
@@ -614,7 +883,6 @@ export declare function createAgent(transport: Transport): {
614
883
  mcpServers?: Array<string>;
615
884
  hooks?: Array<string>;
616
885
  };
617
- idleCompaction?: boolean;
618
886
  outputStyle?: string;
619
887
  } | null;
620
888
  models?: {
@@ -622,6 +890,7 @@ export declare function createAgent(transport: Transport): {
622
890
  };
623
891
  avatar: string | null;
624
892
  creation_source: string | null;
893
+ managed_by: string | null;
625
894
  identity_number: string | null;
626
895
  environment_id?: string | null;
627
896
  vault_ids?: Array<string>;
@@ -649,6 +918,7 @@ export declare function createAgent(transport: Transport): {
649
918
  speed?: "standard" | "fast";
650
919
  settings?: {
651
920
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
921
+ max_output_tokens?: number;
652
922
  };
653
923
  };
654
924
  multiagent?: null | Types.AgentManaged39;
@@ -674,18 +944,25 @@ export declare function createAgent(transport: Transport): {
674
944
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
675
945
  id: string;
676
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
677
948
  instructions?: string;
678
949
  readonly verified?: boolean;
679
950
  enabled?: boolean;
680
951
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
952
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
953
  readonly verified?: boolean;
683
954
  enabled?: boolean;
684
955
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
956
+ kind: "general" | "service" | "assume";
957
+ computers?: {
958
+ default: string;
959
+ allowed: Array<{
960
+ template: string;
961
+ name: string;
962
+ }>;
963
+ };
686
964
  computer_id?: string;
687
965
  subagent_model?: string | null;
688
- image_model?: string | null;
689
966
  subagents?: Array<{
690
967
  name: string;
691
968
  description: string;
@@ -776,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
776
1053
  allowManagedHooksOnly?: boolean;
777
1054
  allowManagedMcpServersOnly?: boolean;
778
1055
  allowManagedPermissionRulesOnly?: boolean;
1056
+ idleCompaction?: boolean;
779
1057
  autoMemoryEnabled?: boolean;
780
1058
  disabled?: {
781
1059
  subagents?: Array<string>;
@@ -784,7 +1062,6 @@ export declare function createAgent(transport: Transport): {
784
1062
  mcpServers?: Array<string>;
785
1063
  hooks?: Array<string>;
786
1064
  };
787
- idleCompaction?: boolean;
788
1065
  outputStyle?: string;
789
1066
  } | null;
790
1067
  models?: {
@@ -792,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
792
1069
  };
793
1070
  avatar: string | null;
794
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
795
1073
  identity_number: string | null;
796
1074
  environment_id?: string | null;
797
1075
  vault_ids?: Array<string>;
@@ -860,6 +1138,25 @@ export declare function createAgent(transport: Transport): {
860
1138
  history?: {
861
1139
  enabled?: boolean;
862
1140
  };
1141
+ uploads?: {
1142
+ enabled: boolean;
1143
+ max_file_bytes: number;
1144
+ max_files_per_session: number;
1145
+ };
1146
+ }>;
1147
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1148
+ allowed_origins: Array<string>;
1149
+ allow_localhost: boolean;
1150
+ uploads: {
1151
+ enabled: boolean;
1152
+ max_file_bytes: number;
1153
+ max_files_per_session: number;
1154
+ };
1155
+ share_links: {
1156
+ enabled: boolean;
1157
+ daily_session_cap: number | null;
1158
+ daily_spend_cap_micro_usd: number | null;
1159
+ };
863
1160
  }>;
864
1161
  unarchive: {
865
1162
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1210,7 @@ export declare function createAgent(transport: Transport): {
913
1210
  speed?: "standard" | "fast";
914
1211
  settings?: {
915
1212
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1213
+ max_output_tokens?: number;
916
1214
  };
917
1215
  };
918
1216
  multiagent?: null | {
@@ -1103,18 +1401,25 @@ export declare function createAgent(transport: Transport): {
1103
1401
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1104
1402
  id: string;
1105
1403
  access: "read_only" | "read_write" | "invoke";
1404
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1405
  instructions?: string;
1107
1406
  readonly verified?: boolean;
1108
1407
  enabled?: boolean;
1109
1408
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1409
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1410
  readonly verified?: boolean;
1112
1411
  enabled?: boolean;
1113
1412
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1413
+ kind: "general" | "service" | "assume";
1414
+ computers?: {
1415
+ default: string;
1416
+ allowed: Array<{
1417
+ template: string;
1418
+ name: string;
1419
+ }>;
1420
+ };
1115
1421
  computer_id?: string;
1116
1422
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1423
  subagents?: Array<{
1119
1424
  name: string;
1120
1425
  description: string;
@@ -1205,6 +1510,7 @@ export declare function createAgent(transport: Transport): {
1205
1510
  allowManagedHooksOnly?: boolean;
1206
1511
  allowManagedMcpServersOnly?: boolean;
1207
1512
  allowManagedPermissionRulesOnly?: boolean;
1513
+ idleCompaction?: boolean;
1208
1514
  autoMemoryEnabled?: boolean;
1209
1515
  disabled?: {
1210
1516
  subagents?: Array<string>;
@@ -1213,7 +1519,6 @@ export declare function createAgent(transport: Transport): {
1213
1519
  mcpServers?: Array<string>;
1214
1520
  hooks?: Array<string>;
1215
1521
  };
1216
- idleCompaction?: boolean;
1217
1522
  outputStyle?: string;
1218
1523
  } | null;
1219
1524
  models?: {
@@ -1221,6 +1526,7 @@ export declare function createAgent(transport: Transport): {
1221
1526
  };
1222
1527
  avatar: string | null;
1223
1528
  creation_source: string | null;
1529
+ managed_by: string | null;
1224
1530
  identity_number: string | null;
1225
1531
  environment_id?: string | null;
1226
1532
  vault_ids?: Array<string>;
@@ -1247,6 +1553,7 @@ export declare function createAgent(transport: Transport): {
1247
1553
  speed?: "standard" | "fast";
1248
1554
  settings?: {
1249
1555
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1556
+ max_output_tokens?: number;
1250
1557
  };
1251
1558
  };
1252
1559
  multiagent?: null | Types.AgentManaged39;
@@ -1272,18 +1579,25 @@ export declare function createAgent(transport: Transport): {
1272
1579
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1273
1580
  id: string;
1274
1581
  access: "read_only" | "read_write" | "invoke";
1582
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1583
  instructions?: string;
1276
1584
  readonly verified?: boolean;
1277
1585
  enabled?: boolean;
1278
1586
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1587
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1588
  readonly verified?: boolean;
1281
1589
  enabled?: boolean;
1282
1590
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1591
+ kind: "general" | "service" | "assume";
1592
+ computers?: {
1593
+ default: string;
1594
+ allowed: Array<{
1595
+ template: string;
1596
+ name: string;
1597
+ }>;
1598
+ };
1284
1599
  computer_id?: string;
1285
1600
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1601
  subagents?: Array<{
1288
1602
  name: string;
1289
1603
  description: string;
@@ -1374,6 +1688,7 @@ export declare function createAgent(transport: Transport): {
1374
1688
  allowManagedHooksOnly?: boolean;
1375
1689
  allowManagedMcpServersOnly?: boolean;
1376
1690
  allowManagedPermissionRulesOnly?: boolean;
1691
+ idleCompaction?: boolean;
1377
1692
  autoMemoryEnabled?: boolean;
1378
1693
  disabled?: {
1379
1694
  subagents?: Array<string>;
@@ -1382,7 +1697,6 @@ export declare function createAgent(transport: Transport): {
1382
1697
  mcpServers?: Array<string>;
1383
1698
  hooks?: Array<string>;
1384
1699
  };
1385
- idleCompaction?: boolean;
1386
1700
  outputStyle?: string;
1387
1701
  } | null;
1388
1702
  models?: {
@@ -1390,6 +1704,7 @@ export declare function createAgent(transport: Transport): {
1390
1704
  };
1391
1705
  avatar: string | null;
1392
1706
  creation_source: string | null;
1707
+ managed_by: string | null;
1393
1708
  identity_number: string | null;
1394
1709
  environment_id?: string | null;
1395
1710
  vault_ids?: Array<string>;
@@ -1401,28 +1716,245 @@ export declare function createAgent(transport: Transport): {
1401
1716
  keep_coding_instructions?: boolean;
1402
1717
  }> | null;
1403
1718
  }>;
1719
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1720
+ allowed_origins: Array<string>;
1721
+ allow_localhost: boolean;
1722
+ uploads: {
1723
+ enabled: boolean;
1724
+ max_file_bytes: number;
1725
+ max_files_per_session: number;
1726
+ };
1727
+ share_links: {
1728
+ enabled: boolean;
1729
+ daily_session_cap: number | null;
1730
+ daily_spend_cap_micro_usd: number | 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;
1786
+ };
1787
+ };
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
+ };
1799
+ name: string;
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
+ }>;
1809
+ system: null | string;
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
+ };
1419
1927
  };
1420
- };
1421
- multiagent?: null | Types.AgentManaged39;
1422
- name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1424
- system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
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;
@@ -1441,18 +1973,25 @@ export declare function createAgent(transport: Transport): {
1441
1973
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
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" | "ticket" | "crm" | "canvas" | "cut";
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;
@@ -1610,18 +2151,25 @@ export declare function createAgent(transport: Transport): {
1610
2151
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
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" | "ticket" | "crm" | "canvas" | "cut";
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;
@@ -1848,6 +2404,7 @@ export declare function createAgent(transport: Transport): {
1848
2404
  created_at: string;
1849
2405
  updated_at: string;
1850
2406
  archived_at: string | null;
2407
+ machine: "light" | "full";
1851
2408
  implementation: "virtual" | "sandbox";
1852
2409
  storage_bytes: number;
1853
2410
  file_count: number;
@@ -2153,6 +2710,538 @@ export declare function createAgent(transport: Transport): {
2153
2710
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2154
2711
  };
2155
2712
  sessions: {
2713
+ agentVersion: {
2714
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2715
+ id: string;
2716
+ agent: {
2717
+ id: string;
2718
+ description: null | string;
2719
+ mcp_servers: Array<{
2720
+ type: "url";
2721
+ name: string;
2722
+ url: string;
2723
+ headers?: {
2724
+ [key: string]: string;
2725
+ };
2726
+ timeout_ms?: number;
2727
+ } | {
2728
+ type: "sse";
2729
+ name: string;
2730
+ url: string;
2731
+ headers?: {
2732
+ [key: string]: string;
2733
+ };
2734
+ timeout_ms?: number;
2735
+ } | {
2736
+ type: "stdio";
2737
+ name: string;
2738
+ command: string;
2739
+ args?: Array<string>;
2740
+ env?: {
2741
+ [key: string]: string;
2742
+ };
2743
+ timeout_ms?: number;
2744
+ }>;
2745
+ model: {
2746
+ id: string;
2747
+ effort?: {
2748
+ type: "low";
2749
+ } | {
2750
+ type: "medium";
2751
+ } | {
2752
+ type: "high";
2753
+ } | {
2754
+ type: "xhigh";
2755
+ } | {
2756
+ type: "max";
2757
+ };
2758
+ inference_geo?: string;
2759
+ speed?: "standard" | "fast";
2760
+ settings?: {
2761
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2762
+ max_output_tokens?: number;
2763
+ };
2764
+ };
2765
+ multiagent: null | {
2766
+ agents: Array<{
2767
+ model: string;
2768
+ type: "advisor";
2769
+ } | {
2770
+ id: string;
2771
+ description: null | string;
2772
+ mcp_servers: Array<{
2773
+ type: "url";
2774
+ name: string;
2775
+ url: string;
2776
+ headers?: {
2777
+ [key: string]: string;
2778
+ };
2779
+ timeout_ms?: number;
2780
+ } | {
2781
+ type: "sse";
2782
+ name: string;
2783
+ url: string;
2784
+ headers?: {
2785
+ [key: string]: string;
2786
+ };
2787
+ timeout_ms?: number;
2788
+ } | {
2789
+ type: "stdio";
2790
+ name: string;
2791
+ command: string;
2792
+ args?: Array<string>;
2793
+ env?: {
2794
+ [key: string]: string;
2795
+ };
2796
+ timeout_ms?: number;
2797
+ }>;
2798
+ model: {
2799
+ id: string;
2800
+ effort?: {
2801
+ type: "low";
2802
+ } | {
2803
+ type: "medium";
2804
+ } | {
2805
+ type: "high";
2806
+ } | {
2807
+ type: "xhigh";
2808
+ } | {
2809
+ type: "max";
2810
+ };
2811
+ inference_geo?: string;
2812
+ speed?: "standard" | "fast";
2813
+ };
2814
+ name: string;
2815
+ skills: Array<{
2816
+ skill_id: string;
2817
+ type: "anthropic";
2818
+ version: string;
2819
+ } | {
2820
+ skill_id: string;
2821
+ type: "custom";
2822
+ version: string;
2823
+ }>;
2824
+ system: null | string;
2825
+ tools: Array<{
2826
+ configs: Array<{
2827
+ enabled: boolean;
2828
+ name: "bash";
2829
+ permission_policy: {
2830
+ type: "always_allow";
2831
+ } | {
2832
+ type: "always_ask";
2833
+ } | {
2834
+ type: "auto";
2835
+ };
2836
+ type: "bash";
2837
+ } | {
2838
+ enabled: boolean;
2839
+ name: "edit";
2840
+ permission_policy: {
2841
+ type: "always_allow";
2842
+ } | {
2843
+ type: "always_ask";
2844
+ } | {
2845
+ type: "auto";
2846
+ };
2847
+ type: "edit";
2848
+ } | {
2849
+ enabled: boolean;
2850
+ name: "read";
2851
+ permission_policy: {
2852
+ type: "always_allow";
2853
+ } | {
2854
+ type: "always_ask";
2855
+ } | {
2856
+ type: "auto";
2857
+ };
2858
+ type: "read";
2859
+ } | {
2860
+ enabled: boolean;
2861
+ name: "write";
2862
+ permission_policy: {
2863
+ type: "always_allow";
2864
+ } | {
2865
+ type: "always_ask";
2866
+ } | {
2867
+ type: "auto";
2868
+ };
2869
+ type: "write";
2870
+ } | {
2871
+ enabled: boolean;
2872
+ name: "glob";
2873
+ permission_policy: {
2874
+ type: "always_allow";
2875
+ } | {
2876
+ type: "always_ask";
2877
+ } | {
2878
+ type: "auto";
2879
+ };
2880
+ type: "glob";
2881
+ } | {
2882
+ enabled: boolean;
2883
+ name: "grep";
2884
+ permission_policy: {
2885
+ type: "always_allow";
2886
+ } | {
2887
+ type: "always_ask";
2888
+ } | {
2889
+ type: "auto";
2890
+ };
2891
+ type: "grep";
2892
+ } | {
2893
+ enabled: boolean;
2894
+ name: "web_fetch";
2895
+ permission_policy: {
2896
+ type: "always_allow";
2897
+ } | {
2898
+ type: "always_ask";
2899
+ } | {
2900
+ type: "auto";
2901
+ };
2902
+ type: "web_fetch";
2903
+ allowed_domains?: Array<string>;
2904
+ blocked_domains?: Array<string>;
2905
+ max_content_tokens?: null | number;
2906
+ } | {
2907
+ enabled: boolean;
2908
+ name: "web_search";
2909
+ permission_policy: {
2910
+ type: "always_allow";
2911
+ } | {
2912
+ type: "always_ask";
2913
+ } | {
2914
+ type: "auto";
2915
+ };
2916
+ type: "web_search";
2917
+ allowed_domains?: Array<string>;
2918
+ blocked_domains?: Array<string>;
2919
+ user_location?: null | {
2920
+ type: "approximate";
2921
+ city?: null | string;
2922
+ country?: null | string;
2923
+ region?: null | string;
2924
+ timezone?: null | string;
2925
+ };
2926
+ } | {
2927
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2928
+ enabled: boolean;
2929
+ permission_policy: {
2930
+ type: "always_allow" | "always_ask";
2931
+ };
2932
+ }>;
2933
+ default_config: {
2934
+ enabled: boolean;
2935
+ permission_policy: {
2936
+ type: "always_allow";
2937
+ } | {
2938
+ type: "always_ask";
2939
+ } | {
2940
+ type: "auto";
2941
+ };
2942
+ };
2943
+ type: "agent_toolset_20260401";
2944
+ } | {
2945
+ type: "mcp_toolset";
2946
+ mcp_server_name: string;
2947
+ default_config?: {
2948
+ enabled?: boolean | null;
2949
+ permission_policy?: null | {
2950
+ type: "always_allow" | "always_ask";
2951
+ };
2952
+ } | null;
2953
+ configs?: Array<{
2954
+ name: string;
2955
+ enabled?: boolean | null;
2956
+ permission_policy?: null | {
2957
+ type: "always_allow" | "always_ask";
2958
+ };
2959
+ }> | null;
2960
+ } | {
2961
+ description: string;
2962
+ input_schema: {
2963
+ type: "object";
2964
+ properties?: null | {
2965
+ [key: string]: unknown;
2966
+ };
2967
+ required?: null | Array<string>;
2968
+ [key: string]: unknown;
2969
+ };
2970
+ name: string;
2971
+ type: "custom";
2972
+ }>;
2973
+ type: "agent";
2974
+ version: number;
2975
+ }>;
2976
+ type: "coordinator";
2977
+ };
2978
+ name: string;
2979
+ skills: Array<{
2980
+ skill_id: string;
2981
+ type: "anthropic";
2982
+ version: string;
2983
+ } | {
2984
+ skill_id: string;
2985
+ type: "custom";
2986
+ version: string;
2987
+ }>;
2988
+ system: null | string;
2989
+ tools: Array<{
2990
+ configs: Array<{
2991
+ enabled: boolean;
2992
+ name: "bash";
2993
+ permission_policy: {
2994
+ type: "always_allow";
2995
+ } | {
2996
+ type: "always_ask";
2997
+ } | {
2998
+ type: "auto";
2999
+ };
3000
+ type: "bash";
3001
+ } | {
3002
+ enabled: boolean;
3003
+ name: "edit";
3004
+ permission_policy: {
3005
+ type: "always_allow";
3006
+ } | {
3007
+ type: "always_ask";
3008
+ } | {
3009
+ type: "auto";
3010
+ };
3011
+ type: "edit";
3012
+ } | {
3013
+ enabled: boolean;
3014
+ name: "read";
3015
+ permission_policy: {
3016
+ type: "always_allow";
3017
+ } | {
3018
+ type: "always_ask";
3019
+ } | {
3020
+ type: "auto";
3021
+ };
3022
+ type: "read";
3023
+ } | {
3024
+ enabled: boolean;
3025
+ name: "write";
3026
+ permission_policy: {
3027
+ type: "always_allow";
3028
+ } | {
3029
+ type: "always_ask";
3030
+ } | {
3031
+ type: "auto";
3032
+ };
3033
+ type: "write";
3034
+ } | {
3035
+ enabled: boolean;
3036
+ name: "glob";
3037
+ permission_policy: {
3038
+ type: "always_allow";
3039
+ } | {
3040
+ type: "always_ask";
3041
+ } | {
3042
+ type: "auto";
3043
+ };
3044
+ type: "glob";
3045
+ } | {
3046
+ enabled: boolean;
3047
+ name: "grep";
3048
+ permission_policy: {
3049
+ type: "always_allow";
3050
+ } | {
3051
+ type: "always_ask";
3052
+ } | {
3053
+ type: "auto";
3054
+ };
3055
+ type: "grep";
3056
+ } | {
3057
+ enabled: boolean;
3058
+ name: "web_fetch";
3059
+ permission_policy: {
3060
+ type: "always_allow";
3061
+ } | {
3062
+ type: "always_ask";
3063
+ } | {
3064
+ type: "auto";
3065
+ };
3066
+ type: "web_fetch";
3067
+ allowed_domains?: Array<string>;
3068
+ blocked_domains?: Array<string>;
3069
+ max_content_tokens?: null | number;
3070
+ } | {
3071
+ enabled: boolean;
3072
+ name: "web_search";
3073
+ permission_policy: {
3074
+ type: "always_allow";
3075
+ } | {
3076
+ type: "always_ask";
3077
+ } | {
3078
+ type: "auto";
3079
+ };
3080
+ type: "web_search";
3081
+ allowed_domains?: Array<string>;
3082
+ blocked_domains?: Array<string>;
3083
+ user_location?: null | {
3084
+ type: "approximate";
3085
+ city?: null | string;
3086
+ country?: null | string;
3087
+ region?: null | string;
3088
+ timezone?: null | string;
3089
+ };
3090
+ } | {
3091
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3092
+ enabled: boolean;
3093
+ permission_policy: {
3094
+ type: "always_allow" | "always_ask";
3095
+ };
3096
+ }>;
3097
+ default_config: {
3098
+ enabled: boolean;
3099
+ permission_policy: {
3100
+ type: "always_allow";
3101
+ } | {
3102
+ type: "always_ask";
3103
+ } | {
3104
+ type: "auto";
3105
+ };
3106
+ };
3107
+ type: "agent_toolset_20260401";
3108
+ } | {
3109
+ type: "mcp_toolset";
3110
+ mcp_server_name: string;
3111
+ default_config?: {
3112
+ enabled?: boolean | null;
3113
+ permission_policy?: null | {
3114
+ type: "always_allow" | "always_ask";
3115
+ };
3116
+ } | null;
3117
+ configs?: Array<{
3118
+ name: string;
3119
+ enabled?: boolean | null;
3120
+ permission_policy?: null | {
3121
+ type: "always_allow" | "always_ask";
3122
+ };
3123
+ }> | null;
3124
+ } | {
3125
+ description: string;
3126
+ input_schema: {
3127
+ type: "object";
3128
+ properties?: null | {
3129
+ [key: string]: unknown;
3130
+ };
3131
+ required?: null | Array<string>;
3132
+ [key: string]: unknown;
3133
+ };
3134
+ name: string;
3135
+ type: "custom";
3136
+ }>;
3137
+ type: "agent";
3138
+ version: number;
3139
+ };
3140
+ archived_at: null | string;
3141
+ budget: null | {
3142
+ max_list_cost: {
3143
+ amount: string;
3144
+ currency: "USD";
3145
+ };
3146
+ type: "limit";
3147
+ };
3148
+ created_at: string;
3149
+ environment_id?: string;
3150
+ metadata: {
3151
+ [key: string]: string;
3152
+ };
3153
+ outcome_evaluations: Array<{
3154
+ completed_at: null | string;
3155
+ description: string;
3156
+ explanation: null | string;
3157
+ iteration: number;
3158
+ outcome_id: string;
3159
+ result: string;
3160
+ type: "outcome_evaluation";
3161
+ }>;
3162
+ resources: Array<{
3163
+ id: string;
3164
+ created_at: string;
3165
+ mount_path: string;
3166
+ type: "github_repository";
3167
+ updated_at: string;
3168
+ url: string;
3169
+ checkout?: null | {
3170
+ name: string;
3171
+ type: "branch";
3172
+ } | {
3173
+ sha: string;
3174
+ type: "commit";
3175
+ };
3176
+ } | {
3177
+ id: string;
3178
+ created_at: string;
3179
+ file_id: string;
3180
+ mount_path: string;
3181
+ type: "file";
3182
+ updated_at: string;
3183
+ } | {
3184
+ memory_store_id: string;
3185
+ type: "memory_store";
3186
+ access?: null | "read_write" | "read_only";
3187
+ description?: string;
3188
+ instructions?: null | string;
3189
+ mount_path?: null | string;
3190
+ name?: null | string;
3191
+ }>;
3192
+ stats: {
3193
+ active_seconds?: number;
3194
+ duration_seconds?: number;
3195
+ };
3196
+ status: "rescheduling" | "running" | "idle" | "terminated";
3197
+ title: null | string;
3198
+ type: "session";
3199
+ updated_at: string;
3200
+ usage: {
3201
+ active_seconds?: number;
3202
+ cache_creation?: {
3203
+ ephemeral_1h_input_tokens?: number;
3204
+ ephemeral_5m_input_tokens?: number;
3205
+ };
3206
+ cache_read_input_tokens?: number;
3207
+ input_tokens?: number;
3208
+ list_cost?: null | {
3209
+ amount: string;
3210
+ currency: "USD";
3211
+ };
3212
+ output_tokens?: number;
3213
+ server_tool_use?: null | {
3214
+ web_fetch_requests?: number;
3215
+ web_search_requests?: number;
3216
+ };
3217
+ cost_by_product?: {
3218
+ [key: string]: string;
3219
+ };
3220
+ subagent_cost_micro_usd?: number;
3221
+ };
3222
+ vault_ids: Array<string>;
3223
+ deployment_id?: null | string;
3224
+ cwd: string;
3225
+ computer_id?: string;
3226
+ model?: {
3227
+ id: string;
3228
+ thinking: {
3229
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3230
+ can_disable: boolean;
3231
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3232
+ } | null;
3233
+ };
3234
+ thinking?: {
3235
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3236
+ } | null;
3237
+ forked_from?: {
3238
+ session_id: string;
3239
+ message_id: string;
3240
+ } | null;
3241
+ readonly external_user_id: string | null;
3242
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3243
+ }>;
3244
+ };
2156
3245
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2157
3246
  id: string;
2158
3247
  agent: {
@@ -2166,6 +3255,7 @@ export declare function createAgent(transport: Transport): {
2166
3255
  speed?: "standard" | "fast";
2167
3256
  settings?: {
2168
3257
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3258
+ max_output_tokens?: number;
2169
3259
  };
2170
3260
  };
2171
3261
  multiagent: null | Types.AgentManaged171;
@@ -2211,6 +3301,40 @@ export declare function createAgent(transport: Transport): {
2211
3301
  readonly external_user_id: string | null;
2212
3302
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2213
3303
  }>;
3304
+ artifacts: {
3305
+ contentUrl: {
3306
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3307
+ url: string;
3308
+ expire_time: string;
3309
+ }>;
3310
+ };
3311
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3312
+ data: Array<{
3313
+ object: "artifact";
3314
+ id: string;
3315
+ session_id: string;
3316
+ run_id: string | null;
3317
+ name: string;
3318
+ version: number;
3319
+ parts: Array<{
3320
+ kind: "file";
3321
+ file_id: string;
3322
+ filename: string;
3323
+ mime_type: string;
3324
+ bytes: number;
3325
+ } | {
3326
+ kind: "object";
3327
+ object_type: "canvas" | "media_asset";
3328
+ object_id: string;
3329
+ href: string;
3330
+ title: string | null;
3331
+ }>;
3332
+ source_hrefs: Array<string>;
3333
+ create_time: string;
3334
+ update_time: string;
3335
+ }>;
3336
+ }>;
3337
+ };
2214
3338
  backgroundTasks: {
2215
3339
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2216
3340
  data: Array<{
@@ -2293,6 +3417,7 @@ export declare function createAgent(transport: Transport): {
2293
3417
  speed?: "standard" | "fast";
2294
3418
  settings?: {
2295
3419
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3420
+ max_output_tokens?: number;
2296
3421
  };
2297
3422
  };
2298
3423
  multiagent: null | Types.AgentManaged171;
@@ -2379,7 +3504,6 @@ export declare function createAgent(transport: Transport): {
2379
3504
  run_id: string | null;
2380
3505
  message_id?: string;
2381
3506
  } | {
2382
- full_access_available?: boolean;
2383
3507
  id: string;
2384
3508
  input: Types.AgentManaged197;
2385
3509
  mcp_server_name: string;
@@ -2389,6 +3513,18 @@ export declare function createAgent(transport: Transport): {
2389
3513
  evaluated_permission?: "allow" | "deny" | "ask";
2390
3514
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2391
3515
  session_thread_id?: null | string;
3516
+ permission_suggestions?: Array<{
3517
+ type: "add_rules";
3518
+ behavior: "allow";
3519
+ destination: "agent" | "session";
3520
+ rules: Array<{
3521
+ tool_name: string;
3522
+ rule_content: string;
3523
+ }>;
3524
+ }>;
3525
+ full_access_available?: boolean;
3526
+ user_once?: true;
3527
+ guarded_rule?: string;
2392
3528
  run_id: string | null;
2393
3529
  _meta?: {
2394
3530
  ui?: {
@@ -2402,17 +3538,6 @@ export declare function createAgent(transport: Transport): {
2402
3538
  };
2403
3539
  source?: "app" | "codemode";
2404
3540
  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
3541
  title?: string;
2417
3542
  input_titles?: {
2418
3543
  [key: string]: string;
@@ -2431,7 +3556,6 @@ export declare function createAgent(transport: Transport): {
2431
3556
  };
2432
3557
  source?: "app" | "codemode";
2433
3558
  } | {
2434
- full_access_available?: boolean;
2435
3559
  id: string;
2436
3560
  input: Types.AgentManaged206;
2437
3561
  name: string;
@@ -2440,9 +3564,6 @@ export declare function createAgent(transport: Transport): {
2440
3564
  evaluated_permission?: "allow" | "deny" | "ask";
2441
3565
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2442
3566
  session_thread_id?: null | string;
2443
- run_id: string | null;
2444
- user_once?: true;
2445
- guarded_rule?: string;
2446
3567
  permission_suggestions?: Array<{
2447
3568
  type: "add_rules";
2448
3569
  behavior: "allow";
@@ -2452,6 +3573,10 @@ export declare function createAgent(transport: Transport): {
2452
3573
  rule_content: string;
2453
3574
  }>;
2454
3575
  }>;
3576
+ full_access_available?: boolean;
3577
+ user_once?: true;
3578
+ guarded_rule?: string;
3579
+ run_id: string | null;
2455
3580
  } | {
2456
3581
  id: string;
2457
3582
  processed_at: string;
@@ -2472,9 +3597,6 @@ export declare function createAgent(transport: Transport): {
2472
3597
  type: "session.status_idle";
2473
3598
  run_id: string | null;
2474
3599
  } | 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
3600
  id: string;
2479
3601
  processed_at: string;
2480
3602
  type: "session.updated";
@@ -2482,6 +3604,9 @@ export declare function createAgent(transport: Transport): {
2482
3604
  budget?: null | Types.AgentManaged76;
2483
3605
  metadata?: Types.AgentManaged246;
2484
3606
  title?: null | string;
3607
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3608
+ previous_permission_mode?: string | null;
3609
+ permission_mode_version?: number;
2485
3610
  model?: {
2486
3611
  id: string;
2487
3612
  };
@@ -2642,6 +3767,7 @@ export declare function createAgent(transport: Transport): {
2642
3767
  speed?: "standard" | "fast";
2643
3768
  settings?: {
2644
3769
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3770
+ max_output_tokens?: number;
2645
3771
  };
2646
3772
  };
2647
3773
  multiagent: null | {
@@ -3137,6 +4263,7 @@ export declare function createAgent(transport: Transport): {
3137
4263
  speed?: "standard" | "fast";
3138
4264
  settings?: {
3139
4265
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4266
+ max_output_tokens?: number;
3140
4267
  };
3141
4268
  };
3142
4269
  multiagent: null | Types.AgentManaged171;
@@ -3147,19 +4274,552 @@ export declare function createAgent(transport: Transport): {
3147
4274
  type: "agent";
3148
4275
  version: number;
3149
4276
  };
3150
- archived_at: null | string;
3151
- budget: null | Types.AgentManaged76;
3152
- created_at: string;
3153
- environment_id?: string;
3154
- metadata: Types.AgentManaged173;
3155
- outcome_evaluations: Array<Types.AgentManaged174>;
3156
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3157
- stats: Types.AgentManaged178;
4277
+ archived_at: null | string;
4278
+ budget: null | Types.AgentManaged76;
4279
+ created_at: string;
4280
+ environment_id?: string;
4281
+ metadata: Types.AgentManaged173;
4282
+ outcome_evaluations: Array<Types.AgentManaged174>;
4283
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4284
+ stats: Types.AgentManaged178;
4285
+ status: "rescheduling" | "running" | "idle" | "terminated";
4286
+ title: null | string;
4287
+ type: "session";
4288
+ updated_at: string;
4289
+ usage: Types.AgentManaged179;
4290
+ vault_ids: Array<string>;
4291
+ deployment_id?: null | string;
4292
+ cwd: string;
4293
+ computer_id?: string;
4294
+ model?: {
4295
+ id: string;
4296
+ thinking: {
4297
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4298
+ can_disable: boolean;
4299
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4300
+ } | null;
4301
+ };
4302
+ thinking?: {
4303
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4304
+ } | null;
4305
+ forked_from?: {
4306
+ session_id: string;
4307
+ message_id: string;
4308
+ } | null;
4309
+ readonly external_user_id: string | null;
4310
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4311
+ }>;
4312
+ next_page: string | null;
4313
+ }>;
4314
+ name: {
4315
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4316
+ id: string;
4317
+ agent: {
4318
+ id: string;
4319
+ description: null | string;
4320
+ mcp_servers: Array<{
4321
+ type: "url";
4322
+ name: string;
4323
+ url: string;
4324
+ headers?: {
4325
+ [key: string]: string;
4326
+ };
4327
+ timeout_ms?: number;
4328
+ } | {
4329
+ type: "sse";
4330
+ name: string;
4331
+ url: string;
4332
+ headers?: {
4333
+ [key: string]: string;
4334
+ };
4335
+ timeout_ms?: number;
4336
+ } | {
4337
+ type: "stdio";
4338
+ name: string;
4339
+ command: string;
4340
+ args?: Array<string>;
4341
+ env?: {
4342
+ [key: string]: string;
4343
+ };
4344
+ timeout_ms?: number;
4345
+ }>;
4346
+ model: {
4347
+ id: string;
4348
+ effort?: {
4349
+ type: "low";
4350
+ } | {
4351
+ type: "medium";
4352
+ } | {
4353
+ type: "high";
4354
+ } | {
4355
+ type: "xhigh";
4356
+ } | {
4357
+ type: "max";
4358
+ };
4359
+ inference_geo?: string;
4360
+ speed?: "standard" | "fast";
4361
+ settings?: {
4362
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4363
+ max_output_tokens?: number;
4364
+ };
4365
+ };
4366
+ multiagent: null | {
4367
+ agents: Array<{
4368
+ model: string;
4369
+ type: "advisor";
4370
+ } | {
4371
+ id: string;
4372
+ description: null | string;
4373
+ mcp_servers: Array<{
4374
+ type: "url";
4375
+ name: string;
4376
+ url: string;
4377
+ headers?: {
4378
+ [key: string]: string;
4379
+ };
4380
+ timeout_ms?: number;
4381
+ } | {
4382
+ type: "sse";
4383
+ name: string;
4384
+ url: string;
4385
+ headers?: {
4386
+ [key: string]: string;
4387
+ };
4388
+ timeout_ms?: number;
4389
+ } | {
4390
+ type: "stdio";
4391
+ name: string;
4392
+ command: string;
4393
+ args?: Array<string>;
4394
+ env?: {
4395
+ [key: string]: string;
4396
+ };
4397
+ timeout_ms?: number;
4398
+ }>;
4399
+ model: {
4400
+ id: string;
4401
+ effort?: {
4402
+ type: "low";
4403
+ } | {
4404
+ type: "medium";
4405
+ } | {
4406
+ type: "high";
4407
+ } | {
4408
+ type: "xhigh";
4409
+ } | {
4410
+ type: "max";
4411
+ };
4412
+ inference_geo?: string;
4413
+ speed?: "standard" | "fast";
4414
+ };
4415
+ name: string;
4416
+ skills: Array<{
4417
+ skill_id: string;
4418
+ type: "anthropic";
4419
+ version: string;
4420
+ } | {
4421
+ skill_id: string;
4422
+ type: "custom";
4423
+ version: string;
4424
+ }>;
4425
+ system: null | string;
4426
+ tools: Array<{
4427
+ configs: Array<{
4428
+ enabled: boolean;
4429
+ name: "bash";
4430
+ permission_policy: {
4431
+ type: "always_allow";
4432
+ } | {
4433
+ type: "always_ask";
4434
+ } | {
4435
+ type: "auto";
4436
+ };
4437
+ type: "bash";
4438
+ } | {
4439
+ enabled: boolean;
4440
+ name: "edit";
4441
+ permission_policy: {
4442
+ type: "always_allow";
4443
+ } | {
4444
+ type: "always_ask";
4445
+ } | {
4446
+ type: "auto";
4447
+ };
4448
+ type: "edit";
4449
+ } | {
4450
+ enabled: boolean;
4451
+ name: "read";
4452
+ permission_policy: {
4453
+ type: "always_allow";
4454
+ } | {
4455
+ type: "always_ask";
4456
+ } | {
4457
+ type: "auto";
4458
+ };
4459
+ type: "read";
4460
+ } | {
4461
+ enabled: boolean;
4462
+ name: "write";
4463
+ permission_policy: {
4464
+ type: "always_allow";
4465
+ } | {
4466
+ type: "always_ask";
4467
+ } | {
4468
+ type: "auto";
4469
+ };
4470
+ type: "write";
4471
+ } | {
4472
+ enabled: boolean;
4473
+ name: "glob";
4474
+ permission_policy: {
4475
+ type: "always_allow";
4476
+ } | {
4477
+ type: "always_ask";
4478
+ } | {
4479
+ type: "auto";
4480
+ };
4481
+ type: "glob";
4482
+ } | {
4483
+ enabled: boolean;
4484
+ name: "grep";
4485
+ permission_policy: {
4486
+ type: "always_allow";
4487
+ } | {
4488
+ type: "always_ask";
4489
+ } | {
4490
+ type: "auto";
4491
+ };
4492
+ type: "grep";
4493
+ } | {
4494
+ enabled: boolean;
4495
+ name: "web_fetch";
4496
+ permission_policy: {
4497
+ type: "always_allow";
4498
+ } | {
4499
+ type: "always_ask";
4500
+ } | {
4501
+ type: "auto";
4502
+ };
4503
+ type: "web_fetch";
4504
+ allowed_domains?: Array<string>;
4505
+ blocked_domains?: Array<string>;
4506
+ max_content_tokens?: null | number;
4507
+ } | {
4508
+ enabled: boolean;
4509
+ name: "web_search";
4510
+ permission_policy: {
4511
+ type: "always_allow";
4512
+ } | {
4513
+ type: "always_ask";
4514
+ } | {
4515
+ type: "auto";
4516
+ };
4517
+ type: "web_search";
4518
+ allowed_domains?: Array<string>;
4519
+ blocked_domains?: Array<string>;
4520
+ user_location?: null | {
4521
+ type: "approximate";
4522
+ city?: null | string;
4523
+ country?: null | string;
4524
+ region?: null | string;
4525
+ timezone?: null | string;
4526
+ };
4527
+ } | {
4528
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4529
+ enabled: boolean;
4530
+ permission_policy: {
4531
+ type: "always_allow" | "always_ask";
4532
+ };
4533
+ }>;
4534
+ default_config: {
4535
+ enabled: boolean;
4536
+ permission_policy: {
4537
+ type: "always_allow";
4538
+ } | {
4539
+ type: "always_ask";
4540
+ } | {
4541
+ type: "auto";
4542
+ };
4543
+ };
4544
+ type: "agent_toolset_20260401";
4545
+ } | {
4546
+ type: "mcp_toolset";
4547
+ mcp_server_name: string;
4548
+ default_config?: {
4549
+ enabled?: boolean | null;
4550
+ permission_policy?: null | {
4551
+ type: "always_allow" | "always_ask";
4552
+ };
4553
+ } | null;
4554
+ configs?: Array<{
4555
+ name: string;
4556
+ enabled?: boolean | null;
4557
+ permission_policy?: null | {
4558
+ type: "always_allow" | "always_ask";
4559
+ };
4560
+ }> | null;
4561
+ } | {
4562
+ description: string;
4563
+ input_schema: {
4564
+ type: "object";
4565
+ properties?: null | {
4566
+ [key: string]: unknown;
4567
+ };
4568
+ required?: null | Array<string>;
4569
+ [key: string]: unknown;
4570
+ };
4571
+ name: string;
4572
+ type: "custom";
4573
+ }>;
4574
+ type: "agent";
4575
+ version: number;
4576
+ }>;
4577
+ type: "coordinator";
4578
+ };
4579
+ name: string;
4580
+ skills: Array<{
4581
+ skill_id: string;
4582
+ type: "anthropic";
4583
+ version: string;
4584
+ } | {
4585
+ skill_id: string;
4586
+ type: "custom";
4587
+ version: string;
4588
+ }>;
4589
+ system: null | string;
4590
+ tools: Array<{
4591
+ configs: Array<{
4592
+ enabled: boolean;
4593
+ name: "bash";
4594
+ permission_policy: {
4595
+ type: "always_allow";
4596
+ } | {
4597
+ type: "always_ask";
4598
+ } | {
4599
+ type: "auto";
4600
+ };
4601
+ type: "bash";
4602
+ } | {
4603
+ enabled: boolean;
4604
+ name: "edit";
4605
+ permission_policy: {
4606
+ type: "always_allow";
4607
+ } | {
4608
+ type: "always_ask";
4609
+ } | {
4610
+ type: "auto";
4611
+ };
4612
+ type: "edit";
4613
+ } | {
4614
+ enabled: boolean;
4615
+ name: "read";
4616
+ permission_policy: {
4617
+ type: "always_allow";
4618
+ } | {
4619
+ type: "always_ask";
4620
+ } | {
4621
+ type: "auto";
4622
+ };
4623
+ type: "read";
4624
+ } | {
4625
+ enabled: boolean;
4626
+ name: "write";
4627
+ permission_policy: {
4628
+ type: "always_allow";
4629
+ } | {
4630
+ type: "always_ask";
4631
+ } | {
4632
+ type: "auto";
4633
+ };
4634
+ type: "write";
4635
+ } | {
4636
+ enabled: boolean;
4637
+ name: "glob";
4638
+ permission_policy: {
4639
+ type: "always_allow";
4640
+ } | {
4641
+ type: "always_ask";
4642
+ } | {
4643
+ type: "auto";
4644
+ };
4645
+ type: "glob";
4646
+ } | {
4647
+ enabled: boolean;
4648
+ name: "grep";
4649
+ permission_policy: {
4650
+ type: "always_allow";
4651
+ } | {
4652
+ type: "always_ask";
4653
+ } | {
4654
+ type: "auto";
4655
+ };
4656
+ type: "grep";
4657
+ } | {
4658
+ enabled: boolean;
4659
+ name: "web_fetch";
4660
+ permission_policy: {
4661
+ type: "always_allow";
4662
+ } | {
4663
+ type: "always_ask";
4664
+ } | {
4665
+ type: "auto";
4666
+ };
4667
+ type: "web_fetch";
4668
+ allowed_domains?: Array<string>;
4669
+ blocked_domains?: Array<string>;
4670
+ max_content_tokens?: null | number;
4671
+ } | {
4672
+ enabled: boolean;
4673
+ name: "web_search";
4674
+ permission_policy: {
4675
+ type: "always_allow";
4676
+ } | {
4677
+ type: "always_ask";
4678
+ } | {
4679
+ type: "auto";
4680
+ };
4681
+ type: "web_search";
4682
+ allowed_domains?: Array<string>;
4683
+ blocked_domains?: Array<string>;
4684
+ user_location?: null | {
4685
+ type: "approximate";
4686
+ city?: null | string;
4687
+ country?: null | string;
4688
+ region?: null | string;
4689
+ timezone?: null | string;
4690
+ };
4691
+ } | {
4692
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4693
+ enabled: boolean;
4694
+ permission_policy: {
4695
+ type: "always_allow" | "always_ask";
4696
+ };
4697
+ }>;
4698
+ default_config: {
4699
+ enabled: boolean;
4700
+ permission_policy: {
4701
+ type: "always_allow";
4702
+ } | {
4703
+ type: "always_ask";
4704
+ } | {
4705
+ type: "auto";
4706
+ };
4707
+ };
4708
+ type: "agent_toolset_20260401";
4709
+ } | {
4710
+ type: "mcp_toolset";
4711
+ mcp_server_name: string;
4712
+ default_config?: {
4713
+ enabled?: boolean | null;
4714
+ permission_policy?: null | {
4715
+ type: "always_allow" | "always_ask";
4716
+ };
4717
+ } | null;
4718
+ configs?: Array<{
4719
+ name: string;
4720
+ enabled?: boolean | null;
4721
+ permission_policy?: null | {
4722
+ type: "always_allow" | "always_ask";
4723
+ };
4724
+ }> | null;
4725
+ } | {
4726
+ description: string;
4727
+ input_schema: {
4728
+ type: "object";
4729
+ properties?: null | {
4730
+ [key: string]: unknown;
4731
+ };
4732
+ required?: null | Array<string>;
4733
+ [key: string]: unknown;
4734
+ };
4735
+ name: string;
4736
+ type: "custom";
4737
+ }>;
4738
+ type: "agent";
4739
+ version: number;
4740
+ };
4741
+ archived_at: null | string;
4742
+ budget: null | {
4743
+ max_list_cost: {
4744
+ amount: string;
4745
+ currency: "USD";
4746
+ };
4747
+ type: "limit";
4748
+ };
4749
+ created_at: string;
4750
+ environment_id?: string;
4751
+ metadata: {
4752
+ [key: string]: string;
4753
+ };
4754
+ outcome_evaluations: Array<{
4755
+ completed_at: null | string;
4756
+ description: string;
4757
+ explanation: null | string;
4758
+ iteration: number;
4759
+ outcome_id: string;
4760
+ result: string;
4761
+ type: "outcome_evaluation";
4762
+ }>;
4763
+ resources: Array<{
4764
+ id: string;
4765
+ created_at: string;
4766
+ mount_path: string;
4767
+ type: "github_repository";
4768
+ updated_at: string;
4769
+ url: string;
4770
+ checkout?: null | {
4771
+ name: string;
4772
+ type: "branch";
4773
+ } | {
4774
+ sha: string;
4775
+ type: "commit";
4776
+ };
4777
+ } | {
4778
+ id: string;
4779
+ created_at: string;
4780
+ file_id: string;
4781
+ mount_path: string;
4782
+ type: "file";
4783
+ updated_at: string;
4784
+ } | {
4785
+ memory_store_id: string;
4786
+ type: "memory_store";
4787
+ access?: null | "read_write" | "read_only";
4788
+ description?: string;
4789
+ instructions?: null | string;
4790
+ mount_path?: null | string;
4791
+ name?: null | string;
4792
+ }>;
4793
+ stats: {
4794
+ active_seconds?: number;
4795
+ duration_seconds?: number;
4796
+ };
3158
4797
  status: "rescheduling" | "running" | "idle" | "terminated";
3159
4798
  title: null | string;
3160
4799
  type: "session";
3161
4800
  updated_at: string;
3162
- usage: Types.AgentManaged179;
4801
+ usage: {
4802
+ active_seconds?: number;
4803
+ cache_creation?: {
4804
+ ephemeral_1h_input_tokens?: number;
4805
+ ephemeral_5m_input_tokens?: number;
4806
+ };
4807
+ cache_read_input_tokens?: number;
4808
+ input_tokens?: number;
4809
+ list_cost?: null | {
4810
+ amount: string;
4811
+ currency: "USD";
4812
+ };
4813
+ output_tokens?: number;
4814
+ server_tool_use?: null | {
4815
+ web_fetch_requests?: number;
4816
+ web_search_requests?: number;
4817
+ };
4818
+ cost_by_product?: {
4819
+ [key: string]: string;
4820
+ };
4821
+ subagent_cost_micro_usd?: number;
4822
+ };
3163
4823
  vault_ids: Array<string>;
3164
4824
  deployment_id?: null | string;
3165
4825
  cwd: string;
@@ -3182,8 +4842,21 @@ export declare function createAgent(transport: Transport): {
3182
4842
  readonly external_user_id: string | null;
3183
4843
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3184
4844
  }>;
3185
- next_page: string | null;
3186
- }>;
4845
+ };
4846
+ requests: {
4847
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4848
+ data: Array<{
4849
+ id: string;
4850
+ object: "request";
4851
+ kind: "question" | "approval";
4852
+ status: "pending";
4853
+ tool_name: string;
4854
+ input: unknown;
4855
+ create_time: string;
4856
+ expire_time: string | null;
4857
+ }>;
4858
+ }>;
4859
+ };
3187
4860
  resources: {
3188
4861
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3189
4862
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3214,6 +4887,7 @@ export declare function createAgent(transport: Transport): {
3214
4887
  speed?: "standard" | "fast";
3215
4888
  settings?: {
3216
4889
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4890
+ max_output_tokens?: number;
3217
4891
  };
3218
4892
  };
3219
4893
  multiagent: null | Types.AgentManaged171;
@@ -3386,7 +5060,6 @@ export declare function createAgent(transport: Transport): {
3386
5060
  run_id: string | null;
3387
5061
  message_id?: string;
3388
5062
  } | {
3389
- full_access_available?: boolean;
3390
5063
  id: string;
3391
5064
  input: Types.AgentManaged197;
3392
5065
  mcp_server_name: string;
@@ -3396,6 +5069,18 @@ export declare function createAgent(transport: Transport): {
3396
5069
  evaluated_permission?: "allow" | "deny" | "ask";
3397
5070
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3398
5071
  session_thread_id?: null | string;
5072
+ permission_suggestions?: Array<{
5073
+ type: "add_rules";
5074
+ behavior: "allow";
5075
+ destination: "agent" | "session";
5076
+ rules: Array<{
5077
+ tool_name: string;
5078
+ rule_content: string;
5079
+ }>;
5080
+ }>;
5081
+ full_access_available?: boolean;
5082
+ user_once?: true;
5083
+ guarded_rule?: string;
3399
5084
  run_id: string | null;
3400
5085
  parent_tool_use_id?: string;
3401
5086
  _meta?: {
@@ -3409,17 +5094,6 @@ export declare function createAgent(transport: Transport): {
3409
5094
  };
3410
5095
  };
3411
5096
  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
5097
  title?: string;
3424
5098
  input_titles?: {
3425
5099
  [key: string]: string;
@@ -3438,7 +5112,6 @@ export declare function createAgent(transport: Transport): {
3438
5112
  };
3439
5113
  source?: "app" | "codemode";
3440
5114
  } | {
3441
- full_access_available?: boolean;
3442
5115
  id: string;
3443
5116
  input: Types.AgentManaged206;
3444
5117
  name: string;
@@ -3447,9 +5120,6 @@ export declare function createAgent(transport: Transport): {
3447
5120
  evaluated_permission?: "allow" | "deny" | "ask";
3448
5121
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3449
5122
  session_thread_id?: null | string;
3450
- run_id: string | null;
3451
- user_once?: true;
3452
- guarded_rule?: string;
3453
5123
  permission_suggestions?: Array<{
3454
5124
  type: "add_rules";
3455
5125
  behavior: "allow";
@@ -3459,6 +5129,10 @@ export declare function createAgent(transport: Transport): {
3459
5129
  rule_content: string;
3460
5130
  }>;
3461
5131
  }>;
5132
+ full_access_available?: boolean;
5133
+ user_once?: true;
5134
+ guarded_rule?: string;
5135
+ run_id: string | null;
3462
5136
  } | {
3463
5137
  id: string;
3464
5138
  processed_at: string;
@@ -3479,9 +5153,6 @@ export declare function createAgent(transport: Transport): {
3479
5153
  type: "session.status_idle";
3480
5154
  run_id: string | null;
3481
5155
  } | 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
5156
  id: string;
3486
5157
  processed_at: string;
3487
5158
  type: "session.updated";
@@ -3489,6 +5160,9 @@ export declare function createAgent(transport: Transport): {
3489
5160
  budget?: null | Types.AgentManaged76;
3490
5161
  metadata?: Types.AgentManaged246;
3491
5162
  title?: null | string;
5163
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5164
+ previous_permission_mode?: string | null;
5165
+ permission_mode_version?: number;
3492
5166
  model?: {
3493
5167
  id: string;
3494
5168
  };
@@ -3579,6 +5253,7 @@ export declare function createAgent(transport: Transport): {
3579
5253
  speed?: "standard" | "fast";
3580
5254
  settings?: {
3581
5255
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5256
+ max_output_tokens?: number;
3582
5257
  };
3583
5258
  };
3584
5259
  multiagent: null | Types.AgentManaged171;
@@ -3669,6 +5344,29 @@ export declare function createAgent(transport: Transport): {
3669
5344
  next_page: null;
3670
5345
  }>;
3671
5346
  };
5347
+ uploads: {
5348
+ contentUrl: {
5349
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5350
+ url: string;
5351
+ expires_at: string;
5352
+ }>;
5353
+ };
5354
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5355
+ upload_id: string;
5356
+ expires_at: string;
5357
+ url: string;
5358
+ } | {
5359
+ upload_id: string;
5360
+ expires_at: string;
5361
+ part_size: number;
5362
+ parts: Array<{
5363
+ part_number: number;
5364
+ url: string;
5365
+ }>;
5366
+ complete_url: string;
5367
+ status_url: string;
5368
+ }>;
5369
+ };
3672
5370
  };
3673
5371
  export declare function createApplication(transport: Transport): {
3674
5372
  assets: {
@@ -3956,6 +5654,49 @@ export declare function createBrowser(transport: Transport): {
3956
5654
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3957
5655
  };
3958
5656
  sessions: {
5657
+ actions: {
5658
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5659
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5660
+ tab: string;
5661
+ url: string;
5662
+ title: string;
5663
+ } | {
5664
+ type: "select";
5665
+ tab: string;
5666
+ values: Array<string>;
5667
+ } | {
5668
+ type: "tabs.list";
5669
+ tabs: Array<{
5670
+ id: string;
5671
+ url: string;
5672
+ title: string;
5673
+ active: boolean;
5674
+ }>;
5675
+ } | {
5676
+ type: "snapshot";
5677
+ tab: string;
5678
+ url: string;
5679
+ title: string;
5680
+ snapshot: string;
5681
+ refs: number;
5682
+ truncated: boolean;
5683
+ } | {
5684
+ type: "screenshot";
5685
+ tab: string;
5686
+ mediaType: "image/png";
5687
+ data: string;
5688
+ bytes: number;
5689
+ } | {
5690
+ type: "evaluate";
5691
+ tab: string;
5692
+ value: unknown;
5693
+ } | {
5694
+ type: "set_cookie";
5695
+ tab: string;
5696
+ name: string;
5697
+ domain: string;
5698
+ }>;
5699
+ };
3959
5700
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3960
5701
  events: {
3961
5702
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3963,6 +5704,7 @@ export declare function createBrowser(transport: Transport): {
3963
5704
  nextCursor: string | null;
3964
5705
  }>;
3965
5706
  };
5707
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3966
5708
  handoff: {
3967
5709
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3968
5710
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3973,6 +5715,7 @@ export declare function createBrowser(transport: Transport): {
3973
5715
  }>;
3974
5716
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3975
5717
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5718
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3976
5719
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3977
5720
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3978
5721
  viewer: {
@@ -4009,6 +5752,24 @@ export declare function createCanvas(transport: Transport): {
4009
5752
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4010
5753
  };
4011
5754
  };
5755
+ export declare function createContent(transport: Transport): {
5756
+ contents: {
5757
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5758
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5759
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5760
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5761
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5762
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5763
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5764
+ };
5765
+ playbackSessions: {
5766
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5767
+ };
5768
+ versions: {
5769
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5770
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5771
+ };
5772
+ };
4012
5773
  export declare function createCrm(transport: Transport): {
4013
5774
  associations: {
4014
5775
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4069,6 +5830,32 @@ export declare function createCrm(transport: Transport): {
4069
5830
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4070
5831
  };
4071
5832
  };
5833
+ export declare function createCustomer(transport: Transport): {
5834
+ accessTokens: {
5835
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5836
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5837
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5838
+ };
5839
+ customers: {
5840
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5841
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5842
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5843
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5844
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5845
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5846
+ };
5847
+ grantCodes: {
5848
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5849
+ };
5850
+ publishableKeys: {
5851
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5852
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5853
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5854
+ };
5855
+ usage: {
5856
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5857
+ };
5858
+ };
4072
5859
  export declare function createCut(transport: Transport): {
4073
5860
  exports: {
4074
5861
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4076,7 +5863,9 @@ export declare function createCut(transport: Transport): {
4076
5863
  };
4077
5864
  projects: {
4078
5865
  analysis: {
4079
- create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
5866
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5867
+ kind: "cut-AnalysisResult";
5868
+ } & Types.CutAnalysisResult>;
4080
5869
  };
4081
5870
  bindings: {
4082
5871
  create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
@@ -4097,6 +5886,9 @@ export declare function createCut(transport: Transport): {
4097
5886
  media: {
4098
5887
  import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
4099
5888
  };
5889
+ renders: {
5890
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5891
+ };
4100
5892
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
4101
5893
  retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
4102
5894
  retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
@@ -4107,6 +5899,9 @@ export declare function createCut(transport: Transport): {
4107
5899
  list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
4108
5900
  };
4109
5901
  };
5902
+ renders: {
5903
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5904
+ };
4110
5905
  versions: {
4111
5906
  restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
4112
5907
  };
@@ -4156,6 +5951,183 @@ export declare function createDatabase(transport: Transport): {
4156
5951
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4157
5952
  };
4158
5953
  };
5954
+ export declare function createDevops(transport: Transport): {
5955
+ changes: {
5956
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5957
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
5958
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5959
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
5960
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
5961
+ };
5962
+ connections: {
5963
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5964
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5965
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5966
+ repositories: {
5967
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5968
+ };
5969
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
5970
+ };
5971
+ environments: {
5972
+ checkpoints: {
5973
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
5974
+ };
5975
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
5976
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
5977
+ };
5978
+ flags: {
5979
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
5980
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
5981
+ environments: {
5982
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
5983
+ };
5984
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
5985
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
5986
+ };
5987
+ progressiveRollouts: {
5988
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
5989
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
5990
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
5991
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
5992
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
5993
+ };
5994
+ projects: {
5995
+ changes: {
5996
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
5997
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
5998
+ };
5999
+ environments: {
6000
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6001
+ targets: {
6002
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6003
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6004
+ state: {
6005
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6006
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6007
+ lock: {
6008
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6009
+ };
6010
+ };
6011
+ };
6012
+ };
6013
+ flags: {
6014
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6015
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6016
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6017
+ };
6018
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6019
+ promotions: {
6020
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6021
+ };
6022
+ pullRequests: {
6023
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6024
+ };
6025
+ releases: {
6026
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6027
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6028
+ };
6029
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6030
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6031
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6032
+ segments: {
6033
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6034
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6035
+ };
6036
+ targets: {
6037
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6038
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6039
+ };
6040
+ testCases: {
6041
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6042
+ };
6043
+ testPlans: {
6044
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6045
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6046
+ };
6047
+ testReports: {
6048
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6049
+ };
6050
+ testRuns: {
6051
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6052
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6053
+ };
6054
+ testSuites: {
6055
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6056
+ };
6057
+ units: {
6058
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6059
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6060
+ };
6061
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6062
+ workspaces: {
6063
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6064
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6065
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6066
+ };
6067
+ };
6068
+ promotions: {
6069
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6070
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6071
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6072
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6073
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6074
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6075
+ rollouts: {
6076
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6077
+ };
6078
+ };
6079
+ pullRequests: {
6080
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6081
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6082
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6083
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6084
+ };
6085
+ releases: {
6086
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6087
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6088
+ };
6089
+ rollouts: {
6090
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6091
+ };
6092
+ segments: {
6093
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6094
+ };
6095
+ testCases: {
6096
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6097
+ };
6098
+ testPlans: {
6099
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6100
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6101
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6102
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6103
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6104
+ };
6105
+ testRuns: {
6106
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6107
+ executions: {
6108
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6109
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6110
+ };
6111
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6112
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6113
+ };
6114
+ testSuites: {
6115
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6116
+ };
6117
+ units: {
6118
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6119
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6120
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6121
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6122
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6123
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6124
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6125
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6126
+ transitions: {
6127
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6128
+ };
6129
+ };
6130
+ };
4159
6131
  export declare function createFile(transport: Transport): {
4160
6132
  files: {
4161
6133
  contentLinks: {
@@ -4231,19 +6203,33 @@ export declare function createKnowledge(transport: Transport): {
4231
6203
  };
4232
6204
  };
4233
6205
  export declare function createMedia(transport: Transport): {
6206
+ assets: {
6207
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6208
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6209
+ };
4234
6210
  generation: {
4235
6211
  capabilities: {
4236
6212
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
4237
6213
  };
4238
6214
  };
6215
+ images: {
6216
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6217
+ };
4239
6218
  libraries: {
4240
6219
  assets: {
6220
+ align: {
6221
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6222
+ };
4241
6223
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4242
6224
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4243
6225
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4244
6226
  frames: {
4245
6227
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4246
6228
  };
6229
+ hls: {
6230
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6231
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6232
+ };
4247
6233
  import: {
4248
6234
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4249
6235
  };
@@ -4256,6 +6242,9 @@ export declare function createMedia(transport: Transport): {
4256
6242
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4257
6243
  };
4258
6244
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6245
+ versions: {
6246
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6247
+ };
4259
6248
  };
4260
6249
  batches: {
4261
6250
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4272,25 +6261,23 @@ export declare function createMedia(transport: Transport): {
4272
6261
  folders: {
4273
6262
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4274
6263
  };
4275
- generations: {
4276
- create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
4277
- };
4278
6264
  jobs: {
4279
6265
  cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
4280
6266
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4281
- outputs: {
4282
- save: {
4283
- create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
4284
- };
4285
- };
4286
6267
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4287
6268
  };
4288
6269
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6270
+ materials: {
6271
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6272
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6273
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6274
+ };
4289
6275
  purge: {
4290
6276
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4291
6277
  };
4292
6278
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4293
6279
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6280
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4294
6281
  search: {
4295
6282
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4296
6283
  expression: {
@@ -4303,11 +6290,24 @@ export declare function createMedia(transport: Transport): {
4303
6290
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4304
6291
  };
4305
6292
  };
6293
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
4306
6294
  understandings: {
4307
6295
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4308
6296
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4309
6297
  };
4310
6298
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6299
+ voices: {
6300
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6301
+ designs: {
6302
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6303
+ };
6304
+ };
6305
+ };
6306
+ speech: {
6307
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6308
+ };
6309
+ videos: {
6310
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4311
6311
  };
4312
6312
  };
4313
6313
  export declare function createMeta(transport: Transport): {
@@ -4508,7 +6508,35 @@ export declare function createModel(transport: Transport): {
4508
6508
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4509
6509
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4510
6510
  };
6511
+ modelAccess: {
6512
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6513
+ items: Array<{
6514
+ model: string;
6515
+ access_required: boolean;
6516
+ granted: boolean;
6517
+ granted_by: string | null;
6518
+ granted_at: string | null;
6519
+ sell_input_price: number | null;
6520
+ sell_output_price: number | null;
6521
+ }>;
6522
+ }>;
6523
+ };
4511
6524
  models: {
6525
+ access: {
6526
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6527
+ model: string;
6528
+ revoked: true;
6529
+ }>;
6530
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6531
+ model: string;
6532
+ access_required: boolean;
6533
+ granted: true;
6534
+ granted_by: string;
6535
+ granted_at: string;
6536
+ sell_input_price: number | null;
6537
+ sell_output_price: number | null;
6538
+ }>;
6539
+ };
4512
6540
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4513
6541
  object: "list";
4514
6542
  data: Array<{
@@ -4523,6 +6551,7 @@ export declare function createModel(transport: Transport): {
4523
6551
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4524
6552
  supported_apis: Array<string>;
4525
6553
  tags: Array<string>;
6554
+ access_required: boolean;
4526
6555
  architecture: {
4527
6556
  modality: string;
4528
6557
  input_modalities: Array<string>;
@@ -4569,6 +6598,7 @@ export declare function createModel(transport: Transport): {
4569
6598
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4570
6599
  supported_apis: Array<string>;
4571
6600
  tags: Array<string>;
6601
+ access_required: boolean;
4572
6602
  architecture: {
4573
6603
  modality: string;
4574
6604
  input_modalities: Array<string>;
@@ -4795,6 +6825,7 @@ export declare function createModel(transport: Transport): {
4795
6825
  unsigned_urls: Array<string>;
4796
6826
  usage?: {
4797
6827
  cost: number;
6828
+ billed_seconds?: number;
4798
6829
  };
4799
6830
  }>;
4800
6831
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4825,6 +6856,7 @@ export declare function createModel(transport: Transport): {
4825
6856
  unsigned_urls: Array<string>;
4826
6857
  usage?: {
4827
6858
  cost: number;
6859
+ billed_seconds?: number;
4828
6860
  };
4829
6861
  }>;
4830
6862
  has_more: boolean;
@@ -4853,6 +6885,7 @@ export declare function createModel(transport: Transport): {
4853
6885
  unsigned_urls: Array<string>;
4854
6886
  usage?: {
4855
6887
  cost: number;
6888
+ billed_seconds?: number;
4856
6889
  };
4857
6890
  }>;
4858
6891
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -4869,6 +6902,7 @@ export declare function createOntology(transport: Transport): {
4869
6902
  create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
4870
6903
  };
4871
6904
  retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6905
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
4872
6906
  update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
4873
6907
  };
4874
6908
  relations: {
@@ -4889,6 +6923,23 @@ export declare function createOntology(transport: Transport): {
4889
6923
  };
4890
6924
  };
4891
6925
  export declare function createOrganization(transport: Transport): {
6926
+ actors: {
6927
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6928
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6929
+ };
6930
+ assignments: {
6931
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6932
+ makePrimary: {
6933
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6934
+ };
6935
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6936
+ terminate: {
6937
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6938
+ };
6939
+ transfer: {
6940
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6941
+ };
6942
+ };
4892
6943
  charges: {
4893
6944
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
4894
6945
  ChargePeriodStart: string;
@@ -4930,6 +6981,16 @@ export declare function createOrganization(transport: Transport): {
4930
6981
  next_page: string | null;
4931
6982
  }>;
4932
6983
  };
6984
+ departments: {
6985
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6986
+ dissolve: {
6987
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6988
+ };
6989
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
6990
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6991
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6992
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
6993
+ };
4933
6994
  events: {
4934
6995
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
4935
6996
  object: "page";
@@ -5132,6 +7193,27 @@ export declare function createOrganization(transport: Transport): {
5132
7193
  }>;
5133
7194
  }>;
5134
7195
  };
7196
+ jobs: {
7197
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7198
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7199
+ retire: {
7200
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7201
+ };
7202
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7203
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7204
+ };
7205
+ keyResults: {
7206
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7207
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7208
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7209
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7210
+ };
7211
+ ladders: {
7212
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7213
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7214
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7215
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7216
+ };
5135
7217
  members: {
5136
7218
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5137
7219
  data: Array<{
@@ -5145,6 +7227,52 @@ export declare function createOrganization(transport: Transport): {
5145
7227
  next_page: string | null;
5146
7228
  }>;
5147
7229
  };
7230
+ objectives: {
7231
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7232
+ grade: {
7233
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7234
+ };
7235
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7236
+ parents: {
7237
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7238
+ };
7239
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7240
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7241
+ };
7242
+ periods: {
7243
+ close: {
7244
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7245
+ };
7246
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7247
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7248
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7249
+ };
7250
+ positions: {
7251
+ close: {
7252
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7253
+ };
7254
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7255
+ designateHead: {
7256
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7257
+ };
7258
+ freeze: {
7259
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7260
+ };
7261
+ hire: {
7262
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7263
+ };
7264
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7265
+ replaceHolder: {
7266
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7267
+ };
7268
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7269
+ unfreeze: {
7270
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7271
+ };
7272
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7273
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7274
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7275
+ };
5148
7276
  usage: {
5149
7277
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5150
7278
  object: "page";
@@ -5168,7 +7296,60 @@ export declare function createOrganization(transport: Transport): {
5168
7296
  }>;
5169
7297
  };
5170
7298
  };
7299
+ export declare function createRegistry(transport: Transport): {
7300
+ installations: {
7301
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7302
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7303
+ };
7304
+ packages: {
7305
+ git: {
7306
+ commits: {
7307
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7308
+ };
7309
+ files: {
7310
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7311
+ };
7312
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7313
+ trees: {
7314
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7315
+ };
7316
+ };
7317
+ installations: {
7318
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7319
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7320
+ };
7321
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7322
+ versions: {
7323
+ contents: {
7324
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7325
+ };
7326
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7327
+ files: {
7328
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7329
+ };
7330
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7331
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7332
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7333
+ };
7334
+ };
7335
+ repositories: {
7336
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7337
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7338
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7339
+ packages: {
7340
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7341
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7342
+ };
7343
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7344
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7345
+ };
7346
+ };
5171
7347
  export declare function createSandbox(transport: Transport): {
7348
+ events: {
7349
+ sandboxes: {
7350
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7351
+ };
7352
+ };
5172
7353
  sandboxes: {
5173
7354
  commands: {
5174
7355
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
@@ -5247,6 +7428,20 @@ export declare function createSandbox(transport: Transport): {
5247
7428
  snapshots: {
5248
7429
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5249
7430
  };
7431
+ tasks: {
7432
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7433
+ taskId: string;
7434
+ instanceId: string;
7435
+ startedAt: number;
7436
+ }>;
7437
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7438
+ text: string;
7439
+ nextOffset: number;
7440
+ done: boolean;
7441
+ exitCode: number | null;
7442
+ size: number | null;
7443
+ }>;
7444
+ };
5250
7445
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5251
7446
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5252
7447
  name: string;
@@ -5289,7 +7484,6 @@ export declare function createSandbox(transport: Transport): {
5289
7484
  buildCount: number;
5290
7485
  envdVersion: Types.SandboxEnvdVersion;
5291
7486
  buildStatus: Types.SandboxTemplateBuildStatus;
5292
- lifecycles?: Array<"ephemeral" | "persistent">;
5293
7487
  official: boolean;
5294
7488
  sourceKind?: "dockerfile" | "image" | "snapshot";
5295
7489
  }[]>;
@@ -5386,6 +7580,131 @@ export declare function createSearch(transport: Transport): {
5386
7580
  }>;
5387
7581
  };
5388
7582
  };
7583
+ export declare function createShare(transport: Transport): {
7584
+ permissions: {
7585
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7586
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7587
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7588
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7589
+ };
7590
+ };
7591
+ export declare function createStudio(transport: Transport): {
7592
+ codexes: {
7593
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7594
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7595
+ entries: {
7596
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7597
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7598
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7599
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7600
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7601
+ };
7602
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7603
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7604
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7605
+ };
7606
+ genres: {
7607
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7608
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7609
+ };
7610
+ platforms: {
7611
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7612
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7613
+ };
7614
+ styles: {
7615
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7616
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7617
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7618
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7619
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7620
+ };
7621
+ templates: {
7622
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7623
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7624
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7625
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7626
+ };
7627
+ themes: {
7628
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7629
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7630
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7631
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7632
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7633
+ };
7634
+ works: {
7635
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7636
+ drafts: {
7637
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7638
+ foreshadows: {
7639
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7640
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7641
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7642
+ };
7643
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7644
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7645
+ renditions: {
7646
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7647
+ };
7648
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7649
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7650
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7651
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7652
+ status: {
7653
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7654
+ };
7655
+ units: {
7656
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7657
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7658
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7659
+ };
7660
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7661
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7662
+ };
7663
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7664
+ progressions: {
7665
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7666
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7667
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7668
+ };
7669
+ renditions: {
7670
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7671
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7672
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7673
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7674
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7675
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7676
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7677
+ };
7678
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7679
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7680
+ reviewSettings: {
7681
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7682
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7683
+ };
7684
+ reviewers: {
7685
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7686
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7687
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7688
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7689
+ };
7690
+ reviews: {
7691
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7692
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7693
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7694
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7695
+ };
7696
+ units: {
7697
+ blocks: {
7698
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7699
+ };
7700
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7701
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7702
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7703
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7704
+ };
7705
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7706
+ };
7707
+ };
5389
7708
  export declare function createTicket(transport: Transport): {
5390
7709
  activity: {
5391
7710
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5430,6 +7749,7 @@ export declare function createTicket(transport: Transport): {
5430
7749
  repositories: Array<Types.TicketRepository>;
5431
7750
  next_page_token: string;
5432
7751
  }>;
7752
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5433
7753
  };
5434
7754
  tickets: {
5435
7755
  comments: {
@@ -5561,9 +7881,12 @@ export declare const resourceFactories: {
5561
7881
  automation: typeof createAutomation;
5562
7882
  browser: typeof createBrowser;
5563
7883
  canvas: typeof createCanvas;
7884
+ content: typeof createContent;
5564
7885
  crm: typeof createCrm;
7886
+ customer: typeof createCustomer;
5565
7887
  cut: typeof createCut;
5566
7888
  database: typeof createDatabase;
7889
+ devops: typeof createDevops;
5567
7890
  file: typeof createFile;
5568
7891
  knowledge: typeof createKnowledge;
5569
7892
  media: typeof createMedia;
@@ -5571,8 +7894,11 @@ export declare const resourceFactories: {
5571
7894
  model: typeof createModel;
5572
7895
  ontology: typeof createOntology;
5573
7896
  organization: typeof createOrganization;
7897
+ registry: typeof createRegistry;
5574
7898
  sandbox: typeof createSandbox;
5575
7899
  search: typeof createSearch;
7900
+ share: typeof createShare;
7901
+ studio: typeof createStudio;
5576
7902
  ticket: typeof createTicket;
5577
7903
  vault: typeof createVault;
5578
7904
  };