@deepraxis/sdk 0.1.0-dev.7ee6a7d → 0.1.0-dev.891e403

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,83 @@ 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
+ endUsers: {
315
+ block: {
316
+ create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
317
+ external_user_id: string;
318
+ first_seen_at: string | null;
319
+ last_active_at: string | null;
320
+ session_count: number;
321
+ cost_micro_usd: number;
322
+ blocked: boolean;
323
+ }>;
324
+ };
325
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
326
+ id: string;
327
+ status: "pending";
328
+ }>;
329
+ list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
330
+ data: Array<{
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
+ }>;
338
+ next_page: string | null;
339
+ }>;
340
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
341
+ external_user_id: string;
342
+ first_seen_at: string | null;
343
+ last_active_at: string | null;
344
+ session_count: number;
345
+ cost_micro_usd: number;
346
+ blocked: boolean;
347
+ recent_sessions: Array<{
348
+ id: string;
349
+ title: string | null;
350
+ source: string | null;
351
+ created_at: string;
352
+ updated_at: string;
353
+ }>;
354
+ }>;
355
+ retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
356
+ id: string;
357
+ status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
358
+ counts: {
359
+ sessions?: number;
360
+ events?: number;
361
+ messages?: number;
362
+ d1_rows?: number;
363
+ attachments?: number;
364
+ };
365
+ snapshot_key?: string;
366
+ error?: string;
367
+ created_at: string;
368
+ updated_at: string;
369
+ }>;
370
+ revokeTokens: {
371
+ create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
372
+ revoked: number;
373
+ }>;
374
+ };
375
+ unblock: {
376
+ create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
377
+ external_user_id: string;
378
+ first_seen_at: string | null;
379
+ last_active_at: string | null;
380
+ session_count: number;
381
+ cost_micro_usd: number;
382
+ blocked: boolean;
383
+ }>;
384
+ };
385
+ };
266
386
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
267
387
  data: Array<{
268
388
  id: string;
@@ -277,7 +397,7 @@ export declare function createAgent(transport: Transport): {
277
397
  inference_geo?: string;
278
398
  speed?: "standard" | "fast";
279
399
  settings?: {
280
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
400
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
281
401
  };
282
402
  };
283
403
  multiagent: null | Types.AgentManaged39;
@@ -288,6 +408,26 @@ export declare function createAgent(transport: Transport): {
288
408
  type: "agent";
289
409
  updated_at: string;
290
410
  version: number;
411
+ active_version: number;
412
+ created_by: {
413
+ type: "user";
414
+ id: string;
415
+ name?: string;
416
+ } | {
417
+ type: "api_key";
418
+ id: string;
419
+ } | null;
420
+ note: string | null;
421
+ bindings: Array<{
422
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
423
+ id: string;
424
+ access: "read_only" | "read_write" | "invoke";
425
+ instructions?: string;
426
+ enabled?: boolean;
427
+ } | {
428
+ type: "search" | "browser";
429
+ enabled?: boolean;
430
+ }>;
291
431
  kind: "personal" | "service";
292
432
  computer_id?: string;
293
433
  subagent_model?: string | null;
@@ -393,6 +533,10 @@ export declare function createAgent(transport: Transport): {
393
533
  models?: {
394
534
  allowed: Array<string>;
395
535
  };
536
+ avatar: string | null;
537
+ environment_id?: string | null;
538
+ vault_ids?: Array<string>;
539
+ status: "active" | "archived";
396
540
  }>;
397
541
  next_page: string | null;
398
542
  }>;
@@ -409,7 +553,7 @@ export declare function createAgent(transport: Transport): {
409
553
  inference_geo?: string;
410
554
  speed?: "standard" | "fast";
411
555
  settings?: {
412
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
556
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
413
557
  };
414
558
  };
415
559
  multiagent: null | Types.AgentManaged39;
@@ -420,6 +564,26 @@ export declare function createAgent(transport: Transport): {
420
564
  type: "agent";
421
565
  updated_at: string;
422
566
  version: number;
567
+ active_version: number;
568
+ created_by: {
569
+ type: "user";
570
+ id: string;
571
+ name?: string;
572
+ } | {
573
+ type: "api_key";
574
+ id: string;
575
+ } | null;
576
+ note: string | null;
577
+ bindings: Array<{
578
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
579
+ id: string;
580
+ access: "read_only" | "read_write" | "invoke";
581
+ instructions?: string;
582
+ enabled?: boolean;
583
+ } | {
584
+ type: "search" | "browser";
585
+ enabled?: boolean;
586
+ }>;
423
587
  kind: "personal" | "service";
424
588
  computer_id?: string;
425
589
  subagent_model?: string | null;
@@ -525,138 +689,880 @@ export declare function createAgent(transport: Transport): {
525
689
  models?: {
526
690
  allowed: Array<string>;
527
691
  };
692
+ avatar: string | null;
693
+ environment_id?: string | null;
694
+ vault_ids?: Array<string>;
695
+ status: "active" | "archived";
528
696
  }>;
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";
697
+ unarchive: {
698
+ create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
699
+ id: string;
700
+ archived_at: null | string;
701
+ created_at: string;
702
+ description: null | string;
703
+ mcp_servers: Array<{
704
+ type: "url";
705
+ name: string;
706
+ url: string;
707
+ headers?: {
708
+ [key: string]: string;
709
+ };
710
+ timeout_ms?: number;
711
+ } | {
712
+ type: "sse";
713
+ name: string;
714
+ url: string;
715
+ headers?: {
716
+ [key: string]: string;
717
+ };
718
+ timeout_ms?: number;
719
+ } | {
720
+ type: "stdio";
721
+ name: string;
722
+ command: string;
723
+ args?: Array<string>;
724
+ env?: {
725
+ [key: string]: string;
726
+ };
727
+ timeout_ms?: number;
728
+ }>;
729
+ metadata: {
730
+ [key: string]: string;
543
731
  };
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
- }>;
732
+ model: {
733
+ 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;
734
+ effort?: {
735
+ type: "low";
736
+ } | {
737
+ type: "medium";
738
+ } | {
739
+ type: "high";
740
+ } | {
741
+ type: "xhigh";
742
+ } | {
743
+ type: "max";
744
+ };
745
+ inference_geo?: string;
746
+ speed?: "standard" | "fast";
747
+ settings?: {
748
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
749
+ };
750
+ };
751
+ multiagent: null | {
752
+ agents: Array<{
753
+ id: string;
754
+ type: "agent";
755
+ version: number;
756
+ } | {
757
+ model: string;
758
+ type: "advisor";
591
759
  }>;
592
- PreToolUse?: Array<{
593
- matcher?: string;
594
- hooks: Array<{
595
- type: "command";
596
- command: string;
597
- timeout?: number;
598
- async?: boolean;
599
- enabled?: boolean;
760
+ type: "coordinator";
761
+ };
762
+ name: string;
763
+ skills: Array<{
764
+ skill_id: string;
765
+ type: "anthropic";
766
+ version: string;
767
+ } | {
768
+ skill_id: string;
769
+ type: "custom";
770
+ version: string;
771
+ }>;
772
+ system: null | string;
773
+ tools: Array<{
774
+ configs: Array<{
775
+ enabled: boolean;
776
+ name: "bash";
777
+ permission_policy: {
778
+ type: "always_allow";
779
+ } | {
780
+ type: "always_ask";
781
+ } | {
782
+ type: "auto";
783
+ };
784
+ type: "bash";
785
+ } | {
786
+ enabled: boolean;
787
+ name: "edit";
788
+ permission_policy: {
789
+ type: "always_allow";
790
+ } | {
791
+ type: "always_ask";
792
+ } | {
793
+ type: "auto";
794
+ };
795
+ type: "edit";
796
+ } | {
797
+ enabled: boolean;
798
+ name: "read";
799
+ permission_policy: {
800
+ type: "always_allow";
801
+ } | {
802
+ type: "always_ask";
803
+ } | {
804
+ type: "auto";
805
+ };
806
+ type: "read";
807
+ } | {
808
+ enabled: boolean;
809
+ name: "write";
810
+ permission_policy: {
811
+ type: "always_allow";
812
+ } | {
813
+ type: "always_ask";
814
+ } | {
815
+ type: "auto";
816
+ };
817
+ type: "write";
818
+ } | {
819
+ enabled: boolean;
820
+ name: "glob";
821
+ permission_policy: {
822
+ type: "always_allow";
823
+ } | {
824
+ type: "always_ask";
825
+ } | {
826
+ type: "auto";
827
+ };
828
+ type: "glob";
829
+ } | {
830
+ enabled: boolean;
831
+ name: "grep";
832
+ permission_policy: {
833
+ type: "always_allow";
834
+ } | {
835
+ type: "always_ask";
836
+ } | {
837
+ type: "auto";
838
+ };
839
+ type: "grep";
840
+ } | {
841
+ enabled: boolean;
842
+ name: "web_fetch";
843
+ permission_policy: {
844
+ type: "always_allow";
845
+ } | {
846
+ type: "always_ask";
847
+ } | {
848
+ type: "auto";
849
+ };
850
+ type: "web_fetch";
851
+ allowed_domains?: Array<string>;
852
+ blocked_domains?: Array<string>;
853
+ max_content_tokens?: null | number;
854
+ } | {
855
+ enabled: boolean;
856
+ name: "web_search";
857
+ permission_policy: {
858
+ type: "always_allow";
859
+ } | {
860
+ type: "always_ask";
861
+ } | {
862
+ type: "auto";
863
+ };
864
+ type: "web_search";
865
+ allowed_domains?: Array<string>;
866
+ blocked_domains?: Array<string>;
867
+ user_location?: null | {
868
+ type: "approximate";
869
+ city?: null | string;
870
+ country?: null | string;
871
+ region?: null | string;
872
+ timezone?: null | string;
873
+ };
874
+ } | {
875
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
876
+ enabled: boolean;
877
+ permission_policy: {
878
+ type: "always_allow" | "always_ask";
879
+ };
880
+ }>;
881
+ default_config: {
882
+ enabled: boolean;
883
+ permission_policy: {
884
+ type: "always_allow";
885
+ } | {
886
+ type: "always_ask";
887
+ } | {
888
+ type: "auto";
889
+ };
890
+ };
891
+ type: "agent_toolset_20260401";
892
+ } | {
893
+ type: "mcp_toolset";
894
+ mcp_server_name: string;
895
+ default_config?: {
896
+ enabled?: boolean | null;
897
+ permission_policy?: null | {
898
+ type: "always_allow" | "always_ask";
899
+ };
900
+ } | null;
901
+ configs?: Array<{
902
+ name: string;
903
+ enabled?: boolean | null;
904
+ permission_policy?: null | {
905
+ type: "always_allow" | "always_ask";
906
+ };
907
+ }> | null;
908
+ } | {
909
+ description: string;
910
+ input_schema: {
911
+ type: "object";
912
+ properties?: null | {
913
+ [key: string]: unknown;
914
+ };
915
+ required?: null | Array<string>;
916
+ [key: string]: unknown;
917
+ };
918
+ name: string;
919
+ type: "custom";
920
+ }>;
921
+ type: "agent";
922
+ updated_at: string;
923
+ version: number;
924
+ active_version: number;
925
+ created_by: {
926
+ type: "user";
927
+ id: string;
928
+ name?: string;
929
+ } | {
930
+ type: "api_key";
931
+ id: string;
932
+ } | null;
933
+ note: string | null;
934
+ bindings: Array<{
935
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
936
+ id: string;
937
+ access: "read_only" | "read_write" | "invoke";
938
+ instructions?: string;
939
+ enabled?: boolean;
940
+ } | {
941
+ type: "search" | "browser";
942
+ enabled?: boolean;
943
+ }>;
944
+ kind: "personal" | "service";
945
+ computer_id?: string;
946
+ subagent_model?: string | null;
947
+ subagents?: Array<{
948
+ name: string;
949
+ description: string;
950
+ prompt: string;
951
+ tools?: Array<string>;
952
+ disallowed_tools?: Array<string>;
953
+ model?: string;
954
+ }> | null;
955
+ commands?: Array<{
956
+ name: string;
957
+ description?: string;
958
+ argument_hint?: string;
959
+ prompt: string;
960
+ }> | null;
961
+ settings?: {
962
+ hooks?: {
963
+ SessionStart?: Array<{
964
+ matcher?: string;
965
+ hooks: Array<{
966
+ type: "command";
967
+ command: string;
968
+ timeout?: number;
969
+ async?: boolean;
970
+ enabled?: boolean;
971
+ }>;
972
+ }>;
973
+ UserPromptSubmit?: Array<{
974
+ matcher?: string;
975
+ hooks: Array<{
976
+ type: "command";
977
+ command: string;
978
+ timeout?: number;
979
+ async?: boolean;
980
+ enabled?: boolean;
981
+ }>;
982
+ }>;
983
+ PreToolUse?: Array<{
984
+ matcher?: string;
985
+ hooks: Array<{
986
+ type: "command";
987
+ command: string;
988
+ timeout?: number;
989
+ async?: boolean;
990
+ enabled?: boolean;
991
+ }>;
992
+ }>;
993
+ PermissionRequest?: Array<{
994
+ matcher?: string;
995
+ hooks: Array<{
996
+ type: "command";
997
+ command: string;
998
+ timeout?: number;
999
+ async?: boolean;
1000
+ enabled?: boolean;
1001
+ }>;
1002
+ }>;
1003
+ PostToolUse?: Array<{
1004
+ matcher?: string;
1005
+ hooks: Array<{
1006
+ type: "command";
1007
+ command: string;
1008
+ timeout?: number;
1009
+ async?: boolean;
1010
+ enabled?: boolean;
1011
+ }>;
1012
+ }>;
1013
+ PostToolUseFailure?: Array<{
1014
+ matcher?: string;
1015
+ hooks: Array<{
1016
+ type: "command";
1017
+ command: string;
1018
+ timeout?: number;
1019
+ async?: boolean;
1020
+ enabled?: boolean;
1021
+ }>;
1022
+ }>;
1023
+ Stop?: Array<{
1024
+ matcher?: string;
1025
+ hooks: Array<{
1026
+ type: "command";
1027
+ command: string;
1028
+ timeout?: number;
1029
+ async?: boolean;
1030
+ enabled?: boolean;
1031
+ }>;
1032
+ }>;
1033
+ };
1034
+ allowManagedHooksOnly?: boolean;
1035
+ allowManagedMcpServersOnly?: boolean;
1036
+ allowManagedPermissionRulesOnly?: boolean;
1037
+ autoMemoryEnabled?: boolean;
1038
+ disabled?: {
1039
+ subagents?: Array<string>;
1040
+ commands?: Array<string>;
1041
+ skills?: Array<string>;
1042
+ mcpServers?: Array<string>;
1043
+ hooks?: Array<string>;
1044
+ };
1045
+ } | null;
1046
+ models?: {
1047
+ allowed: Array<string>;
1048
+ };
1049
+ avatar: string | null;
1050
+ environment_id?: string | null;
1051
+ vault_ids?: Array<string>;
1052
+ status: "active" | "archived";
1053
+ }>;
1054
+ };
1055
+ update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
1056
+ id: string;
1057
+ archived_at: null | string;
1058
+ created_at: string;
1059
+ description: null | string;
1060
+ mcp_servers: Array<Types.AgentManaged36>;
1061
+ metadata: Types.AgentManaged37;
1062
+ model: {
1063
+ 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;
1064
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1065
+ inference_geo?: string;
1066
+ speed?: "standard" | "fast";
1067
+ settings?: {
1068
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1069
+ };
1070
+ };
1071
+ multiagent: null | Types.AgentManaged39;
1072
+ name: string;
1073
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1074
+ system: null | string;
1075
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1076
+ type: "agent";
1077
+ updated_at: string;
1078
+ version: number;
1079
+ active_version: number;
1080
+ created_by: {
1081
+ type: "user";
1082
+ id: string;
1083
+ name?: string;
1084
+ } | {
1085
+ type: "api_key";
1086
+ id: string;
1087
+ } | null;
1088
+ note: string | null;
1089
+ bindings: Array<{
1090
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1091
+ id: string;
1092
+ access: "read_only" | "read_write" | "invoke";
1093
+ instructions?: string;
1094
+ enabled?: boolean;
1095
+ } | {
1096
+ type: "search" | "browser";
1097
+ enabled?: boolean;
1098
+ }>;
1099
+ kind: "personal" | "service";
1100
+ computer_id?: string;
1101
+ subagent_model?: string | null;
1102
+ subagents?: Array<{
1103
+ name: string;
1104
+ description: string;
1105
+ prompt: string;
1106
+ tools?: Array<string>;
1107
+ disallowed_tools?: Array<string>;
1108
+ model?: string;
1109
+ }> | null;
1110
+ commands?: Array<{
1111
+ name: string;
1112
+ description?: string;
1113
+ argument_hint?: string;
1114
+ prompt: string;
1115
+ }> | null;
1116
+ settings?: {
1117
+ hooks?: {
1118
+ SessionStart?: Array<{
1119
+ matcher?: string;
1120
+ hooks: Array<{
1121
+ type: "command";
1122
+ command: string;
1123
+ timeout?: number;
1124
+ async?: boolean;
1125
+ enabled?: boolean;
1126
+ }>;
1127
+ }>;
1128
+ UserPromptSubmit?: Array<{
1129
+ matcher?: string;
1130
+ hooks: Array<{
1131
+ type: "command";
1132
+ command: string;
1133
+ timeout?: number;
1134
+ async?: boolean;
1135
+ enabled?: boolean;
1136
+ }>;
1137
+ }>;
1138
+ PreToolUse?: Array<{
1139
+ matcher?: string;
1140
+ hooks: Array<{
1141
+ type: "command";
1142
+ command: string;
1143
+ timeout?: number;
1144
+ async?: boolean;
1145
+ enabled?: boolean;
1146
+ }>;
1147
+ }>;
1148
+ PermissionRequest?: Array<{
1149
+ matcher?: string;
1150
+ hooks: Array<{
1151
+ type: "command";
1152
+ command: string;
1153
+ timeout?: number;
1154
+ async?: boolean;
1155
+ enabled?: boolean;
1156
+ }>;
1157
+ }>;
1158
+ PostToolUse?: Array<{
1159
+ matcher?: string;
1160
+ hooks: Array<{
1161
+ type: "command";
1162
+ command: string;
1163
+ timeout?: number;
1164
+ async?: boolean;
1165
+ enabled?: boolean;
1166
+ }>;
1167
+ }>;
1168
+ PostToolUseFailure?: Array<{
1169
+ matcher?: string;
1170
+ hooks: Array<{
1171
+ type: "command";
1172
+ command: string;
1173
+ timeout?: number;
1174
+ async?: boolean;
1175
+ enabled?: boolean;
1176
+ }>;
1177
+ }>;
1178
+ Stop?: Array<{
1179
+ matcher?: string;
1180
+ hooks: Array<{
1181
+ type: "command";
1182
+ command: string;
1183
+ timeout?: number;
1184
+ async?: boolean;
1185
+ enabled?: boolean;
1186
+ }>;
1187
+ }>;
1188
+ };
1189
+ allowManagedHooksOnly?: boolean;
1190
+ allowManagedMcpServersOnly?: boolean;
1191
+ allowManagedPermissionRulesOnly?: boolean;
1192
+ autoMemoryEnabled?: boolean;
1193
+ disabled?: {
1194
+ subagents?: Array<string>;
1195
+ commands?: Array<string>;
1196
+ skills?: Array<string>;
1197
+ mcpServers?: Array<string>;
1198
+ hooks?: Array<string>;
1199
+ };
1200
+ } | null;
1201
+ models?: {
1202
+ allowed: Array<string>;
1203
+ };
1204
+ avatar: string | null;
1205
+ environment_id?: string | null;
1206
+ vault_ids?: Array<string>;
1207
+ status: "active" | "archived";
1208
+ }>;
1209
+ versions: {
1210
+ apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1211
+ id: string;
1212
+ archived_at: null | string;
1213
+ created_at: string;
1214
+ description: null | string;
1215
+ mcp_servers: Array<{
1216
+ type: "url";
1217
+ name: string;
1218
+ url: string;
1219
+ headers?: {
1220
+ [key: string]: string;
1221
+ };
1222
+ timeout_ms?: number;
1223
+ } | {
1224
+ type: "sse";
1225
+ name: string;
1226
+ url: string;
1227
+ headers?: {
1228
+ [key: string]: string;
1229
+ };
1230
+ timeout_ms?: number;
1231
+ } | {
1232
+ type: "stdio";
1233
+ name: string;
1234
+ command: string;
1235
+ args?: Array<string>;
1236
+ env?: {
1237
+ [key: string]: string;
1238
+ };
1239
+ timeout_ms?: number;
1240
+ }>;
1241
+ metadata: {
1242
+ [key: string]: string;
1243
+ };
1244
+ model: {
1245
+ 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;
1246
+ effort?: {
1247
+ type: "low";
1248
+ } | {
1249
+ type: "medium";
1250
+ } | {
1251
+ type: "high";
1252
+ } | {
1253
+ type: "xhigh";
1254
+ } | {
1255
+ type: "max";
1256
+ };
1257
+ inference_geo?: string;
1258
+ speed?: "standard" | "fast";
1259
+ settings?: {
1260
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1261
+ };
1262
+ };
1263
+ multiagent: null | {
1264
+ agents: Array<{
1265
+ id: string;
1266
+ type: "agent";
1267
+ version: number;
1268
+ } | {
1269
+ model: string;
1270
+ type: "advisor";
1271
+ }>;
1272
+ type: "coordinator";
1273
+ };
1274
+ name: string;
1275
+ skills: Array<{
1276
+ skill_id: string;
1277
+ type: "anthropic";
1278
+ version: string;
1279
+ } | {
1280
+ skill_id: string;
1281
+ type: "custom";
1282
+ version: string;
1283
+ }>;
1284
+ system: null | string;
1285
+ tools: Array<{
1286
+ configs: Array<{
1287
+ enabled: boolean;
1288
+ name: "bash";
1289
+ permission_policy: {
1290
+ type: "always_allow";
1291
+ } | {
1292
+ type: "always_ask";
1293
+ } | {
1294
+ type: "auto";
1295
+ };
1296
+ type: "bash";
1297
+ } | {
1298
+ enabled: boolean;
1299
+ name: "edit";
1300
+ permission_policy: {
1301
+ type: "always_allow";
1302
+ } | {
1303
+ type: "always_ask";
1304
+ } | {
1305
+ type: "auto";
1306
+ };
1307
+ type: "edit";
1308
+ } | {
1309
+ enabled: boolean;
1310
+ name: "read";
1311
+ permission_policy: {
1312
+ type: "always_allow";
1313
+ } | {
1314
+ type: "always_ask";
1315
+ } | {
1316
+ type: "auto";
1317
+ };
1318
+ type: "read";
1319
+ } | {
1320
+ enabled: boolean;
1321
+ name: "write";
1322
+ permission_policy: {
1323
+ type: "always_allow";
1324
+ } | {
1325
+ type: "always_ask";
1326
+ } | {
1327
+ type: "auto";
1328
+ };
1329
+ type: "write";
1330
+ } | {
1331
+ enabled: boolean;
1332
+ name: "glob";
1333
+ permission_policy: {
1334
+ type: "always_allow";
1335
+ } | {
1336
+ type: "always_ask";
1337
+ } | {
1338
+ type: "auto";
1339
+ };
1340
+ type: "glob";
1341
+ } | {
1342
+ enabled: boolean;
1343
+ name: "grep";
1344
+ permission_policy: {
1345
+ type: "always_allow";
1346
+ } | {
1347
+ type: "always_ask";
1348
+ } | {
1349
+ type: "auto";
1350
+ };
1351
+ type: "grep";
1352
+ } | {
1353
+ enabled: boolean;
1354
+ name: "web_fetch";
1355
+ permission_policy: {
1356
+ type: "always_allow";
1357
+ } | {
1358
+ type: "always_ask";
1359
+ } | {
1360
+ type: "auto";
1361
+ };
1362
+ type: "web_fetch";
1363
+ allowed_domains?: Array<string>;
1364
+ blocked_domains?: Array<string>;
1365
+ max_content_tokens?: null | number;
1366
+ } | {
1367
+ enabled: boolean;
1368
+ name: "web_search";
1369
+ permission_policy: {
1370
+ type: "always_allow";
1371
+ } | {
1372
+ type: "always_ask";
1373
+ } | {
1374
+ type: "auto";
1375
+ };
1376
+ type: "web_search";
1377
+ allowed_domains?: Array<string>;
1378
+ blocked_domains?: Array<string>;
1379
+ user_location?: null | {
1380
+ type: "approximate";
1381
+ city?: null | string;
1382
+ country?: null | string;
1383
+ region?: null | string;
1384
+ timezone?: null | string;
1385
+ };
1386
+ } | {
1387
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1388
+ enabled: boolean;
1389
+ permission_policy: {
1390
+ type: "always_allow" | "always_ask";
1391
+ };
1392
+ }>;
1393
+ default_config: {
1394
+ enabled: boolean;
1395
+ permission_policy: {
1396
+ type: "always_allow";
1397
+ } | {
1398
+ type: "always_ask";
1399
+ } | {
1400
+ type: "auto";
1401
+ };
1402
+ };
1403
+ type: "agent_toolset_20260401";
1404
+ } | {
1405
+ type: "mcp_toolset";
1406
+ mcp_server_name: string;
1407
+ default_config?: {
1408
+ enabled?: boolean | null;
1409
+ permission_policy?: null | {
1410
+ type: "always_allow" | "always_ask";
1411
+ };
1412
+ } | null;
1413
+ configs?: Array<{
1414
+ name: string;
1415
+ enabled?: boolean | null;
1416
+ permission_policy?: null | {
1417
+ type: "always_allow" | "always_ask";
1418
+ };
1419
+ }> | null;
1420
+ } | {
1421
+ description: string;
1422
+ input_schema: {
1423
+ type: "object";
1424
+ properties?: null | {
1425
+ [key: string]: unknown;
1426
+ };
1427
+ required?: null | Array<string>;
1428
+ [key: string]: unknown;
1429
+ };
1430
+ name: string;
1431
+ type: "custom";
1432
+ }>;
1433
+ type: "agent";
1434
+ updated_at: string;
1435
+ version: number;
1436
+ active_version: number;
1437
+ created_by: {
1438
+ type: "user";
1439
+ id: string;
1440
+ name?: string;
1441
+ } | {
1442
+ type: "api_key";
1443
+ id: string;
1444
+ } | null;
1445
+ note: string | null;
1446
+ bindings: Array<{
1447
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1448
+ id: string;
1449
+ access: "read_only" | "read_write" | "invoke";
1450
+ instructions?: string;
1451
+ enabled?: boolean;
1452
+ } | {
1453
+ type: "search" | "browser";
1454
+ enabled?: boolean;
1455
+ }>;
1456
+ kind: "personal" | "service";
1457
+ computer_id?: string;
1458
+ subagent_model?: string | null;
1459
+ subagents?: Array<{
1460
+ name: string;
1461
+ description: string;
1462
+ prompt: string;
1463
+ tools?: Array<string>;
1464
+ disallowed_tools?: Array<string>;
1465
+ model?: string;
1466
+ }> | null;
1467
+ commands?: Array<{
1468
+ name: string;
1469
+ description?: string;
1470
+ argument_hint?: string;
1471
+ prompt: string;
1472
+ }> | null;
1473
+ settings?: {
1474
+ hooks?: {
1475
+ SessionStart?: Array<{
1476
+ matcher?: string;
1477
+ hooks: Array<{
1478
+ type: "command";
1479
+ command: string;
1480
+ timeout?: number;
1481
+ async?: boolean;
1482
+ enabled?: boolean;
1483
+ }>;
1484
+ }>;
1485
+ UserPromptSubmit?: Array<{
1486
+ matcher?: string;
1487
+ hooks: Array<{
1488
+ type: "command";
1489
+ command: string;
1490
+ timeout?: number;
1491
+ async?: boolean;
1492
+ enabled?: boolean;
1493
+ }>;
1494
+ }>;
1495
+ PreToolUse?: Array<{
1496
+ matcher?: string;
1497
+ hooks: Array<{
1498
+ type: "command";
1499
+ command: string;
1500
+ timeout?: number;
1501
+ async?: boolean;
1502
+ enabled?: boolean;
1503
+ }>;
600
1504
  }>;
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;
1505
+ PermissionRequest?: Array<{
1506
+ matcher?: string;
1507
+ hooks: Array<{
1508
+ type: "command";
1509
+ command: string;
1510
+ timeout?: number;
1511
+ async?: boolean;
1512
+ enabled?: boolean;
1513
+ }>;
610
1514
  }>;
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;
1515
+ PostToolUse?: Array<{
1516
+ matcher?: string;
1517
+ hooks: Array<{
1518
+ type: "command";
1519
+ command: string;
1520
+ timeout?: number;
1521
+ async?: boolean;
1522
+ enabled?: boolean;
1523
+ }>;
620
1524
  }>;
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;
1525
+ PostToolUseFailure?: Array<{
1526
+ matcher?: string;
1527
+ hooks: Array<{
1528
+ type: "command";
1529
+ command: string;
1530
+ timeout?: number;
1531
+ async?: boolean;
1532
+ enabled?: boolean;
1533
+ }>;
630
1534
  }>;
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;
1535
+ Stop?: Array<{
1536
+ matcher?: string;
1537
+ hooks: Array<{
1538
+ type: "command";
1539
+ command: string;
1540
+ timeout?: number;
1541
+ async?: boolean;
1542
+ enabled?: boolean;
1543
+ }>;
640
1544
  }>;
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>;
1545
+ };
1546
+ allowManagedHooksOnly?: boolean;
1547
+ allowManagedMcpServersOnly?: boolean;
1548
+ allowManagedPermissionRulesOnly?: boolean;
1549
+ autoMemoryEnabled?: boolean;
1550
+ disabled?: {
1551
+ subagents?: Array<string>;
1552
+ commands?: Array<string>;
1553
+ skills?: Array<string>;
1554
+ mcpServers?: Array<string>;
1555
+ hooks?: Array<string>;
1556
+ };
1557
+ } | null;
1558
+ models?: {
1559
+ allowed: Array<string>;
653
1560
  };
654
- } | null;
655
- models?: {
656
- allowed: Array<string>;
657
- };
658
- }>;
659
- versions: {
1561
+ avatar: string | null;
1562
+ environment_id?: string | null;
1563
+ vault_ids?: Array<string>;
1564
+ status: "active" | "archived";
1565
+ }>;
660
1566
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
661
1567
  data: Array<{
662
1568
  id: string;
@@ -671,7 +1577,7 @@ export declare function createAgent(transport: Transport): {
671
1577
  inference_geo?: string;
672
1578
  speed?: "standard" | "fast";
673
1579
  settings?: {
674
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1580
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
675
1581
  };
676
1582
  };
677
1583
  multiagent: null | Types.AgentManaged39;
@@ -682,6 +1588,26 @@ export declare function createAgent(transport: Transport): {
682
1588
  type: "agent";
683
1589
  updated_at: string;
684
1590
  version: number;
1591
+ active_version: number;
1592
+ created_by: {
1593
+ type: "user";
1594
+ id: string;
1595
+ name?: string;
1596
+ } | {
1597
+ type: "api_key";
1598
+ id: string;
1599
+ } | null;
1600
+ note: string | null;
1601
+ bindings: Array<{
1602
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1603
+ id: string;
1604
+ access: "read_only" | "read_write" | "invoke";
1605
+ instructions?: string;
1606
+ enabled?: boolean;
1607
+ } | {
1608
+ type: "search" | "browser";
1609
+ enabled?: boolean;
1610
+ }>;
685
1611
  kind: "personal" | "service";
686
1612
  computer_id?: string;
687
1613
  subagent_model?: string | null;
@@ -787,6 +1713,10 @@ export declare function createAgent(transport: Transport): {
787
1713
  models?: {
788
1714
  allowed: Array<string>;
789
1715
  };
1716
+ avatar: string | null;
1717
+ environment_id?: string | null;
1718
+ vault_ids?: Array<string>;
1719
+ status: "active" | "archived";
790
1720
  }>;
791
1721
  next_page: string | null;
792
1722
  }>;
@@ -798,6 +1728,7 @@ export declare function createAgent(transport: Transport): {
798
1728
  id: string;
799
1729
  name: string;
800
1730
  sandbox_id: string | null;
1731
+ machine_state: "not_started" | "provisioned";
801
1732
  environment_id: string | null;
802
1733
  status: "active" | "archived";
803
1734
  created_at: string;
@@ -820,12 +1751,16 @@ export declare function createAgent(transport: Transport): {
820
1751
  sandbox_id: string;
821
1752
  envd_access_token: string;
822
1753
  template_id: string;
1754
+ tier: "light" | "heavy";
1755
+ lease_id: string | null;
1756
+ lease_expires_at: string | null;
823
1757
  }>;
824
1758
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersCreateData>) => Promise<{
825
1759
  type: "computer";
826
1760
  id: string;
827
1761
  name: string;
828
1762
  sandbox_id: string | null;
1763
+ machine_state: "not_started" | "provisioned";
829
1764
  environment_id: string | null;
830
1765
  status: "active" | "archived";
831
1766
  created_at: string;
@@ -849,15 +1784,29 @@ export declare function createAgent(transport: Transport): {
849
1784
  updated_at: string | null;
850
1785
  }>;
851
1786
  has_more: false;
1787
+ tier: "light" | "heavy";
852
1788
  }>;
853
1789
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
854
1790
  };
