@sermas/api-client 1.0.0-alpha.32 → 1.0.0-alpha.33
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 +184 -101
- package/index.d.ts +184 -101
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
package/index.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
1
|
import mqtt from 'mqtt';
|
|
3
2
|
export { MqttClient } from 'mqtt';
|
|
4
3
|
|
|
@@ -62,8 +61,8 @@ type OpenAPIConfig = {
|
|
|
62
61
|
VERSION: string;
|
|
63
62
|
WITH_CREDENTIALS: boolean;
|
|
64
63
|
interceptors: {
|
|
65
|
-
request: Interceptors<
|
|
66
|
-
response: Interceptors<
|
|
64
|
+
request: Interceptors<RequestInit>;
|
|
65
|
+
response: Interceptors<Response>;
|
|
67
66
|
};
|
|
68
67
|
};
|
|
69
68
|
|
|
@@ -105,6 +104,25 @@ type RefreshTokenRequestDto = {
|
|
|
105
104
|
refreshToken: string;
|
|
106
105
|
clientSecret?: string;
|
|
107
106
|
};
|
|
107
|
+
type RepositoryAssetTypes = 'avatars' | 'backgrounds' | 'robots' | 'documents' | 'animations';
|
|
108
|
+
declare const RepositoryAssetTypesEnum: {
|
|
109
|
+
readonly AVATARS: "avatars";
|
|
110
|
+
readonly BACKGROUNDS: "backgrounds";
|
|
111
|
+
readonly ROBOTS: "robots";
|
|
112
|
+
readonly DOCUMENTS: "documents";
|
|
113
|
+
readonly ANIMATIONS: "animations";
|
|
114
|
+
};
|
|
115
|
+
type RepositoryAssetMetadataDto = {};
|
|
116
|
+
type ModelType = 'readyplayerme' | 'custom';
|
|
117
|
+
declare const ModelTypeEnum: {
|
|
118
|
+
readonly READYPLAYERME: "readyplayerme";
|
|
119
|
+
readonly CUSTOM: "custom";
|
|
120
|
+
};
|
|
121
|
+
type ModelGender = 'M' | 'F';
|
|
122
|
+
declare const ModelGenderEnum: {
|
|
123
|
+
readonly M: "M";
|
|
124
|
+
readonly F: "F";
|
|
125
|
+
};
|
|
108
126
|
type Point3D = {
|
|
109
127
|
x: number;
|
|
110
128
|
y: number;
|
|
@@ -114,23 +132,29 @@ type AvatarCameraConfig = {
|
|
|
114
132
|
position: Point3D;
|
|
115
133
|
rotation: Point3D;
|
|
116
134
|
};
|
|
117
|
-
type
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
135
|
+
type RepositoryAvatarDto = {
|
|
136
|
+
id: string;
|
|
137
|
+
type: RepositoryAssetTypes;
|
|
138
|
+
name?: string;
|
|
139
|
+
path: string;
|
|
140
|
+
metadata?: RepositoryAssetMetadataDto;
|
|
141
|
+
modelType: ModelType;
|
|
142
|
+
gender: ModelGender;
|
|
122
143
|
camera?: AvatarCameraConfig;
|
|
123
144
|
cameraMobile?: AvatarCameraConfig;
|
|
145
|
+
prompt?: string;
|
|
124
146
|
};
|
|
125
147
|
type RepositoryBackgroundMetadataDto = {
|
|
126
148
|
credits?: string;
|
|
127
149
|
};
|
|
128
|
-
type
|
|
129
|
-
|
|
150
|
+
type RepositoryBackgroundDto = {
|
|
151
|
+
id: string;
|
|
152
|
+
type: RepositoryAssetTypes;
|
|
153
|
+
name?: string;
|
|
130
154
|
path: string;
|
|
131
155
|
metadata?: RepositoryBackgroundMetadataDto;
|
|
132
156
|
};
|
|
133
|
-
type
|
|
157
|
+
type RobotMapDto = {
|
|
134
158
|
imageUrl?: string;
|
|
135
159
|
width?: number;
|
|
136
160
|
height?: number;
|
|
@@ -138,14 +162,34 @@ type RepositoryMapModelDto = {
|
|
|
138
162
|
originOffsetY?: number;
|
|
139
163
|
};
|
|
140
164
|
type RepositoryRobotModelDto = {
|
|
141
|
-
|
|
165
|
+
id: string;
|
|
166
|
+
type: RepositoryAssetTypes;
|
|
167
|
+
name?: string;
|
|
168
|
+
path: string;
|
|
169
|
+
metadata?: RepositoryAssetMetadataDto;
|
|
142
170
|
videoUrl: string;
|
|
143
|
-
map?:
|
|
171
|
+
map?: RobotMapDto;
|
|
172
|
+
};
|
|
173
|
+
type RepositoryDocumentDto = {
|
|
174
|
+
id: string;
|
|
175
|
+
type: RepositoryAssetTypes;
|
|
176
|
+
name?: string;
|
|
177
|
+
path: string;
|
|
178
|
+
metadata?: RepositoryAssetMetadataDto;
|
|
179
|
+
};
|
|
180
|
+
type RepositoryAnimationDto = {
|
|
181
|
+
id: string;
|
|
182
|
+
type: RepositoryAssetTypes;
|
|
183
|
+
name?: string;
|
|
184
|
+
path: string;
|
|
185
|
+
metadata?: RepositoryAssetMetadataDto;
|
|
144
186
|
};
|
|
145
187
|
type RepositoryConfigDto = {
|
|
146
|
-
avatars: Array<
|
|
147
|
-
backgrounds: Array<
|
|
188
|
+
avatars: Array<RepositoryAvatarDto>;
|
|
189
|
+
backgrounds: Array<RepositoryBackgroundDto>;
|
|
148
190
|
robots?: Array<RepositoryRobotModelDto>;
|
|
191
|
+
documents?: Array<RepositoryDocumentDto>;
|
|
192
|
+
animations?: Array<RepositoryAnimationDto>;
|
|
149
193
|
};
|
|
150
194
|
type KeycloakCredentials = {
|
|
151
195
|
credentialData: string;
|
|
@@ -449,6 +493,24 @@ type UpdateUserRequestDto = {
|
|
|
449
493
|
enabled?: boolean;
|
|
450
494
|
authorization?: Array<AuthorizationUser>;
|
|
451
495
|
};
|
|
496
|
+
type ObjectDetectionType = 'CARRIED_OBJECT';
|
|
497
|
+
declare const ObjectDetectionTypeEnum: {
|
|
498
|
+
readonly CARRIED_OBJECT: "CARRIED_OBJECT";
|
|
499
|
+
};
|
|
500
|
+
type ObjectDetectionRequest = {
|
|
501
|
+
appId: string;
|
|
502
|
+
/**
|
|
503
|
+
* Reference to the authenticated client the request originated from
|
|
504
|
+
*/
|
|
505
|
+
clientId?: string;
|
|
506
|
+
/**
|
|
507
|
+
* Reference to the user interacting with the system
|
|
508
|
+
*/
|
|
509
|
+
userId?: string;
|
|
510
|
+
image: string;
|
|
511
|
+
detectionType: ObjectDetectionType;
|
|
512
|
+
filter: Array<string>;
|
|
513
|
+
};
|
|
452
514
|
type SentimentAnalysisRequest = {
|
|
453
515
|
appId: string;
|
|
454
516
|
/**
|
|
@@ -480,6 +542,10 @@ type UserInteractionIntentionDto = {
|
|
|
480
542
|
interactionType: 'start' | 'stop';
|
|
481
543
|
sessionId: string;
|
|
482
544
|
};
|
|
545
|
+
declare const InteractionTypeEnum: {
|
|
546
|
+
readonly START: "start";
|
|
547
|
+
readonly STOP: "stop";
|
|
548
|
+
};
|
|
483
549
|
type DialogueDocumentMetadataDto = {
|
|
484
550
|
uri?: string;
|
|
485
551
|
source?: string;
|
|
@@ -490,6 +556,11 @@ type DialogueDocumentDto = {
|
|
|
490
556
|
content: string;
|
|
491
557
|
metadata: DialogueDocumentMetadataDto;
|
|
492
558
|
};
|
|
559
|
+
type DialogueActor = 'user' | 'agent';
|
|
560
|
+
declare const DialogueActorEnum: {
|
|
561
|
+
readonly USER: "user";
|
|
562
|
+
readonly AGENT: "agent";
|
|
563
|
+
};
|
|
493
564
|
type DialogueTextToSpeechDto = {
|
|
494
565
|
appId: string;
|
|
495
566
|
/**
|
|
@@ -511,7 +582,7 @@ type DialogueTextToSpeechDto = {
|
|
|
511
582
|
/**
|
|
512
583
|
* Actor providing the text, can be user or agent
|
|
513
584
|
*/
|
|
514
|
-
actor?:
|
|
585
|
+
actor?: DialogueActor;
|
|
515
586
|
/**
|
|
516
587
|
* Text to convert to speech. If emotion field is set, it will be converted to SSML. If also `ssml` field is set, this field will be ignored
|
|
517
588
|
*/
|
|
@@ -562,7 +633,7 @@ type DialogueMessageDto = {
|
|
|
562
633
|
/**
|
|
563
634
|
* Actor providing the text, can be user or agent
|
|
564
635
|
*/
|
|
565
|
-
actor?:
|
|
636
|
+
actor?: DialogueActor;
|
|
566
637
|
/**
|
|
567
638
|
* Indicate a chunck identifier as timestamp, usually indicating it is part of a stream.
|
|
568
639
|
*/
|
|
@@ -611,6 +682,17 @@ type SessionDto = {
|
|
|
611
682
|
createdAt: string;
|
|
612
683
|
closedAt: string;
|
|
613
684
|
};
|
|
685
|
+
type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
|
|
686
|
+
declare const AgentStatusEnum: {
|
|
687
|
+
readonly UNAVAILABLE: "unavailable";
|
|
688
|
+
readonly ERROR: "error";
|
|
689
|
+
readonly NOT_READY: "not_ready";
|
|
690
|
+
readonly READY: "ready";
|
|
691
|
+
readonly LOADING: "loading";
|
|
692
|
+
readonly INTERACTING: "interacting";
|
|
693
|
+
readonly WAITING: "waiting";
|
|
694
|
+
readonly PROCESSING: "processing";
|
|
695
|
+
};
|
|
614
696
|
type AgentHeartBeatEventDto = {
|
|
615
697
|
appId: string;
|
|
616
698
|
/**
|
|
@@ -626,7 +708,7 @@ type AgentHeartBeatEventDto = {
|
|
|
626
708
|
*/
|
|
627
709
|
sessionId?: string;
|
|
628
710
|
moduleId: string;
|
|
629
|
-
status:
|
|
711
|
+
status: AgentStatus;
|
|
630
712
|
};
|
|
631
713
|
type SessionSupportRequestDto = {
|
|
632
714
|
appId: string;
|
|
@@ -674,6 +756,23 @@ type SessionStorageSearchDto = {
|
|
|
674
756
|
sessionId?: Array<string>;
|
|
675
757
|
storageId?: Array<string>;
|
|
676
758
|
};
|
|
759
|
+
type SupportedContentTypes = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
|
|
760
|
+
declare const SupportedContentTypesEnum: {
|
|
761
|
+
readonly VIDEO: "video";
|
|
762
|
+
readonly IMAGE: "image";
|
|
763
|
+
readonly PDF: "pdf";
|
|
764
|
+
readonly WEBPAGE: "webpage";
|
|
765
|
+
readonly OBJECT: "object";
|
|
766
|
+
readonly TEXT: "text";
|
|
767
|
+
readonly EMAIL: "email";
|
|
768
|
+
readonly HTML: "html";
|
|
769
|
+
readonly LINK: "link";
|
|
770
|
+
readonly DIALOGUE_MESSAGE: "dialogue-message";
|
|
771
|
+
readonly NAVIGATION: "navigation";
|
|
772
|
+
readonly BUTTONS: "buttons";
|
|
773
|
+
readonly QUIZ: "quiz";
|
|
774
|
+
readonly CLEAR_SCREEN: "clear-screen";
|
|
775
|
+
};
|
|
677
776
|
type ImageContentDto = {
|
|
678
777
|
src: string;
|
|
679
778
|
width?: number;
|
|
@@ -708,7 +807,7 @@ type ImageUIContentDto = {
|
|
|
708
807
|
* Track the interaction session, if available
|
|
709
808
|
*/
|
|
710
809
|
sessionId?: string;
|
|
711
|
-
contentType:
|
|
810
|
+
contentType: SupportedContentTypes;
|
|
712
811
|
content: ImageContentDto;
|
|
713
812
|
metadata?: Record<string, unknown>;
|
|
714
813
|
options?: UIContentOptionsDto;
|
|
@@ -738,7 +837,7 @@ type VideoUIContentDto = {
|
|
|
738
837
|
* Track the interaction session, if available
|
|
739
838
|
*/
|
|
740
839
|
sessionId?: string;
|
|
741
|
-
contentType:
|
|
840
|
+
contentType: SupportedContentTypes;
|
|
742
841
|
content: VideoContentDto;
|
|
743
842
|
metadata?: Record<string, unknown>;
|
|
744
843
|
options?: UIContentOptionsDto;
|
|
@@ -762,7 +861,7 @@ type PdfUIContentDto = {
|
|
|
762
861
|
* Track the interaction session, if available
|
|
763
862
|
*/
|
|
764
863
|
sessionId?: string;
|
|
765
|
-
contentType:
|
|
864
|
+
contentType: SupportedContentTypes;
|
|
766
865
|
content: PdfContentDto;
|
|
767
866
|
metadata?: Record<string, unknown>;
|
|
768
867
|
options?: UIContentOptionsDto;
|
|
@@ -786,7 +885,7 @@ type WebpageUIContentDto = {
|
|
|
786
885
|
* Track the interaction session, if available
|
|
787
886
|
*/
|
|
788
887
|
sessionId?: string;
|
|
789
|
-
contentType:
|
|
888
|
+
contentType: SupportedContentTypes;
|
|
790
889
|
content: WebpageContentDto;
|
|
791
890
|
metadata?: Record<string, unknown>;
|
|
792
891
|
options?: UIContentOptionsDto;
|
|
@@ -810,7 +909,7 @@ type ObjectUIContentDto = {
|
|
|
810
909
|
* Track the interaction session, if available
|
|
811
910
|
*/
|
|
812
911
|
sessionId?: string;
|
|
813
|
-
contentType:
|
|
912
|
+
contentType: SupportedContentTypes;
|
|
814
913
|
content: ObjectContentDto;
|
|
815
914
|
metadata?: Record<string, unknown>;
|
|
816
915
|
options?: UIContentOptionsDto;
|
|
@@ -834,7 +933,7 @@ type TextUIContentDto = {
|
|
|
834
933
|
* Track the interaction session, if available
|
|
835
934
|
*/
|
|
836
935
|
sessionId?: string;
|
|
837
|
-
contentType:
|
|
936
|
+
contentType: SupportedContentTypes;
|
|
838
937
|
content: TextContentDto;
|
|
839
938
|
metadata?: Record<string, unknown>;
|
|
840
939
|
options?: UIContentOptionsDto;
|
|
@@ -864,7 +963,7 @@ type QuizUIContentDto = {
|
|
|
864
963
|
* Track the interaction session, if available
|
|
865
964
|
*/
|
|
866
965
|
sessionId?: string;
|
|
867
|
-
contentType:
|
|
966
|
+
contentType: SupportedContentTypes;
|
|
868
967
|
content: QuizContentDto;
|
|
869
968
|
metadata?: Record<string, unknown>;
|
|
870
969
|
options?: UIContentOptionsDto;
|
|
@@ -885,7 +984,7 @@ type ClearUIContentDto = {
|
|
|
885
984
|
* Track the interaction session, if available
|
|
886
985
|
*/
|
|
887
986
|
sessionId?: string;
|
|
888
|
-
contentType:
|
|
987
|
+
contentType: SupportedContentTypes;
|
|
889
988
|
content: Record<string, unknown>;
|
|
890
989
|
metadata?: Record<string, unknown>;
|
|
891
990
|
options?: UIContentOptionsDto;
|
|
@@ -906,7 +1005,7 @@ type ClearScreenDto = {
|
|
|
906
1005
|
* Track the interaction session, if available
|
|
907
1006
|
*/
|
|
908
1007
|
sessionId?: string;
|
|
909
|
-
contentType:
|
|
1008
|
+
contentType: SupportedContentTypes;
|
|
910
1009
|
content: Record<string, unknown>;
|
|
911
1010
|
metadata?: Record<string, unknown>;
|
|
912
1011
|
options?: UIContentOptionsDto;
|
|
@@ -938,7 +1037,7 @@ type ButtonsUIContentDto = {
|
|
|
938
1037
|
* Track the interaction session, if available
|
|
939
1038
|
*/
|
|
940
1039
|
sessionId?: string;
|
|
941
|
-
contentType:
|
|
1040
|
+
contentType: SupportedContentTypes;
|
|
942
1041
|
content: ButtonsContentDto;
|
|
943
1042
|
metadata?: Record<string, unknown>;
|
|
944
1043
|
options?: UIContentOptionsDto;
|
|
@@ -959,7 +1058,7 @@ type DialogueMessageUIContentDto = {
|
|
|
959
1058
|
* Track the interaction session, if available
|
|
960
1059
|
*/
|
|
961
1060
|
sessionId?: string;
|
|
962
|
-
contentType:
|
|
1061
|
+
contentType: SupportedContentTypes;
|
|
963
1062
|
content: DialogueMessageDto;
|
|
964
1063
|
metadata?: Record<string, unknown>;
|
|
965
1064
|
options?: UIContentOptionsDto;
|
|
@@ -984,7 +1083,7 @@ type LinkUIContentDto = {
|
|
|
984
1083
|
* Track the interaction session, if available
|
|
985
1084
|
*/
|
|
986
1085
|
sessionId?: string;
|
|
987
|
-
contentType:
|
|
1086
|
+
contentType: SupportedContentTypes;
|
|
988
1087
|
content: LinkContentDto;
|
|
989
1088
|
metadata?: Record<string, unknown>;
|
|
990
1089
|
options?: UIContentOptionsDto;
|
|
@@ -1008,7 +1107,7 @@ type HtmlUIContentDto = {
|
|
|
1008
1107
|
* Track the interaction session, if available
|
|
1009
1108
|
*/
|
|
1010
1109
|
sessionId?: string;
|
|
1011
|
-
contentType:
|
|
1110
|
+
contentType: SupportedContentTypes;
|
|
1012
1111
|
content: HtmlContentDto;
|
|
1013
1112
|
metadata?: Record<string, unknown>;
|
|
1014
1113
|
options?: UIContentOptionsDto;
|
|
@@ -1033,7 +1132,7 @@ type EmailUIContentDto = {
|
|
|
1033
1132
|
* Track the interaction session, if available
|
|
1034
1133
|
*/
|
|
1035
1134
|
sessionId?: string;
|
|
1036
|
-
contentType:
|
|
1135
|
+
contentType: SupportedContentTypes;
|
|
1037
1136
|
content: EmailContentDto;
|
|
1038
1137
|
metadata?: Record<string, unknown>;
|
|
1039
1138
|
options?: UIContentOptionsDto;
|
|
@@ -1059,7 +1158,7 @@ type UIContentDto = {
|
|
|
1059
1158
|
* Track the interaction session, if available
|
|
1060
1159
|
*/
|
|
1061
1160
|
sessionId?: string;
|
|
1062
|
-
contentType:
|
|
1161
|
+
contentType: SupportedContentTypes;
|
|
1063
1162
|
content: Record<string, unknown>;
|
|
1064
1163
|
metadata?: Record<string, unknown>;
|
|
1065
1164
|
options?: UIContentOptionsDto;
|
|
@@ -1072,22 +1171,16 @@ type UIModelMapBlendShapesRequestDto = {
|
|
|
1072
1171
|
type UIModelMapBlendShapesResponseDto = {
|
|
1073
1172
|
blendShapes: Record<string, unknown>;
|
|
1074
1173
|
};
|
|
1075
|
-
type UIAssetMetadataDto = {};
|
|
1076
1174
|
type UIAssetDto = {
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
};
|
|
1084
|
-
type UIModelAssetDto = {
|
|
1085
|
-
filename: string;
|
|
1175
|
+
id: string;
|
|
1176
|
+
type: RepositoryAssetTypes;
|
|
1177
|
+
name?: string;
|
|
1178
|
+
path: string;
|
|
1179
|
+
metadata?: RepositoryAssetMetadataDto;
|
|
1180
|
+
filename?: string;
|
|
1086
1181
|
appId: string;
|
|
1087
|
-
type?: 'models' | 'backgrounds' | 'animations' | 'documents';
|
|
1088
1182
|
userId?: string;
|
|
1089
1183
|
ts?: string;
|
|
1090
|
-
metadata?: UIAssetMetadataDto;
|
|
1091
1184
|
};
|
|
1092
1185
|
type Buffer$1 = {};
|
|
1093
1186
|
type ViewLogsRequestDto = {
|
|
@@ -1095,6 +1188,11 @@ type ViewLogsRequestDto = {
|
|
|
1095
1188
|
type?: 'speech' | 'characterization' | 'speechToText';
|
|
1096
1189
|
ts?: string;
|
|
1097
1190
|
};
|
|
1191
|
+
declare const TypeEnum: {
|
|
1192
|
+
readonly SPEECH: "speech";
|
|
1193
|
+
readonly CHARACTERIZATION: "characterization";
|
|
1194
|
+
readonly SPEECH_TO_TEXT: "speechToText";
|
|
1195
|
+
};
|
|
1098
1196
|
type XRMarkerListRequestDto = {
|
|
1099
1197
|
appId: string;
|
|
1100
1198
|
/**
|
|
@@ -1340,6 +1438,9 @@ declare class AuthenticationService {
|
|
|
1340
1438
|
authAdminControllerSaveUser(data: TDataAuthAdminControllerSaveUser): CancelablePromise<any>;
|
|
1341
1439
|
}
|
|
1342
1440
|
|
|
1441
|
+
type TDataObjecTdEtection = {
|
|
1442
|
+
requestBody: ObjectDetectionRequest;
|
|
1443
|
+
};
|
|
1343
1444
|
type TDataDetectionControllerSentimentAnalysis = {
|
|
1344
1445
|
requestBody: SentimentAnalysisRequest;
|
|
1345
1446
|
};
|
|
@@ -1361,6 +1462,11 @@ type TDataDetectionControllerServe = {
|
|
|
1361
1462
|
declare class DetectionService {
|
|
1362
1463
|
readonly httpRequest: BaseHttpRequest;
|
|
1363
1464
|
constructor(httpRequest: BaseHttpRequest);
|
|
1465
|
+
/**
|
|
1466
|
+
* @returns any
|
|
1467
|
+
* @throws ApiError
|
|
1468
|
+
*/
|
|
1469
|
+
objecTdEtection(data: TDataObjecTdEtection): CancelablePromise<any>;
|
|
1364
1470
|
/**
|
|
1365
1471
|
* @returns any
|
|
1366
1472
|
* @throws ApiError
|
|
@@ -1422,7 +1528,7 @@ type TDataText = {
|
|
|
1422
1528
|
/**
|
|
1423
1529
|
* Actor providing the text, can be user or agent
|
|
1424
1530
|
*/
|
|
1425
|
-
actor?:
|
|
1531
|
+
actor?: DialogueActor;
|
|
1426
1532
|
/**
|
|
1427
1533
|
* Indicate a chunck identifier as timestamp, usually indicating it is part of a stream.
|
|
1428
1534
|
*/
|
|
@@ -1653,6 +1759,12 @@ declare class PlatformService {
|
|
|
1653
1759
|
* @throws ApiError
|
|
1654
1760
|
*/
|
|
1655
1761
|
getClientRefreshToken1(data: TDataGetClientRefreshToken1): CancelablePromise<JwtTokenDto>;
|
|
1762
|
+
/**
|
|
1763
|
+
* retrieve app repository defaults
|
|
1764
|
+
* @returns RepositoryConfigDto
|
|
1765
|
+
* @throws ApiError
|
|
1766
|
+
*/
|
|
1767
|
+
getRepositoryDefaults(): CancelablePromise<RepositoryConfigDto>;
|
|
1656
1768
|
/**
|
|
1657
1769
|
* @returns PlatformAppDto
|
|
1658
1770
|
* @throws ApiError
|
|
@@ -1694,10 +1806,10 @@ declare class PlatformService {
|
|
|
1694
1806
|
*/
|
|
1695
1807
|
getAppRepositoryRobots(data: TDataGetAppRepositoryRobots): CancelablePromise<RepositoryRobotModelDto>;
|
|
1696
1808
|
/**
|
|
1697
|
-
* @returns
|
|
1809
|
+
* @returns RepositoryAvatarDto
|
|
1698
1810
|
* @throws ApiError
|
|
1699
1811
|
*/
|
|
1700
|
-
getAppRepositoryAvatars(data: TDataGetAppRepositoryAvatars): CancelablePromise<
|
|
1812
|
+
getAppRepositoryAvatars(data: TDataGetAppRepositoryAvatars): CancelablePromise<RepositoryAvatarDto>;
|
|
1701
1813
|
/**
|
|
1702
1814
|
* @returns RepositoryConfigDto
|
|
1703
1815
|
* @throws ApiError
|
|
@@ -2008,49 +2120,34 @@ type TDataUiModelControllerMapBlendShapes = {
|
|
|
2008
2120
|
};
|
|
2009
2121
|
type TDataGetAsset = {
|
|
2010
2122
|
appId: string;
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
type TDataSaveModel = {
|
|
2014
|
-
formData: {
|
|
2015
|
-
filename?: string;
|
|
2016
|
-
appId?: string;
|
|
2017
|
-
type?: 'models' | 'backgrounds' | 'animations' | 'documents';
|
|
2018
|
-
userId?: string;
|
|
2019
|
-
ts?: string;
|
|
2020
|
-
metadata?: UIAssetMetadataDto;
|
|
2021
|
-
file?: Blob | File;
|
|
2022
|
-
};
|
|
2123
|
+
assetId: string;
|
|
2124
|
+
type: string;
|
|
2023
2125
|
};
|
|
2024
|
-
type
|
|
2025
|
-
formData: {
|
|
2026
|
-
filename?: string;
|
|
2027
|
-
appId?: string;
|
|
2028
|
-
type?: 'models' | 'backgrounds' | 'animations' | 'documents';
|
|
2029
|
-
userId?: string;
|
|
2030
|
-
ts?: string;
|
|
2031
|
-
metadata?: UIAssetMetadataDto;
|
|
2032
|
-
file?: Blob | File;
|
|
2033
|
-
};
|
|
2034
|
-
};
|
|
2035
|
-
type TDataSaveDocuments = {
|
|
2126
|
+
type TDataSaveAsset = {
|
|
2036
2127
|
formData: {
|
|
2128
|
+
id?: string;
|
|
2129
|
+
type?: RepositoryAssetTypes;
|
|
2130
|
+
name?: string;
|
|
2131
|
+
path?: string;
|
|
2132
|
+
metadata?: RepositoryAssetMetadataDto;
|
|
2037
2133
|
filename?: string;
|
|
2038
2134
|
appId?: string;
|
|
2039
|
-
type?: 'models' | 'backgrounds' | 'animations' | 'documents';
|
|
2040
2135
|
userId?: string;
|
|
2041
2136
|
ts?: string;
|
|
2042
|
-
metadata?: UIAssetMetadataDto;
|
|
2043
2137
|
file?: Blob | File;
|
|
2044
2138
|
};
|
|
2045
2139
|
};
|
|
2046
|
-
type
|
|
2140
|
+
type TDataAdminSaveAsset = {
|
|
2047
2141
|
formData: {
|
|
2142
|
+
id?: string;
|
|
2143
|
+
type?: RepositoryAssetTypes;
|
|
2144
|
+
name?: string;
|
|
2145
|
+
path?: string;
|
|
2146
|
+
metadata?: RepositoryAssetMetadataDto;
|
|
2048
2147
|
filename?: string;
|
|
2049
2148
|
appId?: string;
|
|
2050
|
-
type?: 'models' | 'backgrounds' | 'animations' | 'documents';
|
|
2051
2149
|
userId?: string;
|
|
2052
2150
|
ts?: string;
|
|
2053
|
-
metadata?: UIAssetMetadataDto;
|
|
2054
2151
|
file?: Blob | File;
|
|
2055
2152
|
};
|
|
2056
2153
|
};
|
|
@@ -2077,30 +2174,21 @@ declare class UiService {
|
|
|
2077
2174
|
uiModelControllerMapBlendShapes(data: TDataUiModelControllerMapBlendShapes): CancelablePromise<UIModelMapBlendShapesResponseDto>;
|
|
2078
2175
|
/**
|
|
2079
2176
|
* Retrieve an asset
|
|
2080
|
-
* @returns Buffer
|
|
2177
|
+
* @returns Buffer Asset content
|
|
2081
2178
|
* @throws ApiError
|
|
2082
2179
|
*/
|
|
2083
2180
|
getAsset(data: TDataGetAsset): CancelablePromise<Buffer$1>;
|
|
2084
2181
|
/**
|
|
2182
|
+
* Retrieve an asset
|
|
2085
2183
|
* @returns any
|
|
2086
2184
|
* @throws ApiError
|
|
2087
2185
|
*/
|
|
2088
|
-
|
|
2089
|
-
/**
|
|
2090
|
-
* @returns any
|
|
2091
|
-
* @throws ApiError
|
|
2092
|
-
*/
|
|
2093
|
-
saveBackground(data: TDataSaveBackground): CancelablePromise<any>;
|
|
2094
|
-
/**
|
|
2095
|
-
* @returns any
|
|
2096
|
-
* @throws ApiError
|
|
2097
|
-
*/
|
|
2098
|
-
saveDocuments(data: TDataSaveDocuments): CancelablePromise<any>;
|
|
2186
|
+
saveAsset(data: TDataSaveAsset): CancelablePromise<any>;
|
|
2099
2187
|
/**
|
|
2100
2188
|
* @returns any
|
|
2101
2189
|
* @throws ApiError
|
|
2102
2190
|
*/
|
|
2103
|
-
|
|
2191
|
+
adminSaveAsset(data: TDataAdminSaveAsset): CancelablePromise<any>;
|
|
2104
2192
|
}
|
|
2105
2193
|
|
|
2106
2194
|
type TDataXrMarkerControllerSearchMarker = {
|
|
@@ -2205,13 +2293,11 @@ interface PlatformAppChangedDto {
|
|
|
2205
2293
|
operation: string;
|
|
2206
2294
|
record: PlatformAppDto;
|
|
2207
2295
|
}
|
|
2208
|
-
|
|
2209
|
-
type anonymous_schema_39 = 'M' | 'F';
|
|
2210
|
-
interface anonymous_schema_77 {
|
|
2296
|
+
interface anonymous_schema_88 {
|
|
2211
2297
|
username?: string;
|
|
2212
2298
|
password: string;
|
|
2213
2299
|
}
|
|
2214
|
-
interface
|
|
2300
|
+
interface anonymous_schema_91 {
|
|
2215
2301
|
clientType?: string;
|
|
2216
2302
|
clientId?: string;
|
|
2217
2303
|
clientSecret?: string;
|
|
@@ -2272,7 +2358,7 @@ interface StringInferenceValue {
|
|
|
2272
2358
|
probability: number;
|
|
2273
2359
|
value: string;
|
|
2274
2360
|
}
|
|
2275
|
-
type
|
|
2361
|
+
type anonymous_schema_153 = 'start' | 'stop';
|
|
2276
2362
|
interface UserCharacterizationEventDto {
|
|
2277
2363
|
appId: string;
|
|
2278
2364
|
clientId?: string;
|
|
@@ -2316,6 +2402,7 @@ interface ObjectDetectionEventDto {
|
|
|
2316
2402
|
interface ObjectDetectionDto {
|
|
2317
2403
|
probability: number;
|
|
2318
2404
|
value: string;
|
|
2405
|
+
bbox: BoundingBox;
|
|
2319
2406
|
}
|
|
2320
2407
|
interface QRCodeEventDto {
|
|
2321
2408
|
appId: string;
|
|
@@ -2338,7 +2425,6 @@ interface DialogueToolTriggeredEventDto {
|
|
|
2338
2425
|
sessionId?: string;
|
|
2339
2426
|
name: string;
|
|
2340
2427
|
}
|
|
2341
|
-
type anonymous_schema_191 = 'user' | 'agent';
|
|
2342
2428
|
interface SermasSessionDto {
|
|
2343
2429
|
appId: string;
|
|
2344
2430
|
clientId?: string;
|
|
@@ -2357,10 +2443,9 @@ interface AgentDto {
|
|
|
2357
2443
|
clientId?: string;
|
|
2358
2444
|
userId?: string;
|
|
2359
2445
|
agentId: string;
|
|
2360
|
-
status:
|
|
2446
|
+
status: AgentStatus;
|
|
2361
2447
|
modules: string[];
|
|
2362
2448
|
}
|
|
2363
|
-
type anonymous_schema_220 = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
|
|
2364
2449
|
interface AgentChangedDto {
|
|
2365
2450
|
appId: string;
|
|
2366
2451
|
clientId?: string;
|
|
@@ -2393,8 +2478,6 @@ interface UIAssetChangedDto {
|
|
|
2393
2478
|
operation: string;
|
|
2394
2479
|
record: UIAssetDto;
|
|
2395
2480
|
}
|
|
2396
|
-
type anonymous_schema_252 = 'models' | 'backgrounds' | 'animations' | 'documents';
|
|
2397
|
-
type anonymous_schema_259 = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
|
|
2398
2481
|
interface UIInteractionEventDto {
|
|
2399
2482
|
appId: string;
|
|
2400
2483
|
clientId?: string;
|
|
@@ -2791,4 +2874,4 @@ declare class SermasApiClient {
|
|
|
2791
2874
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
2792
2875
|
}
|
|
2793
2876
|
|
|
2794
|
-
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentHeartBeatEventDto, 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 DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, type JwtTokenDto, type KeycloakCredentials, type KeycloakJwtTokenResourceAccess, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, type LoginRequestDto, type LoginResponseDto, type ModuleConfigEventDto, type ModuleResourceDto, type ModuleSettingsDto, type MovementDto, type MovementEventDto, type NoiseEventDto, type ObjectContentDto, type ObjectDetectionDto, type ObjectDetectionEventDto, 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 QuizAnswerDto, type QuizContentDto, type QuizUIContentDto, type RefreshTokenRequestDto, type RegistrationRequestDto, type RegistrationResponseDto, type
|
|
2877
|
+
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 DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, 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 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 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 ToolsRequestSchema, type ToolsRequestSchemaAuthBasic, type ToolsRequestSchemaAuthBearer, TypeEnum, type UIAssetChangedDto, type UIAssetDto, type UIContentDto, type UIContentOptionsDto, type UIInteractionDTO, type UIInteractionEventDto, type UIModelMapBlendShapesRequestDto, type UIModelMapBlendShapesResponseDto, 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_153, type anonymous_schema_88, type anonymous_schema_91, sleep };
|