@sermas/api-client 1.0.0-alpha.23 → 1.0.0-alpha.25
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 +58 -62
- package/index.d.ts +58 -62
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -1159,7 +1159,7 @@ type SessionDto = {
|
|
|
1159
1159
|
closedAt: string;
|
|
1160
1160
|
};
|
|
1161
1161
|
|
|
1162
|
-
type
|
|
1162
|
+
type SessionStorageRecordDto = {
|
|
1163
1163
|
appId: string;
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Reference to the authenticated client the request originated from
|
|
@@ -1169,45 +1169,16 @@ type SessionStorageEventDto = {
|
|
|
1169
1169
|
* Reference to the user interacting with the system
|
|
1170
1170
|
*/
|
|
1171
1171
|
userId?: string;
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
storageId: string;
|
|
1175
|
-
};
|
|
1176
|
-
|
|
1177
|
-
type SessionStorageRequestDto = {
|
|
1178
|
-
appId: string;
|
|
1179
|
-
/**
|
|
1180
|
-
* Reference to the authenticated client the request originated from
|
|
1181
|
-
*/
|
|
1182
|
-
clientId?: string;
|
|
1183
|
-
/**
|
|
1184
|
-
* Reference to the user interacting with the system
|
|
1185
|
-
*/
|
|
1186
|
-
userId?: string;
|
|
1187
|
-
sessionId: string;
|
|
1188
|
-
data: Record<string, any>;
|
|
1189
|
-
};
|
|
1190
|
-
|
|
1191
|
-
type SessionStorageResponseDto = {
|
|
1192
|
-
appId: string;
|
|
1193
|
-
/**
|
|
1194
|
-
* Reference to the authenticated client the request originated from
|
|
1195
|
-
*/
|
|
1196
|
-
clientId?: string;
|
|
1197
|
-
/**
|
|
1198
|
-
* Reference to the user interacting with the system
|
|
1199
|
-
*/
|
|
1200
|
-
userId?: string;
|
|
1201
|
-
sessionId: string;
|
|
1172
|
+
storageId?: string;
|
|
1173
|
+
sessionId?: string;
|
|
1202
1174
|
data: Record<string, any>;
|
|
1203
|
-
storageId: string;
|
|
1204
1175
|
};
|
|
1205
1176
|
|
|
1206
1177
|
type SessionStorageSearchDto = {
|
|
1207
1178
|
appId: string;
|
|
1208
|
-
userId
|
|
1209
|
-
sessionId
|
|
1210
|
-
storageId
|
|
1179
|
+
userId?: Array<string>;
|
|
1180
|
+
sessionId?: Array<string>;
|
|
1181
|
+
storageId?: Array<string>;
|
|
1211
1182
|
};
|
|
1212
1183
|
|
|
1213
1184
|
type SessionSupportRequestDto = {
|
|
@@ -1242,29 +1213,40 @@ declare class SessionService {
|
|
|
1242
1213
|
readonly httpRequest: BaseHttpRequest;
|
|
1243
1214
|
constructor(httpRequest: BaseHttpRequest);
|
|
1244
1215
|
/**
|
|
1216
|
+
* Load current user session
|
|
1217
|
+
* @param appId
|
|
1218
|
+
* @returns any
|
|
1219
|
+
* @throws ApiError
|
|
1220
|
+
*/
|
|
1221
|
+
getUserSession(appId: string): CancelablePromise<any>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Load a session
|
|
1245
1224
|
* @param sessionId
|
|
1246
1225
|
* @returns any
|
|
1247
1226
|
* @throws ApiError
|
|
1248
1227
|
*/
|
|
1249
|
-
|
|
1228
|
+
readSession(sessionId: string): CancelablePromise<any>;
|
|
1250
1229
|
/**
|
|
1230
|
+
* Remove session
|
|
1251
1231
|
* @param sessionId
|
|
1252
1232
|
* @returns any
|
|
1253
1233
|
* @throws ApiError
|
|
1254
1234
|
*/
|
|
1255
|
-
|
|
1235
|
+
deleteSession(sessionId: string): CancelablePromise<any>;
|
|
1256
1236
|
/**
|
|
1237
|
+
* Create session
|
|
1257
1238
|
* @param requestBody
|
|
1258
1239
|
* @returns any
|
|
1259
1240
|
* @throws ApiError
|
|
1260
1241
|
*/
|
|
1261
|
-
|
|
1242
|
+
createSession(requestBody: SessionDto): CancelablePromise<any>;
|
|
1262
1243
|
/**
|
|
1244
|
+
* Update session
|
|
1263
1245
|
* @param requestBody
|
|
1264
1246
|
* @returns any
|
|
1265
1247
|
* @throws ApiError
|
|
1266
1248
|
*/
|
|
1267
|
-
|
|
1249
|
+
updateSession(requestBody: SessionDto): CancelablePromise<any>;
|
|
1268
1250
|
/**
|
|
1269
1251
|
* Notifies of an agent update
|
|
1270
1252
|
* @param requestBody
|
|
@@ -1273,33 +1255,40 @@ declare class SessionService {
|
|
|
1273
1255
|
*/
|
|
1274
1256
|
agentUpdate(requestBody: AgentHeartBeatEventDto): CancelablePromise<any>;
|
|
1275
1257
|
/**
|
|
1276
|
-
*
|
|
1258
|
+
* Request support from human
|
|
1277
1259
|
* @param requestBody
|
|
1278
|
-
* @returns
|
|
1260
|
+
* @returns SessionSupportResponseDto Human support requested
|
|
1279
1261
|
* @throws ApiError
|
|
1280
1262
|
*/
|
|
1281
|
-
|
|
1263
|
+
support(requestBody: SessionSupportRequestDto): CancelablePromise<SessionSupportResponseDto>;
|
|
1282
1264
|
/**
|
|
1283
|
-
*
|
|
1284
|
-
* @param
|
|
1285
|
-
* @returns
|
|
1265
|
+
* Store user data
|
|
1266
|
+
* @param requestBody
|
|
1267
|
+
* @returns SessionStorageRecordDto Record stored
|
|
1286
1268
|
* @throws ApiError
|
|
1287
1269
|
*/
|
|
1288
|
-
|
|
1270
|
+
setRecord(requestBody: SessionStorageRecordDto): CancelablePromise<SessionStorageRecordDto>;
|
|
1289
1271
|
/**
|
|
1290
|
-
*
|
|
1272
|
+
* Store user data
|
|
1291
1273
|
* @param requestBody
|
|
1292
|
-
* @returns
|
|
1274
|
+
* @returns SessionStorageRecordDto Record stored
|
|
1293
1275
|
* @throws ApiError
|
|
1294
1276
|
*/
|
|
1295
|
-
|
|
1277
|
+
findRecords(requestBody: SessionStorageSearchDto): CancelablePromise<Array<SessionStorageRecordDto>>;
|
|
1296
1278
|
/**
|
|
1297
|
-
*
|
|
1298
|
-
* @param
|
|
1299
|
-
* @returns
|
|
1279
|
+
* Retrieve stored data
|
|
1280
|
+
* @param storageId
|
|
1281
|
+
* @returns SessionStorageRecordDto Record retrieved
|
|
1300
1282
|
* @throws ApiError
|
|
1301
1283
|
*/
|
|
1302
|
-
|
|
1284
|
+
getRecord(storageId: string): CancelablePromise<SessionStorageRecordDto>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Delete a record
|
|
1287
|
+
* @param storageId
|
|
1288
|
+
* @returns any Record deleted
|
|
1289
|
+
* @throws ApiError
|
|
1290
|
+
*/
|
|
1291
|
+
deleteRecord(storageId: string): CancelablePromise<any>;
|
|
1303
1292
|
}
|
|
1304
1293
|
|
|
1305
1294
|
type UIContentDto = {
|
|
@@ -2112,6 +2101,13 @@ interface SessionSupportEventDto {
|
|
|
2112
2101
|
feedback: string;
|
|
2113
2102
|
code: string;
|
|
2114
2103
|
}
|
|
2104
|
+
interface SessionStorageEventDto {
|
|
2105
|
+
appId: string;
|
|
2106
|
+
clientId?: string;
|
|
2107
|
+
userId?: string;
|
|
2108
|
+
operation: string;
|
|
2109
|
+
record: SessionStorageRecordDto;
|
|
2110
|
+
}
|
|
2115
2111
|
interface UiStatusDto {
|
|
2116
2112
|
appId: string;
|
|
2117
2113
|
clientId?: string;
|
|
@@ -2125,14 +2121,14 @@ interface UiContentDto {
|
|
|
2125
2121
|
clientId?: string;
|
|
2126
2122
|
userId?: string;
|
|
2127
2123
|
sessionId?: string;
|
|
2128
|
-
contentType:
|
|
2124
|
+
contentType: AnonymousSchema_235;
|
|
2129
2125
|
content: Record<string, any>;
|
|
2130
2126
|
metadata?: Record<string, any>;
|
|
2131
2127
|
options: Record<string, any>;
|
|
2132
2128
|
chunkId?: number;
|
|
2133
2129
|
messageId?: string;
|
|
2134
2130
|
}
|
|
2135
|
-
type
|
|
2131
|
+
type AnonymousSchema_235 = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
|
|
2136
2132
|
interface UiInteractionEventDto {
|
|
2137
2133
|
appId: string;
|
|
2138
2134
|
clientId?: string;
|
|
@@ -2352,19 +2348,19 @@ declare class Session {
|
|
|
2352
2348
|
appId?: string;
|
|
2353
2349
|
agentId?: string;
|
|
2354
2350
|
}): Promise<() => void>;
|
|
2355
|
-
|
|
2351
|
+
support(event: SessionSupportEventDto, params?: {
|
|
2356
2352
|
appId?: string;
|
|
2357
|
-
storageId?: string;
|
|
2358
2353
|
}): Promise<boolean>;
|
|
2359
|
-
|
|
2354
|
+
onSupport(fn: (event: SessionSupportEventDto) => void | Promise<void>, params?: {
|
|
2360
2355
|
appId?: string;
|
|
2361
|
-
storageId?: string;
|
|
2362
2356
|
}): Promise<() => void>;
|
|
2363
|
-
|
|
2357
|
+
storageUpdated(event: SessionStorageEventDto, params?: {
|
|
2364
2358
|
appId?: string;
|
|
2359
|
+
storageId?: string;
|
|
2365
2360
|
}): Promise<boolean>;
|
|
2366
|
-
|
|
2361
|
+
onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
|
|
2367
2362
|
appId?: string;
|
|
2363
|
+
storageId?: string;
|
|
2368
2364
|
}): Promise<() => void>;
|
|
2369
2365
|
}
|
|
2370
2366
|
|
|
@@ -2536,4 +2532,4 @@ declare class SermasApiClient {
|
|
|
2536
2532
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
2537
2533
|
}
|
|
2538
2534
|
|
|
2539
|
-
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentHeartBeatEventDto, type AnonymousSchema_125, type AnonymousSchema_199, type
|
|
2535
|
+
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentHeartBeatEventDto, type AnonymousSchema_125, type AnonymousSchema_199, type AnonymousSchema_235, type AnonymousSchema_60, type AnonymousSchema_63, type AppClientDto, type AppModuleConfigDto, type AppPromptDto, type AppSettingsDto, type AppToolsDTO, type AppToolsDto, type AudioClassificationEventDto, type AudioClassificationValue, type AuthJwtUser, type AuthorizationUser, type AvatarCameraConfig, type BoundingBox, Broker, type Buffer$1 as Buffer, type ButtonsContentDto, type ButtonsUIContentDto, type ClearScreenDto, type ClearUIContentDto, type CreatePlatformAppDto, type DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type DialogueUserMessageDto, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, type JwtTokenDto, 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 RepositoryAvatarModelDto, type RepositoryBackgroundMetadataDto, type RepositoryBackgroundModelDto, type RepositoryConfigDto, type RepositoryMapModelDto, type RepositoryRobotModelDto, type SentimentAnalysisRequest, SermasApiClient, type SermasApiClientConfig, type SermasBaseDto, type SermasEnvType, type SessionChangedDto, type SessionDto, type SessionStorageEventDto, type SessionStorageRecordDto, type SessionStorageSearchDto, type SessionSupportEventDto, type SessionSupportRequestDto, type SessionSupportResponseDto, type StatusDto, type StatusEventDto, type StringInferenceValue, type TextContentDto, type TextUIContentDto, type ToolsRequestSchema, type ToolsRequestSchemaAuthBasic, type ToolsRequestSchemaAuthBearer, type UIContentDto, type UIInteractionDTO, type UILoaderResponseDto, type UIModelMapBlendShapesRequestDto, type UIModelMapBlendShapesResponseDto, type UiContentDto, type UiInteractionDto, type UiInteractionEventDto, type UiStatusDto, 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 XRMarkerDto, type XRMarkerListRequestDto, type XRMarkerListResponseDto, type XROcclusionResponseDto, type XrMarkerDetectedDto, type XrMarkerDto, type XrOcclusionDto, sleep };
|
package/index.d.ts
CHANGED
|
@@ -1159,7 +1159,7 @@ type SessionDto = {
|
|
|
1159
1159
|
closedAt: string;
|
|
1160
1160
|
};
|
|
1161
1161
|
|
|
1162
|
-
type
|
|
1162
|
+
type SessionStorageRecordDto = {
|
|
1163
1163
|
appId: string;
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Reference to the authenticated client the request originated from
|
|
@@ -1169,45 +1169,16 @@ type SessionStorageEventDto = {
|
|
|
1169
1169
|
* Reference to the user interacting with the system
|
|
1170
1170
|
*/
|
|
1171
1171
|
userId?: string;
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
storageId: string;
|
|
1175
|
-
};
|
|
1176
|
-
|
|
1177
|
-
type SessionStorageRequestDto = {
|
|
1178
|
-
appId: string;
|
|
1179
|
-
/**
|
|
1180
|
-
* Reference to the authenticated client the request originated from
|
|
1181
|
-
*/
|
|
1182
|
-
clientId?: string;
|
|
1183
|
-
/**
|
|
1184
|
-
* Reference to the user interacting with the system
|
|
1185
|
-
*/
|
|
1186
|
-
userId?: string;
|
|
1187
|
-
sessionId: string;
|
|
1188
|
-
data: Record<string, any>;
|
|
1189
|
-
};
|
|
1190
|
-
|
|
1191
|
-
type SessionStorageResponseDto = {
|
|
1192
|
-
appId: string;
|
|
1193
|
-
/**
|
|
1194
|
-
* Reference to the authenticated client the request originated from
|
|
1195
|
-
*/
|
|
1196
|
-
clientId?: string;
|
|
1197
|
-
/**
|
|
1198
|
-
* Reference to the user interacting with the system
|
|
1199
|
-
*/
|
|
1200
|
-
userId?: string;
|
|
1201
|
-
sessionId: string;
|
|
1172
|
+
storageId?: string;
|
|
1173
|
+
sessionId?: string;
|
|
1202
1174
|
data: Record<string, any>;
|
|
1203
|
-
storageId: string;
|
|
1204
1175
|
};
|
|
1205
1176
|
|
|
1206
1177
|
type SessionStorageSearchDto = {
|
|
1207
1178
|
appId: string;
|
|
1208
|
-
userId
|
|
1209
|
-
sessionId
|
|
1210
|
-
storageId
|
|
1179
|
+
userId?: Array<string>;
|
|
1180
|
+
sessionId?: Array<string>;
|
|
1181
|
+
storageId?: Array<string>;
|
|
1211
1182
|
};
|
|
1212
1183
|
|
|
1213
1184
|
type SessionSupportRequestDto = {
|
|
@@ -1242,29 +1213,40 @@ declare class SessionService {
|
|
|
1242
1213
|
readonly httpRequest: BaseHttpRequest;
|
|
1243
1214
|
constructor(httpRequest: BaseHttpRequest);
|
|
1244
1215
|
/**
|
|
1216
|
+
* Load current user session
|
|
1217
|
+
* @param appId
|
|
1218
|
+
* @returns any
|
|
1219
|
+
* @throws ApiError
|
|
1220
|
+
*/
|
|
1221
|
+
getUserSession(appId: string): CancelablePromise<any>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Load a session
|
|
1245
1224
|
* @param sessionId
|
|
1246
1225
|
* @returns any
|
|
1247
1226
|
* @throws ApiError
|
|
1248
1227
|
*/
|
|
1249
|
-
|
|
1228
|
+
readSession(sessionId: string): CancelablePromise<any>;
|
|
1250
1229
|
/**
|
|
1230
|
+
* Remove session
|
|
1251
1231
|
* @param sessionId
|
|
1252
1232
|
* @returns any
|
|
1253
1233
|
* @throws ApiError
|
|
1254
1234
|
*/
|
|
1255
|
-
|
|
1235
|
+
deleteSession(sessionId: string): CancelablePromise<any>;
|
|
1256
1236
|
/**
|
|
1237
|
+
* Create session
|
|
1257
1238
|
* @param requestBody
|
|
1258
1239
|
* @returns any
|
|
1259
1240
|
* @throws ApiError
|
|
1260
1241
|
*/
|
|
1261
|
-
|
|
1242
|
+
createSession(requestBody: SessionDto): CancelablePromise<any>;
|
|
1262
1243
|
/**
|
|
1244
|
+
* Update session
|
|
1263
1245
|
* @param requestBody
|
|
1264
1246
|
* @returns any
|
|
1265
1247
|
* @throws ApiError
|
|
1266
1248
|
*/
|
|
1267
|
-
|
|
1249
|
+
updateSession(requestBody: SessionDto): CancelablePromise<any>;
|
|
1268
1250
|
/**
|
|
1269
1251
|
* Notifies of an agent update
|
|
1270
1252
|
* @param requestBody
|
|
@@ -1273,33 +1255,40 @@ declare class SessionService {
|
|
|
1273
1255
|
*/
|
|
1274
1256
|
agentUpdate(requestBody: AgentHeartBeatEventDto): CancelablePromise<any>;
|
|
1275
1257
|
/**
|
|
1276
|
-
*
|
|
1258
|
+
* Request support from human
|
|
1277
1259
|
* @param requestBody
|
|
1278
|
-
* @returns
|
|
1260
|
+
* @returns SessionSupportResponseDto Human support requested
|
|
1279
1261
|
* @throws ApiError
|
|
1280
1262
|
*/
|
|
1281
|
-
|
|
1263
|
+
support(requestBody: SessionSupportRequestDto): CancelablePromise<SessionSupportResponseDto>;
|
|
1282
1264
|
/**
|
|
1283
|
-
*
|
|
1284
|
-
* @param
|
|
1285
|
-
* @returns
|
|
1265
|
+
* Store user data
|
|
1266
|
+
* @param requestBody
|
|
1267
|
+
* @returns SessionStorageRecordDto Record stored
|
|
1286
1268
|
* @throws ApiError
|
|
1287
1269
|
*/
|
|
1288
|
-
|
|
1270
|
+
setRecord(requestBody: SessionStorageRecordDto): CancelablePromise<SessionStorageRecordDto>;
|
|
1289
1271
|
/**
|
|
1290
|
-
*
|
|
1272
|
+
* Store user data
|
|
1291
1273
|
* @param requestBody
|
|
1292
|
-
* @returns
|
|
1274
|
+
* @returns SessionStorageRecordDto Record stored
|
|
1293
1275
|
* @throws ApiError
|
|
1294
1276
|
*/
|
|
1295
|
-
|
|
1277
|
+
findRecords(requestBody: SessionStorageSearchDto): CancelablePromise<Array<SessionStorageRecordDto>>;
|
|
1296
1278
|
/**
|
|
1297
|
-
*
|
|
1298
|
-
* @param
|
|
1299
|
-
* @returns
|
|
1279
|
+
* Retrieve stored data
|
|
1280
|
+
* @param storageId
|
|
1281
|
+
* @returns SessionStorageRecordDto Record retrieved
|
|
1300
1282
|
* @throws ApiError
|
|
1301
1283
|
*/
|
|
1302
|
-
|
|
1284
|
+
getRecord(storageId: string): CancelablePromise<SessionStorageRecordDto>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Delete a record
|
|
1287
|
+
* @param storageId
|
|
1288
|
+
* @returns any Record deleted
|
|
1289
|
+
* @throws ApiError
|
|
1290
|
+
*/
|
|
1291
|
+
deleteRecord(storageId: string): CancelablePromise<any>;
|
|
1303
1292
|
}
|
|
1304
1293
|
|
|
1305
1294
|
type UIContentDto = {
|
|
@@ -2112,6 +2101,13 @@ interface SessionSupportEventDto {
|
|
|
2112
2101
|
feedback: string;
|
|
2113
2102
|
code: string;
|
|
2114
2103
|
}
|
|
2104
|
+
interface SessionStorageEventDto {
|
|
2105
|
+
appId: string;
|
|
2106
|
+
clientId?: string;
|
|
2107
|
+
userId?: string;
|
|
2108
|
+
operation: string;
|
|
2109
|
+
record: SessionStorageRecordDto;
|
|
2110
|
+
}
|
|
2115
2111
|
interface UiStatusDto {
|
|
2116
2112
|
appId: string;
|
|
2117
2113
|
clientId?: string;
|
|
@@ -2125,14 +2121,14 @@ interface UiContentDto {
|
|
|
2125
2121
|
clientId?: string;
|
|
2126
2122
|
userId?: string;
|
|
2127
2123
|
sessionId?: string;
|
|
2128
|
-
contentType:
|
|
2124
|
+
contentType: AnonymousSchema_235;
|
|
2129
2125
|
content: Record<string, any>;
|
|
2130
2126
|
metadata?: Record<string, any>;
|
|
2131
2127
|
options: Record<string, any>;
|
|
2132
2128
|
chunkId?: number;
|
|
2133
2129
|
messageId?: string;
|
|
2134
2130
|
}
|
|
2135
|
-
type
|
|
2131
|
+
type AnonymousSchema_235 = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
|
|
2136
2132
|
interface UiInteractionEventDto {
|
|
2137
2133
|
appId: string;
|
|
2138
2134
|
clientId?: string;
|
|
@@ -2352,19 +2348,19 @@ declare class Session {
|
|
|
2352
2348
|
appId?: string;
|
|
2353
2349
|
agentId?: string;
|
|
2354
2350
|
}): Promise<() => void>;
|
|
2355
|
-
|
|
2351
|
+
support(event: SessionSupportEventDto, params?: {
|
|
2356
2352
|
appId?: string;
|
|
2357
|
-
storageId?: string;
|
|
2358
2353
|
}): Promise<boolean>;
|
|
2359
|
-
|
|
2354
|
+
onSupport(fn: (event: SessionSupportEventDto) => void | Promise<void>, params?: {
|
|
2360
2355
|
appId?: string;
|
|
2361
|
-
storageId?: string;
|
|
2362
2356
|
}): Promise<() => void>;
|
|
2363
|
-
|
|
2357
|
+
storageUpdated(event: SessionStorageEventDto, params?: {
|
|
2364
2358
|
appId?: string;
|
|
2359
|
+
storageId?: string;
|
|
2365
2360
|
}): Promise<boolean>;
|
|
2366
|
-
|
|
2361
|
+
onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
|
|
2367
2362
|
appId?: string;
|
|
2363
|
+
storageId?: string;
|
|
2368
2364
|
}): Promise<() => void>;
|
|
2369
2365
|
}
|
|
2370
2366
|
|
|
@@ -2536,4 +2532,4 @@ declare class SermasApiClient {
|
|
|
2536
2532
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
2537
2533
|
}
|
|
2538
2534
|
|
|
2539
|
-
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentHeartBeatEventDto, type AnonymousSchema_125, type AnonymousSchema_199, type
|
|
2535
|
+
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentHeartBeatEventDto, type AnonymousSchema_125, type AnonymousSchema_199, type AnonymousSchema_235, type AnonymousSchema_60, type AnonymousSchema_63, type AppClientDto, type AppModuleConfigDto, type AppPromptDto, type AppSettingsDto, type AppToolsDTO, type AppToolsDto, type AudioClassificationEventDto, type AudioClassificationValue, type AuthJwtUser, type AuthorizationUser, type AvatarCameraConfig, type BoundingBox, Broker, type Buffer$1 as Buffer, type ButtonsContentDto, type ButtonsUIContentDto, type ClearScreenDto, type ClearUIContentDto, type CreatePlatformAppDto, type DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type DialogueUserMessageDto, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, type JwtTokenDto, 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 RepositoryAvatarModelDto, type RepositoryBackgroundMetadataDto, type RepositoryBackgroundModelDto, type RepositoryConfigDto, type RepositoryMapModelDto, type RepositoryRobotModelDto, type SentimentAnalysisRequest, SermasApiClient, type SermasApiClientConfig, type SermasBaseDto, type SermasEnvType, type SessionChangedDto, type SessionDto, type SessionStorageEventDto, type SessionStorageRecordDto, type SessionStorageSearchDto, type SessionSupportEventDto, type SessionSupportRequestDto, type SessionSupportResponseDto, type StatusDto, type StatusEventDto, type StringInferenceValue, type TextContentDto, type TextUIContentDto, type ToolsRequestSchema, type ToolsRequestSchemaAuthBasic, type ToolsRequestSchemaAuthBearer, type UIContentDto, type UIInteractionDTO, type UILoaderResponseDto, type UIModelMapBlendShapesRequestDto, type UIModelMapBlendShapesResponseDto, type UiContentDto, type UiInteractionDto, type UiInteractionEventDto, type UiStatusDto, 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 XRMarkerDto, type XRMarkerListRequestDto, type XRMarkerListResponseDto, type XROcclusionResponseDto, type XrMarkerDetectedDto, type XrMarkerDto, type XrOcclusionDto, sleep };
|