@deepraxis/sdk 0.1.1-dev.76902b6 → 0.1.1-dev.77dc43d

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 (44) hide show
  1. package/METHODS.md +1587 -263
  2. package/README.md +5 -5
  3. package/dist/automation.d.ts +61 -0
  4. package/dist/core/binary-operations.d.ts +3 -0
  5. package/dist/core/binary-operations.js +14 -0
  6. package/dist/core/client.d.ts +11 -1
  7. package/dist/core/client.js +13 -0
  8. package/dist/core/credentials.d.ts +22 -3
  9. package/dist/core/credentials.js +44 -5
  10. package/dist/core/errors.d.ts +6 -0
  11. package/dist/core/errors.js +8 -0
  12. package/dist/core/transport.d.ts +10 -1
  13. package/dist/core/transport.js +21 -6
  14. package/dist/generated/binary-operations.gen.d.ts +3 -0
  15. package/dist/generated/binary-operations.gen.js +14 -0
  16. package/dist/generated/index.d.ts +2 -2
  17. package/dist/generated/index.js +1 -1
  18. package/dist/generated/sdk.gen.d.ts +3567 -878
  19. package/dist/generated/sdk.gen.js +10028 -2239
  20. package/dist/generated/types.gen.d.ts +94396 -47090
  21. package/dist/helpers/application-build.d.ts +10 -0
  22. package/dist/helpers/application-build.js +98 -0
  23. package/dist/helpers/application-publish.d.ts +8 -0
  24. package/dist/helpers/application-publish.js +42 -11
  25. package/dist/helpers/browser-actions.d.ts +102 -0
  26. package/dist/helpers/browser-actions.js +146 -0
  27. package/dist/helpers/browser-connect-error.d.ts +28 -0
  28. package/dist/helpers/browser-connect-error.js +74 -0
  29. package/dist/helpers/browser-connect.d.ts +109 -0
  30. package/dist/helpers/browser-connect.js +374 -0
  31. package/dist/helpers/browser-decisions.d.ts +88 -0
  32. package/dist/helpers/browser-decisions.js +137 -0
  33. package/dist/helpers/browser-documentation.d.ts +2 -0
  34. package/dist/helpers/browser-documentation.js +56 -0
  35. package/dist/helpers/file-upload.d.ts +2 -2
  36. package/dist/helpers/sandbox-templates.d.ts +121 -0
  37. package/dist/helpers/sandbox-templates.js +60 -0
  38. package/dist/index.d.ts +6 -0
  39. package/dist/index.js +3 -0
  40. package/dist/operations.generated.d.ts +36 -13667
  41. package/dist/operations.generated.js +21067 -5368
  42. package/dist/resources.generated.d.ts +2799 -369
  43. package/dist/resources.generated.js +852 -42
  44. package/package.json +2 -2
@@ -10,16 +10,17 @@ export declare function createAgent(transport: Transport): {
10
10
  description: null | string;
11
11
  mcp_servers: Array<Types.AgentManaged36>;
12
12
  metadata: Types.AgentManaged37;
13
- model: {
13
+ model?: {
14
14
  id: string;
15
15
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
16
16
  inference_geo?: string;
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
19
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
+ max_output_tokens?: number;
20
21
  };
21
22
  };
22
- multiagent: null | Types.AgentManaged39;
23
+ multiagent?: null | Types.AgentManaged39;
23
24
  name: string;
24
25
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
25
26
  system: null | string;
@@ -41,18 +42,18 @@ export declare function createAgent(transport: Transport): {
41
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
43
  id: string;
43
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
44
46
  instructions?: string;
45
47
  readonly verified?: boolean;
46
48
  enabled?: boolean;
47
49
  } | {
48
- type: "search" | "browser";
50
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
51
  readonly verified?: boolean;
50
52
  enabled?: boolean;
51
53
  }>;
52
- kind: "personal" | "service";
54
+ kind: "general" | "service" | "assume";
53
55
  computer_id?: string;
54
56
  subagent_model?: string | null;
55
- image_model?: string | null;
56
57
  subagents?: Array<{
57
58
  name: string;
58
59
  description: string;
@@ -143,6 +144,7 @@ export declare function createAgent(transport: Transport): {
143
144
  allowManagedHooksOnly?: boolean;
144
145
  allowManagedMcpServersOnly?: boolean;
145
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
146
148
  autoMemoryEnabled?: boolean;
147
149
  disabled?: {
148
150
  subagents?: Array<string>;
@@ -151,17 +153,41 @@ export declare function createAgent(transport: Transport): {
151
153
  mcpServers?: Array<string>;
152
154
  hooks?: Array<string>;
153
155
  };
156
+ outputStyle?: string;
154
157
  } | null;
155
158
  models?: {
156
159
  allowed: Array<string>;
157
160
  };
158
161
  avatar: string | null;
159
162
  creation_source: string | null;
163
+ managed_by: string | null;
160
164
  identity_number: string | null;
161
165
  environment_id?: string | null;
162
166
  vault_ids?: Array<string>;
163
167
  status: "active" | "archived";
168
+ output_styles?: Array<{
169
+ name: string;
170
+ description?: string;
171
+ prompt: string;
172
+ keep_coding_instructions?: boolean;
173
+ }> | null;
164
174
  }>;
175
+ consolidations: {
176
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
177
+ id: string;
178
+ session_id: string;
179
+ status: "queued" | "running" | "done" | "failed";
180
+ engram_id?: string;
181
+ error?: string;
182
+ }>;
183
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
184
+ id: string;
185
+ session_id: string;
186
+ status: "queued" | "running" | "done" | "failed";
187
+ engram_id?: string;
188
+ error?: string;
189
+ }>;
190
+ };
165
191
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
166
192
  id: string;
167
193
  archived_at: null | string;
@@ -169,16 +195,17 @@ export declare function createAgent(transport: Transport): {
169
195
  description: null | string;
170
196
  mcp_servers: Array<Types.AgentManaged36>;
171
197
  metadata: Types.AgentManaged37;
172
- model: {
198
+ model?: {
173
199
  id: string;
174
200
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
175
201
  inference_geo?: string;
176
202
  speed?: "standard" | "fast";
177
203
  settings?: {
178
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
179
206
  };
180
207
  };
181
- multiagent: null | Types.AgentManaged39;
208
+ multiagent?: null | Types.AgentManaged39;
182
209
  name: string;
183
210
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
184
211
  system: null | string;
@@ -200,18 +227,25 @@ export declare function createAgent(transport: Transport): {
200
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
201
228
  id: string;
202
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
203
231
  instructions?: string;
204
232
  readonly verified?: boolean;
205
233
  enabled?: boolean;
206
234
  } | {
207
- type: "search" | "browser";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
208
236
  readonly verified?: boolean;
209
237
  enabled?: boolean;
210
238
  }>;
211
- kind: "personal" | "service";
239
+ kind: "general" | "service" | "assume";
240
+ computers?: {
241
+ default: string;
242
+ allowed: Array<{
243
+ template: string;
244
+ name: string;
245
+ }>;
246
+ };
212
247
  computer_id?: string;
213
248
  subagent_model?: string | null;
214
- image_model?: string | null;
215
249
  subagents?: Array<{
216
250
  name: string;
217
251
  description: string;
@@ -302,6 +336,7 @@ export declare function createAgent(transport: Transport): {
302
336
  allowManagedHooksOnly?: boolean;
303
337
  allowManagedMcpServersOnly?: boolean;
304
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
305
340
  autoMemoryEnabled?: boolean;
306
341
  disabled?: {
307
342
  subagents?: Array<string>;
@@ -310,54 +345,26 @@ export declare function createAgent(transport: Transport): {
310
345
  mcpServers?: Array<string>;
311
346
  hooks?: Array<string>;
312
347
  };
348
+ outputStyle?: string;
313
349
  } | null;
314
350
  models?: {
315
351
  allowed: Array<string>;
316
352
  };
317
353
  avatar: string | null;
318
354
  creation_source: string | null;
355
+ managed_by: string | null;
319
356
  identity_number: string | null;
320
357
  environment_id?: string | null;
321
358
  vault_ids?: Array<string>;
322
359
  status: "active" | "archived";
360
+ output_styles?: Array<{
361
+ name: string;
362
+ description?: string;
363
+ prompt: string;
364
+ keep_coding_instructions?: boolean;
365
+ }> | null;
323
366
  }>;
324
367
  customers: {
325
- auth: {
326
- accessTokens: {
327
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
328
- type: "customer_access_token";
329
- access_token: string;
330
- expires_at: string;
331
- session_expires_at: string;
332
- customer: {
333
- id: string;
334
- type: "identified" | "anonymous";
335
- };
336
- }>;
337
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
338
- renew: {
339
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
340
- type: "customer_access_token";
341
- access_token: string;
342
- expires_at: string;
343
- session_expires_at: string;
344
- customer: {
345
- id: string;
346
- type: "identified" | "anonymous";
347
- };
348
- }>;
349
- };
350
- };
351
- grantCodes: {
352
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
353
- type: "customer_grant_code";
354
- code: string;
355
- customer_id: string;
356
- expires_at: string;
357
- hosted_url?: string;
358
- }>;
359
- };
360
- };
361
368
  block: {
362
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
363
370
  id: string;
@@ -449,179 +456,372 @@ export declare function createAgent(transport: Transport): {
449
456
  }>;
450
457
  };
451
458
  };
