@deepraxis/sdk 0.1.1-dev.6b385c0 → 0.1.1-dev.6c10033

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/METHODS.md +861 -15
  2. package/README.md +5 -4
  3. package/dist/core/binary-operations.d.ts +3 -0
  4. package/dist/core/binary-operations.js +14 -0
  5. package/dist/core/credentials.d.ts +16 -6
  6. package/dist/core/credentials.js +24 -5
  7. package/dist/core/deprecation.d.ts +11 -0
  8. package/dist/core/deprecation.js +20 -0
  9. package/dist/core/transport.d.ts +4 -0
  10. package/dist/core/transport.js +11 -4
  11. package/dist/generated/binary-operations.gen.d.ts +3 -0
  12. package/dist/generated/binary-operations.gen.js +14 -0
  13. package/dist/generated/index.d.ts +2 -2
  14. package/dist/generated/index.js +1 -1
  15. package/dist/generated/sdk.gen.d.ts +2703 -1091
  16. package/dist/generated/sdk.gen.js +7237 -2703
  17. package/dist/generated/types.gen.d.ts +81666 -55864
  18. package/dist/helpers/application-publish.js +16 -2
  19. package/dist/helpers/browser-actions.d.ts +18 -0
  20. package/dist/helpers/browser-actions.js +5 -0
  21. package/dist/helpers/browser-connect-error.d.ts +28 -0
  22. package/dist/helpers/browser-connect-error.js +74 -0
  23. package/dist/helpers/browser-connect.d.ts +9 -0
  24. package/dist/helpers/browser-connect.js +40 -43
  25. package/dist/helpers/browser-decisions.d.ts +13 -0
  26. package/dist/helpers/browser-decisions.js +11 -0
  27. package/dist/helpers/browser-documentation.d.ts +1 -1
  28. package/dist/helpers/browser-documentation.js +7 -5
  29. package/dist/index.d.ts +3 -0
  30. package/dist/index.js +2 -0
  31. package/dist/operations.generated.d.ts +2 -0
  32. package/dist/operations.generated.js +20727 -11527
  33. package/dist/resources.generated.d.ts +2573 -167
  34. package/dist/resources.generated.js +681 -35
  35. package/package.json +1 -1
@@ -1,6 +1,8 @@
1
1
  import type * as Types from './generated/types.gen.js';
2
+ import type { DeprecationNotice } from './core/deprecation.js';
2
3
  import type { RenameParameters } from './core/bindings.js';
3
4
  import type { Transport } from './core/transport.js';