1791
+ leases: {
1792
+ delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
1793
+ id: string;
1794
+ type: "computer_lease_released";
1795
+ }>;
1796
+ renew: {
1797
+ create: (options: import("./core/transport.js").CallOptions<Types.RenewComputerLeaseData>) => Promise<{
1798
+ lease_id: string;
1799
+ lease_expires_at: string;
1800
+ }>;
1801
+ };
1802
+ };
855
1803
  list: (options?: import("./core/transport.js").CallOptions<Types.ComputersListData> | undefined) => Promise<{
856
1804
  data: Array<{
857
1805
  type: "computer";
858
1806
  id: string;
859
1807
  name: string;
860
1808
  sandbox_id: string | null;
1809
+ machine_state: "not_started" | "provisioned";
861
1810
  environment_id: string | null;
862
1811
  status: "active" | "archived";
863
1812
  created_at: string;
@@ -872,6 +1821,7 @@ export declare function createAgent(transport: Transport): {
872
1821
  id: string;
873
1822
  name: string;
874
1823
  sandbox_id: string | null;
1824
+ machine_state: "not_started" | "provisioned";
875
1825
  environment_id: string | null;
876
1826
  status: "active" | "archived";
877
1827
  created_at: string;
@@ -880,12 +1830,14 @@ export declare function createAgent(transport: Transport): {
880
1830
  implementation: "virtual" | "sandbox";
881
1831
  storage_bytes: number;
882
1832
  file_count: number;
1833
+ stats_complete: boolean;
883
1834
  }>;
884
1835
  update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
885
1836
  type: "computer";
886
1837
  id: string;
887
1838
  name: string;
888
1839
  sandbox_id: string | null;
1840
+ machine_state: "not_started" | "provisioned";
889
1841
  environment_id: string | null;
890
1842
  status: "active" | "archived";
891
1843
  created_at: string;
@@ -1169,8 +2121,68 @@ export declare function createAgent(transport: Transport): {
1169
2121
  };
1170
2122
  }>;
1171
2123
  };
2124
+ embed: {
2125
+ exchange: {
2126
+ create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
2127
+ token: string;
2128
+ expires_at: string;
2129
+ }>;
2130
+ };
2131
+ retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
2132
+ agent?: {
2133
+ name?: string;
2134
+ avatar?: string;
2135
+ };
2136
+ layout?: "inline" | "sidebar" | "popup" | "modal";
2137
+ launcher?: {
2138
+ type: "none" | "bubble" | "mascot";
2139
+ image?: string;
2140
+ position?: "bottom-right" | "bottom-left";
2141
+ label?: string;
2142
+ };
2143
+ header?: {
2144
+ title?: string;
2145
+ subtitle?: string;
2146
+ icon?: string;
2147
+ };
2148
+ theme?: {
2149
+ colorScheme?: "light" | "dark" | "system";
2150
+ accent?: string;
2151
+ surface?: string;
2152
+ grayscale?: "neutral" | "warm" | "cool";
2153
+ radius?: "none" | "sm" | "md" | "lg" | "full";
2154
+ density?: "compact" | "normal" | "spacious";
2155
+ fontFamily?: string;
2156
+ fontSize?: number;
2157
+ };
2158
+ locale?: "zh" | "en";
2159
+ startScreen?: {
2160
+ greeting?: string;
2161
+ prompts?: Array<{
2162
+ label: string;
2163
+ prompt: string;
2164
+ }>;
2165
+ };
2166
+ composer?: {
2167
+ placeholder?: string;
2168
+ };
2169
+ disclaimer?: string;
2170
+ footer?: string;
2171
+ history?: {
2172
+ enabled?: boolean;
2173
+ };
2174
+ }>;
2175
+ };
1172
2176
  embedTokens: {
2177
+ anonymous: {
2178
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
2179
+ token: string;
2180
+ expires_at: string;
2181
+ visitor_secret?: string;
2182
+ }>;
2183
+ };
1173
2184
  create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
