@deepraxis/sdk 0.1.0-dev.f119641 → 0.1.0-dev.f8a7b74

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,24 @@ export declare function createAgent(transport: Transport): {
27
27
  type: "agent";
28
28
  updated_at: string;
29
29
  version: number;
30
+ databases: Array<{
31
+ id: string;
32
+ access: "read_only" | "read_write";
33
+ instructions?: string;
34
+ enabled?: boolean;
35
+ }>;
36
+ vector_stores: Array<{
37
+ id: string;
38
+ access: "read_only" | "read_write";
39
+ instructions?: string;
40
+ enabled?: boolean;
41
+ }>;
42
+ files: Array<{
43
+ id: string;
44
+ access: "read_only";
45
+ instructions?: string;
46
+ enabled?: boolean;
47
+ }>;
30
48
  kind: "personal" | "service";
31
49
  computer_id?: string;
32
50
  subagent_model?: string | null;
@@ -132,6 +150,7 @@ export declare function createAgent(transport: Transport): {
132
150
  models?: {
133
151
  allowed: Array<string>;
134
152
  };
153
+ status: "active" | "archived";
135
154
  }>;
136
155
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
137
156
  id: string;
@@ -146,7 +165,7 @@ export declare function createAgent(transport: Transport): {
146
165
  inference_geo?: string;
147
166
  speed?: "standard" | "fast";
148
167
  settings?: {
149
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
168
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
150
169
  };
151
170
  };
152
171
  multiagent: null | Types.AgentManaged39;
@@ -157,6 +176,24 @@ export declare function createAgent(transport: Transport): {
157
176
  type: "agent";
158
177
  updated_at: string;
159
178
  version: number;
179
+ databases: Array<{
180
+ id: string;
181
+ access: "read_only" | "read_write";
182
+ instructions?: string;
183
+ enabled?: boolean;
184
+ }>;
185
+ vector_stores: Array<{
186
+ id: string;
187
+ access: "read_only" | "read_write";
188
+ instructions?: string;
189
+ enabled?: boolean;
190
+ }>;
191
+ files: Array<{
192
+ id: string;
193
+ access: "read_only";
194
+ instructions?: string;
195
+ enabled?: boolean;
196
+ }>;
160
197
  kind: "personal" | "service";
161
198
  computer_id?: string;
162
199
  subagent_model?: string | null;
@@ -262,7 +299,80 @@ export declare function createAgent(transport: Transport): {
262
299
  models?: {
263
300
  allowed: Array<string>;
264
301
  };
302
+ status: "active" | "archived";
265
303
  }>;
304
+ endUsers: {
305
+ block: {
306
+ create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
307
+ external_user_id: string;
308
+ first_seen_at: string | null;
309
+ last_active_at: string | null;
310
+ session_count: number;
311
+ cost_micro_usd: number;
312
+ blocked: boolean;
313
+ }>;
314
+ };
315
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
316
+ id: string;
317
+ status: "pending";
318
+ }>;
319
+ list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
320
+ data: Array<{
321
+ external_user_id: string;
322
+ first_seen_at: string | null;
323
+ last_active_at: string | null;
324
+ session_count: number;
325
+ cost_micro_usd: number;
326
+ blocked: boolean;
327
+ }>;
328
+ next_page: string | null;
329
+ }>;
330
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
331
+ external_user_id: string;
332
+ first_seen_at: string | null;
333
+ last_active_at: string | null;
334
+ session_count: number;
335
+ cost_micro_usd: number;
336
+ blocked: boolean;
337
+ recent_sessions: Array<{
338
+ id: string;
339
+ title: string | null;
340
+ source: string | null;
341
+ created_at: string;
342
+ updated_at: string;
343
+ }>;
344
+ }>;
345
+ retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
346
+ id: string;
347
+ status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
348
+ counts: {
349
+ sessions?: number;
350
+ events?: number;
351
+ messages?: number;
352
+ d1_rows?: number;
353
+ attachments?: number;
354
+ };
355
+ snapshot_key?: string;
356
+ error?: string;
357
+ created_at: string;
358
+ updated_at: string;
359
+ }>;
360
+ revokeTokens: {
361
+ create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
362
+ revoked: number;
363
+ }>;
364
+ };
365
+ unblock: {
366
+ create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
367
+ external_user_id: string;
368
+ first_seen_at: string | null;
369
+ last_active_at: string | null;
370
+ session_count: number;
371
+ cost_micro_usd: number;
372
+ blocked: boolean;
373
+ }>;
374
+ };
375
+ };
266
376
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
267
377
  data: Array<{
268
378
  id: string;
@@ -277,7 +387,7 @@ export declare function createAgent(transport: Transport): {
277
387
  inference_geo?: string;
278
388
  speed?: "standard" | "fast";
279
389
  settings?: {
280
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
390
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
281
391
  };
282
392
  };
283
393
  multiagent: null | Types.AgentManaged39;
@@ -288,6 +398,24 @@ export declare function createAgent(transport: Transport): {
288
398
  type: "agent";
289
399
  updated_at: string;
290
400
  version: number;
401
+ databases: Array<{
402
+ id: string;
403
+ access: "read_only" | "read_write";
404
+ instructions?: string;
405
+ enabled?: boolean;
406
+ }>;
407
+ vector_stores: Array<{
408
+ id: string;
409
+ access: "read_only" | "read_write";
410
+ instructions?: string;
411
+ enabled?: boolean;
412
+ }>;
413
+ files: Array<{
414
+ id: string;
415
+ access: "read_only";
416
+ instructions?: string;
417
+ enabled?: boolean;
418
+ }>;
291
419
  kind: "personal" | "service";
292
420
  computer_id?: string;
293
421
  subagent_model?: string | null;
@@ -393,6 +521,7 @@ export declare function createAgent(transport: Transport): {
393
521
  models?: {
394
522
  allowed: Array<string>;
395
523
  };
524
+ status: "active" | "archived";
396
525
  }>;
397
526
  next_page: string | null;
398
527
  }>;
@@ -409,7 +538,7 @@ export declare function createAgent(transport: Transport): {
409
538
  inference_geo?: string;
410
539
  speed?: "standard" | "fast";
411
540
  settings?: {
412
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
541
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
413
542
  };
414
543
  };
415
544
  multiagent: null | Types.AgentManaged39;
@@ -420,6 +549,24 @@ export declare function createAgent(transport: Transport): {
420
549
  type: "agent";
421
550
  updated_at: string;
422
551
  version: number;
552
+ databases: Array<{
553
+ id: string;
554
+ access: "read_only" | "read_write";
555
+ instructions?: string;
556
+ enabled?: boolean;
557
+ }>;
558
+ vector_stores: Array<{
559
+ id: string;
560
+ access: "read_only" | "read_write";
561
+ instructions?: string;
562
+ enabled?: boolean;
563
+ }>;
564
+ files: Array<{
565
+ id: string;
566
+ access: "read_only";
567
+ instructions?: string;
568
+ enabled?: boolean;
569
+ }>;
423
570
  kind: "personal" | "service";
424
571
  computer_id?: string;
425
572
  subagent_model?: string | null;
@@ -468,64 +615,418 @@ export declare function createAgent(transport: Transport): {
468
615
  async?: boolean;
469
616
  enabled?: boolean;
470
617
  }>;
471
- }>;
472
- PermissionRequest?: Array<{
473
- matcher?: string;
474
- hooks: Array<{
475
- type: "command";
476
- command: string;
477
- timeout?: number;
478
- async?: boolean;
479
- enabled?: boolean;
618
+ }>;
619
+ PermissionRequest?: Array<{
620
+ matcher?: string;
621
+ hooks: Array<{
622
+ type: "command";
623
+ command: string;
624
+ timeout?: number;
625
+ async?: boolean;
626
+ enabled?: boolean;
627
+ }>;
628
+ }>;
629
+ PostToolUse?: Array<{
630
+ matcher?: string;
631
+ hooks: Array<{
632
+ type: "command";
633
+ command: string;
634
+ timeout?: number;
635
+ async?: boolean;
636
+ enabled?: boolean;
637
+ }>;
638
+ }>;
639
+ PostToolUseFailure?: Array<{
640
+ matcher?: string;
641
+ hooks: Array<{
642
+ type: "command";
643
+ command: string;
644
+ timeout?: number;
645
+ async?: boolean;
646
+ enabled?: boolean;
647
+ }>;
648
+ }>;
649
+ Stop?: Array<{
650
+ matcher?: string;
651
+ hooks: Array<{
652
+ type: "command";
653
+ command: string;
654
+ timeout?: number;
655
+ async?: boolean;
656
+ enabled?: boolean;
657
+ }>;
658
+ }>;
659
+ };
660
+ allowManagedHooksOnly?: boolean;
661
+ allowManagedMcpServersOnly?: boolean;
662
+ allowManagedPermissionRulesOnly?: boolean;
663
+ autoMemoryEnabled?: boolean;
664
+ disabled?: {
665
+ subagents?: Array<string>;
666
+ commands?: Array<string>;
667
+ skills?: Array<string>;
668
+ mcpServers?: Array<string>;
669
+ hooks?: Array<string>;
670
+ };
671
+ } | null;
672
+ models?: {
673
+ allowed: Array<string>;
674
+ };
675
+ status: "active" | "archived";
676
+ }>;
677
+ unarchive: {
678
+ create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
679
+ id: string;
680
+ archived_at: null | string;
681
+ created_at: string;
682
+ description: null | string;
683
+ mcp_servers: Array<{
684
+ type: "url";
685
+ name: string;
686
+ url: string;
687
+ headers?: {
688
+ [key: string]: string;
689
+ };
690
+ timeout_ms?: number;
691
+ } | {
692
+ type: "sse";
693
+ name: string;
694
+ url: string;
695
+ headers?: {
696
+ [key: string]: string;
697
+ };
698
+ timeout_ms?: number;
699
+ } | {
700
+ type: "stdio";
701
+ name: string;
702
+ command: string;
703
+ args?: Array<string>;
704
+ env?: {
705
+ [key: string]: string;
706
+ };
707
+ timeout_ms?: number;
708
+ }>;
709
+ metadata: {
710
+ [key: string]: string;
711
+ };
712
+ model: {
713
+ 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;
714
+ effort?: {
715
+ type: "low";
716
+ } | {
717
+ type: "medium";
718
+ } | {
719
+ type: "high";
720
+ } | {
721
+ type: "xhigh";
722
+ } | {
723
+ type: "max";
724
+ };
725
+ inference_geo?: string;
726
+ speed?: "standard" | "fast";
727
+ settings?: {
728
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
729
+ };
730
+ };
731
+ multiagent: null | {
732
+ agents: Array<{
733
+ id: string;
734
+ type: "agent";
735
+ version: number;
736
+ } | {
737
+ model: string;
738
+ type: "advisor";
739
+ }>;
740
+ type: "coordinator";
741
+ };
742
+ name: string;
743
+ skills: Array<{
744
+ skill_id: string;
745
+ type: "anthropic";
746
+ version: string;
747
+ } | {
748
+ skill_id: string;
749
+ type: "custom";
750
+ version: string;
751
+ }>;
752
+ system: null | string;
753
+ tools: Array<{
754
+ configs: Array<{
755
+ enabled: boolean;
756
+ name: "bash";
757
+ permission_policy: {
758
+ type: "always_allow";
759
+ } | {
760
+ type: "always_ask";
761
+ } | {
762
+ type: "auto";
763
+ };
764
+ type: "bash";
765
+ } | {
766
+ enabled: boolean;
767
+ name: "edit";
768
+ permission_policy: {
769
+ type: "always_allow";
770
+ } | {
771
+ type: "always_ask";
772
+ } | {
773
+ type: "auto";
774
+ };
775
+ type: "edit";
776
+ } | {
777
+ enabled: boolean;
778
+ name: "read";
779
+ permission_policy: {
780
+ type: "always_allow";
781
+ } | {
782
+ type: "always_ask";
783
+ } | {
784
+ type: "auto";
785
+ };
786
+ type: "read";
787
+ } | {
788
+ enabled: boolean;
789
+ name: "write";
790
+ permission_policy: {
791
+ type: "always_allow";
792
+ } | {
793
+ type: "always_ask";
794
+ } | {
795
+ type: "auto";
796
+ };
797
+ type: "write";
798
+ } | {
799
+ enabled: boolean;
800
+ name: "glob";
801
+ permission_policy: {
802
+ type: "always_allow";
803
+ } | {
804
+ type: "always_ask";
805
+ } | {
806
+ type: "auto";
807
+ };
808
+ type: "glob";
809
+ } | {
810
+ enabled: boolean;
811
+ name: "grep";
812
+ permission_policy: {
813
+ type: "always_allow";
814
+ } | {
815
+ type: "always_ask";
816
+ } | {
817
+ type: "auto";
818
+ };
819
+ type: "grep";
820
+ } | {
821
+ enabled: boolean;
822
+ name: "web_fetch";
823
+ permission_policy: {
824
+ type: "always_allow";
825
+ } | {
826
+ type: "always_ask";
827
+ } | {
828
+ type: "auto";
829
+ };
830
+ type: "web_fetch";
831
+ allowed_domains?: Array<string>;
832
+ blocked_domains?: Array<string>;
833
+ max_content_tokens?: null | number;
834
+ } | {
835
+ enabled: boolean;
836
+ name: "web_search";
837
+ permission_policy: {
838
+ type: "always_allow";
839
+ } | {
840
+ type: "always_ask";
841
+ } | {
842
+ type: "auto";
843
+ };
844
+ type: "web_search";
845
+ allowed_domains?: Array<string>;
846
+ blocked_domains?: Array<string>;
847
+ user_location?: null | {
848
+ type: "approximate";
849
+ city?: null | string;
850
+ country?: null | string;
851
+ region?: null | string;
852
+ timezone?: null | string;
853
+ };
854
+ } | {
855
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
856
+ enabled: boolean;
857
+ permission_policy: {
858
+ type: "always_allow" | "always_ask";
859
+ };
860
+ }>;
861
+ default_config: {
862
+ enabled: boolean;
863
+ permission_policy: {
864
+ type: "always_allow";
865
+ } | {
866
+ type: "always_ask";
867
+ } | {
868
+ type: "auto";
869
+ };
870
+ };
871
+ type: "agent_toolset_20260401";
872
+ } | {
873
+ type: "mcp_toolset";
874
+ mcp_server_name: string;
875
+ default_config?: {
876
+ enabled?: boolean | null;
877
+ permission_policy?: null | {
878
+ type: "always_allow" | "always_ask";
879
+ };
880
+ } | null;
881
+ configs?: Array<{
882
+ name: string;
883
+ enabled?: boolean | null;
884
+ permission_policy?: null | {
885
+ type: "always_allow" | "always_ask";
886
+ };
887
+ }> | null;
888
+ } | {
889
+ description: string;
890
+ input_schema: {
891
+ type: "object";
892
+ properties?: null | {
893
+ [key: string]: unknown;
894
+ };
895
+ required?: null | Array<string>;
896
+ [key: string]: unknown;
897
+ };
898
+ name: string;
899
+ type: "custom";
900
+ }>;
901
+ type: "agent";
902
+ updated_at: string;
903
+ version: number;
904
+ databases: Array<{
905
+ id: string;
906
+ access: "read_only" | "read_write";
907
+ instructions?: string;
908
+ enabled?: boolean;
909
+ }>;
910
+ vector_stores: Array<{
911
+ id: string;
912
+ access: "read_only" | "read_write";
913
+ instructions?: string;
914
+ enabled?: boolean;
915
+ }>;
916
+ files: Array<{
917
+ id: string;
918
+ access: "read_only";
919
+ instructions?: string;
920
+ enabled?: boolean;
921
+ }>;
922
+ kind: "personal" | "service";
923
+ computer_id?: string;
924
+ subagent_model?: string | null;
925
+ subagents?: Array<{
926
+ name: string;
927
+ description: string;
928
+ prompt: string;
929
+ tools?: Array<string>;
930
+ disallowed_tools?: Array<string>;
931
+ model?: string;
932
+ }> | null;
933
+ commands?: Array<{
934
+ name: string;
935
+ description?: string;
936
+ argument_hint?: string;
937
+ prompt: string;
938
+ }> | null;
939
+ settings?: {
940
+ hooks?: {
941
+ SessionStart?: Array<{
942
+ matcher?: string;
943
+ hooks: Array<{
944
+ type: "command";
945
+ command: string;
946
+ timeout?: number;
947
+ async?: boolean;
948
+ enabled?: boolean;
949
+ }>;
950
+ }>;
951
+ UserPromptSubmit?: Array<{
952
+ matcher?: string;
953
+ hooks: Array<{
954
+ type: "command";
955
+ command: string;
956
+ timeout?: number;
957
+ async?: boolean;
958
+ enabled?: boolean;
959
+ }>;
960
+ }>;
961
+ PreToolUse?: Array<{
962
+ matcher?: string;
963
+ hooks: Array<{
964
+ type: "command";
965
+ command: string;
966
+ timeout?: number;
967
+ async?: boolean;
968
+ enabled?: boolean;
969
+ }>;
970
+ }>;
971
+ PermissionRequest?: Array<{
972
+ matcher?: string;
973
+ hooks: Array<{
974
+ type: "command";
975
+ command: string;
976
+ timeout?: number;
977
+ async?: boolean;
978
+ enabled?: boolean;
979
+ }>;
480
980
  }>;
481
- }>;
482
- PostToolUse?: Array<{
483
- matcher?: string;
484
- hooks: Array<{
485
- type: "command";
486
- command: string;
487
- timeout?: number;
488
- async?: boolean;
489
- enabled?: boolean;
981
+ PostToolUse?: Array<{
982
+ matcher?: string;
983
+ hooks: Array<{
984
+ type: "command";
985
+ command: string;
986
+ timeout?: number;
987
+ async?: boolean;
988
+ enabled?: boolean;
989
+ }>;
490
990
  }>;
491
- }>;
492
- PostToolUseFailure?: Array<{
493
- matcher?: string;
494
- hooks: Array<{
495
- type: "command";
496
- command: string;
497
- timeout?: number;
498
- async?: boolean;
499
- enabled?: boolean;
991
+ PostToolUseFailure?: Array<{
992
+ matcher?: string;
993
+ hooks: Array<{
994
+ type: "command";
995
+ command: string;
996
+ timeout?: number;
997
+ async?: boolean;
998
+ enabled?: boolean;
999
+ }>;
500
1000
  }>;
501
- }>;
502
- Stop?: Array<{
503
- matcher?: string;
504
- hooks: Array<{
505
- type: "command";
506
- command: string;
507
- timeout?: number;
508
- async?: boolean;
509
- enabled?: boolean;
1001
+ Stop?: Array<{
1002
+ matcher?: string;
1003
+ hooks: Array<{
1004
+ type: "command";
1005
+ command: string;
1006
+ timeout?: number;
1007
+ async?: boolean;
1008
+ enabled?: boolean;
1009
+ }>;
510
1010
  }>;
511
- }>;
512
- };
513
- allowManagedHooksOnly?: boolean;
514
- allowManagedMcpServersOnly?: boolean;
515
- allowManagedPermissionRulesOnly?: boolean;
516
- autoMemoryEnabled?: boolean;
517
- disabled?: {
518
- subagents?: Array<string>;
519
- commands?: Array<string>;
520
- skills?: Array<string>;
521
- mcpServers?: Array<string>;
522
- hooks?: Array<string>;
1011
+ };
1012
+ allowManagedHooksOnly?: boolean;
1013
+ allowManagedMcpServersOnly?: boolean;
1014
+ allowManagedPermissionRulesOnly?: boolean;
1015
+ autoMemoryEnabled?: boolean;
1016
+ disabled?: {
1017
+ subagents?: Array<string>;
1018
+ commands?: Array<string>;
1019
+ skills?: Array<string>;
1020
+ mcpServers?: Array<string>;
1021
+ hooks?: Array<string>;
1022
+ };
1023
+ } | null;
1024
+ models?: {
1025
+ allowed: Array<string>;
523
1026
  };
524
- } | null;
525
- models?: {
526
- allowed: Array<string>;
527
- };
528
- }>;
1027
+ status: "active" | "archived";
1028
+ }>;
1029
+ };
529
1030
  update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
