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

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,30 +1120,6 @@ 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
- };
1147
1123
  type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
1148
1124
  declare const AgentStatusEnum: {
1149
1125
  readonly UNAVAILABLE: "unavailable";
@@ -1175,7 +1151,6 @@ type AgentHeartBeatEventDto = {
1175
1151
  sessionId?: string;
1176
1152
  moduleId: string;
1177
1153
  status: AgentStatus;
1178
- settings?: AppSettingsDto;
1179
1154
  };
1180
1155
  type AgentEvaluatePromptOptionsDto = {
1181
1156
  /**
@@ -1260,6 +1235,30 @@ type AgentEvaluatePromptResponseDto = {
1260
1235
  result: Record<string, unknown>;
1261
1236
  format: AgentEvaluatePromptFormat;
1262
1237
  };
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
+ };
1263
1262
  type UIContentMetadataDto = {
1264
1263
  /**
1265
1264
  * Reference to a tool repository ID
@@ -1279,10 +1278,6 @@ type UIContentOptionsDto = {
1279
1278
  * Stop the agent speech
1280
1279
  */
1281
1280
  stopSpeech?: boolean;
1282
- /**
1283
- * Define the language of the content, it will be translated based on the language selected by the user.
1284
- */
1285
- language?: string;
1286
1281
  };
1287
1282
  type SupportedContentTypes = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
1288
1283
  declare const SupportedContentTypesEnum: {
@@ -2536,7 +2531,6 @@ type TDataRemoveApp = {
2536
2531
  appId: string;
2537
2532
  };
2538
2533
  type TDataImportApps = {
2539
- importWebsites: string;
2540
2534
  requestBody: Array<PlatformAppDto>;
2541
2535
  skipClients: string;
2542
2536
  };
@@ -2885,6 +2879,12 @@ type TDataUpdateSession = {
2885
2879
  type TDataSupport = {
2886
2880
  requestBody: SessionSupportRequestDto;
2887
2881
  };
2882
+ type TDataAgentUpdate = {
2883
+ requestBody: AgentHeartBeatEventDto;
2884
+ };
2885
+ type TDataPrompt = {
2886
+ requestBody: AgentEvaluatePromptDto;
2887
+ };
2888
2888
  type TDataSetRecord = {
2889
2889
  requestBody: SessionStorageRecordDto;
2890
2890
  };
@@ -2897,12 +2897,6 @@ type TDataGetRecord = {
2897
2897
  type TDataDeleteRecord = {
2898
2898
  storageId: string;
2899
2899
  };
2900
- type TDataAgentUpdate = {
2901
- requestBody: AgentHeartBeatEventDto;
2902
- };
2903
- type TDataPrompt = {
2904
- requestBody: AgentEvaluatePromptDto;
2905
- };
2906
2900
  declare class SessionService {
2907
2901
  readonly httpRequest: BaseHttpRequest;
2908
2902
  constructor(httpRequest: BaseHttpRequest);
@@ -2942,6 +2936,18 @@ declare class SessionService {
2942
2936
  * @throws ApiError
2943
2937
  */
2944
2938
  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>;
2945
2951
  /**
2946
2952
  * Store user data
2947
2953
  * @returns SessionStorageRecordDto Record stored
@@ -2966,18 +2972,6 @@ declare class SessionService {
2966
2972
  * @throws ApiError
2967
2973
  */
2968
2974
  deleteRecord(data: TDataDeleteRecord): CancelablePromise<any>;
2969
- /**
2970
- * Notifies of an agent update
2971
- * @returns any
2972
- * @throws ApiError
2973
- */
2974
- agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
2975
- /**
2976
- * Evaluate a prompt within the session context
2977
- * @returns AgentEvaluatePromptResponseDto
2978
- * @throws ApiError
2979
- */
2980
- prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
2981
2975
  }
2982
2976
 
2983
2977
  type TDataNotifyInteraction = {
@@ -3460,15 +3454,6 @@ interface SessionSupportEventDto {
3460
3454
  feedback: string;
3461
3455
  code: string;
3462
3456
  }
3463
- interface SessionStorageEventDto {
3464
- appId: string;
3465
- clientId?: string;
3466
- userId?: string;
3467
- ts?: string;
3468
- operation: string;
3469
- sessionId?: string;
3470
- record: SessionStorageRecordDto;
3471
- }
3472
3457
  interface AgentDto {
3473
3458
  appId: string;
3474
3459
  clientId?: string;
@@ -3488,6 +3473,15 @@ interface AgentChangedDto {
3488
3473
  moduleId: string;
3489
3474
  record: AgentDto;
3490
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;
3484
+ }
3491
3485
  interface UIAssetChangedDto {
3492
3486
  appId: string;
3493
3487
  clientId?: string;
@@ -3505,7 +3499,6 @@ interface anonymous_schema_400 {
3505
3499
  clearScreen?: boolean;
3506
3500
  ttsEnabled?: boolean;
3507
3501
  stopSpeech?: boolean;
3508
- language?: string;
3509
3502
  additionalProperties?: Record<string, any>;
3510
3503
  }
3511
3504
  interface UIInteractionEventDto {
@@ -3544,6 +3537,17 @@ interface InitialPoseDto {
3544
3537
  pose: PoseDto;
3545
3538
  covariance: string[];
3546
3539
  }
3540
+ interface OperationalStateEventDto {
3541
+ appId: string;
3542
+ clientId?: string;
3543
+ userId?: string;
3544
+ ts?: string;
3545
+ state: OperationalStateDto;
3546
+ }
3547
+ interface OperationalStateDto {
3548
+ op: string;
3549
+ state: string;
3550
+ }
3547
3551
 
3548
3552
  declare class Platform {
3549
3553
  private readonly broker;
@@ -3757,14 +3761,6 @@ declare class Session {
3757
3761
  onSupport(fn: (event: SessionSupportEventDto) => void | Promise<void>, params?: {
3758
3762
  appId?: string;
3759
3763
  }): Promise<() => void>;
3760
- storageUpdated(event: SessionStorageEventDto, params?: {
3761
- appId?: string;
3762
- storageId?: string;
3763
- }): Promise<boolean>;
3764
- onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
3765
- appId?: string;
3766
- storageId?: string;
3767
- }): Promise<() => void>;
3768
3764
  agentInteraction(event: AgentDto, params?: {
3769
3765
  appId?: string;
3770
3766
  }): Promise<boolean>;
@@ -3779,6 +3775,14 @@ declare class Session {
3779
3775
  appId?: string;
3780
3776
  agentId?: string;
3781
3777
  }): 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>;
3782
3786
  }
3783
3787
 
3784
3788
  declare class Ui {
@@ -3858,6 +3862,12 @@ declare class Robotics {
3858
3862
  onInitialPose(fn: (event: InitialPoseEventDto) => void | Promise<void>, params?: {
3859
3863
  appId?: string;
3860
3864
  }): Promise<() => void>;
3865
+ opState(event: OperationalStateEventDto, params?: {
3866
+ appId?: string;
3867
+ }): Promise<boolean>;
3868
+ onOpState(fn: (event: OperationalStateEventDto) => void | Promise<void>, params?: {
3869
+ appId?: string;
3870
+ }): Promise<() => void>;
3861
3871
  }
3862
3872
 
3863
3873
  declare class AsyncApiClient {
@@ -3961,4 +3971,4 @@ declare class SermasApiClient {
3961
3971
  login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
3962
3972
  }
3963
3973
 
3964
- 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 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 };
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 };
package/index.d.ts CHANGED
@@ -1120,30 +1120,6 @@ 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
- };
1147
1123
  type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
1148
1124
  declare const AgentStatusEnum: {
1149
1125
  readonly UNAVAILABLE: "unavailable";
@@ -1175,7 +1151,6 @@ type AgentHeartBeatEventDto = {
1175
1151
  sessionId?: string;
1176
1152
  moduleId: string;
1177
1153
  status: AgentStatus;
1178
- settings?: AppSettingsDto;
1179
1154
  };
1180
1155
  type AgentEvaluatePromptOptionsDto = {
1181
1156
  /**
@@ -1260,6 +1235,30 @@ type AgentEvaluatePromptResponseDto = {
1260
1235
  result: Record<string, unknown>;
1261
1236
  format: AgentEvaluatePromptFormat;
1262
1237
  };
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
+ };
1263
1262
  type UIContentMetadataDto = {
1264
1263
  /**
1265
1264
  * Reference to a tool repository ID
@@ -1279,10 +1278,6 @@ type UIContentOptionsDto = {
1279
1278
  * Stop the agent speech
1280
1279
  */
1281
1280
  stopSpeech?: boolean;
1282
- /**
1283
- * Define the language of the content, it will be translated based on the language selected by the user.
1284
- */
1285
- language?: string;
1286
1281
  };
1287
1282
  type SupportedContentTypes = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
1288
1283
  declare const SupportedContentTypesEnum: {
@@ -2536,7 +2531,6 @@ type TDataRemoveApp = {
2536
2531
  appId: string;
2537
2532
  };
2538
2533
  type TDataImportApps = {
2539
- importWebsites: string;
2540
2534
  requestBody: Array<PlatformAppDto>;
2541
2535
  skipClients: string;
2542
2536
  };
@@ -2885,6 +2879,12 @@ type TDataUpdateSession = {
2885
2879
  type TDataSupport = {
2886
2880
  requestBody: SessionSupportRequestDto;
2887
2881
  };
2882
+ type TDataAgentUpdate = {
2883
+ requestBody: AgentHeartBeatEventDto;
2884
+ };
2885
+ type TDataPrompt = {
2886
+ requestBody: AgentEvaluatePromptDto;
2887
+ };
2888
2888
  type TDataSetRecord = {
2889
2889
  requestBody: SessionStorageRecordDto;
2890
2890
  };
@@ -2897,12 +2897,6 @@ type TDataGetRecord = {
2897
2897
  type TDataDeleteRecord = {
2898
2898
  storageId: string;
2899
2899
  };
2900
- type TDataAgentUpdate = {
2901
- requestBody: AgentHeartBeatEventDto;
2902
- };
2903
- type TDataPrompt = {
2904
- requestBody: AgentEvaluatePromptDto;
2905
- };
2906
2900
  declare class SessionService {
2907
2901
  readonly httpRequest: BaseHttpRequest;
2908
2902
  constructor(httpRequest: BaseHttpRequest);
@@ -2942,6 +2936,18 @@ declare class SessionService {
2942
2936
  * @throws ApiError
2943
2937
  */
2944
2938
  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>;
2945
2951
  /**
2946
2952
  * Store user data
2947
2953
  * @returns SessionStorageRecordDto Record stored
@@ -2966,18 +2972,6 @@ declare class SessionService {
2966
2972
  * @throws ApiError
2967
2973
  */
2968
2974
  deleteRecord(data: TDataDeleteRecord): CancelablePromise<any>;
2969
- /**
2970
- * Notifies of an agent update
2971
- * @returns any
2972
- * @throws ApiError
2973
- */
2974
- agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
2975
- /**
2976
- * Evaluate a prompt within the session context
2977
- * @returns AgentEvaluatePromptResponseDto
2978
- * @throws ApiError
2979
- */
2980
- prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
2981
2975
  }
2982
2976
 
2983
2977
  type TDataNotifyInteraction = {
@@ -3460,15 +3454,6 @@ interface SessionSupportEventDto {
3460
3454
  feedback: string;
3461
3455
  code: string;
3462
3456
  }
3463
- interface SessionStorageEventDto {
3464
- appId: string;
3465
- clientId?: string;
3466
- userId?: string;
3467
- ts?: string;
3468
- operation: string;
3469
- sessionId?: string;
3470
- record: SessionStorageRecordDto;
3471
- }
3472
3457
  interface AgentDto {
3473
3458
  appId: string;
3474
3459
  clientId?: string;
@@ -3488,6 +3473,15 @@ interface AgentChangedDto {
3488
3473
  moduleId: string;
3489
3474
  record: AgentDto;
3490
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;
3484
+ }
3491
3485
  interface UIAssetChangedDto {
3492
3486
  appId: string;
3493
3487
  clientId?: string;
@@ -3505,7 +3499,6 @@ interface anonymous_schema_400 {
3505
3499
  clearScreen?: boolean;
3506
3500
  ttsEnabled?: boolean;
3507
3501
  stopSpeech?: boolean;
3508
- language?: string;
3509
3502
  additionalProperties?: Record<string, any>;
3510
3503
  }
3511
3504
  interface UIInteractionEventDto {
@@ -3544,6 +3537,17 @@ interface InitialPoseDto {
3544
3537
  pose: PoseDto;
3545
3538
  covariance: string[];
3546
3539
  }
3540
+ interface OperationalStateEventDto {
3541
+ appId: string;
3542
+ clientId?: string;
3543
+ userId?: string;
3544
+ ts?: string;
3545
+ state: OperationalStateDto;
3546
+ }
3547
+ interface OperationalStateDto {
3548
+ op: string;
3549
+ state: string;
3550
+ }
3547
3551
 
3548
3552
  declare class Platform {
3549
3553
  private readonly broker;
@@ -3757,14 +3761,6 @@ declare class Session {
3757
3761
  onSupport(fn: (event: SessionSupportEventDto) => void | Promise<void>, params?: {
3758
3762
  appId?: string;
3759
3763
  }): Promise<() => void>;
3760
- storageUpdated(event: SessionStorageEventDto, params?: {
3761
- appId?: string;
3762
- storageId?: string;
3763
- }): Promise<boolean>;
3764
- onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
3765
- appId?: string;
3766
- storageId?: string;
3767
- }): Promise<() => void>;
3768
3764
  agentInteraction(event: AgentDto, params?: {
3769
3765
  appId?: string;
3770
3766
  }): Promise<boolean>;
@@ -3779,6 +3775,14 @@ declare class Session {
3779
3775
  appId?: string;
3780
3776
  agentId?: string;
3781
3777
  }): 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>;
3782
3786
  }
3783
3787
 
3784
3788
  declare class Ui {
@@ -3858,6 +3862,12 @@ declare class Robotics {
3858
3862
  onInitialPose(fn: (event: InitialPoseEventDto) => void | Promise<void>, params?: {
3859
3863
  appId?: string;
3860
3864
  }): Promise<() => void>;
3865
+ opState(event: OperationalStateEventDto, params?: {
3866
+ appId?: string;
3867
+ }): Promise<boolean>;
3868
+ onOpState(fn: (event: OperationalStateEventDto) => void | Promise<void>, params?: {
3869
+ appId?: string;
3870
+ }): Promise<() => void>;
3861
3871
  }
3862
3872
 
3863
3873
  declare class AsyncApiClient {
@@ -3961,4 +3971,4 @@ declare class SermasApiClient {
3961
3971
  login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
3962
3972
  }
3963
3973
 
3964
- 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 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 };
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 };