2185
+ hosted_url?: string;
1174
2186
  id: string;
1175
2187
  token: string;
1176
2188
  expires_at: string;
@@ -1234,7 +2246,7 @@ export declare function createAgent(transport: Transport): {
1234
2246
  inference_geo?: string;
1235
2247
  speed?: "standard" | "fast";
1236
2248
  settings?: {
1237
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2249
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1238
2250
  };
1239
2251
  };
1240
2252
  multiagent: null | Types.AgentManaged171;
@@ -1265,18 +2277,20 @@ export declare function createAgent(transport: Transport): {
1265
2277
  model?: {
1266
2278
  id: string;
1267
2279
  thinking: {
1268
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2280
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1269
2281
  can_disable: boolean;
1270
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2282
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1271
2283
  } | null;
1272
2284
  };
1273
2285
  thinking?: {
1274
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2286
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1275
2287
  } | null;
1276
2288
  forked_from?: {
1277
2289
  session_id: string;
1278
2290
  message_id: string;
1279
2291
  } | null;
2292
+ readonly external_user_id: string | null;
2293
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1280
2294
  }>;
1281
2295
  backgroundTasks: {
1282
2296
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
@@ -1353,7 +2367,7 @@ export declare function createAgent(transport: Transport): {
1353
2367
  inference_geo?: string;
1354
2368
  speed?: "standard" | "fast";
1355
2369
  settings?: {
1356
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2370
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1357
2371
  };
1358
2372
  };
1359
2373
  multiagent: null | Types.AgentManaged171;
@@ -1384,19 +2398,22 @@ export declare function createAgent(transport: Transport): {
1384
2398
  model?: {
1385
2399
  id: string;
1386
2400
  thinking: {
1387
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2401
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1388
2402
  can_disable: boolean;
1389
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2403
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1390
2404
  } | null;
1391
2405
  };
1392
2406
  thinking?: {
1393
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2407
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1394
2408
  } | null;
1395
2409
  forked_from?: {
1396
2410
  session_id: string;
1397
2411
  message_id: string;
1398
2412
  } | null;
2413
+ readonly external_user_id: string | null;
2414
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1399
2415
  }>;
2416
+ delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
1400
2417
  events: {
1401
2418
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
1402
2419
  data: Array<{
@@ -1404,6 +2421,12 @@ export declare function createAgent(transport: Transport): {
1404
2421
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
1405
2422
  type: "user.message";
1406
2423
  processed_at?: null | string;
2424
+ praxis_context?: {
2425
+ items: Array<{
2426
+ name: string;
2427
+ value: string;
2428
+ }>;
2429
+ };
1407
2430
  message_id?: string;
1408
2431
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
1409
2432
  id: string;
@@ -1453,6 +2476,10 @@ export declare function createAgent(transport: Transport): {
1453
2476
  };
1454
2477
  source?: "app" | "codemode";
1455
2478
  parent_tool_use_id?: string;
2479
+ title?: string;
2480
+ input_titles?: {
2481
+ [key: string]: string;
2482
+ };
1456
2483
  } | {
1457
2484
  id: string;
1458
2485
  mcp_tool_use_id: string;
@@ -1580,7 +2607,18 @@ export declare function createAgent(transport: Transport): {
1580
2607
  next_page: string | null;
1581
2608
  }>;
1582
2609
  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 | {
2610
+ data?: Array<{
2611
+ id: string;
2612
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2613
+ type: "user.message";
2614
+ processed_at?: null | string;
2615
+ praxis_context?: {
2616
+ items: Array<{
2617
+ name: string;
2618
+ value: string;
2619
+ }>;
2620
+ };
2621
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
1584
2622
  id: string;
1585
2623
  type: "user.steer";
1586
2624
  event_id: string;
@@ -1613,6 +2651,27 @@ export declare function createAgent(transport: Transport): {
1613
2651
  type: "url";
1614
2652
  name: string;
1615
2653
  url: string;
2654
+ headers?: {
2655
+ [key: string]: string;
2656
+ };
2657
+ timeout_ms?: number;
2658
+ } | {
2659
+ type: "sse";
2660
+ name: string;
2661
+ url: string;
2662
+ headers?: {
2663
+ [key: string]: string;
2664
+ };
2665
+ timeout_ms?: number;
2666
+ } | {
2667
+ type: "stdio";
2668
+ name: string;
2669
+ command: string;
2670
+ args?: Array<string>;
2671
+ env?: {
2672
+ [key: string]: string;
2673
+ };
2674
+ timeout_ms?: number;
1616
2675
  }>;
1617
2676
  model: {
1618
2677
  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 +2689,7 @@ export declare function createAgent(transport: Transport): {
1630
2689
  inference_geo?: string;
1631
2690
  speed?: "standard" | "fast";
1632
2691
  settings?: {
1633
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2692
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1634
2693
  };
1635
2694
  };
1636
2695
  multiagent: null | {
@@ -1644,6 +2703,27 @@ export declare function createAgent(transport: Transport): {
1644
2703
  type: "url";
1645
2704
  name: string;
1646
2705
  url: string;
2706
+ headers?: {
2707
+ [key: string]: string;
2708
+ };
2709
+ timeout_ms?: number;
2710
+ } | {
2711
+ type: "sse";
2712
+ name: string;
2713
+ url: string;
2714
+ headers?: {
2715
+ [key: string]: string;
2716
+ };
2717
+ timeout_ms?: number;
2718
+ } | {
2719
+ type: "stdio";
2720
+ name: string;
2721
+ command: string;
2722
+ args?: Array<string>;
2723
+ env?: {
2724
+ [key: string]: string;
2725
+ };
2726
+ timeout_ms?: number;
1647
2727
  }>;
1648
2728
  model: {
1649
2729
  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 +3152,20 @@ export declare function createAgent(transport: Transport): {
2072
3152
  model?: {
2073
3153
  id: string;
2074
3154
  thinking: {
2075
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3155
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2076
3156
  can_disable: boolean;
2077
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3157
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2078
3158
  } | null;
2079
3159
  };
2080
3160
  thinking?: {
2081
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3161
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2082
3162
  } | null;
2083
3163
  forked_from?: {
2084
3164
  session_id: string;
2085
3165
  message_id: string;
2086
3166
  } | null;
3167
+ readonly external_user_id: string | null;
3168
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2087
3169
  }>;
2088
3170
  list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
2089
3171
  data: Array<{
@@ -2098,7 +3180,7 @@ export declare function createAgent(transport: Transport): {
2098
3180
  inference_geo?: string;
2099
3181
  speed?: "standard" | "fast";
2100
3182
  settings?: {
2101
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3183
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2102
3184
  };
2103
3185
  };
2104
3186
  multiagent: null | Types.AgentManaged171;
@@ -2129,18 +3211,20 @@ export declare function createAgent(transport: Transport): {
2129
3211
  model?: {
2130
3212
  id: string;
2131
3213
  thinking: {
2132
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3214
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2133
3215
  can_disable: boolean;
2134
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3216
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2135
3217
  } | null;
2136
3218
  };
2137
3219
  thinking?: {
2138
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3220
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2139
3221
  } | null;
2140
3222
  forked_from?: {
2141
3223
  session_id: string;
2142
3224
  message_id: string;
2143
3225
  } | null;
3226
+ readonly external_user_id: string | null;
3227
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2144
3228
  }>;
2145
3229
  next_page: string | null;
2146
3230
  }>;
@@ -2173,7 +3257,7 @@ export declare function createAgent(transport: Transport): {
2173
3257
  inference_geo?: string;
2174
3258
  speed?: "standard" | "fast";
2175
3259
  settings?: {
2176
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3260
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2177
3261
  };
2178
3262
  };
2179
3263
  multiagent: null | Types.AgentManaged171;
@@ -2204,18 +3288,20 @@ export declare function createAgent(transport: Transport): {
2204
3288
  model?: {
2205
3289
  id: string;
2206
3290
  thinking: {
2207
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3291
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2208
3292
  can_disable: boolean;
2209
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3293
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2210
3294
  } | null;
2211
3295
  };
2212
3296
  thinking?: {
2213
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3297
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2214
3298
  } | null;
2215
3299
  forked_from?: {
2216
3300
  session_id: string;
2217
3301
  message_id: string;
2218
3302
  } | null;
3303
+ readonly external_user_id: string | null;
3304
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2219
3305
  }>;
2220
3306
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
2221
3307
  type: "session_compaction";
@@ -2230,9 +3316,9 @@ export declare function createAgent(transport: Transport): {
2230
3316
  id: string;
2231
3317
  display_name: string;
2232
3318
  thinking: {
2233
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3319
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2234
3320
  can_disable: boolean;
2235
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3321
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2236
3322
  } | null;
2237
3323
  };
2238
3324
  total_tokens: number | null;
@@ -2311,6 +3397,12 @@ export declare function createAgent(transport: Transport): {
2311
3397
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2312
3398
  type: "user.message";
2313
3399
  processed_at?: null | string;
3400
+ praxis_context?: {
3401
+ items: Array<{
3402
+ name: string;
3403
+ value: string;
3404
+ }>;
3405
+ };
2314
3406
  message_id?: string;
2315
3407
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
2316
3408
  id: string;
@@ -2360,6 +3452,10 @@ export declare function createAgent(transport: Transport): {
2360
3452
  };
2361
3453
  };
2362
3454
  source?: "app" | "codemode";
3455
+ title?: string;
3456
+ input_titles?: {
3457
+ [key: string]: string;
3458
+ };
2363
3459
  } | {
2364
3460
  id: string;
2365
3461
  mcp_tool_use_id: string;
@@ -2499,7 +3595,7 @@ export declare function createAgent(transport: Transport): {
2499
3595
  inference_geo?: string;
2500
3596
  speed?: "standard" | "fast";
2501
3597
  settings?: {
2502
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3598
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2503
3599
  };
2504
3600
  };
2505
3601
  multiagent: null | Types.AgentManaged171;
@@ -2530,19 +3626,40 @@ export declare function createAgent(transport: Transport): {
2530
3626
  model?: {
2531
3627
  id: string;
2532
3628
  thinking: {
2533
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3629
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2534
3630
  can_disable: boolean;
2535
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3631
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2536
3632
  } | null;
2537
3633
  };
2538
3634
  thinking?: {
2539
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3635
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2540
3636
  } | null;
2541
3637
  forked_from?: {
2542
3638
  session_id: string;
2543
3639
  message_id: string;
2544
3640
  } | null;
3641
+ readonly external_user_id: string | null;
3642
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3643
+ }>;
3644
+ };
3645
+ skills: {
3646
+ create: (options: import("./core/transport.js").CallOptions<Types.SkillsCreateData>) => Promise<Types.AgentManaged308>;
3647
+ delete: (options: import("./core/transport.js").CallOptions<Types.SkillsDeleteData>) => Promise<Types.AgentManaged310>;
3648
+ list: (options?: import("./core/transport.js").CallOptions<Types.SkillsListData> | undefined) => Promise<{
3649
+ data: Array<Types.AgentManaged308>;
3650
+ next_page: string | null;
2545
3651
  }>;
3652
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsRetrieveData>) => Promise<Types.AgentManaged308>;
3653
+ versions: {
3654
+ create: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsCreateData>) => Promise<Types.AgentManaged311>;
3655
+ delete: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDeleteData>) => Promise<Types.AgentManaged312>;
3656
+ list: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsListData>) => Promise<{
3657
+ data: Array<Types.AgentManaged311>;
3658
+ next_page: string | null;
3659
+ }>;
3660
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsRetrieveData>) => Promise<Types.AgentManaged311>;
3661
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDownloadData>) => Promise<Blob | File>;
3662
+ };
2546
3663
  };
2547
3664
  toolsets: {
2548
3665
  list: (options?: import("./core/transport.js").CallOptions<Types.ListToolsetsData> | undefined) => Promise<{
@@ -2616,6 +3733,11 @@ export declare function createApplication(transport: Transport): {
2616
3733
  };
2617
3734
  update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
2618
3735
  versions: {
3736
+ assets: {
3737
+ retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
3738
+ manifest: Types.ApplicationAssetManifest;
3739
+ }>;
3740
+ };
2619
3741
  create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
2620
3742
  list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
2621
3743
  retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
@@ -2869,6 +3991,14 @@ export declare function createFile(transport: Transport): {
2869
3991
  retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
2870
3992
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
2871
3993
  };
3994
+ uploads: {
3995
+ cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3996
+ complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3997
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3998
+ parts: {
3999
+ create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4000
+ };
4001
+ };
2872
4002
  };
2873
4003
  export declare function createKnowledge(transport: Transport): {
2874
4004
  vectorStores: {
@@ -3571,9 +4701,142 @@ export declare function createOrganization(transport: Transport): {
3571
4701
  }>;
3572
4702
  };
3573
4703
  feedback: {
4704
+ counts: {
4705
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackCountsData> | undefined) => Promise<{
4706
+ object: "feedback.counts";
4707
+ open: number;
4708
+ awaiting_customer: number;
4709
+ in_progress: number;
4710
+ resolved: number;
4711
+ closed: number;
4712
+ total: number;
4713
+ }>;
4714
+ };
3574
4715
  create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
3575
4716
  id: string;
3576
4717
  }>;
4718
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackData> | undefined) => Promise<{
4719
+ object: "page";
4720
+ data: Array<{
4721
+ object: "feedback";
4722
+ id: string;
4723
+ title?: string | null;
4724
+ type?: string | null;
4725
+ message: string;
4726
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4727
+ status: "unresolved" | "resolved" | "ignored";
4728
+ source: "console" | "api" | "codemode";
4729
+ url?: string | null;
4730
+ first_response_due_time?: string | null;
4731
+ first_response_time?: string | null;
4732
+ last_message_time: string;
4733
+ unread: boolean;
4734
+ create_time: string;
4735
+ update_time: string;
4736
+ reporter?: {
4737
+ type?: "user" | "api_key" | "agent_session";
4738
+ };
4739
+ last_message_preview?: {
4740
+ author_kind?: "customer" | "staff" | "system";
4741
+ body?: string;
4742
+ create_time?: string;
4743
+ } | null;
4744
+ attachments: Array<{
4745
+ id?: string;
4746
+ name?: string;
4747
+ content_type?: string;
4748
+ size?: number;
4749
+ create_time?: string;
4750
+ }>;
4751
+ }>;
4752
+ has_more: boolean;
4753
+ next_page: string | null;
4754
+ }>;
4755
+ messages: {
4756
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackMessageData>) => Promise<{
4757
+ object: "feedback.message";
4758
+ id: string;
4759
+ feedback_id: string;
4760
+ author: {
4761
+ kind?: "customer" | "staff" | "system";
4762
+ name?: string;
4763
+ };
4764
+ body: string;
4765
+ event?: {
4766
+ type?: "phase_changed" | "assigned";
4767
+ from?: string | null;
4768
+ to?: string | null;
4769
+ } | null;
4770
+ attachments: Array<{
4771
+ id?: string;
4772
+ name?: string;
4773
+ content_type?: string;
4774
+ size?: number;
4775
+ create_time?: string;
4776
+ }>;
4777
+ create_time: string;
4778
+ }>;
4779
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackMessagesData>) => Promise<{
4780
+ object: "page";
4781
+ data: Array<{
4782
+ object: "feedback.message";
4783
+ id: string;
4784
+ feedback_id: string;
4785
+ author: {
4786
+ kind?: "customer" | "staff" | "system";
4787
+ name?: string;
4788
+ };
4789
+ body: string;
4790
+ event?: {
4791
+ type?: "phase_changed" | "assigned";
4792
+ from?: string | null;
4793
+ to?: string | null;
4794
+ } | null;
4795
+ attachments: Array<{
4796
+ id?: string;
4797
+ name?: string;
4798
+ content_type?: string;
4799
+ size?: number;
4800
+ create_time?: string;
4801
+ }>;
4802
+ create_time: string;
4803
+ }>;
4804
+ has_more: boolean;
4805
+ next_page: string | null;
4806
+ }>;
4807
+ };
4808
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackData>) => Promise<{
4809
+ object: "feedback";
4810
+ id: string;
4811
+ title?: string | null;
4812
+ type?: string | null;
4813
+ message: string;
4814
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4815
+ status: "unresolved" | "resolved" | "ignored";
4816
+ source: "console" | "api" | "codemode";
4817
+ url?: string | null;
4818
+ first_response_due_time?: string | null;
4819
+ first_response_time?: string | null;
4820
+ last_message_time: string;
4821
+ unread: boolean;
4822
+ create_time: string;
4823
+ update_time: string;
4824
+ reporter?: {
4825
+ type?: "user" | "api_key" | "agent_session";
4826
+ };
4827
+ last_message_preview?: {
4828
+ author_kind?: "customer" | "staff" | "system";
4829
+ body?: string;
4830
+ create_time?: string;
4831
+ } | null;
4832
+ attachments: Array<{
4833
+ id?: string;
4834
+ name?: string;
4835
+ content_type?: string;
4836
+ size?: number;
4837
+ create_time?: string;
4838
+ }>;
4839
+ }>;
3577
4840
  };