452
- endUsers: {
453
- block: {
454
- create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
455
- external_user_id: string;
456
- first_seen_at: string | null;
457
- last_active_at: string | null;
458
- session_count: number;
459
- cost: {
460
- amount: string;
461
- currency: "USD";
462
- };
463
- blocked: boolean;
464
- }>;
465
- };
466
- delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
467
- id: string;
468
- status: "pending";
469
- }>;
470
- list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
459
+ events: {
460
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
471
461
  data: Array<{
472
- external_user_id: string;
473
- first_seen_at: string | null;
474
- last_active_at: string | null;
475
- session_count: number;
476
- cost: {
477
- amount: string;
478
- currency: "USD";
479
- };
480
- blocked: boolean;
481
- }>;
482
- next_page: string | null;
483
- }>;
484
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
485
- external_user_id: string;
486
- first_seen_at: string | null;
487
- last_active_at: string | null;
488
- session_count: number;
489
- cost: {
490
- amount: string;
491
- currency: "USD";
492
- };
493
- blocked: boolean;
494
- recent_sessions: Array<{
495
462
  id: string;
496
- title: string | null;
497
- source: string | null;
498
- created_at: string;
499
- updated_at: string;
500
- }>;
501
- }>;
502
- retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
503
- id: string;
504
- status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
505
- counts: {
506
- sessions?: number;
507
- events?: number;
508
- messages?: number;
509
- d1_rows?: number;
510
- attachments?: number;
511
- };
512
- snapshot_key?: string;
513
- error?: string;
514
- created_at: string;
515
- updated_at: string;
516
- }>;
517
- revokeTokens: {
518
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
519
- revoked: number;
520
- }>;
521
- };
522
- unblock: {
523
- create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
524
- external_user_id: string;
525
- first_seen_at: string | null;
526
- last_active_at: string | null;
527
- session_count: number;
528
- cost: {
529
- amount: string;
530
- currency: "USD";
463
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
464
+ type: "user.message";
465
+ processed_at?: null | string;
466
+ praxis_context?: {
467
+ items: Array<{
468
+ name: string;
469
+ value: string;
470
+ }>;
531
471
  };
532
- blocked: boolean;
533
- }>;
534
- };
535
- };
536
- list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
537
- data: Array<{
538
- id: string;
539
- archived_at: null | string;
540
- created_at: string;
541
- description: null | string;
542
- mcp_servers: Array<Types.AgentManaged36>;
543
- metadata: Types.AgentManaged37;
544
- model: {
472
+ message_id?: string;
473
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
545
474
  id: string;
546
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
547
- inference_geo?: string;
548
- speed?: "standard" | "fast";
549
- settings?: {
550
- reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
551
- };
552
- };
553
- multiagent: null | Types.AgentManaged39;
554
- name: string;
555
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
556
- system: null | string;
557
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
558
- type: "agent";
559
- updated_at: string;
560
- version: number;
561
- active_version: number;
562
- created_by: {
563
- type: "user";
475
+ content: Array<{
476
+ text: string;
477
+ type: "text";
478
+ citations?: Array<{
479
+ type: "search_result_location";
480
+ source: string;
481
+ title: string;
482
+ cited_text: string;
483
+ search_result_index: number;
484
+ start_block_index: number;
485
+ end_block_index: number;
486
+ }>;
487
+ } | Types.AgentManaged70>;
488
+ processed_at: string;
489
+ type: "agent.message";
490
+ run_id: string | null;
491
+ message_id?: string;
492
+ } | {
564
493
  id: string;
565
- name?: string;
494
+ processed_at: string;
495
+ type: "agent.thinking";
496
+ run_id: string | null;
497
+ message_id?: string;
566
498
  } | {
567
- type: "api_key";
568
499
  id: string;
569
- } | null;
570
- note: string | null;
571
- bindings: Array<{
572
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
500
+ input: Types.AgentManaged197;
501
+ mcp_server_name: string;
502
+ name: string;
503
+ processed_at: string;
504
+ type: "agent.mcp_tool_use";
505
+ evaluated_permission?: "allow" | "deny" | "ask";
506
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
507
+ session_thread_id?: null | string;
508
+ permission_suggestions?: Array<{
509
+ type: "add_rules";
510
+ behavior: "allow";
511
+ destination: "agent" | "session";
512
+ rules: Array<{
513
+ tool_name: string;
514
+ rule_content: string;
515
+ }>;
516
+ }>;
517
+ full_access_available?: boolean;
518
+ user_once?: true;
519
+ guarded_rule?: string;
520
+ run_id: string | null;
521
+ _meta?: {
522
+ ui?: {
523
+ resourceUri?: string;
524
+ visibility?: Array<string>;
525
+ [key: string]: unknown;
526
+ };
527
+ "openai/ui"?: {
528
+ [key: string]: unknown;
529
+ };
530
+ };
531
+ source?: "app" | "codemode";
532
+ parent_tool_use_id?: string;
533
+ title?: string;
534
+ input_titles?: {
535
+ [key: string]: string;
536
+ };
537
+ } | {
573
538
  id: string;
574
- access: "read_only" | "read_write" | "invoke";
575
- instructions?: string;
576
- readonly verified?: boolean;
577
- enabled?: boolean;
539
+ mcp_tool_use_id: string;
540
+ processed_at: string;
541
+ type: "agent.mcp_tool_result";
542
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
543
+ is_error?: null | false | true;
544
+ run_id: string | null;
545
+ structured_content?: unknown;
546
+ _meta?: {
547
+ [key: string]: unknown;
548
+ };
549
+ source?: "app" | "codemode";
578
550
  } | {
579
- type: "search" | "browser";
580
- readonly verified?: boolean;
581
- enabled?: boolean;
582
- }>;
583
- kind: "personal" | "service";
584
- computer_id?: string;
585
- subagent_model?: string | null;
586
- image_model?: string | null;
587
- subagents?: Array<{
588
- name: string;
589
- description: string;
590
- prompt: string;
591
- tools?: Array<string>;
592
- disallowed_tools?: Array<string>;
593
- model?: string;
594
- }> | null;
595
- commands?: Array<{
551
+ id: string;
552
+ input: Types.AgentManaged206;
596
553
  name: string;
597
- description?: string;
598
- argument_hint?: string;
599
- prompt: string;
600
- }> | null;
601
- settings?: {
602
- hooks?: {
603
- SessionStart?: Array<{
604
- matcher?: string;
605
- hooks: Array<{
606
- type: "command";
607
- command: string;
608
- timeout?: number;
609
- async?: boolean;
610
- enabled?: boolean;
611
- }>;
612
- }>;
613
- UserPromptSubmit?: Array<{
614
- matcher?: string;
615
- hooks: Array<{
616
- type: "command";
617
- command: string;
618
- timeout?: number;
619
- async?: boolean;
620
- enabled?: boolean;
621
- }>;
554
+ processed_at: string;
555
+ type: "agent.tool_use";
556
+ evaluated_permission?: "allow" | "deny" | "ask";
557
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
558
+ session_thread_id?: null | string;
559
+ permission_suggestions?: Array<{
560
+ type: "add_rules";
561
+ behavior: "allow";
562
+ destination: "agent" | "session";
563
+ rules: Array<{
564
+ tool_name: string;
565
+ rule_content: string;
622
566
  }>;
623
- PreToolUse?: Array<{
624
- matcher?: string;
567
+ }>;
568
+ full_access_available?: boolean;
569
+ user_once?: true;
570
+ guarded_rule?: string;
571
+ run_id: string | null;
572
+ } | {
573
+ id: string;
574
+ processed_at: string;
575
+ tool_use_id: string;
576
+ type: "agent.tool_result";
577
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
578
+ is_error?: null | false | true;
579
+ run_id: string | null;
580
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
581
+ id: string;
582
+ processed_at: string;
583
+ type: "session.status_running";
584
+ run_id: string | null;
585
+ } | {
586
+ id: string;
587
+ processed_at: string;
588
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
589
+ type: "session.status_idle";
590
+ run_id: string | null;
591
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
592
+ id: string;
593
+ processed_at: string;
594
+ type: "session.updated";
595
+ agent?: null | Types.AgentManaged170;
596
+ budget?: null | Types.AgentManaged76;
597
+ metadata?: Types.AgentManaged246;
598
+ title?: null | string;
599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
600
+ previous_permission_mode?: string | null;
601
+ permission_mode_version?: number;
602
+ model?: {
603
+ id: string;
604
+ };
605
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
606
+ id: string;
607
+ type: "session.forked";
608
+ processed_at: string;
609
+ forked_from_session_id: string;
610
+ forked_from_message_id: string;
611
+ } | {
612
+ id: string;
613
+ type: "session.goal_changed";
614
+ processed_at: string;
615
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
616
+ source: "command" | "runtime";
617
+ goal: {
618
+ goal_id: string;
619
+ objective: string;
620
+ summary_title: string | null;
621
+ status: "active" | "paused" | "budget_limited" | "complete";
622
+ token_budget: number | null;
623
+ tokens_used: number;
624
+ time_used_seconds: number;
625
+ iteration: number;
626
+ created_at: number;
627
+ updated_at: number;
628
+ } | null;
629
+ previous_goal: {
630
+ goal_id: string;
631
+ objective: string;
632
+ summary_title: string | null;
633
+ status: "active" | "paused" | "budget_limited" | "complete";
634
+ token_budget: number | null;
635
+ tokens_used: number;
636
+ time_used_seconds: number;
637
+ iteration: number;
638
+ created_at: number;
639
+ updated_at: number;
640
+ } | null;
641
+ } | {
642
+ id: string;
643
+ type: "session.goal_verification";
644
+ processed_at: string;
645
+ status: "started" | "completed" | "failed_closed" | "cancelled";
646
+ goal_id: string;
647
+ goal_iteration: number;
648
+ verification_id: string;
649
+ anchor_message_id: string | null;
650
+ verification?: {
651
+ passed: boolean;
652
+ reason: string;
653
+ next_action?: string;
654
+ };
655
+ } | {
656
+ id: string;
657
+ type: "user.steer";
658
+ event_id: string;
659
+ processed_at: string;
660
+ } | {
661
+ id: string;
662
+ type: "user.tool_confirmation";
663
+ processed_at: string;
664
+ tool_use_id: string;
665
+ result: "allow";
666
+ answers: {
667
+ [key: string]: string;
668
+ };
669
+ annotations?: {
670
+ [key: string]: {
671
+ preview?: string;
672
+ notes?: string;
673
+ };
674
+ };
675
+ }>;
676
+ next_page: string | null;
677
+ }>;
678
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
679
+ data?: Array<{
680
+ id: string;
681
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
682
+ type: "user.message";
683
+ processed_at?: null | string;
684
+ praxis_context?: {
685
+ items: Array<{
686
+ name: string;
687
+ value: string;
688
+ }>;
689
+ };
690
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
691
+ id: string;
692
+ type: "user.steer";
693
+ event_id: string;
694
+ processed_at: string;
695
+ } | {
696
+ id: string;
697
+ type: "user.tool_confirmation";
698
+ processed_at: string;
699
+ tool_use_id: string;
700
+ result: "allow";
701
+ answers: {
702
+ [key: string]: string;
703
+ };
704
+ annotations?: {
705
+ [key: string]: {
706
+ preview?: string;
707
+ notes?: string;
708
+ };
709
+ };
710
+ }>;
711
+ }>;
712
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
713
+ };
714
+ inbox: {
715
+ letters: {
716
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
717
+ unread: number;
718
+ letters: Array<{
719
+ id: string;
720
+ sender: string;
721
+ summary: string;
722
+ thread: string | null;
723
+ create_time: string;
724
+ }>;
725
+ }>;
726
+ };
727
+ };
728
+ list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
729
+ data: Array<{
730
+ id: string;
731
+ archived_at: null | string;
732
+ created_at: string;
733
+ description: null | string;
734
+ mcp_servers: Array<Types.AgentManaged36>;
735
+ metadata: Types.AgentManaged37;
736
+ model?: {
737
+ id: string;
738
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
739
+ inference_geo?: string;
740
+ speed?: "standard" | "fast";
741
+ settings?: {
742
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
743
+ max_output_tokens?: number;
744
+ };
745
+ };
746
+ multiagent?: null | Types.AgentManaged39;
747
+ name: string;
748
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
749
+ system: null | string;
750
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
751
+ type: "agent";
752
+ updated_at: string;
753
+ version: number;
754
+ active_version: number;
755
+ created_by: {
756
+ type: "user";
757
+ id: string;
758
+ name?: string;
759
+ } | {
760
+ type: "api_key";
761
+ id: string;
762
+ } | null;
763
+ note: string | null;
764
+ bindings: Array<{
765
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
766
+ id: string;
767
+ access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
769
+ instructions?: string;
770
+ readonly verified?: boolean;
771
+ enabled?: boolean;
772
+ } | {
773
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
774
+ readonly verified?: boolean;
775
+ enabled?: boolean;
776
+ }>;
777
+ kind: "general" | "service" | "assume";
778
+ computers?: {
779
+ default: string;
780
+ allowed: Array<{
781
+ template: string;
782
+ name: string;
783
+ }>;
784
+ };
785
+ computer_id?: string;
786
+ subagent_model?: string | null;
787
+ subagents?: Array<{
788
+ name: string;
789
+ description: string;
790
+ prompt: string;
791
+ tools?: Array<string>;
792
+ disallowed_tools?: Array<string>;
793
+ model?: string;
794
+ }> | null;
795
+ commands?: Array<{
796
+ name: string;
797
+ description?: string;
798
+ argument_hint?: string;
799
+ prompt: string;
800
+ }> | null;
801
+ settings?: {
802
+ hooks?: {
803
+ SessionStart?: Array<{
804
+ matcher?: string;
805
+ hooks: Array<{
806
+ type: "command";
807
+ command: string;
808
+ timeout?: number;
809
+ async?: boolean;
810
+ enabled?: boolean;
811
+ }>;
812
+ }>;
813
+ UserPromptSubmit?: Array<{
814
+ matcher?: string;
815
+ hooks: Array<{
816
+ type: "command";
817
+ command: string;
818
+ timeout?: number;
819
+ async?: boolean;
820
+ enabled?: boolean;
821
+ }>;
822
+ }>;
823
+ PreToolUse?: Array<{
824
+ matcher?: string;
625
825
  hooks: Array<{
626
826
  type: "command";
627
827
  command: string;
@@ -674,6 +874,7 @@ export declare function createAgent(transport: Transport): {
674
874
  allowManagedHooksOnly?: boolean;
675
875
  allowManagedMcpServersOnly?: boolean;
676
876
  allowManagedPermissionRulesOnly?: boolean;
877
+ idleCompaction?: boolean;
677
878
  autoMemoryEnabled?: boolean;
678
879
  disabled?: {
679
880
  subagents?: Array<string>;
@@ -682,16 +883,24 @@ export declare function createAgent(transport: Transport): {
682
883
  mcpServers?: Array<string>;
683
884
  hooks?: Array<string>;
684
885
  };
886
+ outputStyle?: string;
685
887
  } | null;
686
888
  models?: {
687
889
  allowed: Array<string>;
688
890
  };
689
891
  avatar: string | null;
690
892
  creation_source: string | null;
893
+ managed_by: string | null;
691
894
  identity_number: string | null;
692
895
  environment_id?: string | null;
693
896
  vault_ids?: Array<string>;
694
897
  status: "active" | "archived";
898
+ output_styles?: Array<{
899
+ name: string;
900
+ description?: string;
901
+ prompt: string;
902
+ keep_coding_instructions?: boolean;
903
+ }> | null;
695
904
  }>;
696
905
  next_page: string | null;
697
906
  }>;
@@ -702,16 +911,17 @@ export declare function createAgent(transport: Transport): {
702
911
  description: null | string;
703
912
  mcp_servers: Array<Types.AgentManaged36>;
704
913
  metadata: Types.AgentManaged37;
705
- model: {
914
+ model?: {
706
915
  id: string;
707
916
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
708
917
  inference_geo?: string;
709
918
  speed?: "standard" | "fast";
710
919
  settings?: {
711
920
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
921
+ max_output_tokens?: number;
712
922
  };
713
923
  };
714
- multiagent: null | Types.AgentManaged39;
924
+ multiagent?: null | Types.AgentManaged39;
715
925
  name: string;
716
926
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
717
927
  system: null | string;
@@ -719,6 +929,7 @@ export declare function createAgent(transport: Transport): {
719
929
  type: "agent";
720
930
  updated_at: string;
721
931
  version: number;
932
+ latest_version?: number;
722
933
  active_version: number;
723
934
  created_by: {
724
935
  type: "user";
@@ -733,18 +944,25 @@ export declare function createAgent(transport: Transport): {
733
944
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
734
945
  id: string;
735
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
736
948
  instructions?: string;
737
949
  readonly verified?: boolean;
738
950
  enabled?: boolean;
739
951
  } | {
740
- type: "search" | "browser";
952
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
741
953
  readonly verified?: boolean;
742
954
  enabled?: boolean;
743
955
  }>;
744
- kind: "personal" | "service";
956
+ kind: "general" | "service" | "assume";
957
+ computers?: {
958
+ default: string;
959
+ allowed: Array<{
960
+ template: string;
961
+ name: string;
962
+ }>;
963
+ };
745
964
  computer_id?: string;
746
965
  subagent_model?: string | null;
747
- image_model?: string | null;
748
966
  subagents?: Array<{
749
967
  name: string;
750
968
  description: string;
@@ -835,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
835
1053
  allowManagedHooksOnly?: boolean;
836
1054
  allowManagedMcpServersOnly?: boolean;
837
1055
  allowManagedPermissionRulesOnly?: boolean;
1056
+ idleCompaction?: boolean;
838
1057
  autoMemoryEnabled?: boolean;
839
1058
  disabled?: {
840
1059
  subagents?: Array<string>;
@@ -843,16 +1062,24 @@ export declare function createAgent(transport: Transport): {
843
1062
  mcpServers?: Array<string>;
844
1063
  hooks?: Array<string>;
845
1064
  };
1065
+ outputStyle?: string;
846
1066
  } | null;
847
1067
  models?: {
848
1068
  allowed: Array<string>;
849
1069
  };
850
1070
  avatar: string | null;
851
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
852
1073
  identity_number: string | null;
853
1074
  environment_id?: string | null;
854
1075
  vault_ids?: Array<string>;
855
1076
  status: "active" | "archived";
1077
+ output_styles?: Array<{
1078
+ name: string;
1079
+ description?: string;
1080
+ prompt: string;
1081
+ keep_coding_instructions?: boolean;
1082
+ }> | null;
856
1083
  }>;
857
1084
  retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
858
1085
  agent?: {
@@ -911,6 +1138,25 @@ export declare function createAgent(transport: Transport): {
911
1138
  history?: {
912
1139
  enabled?: boolean;
913
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
+ };
914
1160
  }>;
915
1161
  unarchive: {
916
1162
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -947,7 +1193,7 @@ export declare function createAgent(transport: Transport): {
947
1193
  metadata: {
948
1194
  [key: string]: string;
949
1195
  };
950
- model: {
1196
+ model?: {
951
1197
  id: string;
952
1198
  effort?: {
953
1199
  type: "low";
@@ -964,9 +1210,10 @@ export declare function createAgent(transport: Transport): {
964
1210
  speed?: "standard" | "fast";
965
1211
  settings?: {
966
1212
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1213
+ max_output_tokens?: number;
967
1214
  };
968
1215
  };
969
- multiagent: null | {
1216
+ multiagent?: null | {
970
1217
  agents: Array<{
971
1218
  id: string;
972
1219
  type: "agent";
@@ -1139,6 +1386,7 @@ export declare function createAgent(transport: Transport): {
1139
1386
  type: "agent";
1140
1387
  updated_at: string;
1141
1388
  version: number;
1389
+ latest_version?: number;
1142
1390
  active_version: number;
1143
1391
  created_by: {
1144
1392
  type: "user";
@@ -1153,18 +1401,25 @@ export declare function createAgent(transport: Transport): {
1153
1401
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1154
1402
  id: string;
1155
1403
  access: "read_only" | "read_write" | "invoke";
1404
+ customer_access?: "read_only" | "read_write" | "invoke";
1156
1405
  instructions?: string;
1157
1406
  readonly verified?: boolean;
1158
1407
  enabled?: boolean;
1159
1408
  } | {
1160
- type: "search" | "browser";
1409
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1161
1410
  readonly verified?: boolean;
1162
1411
  enabled?: boolean;
1163
1412
  }>;
1164
- kind: "personal" | "service";
1413
+ kind: "general" | "service" | "assume";
1414
+ computers?: {
1415
+ default: string;
1416
+ allowed: Array<{
1417
+ template: string;
1418
+ name: string;
1419
+ }>;
1420
+ };
1165
1421
  computer_id?: string;
1166
1422
  subagent_model?: string | null;
1167
- image_model?: string | null;
1168
1423
  subagents?: Array<{
1169
1424
  name: string;
1170
1425
  description: string;
@@ -1255,6 +1510,7 @@ export declare function createAgent(transport: Transport): {
1255
1510
  allowManagedHooksOnly?: boolean;
1256
1511
  allowManagedMcpServersOnly?: boolean;
1257
1512
  allowManagedPermissionRulesOnly?: boolean;
1513
+ idleCompaction?: boolean;
1258
1514
  autoMemoryEnabled?: boolean;
1259
1515
  disabled?: {
1260
1516
  subagents?: Array<string>;
@@ -1263,17 +1519,25 @@ export declare function createAgent(transport: Transport): {
1263
1519
  mcpServers?: Array<string>;
1264
1520
  hooks?: Array<string>;
1265
1521
  };
1522
+ outputStyle?: string;
1266
1523
  } | null;
1267
1524
  models?: {
1268
1525
  allowed: Array<string>;
1269
1526
  };
1270
1527
  avatar: string | null;
1271
1528
  creation_source: string | null;
1529
+ managed_by: string | null;
1272
1530
  identity_number: string | null;
1273
1531
  environment_id?: string | null;
1274
1532
  vault_ids?: Array<string>;
1275
1533
  status: "active" | "archived";
1276
- }>;
1534
+ output_styles?: Array<{
1535
+ name: string;
1536
+ description?: string;
1537
+ prompt: string;
1538
+ keep_coding_instructions?: boolean;
1539
+ }> | null;
1540
+ }>;
1277
1541
  };
1278
1542
  update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
1279
1543
  id: string;
@@ -1282,16 +1546,17 @@ export declare function createAgent(transport: Transport): {
1282
1546
  description: null | string;
1283
1547
  mcp_servers: Array<Types.AgentManaged36>;
1284
1548
  metadata: Types.AgentManaged37;
1285
- model: {
1549
+ model?: {
1286
1550
  id: string;
1287
1551
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1288
1552
  inference_geo?: string;
1289
1553
  speed?: "standard" | "fast";
1290
1554
  settings?: {
1291
1555
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1556
+ max_output_tokens?: number;
1292
1557
  };
1293
1558
  };
1294
- multiagent: null | Types.AgentManaged39;
1559
+ multiagent?: null | Types.AgentManaged39;
1295
1560
  name: string;
1296
1561
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1297
1562
  system: null | string;
@@ -1299,6 +1564,7 @@ export declare function createAgent(transport: Transport): {
1299
1564
  type: "agent";
1300
1565
  updated_at: string;
1301
1566
  version: number;
1567
+ latest_version?: number;
1302
1568
  active_version: number;
1303
1569
  created_by: {
1304
1570
  type: "user";
@@ -1313,18 +1579,25 @@ export declare function createAgent(transport: Transport): {
1313
1579
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1314
1580
  id: string;
1315
1581
  access: "read_only" | "read_write" | "invoke";
1582
+ customer_access?: "read_only" | "read_write" | "invoke";
1316
1583
  instructions?: string;
1317
1584
  readonly verified?: boolean;
1318
1585
  enabled?: boolean;
1319
1586
  } | {
1320
- type: "search" | "browser";
1587
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1321
1588
  readonly verified?: boolean;
1322
1589
  enabled?: boolean;
1323
1590
  }>;
1324
- kind: "personal" | "service";
1591
+ kind: "general" | "service" | "assume";
1592
+ computers?: {
1593
+ default: string;
1594
+ allowed: Array<{
1595
+ template: string;
1596
+ name: string;
1597
+ }>;
1598
+ };
1325
1599
  computer_id?: string;
1326
1600
  subagent_model?: string | null;
1327
- image_model?: string | null;
1328
1601
  subagents?: Array<{
1329
1602
  name: string;
1330
1603
  description: string;
@@ -1415,6 +1688,7 @@ export declare function createAgent(transport: Transport): {
1415
1688
  allowManagedHooksOnly?: boolean;
1416
1689
  allowManagedMcpServersOnly?: boolean;
1417
1690
  allowManagedPermissionRulesOnly?: boolean;
1691
+ idleCompaction?: boolean;
1418
1692
  autoMemoryEnabled?: boolean;
1419
1693
  disabled?: {
1420
1694
  subagents?: Array<string>;
@@ -1423,16 +1697,38 @@ export declare function createAgent(transport: Transport): {
1423
1697
  mcpServers?: Array<string>;
1424
1698
  hooks?: Array<string>;
1425
1699
  };
1700
+ outputStyle?: string;
1426
1701
  } | null;
1427
1702
  models?: {
1428
1703
  allowed: Array<string>;
1429
1704
  };
1430
1705
  avatar: string | null;
1431
1706
  creation_source: string | null;
1707
+ managed_by: string | null;
1432
1708
  identity_number: string | null;
1433
1709
  environment_id?: string | null;
1434
1710
  vault_ids?: Array<string>;
1435
1711
  status: "active" | "archived";
1712
+ output_styles?: Array<{
1713
+ name: string;
1714
+ description?: string;
1715
+ prompt: string;
1716
+ keep_coding_instructions?: boolean;
1717
+ }> | null;
1718
+ }>;
1719
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1720
+ allowed_origins: Array<string>;
1721
+ allow_localhost: boolean;
1722
+ uploads: {
1723
+ enabled: boolean;
1724
+ max_file_bytes: number;
1725
+ max_files_per_session: number;
1726
+ };
1727
+ share_links: {
1728
+ enabled: boolean;
1729
+ daily_session_cap: number | null;
1730
+ daily_spend_cap_micro_usd: number | null;
1731
+ };
1436
1732
  }>;
1437
1733
  versions: {
1438
1734
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
@@ -1469,7 +1765,7 @@ export declare function createAgent(transport: Transport): {
1469
1765
  metadata: {
1470
1766
  [key: string]: string;
1471
1767
  };
1472
- model: {
1768
+ model?: {
1473
1769
  id: string;
1474
1770
  effort?: {
1475
1771
  type: "low";
@@ -1486,9 +1782,10 @@ export declare function createAgent(transport: Transport): {
1486
1782
  speed?: "standard" | "fast";
1487
1783
  settings?: {
1488
1784
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1785
+ max_output_tokens?: number;
1489
1786
  };
1490
1787
  };
1491
- multiagent: null | {
1788
+ multiagent?: null | {
1492
1789
  agents: Array<{
1493
1790
  id: string;
1494
1791
  type: "agent";
@@ -1661,6 +1958,7 @@ export declare function createAgent(transport: Transport): {
1661
1958
  type: "agent";
1662
1959
  updated_at: string;
1663
1960
  version: number;
1961
+ latest_version?: number;
1664
1962
  active_version: number;
1665
1963
  created_by: {
1666
1964
  type: "user";
@@ -1675,18 +1973,25 @@ export declare function createAgent(transport: Transport): {
1675
1973
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1676
1974
  id: string;
1677
1975
  access: "read_only" | "read_write" | "invoke";
1976
+ customer_access?: "read_only" | "read_write" | "invoke";
1678
1977
  instructions?: string;
1679
1978
  readonly verified?: boolean;
1680
1979
  enabled?: boolean;
1681
1980
  } | {
1682
- type: "search" | "browser";
1981
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1683
1982
  readonly verified?: boolean;
1684
1983
  enabled?: boolean;
1685
1984
  }>;
1686
- kind: "personal" | "service";
1985
+ kind: "general" | "service" | "assume";
1986
+ computers?: {
1987
+ default: string;
1988
+ allowed: Array<{
1989
+ template: string;
1990
+ name: string;
1991
+ }>;
1992
+ };
1687
1993
  computer_id?: string;
1688
1994
  subagent_model?: string | null;
1689
- image_model?: string | null;
1690
1995
  subagents?: Array<{
1691
1996
  name: string;
1692
1997
  description: string;
@@ -1777,6 +2082,7 @@ export declare function createAgent(transport: Transport): {
1777
2082
  allowManagedHooksOnly?: boolean;
1778
2083
  allowManagedMcpServersOnly?: boolean;
1779
2084
  allowManagedPermissionRulesOnly?: boolean;
2085
+ idleCompaction?: boolean;
1780
2086
  autoMemoryEnabled?: boolean;
1781
2087
  disabled?: {
1782
2088
  subagents?: Array<string>;
@@ -1785,16 +2091,24 @@ export declare function createAgent(transport: Transport): {
1785
2091
  mcpServers?: Array<string>;
1786
2092
  hooks?: Array<string>;
1787
2093
  };
2094
+ outputStyle?: string;
1788
2095
  } | null;
1789
2096
  models?: {
1790
2097
  allowed: Array<string>;
1791
2098
  };
1792
2099
  avatar: string | null;
1793
2100
  creation_source: string | null;
2101
+ managed_by: string | null;
1794
2102
  identity_number: string | null;
1795
2103
  environment_id?: string | null;
1796
2104
  vault_ids?: Array<string>;
1797
2105
  status: "active" | "archived";
2106
+ output_styles?: Array<{
2107
+ name: string;
2108
+ description?: string;
2109
+ prompt: string;
2110
+ keep_coding_instructions?: boolean;
2111
+ }> | null;
1798
2112
  }>;
1799
2113
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
1800
2114
  data: Array<{
@@ -1804,16 +2118,17 @@ export declare function createAgent(transport: Transport): {
1804
2118
  description: null | string;
1805
2119
  mcp_servers: Array<Types.AgentManaged36>;
1806
2120
  metadata: Types.AgentManaged37;
1807
- model: {
2121
+ model?: {
1808
2122
  id: string;
1809
2123
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1810
2124
  inference_geo?: string;
1811
2125
  speed?: "standard" | "fast";
1812
2126
  settings?: {
1813
2127
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2128
+ max_output_tokens?: number;
1814
2129
  };
1815
2130
  };
1816
- multiagent: null | Types.AgentManaged39;
2131
+ multiagent?: null | Types.AgentManaged39;
1817
2132
  name: string;
1818
2133
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1819
2134
  system: null | string;
@@ -1836,18 +2151,25 @@ export declare function createAgent(transport: Transport): {
1836
2151
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1837
2152
  id: string;
1838
2153
  access: "read_only" | "read_write" | "invoke";
2154
+ customer_access?: "read_only" | "read_write" | "invoke";
1839
2155
  instructions?: string;
1840
2156
  readonly verified?: boolean;
1841
2157
  enabled?: boolean;
1842
2158
  } | {
1843
- type: "search" | "browser";
2159
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1844
2160
  readonly verified?: boolean;
1845
2161
  enabled?: boolean;
1846
2162
  }>;
1847
- kind: "personal" | "service";
2163
+ kind: "general" | "service" | "assume";
2164
+ computers?: {
2165
+ default: string;
2166
+ allowed: Array<{
2167
+ template: string;
2168
+ name: string;
2169
+ }>;
2170
+ };
1848
2171
  computer_id?: string;
1849
2172
  subagent_model?: string | null;
1850
- image_model?: string | null;
1851
2173
  subagents?: Array<{
1852
2174
  name: string;
1853
2175
  description: string;
@@ -1938,6 +2260,7 @@ export declare function createAgent(transport: Transport): {
1938
2260
  allowManagedHooksOnly?: boolean;
1939
2261
  allowManagedMcpServersOnly?: boolean;
1940
2262
  allowManagedPermissionRulesOnly?: boolean;
2263
+ idleCompaction?: boolean;
1941
2264
  autoMemoryEnabled?: boolean;
1942
2265
  disabled?: {
1943
2266
  subagents?: Array<string>;
@@ -1946,16 +2269,24 @@ export declare function createAgent(transport: Transport): {
1946
2269
  mcpServers?: Array<string>;
1947
2270
  hooks?: Array<string>;
1948
2271
  };
2272
+ outputStyle?: string;
1949
2273
  } | null;
1950
2274
  models?: {
1951
2275
  allowed: Array<string>;
1952
2276
  };
1953
2277
  avatar: string | null;
1954
2278
  creation_source: string | null;
2279
+ managed_by: string | null;
1955
2280
  identity_number: string | null;
1956
2281
  environment_id?: string | null;
1957
2282
  vault_ids?: Array<string>;
1958
2283
  status: "active" | "archived";
2284
+ output_styles?: Array<{
2285
+ name: string;
2286
+ description?: string;
2287
+ prompt: string;
2288
+ keep_coding_instructions?: boolean;
2289
+ }> | null;
1959
2290
  }>;
1960
2291
  next_page: string | null;
1961
2292
  }>;
@@ -2011,6 +2342,13 @@ export declare function createAgent(transport: Transport): {
2011
2342
  type: "computer_deleted";
2012
2343
  }>;
2013
2344
  files: {
2345
+ convert: {
2346
+ create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
2347
+ data: string;
2348
+ mime: "application/pdf";
2349
+ cached: boolean;
2350
+ }>;
2351
+ };
2014
2352
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
2015
2353
  data: Array<{
2016
2354
  path: string;
@@ -2026,6 +2364,18 @@ export declare function createAgent(transport: Transport): {
2026
2364
  tier: "light" | "heavy";
2027
2365
  }>;
2028
2366
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2367
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2368
+ variant: "image" | "pdf" | "text" | "original";
2369
+ version?: string;
2370
+ mime_type?: string;
2371
+ size?: number;
2372
+ file_id?: string;
2373
+ url?: string;
2374
+ expires_at?: string;
2375
+ cached: boolean;
2376
+ fallback?: "content";
2377
+ skipped?: boolean;
2378
+ }>;
2029
2379
  };
2030
2380
  leases: {
2031
2381
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2066,6 +2416,7 @@ export declare function createAgent(transport: Transport): {
2066
2416
  created_at: string;
2067
2417
  updated_at: string;
2068
2418
  archived_at: string | null;
2419
+ machine: "light" | "full";
2069
2420
  implementation: "virtual" | "sandbox";
2070
2421
  storage_bytes: number;
2071
2422
  file_count: number;
@@ -2101,7 +2452,7 @@ export declare function createAgent(transport: Transport): {
2101
2452
  } | {
2102
2453
  id: string;
2103
2454
  type: "agent_with_overrides";
2104
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2455
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2105
2456
  cwd?: string;
2106
2457
  model?: string | {
2107
2458
  id: string;
@@ -2138,7 +2489,7 @@ export declare function createAgent(transport: Transport): {
2138
2489
  } | {
2139
2490
  id: string;
2140
2491
  type: "agent_with_overrides";
2141
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2492
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2142
2493
  cwd?: string;
2143
2494
  model?: string | {
2144
2495
  id: string;
@@ -2176,7 +2527,7 @@ export declare function createAgent(transport: Transport): {
2176
2527
  } | {
2177
2528
  id: string;
2178
2529
  type: "agent_with_overrides";
2179
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2530
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2180
2531
  cwd?: string;
2181
2532
  model?: string | {
2182
2533
  id: string;
@@ -2215,7 +2566,7 @@ export declare function createAgent(transport: Transport): {
2215
2566
  } | {
2216
2567
  id: string;
2217
2568
  type: "agent_with_overrides";
2218
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2569
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2219
2570
  cwd?: string;
2220
2571
  model?: string | {
2221
2572
  id: string;
@@ -2252,7 +2603,7 @@ export declare function createAgent(transport: Transport): {
2252
2603
  } | {
2253
2604
  id: string;
2254
2605
  type: "agent_with_overrides";
2255
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2606
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2256
2607
  cwd?: string;
2257
2608
  model?: string | {
2258
2609
  id: string;
@@ -2293,7 +2644,7 @@ export declare function createAgent(transport: Transport): {
2293
2644
  } | {
2294
2645
  id: string;
2295
2646
  type: "agent_with_overrides";
2296
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2647
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2297
2648
  cwd?: string;
2298
2649
  model?: string | {
2299
2650
  id: string;
@@ -2331,7 +2682,7 @@ export declare function createAgent(transport: Transport): {
2331
2682
  } | {
2332
2683
  id: string;
2333
2684
  type: "agent_with_overrides";
2334
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2685
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2335
2686
  cwd?: string;
2336
2687
  model?: string | {
2337
2688
  id: string;
@@ -2360,122 +2711,6 @@ export declare function createAgent(transport: Transport): {
2360
2711
  };
2361
2712
  }>;
2362
2713
  };
2363
- embed: {
2364
- exchange: {
2365
- create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
2366
- token: string;
2367
- expires_at: string;
2368
- }>;
2369
- };
2370
- retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
2371
- agent?: {
2372
- name?: string;
2373
- avatar?: string;
2374
- };
2375
- layout?: "inline" | "sidebar" | "popup" | "modal";
2376
- launcher?: {
2377
- type: "none" | "bubble" | "mascot";
2378
- pack?: {
2379
- preset?: "mint" | "cat" | "bot";
2380
- images?: {
2381
- idle: string;
2382
- greet?: string;
2383
- listening?: string;
2384
- thinking?: string;
2385
- talking?: string;
2386
- "talking-2"?: string;
2387
- sorry?: string;
2388
- sleep?: string;
2389
- };
2390
- };
2391
- image?: string;
2392
- motion?: "float" | "none";
2393
- position?: "bottom-right" | "bottom-left";
2394
- label?: string;
2395
- };
2396
- header?: {
2397
- title?: string;
2398
- subtitle?: string;
2399
- icon?: string;
2400
- };
2401
- theme?: {
2402
- colorScheme?: "light" | "dark" | "system";
2403
- accent?: string;
2404
- surface?: string;
2405
- grayscale?: "neutral" | "warm" | "cool";
2406
- radius?: "none" | "sm" | "md" | "lg" | "full";
2407
- density?: "compact" | "normal" | "spacious";
2408
- fontFamily?: string;
2409
- fontSize?: number;
2410
- };
2411
- locale?: "zh" | "en";
2412
- startScreen?: {
2413
- greeting?: string;
2414
- prompts?: Array<{
2415
- label: string;
2416
- prompt: string;
2417
- }>;
2418
- };
2419
- composer?: {
2420
- placeholder?: string;
2421
- };
2422
- disclaimer?: string;
2423
- footer?: string;
2424
- history?: {
2425
- enabled?: boolean;
2426
- };
2427
- }>;
2428
- };
2429
- embedTokens: {
2430
- anonymous: {
2431
- create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
2432
- token: string;
2433
- expires_at: string;
2434
- visitor_secret?: string;
2435
- }>;
2436
- };
2437
- create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
2438
- hosted_url?: string;
2439
- id: string;
2440
- token: string;
2441
- expires_at: string;
2442
- }>;
2443
- list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
2444
- data: Array<{
2445
- id: string;
2446
- type: "embed_token";
2447
- agent_id: string;
2448
- agent_version: number;
2449
- external_user_id: string;
2450
- created_at: string;
2451
- expires_at: string;
2452
- revoked_at: string | null;
2453
- host_origin: string | null;
2454
- issued_by: {
2455
- type: "user" | "api_key";
2456
- id: string;
2457
- };
2458
- }>;
2459
- next_page: string | null;
2460
- }>;
2461
- revoke: {
2462
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
2463
- id: string;
2464
- type: "embed_token";
2465
- agent_id: string;
2466
- agent_version: number;
2467
- external_user_id: string;
2468
- created_at: string;
2469
- expires_at: string;
2470
- revoked_at: string | null;
2471
- host_origin: string | null;
2472
- issued_by: {
2473
- type: "user" | "api_key";
2474
- id: string;
2475
- };
2476
- }>;
2477
- };
2478
- };
2479
2714
  environments: {
2480
2715
  archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2481
2716
  create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
@@ -2487,6 +2722,538 @@ export declare function createAgent(transport: Transport): {
2487
2722
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2488
2723
  };
2489
2724
  sessions: {
2725
+ agentVersion: {
2726
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2727
+ id: string;
2728
+ agent: {
2729
+ id: string;
2730
+ description: null | string;
2731
+ mcp_servers: Array<{
2732
+ type: "url";
2733
+ name: string;
2734
+ url: string;
2735
+ headers?: {
2736
+ [key: string]: string;
2737
+ };
2738
+ timeout_ms?: number;
2739
+ } | {
2740
+ type: "sse";
2741
+ name: string;
2742
+ url: string;
2743
+ headers?: {
2744
+ [key: string]: string;
2745
+ };
2746
+ timeout_ms?: number;
2747
+ } | {
2748
+ type: "stdio";
2749
+ name: string;
2750
+ command: string;
2751
+ args?: Array<string>;
2752
+ env?: {
2753
+ [key: string]: string;
2754
+ };
2755
+ timeout_ms?: number;
2756
+ }>;
2757
+ model: {
2758
+ id: string;
2759
+ effort?: {
2760
+ type: "low";
2761
+ } | {
2762
+ type: "medium";
2763
+ } | {
2764
+ type: "high";
2765
+ } | {
2766
+ type: "xhigh";
2767
+ } | {
2768
+ type: "max";
2769
+ };
2770
+ inference_geo?: string;
2771
+ speed?: "standard" | "fast";
2772
+ settings?: {
2773
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2774
+ max_output_tokens?: number;
2775
+ };
2776
+ };
2777
+ multiagent: null | {
2778
+ agents: Array<{
2779
+ model: string;
2780
+ type: "advisor";
2781
+ } | {
2782
+ id: string;
2783
+ description: null | string;
2784
+ mcp_servers: Array<{
2785
+ type: "url";
2786
+ name: string;
2787
+ url: string;
2788
+ headers?: {
2789
+ [key: string]: string;
2790
+ };
2791
+ timeout_ms?: number;
2792
+ } | {
2793
+ type: "sse";
2794
+ name: string;
2795
+ url: string;
2796
+ headers?: {
2797
+ [key: string]: string;
2798
+ };
2799
+ timeout_ms?: number;
2800
+ } | {
2801
+ type: "stdio";
2802
+ name: string;
2803
+ command: string;
2804
+ args?: Array<string>;
2805
+ env?: {
2806
+ [key: string]: string;
2807
+ };
2808
+ timeout_ms?: number;
2809
+ }>;
2810
+ model: {
2811
+ id: string;
2812
+ effort?: {
2813
+ type: "low";
2814
+ } | {
2815
+ type: "medium";
2816
+ } | {
2817
+ type: "high";
2818
+ } | {
2819
+ type: "xhigh";
2820
+ } | {
2821
+ type: "max";
2822
+ };
2823
+ inference_geo?: string;
2824
+ speed?: "standard" | "fast";
2825
+ };
2826
+ name: string;
2827
+ skills: Array<{
2828
+ skill_id: string;
2829
+ type: "anthropic";
2830
+ version: string;
2831
+ } | {
2832
+ skill_id: string;
2833
+ type: "custom";
2834
+ version: string;
2835
+ }>;
2836
+ system: null | string;
2837
+ tools: Array<{
2838
+ configs: Array<{
2839
+ enabled: boolean;
2840
+ name: "bash";
2841
+ permission_policy: {
2842
+ type: "always_allow";
2843
+ } | {
2844
+ type: "always_ask";
2845
+ } | {
2846
+ type: "auto";
2847
+ };
2848
+ type: "bash";
2849
+ } | {
2850
+ enabled: boolean;
2851
+ name: "edit";
2852
+ permission_policy: {
2853
+ type: "always_allow";
2854
+ } | {
2855
+ type: "always_ask";
2856
+ } | {
2857
+ type: "auto";
2858
+ };
2859
+ type: "edit";
2860
+ } | {
2861
+ enabled: boolean;
2862
+ name: "read";
2863
+ permission_policy: {
2864
+ type: "always_allow";
2865
+ } | {
2866
+ type: "always_ask";
2867
+ } | {
2868
+ type: "auto";
2869
+ };
2870
+ type: "read";
2871
+ } | {
2872
+ enabled: boolean;
2873
+ name: "write";
2874
+ permission_policy: {
2875
+ type: "always_allow";
2876
+ } | {
2877
+ type: "always_ask";
2878
+ } | {
2879
+ type: "auto";
2880
+ };
2881
+ type: "write";
2882
+ } | {
2883
+ enabled: boolean;
2884
+ name: "glob";
2885
+ permission_policy: {
2886
+ type: "always_allow";
2887
+ } | {
2888
+ type: "always_ask";
2889
+ } | {
2890
+ type: "auto";
2891
+ };
2892
+ type: "glob";
2893
+ } | {
2894
+ enabled: boolean;
2895
+ name: "grep";
2896
+ permission_policy: {
2897
+ type: "always_allow";
2898
+ } | {
2899
+ type: "always_ask";
2900
+ } | {
2901
+ type: "auto";
2902
+ };
2903
+ type: "grep";
2904
+ } | {
2905
+ enabled: boolean;
2906
+ name: "web_fetch";
2907
+ permission_policy: {
2908
+ type: "always_allow";
2909
+ } | {
2910
+ type: "always_ask";
2911
+ } | {
2912
+ type: "auto";
2913
+ };
2914
+ type: "web_fetch";
2915
+ allowed_domains?: Array<string>;
2916
+ blocked_domains?: Array<string>;
2917
+ max_content_tokens?: null | number;
2918
+ } | {
2919
+ enabled: boolean;
2920
+ name: "web_search";
2921
+ permission_policy: {
2922
+ type: "always_allow";
2923
+ } | {
2924
+ type: "always_ask";
2925
+ } | {
2926
+ type: "auto";
2927
+ };
2928
+ type: "web_search";
2929
+ allowed_domains?: Array<string>;
2930
+ blocked_domains?: Array<string>;
2931
+ user_location?: null | {
2932
+ type: "approximate";
2933
+ city?: null | string;
2934
+ country?: null | string;
2935
+ region?: null | string;
2936
+ timezone?: null | string;
2937
+ };
2938
+ } | {
2939
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2940
+ enabled: boolean;
2941
+ permission_policy: {
2942
+ type: "always_allow" | "always_ask";
2943
+ };
2944
+ }>;
2945
+ default_config: {
2946
+ enabled: boolean;
2947
+ permission_policy: {
2948
+ type: "always_allow";
2949
+ } | {
2950
+ type: "always_ask";
2951
+ } | {
2952
+ type: "auto";
2953
+ };
2954
+ };
2955
+ type: "agent_toolset_20260401";
2956
+ } | {
2957
+ type: "mcp_toolset";
2958
+ mcp_server_name: string;
2959
+ default_config?: {
2960
+ enabled?: boolean | null;
2961
+ permission_policy?: null | {
2962
+ type: "always_allow" | "always_ask";
2963
+ };
2964
+ } | null;
2965
+ configs?: Array<{
2966
+ name: string;
2967
+ enabled?: boolean | null;
2968
+ permission_policy?: null | {
2969
+ type: "always_allow" | "always_ask";
2970
+ };
2971
+ }> | null;
2972
+ } | {
2973
+ description: string;
2974
+ input_schema: {
2975
+ type: "object";
2976
+ properties?: null | {
2977
+ [key: string]: unknown;
2978
+ };
2979
+ required?: null | Array<string>;
2980
+ [key: string]: unknown;
2981
+ };
2982
+ name: string;
2983
+ type: "custom";
2984
+ }>;
2985
+ type: "agent";
2986
+ version: number;
2987
+ }>;
2988
+ type: "coordinator";
2989
+ };
2990
+ name: string;
2991
+ skills: Array<{
2992
+ skill_id: string;
2993
+ type: "anthropic";
2994
+ version: string;
2995
+ } | {
2996
+ skill_id: string;
2997
+ type: "custom";
2998
+ version: string;
2999
+ }>;
3000
+ system: null | string;
3001
+ tools: Array<{
3002
+ configs: Array<{
3003
+ enabled: boolean;
3004
+ name: "bash";
3005
+ permission_policy: {
3006
+ type: "always_allow";
3007
+ } | {
3008
+ type: "always_ask";
3009
+ } | {
3010
+ type: "auto";
3011
+ };
3012
+ type: "bash";
3013
+ } | {
3014
+ enabled: boolean;
3015
+ name: "edit";
3016
+ permission_policy: {
3017
+ type: "always_allow";
3018
+ } | {
3019
+ type: "always_ask";
3020
+ } | {
3021
+ type: "auto";
3022
+ };
3023
+ type: "edit";
3024
+ } | {
3025
+ enabled: boolean;
3026
+ name: "read";
3027
+ permission_policy: {
3028
+ type: "always_allow";
3029
+ } | {
3030
+ type: "always_ask";
3031
+ } | {
3032
+ type: "auto";
3033
+ };
3034
+ type: "read";
3035
+ } | {
3036
+ enabled: boolean;
3037
+ name: "write";
3038
+ permission_policy: {
3039
+ type: "always_allow";
3040
+ } | {
3041
+ type: "always_ask";
3042
+ } | {
3043
+ type: "auto";
3044
+ };
3045
+ type: "write";
3046
+ } | {
3047
+ enabled: boolean;
3048
+ name: "glob";
3049
+ permission_policy: {
3050
+ type: "always_allow";
3051
+ } | {
3052
+ type: "always_ask";
3053
+ } | {
3054
+ type: "auto";
3055
+ };
3056
+ type: "glob";
3057
+ } | {
3058
+ enabled: boolean;
3059
+ name: "grep";
3060
+ permission_policy: {
3061
+ type: "always_allow";
3062
+ } | {
3063
+ type: "always_ask";
3064
+ } | {
3065
+ type: "auto";
3066
+ };
3067
+ type: "grep";
3068
+ } | {
3069
+ enabled: boolean;
3070
+ name: "web_fetch";
3071
+ permission_policy: {
3072
+ type: "always_allow";
3073
+ } | {
3074
+ type: "always_ask";
3075
+ } | {
3076
+ type: "auto";
3077
+ };
3078
+ type: "web_fetch";
3079
+ allowed_domains?: Array<string>;
3080
+ blocked_domains?: Array<string>;
3081
+ max_content_tokens?: null | number;
3082
+ } | {
3083
+ enabled: boolean;
3084
+ name: "web_search";
3085
+ permission_policy: {
3086
+ type: "always_allow";
3087
+ } | {
3088
+ type: "always_ask";
3089
+ } | {
3090
+ type: "auto";
3091
+ };
3092
+ type: "web_search";
3093
+ allowed_domains?: Array<string>;
3094
+ blocked_domains?: Array<string>;
3095
+ user_location?: null | {
3096
+ type: "approximate";
3097
+ city?: null | string;
3098
+ country?: null | string;
3099
+ region?: null | string;
3100
+ timezone?: null | string;
3101
+ };
3102
+ } | {
3103
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3104
+ enabled: boolean;
3105
+ permission_policy: {
3106
+ type: "always_allow" | "always_ask";
3107
+ };
3108
+ }>;
3109
+ default_config: {
3110
+ enabled: boolean;
3111
+ permission_policy: {
3112
+ type: "always_allow";
3113
+ } | {
3114
+ type: "always_ask";
3115
+ } | {
3116
+ type: "auto";
3117
+ };
3118
+ };
3119
+ type: "agent_toolset_20260401";
3120
+ } | {
3121
+ type: "mcp_toolset";
3122
+ mcp_server_name: string;
3123
+ default_config?: {
3124
+ enabled?: boolean | null;
3125
+ permission_policy?: null | {
3126
+ type: "always_allow" | "always_ask";
3127
+ };
3128
+ } | null;
3129
+ configs?: Array<{
3130
+ name: string;
3131
+ enabled?: boolean | null;
3132
+ permission_policy?: null | {
3133
+ type: "always_allow" | "always_ask";
3134
+ };
3135
+ }> | null;
3136
+ } | {
3137
+ description: string;
3138
+ input_schema: {
3139
+ type: "object";
3140
+ properties?: null | {
3141
+ [key: string]: unknown;
3142
+ };
3143
+ required?: null | Array<string>;
3144
+ [key: string]: unknown;
3145
+ };
3146
+ name: string;
3147
+ type: "custom";
3148
+ }>;
3149
+ type: "agent";
3150
+ version: number;
3151
+ };
3152
+ archived_at: null | string;
3153
+ budget: null | {
3154
+ max_list_cost: {
3155
+ amount: string;
3156
+ currency: "USD";
3157
+ };
3158
+ type: "limit";
3159
+ };
3160
+ created_at: string;
3161
+ environment_id?: string;
3162
+ metadata: {
3163
+ [key: string]: string;
3164
+ };
3165
+ outcome_evaluations: Array<{
3166
+ completed_at: null | string;
3167
+ description: string;
3168
+ explanation: null | string;
3169
+ iteration: number;
3170
+ outcome_id: string;
3171
+ result: string;
3172
+ type: "outcome_evaluation";
3173
+ }>;
3174
+ resources: Array<{
3175
+ id: string;
3176
+ created_at: string;
3177
+ mount_path: string;
3178
+ type: "github_repository";
3179
+ updated_at: string;
3180
+ url: string;
3181
+ checkout?: null | {
3182
+ name: string;
3183
+ type: "branch";
3184
+ } | {
3185
+ sha: string;
3186
+ type: "commit";
3187
+ };
3188
+ } | {
3189
+ id: string;
3190
+ created_at: string;
3191
+ file_id: string;
3192
+ mount_path: string;
3193
+ type: "file";
3194
+ updated_at: string;
3195
+ } | {
3196
+ memory_store_id: string;
3197
+ type: "memory_store";
3198
+ access?: null | "read_write" | "read_only";
3199
+ description?: string;
3200
+ instructions?: null | string;
3201
+ mount_path?: null | string;
3202
+ name?: null | string;
3203
+ }>;
3204
+ stats: {
3205
+ active_seconds?: number;
3206
+ duration_seconds?: number;
3207
+ };
3208
+ status: "rescheduling" | "running" | "idle" | "terminated";
3209
+ title: null | string;
3210
+ type: "session";
3211
+ updated_at: string;
3212
+ usage: {
3213
+ active_seconds?: number;
3214
+ cache_creation?: {
3215
+ ephemeral_1h_input_tokens?: number;
3216
+ ephemeral_5m_input_tokens?: number;
3217
+ };
3218
+ cache_read_input_tokens?: number;
3219
+ input_tokens?: number;
3220
+ list_cost?: null | {
3221
+ amount: string;
3222
+ currency: "USD";
3223
+ };
3224
+ output_tokens?: number;
3225
+ server_tool_use?: null | {
3226
+ web_fetch_requests?: number;
3227
+ web_search_requests?: number;
3228
+ };
3229
+ cost_by_product?: {
3230
+ [key: string]: string;
3231
+ };
3232
+ subagent_cost_micro_usd?: number;
3233
+ };
3234
+ vault_ids: Array<string>;
3235
+ deployment_id?: null | string;
3236
+ cwd: string;
3237
+ computer_id?: string;
3238
+ model?: {
3239
+ id: string;
3240
+ thinking: {
3241
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3242
+ can_disable: boolean;
3243
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3244
+ } | null;
3245
+ };
3246
+ thinking?: {
3247
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3248
+ } | null;
3249
+ forked_from?: {
3250
+ session_id: string;
3251
+ message_id: string;
3252
+ } | null;
3253
+ readonly external_user_id: string | null;
3254
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3255
+ }>;
3256
+ };
2490
3257
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2491
3258
  id: string;
2492
3259
  agent: {
@@ -2500,6 +3267,7 @@ export declare function createAgent(transport: Transport): {
2500
3267
  speed?: "standard" | "fast";
2501
3268
  settings?: {
2502
3269
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3270
+ max_output_tokens?: number;
2503
3271
  };
2504
3272
  };
2505
3273
  multiagent: null | Types.AgentManaged171;
@@ -2545,6 +3313,40 @@ export declare function createAgent(transport: Transport): {
2545
3313
  readonly external_user_id: string | null;
2546
3314
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2547
3315
  }>;
3316
+ artifacts: {
3317
+ contentUrl: {
3318
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3319
+ url: string;
3320
+ expire_time: string;
3321
+ }>;
3322
+ };
3323
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3324
+ data: Array<{
3325
+ object: "artifact";
3326
+ id: string;
3327
+ session_id: string;
3328
+ run_id: string | null;
3329
+ name: string;
3330
+ version: number;
3331
+ parts: Array<{
3332
+ kind: "file";
3333
+ file_id: string;
3334
+ filename: string;
3335
+ mime_type: string;
3336
+ bytes: number;
3337
+ } | {
3338
+ kind: "object";
3339
+ object_type: "canvas" | "media_asset";
3340
+ object_id: string;
3341
+ href: string;
3342
+ title: string | null;
3343
+ }>;
3344
+ source_hrefs: Array<string>;
3345
+ create_time: string;
3346
+ update_time: string;
3347
+ }>;
3348
+ }>;
3349
+ };
2548
3350
  backgroundTasks: {
2549
3351
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2550
3352
  data: Array<{
@@ -2582,21 +3384,27 @@ export declare function createAgent(transport: Transport): {
2582
3384
  compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
2583
3385
  type: "session_compaction";
2584
3386
  id: string;
2585
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3387
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2586
3388
  reason?: string;
2587
3389
  } | {
2588
3390
  type: "session_compaction";
2589
3391
  id: string;
2590
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3392
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2591
3393
  reason?: string;
2592
3394
  }>;
2593
3395
  compactions: {
2594
3396
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
3397
+ active: {
3398
+ type: "session_compaction";
3399
+ id: string;
3400
+ status: "queued" | "running";
3401
+ trigger: "manual" | "auto" | "idle";
3402
+ } | null;
2595
3403
  data: Array<{
2596
3404
  type: "context_compaction";
2597
3405
  id: string;
2598
3406
  event_id: string | null;
2599
- trigger: "auto" | "manual" | "model_downshift";
3407
+ trigger: "auto" | "manual" | "model_downshift" | "idle";
2600
3408
  status: "succeeded" | "failed";
2601
3409
  model: string;
2602
3410
  compacted_message_count: number;
@@ -2621,6 +3429,7 @@ export declare function createAgent(transport: Transport): {
2621
3429
  speed?: "standard" | "fast";
2622
3430
  settings?: {
2623
3431
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3432
+ max_output_tokens?: number;
2624
3433
  };
2625
3434
  };
2626
3435
  multiagent: null | Types.AgentManaged171;
@@ -2716,6 +3525,18 @@ export declare function createAgent(transport: Transport): {
2716
3525
  evaluated_permission?: "allow" | "deny" | "ask";
2717
3526
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2718
3527
  session_thread_id?: null | string;
3528
+ permission_suggestions?: Array<{
3529
+ type: "add_rules";
3530
+ behavior: "allow";
3531
+ destination: "agent" | "session";
3532
+ rules: Array<{
3533
+ tool_name: string;
3534
+ rule_content: string;
3535
+ }>;
3536
+ }>;
3537
+ full_access_available?: boolean;
3538
+ user_once?: true;
3539
+ guarded_rule?: string;
2719
3540
  run_id: string | null;
2720
3541
  _meta?: {
2721
3542
  ui?: {
@@ -2755,6 +3576,18 @@ export declare function createAgent(transport: Transport): {
2755
3576
  evaluated_permission?: "allow" | "deny" | "ask";
2756
3577
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2757
3578
  session_thread_id?: null | string;
3579
+ permission_suggestions?: Array<{
3580
+ type: "add_rules";
3581
+ behavior: "allow";
3582
+ destination: "agent" | "session";
3583
+ rules: Array<{
3584
+ tool_name: string;
3585
+ rule_content: string;
3586
+ }>;
3587
+ }>;
3588
+ full_access_available?: boolean;
3589
+ user_once?: true;
3590
+ guarded_rule?: string;
2758
3591
  run_id: string | null;
2759
3592
  } | {
2760
3593
  id: string;
@@ -2783,6 +3616,9 @@ export declare function createAgent(transport: Transport): {
2783
3616
  budget?: null | Types.AgentManaged76;
2784
3617
  metadata?: Types.AgentManaged246;
2785
3618
  title?: null | string;
3619
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3620
+ previous_permission_mode?: string | null;
3621
+ permission_mode_version?: number;
2786
3622
  model?: {
2787
3623
  id: string;
2788
3624
  };
@@ -2943,6 +3779,7 @@ export declare function createAgent(transport: Transport): {
2943
3779
  speed?: "standard" | "fast";
2944
3780
  settings?: {
2945
3781
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3782
+ max_output_tokens?: number;
2946
3783
  };
2947
3784
  };
2948
3785
  multiagent: null | {
@@ -3397,10 +4234,10 @@ export declare function createAgent(transport: Transport): {
3397
4234
  web_fetch_requests?: number;
3398
4235
  web_search_requests?: number;
3399
4236
  };
3400
- runtime_cost?: {
3401
- amount: string;
3402
- currency: "USD";
4237
+ cost_by_product?: {
4238
+ [key: string]: string;
3403
4239
  };
4240
+ subagent_cost_micro_usd?: number;
3404
4241
  };
3405
4242
  vault_ids: Array<string>;
3406
4243
  deployment_id?: null | string;
@@ -3438,6 +4275,7 @@ export declare function createAgent(transport: Transport): {
3438
4275
  speed?: "standard" | "fast";
3439
4276
  settings?: {
3440
4277
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4278
+ max_output_tokens?: number;
3441
4279
  };
3442
4280
  };
3443
4281
  multiagent: null | Types.AgentManaged171;
@@ -3485,6 +4323,552 @@ export declare function createAgent(transport: Transport): {
3485
4323
  }>;
3486
4324
  next_page: string | null;
3487
4325
  }>;
4326
+ name: {
4327
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4328
+ id: string;
4329
+ agent: {
4330
+ id: string;
4331
+ description: null | string;
4332
+ mcp_servers: Array<{
4333
+ type: "url";
4334
+ name: string;
4335
+ url: string;
4336
+ headers?: {
4337
+ [key: string]: string;
4338
+ };
4339
+ timeout_ms?: number;
4340
+ } | {
4341
+ type: "sse";
4342
+ name: string;
4343
+ url: string;
4344
+ headers?: {
4345
+ [key: string]: string;
4346
+ };
4347
+ timeout_ms?: number;
4348
+ } | {
4349
+ type: "stdio";
4350
+ name: string;
4351
+ command: string;
4352
+ args?: Array<string>;
4353
+ env?: {
4354
+ [key: string]: string;
4355
+ };
4356
+ timeout_ms?: number;
4357
+ }>;
4358
+ model: {
4359
+ id: string;
4360
+ effort?: {
4361
+ type: "low";
4362
+ } | {
4363
+ type: "medium";
4364
+ } | {
4365
+ type: "high";
4366
+ } | {
4367
+ type: "xhigh";
4368
+ } | {
4369
+ type: "max";
4370
+ };
4371
+ inference_geo?: string;
4372
+ speed?: "standard" | "fast";
4373
+ settings?: {
4374
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4375
+ max_output_tokens?: number;
4376
+ };
4377
+ };
4378
+ multiagent: null | {
4379
+ agents: Array<{
4380
+ model: string;
4381
+ type: "advisor";
4382
+ } | {
4383
+ id: string;
4384
+ description: null | string;
4385
+ mcp_servers: Array<{
4386
+ type: "url";
4387
+ name: string;
4388
+ url: string;
4389
+ headers?: {
4390
+ [key: string]: string;
4391
+ };
4392
+ timeout_ms?: number;
4393
+ } | {
4394
+ type: "sse";
4395
+ name: string;
4396
+ url: string;
4397
+ headers?: {
4398
+ [key: string]: string;
4399
+ };
4400
+ timeout_ms?: number;
4401
+ } | {
4402
+ type: "stdio";
4403
+ name: string;
4404
+ command: string;
4405
+ args?: Array<string>;
4406
+ env?: {
4407
+ [key: string]: string;
4408
+ };
4409
+ timeout_ms?: number;
4410
+ }>;
4411
+ model: {
4412
+ id: string;
4413
+ effort?: {
4414
+ type: "low";
4415
+ } | {
4416
+ type: "medium";
4417
+ } | {
4418
+ type: "high";
4419
+ } | {
4420
+ type: "xhigh";
4421
+ } | {
4422
+ type: "max";
4423
+ };
4424
+ inference_geo?: string;
4425
+ speed?: "standard" | "fast";
4426
+ };
4427
+ name: string;
4428
+ skills: Array<{
4429
+ skill_id: string;
4430
+ type: "anthropic";
4431
+ version: string;
4432
+ } | {
4433
+ skill_id: string;
4434
+ type: "custom";
4435
+ version: string;
4436
+ }>;
4437
+ system: null | string;
4438
+ tools: Array<{
4439
+ configs: Array<{
4440
+ enabled: boolean;
4441
+ name: "bash";
4442
+ permission_policy: {
4443
+ type: "always_allow";
4444
+ } | {
4445
+ type: "always_ask";
4446
+ } | {
4447
+ type: "auto";
4448
+ };
4449
+ type: "bash";
4450
+ } | {
4451
+ enabled: boolean;
4452
+ name: "edit";
4453
+ permission_policy: {
4454
+ type: "always_allow";
4455
+ } | {
4456
+ type: "always_ask";
4457
+ } | {
4458
+ type: "auto";
4459
+ };
4460
+ type: "edit";
4461
+ } | {
4462
+ enabled: boolean;
4463
+ name: "read";
4464
+ permission_policy: {
4465
+ type: "always_allow";
4466
+ } | {
4467
+ type: "always_ask";
4468
+ } | {
4469
+ type: "auto";
4470
+ };
4471
+ type: "read";
4472
+ } | {
4473
+ enabled: boolean;
4474
+ name: "write";
4475
+ permission_policy: {
4476
+ type: "always_allow";
4477
+ } | {
4478
+ type: "always_ask";
4479
+ } | {
4480
+ type: "auto";
4481
+ };
4482
+ type: "write";
4483
+ } | {
4484
+ enabled: boolean;
4485
+ name: "glob";
4486
+ permission_policy: {
4487
+ type: "always_allow";
4488
+ } | {
4489
+ type: "always_ask";
4490
+ } | {
4491
+ type: "auto";
4492
+ };
4493
+ type: "glob";
4494
+ } | {
4495
+ enabled: boolean;
4496
+ name: "grep";
4497
+ permission_policy: {
4498
+ type: "always_allow";
4499
+ } | {
4500
+ type: "always_ask";
4501
+ } | {
4502
+ type: "auto";
4503
+ };
4504
+ type: "grep";
4505
+ } | {
4506
+ enabled: boolean;
4507
+ name: "web_fetch";
4508
+ permission_policy: {
4509
+ type: "always_allow";
4510
+ } | {
4511
+ type: "always_ask";
4512
+ } | {
4513
+ type: "auto";
4514
+ };
4515
+ type: "web_fetch";
4516
+ allowed_domains?: Array<string>;
4517
+ blocked_domains?: Array<string>;
4518
+ max_content_tokens?: null | number;
4519
+ } | {
4520
+ enabled: boolean;
4521
+ name: "web_search";
4522
+ permission_policy: {
4523
+ type: "always_allow";
4524
+ } | {
4525
+ type: "always_ask";
4526
+ } | {
4527
+ type: "auto";
4528
+ };
4529
+ type: "web_search";
4530
+ allowed_domains?: Array<string>;
4531
+ blocked_domains?: Array<string>;
4532
+ user_location?: null | {
4533
+ type: "approximate";
4534
+ city?: null | string;
4535
+ country?: null | string;
4536
+ region?: null | string;
4537
+ timezone?: null | string;
4538
+ };
4539
+ } | {
4540
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4541
+ enabled: boolean;
4542
+ permission_policy: {
4543
+ type: "always_allow" | "always_ask";
4544
+ };
4545
+ }>;
4546
+ default_config: {
4547
+ enabled: boolean;
4548
+ permission_policy: {
4549
+ type: "always_allow";
4550
+ } | {
4551
+ type: "always_ask";
4552
+ } | {
4553
+ type: "auto";
4554
+ };
4555
+ };
4556
+ type: "agent_toolset_20260401";
4557
+ } | {
4558
+ type: "mcp_toolset";
4559
+ mcp_server_name: string;
4560
+ default_config?: {
4561
+ enabled?: boolean | null;
4562
+ permission_policy?: null | {
4563
+ type: "always_allow" | "always_ask";
4564
+ };
4565
+ } | null;
4566
+ configs?: Array<{
4567
+ name: string;
4568
+ enabled?: boolean | null;
4569
+ permission_policy?: null | {
4570
+ type: "always_allow" | "always_ask";
4571
+ };
4572
+ }> | null;
4573
+ } | {
4574
+ description: string;
4575
+ input_schema: {
4576
+ type: "object";
4577
+ properties?: null | {
4578
+ [key: string]: unknown;
4579
+ };
4580
+ required?: null | Array<string>;
4581
+ [key: string]: unknown;
4582
+ };
4583
+ name: string;
4584
+ type: "custom";
4585
+ }>;
4586
+ type: "agent";
4587
+ version: number;
4588
+ }>;
4589
+ type: "coordinator";
4590
+ };
4591
+ name: string;
4592
+ skills: Array<{
4593
+ skill_id: string;
4594
+ type: "anthropic";
4595
+ version: string;
4596
+ } | {
4597
+ skill_id: string;
4598
+ type: "custom";
4599
+ version: string;
4600
+ }>;
4601
+ system: null | string;
4602
+ tools: Array<{
4603
+ configs: Array<{
4604
+ enabled: boolean;
4605
+ name: "bash";
4606
+ permission_policy: {
4607
+ type: "always_allow";
4608
+ } | {
4609
+ type: "always_ask";
4610
+ } | {
4611
+ type: "auto";
4612
+ };
4613
+ type: "bash";
4614
+ } | {
4615
+ enabled: boolean;
4616
+ name: "edit";
4617
+ permission_policy: {
4618
+ type: "always_allow";
4619
+ } | {
4620
+ type: "always_ask";
4621
+ } | {
4622
+ type: "auto";
4623
+ };
4624
+ type: "edit";
4625
+ } | {
4626
+ enabled: boolean;
4627
+ name: "read";
4628
+ permission_policy: {
4629
+ type: "always_allow";
4630
+ } | {
4631
+ type: "always_ask";
4632
+ } | {
4633
+ type: "auto";
4634
+ };
4635
+ type: "read";
4636
+ } | {
4637
+ enabled: boolean;
4638
+ name: "write";
4639
+ permission_policy: {
4640
+ type: "always_allow";
4641
+ } | {
4642
+ type: "always_ask";
4643
+ } | {
4644
+ type: "auto";
4645
+ };
4646
+ type: "write";
4647
+ } | {
4648
+ enabled: boolean;
4649
+ name: "glob";
4650
+ permission_policy: {
4651
+ type: "always_allow";
4652
+ } | {
4653
+ type: "always_ask";
4654
+ } | {
4655
+ type: "auto";
4656
+ };
4657
+ type: "glob";
4658
+ } | {
4659
+ enabled: boolean;
4660
+ name: "grep";
4661
+ permission_policy: {
4662
+ type: "always_allow";
4663
+ } | {
4664
+ type: "always_ask";
4665
+ } | {
4666
+ type: "auto";
4667
+ };
4668
+ type: "grep";
4669
+ } | {
4670
+ enabled: boolean;
4671
+ name: "web_fetch";
4672
+ permission_policy: {
4673
+ type: "always_allow";
4674
+ } | {
4675
+ type: "always_ask";
4676
+ } | {
4677
+ type: "auto";
4678
+ };
4679
+ type: "web_fetch";
4680
+ allowed_domains?: Array<string>;
4681
+ blocked_domains?: Array<string>;
4682
+ max_content_tokens?: null | number;
4683
+ } | {
4684
+ enabled: boolean;
4685
+ name: "web_search";
4686
+ permission_policy: {
4687
+ type: "always_allow";
4688
+ } | {
4689
+ type: "always_ask";
4690
+ } | {
4691
+ type: "auto";
4692
+ };
4693
+ type: "web_search";
4694
+ allowed_domains?: Array<string>;
4695
+ blocked_domains?: Array<string>;
4696
+ user_location?: null | {
4697
+ type: "approximate";
4698
+ city?: null | string;
4699
+ country?: null | string;
4700
+ region?: null | string;
4701
+ timezone?: null | string;
4702
+ };
4703
+ } | {
4704
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4705
+ enabled: boolean;
4706
+ permission_policy: {
4707
+ type: "always_allow" | "always_ask";
4708
+ };
4709
+ }>;
4710
+ default_config: {
4711
+ enabled: boolean;
4712
+ permission_policy: {
4713
+ type: "always_allow";
4714
+ } | {
4715
+ type: "always_ask";
4716
+ } | {
4717
+ type: "auto";
4718
+ };
4719
+ };
4720
+ type: "agent_toolset_20260401";
4721
+ } | {
4722
+ type: "mcp_toolset";
4723
+ mcp_server_name: string;
4724
+ default_config?: {
4725
+ enabled?: boolean | null;
4726
+ permission_policy?: null | {
4727
+ type: "always_allow" | "always_ask";
4728
+ };
4729
+ } | null;
4730
+ configs?: Array<{
4731
+ name: string;
4732
+ enabled?: boolean | null;
4733
+ permission_policy?: null | {
4734
+ type: "always_allow" | "always_ask";
4735
+ };
4736
+ }> | null;
4737
+ } | {
4738
+ description: string;
4739
+ input_schema: {
4740
+ type: "object";
4741
+ properties?: null | {
4742
+ [key: string]: unknown;
4743
+ };
4744
+ required?: null | Array<string>;
4745
+ [key: string]: unknown;
4746
+ };
4747
+ name: string;
4748
+ type: "custom";
4749
+ }>;
4750
+ type: "agent";
4751
+ version: number;
4752
+ };
4753
+ archived_at: null | string;
4754
+ budget: null | {
4755
+ max_list_cost: {
4756
+ amount: string;
4757
+ currency: "USD";
4758
+ };
4759
+ type: "limit";
4760
+ };
4761
+ created_at: string;
4762
+ environment_id?: string;
4763
+ metadata: {
4764
+ [key: string]: string;
4765
+ };
4766
+ outcome_evaluations: Array<{
4767
+ completed_at: null | string;
4768
+ description: string;
4769
+ explanation: null | string;
4770
+ iteration: number;
4771
+ outcome_id: string;
4772
+ result: string;
4773
+ type: "outcome_evaluation";
4774
+ }>;
4775
+ resources: Array<{
4776
+ id: string;
4777
+ created_at: string;
4778
+ mount_path: string;
4779
+ type: "github_repository";
4780
+ updated_at: string;
4781
+ url: string;
4782
+ checkout?: null | {
4783
+ name: string;
4784
+ type: "branch";
4785
+ } | {
4786
+ sha: string;
4787
+ type: "commit";
4788
+ };
4789
+ } | {
4790
+ id: string;
4791
+ created_at: string;
4792
+ file_id: string;
4793
+ mount_path: string;
4794
+ type: "file";
4795
+ updated_at: string;
4796
+ } | {
4797
+ memory_store_id: string;
4798
+ type: "memory_store";
4799
+ access?: null | "read_write" | "read_only";
4800
+ description?: string;
4801
+ instructions?: null | string;
4802
+ mount_path?: null | string;
4803
+ name?: null | string;
4804
+ }>;
4805
+ stats: {
4806
+ active_seconds?: number;
4807
+ duration_seconds?: number;
4808
+ };
4809
+ status: "rescheduling" | "running" | "idle" | "terminated";
4810
+ title: null | string;
4811
+ type: "session";
4812
+ updated_at: string;
4813
+ usage: {
4814
+ active_seconds?: number;
4815
+ cache_creation?: {
4816
+ ephemeral_1h_input_tokens?: number;
4817
+ ephemeral_5m_input_tokens?: number;
4818
+ };
4819
+ cache_read_input_tokens?: number;
4820
+ input_tokens?: number;
4821
+ list_cost?: null | {
4822
+ amount: string;
4823
+ currency: "USD";
4824
+ };
4825
+ output_tokens?: number;
4826
+ server_tool_use?: null | {
4827
+ web_fetch_requests?: number;
4828
+ web_search_requests?: number;
4829
+ };
4830
+ cost_by_product?: {
4831
+ [key: string]: string;
4832
+ };
4833
+ subagent_cost_micro_usd?: number;
4834
+ };
4835
+ vault_ids: Array<string>;
4836
+ deployment_id?: null | string;
4837
+ cwd: string;
4838
+ computer_id?: string;
4839
+ model?: {
4840
+ id: string;
4841
+ thinking: {
4842
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4843
+ can_disable: boolean;
4844
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4845
+ } | null;
4846
+ };
4847
+ thinking?: {
4848
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4849
+ } | null;
4850
+ forked_from?: {
4851
+ session_id: string;
4852
+ message_id: string;
4853
+ } | null;
4854
+ readonly external_user_id: string | null;
4855
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4856
+ }>;
4857
+ };
4858
+ requests: {
4859
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4860
+ data: Array<{
4861
+ id: string;
4862
+ object: "request";
4863
+ kind: "question" | "approval";
4864
+ status: "pending";
4865
+ tool_name: string;
4866
+ input: unknown;
4867
+ create_time: string;
4868
+ expire_time: string | null;
4869
+ }>;
4870
+ }>;
4871
+ };
3488
4872
  resources: {
3489
4873
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3490
4874
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3515,6 +4899,7 @@ export declare function createAgent(transport: Transport): {
3515
4899
  speed?: "standard" | "fast";
3516
4900
  settings?: {
3517
4901
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4902
+ max_output_tokens?: number;
3518
4903
  };
3519
4904
  };
3520
4905
  multiagent: null | Types.AgentManaged171;
@@ -3563,7 +4948,7 @@ export declare function createAgent(transport: Transport): {
3563
4948
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
3564
4949
  type: "session_compaction";
3565
4950
  id: string;
3566
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
4951
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
3567
4952
  reason?: string;
3568
4953
  }>;
3569
4954
  retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
@@ -3696,6 +5081,18 @@ export declare function createAgent(transport: Transport): {
3696
5081
  evaluated_permission?: "allow" | "deny" | "ask";
3697
5082
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3698
5083
  session_thread_id?: null | string;
5084
+ permission_suggestions?: Array<{
5085
+ type: "add_rules";
5086
+ behavior: "allow";
5087
+ destination: "agent" | "session";
5088
+ rules: Array<{
5089
+ tool_name: string;
5090
+ rule_content: string;
5091
+ }>;
5092
+ }>;
5093
+ full_access_available?: boolean;
5094
+ user_once?: true;
5095
+ guarded_rule?: string;
3699
5096
  run_id: string | null;
3700
5097
  parent_tool_use_id?: string;
3701
5098
  _meta?: {
@@ -3735,6 +5132,18 @@ export declare function createAgent(transport: Transport): {
3735
5132
  evaluated_permission?: "allow" | "deny" | "ask";
3736
5133
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3737
5134
  session_thread_id?: null | string;
5135
+ permission_suggestions?: Array<{
5136
+ type: "add_rules";
5137
+ behavior: "allow";
5138
+ destination: "agent" | "session";
5139
+ rules: Array<{
5140
+ tool_name: string;
5141
+ rule_content: string;
5142
+ }>;
5143
+ }>;
5144
+ full_access_available?: boolean;
5145
+ user_once?: true;
5146
+ guarded_rule?: string;
3738
5147
  run_id: string | null;
3739
5148
  } | {
3740
5149
  id: string;
@@ -3763,6 +5172,9 @@ export declare function createAgent(transport: Transport): {
3763
5172
  budget?: null | Types.AgentManaged76;
3764
5173
  metadata?: Types.AgentManaged246;
3765
5174
  title?: null | string;
5175
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5176
+ previous_permission_mode?: string | null;
5177
+ permission_mode_version?: number;
3766
5178
  model?: {
3767
5179
  id: string;
3768
5180
  };
@@ -3853,6 +5265,7 @@ export declare function createAgent(transport: Transport): {
3853
5265
  speed?: "standard" | "fast";
3854
5266
  settings?: {
3855
5267
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5268
+ max_output_tokens?: number;
3856
5269
  };
3857
5270
  };
3858
5271
  multiagent: null | Types.AgentManaged171;
@@ -3943,6 +5356,29 @@ export declare function createAgent(transport: Transport): {
3943
5356
  next_page: null;
3944
5357
  }>;
3945
5358
  };
5359
+ uploads: {
5360
+ contentUrl: {
5361
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5362
+ url: string;
5363
+ expires_at: string;
5364
+ }>;
5365
+ };
5366
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5367
+ upload_id: string;
5368
+ expires_at: string;
5369
+ url: string;
5370
+ } | {
5371
+ upload_id: string;
5372
+ expires_at: string;
5373
+ part_size: number;
5374
+ parts: Array<{
5375
+ part_number: number;
5376
+ url: string;
5377
+ }>;
5378
+ complete_url: string;
5379
+ status_url: string;
5380
+ }>;
5381
+ };
3946
5382
  };
3947
5383
  export declare function createApplication(transport: Transport): {
3948
5384
  assets: {
@@ -4024,6 +5460,13 @@ export declare function createAutomation(transport: Transport): {
4024
5460
  hooks: {
4025
5461
  send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
4026
5462
  };
5463
+ humanTasks: {
5464
+ cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
5465
+ delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
5466
+ list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
5467
+ respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
5468
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
5469
+ };
4027
5470
  resolve: {
4028
5471
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
4029
5472
  };
@@ -4090,6 +5533,33 @@ export declare function createAutomation(transport: Transport): {
4090
5533
  restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
4091
5534
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
4092
5535
  update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
5536
+ vaults: {
5537
+ delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
5538
+ list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
5539
+ data: Array<{
5540
+ alias: string;
5541
+ vault: {
5542
+ id: string;
5543
+ name: string;
5544
+ };
5545
+ secrets: Array<{
5546
+ name: string;
5547
+ }>;
5548
+ secrets_unavailable?: true;
5549
+ }>;
5550
+ }>;
5551
+ set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
5552
+ alias: string;
5553
+ vault: {
5554
+ id: string;
5555
+ name: string;
5556
+ };
5557
+ secrets: Array<{
5558
+ name: string;
5559
+ }>;
5560
+ secrets_unavailable?: true;
5561
+ }>;
5562
+ };
4093
5563
  versions: {
4094
5564
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
4095
5565
  deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
@@ -4133,10 +5603,37 @@ export declare function createAutomation(transport: Transport): {
4133
5603
  [key: string]: Types.AutomationDistTag;
4134
5604
  }>;
4135
5605
  };
4136
- list: (options?: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationDefinition>>;
4137
- restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
4138
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
4139
- update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
5606
+ list: (options?: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationDefinition>>;
5607
+ restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
5608
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
5609
+ update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
5610
+ vaults: {
5611
+ delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
5612
+ list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
5613
+ data: Array<{
5614
+ alias: string;
5615
+ vault: {
5616
+ id: string;
5617
+ name: string;
5618
+ };
5619
+ secrets: Array<{
5620
+ name: string;
5621
+ }>;
5622
+ secrets_unavailable?: true;
5623
+ }>;
5624
+ }>;
5625
+ set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
5626
+ alias: string;
5627
+ vault: {
5628
+ id: string;
5629
+ name: string;
5630
+ };
5631
+ secrets: Array<{
5632
+ name: string;
5633
+ }>;
5634
+ secrets_unavailable?: true;
5635
+ }>;
5636
+ };
4140
5637
  versions: {
4141
5638
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
4142
5639
  deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
@@ -4169,6 +5666,49 @@ export declare function createBrowser(transport: Transport): {
4169
5666
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
4170
5667
  };
4171
5668
  sessions: {
5669
+ actions: {
5670
+ create: (options: import("./core/transport.js").CallOptions<Types.BrowserRunPageActionData>) => Promise<{
5671
+ type: "open" | "click" | "fill" | "press" | "scroll" | "back" | "forward" | "reload";
5672
+ tab: string;
5673
+ url: string;
5674
+ title: string;
5675
+ } | {
5676
+ type: "select";
5677
+ tab: string;
5678
+ values: Array<string>;
5679
+ } | {
5680
+ type: "tabs.list";
5681
+ tabs: Array<{
5682
+ id: string;
5683
+ url: string;
5684
+ title: string;
5685
+ active: boolean;
5686
+ }>;
5687
+ } | {
5688
+ type: "snapshot";
5689
+ tab: string;
5690
+ url: string;
5691
+ title: string;
5692
+ snapshot: string;
5693
+ refs: number;
5694
+ truncated: boolean;
5695
+ } | {
5696
+ type: "screenshot";
5697
+ tab: string;
5698
+ mediaType: "image/png";
5699
+ data: string;
5700
+ bytes: number;
5701
+ } | {
5702
+ type: "evaluate";
5703
+ tab: string;
5704
+ value: unknown;
5705
+ } | {
5706
+ type: "set_cookie";
5707
+ tab: string;
5708
+ name: string;
5709
+ domain: string;
5710
+ }>;
5711
+ };
4172
5712
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
4173
5713
  events: {
4174
5714
  list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
@@ -4176,6 +5716,7 @@ export declare function createBrowser(transport: Transport): {
4176
5716
  nextCursor: string | null;
4177
5717
  }>;
4178
5718
  };
5719
+ frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
4179
5720
  handoff: {
4180
5721
  complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
4181
5722
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
@@ -4186,6 +5727,7 @@ export declare function createBrowser(transport: Transport): {
4186
5727
  }>;
4187
5728
  retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
4188
5729
  retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
5730
+ retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
4189
5731
  stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
4190
5732
  update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
4191
5733
  viewer: {
@@ -4195,6 +5737,187 @@ export declare function createBrowser(transport: Transport): {
4195
5737
  };
4196
5738
  };
4197
5739
  };
5740
+ export declare function createCanvas(transport: Transport): {
5741
+ canvases: {
5742
+ create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
5743
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
5744
+ execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
5745
+ images: {
5746
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
5747
+ };
5748
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
5749
+ nodes: {
5750
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
5751
+ };
5752
+ restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
5753
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
5754
+ update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
5755
+ versions: {
5756
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListVersionsData>) => Promise<Types.CanvasVersionPage>;
5757
+ };
5758
+ };
5759
+ collections: {
5760
+ create: (options: import("./core/transport.js").CallOptions<Types.CanvasCreateCollectionData>) => Promise<Types.CanvasCollection>;
5761
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCollectionData>) => Promise<Types.CanvasDeletedCollection>;
5762
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCollectionsData> | undefined) => Promise<Types.CanvasCollectionPage>;
5763
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
5764
+ update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
5765
+ };
5766
+ };
5767
+ export declare function createContent(transport: Transport): {
5768
+ contents: {
5769
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5770
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5771
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5772
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5773
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5774
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5775
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5776
+ };
5777
+ playbackSessions: {
5778
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5779
+ };
5780
+ versions: {
5781
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5782
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5783
+ };
5784
+ };
5785
+ export declare function createCrm(transport: Transport): {
5786
+ associations: {
5787
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
5788
+ createDefault: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateDefaultData>) => Promise<Types.CrmAssociationsBatchResponsePublicDefaultAssociation & Types.CrmWriteResult>;
5789
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsListData>) => Promise<Types.CrmAssociationsCollectionResponseMultiAssociatedObjectWithLabelForwardPaging>;
5790
+ remove: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsRemoveData>) => Promise<Types.CrmWriteResult>;
5791
+ };
5792
+ changes: {
5793
+ revert: (options: import("./core/transport.js").CallOptions<Types.CrmChangesRevertData>) => Promise<Types.CrmWriteResult>;
5794
+ };
5795
+ layouts: {
5796
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsRetrieveData>) => Promise<Types.CrmLayout>;
5797
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsUpdateData>) => Promise<Types.CrmLayout & Types.CrmWriteResult>;
5798
+ };
5799
+ leads: {
5800
+ qualify: (options: import("./core/transport.js").CallOptions<Types.CrmLeadsQualifyData>) => Promise<Types.CrmWriteResult>;
5801
+ };
5802
+ objects: {
5803
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsArchiveData>) => Promise<Types.CrmWriteResult>;
5804
+ batch: {
5805
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchArchiveData>) => Promise<Types.CrmWriteResult>;
5806
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchCreateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
5807
+ read: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchReadData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject>;
5808
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpdateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
5809
+ upsert: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpsertData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicUpsertObject & Types.CrmWriteResult>;
5810
+ };
5811
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsCreateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
5812
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsListData>) => Promise<Types.CrmObjectsCollectionResponseSimplePublicObjectWithAssociationsForwardPaging>;
5813
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsRetrieveData>) => Promise<Types.CrmObjectsSimplePublicObjectWithAssociations>;
5814
+ search: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsSearchData>) => Promise<Types.CrmObjectsCollectionResponseWithTotalSimplePublicObject>;
5815
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsUpdateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
5816
+ };
5817
+ pipelines: {
5818
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesArchiveData>) => Promise<Types.CrmWriteResult>;
5819
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesCreateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
5820
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesListData>) => Promise<Types.CrmPipelinesCollectionResponsePipelineNoPaging>;
5821
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesRetrieveData>) => Promise<Types.CrmPipelinesPipeline>;
5822
+ stages: {
5823
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesArchiveData>) => Promise<Types.CrmWriteResult>;
5824
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesCreateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
5825
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesUpdateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
5826
+ };
5827
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesUpdateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
5828
+ };
5829
+ properties: {
5830
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesArchiveData>) => Promise<Types.CrmWriteResult>;
5831
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesCreateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
5832
+ groups: {
5833
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsCreateData>) => Promise<Types.CrmPropertiesPropertyGroup & Types.CrmWriteResult>;
5834
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyGroupNoPaging>;
5835
+ };
5836
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyNoPaging>;
5837
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesRetrieveData>) => Promise<Types.CrmPropertiesProperty>;
5838
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesUpdateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
5839
+ };
5840
+ schemas: {
5841
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmSchemasCreateData>) => Promise<Types.CrmSchemasObjectSchema & Types.CrmWriteResult>;
5842
+ list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
5843
+ };
5844
+ };
5845
+ export declare function createCustomer(transport: Transport): {
5846
+ accessTokens: {
5847
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5848
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5849
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5850
+ };
5851
+ customers: {
5852
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5853
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5854
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5855
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5856
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5857
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5858
+ };
5859
+ grantCodes: {
5860
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5861
+ };
5862
+ publishableKeys: {
5863
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5864
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5865
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5866
+ };
5867
+ usage: {
5868
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5869
+ };
5870
+ };
5871
+ export declare function createCut(transport: Transport): {
5872
+ exports: {
5873
+ cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
5874
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
5875
+ };
5876
+ projects: {
5877
+ analysis: {
5878
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<{
5879
+ kind: "cut-AnalysisResult";
5880
+ } & Types.CutAnalysisResult>;
5881
+ };
5882
+ bindings: {
5883
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
5884
+ delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
5885
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
5886
+ };
5887
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
5888
+ delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
5889
+ execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
5890
+ exports: {
5891
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
5892
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
5893
+ };
5894
+ frames: {
5895
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
5896
+ };
5897
+ list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
5898
+ media: {
5899
+ import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
5900
+ };
5901
+ renders: {
5902
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateRenderData>) => Promise<Types.CutDraftRender>;
5903
+ };
5904
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
5905
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
5906
+ retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
5907
+ undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
5908
+ update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
5909
+ versions: {
5910
+ create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
5911
+ list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
5912
+ };
5913
+ };
5914
+ renders: {
5915
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveRenderData>) => Promise<Types.CutDraftRender>;
5916
+ };
5917
+ versions: {
5918
+ restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
5919
+ };
5920
+ };
4198
5921
  export declare function createDatabase(transport: Transport): {
4199
5922
  databases: {
4200
5923
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
@@ -4240,8 +5963,197 @@ export declare function createDatabase(transport: Transport): {
4240
5963
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4241
5964
  };
4242
5965
  };
5966
+ export declare function createDevops(transport: Transport): {
5967
+ changes: {
5968
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5969
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
5970
+ markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5971
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
5972
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
5973
+ };
5974
+ connections: {
5975
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5976
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5977
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5978
+ repositories: {
5979
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5980
+ };
5981
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
5982
+ };
5983
+ environments: {
5984
+ checkpoints: {
5985
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
5986
+ };
5987
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
5988
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
5989
+ };
5990
+ flags: {
5991
+ archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
5992
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsConcludeData>) => Promise<Types.DevopsFlag>;
5993
+ environments: {
5994
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateEnvironmentData>) => Promise<Types.DevopsFlag>;
5995
+ };
5996
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsGetData>) => Promise<Types.DevopsFlag>;
5997
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsUpdateData>) => Promise<Types.DevopsFlag>;
5998
+ };
5999
+ progressiveRollouts: {
6000
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsCreateData>) => Promise<Types.DevopsProgressiveRollout>;
6001
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsPauseData>) => Promise<Types.DevopsProgressiveRollout>;
6002
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsResumeData>) => Promise<Types.DevopsProgressiveRollout>;
6003
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsGetData>) => Promise<Types.DevopsProgressiveRollout>;
6004
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
6005
+ };
6006
+ projects: {
6007
+ changes: {
6008
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6009
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6010
+ };
6011
+ environments: {
6012
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6013
+ targets: {
6014
+ deleteState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateDeleteData>) => Promise<unknown>;
6015
+ retrieveState: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateGetData>) => Promise<Types.DevopsTofuState>;
6016
+ state: {
6017
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateWriteData>) => Promise<unknown>;
6018
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateUnlockData>) => Promise<unknown>;
6019
+ lock: {
6020
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTofuStateLockData>) => Promise<Types.DevopsTofuLockInfo>;
6021
+ };
6022
+ };
6023
+ };
6024
+ };
6025
+ flags: {
6026
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
6027
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6028
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
6029
+ };
6030
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
6031
+ promotions: {
6032
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
6033
+ };
6034
+ pullRequests: {
6035
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6036
+ };
6037
+ releases: {
6038
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
6039
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
6040
+ };
6041
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
6042
+ retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6043
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6044
+ segments: {
6045
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6046
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6047
+ };
6048
+ targets: {
6049
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
6050
+ refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
6051
+ };
6052
+ testCases: {
6053
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesListData>) => Promise<Types.DevopsTestCasePage>;
6054
+ };
6055
+ testPlans: {
6056
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansCreateData>) => Promise<Types.DevopsPlan>;
6057
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansListData>) => Promise<Types.DevopsPlanPage>;
6058
+ };
6059
+ testReports: {
6060
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestReportsUploadData>) => Promise<Types.DevopsReportUpload>;
6061
+ };
6062
+ testRuns: {
6063
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCreateData>) => Promise<Types.DevopsRun>;
6064
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsListData>) => Promise<Types.DevopsRunPage>;
6065
+ };
6066
+ testSuites: {
6067
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
6068
+ };
6069
+ units: {
6070
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6071
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6072
+ };
6073
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6074
+ workspaces: {
6075
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6076
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6077
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6078
+ };
6079
+ };
6080
+ promotions: {
6081
+ approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6082
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6083
+ conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6084
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6085
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
6086
+ retry: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsRetryData>) => Promise<Types.DevopsPromotion>;
6087
+ rollouts: {
6088
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
6089
+ };
6090
+ };
6091
+ pullRequests: {
6092
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6093
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6094
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6095
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6096
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6097
+ };
6098
+ releases: {
6099
+ abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
6100
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
6101
+ };
6102
+ rollouts: {
6103
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
6104
+ };
6105
+ segments: {
6106
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6107
+ };
6108
+ testCases: {
6109
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
6110
+ };
6111
+ testPlans: {
6112
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansDeleteData>) => Promise<Types.DevopsPlanDeleted>;
6113
+ pause: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansPauseData>) => Promise<Types.DevopsPlan>;
6114
+ resume: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansResumeData>) => Promise<Types.DevopsPlan>;
6115
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansGetData>) => Promise<Types.DevopsPlan>;
6116
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlansUpdateData>) => Promise<Types.DevopsPlan>;
6117
+ };
6118
+ testRuns: {
6119
+ cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsCancelData>) => Promise<Types.DevopsRun>;
6120
+ executions: {
6121
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsListData>) => Promise<Types.DevopsExecutionPage>;
6122
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
6123
+ };
6124
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6125
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
6126
+ };
6127
+ testSuites: {
6128
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
6129
+ };
6130
+ units: {
6131
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6132
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6133
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6134
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6135
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6136
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6137
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6138
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6139
+ transitions: {
6140
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6141
+ };
6142
+ };
6143
+ };
4243
6144
  export declare function createFile(transport: Transport): {
4244
6145
  files: {
6146
+ contentLinks: {
6147
+ revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
6148
+ revoked: true;
6149
+ }>;
6150
+ };
6151
+ contentUrl: {
6152
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
6153
+ url: string;
6154
+ expires_at: string;
6155
+ }>;
6156
+ };
4245
6157
  create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
4246
6158
  delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
4247
6159
  list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
@@ -4252,9 +6164,11 @@ export declare function createFile(transport: Transport): {
4252
6164
  cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4253
6165
  complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4254
6166
  create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
6167
+ createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
4255
6168
  parts: {
4256
6169
  create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4257
6170
  };
6171
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4258
6172
  };
4259
6173
  };
4260
6174
  export declare function createKnowledge(transport: Transport): {
@@ -4302,11 +6216,33 @@ export declare function createKnowledge(transport: Transport): {
4302
6216
  };
4303
6217
  };
4304
6218
  export declare function createMedia(transport: Transport): {
6219
+ assets: {
6220
+ edit: (options: import("./core/transport.js").CallOptions<Types.MediaEditAssetData>) => Promise<Types.MediaJob>;
6221
+ lineage: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetLineageData>) => Promise<Types.MediaLineageTree>;
6222
+ };
6223
+ generation: {
6224
+ capabilities: {
6225
+ list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
6226
+ };
6227
+ };
6228
+ images: {
6229
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateImageData>) => Promise<Types.MediaJob>;
6230
+ };
4305
6231
  libraries: {
4306
6232
  assets: {
6233
+ align: {
6234
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6235
+ };
4307
6236
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4308
6237
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4309
6238
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
6239
+ frames: {
6240
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
6241
+ };
6242
+ hls: {
6243
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6244
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6245
+ };
4310
6246
  import: {
4311
6247
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4312
6248
  };
@@ -4319,6 +6255,9 @@ export declare function createMedia(transport: Transport): {
4319
6255
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4320
6256
  };
4321
6257
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6258
+ versions: {
6259
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6260
+ };
4322
6261
  };
4323
6262
  batches: {
4324
6263
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4326,6 +6265,9 @@ export declare function createMedia(transport: Transport): {
4326
6265
  };
4327
6266
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
4328
6267
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
6268
+ deliveryTokens: {
6269
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
6270
+ };
4329
6271
  events: {
4330
6272
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
4331
6273
  };
@@ -4333,14 +6275,22 @@ export declare function createMedia(transport: Transport): {
4333
6275
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
4334
6276
  };
4335
6277
  jobs: {
6278
+ cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
6279
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
4336
6280
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4337
6281
  };
4338
6282
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6283
+ materials: {
6284
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6285
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6286
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6287
+ };
4339
6288
  purge: {
4340
6289
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4341
6290
  };
4342
6291
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
4343
6292
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
6293
+ retrieveDefault: (options?: import("./core/transport.js").CallOptions<Types.MediaGetDefaultLibraryData> | undefined) => Promise<Types.MediaLibrary>;
4344
6294
  search: {
4345
6295
  create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4346
6296
  expression: {
@@ -4353,10 +6303,41 @@ export declare function createMedia(transport: Transport): {
4353
6303
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4354
6304
  };
4355
6305
  };
6306
+ setDefault: (options: import("./core/transport.js").CallOptions<Types.MediaSetDefaultLibraryData>) => Promise<Types.MediaLibrary>;
6307
+ understandings: {
6308
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
6309
+ retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
6310
+ };
4356
6311
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6312
+ voices: {
6313
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6314
+ designs: {
6315
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6316
+ };
6317
+ };
6318
+ };
6319
+ speech: {
6320
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
6321
+ };
6322
+ videos: {
6323
+ generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
4357
6324
  };
4358
6325
  };
4359
6326
  export declare function createMeta(transport: Transport): {
6327
+ docs: {
6328
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
6329
+ path: string;
6330
+ title: string;
6331
+ url: string;
6332
+ markdown: string;
6333
+ }>;
6334
+ search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
6335
+ path: string;
6336
+ title: string;
6337
+ url: string;
6338
+ snippet: string;
6339
+ }[]>;
6340
+ };
4360
6341
  health: {
4361
6342
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
4362
6343
  };
@@ -4392,11 +6373,17 @@ export declare function createModel(transport: Transport): {
4392
6373
  start: number;
4393
6374
  end: number;
4394
6375
  text: string;
6376
+ speaker?: string;
4395
6377
  temperature?: number;
4396
6378
  avg_logprob?: number;
4397
6379
  compression_ratio?: number;
4398
6380
  no_speech_prob?: number;
4399
6381
  }>;
6382
+ words?: Array<{
6383
+ word: string;
6384
+ start: number;
6385
+ end: number;
6386
+ }>;
4400
6387
  }>;
4401
6388
  };
4402
6389
  };
@@ -4534,7 +6521,35 @@ export declare function createModel(transport: Transport): {
4534
6521
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4535
6522
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4536
6523
  };
6524
+ modelAccess: {
6525
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6526
+ items: Array<{
6527
+ model: string;
6528
+ access_required: boolean;
6529
+ granted: boolean;
6530
+ granted_by: string | null;
6531
+ granted_at: string | null;
6532
+ sell_input_price: number | null;
6533
+ sell_output_price: number | null;
6534
+ }>;
6535
+ }>;
6536
+ };
4537
6537
  models: {
6538
+ access: {
6539
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6540
+ model: string;
6541
+ revoked: true;
6542
+ }>;
6543
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6544
+ model: string;
6545
+ access_required: boolean;
6546
+ granted: true;
6547
+ granted_by: string;
6548
+ granted_at: string;
6549
+ sell_input_price: number | null;
6550
+ sell_output_price: number | null;
6551
+ }>;
6552
+ };
4538
6553
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4539
6554
  object: "list";
