@deepraxis/sdk 0.1.1-dev.136df1c → 0.1.1-dev.13cf0c5

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?: {
@@ -170,6 +171,22 @@ export declare function createAgent(transport: Transport): {
170
171
  keep_coding_instructions?: boolean;
171
172
  }> | null;
172
173
  }>;
174
+ consolidations: {
175
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
176
+ id: string;
177
+ session_id: string;
178
+ status: "queued" | "running" | "done" | "failed";
179
+ engram_id?: string;
180
+ error?: string;
181
+ }>;
182
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
183
+ id: string;
184
+ session_id: string;
185
+ status: "queued" | "running" | "done" | "failed";
186
+ engram_id?: string;
187
+ error?: string;
188
+ }>;
189
+ };
173
190
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
191
  id: string;
175
192
  archived_at: null | string;
@@ -184,6 +201,7 @@ export declare function createAgent(transport: Transport): {
184
201
  speed?: "standard" | "fast";
185
202
  settings?: {
186
203
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
204
+ max_output_tokens?: number;
187
205
  };
188
206
  };
189
207
  multiagent?: null | Types.AgentManaged39;
@@ -208,18 +226,25 @@ export declare function createAgent(transport: Transport): {
208
226
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
209
227
  id: string;
210
228
  access: "read_only" | "read_write" | "invoke";
229
+ customer_access?: "read_only" | "read_write" | "invoke";
211
230
  instructions?: string;
212
231
  readonly verified?: boolean;
213
232
  enabled?: boolean;
214
233
  } | {
215
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
234
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
235
  readonly verified?: boolean;
217
236
  enabled?: boolean;
218
237
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
238
+ kind: "general" | "service" | "assume";
239
+ computers?: {
240
+ default: string;
241
+ allowed: Array<{
242
+ template: string;
243
+ name: string;
244
+ }>;
245
+ };
220
246
  computer_id?: string;
221
247
  subagent_model?: string | null;
222
- image_model?: string | null;
223
248
  subagents?: Array<{
224
249
  name: string;
225
250
  description: string;
@@ -310,6 +335,7 @@ export declare function createAgent(transport: Transport): {
310
335
  allowManagedHooksOnly?: boolean;
311
336
  allowManagedMcpServersOnly?: boolean;
312
337
  allowManagedPermissionRulesOnly?: boolean;
338
+ idleCompaction?: boolean;
313
339
  autoMemoryEnabled?: boolean;
314
340
  disabled?: {
315
341
  subagents?: Array<string>;
@@ -318,7 +344,6 @@ export declare function createAgent(transport: Transport): {
318
344
  mcpServers?: Array<string>;
319
345
  hooks?: Array<string>;
320
346
  };
321
- idleCompaction?: boolean;
322
347
  outputStyle?: string;
323
348
  } | null;
324
349
  models?: {
@@ -338,42 +363,6 @@ export declare function createAgent(transport: Transport): {
338
363
  }> | null;
339
364
  }>;
340
365
  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
366
  block: {
378
367
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
368
  id: string;
@@ -465,6 +454,275 @@ export declare function createAgent(transport: Transport): {
465
454
  }>;
466
455
  };
467
456
  };
457
+ events: {
458
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
459
+ data: Array<{
460
+ id: string;
461
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
462
+ type: "user.message";
463
+ processed_at?: null | string;
464
+ praxis_context?: {
465
+ items: Array<{
466
+ name: string;
467
+ value: string;
468
+ }>;
469
+ };
470
+ message_id?: string;
471
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
472
+ id: string;
473
+ content: Array<{
474
+ text: string;
475
+ type: "text";
476
+ citations?: Array<{
477
+ type: "search_result_location";
478
+ source: string;
479
+ title: string;
480
+ cited_text: string;
481
+ search_result_index: number;
482
+ start_block_index: number;
483
+ end_block_index: number;
484
+ }>;
485
+ } | Types.AgentManaged70>;
486
+ processed_at: string;
487
+ type: "agent.message";
488
+ run_id: string | null;
489
+ message_id?: string;
490
+ } | {
491
+ id: string;
492
+ processed_at: string;
493
+ type: "agent.thinking";
494
+ run_id: string | null;
495
+ message_id?: string;
496
+ } | {
497
+ id: string;
498
+ input: Types.AgentManaged197;
499
+ mcp_server_name: string;
500
+ name: string;
501
+ processed_at: string;
502
+ type: "agent.mcp_tool_use";
503
+ evaluated_permission?: "allow" | "deny" | "ask";
504
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
505
+ session_thread_id?: null | string;
506
+ permission_suggestions?: Array<{
507
+ type: "add_rules";
508
+ behavior: "allow";
509
+ destination: "agent" | "session";
510
+ rules: Array<{
511
+ tool_name: string;
512
+ rule_content: string;
513
+ }>;
514
+ }>;
515
+ full_access_available?: boolean;
516
+ user_once?: true;
517
+ guarded_rule?: string;
518
+ run_id: string | null;
519
+ _meta?: {
520
+ ui?: {
521
+ resourceUri?: string;
522
+ visibility?: Array<string>;
523
+ [key: string]: unknown;
524
+ };
525
+ "openai/ui"?: {
526
+ [key: string]: unknown;
527
+ };
528
+ };
529
+ source?: "app" | "codemode";
530
+ parent_tool_use_id?: string;
531
+ title?: string;
532
+ input_titles?: {
533
+ [key: string]: string;
534
+ };
535
+ } | {
536
+ id: string;
537
+ mcp_tool_use_id: string;
538
+ processed_at: string;
539
+ type: "agent.mcp_tool_result";
540
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
541
+ is_error?: null | false | true;
542
+ run_id: string | null;
543
+ structured_content?: unknown;
544
+ _meta?: {
545
+ [key: string]: unknown;
546
+ };
547
+ source?: "app" | "codemode";
548
+ } | {
549
+ id: string;
550
+ input: Types.AgentManaged206;
551
+ name: string;
552
+ processed_at: string;
553
+ type: "agent.tool_use";
554
+ evaluated_permission?: "allow" | "deny" | "ask";
555
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
556
+ session_thread_id?: null | string;
557
+ permission_suggestions?: Array<{
558
+ type: "add_rules";
559
+ behavior: "allow";
560
+ destination: "agent" | "session";
561
+ rules: Array<{
562
+ tool_name: string;
563
+ rule_content: string;
564
+ }>;
565
+ }>;
566
+ full_access_available?: boolean;
567
+ user_once?: true;
568
+ guarded_rule?: string;
569
+ run_id: string | null;
570
+ } | {
571
+ id: string;
572
+ processed_at: string;
573
+ tool_use_id: string;
574
+ type: "agent.tool_result";
575
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
576
+ is_error?: null | false | true;
577
+ run_id: string | null;
578
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
579
+ id: string;
580
+ processed_at: string;
581
+ type: "session.status_running";
582
+ run_id: string | null;
583
+ } | {
584
+ id: string;
585
+ processed_at: string;
586
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
587
+ type: "session.status_idle";
588
+ run_id: string | null;
589
+ } | 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 | {
590
+ id: string;
591
+ processed_at: string;
592
+ type: "session.updated";
593
+ agent?: null | Types.AgentManaged170;
594
+ budget?: null | Types.AgentManaged76;
595
+ metadata?: Types.AgentManaged246;
596
+ title?: null | string;
597
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
598
+ previous_permission_mode?: string | null;
599
+ permission_mode_version?: number;
600
+ model?: {
601
+ id: string;
602
+ };
603
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
604
+ id: string;
605
+ type: "session.forked";
606
+ processed_at: string;
607
+ forked_from_session_id: string;
608
+ forked_from_message_id: string;
609
+ } | {
610
+ id: string;
611
+ type: "session.goal_changed";
612
+ processed_at: string;
613
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
614
+ source: "command" | "runtime";
615
+ goal: {
616
+ goal_id: string;
617
+ objective: string;
618
+ summary_title: string | null;
619
+ status: "active" | "paused" | "budget_limited" | "complete";
620
+ token_budget: number | null;
621
+ tokens_used: number;
622
+ time_used_seconds: number;
623
+ iteration: number;
624
+ created_at: number;
625
+ updated_at: number;
626
+ } | null;
627
+ previous_goal: {
628
+ goal_id: string;
629
+ objective: string;
630
+ summary_title: string | null;
631
+ status: "active" | "paused" | "budget_limited" | "complete";
632
+ token_budget: number | null;
633
+ tokens_used: number;
634
+ time_used_seconds: number;
635
+ iteration: number;
636
+ created_at: number;
637
+ updated_at: number;
638
+ } | null;
639
+ } | {
640
+ id: string;
641
+ type: "session.goal_verification";
642
+ processed_at: string;
643
+ status: "started" | "completed" | "failed_closed" | "cancelled";
644
+ goal_id: string;
645
+ goal_iteration: number;
646
+ verification_id: string;
647
+ anchor_message_id: string | null;
648
+ verification?: {
649
+ passed: boolean;
650
+ reason: string;
651
+ next_action?: string;
652
+ };
653
+ } | {
654
+ id: string;
655
+ type: "user.steer";
656
+ event_id: string;
657
+ processed_at: string;
658
+ } | {
659
+ id: string;
660
+ type: "user.tool_confirmation";
661
+ processed_at: string;
662
+ tool_use_id: string;
663
+ result: "allow";
664
+ answers: {
665
+ [key: string]: string;
666
+ };
667
+ annotations?: {
668
+ [key: string]: {
669
+ preview?: string;
670
+ notes?: string;
671
+ };
672
+ };
673
+ }>;
674
+ next_page: string | null;
675
+ }>;
676
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
677
+ data?: Array<{
678
+ id: string;
679
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
680
+ type: "user.message";
681
+ processed_at?: null | string;
682
+ praxis_context?: {
683
+ items: Array<{
684
+ name: string;
685
+ value: string;
686
+ }>;
687
+ };
688
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
689
+ id: string;
690
+ type: "user.steer";
691
+ event_id: string;
692
+ processed_at: string;
693
+ } | {
694
+ id: string;
695
+ type: "user.tool_confirmation";
696
+ processed_at: string;
697
+ tool_use_id: string;
698
+ result: "allow";
699
+ answers: {
700
+ [key: string]: string;
701
+ };
702
+ annotations?: {
703
+ [key: string]: {
704
+ preview?: string;
705
+ notes?: string;
706
+ };
707
+ };
708
+ }>;
709
+ }>;
710
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
711
+ };
712
+ inbox: {
713
+ letters: {
714
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
715
+ unread: number;
716
+ letters: Array<{
717
+ id: string;
718
+ sender: string;
719
+ summary: string;
720
+ thread: string | null;
721
+ create_time: string;
722
+ }>;
723
+ }>;
724
+ };
725
+ };
468
726
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
727
  data: Array<{
470
728
  id: string;
@@ -480,6 +738,7 @@ export declare function createAgent(transport: Transport): {
480
738
  speed?: "standard" | "fast";
481
739
  settings?: {
482
740
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
741
+ max_output_tokens?: number;
483
742
  };
484
743
  };
485
744
  multiagent?: null | Types.AgentManaged39;
@@ -504,18 +763,25 @@ export declare function createAgent(transport: Transport): {
504
763
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
505
764
  id: string;
506
765
  access: "read_only" | "read_write" | "invoke";
766
+ customer_access?: "read_only" | "read_write" | "invoke";
507
767
  instructions?: string;
508
768
  readonly verified?: boolean;
509
769
  enabled?: boolean;
510
770
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
771
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
772
  readonly verified?: boolean;
513
773
  enabled?: boolean;
514
774
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
775
+ kind: "general" | "service" | "assume";
776
+ computers?: {
777
+ default: string;
778
+ allowed: Array<{
779
+ template: string;
780
+ name: string;
781
+ }>;
782
+ };
516
783
  computer_id?: string;
517
784
  subagent_model?: string | null;
518
- image_model?: string | null;
519
785
  subagents?: Array<{
520
786
  name: string;
521
787
  description: string;
@@ -606,6 +872,7 @@ export declare function createAgent(transport: Transport): {
606
872
  allowManagedHooksOnly?: boolean;
607
873
  allowManagedMcpServersOnly?: boolean;
608
874
  allowManagedPermissionRulesOnly?: boolean;
875
+ idleCompaction?: boolean;
609
876
  autoMemoryEnabled?: boolean;
610
877
  disabled?: {
611
878
  subagents?: Array<string>;
@@ -614,7 +881,6 @@ export declare function createAgent(transport: Transport): {
614
881
  mcpServers?: Array<string>;
615
882
  hooks?: Array<string>;
616
883
  };
617
- idleCompaction?: boolean;
618
884
  outputStyle?: string;
619
885
  } | null;
620
886
  models?: {
@@ -649,6 +915,7 @@ export declare function createAgent(transport: Transport): {
649
915
  speed?: "standard" | "fast";
650
916
  settings?: {
651
917
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
918
+ max_output_tokens?: number;
652
919
  };
653
920
  };
654
921
  multiagent?: null | Types.AgentManaged39;
@@ -674,18 +941,25 @@ export declare function createAgent(transport: Transport): {
674
941
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
675
942
  id: string;
676
943
  access: "read_only" | "read_write" | "invoke";
944
+ customer_access?: "read_only" | "read_write" | "invoke";
677
945
  instructions?: string;
678
946
  readonly verified?: boolean;
679
947
  enabled?: boolean;
680
948
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
949
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
950
  readonly verified?: boolean;
683
951
  enabled?: boolean;
684
952
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
953
+ kind: "general" | "service" | "assume";
954
+ computers?: {
955
+ default: string;
956
+ allowed: Array<{
957
+ template: string;
958
+ name: string;
959
+ }>;
960
+ };
686
961
  computer_id?: string;
687
962
  subagent_model?: string | null;
688
- image_model?: string | null;
689
963
  subagents?: Array<{
690
964
  name: string;
691
965
  description: string;
@@ -776,6 +1050,7 @@ export declare function createAgent(transport: Transport): {
776
1050
  allowManagedHooksOnly?: boolean;
777
1051
  allowManagedMcpServersOnly?: boolean;
778
1052
  allowManagedPermissionRulesOnly?: boolean;
1053
+ idleCompaction?: boolean;
779
1054
  autoMemoryEnabled?: boolean;
780
1055
  disabled?: {
781
1056
  subagents?: Array<string>;
@@ -784,7 +1059,6 @@ export declare function createAgent(transport: Transport): {
784
1059
  mcpServers?: Array<string>;
785
1060
  hooks?: Array<string>;
786
1061
  };
787
- idleCompaction?: boolean;
788
1062
  outputStyle?: string;
789
1063
  } | null;
790
1064
  models?: {
@@ -860,6 +1134,25 @@ export declare function createAgent(transport: Transport): {
860
1134
  history?: {
861
1135
  enabled?: boolean;
862
1136
  };
1137
+ uploads?: {
1138
+ enabled: boolean;
1139
+ max_file_bytes: number;
1140
+ max_files_per_session: number;
1141
+ };
1142
+ }>;
1143
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1144
+ allowed_origins: Array<string>;
1145
+ allow_localhost: boolean;
1146
+ uploads: {
1147
+ enabled: boolean;
1148
+ max_file_bytes: number;
1149
+ max_files_per_session: number;
1150
+ };
1151
+ share_links: {
1152
+ enabled: boolean;
1153
+ daily_session_cap: number | null;
1154
+ daily_spend_cap_micro_usd: number | null;
1155
+ };
863
1156
  }>;
864
1157
  unarchive: {
865
1158
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1206,7 @@ export declare function createAgent(transport: Transport): {
913
1206
  speed?: "standard" | "fast";
914
1207
  settings?: {
915
1208
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1209
+ max_output_tokens?: number;
916
1210
  };
917
1211
  };
918
1212
  multiagent?: null | {
@@ -1103,18 +1397,25 @@ export declare function createAgent(transport: Transport): {
1103
1397
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1104
1398
  id: string;
1105
1399
  access: "read_only" | "read_write" | "invoke";
1400
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1401
  instructions?: string;
1107
1402
  readonly verified?: boolean;
1108
1403
  enabled?: boolean;
1109
1404
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1405
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1406
  readonly verified?: boolean;
1112
1407
  enabled?: boolean;
1113
1408
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1409
+ kind: "general" | "service" | "assume";
1410
+ computers?: {
1411
+ default: string;
1412
+ allowed: Array<{
1413
+ template: string;
1414
+ name: string;
1415
+ }>;
1416
+ };
1115
1417
  computer_id?: string;
1116
1418
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1419
  subagents?: Array<{
1119
1420
  name: string;
1120
1421
  description: string;
@@ -1205,6 +1506,7 @@ export declare function createAgent(transport: Transport): {
1205
1506
  allowManagedHooksOnly?: boolean;
1206
1507
  allowManagedMcpServersOnly?: boolean;
1207
1508
  allowManagedPermissionRulesOnly?: boolean;
1509
+ idleCompaction?: boolean;
1208
1510
  autoMemoryEnabled?: boolean;
1209
1511
  disabled?: {
1210
1512
  subagents?: Array<string>;
@@ -1213,7 +1515,6 @@ export declare function createAgent(transport: Transport): {
1213
1515
  mcpServers?: Array<string>;
1214
1516
  hooks?: Array<string>;
1215
1517
  };
1216
- idleCompaction?: boolean;
1217
1518
  outputStyle?: string;
1218
1519
  } | null;
1219
1520
  models?: {
@@ -1247,6 +1548,7 @@ export declare function createAgent(transport: Transport): {
1247
1548
  speed?: "standard" | "fast";
1248
1549
  settings?: {
1249
1550
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1551
+ max_output_tokens?: number;
1250
1552
  };
1251
1553
  };
1252
1554
  multiagent?: null | Types.AgentManaged39;
@@ -1272,18 +1574,25 @@ export declare function createAgent(transport: Transport): {
1272
1574
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1273
1575
  id: string;
1274
1576
  access: "read_only" | "read_write" | "invoke";
1577
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1578
  instructions?: string;
1276
1579
  readonly verified?: boolean;
1277
1580
  enabled?: boolean;
1278
1581
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1582
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1583
  readonly verified?: boolean;
1281
1584
  enabled?: boolean;
1282
1585
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1586
+ kind: "general" | "service" | "assume";
1587
+ computers?: {
1588
+ default: string;
1589
+ allowed: Array<{
1590
+ template: string;
1591
+ name: string;
1592
+ }>;
1593
+ };
1284
1594
  computer_id?: string;
1285
1595
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1596
  subagents?: Array<{
1288
1597
  name: string;
1289
1598
  description: string;
@@ -1374,6 +1683,7 @@ export declare function createAgent(transport: Transport): {
1374
1683
  allowManagedHooksOnly?: boolean;
1375
1684
  allowManagedMcpServersOnly?: boolean;
1376
1685
  allowManagedPermissionRulesOnly?: boolean;
1686
+ idleCompaction?: boolean;
1377
1687
  autoMemoryEnabled?: boolean;
1378
1688
  disabled?: {
1379
1689
  subagents?: Array<string>;
@@ -1382,7 +1692,6 @@ export declare function createAgent(transport: Transport): {
1382
1692
  mcpServers?: Array<string>;
1383
1693
  hooks?: Array<string>;
1384
1694
  };
1385
- idleCompaction?: boolean;
1386
1695
  outputStyle?: string;
1387
1696
  } | null;
1388
1697
  models?: {
@@ -1401,28 +1710,245 @@ export declare function createAgent(transport: Transport): {
1401
1710
  keep_coding_instructions?: boolean;
1402
1711
  }> | null;
1403
1712
  }>;
1713
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1714
+ allowed_origins: Array<string>;
1715
+ allow_localhost: boolean;
1716
+ uploads: {
1717
+ enabled: boolean;
1718
+ max_file_bytes: number;
1719
+ max_files_per_session: number;
1720
+ };
1721
+ share_links: {
1722
+ enabled: boolean;
1723
+ daily_session_cap: number | null;
1724
+ daily_spend_cap_micro_usd: number | null;
1725
+ };
1726
+ }>;
1404
1727
  versions: {
1405
1728
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1729
  id: string;
1407
1730
  archived_at: null | string;
1408
1731
  created_at: string;
1409
1732
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1733
+ mcp_servers: Array<{
1734
+ type: "url";
1735
+ name: string;
1736
+ url: string;
1737
+ headers?: {
1738
+ [key: string]: string;
1739
+ };
1740
+ timeout_ms?: number;
1741
+ } | {
1742
+ type: "sse";
1743
+ name: string;
1744
+ url: string;
1745
+ headers?: {
1746
+ [key: string]: string;
1747
+ };
1748
+ timeout_ms?: number;
1749
+ } | {
1750
+ type: "stdio";
1751
+ name: string;
1752
+ command: string;
1753
+ args?: Array<string>;
1754
+ env?: {
1755
+ [key: string]: string;
1756
+ };
1757
+ timeout_ms?: number;
1758
+ }>;
1759
+ metadata: {
1760
+ [key: string]: string;
1761
+ };
1412
1762
  model?: {
1413
1763
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1764
+ effort?: {
1765
+ type: "low";
1766
+ } | {
1767
+ type: "medium";
1768
+ } | {
1769
+ type: "high";
1770
+ } | {
1771
+ type: "xhigh";
1772
+ } | {
1773
+ type: "max";
1774
+ };
1415
1775
  inference_geo?: string;
1416
1776
  speed?: "standard" | "fast";
1417
1777
  settings?: {
1418
1778
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1779
+ max_output_tokens?: number;
1780
+ };
1781
+ };
1782
+ multiagent?: null | {
1783
+ agents: Array<{
1784
+ id: string;
1785
+ type: "agent";
1786
+ version: number;
1787
+ } | {
1788
+ model: string;
1789
+ type: "advisor";
1790
+ }>;
1791
+ type: "coordinator";
1792
+ };
1793
+ name: string;
1794
+ skills: Array<{
1795
+ skill_id: string;
1796
+ type: "anthropic";
1797
+ version: string;
1798
+ } | {
1799
+ skill_id: string;
1800
+ type: "custom";
1801
+ version: string;
1802
+ }>;
1803
+ system: null | string;
1804
+ tools: Array<{
1805
+ configs: Array<{
1806
+ enabled: boolean;
1807
+ name: "bash";
1808
+ permission_policy: {
1809
+ type: "always_allow";
1810
+ } | {
1811
+ type: "always_ask";
1812
+ } | {
1813
+ type: "auto";
1814
+ };
1815
+ type: "bash";
1816
+ } | {
1817
+ enabled: boolean;
1818
+ name: "edit";
1819
+ permission_policy: {
1820
+ type: "always_allow";
1821
+ } | {
1822
+ type: "always_ask";
1823
+ } | {
1824
+ type: "auto";
1825
+ };
1826
+ type: "edit";
1827
+ } | {
1828
+ enabled: boolean;
1829
+ name: "read";
1830
+ permission_policy: {
1831
+ type: "always_allow";
1832
+ } | {
1833
+ type: "always_ask";
1834
+ } | {
1835
+ type: "auto";
1836
+ };
1837
+ type: "read";
1838
+ } | {
1839
+ enabled: boolean;
1840
+ name: "write";
1841
+ permission_policy: {
1842
+ type: "always_allow";
1843
+ } | {
1844
+ type: "always_ask";
1845
+ } | {
1846
+ type: "auto";
1847
+ };
1848
+ type: "write";
1849
+ } | {
1850
+ enabled: boolean;
1851
+ name: "glob";
1852
+ permission_policy: {
1853
+ type: "always_allow";
1854
+ } | {
1855
+ type: "always_ask";
1856
+ } | {
1857
+ type: "auto";
1858
+ };
1859
+ type: "glob";
1860
+ } | {
1861
+ enabled: boolean;
1862
+ name: "grep";
1863
+ permission_policy: {
1864
+ type: "always_allow";
1865
+ } | {
1866
+ type: "always_ask";
1867
+ } | {
1868
+ type: "auto";
1869
+ };
1870
+ type: "grep";
1871
+ } | {
1872
+ enabled: boolean;
1873
+ name: "web_fetch";
1874
+ permission_policy: {
1875
+ type: "always_allow";
1876
+ } | {
1877
+ type: "always_ask";
1878
+ } | {
1879
+ type: "auto";
1880
+ };
1881
+ type: "web_fetch";
1882
+ allowed_domains?: Array<string>;
1883
+ blocked_domains?: Array<string>;
1884
+ max_content_tokens?: null | number;
1885
+ } | {
1886
+ enabled: boolean;
1887
+ name: "web_search";
1888
+ permission_policy: {
1889
+ type: "always_allow";
1890
+ } | {
1891
+ type: "always_ask";
1892
+ } | {
1893
+ type: "auto";
1894
+ };
1895
+ type: "web_search";
1896
+ allowed_domains?: Array<string>;
1897
+ blocked_domains?: Array<string>;
1898
+ user_location?: null | {
1899
+ type: "approximate";
1900
+ city?: null | string;
1901
+ country?: null | string;
1902
+ region?: null | string;
1903
+ timezone?: null | string;
1904
+ };
1905
+ } | {
1906
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1907
+ enabled: boolean;
1908
+ permission_policy: {
1909
+ type: "always_allow" | "always_ask";
1910
+ };
1911
+ }>;
1912
+ default_config: {
1913
+ enabled: boolean;
1914
+ permission_policy: {
1915
+ type: "always_allow";
1916
+ } | {
1917
+ type: "always_ask";
1918
+ } | {
1919
+ type: "auto";
1920
+ };
1921
+ };
1922
+ type: "agent_toolset_20260401";
1923
+ } | {
1924
+ type: "mcp_toolset";
1925
+ mcp_server_name: string;
1926
+ default_config?: {
1927
+ enabled?: boolean | null;
1928
+ permission_policy?: null | {
1929
+ type: "always_allow" | "always_ask";
1930
+ };
1931
+ } | null;
1932
+ configs?: Array<{
1933
+ name: string;
1934
+ enabled?: boolean | null;
1935
+ permission_policy?: null | {
1936
+ type: "always_allow" | "always_ask";
1937
+ };
1938
+ }> | null;
1939
+ } | {
1940
+ description: string;
1941
+ input_schema: {
1942
+ type: "object";
1943
+ properties?: null | {
1944
+ [key: string]: unknown;
1945
+ };
1946
+ required?: null | Array<string>;
1947
+ [key: string]: unknown;
1419
1948
  };
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>;
1949
+ name: string;
1950
+ type: "custom";
1951
+ }>;
1426
1952
  type: "agent";
1427
1953
  updated_at: string;
1428
1954
  version: number;
@@ -1441,18 +1967,25 @@ export declare function createAgent(transport: Transport): {
1441
1967
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1442
1968
  id: string;
1443
1969
  access: "read_only" | "read_write" | "invoke";
1970
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
1971
  instructions?: string;
1445
1972
  readonly verified?: boolean;
1446
1973
  enabled?: boolean;
1447
1974
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1975
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1976
  readonly verified?: boolean;
1450
1977
  enabled?: boolean;
1451
1978
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
1979
+ kind: "general" | "service" | "assume";
1980
+ computers?: {
1981
+ default: string;
1982
+ allowed: Array<{
1983
+ template: string;
1984
+ name: string;
1985
+ }>;
1986
+ };
1453
1987
  computer_id?: string;
1454
1988
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1989
  subagents?: Array<{
1457
1990
  name: string;
1458
1991
  description: string;
@@ -1543,6 +2076,7 @@ export declare function createAgent(transport: Transport): {
1543
2076
  allowManagedHooksOnly?: boolean;
1544
2077
  allowManagedMcpServersOnly?: boolean;
1545
2078
  allowManagedPermissionRulesOnly?: boolean;
2079
+ idleCompaction?: boolean;
1546
2080
  autoMemoryEnabled?: boolean;
1547
2081
  disabled?: {
1548
2082
  subagents?: Array<string>;
@@ -1551,7 +2085,6 @@ export declare function createAgent(transport: Transport): {
1551
2085
  mcpServers?: Array<string>;
1552
2086
  hooks?: Array<string>;
1553
2087
  };
1554
- idleCompaction?: boolean;
1555
2088
  outputStyle?: string;
1556
2089
  } | null;
1557
2090
  models?: {
@@ -1585,6 +2118,7 @@ export declare function createAgent(transport: Transport): {
1585
2118
  speed?: "standard" | "fast";
1586
2119
  settings?: {
1587
2120
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2121
+ max_output_tokens?: number;
1588
2122
  };
1589
2123
  };
1590
2124
  multiagent?: null | Types.AgentManaged39;
@@ -1610,18 +2144,25 @@ export declare function createAgent(transport: Transport): {
1610
2144
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1611
2145
  id: string;
1612
2146
  access: "read_only" | "read_write" | "invoke";
2147
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2148
  instructions?: string;
1614
2149
  readonly verified?: boolean;
1615
2150
  enabled?: boolean;
1616
2151
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2152
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2153
  readonly verified?: boolean;
1619
2154
  enabled?: boolean;
1620
2155
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2156
+ kind: "general" | "service" | "assume";
2157
+ computers?: {
2158
+ default: string;
2159
+ allowed: Array<{
2160
+ template: string;
2161
+ name: string;
2162
+ }>;
2163
+ };
1622
2164
  computer_id?: string;
1623
2165
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2166
  subagents?: Array<{
1626
2167
  name: string;
1627
2168
  description: string;
@@ -1712,6 +2253,7 @@ export declare function createAgent(transport: Transport): {
1712
2253
  allowManagedHooksOnly?: boolean;
1713
2254
  allowManagedMcpServersOnly?: boolean;
1714
2255
  allowManagedPermissionRulesOnly?: boolean;
2256
+ idleCompaction?: boolean;
1715
2257
  autoMemoryEnabled?: boolean;
1716
2258
  disabled?: {
1717
2259
  subagents?: Array<string>;
@@ -1720,7 +2262,6 @@ export declare function createAgent(transport: Transport): {
1720
2262
  mcpServers?: Array<string>;
1721
2263
  hooks?: Array<string>;
1722
2264
  };
1723
- idleCompaction?: boolean;
1724
2265
  outputStyle?: string;
1725
2266
  } | null;
1726
2267
  models?: {
@@ -1795,16 +2336,9 @@ export declare function createAgent(transport: Transport): {
1795
2336
  files: {
1796
2337
  convert: {
1797
2338
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1798
- type: "computer";
1799
- id: string;
1800
- name: string;
1801
- sandbox_id: string | null;
1802
- machine_state: "not_started" | "provisioned";
1803
- environment_id: string | null;
1804
- status: "active" | "archived";
1805
- created_at: string;
1806
- updated_at: string;
1807
- archived_at: string | null;
2339
+ data: string;
2340
+ mime: "application/pdf";
2341
+ cached: boolean;
1808
2342
  }>;
1809
2343
  };
1810
2344
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1862,6 +2396,7 @@ export declare function createAgent(transport: Transport): {
1862
2396
  created_at: string;
1863
2397
  updated_at: string;
1864
2398
  archived_at: string | null;
2399
+ machine: "light" | "full";
1865
2400
  implementation: "virtual" | "sandbox";
1866
2401
  storage_bytes: number;
1867
2402
  file_count: number;
@@ -2167,6 +2702,538 @@ export declare function createAgent(transport: Transport): {
2167
2702
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2168
2703
  };
2169
2704
  sessions: {
2705
+ agentVersion: {
2706
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2707
+ id: string;
2708
+ agent: {
2709
+ id: string;
2710
+ description: null | string;
2711
+ mcp_servers: Array<{
2712
+ type: "url";
2713
+ name: string;
2714
+ url: string;
2715
+ headers?: {
2716
+ [key: string]: string;
2717
+ };
2718
+ timeout_ms?: number;
2719
+ } | {
2720
+ type: "sse";
2721
+ name: string;
2722
+ url: string;
2723
+ headers?: {
2724
+ [key: string]: string;
2725
+ };
2726
+ timeout_ms?: number;
2727
+ } | {
2728
+ type: "stdio";
2729
+ name: string;
2730
+ command: string;
2731
+ args?: Array<string>;
2732
+ env?: {
2733
+ [key: string]: string;
2734
+ };
2735
+ timeout_ms?: number;
2736
+ }>;
2737
+ model: {
2738
+ id: string;
2739
+ effort?: {
2740
+ type: "low";
2741
+ } | {
2742
+ type: "medium";
2743
+ } | {
2744
+ type: "high";
2745
+ } | {
2746
+ type: "xhigh";
2747
+ } | {
2748
+ type: "max";
2749
+ };
2750
+ inference_geo?: string;
2751
+ speed?: "standard" | "fast";
2752
+ settings?: {
2753
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2754
+ max_output_tokens?: number;
2755
+ };
2756
+ };
2757
+ multiagent: null | {
2758
+ agents: Array<{
2759
+ model: string;
2760
+ type: "advisor";
2761
+ } | {
2762
+ id: string;
2763
+ description: null | string;
2764
+ mcp_servers: Array<{
2765
+ type: "url";
2766
+ name: string;
2767
+ url: string;
2768
+ headers?: {
2769
+ [key: string]: string;
2770
+ };
2771
+ timeout_ms?: number;
2772
+ } | {
2773
+ type: "sse";
2774
+ name: string;
2775
+ url: string;
2776
+ headers?: {
2777
+ [key: string]: string;
2778
+ };
2779
+ timeout_ms?: number;
2780
+ } | {
2781
+ type: "stdio";
2782
+ name: string;
2783
+ command: string;
2784
+ args?: Array<string>;
2785
+ env?: {
2786
+ [key: string]: string;
2787
+ };
2788
+ timeout_ms?: number;
2789
+ }>;
2790
+ model: {
2791
+ id: string;
2792
+ effort?: {
2793
+ type: "low";
2794
+ } | {
2795
+ type: "medium";
2796
+ } | {
2797
+ type: "high";
2798
+ } | {
2799
+ type: "xhigh";
2800
+ } | {
2801
+ type: "max";
2802
+ };
2803
+ inference_geo?: string;
2804
+ speed?: "standard" | "fast";
2805
+ };
2806
+ name: string;
2807
+ skills: Array<{
2808
+ skill_id: string;
2809
+ type: "anthropic";
2810
+ version: string;
2811
+ } | {
2812
+ skill_id: string;
2813
+ type: "custom";
2814
+ version: string;
2815
+ }>;
2816
+ system: null | string;
2817
+ tools: Array<{
2818
+ configs: Array<{
2819
+ enabled: boolean;
2820
+ name: "bash";
2821
+ permission_policy: {
2822
+ type: "always_allow";
2823
+ } | {
2824
+ type: "always_ask";
2825
+ } | {
2826
+ type: "auto";
2827
+ };
2828
+ type: "bash";
2829
+ } | {
2830
+ enabled: boolean;
2831
+ name: "edit";
2832
+ permission_policy: {
2833
+ type: "always_allow";
2834
+ } | {
2835
+ type: "always_ask";
2836
+ } | {
2837
+ type: "auto";
2838
+ };
2839
+ type: "edit";
2840
+ } | {
2841
+ enabled: boolean;
2842
+ name: "read";
2843
+ permission_policy: {
2844
+ type: "always_allow";
2845
+ } | {
2846
+ type: "always_ask";
2847
+ } | {
2848
+ type: "auto";
2849
+ };
2850
+ type: "read";
2851
+ } | {
2852
+ enabled: boolean;
2853
+ name: "write";
2854
+ permission_policy: {
2855
+ type: "always_allow";
2856
+ } | {
2857
+ type: "always_ask";
2858
+ } | {
2859
+ type: "auto";
2860
+ };
2861
+ type: "write";
2862
+ } | {
2863
+ enabled: boolean;
2864
+ name: "glob";
2865
+ permission_policy: {
2866
+ type: "always_allow";
2867
+ } | {
2868
+ type: "always_ask";
2869
+ } | {
2870
+ type: "auto";
2871
+ };
2872
+ type: "glob";
2873
+ } | {
2874
+ enabled: boolean;
2875
+ name: "grep";
2876
+ permission_policy: {
2877
+ type: "always_allow";
2878
+ } | {
2879
+ type: "always_ask";
2880
+ } | {
2881
+ type: "auto";
2882
+ };
2883
+ type: "grep";
2884
+ } | {
2885
+ enabled: boolean;
2886
+ name: "web_fetch";
2887
+ permission_policy: {
2888
+ type: "always_allow";
2889
+ } | {
2890
+ type: "always_ask";
2891
+ } | {
2892
+ type: "auto";
2893
+ };
2894
+ type: "web_fetch";
2895
+ allowed_domains?: Array<string>;
2896
+ blocked_domains?: Array<string>;
2897
+ max_content_tokens?: null | number;
2898
+ } | {
2899
+ enabled: boolean;
2900
+ name: "web_search";
2901
+ permission_policy: {
2902
+ type: "always_allow";
2903
+ } | {
2904
+ type: "always_ask";
2905
+ } | {
2906
+ type: "auto";
2907
+ };
2908
+ type: "web_search";
2909
+ allowed_domains?: Array<string>;
2910
+ blocked_domains?: Array<string>;
2911
+ user_location?: null | {
2912
+ type: "approximate";
2913
+ city?: null | string;
2914
+ country?: null | string;
2915
+ region?: null | string;
2916
+ timezone?: null | string;
2917
+ };
2918
+ } | {
2919
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2920
+ enabled: boolean;
2921
+ permission_policy: {
2922
+ type: "always_allow" | "always_ask";
2923
+ };
2924
+ }>;
2925
+ default_config: {
2926
+ enabled: boolean;
2927
+ permission_policy: {
2928
+ type: "always_allow";
2929
+ } | {
2930
+ type: "always_ask";
2931
+ } | {
2932
+ type: "auto";
2933
+ };
2934
+ };
2935
+ type: "agent_toolset_20260401";
2936
+ } | {
2937
+ type: "mcp_toolset";
2938
+ mcp_server_name: string;
2939
+ default_config?: {
2940
+ enabled?: boolean | null;
2941
+ permission_policy?: null | {
2942
+ type: "always_allow" | "always_ask";
2943
+ };
2944
+ } | null;
2945
+ configs?: Array<{
2946
+ name: string;
2947
+ enabled?: boolean | null;
2948
+ permission_policy?: null | {
2949
+ type: "always_allow" | "always_ask";
2950
+ };
2951
+ }> | null;
2952
+ } | {
2953
+ description: string;
2954
+ input_schema: {
2955
+ type: "object";
2956
+ properties?: null | {
2957
+ [key: string]: unknown;
2958
+ };
2959
+ required?: null | Array<string>;
2960
+ [key: string]: unknown;
2961
+ };
2962
+ name: string;
2963
+ type: "custom";
2964
+ }>;
2965
+ type: "agent";
2966
+ version: number;
2967
+ }>;
2968
+ type: "coordinator";
2969
+ };
2970
+ name: string;
2971
+ skills: Array<{
2972
+ skill_id: string;
2973
+ type: "anthropic";
2974
+ version: string;
2975
+ } | {
2976
+ skill_id: string;
2977
+ type: "custom";
2978
+ version: string;
2979
+ }>;
2980
+ system: null | string;
2981
+ tools: Array<{
2982
+ configs: Array<{
2983
+ enabled: boolean;
2984
+ name: "bash";
2985
+ permission_policy: {
2986
+ type: "always_allow";
2987
+ } | {
2988
+ type: "always_ask";
2989
+ } | {
2990
+ type: "auto";
2991
+ };
2992
+ type: "bash";
2993
+ } | {
2994
+ enabled: boolean;
2995
+ name: "edit";
2996
+ permission_policy: {
2997
+ type: "always_allow";
2998
+ } | {
2999
+ type: "always_ask";
3000
+ } | {
3001
+ type: "auto";
3002
+ };
3003
+ type: "edit";
3004
+ } | {
3005
+ enabled: boolean;
3006
+ name: "read";
3007
+ permission_policy: {
3008
+ type: "always_allow";
3009
+ } | {
3010
+ type: "always_ask";
3011
+ } | {
3012
+ type: "auto";
3013
+ };
3014
+ type: "read";
3015
+ } | {
3016
+ enabled: boolean;
3017
+ name: "write";
3018
+ permission_policy: {
3019
+ type: "always_allow";
3020
+ } | {
3021
+ type: "always_ask";
3022
+ } | {
3023
+ type: "auto";
3024
+ };
3025
+ type: "write";
3026
+ } | {
3027
+ enabled: boolean;
3028
+ name: "glob";
3029
+ permission_policy: {
3030
+ type: "always_allow";
3031
+ } | {
3032
+ type: "always_ask";
3033
+ } | {
3034
+ type: "auto";
3035
+ };
3036
+ type: "glob";
3037
+ } | {
3038
+ enabled: boolean;
3039
+ name: "grep";
3040
+ permission_policy: {
3041
+ type: "always_allow";
3042
+ } | {
3043
+ type: "always_ask";
3044
+ } | {
3045
+ type: "auto";
3046
+ };
3047
+ type: "grep";
3048
+ } | {
3049
+ enabled: boolean;
3050
+ name: "web_fetch";
3051
+ permission_policy: {
3052
+ type: "always_allow";
3053
+ } | {
3054
+ type: "always_ask";
3055
+ } | {
3056
+ type: "auto";
3057
+ };
3058
+ type: "web_fetch";
3059
+ allowed_domains?: Array<string>;
3060
+ blocked_domains?: Array<string>;
3061
+ max_content_tokens?: null | number;
3062
+ } | {
3063
+ enabled: boolean;
3064
+ name: "web_search";
3065
+ permission_policy: {
3066
+ type: "always_allow";
3067
+ } | {
3068
+ type: "always_ask";
3069
+ } | {
3070
+ type: "auto";
3071
+ };
3072
+ type: "web_search";
3073
+ allowed_domains?: Array<string>;
3074
+ blocked_domains?: Array<string>;
3075
+ user_location?: null | {
3076
+ type: "approximate";
3077
+ city?: null | string;
3078
+ country?: null | string;
3079
+ region?: null | string;
3080
+ timezone?: null | string;
3081
+ };
3082
+ } | {
3083
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3084
+ enabled: boolean;
3085
+ permission_policy: {
3086
+ type: "always_allow" | "always_ask";
3087
+ };
3088
+ }>;
3089
+ default_config: {
3090
+ enabled: boolean;
3091
+ permission_policy: {
3092
+ type: "always_allow";
3093
+ } | {
3094
+ type: "always_ask";
3095
+ } | {
3096
+ type: "auto";
3097
+ };
3098
+ };
3099
+ type: "agent_toolset_20260401";
3100
+ } | {
3101
+ type: "mcp_toolset";
3102
+ mcp_server_name: string;
3103
+ default_config?: {
3104
+ enabled?: boolean | null;
3105
+ permission_policy?: null | {
3106
+ type: "always_allow" | "always_ask";
3107
+ };
3108
+ } | null;
3109
+ configs?: Array<{
3110
+ name: string;
3111
+ enabled?: boolean | null;
3112
+ permission_policy?: null | {
3113
+ type: "always_allow" | "always_ask";
3114
+ };
3115
+ }> | null;
3116
+ } | {
3117
+ description: string;
3118
+ input_schema: {
3119
+ type: "object";
3120
+ properties?: null | {
3121
+ [key: string]: unknown;
3122
+ };
3123
+ required?: null | Array<string>;
3124
+ [key: string]: unknown;
3125
+ };
3126
+ name: string;
3127
+ type: "custom";
3128
+ }>;
3129
+ type: "agent";
3130
+ version: number;
3131
+ };
3132
+ archived_at: null | string;
3133
+ budget: null | {
3134
+ max_list_cost: {
3135
+ amount: string;
3136
+ currency: "USD";
3137
+ };
3138
+ type: "limit";
3139
+ };
3140
+ created_at: string;
3141
+ environment_id?: string;
3142
+ metadata: {
3143
+ [key: string]: string;
3144
+ };
3145
+ outcome_evaluations: Array<{
3146
+ completed_at: null | string;
3147
+ description: string;
3148
+ explanation: null | string;
3149
+ iteration: number;
3150
+ outcome_id: string;
3151
+ result: string;
3152
+ type: "outcome_evaluation";
3153
+ }>;
3154
+ resources: Array<{
3155
+ id: string;
3156
+ created_at: string;
3157
+ mount_path: string;
3158
+ type: "github_repository";
3159
+ updated_at: string;
3160
+ url: string;
3161
+ checkout?: null | {
3162
+ name: string;
3163
+ type: "branch";
3164
+ } | {
3165
+ sha: string;
3166
+ type: "commit";
3167
+ };
3168
+ } | {
3169
+ id: string;
3170
+ created_at: string;
3171
+ file_id: string;
3172
+ mount_path: string;
3173
+ type: "file";
3174
+ updated_at: string;
3175
+ } | {
3176
+ memory_store_id: string;
3177
+ type: "memory_store";
3178
+ access?: null | "read_write" | "read_only";
3179
+ description?: string;
3180
+ instructions?: null | string;
3181
+ mount_path?: null | string;
3182
+ name?: null | string;
3183
+ }>;
3184
+ stats: {
3185
+ active_seconds?: number;
3186
+ duration_seconds?: number;
3187
+ };
3188
+ status: "rescheduling" | "running" | "idle" | "terminated";
3189
+ title: null | string;
3190
+ type: "session";
3191
+ updated_at: string;
3192
+ usage: {
3193
+ active_seconds?: number;
3194
+ cache_creation?: {
3195
+ ephemeral_1h_input_tokens?: number;
3196
+ ephemeral_5m_input_tokens?: number;
3197
+ };
3198
+ cache_read_input_tokens?: number;
3199
+ input_tokens?: number;
3200
+ list_cost?: null | {
3201
+ amount: string;
3202
+ currency: "USD";
3203
+ };
3204
+ output_tokens?: number;
3205
+ server_tool_use?: null | {
3206
+ web_fetch_requests?: number;
3207
+ web_search_requests?: number;
3208
+ };
3209
+ cost_by_product?: {
3210
+ [key: string]: string;
3211
+ };
3212
+ subagent_cost_micro_usd?: number;
3213
+ };
3214
+ vault_ids: Array<string>;
3215
+ deployment_id?: null | string;
3216
+ cwd: string;
3217
+ computer_id?: string;
3218
+ model?: {
3219
+ id: string;
3220
+ thinking: {
3221
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3222
+ can_disable: boolean;
3223
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3224
+ } | null;
3225
+ };
3226
+ thinking?: {
3227
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3228
+ } | null;
3229
+ forked_from?: {
3230
+ session_id: string;
3231
+ message_id: string;
3232
+ } | null;
3233
+ readonly external_user_id: string | null;
3234
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3235
+ }>;
3236
+ };
2170
3237
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2171
3238
  id: string;
2172
3239
  agent: {
@@ -2180,6 +3247,7 @@ export declare function createAgent(transport: Transport): {
2180
3247
  speed?: "standard" | "fast";
2181
3248
  settings?: {
2182
3249
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3250
+ max_output_tokens?: number;
2183
3251
  };
2184
3252
  };
2185
3253
  multiagent: null | Types.AgentManaged171;
@@ -2225,6 +3293,40 @@ export declare function createAgent(transport: Transport): {
2225
3293
  readonly external_user_id: string | null;
2226
3294
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2227
3295
  }>;
3296
+ artifacts: {
3297
+ contentUrl: {
3298
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3299
+ url: string;
3300
+ expire_time: string;
3301
+ }>;
3302
+ };
3303
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3304
+ data: Array<{
3305
+ object: "artifact";
3306
+ id: string;
3307
+ session_id: string;
3308
+ run_id: string | null;
3309
+ name: string;
3310
+ version: number;
3311
+ parts: Array<{
3312
+ kind: "file";
3313
+ file_id: string;
3314
+ filename: string;
3315
+ mime_type: string;
3316
+ bytes: number;
3317
+ } | {
3318
+ kind: "object";
3319
+ object_type: "canvas" | "media_asset";
3320
+ object_id: string;
3321
+ href: string;
3322
+ title: string | null;
3323
+ }>;
3324
+ source_hrefs: Array<string>;
3325
+ create_time: string;
3326
+ update_time: string;
3327
+ }>;
3328
+ }>;
3329
+ };
2228
3330
  backgroundTasks: {
2229
3331
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2230
3332
  data: Array<{
@@ -2307,6 +3409,7 @@ export declare function createAgent(transport: Transport): {
2307
3409
  speed?: "standard" | "fast";
2308
3410
  settings?: {
2309
3411
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3412
+ max_output_tokens?: number;
2310
3413
  };
2311
3414
  };
2312
3415
  multiagent: null | Types.AgentManaged171;
@@ -2393,7 +3496,6 @@ export declare function createAgent(transport: Transport): {
2393
3496
  run_id: string | null;
2394
3497
  message_id?: string;
2395
3498
  } | {
2396
- full_access_available?: boolean;
2397
3499
  id: string;
2398
3500
  input: Types.AgentManaged197;
2399
3501
  mcp_server_name: string;
@@ -2403,6 +3505,18 @@ export declare function createAgent(transport: Transport): {
2403
3505
  evaluated_permission?: "allow" | "deny" | "ask";
2404
3506
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2405
3507
  session_thread_id?: null | string;
3508
+ permission_suggestions?: Array<{
3509
+ type: "add_rules";
3510
+ behavior: "allow";
3511
+ destination: "agent" | "session";
3512
+ rules: Array<{
3513
+ tool_name: string;
3514
+ rule_content: string;
3515
+ }>;
3516
+ }>;
3517
+ full_access_available?: boolean;
3518
+ user_once?: true;
3519
+ guarded_rule?: string;
2406
3520
  run_id: string | null;
2407
3521
  _meta?: {
2408
3522
  ui?: {
@@ -2416,17 +3530,6 @@ export declare function createAgent(transport: Transport): {
2416
3530
  };
2417
3531
  source?: "app" | "codemode";
2418
3532
  parent_tool_use_id?: string;
2419
- user_once?: true;
2420
- guarded_rule?: string;
2421
- permission_suggestions?: Array<{
2422
- type: "add_rules";
2423
- behavior: "allow";
2424
- destination: "agent" | "session";
2425
- rules: Array<{
2426
- tool_name: string;
2427
- rule_content: string;
2428
- }>;
2429
- }>;
2430
3533
  title?: string;
2431
3534
  input_titles?: {
2432
3535
  [key: string]: string;
@@ -2445,7 +3548,6 @@ export declare function createAgent(transport: Transport): {
2445
3548
  };
2446
3549
  source?: "app" | "codemode";
2447
3550
  } | {
2448
- full_access_available?: boolean;
2449
3551
  id: string;
2450
3552
  input: Types.AgentManaged206;
2451
3553
  name: string;
@@ -2454,9 +3556,6 @@ export declare function createAgent(transport: Transport): {
2454
3556
  evaluated_permission?: "allow" | "deny" | "ask";
2455
3557
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2456
3558
  session_thread_id?: null | string;
2457
- run_id: string | null;
2458
- user_once?: true;
2459
- guarded_rule?: string;
2460
3559
  permission_suggestions?: Array<{
2461
3560
  type: "add_rules";
2462
3561
  behavior: "allow";
@@ -2466,6 +3565,10 @@ export declare function createAgent(transport: Transport): {
2466
3565
  rule_content: string;
2467
3566
  }>;
2468
3567
  }>;
3568
+ full_access_available?: boolean;
3569
+ user_once?: true;
3570
+ guarded_rule?: string;
3571
+ run_id: string | null;
2469
3572
  } | {
2470
3573
  id: string;
2471
3574
  processed_at: string;
@@ -2486,9 +3589,6 @@ export declare function createAgent(transport: Transport): {
2486
3589
  type: "session.status_idle";
2487
3590
  run_id: string | null;
2488
3591
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2489
- permission_mode_version?: number;
2490
- previous_permission_mode?: string | null;
2491
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2492
3592
  id: string;
2493
3593
  processed_at: string;
2494
3594
  type: "session.updated";
@@ -2496,6 +3596,9 @@ export declare function createAgent(transport: Transport): {
2496
3596
  budget?: null | Types.AgentManaged76;
2497
3597
  metadata?: Types.AgentManaged246;
2498
3598
  title?: null | string;
3599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3600
+ previous_permission_mode?: string | null;
3601
+ permission_mode_version?: number;
2499
3602
  model?: {
2500
3603
  id: string;
2501
3604
  };
@@ -2656,6 +3759,7 @@ export declare function createAgent(transport: Transport): {
2656
3759
  speed?: "standard" | "fast";
2657
3760
  settings?: {
2658
3761
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3762
+ max_output_tokens?: number;
2659
3763
  };
2660
3764
  };
2661
3765
  multiagent: null | {
@@ -3151,6 +4255,7 @@ export declare function createAgent(transport: Transport): {
3151
4255
  speed?: "standard" | "fast";
3152
4256
  settings?: {
3153
4257
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4258
+ max_output_tokens?: number;
3154
4259
  };
3155
4260
  };
3156
4261
  multiagent: null | Types.AgentManaged171;
@@ -3198,6 +4303,20 @@ export declare function createAgent(transport: Transport): {
3198
4303
  }>;
3199
4304
  next_page: string | null;
3200
4305
  }>;
4306
+ requests: {
4307
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4308
+ data: Array<{
4309
+ id: string;
4310
+ object: "request";
4311
+ kind: "question" | "approval";
4312
+ status: "pending";
4313
+ tool_name: string;
4314
+ input: unknown;
4315
+ create_time: string;
4316
+ expire_time: string | null;
4317
+ }>;
4318
+ }>;
4319
+ };
3201
4320
  resources: {
3202
4321
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3203
4322
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3228,6 +4347,7 @@ export declare function createAgent(transport: Transport): {
3228
4347
  speed?: "standard" | "fast";
3229
4348
  settings?: {
3230
4349
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4350
+ max_output_tokens?: number;
3231
4351
  };
3232
4352
  };
3233
4353
  multiagent: null | Types.AgentManaged171;
@@ -3400,7 +4520,6 @@ export declare function createAgent(transport: Transport): {
3400
4520
  run_id: string | null;
3401
4521
  message_id?: string;
3402
4522
  } | {
3403
- full_access_available?: boolean;
3404
4523
  id: string;
3405
4524
  input: Types.AgentManaged197;
3406
4525
  mcp_server_name: string;
@@ -3410,6 +4529,18 @@ export declare function createAgent(transport: Transport): {
3410
4529
  evaluated_permission?: "allow" | "deny" | "ask";
3411
4530
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3412
4531
  session_thread_id?: null | string;
4532
+ permission_suggestions?: Array<{
4533
+ type: "add_rules";
4534
+ behavior: "allow";
4535
+ destination: "agent" | "session";
4536
+ rules: Array<{
4537
+ tool_name: string;
4538
+ rule_content: string;
4539
+ }>;
4540
+ }>;
4541
+ full_access_available?: boolean;
4542
+ user_once?: true;
4543
+ guarded_rule?: string;
3413
4544
  run_id: string | null;
3414
4545
  parent_tool_use_id?: string;
3415
4546
  _meta?: {
@@ -3423,17 +4554,6 @@ export declare function createAgent(transport: Transport): {
3423
4554
  };
3424
4555
  };
3425
4556
  source?: "app" | "codemode";
3426
- user_once?: true;
3427
- guarded_rule?: string;
3428
- permission_suggestions?: Array<{
3429
- type: "add_rules";
3430
- behavior: "allow";
3431
- destination: "agent" | "session";
3432
- rules: Array<{
3433
- tool_name: string;
3434
- rule_content: string;
3435
- }>;
3436
- }>;
3437
4557
  title?: string;
3438
4558
  input_titles?: {
3439
4559
  [key: string]: string;
@@ -3452,7 +4572,6 @@ export declare function createAgent(transport: Transport): {
3452
4572
  };
3453
4573
  source?: "app" | "codemode";
3454
4574
  } | {
3455
- full_access_available?: boolean;
3456
4575
  id: string;
3457
4576
  input: Types.AgentManaged206;
3458
4577
  name: string;
@@ -3461,9 +4580,6 @@ export declare function createAgent(transport: Transport): {
3461
4580
  evaluated_permission?: "allow" | "deny" | "ask";
3462
4581
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3463
4582
  session_thread_id?: null | string;
3464
- run_id: string | null;
3465
- user_once?: true;
3466
- guarded_rule?: string;
3467
4583
  permission_suggestions?: Array<{
3468
4584
  type: "add_rules";
3469
4585
  behavior: "allow";
@@ -3473,6 +4589,10 @@ export declare function createAgent(transport: Transport): {
3473
4589
  rule_content: string;
3474
4590
  }>;
3475
4591
  }>;
4592
+ full_access_available?: boolean;
4593
+ user_once?: true;
4594
+ guarded_rule?: string;
4595
+ run_id: string | null;
3476
4596
  } | {
3477
4597
  id: string;
3478
4598
  processed_at: string;
@@ -3493,9 +4613,6 @@ export declare function createAgent(transport: Transport): {
3493
4613
  type: "session.status_idle";
3494
4614
  run_id: string | null;
3495
4615
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3496
- permission_mode_version?: number;
3497
- previous_permission_mode?: string | null;
3498
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3499
4616
  id: string;
3500
4617
  processed_at: string;
3501
4618
  type: "session.updated";
@@ -3503,6 +4620,9 @@ export declare function createAgent(transport: Transport): {
3503
4620
  budget?: null | Types.AgentManaged76;
3504
4621
  metadata?: Types.AgentManaged246;
3505
4622
  title?: null | string;
4623
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
4624
+ previous_permission_mode?: string | null;
4625
+ permission_mode_version?: number;
3506
4626
  model?: {
3507
4627
  id: string;
3508
4628
  };
@@ -3593,6 +4713,7 @@ export declare function createAgent(transport: Transport): {
3593
4713
  speed?: "standard" | "fast";
3594
4714
  settings?: {
3595
4715
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4716
+ max_output_tokens?: number;
3596
4717
  };
3597
4718
  };
3598
4719
  multiagent: null | Types.AgentManaged171;
@@ -3683,6 +4804,29 @@ export declare function createAgent(transport: Transport): {
3683
4804
  next_page: null;
3684
4805
  }>;
3685
4806
  };
4807
+ uploads: {
4808
+ contentUrl: {
4809
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
4810
+ url: string;
4811
+ expires_at: string;
4812
+ }>;
4813
+ };
4814
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
4815
+ upload_id: string;
4816
+ expires_at: string;
4817
+ url: string;
4818
+ } | {
4819
+ upload_id: string;
4820
+ expires_at: string;
4821
+ part_size: number;
4822
+ parts: Array<{
4823
+ part_number: number;
4824
+ url: string;
4825
+ }>;
4826
+ complete_url: string;
4827
+ status_url: string;
4828
+ }>;
4829
+ };
3686
4830
  };
3687
4831
  export declare function createApplication(transport: Transport): {
3688
4832
  assets: {
@@ -3970,6 +5114,49 @@ export declare function createBrowser(transport: Transport): {
3970
5114
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
3971
5115
  };
3972
5116
  sessions: {
5117
+ actions: {
5118
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5119
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5120
+ tab: string;
5121
+ url: string;
5122
+ title: string;
5123
+ } | {
5124
+ type: "select";
5125
+ tab: string;
5126
+ values: Array<string>;
5127
+ } | {
5128
+ type: "tabs.list";
5129
+ tabs: Array<{
5130
+ id: string;
5131
+ url: string;
5132
+ title: string;
5133
+ active: boolean;
5134
+ }>;
5135
+ } | {
5136
+ type: "snapshot";
5137
+ tab: string;
5138
+ url: string;
5139
+ title: string;
5140
+ snapshot: string;
5141
+ refs: number;
5142
+ truncated: boolean;
5143
+ } | {
5144
+ type: "screenshot";
5145
+ tab: string;
5146
+ mediaType: "image/png";
5147
+ data: string;
5148
+ bytes: number;
5149
+ } | {
5150
+ type: "evaluate";
5151
+ tab: string;
5152
+ value: unknown;
5153
+ } | {
5154
+ type: "set_cookie";
5155
+ tab: string;
5156
+ name: string;
5157
+ domain: string;
5158
+ }>;
5159
+ };
3973
5160
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
3974
5161
  events: {
3975
5162
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -3977,6 +5164,7 @@ export declare function createBrowser(transport: Transport): {
3977
5164
  nextCursor: string | null;
3978
5165
  }>;
3979
5166
  };
5167
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
3980
5168
  handoff: {
3981
5169
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
3982
5170
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -3987,6 +5175,7 @@ export declare function createBrowser(transport: Transport): {
3987
5175
  }>;
3988
5176
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
3989
5177
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5178
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
3990
5179
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
3991
5180
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
3992
5181
  viewer: {
@@ -4023,6 +5212,24 @@ export declare function createCanvas(transport: Transport): {
4023
5212
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4024
5213
  };
4025
5214
  };
5215
+ export declare function createContent(transport: Transport): {
5216
+ contents: {
5217
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5218
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5219
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5220
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5221
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5222
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5223
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5224
+ };
5225
+ playbackSessions: {
5226
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5227
+ };
5228
+ versions: {
5229
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5230
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5231
+ };
5232
+ };
4026
5233
  export declare function createCrm(transport: Transport): {
4027
5234
  associations: {
4028
5235
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4083,6 +5290,32 @@ export declare function createCrm(transport: Transport): {
4083
5290
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4084
5291
  };
4085
5292
  };
5293
+ export declare function createCustomer(transport: Transport): {
5294
+ accessTokens: {
5295
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5296
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5297
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5298
+ };
5299
+ customers: {
5300
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5301
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5302
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5303
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5304
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5305
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5306
+ };
5307
+ grantCodes: {
5308
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5309
+ };
5310
+ publishableKeys: {
5311
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5312
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5313
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5314
+ };
5315
+ usage: {
5316
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5317
+ };
5318
+ };
4086
5319
  export declare function createCut(transport: Transport): {
4087
5320
  exports: {
4088
5321
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4090,7 +5323,9 @@ export declare function createCut(transport: Transport): {
4090
5323
  };
4091
5324
  projects: {
4092
5325
  analysis: {
4093
- create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
5326
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5327
+ kind: "cut-AnalysisResult";
5328
+ } & Types.CutAnalysisResult>;
4094
5329
  };
4095
5330
  bindings: {
4096
5331
  create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
@@ -4111,6 +5346,9 @@ export declare function createCut(transport: Transport): {
4111
5346
  media: {
4112
5347
  import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
4113
5348
  };
5349
+ renders: {
5350
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5351
+ };
4114
5352
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
4115
5353
  retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
4116
5354
  retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
@@ -4121,6 +5359,9 @@ export declare function createCut(transport: Transport): {
4121
5359
  list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
4122
5360
  };
4123
5361
  };
5362
+ renders: {
5363
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5364
+ };
4124
5365
  versions: {
4125
5366
  restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
4126
5367
  };
@@ -4170,6 +5411,183 @@ export declare function createDatabase(transport: Transport): {
4170
5411
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4171
5412
  };
4172
5413
  };
5414
+ export declare function createDevops(transport: Transport): {
5415
+ changes: {
5416
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5417
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
5418
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5419
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
5420
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
5421
+ };
5422
+ connections: {
5423
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5424
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5425
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5426
+ repositories: {
5427
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5428
+ };
5429
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
5430
+ };
5431
+ environments: {
5432
+ checkpoints: {
5433
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
5434
+ };
5435
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
5436
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
5437
+ };
5438
+ flags: {
5439
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
5440
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
5441
+ environments: {
5442
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
5443
+ };
5444
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
5445
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
5446
+ };
5447
+ progressiveRollouts: {
5448
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
5449
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
5450
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
5451
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
5452
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
5453
+ };
5454
+ projects: {
5455
+ changes: {
5456
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
5457
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
5458
+ };
5459
+ environments: {
5460
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
5461
+ targets: {
5462
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
5463
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
5464
+ state: {
5465
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
5466
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
5467
+ lock: {
5468
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
5469
+ };
5470
+ };
5471
+ };
5472
+ };
5473
+ flags: {
5474
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
5475
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
5476
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
5477
+ };
5478
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
5479
+ promotions: {
5480
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
5481
+ };
5482
+ pullRequests: {
5483
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
5484
+ };
5485
+ releases: {
5486
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
5487
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
5488
+ };
5489
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
5490
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
5491
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
5492
+ segments: {
5493
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
5494
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
5495
+ };
5496
+ targets: {
5497
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
5498
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
5499
+ };
5500
+ testCases: {
5501
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
5502
+ };
5503
+ testPlans: {
5504
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
5505
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
5506
+ };
5507
+ testReports: {
5508
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
5509
+ };
5510
+ testRuns: {
5511
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
5512
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
5513
+ };
5514
+ testSuites: {
5515
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
5516
+ };
5517
+ units: {
5518
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
5519
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
5520
+ };
5521
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
5522
+ workspaces: {
5523
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
5524
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
5525
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
5526
+ };
5527
+ };
5528
+ promotions: {
5529
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
5530
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
5531
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
5532
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
5533
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
5534
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
5535
+ rollouts: {
5536
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
5537
+ };
5538
+ };
5539
+ pullRequests: {
5540
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
5541
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
5542
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
5543
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
5544
+ };
5545
+ releases: {
5546
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
5547
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
5548
+ };
5549
+ rollouts: {
5550
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
5551
+ };
5552
+ segments: {
5553
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
5554
+ };
5555
+ testCases: {
5556
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
5557
+ };
5558
+ testPlans: {
5559
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
5560
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
5561
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
5562
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
5563
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
5564
+ };
5565
+ testRuns: {
5566
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
5567
+ executions: {
5568
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
5569
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
5570
+ };
5571
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
5572
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
5573
+ };
5574
+ testSuites: {
5575
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
5576
+ };
5577
+ units: {
5578
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
5579
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
5580
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
5581
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
5582
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
5583
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
5584
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
5585
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
5586
+ transitions: {
5587
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
5588
+ };
5589
+ };
5590
+ };
4173
5591
  export declare function createFile(transport: Transport): {
4174
5592
  files: {
4175
5593
  contentLinks: {
@@ -4245,19 +5663,33 @@ export declare function createKnowledge(transport: Transport): {
4245
5663
  };
4246
5664
  };
4247
5665
  export declare function createMedia(transport: Transport): {
5666
+ assets: {
5667
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
5668
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
5669
+ };
4248
5670
  generation: {
4249
5671
  capabilities: {
4250
5672
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
4251
5673
  };
4252
5674
  };
5675
+ images: {
5676
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
5677
+ };
4253
5678
  libraries: {
4254
5679
  assets: {
5680
+ align: {
5681
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
5682
+ };
4255
5683
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4256
5684
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4257
5685
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4258
5686
  frames: {
4259
5687
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4260
5688
  };
5689
+ hls: {
5690
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5691
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5692
+ };
4261
5693
  import: {
4262
5694
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4263
5695
  };
@@ -4270,6 +5702,9 @@ export declare function createMedia(transport: Transport): {
4270
5702
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4271
5703
  };
4272
5704
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
5705
+ versions: {
5706
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
5707
+ };
4273
5708
  };
4274
5709
  batches: {
4275
5710
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4286,25 +5721,23 @@ export declare function createMedia(transport: Transport): {
4286
5721
  folders: {
4287
5722
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4288
5723
  };
4289
- generations: {
4290
- create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
4291
- };
4292
5724
  jobs: {
4293
5725
  cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
4294
5726
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4295
- outputs: {
4296
- save: {
4297
- create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
4298
- };
4299
- };
4300
5727
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4301
5728
  };
4302
5729
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
5730
+ materials: {
5731
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
5732
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
5733
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
5734
+ };
4303
5735
  purge: {
4304
5736
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4305
5737
  };
4306
5738
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4307
5739
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
5740
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4308
5741
  search: {
4309
5742
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4310
5743
  expression: {
@@ -4317,12 +5750,19 @@ export declare function createMedia(transport: Transport): {
4317
5750
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4318
5751
  };
4319
5752
  };
5753
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
4320
5754
  understandings: {
4321
5755
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4322
5756
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4323
5757
  };
4324
5758
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
4325
5759
  };
5760
+ speech: {
5761
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
5762
+ };
5763
+ videos: {
5764
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
5765
+ };
4326
5766
  };
4327
5767
  export declare function createMeta(transport: Transport): {
4328
5768
  docs: {
@@ -4522,7 +5962,35 @@ export declare function createModel(transport: Transport): {
4522
5962
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4523
5963
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4524
5964
  };
5965
+ modelAccess: {
5966
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
5967
+ items: Array<{
5968
+ model: string;
5969
+ access_required: boolean;
5970
+ granted: boolean;
5971
+ granted_by: string | null;
5972
+ granted_at: string | null;
5973
+ sell_input_price: number | null;
5974
+ sell_output_price: number | null;
5975
+ }>;
5976
+ }>;
5977
+ };
4525
5978
  models: {
5979
+ access: {
5980
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
5981
+ model: string;
5982
+ revoked: true;
5983
+ }>;
5984
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
5985
+ model: string;
5986
+ access_required: boolean;
5987
+ granted: true;
5988
+ granted_by: string;
5989
+ granted_at: string;
5990
+ sell_input_price: number | null;
5991
+ sell_output_price: number | null;
5992
+ }>;
5993
+ };
4526
5994
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4527
5995
  object: "list";
4528
5996
  data: Array<{
@@ -4537,6 +6005,7 @@ export declare function createModel(transport: Transport): {
4537
6005
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4538
6006
  supported_apis: Array<string>;
4539
6007
  tags: Array<string>;
6008
+ access_required: boolean;
4540
6009
  architecture: {
4541
6010
  modality: string;
4542
6011
  input_modalities: Array<string>;
@@ -4583,6 +6052,7 @@ export declare function createModel(transport: Transport): {
4583
6052
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4584
6053
  supported_apis: Array<string>;
4585
6054
  tags: Array<string>;
6055
+ access_required: boolean;
4586
6056
  architecture: {
4587
6057
  modality: string;
4588
6058
  input_modalities: Array<string>;
@@ -4809,6 +6279,7 @@ export declare function createModel(transport: Transport): {
4809
6279
  unsigned_urls: Array<string>;
4810
6280
  usage?: {
4811
6281
  cost: number;
6282
+ billed_seconds?: number;
4812
6283
  };
4813
6284
  }>;
4814
6285
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4839,6 +6310,7 @@ export declare function createModel(transport: Transport): {
4839
6310
  unsigned_urls: Array<string>;
4840
6311
  usage?: {
4841
6312
  cost: number;
6313
+ billed_seconds?: number;
4842
6314
  };
4843
6315
  }>;
4844
6316
  has_more: boolean;
@@ -4867,6 +6339,7 @@ export declare function createModel(transport: Transport): {
4867
6339
  unsigned_urls: Array<string>;
4868
6340
  usage?: {
4869
6341
  cost: number;
6342
+ billed_seconds?: number;
4870
6343
  };
4871
6344
  }>;
4872
6345
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -4883,6 +6356,7 @@ export declare function createOntology(transport: Transport): {
4883
6356
  create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
4884
6357
  };
4885
6358
  retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6359
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
4886
6360
  update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
4887
6361
  };
4888
6362
  relations: {
@@ -4903,6 +6377,23 @@ export declare function createOntology(transport: Transport): {
4903
6377
  };
4904
6378
  };
4905
6379
  export declare function createOrganization(transport: Transport): {
6380
+ actors: {
6381
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6382
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6383
+ };
6384
+ assignments: {
6385
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6386
+ makePrimary: {
6387
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6388
+ };
6389
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6390
+ terminate: {
6391
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6392
+ };
6393
+ transfer: {
6394
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6395
+ };
6396
+ };
4906
6397
  charges: {
4907
6398
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
4908
6399
  ChargePeriodStart: string;
@@ -4944,6 +6435,16 @@ export declare function createOrganization(transport: Transport): {
4944
6435
  next_page: string | null;
4945
6436
  }>;
4946
6437
  };
6438
+ departments: {
6439
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6440
+ dissolve: {
6441
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6442
+ };
6443
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
6444
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6445
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6446
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
6447
+ };
4947
6448
  events: {
4948
6449
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
4949
6450
  object: "page";
@@ -5146,6 +6647,27 @@ export declare function createOrganization(transport: Transport): {
5146
6647
  }>;
5147
6648
  }>;
5148
6649
  };
6650
+ jobs: {
6651
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
6652
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
6653
+ retire: {
6654
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
6655
+ };
6656
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
6657
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
6658
+ };
6659
+ keyResults: {
6660
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6661
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
6662
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6663
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6664
+ };
6665
+ ladders: {
6666
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6667
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
6668
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6669
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6670
+ };
5149
6671
  members: {
5150
6672
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5151
6673
  data: Array<{
@@ -5159,6 +6681,52 @@ export declare function createOrganization(transport: Transport): {
5159
6681
  next_page: string | null;
5160
6682
  }>;
5161
6683
  };
6684
+ objectives: {
6685
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6686
+ grade: {
6687
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6688
+ };
6689
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
6690
+ parents: {
6691
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6692
+ };
6693
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6694
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6695
+ };
6696
+ periods: {
6697
+ close: {
6698
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6699
+ };
6700
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6701
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
6702
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6703
+ };
6704
+ positions: {
6705
+ close: {
6706
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6707
+ };
6708
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
6709
+ designateHead: {
6710
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
6711
+ };
6712
+ freeze: {
6713
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6714
+ };
6715
+ hire: {
6716
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
6717
+ };
6718
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
6719
+ replaceHolder: {
6720
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
6721
+ };
6722
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6723
+ unfreeze: {
6724
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6725
+ };
6726
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6727
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6728
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
6729
+ };
5162
6730
  usage: {
5163
6731
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5164
6732
  object: "page";
@@ -5182,7 +6750,48 @@ export declare function createOrganization(transport: Transport): {
5182
6750
  }>;
5183
6751
  };
5184
6752
  };
6753
+ export declare function createRegistry(transport: Transport): {
6754
+ installations: {
6755
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
6756
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6757
+ };
6758
+ packages: {
6759
+ installations: {
6760
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6761
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
6762
+ };
6763
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
6764
+ versions: {
6765
+ contents: {
6766
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
6767
+ };
6768
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
6769
+ files: {
6770
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
6771
+ };
6772
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
6773
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
6774
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
6775
+ };
6776
+ };
6777
+ repositories: {
6778
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
6779
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
6780
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
6781
+ packages: {
6782
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
6783
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
6784
+ };
6785
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
6786
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
6787
+ };
6788
+ };
5185
6789
  export declare function createSandbox(transport: Transport): {
6790
+ events: {
6791
+ sandboxes: {
6792
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
6793
+ };
6794
+ };
5186
6795
  sandboxes: {
5187
6796
  commands: {
5188
6797
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
@@ -5261,6 +6870,20 @@ export declare function createSandbox(transport: Transport): {
5261
6870
  snapshots: {
5262
6871
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5263
6872
  };
6873
+ tasks: {
6874
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
6875
+ taskId: string;
6876
+ instanceId: string;
6877
+ startedAt: number;
6878
+ }>;
6879
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
6880
+ text: string;
6881
+ nextOffset: number;
6882
+ done: boolean;
6883
+ exitCode: number | null;
6884
+ size: number | null;
6885
+ }>;
6886
+ };
5264
6887
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5265
6888
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5266
6889
  name: string;
@@ -5303,7 +6926,6 @@ export declare function createSandbox(transport: Transport): {
5303
6926
  buildCount: number;
5304
6927
  envdVersion: Types.SandboxEnvdVersion;
5305
6928
  buildStatus: Types.SandboxTemplateBuildStatus;
5306
- lifecycles?: Array<"ephemeral" | "persistent">;
5307
6929
  official: boolean;
5308
6930
  sourceKind?: "dockerfile" | "image" | "snapshot";
5309
6931
  }[]>;
@@ -5400,6 +7022,131 @@ export declare function createSearch(transport: Transport): {
5400
7022
  }>;
5401
7023
  };
5402
7024
  };
7025
+ export declare function createShare(transport: Transport): {
7026
+ permissions: {
7027
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7028
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7029
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7030
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7031
+ };
7032
+ };
7033
+ export declare function createStudio(transport: Transport): {
7034
+ codexes: {
7035
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7036
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7037
+ entries: {
7038
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7039
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7040
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7041
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7042
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7043
+ };
7044
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7045
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7046
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7047
+ };
7048
+ genres: {
7049
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7050
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7051
+ };
7052
+ platforms: {
7053
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7054
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7055
+ };
7056
+ styles: {
7057
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7058
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7059
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7060
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7061
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7062
+ };
7063
+ templates: {
7064
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7065
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7066
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7067
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7068
+ };
7069
+ themes: {
7070
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7071
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7072
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7073
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7074
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7075
+ };
7076
+ works: {
7077
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7078
+ drafts: {
7079
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7080
+ foreshadows: {
7081
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7082
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7083
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7084
+ };
7085
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7086
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7087
+ renditions: {
7088
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7089
+ };
7090
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7091
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7092
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7093
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7094
+ status: {
7095
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7096
+ };
7097
+ units: {
7098
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7099
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7100
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7101
+ };
7102
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7103
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7104
+ };
7105
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7106
+ progressions: {
7107
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7108
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7109
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7110
+ };
7111
+ renditions: {
7112
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7113
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7114
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7115
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7116
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7117
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7118
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7119
+ };
7120
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7121
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7122
+ reviewSettings: {
7123
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7124
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7125
+ };
7126
+ reviewers: {
7127
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7128
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7129
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7130
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7131
+ };
7132
+ reviews: {
7133
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7134
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7135
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7136
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7137
+ };
7138
+ units: {
7139
+ blocks: {
7140
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7141
+ };
7142
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7143
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7144
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7145
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7146
+ };
7147
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7148
+ };
7149
+ };
5403
7150
  export declare function createTicket(transport: Transport): {
5404
7151
  activity: {
5405
7152
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5444,6 +7191,7 @@ export declare function createTicket(transport: Transport): {
5444
7191
  repositories: Array<Types.TicketRepository>;
5445
7192
  next_page_token: string;
5446
7193
  }>;
7194
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5447
7195
  };
5448
7196
  tickets: {
5449
7197
  comments: {
@@ -5575,9 +7323,12 @@ export declare const resourceFactories: {
5575
7323
  automation: typeof createAutomation;
5576
7324
  browser: typeof createBrowser;
5577
7325
  canvas: typeof createCanvas;
7326
+ content: typeof createContent;
5578
7327
  crm: typeof createCrm;
7328
+ customer: typeof createCustomer;
5579
7329
  cut: typeof createCut;
5580
7330
  database: typeof createDatabase;
7331
+ devops: typeof createDevops;
5581
7332
  file: typeof createFile;
5582
7333
  knowledge: typeof createKnowledge;
5583
7334
  media: typeof createMedia;
@@ -5585,8 +7336,11 @@ export declare const resourceFactories: {
5585
7336
  model: typeof createModel;
5586
7337
  ontology: typeof createOntology;
5587
7338
  organization: typeof createOrganization;
7339
+ registry: typeof createRegistry;
5588
7340
  sandbox: typeof createSandbox;
5589
7341
  search: typeof createSearch;
7342
+ share: typeof createShare;
7343
+ studio: typeof createStudio;
5590
7344
  ticket: typeof createTicket;
5591
7345
  vault: typeof createVault;
5592
7346
  };