530
1031
  id: string;
531
1032
  archived_at: null | string;
@@ -539,7 +1040,7 @@ export declare function createAgent(transport: Transport): {
539
1040
  inference_geo?: string;
540
1041
  speed?: "standard" | "fast";
541
1042
  settings?: {
542
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1043
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
543
1044
  };
544
1045
  };
545
1046
  multiagent: null | Types.AgentManaged39;
@@ -550,6 +1051,24 @@ export declare function createAgent(transport: Transport): {
550
1051
  type: "agent";
551
1052
  updated_at: string;
552
1053
  version: number;
1054
+ databases: Array<{
1055
+ id: string;
1056
+ access: "read_only" | "read_write";
1057
+ instructions?: string;
1058
+ enabled?: boolean;
1059
+ }>;
1060
+ vector_stores: Array<{
1061
+ id: string;
1062
+ access: "read_only" | "read_write";
1063
+ instructions?: string;
1064
+ enabled?: boolean;
1065
+ }>;
1066
+ files: Array<{
1067
+ id: string;
1068
+ access: "read_only";
1069
+ instructions?: string;
1070
+ enabled?: boolean;
1071
+ }>;
553
1072
  kind: "personal" | "service";
554
1073
  computer_id?: string;
555
1074
  subagent_model?: string | null;
@@ -655,6 +1174,7 @@ export declare function createAgent(transport: Transport): {
655
1174
  models?: {
656
1175
  allowed: Array<string>;
657
1176
  };
1177
+ status: "active" | "archived";
658
1178
  }>;
659
1179
  versions: {
660
1180
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
@@ -671,7 +1191,7 @@ export declare function createAgent(transport: Transport): {
671
1191
  inference_geo?: string;
672
1192
  speed?: "standard" | "fast";
673
1193
  settings?: {
674
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1194
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
675
1195
  };
676
1196
  };
677
1197
  multiagent: null | Types.AgentManaged39;
@@ -682,6 +1202,24 @@ export declare function createAgent(transport: Transport): {
682
1202
  type: "agent";
683
1203
  updated_at: string;
684
1204
  version: number;
1205
+ databases: Array<{
1206
+ id: string;
1207
+ access: "read_only" | "read_write";
1208
+ instructions?: string;
1209
+ enabled?: boolean;
1210
+ }>;
1211
+ vector_stores: Array<{
1212
+ id: string;
1213
+ access: "read_only" | "read_write";
1214
+ instructions?: string;
1215
+ enabled?: boolean;
1216
+ }>;
1217
+ files: Array<{
1218
+ id: string;
1219
+ access: "read_only";
1220
+ instructions?: string;
1221
+ enabled?: boolean;
1222
+ }>;
685
1223
  kind: "personal" | "service";
686
1224
  computer_id?: string;
687
1225
  subagent_model?: string | null;
@@ -787,6 +1325,7 @@ export declare function createAgent(transport: Transport): {
787
1325
  models?: {
788
1326
  allowed: Array<string>;
789
1327
  };
1328
+ status: "active" | "archived";
790
1329
  }>;
791
1330
  next_page: string | null;
792
1331
  }>;
@@ -798,6 +1337,7 @@ export declare function createAgent(transport: Transport): {
798
1337
  id: string;
799
1338
  name: string;
800
1339
  sandbox_id: string | null;
1340
+ machine_state: "not_started" | "provisioned";
801
1341
  environment_id: string | null;
802
1342
  status: "active" | "archived";
803
1343
  created_at: string;
@@ -820,12 +1360,16 @@ export declare function createAgent(transport: Transport): {
820
1360
  sandbox_id: string;
821
1361
  envd_access_token: string;
822
1362
  template_id: string;
1363
+ tier: "light" | "heavy";
1364
+ lease_id: string | null;
1365
+ lease_expires_at: string | null;
823
1366
  }>;
824
1367
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersCreateData>) => Promise<{
825
1368
  type: "computer";
826
1369
  id: string;
827
1370
  name: string;
828
1371
  sandbox_id: string | null;
1372
+ machine_state: "not_started" | "provisioned";
829
1373
  environment_id: string | null;
830
1374
  status: "active" | "archived";
831
1375
  created_at: string;
@@ -849,15 +1393,29 @@ export declare function createAgent(transport: Transport): {
849
1393
  updated_at: string | null;
850
1394
  }>;
851
1395
  has_more: false;
1396
+ tier: "light" | "heavy";
852
1397
  }>;
853
1398
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
854
1399
  };
1400
+ leases: {
1401
+ delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
1402
+ id: string;
1403
+ type: "computer_lease_released";
1404
+ }>;
1405
+ renew: {
1406
+ create: (options: import("./core/transport.js").CallOptions<Types.RenewComputerLeaseData>) => Promise<{
1407
+ lease_id: string;
1408
+ lease_expires_at: string;
1409
+ }>;
1410
+ };
1411
+ };
855
1412
  list: (options?: import("./core/transport.js").CallOptions<Types.ComputersListData> | undefined) => Promise<{
856
1413
  data: Array<{
857
1414
  type: "computer";
858
1415
  id: string;
859
1416
  name: string;
860
1417
  sandbox_id: string | null;
1418
+ machine_state: "not_started" | "provisioned";
861
1419
  environment_id: string | null;
862
1420
  status: "active" | "archived";
863
1421
  created_at: string;
@@ -872,6 +1430,7 @@ export declare function createAgent(transport: Transport): {
872
1430
  id: string;
873
1431
  name: string;
874
1432
  sandbox_id: string | null;
1433
+ machine_state: "not_started" | "provisioned";
875
1434
  environment_id: string | null;
876
1435
  status: "active" | "archived";
877
1436
  created_at: string;
@@ -880,12 +1439,14 @@ export declare function createAgent(transport: Transport): {
880
1439
  implementation: "virtual" | "sandbox";
881
1440
  storage_bytes: number;
882
1441
  file_count: number;
1442
+ stats_complete: boolean;
883
1443
  }>;
884
1444
  update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
885
1445
  type: "computer";
886
1446
  id: string;
887
1447
  name: string;
888
1448
  sandbox_id: string | null;
1449
+ machine_state: "not_started" | "provisioned";
889
1450
  environment_id: string | null;
890
1451
  status: "active" | "archived";
891
1452
  created_at: string;
@@ -1169,8 +1730,68 @@ export declare function createAgent(transport: Transport): {
1169
1730
  };
1170
1731
  }>;
1171
1732
  };
1733
+ embed: {
1734
+ exchange: {
1735
+ create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
1736
+ token: string;
1737
+ expires_at: string;
1738
+ }>;
1739
+ };
1740
+ retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
1741
+ agent?: {
1742
+ name?: string;
1743
+ avatar?: string;
1744
+ };
1745
+ layout?: "inline" | "sidebar" | "popup" | "modal";
1746
+ launcher?: {
1747
+ type: "none" | "bubble" | "mascot";
1748
+ image?: string;
1749
+ position?: "bottom-right" | "bottom-left";
1750
+ label?: string;
1751
+ };
1752
+ header?: {
1753
+ title?: string;
1754
+ subtitle?: string;
1755
+ icon?: string;
1756
+ };
1757
+ theme?: {
1758
+ colorScheme?: "light" | "dark" | "system";
1759
+ accent?: string;
1760
+ surface?: string;
1761
+ grayscale?: "neutral" | "warm" | "cool";
1762
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1763
+ density?: "compact" | "normal" | "spacious";
1764
+ fontFamily?: string;
1765
+ fontSize?: number;
1766
+ };
1767
+ locale?: "zh" | "en";
1768
+ startScreen?: {
1769
+ greeting?: string;
1770
+ prompts?: Array<{
1771
+ label: string;
1772
+ prompt: string;
1773
+ }>;
1774
+ };
1775
+ composer?: {
1776
+ placeholder?: string;
1777
+ };
1778
+ disclaimer?: string;
1779
+ footer?: string;
1780
+ history?: {
1781
+ enabled?: boolean;
1782
+ };
1783
+ }>;
1784
+ };
1172
1785
  embedTokens: {
1786
+ anonymous: {
1787
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
1788
+ token: string;
1789
+ expires_at: string;
1790
+ visitor_secret?: string;
1791
+ }>;
1792
+ };
1173
1793
  create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