4540
6555
  data: Array<{
@@ -4549,6 +6564,7 @@ export declare function createModel(transport: Transport): {
4549
6564
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4550
6565
  supported_apis: Array<string>;
4551
6566
  tags: Array<string>;
6567
+ access_required: boolean;
4552
6568
  architecture: {
4553
6569
  modality: string;
4554
6570
  input_modalities: Array<string>;
@@ -4595,6 +6611,7 @@ export declare function createModel(transport: Transport): {
4595
6611
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4596
6612
  supported_apis: Array<string>;
4597
6613
  tags: Array<string>;
6614
+ access_required: boolean;
4598
6615
  architecture: {
4599
6616
  modality: string;
4600
6617
  input_modalities: Array<string>;
@@ -4766,6 +6783,39 @@ export declare function createModel(transport: Transport): {
4766
6783
  [key: string]: unknown;
4767
6784
  }>;
4768
6785
  };
6786
+ systemone: {
6787
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSystemoneData>) => Promise<{
6788
+ model: string;
6789
+ answers: {
6790
+ [key: string]: {
6791
+ type: "noul";
6792
+ noul: number;
6793
+ } | {
6794
+ type: "choice";
6795
+ choice: string;
6796
+ confidence: number;
6797
+ probabilities: {
6798
+ [key: string]: number;
6799
+ };
6800
+ } | {
6801
+ type: "score";
6802
+ score: number;
6803
+ confidence: number;
6804
+ legend: {
6805
+ [key: string]: unknown;
6806
+ };
6807
+ probabilities: {
6808
+ [key: string]: number;
6809
+ };
6810
+ };
6811
+ };
6812
+ usage: {
6813
+ input_tokens: number;
6814
+ output_tokens: number;
6815
+ cost: number;
6816
+ };
6817
+ }>;
6818
+ };
4769
6819
  videos: {
4770
6820
  create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
4771
6821
  id: string;
@@ -4788,6 +6838,7 @@ export declare function createModel(transport: Transport): {
4788
6838
  unsigned_urls: Array<string>;
4789
6839
  usage?: {
4790
6840
  cost: number;
6841
+ billed_seconds?: number;
4791
6842
  };
4792
6843
  }>;
4793
6844
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -4818,6 +6869,7 @@ export declare function createModel(transport: Transport): {
4818
6869
  unsigned_urls: Array<string>;
4819
6870
  usage?: {
4820
6871
  cost: number;
6872
+ billed_seconds?: number;
4821
6873
  };
4822
6874
  }>;
4823
6875
  has_more: boolean;
@@ -4846,12 +6898,61 @@ export declare function createModel(transport: Transport): {
4846
6898
  unsigned_urls: Array<string>;
4847
6899
  usage?: {
4848
6900
  cost: number;
6901
+ billed_seconds?: number;
4849
6902
  };
4850
6903
  }>;
4851
6904
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
4852
6905
  };
4853
6906
  };
6907
+ export declare function createOntology(transport: Transport): {
6908
+ changesets: {
6909
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
6910
+ };
6911
+ nodes: {
6912
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
6913
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
6914
+ merge: {
6915
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
6916
+ };
6917
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
6918
+ retrieveNeighborhood: (options: import("./core/transport.js").CallOptions<Types.OntologyNeighborhoodData>) => Promise<Types.OntologyNeighborhood>;
6919
+ update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
6920
+ };
6921
+ relations: {
6922
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
6923
+ invalidate: {
6924
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
6925
+ };
6926
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
6927
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
6928
+ };
6929
+ search: {
6930
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
6931
+ };
6932
+ types: {
6933
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
6934
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
6935
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
6936
+ };
6937
+ };
4854
6938
  export declare function createOrganization(transport: Transport): {
6939
+ actors: {
6940
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6941
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6942
+ };
6943
+ assignments: {
6944
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6945
+ makePrimary: {
6946
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6947
+ };
6948
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6949
+ terminate: {
6950
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6951
+ };
6952
+ transfer: {
6953
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6954
+ };
6955
+ };
4855
6956
  charges: {
4856
6957
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
4857
6958
  ChargePeriodStart: string;
@@ -4893,6 +6994,16 @@ export declare function createOrganization(transport: Transport): {
4893
6994
  next_page: string | null;
4894
6995
  }>;
4895
6996
  };
6997
+ departments: {
6998
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6999
+ dissolve: {
7000
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7001
+ };
7002
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7003
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7004
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7005
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7006
+ };
4896
7007
  events: {
4897
7008
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
4898
7009
  object: "page";
@@ -5095,6 +7206,86 @@ export declare function createOrganization(transport: Transport): {
5095
7206
  }>;
5096
7207
  }>;
5097
7208
  };
7209
+ jobs: {
7210
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7211
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7212
+ retire: {
7213
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7214
+ };
7215
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7216
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7217
+ };
7218
+ keyResults: {
7219
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7220
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7221
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7222
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7223
+ };
7224
+ ladders: {
7225
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7226
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7227
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7228
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7229
+ };
7230
+ members: {
7231
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
7232
+ data: Array<{
7233
+ id: string;
7234
+ name: string | null;
7235
+ email: string;
7236
+ role: "owner" | "admin" | "member";
7237
+ joined_at: string;
7238
+ }>;
7239
+ has_more: boolean;
7240
+ next_page: string | null;
7241
+ }>;
7242
+ };
7243
+ objectives: {
7244
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7245
+ grade: {
7246
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7247
+ };
7248
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7249
+ parents: {
7250
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7251
+ };
7252
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7253
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7254
+ };
7255
+ periods: {
7256
+ close: {
7257
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7258
+ };
7259
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7260
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7261
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7262
+ };
7263
+ positions: {
7264
+ close: {
7265
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7266
+ };
7267
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7268
+ designateHead: {
7269
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7270
+ };
7271
+ freeze: {
7272
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7273
+ };
7274
+ hire: {
7275
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7276
+ };
7277
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7278
+ replaceHolder: {
7279
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7280
+ };
7281
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7282
+ unfreeze: {
7283
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7284
+ };
7285
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7286
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7287
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7288
+ };
5098
7289
  usage: {
5099
7290
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5100
7291
  object: "page";
@@ -5118,7 +7309,60 @@ export declare function createOrganization(transport: Transport): {
5118
7309
  }>;
5119
7310
  };
5120
7311
  };
