@deepraxis/sdk 0.1.0-dev.9d9e2b6 → 0.1.0-dev.c01abef
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.
- package/METHODS.md +91 -1
- package/dist/core/client.d.ts +9 -1
- package/dist/core/client.js +6 -0
- package/dist/core/transport.d.ts +5 -0
- package/dist/core/transport.js +6 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +172 -28
- package/dist/generated/sdk.gen.js +422 -55
- package/dist/generated/types.gen.d.ts +5789 -2096
- package/dist/helpers/application-publish.d.ts +24 -4
- package/dist/helpers/application-publish.js +53 -3
- package/dist/helpers/database-count.d.ts +17 -0
- package/dist/helpers/database-count.js +11 -0
- package/dist/helpers/file-upload.d.ts +24 -0
- package/dist/helpers/file-upload.js +113 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +503 -30
- package/dist/operations.generated.js +622 -37
- package/dist/resources.generated.d.ts +742 -1
- package/dist/resources.generated.js +48 -0
- package/package.json +1 -1
|
@@ -27,6 +27,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
27
27
|
type: "agent";
|
|
28
28
|
updated_at: string;
|
|
29
29
|
version: number;
|
|
30
|
+
databases: Array<{
|
|
31
|
+
id: string;
|
|
32
|
+
access: "read_only" | "read_write";
|
|
33
|
+
instructions?: string;
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
vector_stores: Array<{
|
|
37
|
+
id: string;
|
|
38
|
+
access: "read_only" | "read_write";
|
|
39
|
+
instructions?: string;
|
|
40
|
+
enabled?: boolean;
|
|
41
|
+
}>;
|
|
42
|
+
files: Array<{
|
|
43
|
+
id: string;
|
|
44
|
+
access: "read_only";
|
|
45
|
+
instructions?: string;
|
|
46
|
+
enabled?: boolean;
|
|
47
|
+
}>;
|
|
30
48
|
kind: "personal" | "service";
|
|
31
49
|
computer_id?: string;
|
|
32
50
|
subagent_model?: string | null;
|
|
@@ -132,6 +150,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
132
150
|
models?: {
|
|
133
151
|
allowed: Array<string>;
|
|
134
152
|
};
|
|
153
|
+
status: "active" | "archived";
|
|
135
154
|
}>;
|
|
136
155
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
137
156
|
id: string;
|
|
@@ -157,6 +176,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
157
176
|
type: "agent";
|
|
158
177
|
updated_at: string;
|
|
159
178
|
version: number;
|
|
179
|
+
databases: Array<{
|
|
180
|
+
id: string;
|
|
181
|
+
access: "read_only" | "read_write";
|
|
182
|
+
instructions?: string;
|
|
183
|
+
enabled?: boolean;
|
|
184
|
+
}>;
|
|
185
|
+
vector_stores: Array<{
|
|
186
|
+
id: string;
|
|
187
|
+
access: "read_only" | "read_write";
|
|
188
|
+
instructions?: string;
|
|
189
|
+
enabled?: boolean;
|
|
190
|
+
}>;
|
|
191
|
+
files: Array<{
|
|
192
|
+
id: string;
|
|
193
|
+
access: "read_only";
|
|
194
|
+
instructions?: string;
|
|
195
|
+
enabled?: boolean;
|
|
196
|
+
}>;
|
|
160
197
|
kind: "personal" | "service";
|
|
161
198
|
computer_id?: string;
|
|
162
199
|
subagent_model?: string | null;
|
|
@@ -262,7 +299,80 @@ export declare function createAgent(transport: Transport): {
|
|
|
262
299
|
models?: {
|
|
263
300
|
allowed: Array<string>;
|
|
264
301
|
};
|
|
302
|
+
status: "active" | "archived";
|
|
265
303
|
}>;
|
|
304
|
+
endUsers: {
|
|
305
|
+
block: {
|
|
306
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
|
|
307
|
+
external_user_id: string;
|
|
308
|
+
first_seen_at: string | null;
|
|
309
|
+
last_active_at: string | null;
|
|
310
|
+
session_count: number;
|
|
311
|
+
cost_micro_usd: number;
|
|
312
|
+
blocked: boolean;
|
|
313
|
+
}>;
|
|
314
|
+
};
|
|
315
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
|
|
316
|
+
id: string;
|
|
317
|
+
status: "pending";
|
|
318
|
+
}>;
|
|
319
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
|
|
320
|
+
data: Array<{
|
|
321
|
+
external_user_id: string;
|
|
322
|
+
first_seen_at: string | null;
|
|
323
|
+
last_active_at: string | null;
|
|
324
|
+
session_count: number;
|
|
325
|
+
cost_micro_usd: number;
|
|
326
|
+
blocked: boolean;
|
|
327
|
+
}>;
|
|
328
|
+
next_page: string | null;
|
|
329
|
+
}>;
|
|
330
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
|
|
331
|
+
external_user_id: string;
|
|
332
|
+
first_seen_at: string | null;
|
|
333
|
+
last_active_at: string | null;
|
|
334
|
+
session_count: number;
|
|
335
|
+
cost_micro_usd: number;
|
|
336
|
+
blocked: boolean;
|
|
337
|
+
recent_sessions: Array<{
|
|
338
|
+
id: string;
|
|
339
|
+
title: string | null;
|
|
340
|
+
source: string | null;
|
|
341
|
+
created_at: string;
|
|
342
|
+
updated_at: string;
|
|
343
|
+
}>;
|
|
344
|
+
}>;
|
|
345
|
+
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
|
|
346
|
+
id: string;
|
|
347
|
+
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
348
|
+
counts: {
|
|
349
|
+
sessions?: number;
|
|
350
|
+
events?: number;
|
|
351
|
+
messages?: number;
|
|
352
|
+
d1_rows?: number;
|
|
353
|
+
attachments?: number;
|
|
354
|
+
};
|
|
355
|
+
snapshot_key?: string;
|
|
356
|
+
error?: string;
|
|
357
|
+
created_at: string;
|
|
358
|
+
updated_at: string;
|
|
359
|
+
}>;
|
|
360
|
+
revokeTokens: {
|
|
361
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
|
|
362
|
+
revoked: number;
|
|
363
|
+
}>;
|
|
364
|
+
};
|
|
365
|
+
unblock: {
|
|
366
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
|
|
367
|
+
external_user_id: string;
|
|
368
|
+
first_seen_at: string | null;
|
|
369
|
+
last_active_at: string | null;
|
|
370
|
+
session_count: number;
|
|
371
|
+
cost_micro_usd: number;
|
|
372
|
+
blocked: boolean;
|
|
373
|
+
}>;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
266
376
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
267
377
|
data: Array<{
|
|
268
378
|
id: string;
|
|
@@ -288,6 +398,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
288
398
|
type: "agent";
|
|
289
399
|
updated_at: string;
|
|
290
400
|
version: number;
|
|
401
|
+
databases: Array<{
|
|
402
|
+
id: string;
|
|
403
|
+
access: "read_only" | "read_write";
|
|
404
|
+
instructions?: string;
|
|
405
|
+
enabled?: boolean;
|
|
406
|
+
}>;
|
|
407
|
+
vector_stores: Array<{
|
|
408
|
+
id: string;
|
|
409
|
+
access: "read_only" | "read_write";
|
|
410
|
+
instructions?: string;
|
|
411
|
+
enabled?: boolean;
|
|
412
|
+
}>;
|
|
413
|
+
files: Array<{
|
|
414
|
+
id: string;
|
|
415
|
+
access: "read_only";
|
|
416
|
+
instructions?: string;
|
|
417
|
+
enabled?: boolean;
|
|
418
|
+
}>;
|
|
291
419
|
kind: "personal" | "service";
|
|
292
420
|
computer_id?: string;
|
|
293
421
|
subagent_model?: string | null;
|
|
@@ -393,6 +521,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
393
521
|
models?: {
|
|
394
522
|
allowed: Array<string>;
|
|
395
523
|
};
|
|
524
|
+
status: "active" | "archived";
|
|
396
525
|
}>;
|
|
397
526
|
next_page: string | null;
|
|
398
527
|
}>;
|
|
@@ -420,6 +549,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
420
549
|
type: "agent";
|
|
421
550
|
updated_at: string;
|
|
422
551
|
version: number;
|
|
552
|
+
databases: Array<{
|
|
553
|
+
id: string;
|
|
554
|
+
access: "read_only" | "read_write";
|
|
555
|
+
instructions?: string;
|
|
556
|
+
enabled?: boolean;
|
|
557
|
+
}>;
|
|
558
|
+
vector_stores: Array<{
|
|
559
|
+
id: string;
|
|
560
|
+
access: "read_only" | "read_write";
|
|
561
|
+
instructions?: string;
|
|
562
|
+
enabled?: boolean;
|
|
563
|
+
}>;
|
|
564
|
+
files: Array<{
|
|
565
|
+
id: string;
|
|
566
|
+
access: "read_only";
|
|
567
|
+
instructions?: string;
|
|
568
|
+
enabled?: boolean;
|
|
569
|
+
}>;
|
|
423
570
|
kind: "personal" | "service";
|
|
424
571
|
computer_id?: string;
|
|
425
572
|
subagent_model?: string | null;
|
|
@@ -525,7 +672,361 @@ export declare function createAgent(transport: Transport): {
|
|
|
525
672
|
models?: {
|
|
526
673
|
allowed: Array<string>;
|
|
527
674
|
};
|
|
675
|
+
status: "active" | "archived";
|
|
528
676
|
}>;
|
|
677
|
+
unarchive: {
|
|
678
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
679
|
+
id: string;
|
|
680
|
+
archived_at: null | string;
|
|
681
|
+
created_at: string;
|
|
682
|
+
description: null | string;
|
|
683
|
+
mcp_servers: Array<{
|
|
684
|
+
type: "url";
|
|
685
|
+
name: string;
|
|
686
|
+
url: string;
|
|
687
|
+
headers?: {
|
|
688
|
+
[key: string]: string;
|
|
689
|
+
};
|
|
690
|
+
timeout_ms?: number;
|
|
691
|
+
} | {
|
|
692
|
+
type: "sse";
|
|
693
|
+
name: string;
|
|
694
|
+
url: string;
|
|
695
|
+
headers?: {
|
|
696
|
+
[key: string]: string;
|
|
697
|
+
};
|
|
698
|
+
timeout_ms?: number;
|
|
699
|
+
} | {
|
|
700
|
+
type: "stdio";
|
|
701
|
+
name: string;
|
|
702
|
+
command: string;
|
|
703
|
+
args?: Array<string>;
|
|
704
|
+
env?: {
|
|
705
|
+
[key: string]: string;
|
|
706
|
+
};
|
|
707
|
+
timeout_ms?: number;
|
|
708
|
+
}>;
|
|
709
|
+
metadata: {
|
|
710
|
+
[key: string]: string;
|
|
711
|
+
};
|
|
712
|
+
model: {
|
|
713
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
714
|
+
effort?: {
|
|
715
|
+
type: "low";
|
|
716
|
+
} | {
|
|
717
|
+
type: "medium";
|
|
718
|
+
} | {
|
|
719
|
+
type: "high";
|
|
720
|
+
} | {
|
|
721
|
+
type: "xhigh";
|
|
722
|
+
} | {
|
|
723
|
+
type: "max";
|
|
724
|
+
};
|
|
725
|
+
inference_geo?: string;
|
|
726
|
+
speed?: "standard" | "fast";
|
|
727
|
+
settings?: {
|
|
728
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
multiagent: null | {
|
|
732
|
+
agents: Array<{
|
|
733
|
+
id: string;
|
|
734
|
+
type: "agent";
|
|
735
|
+
version: number;
|
|
736
|
+
} | {
|
|
737
|
+
model: string;
|
|
738
|
+
type: "advisor";
|
|
739
|
+
}>;
|
|
740
|
+
type: "coordinator";
|
|
741
|
+
};
|
|
742
|
+
name: string;
|
|
743
|
+
skills: Array<{
|
|
744
|
+
skill_id: string;
|
|
745
|
+
type: "anthropic";
|
|
746
|
+
version: string;
|
|
747
|
+
} | {
|
|
748
|
+
skill_id: string;
|
|
749
|
+
type: "custom";
|
|
750
|
+
version: string;
|
|
751
|
+
}>;
|
|
752
|
+
system: null | string;
|
|
753
|
+
tools: Array<{
|
|
754
|
+
configs: Array<{
|
|
755
|
+
enabled: boolean;
|
|
756
|
+
name: "bash";
|
|
757
|
+
permission_policy: {
|
|
758
|
+
type: "always_allow";
|
|
759
|
+
} | {
|
|
760
|
+
type: "always_ask";
|
|
761
|
+
} | {
|
|
762
|
+
type: "auto";
|
|
763
|
+
};
|
|
764
|
+
type: "bash";
|
|
765
|
+
} | {
|
|
766
|
+
enabled: boolean;
|
|
767
|
+
name: "edit";
|
|
768
|
+
permission_policy: {
|
|
769
|
+
type: "always_allow";
|
|
770
|
+
} | {
|
|
771
|
+
type: "always_ask";
|
|
772
|
+
} | {
|
|
773
|
+
type: "auto";
|
|
774
|
+
};
|
|
775
|
+
type: "edit";
|
|
776
|
+
} | {
|
|
777
|
+
enabled: boolean;
|
|
778
|
+
name: "read";
|
|
779
|
+
permission_policy: {
|
|
780
|
+
type: "always_allow";
|
|
781
|
+
} | {
|
|
782
|
+
type: "always_ask";
|
|
783
|
+
} | {
|
|
784
|
+
type: "auto";
|
|
785
|
+
};
|
|
786
|
+
type: "read";
|
|
787
|
+
} | {
|
|
788
|
+
enabled: boolean;
|
|
789
|
+
name: "write";
|
|
790
|
+
permission_policy: {
|
|
791
|
+
type: "always_allow";
|
|
792
|
+
} | {
|
|
793
|
+
type: "always_ask";
|
|
794
|
+
} | {
|
|
795
|
+
type: "auto";
|
|
796
|
+
};
|
|
797
|
+
type: "write";
|
|
798
|
+
} | {
|
|
799
|
+
enabled: boolean;
|
|
800
|
+
name: "glob";
|
|
801
|
+
permission_policy: {
|
|
802
|
+
type: "always_allow";
|
|
803
|
+
} | {
|
|
804
|
+
type: "always_ask";
|
|
805
|
+
} | {
|
|
806
|
+
type: "auto";
|
|
807
|
+
};
|
|
808
|
+
type: "glob";
|
|
809
|
+
} | {
|
|
810
|
+
enabled: boolean;
|
|
811
|
+
name: "grep";
|
|
812
|
+
permission_policy: {
|
|
813
|
+
type: "always_allow";
|
|
814
|
+
} | {
|
|
815
|
+
type: "always_ask";
|
|
816
|
+
} | {
|
|
817
|
+
type: "auto";
|
|
818
|
+
};
|
|
819
|
+
type: "grep";
|
|
820
|
+
} | {
|
|
821
|
+
enabled: boolean;
|
|
822
|
+
name: "web_fetch";
|
|
823
|
+
permission_policy: {
|
|
824
|
+
type: "always_allow";
|
|
825
|
+
} | {
|
|
826
|
+
type: "always_ask";
|
|
827
|
+
} | {
|
|
828
|
+
type: "auto";
|
|
829
|
+
};
|
|
830
|
+
type: "web_fetch";
|
|
831
|
+
allowed_domains?: Array<string>;
|
|
832
|
+
blocked_domains?: Array<string>;
|
|
833
|
+
max_content_tokens?: null | number;
|
|
834
|
+
} | {
|
|
835
|
+
enabled: boolean;
|
|
836
|
+
name: "web_search";
|
|
837
|
+
permission_policy: {
|
|
838
|
+
type: "always_allow";
|
|
839
|
+
} | {
|
|
840
|
+
type: "always_ask";
|
|
841
|
+
} | {
|
|
842
|
+
type: "auto";
|
|
843
|
+
};
|
|
844
|
+
type: "web_search";
|
|
845
|
+
allowed_domains?: Array<string>;
|
|
846
|
+
blocked_domains?: Array<string>;
|
|
847
|
+
user_location?: null | {
|
|
848
|
+
type: "approximate";
|
|
849
|
+
city?: null | string;
|
|
850
|
+
country?: null | string;
|
|
851
|
+
region?: null | string;
|
|
852
|
+
timezone?: null | string;
|
|
853
|
+
};
|
|
854
|
+
} | {
|
|
855
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
856
|
+
enabled: boolean;
|
|
857
|
+
permission_policy: {
|
|
858
|
+
type: "always_allow" | "always_ask";
|
|
859
|
+
};
|
|
860
|
+
}>;
|
|
861
|
+
default_config: {
|
|
862
|
+
enabled: boolean;
|
|
863
|
+
permission_policy: {
|
|
864
|
+
type: "always_allow";
|
|
865
|
+
} | {
|
|
866
|
+
type: "always_ask";
|
|
867
|
+
} | {
|
|
868
|
+
type: "auto";
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
type: "agent_toolset_20260401";
|
|
872
|
+
} | {
|
|
873
|
+
type: "mcp_toolset";
|
|
874
|
+
mcp_server_name: string;
|
|
875
|
+
default_config?: {
|
|
876
|
+
enabled?: boolean | null;
|
|
877
|
+
permission_policy?: null | {
|
|
878
|
+
type: "always_allow" | "always_ask";
|
|
879
|
+
};
|
|
880
|
+
} | null;
|
|
881
|
+
configs?: Array<{
|
|
882
|
+
name: string;
|
|
883
|
+
enabled?: boolean | null;
|
|
884
|
+
permission_policy?: null | {
|
|
885
|
+
type: "always_allow" | "always_ask";
|
|
886
|
+
};
|
|
887
|
+
}> | null;
|
|
888
|
+
} | {
|
|
889
|
+
description: string;
|
|
890
|
+
input_schema: {
|
|
891
|
+
type: "object";
|
|
892
|
+
properties?: null | {
|
|
893
|
+
[key: string]: unknown;
|
|
894
|
+
};
|
|
895
|
+
required?: null | Array<string>;
|
|
896
|
+
[key: string]: unknown;
|
|
897
|
+
};
|
|
898
|
+
name: string;
|
|
899
|
+
type: "custom";
|
|
900
|
+
}>;
|
|
901
|
+
type: "agent";
|
|
902
|
+
updated_at: string;
|
|
903
|
+
version: number;
|
|
904
|
+
databases: Array<{
|
|
905
|
+
id: string;
|
|
906
|
+
access: "read_only" | "read_write";
|
|
907
|
+
instructions?: string;
|
|
908
|
+
enabled?: boolean;
|
|
909
|
+
}>;
|
|
910
|
+
vector_stores: Array<{
|
|
911
|
+
id: string;
|
|
912
|
+
access: "read_only" | "read_write";
|
|
913
|
+
instructions?: string;
|
|
914
|
+
enabled?: boolean;
|
|
915
|
+
}>;
|
|
916
|
+
files: Array<{
|
|
917
|
+
id: string;
|
|
918
|
+
access: "read_only";
|
|
919
|
+
instructions?: string;
|
|
920
|
+
enabled?: boolean;
|
|
921
|
+
}>;
|
|
922
|
+
kind: "personal" | "service";
|
|
923
|
+
computer_id?: string;
|
|
924
|
+
subagent_model?: string | null;
|
|
925
|
+
subagents?: Array<{
|
|
926
|
+
name: string;
|
|
927
|
+
description: string;
|
|
928
|
+
prompt: string;
|
|
929
|
+
tools?: Array<string>;
|
|
930
|
+
disallowed_tools?: Array<string>;
|
|
931
|
+
model?: string;
|
|
932
|
+
}> | null;
|
|
933
|
+
commands?: Array<{
|
|
934
|
+
name: string;
|
|
935
|
+
description?: string;
|
|
936
|
+
argument_hint?: string;
|
|
937
|
+
prompt: string;
|
|
938
|
+
}> | null;
|
|
939
|
+
settings?: {
|
|
940
|
+
hooks?: {
|
|
941
|
+
SessionStart?: Array<{
|
|
942
|
+
matcher?: string;
|
|
943
|
+
hooks: Array<{
|
|
944
|
+
type: "command";
|
|
945
|
+
command: string;
|
|
946
|
+
timeout?: number;
|
|
947
|
+
async?: boolean;
|
|
948
|
+
enabled?: boolean;
|
|
949
|
+
}>;
|
|
950
|
+
}>;
|
|
951
|
+
UserPromptSubmit?: Array<{
|
|
952
|
+
matcher?: string;
|
|
953
|
+
hooks: Array<{
|
|
954
|
+
type: "command";
|
|
955
|
+
command: string;
|
|
956
|
+
timeout?: number;
|
|
957
|
+
async?: boolean;
|
|
958
|
+
enabled?: boolean;
|
|
959
|
+
}>;
|
|
960
|
+
}>;
|
|
961
|
+
PreToolUse?: Array<{
|
|
962
|
+
matcher?: string;
|
|
963
|
+
hooks: Array<{
|
|
964
|
+
type: "command";
|
|
965
|
+
command: string;
|
|
966
|
+
timeout?: number;
|
|
967
|
+
async?: boolean;
|
|
968
|
+
enabled?: boolean;
|
|
969
|
+
}>;
|
|
970
|
+
}>;
|
|
971
|
+
PermissionRequest?: Array<{
|
|
972
|
+
matcher?: string;
|
|
973
|
+
hooks: Array<{
|
|
974
|
+
type: "command";
|
|
975
|
+
command: string;
|
|
976
|
+
timeout?: number;
|
|
977
|
+
async?: boolean;
|
|
978
|
+
enabled?: boolean;
|
|
979
|
+
}>;
|
|
980
|
+
}>;
|
|
981
|
+
PostToolUse?: Array<{
|
|
982
|
+
matcher?: string;
|
|
983
|
+
hooks: Array<{
|
|
984
|
+
type: "command";
|
|
985
|
+
command: string;
|
|
986
|
+
timeout?: number;
|
|
987
|
+
async?: boolean;
|
|
988
|
+
enabled?: boolean;
|
|
989
|
+
}>;
|
|
990
|
+
}>;
|
|
991
|
+
PostToolUseFailure?: Array<{
|
|
992
|
+
matcher?: string;
|
|
993
|
+
hooks: Array<{
|
|
994
|
+
type: "command";
|
|
995
|
+
command: string;
|
|
996
|
+
timeout?: number;
|
|
997
|
+
async?: boolean;
|
|
998
|
+
enabled?: boolean;
|
|
999
|
+
}>;
|
|
1000
|
+
}>;
|
|
1001
|
+
Stop?: Array<{
|
|
1002
|
+
matcher?: string;
|
|
1003
|
+
hooks: Array<{
|
|
1004
|
+
type: "command";
|
|
1005
|
+
command: string;
|
|
1006
|
+
timeout?: number;
|
|
1007
|
+
async?: boolean;
|
|
1008
|
+
enabled?: boolean;
|
|
1009
|
+
}>;
|
|
1010
|
+
}>;
|
|
1011
|
+
};
|
|
1012
|
+
allowManagedHooksOnly?: boolean;
|
|
1013
|
+
allowManagedMcpServersOnly?: boolean;
|
|
1014
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
1015
|
+
autoMemoryEnabled?: boolean;
|
|
1016
|
+
disabled?: {
|
|
1017
|
+
subagents?: Array<string>;
|
|
1018
|
+
commands?: Array<string>;
|
|
1019
|
+
skills?: Array<string>;
|
|
1020
|
+
mcpServers?: Array<string>;
|
|
1021
|
+
hooks?: Array<string>;
|
|
1022
|
+
};
|
|
1023
|
+
} | null;
|
|
1024
|
+
models?: {
|
|
1025
|
+
allowed: Array<string>;
|
|
1026
|
+
};
|
|
1027
|
+
status: "active" | "archived";
|
|
1028
|
+
}>;
|
|
1029
|
+
};
|
|
529
1030
|
update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
|
|
530
1031
|
id: string;
|
|
531
1032
|
archived_at: null | string;
|
|
@@ -550,6 +1051,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
550
1051
|
type: "agent";
|
|
551
1052
|
updated_at: string;
|
|
552
1053
|
version: number;
|
|
1054
|
+
databases: Array<{
|
|
1055
|
+
id: string;
|
|
1056
|
+
access: "read_only" | "read_write";
|
|
1057
|
+
instructions?: string;
|
|
1058
|
+
enabled?: boolean;
|
|
1059
|
+
}>;
|
|
1060
|
+
vector_stores: Array<{
|
|
1061
|
+
id: string;
|
|
1062
|
+
access: "read_only" | "read_write";
|
|
1063
|
+
instructions?: string;
|
|
1064
|
+
enabled?: boolean;
|
|
1065
|
+
}>;
|
|
1066
|
+
files: Array<{
|
|
1067
|
+
id: string;
|
|
1068
|
+
access: "read_only";
|
|
1069
|
+
instructions?: string;
|
|
1070
|
+
enabled?: boolean;
|
|
1071
|
+
}>;
|
|
553
1072
|
kind: "personal" | "service";
|
|
554
1073
|
computer_id?: string;
|
|
555
1074
|
subagent_model?: string | null;
|
|
@@ -655,6 +1174,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
655
1174
|
models?: {
|
|
656
1175
|
allowed: Array<string>;
|
|
657
1176
|
};
|
|
1177
|
+
status: "active" | "archived";
|
|
658
1178
|
}>;
|
|
659
1179
|
versions: {
|
|
660
1180
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
@@ -682,6 +1202,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
682
1202
|
type: "agent";
|
|
683
1203
|
updated_at: string;
|
|
684
1204
|
version: number;
|
|
1205
|
+
databases: Array<{
|
|
1206
|
+
id: string;
|
|
1207
|
+
access: "read_only" | "read_write";
|
|
1208
|
+
instructions?: string;
|
|
1209
|
+
enabled?: boolean;
|
|
1210
|
+
}>;
|
|
1211
|
+
vector_stores: Array<{
|
|
1212
|
+
id: string;
|
|
1213
|
+
access: "read_only" | "read_write";
|
|
1214
|
+
instructions?: string;
|
|
1215
|
+
enabled?: boolean;
|
|
1216
|
+
}>;
|
|
1217
|
+
files: Array<{
|
|
1218
|
+
id: string;
|
|
1219
|
+
access: "read_only";
|
|
1220
|
+
instructions?: string;
|
|
1221
|
+
enabled?: boolean;
|
|
1222
|
+
}>;
|
|
685
1223
|
kind: "personal" | "service";
|
|
686
1224
|
computer_id?: string;
|
|
687
1225
|
subagent_model?: string | null;
|
|
@@ -787,6 +1325,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
787
1325
|
models?: {
|
|
788
1326
|
allowed: Array<string>;
|
|
789
1327
|
};
|
|
1328
|
+
status: "active" | "archived";
|
|
790
1329
|
}>;
|
|
791
1330
|
next_page: string | null;
|
|
792
1331
|
}>;
|
|
@@ -798,6 +1337,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
798
1337
|
id: string;
|
|
799
1338
|
name: string;
|
|
800
1339
|
sandbox_id: string | null;
|
|
1340
|
+
machine_state: "not_started" | "provisioned";
|
|
801
1341
|
environment_id: string | null;
|
|
802
1342
|
status: "active" | "archived";
|
|
803
1343
|
created_at: string;
|
|
@@ -820,12 +1360,16 @@ export declare function createAgent(transport: Transport): {
|
|
|
820
1360
|
sandbox_id: string;
|
|
821
1361
|
envd_access_token: string;
|
|
822
1362
|
template_id: string;
|
|
1363
|
+
tier: "light" | "heavy";
|
|
1364
|
+
lease_id: string | null;
|
|
1365
|
+
lease_expires_at: string | null;
|
|
823
1366
|
}>;
|
|
824
1367
|
create: (options: import("./core/transport.js").CallOptions<Types.ComputersCreateData>) => Promise<{
|
|
825
1368
|
type: "computer";
|
|
826
1369
|
id: string;
|
|
827
1370
|
name: string;
|
|
828
1371
|
sandbox_id: string | null;
|
|
1372
|
+
machine_state: "not_started" | "provisioned";
|
|
829
1373
|
environment_id: string | null;
|
|
830
1374
|
status: "active" | "archived";
|
|
831
1375
|
created_at: string;
|
|
@@ -849,15 +1393,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
849
1393
|
updated_at: string | null;
|
|
850
1394
|
}>;
|
|
851
1395
|
has_more: false;
|
|
1396
|
+
tier: "light" | "heavy";
|
|
852
1397
|
}>;
|
|
853
1398
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
854
1399
|
};
|
|
1400
|
+
leases: {
|
|
1401
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
1402
|
+
id: string;
|
|
1403
|
+
type: "computer_lease_released";
|
|
1404
|
+
}>;
|
|
1405
|
+
renew: {
|
|
1406
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenewComputerLeaseData>) => Promise<{
|
|
1407
|
+
lease_id: string;
|
|
1408
|
+
lease_expires_at: string;
|
|
1409
|
+
}>;
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
855
1412
|
list: (options?: import("./core/transport.js").CallOptions<Types.ComputersListData> | undefined) => Promise<{
|
|
856
1413
|
data: Array<{
|
|
857
1414
|
type: "computer";
|
|
858
1415
|
id: string;
|
|
859
1416
|
name: string;
|
|
860
1417
|
sandbox_id: string | null;
|
|
1418
|
+
machine_state: "not_started" | "provisioned";
|
|
861
1419
|
environment_id: string | null;
|
|
862
1420
|
status: "active" | "archived";
|
|
863
1421
|
created_at: string;
|
|
@@ -872,6 +1430,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
872
1430
|
id: string;
|
|
873
1431
|
name: string;
|
|
874
1432
|
sandbox_id: string | null;
|
|
1433
|
+
machine_state: "not_started" | "provisioned";
|
|
875
1434
|
environment_id: string | null;
|
|
876
1435
|
status: "active" | "archived";
|
|
877
1436
|
created_at: string;
|
|
@@ -880,12 +1439,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
880
1439
|
implementation: "virtual" | "sandbox";
|
|
881
1440
|
storage_bytes: number;
|
|
882
1441
|
file_count: number;
|
|
1442
|
+
stats_complete: boolean;
|
|
883
1443
|
}>;
|
|
884
1444
|
update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
|
|
885
1445
|
type: "computer";
|
|
886
1446
|
id: string;
|
|
887
1447
|
name: string;
|
|
888
1448
|
sandbox_id: string | null;
|
|
1449
|
+
machine_state: "not_started" | "provisioned";
|
|
889
1450
|
environment_id: string | null;
|
|
890
1451
|
status: "active" | "archived";
|
|
891
1452
|
created_at: string;
|
|
@@ -1169,8 +1730,68 @@ export declare function createAgent(transport: Transport): {
|
|
|
1169
1730
|
};
|
|
1170
1731
|
}>;
|
|
1171
1732
|
};
|
|
1733
|
+
embed: {
|
|
1734
|
+
exchange: {
|
|
1735
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
|
|
1736
|
+
token: string;
|
|
1737
|
+
expires_at: string;
|
|
1738
|
+
}>;
|
|
1739
|
+
};
|
|
1740
|
+
retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
|
|
1741
|
+
agent?: {
|
|
1742
|
+
name?: string;
|
|
1743
|
+
avatar?: string;
|
|
1744
|
+
};
|
|
1745
|
+
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
1746
|
+
launcher?: {
|
|
1747
|
+
type: "none" | "bubble" | "mascot";
|
|
1748
|
+
image?: string;
|
|
1749
|
+
position?: "bottom-right" | "bottom-left";
|
|
1750
|
+
label?: string;
|
|
1751
|
+
};
|
|
1752
|
+
header?: {
|
|
1753
|
+
title?: string;
|
|
1754
|
+
subtitle?: string;
|
|
1755
|
+
icon?: string;
|
|
1756
|
+
};
|
|
1757
|
+
theme?: {
|
|
1758
|
+
colorScheme?: "light" | "dark" | "system";
|
|
1759
|
+
accent?: string;
|
|
1760
|
+
surface?: string;
|
|
1761
|
+
grayscale?: "neutral" | "warm" | "cool";
|
|
1762
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
1763
|
+
density?: "compact" | "normal" | "spacious";
|
|
1764
|
+
fontFamily?: string;
|
|
1765
|
+
fontSize?: number;
|
|
1766
|
+
};
|
|
1767
|
+
locale?: "zh" | "en";
|
|
1768
|
+
startScreen?: {
|
|
1769
|
+
greeting?: string;
|
|
1770
|
+
prompts?: Array<{
|
|
1771
|
+
label: string;
|
|
1772
|
+
prompt: string;
|
|
1773
|
+
}>;
|
|
1774
|
+
};
|
|
1775
|
+
composer?: {
|
|
1776
|
+
placeholder?: string;
|
|
1777
|
+
};
|
|
1778
|
+
disclaimer?: string;
|
|
1779
|
+
footer?: string;
|
|
1780
|
+
history?: {
|
|
1781
|
+
enabled?: boolean;
|
|
1782
|
+
};
|
|
1783
|
+
}>;
|
|
1784
|
+
};
|
|
1172
1785
|
embedTokens: {
|
|
1786
|
+
anonymous: {
|
|
1787
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
|
|
1788
|
+
token: string;
|
|
1789
|
+
expires_at: string;
|
|
1790
|
+
visitor_secret?: string;
|
|
1791
|
+
}>;
|
|
1792
|
+
};
|
|
1173
1793
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
1794
|
+
hosted_url?: string;
|
|
1174
1795
|
id: string;
|
|
1175
1796
|
token: string;
|
|
1176
1797
|
expires_at: string;
|
|
@@ -1277,6 +1898,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1277
1898
|
session_id: string;
|
|
1278
1899
|
message_id: string;
|
|
1279
1900
|
} | null;
|
|
1901
|
+
readonly external_user_id: string | null;
|
|
1902
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
1280
1903
|
}>;
|
|
1281
1904
|
backgroundTasks: {
|
|
1282
1905
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
|
|
@@ -1396,7 +2019,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
1396
2019
|
session_id: string;
|
|
1397
2020
|
message_id: string;
|
|
1398
2021
|
} | null;
|
|
2022
|
+
readonly external_user_id: string | null;
|
|
2023
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
1399
2024
|
}>;
|
|
2025
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
1400
2026
|
events: {
|
|
1401
2027
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
1402
2028
|
data: Array<{
|
|
@@ -1404,6 +2030,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1404
2030
|
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
1405
2031
|
type: "user.message";
|
|
1406
2032
|
processed_at?: null | string;
|
|
2033
|
+
praxis_context?: {
|
|
2034
|
+
items: Array<{
|
|
2035
|
+
name: string;
|
|
2036
|
+
value: string;
|
|
2037
|
+
}>;
|
|
2038
|
+
};
|
|
1407
2039
|
message_id?: string;
|
|
1408
2040
|
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
1409
2041
|
id: string;
|
|
@@ -1584,7 +2216,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
1584
2216
|
next_page: string | null;
|
|
1585
2217
|
}>;
|
|
1586
2218
|
send: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsSendData>) => Promise<{
|
|
1587
|
-
data?: Array<
|
|
2219
|
+
data?: Array<{
|
|
2220
|
+
id: string;
|
|
2221
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
2222
|
+
type: "user.message";
|
|
2223
|
+
processed_at?: null | string;
|
|
2224
|
+
praxis_context?: {
|
|
2225
|
+
items: Array<{
|
|
2226
|
+
name: string;
|
|
2227
|
+
value: string;
|
|
2228
|
+
}>;
|
|
2229
|
+
};
|
|
2230
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
|
|
1588
2231
|
id: string;
|
|
1589
2232
|
type: "user.steer";
|
|
1590
2233
|
event_id: string;
|
|
@@ -1617,6 +2260,27 @@ export declare function createAgent(transport: Transport): {
|
|
|
1617
2260
|
type: "url";
|
|
1618
2261
|
name: string;
|
|
1619
2262
|
url: string;
|
|
2263
|
+
headers?: {
|
|
2264
|
+
[key: string]: string;
|
|
2265
|
+
};
|
|
2266
|
+
timeout_ms?: number;
|
|
2267
|
+
} | {
|
|
2268
|
+
type: "sse";
|
|
2269
|
+
name: string;
|
|
2270
|
+
url: string;
|
|
2271
|
+
headers?: {
|
|
2272
|
+
[key: string]: string;
|
|
2273
|
+
};
|
|
2274
|
+
timeout_ms?: number;
|
|
2275
|
+
} | {
|
|
2276
|
+
type: "stdio";
|
|
2277
|
+
name: string;
|
|
2278
|
+
command: string;
|
|
2279
|
+
args?: Array<string>;
|
|
2280
|
+
env?: {
|
|
2281
|
+
[key: string]: string;
|
|
2282
|
+
};
|
|
2283
|
+
timeout_ms?: number;
|
|
1620
2284
|
}>;
|
|
1621
2285
|
model: {
|
|
1622
2286
|
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
@@ -1648,6 +2312,27 @@ export declare function createAgent(transport: Transport): {
|
|
|
1648
2312
|
type: "url";
|
|
1649
2313
|
name: string;
|
|
1650
2314
|
url: string;
|
|
2315
|
+
headers?: {
|
|
2316
|
+
[key: string]: string;
|
|
2317
|
+
};
|
|
2318
|
+
timeout_ms?: number;
|
|
2319
|
+
} | {
|
|
2320
|
+
type: "sse";
|
|
2321
|
+
name: string;
|
|
2322
|
+
url: string;
|
|
2323
|
+
headers?: {
|
|
2324
|
+
[key: string]: string;
|
|
2325
|
+
};
|
|
2326
|
+
timeout_ms?: number;
|
|
2327
|
+
} | {
|
|
2328
|
+
type: "stdio";
|
|
2329
|
+
name: string;
|
|
2330
|
+
command: string;
|
|
2331
|
+
args?: Array<string>;
|
|
2332
|
+
env?: {
|
|
2333
|
+
[key: string]: string;
|
|
2334
|
+
};
|
|
2335
|
+
timeout_ms?: number;
|
|
1651
2336
|
}>;
|
|
1652
2337
|
model: {
|
|
1653
2338
|
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
@@ -2088,6 +2773,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2088
2773
|
session_id: string;
|
|
2089
2774
|
message_id: string;
|
|
2090
2775
|
} | null;
|
|
2776
|
+
readonly external_user_id: string | null;
|
|
2777
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2091
2778
|
}>;
|
|
2092
2779
|
list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
|
|
2093
2780
|
data: Array<{
|
|
@@ -2145,6 +2832,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2145
2832
|
session_id: string;
|
|
2146
2833
|
message_id: string;
|
|
2147
2834
|
} | null;
|
|
2835
|
+
readonly external_user_id: string | null;
|
|
2836
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2148
2837
|
}>;
|
|
2149
2838
|
next_page: string | null;
|
|
2150
2839
|
}>;
|
|
@@ -2220,6 +2909,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2220
2909
|
session_id: string;
|
|
2221
2910
|
message_id: string;
|
|
2222
2911
|
} | null;
|
|
2912
|
+
readonly external_user_id: string | null;
|
|
2913
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2223
2914
|
}>;
|
|
2224
2915
|
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
2225
2916
|
type: "session_compaction";
|
|
@@ -2315,6 +3006,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2315
3006
|
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
2316
3007
|
type: "user.message";
|
|
2317
3008
|
processed_at?: null | string;
|
|
3009
|
+
praxis_context?: {
|
|
3010
|
+
items: Array<{
|
|
3011
|
+
name: string;
|
|
3012
|
+
value: string;
|
|
3013
|
+
}>;
|
|
3014
|
+
};
|
|
2318
3015
|
message_id?: string;
|
|
2319
3016
|
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
2320
3017
|
id: string;
|
|
@@ -2550,6 +3247,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2550
3247
|
session_id: string;
|
|
2551
3248
|
message_id: string;
|
|
2552
3249
|
} | null;
|
|
3250
|
+
readonly external_user_id: string | null;
|
|
3251
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2553
3252
|
}>;
|
|
2554
3253
|
};
|
|
2555
3254
|
toolsets: {
|
|
@@ -2624,6 +3323,11 @@ export declare function createApplication(transport: Transport): {
|
|
|
2624
3323
|
};
|
|
2625
3324
|
update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
|
|
2626
3325
|
versions: {
|
|
3326
|
+
assets: {
|
|
3327
|
+
retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
|
|
3328
|
+
manifest: Types.ApplicationAssetManifest;
|
|
3329
|
+
}>;
|
|
3330
|
+
};
|
|
2627
3331
|
create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
|
|
2628
3332
|
list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
|
|
2629
3333
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
|
|
@@ -2877,6 +3581,14 @@ export declare function createFile(transport: Transport): {
|
|
|
2877
3581
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
2878
3582
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
|
|
2879
3583
|
};
|
|
3584
|
+
uploads: {
|
|
3585
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3586
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3587
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3588
|
+
parts: {
|
|
3589
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
3590
|
+
};
|
|
3591
|
+
};
|
|
2880
3592
|
};
|
|
2881
3593
|
export declare function createKnowledge(transport: Transport): {
|
|
2882
3594
|
vectorStores: {
|
|
@@ -3579,6 +4291,17 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3579
4291
|
}>;
|
|
3580
4292
|
};
|
|
3581
4293
|
feedback: {
|
|
4294
|
+
counts: {
|
|
4295
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackCountsData> | undefined) => Promise<{
|
|
4296
|
+
object: "feedback.counts";
|
|
4297
|
+
open: number;
|
|
4298
|
+
awaiting_customer: number;
|
|
4299
|
+
in_progress: number;
|
|
4300
|
+
resolved: number;
|
|
4301
|
+
closed: number;
|
|
4302
|
+
total: number;
|
|
4303
|
+
}>;
|
|
4304
|
+
};
|
|
3582
4305
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
|
|
3583
4306
|
id: string;
|
|
3584
4307
|
}>;
|
|
@@ -3600,6 +4323,14 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3600
4323
|
unread: boolean;
|
|
3601
4324
|
create_time: string;
|
|
3602
4325
|
update_time: string;
|
|
4326
|
+
reporter?: {
|
|
4327
|
+
type?: "user" | "api_key" | "agent_session";
|
|
4328
|
+
};
|
|
4329
|
+
last_message_preview?: {
|
|
4330
|
+
author_kind?: "customer" | "staff" | "system";
|
|
4331
|
+
body?: string;
|
|
4332
|
+
create_time?: string;
|
|
4333
|
+
} | null;
|
|
3603
4334
|
attachments: Array<{
|
|
3604
4335
|
id?: string;
|
|
3605
4336
|
name?: string;
|
|
@@ -3618,6 +4349,7 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3618
4349
|
feedback_id: string;
|
|
3619
4350
|
author: {
|
|
3620
4351
|
kind?: "customer" | "staff" | "system";
|
|
4352
|
+
name?: string;
|
|
3621
4353
|
};
|
|
3622
4354
|
body: string;
|
|
3623
4355
|
event?: {
|
|
@@ -3642,6 +4374,7 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3642
4374
|
feedback_id: string;
|
|
3643
4375
|
author: {
|
|
3644
4376
|
kind?: "customer" | "staff" | "system";
|
|
4377
|
+
name?: string;
|
|
3645
4378
|
};
|
|
3646
4379
|
body: string;
|
|
3647
4380
|
event?: {
|
|
@@ -3678,6 +4411,14 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3678
4411
|
unread: boolean;
|
|
3679
4412
|
create_time: string;
|
|
3680
4413
|
update_time: string;
|
|
4414
|
+
reporter?: {
|
|
4415
|
+
type?: "user" | "api_key" | "agent_session";
|
|
4416
|
+
};
|
|
4417
|
+
last_message_preview?: {
|
|
4418
|
+
author_kind?: "customer" | "staff" | "system";
|
|
4419
|
+
body?: string;
|
|
4420
|
+
create_time?: string;
|
|
4421
|
+
} | null;
|
|
3681
4422
|
attachments: Array<{
|
|
3682
4423
|
id?: string;
|
|
3683
4424
|
name?: string;
|