@deepraxis/sdk 0.1.0-dev.ea77ce8 → 0.1.0-dev.ec3814e

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.
@@ -16,7 +16,7 @@ export declare function createAgent(transport: Transport): {
16
16
  inference_geo?: string;
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
19
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
20
  };
21
21
  };
22
22
  multiagent: null | Types.AgentManaged39;
@@ -27,6 +27,26 @@ export declare function createAgent(transport: Transport): {
27
27
  type: "agent";
28
28
  updated_at: string;
29
29
  version: number;
30
+ active_version: number;
31
+ created_by: {
32
+ type: "user";
33
+ id: string;
34
+ name?: string;
35
+ } | {
36
+ type: "api_key";
37
+ id: string;
38
+ } | null;
39
+ note: string | null;
40
+ bindings: Array<{
41
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
+ id: string;
43
+ access: "read_only" | "read_write" | "invoke";
44
+ instructions?: string;
45
+ enabled?: boolean;
46
+ } | {
47
+ type: "search" | "browser";
48
+ enabled?: boolean;
49
+ }>;
30
50
  kind: "personal" | "service";
31
51
  computer_id?: string;
32
52
  subagent_model?: string | null;
@@ -132,6 +152,10 @@ export declare function createAgent(transport: Transport): {
132
152
  models?: {
133
153
  allowed: Array<string>;
134
154
  };
155
+ avatar: string | null;
156
+ environment_id?: string | null;
157
+ vault_ids?: Array<string>;
158
+ status: "active" | "archived";
135
159
  }>;
136
160
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
137
161
  id: string;
@@ -146,7 +170,7 @@ export declare function createAgent(transport: Transport): {
146
170
  inference_geo?: string;
147
171
  speed?: "standard" | "fast";
148
172
  settings?: {
149
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
173
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
150
174
  };
151
175
  };
152
176
  multiagent: null | Types.AgentManaged39;
@@ -157,6 +181,26 @@ export declare function createAgent(transport: Transport): {
157
181
  type: "agent";
158
182
  updated_at: string;
159
183
  version: number;
184
+ active_version: number;
185
+ created_by: {
186
+ type: "user";
187
+ id: string;
188
+ name?: string;
189
+ } | {
190
+ type: "api_key";
191
+ id: string;
192
+ } | null;
193
+ note: string | null;
194
+ bindings: Array<{
195
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
196
+ id: string;
197
+ access: "read_only" | "read_write" | "invoke";
198
+ instructions?: string;
199
+ enabled?: boolean;
200
+ } | {
201
+ type: "search" | "browser";
202
+ enabled?: boolean;
203
+ }>;
160
204
  kind: "personal" | "service";
161
205
  computer_id?: string;
162
206
  subagent_model?: string | null;
@@ -262,7 +306,120 @@ export declare function createAgent(transport: Transport): {
262
306
  models?: {
263
307
  allowed: Array<string>;
264
308
  };
309
+ avatar: string | null;
310
+ environment_id?: string | null;
311
+ vault_ids?: Array<string>;
312
+ status: "active" | "archived";
265
313
  }>;
314
+ customers: {
315
+ auth: {
316
+ accessTokens: {
317
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
318
+ type: "customer_access_token";
319
+ access_token: string;
320
+ expires_at: string;
321
+ session_expires_at: string;
322
+ customer: {
323
+ id: string;
324
+ type: "identified" | "anonymous";
325
+ };
326
+ }>;
327
+ deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
328
+ renew: {
329
+ create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
330
+ type: "customer_access_token";
331
+ access_token: string;
332
+ expires_at: string;
333
+ session_expires_at: string;
334
+ customer: {
335
+ id: string;
336
+ type: "identified" | "anonymous";
337
+ };
338
+ }>;
339
+ };
340
+ };
341
+ grantCodes: {
342
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
343
+ type: "customer_grant_code";
344
+ code: string;
345
+ customer_id: string;
346
+ expires_at: string;
347
+ }>;
348
+ };
349
+ };
350
+ };
351
+ endUsers: {
352
+ block: {
353
+ create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
354
+ external_user_id: string;
355
+ first_seen_at: string | null;
356
+ last_active_at: string | null;
357
+ session_count: number;
358
+ cost_micro_usd: number;
359
+ blocked: boolean;
360
+ }>;
361
+ };
362
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
363
+ id: string;
364
+ status: "pending";
365
+ }>;
366
+ list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
367
+ data: Array<{
368
+ external_user_id: string;
369
+ first_seen_at: string | null;
370
+ last_active_at: string | null;
371
+ session_count: number;
372
+ cost_micro_usd: number;
373
+ blocked: boolean;
374
+ }>;
375
+ next_page: string | null;
376
+ }>;
377
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
378
+ external_user_id: string;
379
+ first_seen_at: string | null;
380
+ last_active_at: string | null;
381
+ session_count: number;
382
+ cost_micro_usd: number;
383
+ blocked: boolean;
384
+ recent_sessions: Array<{
385
+ id: string;
386
+ title: string | null;
387
+ source: string | null;
388
+ created_at: string;
389
+ updated_at: string;
390
+ }>;
391
+ }>;
392
+ retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
393
+ id: string;
394
+ status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
395
+ counts: {
396
+ sessions?: number;
397
+ events?: number;
398
+ messages?: number;
399
+ d1_rows?: number;
400
+ attachments?: number;
401
+ };
402
+ snapshot_key?: string;
403
+ error?: string;
404
+ created_at: string;
405
+ updated_at: string;
406
+ }>;
407
+ revokeTokens: {
408
+ create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
409
+ revoked: number;
410
+ }>;
411
+ };
412
+ unblock: {
413
+ create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
414
+ external_user_id: string;
415
+ first_seen_at: string | null;
416
+ last_active_at: string | null;
417
+ session_count: number;
418
+ cost_micro_usd: number;
419
+ blocked: boolean;
420
+ }>;
421
+ };
422
+ };
266
423
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
267
424
  data: Array<{
268
425
  id: string;
@@ -277,7 +434,7 @@ export declare function createAgent(transport: Transport): {
277
434
  inference_geo?: string;
278
435
  speed?: "standard" | "fast";
279
436
  settings?: {
280
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
437
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
281
438
  };
282
439
  };
283
440
  multiagent: null | Types.AgentManaged39;
@@ -288,6 +445,26 @@ export declare function createAgent(transport: Transport): {
288
445
  type: "agent";
289
446
  updated_at: string;
290
447
  version: number;
448
+ active_version: number;
449
+ created_by: {
450
+ type: "user";
451
+ id: string;
452
+ name?: string;
453
+ } | {
454
+ type: "api_key";
455
+ id: string;
456
+ } | null;
457
+ note: string | null;
458
+ bindings: Array<{
459
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
460
+ id: string;
461
+ access: "read_only" | "read_write" | "invoke";
462
+ instructions?: string;
463
+ enabled?: boolean;
464
+ } | {
465
+ type: "search" | "browser";
466
+ enabled?: boolean;
467
+ }>;
291
468
  kind: "personal" | "service";
292
469
  computer_id?: string;
293
470
  subagent_model?: string | null;
@@ -393,6 +570,10 @@ export declare function createAgent(transport: Transport): {
393
570
  models?: {
394
571
  allowed: Array<string>;
395
572
  };
573
+ avatar: string | null;
574
+ environment_id?: string | null;
575
+ vault_ids?: Array<string>;
576
+ status: "active" | "archived";
396
577
  }>;
397
578
  next_page: string | null;
398
579
  }>;
@@ -409,7 +590,7 @@ export declare function createAgent(transport: Transport): {
409
590
  inference_geo?: string;
410
591
  speed?: "standard" | "fast";
411
592
  settings?: {
412
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
593
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
413
594
  };
414
595
  };
415
596
  multiagent: null | Types.AgentManaged39;
@@ -420,6 +601,26 @@ export declare function createAgent(transport: Transport): {
420
601
  type: "agent";
421
602
  updated_at: string;
422
603
  version: number;
604
+ active_version: number;
605
+ created_by: {
606
+ type: "user";
607
+ id: string;
608
+ name?: string;
609
+ } | {
610
+ type: "api_key";
611
+ id: string;
612
+ } | null;
613
+ note: string | null;
614
+ bindings: Array<{
615
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
616
+ id: string;
617
+ access: "read_only" | "read_write" | "invoke";
618
+ instructions?: string;
619
+ enabled?: boolean;
620
+ } | {
621
+ type: "search" | "browser";
622
+ enabled?: boolean;
623
+ }>;
423
624
  kind: "personal" | "service";
424
625
  computer_id?: string;
425
626
  subagent_model?: string | null;
@@ -525,138 +726,880 @@ export declare function createAgent(transport: Transport): {
525
726
  models?: {
526
727
  allowed: Array<string>;
527
728
  };
729
+ avatar: string | null;
730
+ environment_id?: string | null;
731
+ vault_ids?: Array<string>;
732
+ status: "active" | "archived";
528
733
  }>;
529
- update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
530
- id: string;
531
- archived_at: null | string;
532
- created_at: string;
533
- description: null | string;
534
- mcp_servers: Array<Types.AgentManaged36>;
535
- metadata: Types.AgentManaged37;
536
- model: {
537
- id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
538
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
539
- inference_geo?: string;
540
- speed?: "standard" | "fast";
541
- settings?: {
542
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
734
+ unarchive: {
735
+ create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
736
+ id: string;
737
+ archived_at: null | string;
738
+ created_at: string;
739
+ description: null | string;
740
+ mcp_servers: Array<{
741
+ type: "url";
742
+ name: string;
743
+ url: string;
744
+ headers?: {
745
+ [key: string]: string;
746
+ };
747
+ timeout_ms?: number;
748
+ } | {
749
+ type: "sse";
750
+ name: string;
751
+ url: string;
752
+ headers?: {
753
+ [key: string]: string;
754
+ };
755
+ timeout_ms?: number;
756
+ } | {
757
+ type: "stdio";
758
+ name: string;
759
+ command: string;
760
+ args?: Array<string>;
761
+ env?: {
762
+ [key: string]: string;
763
+ };
764
+ timeout_ms?: number;
765
+ }>;
766
+ metadata: {
767
+ [key: string]: string;
543
768
  };
544
- };
545
- multiagent: null | Types.AgentManaged39;
546
- name: string;
547
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
548
- system: null | string;
549
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
550
- type: "agent";
551
- updated_at: string;
552
- version: number;
553
- kind: "personal" | "service";
554
- computer_id?: string;
555
- subagent_model?: string | null;
556
- subagents?: Array<{
557
- name: string;
558
- description: string;
559
- prompt: string;
560
- tools?: Array<string>;
561
- disallowed_tools?: Array<string>;
562
- model?: string;
563
- }> | null;
564
- commands?: Array<{
565
- name: string;
566
- description?: string;
567
- argument_hint?: string;
568
- prompt: string;
569
- }> | null;
570
- settings?: {
571
- hooks?: {
572
- SessionStart?: Array<{
573
- matcher?: string;
574
- hooks: Array<{
575
- type: "command";
576
- command: string;
577
- timeout?: number;
578
- async?: boolean;
579
- enabled?: boolean;
580
- }>;
581
- }>;
582
- UserPromptSubmit?: Array<{
583
- matcher?: string;
584
- hooks: Array<{
585
- type: "command";
586
- command: string;
587
- timeout?: number;
588
- async?: boolean;
589
- enabled?: boolean;
590
- }>;
769
+ model: {
770
+ id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
771
+ effort?: {
772
+ type: "low";
773
+ } | {
774
+ type: "medium";
775
+ } | {
776
+ type: "high";
777
+ } | {
778
+ type: "xhigh";
779
+ } | {
780
+ type: "max";
781
+ };
782
+ inference_geo?: string;
783
+ speed?: "standard" | "fast";
784
+ settings?: {
785
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
786
+ };
787
+ };
788
+ multiagent: null | {
789
+ agents: Array<{
790
+ id: string;
791
+ type: "agent";
792
+ version: number;
793
+ } | {
794
+ model: string;
795
+ type: "advisor";
591
796
  }>;
592
- PreToolUse?: Array<{
593
- matcher?: string;
594
- hooks: Array<{
595
- type: "command";
596
- command: string;
597
- timeout?: number;
598
- async?: boolean;
599
- enabled?: boolean;
797
+ type: "coordinator";
798
+ };
799
+ name: string;
800
+ skills: Array<{
801
+ skill_id: string;
802
+ type: "anthropic";
803
+ version: string;
804
+ } | {
805
+ skill_id: string;
806
+ type: "custom";
807
+ version: string;
808
+ }>;
809
+ system: null | string;
810
+ tools: Array<{
811
+ configs: Array<{
812
+ enabled: boolean;
813
+ name: "bash";
814
+ permission_policy: {
815
+ type: "always_allow";
816
+ } | {
817
+ type: "always_ask";
818
+ } | {
819
+ type: "auto";
820
+ };
821
+ type: "bash";
822
+ } | {
823
+ enabled: boolean;
824
+ name: "edit";
825
+ permission_policy: {
826
+ type: "always_allow";
827
+ } | {
828
+ type: "always_ask";
829
+ } | {
830
+ type: "auto";
831
+ };
832
+ type: "edit";
833
+ } | {
834
+ enabled: boolean;
835
+ name: "read";
836
+ permission_policy: {
837
+ type: "always_allow";
838
+ } | {
839
+ type: "always_ask";
840
+ } | {
841
+ type: "auto";
842
+ };
843
+ type: "read";
844
+ } | {
845
+ enabled: boolean;
846
+ name: "write";
847
+ permission_policy: {
848
+ type: "always_allow";
849
+ } | {
850
+ type: "always_ask";
851
+ } | {
852
+ type: "auto";
853
+ };
854
+ type: "write";
855
+ } | {
856
+ enabled: boolean;
857
+ name: "glob";
858
+ permission_policy: {
859
+ type: "always_allow";
860
+ } | {
861
+ type: "always_ask";
862
+ } | {
863
+ type: "auto";
864
+ };
865
+ type: "glob";
866
+ } | {
867
+ enabled: boolean;
868
+ name: "grep";
869
+ permission_policy: {
870
+ type: "always_allow";
871
+ } | {
872
+ type: "always_ask";
873
+ } | {
874
+ type: "auto";
875
+ };
876
+ type: "grep";
877
+ } | {
878
+ enabled: boolean;
879
+ name: "web_fetch";
880
+ permission_policy: {
881
+ type: "always_allow";
882
+ } | {
883
+ type: "always_ask";
884
+ } | {
885
+ type: "auto";
886
+ };
887
+ type: "web_fetch";
888
+ allowed_domains?: Array<string>;
889
+ blocked_domains?: Array<string>;
890
+ max_content_tokens?: null | number;
891
+ } | {
892
+ enabled: boolean;
893
+ name: "web_search";
894
+ permission_policy: {
895
+ type: "always_allow";
896
+ } | {
897
+ type: "always_ask";
898
+ } | {
899
+ type: "auto";
900
+ };
901
+ type: "web_search";
902
+ allowed_domains?: Array<string>;
903
+ blocked_domains?: Array<string>;
904
+ user_location?: null | {
905
+ type: "approximate";
906
+ city?: null | string;
907
+ country?: null | string;
908
+ region?: null | string;
909
+ timezone?: null | string;
910
+ };
911
+ } | {
912
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
913
+ enabled: boolean;
914
+ permission_policy: {
915
+ type: "always_allow" | "always_ask";
916
+ };
917
+ }>;
918
+ default_config: {
919
+ enabled: boolean;
920
+ permission_policy: {
921
+ type: "always_allow";
922
+ } | {
923
+ type: "always_ask";
924
+ } | {
925
+ type: "auto";
926
+ };
927
+ };
928
+ type: "agent_toolset_20260401";
929
+ } | {
930
+ type: "mcp_toolset";
931
+ mcp_server_name: string;
932
+ default_config?: {
933
+ enabled?: boolean | null;
934
+ permission_policy?: null | {
935
+ type: "always_allow" | "always_ask";
936
+ };
937
+ } | null;
938
+ configs?: Array<{
939
+ name: string;
940
+ enabled?: boolean | null;
941
+ permission_policy?: null | {
942
+ type: "always_allow" | "always_ask";
943
+ };
944
+ }> | null;
945
+ } | {
946
+ description: string;
947
+ input_schema: {
948
+ type: "object";
949
+ properties?: null | {
950
+ [key: string]: unknown;
951
+ };
952
+ required?: null | Array<string>;
953
+ [key: string]: unknown;
954
+ };
955
+ name: string;
956
+ type: "custom";
957
+ }>;
958
+ type: "agent";
959
+ updated_at: string;
960
+ version: number;
961
+ active_version: number;
962
+ created_by: {
963
+ type: "user";
964
+ id: string;
965
+ name?: string;
966
+ } | {
967
+ type: "api_key";
968
+ id: string;
969
+ } | null;
970
+ note: string | null;
971
+ bindings: Array<{
972
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
973
+ id: string;
974
+ access: "read_only" | "read_write" | "invoke";
975
+ instructions?: string;
976
+ enabled?: boolean;
977
+ } | {
978
+ type: "search" | "browser";
979
+ enabled?: boolean;
980
+ }>;
981
+ kind: "personal" | "service";
982
+ computer_id?: string;
983
+ subagent_model?: string | null;
984
+ subagents?: Array<{
985
+ name: string;
986
+ description: string;
987
+ prompt: string;
988
+ tools?: Array<string>;
989
+ disallowed_tools?: Array<string>;
990
+ model?: string;
991
+ }> | null;
992
+ commands?: Array<{
993
+ name: string;
994
+ description?: string;
995
+ argument_hint?: string;
996
+ prompt: string;
997
+ }> | null;
998
+ settings?: {
999
+ hooks?: {
1000
+ SessionStart?: Array<{
1001
+ matcher?: string;
1002
+ hooks: Array<{
1003
+ type: "command";
1004
+ command: string;
1005
+ timeout?: number;
1006
+ async?: boolean;
1007
+ enabled?: boolean;
1008
+ }>;
1009
+ }>;
1010
+ UserPromptSubmit?: Array<{
1011
+ matcher?: string;
1012
+ hooks: Array<{
1013
+ type: "command";
1014
+ command: string;
1015
+ timeout?: number;
1016
+ async?: boolean;
1017
+ enabled?: boolean;
1018
+ }>;
1019
+ }>;
1020
+ PreToolUse?: Array<{
1021
+ matcher?: string;
1022
+ hooks: Array<{
1023
+ type: "command";
1024
+ command: string;
1025
+ timeout?: number;
1026
+ async?: boolean;
1027
+ enabled?: boolean;
1028
+ }>;
1029
+ }>;
1030
+ PermissionRequest?: Array<{
1031
+ matcher?: string;
1032
+ hooks: Array<{
1033
+ type: "command";
1034
+ command: string;
1035
+ timeout?: number;
1036
+ async?: boolean;
1037
+ enabled?: boolean;
1038
+ }>;
1039
+ }>;
1040
+ PostToolUse?: Array<{
1041
+ matcher?: string;
1042
+ hooks: Array<{
1043
+ type: "command";
1044
+ command: string;
1045
+ timeout?: number;
1046
+ async?: boolean;
1047
+ enabled?: boolean;
1048
+ }>;
1049
+ }>;
1050
+ PostToolUseFailure?: Array<{
1051
+ matcher?: string;
1052
+ hooks: Array<{
1053
+ type: "command";
1054
+ command: string;
1055
+ timeout?: number;
1056
+ async?: boolean;
1057
+ enabled?: boolean;
1058
+ }>;
1059
+ }>;
1060
+ Stop?: Array<{
1061
+ matcher?: string;
1062
+ hooks: Array<{
1063
+ type: "command";
1064
+ command: string;
1065
+ timeout?: number;
1066
+ async?: boolean;
1067
+ enabled?: boolean;
1068
+ }>;
1069
+ }>;
1070
+ };
1071
+ allowManagedHooksOnly?: boolean;
1072
+ allowManagedMcpServersOnly?: boolean;
1073
+ allowManagedPermissionRulesOnly?: boolean;
1074
+ autoMemoryEnabled?: boolean;
1075
+ disabled?: {
1076
+ subagents?: Array<string>;
1077
+ commands?: Array<string>;
1078
+ skills?: Array<string>;
1079
+ mcpServers?: Array<string>;
1080
+ hooks?: Array<string>;
1081
+ };
1082
+ } | null;
1083
+ models?: {
1084
+ allowed: Array<string>;
1085
+ };
1086
+ avatar: string | null;
1087
+ environment_id?: string | null;
1088
+ vault_ids?: Array<string>;
1089
+ status: "active" | "archived";
1090
+ }>;
1091
+ };
1092
+ update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
1093
+ id: string;
1094
+ archived_at: null | string;
1095
+ created_at: string;
1096
+ description: null | string;
1097
+ mcp_servers: Array<Types.AgentManaged36>;
1098
+ metadata: Types.AgentManaged37;
1099
+ model: {
1100
+ id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
1101
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1102
+ inference_geo?: string;
1103
+ speed?: "standard" | "fast";
1104
+ settings?: {
1105
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1106
+ };
1107
+ };
1108
+ multiagent: null | Types.AgentManaged39;
1109
+ name: string;
1110
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1111
+ system: null | string;
1112
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1113
+ type: "agent";
1114
+ updated_at: string;
1115
+ version: number;
1116
+ active_version: number;
1117
+ created_by: {
1118
+ type: "user";
1119
+ id: string;
1120
+ name?: string;
1121
+ } | {
1122
+ type: "api_key";
1123
+ id: string;
1124
+ } | null;
1125
+ note: string | null;
1126
+ bindings: Array<{
1127
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1128
+ id: string;
1129
+ access: "read_only" | "read_write" | "invoke";
1130
+ instructions?: string;
1131
+ enabled?: boolean;
1132
+ } | {
1133
+ type: "search" | "browser";
1134
+ enabled?: boolean;
1135
+ }>;
1136
+ kind: "personal" | "service";
1137
+ computer_id?: string;
1138
+ subagent_model?: string | null;
1139
+ subagents?: Array<{
1140
+ name: string;
1141
+ description: string;
1142
+ prompt: string;
1143
+ tools?: Array<string>;
1144
+ disallowed_tools?: Array<string>;
1145
+ model?: string;
1146
+ }> | null;
1147
+ commands?: Array<{
1148
+ name: string;
1149
+ description?: string;
1150
+ argument_hint?: string;
1151
+ prompt: string;
1152
+ }> | null;
1153
+ settings?: {
1154
+ hooks?: {
1155
+ SessionStart?: Array<{
1156
+ matcher?: string;
1157
+ hooks: Array<{
1158
+ type: "command";
1159
+ command: string;
1160
+ timeout?: number;
1161
+ async?: boolean;
1162
+ enabled?: boolean;
1163
+ }>;
1164
+ }>;
1165
+ UserPromptSubmit?: Array<{
1166
+ matcher?: string;
1167
+ hooks: Array<{
1168
+ type: "command";
1169
+ command: string;
1170
+ timeout?: number;
1171
+ async?: boolean;
1172
+ enabled?: boolean;
1173
+ }>;
1174
+ }>;
1175
+ PreToolUse?: Array<{
1176
+ matcher?: string;
1177
+ hooks: Array<{
1178
+ type: "command";
1179
+ command: string;
1180
+ timeout?: number;
1181
+ async?: boolean;
1182
+ enabled?: boolean;
1183
+ }>;
1184
+ }>;
1185
+ PermissionRequest?: Array<{
1186
+ matcher?: string;
1187
+ hooks: Array<{
1188
+ type: "command";
1189
+ command: string;
1190
+ timeout?: number;
1191
+ async?: boolean;
1192
+ enabled?: boolean;
1193
+ }>;
1194
+ }>;
1195
+ PostToolUse?: Array<{
1196
+ matcher?: string;
1197
+ hooks: Array<{
1198
+ type: "command";
1199
+ command: string;
1200
+ timeout?: number;
1201
+ async?: boolean;
1202
+ enabled?: boolean;
1203
+ }>;
1204
+ }>;
1205
+ PostToolUseFailure?: Array<{
1206
+ matcher?: string;
1207
+ hooks: Array<{
1208
+ type: "command";
1209
+ command: string;
1210
+ timeout?: number;
1211
+ async?: boolean;
1212
+ enabled?: boolean;
1213
+ }>;
1214
+ }>;
1215
+ Stop?: Array<{
1216
+ matcher?: string;
1217
+ hooks: Array<{
1218
+ type: "command";
1219
+ command: string;
1220
+ timeout?: number;
1221
+ async?: boolean;
1222
+ enabled?: boolean;
1223
+ }>;
1224
+ }>;
1225
+ };
1226
+ allowManagedHooksOnly?: boolean;
1227
+ allowManagedMcpServersOnly?: boolean;
1228
+ allowManagedPermissionRulesOnly?: boolean;
1229
+ autoMemoryEnabled?: boolean;
1230
+ disabled?: {
1231
+ subagents?: Array<string>;
1232
+ commands?: Array<string>;
1233
+ skills?: Array<string>;
1234
+ mcpServers?: Array<string>;
1235
+ hooks?: Array<string>;
1236
+ };
1237
+ } | null;
1238
+ models?: {
1239
+ allowed: Array<string>;
1240
+ };
1241
+ avatar: string | null;
1242
+ environment_id?: string | null;
1243
+ vault_ids?: Array<string>;
1244
+ status: "active" | "archived";
1245
+ }>;
1246
+ versions: {
1247
+ apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1248
+ id: string;
1249
+ archived_at: null | string;
1250
+ created_at: string;
1251
+ description: null | string;
1252
+ mcp_servers: Array<{
1253
+ type: "url";
1254
+ name: string;
1255
+ url: string;
1256
+ headers?: {
1257
+ [key: string]: string;
1258
+ };
1259
+ timeout_ms?: number;
1260
+ } | {
1261
+ type: "sse";
1262
+ name: string;
1263
+ url: string;
1264
+ headers?: {
1265
+ [key: string]: string;
1266
+ };
1267
+ timeout_ms?: number;
1268
+ } | {
1269
+ type: "stdio";
1270
+ name: string;
1271
+ command: string;
1272
+ args?: Array<string>;
1273
+ env?: {
1274
+ [key: string]: string;
1275
+ };
1276
+ timeout_ms?: number;
1277
+ }>;
1278
+ metadata: {
1279
+ [key: string]: string;
1280
+ };
1281
+ model: {
1282
+ id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
1283
+ effort?: {
1284
+ type: "low";
1285
+ } | {
1286
+ type: "medium";
1287
+ } | {
1288
+ type: "high";
1289
+ } | {
1290
+ type: "xhigh";
1291
+ } | {
1292
+ type: "max";
1293
+ };
1294
+ inference_geo?: string;
1295
+ speed?: "standard" | "fast";
1296
+ settings?: {
1297
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1298
+ };
1299
+ };
1300
+ multiagent: null | {
1301
+ agents: Array<{
1302
+ id: string;
1303
+ type: "agent";
1304
+ version: number;
1305
+ } | {
1306
+ model: string;
1307
+ type: "advisor";
1308
+ }>;
1309
+ type: "coordinator";
1310
+ };
1311
+ name: string;
1312
+ skills: Array<{
1313
+ skill_id: string;
1314
+ type: "anthropic";
1315
+ version: string;
1316
+ } | {
1317
+ skill_id: string;
1318
+ type: "custom";
1319
+ version: string;
1320
+ }>;
1321
+ system: null | string;
1322
+ tools: Array<{
1323
+ configs: Array<{
1324
+ enabled: boolean;
1325
+ name: "bash";
1326
+ permission_policy: {
1327
+ type: "always_allow";
1328
+ } | {
1329
+ type: "always_ask";
1330
+ } | {
1331
+ type: "auto";
1332
+ };
1333
+ type: "bash";
1334
+ } | {
1335
+ enabled: boolean;
1336
+ name: "edit";
1337
+ permission_policy: {
1338
+ type: "always_allow";
1339
+ } | {
1340
+ type: "always_ask";
1341
+ } | {
1342
+ type: "auto";
1343
+ };
1344
+ type: "edit";
1345
+ } | {
1346
+ enabled: boolean;
1347
+ name: "read";
1348
+ permission_policy: {
1349
+ type: "always_allow";
1350
+ } | {
1351
+ type: "always_ask";
1352
+ } | {
1353
+ type: "auto";
1354
+ };
1355
+ type: "read";
1356
+ } | {
1357
+ enabled: boolean;
1358
+ name: "write";
1359
+ permission_policy: {
1360
+ type: "always_allow";
1361
+ } | {
1362
+ type: "always_ask";
1363
+ } | {
1364
+ type: "auto";
1365
+ };
1366
+ type: "write";
1367
+ } | {
1368
+ enabled: boolean;
1369
+ name: "glob";
1370
+ permission_policy: {
1371
+ type: "always_allow";
1372
+ } | {
1373
+ type: "always_ask";
1374
+ } | {
1375
+ type: "auto";
1376
+ };
1377
+ type: "glob";
1378
+ } | {
1379
+ enabled: boolean;
1380
+ name: "grep";
1381
+ permission_policy: {
1382
+ type: "always_allow";
1383
+ } | {
1384
+ type: "always_ask";
1385
+ } | {
1386
+ type: "auto";
1387
+ };
1388
+ type: "grep";
1389
+ } | {
1390
+ enabled: boolean;
1391
+ name: "web_fetch";
1392
+ permission_policy: {
1393
+ type: "always_allow";
1394
+ } | {
1395
+ type: "always_ask";
1396
+ } | {
1397
+ type: "auto";
1398
+ };
1399
+ type: "web_fetch";
1400
+ allowed_domains?: Array<string>;
1401
+ blocked_domains?: Array<string>;
1402
+ max_content_tokens?: null | number;
1403
+ } | {
1404
+ enabled: boolean;
1405
+ name: "web_search";
1406
+ permission_policy: {
1407
+ type: "always_allow";
1408
+ } | {
1409
+ type: "always_ask";
1410
+ } | {
1411
+ type: "auto";
1412
+ };
1413
+ type: "web_search";
1414
+ allowed_domains?: Array<string>;
1415
+ blocked_domains?: Array<string>;
1416
+ user_location?: null | {
1417
+ type: "approximate";
1418
+ city?: null | string;
1419
+ country?: null | string;
1420
+ region?: null | string;
1421
+ timezone?: null | string;
1422
+ };
1423
+ } | {
1424
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1425
+ enabled: boolean;
1426
+ permission_policy: {
1427
+ type: "always_allow" | "always_ask";
1428
+ };
1429
+ }>;
1430
+ default_config: {
1431
+ enabled: boolean;
1432
+ permission_policy: {
1433
+ type: "always_allow";
1434
+ } | {
1435
+ type: "always_ask";
1436
+ } | {
1437
+ type: "auto";
1438
+ };
1439
+ };
1440
+ type: "agent_toolset_20260401";
1441
+ } | {
1442
+ type: "mcp_toolset";
1443
+ mcp_server_name: string;
1444
+ default_config?: {
1445
+ enabled?: boolean | null;
1446
+ permission_policy?: null | {
1447
+ type: "always_allow" | "always_ask";
1448
+ };
1449
+ } | null;
1450
+ configs?: Array<{
1451
+ name: string;
1452
+ enabled?: boolean | null;
1453
+ permission_policy?: null | {
1454
+ type: "always_allow" | "always_ask";
1455
+ };
1456
+ }> | null;
1457
+ } | {
1458
+ description: string;
1459
+ input_schema: {
1460
+ type: "object";
1461
+ properties?: null | {
1462
+ [key: string]: unknown;
1463
+ };
1464
+ required?: null | Array<string>;
1465
+ [key: string]: unknown;
1466
+ };
1467
+ name: string;
1468
+ type: "custom";
1469
+ }>;
1470
+ type: "agent";
1471
+ updated_at: string;
1472
+ version: number;
1473
+ active_version: number;
1474
+ created_by: {
1475
+ type: "user";
1476
+ id: string;
1477
+ name?: string;
1478
+ } | {
1479
+ type: "api_key";
1480
+ id: string;
1481
+ } | null;
1482
+ note: string | null;
1483
+ bindings: Array<{
1484
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1485
+ id: string;
1486
+ access: "read_only" | "read_write" | "invoke";
1487
+ instructions?: string;
1488
+ enabled?: boolean;
1489
+ } | {
1490
+ type: "search" | "browser";
1491
+ enabled?: boolean;
1492
+ }>;
1493
+ kind: "personal" | "service";
1494
+ computer_id?: string;
1495
+ subagent_model?: string | null;
1496
+ subagents?: Array<{
1497
+ name: string;
1498
+ description: string;
1499
+ prompt: string;
1500
+ tools?: Array<string>;
1501
+ disallowed_tools?: Array<string>;
1502
+ model?: string;
1503
+ }> | null;
1504
+ commands?: Array<{
1505
+ name: string;
1506
+ description?: string;
1507
+ argument_hint?: string;
1508
+ prompt: string;
1509
+ }> | null;
1510
+ settings?: {
1511
+ hooks?: {
1512
+ SessionStart?: Array<{
1513
+ matcher?: string;
1514
+ hooks: Array<{
1515
+ type: "command";
1516
+ command: string;
1517
+ timeout?: number;
1518
+ async?: boolean;
1519
+ enabled?: boolean;
1520
+ }>;
1521
+ }>;
1522
+ UserPromptSubmit?: Array<{
1523
+ matcher?: string;
1524
+ hooks: Array<{
1525
+ type: "command";
1526
+ command: string;
1527
+ timeout?: number;
1528
+ async?: boolean;
1529
+ enabled?: boolean;
1530
+ }>;
1531
+ }>;
1532
+ PreToolUse?: Array<{
1533
+ matcher?: string;
1534
+ hooks: Array<{
1535
+ type: "command";
1536
+ command: string;
1537
+ timeout?: number;
1538
+ async?: boolean;
1539
+ enabled?: boolean;
1540
+ }>;
600
1541
  }>;
601
- }>;
602
- PermissionRequest?: Array<{
603
- matcher?: string;
604
- hooks: Array<{
605
- type: "command";
606
- command: string;
607
- timeout?: number;
608
- async?: boolean;
609
- enabled?: boolean;
1542
+ PermissionRequest?: Array<{
1543
+ matcher?: string;
1544
+ hooks: Array<{
1545
+ type: "command";
1546
+ command: string;
1547
+ timeout?: number;
1548
+ async?: boolean;
1549
+ enabled?: boolean;
1550
+ }>;
610
1551
  }>;
611
- }>;
612
- PostToolUse?: Array<{
613
- matcher?: string;
614
- hooks: Array<{
615
- type: "command";
616
- command: string;
617
- timeout?: number;
618
- async?: boolean;
619
- enabled?: boolean;
1552
+ PostToolUse?: Array<{
1553
+ matcher?: string;
1554
+ hooks: Array<{
1555
+ type: "command";
1556
+ command: string;
1557
+ timeout?: number;
1558
+ async?: boolean;
1559
+ enabled?: boolean;
1560
+ }>;
620
1561
  }>;
621
- }>;
622
- PostToolUseFailure?: Array<{
623
- matcher?: string;
624
- hooks: Array<{
625
- type: "command";
626
- command: string;
627
- timeout?: number;
628
- async?: boolean;
629
- enabled?: boolean;
1562
+ PostToolUseFailure?: Array<{
1563
+ matcher?: string;
1564
+ hooks: Array<{
1565
+ type: "command";
1566
+ command: string;
1567
+ timeout?: number;
1568
+ async?: boolean;
1569
+ enabled?: boolean;
1570
+ }>;
630
1571
  }>;
631
- }>;
632
- Stop?: Array<{
633
- matcher?: string;
634
- hooks: Array<{
635
- type: "command";
636
- command: string;
637
- timeout?: number;
638
- async?: boolean;
639
- enabled?: boolean;
1572
+ Stop?: Array<{
1573
+ matcher?: string;
1574
+ hooks: Array<{
1575
+ type: "command";
1576
+ command: string;
1577
+ timeout?: number;
1578
+ async?: boolean;
1579
+ enabled?: boolean;
1580
+ }>;
640
1581
  }>;
641
- }>;
642
- };
643
- allowManagedHooksOnly?: boolean;
644
- allowManagedMcpServersOnly?: boolean;
645
- allowManagedPermissionRulesOnly?: boolean;
646
- autoMemoryEnabled?: boolean;
647
- disabled?: {
648
- subagents?: Array<string>;
649
- commands?: Array<string>;
650
- skills?: Array<string>;
651
- mcpServers?: Array<string>;
652
- hooks?: Array<string>;
1582
+ };
1583
+ allowManagedHooksOnly?: boolean;
1584
+ allowManagedMcpServersOnly?: boolean;
1585
+ allowManagedPermissionRulesOnly?: boolean;
1586
+ autoMemoryEnabled?: boolean;
1587
+ disabled?: {
1588
+ subagents?: Array<string>;
1589
+ commands?: Array<string>;
1590
+ skills?: Array<string>;
1591
+ mcpServers?: Array<string>;
1592
+ hooks?: Array<string>;
1593
+ };
1594
+ } | null;
1595
+ models?: {
1596
+ allowed: Array<string>;
653
1597
  };
654
- } | null;
655
- models?: {
656
- allowed: Array<string>;
657
- };
658
- }>;
659
- versions: {
1598
+ avatar: string | null;
1599
+ environment_id?: string | null;
1600
+ vault_ids?: Array<string>;
1601
+ status: "active" | "archived";
1602
+ }>;
660
1603
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
661
1604
  data: Array<{
662
1605
  id: string;
@@ -671,7 +1614,7 @@ export declare function createAgent(transport: Transport): {
671
1614
  inference_geo?: string;
672
1615
  speed?: "standard" | "fast";
673
1616
  settings?: {
674
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1617
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
675
1618
  };
676
1619
  };
677
1620
  multiagent: null | Types.AgentManaged39;
@@ -682,6 +1625,26 @@ export declare function createAgent(transport: Transport): {
682
1625
  type: "agent";
683
1626
  updated_at: string;
684
1627
  version: number;
1628
+ active_version: number;
1629
+ created_by: {
1630
+ type: "user";
1631
+ id: string;
1632
+ name?: string;
1633
+ } | {
1634
+ type: "api_key";
1635
+ id: string;
1636
+ } | null;
1637
+ note: string | null;
1638
+ bindings: Array<{
1639
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1640
+ id: string;
1641
+ access: "read_only" | "read_write" | "invoke";
1642
+ instructions?: string;
1643
+ enabled?: boolean;
1644
+ } | {
1645
+ type: "search" | "browser";
1646
+ enabled?: boolean;
1647
+ }>;
685
1648
  kind: "personal" | "service";
686
1649
  computer_id?: string;
687
1650
  subagent_model?: string | null;
@@ -787,6 +1750,10 @@ export declare function createAgent(transport: Transport): {
787
1750
  models?: {
788
1751
  allowed: Array<string>;
789
1752
  };
1753
+ avatar: string | null;
1754
+ environment_id?: string | null;
1755
+ vault_ids?: Array<string>;
1756
+ status: "active" | "archived";
790
1757
  }>;
791
1758
  next_page: string | null;
792
1759
  }>;
@@ -798,6 +1765,7 @@ export declare function createAgent(transport: Transport): {
798
1765
  id: string;
799
1766
  name: string;
800
1767
  sandbox_id: string | null;
1768
+ machine_state: "not_started" | "provisioned";
801
1769
  environment_id: string | null;
802
1770
  status: "active" | "archived";
803
1771
  created_at: string;
@@ -820,12 +1788,16 @@ export declare function createAgent(transport: Transport): {
820
1788
  sandbox_id: string;
821
1789
  envd_access_token: string;
822
1790
  template_id: string;
1791
+ tier: "light" | "heavy";
1792
+ lease_id: string | null;
1793
+ lease_expires_at: string | null;
823
1794
  }>;
824
1795
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersCreateData>) => Promise<{
825
1796
  type: "computer";
826
1797
  id: string;
827
1798
  name: string;
828
1799
  sandbox_id: string | null;
1800
+ machine_state: "not_started" | "provisioned";
829
1801
  environment_id: string | null;
830
1802
  status: "active" | "archived";
831
1803
  created_at: string;
@@ -849,15 +1821,29 @@ export declare function createAgent(transport: Transport): {
849
1821
  updated_at: string | null;
850
1822
  }>;
851
1823
  has_more: false;
1824
+ tier: "light" | "heavy";
852
1825
  }>;
853
1826
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
854
1827
  };
1828
+ leases: {
1829
+ delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
1830
+ id: string;
1831
+ type: "computer_lease_released";
1832
+ }>;
1833
+ renew: {
1834
+ create: (options: import("./core/transport.js").CallOptions<Types.RenewComputerLeaseData>) => Promise<{
1835
+ lease_id: string;
1836
+ lease_expires_at: string;
1837
+ }>;
1838
+ };
1839
+ };
855
1840
  list: (options?: import("./core/transport.js").CallOptions<Types.ComputersListData> | undefined) => Promise<{
856
1841
  data: Array<{
857
1842
  type: "computer";
858
1843
  id: string;
859
1844
  name: string;
860
1845
  sandbox_id: string | null;
1846
+ machine_state: "not_started" | "provisioned";
861
1847
  environment_id: string | null;
862
1848
  status: "active" | "archived";
863
1849
  created_at: string;
@@ -872,6 +1858,7 @@ export declare function createAgent(transport: Transport): {
872
1858
  id: string;
873
1859
  name: string;
874
1860
  sandbox_id: string | null;
1861
+ machine_state: "not_started" | "provisioned";
875
1862
  environment_id: string | null;
876
1863
  status: "active" | "archived";
877
1864
  created_at: string;
@@ -880,12 +1867,14 @@ export declare function createAgent(transport: Transport): {
880
1867
  implementation: "virtual" | "sandbox";
881
1868
  storage_bytes: number;
882
1869
  file_count: number;
1870
+ stats_complete: boolean;
883
1871
  }>;
884
1872
  update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
885
1873
  type: "computer";
886
1874
  id: string;
887
1875
  name: string;
888
1876
  sandbox_id: string | null;
1877
+ machine_state: "not_started" | "provisioned";
889
1878
  environment_id: string | null;
890
1879
  status: "active" | "archived";
891
1880
  created_at: string;
@@ -1169,8 +2158,82 @@ export declare function createAgent(transport: Transport): {
1169
2158
  };
1170
2159
  }>;
1171
2160
  };
2161
+ embed: {
2162
+ exchange: {
2163
+ create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
2164
+ token: string;
2165
+ expires_at: string;
2166
+ }>;
2167
+ };
2168
+ retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
2169
+ agent?: {
2170
+ name?: string;
2171
+ avatar?: string;
2172
+ };
2173
+ layout?: "inline" | "sidebar" | "popup" | "modal";
2174
+ launcher?: {
2175
+ type: "none" | "bubble" | "mascot";
2176
+ pack?: {
2177
+ preset?: "mint" | "cat" | "bot";
2178
+ images?: {
2179
+ idle: string;
2180
+ greet?: string;
2181
+ listening?: string;
2182
+ thinking?: string;
2183
+ talking?: string;
2184
+ "talking-2"?: string;
2185
+ sorry?: string;
2186
+ sleep?: string;
2187
+ };
2188
+ };
2189
+ image?: string;
2190
+ motion?: "float" | "none";
2191
+ position?: "bottom-right" | "bottom-left";
2192
+ label?: string;
2193
+ };
2194
+ header?: {
2195
+ title?: string;
2196
+ subtitle?: string;
2197
+ icon?: string;
2198
+ };
2199
+ theme?: {
2200
+ colorScheme?: "light" | "dark" | "system";
2201
+ accent?: string;
2202
+ surface?: string;
2203
+ grayscale?: "neutral" | "warm" | "cool";
2204
+ radius?: "none" | "sm" | "md" | "lg" | "full";
2205
+ density?: "compact" | "normal" | "spacious";
2206
+ fontFamily?: string;
2207
+ fontSize?: number;
2208
+ };
2209
+ locale?: "zh" | "en";
2210
+ startScreen?: {
2211
+ greeting?: string;
2212
+ prompts?: Array<{
2213
+ label: string;
2214
+ prompt: string;
2215
+ }>;
2216
+ };
2217
+ composer?: {
2218
+ placeholder?: string;
2219
+ };
2220
+ disclaimer?: string;
2221
+ footer?: string;
2222
+ history?: {
2223
+ enabled?: boolean;
2224
+ };
2225
+ }>;
2226
+ };
1172
2227
  embedTokens: {
2228
+ anonymous: {
2229
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
2230
+ token: string;
2231
+ expires_at: string;
2232
+ visitor_secret?: string;
2233
+ }>;
2234
+ };
1173
2235
  create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
2236
+ hosted_url?: string;
1174
2237
  id: string;
1175
2238
  token: string;
1176
2239
  expires_at: string;
@@ -1234,7 +2297,7 @@ export declare function createAgent(transport: Transport): {
1234
2297
  inference_geo?: string;
1235
2298
  speed?: "standard" | "fast";
1236
2299
  settings?: {
1237
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2300
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1238
2301
  };
1239
2302
  };
1240
2303
  multiagent: null | Types.AgentManaged171;
@@ -1265,18 +2328,20 @@ export declare function createAgent(transport: Transport): {
1265
2328
  model?: {
1266
2329
  id: string;
1267
2330
  thinking: {
1268
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2331
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1269
2332
  can_disable: boolean;
1270
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2333
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1271
2334
  } | null;
1272
2335
  };
1273
2336
  thinking?: {
1274
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2337
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1275
2338
  } | null;
1276
2339
  forked_from?: {
1277
2340
  session_id: string;
1278
2341
  message_id: string;
1279
2342
  } | null;
2343
+ readonly external_user_id: string | null;
2344
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1280
2345
  }>;
1281
2346
  backgroundTasks: {
1282
2347
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
@@ -1353,7 +2418,7 @@ export declare function createAgent(transport: Transport): {
1353
2418
  inference_geo?: string;
1354
2419
  speed?: "standard" | "fast";
1355
2420
  settings?: {
1356
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2421
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1357
2422
  };
1358
2423
  };
1359
2424
  multiagent: null | Types.AgentManaged171;
@@ -1384,19 +2449,22 @@ export declare function createAgent(transport: Transport): {
1384
2449
  model?: {
1385
2450
  id: string;
1386
2451
  thinking: {
1387
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2452
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1388
2453
  can_disable: boolean;
1389
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2454
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1390
2455
  } | null;
1391
2456
  };
1392
2457
  thinking?: {
1393
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2458
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1394
2459
  } | null;
1395
2460
  forked_from?: {
1396
2461
  session_id: string;
1397
2462
  message_id: string;
1398
2463
  } | null;
2464
+ readonly external_user_id: string | null;
2465
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1399
2466
  }>;
2467
+ delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
1400
2468
  events: {
1401
2469
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
1402
2470
  data: Array<{
@@ -1404,6 +2472,12 @@ export declare function createAgent(transport: Transport): {
1404
2472
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
1405
2473
  type: "user.message";
1406
2474
  processed_at?: null | string;
2475
+ praxis_context?: {
2476
+ items: Array<{
2477
+ name: string;
2478
+ value: string;
2479
+ }>;
2480
+ };
1407
2481
  message_id?: string;
1408
2482
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
1409
2483
  id: string;
@@ -1453,6 +2527,10 @@ export declare function createAgent(transport: Transport): {
1453
2527
  };
1454
2528
  source?: "app" | "codemode";
1455
2529
  parent_tool_use_id?: string;
2530
+ title?: string;
2531
+ input_titles?: {
2532
+ [key: string]: string;
2533
+ };
1456
2534
  } | {
1457
2535
  id: string;
1458
2536
  mcp_tool_use_id: string;
@@ -1580,7 +2658,18 @@ export declare function createAgent(transport: Transport): {
1580
2658
  next_page: string | null;
1581
2659
  }>;
1582
2660
  send: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsSendData>) => Promise<{
1583
- data?: Array<Types.AgentManaged185 | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
2661
+ data?: Array<{
2662
+ id: string;
2663
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2664
+ type: "user.message";
2665
+ processed_at?: null | string;
2666
+ praxis_context?: {
2667
+ items: Array<{
2668
+ name: string;
2669
+ value: string;
2670
+ }>;
2671
+ };
2672
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
1584
2673
  id: string;
1585
2674
  type: "user.steer";
1586
2675
  event_id: string;
@@ -1613,6 +2702,27 @@ export declare function createAgent(transport: Transport): {
1613
2702
  type: "url";
1614
2703
  name: string;
1615
2704
  url: string;
2705
+ headers?: {
2706
+ [key: string]: string;
2707
+ };
2708
+ timeout_ms?: number;
2709
+ } | {
2710
+ type: "sse";
2711
+ name: string;
2712
+ url: string;
2713
+ headers?: {
2714
+ [key: string]: string;
2715
+ };
2716
+ timeout_ms?: number;
2717
+ } | {
2718
+ type: "stdio";
2719
+ name: string;
2720
+ command: string;
2721
+ args?: Array<string>;
2722
+ env?: {
2723
+ [key: string]: string;
2724
+ };
2725
+ timeout_ms?: number;
1616
2726
  }>;
1617
2727
  model: {
1618
2728
  id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
@@ -1630,7 +2740,7 @@ export declare function createAgent(transport: Transport): {
1630
2740
  inference_geo?: string;
1631
2741
  speed?: "standard" | "fast";
1632
2742
  settings?: {
1633
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2743
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1634
2744
  };
1635
2745
  };
1636
2746
  multiagent: null | {
@@ -1644,6 +2754,27 @@ export declare function createAgent(transport: Transport): {
1644
2754
  type: "url";
1645
2755
  name: string;
1646
2756
  url: string;
2757
+ headers?: {
2758
+ [key: string]: string;
2759
+ };
2760
+ timeout_ms?: number;
2761
+ } | {
2762
+ type: "sse";
2763
+ name: string;
2764
+ url: string;
2765
+ headers?: {
2766
+ [key: string]: string;
2767
+ };
2768
+ timeout_ms?: number;
2769
+ } | {
2770
+ type: "stdio";
2771
+ name: string;
2772
+ command: string;
2773
+ args?: Array<string>;
2774
+ env?: {
2775
+ [key: string]: string;
2776
+ };
2777
+ timeout_ms?: number;
1647
2778
  }>;
1648
2779
  model: {
1649
2780
  id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
@@ -2072,18 +3203,20 @@ export declare function createAgent(transport: Transport): {
2072
3203
  model?: {
2073
3204
  id: string;
2074
3205
  thinking: {
2075
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3206
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2076
3207
  can_disable: boolean;
2077
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3208
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2078
3209
  } | null;
2079
3210
  };
2080
3211
  thinking?: {
2081
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3212
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2082
3213
  } | null;
2083
3214
  forked_from?: {
2084
3215
  session_id: string;
2085
3216
  message_id: string;
2086
3217
  } | null;
3218
+ readonly external_user_id: string | null;
3219
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2087
3220
  }>;
2088
3221
  list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
2089
3222
  data: Array<{
@@ -2098,7 +3231,7 @@ export declare function createAgent(transport: Transport): {
2098
3231
  inference_geo?: string;
2099
3232
  speed?: "standard" | "fast";
2100
3233
  settings?: {
2101
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3234
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2102
3235
  };
2103
3236
  };
2104
3237
  multiagent: null | Types.AgentManaged171;
@@ -2129,18 +3262,20 @@ export declare function createAgent(transport: Transport): {
2129
3262
  model?: {
2130
3263
  id: string;
2131
3264
  thinking: {
2132
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3265
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2133
3266
  can_disable: boolean;
2134
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3267
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2135
3268
  } | null;
2136
3269
  };
2137
3270
  thinking?: {
2138
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3271
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2139
3272
  } | null;
2140
3273
  forked_from?: {
2141
3274
  session_id: string;
2142
3275
  message_id: string;
2143
3276
  } | null;
3277
+ readonly external_user_id: string | null;
3278
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2144
3279
  }>;
2145
3280
  next_page: string | null;
2146
3281
  }>;
@@ -2173,7 +3308,7 @@ export declare function createAgent(transport: Transport): {
2173
3308
  inference_geo?: string;
2174
3309
  speed?: "standard" | "fast";
2175
3310
  settings?: {
2176
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3311
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2177
3312
  };
2178
3313
  };
2179
3314
  multiagent: null | Types.AgentManaged171;
@@ -2204,18 +3339,20 @@ export declare function createAgent(transport: Transport): {
2204
3339
  model?: {
2205
3340
  id: string;
2206
3341
  thinking: {
2207
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3342
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2208
3343
  can_disable: boolean;
2209
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3344
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2210
3345
  } | null;
2211
3346
  };
2212
3347
  thinking?: {
2213
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3348
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2214
3349
  } | null;
2215
3350
  forked_from?: {
2216
3351
  session_id: string;
2217
3352
  message_id: string;
2218
3353
  } | null;
3354
+ readonly external_user_id: string | null;
3355
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2219
3356
  }>;
2220
3357
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
2221
3358
  type: "session_compaction";
@@ -2230,9 +3367,9 @@ export declare function createAgent(transport: Transport): {
2230
3367
  id: string;
2231
3368
  display_name: string;
2232
3369
  thinking: {
2233
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3370
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2234
3371
  can_disable: boolean;
2235
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3372
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2236
3373
  } | null;
2237
3374
  };
2238
3375
  total_tokens: number | null;
@@ -2311,6 +3448,12 @@ export declare function createAgent(transport: Transport): {
2311
3448
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2312
3449
  type: "user.message";
2313
3450
  processed_at?: null | string;
3451
+ praxis_context?: {
3452
+ items: Array<{
3453
+ name: string;
3454
+ value: string;
3455
+ }>;
3456
+ };
2314
3457
  message_id?: string;
2315
3458
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
2316
3459
  id: string;
@@ -2360,6 +3503,10 @@ export declare function createAgent(transport: Transport): {
2360
3503
  };
2361
3504
  };
2362
3505
  source?: "app" | "codemode";
3506
+ title?: string;
3507
+ input_titles?: {
3508
+ [key: string]: string;
3509
+ };
2363
3510
  } | {
2364
3511
  id: string;
2365
3512
  mcp_tool_use_id: string;
@@ -2499,7 +3646,7 @@ export declare function createAgent(transport: Transport): {
2499
3646
  inference_geo?: string;
2500
3647
  speed?: "standard" | "fast";
2501
3648
  settings?: {
2502
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3649
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2503
3650
  };
2504
3651
  };
2505
3652
  multiagent: null | Types.AgentManaged171;
@@ -2530,19 +3677,40 @@ export declare function createAgent(transport: Transport): {
2530
3677
  model?: {
2531
3678
  id: string;
2532
3679
  thinking: {
2533
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3680
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2534
3681
  can_disable: boolean;
2535
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3682
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2536
3683
  } | null;
2537
3684
  };
2538
3685
  thinking?: {
2539
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3686
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2540
3687
  } | null;
2541
3688
  forked_from?: {
2542
3689
  session_id: string;
2543
3690
  message_id: string;
2544
3691
  } | null;
3692
+ readonly external_user_id: string | null;
3693
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3694
+ }>;
3695
+ };
3696
+ skills: {
3697
+ create: (options: import("./core/transport.js").CallOptions<Types.SkillsCreateData>) => Promise<Types.AgentManaged308>;
3698
+ delete: (options: import("./core/transport.js").CallOptions<Types.SkillsDeleteData>) => Promise<Types.AgentManaged310>;
3699
+ list: (options?: import("./core/transport.js").CallOptions<Types.SkillsListData> | undefined) => Promise<{
3700
+ data: Array<Types.AgentManaged308>;
3701
+ next_page: string | null;
2545
3702
  }>;
3703
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsRetrieveData>) => Promise<Types.AgentManaged308>;
3704
+ versions: {
3705
+ create: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsCreateData>) => Promise<Types.AgentManaged311>;
3706
+ delete: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDeleteData>) => Promise<Types.AgentManaged312>;
3707
+ list: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsListData>) => Promise<{
3708
+ data: Array<Types.AgentManaged311>;
3709
+ next_page: string | null;
3710
+ }>;
3711
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsRetrieveData>) => Promise<Types.AgentManaged311>;
3712
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDownloadData>) => Promise<Blob | File>;
3713
+ };
2546
3714
  };
2547
3715
  toolsets: {
2548
3716
  list: (options?: import("./core/transport.js").CallOptions<Types.ListToolsetsData> | undefined) => Promise<{
@@ -2616,6 +3784,11 @@ export declare function createApplication(transport: Transport): {
2616
3784
  };
2617
3785
  update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
2618
3786
  versions: {
3787
+ assets: {
3788
+ retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
3789
+ manifest: Types.ApplicationAssetManifest;
3790
+ }>;
3791
+ };
2619
3792
  create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
2620
3793
  list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
2621
3794
  retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
@@ -2869,6 +4042,14 @@ export declare function createFile(transport: Transport): {
2869
4042
  retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
2870
4043
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
2871
4044
  };
4045
+ uploads: {
4046
+ cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4047
+ complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4048
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4049
+ parts: {
4050
+ create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4051
+ };
4052
+ };
2872
4053
  };
2873
4054
  export declare function createKnowledge(transport: Transport): {
2874
4055
  vectorStores: {
@@ -3571,9 +4752,142 @@ export declare function createOrganization(transport: Transport): {
3571
4752
  }>;
3572
4753
  };
3573
4754
  feedback: {
4755
+ counts: {
4756
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackCountsData> | undefined) => Promise<{
4757
+ object: "feedback.counts";
4758
+ open: number;
4759
+ awaiting_customer: number;
4760
+ in_progress: number;
4761
+ resolved: number;
4762
+ closed: number;
4763
+ total: number;
4764
+ }>;
4765
+ };
3574
4766
  create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
3575
4767
  id: string;
3576
4768
  }>;
4769
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackData> | undefined) => Promise<{
4770
+ object: "page";
4771
+ data: Array<{
4772
+ object: "feedback";
4773
+ id: string;
4774
+ title?: string | null;
4775
+ type?: string | null;
4776
+ message: string;
4777
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4778
+ status: "unresolved" | "resolved" | "ignored";
4779
+ source: "console" | "api" | "codemode";
4780
+ url?: string | null;
4781
+ first_response_due_time?: string | null;
4782
+ first_response_time?: string | null;
4783
+ last_message_time: string;
4784
+ unread: boolean;
4785
+ create_time: string;
4786
+ update_time: string;
4787
+ reporter?: {
4788
+ type?: "user" | "api_key" | "agent_session";
4789
+ };
4790
+ last_message_preview?: {
4791
+ author_kind?: "customer" | "staff" | "system";
4792
+ body?: string;
4793
+ create_time?: string;
4794
+ } | null;
4795
+ attachments: Array<{
4796
+ id?: string;
4797
+ name?: string;
4798
+ content_type?: string;
4799
+ size?: number;
4800
+ create_time?: string;
4801
+ }>;
4802
+ }>;
4803
+ has_more: boolean;
4804
+ next_page: string | null;
4805
+ }>;
4806
+ messages: {
4807
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackMessageData>) => Promise<{
4808
+ object: "feedback.message";
4809
+ id: string;
4810
+ feedback_id: string;
4811
+ author: {
4812
+ kind?: "customer" | "staff" | "system";
4813
+ name?: string;
4814
+ };
4815
+ body: string;
4816
+ event?: {
4817
+ type?: "phase_changed" | "assigned";
4818
+ from?: string | null;
4819
+ to?: string | null;
4820
+ } | null;
4821
+ attachments: Array<{
4822
+ id?: string;
4823
+ name?: string;
4824
+ content_type?: string;
4825
+ size?: number;
4826
+ create_time?: string;
4827
+ }>;
4828
+ create_time: string;
4829
+ }>;
4830
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackMessagesData>) => Promise<{
4831
+ object: "page";
4832
+ data: Array<{
4833
+ object: "feedback.message";
4834
+ id: string;
4835
+ feedback_id: string;
4836
+ author: {
4837
+ kind?: "customer" | "staff" | "system";
4838
+ name?: string;
4839
+ };
4840
+ body: string;
4841
+ event?: {
4842
+ type?: "phase_changed" | "assigned";
4843
+ from?: string | null;
4844
+ to?: string | null;
4845
+ } | null;
4846
+ attachments: Array<{
4847
+ id?: string;
4848
+ name?: string;
4849
+ content_type?: string;
4850
+ size?: number;
4851
+ create_time?: string;
4852
+ }>;
4853
+ create_time: string;
4854
+ }>;
4855
+ has_more: boolean;
4856
+ next_page: string | null;
4857
+ }>;
4858
+ };
4859
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackData>) => Promise<{
4860
+ object: "feedback";
4861
+ id: string;
4862
+ title?: string | null;
4863
+ type?: string | null;
4864
+ message: string;
4865
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4866
+ status: "unresolved" | "resolved" | "ignored";
4867
+ source: "console" | "api" | "codemode";
4868
+ url?: string | null;
4869
+ first_response_due_time?: string | null;
4870
+ first_response_time?: string | null;
4871
+ last_message_time: string;
4872
+ unread: boolean;
4873
+ create_time: string;
4874
+ update_time: string;
4875
+ reporter?: {
4876
+ type?: "user" | "api_key" | "agent_session";
4877
+ };
4878
+ last_message_preview?: {
4879
+ author_kind?: "customer" | "staff" | "system";
4880
+ body?: string;
4881
+ create_time?: string;
4882
+ } | null;
4883
+ attachments: Array<{
4884
+ id?: string;
4885
+ name?: string;
4886
+ content_type?: string;
4887
+ size?: number;
4888
+ create_time?: string;
4889
+ }>;
4890
+ }>;
3577
4891
  };
3578
4892
  usage: {
3579
4893
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -3779,6 +5093,120 @@ export declare function createSearch(transport: Transport): {
3779
5093
  }>;
3780
5094
  };
3781
5095
  };
5096
+ export declare function createTicket(transport: Transport): {
5097
+ activity: {
5098
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
5099
+ activity: Array<Types.TicketActivity>;
5100
+ next_page_token: string;
5101
+ }>;
5102
+ };
5103
+ comments: {
5104
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
5105
+ reactions: {
5106
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
5107
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
5108
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
5109
+ reactions: Array<Types.TicketReaction>;
5110
+ next_page_token: string;
5111
+ }>;
5112
+ };
5113
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
5114
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
5115
+ };
5116
+ labels: {
5117
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
5118
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
5119
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
5120
+ labels: Array<Types.TicketLabel>;
5121
+ next_page_token: string;
5122
+ }>;
5123
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
5124
+ };
5125
+ milestones: {
5126
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
5127
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
5128
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
5129
+ milestones: Array<Types.TicketMilestone>;
5130
+ next_page_token: string;
5131
+ }>;
5132
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
5133
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
5134
+ };
5135
+ repositories: {
5136
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
5137
+ repositories: Array<Types.TicketRepository>;
5138
+ next_page_token: string;
5139
+ }>;
5140
+ };
5141
+ tickets: {
5142
+ comments: {
5143
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
5144
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
5145
+ comments: Array<Types.TicketComment>;
5146
+ next_page_token: string;
5147
+ }>;
5148
+ };
5149
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
5150
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
5151
+ dependencies: {
5152
+ blockedBy: {
5153
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
5154
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
5155
+ };
5156
+ retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
5157
+ tickets: Array<Types.TicketRecord>;
5158
+ next_page_token: string;
5159
+ }>;
5160
+ retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
5161
+ tickets: Array<Types.TicketRecord>;
5162
+ next_page_token: string;
5163
+ }>;
5164
+ };
5165
+ events: {
5166
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
5167
+ events: Array<Types.TicketEvent>;
5168
+ next_page_token: string;
5169
+ }>;
5170
+ };
5171
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
5172
+ tickets: Array<Types.TicketRecord>;
5173
+ next_page_token: string;
5174
+ total_size?: number;
5175
+ }>;
5176
+ reactions: {
5177
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
5178
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
5179
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
5180
+ reactions: Array<Types.TicketReaction>;
5181
+ next_page_token: string;
5182
+ }>;
5183
+ };
5184
+ relations: {
5185
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
5186
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
5187
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
5188
+ tickets: Array<Types.TicketRecord>;
5189
+ next_page_token: string;
5190
+ }>;
5191
+ };
5192
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
5193
+ subTickets: {
5194
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
5195
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
5196
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
5197
+ tickets: Array<Types.TicketRecord>;
5198
+ next_page_token: string;
5199
+ }>;
5200
+ };
5201
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
5202
+ updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
5203
+ };
5204
+ types: {
5205
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
5206
+ types: Array<Types.TicketType>;
5207
+ }>;
5208
+ };
5209
+ };
3782
5210
  export declare function createVault(transport: Transport): {
3783
5211
  authorizations: {
3784
5212
  create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
@@ -3848,5 +5276,6 @@ export declare const resourceFactories: {
3848
5276
  organization: typeof createOrganization;
3849
5277
  sandbox: typeof createSandbox;
3850
5278
  search: typeof createSearch;
5279
+ ticket: typeof createTicket;
3851
5280
  vault: typeof createVault;
3852
5281
  };