@deepraxis/sdk 0.1.0-dev.fa57968 → 0.1.0-dev.ff6425a

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,82 @@ 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
+ pack?: {
2140
+ preset?: "mint" | "cat" | "bot";
2141
+ images?: {
2142
+ idle: string;
2143
+ greet?: string;
2144
+ listening?: string;
2145
+ thinking?: string;
2146
+ talking?: string;
2147
+ "talking-2"?: string;
2148
+ sorry?: string;
2149
+ sleep?: string;
2150
+ };
2151
+ };
2152
+ image?: string;
2153
+ motion?: "float" | "none";
2154
+ position?: "bottom-right" | "bottom-left";
2155
+ label?: string;
2156
+ };
2157
+ header?: {
2158
+ title?: string;
2159
+ subtitle?: string;
2160
+ icon?: string;
2161
+ };
2162
+ theme?: {
2163
+ colorScheme?: "light" | "dark" | "system";
2164
+ accent?: string;
2165
+ surface?: string;
2166
+ grayscale?: "neutral" | "warm" | "cool";
2167
+ radius?: "none" | "sm" | "md" | "lg" | "full";
2168
+ density?: "compact" | "normal" | "spacious";
2169
+ fontFamily?: string;
2170
+ fontSize?: number;
2171
+ };
2172
+ locale?: "zh" | "en";
2173
+ startScreen?: {
2174
+ greeting?: string;
2175
+ prompts?: Array<{
2176
+ label: string;
2177
+ prompt: string;
2178
+ }>;
2179
+ };
2180
+ composer?: {
2181
+ placeholder?: string;
2182
+ };
2183
+ disclaimer?: string;
2184
+ footer?: string;
2185
+ history?: {
2186
+ enabled?: boolean;
2187
+ };
2188
+ }>;
2189
+ };
1172
2190
  embedTokens: {
2191
+ anonymous: {
2192
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
2193
+ token: string;
2194
+ expires_at: string;
2195
+ visitor_secret?: string;
2196
+ }>;
2197
+ };
1173
2198
  create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
2199
+ hosted_url?: string;
1174
2200
  id: string;
1175
2201
  token: string;
1176
2202
  expires_at: string;
@@ -1234,7 +2260,7 @@ export declare function createAgent(transport: Transport): {
1234
2260
  inference_geo?: string;
1235
2261
  speed?: "standard" | "fast";
1236
2262
  settings?: {
1237
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2263
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1238
2264
  };
1239
2265
  };
1240
2266
  multiagent: null | Types.AgentManaged171;
@@ -1265,18 +2291,20 @@ export declare function createAgent(transport: Transport): {
1265
2291
  model?: {
1266
2292
  id: string;
1267
2293
  thinking: {
1268
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2294
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1269
2295
  can_disable: boolean;
1270
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2296
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1271
2297
  } | null;
1272
2298
  };
1273
2299
  thinking?: {
1274
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2300
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1275
2301
  } | null;
1276
2302
  forked_from?: {
1277
2303
  session_id: string;
1278
2304
  message_id: string;
1279
2305
  } | null;
2306
+ readonly external_user_id: string | null;
2307
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1280
2308
  }>;
