@sermas/api-client 1.0.0-alpha.72 → 1.0.0-alpha.73

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.d.cts CHANGED
@@ -1120,6 +1120,30 @@ type SessionSupportResponseDto = {
1120
1120
  ts?: string;
1121
1121
  supportId: string;
1122
1122
  };
1123
+ type SessionStorageRecordDto = {
1124
+ appId: string;
1125
+ /**
1126
+ * Reference to the authenticated client the request originated from
1127
+ */
1128
+ clientId?: string;
1129
+ /**
1130
+ * Reference to the user interacting with the system
1131
+ */
1132
+ userId?: string;
1133
+ /**
1134
+ * Reference date
1135
+ */
1136
+ ts?: string;
1137
+ storageId?: string;
1138
+ sessionId?: string;
1139
+ data: Record<string, unknown>;
1140
+ };
1141
+ type SessionStorageSearchDto = {
1142
+ appId: string;
1143
+ userId?: Array<string>;
1144
+ sessionId?: Array<string>;
1145
+ storageId?: Array<string>;
1146
+ };
1123
1147
  type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
1124
1148
  declare const AgentStatusEnum: {
1125
1149
  readonly UNAVAILABLE: "unavailable";
@@ -1149,8 +1173,10 @@ type AgentHeartBeatEventDto = {
1149
1173
  * Track the interaction session, if available
1150
1174
  */
1151
1175
  sessionId?: string;
1176
+ agentId?: string;
1152
1177
  moduleId: string;
1153
1178
  status: AgentStatus;
1179
+ settings?: AppSettingsDto;
1154
1180
  };
1155
1181
  type AgentEvaluatePromptOptionsDto = {
1156
1182
  /**
@@ -1235,30 +1261,6 @@ type AgentEvaluatePromptResponseDto = {
1235
1261
  result: Record<string, unknown>;
1236
1262
  format: AgentEvaluatePromptFormat;
1237
1263
  };
1238
- type SessionStorageRecordDto = {
1239
- appId: string;
1240
- /**
1241
- * Reference to the authenticated client the request originated from
1242
- */
1243
- clientId?: string;
1244
- /**
1245
- * Reference to the user interacting with the system
1246
- */
1247
- userId?: string;
1248
- /**
1249
- * Reference date
1250
- */
1251
- ts?: string;
1252
- storageId?: string;
1253
- sessionId?: string;
1254
- data: Record<string, unknown>;
1255
- };
1256
- type SessionStorageSearchDto = {
1257
- appId: string;
1258
- userId?: Array<string>;
1259
- sessionId?: Array<string>;
1260
- storageId?: Array<string>;
1261
- };
1262
1264
  type UIContentMetadataDto = {
1263
1265
  /**
1264
1266
  * Reference to a tool repository ID
@@ -1278,6 +1280,10 @@ type UIContentOptionsDto = {
1278
1280
  * Stop the agent speech
1279
1281
  */
1280
1282
  stopSpeech?: boolean;
1283
+ /**
1284
+ * Define the language of the content, it will be translated based on the language selected by the user.
1285
+ */
1286
+ language?: string;
1281
1287
  };
1282
1288
  type SupportedContentTypes = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
1283
1289
  declare const SupportedContentTypesEnum: {
@@ -1944,15 +1950,37 @@ type UIAssetDto = {
1944
1950
  ts?: string;
1945
1951
  };
1946
1952
  type Buffer$1 = {};
1947
- type ViewLogsRequestDto = {
1948
- sessionId: string;
1949
- type?: 'speech' | 'characterization' | 'speechToText';
1950
- ts?: string;
1951
- };
1952
- declare const TypeEnum: {
1953
- readonly SPEECH: "speech";
1953
+ type LogType = 'characterization' | 'stt' | 'tts' | 'interaction' | 'session' | 'document' | 'chat' | 'task' | 'performance';
1954
+ declare const LogTypeEnum: {
1954
1955
  readonly CHARACTERIZATION: "characterization";
1955
- readonly SPEECH_TO_TEXT: "speechToText";
1956
+ readonly STT: "stt";
1957
+ readonly TTS: "tts";
1958
+ readonly INTERACTION: "interaction";
1959
+ readonly SESSION: "session";
1960
+ readonly DOCUMENT: "document";
1961
+ readonly CHAT: "chat";
1962
+ readonly TASK: "task";
1963
+ readonly PERFORMANCE: "performance";
1964
+ };
1965
+ type DatasetRecordFilterDto = {
1966
+ appId: string;
1967
+ /**
1968
+ * Reference to the authenticated client the request originated from
1969
+ */
1970
+ clientId?: string;
1971
+ /**
1972
+ * Reference to the user interacting with the system
1973
+ */
1974
+ userId?: string;
1975
+ /**
1976
+ * Reference date
1977
+ */
1978
+ ts?: string;
1979
+ /**
1980
+ * Track the interaction session, if available
1981
+ */
1982
+ sessionId?: string;
1983
+ type?: LogType;
1956
1984
  };
1957
1985
  type XRMarkerListRequestDto = {
1958
1986
  appId: string;
@@ -2580,9 +2608,8 @@ type TDataGetPlatformModule = {
2580
2608
  type TDataRemovePlatformModule = {
2581
2609
  moduleId: string;
2582
2610
  };
2583
- type TDataDataLoggerControllerGetLogs = {
2584
- appId: string;
2585
- requestBody: ViewLogsRequestDto;
2611
+ type TDataMonitoringDatasetControllerGetLogs = {
2612
+ requestBody: DatasetRecordFilterDto;
2586
2613
  };
2587
2614
  declare class PlatformService {
2588
2615
  readonly httpRequest: BaseHttpRequest;
@@ -2767,7 +2794,7 @@ declare class PlatformService {
2767
2794
  * @returns any
2768
2795
  * @throws ApiError
2769
2796
  */
2770
- dataLoggerControllerGetLogs(data: TDataDataLoggerControllerGetLogs): CancelablePromise<any>;
2797
+ monitoringDatasetControllerGetLogs(data: TDataMonitoringDatasetControllerGetLogs): CancelablePromise<any>;
2771
2798
  }
2772
2799
 
2773
2800
  type TDataRoboticsAgentControllerMoveToArea = {
@@ -2879,12 +2906,6 @@ type TDataUpdateSession = {
2879
2906
  type TDataSupport = {
2880
2907
  requestBody: SessionSupportRequestDto;
2881
2908
  };
2882
- type TDataAgentUpdate = {
2883
- requestBody: AgentHeartBeatEventDto;
2884
- };
2885
- type TDataPrompt = {
2886
- requestBody: AgentEvaluatePromptDto;
2887
- };
2888
2909
  type TDataSetRecord = {
2889
2910
  requestBody: SessionStorageRecordDto;
2890
2911
  };
@@ -2897,6 +2918,12 @@ type TDataGetRecord = {
2897
2918
  type TDataDeleteRecord = {
2898
2919
  storageId: string;
2899
2920
  };
2921
+ type TDataAgentUpdate = {
2922
+ requestBody: AgentHeartBeatEventDto;
2923
+ };
2924
+ type TDataPrompt = {
2925
+ requestBody: AgentEvaluatePromptDto;
2926
+ };
2900
2927
  declare class SessionService {
2901
2928
  readonly httpRequest: BaseHttpRequest;
2902
2929
  constructor(httpRequest: BaseHttpRequest);
@@ -2936,18 +2963,6 @@ declare class SessionService {
2936
2963
  * @throws ApiError
2937
2964
  */
2938
2965
  support(data: TDataSupport): CancelablePromise<SessionSupportResponseDto>;
2939
- /**
2940
- * Notifies of an agent update
2941
- * @returns any
2942
- * @throws ApiError
2943
- */
2944
- agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
2945
- /**
2946
- * Evaluate a prompt within the session context
2947
- * @returns AgentEvaluatePromptResponseDto
2948
- * @throws ApiError
2949
- */
2950
- prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
2951
2966
  /**
2952
2967
  * Store user data
2953
2968
  * @returns SessionStorageRecordDto Record stored
@@ -2972,6 +2987,18 @@ declare class SessionService {
2972
2987
  * @throws ApiError
2973
2988
  */
2974
2989
  deleteRecord(data: TDataDeleteRecord): CancelablePromise<any>;
2990
+ /**
2991
+ * Notifies of an agent update
2992
+ * @returns any
2993
+ * @throws ApiError
2994
+ */
2995
+ agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
2996
+ /**
2997
+ * Evaluate a prompt within the session context
2998
+ * @returns AgentEvaluatePromptResponseDto
2999
+ * @throws ApiError
3000
+ */
3001
+ prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
2975
3002
  }
2976
3003
 
2977
3004
  type TDataNotifyInteraction = {
@@ -3454,6 +3481,15 @@ interface SessionSupportEventDto {
3454
3481
  feedback: string;
3455
3482
  code: string;
3456
3483
  }
3484
+ interface SessionStorageEventDto {
3485
+ appId: string;
3486
+ clientId?: string;
3487
+ userId?: string;
3488
+ ts?: string;
3489
+ operation: string;
3490
+ sessionId?: string;
3491
+ record: SessionStorageRecordDto;
3492
+ }
3457
3493
  interface AgentDto {
3458
3494
  appId: string;
3459
3495
  clientId?: string;
@@ -3472,15 +3508,7 @@ interface AgentChangedDto {
3472
3508
  sessionId?: string;
3473
3509
  moduleId: string;
3474
3510
  record: AgentDto;
3475
- }
3476
- interface SessionStorageEventDto {
3477
- appId: string;
3478
- clientId?: string;
3479
- userId?: string;
3480
- ts?: string;
3481
- operation: string;
3482
- sessionId?: string;
3483
- record: SessionStorageRecordDto;
3511
+ settings?: AppSettingsDto;
3484
3512
  }
3485
3513
  interface UIAssetChangedDto {
3486
3514
  appId: string;
@@ -3499,6 +3527,7 @@ interface anonymous_schema_400 {
3499
3527
  clearScreen?: boolean;
3500
3528
  ttsEnabled?: boolean;
3501
3529
  stopSpeech?: boolean;
3530
+ language?: string;
3502
3531
  additionalProperties?: Record<string, any>;
3503
3532
  }
3504
3533
  interface UIInteractionEventDto {
@@ -3761,6 +3790,14 @@ declare class Session {
3761
3790
  onSupport(fn: (event: SessionSupportEventDto) => void | Promise<void>, params?: {
3762
3791
  appId?: string;
3763
3792
  }): Promise<() => void>;
3793
+ storageUpdated(event: SessionStorageEventDto, params?: {
3794
+ appId?: string;
3795
+ storageId?: string;
3796
+ }): Promise<boolean>;
3797
+ onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
3798
+ appId?: string;
3799
+ storageId?: string;
3800
+ }): Promise<() => void>;
3764
3801
  agentInteraction(event: AgentDto, params?: {
3765
3802
  appId?: string;
3766
3803
  }): Promise<boolean>;
@@ -3775,14 +3812,6 @@ declare class Session {
3775
3812
  appId?: string;
3776
3813
  agentId?: string;
3777
3814
  }): Promise<() => void>;
3778
- storageUpdated(event: SessionStorageEventDto, params?: {
3779
- appId?: string;
3780
- storageId?: string;
3781
- }): Promise<boolean>;
3782
- onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
3783
- appId?: string;
3784
- storageId?: string;
3785
- }): Promise<() => void>;
3786
3815
  }
3787
3816
 
3788
3817
  declare class Ui {
@@ -3971,4 +4000,4 @@ declare class SermasApiClient {
3971
4000
  login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
3972
4001
  }
3973
4002
 
3974
- export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentEvaluatePromptDto, type AgentEvaluatePromptFormat, AgentEvaluatePromptFormatEnum, type AgentEvaluatePromptOptionsDto, type AgentEvaluatePromptResponseDto, 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 DialogueMemoryMessageDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTaskChangedDto, type DialogueTaskDto, type DialogueTaskProgressDto, type DialogueTaskRecordChangedDto, type DialogueTaskRecordDto, type DialogueTaskRecordHandlerDto, 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 LLMProvider, LLMProviderEnum, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, Logger, type LoggerService, 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 OperationalStateDto, type OperationalStateEventDto, type OptionSelection, 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 QrCodeDto, type QrCodePayloadDto, type QuizAnswerDto, type QuizContentDto, type QuizUIContentDto, type RagDocumentsDto, type RagWebsiteDto, 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 TaskEventDto, type TaskEventTriggerDto, type TaskEventType, TaskEventTypeEnum, type TaskFieldDto, type TaskIntentDto, type TaskOptionsDto, type TaskSchemaDataType, TaskSchemaDataTypeEnum, 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_149, type anonymous_schema_153, type anonymous_schema_212, type anonymous_schema_281, type anonymous_schema_282, type anonymous_schema_303, type anonymous_schema_322, type anonymous_schema_397, type anonymous_schema_400, type anonymous_schema_99, sleep };
4003
+ export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentEvaluatePromptDto, type AgentEvaluatePromptFormat, AgentEvaluatePromptFormatEnum, type AgentEvaluatePromptOptionsDto, type AgentEvaluatePromptResponseDto, 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 DatasetRecordFilterDto, type DialogueActor, DialogueActorEnum, type DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueDocumentOptionsDto, type DialogueMemoryMessageDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTaskChangedDto, type DialogueTaskDto, type DialogueTaskProgressDto, type DialogueTaskRecordChangedDto, type DialogueTaskRecordDto, type DialogueTaskRecordHandlerDto, 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 LLMProvider, LLMProviderEnum, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, type LogType, LogTypeEnum, Logger, type LoggerService, 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 OperationalStateDto, type OperationalStateEventDto, type OptionSelection, 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 QrCodeDto, type QrCodePayloadDto, type QuizAnswerDto, type QuizContentDto, type QuizUIContentDto, type RagDocumentsDto, type RagWebsiteDto, 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 TaskEventDto, type TaskEventTriggerDto, type TaskEventType, TaskEventTypeEnum, type TaskFieldDto, type TaskIntentDto, type TaskOptionsDto, type TaskSchemaDataType, TaskSchemaDataTypeEnum, type TextContentDto, type TextUIContentDto, type ToolsParameterSchema, type ToolsParameterSchemaTypes, ToolsParameterSchemaTypesEnum, type ToolsRequestSchema, type ToolsRequestSchemaAuthBasic, type ToolsRequestSchemaAuthBearer, 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 WebpageContentDto, type WebpageUIContentDto, type XRMarkerChangedDto, type XRMarkerDto, type XRMarkerListRequestDto, type XROcclusionDto, type XROcclusionResponseDto, type anonymous_schema_101, type anonymous_schema_104, type anonymous_schema_149, type anonymous_schema_153, type anonymous_schema_212, type anonymous_schema_281, type anonymous_schema_282, type anonymous_schema_303, type anonymous_schema_322, type anonymous_schema_397, type anonymous_schema_400, type anonymous_schema_99, sleep };
package/index.d.ts CHANGED
@@ -1120,6 +1120,30 @@ type SessionSupportResponseDto = {
1120
1120
  ts?: string;
1121
1121
  supportId: string;
1122
1122
  };
1123
+ type SessionStorageRecordDto = {
1124
+ appId: string;
1125
+ /**
1126
+ * Reference to the authenticated client the request originated from
1127
+ */
1128
+ clientId?: string;
1129
+ /**
1130
+ * Reference to the user interacting with the system
1131
+ */
1132
+ userId?: string;
1133
+ /**
1134
+ * Reference date
1135
+ */
1136
+ ts?: string;
1137
+ storageId?: string;
1138
+ sessionId?: string;
1139
+ data: Record<string, unknown>;
1140
+ };
1141
+ type SessionStorageSearchDto = {
1142
+ appId: string;
1143
+ userId?: Array<string>;
1144
+ sessionId?: Array<string>;
1145
+ storageId?: Array<string>;
1146
+ };
1123
1147
  type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
1124
1148
  declare const AgentStatusEnum: {
1125
1149
  readonly UNAVAILABLE: "unavailable";
@@ -1149,8 +1173,10 @@ type AgentHeartBeatEventDto = {
1149
1173
  * Track the interaction session, if available
1150
1174
  */
1151
1175
  sessionId?: string;
1176
+ agentId?: string;
1152
1177
  moduleId: string;
1153
1178
  status: AgentStatus;
1179
+ settings?: AppSettingsDto;
1154
1180
  };
1155
1181
  type AgentEvaluatePromptOptionsDto = {
1156
1182
  /**
@@ -1235,30 +1261,6 @@ type AgentEvaluatePromptResponseDto = {
1235
1261
  result: Record<string, unknown>;
1236
1262
  format: AgentEvaluatePromptFormat;
1237
1263
  };
1238
- type SessionStorageRecordDto = {
1239
- appId: string;
1240
- /**
1241
- * Reference to the authenticated client the request originated from
1242
- */
1243
- clientId?: string;
1244
- /**
1245
- * Reference to the user interacting with the system
1246
- */
1247
- userId?: string;
1248
- /**
1249
- * Reference date
1250
- */
1251
- ts?: string;
1252
- storageId?: string;
1253
- sessionId?: string;
1254
- data: Record<string, unknown>;
1255
- };
1256
- type SessionStorageSearchDto = {
1257
- appId: string;
1258
- userId?: Array<string>;
1259
- sessionId?: Array<string>;
1260
- storageId?: Array<string>;
1261
- };
1262
1264
  type UIContentMetadataDto = {
1263
1265
  /**
1264
1266
  * Reference to a tool repository ID
@@ -1278,6 +1280,10 @@ type UIContentOptionsDto = {
1278
1280
  * Stop the agent speech
1279
1281
  */
1280
1282
  stopSpeech?: boolean;
1283
+ /**
1284
+ * Define the language of the content, it will be translated based on the language selected by the user.
1285
+ */
1286
+ language?: string;
1281
1287
  };
1282
1288
  type SupportedContentTypes = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
1283
1289
  declare const SupportedContentTypesEnum: {
@@ -1944,15 +1950,37 @@ type UIAssetDto = {
1944
1950
  ts?: string;
1945
1951
  };
1946
1952
  type Buffer$1 = {};
1947
- type ViewLogsRequestDto = {
1948
- sessionId: string;
1949
- type?: 'speech' | 'characterization' | 'speechToText';
1950
- ts?: string;
1951
- };
1952
- declare const TypeEnum: {
1953
- readonly SPEECH: "speech";
1953
+ type LogType = 'characterization' | 'stt' | 'tts' | 'interaction' | 'session' | 'document' | 'chat' | 'task' | 'performance';
1954
+ declare const LogTypeEnum: {
1954
1955
  readonly CHARACTERIZATION: "characterization";
1955
- readonly SPEECH_TO_TEXT: "speechToText";
1956
+ readonly STT: "stt";
1957
+ readonly TTS: "tts";
1958
+ readonly INTERACTION: "interaction";
1959
+ readonly SESSION: "session";
1960
+ readonly DOCUMENT: "document";
1961
+ readonly CHAT: "chat";
1962
+ readonly TASK: "task";
1963
+ readonly PERFORMANCE: "performance";
1964
+ };
1965
+ type DatasetRecordFilterDto = {
1966
+ appId: string;
1967
+ /**
1968
+ * Reference to the authenticated client the request originated from
1969
+ */
1970
+ clientId?: string;
1971
+ /**
1972
+ * Reference to the user interacting with the system
1973
+ */
1974
+ userId?: string;
1975
+ /**
1976
+ * Reference date
1977
+ */
1978
+ ts?: string;
1979
+ /**
1980
+ * Track the interaction session, if available
1981
+ */
1982
+ sessionId?: string;
1983
+ type?: LogType;
1956
1984
  };
1957
1985
  type XRMarkerListRequestDto = {
1958
1986
  appId: string;
@@ -2580,9 +2608,8 @@ type TDataGetPlatformModule = {
2580
2608
  type TDataRemovePlatformModule = {
2581
2609
  moduleId: string;
2582
2610
  };
2583
- type TDataDataLoggerControllerGetLogs = {
2584
- appId: string;
2585
- requestBody: ViewLogsRequestDto;
2611
+ type TDataMonitoringDatasetControllerGetLogs = {
2612
+ requestBody: DatasetRecordFilterDto;
2586
2613
  };
2587
2614
  declare class PlatformService {
2588
2615
  readonly httpRequest: BaseHttpRequest;
@@ -2767,7 +2794,7 @@ declare class PlatformService {
2767
2794
  * @returns any
2768
2795
  * @throws ApiError
2769
2796
  */
2770
- dataLoggerControllerGetLogs(data: TDataDataLoggerControllerGetLogs): CancelablePromise<any>;
2797
+ monitoringDatasetControllerGetLogs(data: TDataMonitoringDatasetControllerGetLogs): CancelablePromise<any>;
2771
2798
  }
2772
2799
 
2773
2800
  type TDataRoboticsAgentControllerMoveToArea = {
@@ -2879,12 +2906,6 @@ type TDataUpdateSession = {
2879
2906
  type TDataSupport = {
2880
2907
  requestBody: SessionSupportRequestDto;
2881
2908
  };
2882
- type TDataAgentUpdate = {
2883
- requestBody: AgentHeartBeatEventDto;
2884
- };
2885
- type TDataPrompt = {
2886
- requestBody: AgentEvaluatePromptDto;
2887
- };
2888
2909
  type TDataSetRecord = {
2889
2910
  requestBody: SessionStorageRecordDto;
2890
2911
  };
@@ -2897,6 +2918,12 @@ type TDataGetRecord = {
2897
2918
  type TDataDeleteRecord = {
2898
2919
  storageId: string;
2899
2920
  };
2921
+ type TDataAgentUpdate = {
2922
+ requestBody: AgentHeartBeatEventDto;
2923
+ };
2924
+ type TDataPrompt = {
2925
+ requestBody: AgentEvaluatePromptDto;
2926
+ };
2900
2927
  declare class SessionService {
2901
2928
  readonly httpRequest: BaseHttpRequest;
2902
2929
  constructor(httpRequest: BaseHttpRequest);
@@ -2936,18 +2963,6 @@ declare class SessionService {
2936
2963
  * @throws ApiError
2937
2964
  */
2938
2965
  support(data: TDataSupport): CancelablePromise<SessionSupportResponseDto>;
2939
- /**
2940
- * Notifies of an agent update
2941
- * @returns any
2942
- * @throws ApiError
2943
- */
2944
- agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
2945
- /**
2946
- * Evaluate a prompt within the session context
2947
- * @returns AgentEvaluatePromptResponseDto
2948
- * @throws ApiError
2949
- */
2950
- prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
2951
2966
  /**
2952
2967
  * Store user data
2953
2968
  * @returns SessionStorageRecordDto Record stored
@@ -2972,6 +2987,18 @@ declare class SessionService {
2972
2987
  * @throws ApiError
2973
2988
  */
2974
2989
  deleteRecord(data: TDataDeleteRecord): CancelablePromise<any>;
2990
+ /**
2991
+ * Notifies of an agent update
2992
+ * @returns any
2993
+ * @throws ApiError
2994
+ */
2995
+ agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
2996
+ /**
2997
+ * Evaluate a prompt within the session context
2998
+ * @returns AgentEvaluatePromptResponseDto
2999
+ * @throws ApiError
3000
+ */
3001
+ prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
2975
3002
  }
2976
3003
 
2977
3004
  type TDataNotifyInteraction = {
@@ -3454,6 +3481,15 @@ interface SessionSupportEventDto {
3454
3481
  feedback: string;
3455
3482
  code: string;
3456
3483
  }
3484
+ interface SessionStorageEventDto {
3485
+ appId: string;
3486
+ clientId?: string;
3487
+ userId?: string;
3488
+ ts?: string;
3489
+ operation: string;
3490
+ sessionId?: string;
3491
+ record: SessionStorageRecordDto;
3492
+ }
3457
3493
  interface AgentDto {
3458
3494
  appId: string;
3459
3495
  clientId?: string;
@@ -3472,15 +3508,7 @@ interface AgentChangedDto {
3472
3508
  sessionId?: string;
3473
3509
  moduleId: string;
3474
3510
  record: AgentDto;
3475
- }
3476
- interface SessionStorageEventDto {
3477
- appId: string;
3478
- clientId?: string;
3479
- userId?: string;
3480
- ts?: string;
3481
- operation: string;
3482
- sessionId?: string;
3483
- record: SessionStorageRecordDto;
3511
+ settings?: AppSettingsDto;
3484
3512
  }
3485
3513
  interface UIAssetChangedDto {
3486
3514
  appId: string;
@@ -3499,6 +3527,7 @@ interface anonymous_schema_400 {
3499
3527
  clearScreen?: boolean;
3500
3528
  ttsEnabled?: boolean;
3501
3529
  stopSpeech?: boolean;
3530
+ language?: string;
3502
3531
  additionalProperties?: Record<string, any>;
3503
3532
  }
3504
3533
  interface UIInteractionEventDto {
@@ -3761,6 +3790,14 @@ declare class Session {
3761
3790
  onSupport(fn: (event: SessionSupportEventDto) => void | Promise<void>, params?: {
3762
3791
  appId?: string;
3763
3792
  }): Promise<() => void>;
3793
+ storageUpdated(event: SessionStorageEventDto, params?: {
3794
+ appId?: string;
3795
+ storageId?: string;
3796
+ }): Promise<boolean>;
3797
+ onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
3798
+ appId?: string;
3799
+ storageId?: string;
3800
+ }): Promise<() => void>;
3764
3801
  agentInteraction(event: AgentDto, params?: {
3765
3802
  appId?: string;
3766
3803
  }): Promise<boolean>;
@@ -3775,14 +3812,6 @@ declare class Session {
3775
3812
  appId?: string;
3776
3813
  agentId?: string;
3777
3814
  }): Promise<() => void>;
3778
- storageUpdated(event: SessionStorageEventDto, params?: {
3779
- appId?: string;
3780
- storageId?: string;
3781
- }): Promise<boolean>;
3782
- onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
3783
- appId?: string;
3784
- storageId?: string;
3785
- }): Promise<() => void>;
3786
3815
  }
3787
3816
 
3788
3817
  declare class Ui {
@@ -3971,4 +4000,4 @@ declare class SermasApiClient {
3971
4000
  login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
3972
4001
  }
3973
4002
 
3974
- export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentEvaluatePromptDto, type AgentEvaluatePromptFormat, AgentEvaluatePromptFormatEnum, type AgentEvaluatePromptOptionsDto, type AgentEvaluatePromptResponseDto, 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 DialogueMemoryMessageDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTaskChangedDto, type DialogueTaskDto, type DialogueTaskProgressDto, type DialogueTaskRecordChangedDto, type DialogueTaskRecordDto, type DialogueTaskRecordHandlerDto, 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 LLMProvider, LLMProviderEnum, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, Logger, type LoggerService, 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 OperationalStateDto, type OperationalStateEventDto, type OptionSelection, 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 QrCodeDto, type QrCodePayloadDto, type QuizAnswerDto, type QuizContentDto, type QuizUIContentDto, type RagDocumentsDto, type RagWebsiteDto, 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 TaskEventDto, type TaskEventTriggerDto, type TaskEventType, TaskEventTypeEnum, type TaskFieldDto, type TaskIntentDto, type TaskOptionsDto, type TaskSchemaDataType, TaskSchemaDataTypeEnum, 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_149, type anonymous_schema_153, type anonymous_schema_212, type anonymous_schema_281, type anonymous_schema_282, type anonymous_schema_303, type anonymous_schema_322, type anonymous_schema_397, type anonymous_schema_400, type anonymous_schema_99, sleep };
4003
+ export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentEvaluatePromptDto, type AgentEvaluatePromptFormat, AgentEvaluatePromptFormatEnum, type AgentEvaluatePromptOptionsDto, type AgentEvaluatePromptResponseDto, 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 DatasetRecordFilterDto, type DialogueActor, DialogueActorEnum, type DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueDocumentOptionsDto, type DialogueMemoryMessageDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTaskChangedDto, type DialogueTaskDto, type DialogueTaskProgressDto, type DialogueTaskRecordChangedDto, type DialogueTaskRecordDto, type DialogueTaskRecordHandlerDto, 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 LLMProvider, LLMProviderEnum, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, type LogType, LogTypeEnum, Logger, type LoggerService, 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 OperationalStateDto, type OperationalStateEventDto, type OptionSelection, 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 QrCodeDto, type QrCodePayloadDto, type QuizAnswerDto, type QuizContentDto, type QuizUIContentDto, type RagDocumentsDto, type RagWebsiteDto, 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 TaskEventDto, type TaskEventTriggerDto, type TaskEventType, TaskEventTypeEnum, type TaskFieldDto, type TaskIntentDto, type TaskOptionsDto, type TaskSchemaDataType, TaskSchemaDataTypeEnum, type TextContentDto, type TextUIContentDto, type ToolsParameterSchema, type ToolsParameterSchemaTypes, ToolsParameterSchemaTypesEnum, type ToolsRequestSchema, type ToolsRequestSchemaAuthBasic, type ToolsRequestSchemaAuthBearer, 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 WebpageContentDto, type WebpageUIContentDto, type XRMarkerChangedDto, type XRMarkerDto, type XRMarkerListRequestDto, type XROcclusionDto, type XROcclusionResponseDto, type anonymous_schema_101, type anonymous_schema_104, type anonymous_schema_149, type anonymous_schema_153, type anonymous_schema_212, type anonymous_schema_281, type anonymous_schema_282, type anonymous_schema_303, type anonymous_schema_322, type anonymous_schema_397, type anonymous_schema_400, type anonymous_schema_99, sleep };