5
+ export declare const deprecatedMethods: Readonly<Record<string, DeprecationNotice>>;
4
6
  export declare function createAgent(transport: Transport): {
5
7
  agents: {
6
8
  archive: (options: import("./core/transport.js").CallOptions<Types.AgentsArchiveData>) => Promise<{
@@ -17,6 +19,7 @@ export declare function createAgent(transport: Transport): {
17
19
  speed?: "standard" | "fast";
18
20
  settings?: {
19
21
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
22
+ max_output_tokens?: number;
20
23
  };
21
24
  };
22
25
  multiagent?: null | Types.AgentManaged39;
@@ -38,21 +41,21 @@ export declare function createAgent(transport: Transport): {
38
41
  } | null;
39
42
  note: string | null;
40
43
  bindings: Array<{
41
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
44
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
42
45
  id: string;
43
46
  access: "read_only" | "read_write" | "invoke";
47
+ customer_access?: "read_only" | "read_write" | "invoke";
44
48
  instructions?: string;
45
49
  readonly verified?: boolean;
46
50
  enabled?: boolean;
47
51
  } | {
48
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
52
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
53
  readonly verified?: boolean;
50
54
  enabled?: boolean;
51
55
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
56
+ kind: "general" | "service" | "assume";
53
57
  computer_id?: string;
54
58
  subagent_model?: string | null;
55
- image_model?: string | null;
56
59
  subagents?: Array<{
57
60
  name: string;
58
61
  description: string;
@@ -143,6 +146,7 @@ export declare function createAgent(transport: Transport): {
143
146
  allowManagedHooksOnly?: boolean;
144
147
  allowManagedMcpServersOnly?: boolean;
145
148
  allowManagedPermissionRulesOnly?: boolean;
149
+ idleCompaction?: boolean;
146
150
  autoMemoryEnabled?: boolean;
147
151
  disabled?: {
148
152
  subagents?: Array<string>;
@@ -151,7 +155,6 @@ export declare function createAgent(transport: Transport): {
151
155
  mcpServers?: Array<string>;
152
156
  hooks?: Array<string>;
153
157
  };
154
- idleCompaction?: boolean;
155
158
  outputStyle?: string;
156
159
  } | null;
157
160
  models?: {
@@ -159,6 +162,7 @@ export declare function createAgent(transport: Transport): {
159
162
  };
160
163
  avatar: string | null;
161
164
  creation_source: string | null;
165
+ managed_by: string | null;
162
166
  identity_number: string | null;
163
167
  environment_id?: string | null;
164
168
  vault_ids?: Array<string>;
@@ -170,6 +174,22 @@ export declare function createAgent(transport: Transport): {
170
174
  keep_coding_instructions?: boolean;
171
175
  }> | null;
172
176
  }>;
177
+ consolidations: {
178
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
179
+ id: string;
180
+ session_id: string;
181
+ status: "queued" | "running" | "done" | "failed";
182
+ engram_id?: string;
183
+ error?: string;
184
+ }>;
185
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
186
+ id: string;
187
+ session_id: string;
188
+ status: "queued" | "running" | "done" | "failed";
189
+ engram_id?: string;
190
+ error?: string;
191
+ }>;
192
+ };
173
193
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
194
  id: string;
175
195
  archived_at: null | string;
@@ -184,6 +204,7 @@ export declare function createAgent(transport: Transport): {
184
204
  speed?: "standard" | "fast";
185
205
  settings?: {
186
206
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
207
+ max_output_tokens?: number;
187
208
  };
188
209
  };
189
210
  multiagent?: null | Types.AgentManaged39;
@@ -205,21 +226,28 @@ export declare function createAgent(transport: Transport): {
205
226
  } | null;
206
227
  note: string | null;
207
228
  bindings: Array<{
208
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
229
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
209
230
  id: string;
210
231
  access: "read_only" | "read_write" | "invoke";
232
+ customer_access?: "read_only" | "read_write" | "invoke";
211
233
  instructions?: string;
212
234
  readonly verified?: boolean;
213
235
  enabled?: boolean;
214
236
  } | {
215
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
237
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
238
  readonly verified?: boolean;
217
239
  enabled?: boolean;
218
240
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
241
+ kind: "general" | "service" | "assume";
242
+ computers?: {
243
+ default: string;
244
+ allowed: Array<{
245
+ template: string;
246
+ name: string;
247
+ }>;
248
+ };
220
249
  computer_id?: string;
221
250
  subagent_model?: string | null;
222
- image_model?: string | null;
223
251
  subagents?: Array<{
224
252
  name: string;
225
253
  description: string;
@@ -310,6 +338,7 @@ export declare function createAgent(transport: Transport): {
310
338
  allowManagedHooksOnly?: boolean;
311
339
  allowManagedMcpServersOnly?: boolean;
312
340
  allowManagedPermissionRulesOnly?: boolean;
341
+ idleCompaction?: boolean;
313
342
  autoMemoryEnabled?: boolean;
314
343
  disabled?: {
315
344
  subagents?: Array<string>;
@@ -318,7 +347,6 @@ export declare function createAgent(transport: Transport): {
318
347
  mcpServers?: Array<string>;
319
348
  hooks?: Array<string>;
320
349
  };
321
- idleCompaction?: boolean;
322
350
  outputStyle?: string;
323
351
  } | null;
324
352
  models?: {
@@ -326,6 +354,7 @@ export declare function createAgent(transport: Transport): {
326
354
  };
327
355
  avatar: string | null;
328
356
  creation_source: string | null;
357
+ managed_by: string | null;
329
358
  identity_number: string | null;
330
359
  environment_id?: string | null;
331
360
  vault_ids?: Array<string>;
@@ -338,42 +367,6 @@ export declare function createAgent(transport: Transport): {
338
367
  }> | null;
339
368
  }>;
340
369
  customers: {
341
- auth: {
342
- accessTokens: {
343
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
344
- type: "customer_access_token";
345
- access_token: string;
346
- expires_at: string;
347
- session_expires_at: string;
348
- customer: {
349
- id: string;
350
- type: "identified" | "anonymous";
351
- };
352
- }>;
353
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
354
- renew: {
355
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
356
- type: "customer_access_token";
357
- access_token: string;
358
- expires_at: string;
359
- session_expires_at: string;
360
- customer: {
361
- id: string;
362
- type: "identified" | "anonymous";
363
- };
364
- }>;
365
- };
366
- };
367
- grantCodes: {
368
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
369
- type: "customer_grant_code";
370
- code: string;
371
- customer_id: string;
372
- expires_at: string;
373
- hosted_url?: string;
374
- }>;
375
- };
376
- };
377
370
  block: {
378
371
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
372
  id: string;
@@ -465,6 +458,245 @@ export declare function createAgent(transport: Transport): {
465
458
  }>;
466
459
  };
467
460
  };
461
+ events: {
462
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
463
+ data: Array<{
464
+ id: string;
465
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
466
+ type: "user.message";
467
+ processed_at?: null | string;
468
+ praxis_context?: {
469
+ items: Array<{
470
+ name: string;
471
+ value: string;
472
+ }>;
473
+ };
474
+ message_id?: string;
475
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
476
+ id: string;
477
+ content: Array<{
478
+ text: string;
479
+ type: "text";
480
+ citations?: Array<{
481
+ type: "search_result_location";
482
+ source: string;
483
+ title: string;
484
+ cited_text: string;
485
+ search_result_index: number;
486
+ start_block_index: number;
487
+ end_block_index: number;
488
+ }>;
489
+ } | Types.AgentManaged70>;
490
+ processed_at: string;
491
+ type: "agent.message";
492
+ run_id: string | null;
493
+ message_id?: string;
494
+ } | {
495
+ id: string;
496
+ processed_at: string;
497
+ type: "agent.thinking";
498
+ run_id: string | null;
499
+ message_id?: string;
500
+ } | {
501
+ id: string;
502
+ input: Types.AgentManaged197;
503
+ mcp_server_name: string;
504
+ name: string;
505
+ processed_at: string;
506
+ type: "agent.mcp_tool_use";
507
+ evaluated_permission?: "allow" | "deny" | "ask";
508
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
509
+ session_thread_id?: null | string;
510
+ permission_suggestions?: Array<{
511
+ type: "add_rules";
512
+ behavior: "allow";
513
+ destination: "agent" | "session";
514
+ rules: Array<{
515
+ tool_name: string;
516
+ rule_content: string;
517
+ }>;
518
+ }>;
519
+ full_access_available?: boolean;
520
+ user_once?: true;
521
+ guarded_rule?: string;
522
+ run_id: string | null;
523
+ _meta?: {
524
+ ui?: {
525
+ resourceUri?: string;
526
+ visibility?: Array<string>;
527
+ [key: string]: unknown;
528
+ };
529
+ "openai/ui"?: {
530
+ [key: string]: unknown;
531
+ };
532
+ };
533
+ source?: "app" | "codemode";
534
+ parent_tool_use_id?: string;
535
+ title?: string;
536
+ input_titles?: {
537
+ [key: string]: string;
538
+ };
539
+ } | {
540
+ id: string;
541
+ mcp_tool_use_id: string;
542
+ processed_at: string;
543
+ type: "agent.mcp_tool_result";
544
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
545
+ is_error?: null | false | true;
546
+ run_id: string | null;
547
+ structured_content?: unknown;
548
+ _meta?: {
549
+ [key: string]: unknown;
550
+ };
551
+ source?: "app" | "codemode";
552
+ } | {
553
+ id: string;
554
+ input: Types.AgentManaged206;
555
+ name: string;
556
+ processed_at: string;
557
+ type: "agent.tool_use";
558
+ evaluated_permission?: "allow" | "deny" | "ask";
559
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
560
+ session_thread_id?: null | string;
561
+ permission_suggestions?: Array<{
562
+ type: "add_rules";
563
+ behavior: "allow";
564
+ destination: "agent" | "session";
565
+ rules: Array<{
566
+ tool_name: string;
567
+ rule_content: string;
568
+ }>;
569
+ }>;
570
+ full_access_available?: boolean;
571
+ user_once?: true;
572
+ guarded_rule?: string;
573
+ run_id: string | null;
574
+ } | {
575
+ id: string;
576
+ processed_at: string;
577
+ tool_use_id: string;
578
+ type: "agent.tool_result";
579
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
580
+ is_error?: null | false | true;
581
+ run_id: string | null;
582
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
583
+ id: string;
584
+ processed_at: string;
585
+ type: "session.status_running";
586
+ run_id: string | null;
587
+ } | {
588
+ id: string;
589
+ processed_at: string;
590
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
591
+ type: "session.status_idle";
592
+ run_id: string | null;
593
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
594
+ id: string;
595
+ processed_at: string;
596
+ type: "session.updated";
597
+ agent?: null | Types.AgentManaged170;
598
+ budget?: null | Types.AgentManaged76;
599
+ metadata?: Types.AgentManaged246;
600
+ title?: null | string;
601
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
602
+ previous_permission_mode?: string | null;
603
+ permission_mode_version?: number;
604
+ model?: {
605
+ id: string;
606
+ };
607
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
608
+ id: string;
609
+ type: "session.forked";
610
+ processed_at: string;
611
+ forked_from_session_id: string;
612
+ forked_from_message_id: string;
613
+ } | {
614
+ id: string;
615
+ type: "session.goal_changed";
616
+ processed_at: string;
617
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
618
+ source: "command" | "runtime";
619
+ goal: {
620
+ goal_id: string;
621
+ objective: string;
622
+ summary_title: string | null;
623
+ status: "active" | "paused" | "budget_limited" | "complete";
624
+ token_budget: number | null;
625
+ tokens_used: number;
626
+ time_used_seconds: number;
627
+ iteration: number;
628
+ created_at: number;
629
+ updated_at: number;
630
+ } | null;
631
+ previous_goal: {
632
+ goal_id: string;
633
+ objective: string;
634
+ summary_title: string | null;
635
+ status: "active" | "paused" | "budget_limited" | "complete";
636
+ token_budget: number | null;
637
+ tokens_used: number;
638
+ time_used_seconds: number;
639
+ iteration: number;
640
+ created_at: number;
641
+ updated_at: number;
642
+ } | null;
643
+ } | {
644
+ id: string;
645
+ type: "session.goal_verification";
646
+ processed_at: string;
647
+ status: "started" | "completed" | "failed_closed" | "cancelled";
648
+ goal_id: string;
649
+ goal_iteration: number;
650
+ verification_id: string;
651
+ anchor_message_id: string | null;
652
+ verification?: {
653
+ passed: boolean;
654
+ reason: string;
655
+ next_action?: string;
656
+ };
657
+ } | {
658
+ id: string;
659
+ type: "user.steer";
660
+ event_id: string;
661
+ processed_at: string;
662
+ }>;
663
+ next_page: string | null;
664
+ }>;
665
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
666
+ data?: Array<{
667
+ id: string;
668
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
669
+ type: "user.message";
670
+ processed_at?: null | string;
671
+ praxis_context?: {
672
+ items: Array<{
673
+ name: string;
674
+ value: string;
675
+ }>;
676
+ };
677
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
678
+ id: string;
679
+ type: "user.steer";
680
+ event_id: string;
681
+ processed_at: string;
682
+ }>;
683
+ }>;
684
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
685
+ };
686
+ inbox: {
687
+ letters: {
688
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
689
+ unread: number;
690
+ letters: Array<{
691
+ id: string;
692
+ sender: string;
693
+ summary: string;
694
+ thread: string | null;
695
+ create_time: string;
696
+ }>;
697
+ }>;
698
+ };
699
+ };
468
700
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
701
  data: Array<{
470
702
  id: string;
@@ -480,6 +712,7 @@ export declare function createAgent(transport: Transport): {
480
712
  speed?: "standard" | "fast";
481
713
  settings?: {
482
714
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
715
+ max_output_tokens?: number;
483
716
  };
484
717
  };
485
718
  multiagent?: null | Types.AgentManaged39;
@@ -501,21 +734,28 @@ export declare function createAgent(transport: Transport): {
501
734
  } | null;
502
735
  note: string | null;
503
736
  bindings: Array<{
504
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
737
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
505
738
  id: string;
506
739
  access: "read_only" | "read_write" | "invoke";
740
+ customer_access?: "read_only" | "read_write" | "invoke";
507
741
  instructions?: string;
508
742
  readonly verified?: boolean;
509
743
  enabled?: boolean;
510
744
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
745
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
746
  readonly verified?: boolean;
513
747
  enabled?: boolean;
514
748
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
749
+ kind: "general" | "service" | "assume";
750
+ computers?: {
751
+ default: string;
752
+ allowed: Array<{
753
+ template: string;
754
+ name: string;
755
+ }>;
756
+ };
516
757
  computer_id?: string;
517
758
  subagent_model?: string | null;
518
- image_model?: string | null;
519
759
  subagents?: Array<{
520
760
  name: string;
521
761
  description: string;
@@ -606,6 +846,7 @@ export declare function createAgent(transport: Transport): {
606
846
  allowManagedHooksOnly?: boolean;
607
847
  allowManagedMcpServersOnly?: boolean;
608
848
  allowManagedPermissionRulesOnly?: boolean;
849
+ idleCompaction?: boolean;
609
850
  autoMemoryEnabled?: boolean;
610
851
  disabled?: {
611
852
  subagents?: Array<string>;
@@ -614,7 +855,6 @@ export declare function createAgent(transport: Transport): {
614
855
  mcpServers?: Array<string>;
615
856
  hooks?: Array<string>;
616
857
  };
617
- idleCompaction?: boolean;
618
858
  outputStyle?: string;
619
859
  } | null;
620
860
  models?: {
@@ -622,6 +862,7 @@ export declare function createAgent(transport: Transport): {
622
862
  };
623
863
  avatar: string | null;
624
864
  creation_source: string | null;
865
+ managed_by: string | null;
625
866
  identity_number: string | null;
626
867
  environment_id?: string | null;
627
868
  vault_ids?: Array<string>;
@@ -635,6 +876,34 @@ export declare function createAgent(transport: Transport): {
635
876
  }>;
636
877
  next_page: string | null;
637
878
  }>;
879
+ phone: {
880
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
881
+ object: "agent_phone";
882
+ agent_id: string;
883
+ configured: boolean;
884
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
885
+ sku: string | null;
886
+ byod_device: string | null;
887
+ name: string | null;
888
+ sandbox_id: string | null;
889
+ lease_ends_at: string | null;
890
+ archived_at: string | null;
891
+ archive_error: string | null;
892
+ }>;
893
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
894
+ object: "agent_phone";
895
+ agent_id: string;
896
+ configured: boolean;
897
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
898
+ sku: string | null;
899
+ byod_device: string | null;
900
+ name: string | null;
901
+ sandbox_id: string | null;
902
+ lease_ends_at: string | null;
903
+ archived_at: string | null;
904
+ archive_error: string | null;
905
+ }>;
906
+ };
638
907
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
908
  id: string;
640
909
  archived_at: null | string;
@@ -649,6 +918,7 @@ export declare function createAgent(transport: Transport): {
649
918
  speed?: "standard" | "fast";
650
919
  settings?: {
651
920
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
921
+ max_output_tokens?: number;
652
922
  };
653
923
  };
654
924
  multiagent?: null | Types.AgentManaged39;
@@ -671,21 +941,28 @@ export declare function createAgent(transport: Transport): {
671
941
  } | null;
672
942
  note: string | null;
673
943
  bindings: Array<{
674
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
944
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
675
945
  id: string;
676
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
677
948
  instructions?: string;
678
949
  readonly verified?: boolean;
679
950
  enabled?: boolean;
680
951
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
952
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
953
  readonly verified?: boolean;
683
954
  enabled?: boolean;
684
955
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
956
+ kind: "general" | "service" | "assume";
957
+ computers?: {
958
+ default: string;
959
+ allowed: Array<{
960
+ template: string;
961
+ name: string;
962
+ }>;
963
+ };
686
964
  computer_id?: string;
687
965
  subagent_model?: string | null;
688
- image_model?: string | null;
689
966
  subagents?: Array<{
690
967
  name: string;
691
968
  description: string;
@@ -776,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
776
1053
  allowManagedHooksOnly?: boolean;
777
1054
  allowManagedMcpServersOnly?: boolean;
778
1055
  allowManagedPermissionRulesOnly?: boolean;
1056
+ idleCompaction?: boolean;
779
1057
  autoMemoryEnabled?: boolean;
780
1058
  disabled?: {
781
1059
  subagents?: Array<string>;
@@ -784,7 +1062,6 @@ export declare function createAgent(transport: Transport): {
784
1062
  mcpServers?: Array<string>;
785
1063
  hooks?: Array<string>;
786
1064
  };
787
- idleCompaction?: boolean;
788
1065
  outputStyle?: string;
789
1066
  } | null;
790
1067
  models?: {
@@ -792,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
792
1069
  };
793
1070
  avatar: string | null;
794
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
795
1073
  identity_number: string | null;
796
1074
  environment_id?: string | null;
797
1075
  vault_ids?: Array<string>;
@@ -860,6 +1138,26 @@ export declare function createAgent(transport: Transport): {
860
1138
  history?: {
861
1139
  enabled?: boolean;
862
1140
  };
1141
+ uploads?: {
1142
+ enabled: boolean;
1143
+ max_file_bytes: number;
1144
+ max_files_per_session: number;
1145
+ };
1146
+ }>;
1147
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1148
+ allowed_origins: Array<string>;
1149
+ allow_localhost: boolean;
1150
+ uploads: {
1151
+ enabled: boolean;
1152
+ max_file_bytes: number;
1153
+ max_files_per_session: number;
1154
+ };
1155
+ share_links: {
1156
+ enabled: boolean;
1157
+ daily_session_cap: number | null;
1158
+ daily_spend_cap_micro_usd: number | null;
1159
+ currency?: "USD" | "CNY" | null;
1160
+ };
863
1161
  }>;
864
1162
  unarchive: {
865
1163
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1211,7 @@ export declare function createAgent(transport: Transport): {
913
1211
  speed?: "standard" | "fast";
914
1212
  settings?: {
915
1213
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1214
+ max_output_tokens?: number;
916
1215
  };
917
1216
  };
918
1217
  multiagent?: null | {
@@ -1100,21 +1399,28 @@ export declare function createAgent(transport: Transport): {
1100
1399
  } | null;
1101
1400
  note: string | null;
1102
1401
  bindings: Array<{
1103
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1402
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1104
1403
  id: string;
1105
1404
  access: "read_only" | "read_write" | "invoke";
1405
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1406
  instructions?: string;
1107
1407
  readonly verified?: boolean;
1108
1408
  enabled?: boolean;
1109
1409
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1410
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1411
  readonly verified?: boolean;
1112
1412
  enabled?: boolean;
1113
1413
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1414
+ kind: "general" | "service" | "assume";
1415
+ computers?: {
1416
+ default: string;
1417
+ allowed: Array<{
1418
+ template: string;
1419
+ name: string;
1420
+ }>;
1421
+ };
1115
1422
  computer_id?: string;
1116
1423
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1424
  subagents?: Array<{
1119
1425
  name: string;
1120
1426
  description: string;
@@ -1205,6 +1511,7 @@ export declare function createAgent(transport: Transport): {
1205
1511
  allowManagedHooksOnly?: boolean;
1206
1512
  allowManagedMcpServersOnly?: boolean;
1207
1513
  allowManagedPermissionRulesOnly?: boolean;
1514
+ idleCompaction?: boolean;
1208
1515
  autoMemoryEnabled?: boolean;
1209
1516
  disabled?: {
1210
1517
  subagents?: Array<string>;
@@ -1213,7 +1520,6 @@ export declare function createAgent(transport: Transport): {
1213
1520
  mcpServers?: Array<string>;
1214
1521
  hooks?: Array<string>;
1215
1522
  };
1216
- idleCompaction?: boolean;
1217
1523
  outputStyle?: string;
1218
1524
  } | null;
1219
1525
  models?: {
@@ -1221,6 +1527,7 @@ export declare function createAgent(transport: Transport): {
1221
1527
  };
1222
1528
  avatar: string | null;
1223
1529
  creation_source: string | null;
1530
+ managed_by: string | null;
1224
1531
  identity_number: string | null;
1225
1532
  environment_id?: string | null;
1226
1533
  vault_ids?: Array<string>;
@@ -1247,6 +1554,7 @@ export declare function createAgent(transport: Transport): {
1247
1554
  speed?: "standard" | "fast";
1248
1555
  settings?: {
1249
1556
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1557
+ max_output_tokens?: number;
1250
1558
  };
1251
1559
  };
1252
1560
  multiagent?: null | Types.AgentManaged39;
@@ -1269,21 +1577,28 @@ export declare function createAgent(transport: Transport): {
1269
1577
  } | null;
1270
1578
  note: string | null;
1271
1579
  bindings: Array<{
1272
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1580
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1273
1581
  id: string;
1274
1582
  access: "read_only" | "read_write" | "invoke";
1583
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1584
  instructions?: string;
1276
1585
  readonly verified?: boolean;
1277
1586
  enabled?: boolean;
1278
1587
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1588
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1589
  readonly verified?: boolean;
1281
1590
  enabled?: boolean;
1282
1591
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1592
+ kind: "general" | "service" | "assume";
1593
+ computers?: {
1594
+ default: string;
1595
+ allowed: Array<{
1596
+ template: string;
1597
+ name: string;
1598
+ }>;
1599
+ };
1284
1600
  computer_id?: string;
1285
1601
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1602
  subagents?: Array<{
1288
1603
  name: string;
1289
1604
  description: string;
@@ -1374,6 +1689,7 @@ export declare function createAgent(transport: Transport): {
1374
1689
  allowManagedHooksOnly?: boolean;
1375
1690
  allowManagedMcpServersOnly?: boolean;
1376
1691
  allowManagedPermissionRulesOnly?: boolean;
1692
+ idleCompaction?: boolean;
1377
1693
  autoMemoryEnabled?: boolean;
1378
1694
  disabled?: {
1379
1695
  subagents?: Array<string>;
@@ -1382,7 +1698,6 @@ export declare function createAgent(transport: Transport): {
1382
1698
  mcpServers?: Array<string>;
1383
1699
  hooks?: Array<string>;
1384
1700
  };
1385
- idleCompaction?: boolean;
1386
1701
  outputStyle?: string;
1387
1702
  } | null;
1388
1703
  models?: {
@@ -1390,6 +1705,7 @@ export declare function createAgent(transport: Transport): {
1390
1705
  };
1391
1706
  avatar: string | null;
1392
1707
  creation_source: string | null;
1708
+ managed_by: string | null;
1393
1709
  identity_number: string | null;
1394
1710
  environment_id?: string | null;
1395
1711
  vault_ids?: Array<string>;
@@ -1401,28 +1717,246 @@ export declare function createAgent(transport: Transport): {
1401
1717
  keep_coding_instructions?: boolean;
1402
1718
  }> | null;
1403
1719
  }>;
1720
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1721
+ allowed_origins: Array<string>;
1722
+ allow_localhost: boolean;
1723
+ uploads: {
1724
+ enabled: boolean;
1725
+ max_file_bytes: number;
1726
+ max_files_per_session: number;
1727
+ };
1728
+ share_links: {
1729
+ enabled: boolean;
1730
+ daily_session_cap: number | null;
1731
+ daily_spend_cap_micro_usd: number | null;
1732
+ currency?: "USD" | "CNY" | null;
1733
+ };
1734
+ }>;
1404
1735
  versions: {
1405
1736
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1737
  id: string;
1407
1738
  archived_at: null | string;
1408
1739
  created_at: string;
1409
1740
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1741
+ mcp_servers: Array<{
1742
+ type: "url";
1743
+ name: string;
1744
+ url: string;
1745
+ headers?: {
1746
+ [key: string]: string;
1747
+ };
1748
+ timeout_ms?: number;
1749
+ } | {
1750
+ type: "sse";
1751
+ name: string;
1752
+ url: string;
1753
+ headers?: {
1754
+ [key: string]: string;
1755
+ };
1756
+ timeout_ms?: number;
1757
+ } | {
1758
+ type: "stdio";
1759
+ name: string;
1760
+ command: string;
1761
+ args?: Array<string>;
1762
+ env?: {
1763
+ [key: string]: string;
1764
+ };
1765
+ timeout_ms?: number;
1766
+ }>;
1767
+ metadata: {
1768
+ [key: string]: string;
1769
+ };
1412
1770
  model?: {
1413
1771
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1772
+ effort?: {
1773
+ type: "low";
1774
+ } | {
1775
+ type: "medium";
1776
+ } | {
1777
+ type: "high";
1778
+ } | {
1779
+ type: "xhigh";
1780
+ } | {
1781
+ type: "max";
1782
+ };
1415
1783
  inference_geo?: string;
1416
1784
  speed?: "standard" | "fast";
1417
1785
  settings?: {
1418
1786
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1787
+ max_output_tokens?: number;
1419
1788
  };
1420
1789
  };
1421
- multiagent?: null | Types.AgentManaged39;
1790
+ multiagent?: null | {
1791
+ agents: Array<{
1792
+ id: string;
1793
+ type: "agent";
1794
+ version: number;
1795
+ } | {
1796
+ model: string;
1797
+ type: "advisor";
1798
+ }>;
1799
+ type: "coordinator";
1800
+ };
1422
1801
  name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1802
+ skills: Array<{
1803
+ skill_id: string;
1804
+ type: "anthropic";
1805
+ version: string;
1806
+ } | {
1807
+ skill_id: string;
1808
+ type: "custom";
1809
+ version: string;
1810
+ }>;
1424
1811
  system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1812
+ tools: Array<{
1813
+ configs: Array<{
1814
+ enabled: boolean;
1815
+ name: "bash";
1816
+ permission_policy: {
1817
+ type: "always_allow";
1818
+ } | {
1819
+ type: "always_ask";
1820
+ } | {
1821
+ type: "auto";
1822
+ };
1823
+ type: "bash";
1824
+ } | {
1825
+ enabled: boolean;
1826
+ name: "edit";
1827
+ permission_policy: {
1828
+ type: "always_allow";
1829
+ } | {
1830
+ type: "always_ask";
1831
+ } | {
1832
+ type: "auto";
1833
+ };
1834
+ type: "edit";
1835
+ } | {
1836
+ enabled: boolean;
1837
+ name: "read";
1838
+ permission_policy: {
1839
+ type: "always_allow";
1840
+ } | {
1841
+ type: "always_ask";
1842
+ } | {
1843
+ type: "auto";
1844
+ };
1845
+ type: "read";
1846
+ } | {
1847
+ enabled: boolean;
1848
+ name: "write";
1849
+ permission_policy: {
1850
+ type: "always_allow";
1851
+ } | {
1852
+ type: "always_ask";
1853
+ } | {
1854
+ type: "auto";
1855
+ };
1856
+ type: "write";
1857
+ } | {
1858
+ enabled: boolean;
1859
+ name: "glob";
1860
+ permission_policy: {
1861
+ type: "always_allow";
1862
+ } | {
1863
+ type: "always_ask";
1864
+ } | {
1865
+ type: "auto";
1866
+ };
1867
+ type: "glob";
1868
+ } | {
1869
+ enabled: boolean;
1870
+ name: "grep";
1871
+ permission_policy: {
1872
+ type: "always_allow";
1873
+ } | {
1874
+ type: "always_ask";
1875
+ } | {
1876
+ type: "auto";
1877
+ };
1878
+ type: "grep";
1879
+ } | {
1880
+ enabled: boolean;
1881
+ name: "web_fetch";
1882
+ permission_policy: {
1883
+ type: "always_allow";
1884
+ } | {
1885
+ type: "always_ask";
1886
+ } | {
1887
+ type: "auto";
1888
+ };
1889
+ type: "web_fetch";
1890
+ allowed_domains?: Array<string>;
1891
+ blocked_domains?: Array<string>;
1892
+ max_content_tokens?: null | number;
1893
+ } | {
1894
+ enabled: boolean;
1895
+ name: "web_search";
1896
+ permission_policy: {
1897
+ type: "always_allow";
1898
+ } | {
1899
+ type: "always_ask";
1900
+ } | {
1901
+ type: "auto";
1902
+ };
1903
+ type: "web_search";
1904
+ allowed_domains?: Array<string>;
1905
+ blocked_domains?: Array<string>;
1906
+ user_location?: null | {
1907
+ type: "approximate";
1908
+ city?: null | string;
1909
+ country?: null | string;
1910
+ region?: null | string;
1911
+ timezone?: null | string;
1912
+ };
1913
+ } | {
1914
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1915
+ enabled: boolean;
1916
+ permission_policy: {
1917
+ type: "always_allow" | "always_ask";
1918
+ };
1919
+ }>;
1920
+ default_config: {
1921
+ enabled: boolean;
1922
+ permission_policy: {
1923
+ type: "always_allow";
1924
+ } | {
1925
+ type: "always_ask";
1926
+ } | {
1927
+ type: "auto";
1928
+ };
1929
+ };
1930
+ type: "agent_toolset_20260401";
1931
+ } | {
1932
+ type: "mcp_toolset";
1933
+ mcp_server_name: string;
1934
+ default_config?: {
1935
+ enabled?: boolean | null;
1936
+ permission_policy?: null | {
1937
+ type: "always_allow" | "always_ask";
1938
+ };
1939
+ } | null;
1940
+ configs?: Array<{
1941
+ name: string;
1942
+ enabled?: boolean | null;
1943
+ permission_policy?: null | {
1944
+ type: "always_allow" | "always_ask";
1945
+ };
1946
+ }> | null;
1947
+ } | {
1948
+ description: string;
1949
+ input_schema: {
1950
+ type: "object";
1951
+ properties?: null | {
1952
+ [key: string]: unknown;
1953
+ };
1954
+ required?: null | Array<string>;
1955
+ [key: string]: unknown;
1956
+ };
1957
+ name: string;
1958
+ type: "custom";
1959
+ }>;
1426
1960
  type: "agent";
1427
1961
  updated_at: string;
1428
1962
  version: number;
@@ -1438,21 +1972,28 @@ export declare function createAgent(transport: Transport): {
1438
1972
  } | null;
1439
1973
  note: string | null;
1440
1974
  bindings: Array<{
1441
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1975
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1442
1976
  id: string;
1443
1977
  access: "read_only" | "read_write" | "invoke";
1978
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
1979
  instructions?: string;
1445
1980
  readonly verified?: boolean;
1446
1981
  enabled?: boolean;
1447
1982
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1983
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1984
  readonly verified?: boolean;
1450
1985
  enabled?: boolean;
1451
1986
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
1987
+ kind: "general" | "service" | "assume";
1988
+ computers?: {
1989
+ default: string;
1990
+ allowed: Array<{
1991
+ template: string;
1992
+ name: string;
1993
+ }>;
1994
+ };
1453
1995
  computer_id?: string;
1454
1996
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1997
  subagents?: Array<{
1457
1998
  name: string;
1458
1999
  description: string;
@@ -1543,6 +2084,7 @@ export declare function createAgent(transport: Transport): {
1543
2084
  allowManagedHooksOnly?: boolean;
1544
2085
  allowManagedMcpServersOnly?: boolean;
1545
2086
  allowManagedPermissionRulesOnly?: boolean;
2087
+ idleCompaction?: boolean;
1546
2088
  autoMemoryEnabled?: boolean;
1547
2089
  disabled?: {
1548
2090
  subagents?: Array<string>;
@@ -1551,7 +2093,6 @@ export declare function createAgent(transport: Transport): {
1551
2093
  mcpServers?: Array<string>;
1552
2094
  hooks?: Array<string>;
1553
2095
  };
1554
- idleCompaction?: boolean;
1555
2096
  outputStyle?: string;
1556
2097
  } | null;
1557
2098
  models?: {
@@ -1559,6 +2100,7 @@ export declare function createAgent(transport: Transport): {
1559
2100
  };
1560
2101
  avatar: string | null;
1561
2102
  creation_source: string | null;
2103
+ managed_by: string | null;
1562
2104
  identity_number: string | null;
1563
2105
  environment_id?: string | null;
1564
2106
  vault_ids?: Array<string>;
@@ -1585,6 +2127,7 @@ export declare function createAgent(transport: Transport): {
1585
2127
  speed?: "standard" | "fast";
1586
2128
  settings?: {
1587
2129
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2130
+ max_output_tokens?: number;
1588
2131
  };
1589
2132
  };
1590
2133
  multiagent?: null | Types.AgentManaged39;
@@ -1607,21 +2150,28 @@ export declare function createAgent(transport: Transport): {
1607
2150
  } | null;
1608
2151
  note: string | null;
1609
2152
  bindings: Array<{
1610
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2153
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1611
2154
  id: string;
1612
2155
  access: "read_only" | "read_write" | "invoke";
2156
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2157
  instructions?: string;
1614
2158
  readonly verified?: boolean;
1615
2159
  enabled?: boolean;
1616
2160
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2161
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2162
  readonly verified?: boolean;
1619
2163
  enabled?: boolean;
1620
2164
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2165
+ kind: "general" | "service" | "assume";
2166
+ computers?: {
2167
+ default: string;
2168
+ allowed: Array<{
2169
+ template: string;
2170
+ name: string;
2171
+ }>;
2172
+ };
1622
2173
  computer_id?: string;
1623
2174
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2175
  subagents?: Array<{
1626
2176
  name: string;
1627
2177
  description: string;
@@ -1712,6 +2262,7 @@ export declare function createAgent(transport: Transport): {
1712
2262
  allowManagedHooksOnly?: boolean;
1713
2263
  allowManagedMcpServersOnly?: boolean;
1714
2264
  allowManagedPermissionRulesOnly?: boolean;
2265
+ idleCompaction?: boolean;
1715
2266
  autoMemoryEnabled?: boolean;
1716
2267
  disabled?: {
1717
2268
  subagents?: Array<string>;
@@ -1720,7 +2271,6 @@ export declare function createAgent(transport: Transport): {
1720
2271
  mcpServers?: Array<string>;
1721
2272
  hooks?: Array<string>;
1722
2273
  };
1723
- idleCompaction?: boolean;
1724
2274
  outputStyle?: string;
1725
2275
  } | null;
1726
2276
  models?: {
@@ -1728,6 +2278,7 @@ export declare function createAgent(transport: Transport): {
1728
2278
  };
1729
2279
  avatar: string | null;
1730
2280
  creation_source: string | null;
2281
+ managed_by: string | null;
1731
2282
  identity_number: string | null;
1732
2283
  environment_id?: string | null;
1733
2284
  vault_ids?: Array<string>;
@@ -1795,16 +2346,9 @@ export declare function createAgent(transport: Transport): {
1795
2346
  files: {
1796
2347
  convert: {
1797
2348
  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;
2349
+ data: string;
2350
+ mime: "application/pdf";
2351
+ cached: boolean;
1808
2352
  }>;
1809
2353
  };
1810
2354
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1822,6 +2366,24 @@ export declare function createAgent(transport: Transport): {
1822
2366
  tier: "light" | "heavy";
1823
2367
  }>;
1824
2368
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2369
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2370
+ variant: "image" | "pdf" | "text" | "original";
2371
+ version?: string;
2372
+ mime_type?: string;
2373
+ size?: number;
2374
+ file_id?: string;
2375
+ url?: string;
2376
+ expires_at?: string;
2377
+ cached: boolean;
2378
+ fallback?: "content";
2379
+ skipped?: boolean;
2380
+ }>;
2381
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2382
+ path: string;
2383
+ size: number;
2384
+ mtime: string | null;
2385
+ version: string;
2386
+ }>;
1825
2387
  };
1826
2388
  leases: {
1827
2389
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2168,6 +2730,543 @@ export declare function createAgent(transport: Transport): {
2168
2730
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2169
2731
  };
2170
2732
  sessions: {
2733
+ agentVersion: {
2734
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2735
+ id: string;
2736
+ agent: {
2737
+ id: string;
2738
+ description: null | string;
2739
+ mcp_servers: Array<{
2740
+ type: "url";
2741
+ name: string;
2742
+ url: string;
2743
+ headers?: {
2744
+ [key: string]: string;
2745
+ };
2746
+ timeout_ms?: number;
2747
+ } | {
2748
+ type: "sse";
2749
+ name: string;
2750
+ url: string;
2751
+ headers?: {
2752
+ [key: string]: string;
2753
+ };
2754
+ timeout_ms?: number;
2755
+ } | {
2756
+ type: "stdio";
2757
+ name: string;
2758
+ command: string;
2759
+ args?: Array<string>;
2760
+ env?: {
2761
+ [key: string]: string;
2762
+ };
2763
+ timeout_ms?: number;
2764
+ }>;
2765
+ model: {
2766
+ id: string;
2767
+ effort?: {
2768
+ type: "low";
2769
+ } | {
2770
+ type: "medium";
2771
+ } | {
2772
+ type: "high";
2773
+ } | {
2774
+ type: "xhigh";
2775
+ } | {
2776
+ type: "max";
2777
+ };
2778
+ inference_geo?: string;
2779
+ speed?: "standard" | "fast";
2780
+ settings?: {
2781
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2782
+ max_output_tokens?: number;
2783
+ };
2784
+ };
2785
+ multiagent: null | {
2786
+ agents: Array<{
2787
+ model: string;
2788
+ type: "advisor";
2789
+ } | {
2790
+ id: string;
2791
+ description: null | string;
2792
+ mcp_servers: Array<{
2793
+ type: "url";
2794
+ name: string;
2795
+ url: string;
2796
+ headers?: {
2797
+ [key: string]: string;
2798
+ };
2799
+ timeout_ms?: number;
2800
+ } | {
2801
+ type: "sse";
2802
+ name: string;
2803
+ url: string;
2804
+ headers?: {
2805
+ [key: string]: string;
2806
+ };
2807
+ timeout_ms?: number;
2808
+ } | {
2809
+ type: "stdio";
2810
+ name: string;
2811
+ command: string;
2812
+ args?: Array<string>;
2813
+ env?: {
2814
+ [key: string]: string;
2815
+ };
2816
+ timeout_ms?: number;
2817
+ }>;
2818
+ model: {
2819
+ id: string;
2820
+ effort?: {
2821
+ type: "low";
2822
+ } | {
2823
+ type: "medium";
2824
+ } | {
2825
+ type: "high";
2826
+ } | {
2827
+ type: "xhigh";
2828
+ } | {
2829
+ type: "max";
2830
+ };
2831
+ inference_geo?: string;
2832
+ speed?: "standard" | "fast";
2833
+ };
2834
+ name: string;
2835
+ skills: Array<{
2836
+ skill_id: string;
2837
+ type: "anthropic";
2838
+ version: string;
2839
+ } | {
2840
+ skill_id: string;
2841
+ type: "custom";
2842
+ version: string;
2843
+ }>;
2844
+ system: null | string;
2845
+ tools: Array<{
2846
+ configs: Array<{
2847
+ enabled: boolean;
2848
+ name: "bash";
2849
+ permission_policy: {
2850
+ type: "always_allow";
2851
+ } | {
2852
+ type: "always_ask";
2853
+ } | {
2854
+ type: "auto";
2855
+ };
2856
+ type: "bash";
2857
+ } | {
2858
+ enabled: boolean;
2859
+ name: "edit";
2860
+ permission_policy: {
2861
+ type: "always_allow";
2862
+ } | {
2863
+ type: "always_ask";
2864
+ } | {
2865
+ type: "auto";
2866
+ };
2867
+ type: "edit";
2868
+ } | {
2869
+ enabled: boolean;
2870
+ name: "read";
2871
+ permission_policy: {
2872
+ type: "always_allow";
2873
+ } | {
2874
+ type: "always_ask";
2875
+ } | {
2876
+ type: "auto";
2877
+ };
2878
+ type: "read";
2879
+ } | {
2880
+ enabled: boolean;
2881
+ name: "write";
2882
+ permission_policy: {
2883
+ type: "always_allow";
2884
+ } | {
2885
+ type: "always_ask";
2886
+ } | {
2887
+ type: "auto";
2888
+ };
2889
+ type: "write";
2890
+ } | {
2891
+ enabled: boolean;
2892
+ name: "glob";
2893
+ permission_policy: {
2894
+ type: "always_allow";
2895
+ } | {
2896
+ type: "always_ask";
2897
+ } | {
2898
+ type: "auto";
2899
+ };
2900
+ type: "glob";
2901
+ } | {
2902
+ enabled: boolean;
2903
+ name: "grep";
2904
+ permission_policy: {
2905
+ type: "always_allow";
2906
+ } | {
2907
+ type: "always_ask";
2908
+ } | {
2909
+ type: "auto";
2910
+ };
2911
+ type: "grep";
2912
+ } | {
2913
+ enabled: boolean;
2914
+ name: "web_fetch";
2915
+ permission_policy: {
2916
+ type: "always_allow";
2917
+ } | {
2918
+ type: "always_ask";
2919
+ } | {
2920
+ type: "auto";
2921
+ };
2922
+ type: "web_fetch";
2923
+ allowed_domains?: Array<string>;
2924
+ blocked_domains?: Array<string>;
2925
+ max_content_tokens?: null | number;
2926
+ } | {
2927
+ enabled: boolean;
2928
+ name: "web_search";
2929
+ permission_policy: {
2930
+ type: "always_allow";
2931
+ } | {
2932
+ type: "always_ask";
2933
+ } | {
2934
+ type: "auto";
2935
+ };
2936
+ type: "web_search";
2937
+ allowed_domains?: Array<string>;
2938
+ blocked_domains?: Array<string>;
2939
+ user_location?: null | {
2940
+ type: "approximate";
2941
+ city?: null | string;
2942
+ country?: null | string;
2943
+ region?: null | string;
2944
+ timezone?: null | string;
2945
+ };
2946
+ } | {
2947
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2948
+ enabled: boolean;
2949
+ permission_policy: {
2950
+ type: "always_allow" | "always_ask";
2951
+ };
2952
+ }>;
2953
+ default_config: {
2954
+ enabled: boolean;
2955
+ permission_policy: {
2956
+ type: "always_allow";
2957
+ } | {
2958
+ type: "always_ask";
2959
+ } | {
2960
+ type: "auto";
2961
+ };
2962
+ };
2963
+ type: "agent_toolset_20260401";
2964
+ } | {
2965
+ type: "mcp_toolset";
2966
+ mcp_server_name: string;
2967
+ default_config?: {
2968
+ enabled?: boolean | null;
2969
+ permission_policy?: null | {
2970
+ type: "always_allow" | "always_ask";
2971
+ };
2972
+ } | null;
2973
+ configs?: Array<{
2974
+ name: string;
2975
+ enabled?: boolean | null;
2976
+ permission_policy?: null | {
2977
+ type: "always_allow" | "always_ask";
2978
+ };
2979
+ }> | null;
2980
+ } | {
2981
+ description: string;
2982
+ input_schema: {
2983
+ type: "object";
2984
+ properties?: null | {
2985
+ [key: string]: unknown;
2986
+ };
2987
+ required?: null | Array<string>;
2988
+ [key: string]: unknown;
2989
+ };
2990
+ name: string;
2991
+ type: "custom";
2992
+ }>;
2993
+ type: "agent";
2994
+ version: number;
2995
+ }>;
2996
+ type: "coordinator";
2997
+ };
2998
+ name: string;
2999
+ skills: Array<{
3000
+ skill_id: string;
3001
+ type: "anthropic";
3002
+ version: string;
3003
+ } | {
3004
+ skill_id: string;
3005
+ type: "custom";
3006
+ version: string;
3007
+ }>;
3008
+ system: null | string;
3009
+ tools: Array<{
3010
+ configs: Array<{
3011
+ enabled: boolean;
3012
+ name: "bash";
3013
+ permission_policy: {
3014
+ type: "always_allow";
3015
+ } | {
3016
+ type: "always_ask";
3017
+ } | {
3018
+ type: "auto";
3019
+ };
3020
+ type: "bash";
3021
+ } | {
3022
+ enabled: boolean;
3023
+ name: "edit";
3024
+ permission_policy: {
3025
+ type: "always_allow";
3026
+ } | {
3027
+ type: "always_ask";
3028
+ } | {
3029
+ type: "auto";
3030
+ };
3031
+ type: "edit";
3032
+ } | {
3033
+ enabled: boolean;
3034
+ name: "read";
3035
+ permission_policy: {
3036
+ type: "always_allow";
3037
+ } | {
3038
+ type: "always_ask";
3039
+ } | {
3040
+ type: "auto";
3041
+ };
3042
+ type: "read";
3043
+ } | {
3044
+ enabled: boolean;
3045
+ name: "write";
3046
+ permission_policy: {
3047
+ type: "always_allow";
3048
+ } | {
3049
+ type: "always_ask";
3050
+ } | {
3051
+ type: "auto";
3052
+ };
3053
+ type: "write";
3054
+ } | {
3055
+ enabled: boolean;
3056
+ name: "glob";
3057
+ permission_policy: {
3058
+ type: "always_allow";
3059
+ } | {
3060
+ type: "always_ask";
3061
+ } | {
3062
+ type: "auto";
3063
+ };
3064
+ type: "glob";
3065
+ } | {
3066
+ enabled: boolean;
3067
+ name: "grep";
3068
+ permission_policy: {
3069
+ type: "always_allow";
3070
+ } | {
3071
+ type: "always_ask";
3072
+ } | {
3073
+ type: "auto";
3074
+ };
3075
+ type: "grep";
3076
+ } | {
3077
+ enabled: boolean;
3078
+ name: "web_fetch";
3079
+ permission_policy: {
3080
+ type: "always_allow";
3081
+ } | {
3082
+ type: "always_ask";
3083
+ } | {
3084
+ type: "auto";
3085
+ };
3086
+ type: "web_fetch";
3087
+ allowed_domains?: Array<string>;
3088
+ blocked_domains?: Array<string>;
3089
+ max_content_tokens?: null | number;
3090
+ } | {
3091
+ enabled: boolean;
3092
+ name: "web_search";
3093
+ permission_policy: {
3094
+ type: "always_allow";
3095
+ } | {
3096
+ type: "always_ask";
3097
+ } | {
3098
+ type: "auto";
3099
+ };
3100
+ type: "web_search";
3101
+ allowed_domains?: Array<string>;
3102
+ blocked_domains?: Array<string>;
3103
+ user_location?: null | {
3104
+ type: "approximate";
3105
+ city?: null | string;
3106
+ country?: null | string;
3107
+ region?: null | string;
3108
+ timezone?: null | string;
3109
+ };
3110
+ } | {
3111
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3112
+ enabled: boolean;
3113
+ permission_policy: {
3114
+ type: "always_allow" | "always_ask";
3115
+ };
3116
+ }>;
3117
+ default_config: {
3118
+ enabled: boolean;
3119
+ permission_policy: {
3120
+ type: "always_allow";
3121
+ } | {
3122
+ type: "always_ask";
3123
+ } | {
3124
+ type: "auto";
3125
+ };
3126
+ };
3127
+ type: "agent_toolset_20260401";
3128
+ } | {
3129
+ type: "mcp_toolset";
3130
+ mcp_server_name: string;
3131
+ default_config?: {
3132
+ enabled?: boolean | null;
3133
+ permission_policy?: null | {
3134
+ type: "always_allow" | "always_ask";
3135
+ };
3136
+ } | null;
3137
+ configs?: Array<{
3138
+ name: string;
3139
+ enabled?: boolean | null;
3140
+ permission_policy?: null | {
3141
+ type: "always_allow" | "always_ask";
3142
+ };
3143
+ }> | null;
3144
+ } | {
3145
+ description: string;
3146
+ input_schema: {
3147
+ type: "object";
3148
+ properties?: null | {
3149
+ [key: string]: unknown;
3150
+ };
3151
+ required?: null | Array<string>;
3152
+ [key: string]: unknown;
3153
+ };
3154
+ name: string;
3155
+ type: "custom";
3156
+ }>;
3157
+ type: "agent";
3158
+ version: number;
3159
+ };
3160
+ archived_at: null | string;
3161
+ budget: null | {
3162
+ max_list_cost: {
3163
+ amount: string;
3164
+ currency: "USD";
3165
+ };
3166
+ type: "limit";
3167
+ };
3168
+ created_at: string;
3169
+ environment_id?: string;
3170
+ metadata: {
3171
+ [key: string]: string;
3172
+ };
3173
+ outcome_evaluations: Array<{
3174
+ completed_at: null | string;
3175
+ description: string;
3176
+ explanation: null | string;
3177
+ iteration: number;
3178
+ outcome_id: string;
3179
+ result: string;
3180
+ type: "outcome_evaluation";
3181
+ }>;
3182
+ resources: Array<{
3183
+ id: string;
3184
+ created_at: string;
3185
+ mount_path: string;
3186
+ type: "github_repository";
3187
+ updated_at: string;
3188
+ url: string;
3189
+ checkout?: null | {
3190
+ name: string;
3191
+ type: "branch";
3192
+ } | {
3193
+ sha: string;
3194
+ type: "commit";
3195
+ };
3196
+ } | {
3197
+ id: string;
3198
+ created_at: string;
3199
+ file_id: string;
3200
+ mount_path: string;
3201
+ type: "file";
3202
+ updated_at: string;
3203
+ } | {
3204
+ memory_store_id: string;
3205
+ type: "memory_store";
3206
+ access?: null | "read_write" | "read_only";
3207
+ description?: string;
3208
+ instructions?: null | string;
3209
+ mount_path?: null | string;
3210
+ name?: null | string;
3211
+ }>;
3212
+ stats: {
3213
+ active_seconds?: number;
3214
+ duration_seconds?: number;
3215
+ };
3216
+ status: "rescheduling" | "running" | "idle" | "terminated";
3217
+ title: null | string;
3218
+ type: "session";
3219
+ updated_at: string;
3220
+ usage: {
3221
+ active_seconds?: number;
3222
+ cache_creation?: {
3223
+ ephemeral_1h_input_tokens?: number;
3224
+ ephemeral_5m_input_tokens?: number;
3225
+ };
3226
+ cache_read_input_tokens?: number;
3227
+ input_tokens?: number;
3228
+ list_cost?: null | {
3229
+ amount: string;
3230
+ currency: "USD";
3231
+ };
3232
+ output_tokens?: number;
3233
+ server_tool_use?: null | {
3234
+ web_fetch_requests?: number;
3235
+ web_search_requests?: number;
3236
+ };
3237
+ cost_by_product?: {
3238
+ [key: string]: string;
3239
+ };
3240
+ subagent_cost_micro_usd?: number;
3241
+ };
3242
+ vault_ids: Array<string>;
3243
+ deployment_id?: null | string;
3244
+ cwd: string;
3245
+ workspace?: {
3246
+ kind: "shared" | "isolated";
3247
+ path?: string;
3248
+ branch?: string;
3249
+ };
3250
+ computer_id?: string;
3251
+ model?: {
3252
+ id: string;
3253
+ thinking: {
3254
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3255
+ can_disable: boolean;
3256
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3257
+ } | null;
3258
+ };
3259
+ thinking?: {
3260
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3261
+ } | null;
3262
+ forked_from?: {
3263
+ session_id: string;
3264
+ message_id: string;
3265
+ } | null;
3266
+ readonly external_user_id: string | null;
3267
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3268
+ }>;
3269
+ };
2171
3270
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2172
3271
  id: string;
2173
3272
  agent: {
@@ -2181,6 +3280,7 @@ export declare function createAgent(transport: Transport): {
2181
3280
  speed?: "standard" | "fast";
2182
3281
  settings?: {
2183
3282
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3283
+ max_output_tokens?: number;
2184
3284
  };
2185
3285
  };
2186
3286
  multiagent: null | Types.AgentManaged171;
@@ -2207,6 +3307,11 @@ export declare function createAgent(transport: Transport): {
2207
3307
  vault_ids: Array<string>;
2208
3308
  deployment_id?: null | string;
2209
3309
  cwd: string;
3310
+ workspace?: {
3311
+ kind: "shared" | "isolated";
3312
+ path?: string;
3313
+ branch?: string;
3314
+ };
2210
3315
  computer_id?: string;
2211
3316
  model?: {
2212
3317
  id: string;
@@ -2226,6 +3331,40 @@ export declare function createAgent(transport: Transport): {
2226
3331
  readonly external_user_id: string | null;
2227
3332
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2228
3333
  }>;
3334
+ artifacts: {
3335
+ contentUrl: {
3336
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3337
+ url: string;
3338
+ expire_time: string;
3339
+ }>;
3340
+ };
3341
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3342
+ data: Array<{
3343
+ object: "artifact";
3344
+ id: string;
3345
+ session_id: string;
3346
+ run_id: string | null;
3347
+ name: string;
3348
+ version: number;
3349
+ parts: Array<{
3350
+ kind: "file";
3351
+ file_id: string;
3352
+ filename: string;
3353
+ mime_type: string;
3354
+ bytes: number;
3355
+ } | {
3356
+ kind: "object";
3357
+ object_type: "canvas" | "media_asset";
3358
+ object_id: string;
3359
+ href: string;
3360
+ title: string | null;
3361
+ }>;
3362
+ source_hrefs: Array<string>;
3363
+ create_time: string;
3364
+ update_time: string;
3365
+ }>;
3366
+ }>;
3367
+ };
2229
3368
  backgroundTasks: {
2230
3369
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2231
3370
  data: Array<{
@@ -2308,6 +3447,7 @@ export declare function createAgent(transport: Transport): {
2308
3447
  speed?: "standard" | "fast";
2309
3448
  settings?: {
2310
3449
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3450
+ max_output_tokens?: number;
2311
3451
  };
2312
3452
  };
2313
3453
  multiagent: null | Types.AgentManaged171;
@@ -2334,6 +3474,11 @@ export declare function createAgent(transport: Transport): {
2334
3474
  vault_ids: Array<string>;
2335
3475
  deployment_id?: null | string;
2336
3476
  cwd: string;
3477
+ workspace?: {
3478
+ kind: "shared" | "isolated";
3479
+ path?: string;
3480
+ branch?: string;
3481
+ };
2337
3482
  computer_id?: string;
2338
3483
  model?: {
2339
3484
  id: string;
@@ -2394,7 +3539,6 @@ export declare function createAgent(transport: Transport): {
2394
3539
  run_id: string | null;
2395
3540
  message_id?: string;
2396
3541
  } | {
2397
- full_access_available?: boolean;
2398
3542
  id: string;
2399
3543
  input: Types.AgentManaged197;
2400
3544
  mcp_server_name: string;
@@ -2404,6 +3548,18 @@ export declare function createAgent(transport: Transport): {
2404
3548
  evaluated_permission?: "allow" | "deny" | "ask";
2405
3549
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2406
3550
  session_thread_id?: null | string;
3551
+ permission_suggestions?: Array<{
3552
+ type: "add_rules";
3553
+ behavior: "allow";
3554
+ destination: "agent" | "session";
3555
+ rules: Array<{
3556
+ tool_name: string;
3557
+ rule_content: string;
3558
+ }>;
3559
+ }>;
3560
+ full_access_available?: boolean;
3561
+ user_once?: true;
3562
+ guarded_rule?: string;
2407
3563
  run_id: string | null;
2408
3564
  _meta?: {
2409
3565
  ui?: {
@@ -2417,17 +3573,6 @@ export declare function createAgent(transport: Transport): {
2417
3573
  };
2418
3574
  source?: "app" | "codemode";
2419
3575
  parent_tool_use_id?: string;
2420
- user_once?: true;
2421
- guarded_rule?: string;
2422
- permission_suggestions?: Array<{
2423
- type: "add_rules";
2424
- behavior: "allow";
2425
- destination: "agent" | "session";
2426
- rules: Array<{
2427
- tool_name: string;
2428
- rule_content: string;
2429
- }>;
2430
- }>;
2431
3576
  title?: string;
2432
3577
  input_titles?: {
2433
3578
  [key: string]: string;
@@ -2446,18 +3591,14 @@ export declare function createAgent(transport: Transport): {
2446
3591
  };
2447
3592
  source?: "app" | "codemode";
2448
3593
  } | {
2449
- full_access_available?: boolean;
2450
3594
  id: string;
2451
3595
  input: Types.AgentManaged206;
2452
3596
  name: string;
2453
3597
  processed_at: string;
2454
3598
  type: "agent.tool_use";
2455
3599
  evaluated_permission?: "allow" | "deny" | "ask";
2456
- evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2457
- session_thread_id?: null | string;
2458
- run_id: string | null;
2459
- user_once?: true;
2460
- guarded_rule?: string;
3600
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3601
+ session_thread_id?: null | string;
2461
3602
  permission_suggestions?: Array<{
2462
3603
  type: "add_rules";
2463
3604
  behavior: "allow";
@@ -2467,6 +3608,10 @@ export declare function createAgent(transport: Transport): {
2467
3608
  rule_content: string;
2468
3609
  }>;
2469
3610
  }>;
3611
+ full_access_available?: boolean;
3612
+ user_once?: true;
3613
+ guarded_rule?: string;
3614
+ run_id: string | null;
2470
3615
  } | {
2471
3616
  id: string;
2472
3617
  processed_at: string;
@@ -2487,9 +3632,6 @@ export declare function createAgent(transport: Transport): {
2487
3632
  type: "session.status_idle";
2488
3633
  run_id: string | null;
2489
3634
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2490
- permission_mode_version?: number;
2491
- previous_permission_mode?: string | null;
2492
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2493
3635
  id: string;
2494
3636
  processed_at: string;
2495
3637
  type: "session.updated";
@@ -2497,6 +3639,9 @@ export declare function createAgent(transport: Transport): {
2497
3639
  budget?: null | Types.AgentManaged76;
2498
3640
  metadata?: Types.AgentManaged246;
2499
3641
  title?: null | string;
3642
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3643
+ previous_permission_mode?: string | null;
3644
+ permission_mode_version?: number;
2500
3645
  model?: {
2501
3646
  id: string;
2502
3647
  };
@@ -2555,21 +3700,6 @@ export declare function createAgent(transport: Transport): {
2555
3700
  type: "user.steer";
2556
3701
  event_id: string;
2557
3702
  processed_at: string;
2558
- } | {
2559
- id: string;
2560
- type: "user.tool_confirmation";
2561
- processed_at: string;
2562
- tool_use_id: string;
2563
- result: "allow";
2564
- answers: {
2565
- [key: string]: string;
2566
- };
2567
- annotations?: {
2568
- [key: string]: {
2569
- preview?: string;
2570
- notes?: string;
2571
- };
2572
- };
2573
3703
  }>;
2574
3704
  next_page: string | null;
2575
3705
  }>;
@@ -2590,21 +3720,6 @@ export declare function createAgent(transport: Transport): {
2590
3720
  type: "user.steer";
2591
3721
  event_id: string;
2592
3722
  processed_at: string;
2593
- } | {
2594
- id: string;
2595
- type: "user.tool_confirmation";
2596
- processed_at: string;
2597
- tool_use_id: string;
2598
- result: "allow";
2599
- answers: {
2600
- [key: string]: string;
2601
- };
2602
- annotations?: {
2603
- [key: string]: {
2604
- preview?: string;
2605
- notes?: string;
2606
- };
2607
- };
2608
3723
  }>;
2609
3724
  }>;
2610
3725
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2657,6 +3772,7 @@ export declare function createAgent(transport: Transport): {
2657
3772
  speed?: "standard" | "fast";
2658
3773
  settings?: {
2659
3774
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3775
+ max_output_tokens?: number;
2660
3776
  };
2661
3777
  };
2662
3778
  multiagent: null | {
@@ -3119,6 +4235,11 @@ export declare function createAgent(transport: Transport): {
3119
4235
  vault_ids: Array<string>;
3120
4236
  deployment_id?: null | string;
3121
4237
  cwd: string;
4238
+ workspace?: {
4239
+ kind: "shared" | "isolated";
4240
+ path?: string;
4241
+ branch?: string;
4242
+ };
3122
4243
  computer_id?: string;
3123
4244
  model?: {
3124
4245
  id: string;
@@ -3152,6 +4273,7 @@ export declare function createAgent(transport: Transport): {
3152
4273
  speed?: "standard" | "fast";
3153
4274
  settings?: {
3154
4275
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4276
+ max_output_tokens?: number;
3155
4277
  };
3156
4278
  };
3157
4279
  multiagent: null | Types.AgentManaged171;
@@ -3178,6 +4300,11 @@ export declare function createAgent(transport: Transport): {
3178
4300
  vault_ids: Array<string>;
3179
4301
  deployment_id?: null | string;
3180
4302
  cwd: string;
4303
+ workspace?: {
4304
+ kind: "shared" | "isolated";
4305
+ path?: string;
4306
+ branch?: string;
4307
+ };
3181
4308
  computer_id?: string;
3182
4309
  model?: {
3183
4310
  id: string;
@@ -3199,6 +4326,557 @@ export declare function createAgent(transport: Transport): {
3199
4326
  }>;
3200
4327
  next_page: string | null;
3201
4328
  }>;
4329
+ name: {
4330
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4331
+ id: string;
4332
+ agent: {
4333
+ id: string;
4334
+ description: null | string;
4335
+ mcp_servers: Array<{
4336
+ type: "url";
4337
+ name: string;
4338
+ url: string;
4339
+ headers?: {
4340
+ [key: string]: string;
4341
+ };
4342
+ timeout_ms?: number;
4343
+ } | {
4344
+ type: "sse";
4345
+ name: string;
4346
+ url: string;
4347
+ headers?: {
4348
+ [key: string]: string;
4349
+ };
4350
+ timeout_ms?: number;
4351
+ } | {
4352
+ type: "stdio";
4353
+ name: string;
4354
+ command: string;
4355
+ args?: Array<string>;
4356
+ env?: {
4357
+ [key: string]: string;
4358
+ };
4359
+ timeout_ms?: number;
4360
+ }>;
4361
+ model: {
4362
+ id: string;
4363
+ effort?: {
4364
+ type: "low";
4365
+ } | {
4366
+ type: "medium";
4367
+ } | {
4368
+ type: "high";
4369
+ } | {
4370
+ type: "xhigh";
4371
+ } | {
4372
+ type: "max";
4373
+ };
4374
+ inference_geo?: string;
4375
+ speed?: "standard" | "fast";
4376
+ settings?: {
4377
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4378
+ max_output_tokens?: number;
4379
+ };
4380
+ };
4381
+ multiagent: null | {
4382
+ agents: Array<{
4383
+ model: string;
4384
+ type: "advisor";
4385
+ } | {
4386
+ id: string;
4387
+ description: null | string;
4388
+ mcp_servers: Array<{
4389
+ type: "url";
4390
+ name: string;
4391
+ url: string;
4392
+ headers?: {
4393
+ [key: string]: string;
4394
+ };
4395
+ timeout_ms?: number;
4396
+ } | {
4397
+ type: "sse";
4398
+ name: string;
4399
+ url: string;
4400
+ headers?: {
4401
+ [key: string]: string;
4402
+ };
4403
+ timeout_ms?: number;
4404
+ } | {
4405
+ type: "stdio";
4406
+ name: string;
4407
+ command: string;
4408
+ args?: Array<string>;
4409
+ env?: {
4410
+ [key: string]: string;
4411
+ };
4412
+ timeout_ms?: number;
4413
+ }>;
4414
+ model: {
4415
+ id: string;
4416
+ effort?: {
4417
+ type: "low";
4418
+ } | {
4419
+ type: "medium";
4420
+ } | {
4421
+ type: "high";
4422
+ } | {
4423
+ type: "xhigh";
4424
+ } | {
4425
+ type: "max";
4426
+ };
4427
+ inference_geo?: string;
4428
+ speed?: "standard" | "fast";
4429
+ };
4430
+ name: string;
4431
+ skills: Array<{
4432
+ skill_id: string;
4433
+ type: "anthropic";
4434
+ version: string;
4435
+ } | {
4436
+ skill_id: string;
4437
+ type: "custom";
4438
+ version: string;
4439
+ }>;
4440
+ system: null | string;
4441
+ tools: Array<{
4442
+ configs: Array<{
4443
+ enabled: boolean;
4444
+ name: "bash";
4445
+ permission_policy: {
4446
+ type: "always_allow";
4447
+ } | {
4448
+ type: "always_ask";
4449
+ } | {
4450
+ type: "auto";
4451
+ };
4452
+ type: "bash";
4453
+ } | {
4454
+ enabled: boolean;
4455
+ name: "edit";
4456
+ permission_policy: {
4457
+ type: "always_allow";
4458
+ } | {
4459
+ type: "always_ask";
4460
+ } | {
4461
+ type: "auto";
4462
+ };
4463
+ type: "edit";
4464
+ } | {
4465
+ enabled: boolean;
4466
+ name: "read";
4467
+ permission_policy: {
4468
+ type: "always_allow";
4469
+ } | {
4470
+ type: "always_ask";
4471
+ } | {
4472
+ type: "auto";
4473
+ };
4474
+ type: "read";
4475
+ } | {
4476
+ enabled: boolean;
4477
+ name: "write";
4478
+ permission_policy: {
4479
+ type: "always_allow";
4480
+ } | {
4481
+ type: "always_ask";
4482
+ } | {
4483
+ type: "auto";
4484
+ };
4485
+ type: "write";
4486
+ } | {
4487
+ enabled: boolean;
4488
+ name: "glob";
4489
+ permission_policy: {
4490
+ type: "always_allow";
4491
+ } | {
4492
+ type: "always_ask";
4493
+ } | {
4494
+ type: "auto";
4495
+ };
4496
+ type: "glob";
4497
+ } | {
4498
+ enabled: boolean;
4499
+ name: "grep";
4500
+ permission_policy: {
4501
+ type: "always_allow";
4502
+ } | {
4503
+ type: "always_ask";
4504
+ } | {
4505
+ type: "auto";
4506
+ };
4507
+ type: "grep";
4508
+ } | {
4509
+ enabled: boolean;
4510
+ name: "web_fetch";
4511
+ permission_policy: {
4512
+ type: "always_allow";
4513
+ } | {
4514
+ type: "always_ask";
4515
+ } | {
4516
+ type: "auto";
4517
+ };
4518
+ type: "web_fetch";
4519
+ allowed_domains?: Array<string>;
4520
+ blocked_domains?: Array<string>;
4521
+ max_content_tokens?: null | number;
4522
+ } | {
4523
+ enabled: boolean;
4524
+ name: "web_search";
4525
+ permission_policy: {
4526
+ type: "always_allow";
4527
+ } | {
4528
+ type: "always_ask";
4529
+ } | {
4530
+ type: "auto";
4531
+ };
4532
+ type: "web_search";
4533
+ allowed_domains?: Array<string>;
4534
+ blocked_domains?: Array<string>;
4535
+ user_location?: null | {
4536
+ type: "approximate";
4537
+ city?: null | string;
4538
+ country?: null | string;
4539
+ region?: null | string;
4540
+ timezone?: null | string;
4541
+ };
4542
+ } | {
4543
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4544
+ enabled: boolean;
4545
+ permission_policy: {
4546
+ type: "always_allow" | "always_ask";
4547
+ };
4548
+ }>;
4549
+ default_config: {
4550
+ enabled: boolean;
4551
+ permission_policy: {
4552
+ type: "always_allow";
4553
+ } | {
4554
+ type: "always_ask";
4555
+ } | {
4556
+ type: "auto";
4557
+ };
4558
+ };
4559
+ type: "agent_toolset_20260401";
4560
+ } | {
4561
+ type: "mcp_toolset";
4562
+ mcp_server_name: string;
4563
+ default_config?: {
4564
+ enabled?: boolean | null;
4565
+ permission_policy?: null | {
4566
+ type: "always_allow" | "always_ask";
4567
+ };
4568
+ } | null;
4569
+ configs?: Array<{
4570
+ name: string;
4571
+ enabled?: boolean | null;
4572
+ permission_policy?: null | {
4573
+ type: "always_allow" | "always_ask";
4574
+ };
4575
+ }> | null;
4576
+ } | {
4577
+ description: string;
4578
+ input_schema: {
4579
+ type: "object";
4580
+ properties?: null | {
4581
+ [key: string]: unknown;
4582
+ };
4583
+ required?: null | Array<string>;
4584
+ [key: string]: unknown;
4585
+ };
4586
+ name: string;
4587
+ type: "custom";
4588
+ }>;
4589
+ type: "agent";
4590
+ version: number;
4591
+ }>;
4592
+ type: "coordinator";
4593
+ };
4594
+ name: string;
4595
+ skills: Array<{
4596
+ skill_id: string;
4597
+ type: "anthropic";
4598
+ version: string;
4599
+ } | {
4600
+ skill_id: string;
4601
+ type: "custom";
4602
+ version: string;
4603
+ }>;
4604
+ system: null | string;
4605
+ tools: Array<{
4606
+ configs: Array<{
4607
+ enabled: boolean;
4608
+ name: "bash";
4609
+ permission_policy: {
4610
+ type: "always_allow";
4611
+ } | {
4612
+ type: "always_ask";
4613
+ } | {
4614
+ type: "auto";
4615
+ };
4616
+ type: "bash";
4617
+ } | {
4618
+ enabled: boolean;
4619
+ name: "edit";
4620
+ permission_policy: {
4621
+ type: "always_allow";
4622
+ } | {
4623
+ type: "always_ask";
4624
+ } | {
4625
+ type: "auto";
4626
+ };
4627
+ type: "edit";
4628
+ } | {
4629
+ enabled: boolean;
4630
+ name: "read";
4631
+ permission_policy: {
4632
+ type: "always_allow";
4633
+ } | {
4634
+ type: "always_ask";
4635
+ } | {
4636
+ type: "auto";
4637
+ };
4638
+ type: "read";
4639
+ } | {
4640
+ enabled: boolean;
4641
+ name: "write";
4642
+ permission_policy: {
4643
+ type: "always_allow";
4644
+ } | {
4645
+ type: "always_ask";
4646
+ } | {
4647
+ type: "auto";
4648
+ };
4649
+ type: "write";
4650
+ } | {
4651
+ enabled: boolean;
4652
+ name: "glob";
4653
+ permission_policy: {
4654
+ type: "always_allow";
4655
+ } | {
4656
+ type: "always_ask";
4657
+ } | {
4658
+ type: "auto";
4659
+ };
4660
+ type: "glob";
4661
+ } | {
4662
+ enabled: boolean;
4663
+ name: "grep";
4664
+ permission_policy: {
4665
+ type: "always_allow";
4666
+ } | {
4667
+ type: "always_ask";
4668
+ } | {
4669
+ type: "auto";
4670
+ };
4671
+ type: "grep";
4672
+ } | {
4673
+ enabled: boolean;
4674
+ name: "web_fetch";
4675
+ permission_policy: {
4676
+ type: "always_allow";
4677
+ } | {
4678
+ type: "always_ask";
4679
+ } | {
4680
+ type: "auto";
4681
+ };
4682
+ type: "web_fetch";
4683
+ allowed_domains?: Array<string>;
4684
+ blocked_domains?: Array<string>;
4685
+ max_content_tokens?: null | number;
4686
+ } | {
4687
+ enabled: boolean;
4688
+ name: "web_search";
4689
+ permission_policy: {
4690
+ type: "always_allow";
4691
+ } | {
4692
+ type: "always_ask";
4693
+ } | {
4694
+ type: "auto";
4695
+ };
4696
+ type: "web_search";
4697
+ allowed_domains?: Array<string>;
4698
+ blocked_domains?: Array<string>;
4699
+ user_location?: null | {
4700
+ type: "approximate";
4701
+ city?: null | string;
4702
+ country?: null | string;
4703
+ region?: null | string;
4704
+ timezone?: null | string;
4705
+ };
4706
+ } | {
4707
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4708
+ enabled: boolean;
4709
+ permission_policy: {
4710
+ type: "always_allow" | "always_ask";
4711
+ };
4712
+ }>;
4713
+ default_config: {
4714
+ enabled: boolean;
4715
+ permission_policy: {
4716
+ type: "always_allow";
4717
+ } | {
4718
+ type: "always_ask";
4719
+ } | {
4720
+ type: "auto";
4721
+ };
4722
+ };
4723
+ type: "agent_toolset_20260401";
4724
+ } | {
4725
+ type: "mcp_toolset";
4726
+ mcp_server_name: string;
4727
+ default_config?: {
4728
+ enabled?: boolean | null;
4729
+ permission_policy?: null | {
4730
+ type: "always_allow" | "always_ask";
4731
+ };
4732
+ } | null;
4733
+ configs?: Array<{
4734
+ name: string;
4735
+ enabled?: boolean | null;
4736
+ permission_policy?: null | {
4737
+ type: "always_allow" | "always_ask";
4738
+ };
4739
+ }> | null;
4740
+ } | {
4741
+ description: string;
4742
+ input_schema: {
4743
+ type: "object";
4744
+ properties?: null | {
4745
+ [key: string]: unknown;
4746
+ };
4747
+ required?: null | Array<string>;
4748
+ [key: string]: unknown;
4749
+ };
4750
+ name: string;
4751
+ type: "custom";
4752
+ }>;
4753
+ type: "agent";
4754
+ version: number;
4755
+ };
4756
+ archived_at: null | string;
4757
+ budget: null | {
4758
+ max_list_cost: {
4759
+ amount: string;
4760
+ currency: "USD";
4761
+ };
4762
+ type: "limit";
4763
+ };
4764
+ created_at: string;
4765
+ environment_id?: string;
4766
+ metadata: {
4767
+ [key: string]: string;
4768
+ };
4769
+ outcome_evaluations: Array<{
4770
+ completed_at: null | string;
4771
+ description: string;
4772
+ explanation: null | string;
4773
+ iteration: number;
4774
+ outcome_id: string;
4775
+ result: string;
4776
+ type: "outcome_evaluation";
4777
+ }>;
4778
+ resources: Array<{
4779
+ id: string;
4780
+ created_at: string;
4781
+ mount_path: string;
4782
+ type: "github_repository";
4783
+ updated_at: string;
4784
+ url: string;
4785
+ checkout?: null | {
4786
+ name: string;
4787
+ type: "branch";
4788
+ } | {
4789
+ sha: string;
4790
+ type: "commit";
4791
+ };
4792
+ } | {
4793
+ id: string;
4794
+ created_at: string;
4795
+ file_id: string;
4796
+ mount_path: string;
4797
+ type: "file";
4798
+ updated_at: string;
4799
+ } | {
4800
+ memory_store_id: string;
4801
+ type: "memory_store";
4802
+ access?: null | "read_write" | "read_only";
4803
+ description?: string;
4804
+ instructions?: null | string;
4805
+ mount_path?: null | string;
4806
+ name?: null | string;
4807
+ }>;
4808
+ stats: {
4809
+ active_seconds?: number;
4810
+ duration_seconds?: number;
4811
+ };
4812
+ status: "rescheduling" | "running" | "idle" | "terminated";
4813
+ title: null | string;
4814
+ type: "session";
4815
+ updated_at: string;
4816
+ usage: {
4817
+ active_seconds?: number;
4818
+ cache_creation?: {
4819
+ ephemeral_1h_input_tokens?: number;
4820
+ ephemeral_5m_input_tokens?: number;
4821
+ };
4822
+ cache_read_input_tokens?: number;
4823
+ input_tokens?: number;
4824
+ list_cost?: null | {
4825
+ amount: string;
4826
+ currency: "USD";
4827
+ };
4828
+ output_tokens?: number;
4829
+ server_tool_use?: null | {
4830
+ web_fetch_requests?: number;
4831
+ web_search_requests?: number;
4832
+ };
4833
+ cost_by_product?: {
4834
+ [key: string]: string;
4835
+ };
4836
+ subagent_cost_micro_usd?: number;
4837
+ };
4838
+ vault_ids: Array<string>;
4839
+ deployment_id?: null | string;
4840
+ cwd: string;
4841
+ workspace?: {
4842
+ kind: "shared" | "isolated";
4843
+ path?: string;
4844
+ branch?: string;
4845
+ };
4846
+ computer_id?: string;
4847
+ model?: {
4848
+ id: string;
4849
+ thinking: {
4850
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4851
+ can_disable: boolean;
4852
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4853
+ } | null;
4854
+ };
4855
+ thinking?: {
4856
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4857
+ } | null;
4858
+ forked_from?: {
4859
+ session_id: string;
4860
+ message_id: string;
4861
+ } | null;
4862
+ readonly external_user_id: string | null;
4863
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4864
+ }>;
4865
+ };
4866
+ requests: {
4867
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4868
+ data: Array<{
4869
+ id: string;
4870
+ object: "request";
4871
+ kind: "question" | "approval";
4872
+ status: "pending";
4873
+ tool_name: string;
4874
+ input: unknown;
4875
+ create_time: string;
4876
+ expire_time: string | null;
4877
+ }>;
4878
+ }>;
4879
+ };
3202
4880
  resources: {
3203
4881
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3204
4882
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3229,6 +4907,7 @@ export declare function createAgent(transport: Transport): {
3229
4907
  speed?: "standard" | "fast";
3230
4908
  settings?: {
3231
4909
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4910
+ max_output_tokens?: number;
3232
4911
  };
3233
4912
  };
3234
4913
  multiagent: null | Types.AgentManaged171;
@@ -3255,6 +4934,11 @@ export declare function createAgent(transport: Transport): {
3255
4934
  vault_ids: Array<string>;
3256
4935
  deployment_id?: null | string;
3257
4936
  cwd: string;
4937
+ workspace?: {
4938
+ kind: "shared" | "isolated";
4939
+ path?: string;
4940
+ branch?: string;
4941
+ };
3258
4942
  computer_id?: string;
3259
4943
  model?: {
3260
4944
  id: string;
@@ -3401,7 +5085,6 @@ export declare function createAgent(transport: Transport): {
3401
5085
  run_id: string | null;
3402
5086
  message_id?: string;
3403
5087
  } | {
3404
- full_access_available?: boolean;
3405
5088
  id: string;
3406
5089
  input: Types.AgentManaged197;
3407
5090
  mcp_server_name: string;
@@ -3411,21 +5094,6 @@ export declare function createAgent(transport: Transport): {
3411
5094
  evaluated_permission?: "allow" | "deny" | "ask";
3412
5095
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3413
5096
  session_thread_id?: null | string;
3414
- run_id: string | null;
3415
- parent_tool_use_id?: string;
3416
- _meta?: {
3417
- ui?: {
3418
- resourceUri?: string;
3419
- visibility?: Array<string>;
3420
- [key: string]: unknown;
3421
- };
3422
- "openai/ui"?: {
3423
- [key: string]: unknown;
3424
- };
3425
- };
3426
- source?: "app" | "codemode";
3427
- user_once?: true;
3428
- guarded_rule?: string;
3429
5097
  permission_suggestions?: Array<{
3430
5098
  type: "add_rules";
3431
5099
  behavior: "allow";
@@ -3435,6 +5103,22 @@ export declare function createAgent(transport: Transport): {
3435
5103
  rule_content: string;
3436
5104
  }>;
3437
5105
  }>;
5106
+ full_access_available?: boolean;
5107
+ user_once?: true;
5108
+ guarded_rule?: string;
5109
+ run_id: string | null;
5110
+ parent_tool_use_id?: string;
5111
+ _meta?: {
5112
+ ui?: {
5113
+ resourceUri?: string;
5114
+ visibility?: Array<string>;
5115
+ [key: string]: unknown;
5116
+ };
5117
+ "openai/ui"?: {
5118
+ [key: string]: unknown;
5119
+ };
5120
+ };
5121
+ source?: "app" | "codemode";
3438
5122
  title?: string;
3439
5123
  input_titles?: {
3440
5124
  [key: string]: string;
@@ -3453,7 +5137,6 @@ export declare function createAgent(transport: Transport): {
3453
5137
  };
3454
5138
  source?: "app" | "codemode";
3455
5139
  } | {
3456
- full_access_available?: boolean;
3457
5140
  id: string;
3458
5141
  input: Types.AgentManaged206;
3459
5142
  name: string;
@@ -3462,9 +5145,6 @@ export declare function createAgent(transport: Transport): {
3462
5145
  evaluated_permission?: "allow" | "deny" | "ask";
3463
5146
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3464
5147
  session_thread_id?: null | string;
3465
- run_id: string | null;
3466
- user_once?: true;
3467
- guarded_rule?: string;
3468
5148
  permission_suggestions?: Array<{
3469
5149
  type: "add_rules";
3470
5150
  behavior: "allow";
@@ -3474,6 +5154,10 @@ export declare function createAgent(transport: Transport): {
3474
5154
  rule_content: string;
3475
5155
  }>;
3476
5156
  }>;
5157
+ full_access_available?: boolean;
5158
+ user_once?: true;
5159
+ guarded_rule?: string;
5160
+ run_id: string | null;
3477
5161
  } | {
3478
5162
  id: string;
3479
5163
  processed_at: string;
@@ -3494,9 +5178,6 @@ export declare function createAgent(transport: Transport): {
3494
5178
  type: "session.status_idle";
3495
5179
  run_id: string | null;
3496
5180
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3497
- permission_mode_version?: number;
3498
- previous_permission_mode?: string | null;
3499
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3500
5181
  id: string;
3501
5182
  processed_at: string;
3502
5183
  type: "session.updated";
@@ -3504,6 +5185,9 @@ export declare function createAgent(transport: Transport): {
3504
5185
  budget?: null | Types.AgentManaged76;
3505
5186
  metadata?: Types.AgentManaged246;
3506
5187
  title?: null | string;
5188
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5189
+ previous_permission_mode?: string | null;
5190
+ permission_mode_version?: number;
3507
5191
  model?: {
3508
5192
  id: string;
3509
5193
  };
@@ -3594,6 +5278,7 @@ export declare function createAgent(transport: Transport): {
3594
5278
  speed?: "standard" | "fast";
3595
5279
  settings?: {
3596
5280
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5281
+ max_output_tokens?: number;
3597
5282
  };
3598
5283
  };
3599
5284
  multiagent: null | Types.AgentManaged171;
@@ -3620,6 +5305,11 @@ export declare function createAgent(transport: Transport): {
3620
5305
  vault_ids: Array<string>;
3621
5306
  deployment_id?: null | string;
3622
5307
  cwd: string;
5308
+ workspace?: {
5309
+ kind: "shared" | "isolated";
5310
+ path?: string;
5311
+ branch?: string;
5312
+ };
3623
5313
  computer_id?: string;
3624
5314
  model?: {
3625
5315
  id: string;
@@ -3684,6 +5374,29 @@ export declare function createAgent(transport: Transport): {
3684
5374
  next_page: null;
3685
5375
  }>;
3686
5376
  };
5377
+ uploads: {
5378
+ contentUrl: {
5379
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5380
+ url: string;
5381
+ expires_at: string;
5382
+ }>;
5383
+ };
5384
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5385
+ upload_id: string;
5386
+ expires_at: string;
5387
+ url: string;
5388
+ } | {
5389
+ upload_id: string;
5390
+ expires_at: string;
5391
+ part_size: number;
5392
+ parts: Array<{
5393
+ part_number: number;
5394
+ url: string;
5395
+ }>;
5396
+ complete_url: string;
5397
+ status_url: string;
5398
+ }>;
5399
+ };
3687
5400
  };
3688
5401
  export declare function createApplication(transport: Transport): {
3689
5402
  assets: {
@@ -3948,6 +5661,11 @@ export declare function createAutomation(transport: Transport): {
3948
5661
  };
3949
5662
  };
3950
5663
  };
5664
+ export declare function createBilling(transport: Transport): {
5665
+ prices: {
5666
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5667
+ };
5668
+ };
3951
5669
  export declare function createBrowser(transport: Transport): {
3952
5670
  connect: {
3953
5671
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3977,6 +5695,10 @@ export declare function createBrowser(transport: Transport): {
3977
5695
  tab: string;
3978
5696
  url: string;
3979
5697
  title: string;
5698
+ } | {
5699
+ type: "select";
5700
+ tab: string;
5701
+ values: Array<string>;
3980
5702
  } | {
3981
5703
  type: "tabs.list";
3982
5704
  tabs: Array<{
@@ -4003,6 +5725,11 @@ export declare function createBrowser(transport: Transport): {
4003
5725
  type: "evaluate";
4004
5726
  tab: string;
4005
5727
  value: unknown;
5728
+ } | {
5729
+ type: "set_cookie";
5730
+ tab: string;
5731
+ name: string;
5732
+ domain: string;
4006
5733
  }>;
4007
5734
  };
4008
5735
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4060,6 +5787,24 @@ export declare function createCanvas(transport: Transport): {
4060
5787
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4061
5788
  };
4062
5789
  };
5790
+ export declare function createContent(transport: Transport): {
5791
+ contents: {
5792
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5793
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5794
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5795
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5796
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5797
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5798
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5799
+ };
5800
+ playbackSessions: {
5801
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5802
+ };
5803
+ versions: {
5804
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5805
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5806
+ };
5807
+ };
4063
5808
  export declare function createCrm(transport: Transport): {
4064
5809
  associations: {
4065
5810
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4120,6 +5865,32 @@ export declare function createCrm(transport: Transport): {
4120
5865
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4121
5866
  };
4122
5867
  };
5868
+ export declare function createCustomer(transport: Transport): {
5869
+ accessTokens: {
5870
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5871
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5872
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5873
+ };
5874
+ customers: {
5875
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5876
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5877
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5878
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5879
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5880
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5881
+ };
5882
+ grantCodes: {
5883
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5884
+ };
5885
+ publishableKeys: {
5886
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5887
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5888
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5889
+ };
5890
+ usage: {
5891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5892
+ };
5893
+ };
4123
5894
  export declare function createCut(transport: Transport): {
4124
5895
  exports: {
4125
5896
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4172,15 +5943,40 @@ export declare function createCut(transport: Transport): {
4172
5943
  };
4173
5944
  export declare function createDatabase(transport: Transport): {
4174
5945
  databases: {
5946
+ commands: {
5947
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
5948
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
5949
+ result: unknown;
5950
+ }>;
5951
+ };
5952
+ /** @deprecated use praxis.database.table.create for a table database or praxis.database.kv.create for a key-value database instead; this path stops working on 2027-03-01. */
4175
5953
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
5954
+ /** @deprecated use praxis.database.table.delete for a table database or praxis.database.kv.delete for a key-value database instead; this path stops working on 2027-03-01. */
4176
5955
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4177
5956
  events: {
5957
+ /** @deprecated use praxis.database.table.events.list for a table database or praxis.database.kv.events.list for a key-value database instead; this path stops working on 2027-03-01. */
4178
5958
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4179
5959
  data: Array<Types.DatabaseDatabaseEvent>;
4180
5960
  }>;
4181
5961
  };
5962
+ keys: {
5963
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
5964
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
5965
+ deleted: boolean;
5966
+ }>;
5967
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
5968
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
5969
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
5970
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
5971
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
5972
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
5973
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
5974
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
5975
+ };
5976
+ /** @deprecated use praxis.database.table.list for a table database or praxis.database.kv.list for a key-value database instead; this path stops working on 2027-03-01. */
4182
5977
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4183
5978
  purge: {
5979
+ /** @deprecated use praxis.database.table.purge.create for a table database or praxis.database.kv.purge.create for a key-value database instead; this path stops working on 2027-03-01. */
4184
5980
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4185
5981
  id: string;
4186
5982
  object: "database";
@@ -4188,38 +5984,149 @@ export declare function createDatabase(transport: Transport): {
4188
5984
  }>;
4189
5985
  };
4190
5986
  rest: {
5987
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
4191
5988
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5989
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
4192
5990
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5991
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
4193
5992
  head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
5993
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
4194
5994
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5995
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
4195
5996
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4196
5997
  };
5998
+ /** @deprecated use praxis.database.table.restore for a table database or praxis.database.kv.restore for a key-value database instead; this path stops working on 2027-03-01. */
4197
5999
  restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6000
+ /** @deprecated use praxis.database.table.retrieve for a table database or praxis.database.kv.retrieve for a key-value database instead; this path stops working on 2027-03-01. */
4198
6001
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
4199
6002
  tables: {
6003
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
4200
6004
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6005
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
4201
6006
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
4202
6007
  deleted: true;
4203
6008
  }>;
4204
6009
  fields: {
6010
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
4205
6011
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6012
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
4206
6013
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6014
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
4207
6015
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
4208
6016
  };
6017
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
4209
6018
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
4210
6019
  data: Array<Types.DatabaseTable>;
4211
6020
  }>;
6021
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
4212
6022
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6023
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
4213
6024
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
4214
6025
  };
6026
+ /** @deprecated use praxis.database.table.update for a table database or praxis.database.kv.update for a key-value database instead; this path stops working on 2027-03-01. */
4215
6027
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4216
6028
  };
6029
+ kv: {
6030
+ commands: {
6031
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6032
+ result: unknown;
6033
+ }>;
6034
+ };
6035
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6036
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6037
+ events: {
6038
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6039
+ data: Array<Types.DatabaseDatabaseEvent>;
6040
+ }>;
6041
+ };
6042
+ keys: {
6043
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6044
+ deleted: boolean;
6045
+ }>;
6046
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6047
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6048
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6049
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6050
+ };
6051
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6052
+ purge: {
6053
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6054
+ id: string;
6055
+ object: "database";
6056
+ purged: true;
6057
+ }>;
6058
+ };
6059
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6060
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6061
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6062
+ };
6063
+ table: {
6064
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6065
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6066
+ events: {
6067
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6068
+ data: Array<Types.DatabaseDatabaseEvent>;
6069
+ }>;
6070
+ };
6071
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6072
+ purge: {
6073
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6074
+ id: string;
6075
+ object: "database";
6076
+ purged: true;
6077
+ }>;
6078
+ };
6079
+ rest: {
6080
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6081
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6082
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6083
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6084
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6085
+ };
6086
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6087
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6088
+ tables: {
6089
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6090
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
6091
+ deleted: true;
6092
+ }>;
6093
+ fields: {
6094
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6095
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6096
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
6097
+ };
6098
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
6099
+ data: Array<Types.DatabaseTable>;
6100
+ }>;
6101
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6102
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6103
+ };
6104
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6105
+ };
4217
6106
  };
4218
6107
  export declare function createDevops(transport: Transport): {
6108
+ changes: {
6109
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6110
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
6111
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6112
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
6113
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
6114
+ };
6115
+ connections: {
6116
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6117
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6118
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6119
+ repositories: {
6120
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6121
+ };
6122
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6123
+ };
4219
6124
  environments: {
4220
6125
  checkpoints: {
4221
6126
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4222
6127
  };
6128
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6129
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
4223
6130
  };
4224
6131
  flags: {
4225
6132
  archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
@@ -4238,6 +6145,17 @@ export declare function createDevops(transport: Transport): {
4238
6145
  rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
4239
6146
  };
4240
6147
  projects: {
6148
+ changes: {
6149
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6150
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6151
+ };
6152
+ cleanups: {
6153
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6154
+ };
6155
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6156
+ defaultBranch: {
6157
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6158
+ };
4241
6159
  environments: {
4242
6160
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4243
6161
  targets: {
@@ -4255,17 +6173,26 @@ export declare function createDevops(transport: Transport): {
4255
6173
  flags: {
4256
6174
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4257
6175
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6176
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4258
6177
  };
4259
6178
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4260
6179
  promotions: {
4261
6180
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4262
6181
  };
6182
+ pullRequests: {
6183
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6184
+ };
4263
6185
  releases: {
4264
6186
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4265
6187
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4266
6188
  };
4267
6189
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4268
6190
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6191
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6192
+ segments: {
6193
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6194
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6195
+ };
4269
6196
  targets: {
4270
6197
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4271
6198
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4287,10 +6214,21 @@ export declare function createDevops(transport: Transport): {
4287
6214
  testSuites: {
4288
6215
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4289
6216
  };
6217
+ units: {
6218
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6219
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6220
+ };
6221
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6222
+ workspaces: {
6223
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6224
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6225
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6226
+ };
4290
6227
  };
4291
6228
  promotions: {
4292
6229
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4293
6230
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6231
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4294
6232
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4295
6233
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4296
6234
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4299,6 +6237,16 @@ export declare function createDevops(transport: Transport): {
4299
6237
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4300
6238
  };
4301
6239
  };
6240
+ pullRequests: {
6241
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6242
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6243
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6244
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6245
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6246
+ reviews: {
6247
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6248
+ };
6249
+ };
4302
6250
  releases: {
4303
6251
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4304
6252
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4306,6 +6254,9 @@ export declare function createDevops(transport: Transport): {
4306
6254
  rollouts: {
4307
6255
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4308
6256
  };
6257
+ segments: {
6258
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6259
+ };
4309
6260
  testCases: {
4310
6261
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4311
6262
  };
@@ -4323,10 +6274,24 @@ export declare function createDevops(transport: Transport): {
4323
6274
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4324
6275
  };
4325
6276
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6277
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4326
6278
  };
4327
6279
  testSuites: {
4328
6280
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4329
6281
  };
6282
+ units: {
6283
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6284
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6285
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6286
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6287
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6288
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6289
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6290
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6291
+ transitions: {
6292
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6293
+ };
6294
+ };
4330
6295
  };
4331
6296
  export declare function createFile(transport: Transport): {
4332
6297
  files: {
@@ -4417,12 +6382,19 @@ export declare function createMedia(transport: Transport): {
4417
6382
  };
4418
6383
  libraries: {
4419
6384
  assets: {
6385
+ align: {
6386
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6387
+ };
4420
6388
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4421
6389
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4422
6390
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4423
6391
  frames: {
4424
6392
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4425
6393
  };
6394
+ hls: {
6395
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6396
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6397
+ };
4426
6398
  import: {
4427
6399
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4428
6400
  };
@@ -4435,6 +6407,9 @@ export declare function createMedia(transport: Transport): {
4435
6407
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4436
6408
  };
4437
6409
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6410
+ versions: {
6411
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6412
+ };
4438
6413
  };
4439
6414
  batches: {
4440
6415
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4457,6 +6432,11 @@ export declare function createMedia(transport: Transport): {
4457
6432
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4458
6433
  };
4459
6434
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6435
+ materials: {
6436
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6437
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6438
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6439
+ };
4460
6440
  purge: {
4461
6441
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4462
6442
  };
@@ -4481,6 +6461,12 @@ export declare function createMedia(transport: Transport): {
4481
6461
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4482
6462
  };
4483
6463
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6464
+ voices: {
6465
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6466
+ designs: {
6467
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6468
+ };
6469
+ };
4484
6470
  };
4485
6471
  speech: {
4486
6472
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -4687,7 +6673,35 @@ export declare function createModel(transport: Transport): {
4687
6673
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4688
6674
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4689
6675
  };
6676
+ modelAccess: {
6677
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6678
+ items: Array<{
6679
+ model: string;
6680
+ access_required: boolean;
6681
+ granted: boolean;
6682
+ granted_by: string | null;
6683
+ granted_at: string | null;
6684
+ sell_input_price: number | null;
6685
+ sell_output_price: number | null;
6686
+ }>;
6687
+ }>;
6688
+ };
4690
6689
  models: {
6690
+ access: {
6691
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6692
+ model: string;
6693
+ revoked: true;
6694
+ }>;
6695
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6696
+ model: string;
6697
+ access_required: boolean;
6698
+ granted: true;
6699
+ granted_by: string;
6700
+ granted_at: string;
6701
+ sell_input_price: number | null;
6702
+ sell_output_price: number | null;
6703
+ }>;
6704
+ };
4691
6705
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4692
6706
  object: "list";
4693
6707
  data: Array<{
@@ -4702,6 +6716,7 @@ export declare function createModel(transport: Transport): {
4702
6716
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4703
6717
  supported_apis: Array<string>;
4704
6718
  tags: Array<string>;
6719
+ access_required: boolean;
4705
6720
  architecture: {
4706
6721
  modality: string;
4707
6722
  input_modalities: Array<string>;
@@ -4748,6 +6763,7 @@ export declare function createModel(transport: Transport): {
4748
6763
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4749
6764
  supported_apis: Array<string>;
4750
6765
  tags: Array<string>;
6766
+ access_required: boolean;
4751
6767
  architecture: {
4752
6768
  modality: string;
4753
6769
  input_modalities: Array<string>;
@@ -4974,6 +6990,7 @@ export declare function createModel(transport: Transport): {
4974
6990
  unsigned_urls: Array<string>;
4975
6991
  usage?: {
4976
6992
  cost: number;
6993
+ billed_seconds?: number;
4977
6994
  };
4978
6995
  }>;
4979
6996
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5004,6 +7021,7 @@ export declare function createModel(transport: Transport): {
5004
7021
  unsigned_urls: Array<string>;
5005
7022
  usage?: {
5006
7023
  cost: number;
7024
+ billed_seconds?: number;
5007
7025
  };
5008
7026
  }>;
5009
7027
  has_more: boolean;
@@ -5032,6 +7050,7 @@ export declare function createModel(transport: Transport): {
5032
7050
  unsigned_urls: Array<string>;
5033
7051
  usage?: {
5034
7052
  cost: number;
7053
+ billed_seconds?: number;
5035
7054
  };
5036
7055
  }>;
5037
7056
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5325,6 +7344,83 @@ export declare function createOrganization(transport: Transport): {
5325
7344
  next_page: string | null;
5326
7345
  }>;
5327
7346
  };
7347
+ notifications: {
7348
+ deliveries: {
7349
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7350
+ [key: string]: unknown;
7351
+ }>;
7352
+ };
7353
+ letters: {
7354
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7355
+ unread: number;
7356
+ }>;
7357
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7358
+ letters: Array<{
7359
+ id: string;
7360
+ sender: string;
7361
+ summary: string;
7362
+ body: string;
7363
+ thread: string;
7364
+ kind: "notice" | "mention" | "decision";
7365
+ source: {
7366
+ [key: string]: unknown;
7367
+ };
7368
+ read: boolean;
7369
+ deliveredAt: string;
7370
+ createTime: string;
7371
+ reason: string;
7372
+ archived: boolean;
7373
+ }>;
7374
+ nextCursor: string;
7375
+ unread: number;
7376
+ }>;
7377
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7378
+ unread: number;
7379
+ }>;
7380
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7381
+ unread: number;
7382
+ }>;
7383
+ };
7384
+ organizationDefault: {
7385
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7386
+ [key: string]: unknown;
7387
+ }>;
7388
+ };
7389
+ preferences: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7391
+ [key: string]: unknown;
7392
+ }>;
7393
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7394
+ name: string;
7395
+ workflows: {
7396
+ [key: string]: unknown;
7397
+ };
7398
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7399
+ updateTime?: string;
7400
+ catalog: Array<{
7401
+ workflow: string;
7402
+ group: string;
7403
+ title: string;
7404
+ description?: string;
7405
+ critical: boolean;
7406
+ channels: Array<string>;
7407
+ }>;
7408
+ organization: {
7409
+ [key: string]: unknown;
7410
+ };
7411
+ effective: {
7412
+ [key: string]: unknown;
7413
+ };
7414
+ }>;
7415
+ };
7416
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
7417
+ unreadCount: number;
7418
+ unseenCount: number;
7419
+ }>;
7420
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
7421
+ [key: string]: unknown;
7422
+ }>;
7423
+ };
5328
7424
  usage: {
5329
7425
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5330
7426
  object: "page";
@@ -5348,13 +7444,163 @@ export declare function createOrganization(transport: Transport): {
5348
7444
  }>;
5349
7445
  };
5350
7446
  };
7447
+ export declare function createRegistry(transport: Transport): {
7448
+ installations: {
7449
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7450
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7451
+ };
7452
+ packages: {
7453
+ git: {
7454
+ commits: {
7455
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7456
+ };
7457
+ files: {
7458
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7459
+ };
7460
+ refs: {
7461
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7462
+ };
7463
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7464
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7465
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7466
+ trees: {
7467
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7468
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7469
+ };
7470
+ };
7471
+ gitCredential: {
7472
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7473
+ };
7474
+ installations: {
7475
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7476
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7477
+ };
7478
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7479
+ versions: {
7480
+ contents: {
7481
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7482
+ };
7483
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7484
+ files: {
7485
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7486
+ };
7487
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7488
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7489
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7490
+ };
7491
+ };
7492
+ repositories: {
7493
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7494
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7495
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7496
+ packages: {
7497
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7498
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7499
+ };
7500
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7501
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7502
+ };
7503
+ };
5351
7504
  export declare function createSandbox(transport: Transport): {
7505
+ byod: {
7506
+ devices: {
7507
+ disconnect: {
7508
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7509
+ id: string;
7510
+ object: "byod_device";
7511
+ disconnected: true;
7512
+ }>;
7513
+ };
7514
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7515
+ data: Array<{
7516
+ object: "byod_device";
7517
+ id: string;
7518
+ platform: "android" | "macos" | "linux";
7519
+ name: string;
7520
+ model: string;
7521
+ os_version: string;
7522
+ online: boolean;
7523
+ last_seen_at: string | null;
7524
+ created_at: string;
7525
+ capabilities: Array<"display" | "agent">;
7526
+ agent_dirs: Array<string>;
7527
+ allow_bypass: boolean;
7528
+ }>;
7529
+ }>;
7530
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7531
+ object: "byod_device";
7532
+ id: string;
7533
+ platform: "android" | "macos" | "linux";
7534
+ name: string;
7535
+ model: string;
7536
+ os_version: string;
7537
+ online: boolean;
7538
+ last_seen_at: string | null;
7539
+ created_at: string;
7540
+ capabilities: Array<"display" | "agent">;
7541
+ agent_dirs: Array<string>;
7542
+ allow_bypass: boolean;
7543
+ }>;
7544
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7545
+ object: "byod_device";
7546
+ id: string;
7547
+ platform: "android" | "macos" | "linux";
7548
+ name: string;
7549
+ model: string;
7550
+ os_version: string;
7551
+ online: boolean;
7552
+ last_seen_at: string | null;
7553
+ created_at: string;
7554
+ capabilities: Array<"display" | "agent">;
7555
+ agent_dirs: Array<string>;
7556
+ allow_bypass: boolean;
7557
+ }>;
7558
+ };
7559
+ pairings: {
7560
+ claim: {
7561
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7562
+ device_id: string;
7563
+ credential: string;
7564
+ socket_url: string;
7565
+ }>;
7566
+ };
7567
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7568
+ code: string;
7569
+ expires_at: string;
7570
+ qr: string;
7571
+ }>;
7572
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7573
+ organization_name: string;
7574
+ expires_at: string;
7575
+ }>;
7576
+ };
7577
+ };
5352
7578
  events: {
5353
7579
  sandboxes: {
5354
7580
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5355
7581
  };
5356
7582
  };
5357
7583
  sandboxes: {
7584
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7585
+ type: "snapshot";
7586
+ snapshot: string;
7587
+ refs: number;
7588
+ truncated: boolean;
7589
+ package: string;
7590
+ } | {
7591
+ type: "screenshot";
7592
+ mediaType: string;
7593
+ data: string;
7594
+ width: number;
7595
+ height: number;
7596
+ bytes: number;
7597
+ } | {
7598
+ type: "ok";
7599
+ ms?: number;
7600
+ } | {
7601
+ type: "wait";
7602
+ ms: number;
7603
+ }>;
5358
7604
  commands: {
5359
7605
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5360
7606
  stdout: string;
@@ -5432,6 +7678,20 @@ export declare function createSandbox(transport: Transport): {
5432
7678
  snapshots: {
5433
7679
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5434
7680
  };
7681
+ tasks: {
7682
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7683
+ taskId: string;
7684
+ instanceId: string;
7685
+ startedAt: number;
7686
+ }>;
7687
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7688
+ text: string;
7689
+ nextOffset: number;
7690
+ done: boolean;
7691
+ exitCode: number | null;
7692
+ size: number | null;
7693
+ }>;
7694
+ };
5435
7695
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5436
7696
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5437
7697
  name: string;
@@ -5570,6 +7830,14 @@ export declare function createSearch(transport: Transport): {
5570
7830
  }>;
5571
7831
  };
5572
7832
  };
7833
+ export declare function createShare(transport: Transport): {
7834
+ permissions: {
7835
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7836
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7837
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7838
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7839
+ };
7840
+ };
5573
7841
  export declare function createStudio(transport: Transport): {
5574
7842
  codexes: {
5575
7843
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5617,6 +7885,11 @@ export declare function createStudio(transport: Transport): {
5617
7885
  create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
5618
7886
  drafts: {
5619
7887
  create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7888
+ foreshadows: {
7889
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7890
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7891
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7892
+ };
5620
7893
  list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
5621
7894
  rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
5622
7895
  renditions: {
@@ -5635,8 +7908,14 @@ export declare function createStudio(transport: Transport): {
5635
7908
  create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
5636
7909
  };
5637
7910
  update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7911
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
5638
7912
  };
5639
7913
  list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7914
+ progressions: {
7915
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7916
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7917
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7918
+ };
5640
7919
  renditions: {
5641
7920
  delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
5642
7921
  list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
@@ -5674,7 +7953,6 @@ export declare function createStudio(transport: Transport): {
5674
7953
  update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
5675
7954
  };
5676
7955
  update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
5677
- updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
5678
7956
  };
5679
7957
  };
5680
7958
  export declare function createTicket(transport: Transport): {
@@ -5847,13 +8125,138 @@ export declare function createVault(transport: Transport): {
5847
8125
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
5848
8126
  };
5849
8127
  };
8128
+ export declare function createWorkforce(transport: Transport): {
8129
+ actors: {
8130
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8131
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8132
+ };
8133
+ assignments: {
8134
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8135
+ makePrimary: {
8136
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8137
+ };
8138
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8139
+ terminate: {
8140
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8141
+ };
8142
+ transfer: {
8143
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8144
+ };
8145
+ };
8146
+ departments: {
8147
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8148
+ dissolve: {
8149
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8150
+ };
8151
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8152
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8153
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8154
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
8155
+ };
8156
+ effectiveSpec: {
8157
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8158
+ };
8159
+ jobs: {
8160
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8161
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8162
+ retire: {
8163
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8164
+ };
8165
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8166
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8167
+ };
8168
+ keyResults: {
8169
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8170
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8171
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8172
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8173
+ };
8174
+ ladders: {
8175
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8176
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8177
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8178
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8179
+ };
8180
+ objectives: {
8181
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8182
+ grade: {
8183
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8184
+ };
8185
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8186
+ parents: {
8187
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8188
+ };
8189
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8190
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8191
+ };
8192
+ periods: {
8193
+ close: {
8194
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8195
+ };
8196
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8197
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8198
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8199
+ };
8200
+ positions: {
8201
+ close: {
8202
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8203
+ };
8204
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8205
+ designateHead: {
8206
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8207
+ };
8208
+ freeze: {
8209
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8210
+ };
8211
+ hire: {
8212
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8213
+ };
8214
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8215
+ replaceHolder: {
8216
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8217
+ };
8218
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8219
+ unfreeze: {
8220
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8221
+ };
8222
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8223
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8224
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8225
+ };
8226
+ reconcile: {
8227
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8228
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8229
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8230
+ run: {
8231
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8232
+ };
8233
+ status: {
8234
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8235
+ };
8236
+ };
8237
+ specSchema: {
8238
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8239
+ };
8240
+ specs: {
8241
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8242
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8243
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8244
+ revisions: {
8245
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8246
+ };
8247
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8248
+ };
8249
+ };
5850
8250
  export declare const resourceFactories: {
5851
8251
  agent: typeof createAgent;
5852
8252
  application: typeof createApplication;
5853
8253
  automation: typeof createAutomation;
8254
+ billing: typeof createBilling;
5854
8255
  browser: typeof createBrowser;
5855
8256
  canvas: typeof createCanvas;
8257
+ content: typeof createContent;
5856
8258
  crm: typeof createCrm;
8259
+ customer: typeof createCustomer;
5857
8260
  cut: typeof createCut;
5858
8261
  database: typeof createDatabase;
5859
8262
  devops: typeof createDevops;
@@ -5864,9 +8267,12 @@ export declare const resourceFactories: {
5864
8267
  model: typeof createModel;
5865
8268
  ontology: typeof createOntology;
5866
8269
  organization: typeof createOrganization;
8270
+ registry: typeof createRegistry;
5867
8271
  sandbox: typeof createSandbox;
5868
8272
  search: typeof createSearch;
8273
+ share: typeof createShare;
5869
8274
  studio: typeof createStudio;
5870
8275
  ticket: typeof createTicket;
5871
8276
  vault: typeof createVault;
8277
+ workforce: typeof createWorkforce;
5872
8278
  };