7312
+ export declare function createRegistry(transport: Transport): {
7313
+ installations: {
7314
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7315
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7316
+ };
7317
+ packages: {
7318
+ git: {
7319
+ commits: {
7320
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7321
+ };
7322
+ files: {
7323
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7324
+ };
7325
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7326
+ trees: {
7327
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7328
+ };
7329
+ };
7330
+ installations: {
7331
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7332
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7333
+ };
7334
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7335
+ versions: {
7336
+ contents: {
7337
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7338
+ };
7339
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7340
+ files: {
7341
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7342
+ };
7343
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7344
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7345
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7346
+ };
7347
+ };
7348
+ repositories: {
7349
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7350
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7351
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7352
+ packages: {
7353
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7354
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7355
+ };
7356
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7357
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7358
+ };
7359
+ };
5121
7360
  export declare function createSandbox(transport: Transport): {
7361
+ events: {
7362
+ sandboxes: {
7363
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
7364
+ };
7365
+ };
5122
7366
  sandboxes: {
5123
7367
  commands: {
5124
7368
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
@@ -5197,6 +7441,20 @@ export declare function createSandbox(transport: Transport): {
5197
7441
  snapshots: {
5198
7442
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5199
7443
  };
7444
+ tasks: {
7445
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7446
+ taskId: string;
7447
+ instanceId: string;
7448
+ startedAt: number;
7449
+ }>;
7450
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7451
+ text: string;
7452
+ nextOffset: number;
7453
+ done: boolean;
7454
+ exitCode: number | null;
7455
+ size: number | null;
7456
+ }>;
7457
+ };
5200
7458
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5201
7459
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5202
7460
  name: string;
@@ -5211,7 +7469,43 @@ export declare function createSandbox(transport: Transport): {
5211
7469
  list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
5212
7470
  };
5213
7471
  templates: {
5214
- list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1TemplatesData> | undefined) => Promise<Types.SandboxTemplate[]>;
7472
+ aliases: {
7473
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
7474
+ };
7475
+ builds: {
7476
+ status: {
7477
+ list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
7478
+ };
7479
+ update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
7480
+ };
7481
+ create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
7482
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
7483
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
7484
+ templateID: string;
7485
+ buildID: string;
7486
+ cpuCount: Types.SandboxCpuCount;
7487
+ memoryMB: Types.SandboxMemoryMb;
7488
+ diskSizeMB: Types.SandboxDiskSizeMb;
7489
+ public: boolean;
7490
+ aliases: Array<string>;
7491
+ names: Array<string>;
7492
+ createdAt: string;
7493
+ updatedAt: string;
7494
+ createdBy: Types.SandboxTeamUser;
7495
+ lastSpawnedAt: string;
7496
+ spawnCount: number;
7497
+ buildCount: number;
7498
+ envdVersion: Types.SandboxEnvdVersion;
7499
+ buildStatus: Types.SandboxTemplateBuildStatus;
7500
+ official: boolean;
7501
+ sourceKind?: "dockerfile" | "image" | "snapshot";
7502
+ }[]>;
7503
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
7504
+ tags: {
7505
+ create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
7506
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
7507
+ list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
7508
+ };
5215
7509
  };