1281
2309
  backgroundTasks: {
1282
2310
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
@@ -1353,7 +2381,7 @@ export declare function createAgent(transport: Transport): {
1353
2381
  inference_geo?: string;
1354
2382
  speed?: "standard" | "fast";
1355
2383
  settings?: {
1356
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2384
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1357
2385
  };
1358
2386
  };
1359
2387
  multiagent: null | Types.AgentManaged171;
@@ -1384,19 +2412,22 @@ export declare function createAgent(transport: Transport): {
1384
2412
  model?: {
1385
2413
  id: string;
1386
2414
  thinking: {
1387
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2415
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1388
2416
  can_disable: boolean;
1389
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2417
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1390
2418
  } | null;
1391
2419
  };
1392
2420
  thinking?: {
1393
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2421
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1394
2422
  } | null;
1395
2423
  forked_from?: {
1396
2424
  session_id: string;
1397
2425
  message_id: string;
1398
2426
  } | null;
2427
+ readonly external_user_id: string | null;
2428
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1399
2429
  }>;
2430
+ delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
1400
2431
  events: {
1401
2432
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
1402
2433
  data: Array<{
@@ -1404,6 +2435,12 @@ export declare function createAgent(transport: Transport): {
1404
2435
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
1405
2436
  type: "user.message";
1406
2437
  processed_at?: null | string;
2438
+ praxis_context?: {
2439
+ items: Array<{
2440
+ name: string;
2441
+ value: string;
2442
+ }>;
2443
+ };
1407
2444
  message_id?: string;
1408
2445
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
1409
2446
  id: string;
@@ -1453,6 +2490,10 @@ export declare function createAgent(transport: Transport): {
1453
2490
  };
1454
2491
  source?: "app" | "codemode";
1455
2492
  parent_tool_use_id?: string;
2493
+ title?: string;
2494
+ input_titles?: {
2495
+ [key: string]: string;
2496
+ };
1456
2497
  } | {
1457
2498
  id: string;
1458
2499
  mcp_tool_use_id: string;
@@ -1580,7 +2621,18 @@ export declare function createAgent(transport: Transport): {
1580
2621
  next_page: string | null;
1581
2622
  }>;
1582
2623
  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 | {
2624
+ data?: Array<{
2625
+ id: string;
2626
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2627
+ type: "user.message";
2628
+ processed_at?: null | string;
2629
+ praxis_context?: {
2630
+ items: Array<{
2631
+ name: string;
2632
+ value: string;
2633
+ }>;
2634
+ };
2635
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
1584
2636
  id: string;
1585
2637
  type: "user.steer";
1586
2638
  event_id: string;
@@ -1613,6 +2665,27 @@ export declare function createAgent(transport: Transport): {
1613
2665
  type: "url";
1614
2666
  name: string;
1615
2667
  url: string;
2668
+ headers?: {
2669
+ [key: string]: string;
2670
+ };
2671
+ timeout_ms?: number;
2672
+ } | {
2673
+ type: "sse";
2674
+ name: string;
2675
+ url: string;
2676
+ headers?: {
2677
+ [key: string]: string;
2678
+ };
2679
+ timeout_ms?: number;
2680
+ } | {
2681
+ type: "stdio";
2682
+ name: string;
2683
+ command: string;
2684
+ args?: Array<string>;
2685
+ env?: {
2686
+ [key: string]: string;
2687
+ };
2688
+ timeout_ms?: number;
1616
2689
  }>;
1617
2690
  model: {
1618
2691
  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 +2703,7 @@ export declare function createAgent(transport: Transport): {
1630
2703
  inference_geo?: string;
1631
2704
  speed?: "standard" | "fast";
1632
2705
  settings?: {
1633
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2706
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1634
2707
  };
1635
2708
  };
1636
2709
  multiagent: null | {
@@ -1644,6 +2717,27 @@ export declare function createAgent(transport: Transport): {
1644
2717
  type: "url";
1645
2718
  name: string;
1646
2719
  url: string;
2720
+ headers?: {
2721
+ [key: string]: string;
2722
+ };
2723
+ timeout_ms?: number;
2724
+ } | {
2725
+ type: "sse";
2726
+ name: string;
2727
+ url: string;
2728
+ headers?: {
2729
+ [key: string]: string;
2730
+ };
2731
+ timeout_ms?: number;
2732
+ } | {
2733
+ type: "stdio";
2734
+ name: string;
2735
+ command: string;
2736
+ args?: Array<string>;
2737
+ env?: {
2738
+ [key: string]: string;
2739
+ };
2740
+ timeout_ms?: number;
1647
2741
  }>;
1648
2742
  model: {
1649
2743
  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 +3166,20 @@ export declare function createAgent(transport: Transport): {
2072
3166
  model?: {
2073
3167
  id: string;
2074
3168
  thinking: {
2075
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3169
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2076
3170
  can_disable: boolean;
2077
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3171
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2078
3172
  } | null;
2079
3173
  };
2080
3174
  thinking?: {
2081
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3175
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2082
3176
  } | null;
2083
3177
  forked_from?: {
2084
3178
  session_id: string;
2085
3179
  message_id: string;
2086
3180
  } | null;
3181
+ readonly external_user_id: string | null;
3182
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2087
3183
  }>;
2088
3184
  list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
2089
3185
  data: Array<{
@@ -2098,7 +3194,7 @@ export declare function createAgent(transport: Transport): {
2098
3194
  inference_geo?: string;
2099
3195
  speed?: "standard" | "fast";
2100
3196
  settings?: {
2101
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3197
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2102
3198
  };
2103
3199
  };
2104
3200
  multiagent: null | Types.AgentManaged171;
@@ -2129,18 +3225,20 @@ export declare function createAgent(transport: Transport): {
2129
3225
  model?: {
2130
3226
  id: string;
2131
3227
  thinking: {
2132
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3228
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2133
3229
  can_disable: boolean;
2134
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3230
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2135
3231
  } | null;
2136
3232
  };
2137
3233
  thinking?: {
2138
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3234
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2139
3235
  } | null;
2140
3236
  forked_from?: {
2141
3237
  session_id: string;
2142
3238
  message_id: string;
2143
3239
  } | null;
3240
+ readonly external_user_id: string | null;
3241
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2144
3242
  }>;
2145
3243
  next_page: string | null;
2146
3244
  }>;
@@ -2173,7 +3271,7 @@ export declare function createAgent(transport: Transport): {
2173
3271
  inference_geo?: string;
2174
3272
  speed?: "standard" | "fast";
2175
3273
  settings?: {
2176
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3274
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2177
3275
  };
2178
3276
  };
2179
3277
  multiagent: null | Types.AgentManaged171;
@@ -2204,18 +3302,20 @@ export declare function createAgent(transport: Transport): {
2204
3302
  model?: {
2205
3303
  id: string;
2206
3304
  thinking: {
2207
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3305
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2208
3306
  can_disable: boolean;
2209
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3307
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2210
3308
  } | null;
2211
3309
  };
2212
3310
  thinking?: {
2213
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3311
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2214
3312
  } | null;
2215
3313
  forked_from?: {
2216
3314
  session_id: string;
2217
3315
  message_id: string;
2218
3316
  } | null;
3317
+ readonly external_user_id: string | null;
3318
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2219
3319
  }>;
2220
3320
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
2221
3321
  type: "session_compaction";
@@ -2230,9 +3330,9 @@ export declare function createAgent(transport: Transport): {
2230
3330
  id: string;
2231
3331
  display_name: string;
2232
3332
  thinking: {
2233
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3333
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2234
3334
  can_disable: boolean;
2235
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3335
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2236
3336
  } | null;
2237
3337
  };
2238
3338
  total_tokens: number | null;
@@ -2311,6 +3411,12 @@ export declare function createAgent(transport: Transport): {
2311
3411
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2312
3412
  type: "user.message";
2313
3413
  processed_at?: null | string;
3414
+ praxis_context?: {
3415
+ items: Array<{
3416
+ name: string;
3417
+ value: string;
3418
+ }>;
3419
+ };
2314
3420
  message_id?: string;
2315
3421
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
2316
3422
  id: string;
@@ -2360,6 +3466,10 @@ export declare function createAgent(transport: Transport): {
2360
3466
  };
2361
3467
  };
2362
3468
  source?: "app" | "codemode";
3469
+ title?: string;
3470
+ input_titles?: {
3471
+ [key: string]: string;
3472
+ };
2363
3473
  } | {
2364
3474
  id: string;
2365
3475
  mcp_tool_use_id: string;
@@ -2499,7 +3609,7 @@ export declare function createAgent(transport: Transport): {
2499
3609
  inference_geo?: string;
2500
3610
  speed?: "standard" | "fast";
2501
3611
  settings?: {
2502
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3612
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2503
3613
  };
2504
3614
  };
2505
3615
  multiagent: null | Types.AgentManaged171;
@@ -2530,19 +3640,40 @@ export declare function createAgent(transport: Transport): {
2530
3640
  model?: {
2531
3641
  id: string;
2532
3642
  thinking: {
2533
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3643
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2534
3644
  can_disable: boolean;
2535
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3645
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2536
3646
  } | null;
2537
3647
  };
2538
3648
  thinking?: {
2539
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3649
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2540
3650
  } | null;
2541
3651
  forked_from?: {
2542
3652
  session_id: string;
2543
3653
  message_id: string;
2544
3654
  } | null;
3655
+ readonly external_user_id: string | null;
3656
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3657
+ }>;
3658
+ };
3659
+ skills: {
3660
+ create: (options: import("./core/transport.js").CallOptions<Types.SkillsCreateData>) => Promise<Types.AgentManaged308>;
3661
+ delete: (options: import("./core/transport.js").CallOptions<Types.SkillsDeleteData>) => Promise<Types.AgentManaged310>;
3662
+ list: (options?: import("./core/transport.js").CallOptions<Types.SkillsListData> | undefined) => Promise<{
3663
+ data: Array<Types.AgentManaged308>;
3664
+ next_page: string | null;
2545
3665
  }>;
3666
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsRetrieveData>) => Promise<Types.AgentManaged308>;
3667
+ versions: {
3668
+ create: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsCreateData>) => Promise<Types.AgentManaged311>;
3669
+ delete: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDeleteData>) => Promise<Types.AgentManaged312>;
3670
+ list: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsListData>) => Promise<{
3671
+ data: Array<Types.AgentManaged311>;
3672
+ next_page: string | null;
3673
+ }>;
3674
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsRetrieveData>) => Promise<Types.AgentManaged311>;
3675
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDownloadData>) => Promise<Blob | File>;
3676
+ };
2546
3677
  };
2547
3678
  toolsets: {
2548
3679
  list: (options?: import("./core/transport.js").CallOptions<Types.ListToolsetsData> | undefined) => Promise<{
@@ -2616,6 +3747,11 @@ export declare function createApplication(transport: Transport): {
2616
3747
  };
2617
3748
  update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
2618
3749
  versions: {
3750
+ assets: {
3751
+ retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
3752
+ manifest: Types.ApplicationAssetManifest;
3753
+ }>;
3754
+ };
2619
3755
  create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
2620
3756
  list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
2621
3757
  retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
@@ -2869,6 +4005,14 @@ export declare function createFile(transport: Transport): {
2869
4005
  retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
2870
4006
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
2871
4007
  };
4008
+ uploads: {
4009
+ cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4010
+ complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4011
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4012
+ parts: {
4013
+ create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4014
+ };
4015
+ };
2872
4016
  };
2873
4017
  export declare function createKnowledge(transport: Transport): {
2874
4018
  vectorStores: {
@@ -3571,9 +4715,142 @@ export declare function createOrganization(transport: Transport): {
3571
4715
  }>;
3572
4716
  };
3573
4717
  feedback: {
4718
+ counts: {
4719
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackCountsData> | undefined) => Promise<{
4720
+ object: "feedback.counts";
4721
+ open: number;
4722
+ awaiting_customer: number;
4723
+ in_progress: number;
4724
+ resolved: number;
4725
+ closed: number;
4726
+ total: number;
4727
+ }>;
4728
+ };
3574
4729
  create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
3575
4730
  id: string;
3576
4731
  }>;
4732
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackData> | undefined) => Promise<{
4733
+ object: "page";
4734
+ data: Array<{
4735
+ object: "feedback";
4736
+ id: string;
4737
+ title?: string | null;
4738
+ type?: string | null;
4739
+ message: string;
4740
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4741
+ status: "unresolved" | "resolved" | "ignored";
4742
+ source: "console" | "api" | "codemode";
4743
+ url?: string | null;
4744
+ first_response_due_time?: string | null;
4745
+ first_response_time?: string | null;
4746
+ last_message_time: string;
4747
+ unread: boolean;
4748
+ create_time: string;
4749
+ update_time: string;
4750
+ reporter?: {
4751
+ type?: "user" | "api_key" | "agent_session";
4752
+ };
4753
+ last_message_preview?: {
4754
+ author_kind?: "customer" | "staff" | "system";
4755
+ body?: string;
4756
+ create_time?: string;
4757
+ } | null;
4758
+ attachments: Array<{
4759
+ id?: string;
4760
+ name?: string;
4761
+ content_type?: string;
4762
+ size?: number;
4763
+ create_time?: string;
4764
+ }>;
4765
+ }>;
4766
+ has_more: boolean;
4767
+ next_page: string | null;
4768
+ }>;
4769
+ messages: {
4770
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackMessageData>) => Promise<{
4771
+ object: "feedback.message";
4772
+ id: string;
4773
+ feedback_id: string;
4774
+ author: {
4775
+ kind?: "customer" | "staff" | "system";
4776
+ name?: string;
4777
+ };
4778
+ body: string;
4779
+ event?: {
4780
+ type?: "phase_changed" | "assigned";
4781
+ from?: string | null;
4782
+ to?: string | null;
4783
+ } | null;
4784
+ attachments: Array<{
4785
+ id?: string;
4786
+ name?: string;
4787
+ content_type?: string;
4788
+ size?: number;
4789
+ create_time?: string;
4790
+ }>;
4791
+ create_time: string;
4792
+ }>;
4793
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackMessagesData>) => Promise<{
4794
+ object: "page";
4795
+ data: Array<{
4796
+ object: "feedback.message";
4797
+ id: string;
4798
+ feedback_id: string;
4799
+ author: {
4800
+ kind?: "customer" | "staff" | "system";
4801
+ name?: string;
4802
+ };
4803
+ body: string;
4804
+ event?: {
4805
+ type?: "phase_changed" | "assigned";
4806
+ from?: string | null;
4807
+ to?: string | null;
4808
+ } | null;
4809
+ attachments: Array<{
4810
+ id?: string;
4811
+ name?: string;
4812
+ content_type?: string;
4813
+ size?: number;
4814
+ create_time?: string;
4815
+ }>;
4816
+ create_time: string;
4817
+ }>;
4818
+ has_more: boolean;
4819
+ next_page: string | null;
4820
+ }>;
4821
+ };
4822
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackData>) => Promise<{
4823
+ object: "feedback";
4824
+ id: string;
4825
+ title?: string | null;
4826
+ type?: string | null;
4827
+ message: string;
4828
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4829
+ status: "unresolved" | "resolved" | "ignored";
4830
+ source: "console" | "api" | "codemode";
4831
+ url?: string | null;
4832
+ first_response_due_time?: string | null;
4833
+ first_response_time?: string | null;
4834
+ last_message_time: string;
4835
+ unread: boolean;
4836
+ create_time: string;
4837
+ update_time: string;
4838
+ reporter?: {
4839
+ type?: "user" | "api_key" | "agent_session";
4840
+ };
4841
+ last_message_preview?: {
4842
+ author_kind?: "customer" | "staff" | "system";
4843
+ body?: string;
4844
+ create_time?: string;
4845
+ } | null;
4846
+ attachments: Array<{
4847
+ id?: string;
4848
+ name?: string;
4849
+ content_type?: string;
4850
+ size?: number;
4851
+ create_time?: string;
4852
+ }>;
4853
+ }>;
3577
4854
  };