3578
4841
  usage: {
3579
4842
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -3779,6 +5042,120 @@ export declare function createSearch(transport: Transport): {
3779
5042
  }>;
3780
5043
  };
3781
5044
  };
5045
+ export declare function createTicket(transport: Transport): {
5046
+ activity: {
5047
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
5048
+ activity: Array<Types.TicketActivity>;
5049
+ next_page_token: string;
5050
+ }>;
5051
+ };
5052
+ comments: {
5053
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
5054
+ reactions: {
5055
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
5056
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
5057
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
5058
+ reactions: Array<Types.TicketReaction>;
5059
+ next_page_token: string;
5060
+ }>;
5061
+ };
5062
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
5063
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
5064
+ };
5065
+ labels: {
5066
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
5067
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
5068
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
5069
+ labels: Array<Types.TicketLabel>;
5070
+ next_page_token: string;
5071
+ }>;
5072
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
5073
+ };
5074
+ milestones: {
5075
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
5076
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
5077
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
5078
+ milestones: Array<Types.TicketMilestone>;
5079
+ next_page_token: string;
5080
+ }>;
5081
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
5082
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
5083
+ };
5084
+ repositories: {
5085
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
5086
+ repositories: Array<Types.TicketRepository>;
5087
+ next_page_token: string;
5088
+ }>;
5089
+ };
5090
+ tickets: {
5091
+ comments: {
5092
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
5093
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
5094
+ comments: Array<Types.TicketComment>;
5095
+ next_page_token: string;
5096
+ }>;
5097
+ };
5098
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
5099
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
5100
+ dependencies: {
5101
+ blockedBy: {
5102
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
5103
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
5104
+ };
5105
+ retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
5106
+ tickets: Array<Types.TicketRecord>;
5107
+ next_page_token: string;
5108
+ }>;
5109
+ retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
5110
+ tickets: Array<Types.TicketRecord>;
5111
+ next_page_token: string;
5112
+ }>;
5113
+ };
5114
+ events: {
5115
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
5116
+ events: Array<Types.TicketEvent>;
5117
+ next_page_token: string;
5118
+ }>;
5119
+ };
5120
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
5121
+ tickets: Array<Types.TicketRecord>;
5122
+ next_page_token: string;
5123
+ total_size?: number;
5124
+ }>;
5125
+ reactions: {
5126
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
5127
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
5128
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
5129
+ reactions: Array<Types.TicketReaction>;
5130
+ next_page_token: string;
5131
+ }>;
5132
+ };
5133
+ relations: {
5134
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
5135
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
5136
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
5137
+ tickets: Array<Types.TicketRecord>;
5138
+ next_page_token: string;
5139
+ }>;
5140
+ };
5141
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
5142
+ subTickets: {
5143
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
5144
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
5145
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
5146
+ tickets: Array<Types.TicketRecord>;
5147
+ next_page_token: string;
5148
+ }>;
5149
+ };
5150
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
5151
+ updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
5152
+ };
5153
+ types: {
5154
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
5155
+ types: Array<Types.TicketType>;
5156
+ }>;
5157
+ };
5158
+ };
3782
5159
  export declare function createVault(transport: Transport): {
3783
5160
  authorizations: {
3784
5161
  create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
@@ -3848,5 +5225,6 @@ export declare const resourceFactories: {
3848
5225
  organization: typeof createOrganization;
3849
5226
  sandbox: typeof createSandbox;
3850
5227
  search: typeof createSearch;
5228
+ ticket: typeof createTicket;
3851
5229
  vault: typeof createVault;
3852
5230
  };