5216
7510
  volumes: {
5217
7511
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
@@ -5299,6 +7593,131 @@ export declare function createSearch(transport: Transport): {
5299
7593
  }>;
5300
7594
  };
5301
7595
  };
7596
+ export declare function createShare(transport: Transport): {
7597
+ permissions: {
7598
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7599
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7600
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7601
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7602
+ };
7603
+ };
7604
+ export declare function createStudio(transport: Transport): {
7605
+ codexes: {
7606
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
7607
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesDeleteData>) => Promise<Types.StudioDeleted>;
7608
+ entries: {
7609
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesCreateData>) => Promise<Types.StudioEntry>;
7610
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesDeleteData>) => Promise<Types.StudioDeleted>;
7611
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesListData>) => Promise<Types.StudioEntryPage>;
7612
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesGetData>) => Promise<Types.StudioEntry>;
7613
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioEntriesUpdateData>) => Promise<Types.StudioEntry>;
7614
+ };
7615
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioCodexesListData> | undefined) => Promise<Types.StudioCodexPage>;
7616
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesGetData>) => Promise<Types.StudioCodex>;
7617
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesUpdateData>) => Promise<Types.StudioCodex>;
7618
+ };
7619
+ genres: {
7620
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioGenresListData> | undefined) => Promise<Types.StudioGenreList>;
7621
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioGenresGetData>) => Promise<Types.StudioGenreDetail>;
7622
+ };
7623
+ platforms: {
7624
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioPlatformsListData> | undefined) => Promise<Types.StudioPlatformList>;
7625
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioPlatformsGetData>) => Promise<Types.StudioPlatform>;
7626
+ };
7627
+ styles: {
7628
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioStylesCreateData>) => Promise<Types.StudioStyle>;
7629
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioStylesDeleteData>) => Promise<Types.StudioDeleted>;
7630
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioStylesListData> | undefined) => Promise<Types.StudioStylePage>;
7631
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioStylesGetData>) => Promise<Types.StudioStyle>;
7632
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioStylesUpdateData>) => Promise<Types.StudioStyle>;
7633
+ };
7634
+ templates: {
7635
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesCreateData>) => Promise<Types.StudioTemplate>;
7636
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesDeleteData>) => Promise<Types.StudioDeleted>;
7637
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioTemplatesListData> | undefined) => Promise<Types.StudioTemplatePage>;
7638
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioTemplatesGetData>) => Promise<Types.StudioTemplate>;
7639
+ };
7640
+ themes: {
7641
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioThemesCreateData>) => Promise<Types.StudioTheme>;
7642
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioThemesDeleteData>) => Promise<Types.StudioDeleted>;
7643
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioThemesListData> | undefined) => Promise<Types.StudioThemePage>;
7644
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioThemesGetData>) => Promise<Types.StudioTheme>;
7645
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioThemesUpdateData>) => Promise<Types.StudioTheme>;
7646
+ };
7647
+ works: {
7648
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
7649
+ drafts: {
7650
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7651
+ foreshadows: {
7652
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7653
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7654
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7655
+ };
7656
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
7657
+ rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
7658
+ renditions: {
7659
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsCreateData>) => Promise<Types.StudioRendition>;
7660
+ };
7661
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsGetData>) => Promise<Types.StudioDraftDetail>;
7662
+ retrieveExport: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsExportData>) => Promise<Types.StudioExportResult>;
7663
+ retrieveOutline: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsOutlineData>) => Promise<Types.StudioOutlineResult>;
7664
+ retrieveReview: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsReviewData>) => Promise<Types.StudioReviewReport>;
7665
+ status: {
7666
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsStatusData>) => Promise<Types.StudioDraftStatus>;
7667
+ };
7668
+ units: {
7669
+ batchCreate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchCreateData>) => Promise<Types.StudioUnitListWriteResult>;
7670
+ batchUpdate: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsBatchUpdateData>) => Promise<Types.StudioUnitListWriteResult>;
7671
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
7672
+ };
7673
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
7674
+ updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
7675
+ };
7676
+ list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7677
+ progressions: {
7678
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7679
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7680
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7681
+ };
7682
+ renditions: {
7683
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
7684
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
7685
+ publish: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsPublishData>) => Promise<Types.StudioRendition>;
7686
+ render: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsRenderData>) => Promise<Types.StudioRendition>;
7687
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsGetData>) => Promise<Types.StudioRendition>;
7688
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsContentUrlData>) => Promise<Types.StudioRenditionContentUrl>;
7689
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsUpdateData>) => Promise<Types.StudioRendition>;
7690
+ };
7691
+ resolve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksResolveData>) => Promise<Types.StudioResolveResult>;
7692
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksGetData>) => Promise<Types.StudioWorkDetail>;
7693
+ reviewSettings: {
7694
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsRetrieveData>) => Promise<Types.StudioReviewSettings>;
7695
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewSettingsUpdateData>) => Promise<Types.StudioReviewSettings>;
7696
+ };
7697
+ reviewers: {
7698
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersCreateData>) => Promise<Types.StudioReviewer>;
7699
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersDeleteData>) => Promise<Types.StudioDeleted>;
7700
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersListData>) => Promise<Types.StudioReviewerPage>;
7701
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewersUpdateData>) => Promise<Types.StudioReviewer>;
7702
+ };
7703
+ reviews: {
7704
+ cancel: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCancelData>) => Promise<Types.StudioReview>;
7705
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsCreateData>) => Promise<Types.StudioReview>;
7706
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsListData>) => Promise<Types.StudioReviewPage>;
7707
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioWorksReviewsRetrieveData>) => Promise<Types.StudioReview>;
7708
+ };
7709
+ units: {
7710
+ blocks: {
7711
+ patch: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsPatchBlocksData>) => Promise<Types.StudioBlocksWriteResult>;
7712
+ };
7713
+ move: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsMoveData>) => Promise<Types.StudioUnitWriteResult>;
7714
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsGetData>) => Promise<Types.StudioUnitContent>;
7715
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsContextData>) => Promise<Types.StudioContextPack>;
7716
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
7717
+ };
7718
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
7719
+ };
7720
+ };
5302
7721
  export declare function createTicket(transport: Transport): {
5303
7722
  activity: {
5304
7723
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
@@ -5343,6 +7762,7 @@ export declare function createTicket(transport: Transport): {
5343
7762
  repositories: Array<Types.TicketRepository>;
5344
7763
  next_page_token: string;
5345
7764
  }>;
7765
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
5346
7766
  };
5347
7767
  tickets: {
5348
7768
  comments: {
@@ -5473,15 +7893,25 @@ export declare const resourceFactories: {
5473
7893
  application: typeof createApplication;
5474
7894
  automation: typeof createAutomation;
5475
7895
  browser: typeof createBrowser;
7896
+ canvas: typeof createCanvas;
7897
+ content: typeof createContent;
7898
+ crm: typeof createCrm;
7899
+ customer: typeof createCustomer;
7900
+ cut: typeof createCut;
5476
7901
  database: typeof createDatabase;
7902
+ devops: typeof createDevops;
5477
7903
  file: typeof createFile;
5478
7904
  knowledge: typeof createKnowledge;
5479
7905
  media: typeof createMedia;
5480
7906
  meta: typeof createMeta;
5481
7907
  model: typeof createModel;
7908
+ ontology: typeof createOntology;
5482
7909
  organization: typeof createOrganization;
7910
+ registry: typeof createRegistry;
5483
7911
  sandbox: typeof createSandbox;
5484
7912
  search: typeof createSearch;
7913
+ share: typeof createShare;
7914
+ studio: typeof createStudio;
5485
7915
  ticket: typeof createTicket;
5486
7916
  vault: typeof createVault;
5487
7917
  };