3578
4855
  usage: {
3579
4856
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -3779,6 +5056,120 @@ export declare function createSearch(transport: Transport): {
3779
5056
  }>;
3780
5057
  };
3781
5058
  };
5059
+ export declare function createTicket(transport: Transport): {
5060
+ activity: {
5061
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
5062
+ activity: Array<Types.TicketActivity>;
5063
+ next_page_token: string;
5064
+ }>;
5065
+ };
5066
+ comments: {
5067
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
5068
+ reactions: {
5069
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
5070
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
5071
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
5072
+ reactions: Array<Types.TicketReaction>;
5073
+ next_page_token: string;
5074
+ }>;
5075
+ };
5076
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
5077
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
5078
+ };
5079
+ labels: {
5080
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
5081
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
5082
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
5083
+ labels: Array<Types.TicketLabel>;
5084
+ next_page_token: string;
5085
+ }>;
5086
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
5087
+ };
5088
+ milestones: {
5089
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
5090
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
5091
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
5092
+ milestones: Array<Types.TicketMilestone>;
5093
+ next_page_token: string;
5094
+ }>;
5095
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
5096
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
5097
+ };
5098
+ repositories: {
5099
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
5100
+ repositories: Array<Types.TicketRepository>;
5101
+ next_page_token: string;
5102
+ }>;
5103
+ };
5104
+ tickets: {
5105
+ comments: {
5106
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
5107
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
5108
+ comments: Array<Types.TicketComment>;
5109
+ next_page_token: string;
5110
+ }>;
5111
+ };
5112
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
5113
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
5114
+ dependencies: {
5115
+ blockedBy: {
5116
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
5117
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
5118
+ };
5119
+ retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
5120
+ tickets: Array<Types.TicketRecord>;
5121
+ next_page_token: string;
5122
+ }>;
5123
+ retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
5124
+ tickets: Array<Types.TicketRecord>;
5125
+ next_page_token: string;
5126
+ }>;
5127
+ };
5128
+ events: {
5129
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
5130
+ events: Array<Types.TicketEvent>;
5131
+ next_page_token: string;
5132
+ }>;
5133
+ };
5134
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
5135
+ tickets: Array<Types.TicketRecord>;
5136
+ next_page_token: string;
5137
+ total_size?: number;
5138
+ }>;
5139
+ reactions: {
5140
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
5141
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
5142
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
5143
+ reactions: Array<Types.TicketReaction>;
5144
+ next_page_token: string;
5145
+ }>;
5146
+ };
5147
+ relations: {
5148
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
5149
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
5150
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
5151
+ tickets: Array<Types.TicketRecord>;
5152
+ next_page_token: string;
5153
+ }>;
5154
+ };
5155
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
5156
+ subTickets: {
5157
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
5158
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
5159
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
5160
+ tickets: Array<Types.TicketRecord>;
5161
+ next_page_token: string;
5162
+ }>;
5163
+ };
5164
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
5165
+ updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
5166
+ };
5167
+ types: {
5168
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
5169
+ types: Array<Types.TicketType>;
5170
+ }>;
5171
+ };
5172
+ };
3782
5173
  export declare function createVault(transport: Transport): {
3783
5174
  authorizations: {
3784
5175
  create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
@@ -3848,5 +5239,6 @@ export declare const resourceFactories: {
3848
5239
  organization: typeof createOrganization;
3849
5240
  sandbox: typeof createSandbox;
3850
5241
  search: typeof createSearch;
5242
+ ticket: typeof createTicket;
3851
5243
  vault: typeof createVault;
3852
5244
  };