@sermas/api-client 1.0.0-alpha.46 → 1.0.0-alpha.48
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/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.d.cts +153 -72
- package/index.d.ts +153 -72
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -776,6 +776,49 @@ type DialogueMessageDto = {
|
|
|
776
776
|
*/
|
|
777
777
|
chunkId?: string;
|
|
778
778
|
};
|
|
779
|
+
type DialogueToolsRepositoryOptionsDto = {
|
|
780
|
+
/**
|
|
781
|
+
* Trigger one of the tools in the list once, then remove the tools.
|
|
782
|
+
*/
|
|
783
|
+
triggerOnce?: boolean;
|
|
784
|
+
};
|
|
785
|
+
type DialogueToolsRepositoryDto = {
|
|
786
|
+
appId: string;
|
|
787
|
+
/**
|
|
788
|
+
* Reference to the authenticated client the request originated from
|
|
789
|
+
*/
|
|
790
|
+
clientId?: string;
|
|
791
|
+
/**
|
|
792
|
+
* Reference to the user interacting with the system
|
|
793
|
+
*/
|
|
794
|
+
userId?: string;
|
|
795
|
+
/**
|
|
796
|
+
* Reference date
|
|
797
|
+
*/
|
|
798
|
+
ts?: string;
|
|
799
|
+
/**
|
|
800
|
+
* Track the interaction session, if available
|
|
801
|
+
*/
|
|
802
|
+
sessionId?: string;
|
|
803
|
+
/**
|
|
804
|
+
* Tool repository ID
|
|
805
|
+
*/
|
|
806
|
+
repositoryId?: string;
|
|
807
|
+
/**
|
|
808
|
+
* Tool repository options
|
|
809
|
+
*/
|
|
810
|
+
options?: DialogueToolsRepositoryOptionsDto;
|
|
811
|
+
/**
|
|
812
|
+
* Tools list
|
|
813
|
+
*/
|
|
814
|
+
tools: Array<AppToolsDTO>;
|
|
815
|
+
};
|
|
816
|
+
type SessionProperties = {
|
|
817
|
+
/**
|
|
818
|
+
* Reference to the current tool repository
|
|
819
|
+
*/
|
|
820
|
+
repositoryId?: string;
|
|
821
|
+
};
|
|
779
822
|
type SessionDto = {
|
|
780
823
|
appId: string;
|
|
781
824
|
/**
|
|
@@ -803,6 +846,7 @@ type SessionDto = {
|
|
|
803
846
|
createdAt: string;
|
|
804
847
|
closedAt: string;
|
|
805
848
|
settings?: AppSettingsDto;
|
|
849
|
+
properties?: SessionProperties;
|
|
806
850
|
};
|
|
807
851
|
type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
|
|
808
852
|
declare const AgentStatusEnum: {
|
|
@@ -894,6 +938,26 @@ type SessionStorageSearchDto = {
|
|
|
894
938
|
sessionId?: Array<string>;
|
|
895
939
|
storageId?: Array<string>;
|
|
896
940
|
};
|
|
941
|
+
type UIContentMetadataDto = {
|
|
942
|
+
/**
|
|
943
|
+
* Reference to a tool repository ID
|
|
944
|
+
*/
|
|
945
|
+
repositoryId?: string;
|
|
946
|
+
};
|
|
947
|
+
type UIContentOptionsDto = {
|
|
948
|
+
/**
|
|
949
|
+
* Clear the UI screen
|
|
950
|
+
*/
|
|
951
|
+
clearScreen?: boolean;
|
|
952
|
+
/**
|
|
953
|
+
* Enable agent reading the content (text to speech)
|
|
954
|
+
*/
|
|
955
|
+
ttsEnabled?: boolean;
|
|
956
|
+
/**
|
|
957
|
+
* Stop the agent speech
|
|
958
|
+
*/
|
|
959
|
+
stopSpeech?: boolean;
|
|
960
|
+
};
|
|
897
961
|
type SupportedContentTypes = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
|
|
898
962
|
declare const SupportedContentTypesEnum: {
|
|
899
963
|
readonly VIDEO: "video";
|
|
@@ -917,20 +981,6 @@ type ImageContentDto = {
|
|
|
917
981
|
height?: number;
|
|
918
982
|
alt: string;
|
|
919
983
|
};
|
|
920
|
-
type UIContentOptionsDto = {
|
|
921
|
-
/**
|
|
922
|
-
* Clear the UI screen
|
|
923
|
-
*/
|
|
924
|
-
clearScreen?: boolean;
|
|
925
|
-
/**
|
|
926
|
-
* Enable agent reading the content (text to speech)
|
|
927
|
-
*/
|
|
928
|
-
ttsEnabled?: boolean;
|
|
929
|
-
/**
|
|
930
|
-
* Stop the agent speech
|
|
931
|
-
*/
|
|
932
|
-
stopSpeech?: boolean;
|
|
933
|
-
};
|
|
934
984
|
type ImageUIContentDto = {
|
|
935
985
|
appId: string;
|
|
936
986
|
/**
|
|
@@ -951,8 +1001,8 @@ type ImageUIContentDto = {
|
|
|
951
1001
|
sessionId?: string;
|
|
952
1002
|
contentType: SupportedContentTypes;
|
|
953
1003
|
content: ImageContentDto;
|
|
954
|
-
metadata?: Record<string, unknown>;
|
|
955
|
-
options?: UIContentOptionsDto
|
|
1004
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1005
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
956
1006
|
/**
|
|
957
1007
|
* Unique sortable ID used to group and sort messages
|
|
958
1008
|
*/
|
|
@@ -991,8 +1041,8 @@ type VideoUIContentDto = {
|
|
|
991
1041
|
sessionId?: string;
|
|
992
1042
|
contentType: SupportedContentTypes;
|
|
993
1043
|
content: VideoContentDto;
|
|
994
|
-
metadata?: Record<string, unknown>;
|
|
995
|
-
options?: UIContentOptionsDto
|
|
1044
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1045
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
996
1046
|
/**
|
|
997
1047
|
* Unique sortable ID used to group and sort messages
|
|
998
1048
|
*/
|
|
@@ -1025,8 +1075,8 @@ type PdfUIContentDto = {
|
|
|
1025
1075
|
sessionId?: string;
|
|
1026
1076
|
contentType: SupportedContentTypes;
|
|
1027
1077
|
content: PdfContentDto;
|
|
1028
|
-
metadata?: Record<string, unknown>;
|
|
1029
|
-
options?: UIContentOptionsDto
|
|
1078
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1079
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1030
1080
|
/**
|
|
1031
1081
|
* Unique sortable ID used to group and sort messages
|
|
1032
1082
|
*/
|
|
@@ -1059,8 +1109,8 @@ type WebpageUIContentDto = {
|
|
|
1059
1109
|
sessionId?: string;
|
|
1060
1110
|
contentType: SupportedContentTypes;
|
|
1061
1111
|
content: WebpageContentDto;
|
|
1062
|
-
metadata?: Record<string, unknown>;
|
|
1063
|
-
options?: UIContentOptionsDto
|
|
1112
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1113
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1064
1114
|
/**
|
|
1065
1115
|
* Unique sortable ID used to group and sort messages
|
|
1066
1116
|
*/
|
|
@@ -1093,8 +1143,8 @@ type ObjectUIContentDto = {
|
|
|
1093
1143
|
sessionId?: string;
|
|
1094
1144
|
contentType: SupportedContentTypes;
|
|
1095
1145
|
content: ObjectContentDto;
|
|
1096
|
-
metadata?: Record<string, unknown>;
|
|
1097
|
-
options?: UIContentOptionsDto
|
|
1146
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1147
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1098
1148
|
/**
|
|
1099
1149
|
* Unique sortable ID used to group and sort messages
|
|
1100
1150
|
*/
|
|
@@ -1127,8 +1177,8 @@ type TextUIContentDto = {
|
|
|
1127
1177
|
sessionId?: string;
|
|
1128
1178
|
contentType: SupportedContentTypes;
|
|
1129
1179
|
content: TextContentDto;
|
|
1130
|
-
metadata?: Record<string, unknown>;
|
|
1131
|
-
options?: UIContentOptionsDto
|
|
1180
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1181
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1132
1182
|
/**
|
|
1133
1183
|
* Unique sortable ID used to group and sort messages
|
|
1134
1184
|
*/
|
|
@@ -1167,8 +1217,8 @@ type QuizUIContentDto = {
|
|
|
1167
1217
|
sessionId?: string;
|
|
1168
1218
|
contentType: SupportedContentTypes;
|
|
1169
1219
|
content: QuizContentDto;
|
|
1170
|
-
metadata?: Record<string, unknown>;
|
|
1171
|
-
options?: UIContentOptionsDto
|
|
1220
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1221
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1172
1222
|
/**
|
|
1173
1223
|
* Unique sortable ID used to group and sort messages
|
|
1174
1224
|
*/
|
|
@@ -1198,8 +1248,8 @@ type ClearUIContentDto = {
|
|
|
1198
1248
|
sessionId?: string;
|
|
1199
1249
|
contentType: SupportedContentTypes;
|
|
1200
1250
|
content: Record<string, unknown>;
|
|
1201
|
-
metadata?: Record<string, unknown>;
|
|
1202
|
-
options?: UIContentOptionsDto
|
|
1251
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1252
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1203
1253
|
/**
|
|
1204
1254
|
* Unique sortable ID used to group and sort messages
|
|
1205
1255
|
*/
|
|
@@ -1229,8 +1279,8 @@ type ClearScreenDto = {
|
|
|
1229
1279
|
sessionId?: string;
|
|
1230
1280
|
contentType: SupportedContentTypes;
|
|
1231
1281
|
content: Record<string, unknown>;
|
|
1232
|
-
metadata?: Record<string, unknown>;
|
|
1233
|
-
options?: UIContentOptionsDto
|
|
1282
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1283
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1234
1284
|
/**
|
|
1235
1285
|
* Unique sortable ID used to group and sort messages
|
|
1236
1286
|
*/
|
|
@@ -1271,8 +1321,8 @@ type ButtonsUIContentDto = {
|
|
|
1271
1321
|
sessionId?: string;
|
|
1272
1322
|
contentType: SupportedContentTypes;
|
|
1273
1323
|
content: ButtonsContentDto;
|
|
1274
|
-
metadata?: Record<string, unknown>;
|
|
1275
|
-
options?: UIContentOptionsDto
|
|
1324
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1325
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1276
1326
|
/**
|
|
1277
1327
|
* Unique sortable ID used to group and sort messages
|
|
1278
1328
|
*/
|
|
@@ -1302,8 +1352,8 @@ type DialogueMessageUIContentDto = {
|
|
|
1302
1352
|
sessionId?: string;
|
|
1303
1353
|
contentType: SupportedContentTypes;
|
|
1304
1354
|
content: DialogueMessageDto;
|
|
1305
|
-
metadata?: Record<string, unknown>;
|
|
1306
|
-
options?: UIContentOptionsDto
|
|
1355
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1356
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1307
1357
|
/**
|
|
1308
1358
|
* Unique sortable ID used to group and sort messages
|
|
1309
1359
|
*/
|
|
@@ -1337,8 +1387,8 @@ type LinkUIContentDto = {
|
|
|
1337
1387
|
sessionId?: string;
|
|
1338
1388
|
contentType: SupportedContentTypes;
|
|
1339
1389
|
content: LinkContentDto;
|
|
1340
|
-
metadata?: Record<string, unknown>;
|
|
1341
|
-
options?: UIContentOptionsDto
|
|
1390
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1391
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1342
1392
|
/**
|
|
1343
1393
|
* Unique sortable ID used to group and sort messages
|
|
1344
1394
|
*/
|
|
@@ -1371,8 +1421,8 @@ type HtmlUIContentDto = {
|
|
|
1371
1421
|
sessionId?: string;
|
|
1372
1422
|
contentType: SupportedContentTypes;
|
|
1373
1423
|
content: HtmlContentDto;
|
|
1374
|
-
metadata?: Record<string, unknown>;
|
|
1375
|
-
options?: UIContentOptionsDto
|
|
1424
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1425
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1376
1426
|
/**
|
|
1377
1427
|
* Unique sortable ID used to group and sort messages
|
|
1378
1428
|
*/
|
|
@@ -1406,8 +1456,8 @@ type EmailUIContentDto = {
|
|
|
1406
1456
|
sessionId?: string;
|
|
1407
1457
|
contentType: SupportedContentTypes;
|
|
1408
1458
|
content: EmailContentDto;
|
|
1409
|
-
metadata?: Record<string, unknown>;
|
|
1410
|
-
options?: UIContentOptionsDto
|
|
1459
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1460
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1411
1461
|
/**
|
|
1412
1462
|
* Unique sortable ID used to group and sort messages
|
|
1413
1463
|
*/
|
|
@@ -1447,8 +1497,8 @@ type UIContentDto = {
|
|
|
1447
1497
|
sessionId?: string;
|
|
1448
1498
|
contentType: SupportedContentTypes;
|
|
1449
1499
|
content: Record<string, unknown>;
|
|
1450
|
-
metadata?: Record<string, unknown>;
|
|
1451
|
-
options?: UIContentOptionsDto
|
|
1500
|
+
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1501
|
+
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1452
1502
|
/**
|
|
1453
1503
|
* Unique sortable ID used to group and sort messages
|
|
1454
1504
|
*/
|
|
@@ -1904,14 +1954,15 @@ type TDataStopAgentSpeech = {
|
|
|
1904
1954
|
sessionId: string;
|
|
1905
1955
|
};
|
|
1906
1956
|
type TDataSetTools = {
|
|
1907
|
-
|
|
1908
|
-
requestBody:
|
|
1909
|
-
sessionId: string;
|
|
1957
|
+
repositoryId: string;
|
|
1958
|
+
requestBody: DialogueToolsRepositoryDto;
|
|
1910
1959
|
};
|
|
1911
1960
|
type TDataAddTools = {
|
|
1912
|
-
|
|
1913
|
-
requestBody:
|
|
1914
|
-
|
|
1961
|
+
repositoryId: string;
|
|
1962
|
+
requestBody: DialogueToolsRepositoryDto;
|
|
1963
|
+
};
|
|
1964
|
+
type TDataRemoveRepository = {
|
|
1965
|
+
repositoryId: string;
|
|
1915
1966
|
};
|
|
1916
1967
|
declare class DialogueService {
|
|
1917
1968
|
readonly httpRequest: BaseHttpRequest;
|
|
@@ -1960,7 +2011,12 @@ declare class DialogueService {
|
|
|
1960
2011
|
*/
|
|
1961
2012
|
listModels(): CancelablePromise<any>;
|
|
1962
2013
|
/**
|
|
1963
|
-
*
|
|
2014
|
+
* @returns any
|
|
2015
|
+
* @throws ApiError
|
|
2016
|
+
*/
|
|
2017
|
+
import1(): CancelablePromise<any>;
|
|
2018
|
+
/**
|
|
2019
|
+
* Save tools, overwriting existing ones.
|
|
1964
2020
|
* @returns any
|
|
1965
2021
|
* @throws ApiError
|
|
1966
2022
|
*/
|
|
@@ -1972,10 +2028,11 @@ declare class DialogueService {
|
|
|
1972
2028
|
*/
|
|
1973
2029
|
addTools(data: TDataAddTools): CancelablePromise<any>;
|
|
1974
2030
|
/**
|
|
2031
|
+
* Remove a set of tools
|
|
1975
2032
|
* @returns any
|
|
1976
2033
|
* @throws ApiError
|
|
1977
2034
|
*/
|
|
1978
|
-
|
|
2035
|
+
removeRepository(data: TDataRemoveRepository): CancelablePromise<any>;
|
|
1979
2036
|
}
|
|
1980
2037
|
|
|
1981
2038
|
type TDataGetClientAccessToken = {
|
|
@@ -2626,6 +2683,7 @@ declare class Broker {
|
|
|
2626
2683
|
password: string;
|
|
2627
2684
|
params: Record<string, any>;
|
|
2628
2685
|
});
|
|
2686
|
+
reconnect(): Promise<void>;
|
|
2629
2687
|
disconnect(): Promise<void>;
|
|
2630
2688
|
setParams(params: Record<string, any>): void;
|
|
2631
2689
|
setToken(token: string): void;
|
|
@@ -2801,6 +2859,13 @@ interface NoiseEventDto {
|
|
|
2801
2859
|
level: string;
|
|
2802
2860
|
speakerId: string[];
|
|
2803
2861
|
}
|
|
2862
|
+
interface SermasSessionDto {
|
|
2863
|
+
appId: string;
|
|
2864
|
+
clientId?: string;
|
|
2865
|
+
userId?: string;
|
|
2866
|
+
ts?: string;
|
|
2867
|
+
sessionId?: string;
|
|
2868
|
+
}
|
|
2804
2869
|
interface DialogueToolTriggeredEventDto {
|
|
2805
2870
|
appId: string;
|
|
2806
2871
|
clientId?: string;
|
|
@@ -2810,21 +2875,27 @@ interface DialogueToolTriggeredEventDto {
|
|
|
2810
2875
|
name: string;
|
|
2811
2876
|
tool: AppToolsDTO;
|
|
2812
2877
|
}
|
|
2813
|
-
interface
|
|
2878
|
+
interface DialogueToolsRepositoryChanged {
|
|
2814
2879
|
appId: string;
|
|
2815
2880
|
clientId?: string;
|
|
2816
2881
|
userId?: string;
|
|
2817
2882
|
ts?: string;
|
|
2818
2883
|
operation: string;
|
|
2819
2884
|
sessionId?: string;
|
|
2820
|
-
record:
|
|
2885
|
+
record: DialogueToolsRepositoryRecordDto;
|
|
2821
2886
|
}
|
|
2822
|
-
interface
|
|
2887
|
+
interface DialogueToolsRepositoryRecordDto {
|
|
2823
2888
|
appId: string;
|
|
2824
2889
|
clientId?: string;
|
|
2825
2890
|
userId?: string;
|
|
2826
2891
|
ts?: string;
|
|
2827
2892
|
sessionId?: string;
|
|
2893
|
+
repositoryId?: string;
|
|
2894
|
+
options?: anonymous_schema_253;
|
|
2895
|
+
tools: AppToolsDTO[];
|
|
2896
|
+
}
|
|
2897
|
+
interface anonymous_schema_253 {
|
|
2898
|
+
triggerOnce?: boolean;
|
|
2828
2899
|
}
|
|
2829
2900
|
interface SessionChangedDto {
|
|
2830
2901
|
appId: string;
|
|
@@ -2882,6 +2953,16 @@ interface UIAssetChangedDto {
|
|
|
2882
2953
|
sessionId?: string;
|
|
2883
2954
|
record: UIAssetDto;
|
|
2884
2955
|
}
|
|
2956
|
+
interface anonymous_schema_328 {
|
|
2957
|
+
repositoryId?: string;
|
|
2958
|
+
additionalProperties?: Record<string, any>;
|
|
2959
|
+
}
|
|
2960
|
+
interface anonymous_schema_331 {
|
|
2961
|
+
clearScreen?: boolean;
|
|
2962
|
+
ttsEnabled?: boolean;
|
|
2963
|
+
stopSpeech?: boolean;
|
|
2964
|
+
additionalProperties?: Record<string, any>;
|
|
2965
|
+
}
|
|
2885
2966
|
interface UIInteractionEventDto {
|
|
2886
2967
|
appId: string;
|
|
2887
2968
|
clientId?: string;
|
|
@@ -3034,22 +3115,6 @@ declare class Detection {
|
|
|
3034
3115
|
declare class Dialogue {
|
|
3035
3116
|
private readonly broker;
|
|
3036
3117
|
constructor(broker: Broker);
|
|
3037
|
-
toolTriggered(event: DialogueToolTriggeredEventDto, params?: {
|
|
3038
|
-
appId?: string;
|
|
3039
|
-
name?: string;
|
|
3040
|
-
}): Promise<boolean>;
|
|
3041
|
-
onToolTriggered(fn: (event: DialogueToolTriggeredEventDto) => void | Promise<void>, params?: {
|
|
3042
|
-
appId?: string;
|
|
3043
|
-
name?: string;
|
|
3044
|
-
}): Promise<() => void>;
|
|
3045
|
-
toolChanged(event: DialogueToolsChanged, params?: {
|
|
3046
|
-
appId?: string;
|
|
3047
|
-
sessionId?: string;
|
|
3048
|
-
}): Promise<boolean>;
|
|
3049
|
-
onToolChanged(fn: (event: DialogueToolsChanged) => void | Promise<void>, params?: {
|
|
3050
|
-
appId?: string;
|
|
3051
|
-
sessionId?: string;
|
|
3052
|
-
}): Promise<() => void>;
|
|
3053
3118
|
dialogueMessages(event: DialogueMessageDto, params?: {
|
|
3054
3119
|
appId?: string;
|
|
3055
3120
|
sessionId?: string;
|
|
@@ -3076,6 +3141,22 @@ declare class Dialogue {
|
|
|
3076
3141
|
appId?: string;
|
|
3077
3142
|
sessionId?: string;
|
|
3078
3143
|
}): Promise<() => void>;
|
|
3144
|
+
toolTriggered(event: DialogueToolTriggeredEventDto, params?: {
|
|
3145
|
+
appId?: string;
|
|
3146
|
+
name?: string;
|
|
3147
|
+
}): Promise<boolean>;
|
|
3148
|
+
onToolTriggered(fn: (event: DialogueToolTriggeredEventDto) => void | Promise<void>, params?: {
|
|
3149
|
+
appId?: string;
|
|
3150
|
+
name?: string;
|
|
3151
|
+
}): Promise<() => void>;
|
|
3152
|
+
toolChanged(event: DialogueToolsRepositoryChanged, params?: {
|
|
3153
|
+
appId?: string;
|
|
3154
|
+
repositoryId?: string;
|
|
3155
|
+
}): Promise<boolean>;
|
|
3156
|
+
onToolChanged(fn: (event: DialogueToolsRepositoryChanged) => void | Promise<void>, params?: {
|
|
3157
|
+
appId?: string;
|
|
3158
|
+
repositoryId?: string;
|
|
3159
|
+
}): Promise<() => void>;
|
|
3079
3160
|
}
|
|
3080
3161
|
|
|
3081
3162
|
declare class Session {
|
|
@@ -3293,4 +3374,4 @@ declare class SermasApiClient {
|
|
|
3293
3374
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
3294
3375
|
}
|
|
3295
3376
|
|
|
3296
|
-
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentHeartBeatEventDto, type AgentStatus, AgentStatusEnum, type AppClientDto, type AppModuleConfigDto, type AppPromptDto, type AppSettingsDto, type AppToolsDTO, type AppUserDto, type AudioClassificationEventDto, type AudioClassificationValue, type AuthJwtUser, type AuthorizationUser, type AvatarCameraConfig, type BoundingBox, Broker, type Buffer$1 as Buffer, type ButtonDto, type ButtonsContentDto, type ButtonsUIContentDto, type ClearScreenDto, type ClearUIContentDto, type CreatePlatformAppDto, type DialogueActor, DialogueActorEnum, type DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueDocumentOptionsDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type
|
|
3377
|
+
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentHeartBeatEventDto, type AgentStatus, AgentStatusEnum, type AppClientDto, type AppModuleConfigDto, type AppPromptDto, type AppSettingsDto, type AppToolsDTO, type AppUserDto, type AudioClassificationEventDto, type AudioClassificationValue, type AuthJwtUser, type AuthorizationUser, type AvatarCameraConfig, type BoundingBox, Broker, type Buffer$1 as Buffer, type ButtonDto, type ButtonsContentDto, type ButtonsUIContentDto, type ClearScreenDto, type ClearUIContentDto, type CreatePlatformAppDto, type DialogueActor, DialogueActorEnum, type DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueDocumentOptionsDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type DialogueToolsRepositoryChanged, type DialogueToolsRepositoryDto, type DialogueToolsRepositoryOptionsDto, type DialogueToolsRepositoryRecordDto, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, type InteractionStartTypes, InteractionStartTypesEnum, InteractionTypeEnum, type JwtTokenDto, type KeycloakCredentials, type KeycloakJwtTokenResourceAccess, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, type LoginRequestDto, type LoginResponseDto, type ModelGender, ModelGenderEnum, type ModelType, ModelTypeEnum, type ModuleConfigEventDto, type ModuleResourceDto, type ModuleSettingsDto, type MovementDto, type MovementEventDto, type NoiseEventDto, type ObjectContentDto, type ObjectDetectionDto, type ObjectDetectionEventDto, type ObjectDetectionRequest, type ObjectDetectionType, ObjectDetectionTypeEnum, type ObjectUIContentDto, type OrientationDto, type PdfContentDto, type PdfUIContentDto, type PlatformAppChangedDto, type PlatformAppClientChangedDto, type PlatformAppDto, type PlatformAppExportFilterDto, type PlatformAppModuleConfigEventDto, type PlatformModuleConfigDto, type PlatformSettingsDto, type PlatformTokenDto, type Point3D, type PoseDto, type PositionDto, type QRCodeEventDto, type QrCodePayloadDto, type QuizAnswerDto, type QuizContentDto, type QuizUIContentDto, type RefreshTokenRequestDto, type RegistrationRequestDto, type RegistrationResponseDto, type RepositoryAnimationDto, type RepositoryAssetMetadataDto, type RepositoryAssetTypes, RepositoryAssetTypesEnum, type RepositoryAvatarDto, type RepositoryBackgroundDto, type RepositoryBackgroundMetadataDto, type RepositoryConfigDto, type RepositoryDocumentDto, type RepositoryRobotModelDto, type RobotMapDto, type SentimentAnalysisRequest, SermasApiClient, type SermasApiClientConfig, type SermasBaseDto, type SermasEnvType, type SermasSessionDto, type SessionChangedDto, type SessionDto, type SessionProperties, type SessionStorageEventDto, type SessionStorageRecordDto, type SessionStorageSearchDto, type SessionSupportEventDto, type SessionSupportRequestDto, type SessionSupportResponseDto, type StatusDto, type StatusEventDto, type StringInferenceValue, type SupportedContentTypes, SupportedContentTypesEnum, type TextContentDto, type TextUIContentDto, type ToolsParameterSchema, type ToolsParameterSchemaTypes, ToolsParameterSchemaTypesEnum, type ToolsRequestSchema, type ToolsRequestSchemaAuthBasic, type ToolsRequestSchemaAuthBearer, TypeEnum, type UIAssetChangedDto, type UIAssetDto, type UIContentDto, type UIContentMetadataDto, type UIContentOptionsDto, type UIInteractionDTO, type UIInteractionEventDto, type UIModelMapBlendShapesRequestDto, type UIModelMapBlendShapesResponseDto, type UiInteractionButtonDto, type UpdateUserEventDto, type UpdateUserRequestDto, type UserAgeValue, type UserCharacterizationDto, type UserCharacterizationEventDto, type UserDetectionDto, type UserDetectionEventDto, type UserEmotionValue, type UserInteractionIntentionDto, type VelocityDto, type VideoContentDto, type VideoUIContentDto, type ViewLogsRequestDto, type WebpageContentDto, type WebpageUIContentDto, type XRMarkerChangedDto, type XRMarkerDto, type XRMarkerListRequestDto, type XROcclusionDto, type XROcclusionResponseDto, type anonymous_schema_101, type anonymous_schema_104, type anonymous_schema_174, type anonymous_schema_253, type anonymous_schema_328, type anonymous_schema_331, type anonymous_schema_99, sleep };
|