1794
+ hosted_url?: string;
1174
1795
  id: string;
1175
1796
  token: string;
1176
1797
  expires_at: string;
@@ -1234,7 +1855,7 @@ export declare function createAgent(transport: Transport): {
1234
1855
  inference_geo?: string;
1235
1856
  speed?: "standard" | "fast";
1236
1857
  settings?: {
1237
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1858
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1238
1859
  };
1239
1860
  };
1240
1861
  multiagent: null | Types.AgentManaged171;
@@ -1265,18 +1886,20 @@ export declare function createAgent(transport: Transport): {
1265
1886
  model?: {
1266
1887
  id: string;
1267
1888
  thinking: {
1268
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
1889
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1269
1890
  can_disable: boolean;
1270
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
1891
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1271
1892
  } | null;
1272
1893
  };
1273
1894
  thinking?: {
1274
- effort: "low" | "medium" | "high" | "xhigh" | "none";
1895
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1275
1896
  } | null;
1276
1897
  forked_from?: {
1277
1898
  session_id: string;
1278
1899
  message_id: string;
1279
1900
  } | null;
1901
+ readonly external_user_id: string | null;
1902
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1280
1903
  }>;
1281
1904
  backgroundTasks: {
1282
1905
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
@@ -1353,7 +1976,7 @@ export declare function createAgent(transport: Transport): {
1353
1976
  inference_geo?: string;
1354
1977
  speed?: "standard" | "fast";
1355
1978
  settings?: {
1356
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1979
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1357
1980
  };
1358
1981
  };
1359
1982
  multiagent: null | Types.AgentManaged171;
@@ -1384,19 +2007,22 @@ export declare function createAgent(transport: Transport): {
1384
2007
  model?: {
1385
2008
  id: string;
1386
2009
  thinking: {
1387
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2010
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1388
2011
  can_disable: boolean;
1389
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2012
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1390
2013
  } | null;
1391
2014
  };
1392
2015
  thinking?: {
1393
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2016
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1394
2017
  } | null;
1395
2018
  forked_from?: {
1396
2019
  session_id: string;
1397
2020
  message_id: string;
1398
2021
  } | null;
2022
+ readonly external_user_id: string | null;
2023
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1399
2024
  }>;
2025
+ delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
1400
2026
  events: {
1401
2027
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
1402
2028
  data: Array<{
@@ -1404,6 +2030,12 @@ export declare function createAgent(transport: Transport): {
1404
2030
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
1405
2031
  type: "user.message";
1406
2032
  processed_at?: null | string;
2033
+ praxis_context?: {
2034
+ items: Array<{
2035
+ name: string;
2036
+ value: string;
2037
+ }>;
2038
+ };
1407
2039
  message_id?: string;
1408
2040
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
1409
2041
  id: string;
@@ -1453,6 +2085,10 @@ export declare function createAgent(transport: Transport): {
1453
2085
  };
1454
2086
  source?: "app" | "codemode";
1455
2087
  parent_tool_use_id?: string;
2088
+ title?: string;
2089
+ input_titles?: {
2090
+ [key: string]: string;
2091
+ };
1456
2092
  } | {
1457
2093
  id: string;
1458
2094
  mcp_tool_use_id: string;
@@ -1580,7 +2216,18 @@ export declare function createAgent(transport: Transport): {
1580
2216
  next_page: string | null;
1581
2217
  }>;
1582
2218
  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 | {
2219
+ data?: Array<{
2220
+ id: string;
2221
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2222
+ type: "user.message";
2223
+ processed_at?: null | string;
2224
+ praxis_context?: {
2225
+ items: Array<{
2226
+ name: string;
2227
+ value: string;
2228
+ }>;
2229
+ };
2230
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
1584
2231
  id: string;
1585
2232
  type: "user.steer";
1586
2233
  event_id: string;
@@ -1613,6 +2260,27 @@ export declare function createAgent(transport: Transport): {
1613
2260
  type: "url";
1614
2261
  name: string;
1615
2262
  url: string;
2263
+ headers?: {
2264
+ [key: string]: string;
2265
+ };
2266
+ timeout_ms?: number;
2267
+ } | {
2268
+ type: "sse";
2269
+ name: string;
2270
+ url: string;
2271
+ headers?: {
2272
+ [key: string]: string;
2273
+ };
2274
+ timeout_ms?: number;
2275
+ } | {
2276
+ type: "stdio";
2277
+ name: string;
2278
+ command: string;
2279
+ args?: Array<string>;
2280
+ env?: {
2281
+ [key: string]: string;
2282
+ };
2283
+ timeout_ms?: number;
1616
2284
  }>;
1617
2285
  model: {
1618
2286
  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 +2298,7 @@ export declare function createAgent(transport: Transport): {
1630
2298
  inference_geo?: string;
1631
2299
  speed?: "standard" | "fast";
1632
2300
  settings?: {
1633
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2301
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1634
2302
  };
1635
2303
  };
1636
2304
  multiagent: null | {
@@ -1644,6 +2312,27 @@ export declare function createAgent(transport: Transport): {
1644
2312
  type: "url";
1645
2313
  name: string;
1646
2314
  url: string;
2315
+ headers?: {
2316
+ [key: string]: string;
2317
+ };
2318
+ timeout_ms?: number;
2319
+ } | {
2320
+ type: "sse";
2321
+ name: string;
2322
+ url: string;
2323
+ headers?: {
2324
+ [key: string]: string;
2325
+ };
2326
+ timeout_ms?: number;
2327
+ } | {
2328
+ type: "stdio";
2329
+ name: string;
2330
+ command: string;
2331
+ args?: Array<string>;
2332
+ env?: {
2333
+ [key: string]: string;
2334
+ };
2335
+ timeout_ms?: number;
1647
2336
  }>;
1648
2337
  model: {
1649
2338
  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 +2761,20 @@ export declare function createAgent(transport: Transport): {
2072
2761
  model?: {
2073
2762
  id: string;
2074
2763
  thinking: {
2075
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2764
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2076
2765
  can_disable: boolean;
2077
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2766
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2078
2767
  } | null;
2079
2768
  };
2080
2769
  thinking?: {
2081
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2770
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2082
2771
  } | null;
2083
2772
  forked_from?: {
2084
2773
  session_id: string;
2085
2774
  message_id: string;
2086
2775
  } | null;
2776
+ readonly external_user_id: string | null;
2777
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2087
2778
  }>;
2088
2779
  list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
2089
2780
  data: Array<{
@@ -2098,7 +2789,7 @@ export declare function createAgent(transport: Transport): {
2098
2789
  inference_geo?: string;
2099
2790
  speed?: "standard" | "fast";
2100
2791
  settings?: {
2101
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2792
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2102
2793
  };
2103
2794
  };
2104
2795
  multiagent: null | Types.AgentManaged171;
@@ -2129,18 +2820,20 @@ export declare function createAgent(transport: Transport): {
2129
2820
  model?: {
2130
2821
  id: string;
2131
2822
  thinking: {
2132
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2823
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2133
2824
  can_disable: boolean;
2134
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2825
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2135
2826
  } | null;
2136
2827
  };
2137
2828
  thinking?: {
2138
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2829
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2139
2830
  } | null;
2140
2831
  forked_from?: {
2141
2832
  session_id: string;
2142
2833
  message_id: string;
2143
2834
  } | null;
2835
+ readonly external_user_id: string | null;
2836
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2144
2837
  }>;
2145
2838
  next_page: string | null;
2146
2839
  }>;
@@ -2173,7 +2866,7 @@ export declare function createAgent(transport: Transport): {
2173
2866
  inference_geo?: string;
2174
2867
  speed?: "standard" | "fast";
2175
2868
  settings?: {
2176
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2869
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2177
2870
  };
2178
2871
  };
2179
2872
  multiagent: null | Types.AgentManaged171;
@@ -2204,18 +2897,20 @@ export declare function createAgent(transport: Transport): {
2204
2897
  model?: {
2205
2898
  id: string;
2206
2899
  thinking: {
2207
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2900
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2208
2901
  can_disable: boolean;
2209
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2902
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2210
2903
  } | null;
2211
2904
  };
2212
2905
  thinking?: {
2213
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2906
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2214
2907
  } | null;
2215
2908
  forked_from?: {
2216
2909
  session_id: string;
2217
2910
  message_id: string;
2218
2911
  } | null;
2912
+ readonly external_user_id: string | null;
2913
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2219
2914
  }>;
2220
2915
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
2221
2916
  type: "session_compaction";
@@ -2230,9 +2925,9 @@ export declare function createAgent(transport: Transport): {
2230
2925
  id: string;
2231
2926
  display_name: string;
2232
2927
  thinking: {
2233
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2928
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2234
2929
  can_disable: boolean;
2235
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2930
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2236
2931
  } | null;
2237
2932
  };
2238
2933
  total_tokens: number | null;
@@ -2311,6 +3006,12 @@ export declare function createAgent(transport: Transport): {
2311
3006
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2312
3007
  type: "user.message";
2313
3008
  processed_at?: null | string;
3009
+ praxis_context?: {
3010
+ items: Array<{
3011
+ name: string;
3012
+ value: string;
3013
+ }>;
3014
+ };
2314
3015
  message_id?: string;
2315
3016
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
2316
3017
  id: string;
@@ -2360,6 +3061,10 @@ export declare function createAgent(transport: Transport): {
2360
3061
  };
2361
3062
  };
2362
3063
  source?: "app" | "codemode";
3064
+ title?: string;
3065
+ input_titles?: {
3066
+ [key: string]: string;
3067
+ };
2363
3068
  } | {
2364
3069
  id: string;
2365
3070
  mcp_tool_use_id: string;
@@ -2499,7 +3204,7 @@ export declare function createAgent(transport: Transport): {
2499
3204
  inference_geo?: string;
2500
3205
  speed?: "standard" | "fast";
2501
3206
  settings?: {
2502
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3207
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2503
3208
  };
2504
3209
  };
2505
3210
  multiagent: null | Types.AgentManaged171;
@@ -2530,18 +3235,20 @@ export declare function createAgent(transport: Transport): {
2530
3235
  model?: {
2531
3236
  id: string;
2532
3237
  thinking: {
2533
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3238
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2534
3239
  can_disable: boolean;
2535
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3240
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2536
3241
  } | null;
2537
3242
  };
2538
3243
  thinking?: {
2539
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3244
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2540
3245
  } | null;
2541
3246
  forked_from?: {
2542
3247
  session_id: string;
2543
3248
  message_id: string;
2544
3249
  } | null;
3250
+ readonly external_user_id: string | null;
3251
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2545
3252
  }>;
2546
3253
  };
2547
3254
  toolsets: {
@@ -2616,6 +3323,11 @@ export declare function createApplication(transport: Transport): {
2616
3323
  };
2617
3324
  update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
2618
3325
  versions: {
3326
+ assets: {
3327
+ retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
3328
+ manifest: Types.ApplicationAssetManifest;
3329
+ }>;
3330
+ };
2619
3331
  create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
2620
3332
  list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
2621
3333
  retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
@@ -2869,6 +3581,14 @@ export declare function createFile(transport: Transport): {
2869
3581
  retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
2870
3582
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
2871
3583
  };
3584
+ uploads: {
3585
+ cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3586
+ complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3587
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3588
+ parts: {
3589
+ create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
3590
+ };
3591
+ };
2872
3592
  };
2873
3593
  export declare function createKnowledge(transport: Transport): {
2874
3594
  vectorStores: {
@@ -3571,9 +4291,142 @@ export declare function createOrganization(transport: Transport): {
3571
4291
  }>;
3572
4292
  };
3573
4293
  feedback: {
4294
+ counts: {
4295
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackCountsData> | undefined) => Promise<{
4296
+ object: "feedback.counts";
4297
+ open: number;
4298
+ awaiting_customer: number;
4299
+ in_progress: number;
4300
+ resolved: number;
4301
+ closed: number;
4302
+ total: number;
4303
+ }>;
4304
+ };
3574
4305
  create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
3575
4306
  id: string;
3576
4307
  }>;
4308
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackData> | undefined) => Promise<{
4309
+ object: "page";
4310
+ data: Array<{
4311
+ object: "feedback";
4312
+ id: string;
4313
+ title?: string | null;
4314
+ type?: string | null;
4315
+ message: string;
4316
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4317
+ status: "unresolved" | "resolved" | "ignored";
4318
+ source: "console" | "api" | "codemode";
4319
+ url?: string | null;
4320
+ first_response_due_time?: string | null;
4321
+ first_response_time?: string | null;
4322
+ last_message_time: string;
4323
+ unread: boolean;
4324
+ create_time: string;
4325
+ update_time: string;
4326
+ reporter?: {
4327
+ type?: "user" | "api_key" | "agent_session";
4328
+ };
4329
+ last_message_preview?: {
4330
+ author_kind?: "customer" | "staff" | "system";
4331
+ body?: string;
4332
+ create_time?: string;
4333
+ } | null;
4334
+ attachments: Array<{
4335
+ id?: string;
4336
+ name?: string;
4337
+ content_type?: string;
4338
+ size?: number;
4339
+ create_time?: string;
4340
+ }>;
4341
+ }>;
4342
+ has_more: boolean;
4343
+ next_page: string | null;
4344
+ }>;
4345
+ messages: {
4346
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackMessageData>) => Promise<{
4347
+ object: "feedback.message";
4348
+ id: string;
4349
+ feedback_id: string;
4350
+ author: {
4351
+ kind?: "customer" | "staff" | "system";
4352
+ name?: string;
4353
+ };
4354
+ body: string;
4355
+ event?: {
4356
+ type?: "phase_changed" | "assigned";
4357
+ from?: string | null;
4358
+ to?: string | null;
4359
+ } | null;
4360
+ attachments: Array<{
4361
+ id?: string;
4362
+ name?: string;
4363
+ content_type?: string;
4364
+ size?: number;
4365
+ create_time?: string;
4366
+ }>;
4367
+ create_time: string;
4368
+ }>;
4369
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackMessagesData>) => Promise<{
4370
+ object: "page";
4371
+ data: Array<{
4372
+ object: "feedback.message";
4373
+ id: string;
4374
+ feedback_id: string;
4375
+ author: {
4376
+ kind?: "customer" | "staff" | "system";
4377
+ name?: string;
4378
+ };
4379
+ body: string;
4380
+ event?: {
4381
+ type?: "phase_changed" | "assigned";
4382
+ from?: string | null;
4383
+ to?: string | null;
4384
+ } | null;
4385
+ attachments: Array<{
4386
+ id?: string;
4387
+ name?: string;
4388
+ content_type?: string;
4389
+ size?: number;
4390
+ create_time?: string;
4391
+ }>;
4392
+ create_time: string;
4393
+ }>;
4394
+ has_more: boolean;
4395
+ next_page: string | null;
4396
+ }>;
4397
+ };
4398
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackData>) => Promise<{
4399
+ object: "feedback";
4400
+ id: string;
4401
+ title?: string | null;
4402
+ type?: string | null;
4403
+ message: string;
4404
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4405
+ status: "unresolved" | "resolved" | "ignored";
4406
+ source: "console" | "api" | "codemode";
4407
+ url?: string | null;
4408
+ first_response_due_time?: string | null;
4409
+ first_response_time?: string | null;
4410
+ last_message_time: string;
4411
+ unread: boolean;
4412
+ create_time: string;
4413
+ update_time: string;
4414
+ reporter?: {
4415
+ type?: "user" | "api_key" | "agent_session";
4416
+ };
4417
+ last_message_preview?: {
4418
+ author_kind?: "customer" | "staff" | "system";
4419
+ body?: string;
4420
+ create_time?: string;
4421
+ } | null;
4422
+ attachments: Array<{
4423
+ id?: string;
4424
+ name?: string;
4425
+ content_type?: string;
4426
+ size?: number;
4427
+ create_time?: string;
4428
+ }>;
4429
+ }>;
3577
4430
  };
3578
4431
  usage: {
3579
4432
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -3779,6 +4632,120 @@ export declare function createSearch(transport: Transport): {
3779
4632
  }>;
3780
4633
  };
3781
4634
  };
4635
+ export declare function createTicket(transport: Transport): {
4636
+ activity: {
4637
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
4638
+ activity: Array<Types.TicketActivity>;
4639
+ next_page_token: string;
4640
+ }>;
4641
+ };
4642
+ comments: {
4643
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
4644
+ reactions: {
4645
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
4646
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
4647
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
4648
+ reactions: Array<Types.TicketReaction>;
4649
+ next_page_token: string;
4650
+ }>;
4651
+ };
4652
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
4653
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
4654
+ };
4655
+ labels: {
4656
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
4657
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
4658
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
4659
+ labels: Array<Types.TicketLabel>;
4660
+ next_page_token: string;
4661
+ }>;
4662
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
4663
+ };
4664
+ milestones: {
4665
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
4666
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
4667
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
4668
+ milestones: Array<Types.TicketMilestone>;
4669
+ next_page_token: string;
4670
+ }>;
4671
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
4672
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
4673
+ };
4674
+ repositories: {
4675
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
4676
+ repositories: Array<Types.TicketRepository>;
4677
+ next_page_token: string;
4678
+ }>;
4679
+ };
4680
+ tickets: {
4681
+ comments: {
4682
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
4683
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
4684
+ comments: Array<Types.TicketComment>;
4685
+ next_page_token: string;
4686
+ }>;
4687
+ };
4688
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
4689
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
4690
+ dependencies: {
4691
+ blockedBy: {
4692
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
4693
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
4694
+ };
4695
+ retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
4696
+ tickets: Array<Types.TicketRecord>;
4697
+ next_page_token: string;
4698
+ }>;
4699
+ retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
4700
+ tickets: Array<Types.TicketRecord>;
4701
+ next_page_token: string;
4702
+ }>;
4703
+ };
4704
+ events: {
4705
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
4706
+ events: Array<Types.TicketEvent>;
4707
+ next_page_token: string;
4708
+ }>;
4709
+ };
4710
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
4711
+ tickets: Array<Types.TicketRecord>;
4712
+ next_page_token: string;
4713
+ total_size?: number;
4714
+ }>;
4715
+ reactions: {
4716
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
4717
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
4718
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
4719
+ reactions: Array<Types.TicketReaction>;
4720
+ next_page_token: string;
4721
+ }>;
4722
+ };
4723
+ relations: {
4724
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
4725
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
4726
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
4727
+ tickets: Array<Types.TicketRecord>;
4728
+ next_page_token: string;
4729
+ }>;
4730
+ };
4731
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
4732
+ subTickets: {
4733
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
4734
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
4735
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
4736
+ tickets: Array<Types.TicketRecord>;
4737
+ next_page_token: string;
4738
+ }>;
4739
+ };
4740
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
4741
+ updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
4742
+ };
4743
+ types: {
4744
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
4745
+ types: Array<Types.TicketType>;
4746
+ }>;
4747
+ };
4748
+ };
3782
4749
  export declare function createVault(transport: Transport): {
3783
4750
  authorizations: {
3784
4751
  create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
@@ -3848,5 +4815,6 @@ export declare const resourceFactories: {
3848
4815
  organization: typeof createOrganization;
3849
4816
  sandbox: typeof createSandbox;
3850
4817
  search: typeof createSearch;
4818
+ ticket: typeof createTicket;
3851
4819
  vault: typeof createVault;
3852
4820
  };