@sermas/api-client 1.0.0-alpha8 → 2.0.0

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.
Files changed (407) hide show
  1. package/README.md +60 -0
  2. package/index.cjs +2 -0
  3. package/index.cjs.map +1 -0
  4. package/index.d.cts +4915 -0
  5. package/index.d.ts +4899 -17
  6. package/index.js +1 -154
  7. package/index.js.map +1 -1
  8. package/package.json +24 -17
  9. package/asyncapi-generator.d.ts +0 -1
  10. package/asyncapi-generator.js +0 -181
  11. package/asyncapi-generator.js.map +0 -1
  12. package/asyncapi.d.ts +0 -1
  13. package/asyncapi.js +0 -18
  14. package/asyncapi.js.map +0 -1
  15. package/libs/asyncapi/auth.d.ts +0 -24
  16. package/libs/asyncapi/auth.js +0 -29
  17. package/libs/asyncapi/auth.js.map +0 -1
  18. package/libs/asyncapi/detection.d.ts +0 -48
  19. package/libs/asyncapi/detection.js +0 -53
  20. package/libs/asyncapi/detection.js.map +0 -1
  21. package/libs/asyncapi/dialogue.d.ts +0 -30
  22. package/libs/asyncapi/dialogue.js +0 -29
  23. package/libs/asyncapi/dialogue.js.map +0 -1
  24. package/libs/asyncapi/index.d.ts +0 -23
  25. package/libs/asyncapi/index.js +0 -28
  26. package/libs/asyncapi/index.js.map +0 -1
  27. package/libs/asyncapi/models.d.ts +0 -451
  28. package/libs/asyncapi/models.js +0 -38
  29. package/libs/asyncapi/models.js.map +0 -1
  30. package/libs/asyncapi/module.d.ts +0 -12
  31. package/libs/asyncapi/module.js +0 -17
  32. package/libs/asyncapi/module.js.map +0 -1
  33. package/libs/asyncapi/platform.d.ts +0 -32
  34. package/libs/asyncapi/platform.js +0 -35
  35. package/libs/asyncapi/platform.js.map +0 -1
  36. package/libs/asyncapi/robotics.d.ts +0 -30
  37. package/libs/asyncapi/robotics.js +0 -35
  38. package/libs/asyncapi/robotics.js.map +0 -1
  39. package/libs/asyncapi/session.d.ts +0 -48
  40. package/libs/asyncapi/session.js +0 -47
  41. package/libs/asyncapi/session.js.map +0 -1
  42. package/libs/asyncapi/ui.d.ts +0 -26
  43. package/libs/asyncapi/ui.js +0 -29
  44. package/libs/asyncapi/ui.js.map +0 -1
  45. package/libs/asyncapi/xr.d.ts +0 -26
  46. package/libs/asyncapi/xr.js +0 -29
  47. package/libs/asyncapi/xr.js.map +0 -1
  48. package/libs/broker.d.ts +0 -25
  49. package/libs/broker.js +0 -141
  50. package/libs/broker.js.map +0 -1
  51. package/libs/logger.d.ts +0 -13
  52. package/libs/logger.dto.d.ts +0 -151
  53. package/libs/logger.dto.js +0 -3
  54. package/libs/logger.dto.js.map +0 -1
  55. package/libs/logger.js +0 -49
  56. package/libs/logger.js.map +0 -1
  57. package/libs/openapi/SermasApi.d.ts +0 -26
  58. package/libs/openapi/SermasApi.js +0 -40
  59. package/libs/openapi/SermasApi.js.map +0 -1
  60. package/libs/openapi/core/ApiError.d.ts +0 -10
  61. package/libs/openapi/core/ApiError.js +0 -16
  62. package/libs/openapi/core/ApiError.js.map +0 -1
  63. package/libs/openapi/core/ApiRequestOptions.d.ts +0 -13
  64. package/libs/openapi/core/ApiRequestOptions.js +0 -3
  65. package/libs/openapi/core/ApiRequestOptions.js.map +0 -1
  66. package/libs/openapi/core/ApiResult.d.ts +0 -7
  67. package/libs/openapi/core/ApiResult.js +0 -3
  68. package/libs/openapi/core/ApiResult.js.map +0 -1
  69. package/libs/openapi/core/AxiosHttpRequest.d.ts +0 -14
  70. package/libs/openapi/core/AxiosHttpRequest.js +0 -21
  71. package/libs/openapi/core/AxiosHttpRequest.js.map +0 -1
  72. package/libs/openapi/core/BaseHttpRequest.d.ts +0 -8
  73. package/libs/openapi/core/BaseHttpRequest.js +0 -10
  74. package/libs/openapi/core/BaseHttpRequest.js.map +0 -1
  75. package/libs/openapi/core/CancelablePromise.d.ts +0 -20
  76. package/libs/openapi/core/CancelablePromise.js +0 -117
  77. package/libs/openapi/core/CancelablePromise.js.map +0 -1
  78. package/libs/openapi/core/OpenAPI.d.ts +0 -16
  79. package/libs/openapi/core/OpenAPI.js +0 -15
  80. package/libs/openapi/core/OpenAPI.js.map +0 -1
  81. package/libs/openapi/core/request.d.ts +0 -34
  82. package/libs/openapi/core/request.js +0 -277
  83. package/libs/openapi/core/request.js.map +0 -1
  84. package/libs/openapi/index.d.ts +0 -110
  85. package/libs/openapi/index.js +0 -73
  86. package/libs/openapi/index.js.map +0 -1
  87. package/libs/openapi/models/AccessTokenRequestDto.d.ts +0 -5
  88. package/libs/openapi/models/AccessTokenRequestDto.js +0 -3
  89. package/libs/openapi/models/AccessTokenRequestDto.js.map +0 -1
  90. package/libs/openapi/models/ActuationEventDto.d.ts +0 -12
  91. package/libs/openapi/models/ActuationEventDto.js +0 -3
  92. package/libs/openapi/models/ActuationEventDto.js.map +0 -1
  93. package/libs/openapi/models/AgentHeartBeatEventDto.d.ts +0 -29
  94. package/libs/openapi/models/AgentHeartBeatEventDto.js +0 -18
  95. package/libs/openapi/models/AgentHeartBeatEventDto.js.map +0 -1
  96. package/libs/openapi/models/AppClientDto.d.ts +0 -13
  97. package/libs/openapi/models/AppClientDto.js +0 -3
  98. package/libs/openapi/models/AppClientDto.js.map +0 -1
  99. package/libs/openapi/models/AppModuleConfigDto.d.ts +0 -14
  100. package/libs/openapi/models/AppModuleConfigDto.js +0 -3
  101. package/libs/openapi/models/AppModuleConfigDto.js.map +0 -1
  102. package/libs/openapi/models/AppPromptDto.d.ts +0 -3
  103. package/libs/openapi/models/AppPromptDto.js +0 -3
  104. package/libs/openapi/models/AppPromptDto.js.map +0 -1
  105. package/libs/openapi/models/AppSettingsDto.d.ts +0 -9
  106. package/libs/openapi/models/AppSettingsDto.js +0 -3
  107. package/libs/openapi/models/AppSettingsDto.js.map +0 -1
  108. package/libs/openapi/models/AppToolsDTO.d.ts +0 -10
  109. package/libs/openapi/models/AppToolsDTO.js +0 -3
  110. package/libs/openapi/models/AppToolsDTO.js.map +0 -1
  111. package/libs/openapi/models/AuthJwtUser.d.ts +0 -28
  112. package/libs/openapi/models/AuthJwtUser.js +0 -3
  113. package/libs/openapi/models/AuthJwtUser.js.map +0 -1
  114. package/libs/openapi/models/AuthorizationUser.d.ts +0 -5
  115. package/libs/openapi/models/AuthorizationUser.js +0 -3
  116. package/libs/openapi/models/AuthorizationUser.js.map +0 -1
  117. package/libs/openapi/models/AvatarCameraConfig.d.ts +0 -5
  118. package/libs/openapi/models/AvatarCameraConfig.js +0 -3
  119. package/libs/openapi/models/AvatarCameraConfig.js.map +0 -1
  120. package/libs/openapi/models/ButtonsContentDto.d.ts +0 -4
  121. package/libs/openapi/models/ButtonsContentDto.js +0 -3
  122. package/libs/openapi/models/ButtonsContentDto.js.map +0 -1
  123. package/libs/openapi/models/ButtonsUIContentDto.d.ts +0 -40
  124. package/libs/openapi/models/ButtonsUIContentDto.js +0 -24
  125. package/libs/openapi/models/ButtonsUIContentDto.js.map +0 -1
  126. package/libs/openapi/models/ClearScreenDto.d.ts +0 -39
  127. package/libs/openapi/models/ClearScreenDto.js +0 -24
  128. package/libs/openapi/models/ClearScreenDto.js.map +0 -1
  129. package/libs/openapi/models/ClearUIContentDto.d.ts +0 -39
  130. package/libs/openapi/models/ClearUIContentDto.js +0 -24
  131. package/libs/openapi/models/ClearUIContentDto.js.map +0 -1
  132. package/libs/openapi/models/CreatePlatformAppDto.d.ts +0 -19
  133. package/libs/openapi/models/CreatePlatformAppDto.js +0 -3
  134. package/libs/openapi/models/CreatePlatformAppDto.js.map +0 -1
  135. package/libs/openapi/models/DialogueDocumentDto.d.ts +0 -7
  136. package/libs/openapi/models/DialogueDocumentDto.js +0 -3
  137. package/libs/openapi/models/DialogueDocumentDto.js.map +0 -1
  138. package/libs/openapi/models/DialogueDocumentMetadataDto.d.ts +0 -4
  139. package/libs/openapi/models/DialogueDocumentMetadataDto.js +0 -3
  140. package/libs/openapi/models/DialogueDocumentMetadataDto.js.map +0 -1
  141. package/libs/openapi/models/DialogueMessageDto.d.ts +0 -26
  142. package/libs/openapi/models/DialogueMessageDto.js +0 -3
  143. package/libs/openapi/models/DialogueMessageDto.js.map +0 -1
  144. package/libs/openapi/models/DialogueMessageUIContentDto.d.ts +0 -40
  145. package/libs/openapi/models/DialogueMessageUIContentDto.js +0 -24
  146. package/libs/openapi/models/DialogueMessageUIContentDto.js.map +0 -1
  147. package/libs/openapi/models/DialogueTextToSpeechDto.d.ts +0 -33
  148. package/libs/openapi/models/DialogueTextToSpeechDto.js +0 -3
  149. package/libs/openapi/models/DialogueTextToSpeechDto.js.map +0 -1
  150. package/libs/openapi/models/DialogueUserMessageDto.d.ts +0 -10
  151. package/libs/openapi/models/DialogueUserMessageDto.js +0 -3
  152. package/libs/openapi/models/DialogueUserMessageDto.js.map +0 -1
  153. package/libs/openapi/models/EmailContentDto.d.ts +0 -4
  154. package/libs/openapi/models/EmailContentDto.js +0 -3
  155. package/libs/openapi/models/EmailContentDto.js.map +0 -1
  156. package/libs/openapi/models/EmailUIContentDto.d.ts +0 -40
  157. package/libs/openapi/models/EmailUIContentDto.js +0 -24
  158. package/libs/openapi/models/EmailUIContentDto.js.map +0 -1
  159. package/libs/openapi/models/HtmlContentDto.d.ts +0 -3
  160. package/libs/openapi/models/HtmlContentDto.js +0 -3
  161. package/libs/openapi/models/HtmlContentDto.js.map +0 -1
  162. package/libs/openapi/models/HtmlUIContentDto.d.ts +0 -40
  163. package/libs/openapi/models/HtmlUIContentDto.js +0 -24
  164. package/libs/openapi/models/HtmlUIContentDto.js.map +0 -1
  165. package/libs/openapi/models/ImageContentDto.d.ts +0 -6
  166. package/libs/openapi/models/ImageContentDto.js +0 -3
  167. package/libs/openapi/models/ImageContentDto.js.map +0 -1
  168. package/libs/openapi/models/ImageUIContentDto.d.ts +0 -40
  169. package/libs/openapi/models/ImageUIContentDto.js +0 -24
  170. package/libs/openapi/models/ImageUIContentDto.js.map +0 -1
  171. package/libs/openapi/models/JwtTokenDto.d.ts +0 -11
  172. package/libs/openapi/models/JwtTokenDto.js +0 -3
  173. package/libs/openapi/models/JwtTokenDto.js.map +0 -1
  174. package/libs/openapi/models/KeycloakJwtTokenResourceAccess.d.ts +0 -1
  175. package/libs/openapi/models/KeycloakJwtTokenResourceAccess.js +0 -3
  176. package/libs/openapi/models/KeycloakJwtTokenResourceAccess.js.map +0 -1
  177. package/libs/openapi/models/LinearVelocityDto.d.ts +0 -1
  178. package/libs/openapi/models/LinearVelocityDto.js +0 -3
  179. package/libs/openapi/models/LinearVelocityDto.js.map +0 -1
  180. package/libs/openapi/models/LinkContentDto.d.ts +0 -4
  181. package/libs/openapi/models/LinkContentDto.js +0 -3
  182. package/libs/openapi/models/LinkContentDto.js.map +0 -1
  183. package/libs/openapi/models/LinkUIContentDto.d.ts +0 -40
  184. package/libs/openapi/models/LinkUIContentDto.js +0 -24
  185. package/libs/openapi/models/LinkUIContentDto.js.map +0 -1
  186. package/libs/openapi/models/LoginRequestDto.d.ts +0 -13
  187. package/libs/openapi/models/LoginRequestDto.js +0 -3
  188. package/libs/openapi/models/LoginRequestDto.js.map +0 -1
  189. package/libs/openapi/models/LoginResponseDto.d.ts +0 -9
  190. package/libs/openapi/models/LoginResponseDto.js +0 -3
  191. package/libs/openapi/models/LoginResponseDto.js.map +0 -1
  192. package/libs/openapi/models/ModuleResourceDto.d.ts +0 -34
  193. package/libs/openapi/models/ModuleResourceDto.js +0 -3
  194. package/libs/openapi/models/ModuleResourceDto.js.map +0 -1
  195. package/libs/openapi/models/ModuleSettingsDto.d.ts +0 -19
  196. package/libs/openapi/models/ModuleSettingsDto.js +0 -3
  197. package/libs/openapi/models/ModuleSettingsDto.js.map +0 -1
  198. package/libs/openapi/models/MovementDto.d.ts +0 -6
  199. package/libs/openapi/models/MovementDto.js +0 -3
  200. package/libs/openapi/models/MovementDto.js.map +0 -1
  201. package/libs/openapi/models/MovementEventDto.d.ts +0 -13
  202. package/libs/openapi/models/MovementEventDto.js +0 -3
  203. package/libs/openapi/models/MovementEventDto.js.map +0 -1
  204. package/libs/openapi/models/ObjectContentDto.d.ts +0 -3
  205. package/libs/openapi/models/ObjectContentDto.js +0 -3
  206. package/libs/openapi/models/ObjectContentDto.js.map +0 -1
  207. package/libs/openapi/models/ObjectUIContentDto.d.ts +0 -40
  208. package/libs/openapi/models/ObjectUIContentDto.js +0 -24
  209. package/libs/openapi/models/ObjectUIContentDto.js.map +0 -1
  210. package/libs/openapi/models/OrientationDto.d.ts +0 -6
  211. package/libs/openapi/models/OrientationDto.js +0 -3
  212. package/libs/openapi/models/OrientationDto.js.map +0 -1
  213. package/libs/openapi/models/PdfContentDto.d.ts +0 -3
  214. package/libs/openapi/models/PdfContentDto.js +0 -3
  215. package/libs/openapi/models/PdfContentDto.js.map +0 -1
  216. package/libs/openapi/models/PdfUIContentDto.d.ts +0 -40
  217. package/libs/openapi/models/PdfUIContentDto.js +0 -24
  218. package/libs/openapi/models/PdfUIContentDto.js.map +0 -1
  219. package/libs/openapi/models/PlatformAppDto.d.ts +0 -22
  220. package/libs/openapi/models/PlatformAppDto.js +0 -3
  221. package/libs/openapi/models/PlatformAppDto.js.map +0 -1
  222. package/libs/openapi/models/PlatformAppExportFilterDto.d.ts +0 -4
  223. package/libs/openapi/models/PlatformAppExportFilterDto.js +0 -3
  224. package/libs/openapi/models/PlatformAppExportFilterDto.js.map +0 -1
  225. package/libs/openapi/models/PlatformModuleConfigDto.d.ts +0 -13
  226. package/libs/openapi/models/PlatformModuleConfigDto.js +0 -3
  227. package/libs/openapi/models/PlatformModuleConfigDto.js.map +0 -1
  228. package/libs/openapi/models/PlatformSettingsDto.d.ts +0 -3
  229. package/libs/openapi/models/PlatformSettingsDto.js +0 -3
  230. package/libs/openapi/models/PlatformSettingsDto.js.map +0 -1
  231. package/libs/openapi/models/Point3D.d.ts +0 -5
  232. package/libs/openapi/models/Point3D.js +0 -3
  233. package/libs/openapi/models/Point3D.js.map +0 -1
  234. package/libs/openapi/models/PoseDto.d.ts +0 -6
  235. package/libs/openapi/models/PoseDto.js +0 -3
  236. package/libs/openapi/models/PoseDto.js.map +0 -1
  237. package/libs/openapi/models/PositionDto.d.ts +0 -5
  238. package/libs/openapi/models/PositionDto.js +0 -3
  239. package/libs/openapi/models/PositionDto.js.map +0 -1
  240. package/libs/openapi/models/QuizAnswerDto.d.ts +0 -5
  241. package/libs/openapi/models/QuizAnswerDto.js +0 -3
  242. package/libs/openapi/models/QuizAnswerDto.js.map +0 -1
  243. package/libs/openapi/models/QuizContentDto.d.ts +0 -5
  244. package/libs/openapi/models/QuizContentDto.js +0 -3
  245. package/libs/openapi/models/QuizContentDto.js.map +0 -1
  246. package/libs/openapi/models/QuizUIContentDto.d.ts +0 -40
  247. package/libs/openapi/models/QuizUIContentDto.js +0 -24
  248. package/libs/openapi/models/QuizUIContentDto.js.map +0 -1
  249. package/libs/openapi/models/RefreshTokenRequestDto.d.ts +0 -13
  250. package/libs/openapi/models/RefreshTokenRequestDto.js +0 -3
  251. package/libs/openapi/models/RefreshTokenRequestDto.js.map +0 -1
  252. package/libs/openapi/models/RegistrationRequestDto.d.ts +0 -14
  253. package/libs/openapi/models/RegistrationRequestDto.js +0 -3
  254. package/libs/openapi/models/RegistrationRequestDto.js.map +0 -1
  255. package/libs/openapi/models/RegistrationResponseDto.d.ts +0 -3
  256. package/libs/openapi/models/RegistrationResponseDto.js +0 -3
  257. package/libs/openapi/models/RegistrationResponseDto.js.map +0 -1
  258. package/libs/openapi/models/RepositoryAvatarModelDto.d.ts +0 -9
  259. package/libs/openapi/models/RepositoryAvatarModelDto.js +0 -3
  260. package/libs/openapi/models/RepositoryAvatarModelDto.js.map +0 -1
  261. package/libs/openapi/models/RepositoryBackgroundModelDto.d.ts +0 -5
  262. package/libs/openapi/models/RepositoryBackgroundModelDto.js +0 -3
  263. package/libs/openapi/models/RepositoryBackgroundModelDto.js.map +0 -1
  264. package/libs/openapi/models/RepositoryConfigDto.d.ts +0 -5
  265. package/libs/openapi/models/RepositoryConfigDto.js +0 -3
  266. package/libs/openapi/models/RepositoryConfigDto.js.map +0 -1
  267. package/libs/openapi/models/RepositoryMapModelDto.d.ts +0 -7
  268. package/libs/openapi/models/RepositoryMapModelDto.js +0 -3
  269. package/libs/openapi/models/RepositoryMapModelDto.js.map +0 -1
  270. package/libs/openapi/models/RepositoryRobotModelDto.d.ts +0 -6
  271. package/libs/openapi/models/RepositoryRobotModelDto.js +0 -3
  272. package/libs/openapi/models/RepositoryRobotModelDto.js.map +0 -1
  273. package/libs/openapi/models/SentimentAnalysisRequest.d.ts +0 -12
  274. package/libs/openapi/models/SentimentAnalysisRequest.js +0 -3
  275. package/libs/openapi/models/SentimentAnalysisRequest.js.map +0 -1
  276. package/libs/openapi/models/SermasBaseDto.d.ts +0 -11
  277. package/libs/openapi/models/SermasBaseDto.js +0 -3
  278. package/libs/openapi/models/SermasBaseDto.js.map +0 -1
  279. package/libs/openapi/models/SessionDto.d.ts +0 -23
  280. package/libs/openapi/models/SessionDto.js +0 -3
  281. package/libs/openapi/models/SessionDto.js.map +0 -1
  282. package/libs/openapi/models/SessionStorageEventDto.d.ts +0 -14
  283. package/libs/openapi/models/SessionStorageEventDto.js +0 -3
  284. package/libs/openapi/models/SessionStorageEventDto.js.map +0 -1
  285. package/libs/openapi/models/SessionStorageRequestDto.d.ts +0 -13
  286. package/libs/openapi/models/SessionStorageRequestDto.js +0 -3
  287. package/libs/openapi/models/SessionStorageRequestDto.js.map +0 -1
  288. package/libs/openapi/models/SessionStorageResponseDto.d.ts +0 -14
  289. package/libs/openapi/models/SessionStorageResponseDto.js +0 -3
  290. package/libs/openapi/models/SessionStorageResponseDto.js.map +0 -1
  291. package/libs/openapi/models/SessionStorageSearchDto.d.ts +0 -6
  292. package/libs/openapi/models/SessionStorageSearchDto.js +0 -3
  293. package/libs/openapi/models/SessionStorageSearchDto.js.map +0 -1
  294. package/libs/openapi/models/SessionSupportRequestDto.d.ts +0 -14
  295. package/libs/openapi/models/SessionSupportRequestDto.js +0 -3
  296. package/libs/openapi/models/SessionSupportRequestDto.js.map +0 -1
  297. package/libs/openapi/models/SessionSupportResponseDto.d.ts +0 -12
  298. package/libs/openapi/models/SessionSupportResponseDto.js +0 -3
  299. package/libs/openapi/models/SessionSupportResponseDto.js.map +0 -1
  300. package/libs/openapi/models/StatusDto.d.ts +0 -6
  301. package/libs/openapi/models/StatusDto.js +0 -3
  302. package/libs/openapi/models/StatusDto.js.map +0 -1
  303. package/libs/openapi/models/StatusEventDto.d.ts +0 -14
  304. package/libs/openapi/models/StatusEventDto.js +0 -3
  305. package/libs/openapi/models/StatusEventDto.js.map +0 -1
  306. package/libs/openapi/models/TextContentDto.d.ts +0 -3
  307. package/libs/openapi/models/TextContentDto.js +0 -3
  308. package/libs/openapi/models/TextContentDto.js.map +0 -1
  309. package/libs/openapi/models/TextUIContentDto.d.ts +0 -40
  310. package/libs/openapi/models/TextUIContentDto.js +0 -24
  311. package/libs/openapi/models/TextUIContentDto.js.map +0 -1
  312. package/libs/openapi/models/ToolsRequestSchema.d.ts +0 -25
  313. package/libs/openapi/models/ToolsRequestSchema.js +0 -3
  314. package/libs/openapi/models/ToolsRequestSchema.js.map +0 -1
  315. package/libs/openapi/models/ToolsRequestSchemaAuthBasic.d.ts +0 -4
  316. package/libs/openapi/models/ToolsRequestSchemaAuthBasic.js +0 -3
  317. package/libs/openapi/models/ToolsRequestSchemaAuthBasic.js.map +0 -1
  318. package/libs/openapi/models/ToolsRequestSchemaAuthBearer.d.ts +0 -25
  319. package/libs/openapi/models/ToolsRequestSchemaAuthBearer.js +0 -3
  320. package/libs/openapi/models/ToolsRequestSchemaAuthBearer.js.map +0 -1
  321. package/libs/openapi/models/UIContentDto.d.ts +0 -39
  322. package/libs/openapi/models/UIContentDto.js +0 -24
  323. package/libs/openapi/models/UIContentDto.js.map +0 -1
  324. package/libs/openapi/models/UIInteractionDTO.d.ts +0 -5
  325. package/libs/openapi/models/UIInteractionDTO.js +0 -3
  326. package/libs/openapi/models/UIInteractionDTO.js.map +0 -1
  327. package/libs/openapi/models/UILoaderResponseDto.d.ts +0 -14
  328. package/libs/openapi/models/UILoaderResponseDto.js +0 -3
  329. package/libs/openapi/models/UILoaderResponseDto.js.map +0 -1
  330. package/libs/openapi/models/UIModelMapBlendShapesRequestDto.d.ts +0 -3
  331. package/libs/openapi/models/UIModelMapBlendShapesRequestDto.js +0 -3
  332. package/libs/openapi/models/UIModelMapBlendShapesRequestDto.js.map +0 -1
  333. package/libs/openapi/models/UIModelMapBlendShapesResponseDto.d.ts +0 -3
  334. package/libs/openapi/models/UIModelMapBlendShapesResponseDto.js +0 -3
  335. package/libs/openapi/models/UIModelMapBlendShapesResponseDto.js.map +0 -1
  336. package/libs/openapi/models/UpdateUserRequestDto.d.ts +0 -16
  337. package/libs/openapi/models/UpdateUserRequestDto.js +0 -3
  338. package/libs/openapi/models/UpdateUserRequestDto.js.map +0 -1
  339. package/libs/openapi/models/UserInteractionIntentionDto.d.ts +0 -25
  340. package/libs/openapi/models/UserInteractionIntentionDto.js +0 -12
  341. package/libs/openapi/models/UserInteractionIntentionDto.js.map +0 -1
  342. package/libs/openapi/models/VelocityDto.d.ts +0 -5
  343. package/libs/openapi/models/VelocityDto.js +0 -3
  344. package/libs/openapi/models/VelocityDto.js.map +0 -1
  345. package/libs/openapi/models/VideoContentDto.d.ts +0 -9
  346. package/libs/openapi/models/VideoContentDto.js +0 -3
  347. package/libs/openapi/models/VideoContentDto.js.map +0 -1
  348. package/libs/openapi/models/VideoUIContentDto.d.ts +0 -40
  349. package/libs/openapi/models/VideoUIContentDto.js +0 -24
  350. package/libs/openapi/models/VideoUIContentDto.js.map +0 -1
  351. package/libs/openapi/models/ViewLogsRequestDto.d.ts +0 -12
  352. package/libs/openapi/models/ViewLogsRequestDto.js +0 -13
  353. package/libs/openapi/models/ViewLogsRequestDto.js.map +0 -1
  354. package/libs/openapi/models/WebpageContentDto.d.ts +0 -3
  355. package/libs/openapi/models/WebpageContentDto.js +0 -3
  356. package/libs/openapi/models/WebpageContentDto.js.map +0 -1
  357. package/libs/openapi/models/WebpageUIContentDto.d.ts +0 -40
  358. package/libs/openapi/models/WebpageUIContentDto.js +0 -24
  359. package/libs/openapi/models/WebpageUIContentDto.js.map +0 -1
  360. package/libs/openapi/models/XRMarkerDto.d.ts +0 -23
  361. package/libs/openapi/models/XRMarkerDto.js +0 -3
  362. package/libs/openapi/models/XRMarkerDto.js.map +0 -1
  363. package/libs/openapi/models/XRMarkerListRequestDto.d.ts +0 -12
  364. package/libs/openapi/models/XRMarkerListRequestDto.js +0 -3
  365. package/libs/openapi/models/XRMarkerListRequestDto.js.map +0 -1
  366. package/libs/openapi/models/XRMarkerListResponseDto.d.ts +0 -3
  367. package/libs/openapi/models/XRMarkerListResponseDto.js +0 -3
  368. package/libs/openapi/models/XRMarkerListResponseDto.js.map +0 -1
  369. package/libs/openapi/models/XROcclusionResponseDto.d.ts +0 -12
  370. package/libs/openapi/models/XROcclusionResponseDto.js +0 -3
  371. package/libs/openapi/models/XROcclusionResponseDto.js.map +0 -1
  372. package/libs/openapi/models/index.d.ts +0 -95
  373. package/libs/openapi/models/index.js +0 -112
  374. package/libs/openapi/models/index.js.map +0 -1
  375. package/libs/openapi/services/AgentService.d.ts +0 -54
  376. package/libs/openapi/services/AgentService.js +0 -100
  377. package/libs/openapi/services/AgentService.js.map +0 -1
  378. package/libs/openapi/services/AuthenticationService.d.ts +0 -55
  379. package/libs/openapi/services/AuthenticationService.js +0 -118
  380. package/libs/openapi/services/AuthenticationService.js.map +0 -1
  381. package/libs/openapi/services/DetectionService.d.ts +0 -38
  382. package/libs/openapi/services/DetectionService.js +0 -75
  383. package/libs/openapi/services/DetectionService.js.map +0 -1
  384. package/libs/openapi/services/DialogueService.d.ts +0 -75
  385. package/libs/openapi/services/DialogueService.js +0 -154
  386. package/libs/openapi/services/DialogueService.js.map +0 -1
  387. package/libs/openapi/services/PlatformService.d.ts +0 -240
  388. package/libs/openapi/services/PlatformService.js +0 -497
  389. package/libs/openapi/services/PlatformService.js.map +0 -1
  390. package/libs/openapi/services/RoboticsService.d.ts +0 -78
  391. package/libs/openapi/services/RoboticsService.js +0 -154
  392. package/libs/openapi/services/RoboticsService.js.map +0 -1
  393. package/libs/openapi/services/SessionService.d.ts +0 -73
  394. package/libs/openapi/services/SessionService.js +0 -147
  395. package/libs/openapi/services/SessionService.js.map +0 -1
  396. package/libs/openapi/services/UiService.d.ts +0 -33
  397. package/libs/openapi/services/UiService.js +0 -67
  398. package/libs/openapi/services/UiService.js.map +0 -1
  399. package/libs/openapi/services/XrService.d.ts +0 -44
  400. package/libs/openapi/services/XrService.js +0 -94
  401. package/libs/openapi/services/XrService.js.map +0 -1
  402. package/openapi-generator.d.ts +0 -1
  403. package/openapi-generator.js +0 -48
  404. package/openapi-generator.js.map +0 -1
  405. package/openapi.d.ts +0 -1
  406. package/openapi.js +0 -18
  407. package/openapi.js.map +0 -1
package/index.d.cts ADDED
@@ -0,0 +1,4915 @@
1
+ import mqtt from 'mqtt';
2
+ export { MqttClient } from 'mqtt';
3
+
4
+ type ApiRequestOptions = {
5
+ readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
6
+ readonly url: string;
7
+ readonly path?: Record<string, unknown>;
8
+ readonly cookies?: Record<string, unknown>;
9
+ readonly headers?: Record<string, unknown>;
10
+ readonly query?: Record<string, unknown>;
11
+ readonly formData?: Record<string, unknown>;
12
+ readonly body?: any;
13
+ readonly mediaType?: string;
14
+ readonly responseHeader?: string;
15
+ readonly errors?: Record<number, string>;
16
+ };
17
+
18
+ interface OnCancel {
19
+ readonly isResolved: boolean;
20
+ readonly isRejected: boolean;
21
+ readonly isCancelled: boolean;
22
+ (cancelHandler: () => void): void;
23
+ }
24
+ declare class CancelablePromise<T> implements Promise<T> {
25
+ private _isResolved;
26
+ private _isRejected;
27
+ private _isCancelled;
28
+ readonly cancelHandlers: (() => void)[];
29
+ readonly promise: Promise<T>;
30
+ private _resolve?;
31
+ private _reject?;
32
+ constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: unknown) => void, onCancel: OnCancel) => void);
33
+ get [Symbol.toStringTag](): string;
34
+ then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
35
+ catch<TResult = never>(onRejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
36
+ finally(onFinally?: (() => void) | null): Promise<T>;
37
+ cancel(): void;
38
+ get isCancelled(): boolean;
39
+ }
40
+
41
+ type TResult = 'body' | 'raw';
42
+
43
+ type Headers = Record<string, string>;
44
+ type Middleware<T> = (value: T) => T | Promise<T>;
45
+ type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
46
+ declare class Interceptors<T> {
47
+ _fns: Middleware<T>[];
48
+ constructor();
49
+ eject(fn: Middleware<T>): void;
50
+ use(fn: Middleware<T>): void;
51
+ }
52
+ type OpenAPIConfig = {
53
+ BASE: string;
54
+ CREDENTIALS: 'include' | 'omit' | 'same-origin';
55
+ ENCODE_PATH?: ((path: string) => string) | undefined;
56
+ HEADERS?: Headers | Resolver<Headers> | undefined;
57
+ PASSWORD?: string | Resolver<string> | undefined;
58
+ RESULT?: TResult;
59
+ TOKEN?: string | Resolver<string> | undefined;
60
+ USERNAME?: string | Resolver<string> | undefined;
61
+ VERSION: string;
62
+ WITH_CREDENTIALS: boolean;
63
+ interceptors: {
64
+ request: Interceptors<RequestInit>;
65
+ response: Interceptors<Response>;
66
+ };
67
+ };
68
+
69
+ declare abstract class BaseHttpRequest {
70
+ readonly config: OpenAPIConfig;
71
+ constructor(config: OpenAPIConfig);
72
+ abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
73
+ }
74
+
75
+ type PlatformSettingsDto = {
76
+ resources: Record<string, Array<string>>;
77
+ };
78
+ type AccessTokenRequestDto = {
79
+ appId?: string;
80
+ clientId: string;
81
+ clientSecret?: string;
82
+ };
83
+ type JwtTokenDto = {
84
+ access_token: string;
85
+ expires_in: number;
86
+ refresh_expires_in: number;
87
+ refresh_token: string;
88
+ token_type: string;
89
+ id_token: string;
90
+ 'not-before-policy': number;
91
+ session_state: string;
92
+ scope: string;
93
+ };
94
+ type PlatformRefreshTokenRequestDto = {
95
+ appId?: string;
96
+ clientId: string;
97
+ clientSecret?: string;
98
+ refreshToken: string;
99
+ accessToken?: string;
100
+ };
101
+ type RepositoryAssetTypes = 'avatars' | 'backgrounds' | 'robots' | 'documents' | 'animations';
102
+ declare const RepositoryAssetTypesEnum: {
103
+ readonly AVATARS: "avatars";
104
+ readonly BACKGROUNDS: "backgrounds";
105
+ readonly ROBOTS: "robots";
106
+ readonly DOCUMENTS: "documents";
107
+ readonly ANIMATIONS: "animations";
108
+ };
109
+ type RepositoryAssetMetadataDto = {};
110
+ type ModelType = 'readyplayerme' | 'custom';
111
+ declare const ModelTypeEnum: {
112
+ readonly READYPLAYERME: "readyplayerme";
113
+ readonly CUSTOM: "custom";
114
+ };
115
+ type ModelGender = 'M' | 'F';
116
+ declare const ModelGenderEnum: {
117
+ readonly M: "M";
118
+ readonly F: "F";
119
+ };
120
+ type Point3D = {
121
+ x: number;
122
+ y: number;
123
+ z: number;
124
+ };
125
+ type AvatarCameraConfig = {
126
+ position: Point3D;
127
+ rotation: Point3D;
128
+ };
129
+ type AvatarTTSOptions = {
130
+ provider?: string;
131
+ model?: string;
132
+ };
133
+ type RepositoryAvatarDto = {
134
+ id: string;
135
+ type: RepositoryAssetTypes;
136
+ name?: string;
137
+ path: string;
138
+ metadata?: RepositoryAssetMetadataDto;
139
+ modelType: ModelType;
140
+ gender: ModelGender;
141
+ camera?: AvatarCameraConfig;
142
+ cameraMobile?: AvatarCameraConfig;
143
+ prompt?: string;
144
+ tts?: AvatarTTSOptions;
145
+ };
146
+ type RepositoryBackgroundMetadataDto = {
147
+ credits?: string;
148
+ };
149
+ type RepositoryBackgroundDto = {
150
+ id: string;
151
+ type: RepositoryAssetTypes;
152
+ name?: string;
153
+ path: string;
154
+ metadata?: RepositoryBackgroundMetadataDto;
155
+ };
156
+ type RobotMapDto = {
157
+ imageUrl?: string;
158
+ width?: number;
159
+ height?: number;
160
+ originOffsetX?: number;
161
+ originOffsetY?: number;
162
+ };
163
+ type RepositoryRobotModelDto = {
164
+ id: string;
165
+ type: RepositoryAssetTypes;
166
+ name?: string;
167
+ path: string;
168
+ metadata?: RepositoryAssetMetadataDto;
169
+ videoUrl: string;
170
+ map?: RobotMapDto;
171
+ };
172
+ type RepositoryDocumentDto = {
173
+ id: string;
174
+ type: RepositoryAssetTypes;
175
+ name?: string;
176
+ path: string;
177
+ metadata?: RepositoryAssetMetadataDto;
178
+ };
179
+ type RepositoryAnimationDto = {
180
+ id: string;
181
+ type: RepositoryAssetTypes;
182
+ name?: string;
183
+ path: string;
184
+ metadata?: RepositoryAssetMetadataDto;
185
+ };
186
+ type RepositoryConfigDto = {
187
+ avatars: Array<RepositoryAvatarDto>;
188
+ backgrounds: Array<RepositoryBackgroundDto>;
189
+ robots?: Array<RepositoryRobotModelDto>;
190
+ documents?: Array<RepositoryDocumentDto>;
191
+ animations?: Array<RepositoryAnimationDto>;
192
+ };
193
+ type KeycloakCredentials = {
194
+ credentialData: string;
195
+ temporary: boolean;
196
+ };
197
+ type AppUserDto = {
198
+ enabled: boolean;
199
+ username: string;
200
+ email: string;
201
+ emailVerified: boolean;
202
+ credentials: KeycloakCredentials;
203
+ realmRoles: Array<string>;
204
+ clientRoles: Array<string>;
205
+ groups: Array<string>;
206
+ password: string;
207
+ firstName?: string;
208
+ lastName?: string;
209
+ attributes: Record<string, unknown>;
210
+ appId?: string;
211
+ };
212
+ /**
213
+ * parameter type (one of string,number,boolean,object)
214
+ */
215
+ type ToolsParameterSchemaTypes = 'string' | 'number' | 'boolean' | 'object';
216
+ declare const ToolsParameterSchemaTypesEnum: {
217
+ readonly STRING: "string";
218
+ readonly NUMBER: "number";
219
+ readonly BOOLEAN: "boolean";
220
+ readonly OBJECT: "object";
221
+ };
222
+ type ToolsParameterSchema = {
223
+ /**
224
+ * function parameter name
225
+ */
226
+ parameter: string;
227
+ /**
228
+ * parameter type (one of string,number,boolean,object)
229
+ */
230
+ type: ToolsParameterSchemaTypes;
231
+ /**
232
+ * description for the parameter, useful to give an hint while matching from the user input
233
+ */
234
+ description: string;
235
+ /**
236
+ * flag as required
237
+ */
238
+ ignore?: boolean;
239
+ /**
240
+ * provide a predefined value, useful to fill data otherwise missing from the context
241
+ */
242
+ value?: string | number | boolean;
243
+ };
244
+ type ToolsRequestSchemaAuthBasic = {
245
+ username?: string;
246
+ password: string;
247
+ };
248
+ type ToolsRequestSchemaAuthBearer = {
249
+ /**
250
+ * Supported options are "client_credentials" or "password".
251
+ */
252
+ clientType?: string;
253
+ /**
254
+ * Required for client type "client_credentials"
255
+ */
256
+ clientId?: string;
257
+ /**
258
+ * Required for client type "client_credentials"
259
+ */
260
+ clientSecret?: string;
261
+ /**
262
+ * Required for client type "password"
263
+ */
264
+ username?: string;
265
+ /**
266
+ * Required for client type "password"
267
+ */
268
+ password?: string;
269
+ audience?: string;
270
+ tokenUrl: string;
271
+ refreshUrl?: string;
272
+ };
273
+ type ToolsRequestSchema = {
274
+ /**
275
+ * Supported options are basic, bearer and module. Defaults to module if not specified.
276
+ */
277
+ auth?: string;
278
+ /**
279
+ * Used for "basic" auth type
280
+ */
281
+ basic?: ToolsRequestSchemaAuthBasic;
282
+ /**
283
+ * Used for "bearer" auth type
284
+ */
285
+ bearer?: ToolsRequestSchemaAuthBearer;
286
+ /**
287
+ * Reference to one of the modules (or clients) available in the app
288
+ */
289
+ moduleId: string;
290
+ /**
291
+ * Url to call with a JSON POST. Leave empty to skip API calling
292
+ */
293
+ url: string;
294
+ headers?: Record<string, unknown>;
295
+ };
296
+ type ToolUIContentDto = {
297
+ /**
298
+ * A UI content type: image, video, link, quiz, buttons, html, webpage, pdf, …
299
+ */
300
+ contentType: string;
301
+ /**
302
+ * The content for that type, e.g. `{ src, alt }` for an image
303
+ */
304
+ content: Record<string, unknown>;
305
+ description?: string;
306
+ /**
307
+ * UI content options
308
+ */
309
+ options?: Record<string, unknown>;
310
+ };
311
+ type AppToolsDTO = {
312
+ /**
313
+ * Tool name used in the LLM, a descriptive name may help in identifying it correctly
314
+ */
315
+ name: string;
316
+ /**
317
+ * Tool description used in the LLM, this is key to correctly match the user intent
318
+ */
319
+ description: string;
320
+ /**
321
+ * List of parameters of the tool
322
+ */
323
+ schema?: Array<ToolsParameterSchema>;
324
+ /**
325
+ * Provide details to trigger an HTTP API call on tool match
326
+ */
327
+ request?: ToolsRequestSchema;
328
+ /**
329
+ * UI content shown in the client when the tool matches (an image, a quiz, a link…)
330
+ */
331
+ ui?: ToolUIContentDto;
332
+ returnDirect?: boolean;
333
+ /**
334
+ * Ignore the LLM response when the tool matches
335
+ */
336
+ skipResponse?: boolean;
337
+ /**
338
+ * API url to call on tool match, defaults to unauthenticated POST if no `request` are provided.
339
+ */
340
+ url?: string;
341
+ };
342
+ type ModuleResourceDto = {
343
+ /**
344
+ * Resource of the module operation
345
+ */
346
+ resource: string;
347
+ /**
348
+ * Scope of the module operation
349
+ */
350
+ scope: string;
351
+ /**
352
+ * Additional context, added to the request and event topic when triggered. Can contain variable substituted from the payload, such as :appId
353
+ */
354
+ context?: Array<string>;
355
+ /**
356
+ * Name of the module operation
357
+ */
358
+ name?: string;
359
+ /**
360
+ * Description of the module operation
361
+ */
362
+ description?: string;
363
+ /**
364
+ * Unique identifier of the module
365
+ */
366
+ moduleId: string;
367
+ /**
368
+ * Operation to call from the module OpenAPI spec
369
+ */
370
+ operationId: string;
371
+ /**
372
+ * Indicate if an event should be emitted when this module resource is triggered. The format is app/:appId/<resource>/<scope>/[...context]
373
+ */
374
+ emitEvent?: boolean;
375
+ };
376
+ type ModuleSettingsDto = {
377
+ /**
378
+ * Service URL used to load .well-known
379
+ */
380
+ url?: string;
381
+ /**
382
+ * Reference to a openapi specification to use to map requests to the modules
383
+ */
384
+ openapiSpec: string;
385
+ /**
386
+ * Reference to a asyncAPI specification to use to map requests to the modules
387
+ */
388
+ asyncapiSpec: string;
389
+ /**
390
+ * List of managed resources and scopes for this module
391
+ */
392
+ resources: Array<ModuleResourceDto>;
393
+ };
394
+ type AppModuleConfigDto = {
395
+ moduleId: string;
396
+ /**
397
+ * Status of the module. `enabled` by default. can be `disabled`. Set to `failure` if loading generates errors.
398
+ */
399
+ status?: string;
400
+ name?: string;
401
+ description?: string;
402
+ supports: Array<string>;
403
+ config: ModuleSettingsDto;
404
+ secret?: string;
405
+ appId?: string;
406
+ };
407
+ type AppClientDto = {
408
+ appId?: string;
409
+ name: string;
410
+ /**
411
+ * The clientId, unique in the app (module clients use the moduleId, e.g. avatar).
412
+ */
413
+ clientId?: string;
414
+ secret?: string;
415
+ /**
416
+ * A list of permissions for this client in the form [resource].[scope] e.g. detection.intent. User *.* for all permission
417
+ */
418
+ permissions: Array<string>;
419
+ };
420
+ type LLMSettingsDto = {
421
+ chat?: string;
422
+ tools?: string;
423
+ sentiment?: string;
424
+ tasks?: string;
425
+ intent?: string;
426
+ translation?: string;
427
+ };
428
+ type AppPromptDto = {
429
+ text: string;
430
+ };
431
+ /**
432
+ * An interaction modality to start a session
433
+ */
434
+ type InteractionStartTypes = 'on-load' | 'touch' | 'speak' | 'intent-detection';
435
+ declare const InteractionStartTypesEnum: {
436
+ readonly ON_LOAD: "on-load";
437
+ readonly TOUCH: "touch";
438
+ readonly SPEAK: "speak";
439
+ readonly INTENT_DETECTION: "intent-detection";
440
+ };
441
+ type AppSettingsDto = {
442
+ /**
443
+ * Skip the default tools response as generated by the LLM
444
+ */
445
+ skipToolResponse?: boolean;
446
+ /**
447
+ * Toggle text to speech (TTS) rendering
448
+ */
449
+ ttsEnabled?: boolean;
450
+ /**
451
+ * App requires login
452
+ */
453
+ login?: boolean;
454
+ /**
455
+ * Toggle the free chat mode, enabled by default
456
+ */
457
+ chatModeEnabled?: boolean;
458
+ /**
459
+ * Avatar ID
460
+ */
461
+ avatar: string;
462
+ /**
463
+ * Default interaction language such as en-GB
464
+ */
465
+ language?: string;
466
+ /**
467
+ * LLM models settings
468
+ */
469
+ llm?: LLMSettingsDto;
470
+ /**
471
+ * Kisok background image ID
472
+ */
473
+ background: string;
474
+ /**
475
+ * Application prompt to describe the scope of the application
476
+ */
477
+ prompt?: AppPromptDto;
478
+ /**
479
+ * Toggle the welcome message sent at the start of a session
480
+ */
481
+ skipWelcomeMessage?: boolean;
482
+ /**
483
+ * An interaction modality to start a session
484
+ */
485
+ interactionStart?: InteractionStartTypes;
486
+ /**
487
+ * Kiosk colors theme
488
+ */
489
+ theme?: Record<string, unknown>;
490
+ /**
491
+ * Repository
492
+ */
493
+ githubRepository?: string;
494
+ /**
495
+ * Markdown formatted content with information about the app shown in navbar of the kiosk
496
+ */
497
+ impressum?: string;
498
+ /**
499
+ * If true, ask for privacy consent at the beginning of every session
500
+ */
501
+ resetPrivacyEverySession?: boolean;
502
+ };
503
+ type TaskIntentDto = {
504
+ /**
505
+ * Intent name used as identifier
506
+ */
507
+ name: string;
508
+ /**
509
+ * Intent description used to match with user input
510
+ */
511
+ description?: string;
512
+ };
513
+ /**
514
+ * Type of event to trigger
515
+ */
516
+ type TaskEventType = 'started' | 'completed' | 'ongoing' | 'aborted';
517
+ declare const TaskEventTypeEnum: {
518
+ readonly STARTED: "started";
519
+ readonly COMPLETED: "completed";
520
+ readonly ONGOING: "ongoing";
521
+ readonly ABORTED: "aborted";
522
+ };
523
+ type TaskEventTriggerDto = {
524
+ /**
525
+ * Tool to trigger
526
+ */
527
+ name?: string;
528
+ /**
529
+ * Tool values passed to the tool handlers
530
+ */
531
+ values?: Record<string, unknown>;
532
+ /**
533
+ * Evalute the condition based on values. {key} is replaced with its value.
534
+ */
535
+ condition?: string;
536
+ };
537
+ type TaskEventDto = {
538
+ /**
539
+ * Type of event to trigger
540
+ */
541
+ type: TaskEventType;
542
+ /**
543
+ * Chat message to send to the user
544
+ */
545
+ message?: string;
546
+ /**
547
+ * Condition to trigger the event
548
+ */
549
+ condition?: string;
550
+ /**
551
+ * Trigger a tool
552
+ */
553
+ trigger?: Array<TaskEventTriggerDto>;
554
+ };
555
+ type UIContentOptionsDto = {
556
+ /**
557
+ * Clear the UI screen
558
+ */
559
+ clearScreen?: boolean;
560
+ /**
561
+ * Enable agent reading the content (text to speech)
562
+ */
563
+ ttsEnabled?: boolean;
564
+ /**
565
+ * Stop the agent speech
566
+ */
567
+ stopSpeech?: boolean;
568
+ /**
569
+ * Define the language of the content, it will be translated based on the language selected by the user.
570
+ */
571
+ language?: string;
572
+ };
573
+ /**
574
+ * Data type
575
+ */
576
+ type TaskSchemaDataType = 'text' | 'boolean' | 'date' | 'select' | 'eval' | 'external';
577
+ declare const TaskSchemaDataTypeEnum: {
578
+ readonly TEXT: "text";
579
+ readonly BOOLEAN: "boolean";
580
+ readonly DATE: "date";
581
+ readonly SELECT: "select";
582
+ readonly EVAL: "eval";
583
+ readonly EXTERNAL: "external";
584
+ };
585
+ type OptionSelection = {
586
+ /**
587
+ * Selection value
588
+ */
589
+ value: string;
590
+ /**
591
+ * Selection label (value is used if not provided)
592
+ */
593
+ label?: string;
594
+ /**
595
+ * Description for an option
596
+ */
597
+ description?: string;
598
+ /**
599
+ * Addtional settings for this field
600
+ */
601
+ options?: string;
602
+ };
603
+ type TaskFieldDto = {
604
+ /**
605
+ * Name of the field
606
+ */
607
+ name: string;
608
+ /**
609
+ * Label of the field
610
+ */
611
+ label?: string;
612
+ /**
613
+ * Provide context to be injected in the LLM prompt to improve handling user interactions
614
+ */
615
+ hint?: string;
616
+ /**
617
+ * Priority order (lower first)
618
+ */
619
+ order?: number;
620
+ /**
621
+ * UI content options
622
+ */
623
+ uiOptions?: UIContentOptionsDto;
624
+ /**
625
+ * Skip chat response
626
+ */
627
+ skipResponse?: boolean;
628
+ /**
629
+ * Data type
630
+ */
631
+ type: TaskSchemaDataType;
632
+ /**
633
+ * Indicate if the field is required
634
+ */
635
+ required?: boolean;
636
+ /**
637
+ * A prompt to validate and transform the input
638
+ */
639
+ validation?: string;
640
+ /**
641
+ * Provde an activation condition based on the stored record list. If omitted, the field is always proposed to the user.
642
+ */
643
+ condition?: string;
644
+ /**
645
+ * Provde a prompt for type=evaluate based on the available record fields. Placeholders such as {field-name} are replaced with the value of the field.
646
+ */
647
+ prompt?: string;
648
+ /**
649
+ * Provde an handler for type=external to delegate the field handling to an external service
650
+ */
651
+ handler?: string;
652
+ /**
653
+ * Allow to select multiple options
654
+ */
655
+ multiple?: boolean;
656
+ /**
657
+ * List of valid options
658
+ */
659
+ options?: Array<OptionSelection>;
660
+ };
661
+ type DialogueToolsRepositoryOptionsDto = {
662
+ /**
663
+ * Trigger one of the tools in the list once, then remove the tools.
664
+ */
665
+ triggerOnce?: boolean;
666
+ /**
667
+ * Alter the normal chat flow, assuming one of the available tools will provide an answer.
668
+ */
669
+ exclusive?: boolean;
670
+ };
671
+ type TaskOptionsDto = {
672
+ /**
673
+ * Trigger this task once, then remove it
674
+ */
675
+ triggerOnce?: boolean;
676
+ /**
677
+ * Remove record on completion
678
+ */
679
+ removeRecord?: boolean;
680
+ /**
681
+ * Enable this task as tool, allowing users to invoke it directly
682
+ */
683
+ enableTool?: boolean;
684
+ /**
685
+ * Additional tool options configuration
686
+ */
687
+ toolOptions?: DialogueToolsRepositoryOptionsDto;
688
+ /**
689
+ * ID of the tool repository to add the tool to
690
+ */
691
+ repositoryId?: string;
692
+ /**
693
+ * Show this tool to the user, such as in the welcome message
694
+ */
695
+ list?: boolean;
696
+ /**
697
+ * Allow this task to be completed only once per session
698
+ */
699
+ oncePerSession?: boolean;
700
+ /**
701
+ * Cancel the task if the user answer does not match one of the task options
702
+ */
703
+ matchOrRemove?: boolean;
704
+ };
705
+ type DialogueTaskDto = {
706
+ /**
707
+ * Task ID
708
+ */
709
+ taskId: string;
710
+ /**
711
+ * Application ID references
712
+ */
713
+ appId: string;
714
+ /**
715
+ * Provide context to be injected in the LLM prompt to improve handling user interactions
716
+ */
717
+ hint?: string;
718
+ /**
719
+ * Session ID references
720
+ */
721
+ sessionId?: string;
722
+ /**
723
+ * Task name
724
+ */
725
+ name: string;
726
+ /**
727
+ * Task label
728
+ */
729
+ label: string;
730
+ /**
731
+ * Task description
732
+ */
733
+ description?: string;
734
+ /**
735
+ * A list of intents to evaluate when the user interacts with the agent
736
+ */
737
+ intents?: Array<TaskIntentDto>;
738
+ /**
739
+ * Map task events
740
+ */
741
+ events?: Array<TaskEventDto>;
742
+ /**
743
+ * Task fields
744
+ */
745
+ fields: Array<TaskFieldDto>;
746
+ /**
747
+ * Task options
748
+ */
749
+ options?: TaskOptionsDto;
750
+ };
751
+ type PlatformAppDto = {
752
+ appId: string;
753
+ public?: boolean;
754
+ name: string;
755
+ description: string;
756
+ /**
757
+ * Owner of the application
758
+ */
759
+ ownerId: string;
760
+ modules: Array<AppModuleConfigDto>;
761
+ repository: RepositoryConfigDto;
762
+ clients: Array<AppClientDto>;
763
+ settings?: AppSettingsDto;
764
+ createdAt?: string;
765
+ updatedAt?: string;
766
+ /**
767
+ * Application tools offered by the application
768
+ */
769
+ tools?: Array<AppToolsDTO>;
770
+ /**
771
+ * Structured tasks offered by the application
772
+ */
773
+ tasks?: Array<DialogueTaskDto>;
774
+ };
775
+ type CreatePlatformAppDto = {
776
+ public?: boolean;
777
+ name: string;
778
+ description: string;
779
+ /**
780
+ * Owner of the application
781
+ */
782
+ ownerId: string;
783
+ modules: Array<AppModuleConfigDto>;
784
+ repository: RepositoryConfigDto;
785
+ clients: Array<AppClientDto>;
786
+ settings?: AppSettingsDto;
787
+ /**
788
+ * Application tools offered by the application
789
+ */
790
+ tools?: Array<AppToolsDTO>;
791
+ /**
792
+ * Structured tasks offered by the application
793
+ */
794
+ tasks?: Array<DialogueTaskDto>;
795
+ /**
796
+ * The app id, generated when missing
797
+ */
798
+ appId?: string;
799
+ };
800
+ type PlatformAppExportFilterDto = {
801
+ name?: string;
802
+ appId?: Array<string>;
803
+ };
804
+ type DialogueDocumentOptionsDto = {
805
+ /**
806
+ * Define the document splitting strategy. "phrase" split by sentence, "single-line" use each line as document, "double-line" use double break-line as document
807
+ */
808
+ parser?: string;
809
+ };
810
+ type DialogueDocumentMetadataDto = {
811
+ uri?: string;
812
+ source?: string;
813
+ filename?: string;
814
+ /**
815
+ * Configure the document import handling, such as parser
816
+ */
817
+ options?: DialogueDocumentOptionsDto;
818
+ };
819
+ type DialogueDocumentDto = {
820
+ appId: string;
821
+ documentId: string;
822
+ content: string;
823
+ metadata?: DialogueDocumentMetadataDto;
824
+ };
825
+ type KeycloakJwtTokenResourceAccess = {};
826
+ type AuthJwtUser = {
827
+ exp: number;
828
+ iat: number;
829
+ auth_time: number;
830
+ jti: string;
831
+ iss: string;
832
+ aud: string;
833
+ sub: string;
834
+ typ: string;
835
+ azp: string;
836
+ nonce: string;
837
+ session_state: string;
838
+ acr: string;
839
+ scope: string;
840
+ sid: string;
841
+ email_verified: boolean;
842
+ name: string;
843
+ preferred_username: string;
844
+ given_name: string;
845
+ family_name: string;
846
+ email: string;
847
+ realm_access: KeycloakJwtTokenResourceAccess;
848
+ resource_access: KeycloakJwtTokenResourceAccess;
849
+ role: string;
850
+ appId: Array<string>;
851
+ roles: Array<string>;
852
+ };
853
+ type LoginRequestDto = {
854
+ appId: string;
855
+ /**
856
+ * Reference to the authenticated client the request originated from
857
+ */
858
+ clientId?: string;
859
+ /**
860
+ * Request identifier for monitoring purposes
861
+ */
862
+ requestId?: string;
863
+ /**
864
+ * Reference to the user interacting with the system
865
+ */
866
+ userId?: string;
867
+ /**
868
+ * Reference date
869
+ */
870
+ ts?: string;
871
+ username: string;
872
+ password: string;
873
+ };
874
+ type LoginResponseDto = {
875
+ access_token: string;
876
+ expires_in: number;
877
+ refresh_expires_in: number;
878
+ refresh_token: string;
879
+ token_type: string;
880
+ session_state: string;
881
+ scope: string;
882
+ };
883
+ type RegistrationRequestDto = {
884
+ appId: string;
885
+ /**
886
+ * Reference to the authenticated client the request originated from
887
+ */
888
+ clientId?: string;
889
+ /**
890
+ * Request identifier for monitoring purposes
891
+ */
892
+ requestId?: string;
893
+ /**
894
+ * Reference to the user interacting with the system
895
+ */
896
+ userId?: string;
897
+ /**
898
+ * Reference date
899
+ */
900
+ ts?: string;
901
+ firstName?: string;
902
+ lastName?: string;
903
+ username: string;
904
+ email: string;
905
+ password: string;
906
+ };
907
+ type RegistrationResponseDto = {
908
+ userId: string;
909
+ };
910
+ type RefreshTokenRequestDto = {
911
+ appId: string;
912
+ /**
913
+ * Reference to the authenticated client the request originated from
914
+ */
915
+ clientId?: string;
916
+ /**
917
+ * Request identifier for monitoring purposes
918
+ */
919
+ requestId?: string;
920
+ /**
921
+ * Reference to the user interacting with the system
922
+ */
923
+ userId?: string;
924
+ /**
925
+ * Reference date
926
+ */
927
+ ts?: string;
928
+ refreshToken: string;
929
+ clientSecret?: string;
930
+ };
931
+ type AuthorizationUser = {
932
+ moduleId: string;
933
+ resource: Array<string>;
934
+ scopes: Array<string>;
935
+ };
936
+ type UpdateUserRequestDto = {
937
+ appId: string;
938
+ /**
939
+ * Reference to the authenticated client the request originated from
940
+ */
941
+ clientId?: string;
942
+ /**
943
+ * Request identifier for monitoring purposes
944
+ */
945
+ requestId?: string;
946
+ /**
947
+ * Reference to the user interacting with the system
948
+ */
949
+ userId: string;
950
+ /**
951
+ * Reference date
952
+ */
953
+ ts?: string;
954
+ password?: string;
955
+ roles?: string;
956
+ enabled?: boolean;
957
+ authorization?: Array<AuthorizationUser>;
958
+ };
959
+ type PlatformModuleConfigDto = {
960
+ moduleId: string;
961
+ /**
962
+ * Status of the module. `enabled` by default. can be `disabled`. Set to `failure` if loading generates errors.
963
+ */
964
+ status?: string;
965
+ name?: string;
966
+ description?: string;
967
+ supports: Array<string>;
968
+ config: ModuleSettingsDto;
969
+ secret?: string;
970
+ };
971
+ type ObjectDetectionType = 'CARRIED_OBJECT';
972
+ declare const ObjectDetectionTypeEnum: {
973
+ readonly CARRIED_OBJECT: "CARRIED_OBJECT";
974
+ };
975
+ type ObjectDetectionRequest = {
976
+ appId: string;
977
+ /**
978
+ * Reference to the authenticated client the request originated from
979
+ */
980
+ clientId?: string;
981
+ /**
982
+ * Request identifier for monitoring purposes
983
+ */
984
+ requestId?: string;
985
+ /**
986
+ * Reference to the user interacting with the system
987
+ */
988
+ userId?: string;
989
+ /**
990
+ * Reference date
991
+ */
992
+ ts?: string;
993
+ image: string;
994
+ detectionType: ObjectDetectionType;
995
+ filter: Array<string>;
996
+ };
997
+ type SentimentAnalysisRequest = {
998
+ appId: string;
999
+ /**
1000
+ * Reference to the authenticated client the request originated from
1001
+ */
1002
+ clientId?: string;
1003
+ /**
1004
+ * Request identifier for monitoring purposes
1005
+ */
1006
+ requestId?: string;
1007
+ /**
1008
+ * Reference to the user interacting with the system
1009
+ */
1010
+ userId?: string;
1011
+ /**
1012
+ * Reference date
1013
+ */
1014
+ ts?: string;
1015
+ text: string;
1016
+ };
1017
+ type UserInteractionIntentionDto = {
1018
+ appId: string;
1019
+ /**
1020
+ * Reference to the authenticated client the request originated from
1021
+ */
1022
+ clientId?: string;
1023
+ /**
1024
+ * Request identifier for monitoring purposes
1025
+ */
1026
+ requestId?: string;
1027
+ /**
1028
+ * Reference to the user interacting with the system
1029
+ */
1030
+ userId?: string;
1031
+ /**
1032
+ * Reference date
1033
+ */
1034
+ ts?: string;
1035
+ /**
1036
+ * Module generating the event
1037
+ */
1038
+ moduleId: string;
1039
+ source: string;
1040
+ probability: number;
1041
+ interactionType: 'start' | 'stop';
1042
+ sessionId: string;
1043
+ };
1044
+ declare const InteractionTypeEnum: {
1045
+ readonly START: "start";
1046
+ readonly STOP: "stop";
1047
+ };
1048
+ /**
1049
+ * Actor providing the text, can be user or agent
1050
+ */
1051
+ type DialogueActor = 'user' | 'agent';
1052
+ declare const DialogueActorEnum: {
1053
+ readonly USER: "user";
1054
+ readonly AGENT: "agent";
1055
+ };
1056
+ type DialogueTextToSpeechDto = {
1057
+ appId: string;
1058
+ /**
1059
+ * Reference to the authenticated client the request originated from
1060
+ */
1061
+ clientId?: string;
1062
+ /**
1063
+ * Request identifier for monitoring purposes
1064
+ */
1065
+ requestId?: string;
1066
+ /**
1067
+ * Reference to the user interacting with the system
1068
+ */
1069
+ userId?: string;
1070
+ /**
1071
+ * Reference date
1072
+ */
1073
+ ts?: string;
1074
+ /**
1075
+ * User session identifier
1076
+ */
1077
+ sessionId?: string;
1078
+ /**
1079
+ * Actor providing the text, can be user or agent
1080
+ */
1081
+ actor?: DialogueActor;
1082
+ /**
1083
+ * Text to convert to speech. If emotion field is set, it will be converted to SSML. If also `ssml` field is set, this field will be ignored
1084
+ */
1085
+ text?: string;
1086
+ /**
1087
+ * Assistant gender (M or F)
1088
+ */
1089
+ gender?: string;
1090
+ /**
1091
+ * Text language
1092
+ */
1093
+ language?: string;
1094
+ /**
1095
+ * User emotion, if available
1096
+ */
1097
+ emotion?: string;
1098
+ /**
1099
+ * LLM engine to use
1100
+ */
1101
+ llm?: LLMSettingsDto;
1102
+ /**
1103
+ * The avatar id used for interaction
1104
+ */
1105
+ avatar?: string;
1106
+ /**
1107
+ * Unique sortable ID used to group and sort messages
1108
+ */
1109
+ messageId?: string;
1110
+ /**
1111
+ * Unique sortable ID used to sort chunks from the same messageId
1112
+ */
1113
+ chunkId?: string;
1114
+ /**
1115
+ * Toggle TTS rendering for this message
1116
+ */
1117
+ ttsEnabled?: boolean;
1118
+ /**
1119
+ * Specify if it is a welcome message
1120
+ */
1121
+ isWelcome?: boolean;
1122
+ /**
1123
+ * SSML markup to render as speech.
1124
+ */
1125
+ ssml?: string;
1126
+ };
1127
+ type DialogueMessageDto = {
1128
+ appId: string;
1129
+ /**
1130
+ * Reference to the authenticated client the request originated from
1131
+ */
1132
+ clientId?: string;
1133
+ /**
1134
+ * Request identifier for monitoring purposes
1135
+ */
1136
+ requestId?: string;
1137
+ /**
1138
+ * Reference to the user interacting with the system
1139
+ */
1140
+ userId?: string;
1141
+ /**
1142
+ * Reference date
1143
+ */
1144
+ ts?: string;
1145
+ /**
1146
+ * User session identifier
1147
+ */
1148
+ sessionId?: string;
1149
+ /**
1150
+ * Actor providing the text, can be user or agent
1151
+ */
1152
+ actor?: DialogueActor;
1153
+ /**
1154
+ * Indicate a chunck identifier as timestamp, usually indicating it is part of a stream.
1155
+ */
1156
+ text: string;
1157
+ /**
1158
+ * Assistant gender (M or F)
1159
+ */
1160
+ gender?: string;
1161
+ /**
1162
+ * Text language
1163
+ */
1164
+ language?: string;
1165
+ /**
1166
+ * User emotion, if available
1167
+ */
1168
+ emotion?: string;
1169
+ /**
1170
+ * LLM engine to use
1171
+ */
1172
+ llm?: LLMSettingsDto;
1173
+ /**
1174
+ * The avatar id used for interaction
1175
+ */
1176
+ avatar?: string;
1177
+ /**
1178
+ * Unique sortable ID used to group and sort messages
1179
+ */
1180
+ messageId?: string;
1181
+ /**
1182
+ * Unique sortable ID used to sort chunks from the same messageId
1183
+ */
1184
+ chunkId?: string;
1185
+ /**
1186
+ * Toggle TTS rendering for this message
1187
+ */
1188
+ ttsEnabled?: boolean;
1189
+ /**
1190
+ * Specify if it is a welcome message
1191
+ */
1192
+ isWelcome?: boolean;
1193
+ };
1194
+ /**
1195
+ * role of the message provider
1196
+ */
1197
+ type LLMRole = 'system' | 'user' | 'assistant';
1198
+ declare const LLMRoleEnum: {
1199
+ readonly SYSTEM: "system";
1200
+ readonly USER: "user";
1201
+ readonly ASSISTANT: "assistant";
1202
+ };
1203
+ /**
1204
+ * type of message, default to "message"
1205
+ */
1206
+ type MemoryMessageType = 'message' | 'task' | 'tool';
1207
+ declare const MemoryMessageTypeEnum: {
1208
+ readonly MESSAGE: "message";
1209
+ readonly TASK: "task";
1210
+ readonly TOOL: "tool";
1211
+ };
1212
+ type DialogueMemoryMessageDto = {
1213
+ content: string;
1214
+ /**
1215
+ * role of the message provider
1216
+ */
1217
+ role: LLMRole;
1218
+ /**
1219
+ * type of message, default to "message"
1220
+ */
1221
+ type?: MemoryMessageType;
1222
+ name?: string;
1223
+ ts: string;
1224
+ metadata?: Record<string, unknown>;
1225
+ };
1226
+ type DialogueTaskRecordDto = {
1227
+ /**
1228
+ * Record ID
1229
+ */
1230
+ recordId: string;
1231
+ /**
1232
+ * Task ID
1233
+ */
1234
+ taskId: string;
1235
+ /**
1236
+ * Application ID reference
1237
+ */
1238
+ appId: string;
1239
+ /**
1240
+ * Session ID reference
1241
+ */
1242
+ sessionId: string;
1243
+ /**
1244
+ * Status of the task
1245
+ */
1246
+ status?: TaskEventType;
1247
+ /**
1248
+ * Stored values
1249
+ */
1250
+ values: Record<string, unknown>;
1251
+ /**
1252
+ * Updated date
1253
+ */
1254
+ updated?: string;
1255
+ /**
1256
+ * Creation date
1257
+ */
1258
+ created?: string;
1259
+ };
1260
+ type DialogueToolsRepositoryDto = {
1261
+ appId: string;
1262
+ /**
1263
+ * Reference to the authenticated client the request originated from
1264
+ */
1265
+ clientId?: string;
1266
+ /**
1267
+ * Request identifier for monitoring purposes
1268
+ */
1269
+ requestId?: string;
1270
+ /**
1271
+ * Reference to the user interacting with the system
1272
+ */
1273
+ userId?: string;
1274
+ /**
1275
+ * Reference date
1276
+ */
1277
+ ts?: string;
1278
+ /**
1279
+ * Track the interaction session, if available
1280
+ */
1281
+ sessionId?: string;
1282
+ /**
1283
+ * Tool repository ID
1284
+ */
1285
+ repositoryId?: string;
1286
+ /**
1287
+ * Tool repository options
1288
+ */
1289
+ options?: DialogueToolsRepositoryOptionsDto;
1290
+ /**
1291
+ * Tools list
1292
+ */
1293
+ tools?: Array<AppToolsDTO>;
1294
+ };
1295
+ type UIContentMetadataDto = {
1296
+ /**
1297
+ * Reference to a tool repository ID
1298
+ */
1299
+ repositoryId?: string;
1300
+ chunks?: Array<Record<string, unknown>>;
1301
+ };
1302
+ type SupportedContentTypes = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'navigation-menu' | 'buttons' | 'quiz' | 'clear-screen' | 'qrcode-scanner' | 'background-audio';
1303
+ declare const SupportedContentTypesEnum: {
1304
+ readonly VIDEO: "video";
1305
+ readonly IMAGE: "image";
1306
+ readonly PDF: "pdf";
1307
+ readonly WEBPAGE: "webpage";
1308
+ readonly OBJECT: "object";
1309
+ readonly TEXT: "text";
1310
+ readonly EMAIL: "email";
1311
+ readonly HTML: "html";
1312
+ readonly LINK: "link";
1313
+ readonly DIALOGUE_MESSAGE: "dialogue-message";
1314
+ readonly NAVIGATION: "navigation";
1315
+ readonly NAVIGATION_MENU: "navigation-menu";
1316
+ readonly BUTTONS: "buttons";
1317
+ readonly QUIZ: "quiz";
1318
+ readonly CLEAR_SCREEN: "clear-screen";
1319
+ readonly QRCODE_SCANNER: "qrcode-scanner";
1320
+ readonly BACKGROUND_AUDIO: "background-audio";
1321
+ };
1322
+ type ImageContentDto = {
1323
+ src: string;
1324
+ width?: number;
1325
+ height?: number;
1326
+ alt: string;
1327
+ isBackground?: boolean;
1328
+ };
1329
+ type ImageUIContentDto = {
1330
+ appId: string;
1331
+ /**
1332
+ * Reference to the authenticated client the request originated from
1333
+ */
1334
+ clientId?: string;
1335
+ /**
1336
+ * Request identifier for monitoring purposes
1337
+ */
1338
+ requestId?: string;
1339
+ /**
1340
+ * Reference to the user interacting with the system
1341
+ */
1342
+ userId?: string;
1343
+ /**
1344
+ * Reference date
1345
+ */
1346
+ ts?: string;
1347
+ /**
1348
+ * Track the interaction session, if available
1349
+ */
1350
+ sessionId?: string;
1351
+ contentType: SupportedContentTypes;
1352
+ content: ImageContentDto;
1353
+ /**
1354
+ * Provide a description for the content
1355
+ */
1356
+ description?: string;
1357
+ /**
1358
+ * Provides metadata for the content
1359
+ */
1360
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1361
+ /**
1362
+ * Provides configuration options for the content
1363
+ */
1364
+ options?: UIContentOptionsDto & Record<string, unknown>;
1365
+ /**
1366
+ * Unique sortable ID used to group and sort messages
1367
+ */
1368
+ messageId?: string;
1369
+ /**
1370
+ * Unique sortable ID used to sort chunks from the same messageId
1371
+ */
1372
+ chunkId?: string;
1373
+ /**
1374
+ * Specify if it is a welcome message
1375
+ */
1376
+ isWelcome?: boolean;
1377
+ };
1378
+ type VideoContentDto = {
1379
+ sources: Array<string>;
1380
+ type: string;
1381
+ description?: string;
1382
+ subtitle?: string;
1383
+ thumb?: string;
1384
+ title?: string;
1385
+ width?: number;
1386
+ height?: number;
1387
+ };
1388
+ type VideoUIContentDto = {
1389
+ appId: string;
1390
+ /**
1391
+ * Reference to the authenticated client the request originated from
1392
+ */
1393
+ clientId?: string;
1394
+ /**
1395
+ * Request identifier for monitoring purposes
1396
+ */
1397
+ requestId?: string;
1398
+ /**
1399
+ * Reference to the user interacting with the system
1400
+ */
1401
+ userId?: string;
1402
+ /**
1403
+ * Reference date
1404
+ */
1405
+ ts?: string;
1406
+ /**
1407
+ * Track the interaction session, if available
1408
+ */
1409
+ sessionId?: string;
1410
+ contentType: SupportedContentTypes;
1411
+ content: VideoContentDto;
1412
+ /**
1413
+ * Provide a description for the content
1414
+ */
1415
+ description?: string;
1416
+ /**
1417
+ * Provides metadata for the content
1418
+ */
1419
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1420
+ /**
1421
+ * Provides configuration options for the content
1422
+ */
1423
+ options?: UIContentOptionsDto & Record<string, unknown>;
1424
+ /**
1425
+ * Unique sortable ID used to group and sort messages
1426
+ */
1427
+ messageId?: string;
1428
+ /**
1429
+ * Unique sortable ID used to sort chunks from the same messageId
1430
+ */
1431
+ chunkId?: string;
1432
+ /**
1433
+ * Specify if it is a welcome message
1434
+ */
1435
+ isWelcome?: boolean;
1436
+ };
1437
+ type PdfContentDto = {
1438
+ url: string;
1439
+ };
1440
+ type PdfUIContentDto = {
1441
+ appId: string;
1442
+ /**
1443
+ * Reference to the authenticated client the request originated from
1444
+ */
1445
+ clientId?: string;
1446
+ /**
1447
+ * Request identifier for monitoring purposes
1448
+ */
1449
+ requestId?: string;
1450
+ /**
1451
+ * Reference to the user interacting with the system
1452
+ */
1453
+ userId?: string;
1454
+ /**
1455
+ * Reference date
1456
+ */
1457
+ ts?: string;
1458
+ /**
1459
+ * Track the interaction session, if available
1460
+ */
1461
+ sessionId?: string;
1462
+ contentType: SupportedContentTypes;
1463
+ content: PdfContentDto;
1464
+ /**
1465
+ * Provide a description for the content
1466
+ */
1467
+ description?: string;
1468
+ /**
1469
+ * Provides metadata for the content
1470
+ */
1471
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1472
+ /**
1473
+ * Provides configuration options for the content
1474
+ */
1475
+ options?: UIContentOptionsDto & Record<string, unknown>;
1476
+ /**
1477
+ * Unique sortable ID used to group and sort messages
1478
+ */
1479
+ messageId?: string;
1480
+ /**
1481
+ * Unique sortable ID used to sort chunks from the same messageId
1482
+ */
1483
+ chunkId?: string;
1484
+ /**
1485
+ * Specify if it is a welcome message
1486
+ */
1487
+ isWelcome?: boolean;
1488
+ };
1489
+ type WebpageContentDto = {
1490
+ url: string;
1491
+ };
1492
+ type WebpageUIContentDto = {
1493
+ appId: string;
1494
+ /**
1495
+ * Reference to the authenticated client the request originated from
1496
+ */
1497
+ clientId?: string;
1498
+ /**
1499
+ * Request identifier for monitoring purposes
1500
+ */
1501
+ requestId?: string;
1502
+ /**
1503
+ * Reference to the user interacting with the system
1504
+ */
1505
+ userId?: string;
1506
+ /**
1507
+ * Reference date
1508
+ */
1509
+ ts?: string;
1510
+ /**
1511
+ * Track the interaction session, if available
1512
+ */
1513
+ sessionId?: string;
1514
+ contentType: SupportedContentTypes;
1515
+ content: WebpageContentDto;
1516
+ /**
1517
+ * Provide a description for the content
1518
+ */
1519
+ description?: string;
1520
+ /**
1521
+ * Provides metadata for the content
1522
+ */
1523
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1524
+ /**
1525
+ * Provides configuration options for the content
1526
+ */
1527
+ options?: UIContentOptionsDto & Record<string, unknown>;
1528
+ /**
1529
+ * Unique sortable ID used to group and sort messages
1530
+ */
1531
+ messageId?: string;
1532
+ /**
1533
+ * Unique sortable ID used to sort chunks from the same messageId
1534
+ */
1535
+ chunkId?: string;
1536
+ /**
1537
+ * Specify if it is a welcome message
1538
+ */
1539
+ isWelcome?: boolean;
1540
+ };
1541
+ type Supported3DTypes = 'glb' | 'obj' | 'fbx';
1542
+ declare const Supported3DTypesEnum: {
1543
+ readonly GLB: "glb";
1544
+ readonly OBJ: "obj";
1545
+ readonly FBX: "fbx";
1546
+ };
1547
+ type ObjectContentDto = {
1548
+ url: string;
1549
+ type: Supported3DTypes;
1550
+ };
1551
+ type ObjectContentDtoWrapper = {
1552
+ list: Array<ObjectContentDto>;
1553
+ };
1554
+ type ObjectUIContentDto = {
1555
+ appId: string;
1556
+ /**
1557
+ * Reference to the authenticated client the request originated from
1558
+ */
1559
+ clientId?: string;
1560
+ /**
1561
+ * Request identifier for monitoring purposes
1562
+ */
1563
+ requestId?: string;
1564
+ /**
1565
+ * Reference to the user interacting with the system
1566
+ */
1567
+ userId?: string;
1568
+ /**
1569
+ * Reference date
1570
+ */
1571
+ ts?: string;
1572
+ /**
1573
+ * Track the interaction session, if available
1574
+ */
1575
+ sessionId?: string;
1576
+ contentType: SupportedContentTypes;
1577
+ content: ObjectContentDtoWrapper;
1578
+ /**
1579
+ * Provide a description for the content
1580
+ */
1581
+ description?: string;
1582
+ /**
1583
+ * Provides metadata for the content
1584
+ */
1585
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1586
+ /**
1587
+ * Provides configuration options for the content
1588
+ */
1589
+ options?: UIContentOptionsDto & Record<string, unknown>;
1590
+ /**
1591
+ * Unique sortable ID used to group and sort messages
1592
+ */
1593
+ messageId?: string;
1594
+ /**
1595
+ * Unique sortable ID used to sort chunks from the same messageId
1596
+ */
1597
+ chunkId?: string;
1598
+ /**
1599
+ * Specify if it is a welcome message
1600
+ */
1601
+ isWelcome?: boolean;
1602
+ };
1603
+ type TextContentDto = {
1604
+ text: string;
1605
+ };
1606
+ type TextUIContentDto = {
1607
+ appId: string;
1608
+ /**
1609
+ * Reference to the authenticated client the request originated from
1610
+ */
1611
+ clientId?: string;
1612
+ /**
1613
+ * Request identifier for monitoring purposes
1614
+ */
1615
+ requestId?: string;
1616
+ /**
1617
+ * Reference to the user interacting with the system
1618
+ */
1619
+ userId?: string;
1620
+ /**
1621
+ * Reference date
1622
+ */
1623
+ ts?: string;
1624
+ /**
1625
+ * Track the interaction session, if available
1626
+ */
1627
+ sessionId?: string;
1628
+ contentType: SupportedContentTypes;
1629
+ content: TextContentDto;
1630
+ /**
1631
+ * Provide a description for the content
1632
+ */
1633
+ description?: string;
1634
+ /**
1635
+ * Provides metadata for the content
1636
+ */
1637
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1638
+ /**
1639
+ * Provides configuration options for the content
1640
+ */
1641
+ options?: UIContentOptionsDto & Record<string, unknown>;
1642
+ /**
1643
+ * Unique sortable ID used to group and sort messages
1644
+ */
1645
+ messageId?: string;
1646
+ /**
1647
+ * Unique sortable ID used to sort chunks from the same messageId
1648
+ */
1649
+ chunkId?: string;
1650
+ /**
1651
+ * Specify if it is a welcome message
1652
+ */
1653
+ isWelcome?: boolean;
1654
+ };
1655
+ type QuizAnswerDto = {
1656
+ answerId: string;
1657
+ answer: string;
1658
+ reason: string;
1659
+ correct: boolean;
1660
+ answerImage?: ImageContentDto;
1661
+ };
1662
+ type QuizContentDto = {
1663
+ question: string;
1664
+ answers: Array<QuizAnswerDto>;
1665
+ };
1666
+ type QuizUIContentDto = {
1667
+ appId: string;
1668
+ /**
1669
+ * Reference to the authenticated client the request originated from
1670
+ */
1671
+ clientId?: string;
1672
+ /**
1673
+ * Request identifier for monitoring purposes
1674
+ */
1675
+ requestId?: string;
1676
+ /**
1677
+ * Reference to the user interacting with the system
1678
+ */
1679
+ userId?: string;
1680
+ /**
1681
+ * Reference date
1682
+ */
1683
+ ts?: string;
1684
+ /**
1685
+ * Track the interaction session, if available
1686
+ */
1687
+ sessionId?: string;
1688
+ contentType: SupportedContentTypes;
1689
+ content: QuizContentDto;
1690
+ /**
1691
+ * Provide a description for the content
1692
+ */
1693
+ description?: string;
1694
+ /**
1695
+ * Provides metadata for the content
1696
+ */
1697
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1698
+ /**
1699
+ * Provides configuration options for the content
1700
+ */
1701
+ options?: UIContentOptionsDto & Record<string, unknown>;
1702
+ /**
1703
+ * Unique sortable ID used to group and sort messages
1704
+ */
1705
+ messageId?: string;
1706
+ /**
1707
+ * Unique sortable ID used to sort chunks from the same messageId
1708
+ */
1709
+ chunkId?: string;
1710
+ /**
1711
+ * Specify if it is a welcome message
1712
+ */
1713
+ isWelcome?: boolean;
1714
+ };
1715
+ type ClearUIContentDto = {
1716
+ appId: string;
1717
+ /**
1718
+ * Reference to the authenticated client the request originated from
1719
+ */
1720
+ clientId?: string;
1721
+ /**
1722
+ * Request identifier for monitoring purposes
1723
+ */
1724
+ requestId?: string;
1725
+ /**
1726
+ * Reference to the user interacting with the system
1727
+ */
1728
+ userId?: string;
1729
+ /**
1730
+ * Reference date
1731
+ */
1732
+ ts?: string;
1733
+ /**
1734
+ * Track the interaction session, if available
1735
+ */
1736
+ sessionId?: string;
1737
+ contentType: SupportedContentTypes;
1738
+ content: Record<string, unknown>;
1739
+ /**
1740
+ * Provide a description for the content
1741
+ */
1742
+ description?: string;
1743
+ /**
1744
+ * Provides metadata for the content
1745
+ */
1746
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1747
+ /**
1748
+ * Provides configuration options for the content
1749
+ */
1750
+ options?: UIContentOptionsDto & Record<string, unknown>;
1751
+ /**
1752
+ * Unique sortable ID used to group and sort messages
1753
+ */
1754
+ messageId?: string;
1755
+ /**
1756
+ * Unique sortable ID used to sort chunks from the same messageId
1757
+ */
1758
+ chunkId?: string;
1759
+ /**
1760
+ * Specify if it is a welcome message
1761
+ */
1762
+ isWelcome?: boolean;
1763
+ };
1764
+ type ClearScreenDto = {
1765
+ appId: string;
1766
+ /**
1767
+ * Reference to the authenticated client the request originated from
1768
+ */
1769
+ clientId?: string;
1770
+ /**
1771
+ * Request identifier for monitoring purposes
1772
+ */
1773
+ requestId?: string;
1774
+ /**
1775
+ * Reference to the user interacting with the system
1776
+ */
1777
+ userId?: string;
1778
+ /**
1779
+ * Reference date
1780
+ */
1781
+ ts?: string;
1782
+ /**
1783
+ * Track the interaction session, if available
1784
+ */
1785
+ sessionId?: string;
1786
+ contentType: SupportedContentTypes;
1787
+ content: Record<string, unknown>;
1788
+ /**
1789
+ * Provide a description for the content
1790
+ */
1791
+ description?: string;
1792
+ /**
1793
+ * Provides metadata for the content
1794
+ */
1795
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1796
+ /**
1797
+ * Provides configuration options for the content
1798
+ */
1799
+ options?: UIContentOptionsDto & Record<string, unknown>;
1800
+ /**
1801
+ * Unique sortable ID used to group and sort messages
1802
+ */
1803
+ messageId?: string;
1804
+ /**
1805
+ * Unique sortable ID used to sort chunks from the same messageId
1806
+ */
1807
+ chunkId?: string;
1808
+ /**
1809
+ * Specify if it is a welcome message
1810
+ */
1811
+ isWelcome?: boolean;
1812
+ };
1813
+ type ButtonDto = {
1814
+ /**
1815
+ * Button value
1816
+ */
1817
+ value: string;
1818
+ id?: string;
1819
+ /**
1820
+ * Button label
1821
+ */
1822
+ label?: string;
1823
+ /**
1824
+ * Provide a description for the button
1825
+ */
1826
+ description?: string;
1827
+ classes?: Array<string>;
1828
+ options?: UIContentOptionsDto;
1829
+ };
1830
+ type ButtonsContentDto = {
1831
+ label: string;
1832
+ list: Array<ButtonDto>;
1833
+ };
1834
+ type ButtonsUIContentDto = {
1835
+ appId: string;
1836
+ /**
1837
+ * Reference to the authenticated client the request originated from
1838
+ */
1839
+ clientId?: string;
1840
+ /**
1841
+ * Request identifier for monitoring purposes
1842
+ */
1843
+ requestId?: string;
1844
+ /**
1845
+ * Reference to the user interacting with the system
1846
+ */
1847
+ userId?: string;
1848
+ /**
1849
+ * Reference date
1850
+ */
1851
+ ts?: string;
1852
+ /**
1853
+ * Track the interaction session, if available
1854
+ */
1855
+ sessionId?: string;
1856
+ contentType: SupportedContentTypes;
1857
+ content: ButtonsContentDto;
1858
+ /**
1859
+ * Provide a description for the content
1860
+ */
1861
+ description?: string;
1862
+ /**
1863
+ * Provides metadata for the content
1864
+ */
1865
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1866
+ /**
1867
+ * Provides configuration options for the content
1868
+ */
1869
+ options?: UIContentOptionsDto & Record<string, unknown>;
1870
+ /**
1871
+ * Unique sortable ID used to group and sort messages
1872
+ */
1873
+ messageId?: string;
1874
+ /**
1875
+ * Unique sortable ID used to sort chunks from the same messageId
1876
+ */
1877
+ chunkId?: string;
1878
+ /**
1879
+ * Specify if it is a welcome message
1880
+ */
1881
+ isWelcome?: boolean;
1882
+ };
1883
+ type DialogueMessageUIContentDto = {
1884
+ appId: string;
1885
+ /**
1886
+ * Reference to the authenticated client the request originated from
1887
+ */
1888
+ clientId?: string;
1889
+ /**
1890
+ * Request identifier for monitoring purposes
1891
+ */
1892
+ requestId?: string;
1893
+ /**
1894
+ * Reference to the user interacting with the system
1895
+ */
1896
+ userId?: string;
1897
+ /**
1898
+ * Reference date
1899
+ */
1900
+ ts?: string;
1901
+ /**
1902
+ * Track the interaction session, if available
1903
+ */
1904
+ sessionId?: string;
1905
+ contentType: SupportedContentTypes;
1906
+ content: DialogueMessageDto;
1907
+ /**
1908
+ * Provide a description for the content
1909
+ */
1910
+ description?: string;
1911
+ /**
1912
+ * Provides metadata for the content
1913
+ */
1914
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1915
+ /**
1916
+ * Provides configuration options for the content
1917
+ */
1918
+ options?: UIContentOptionsDto & Record<string, unknown>;
1919
+ /**
1920
+ * Unique sortable ID used to group and sort messages
1921
+ */
1922
+ messageId?: string;
1923
+ /**
1924
+ * Unique sortable ID used to sort chunks from the same messageId
1925
+ */
1926
+ chunkId?: string;
1927
+ /**
1928
+ * Specify if it is a welcome message
1929
+ */
1930
+ isWelcome?: boolean;
1931
+ };
1932
+ type LinkContentDto = {
1933
+ url: string;
1934
+ label: string;
1935
+ };
1936
+ type LinkUIContentDto = {
1937
+ appId: string;
1938
+ /**
1939
+ * Reference to the authenticated client the request originated from
1940
+ */
1941
+ clientId?: string;
1942
+ /**
1943
+ * Request identifier for monitoring purposes
1944
+ */
1945
+ requestId?: string;
1946
+ /**
1947
+ * Reference to the user interacting with the system
1948
+ */
1949
+ userId?: string;
1950
+ /**
1951
+ * Reference date
1952
+ */
1953
+ ts?: string;
1954
+ /**
1955
+ * Track the interaction session, if available
1956
+ */
1957
+ sessionId?: string;
1958
+ contentType: SupportedContentTypes;
1959
+ content: LinkContentDto;
1960
+ /**
1961
+ * Provide a description for the content
1962
+ */
1963
+ description?: string;
1964
+ /**
1965
+ * Provides metadata for the content
1966
+ */
1967
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1968
+ /**
1969
+ * Provides configuration options for the content
1970
+ */
1971
+ options?: UIContentOptionsDto & Record<string, unknown>;
1972
+ /**
1973
+ * Unique sortable ID used to group and sort messages
1974
+ */
1975
+ messageId?: string;
1976
+ /**
1977
+ * Unique sortable ID used to sort chunks from the same messageId
1978
+ */
1979
+ chunkId?: string;
1980
+ /**
1981
+ * Specify if it is a welcome message
1982
+ */
1983
+ isWelcome?: boolean;
1984
+ };
1985
+ type HtmlContentDto = {
1986
+ html: string;
1987
+ };
1988
+ type HtmlUIContentDto = {
1989
+ appId: string;
1990
+ /**
1991
+ * Reference to the authenticated client the request originated from
1992
+ */
1993
+ clientId?: string;
1994
+ /**
1995
+ * Request identifier for monitoring purposes
1996
+ */
1997
+ requestId?: string;
1998
+ /**
1999
+ * Reference to the user interacting with the system
2000
+ */
2001
+ userId?: string;
2002
+ /**
2003
+ * Reference date
2004
+ */
2005
+ ts?: string;
2006
+ /**
2007
+ * Track the interaction session, if available
2008
+ */
2009
+ sessionId?: string;
2010
+ contentType: SupportedContentTypes;
2011
+ content: HtmlContentDto;
2012
+ /**
2013
+ * Provide a description for the content
2014
+ */
2015
+ description?: string;
2016
+ /**
2017
+ * Provides metadata for the content
2018
+ */
2019
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
2020
+ /**
2021
+ * Provides configuration options for the content
2022
+ */
2023
+ options?: UIContentOptionsDto & Record<string, unknown>;
2024
+ /**
2025
+ * Unique sortable ID used to group and sort messages
2026
+ */
2027
+ messageId?: string;
2028
+ /**
2029
+ * Unique sortable ID used to sort chunks from the same messageId
2030
+ */
2031
+ chunkId?: string;
2032
+ /**
2033
+ * Specify if it is a welcome message
2034
+ */
2035
+ isWelcome?: boolean;
2036
+ };
2037
+ type EmailContentDto = {
2038
+ email: string;
2039
+ label: string;
2040
+ };
2041
+ type EmailUIContentDto = {
2042
+ appId: string;
2043
+ /**
2044
+ * Reference to the authenticated client the request originated from
2045
+ */
2046
+ clientId?: string;
2047
+ /**
2048
+ * Request identifier for monitoring purposes
2049
+ */
2050
+ requestId?: string;
2051
+ /**
2052
+ * Reference to the user interacting with the system
2053
+ */
2054
+ userId?: string;
2055
+ /**
2056
+ * Reference date
2057
+ */
2058
+ ts?: string;
2059
+ /**
2060
+ * Track the interaction session, if available
2061
+ */
2062
+ sessionId?: string;
2063
+ contentType: SupportedContentTypes;
2064
+ content: EmailContentDto;
2065
+ /**
2066
+ * Provide a description for the content
2067
+ */
2068
+ description?: string;
2069
+ /**
2070
+ * Provides metadata for the content
2071
+ */
2072
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
2073
+ /**
2074
+ * Provides configuration options for the content
2075
+ */
2076
+ options?: UIContentOptionsDto & Record<string, unknown>;
2077
+ /**
2078
+ * Unique sortable ID used to group and sort messages
2079
+ */
2080
+ messageId?: string;
2081
+ /**
2082
+ * Unique sortable ID used to sort chunks from the same messageId
2083
+ */
2084
+ chunkId?: string;
2085
+ /**
2086
+ * Specify if it is a welcome message
2087
+ */
2088
+ isWelcome?: boolean;
2089
+ };
2090
+ type SupportedAudioTypes = 'mp3' | 'wav' | 'ogg';
2091
+ declare const SupportedAudioTypesEnum: {
2092
+ readonly MP3: "mp3";
2093
+ readonly WAV: "wav";
2094
+ readonly OGG: "ogg";
2095
+ };
2096
+ type BackgroundAudioDto = {
2097
+ src: string;
2098
+ type: SupportedAudioTypes;
2099
+ };
2100
+ type BackgroundUIAudioDto = {
2101
+ appId: string;
2102
+ /**
2103
+ * Reference to the authenticated client the request originated from
2104
+ */
2105
+ clientId?: string;
2106
+ /**
2107
+ * Request identifier for monitoring purposes
2108
+ */
2109
+ requestId?: string;
2110
+ /**
2111
+ * Reference to the user interacting with the system
2112
+ */
2113
+ userId?: string;
2114
+ /**
2115
+ * Reference date
2116
+ */
2117
+ ts?: string;
2118
+ /**
2119
+ * Track the interaction session, if available
2120
+ */
2121
+ sessionId?: string;
2122
+ contentType: SupportedContentTypes;
2123
+ content: BackgroundAudioDto;
2124
+ /**
2125
+ * Provide a description for the content
2126
+ */
2127
+ description?: string;
2128
+ /**
2129
+ * Provides metadata for the content
2130
+ */
2131
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
2132
+ /**
2133
+ * Provides configuration options for the content
2134
+ */
2135
+ options?: UIContentOptionsDto & Record<string, unknown>;
2136
+ /**
2137
+ * Unique sortable ID used to group and sort messages
2138
+ */
2139
+ messageId?: string;
2140
+ /**
2141
+ * Unique sortable ID used to sort chunks from the same messageId
2142
+ */
2143
+ chunkId?: string;
2144
+ /**
2145
+ * Specify if it is a welcome message
2146
+ */
2147
+ isWelcome?: boolean;
2148
+ };
2149
+ type UiInteractionButtonDto = {
2150
+ context: Record<string, unknown>;
2151
+ element: string;
2152
+ value: string;
2153
+ };
2154
+ type NavigationMenuItemDto = {
2155
+ label: string;
2156
+ id: string;
2157
+ url?: string;
2158
+ group?: string;
2159
+ selected?: boolean;
2160
+ items?: Array<NavigationMenuItemDto>;
2161
+ };
2162
+ type NavigationMenuContentDto = {
2163
+ items: Array<NavigationMenuItemDto>;
2164
+ };
2165
+ type NavigationMenuUIContentDto = {
2166
+ appId: string;
2167
+ /**
2168
+ * Reference to the authenticated client the request originated from
2169
+ */
2170
+ clientId?: string;
2171
+ /**
2172
+ * Request identifier for monitoring purposes
2173
+ */
2174
+ requestId?: string;
2175
+ /**
2176
+ * Reference to the user interacting with the system
2177
+ */
2178
+ userId?: string;
2179
+ /**
2180
+ * Reference date
2181
+ */
2182
+ ts?: string;
2183
+ /**
2184
+ * Track the interaction session, if available
2185
+ */
2186
+ sessionId?: string;
2187
+ contentType: SupportedContentTypes;
2188
+ content: NavigationMenuContentDto;
2189
+ /**
2190
+ * Provide a description for the content
2191
+ */
2192
+ description?: string;
2193
+ /**
2194
+ * Provides metadata for the content
2195
+ */
2196
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
2197
+ /**
2198
+ * Provides configuration options for the content
2199
+ */
2200
+ options?: UIContentOptionsDto & Record<string, unknown>;
2201
+ /**
2202
+ * Unique sortable ID used to group and sort messages
2203
+ */
2204
+ messageId?: string;
2205
+ /**
2206
+ * Unique sortable ID used to sort chunks from the same messageId
2207
+ */
2208
+ chunkId?: string;
2209
+ /**
2210
+ * Specify if it is a welcome message
2211
+ */
2212
+ isWelcome?: boolean;
2213
+ };
2214
+ type UIInteractionDTO = {
2215
+ context: Record<string, unknown>;
2216
+ element: string;
2217
+ value: string;
2218
+ };
2219
+ type UIContentDto = {
2220
+ appId: string;
2221
+ /**
2222
+ * Reference to the authenticated client the request originated from
2223
+ */
2224
+ clientId?: string;
2225
+ /**
2226
+ * Request identifier for monitoring purposes
2227
+ */
2228
+ requestId?: string;
2229
+ /**
2230
+ * Reference to the user interacting with the system
2231
+ */
2232
+ userId?: string;
2233
+ /**
2234
+ * Reference date
2235
+ */
2236
+ ts?: string;
2237
+ /**
2238
+ * Track the interaction session, if available
2239
+ */
2240
+ sessionId?: string;
2241
+ contentType: SupportedContentTypes;
2242
+ content: Record<string, unknown>;
2243
+ /**
2244
+ * Provide a description for the content
2245
+ */
2246
+ description?: string;
2247
+ /**
2248
+ * Provides metadata for the content
2249
+ */
2250
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
2251
+ /**
2252
+ * Provides configuration options for the content
2253
+ */
2254
+ options?: UIContentOptionsDto & Record<string, unknown>;
2255
+ /**
2256
+ * Unique sortable ID used to group and sort messages
2257
+ */
2258
+ messageId?: string;
2259
+ /**
2260
+ * Unique sortable ID used to sort chunks from the same messageId
2261
+ */
2262
+ chunkId?: string;
2263
+ /**
2264
+ * Specify if it is a welcome message
2265
+ */
2266
+ isWelcome?: boolean;
2267
+ };
2268
+ type QrCodePayloadDto = {
2269
+ version: number;
2270
+ data: string;
2271
+ };
2272
+ type QrCodeDto = {
2273
+ imageDataUrl: string;
2274
+ };
2275
+ type UIModelMapBlendShapesRequestDto = {
2276
+ blendShapes: Array<string>;
2277
+ };
2278
+ type UIModelMapBlendShapesResponseDto = {
2279
+ blendShapes: Record<string, unknown>;
2280
+ };
2281
+ type UIAssetDto = {
2282
+ id: string;
2283
+ type: RepositoryAssetTypes;
2284
+ name?: string;
2285
+ path: string;
2286
+ metadata?: RepositoryAssetMetadataDto;
2287
+ filename?: string;
2288
+ appId: string;
2289
+ userId?: string;
2290
+ ts?: string;
2291
+ };
2292
+ type Buffer$1 = {};
2293
+ type SessionSearchFilter = {
2294
+ /**
2295
+ * Query filter
2296
+ */
2297
+ query?: Record<string, unknown>;
2298
+ /**
2299
+ * results limit
2300
+ */
2301
+ limit?: number;
2302
+ /**
2303
+ * results to skip from beginning
2304
+ */
2305
+ skip?: number;
2306
+ /**
2307
+ * result sorting
2308
+ */
2309
+ sort?: Record<string, unknown>;
2310
+ };
2311
+ type SessionProperties = {
2312
+ /**
2313
+ * Reference to the current tool repository
2314
+ */
2315
+ repositoryId?: string;
2316
+ };
2317
+ type SessionDto = {
2318
+ appId: string;
2319
+ /**
2320
+ * Reference to the authenticated client the request originated from
2321
+ */
2322
+ clientId?: string;
2323
+ /**
2324
+ * Request identifier for monitoring purposes
2325
+ */
2326
+ requestId?: string;
2327
+ /**
2328
+ * Reference to the user interacting with the system
2329
+ */
2330
+ userId?: string;
2331
+ /**
2332
+ * Reference date
2333
+ */
2334
+ ts?: string;
2335
+ sessionId?: string;
2336
+ /**
2337
+ * Agent instance associated to the session
2338
+ */
2339
+ agentId?: string;
2340
+ /**
2341
+ * Collect inferred identifiers of user interacting with the agent during a session.
2342
+ */
2343
+ user?: Array<string>;
2344
+ modifiedAt: string;
2345
+ createdAt: string;
2346
+ closedAt: string;
2347
+ settings?: AppSettingsDto;
2348
+ properties?: SessionProperties;
2349
+ };
2350
+ type SessionSupportRequestDto = {
2351
+ appId: string;
2352
+ /**
2353
+ * Reference to the authenticated client the request originated from
2354
+ */
2355
+ clientId?: string;
2356
+ /**
2357
+ * Request identifier for monitoring purposes
2358
+ */
2359
+ requestId?: string;
2360
+ /**
2361
+ * Reference to the user interacting with the system
2362
+ */
2363
+ userId?: string;
2364
+ /**
2365
+ * Reference date
2366
+ */
2367
+ ts?: string;
2368
+ sessionId: string;
2369
+ code: string;
2370
+ message: string;
2371
+ };
2372
+ type SessionSupportResponseDto = {
2373
+ appId: string;
2374
+ /**
2375
+ * Reference to the authenticated client the request originated from
2376
+ */
2377
+ clientId?: string;
2378
+ /**
2379
+ * Request identifier for monitoring purposes
2380
+ */
2381
+ requestId?: string;
2382
+ /**
2383
+ * Reference to the user interacting with the system
2384
+ */
2385
+ userId?: string;
2386
+ /**
2387
+ * Reference date
2388
+ */
2389
+ ts?: string;
2390
+ supportId: string;
2391
+ };
2392
+ type SessionStorageRecordDto = {
2393
+ appId: string;
2394
+ /**
2395
+ * Reference to the authenticated client the request originated from
2396
+ */
2397
+ clientId?: string;
2398
+ /**
2399
+ * Request identifier for monitoring purposes
2400
+ */
2401
+ requestId?: string;
2402
+ /**
2403
+ * Reference to the user interacting with the system
2404
+ */
2405
+ userId?: string;
2406
+ /**
2407
+ * Reference date
2408
+ */
2409
+ ts?: string;
2410
+ storageId?: string;
2411
+ sessionId?: string;
2412
+ data: Record<string, unknown>;
2413
+ };
2414
+ type SessionStorageSearchDto = {
2415
+ appId: string;
2416
+ userId?: Array<string>;
2417
+ sessionId?: Array<string>;
2418
+ storageId?: Array<string>;
2419
+ };
2420
+ type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
2421
+ declare const AgentStatusEnum: {
2422
+ readonly UNAVAILABLE: "unavailable";
2423
+ readonly ERROR: "error";
2424
+ readonly NOT_READY: "not_ready";
2425
+ readonly READY: "ready";
2426
+ readonly LOADING: "loading";
2427
+ readonly INTERACTING: "interacting";
2428
+ readonly WAITING: "waiting";
2429
+ readonly PROCESSING: "processing";
2430
+ };
2431
+ type AgentHeartBeatEventDto = {
2432
+ appId: string;
2433
+ /**
2434
+ * Reference to the authenticated client the request originated from
2435
+ */
2436
+ clientId?: string;
2437
+ /**
2438
+ * Request identifier for monitoring purposes
2439
+ */
2440
+ requestId?: string;
2441
+ /**
2442
+ * Reference to the user interacting with the system
2443
+ */
2444
+ userId?: string;
2445
+ /**
2446
+ * Reference date
2447
+ */
2448
+ ts?: string;
2449
+ /**
2450
+ * Track the interaction session, if available
2451
+ */
2452
+ sessionId?: string;
2453
+ agentId?: string;
2454
+ moduleId: string;
2455
+ status: AgentStatus;
2456
+ settings?: AppSettingsDto;
2457
+ };
2458
+ type AgentEvaluatePromptOptionsDto = {
2459
+ /**
2460
+ * Include chat history
2461
+ */
2462
+ history?: boolean;
2463
+ /**
2464
+ * Include contents from documents
2465
+ */
2466
+ documents?: boolean;
2467
+ /**
2468
+ * Include application prompt
2469
+ */
2470
+ app?: boolean;
2471
+ /**
2472
+ * Use specified avatar characterization prompt
2473
+ */
2474
+ avatar?: string;
2475
+ /**
2476
+ * Provide response as JSON
2477
+ */
2478
+ json?: boolean;
2479
+ /**
2480
+ * Response language
2481
+ */
2482
+ language?: string;
2483
+ };
2484
+ /**
2485
+ * LLM provider
2486
+ */
2487
+ type LLMProvider = 'openai';
2488
+ declare const LLMProviderEnum: {
2489
+ readonly OPENAI: "openai";
2490
+ };
2491
+ type AgentEvaluatePromptDto = {
2492
+ appId: string;
2493
+ /**
2494
+ * Reference to the authenticated client the request originated from
2495
+ */
2496
+ clientId?: string;
2497
+ /**
2498
+ * Request identifier for monitoring purposes
2499
+ */
2500
+ requestId?: string;
2501
+ /**
2502
+ * Reference to the user interacting with the system
2503
+ */
2504
+ userId?: string;
2505
+ /**
2506
+ * Reference date
2507
+ */
2508
+ ts?: string;
2509
+ /**
2510
+ * Id of the session
2511
+ */
2512
+ sessionId: string;
2513
+ /**
2514
+ * Prompt to evaluate
2515
+ */
2516
+ prompt: string;
2517
+ /**
2518
+ * Prompt options
2519
+ */
2520
+ options?: AgentEvaluatePromptOptionsDto;
2521
+ /**
2522
+ * LLM provider
2523
+ */
2524
+ provider?: LLMProvider;
2525
+ /**
2526
+ * LLM provider model name
2527
+ */
2528
+ model?: string;
2529
+ };
2530
+ /**
2531
+ * Response format (text,string)
2532
+ */
2533
+ type AgentEvaluatePromptFormat = 'text' | 'string';
2534
+ declare const AgentEvaluatePromptFormatEnum: {
2535
+ readonly TEXT: "text";
2536
+ readonly STRING: "string";
2537
+ };
2538
+ type AgentEvaluatePromptResponseDto = {
2539
+ /**
2540
+ * Result of the call
2541
+ */
2542
+ result: string;
2543
+ /**
2544
+ * Response format (text,string)
2545
+ */
2546
+ format: AgentEvaluatePromptFormat;
2547
+ };
2548
+ type LogType = 'characterization' | 'stt' | 'tts' | 'interaction' | 'session' | 'document' | 'chat' | 'task' | 'performance' | 'kpi' | 'error' | 'llm' | 'log';
2549
+ declare const LogTypeEnum: {
2550
+ readonly CHARACTERIZATION: "characterization";
2551
+ readonly STT: "stt";
2552
+ readonly TTS: "tts";
2553
+ readonly INTERACTION: "interaction";
2554
+ readonly SESSION: "session";
2555
+ readonly DOCUMENT: "document";
2556
+ readonly CHAT: "chat";
2557
+ readonly TASK: "task";
2558
+ readonly PERFORMANCE: "performance";
2559
+ readonly KPI: "kpi";
2560
+ readonly ERROR: "error";
2561
+ readonly LLM: "llm";
2562
+ readonly LOG: "log";
2563
+ };
2564
+ type DatasetRecordDto = {
2565
+ appId: string;
2566
+ sessionId: string;
2567
+ type?: LogType;
2568
+ label: string;
2569
+ ts: string;
2570
+ data: Record<string, unknown>;
2571
+ };
2572
+ type DatasetRecordFilterDto = {
2573
+ appId: string;
2574
+ /**
2575
+ * Reference to the authenticated client the request originated from
2576
+ */
2577
+ clientId?: string;
2578
+ /**
2579
+ * Request identifier for monitoring purposes
2580
+ */
2581
+ requestId?: string;
2582
+ /**
2583
+ * Reference to the user interacting with the system
2584
+ */
2585
+ userId?: string;
2586
+ /**
2587
+ * Reference date
2588
+ */
2589
+ ts?: string;
2590
+ /**
2591
+ * Track the interaction session, if available
2592
+ */
2593
+ sessionId: string;
2594
+ types?: Array<LogType>;
2595
+ };
2596
+ type MonitoringRecordDto = {
2597
+ appId: string;
2598
+ sessionId: string;
2599
+ type?: LogType;
2600
+ label: string;
2601
+ ts: string;
2602
+ };
2603
+ type AdvancedDatasetRecordFilterDto = {
2604
+ appId?: string;
2605
+ sessionId?: string;
2606
+ type?: LogType;
2607
+ label?: string;
2608
+ sinceTs?: string;
2609
+ untilTs?: string;
2610
+ };
2611
+ type XRMarkerListRequestDto = {
2612
+ appId: string;
2613
+ /**
2614
+ * List of marker ID to search for
2615
+ */
2616
+ markerId?: Array<string>;
2617
+ /**
2618
+ * List of uri to search for
2619
+ */
2620
+ payload?: Array<string>;
2621
+ tags?: Array<string>;
2622
+ };
2623
+ type XRMarkerDto = {
2624
+ appId: string;
2625
+ /**
2626
+ * Reference to the authenticated client the request originated from
2627
+ */
2628
+ clientId?: string;
2629
+ /**
2630
+ * Request identifier for monitoring purposes
2631
+ */
2632
+ requestId?: string;
2633
+ /**
2634
+ * Reference to the user interacting with the system
2635
+ */
2636
+ userId?: string;
2637
+ /**
2638
+ * Reference date
2639
+ */
2640
+ ts?: string;
2641
+ /**
2642
+ * ID of the marker
2643
+ */
2644
+ markerId?: string;
2645
+ /**
2646
+ * Payload as decoded from the marker QR code
2647
+ */
2648
+ payload: string;
2649
+ /**
2650
+ * A list of tags for the marker
2651
+ */
2652
+ tags?: Array<string>;
2653
+ };
2654
+ type XROcclusionResponseDto = {
2655
+ appId: string;
2656
+ /**
2657
+ * Reference to the authenticated client the request originated from
2658
+ */
2659
+ clientId?: string;
2660
+ /**
2661
+ * Request identifier for monitoring purposes
2662
+ */
2663
+ requestId?: string;
2664
+ /**
2665
+ * Reference to the user interacting with the system
2666
+ */
2667
+ userId?: string;
2668
+ /**
2669
+ * Reference date
2670
+ */
2671
+ ts?: string;
2672
+ occlusion: boolean;
2673
+ };
2674
+ type PositionDto = {
2675
+ x: number;
2676
+ y: number;
2677
+ z: number;
2678
+ };
2679
+ type OrientationDto = {
2680
+ x: number;
2681
+ y: number;
2682
+ z: number;
2683
+ w: number;
2684
+ };
2685
+ type PoseDto = {
2686
+ position: PositionDto;
2687
+ orientation: OrientationDto;
2688
+ };
2689
+ type MovementDto = {
2690
+ targetPosition: PoseDto;
2691
+ personId: string;
2692
+ path: Array<string>;
2693
+ };
2694
+ type MovementEventDto = {
2695
+ appId: string;
2696
+ /**
2697
+ * Reference to the authenticated client the request originated from
2698
+ */
2699
+ clientId?: string;
2700
+ /**
2701
+ * Request identifier for monitoring purposes
2702
+ */
2703
+ requestId?: string;
2704
+ /**
2705
+ * Reference to the user interacting with the system
2706
+ */
2707
+ userId?: string;
2708
+ /**
2709
+ * Reference date
2710
+ */
2711
+ ts?: string;
2712
+ movement: MovementDto;
2713
+ };
2714
+ type SermasBaseDto = {
2715
+ appId: string;
2716
+ /**
2717
+ * Reference to the authenticated client the request originated from
2718
+ */
2719
+ clientId?: string;
2720
+ /**
2721
+ * Request identifier for monitoring purposes
2722
+ */
2723
+ requestId?: string;
2724
+ /**
2725
+ * Reference to the user interacting with the system
2726
+ */
2727
+ userId?: string;
2728
+ /**
2729
+ * Reference date
2730
+ */
2731
+ ts?: string;
2732
+ };
2733
+ type ActuationDto = {
2734
+ payload: Record<string, unknown>;
2735
+ };
2736
+ type ActuationEventDto = {
2737
+ appId: string;
2738
+ /**
2739
+ * Reference to the authenticated client the request originated from
2740
+ */
2741
+ clientId?: string;
2742
+ /**
2743
+ * Request identifier for monitoring purposes
2744
+ */
2745
+ requestId?: string;
2746
+ /**
2747
+ * Reference to the user interacting with the system
2748
+ */
2749
+ userId?: string;
2750
+ /**
2751
+ * Reference date
2752
+ */
2753
+ ts?: string;
2754
+ actuations: Array<ActuationDto>;
2755
+ };
2756
+ type LinearVelocityDto = {};
2757
+ type VelocityDto = {
2758
+ linear: LinearVelocityDto;
2759
+ angular: LinearVelocityDto;
2760
+ };
2761
+ type StatusDto = {
2762
+ actualPosition: PoseDto;
2763
+ velocity: VelocityDto;
2764
+ };
2765
+ type StatusEventDto = {
2766
+ appId: string;
2767
+ /**
2768
+ * Reference to the authenticated client the request originated from
2769
+ */
2770
+ clientId?: string;
2771
+ /**
2772
+ * Request identifier for monitoring purposes
2773
+ */
2774
+ requestId?: string;
2775
+ /**
2776
+ * Reference to the user interacting with the system
2777
+ */
2778
+ userId?: string;
2779
+ /**
2780
+ * Reference date
2781
+ */
2782
+ ts?: string;
2783
+ status: StatusDto;
2784
+ robotId: string;
2785
+ };
2786
+ type SpaceOptionsDto = {};
2787
+ type NavigationSpaceDto = {
2788
+ spaceId: string;
2789
+ name: string;
2790
+ description: string;
2791
+ group: string;
2792
+ appId: string;
2793
+ origin: PoseDto;
2794
+ options: SpaceOptionsDto;
2795
+ /**
2796
+ * Reference to a map image as background reference
2797
+ */
2798
+ map: string;
2799
+ areas: Array<string>;
2800
+ };
2801
+
2802
+ type TDataRoboticsAgentControllerMoveToArea$1 = {
2803
+ appId: string;
2804
+ room: string;
2805
+ };
2806
+ type TDataRoboticsAgentControllerStatusDescription$1 = {
2807
+ appId: string;
2808
+ robotId: string;
2809
+ };
2810
+ type TDataRoboticsAgentControllerMove$1 = {
2811
+ requestBody: MovementEventDto;
2812
+ };
2813
+ type TDataRoboticsAgentControllerInitialPose$1 = {
2814
+ requestBody: SermasBaseDto;
2815
+ };
2816
+ type TDataRoboticsAgentControllerActuate$1 = {
2817
+ requestBody: ActuationEventDto;
2818
+ };
2819
+ type TDataRoboticsAgentControllerStatus$1 = {
2820
+ requestBody: StatusEventDto;
2821
+ };
2822
+ declare class AgentService {
2823
+ readonly httpRequest: BaseHttpRequest;
2824
+ constructor(httpRequest: BaseHttpRequest);
2825
+ /**
2826
+ * move the robot to a specified coordinates. Based on the parameter coordinates, move the robot to that coordinates.
2827
+ * @returns any
2828
+ * @throws ApiError
2829
+ */
2830
+ roboticsAgentControllerMoveToArea(data: TDataRoboticsAgentControllerMoveToArea$1): CancelablePromise<any>;
2831
+ /**
2832
+ * get the status of the robot
2833
+ * @returns any
2834
+ * @throws ApiError
2835
+ */
2836
+ roboticsAgentControllerStatusDescription(data: TDataRoboticsAgentControllerStatusDescription$1): CancelablePromise<any>;
2837
+ /**
2838
+ * relocate the robot
2839
+ * @returns any
2840
+ * @throws ApiError
2841
+ */
2842
+ roboticsAgentControllerMove(data: TDataRoboticsAgentControllerMove$1): CancelablePromise<any>;
2843
+ /**
2844
+ * set initial pose of the robot
2845
+ * @returns any
2846
+ * @throws ApiError
2847
+ */
2848
+ roboticsAgentControllerInitialPose(data: TDataRoboticsAgentControllerInitialPose$1): CancelablePromise<any>;
2849
+ /**
2850
+ * execute an action on the robot
2851
+ * @returns any
2852
+ * @throws ApiError
2853
+ */
2854
+ roboticsAgentControllerActuate(data: TDataRoboticsAgentControllerActuate$1): CancelablePromise<any>;
2855
+ /**
2856
+ * get the status of the robot
2857
+ * @returns any
2858
+ * @throws ApiError
2859
+ */
2860
+ roboticsAgentControllerStatus(data: TDataRoboticsAgentControllerStatus$1): CancelablePromise<any>;
2861
+ }
2862
+
2863
+ type TDataLogin = {
2864
+ requestBody: LoginRequestDto;
2865
+ };
2866
+ type TDataRegister = {
2867
+ requestBody: RegistrationRequestDto;
2868
+ };
2869
+ type TDataRefreshToken = {
2870
+ requestBody: RefreshTokenRequestDto;
2871
+ };
2872
+ type TDataEdit = {
2873
+ requestBody: UpdateUserRequestDto;
2874
+ userId: string;
2875
+ };
2876
+ type TDataDelete = {
2877
+ userId: string;
2878
+ };
2879
+ type TDataSaveUser = {
2880
+ requestBody: RegistrationRequestDto;
2881
+ };
2882
+ type TDataImportUsers = {
2883
+ requestBody: Array<RegistrationRequestDto>;
2884
+ };
2885
+ declare class AuthenticationService {
2886
+ readonly httpRequest: BaseHttpRequest;
2887
+ constructor(httpRequest: BaseHttpRequest);
2888
+ /**
2889
+ * @returns AuthJwtUser
2890
+ * @throws ApiError
2891
+ */
2892
+ whoami(): CancelablePromise<AuthJwtUser>;
2893
+ /**
2894
+ * @returns LoginResponseDto Login user
2895
+ * @throws ApiError
2896
+ */
2897
+ login(data: TDataLogin): CancelablePromise<LoginResponseDto>;
2898
+ /**
2899
+ * @returns RegistrationResponseDto Register a new user
2900
+ * @throws ApiError
2901
+ */
2902
+ register(data: TDataRegister): CancelablePromise<RegistrationResponseDto>;
2903
+ /**
2904
+ * @returns LoginResponseDto Refresh token
2905
+ * @throws ApiError
2906
+ */
2907
+ refreshToken(data: TDataRefreshToken): CancelablePromise<LoginResponseDto>;
2908
+ /**
2909
+ * @returns any Updates user data
2910
+ * @throws ApiError
2911
+ */
2912
+ edit(data: TDataEdit): CancelablePromise<any>;
2913
+ /**
2914
+ * @returns any Deletes a user and all of its resources
2915
+ * @throws ApiError
2916
+ */
2917
+ delete(data: TDataDelete): CancelablePromise<any>;
2918
+ /**
2919
+ * create or update an user
2920
+ * @returns any
2921
+ * @throws ApiError
2922
+ */
2923
+ saveUser(data: TDataSaveUser): CancelablePromise<any>;
2924
+ /**
2925
+ * import users
2926
+ * @returns RegistrationResponseDto
2927
+ * @throws ApiError
2928
+ */
2929
+ importUsers(data: TDataImportUsers): CancelablePromise<Array<RegistrationResponseDto>>;
2930
+ }
2931
+
2932
+ type TDataObjectDetection = {
2933
+ requestBody: ObjectDetectionRequest;
2934
+ };
2935
+ type TDataDetectionControllerSentimentAnalysis = {
2936
+ requestBody: SentimentAnalysisRequest;
2937
+ };
2938
+ type TDataDetectionControllerInteractionIntention = {
2939
+ requestBody: UserInteractionIntentionDto;
2940
+ };
2941
+ type TDataDetectionControllerSendFrame = {
2942
+ appId: string;
2943
+ cameraId: string;
2944
+ formData: {
2945
+ file?: Blob | File;
2946
+ };
2947
+ };
2948
+ type TDataDetectionControllerServe = {
2949
+ appId: string;
2950
+ cameraId: string;
2951
+ overlay: string;
2952
+ };
2953
+ declare class DetectionService {
2954
+ readonly httpRequest: BaseHttpRequest;
2955
+ constructor(httpRequest: BaseHttpRequest);
2956
+ /**
2957
+ * @returns any
2958
+ * @throws ApiError
2959
+ */
2960
+ objectDetection(data: TDataObjectDetection): CancelablePromise<any>;
2961
+ /**
2962
+ * @returns any
2963
+ * @throws ApiError
2964
+ */
2965
+ detectionControllerSentimentAnalysis(data: TDataDetectionControllerSentimentAnalysis): CancelablePromise<any>;
2966
+ /**
2967
+ * @returns any
2968
+ * @throws ApiError
2969
+ */
2970
+ detectionControllerInteractionIntention(data: TDataDetectionControllerInteractionIntention): CancelablePromise<any>;
2971
+ /**
2972
+ * @returns any
2973
+ * @throws ApiError
2974
+ */
2975
+ detectionControllerSendFrame(data: TDataDetectionControllerSendFrame): CancelablePromise<any>;
2976
+ /**
2977
+ * @returns any
2978
+ * @throws ApiError
2979
+ */
2980
+ detectionControllerServe(data: TDataDetectionControllerServe): CancelablePromise<any>;
2981
+ }
2982
+
2983
+ type TDataSave = {
2984
+ requestBody: DialogueDocumentDto;
2985
+ };
2986
+ type TDataImport = {
2987
+ /**
2988
+ * Documents list
2989
+ */
2990
+ requestBody: Array<DialogueDocumentDto>;
2991
+ };
2992
+ type TDataRemoveAll = {
2993
+ appId: string;
2994
+ };
2995
+ type TDataRemove = {
2996
+ appId: string;
2997
+ documentId: Array<string>;
2998
+ };
2999
+ type TDataSpeak = {
3000
+ requestBody: DialogueTextToSpeechDto;
3001
+ };
3002
+ type TDataText = {
3003
+ appId: string;
3004
+ formData: DialogueMessageDto & {
3005
+ file?: Blob | File;
3006
+ };
3007
+ sampleRate: number;
3008
+ sessionId: string;
3009
+ };
3010
+ type TDataChatMessage = {
3011
+ appId: string;
3012
+ requestBody: DialogueMessageDto;
3013
+ sessionId: string;
3014
+ };
3015
+ type TDataStopAgentSpeech = {
3016
+ appId: string;
3017
+ chunkId: string;
3018
+ sessionId: string;
3019
+ };
3020
+ type TDataGetChatHistory = {
3021
+ sessionId: string;
3022
+ };
3023
+ type TDataNextStep = {
3024
+ requestBody: DialogueTaskRecordDto;
3025
+ };
3026
+ type TDataSetTools = {
3027
+ repositoryId: string;
3028
+ requestBody: DialogueToolsRepositoryDto;
3029
+ };
3030
+ type TDataAddTools = {
3031
+ repositoryId: string;
3032
+ requestBody: DialogueToolsRepositoryDto;
3033
+ };
3034
+ type TDataRemoveRepository = {
3035
+ repositoryId: string;
3036
+ };
3037
+ declare class DialogueService {
3038
+ readonly httpRequest: BaseHttpRequest;
3039
+ constructor(httpRequest: BaseHttpRequest);
3040
+ /**
3041
+ * @returns DialogueDocumentDto Saved document
3042
+ * @throws ApiError
3043
+ */
3044
+ save(data: TDataSave): CancelablePromise<DialogueDocumentDto>;
3045
+ /**
3046
+ * Import RAG documents
3047
+ * @returns DialogueDocumentDto
3048
+ * @throws ApiError
3049
+ */
3050
+ import(data: TDataImport): CancelablePromise<Array<DialogueDocumentDto>>;
3051
+ /**
3052
+ * Remove all RAG documents
3053
+ * @returns any
3054
+ * @throws ApiError
3055
+ */
3056
+ removeAll(data: TDataRemoveAll): CancelablePromise<any>;
3057
+ /**
3058
+ * Remove RAG documents
3059
+ * @returns any
3060
+ * @throws ApiError
3061
+ */
3062
+ remove(data: TDataRemove): CancelablePromise<any>;
3063
+ /**
3064
+ * Converts a text to voice as mp3
3065
+ * @returns any
3066
+ * @throws ApiError
3067
+ */
3068
+ speak(data: TDataSpeak): CancelablePromise<any>;
3069
+ /**
3070
+ * @returns any
3071
+ * @throws ApiError
3072
+ */
3073
+ text(data: TDataText): CancelablePromise<any>;
3074
+ /**
3075
+ * @returns any
3076
+ * @throws ApiError
3077
+ */
3078
+ chatMessage(data: TDataChatMessage): CancelablePromise<any>;
3079
+ /**
3080
+ * @returns any
3081
+ * @throws ApiError
3082
+ */
3083
+ stopAgentSpeech(data: TDataStopAgentSpeech): CancelablePromise<any>;
3084
+ /**
3085
+ * @returns any
3086
+ * @throws ApiError
3087
+ */
3088
+ listModels(): CancelablePromise<any>;
3089
+ /**
3090
+ * Get a session chat history
3091
+ * @returns DialogueMemoryMessageDto
3092
+ * @throws ApiError
3093
+ */
3094
+ getChatHistory(data: TDataGetChatHistory): CancelablePromise<Array<DialogueMemoryMessageDto>>;
3095
+ /**
3096
+ * Set the tools, overriding existing ones
3097
+ * @returns any
3098
+ * @throws ApiError
3099
+ */
3100
+ nextStep(data: TDataNextStep): CancelablePromise<any>;
3101
+ /**
3102
+ * Save tools, overwriting existing ones.
3103
+ * @returns any
3104
+ * @throws ApiError
3105
+ */
3106
+ setTools(data: TDataSetTools): CancelablePromise<any>;
3107
+ /**
3108
+ * Add tools to the session. Existing with the same name will be overridden.
3109
+ * @returns any
3110
+ * @throws ApiError
3111
+ */
3112
+ addTools(data: TDataAddTools): CancelablePromise<any>;
3113
+ /**
3114
+ * Remove a set of tools
3115
+ * @returns any
3116
+ * @throws ApiError
3117
+ */
3118
+ removeRepository(data: TDataRemoveRepository): CancelablePromise<any>;
3119
+ }
3120
+
3121
+ type TDataGetClientAccessToken = {
3122
+ requestBody: AccessTokenRequestDto;
3123
+ };
3124
+ type TDataGetClientAccessToken1 = {
3125
+ requestBody: AccessTokenRequestDto;
3126
+ };
3127
+ type TDataGetClientRefreshToken = {
3128
+ requestBody: PlatformRefreshTokenRequestDto;
3129
+ };
3130
+ type TDataGetClientRefreshToken1 = {
3131
+ requestBody: PlatformRefreshTokenRequestDto;
3132
+ };
3133
+ type TDataCreateApp = {
3134
+ requestBody: CreatePlatformAppDto;
3135
+ };
3136
+ type TDataUpdateApp = {
3137
+ requestBody: PlatformAppDto;
3138
+ };
3139
+ type TDataUpdateAppTools = {
3140
+ appId: string;
3141
+ requestBody: Array<AppToolsDTO>;
3142
+ };
3143
+ type TDataUpdateAppSettings = {
3144
+ appId: string;
3145
+ requestBody: Array<AppSettingsDto>;
3146
+ };
3147
+ type TDataGetAppRepository = {
3148
+ appId: string;
3149
+ };
3150
+ type TDataGetAppRepositoryRobots = {
3151
+ appId: string;
3152
+ name: string;
3153
+ };
3154
+ type TDataGetAppRepositoryAvatars = {
3155
+ appId: string;
3156
+ name: string;
3157
+ };
3158
+ type TDataGetAppRepositoryBackgrounds = {
3159
+ appId: string;
3160
+ name: string;
3161
+ };
3162
+ type TDataReadApp = {
3163
+ appId: string;
3164
+ };
3165
+ type TDataRemoveApp = {
3166
+ appId: string;
3167
+ };
3168
+ type TDataImportApps = {
3169
+ requestBody: Array<PlatformAppDto>;
3170
+ skipClients: string;
3171
+ };
3172
+ type TDataExportApps = {
3173
+ requestBody: PlatformAppExportFilterDto;
3174
+ };
3175
+ type TDataRemoveApps = {
3176
+ requestBody: PlatformAppExportFilterDto;
3177
+ };
3178
+ type TDataCreateClient = {
3179
+ appId: string;
3180
+ requestBody: AppClientDto;
3181
+ };
3182
+ type TDataReadClient = {
3183
+ appId: string;
3184
+ clientId: string;
3185
+ };
3186
+ type TDataRemoveClient = {
3187
+ appId: string;
3188
+ clientId: string;
3189
+ };
3190
+ type TDataListTopics = {
3191
+ appId: string;
3192
+ clientId: string;
3193
+ };
3194
+ type TDataSaveAppModule = {
3195
+ appId: string;
3196
+ requestBody: AppModuleConfigDto;
3197
+ };
3198
+ type TDataGetAppModule = {
3199
+ appId: string;
3200
+ moduleId: string;
3201
+ };
3202
+ type TDataRemoveAppModule = {
3203
+ appId: string;
3204
+ moduleId: string;
3205
+ };
3206
+ type TDataSavePlatformModule = {
3207
+ requestBody: PlatformModuleConfigDto;
3208
+ };
3209
+ type TDataRefreshPlatformModule = {
3210
+ moduleId: string;
3211
+ };
3212
+ type TDataGetPlatformModule = {
3213
+ moduleId: string;
3214
+ };
3215
+ type TDataRemovePlatformModule = {
3216
+ moduleId: string;
3217
+ };
3218
+ type TDataMonitoringAdd = {
3219
+ requestBody: DatasetRecordDto;
3220
+ };
3221
+ type TDataMonitoringSearch = {
3222
+ requestBody: DatasetRecordFilterDto;
3223
+ };
3224
+ type TDataMonitoringAdvancedSearch = {
3225
+ requestBody: AdvancedDatasetRecordFilterDto;
3226
+ };
3227
+ declare class PlatformService {
3228
+ readonly httpRequest: BaseHttpRequest;
3229
+ constructor(httpRequest: BaseHttpRequest);
3230
+ /**
3231
+ * @returns PlatformSettingsDto
3232
+ * @throws ApiError
3233
+ */
3234
+ getUserSettings(): CancelablePromise<PlatformSettingsDto>;
3235
+ /**
3236
+ * @returns PlatformSettingsDto
3237
+ * @throws ApiError
3238
+ */
3239
+ getSettings(): CancelablePromise<PlatformSettingsDto>;
3240
+ /**
3241
+ * @returns JwtTokenDto Request an access token for an app
3242
+ * @throws ApiError
3243
+ */
3244
+ getClientAccessToken(data: TDataGetClientAccessToken): CancelablePromise<JwtTokenDto>;
3245
+ /**
3246
+ * @returns JwtTokenDto Request an access token for an app
3247
+ * @throws ApiError
3248
+ */
3249
+ getClientAccessToken1(data: TDataGetClientAccessToken1): CancelablePromise<JwtTokenDto>;
3250
+ /**
3251
+ * @returns JwtTokenDto Request a refresh access token for an app
3252
+ * @throws ApiError
3253
+ */
3254
+ getClientRefreshToken(data: TDataGetClientRefreshToken): CancelablePromise<JwtTokenDto>;
3255
+ /**
3256
+ * @returns JwtTokenDto Request a refresh access token for an app
3257
+ * @throws ApiError
3258
+ */
3259
+ getClientRefreshToken1(data: TDataGetClientRefreshToken1): CancelablePromise<JwtTokenDto>;
3260
+ /**
3261
+ * retrieve app repository defaults
3262
+ * @returns RepositoryConfigDto
3263
+ * @throws ApiError
3264
+ */
3265
+ getRepositoryDefaults(): CancelablePromise<RepositoryConfigDto>;
3266
+ /**
3267
+ * @returns PlatformAppDto
3268
+ * @throws ApiError
3269
+ */
3270
+ platformAppControllerListApps(): CancelablePromise<Array<PlatformAppDto>>;
3271
+ /**
3272
+ * @returns PlatformAppDto
3273
+ * @throws ApiError
3274
+ */
3275
+ createApp(data: TDataCreateApp): CancelablePromise<PlatformAppDto>;
3276
+ /**
3277
+ * @returns PlatformAppDto
3278
+ * @throws ApiError
3279
+ */
3280
+ updateApp(data: TDataUpdateApp): CancelablePromise<PlatformAppDto>;
3281
+ /**
3282
+ * @returns PlatformAppDto
3283
+ * @throws ApiError
3284
+ */
3285
+ listUserApps(): CancelablePromise<Array<PlatformAppDto>>;
3286
+ /**
3287
+ * @returns any
3288
+ * @throws ApiError
3289
+ */
3290
+ updateAppTools(data: TDataUpdateAppTools): CancelablePromise<any>;
3291
+ /**
3292
+ * @returns any
3293
+ * @throws ApiError
3294
+ */
3295
+ updateAppSettings(data: TDataUpdateAppSettings): CancelablePromise<any>;
3296
+ /**
3297
+ * @returns RepositoryConfigDto
3298
+ * @throws ApiError
3299
+ */
3300
+ getAppRepository(data: TDataGetAppRepository): CancelablePromise<RepositoryConfigDto>;
3301
+ /**
3302
+ * @returns RepositoryRobotModelDto
3303
+ * @throws ApiError
3304
+ */
3305
+ getAppRepositoryRobots(data: TDataGetAppRepositoryRobots): CancelablePromise<RepositoryRobotModelDto>;
3306
+ /**
3307
+ * @returns RepositoryAvatarDto
3308
+ * @throws ApiError
3309
+ */
3310
+ getAppRepositoryAvatars(data: TDataGetAppRepositoryAvatars): CancelablePromise<RepositoryAvatarDto>;
3311
+ /**
3312
+ * @returns RepositoryConfigDto
3313
+ * @throws ApiError
3314
+ */
3315
+ getAppRepositoryBackgrounds(data: TDataGetAppRepositoryBackgrounds): CancelablePromise<RepositoryConfigDto>;
3316
+ /**
3317
+ * @returns PlatformAppDto
3318
+ * @throws ApiError
3319
+ */
3320
+ readApp(data: TDataReadApp): CancelablePromise<PlatformAppDto>;
3321
+ /**
3322
+ * @returns any
3323
+ * @throws ApiError
3324
+ */
3325
+ removeApp(data: TDataRemoveApp): CancelablePromise<any>;
3326
+ /**
3327
+ * Batch import of applications
3328
+ * @returns PlatformAppDto
3329
+ * @throws ApiError
3330
+ */
3331
+ importApps(data: TDataImportApps): CancelablePromise<Array<PlatformAppDto>>;
3332
+ /**
3333
+ * Batch export applications
3334
+ * @returns PlatformAppDto
3335
+ * @throws ApiError
3336
+ */
3337
+ exportApps(data: TDataExportApps): CancelablePromise<Array<PlatformAppDto>>;
3338
+ /**
3339
+ * Remove applications
3340
+ * @returns any
3341
+ * @throws ApiError
3342
+ */
3343
+ removeApps(data: TDataRemoveApps): CancelablePromise<any>;
3344
+ /**
3345
+ * @returns AppClientDto
3346
+ * @throws ApiError
3347
+ */
3348
+ createClient(data: TDataCreateClient): CancelablePromise<AppClientDto>;
3349
+ /**
3350
+ * @returns AppClientDto
3351
+ * @throws ApiError
3352
+ */
3353
+ readClient(data: TDataReadClient): CancelablePromise<AppClientDto>;
3354
+ /**
3355
+ * @returns any
3356
+ * @throws ApiError
3357
+ */
3358
+ removeClient(data: TDataRemoveClient): CancelablePromise<any>;
3359
+ /**
3360
+ * @returns string
3361
+ * @throws ApiError
3362
+ */
3363
+ listTopics(data: TDataListTopics): CancelablePromise<Array<string>>;
3364
+ /**
3365
+ * Create or update an app module
3366
+ * @returns any
3367
+ * @throws ApiError
3368
+ */
3369
+ saveAppModule(data: TDataSaveAppModule): CancelablePromise<any>;
3370
+ /**
3371
+ * Retrieve an app module
3372
+ * @returns any
3373
+ * @throws ApiError
3374
+ */
3375
+ getAppModule(data: TDataGetAppModule): CancelablePromise<any>;
3376
+ /**
3377
+ * Remove an app module
3378
+ * @returns any
3379
+ * @throws ApiError
3380
+ */
3381
+ removeAppModule(data: TDataRemoveAppModule): CancelablePromise<any>;
3382
+ /**
3383
+ * Create or update an app module
3384
+ * @returns any
3385
+ * @throws ApiError
3386
+ */
3387
+ savePlatformModule(data: TDataSavePlatformModule): CancelablePromise<any>;
3388
+ /**
3389
+ * reload app module specs
3390
+ * @returns any
3391
+ * @throws ApiError
3392
+ */
3393
+ refreshPlatformModule(data: TDataRefreshPlatformModule): CancelablePromise<any>;
3394
+ /**
3395
+ * Retrieve an app module
3396
+ * @returns any
3397
+ * @throws ApiError
3398
+ */
3399
+ getPlatformModule(data: TDataGetPlatformModule): CancelablePromise<any>;
3400
+ /**
3401
+ * Remove an app module
3402
+ * @returns any
3403
+ * @throws ApiError
3404
+ */
3405
+ removePlatformModule(data: TDataRemovePlatformModule): CancelablePromise<any>;
3406
+ /**
3407
+ * @returns any
3408
+ * @throws ApiError
3409
+ */
3410
+ monitoringAdd(data: TDataMonitoringAdd): CancelablePromise<any>;
3411
+ /**
3412
+ * @returns MonitoringRecordDto
3413
+ * @throws ApiError
3414
+ */
3415
+ monitoringSearch(data: TDataMonitoringSearch): CancelablePromise<Array<MonitoringRecordDto>>;
3416
+ /**
3417
+ * @returns MonitoringRecordDto
3418
+ * @throws ApiError
3419
+ */
3420
+ monitoringAdvancedSearch(data: TDataMonitoringAdvancedSearch): CancelablePromise<Array<MonitoringRecordDto>>;
3421
+ }
3422
+
3423
+ type TDataPlatformModuleProxyControllerTriggerGet = {
3424
+ moduleId: string;
3425
+ operationId: string;
3426
+ };
3427
+ type TDataPlatformModuleProxyControllerTriggerPost = {
3428
+ moduleId: string;
3429
+ operationId: string;
3430
+ };
3431
+ type TDataPlatformModuleProxyControllerTriggerPut = {
3432
+ moduleId: string;
3433
+ operationId: string;
3434
+ };
3435
+ type TDataPlatformModuleProxyControllerTriggerDelete = {
3436
+ moduleId: string;
3437
+ operationId: string;
3438
+ };
3439
+ type TDataPlatformModuleProxyControllerTriggerPatch = {
3440
+ moduleId: string;
3441
+ operationId: string;
3442
+ };
3443
+ type TDataPlatformModuleProxyControllerTriggerOptions = {
3444
+ moduleId: string;
3445
+ operationId: string;
3446
+ };
3447
+ type TDataPlatformModuleProxyControllerTriggerHead = {
3448
+ moduleId: string;
3449
+ operationId: string;
3450
+ };
3451
+ declare class PlatformModuleProxyService {
3452
+ readonly httpRequest: BaseHttpRequest;
3453
+ constructor(httpRequest: BaseHttpRequest);
3454
+ /**
3455
+ * @returns any
3456
+ * @throws ApiError
3457
+ */
3458
+ platformModuleProxyControllerTriggerGet(data: TDataPlatformModuleProxyControllerTriggerGet): CancelablePromise<any>;
3459
+ /**
3460
+ * @returns any
3461
+ * @throws ApiError
3462
+ */
3463
+ platformModuleProxyControllerTriggerPost(data: TDataPlatformModuleProxyControllerTriggerPost): CancelablePromise<any>;
3464
+ /**
3465
+ * @returns any
3466
+ * @throws ApiError
3467
+ */
3468
+ platformModuleProxyControllerTriggerPut(data: TDataPlatformModuleProxyControllerTriggerPut): CancelablePromise<any>;
3469
+ /**
3470
+ * @returns any
3471
+ * @throws ApiError
3472
+ */
3473
+ platformModuleProxyControllerTriggerDelete(data: TDataPlatformModuleProxyControllerTriggerDelete): CancelablePromise<any>;
3474
+ /**
3475
+ * @returns any
3476
+ * @throws ApiError
3477
+ */
3478
+ platformModuleProxyControllerTriggerPatch(data: TDataPlatformModuleProxyControllerTriggerPatch): CancelablePromise<any>;
3479
+ /**
3480
+ * @returns any
3481
+ * @throws ApiError
3482
+ */
3483
+ platformModuleProxyControllerTriggerOptions(data: TDataPlatformModuleProxyControllerTriggerOptions): CancelablePromise<any>;
3484
+ /**
3485
+ * @returns any
3486
+ * @throws ApiError
3487
+ */
3488
+ platformModuleProxyControllerTriggerHead(data: TDataPlatformModuleProxyControllerTriggerHead): CancelablePromise<any>;
3489
+ }
3490
+
3491
+ type TDataRoboticsAgentControllerMoveToArea = {
3492
+ appId: string;
3493
+ room: string;
3494
+ };
3495
+ type TDataRoboticsAgentControllerStatusDescription = {
3496
+ appId: string;
3497
+ robotId: string;
3498
+ };
3499
+ type TDataRoboticsAgentControllerMove = {
3500
+ requestBody: MovementEventDto;
3501
+ };
3502
+ type TDataRoboticsAgentControllerInitialPose = {
3503
+ requestBody: SermasBaseDto;
3504
+ };
3505
+ type TDataRoboticsAgentControllerActuate = {
3506
+ requestBody: ActuationEventDto;
3507
+ };
3508
+ type TDataRoboticsAgentControllerStatus = {
3509
+ requestBody: StatusEventDto;
3510
+ };
3511
+ type TDataNavigationControllerSave = {
3512
+ appId: string;
3513
+ requestBody: NavigationSpaceDto;
3514
+ };
3515
+ type TDataNavigationControllerRemove = {
3516
+ appId: string;
3517
+ spaceId: string;
3518
+ };
3519
+ type TDataNavigationControllerGetById = {
3520
+ appId: string;
3521
+ spaceId: string;
3522
+ };
3523
+ type TDataNavigationControllerGetStatus = {
3524
+ appId: string;
3525
+ robotId: string;
3526
+ };
3527
+ declare class RoboticsService {
3528
+ readonly httpRequest: BaseHttpRequest;
3529
+ constructor(httpRequest: BaseHttpRequest);
3530
+ /**
3531
+ * move the robot to a specified coordinates. Based on the parameter coordinates, move the robot to that coordinates.
3532
+ * @returns any
3533
+ * @throws ApiError
3534
+ */
3535
+ roboticsAgentControllerMoveToArea(data: TDataRoboticsAgentControllerMoveToArea): CancelablePromise<any>;
3536
+ /**
3537
+ * get the status of the robot
3538
+ * @returns any
3539
+ * @throws ApiError
3540
+ */
3541
+ roboticsAgentControllerStatusDescription(data: TDataRoboticsAgentControllerStatusDescription): CancelablePromise<any>;
3542
+ /**
3543
+ * relocate the robot
3544
+ * @returns any
3545
+ * @throws ApiError
3546
+ */
3547
+ roboticsAgentControllerMove(data: TDataRoboticsAgentControllerMove): CancelablePromise<any>;
3548
+ /**
3549
+ * set initial pose of the robot
3550
+ * @returns any
3551
+ * @throws ApiError
3552
+ */
3553
+ roboticsAgentControllerInitialPose(data: TDataRoboticsAgentControllerInitialPose): CancelablePromise<any>;
3554
+ /**
3555
+ * execute an action on the robot
3556
+ * @returns any
3557
+ * @throws ApiError
3558
+ */
3559
+ roboticsAgentControllerActuate(data: TDataRoboticsAgentControllerActuate): CancelablePromise<any>;
3560
+ /**
3561
+ * get the status of the robot
3562
+ * @returns any
3563
+ * @throws ApiError
3564
+ */
3565
+ roboticsAgentControllerStatus(data: TDataRoboticsAgentControllerStatus): CancelablePromise<any>;
3566
+ /**
3567
+ * @returns any
3568
+ * @throws ApiError
3569
+ */
3570
+ navigationControllerSave(data: TDataNavigationControllerSave): CancelablePromise<any>;
3571
+ /**
3572
+ * @returns any
3573
+ * @throws ApiError
3574
+ */
3575
+ navigationControllerRemove(data: TDataNavigationControllerRemove): CancelablePromise<any>;
3576
+ /**
3577
+ * @returns any
3578
+ * @throws ApiError
3579
+ */
3580
+ navigationControllerGetById(data: TDataNavigationControllerGetById): CancelablePromise<any>;
3581
+ /**
3582
+ * @returns any
3583
+ * @throws ApiError
3584
+ */
3585
+ navigationControllerGetStatus(data: TDataNavigationControllerGetStatus): CancelablePromise<any>;
3586
+ }
3587
+
3588
+ type TDataGetUserSession = {
3589
+ appId: string;
3590
+ };
3591
+ type TDataSearch = {
3592
+ appId: string;
3593
+ requestBody: SessionSearchFilter;
3594
+ };
3595
+ type TDataReadSession = {
3596
+ sessionId: string;
3597
+ };
3598
+ type TDataDeleteSession = {
3599
+ sessionId: string;
3600
+ };
3601
+ type TDataCreateSession = {
3602
+ requestBody: SessionDto;
3603
+ };
3604
+ type TDataUpdateSession = {
3605
+ requestBody: SessionDto;
3606
+ };
3607
+ type TDataSupport = {
3608
+ requestBody: SessionSupportRequestDto;
3609
+ };
3610
+ type TDataSetRecord = {
3611
+ requestBody: SessionStorageRecordDto;
3612
+ };
3613
+ type TDataFindRecords = {
3614
+ requestBody: SessionStorageSearchDto;
3615
+ };
3616
+ type TDataGetRecord = {
3617
+ storageId: string;
3618
+ };
3619
+ type TDataDeleteRecord = {
3620
+ storageId: string;
3621
+ };
3622
+ type TDataAgentUpdate = {
3623
+ requestBody: AgentHeartBeatEventDto;
3624
+ };
3625
+ type TDataPrompt = {
3626
+ requestBody: AgentEvaluatePromptDto;
3627
+ };
3628
+ declare class SessionService {
3629
+ readonly httpRequest: BaseHttpRequest;
3630
+ constructor(httpRequest: BaseHttpRequest);
3631
+ /**
3632
+ * Load current user session
3633
+ * @returns any
3634
+ * @throws ApiError
3635
+ */
3636
+ getUserSession(data: TDataGetUserSession): CancelablePromise<any>;
3637
+ /**
3638
+ * List recent sessions
3639
+ * @returns SessionDto
3640
+ * @throws ApiError
3641
+ */
3642
+ search(data: TDataSearch): CancelablePromise<Array<SessionDto>>;
3643
+ /**
3644
+ * Load a session
3645
+ * @returns any
3646
+ * @throws ApiError
3647
+ */
3648
+ readSession(data: TDataReadSession): CancelablePromise<any>;
3649
+ /**
3650
+ * Remove session
3651
+ * @returns any
3652
+ * @throws ApiError
3653
+ */
3654
+ deleteSession(data: TDataDeleteSession): CancelablePromise<any>;
3655
+ /**
3656
+ * Create session
3657
+ * @returns any
3658
+ * @throws ApiError
3659
+ */
3660
+ createSession(data: TDataCreateSession): CancelablePromise<any>;
3661
+ /**
3662
+ * Update session
3663
+ * @returns any
3664
+ * @throws ApiError
3665
+ */
3666
+ updateSession(data: TDataUpdateSession): CancelablePromise<any>;
3667
+ /**
3668
+ * Request support from human
3669
+ * @returns SessionSupportResponseDto Human support requested
3670
+ * @throws ApiError
3671
+ */
3672
+ support(data: TDataSupport): CancelablePromise<SessionSupportResponseDto>;
3673
+ /**
3674
+ * Store user data
3675
+ * @returns SessionStorageRecordDto Record stored
3676
+ * @throws ApiError
3677
+ */
3678
+ setRecord(data: TDataSetRecord): CancelablePromise<SessionStorageRecordDto>;
3679
+ /**
3680
+ * Store user data
3681
+ * @returns SessionStorageRecordDto Record stored
3682
+ * @throws ApiError
3683
+ */
3684
+ findRecords(data: TDataFindRecords): CancelablePromise<Array<SessionStorageRecordDto>>;
3685
+ /**
3686
+ * Retrieve stored data
3687
+ * @returns SessionStorageRecordDto Record retrieved
3688
+ * @throws ApiError
3689
+ */
3690
+ getRecord(data: TDataGetRecord): CancelablePromise<SessionStorageRecordDto>;
3691
+ /**
3692
+ * Delete a record
3693
+ * @returns any Record deleted
3694
+ * @throws ApiError
3695
+ */
3696
+ deleteRecord(data: TDataDeleteRecord): CancelablePromise<any>;
3697
+ /**
3698
+ * Notifies of an agent update
3699
+ * @returns any
3700
+ * @throws ApiError
3701
+ */
3702
+ agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
3703
+ /**
3704
+ * Evaluate a prompt within the session context
3705
+ * @returns AgentEvaluatePromptResponseDto
3706
+ * @throws ApiError
3707
+ */
3708
+ prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
3709
+ }
3710
+
3711
+ type TDataNotifyInteraction = {
3712
+ appId: string;
3713
+ moduleId: string;
3714
+ requestBody: UIInteractionDTO;
3715
+ };
3716
+ type TDataShowContent = {
3717
+ requestBody: UIContentDto;
3718
+ };
3719
+ type TDataGenerateQrCode = {
3720
+ requestBody: QrCodePayloadDto;
3721
+ };
3722
+ type TDataUiModelControllerMapBlendShapes = {
3723
+ requestBody: UIModelMapBlendShapesRequestDto;
3724
+ };
3725
+ type TDataGetAsset = {
3726
+ appId: string;
3727
+ assetId: string;
3728
+ type: string;
3729
+ };
3730
+ type TDataSaveAsset = {
3731
+ formData: UIAssetDto & {
3732
+ file?: Blob | File;
3733
+ };
3734
+ };
3735
+ type TDataAdminSaveAsset = {
3736
+ formData: UIAssetDto & {
3737
+ file?: Blob | File;
3738
+ };
3739
+ };
3740
+ declare class UiService {
3741
+ readonly httpRequest: BaseHttpRequest;
3742
+ constructor(httpRequest: BaseHttpRequest);
3743
+ /**
3744
+ * Trigger a UI interaction
3745
+ * @returns any
3746
+ * @throws ApiError
3747
+ */
3748
+ notifyInteraction(data: TDataNotifyInteraction): CancelablePromise<any>;
3749
+ /**
3750
+ * Show content
3751
+ * @returns UIContentDto Content to show
3752
+ * @throws ApiError
3753
+ */
3754
+ showContent(data: TDataShowContent): CancelablePromise<UIContentDto>;
3755
+ /**
3756
+ * Generate a QR code
3757
+ * @returns QrCodeDto
3758
+ * @throws ApiError
3759
+ */
3760
+ generateQrCode(data: TDataGenerateQrCode): CancelablePromise<QrCodeDto>;
3761
+ /**
3762
+ * Tries to map model blend shapes by name similarity
3763
+ * @returns UIModelMapBlendShapesResponseDto Map model blend shapes
3764
+ * @throws ApiError
3765
+ */
3766
+ uiModelControllerMapBlendShapes(data: TDataUiModelControllerMapBlendShapes): CancelablePromise<UIModelMapBlendShapesResponseDto>;
3767
+ /**
3768
+ * Retrieve an asset
3769
+ * @returns Buffer Asset content
3770
+ * @throws ApiError
3771
+ */
3772
+ getAsset(data: TDataGetAsset): CancelablePromise<Buffer$1>;
3773
+ /**
3774
+ * Retrieve an asset
3775
+ * @returns any
3776
+ * @throws ApiError
3777
+ */
3778
+ saveAsset(data: TDataSaveAsset): CancelablePromise<any>;
3779
+ /**
3780
+ * @returns any
3781
+ * @throws ApiError
3782
+ */
3783
+ adminSaveAsset(data: TDataAdminSaveAsset): CancelablePromise<any>;
3784
+ }
3785
+
3786
+ declare class UiPrivacyService {
3787
+ readonly httpRequest: BaseHttpRequest;
3788
+ constructor(httpRequest: BaseHttpRequest);
3789
+ /**
3790
+ * @returns any
3791
+ * @throws ApiError
3792
+ */
3793
+ uiPrivacyControllerUpdatePrivacyPolicy(): CancelablePromise<any>;
3794
+ }
3795
+
3796
+ type TDataXrMarkerControllerSearchMarker = {
3797
+ requestBody: XRMarkerListRequestDto;
3798
+ };
3799
+ type TDataXrMarkerControllerSaveMarker = {
3800
+ requestBody: XRMarkerDto;
3801
+ };
3802
+ type TDataXrMarkerControllerDeleteMarker = {
3803
+ markerId: string;
3804
+ };
3805
+ type TDataXrMarkerControllerGetMarkerQrCode = {
3806
+ markerId: string;
3807
+ };
3808
+ declare class XrService {
3809
+ readonly httpRequest: BaseHttpRequest;
3810
+ constructor(httpRequest: BaseHttpRequest);
3811
+ /**
3812
+ * List available markers
3813
+ * @returns XRMarkerDto Marker created or updated
3814
+ * @throws ApiError
3815
+ */
3816
+ xrMarkerControllerSearchMarker(data: TDataXrMarkerControllerSearchMarker): CancelablePromise<Array<XRMarkerDto>>;
3817
+ /**
3818
+ * Save a marker
3819
+ * @returns XRMarkerDto Marker saved
3820
+ * @throws ApiError
3821
+ */
3822
+ xrMarkerControllerSaveMarker(data: TDataXrMarkerControllerSaveMarker): CancelablePromise<XRMarkerDto>;
3823
+ /**
3824
+ * Delete a marker
3825
+ * @returns XRMarkerDto Marker deleted
3826
+ * @throws ApiError
3827
+ */
3828
+ xrMarkerControllerDeleteMarker(data: TDataXrMarkerControllerDeleteMarker): CancelablePromise<XRMarkerDto>;
3829
+ /**
3830
+ * Get the marker QR code as image (jpeg)
3831
+ * @returns binary Marker retrieved
3832
+ * @throws ApiError
3833
+ */
3834
+ xrMarkerControllerGetMarkerQrCode(data: TDataXrMarkerControllerGetMarkerQrCode): CancelablePromise<Blob | File>;
3835
+ /**
3836
+ * Indicate if a 3D asset model is occluded by a physical obstacle.
3837
+ * @returns XROcclusionResponseDto Got information about 3D model
3838
+ * @throws ApiError
3839
+ */
3840
+ xrOcclusionControllerOcclusion(): CancelablePromise<XROcclusionResponseDto>;
3841
+ }
3842
+
3843
+ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
3844
+ declare class SermasApi {
3845
+ readonly agent: AgentService;
3846
+ readonly authentication: AuthenticationService;
3847
+ readonly detection: DetectionService;
3848
+ readonly dialogue: DialogueService;
3849
+ readonly platform: PlatformService;
3850
+ readonly platformModuleProxy: PlatformModuleProxyService;
3851
+ readonly robotics: RoboticsService;
3852
+ readonly session: SessionService;
3853
+ readonly ui: UiService;
3854
+ readonly uiPrivacy: UiPrivacyService;
3855
+ readonly xr: XrService;
3856
+ readonly request: BaseHttpRequest;
3857
+ constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
3858
+ }
3859
+
3860
+ declare class Broker {
3861
+ private readonly config;
3862
+ private readonly logger;
3863
+ private client?;
3864
+ private subscriptions;
3865
+ constructor(config: {
3866
+ url: string;
3867
+ username?: string;
3868
+ password: string;
3869
+ params: Record<string, any>;
3870
+ });
3871
+ reconnect(): Promise<void>;
3872
+ disconnect(): Promise<void>;
3873
+ setParams(params: Record<string, any>): void;
3874
+ setToken(token: string): void;
3875
+ getClient(): mqtt.MqttClient;
3876
+ connect(): void;
3877
+ parseTopic(topic: string): {
3878
+ type: string;
3879
+ appId: string;
3880
+ resource: string;
3881
+ scope: string;
3882
+ context: string[];
3883
+ };
3884
+ subscribe<T>(topic: string, callback: (ev: T) => void, params?: Record<string, any>): () => any;
3885
+ publish<T>(topic: string, ev: T | Buffer, params?: Record<string, string>): Promise<boolean>;
3886
+ replaceTopicParams(topic: string, params?: Record<string, any>): string;
3887
+ }
3888
+
3889
+ interface ModuleConfigEventDto {
3890
+ operation: string;
3891
+ ts: string;
3892
+ record: PlatformModuleConfigDto;
3893
+ }
3894
+ interface PlatformAppChangedDto {
3895
+ appId: string;
3896
+ clientId?: string;
3897
+ requestId?: string;
3898
+ userId?: string;
3899
+ ts?: string;
3900
+ operation: string;
3901
+ sessionId?: string;
3902
+ record: PlatformAppDto;
3903
+ }
3904
+ type anonymous_schema_46 = 'avatars' | 'backgrounds' | 'robots' | 'documents' | 'animations';
3905
+ type anonymous_schema_49 = 'readyplayerme' | 'custom';
3906
+ type anonymous_schema_50 = 'M' | 'F';
3907
+ type anonymous_schema_59 = 'avatars' | 'backgrounds' | 'robots' | 'documents' | 'animations';
3908
+ type anonymous_schema_65 = 'avatars' | 'backgrounds' | 'robots' | 'documents' | 'animations';
3909
+ type anonymous_schema_76 = 'avatars' | 'backgrounds' | 'robots' | 'documents' | 'animations';
3910
+ type anonymous_schema_81 = 'avatars' | 'backgrounds' | 'robots' | 'documents' | 'animations';
3911
+ interface anonymous_schema_97 {
3912
+ chat?: string;
3913
+ tools?: string;
3914
+ sentiment?: string;
3915
+ tasks?: string;
3916
+ intent?: string;
3917
+ translation?: string;
3918
+ }
3919
+ interface anonymous_schema_105 {
3920
+ text: string;
3921
+ }
3922
+ type anonymous_schema_108 = 'on-load' | 'touch' | 'speak' | 'intent-detection';
3923
+ type anonymous_schema_120 = 'string' | 'number' | 'boolean' | 'object';
3924
+ interface anonymous_schema_127 {
3925
+ auth?: string;
3926
+ basic?: anonymous_schema_129;
3927
+ bearer?: anonymous_schema_132;
3928
+ moduleId: string;
3929
+ url: string;
3930
+ headers?: Record<string, any>;
3931
+ }
3932
+ interface anonymous_schema_129 {
3933
+ username?: string;
3934
+ password: string;
3935
+ }
3936
+ interface anonymous_schema_132 {
3937
+ clientType?: string;
3938
+ clientId?: string;
3939
+ clientSecret?: string;
3940
+ username?: string;
3941
+ password?: string;
3942
+ audience?: string;
3943
+ tokenUrl: string;
3944
+ refreshUrl?: string;
3945
+ }
3946
+ interface anonymous_schema_144 {
3947
+ contentType: string;
3948
+ content: Record<string, any>;
3949
+ description?: string;
3950
+ options?: Record<string, any>;
3951
+ }
3952
+ type anonymous_schema_164 = 'started' | 'completed' | 'ongoing' | 'aborted';
3953
+ interface anonymous_schema_177 {
3954
+ clearScreen?: boolean;
3955
+ ttsEnabled?: boolean;
3956
+ stopSpeech?: boolean;
3957
+ language?: string;
3958
+ }
3959
+ type anonymous_schema_183 = 'text' | 'boolean' | 'date' | 'select' | 'eval' | 'external';
3960
+ interface anonymous_schema_195 {
3961
+ triggerOnce?: boolean;
3962
+ removeRecord?: boolean;
3963
+ enableTool?: boolean;
3964
+ toolOptions?: anonymous_schema_199;
3965
+ repositoryId?: string;
3966
+ list?: boolean;
3967
+ oncePerSession?: boolean;
3968
+ matchOrRemove?: boolean;
3969
+ }
3970
+ interface anonymous_schema_199 {
3971
+ triggerOnce?: boolean;
3972
+ exclusive?: boolean;
3973
+ }
3974
+ interface PlatformAppClientChangedDto {
3975
+ appId: string;
3976
+ clientId?: string;
3977
+ requestId?: string;
3978
+ userId?: string;
3979
+ ts?: string;
3980
+ operation: string;
3981
+ sessionId?: string;
3982
+ record: AppClientDto;
3983
+ }
3984
+ interface UpdateUserEventDto {
3985
+ appId: string;
3986
+ clientId?: string;
3987
+ requestId?: string;
3988
+ userId: string;
3989
+ ts?: string;
3990
+ enabled: boolean;
3991
+ }
3992
+ interface UserDetectionEventDto {
3993
+ appId: string;
3994
+ clientId?: string;
3995
+ requestId?: string;
3996
+ userId?: string;
3997
+ ts?: string;
3998
+ cameraId: string;
3999
+ source: string;
4000
+ detections: UserDetectionDto[];
4001
+ }
4002
+ interface UserDetectionDto {
4003
+ skeleton: string[];
4004
+ face: BoundingBox;
4005
+ faceMask: string[];
4006
+ fullBody: BoundingBox;
4007
+ user: StringInferenceValue[];
4008
+ position: PositionDto;
4009
+ }
4010
+ interface BoundingBox {
4011
+ x: number;
4012
+ y: number;
4013
+ w: number;
4014
+ h: number;
4015
+ }
4016
+ interface StringInferenceValue {
4017
+ probability: number;
4018
+ value: string;
4019
+ }
4020
+ type anonymous_schema_249 = 'start' | 'stop';
4021
+ interface UserCharacterizationEventDto {
4022
+ appId: string;
4023
+ clientId?: string;
4024
+ requestId?: string;
4025
+ userId?: string;
4026
+ ts?: string;
4027
+ source: string;
4028
+ detections: UserCharacterizationDto[];
4029
+ sessionId?: string;
4030
+ }
4031
+ interface UserCharacterizationDto {
4032
+ emotion: UserEmotionValue;
4033
+ age?: UserAgeValue;
4034
+ user?: StringInferenceValue[];
4035
+ }
4036
+ interface UserEmotionValue {
4037
+ probability: number;
4038
+ value: string;
4039
+ }
4040
+ interface UserAgeValue {
4041
+ probability: number;
4042
+ value: number;
4043
+ }
4044
+ interface AudioClassificationEventDto {
4045
+ appId: string;
4046
+ clientId?: string;
4047
+ requestId?: string;
4048
+ userId?: string;
4049
+ ts?: string;
4050
+ source: string;
4051
+ detections: AudioClassificationValue[];
4052
+ sessionId?: string;
4053
+ }
4054
+ interface AudioClassificationValue {
4055
+ probability: number;
4056
+ value: string;
4057
+ }
4058
+ interface ObjectDetectionEventDto {
4059
+ appId: string;
4060
+ clientId?: string;
4061
+ requestId?: string;
4062
+ userId?: string;
4063
+ ts?: string;
4064
+ detections: ObjectDetectionDto[];
4065
+ }
4066
+ interface ObjectDetectionDto {
4067
+ probability: number;
4068
+ value: string;
4069
+ bbox: BoundingBox;
4070
+ }
4071
+ interface QRCodeEventDto {
4072
+ appId: string;
4073
+ clientId?: string;
4074
+ requestId?: string;
4075
+ userId?: string;
4076
+ ts?: string;
4077
+ version: string;
4078
+ payload: string;
4079
+ sessionId?: string;
4080
+ }
4081
+ interface NoiseEventDto {
4082
+ appId: string;
4083
+ clientId?: string;
4084
+ requestId?: string;
4085
+ userId?: string;
4086
+ ts?: string;
4087
+ noiseType: string;
4088
+ level: string;
4089
+ speakerId: string[];
4090
+ }
4091
+ interface UIAssetChangedDto {
4092
+ appId: string;
4093
+ clientId?: string;
4094
+ requestId?: string;
4095
+ userId?: string;
4096
+ ts?: string;
4097
+ operation: string;
4098
+ sessionId?: string;
4099
+ record: UIAssetDto;
4100
+ }
4101
+ type anonymous_schema_307 = 'avatars' | 'backgrounds' | 'robots' | 'documents' | 'animations';
4102
+ type anonymous_schema_320 = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'navigation-menu' | 'buttons' | 'quiz' | 'clear-screen' | 'qrcode-scanner' | 'background-audio';
4103
+ interface anonymous_schema_323 {
4104
+ repositoryId?: string;
4105
+ chunks?: Record<string, any>[];
4106
+ additionalProperties?: Record<string, any>;
4107
+ }
4108
+ interface anonymous_schema_328 {
4109
+ clearScreen?: boolean;
4110
+ ttsEnabled?: boolean;
4111
+ stopSpeech?: boolean;
4112
+ language?: string;
4113
+ additionalProperties?: Record<string, any>;
4114
+ }
4115
+ interface UIInteractionEventDto {
4116
+ appId: string;
4117
+ clientId?: string;
4118
+ requestId?: string;
4119
+ userId?: string;
4120
+ ts?: string;
4121
+ sessionId?: string;
4122
+ moduleId: string;
4123
+ interaction: UIInteractionDTO;
4124
+ }
4125
+ interface AgentDto {
4126
+ appId: string;
4127
+ clientId?: string;
4128
+ requestId?: string;
4129
+ userId?: string;
4130
+ ts?: string;
4131
+ agentId: string;
4132
+ status: anonymous_schema_349;
4133
+ modules: string[];
4134
+ }
4135
+ type anonymous_schema_349 = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
4136
+ interface AgentChangedDto {
4137
+ appId: string;
4138
+ clientId?: string;
4139
+ requestId?: string;
4140
+ userId?: string;
4141
+ ts?: string;
4142
+ operation: string;
4143
+ sessionId?: string;
4144
+ moduleId: string;
4145
+ record: AgentDto;
4146
+ settings?: AppSettingsDto;
4147
+ }
4148
+ interface SessionChangedDto {
4149
+ appId: string;
4150
+ clientId?: string;
4151
+ requestId?: string;
4152
+ userId?: string;
4153
+ ts?: string;
4154
+ operation: string;
4155
+ sessionId?: string;
4156
+ record: SessionDto;
4157
+ }
4158
+ interface DialogueProgressEventDto {
4159
+ appId: string;
4160
+ clientId?: string;
4161
+ requestId?: string;
4162
+ userId?: string;
4163
+ ts?: string;
4164
+ sessionId?: string;
4165
+ event: string;
4166
+ status?: string;
4167
+ error?: string;
4168
+ }
4169
+ type anonymous_schema_395 = 'user' | 'agent';
4170
+ interface anonymous_schema_400 {
4171
+ chat?: string;
4172
+ tools?: string;
4173
+ sentiment?: string;
4174
+ tasks?: string;
4175
+ intent?: string;
4176
+ translation?: string;
4177
+ }
4178
+ interface DialogueAvatarSpeechControlDto {
4179
+ appId: string;
4180
+ clientId?: string;
4181
+ requestId?: string;
4182
+ userId?: string;
4183
+ ts?: string;
4184
+ sessionId?: string;
4185
+ chunkId?: string;
4186
+ }
4187
+ interface DialogueSpeechToTextDto {
4188
+ appId: string;
4189
+ clientId?: string;
4190
+ requestId?: string;
4191
+ userId?: string;
4192
+ ts?: string;
4193
+ sessionId?: string;
4194
+ actor?: anonymous_schema_419;
4195
+ text: string;
4196
+ gender?: string;
4197
+ language?: string;
4198
+ emotion?: string;
4199
+ llm?: anonymous_schema_424;
4200
+ avatar?: string;
4201
+ messageId?: string;
4202
+ chunkId?: string;
4203
+ ttsEnabled?: boolean;
4204
+ isWelcome?: boolean;
4205
+ }
4206
+ type anonymous_schema_419 = 'user' | 'agent';
4207
+ interface anonymous_schema_424 {
4208
+ chat?: string;
4209
+ tools?: string;
4210
+ sentiment?: string;
4211
+ tasks?: string;
4212
+ intent?: string;
4213
+ translation?: string;
4214
+ }
4215
+ interface DialogueSessionRequestDto {
4216
+ appId: string;
4217
+ clientId?: string;
4218
+ requestId?: string;
4219
+ userId?: string;
4220
+ ts?: string;
4221
+ sessionId?: string;
4222
+ status: anonymous_schema_436;
4223
+ }
4224
+ type anonymous_schema_436 = 'started' | 'processing' | 'ended' | 'cancelled';
4225
+ interface DialogueToolTriggeredEventDto {
4226
+ appId: string;
4227
+ clientId?: string;
4228
+ requestId?: string;
4229
+ userId?: string;
4230
+ ts?: string;
4231
+ sessionId?: string;
4232
+ name: string;
4233
+ tool: AppToolsDTO;
4234
+ }
4235
+ interface DialogueToolsRepositoryChanged {
4236
+ appId: string;
4237
+ clientId?: string;
4238
+ requestId?: string;
4239
+ userId?: string;
4240
+ ts?: string;
4241
+ operation: string;
4242
+ sessionId?: string;
4243
+ record: DialogueToolsRepositoryRecordDto;
4244
+ }
4245
+ interface DialogueToolsRepositoryRecordDto {
4246
+ appId: string;
4247
+ clientId?: string;
4248
+ requestId?: string;
4249
+ userId?: string;
4250
+ ts?: string;
4251
+ sessionId?: string;
4252
+ repositoryId: string;
4253
+ options?: anonymous_schema_458;
4254
+ tools?: AppToolsDTO[];
4255
+ }
4256
+ interface anonymous_schema_458 {
4257
+ triggerOnce?: boolean;
4258
+ exclusive?: boolean;
4259
+ }
4260
+ interface DialogueToolNotMatchingEventDto {
4261
+ appId: string;
4262
+ sessionId: string;
4263
+ tools: AppToolsDTO[];
4264
+ repositories: string[];
4265
+ taskId?: string;
4266
+ currentField?: TaskFieldDto;
4267
+ }
4268
+ interface DialogueTaskChangedDto {
4269
+ appId: string;
4270
+ clientId?: string;
4271
+ requestId?: string;
4272
+ userId?: string;
4273
+ ts?: string;
4274
+ operation: string;
4275
+ sessionId?: string;
4276
+ record: DialogueTaskDto;
4277
+ }
4278
+ interface DialogueTaskProgressDto {
4279
+ type: anonymous_schema_473;
4280
+ task: anonymous_schema_474;
4281
+ record: anonymous_schema_475;
4282
+ }
4283
+ type anonymous_schema_473 = 'started' | 'completed' | 'ongoing' | 'aborted';
4284
+ interface anonymous_schema_474 {
4285
+ taskId: string;
4286
+ appId: string;
4287
+ hint?: string;
4288
+ sessionId?: string;
4289
+ name: string;
4290
+ label: string;
4291
+ description?: string;
4292
+ intents?: TaskIntentDto[];
4293
+ events?: TaskEventDto[];
4294
+ fields: TaskFieldDto[];
4295
+ options?: anonymous_schema_195;
4296
+ }
4297
+ interface anonymous_schema_475 {
4298
+ recordId: string;
4299
+ taskId: string;
4300
+ appId: string;
4301
+ sessionId: string;
4302
+ status?: anonymous_schema_480;
4303
+ values: Record<string, any>;
4304
+ updated?: string;
4305
+ created?: string;
4306
+ }
4307
+ type anonymous_schema_480 = 'started' | 'completed' | 'ongoing' | 'aborted';
4308
+ interface DialogueTaskRecordChangedDto {
4309
+ appId: string;
4310
+ clientId?: string;
4311
+ requestId?: string;
4312
+ userId?: string;
4313
+ ts?: string;
4314
+ operation: string;
4315
+ sessionId?: string;
4316
+ record: DialogueTaskRecordDto;
4317
+ }
4318
+ interface DialogueTaskRecordHandlerDto {
4319
+ appId: string;
4320
+ clientId?: string;
4321
+ requestId?: string;
4322
+ userId?: string;
4323
+ ts?: string;
4324
+ sessionId?: string;
4325
+ taskId: string;
4326
+ recordId: string;
4327
+ field: anonymous_schema_499;
4328
+ }
4329
+ interface anonymous_schema_499 {
4330
+ name: string;
4331
+ label?: string;
4332
+ hint?: string;
4333
+ order?: number;
4334
+ uiOptions?: anonymous_schema_177;
4335
+ skipResponse?: boolean;
4336
+ type: anonymous_schema_183;
4337
+ required?: boolean;
4338
+ validation?: string;
4339
+ condition?: string;
4340
+ prompt?: string;
4341
+ handler?: string;
4342
+ multiple?: boolean;
4343
+ options?: OptionSelection[];
4344
+ }
4345
+ type anonymous_schema_502 = 'characterization' | 'stt' | 'tts' | 'interaction' | 'session' | 'document' | 'chat' | 'task' | 'performance' | 'kpi' | 'error' | 'llm' | 'log';
4346
+ interface PlatformTokenDto {
4347
+ appId: string;
4348
+ clientId?: string;
4349
+ requestId?: string;
4350
+ userId?: string;
4351
+ ts?: string;
4352
+ }
4353
+ interface PlatformAppModuleConfigEventDto {
4354
+ appId: string;
4355
+ clientId?: string;
4356
+ requestId?: string;
4357
+ userId?: string;
4358
+ ts?: string;
4359
+ operation: string;
4360
+ sessionId?: string;
4361
+ record: AppModuleConfigDto;
4362
+ }
4363
+ interface InitialPoseEventDto {
4364
+ appId: string;
4365
+ clientId?: string;
4366
+ requestId?: string;
4367
+ userId?: string;
4368
+ ts?: string;
4369
+ initialPose: InitialPoseDto;
4370
+ }
4371
+ interface InitialPoseDto {
4372
+ pose: PoseDto;
4373
+ covariance: string[];
4374
+ }
4375
+ interface OperationalStateEventDto {
4376
+ appId: string;
4377
+ clientId?: string;
4378
+ requestId?: string;
4379
+ userId?: string;
4380
+ ts?: string;
4381
+ state: OperationalStateDto;
4382
+ }
4383
+ interface OperationalStateDto {
4384
+ op: string;
4385
+ state: string;
4386
+ }
4387
+ interface SessionStorageEventDto {
4388
+ appId: string;
4389
+ clientId?: string;
4390
+ requestId?: string;
4391
+ userId?: string;
4392
+ ts?: string;
4393
+ operation: string;
4394
+ sessionId?: string;
4395
+ record: SessionStorageRecordDto;
4396
+ }
4397
+ interface SessionSupportEventDto {
4398
+ appId: string;
4399
+ clientId?: string;
4400
+ requestId?: string;
4401
+ userId?: string;
4402
+ ts?: string;
4403
+ supportId: string;
4404
+ status: string;
4405
+ feedback: string;
4406
+ code: string;
4407
+ }
4408
+ interface XRMarkerChangedDto {
4409
+ appId: string;
4410
+ clientId?: string;
4411
+ requestId?: string;
4412
+ userId?: string;
4413
+ ts?: string;
4414
+ operation: string;
4415
+ sessionId?: string;
4416
+ record: XRMarkerDto;
4417
+ }
4418
+ interface XROcclusionDto {
4419
+ appId: string;
4420
+ clientId?: string;
4421
+ requestId?: string;
4422
+ userId?: string;
4423
+ ts?: string;
4424
+ occlusion: boolean;
4425
+ }
4426
+
4427
+ declare class Module {
4428
+ private readonly broker;
4429
+ constructor(broker: Broker);
4430
+ moduleChanged(event: ModuleConfigEventDto, params?: {
4431
+ moduleId?: string;
4432
+ }): Promise<boolean>;
4433
+ onModuleChanged(fn: (event: ModuleConfigEventDto) => void | Promise<void>, params?: {
4434
+ moduleId?: string;
4435
+ }): Promise<() => void>;
4436
+ }
4437
+
4438
+ declare class Platform {
4439
+ private readonly broker;
4440
+ constructor(broker: Broker);
4441
+ appChanged(event: PlatformAppChangedDto, params?: {
4442
+ appId?: string;
4443
+ }): Promise<boolean>;
4444
+ onAppChanged(fn: (event: PlatformAppChangedDto) => void | Promise<void>, params?: {
4445
+ appId?: string;
4446
+ }): Promise<() => void>;
4447
+ clientChanged(event: PlatformAppClientChangedDto, params?: {
4448
+ appId?: string;
4449
+ clientId?: string;
4450
+ }): Promise<boolean>;
4451
+ onClientChanged(fn: (event: PlatformAppClientChangedDto) => void | Promise<void>, params?: {
4452
+ appId?: string;
4453
+ clientId?: string;
4454
+ }): Promise<() => void>;
4455
+ record(event: MonitoringRecordDto, params?: {
4456
+ appId?: string;
4457
+ }): Promise<boolean>;
4458
+ onRecord(fn: (event: MonitoringRecordDto) => void | Promise<void>, params?: {
4459
+ appId?: string;
4460
+ }): Promise<() => void>;
4461
+ tokenRequested(event: PlatformTokenDto, params?: {
4462
+ appId?: string;
4463
+ }): Promise<boolean>;
4464
+ onTokenRequested(fn: (event: PlatformTokenDto) => void | Promise<void>, params?: {
4465
+ appId?: string;
4466
+ }): Promise<() => void>;
4467
+ appModuleChanged(event: PlatformAppModuleConfigEventDto, params?: {
4468
+ appId?: string;
4469
+ }): Promise<boolean>;
4470
+ onAppModuleChanged(fn: (event: PlatformAppModuleConfigEventDto) => void | Promise<void>, params?: {
4471
+ appId?: string;
4472
+ }): Promise<() => void>;
4473
+ }
4474
+
4475
+ declare class Auth {
4476
+ private readonly broker;
4477
+ constructor(broker: Broker);
4478
+ userUpdate(event: UpdateUserEventDto, params?: {
4479
+ appId?: string;
4480
+ }): Promise<boolean>;
4481
+ onUserUpdate(fn: (event: UpdateUserEventDto) => void | Promise<void>, params?: {
4482
+ appId?: string;
4483
+ }): Promise<() => void>;
4484
+ userRegistration(event: UpdateUserEventDto, params?: {
4485
+ appId?: string;
4486
+ }): Promise<boolean>;
4487
+ onUserRegistration(fn: (event: UpdateUserEventDto) => void | Promise<void>, params?: {
4488
+ appId?: string;
4489
+ }): Promise<() => void>;
4490
+ userLogin(event: UpdateUserEventDto, params?: {
4491
+ appId?: string;
4492
+ }): Promise<boolean>;
4493
+ onUserLogin(fn: (event: UpdateUserEventDto) => void | Promise<void>, params?: {
4494
+ appId?: string;
4495
+ }): Promise<() => void>;
4496
+ }
4497
+
4498
+ declare class Detection {
4499
+ private readonly broker;
4500
+ constructor(broker: Broker);
4501
+ userDetected(event: UserDetectionEventDto, params?: {
4502
+ appId?: string;
4503
+ }): Promise<boolean>;
4504
+ onUserDetected(fn: (event: UserDetectionEventDto) => void | Promise<void>, params?: {
4505
+ appId?: string;
4506
+ }): Promise<() => void>;
4507
+ interactionIntention(event: UserInteractionIntentionDto, params?: {
4508
+ appId?: string;
4509
+ }): Promise<boolean>;
4510
+ onInteractionIntention(fn: (event: UserInteractionIntentionDto) => void | Promise<void>, params?: {
4511
+ appId?: string;
4512
+ }): Promise<() => void>;
4513
+ userCharacterization(event: UserCharacterizationEventDto, params?: {
4514
+ appId?: string;
4515
+ }): Promise<boolean>;
4516
+ onUserCharacterization(fn: (event: UserCharacterizationEventDto) => void | Promise<void>, params?: {
4517
+ appId?: string;
4518
+ }): Promise<() => void>;
4519
+ audioClassification(event: AudioClassificationEventDto, params?: {
4520
+ appId?: string;
4521
+ }): Promise<boolean>;
4522
+ onAudioClassification(fn: (event: AudioClassificationEventDto) => void | Promise<void>, params?: {
4523
+ appId?: string;
4524
+ }): Promise<() => void>;
4525
+ objectDetected(event: ObjectDetectionEventDto, params?: {
4526
+ appId?: string;
4527
+ }): Promise<boolean>;
4528
+ onObjectDetected(fn: (event: ObjectDetectionEventDto) => void | Promise<void>, params?: {
4529
+ appId?: string;
4530
+ }): Promise<() => void>;
4531
+ qrCodeDetected(event: QRCodeEventDto, params?: {
4532
+ appId?: string;
4533
+ }): Promise<boolean>;
4534
+ onQrCodeDetected(fn: (event: QRCodeEventDto) => void | Promise<void>, params?: {
4535
+ appId?: string;
4536
+ }): Promise<() => void>;
4537
+ noise(event: NoiseEventDto, params?: {
4538
+ appId?: string;
4539
+ }): Promise<boolean>;
4540
+ onNoise(fn: (event: NoiseEventDto) => void | Promise<void>, params?: {
4541
+ appId?: string;
4542
+ }): Promise<() => void>;
4543
+ }
4544
+
4545
+ declare class Ui {
4546
+ private readonly broker;
4547
+ constructor(broker: Broker);
4548
+ assetChanged(event: UIAssetChangedDto, params?: {
4549
+ appId?: string;
4550
+ }): Promise<boolean>;
4551
+ onAssetChanged(fn: (event: UIAssetChangedDto) => void | Promise<void>, params?: {
4552
+ appId?: string;
4553
+ }): Promise<() => void>;
4554
+ content(event: UIContentDto, params?: {
4555
+ appId?: string;
4556
+ }): Promise<boolean>;
4557
+ onContent(fn: (event: UIContentDto) => void | Promise<void>, params?: {
4558
+ appId?: string;
4559
+ }): Promise<() => void>;
4560
+ interaction(event: UIInteractionEventDto, params?: {
4561
+ appId?: string;
4562
+ moduleId?: string;
4563
+ }): Promise<boolean>;
4564
+ onInteraction(fn: (event: UIInteractionEventDto) => void | Promise<void>, params?: {
4565
+ appId?: string;
4566
+ moduleId?: string;
4567
+ }): Promise<() => void>;
4568
+ }
4569
+
4570
+ declare class Session {
4571
+ private readonly broker;
4572
+ constructor(broker: Broker);
4573
+ agentInteraction(event: AgentDto, params?: {
4574
+ appId?: string;
4575
+ }): Promise<boolean>;
4576
+ onAgentInteraction(fn: (event: AgentDto) => void | Promise<void>, params?: {
4577
+ appId?: string;
4578
+ }): Promise<() => void>;
4579
+ agentChanged(event: AgentChangedDto, params?: {
4580
+ appId?: string;
4581
+ agentId?: string;
4582
+ }): Promise<boolean>;
4583
+ onAgentChanged(fn: (event: AgentChangedDto) => void | Promise<void>, params?: {
4584
+ appId?: string;
4585
+ agentId?: string;
4586
+ }): Promise<() => void>;
4587
+ userInteraction(event: SessionDto, params?: {
4588
+ appId?: string;
4589
+ }): Promise<boolean>;
4590
+ onUserInteraction(fn: (event: SessionDto) => void | Promise<void>, params?: {
4591
+ appId?: string;
4592
+ }): Promise<() => void>;
4593
+ sessionChanged(event: SessionChangedDto, params?: {
4594
+ appId?: string;
4595
+ sessionId?: string;
4596
+ }): Promise<boolean>;
4597
+ onSessionChanged(fn: (event: SessionChangedDto) => void | Promise<void>, params?: {
4598
+ appId?: string;
4599
+ sessionId?: string;
4600
+ }): Promise<() => void>;
4601
+ storageUpdated(event: SessionStorageEventDto, params?: {
4602
+ appId?: string;
4603
+ storageId?: string;
4604
+ }): Promise<boolean>;
4605
+ onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
4606
+ appId?: string;
4607
+ storageId?: string;
4608
+ }): Promise<() => void>;
4609
+ support(event: SessionSupportEventDto, params?: {
4610
+ appId?: string;
4611
+ }): Promise<boolean>;
4612
+ onSupport(fn: (event: SessionSupportEventDto) => void | Promise<void>, params?: {
4613
+ appId?: string;
4614
+ }): Promise<() => void>;
4615
+ }
4616
+
4617
+ declare class Dialogue {
4618
+ private readonly broker;
4619
+ constructor(broker: Broker);
4620
+ dialogueProgress(event: DialogueProgressEventDto, params?: {
4621
+ appId?: string;
4622
+ sessionId?: string;
4623
+ }): Promise<boolean>;
4624
+ onDialogueProgress(fn: (event: DialogueProgressEventDto) => void | Promise<void>, params?: {
4625
+ appId?: string;
4626
+ sessionId?: string;
4627
+ }): Promise<() => void>;
4628
+ dialogueMessages(event: DialogueMessageDto, params?: {
4629
+ appId?: string;
4630
+ sessionId?: string;
4631
+ }): Promise<boolean>;
4632
+ onDialogueMessages(fn: (event: DialogueMessageDto) => void | Promise<void>, params?: {
4633
+ appId?: string;
4634
+ sessionId?: string;
4635
+ }): Promise<() => void>;
4636
+ agentSpeech(event: Buffer$1, params?: {
4637
+ appId?: string;
4638
+ sessionId?: string;
4639
+ messageId?: string;
4640
+ chunkId?: string;
4641
+ }): Promise<boolean>;
4642
+ onAgentSpeech(fn: (event: Buffer$1) => void | Promise<void>, params?: {
4643
+ appId?: string;
4644
+ sessionId?: string;
4645
+ messageId?: string;
4646
+ chunkId?: string;
4647
+ }): Promise<() => void>;
4648
+ agentStopSpeech(event: DialogueAvatarSpeechControlDto, params?: {
4649
+ appId?: string;
4650
+ sessionId?: string;
4651
+ }): Promise<boolean>;
4652
+ onAgentStopSpeech(fn: (event: DialogueAvatarSpeechControlDto) => void | Promise<void>, params?: {
4653
+ appId?: string;
4654
+ sessionId?: string;
4655
+ }): Promise<() => void>;
4656
+ agentPauseSpeech(event: DialogueAvatarSpeechControlDto, params?: {
4657
+ appId?: string;
4658
+ sessionId?: string;
4659
+ }): Promise<boolean>;
4660
+ onAgentPauseSpeech(fn: (event: DialogueAvatarSpeechControlDto) => void | Promise<void>, params?: {
4661
+ appId?: string;
4662
+ sessionId?: string;
4663
+ }): Promise<() => void>;
4664
+ agentContinueSpeech(event: DialogueAvatarSpeechControlDto, params?: {
4665
+ appId?: string;
4666
+ sessionId?: string;
4667
+ }): Promise<boolean>;
4668
+ onAgentContinueSpeech(fn: (event: DialogueAvatarSpeechControlDto) => void | Promise<void>, params?: {
4669
+ appId?: string;
4670
+ sessionId?: string;
4671
+ }): Promise<() => void>;
4672
+ userSpeech(event: DialogueSpeechToTextDto, params?: {
4673
+ appId?: string;
4674
+ sessionId?: string;
4675
+ chunkId?: string;
4676
+ }): Promise<boolean>;
4677
+ onUserSpeech(fn: (event: DialogueSpeechToTextDto) => void | Promise<void>, params?: {
4678
+ appId?: string;
4679
+ sessionId?: string;
4680
+ chunkId?: string;
4681
+ }): Promise<() => void>;
4682
+ userSpeechStream(event: Buffer$1, params?: {
4683
+ appId?: string;
4684
+ sessionId?: string;
4685
+ chunkId?: string;
4686
+ }): Promise<boolean>;
4687
+ onUserSpeechStream(fn: (event: Buffer$1) => void | Promise<void>, params?: {
4688
+ appId?: string;
4689
+ sessionId?: string;
4690
+ chunkId?: string;
4691
+ }): Promise<() => void>;
4692
+ request(event: DialogueSessionRequestDto, params?: {
4693
+ appId?: string;
4694
+ sessionId?: string;
4695
+ }): Promise<boolean>;
4696
+ onRequest(fn: (event: DialogueSessionRequestDto) => void | Promise<void>, params?: {
4697
+ appId?: string;
4698
+ sessionId?: string;
4699
+ }): Promise<() => void>;
4700
+ toolTriggered(event: DialogueToolTriggeredEventDto, params?: {
4701
+ appId?: string;
4702
+ name?: string;
4703
+ }): Promise<boolean>;
4704
+ onToolTriggered(fn: (event: DialogueToolTriggeredEventDto) => void | Promise<void>, params?: {
4705
+ appId?: string;
4706
+ name?: string;
4707
+ }): Promise<() => void>;
4708
+ toolChanged(event: DialogueToolsRepositoryChanged, params?: {
4709
+ appId?: string;
4710
+ repositoryId?: string;
4711
+ }): Promise<boolean>;
4712
+ onToolChanged(fn: (event: DialogueToolsRepositoryChanged) => void | Promise<void>, params?: {
4713
+ appId?: string;
4714
+ repositoryId?: string;
4715
+ }): Promise<() => void>;
4716
+ toolNotMatching(event: DialogueToolNotMatchingEventDto, params?: {
4717
+ appId?: string;
4718
+ }): Promise<boolean>;
4719
+ onToolNotMatching(fn: (event: DialogueToolNotMatchingEventDto) => void | Promise<void>, params?: {
4720
+ appId?: string;
4721
+ }): Promise<() => void>;
4722
+ taskChanged(event: DialogueTaskChangedDto, params?: {
4723
+ appId?: string;
4724
+ taskId?: string;
4725
+ }): Promise<boolean>;
4726
+ onTaskChanged(fn: (event: DialogueTaskChangedDto) => void | Promise<void>, params?: {
4727
+ appId?: string;
4728
+ taskId?: string;
4729
+ }): Promise<() => void>;
4730
+ taskProgress(event: DialogueTaskProgressDto, params?: {
4731
+ appId?: string;
4732
+ taskId?: string;
4733
+ }): Promise<boolean>;
4734
+ onTaskProgress(fn: (event: DialogueTaskProgressDto) => void | Promise<void>, params?: {
4735
+ appId?: string;
4736
+ taskId?: string;
4737
+ }): Promise<() => void>;
4738
+ recordChanged(event: DialogueTaskRecordChangedDto, params?: {
4739
+ appId?: string;
4740
+ taskId?: string;
4741
+ }): Promise<boolean>;
4742
+ onRecordChanged(fn: (event: DialogueTaskRecordChangedDto) => void | Promise<void>, params?: {
4743
+ appId?: string;
4744
+ taskId?: string;
4745
+ }): Promise<() => void>;
4746
+ fieldHandler(event: DialogueTaskRecordHandlerDto, params?: {
4747
+ appId?: string;
4748
+ }): Promise<boolean>;
4749
+ onFieldHandler(fn: (event: DialogueTaskRecordHandlerDto) => void | Promise<void>, params?: {
4750
+ appId?: string;
4751
+ }): Promise<() => void>;
4752
+ }
4753
+
4754
+ declare class Robotics {
4755
+ private readonly broker;
4756
+ constructor(broker: Broker);
4757
+ actuate(event: ActuationEventDto, params?: {
4758
+ appId?: string;
4759
+ }): Promise<boolean>;
4760
+ onActuate(fn: (event: ActuationEventDto) => void | Promise<void>, params?: {
4761
+ appId?: string;
4762
+ }): Promise<() => void>;
4763
+ move(event: MovementEventDto, params?: {
4764
+ appId?: string;
4765
+ }): Promise<boolean>;
4766
+ onMove(fn: (event: MovementEventDto) => void | Promise<void>, params?: {
4767
+ appId?: string;
4768
+ }): Promise<() => void>;
4769
+ robotStatus(event: StatusEventDto, params?: {
4770
+ appId?: string;
4771
+ }): Promise<boolean>;
4772
+ onRobotStatus(fn: (event: StatusEventDto) => void | Promise<void>, params?: {
4773
+ appId?: string;
4774
+ }): Promise<() => void>;
4775
+ initialPose(event: InitialPoseEventDto, params?: {
4776
+ appId?: string;
4777
+ }): Promise<boolean>;
4778
+ onInitialPose(fn: (event: InitialPoseEventDto) => void | Promise<void>, params?: {
4779
+ appId?: string;
4780
+ }): Promise<() => void>;
4781
+ opState(event: OperationalStateEventDto, params?: {
4782
+ appId?: string;
4783
+ }): Promise<boolean>;
4784
+ onOpState(fn: (event: OperationalStateEventDto) => void | Promise<void>, params?: {
4785
+ appId?: string;
4786
+ }): Promise<() => void>;
4787
+ }
4788
+
4789
+ declare class Xr {
4790
+ private readonly broker;
4791
+ constructor(broker: Broker);
4792
+ detected(event: XRMarkerDto, params?: {
4793
+ appId?: string;
4794
+ }): Promise<boolean>;
4795
+ onDetected(fn: (event: XRMarkerDto) => void | Promise<void>, params?: {
4796
+ appId?: string;
4797
+ }): Promise<() => void>;
4798
+ changed(event: XRMarkerChangedDto, params?: {
4799
+ appId?: string;
4800
+ markerId?: string;
4801
+ }): Promise<boolean>;
4802
+ onChanged(fn: (event: XRMarkerChangedDto) => void | Promise<void>, params?: {
4803
+ appId?: string;
4804
+ markerId?: string;
4805
+ }): Promise<() => void>;
4806
+ occluded(event: XROcclusionDto, params?: {
4807
+ appId?: string;
4808
+ }): Promise<boolean>;
4809
+ onOccluded(fn: (event: XROcclusionDto) => void | Promise<void>, params?: {
4810
+ appId?: string;
4811
+ }): Promise<() => void>;
4812
+ }
4813
+
4814
+ declare class AsyncApiClient {
4815
+ private readonly broker;
4816
+ readonly module: Module;
4817
+ readonly platform: Platform;
4818
+ readonly auth: Auth;
4819
+ readonly detection: Detection;
4820
+ readonly ui: Ui;
4821
+ readonly session: Session;
4822
+ readonly dialogue: Dialogue;
4823
+ readonly robotics: Robotics;
4824
+ readonly xr: Xr;
4825
+ constructor(broker: Broker);
4826
+ }
4827
+
4828
+ /**
4829
+ * @publicApi
4830
+ */
4831
+ type LogLevel = 'log' | 'error' | 'warn' | 'debug' | 'verbose' | 'fatal';
4832
+ /**
4833
+ * @publicApi
4834
+ */
4835
+ interface LoggerService {
4836
+ /**
4837
+ * Write a 'log' level log.
4838
+ */
4839
+ log(message: any, ...optionalParams: any[]): any;
4840
+ /**
4841
+ * Write an 'error' level log.
4842
+ */
4843
+ error(message: any, ...optionalParams: any[]): any;
4844
+ /**
4845
+ * Write a 'warn' level log.
4846
+ */
4847
+ warn(message: any, ...optionalParams: any[]): any;
4848
+ /**
4849
+ * Write a 'debug' level log.
4850
+ */
4851
+ debug?(message: any, ...optionalParams: any[]): any;
4852
+ /**
4853
+ * Write a 'verbose' level log.
4854
+ */
4855
+ verbose?(message: any, ...optionalParams: any[]): any;
4856
+ /**
4857
+ * Write a 'fatal' level log.
4858
+ */
4859
+ fatal?(message: any, ...optionalParams: any[]): any;
4860
+ /**
4861
+ * Set log levels.
4862
+ * @param levels log levels
4863
+ */
4864
+ setLogLevels?(levels: LogLevel[]): any;
4865
+ }
4866
+
4867
+ declare class Logger implements LoggerService {
4868
+ private readonly logger;
4869
+ constructor(name: string);
4870
+ debug(message: any, ...optionalParams: any[]): void;
4871
+ error(message: any, ...optionalParams: any[]): void;
4872
+ fatal(message: any, ...optionalParams: any[]): void;
4873
+ log(message: any, ...optionalParams: any[]): void;
4874
+ setLogLevels(levels: LogLevel[]): void;
4875
+ verbose(message: any, ...optionalParams: any[]): void;
4876
+ warn(message: any, ...optionalParams: any[]): void;
4877
+ }
4878
+
4879
+ declare const sleep: (t?: number) => Promise<void>;
4880
+ type SermasEnvType = 'local' | 'dev' | 'prod';
4881
+ interface SermasApiClientConfig {
4882
+ access_token?: string;
4883
+ refresh_token?: string;
4884
+ clientId?: string;
4885
+ clientSecret?: string;
4886
+ baseURL?: string;
4887
+ appId?: string;
4888
+ logger?: LoggerService;
4889
+ }
4890
+ declare class SermasApiClient {
4891
+ private readonly config;
4892
+ private logger;
4893
+ api: SermasApi;
4894
+ events: AsyncApiClient;
4895
+ private broker;
4896
+ private apiUrl;
4897
+ private mqttUrl;
4898
+ private refreshTimeout?;
4899
+ private ready;
4900
+ private jwt?;
4901
+ private params;
4902
+ constructor(config: SermasApiClientConfig);
4903
+ getBroker(): Broker;
4904
+ close(): Promise<void>;
4905
+ private init;
4906
+ private watchToken;
4907
+ refreshToken(): Promise<any>;
4908
+ loadToken(clientId: string, clientSecret: string, appId?: string): Promise<JwtTokenDto>;
4909
+ setToken(accessToken: string | (LoginResponseDto & {
4910
+ appId?: string;
4911
+ }), refreshToken?: string, appId?: string): void;
4912
+ login(username: string, password: string, appId?: string): Promise<LoginResponseDto>;
4913
+ }
4914
+
4915
+ export { type AccessTokenRequestDto, type ActuationDto, type ActuationEventDto, type AdvancedDatasetRecordFilterDto, 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 AvatarTTSOptions, type BackgroundAudioDto, type BackgroundUIAudioDto, type BoundingBox, Broker, type Buffer$1 as Buffer, type ButtonDto, type ButtonsContentDto, type ButtonsUIContentDto, type ClearScreenDto, type ClearUIContentDto, type CreatePlatformAppDto, type DatasetRecordDto, type DatasetRecordFilterDto, type DialogueActor, DialogueActorEnum, type DialogueAvatarSpeechControlDto, type DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueDocumentOptionsDto, type DialogueMemoryMessageDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueProgressEventDto, type DialogueSessionRequestDto, type DialogueSpeechToTextDto, type DialogueTaskChangedDto, type DialogueTaskDto, type DialogueTaskProgressDto, type DialogueTaskRecordChangedDto, type DialogueTaskRecordDto, type DialogueTaskRecordHandlerDto, type DialogueTextToSpeechDto, type DialogueToolNotMatchingEventDto, 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 LLMRole, LLMRoleEnum, type LLMSettingsDto, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, type LogType, LogTypeEnum, Logger, type LoggerService, type LoginRequestDto, type LoginResponseDto, type MemoryMessageType, MemoryMessageTypeEnum, type ModelGender, ModelGenderEnum, type ModelType, ModelTypeEnum, type ModuleConfigEventDto, type ModuleResourceDto, type ModuleSettingsDto, type MonitoringRecordDto, type MovementDto, type MovementEventDto, type NavigationMenuContentDto, type NavigationMenuItemDto, type NavigationMenuUIContentDto, type NavigationSpaceDto, type NoiseEventDto, type ObjectContentDto, type ObjectContentDtoWrapper, 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 PlatformRefreshTokenRequestDto, type PlatformSettingsDto, type PlatformTokenDto, type Point3D, type PoseDto, type PositionDto, type QRCodeEventDto, type QrCodeDto, type QrCodePayloadDto, type QuizAnswerDto, type QuizContentDto, type QuizUIContentDto, type RefreshTokenRequestDto, type RegistrationRequestDto, type RegistrationResponseDto, type RepositoryAnimationDto, type RepositoryAssetMetadataDto, type RepositoryAssetTypes, RepositoryAssetTypesEnum, type RepositoryAvatarDto, type RepositoryBackgroundDto, type RepositoryBackgroundMetadataDto, type RepositoryConfigDto, type RepositoryDocumentDto, type RepositoryRobotModelDto, type RobotMapDto, type SentimentAnalysisRequest, SermasApiClient, type SermasApiClientConfig, type SermasBaseDto, type SermasEnvType, type SessionChangedDto, type SessionDto, type SessionProperties, type SessionSearchFilter, type SessionStorageEventDto, type SessionStorageRecordDto, type SessionStorageSearchDto, type SessionSupportEventDto, type SessionSupportRequestDto, type SessionSupportResponseDto, type SpaceOptionsDto, type StatusDto, type StatusEventDto, type StringInferenceValue, type Supported3DTypes, Supported3DTypesEnum, type SupportedAudioTypes, SupportedAudioTypesEnum, type SupportedContentTypes, SupportedContentTypesEnum, type TaskEventDto, type TaskEventTriggerDto, type TaskEventType, TaskEventTypeEnum, type TaskFieldDto, type TaskIntentDto, type TaskOptionsDto, type TaskSchemaDataType, TaskSchemaDataTypeEnum, type TextContentDto, type TextUIContentDto, type ToolUIContentDto, 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_105, type anonymous_schema_108, type anonymous_schema_120, type anonymous_schema_127, type anonymous_schema_129, type anonymous_schema_132, type anonymous_schema_144, type anonymous_schema_164, type anonymous_schema_177, type anonymous_schema_183, type anonymous_schema_195, type anonymous_schema_199, type anonymous_schema_249, type anonymous_schema_307, type anonymous_schema_320, type anonymous_schema_323, type anonymous_schema_328, type anonymous_schema_349, type anonymous_schema_395, type anonymous_schema_400, type anonymous_schema_419, type anonymous_schema_424, type anonymous_schema_436, type anonymous_schema_458, type anonymous_schema_46, type anonymous_schema_473, type anonymous_schema_474, type anonymous_schema_475, type anonymous_schema_480, type anonymous_schema_49, type anonymous_schema_499, type anonymous_schema_50, type anonymous_schema_502, type anonymous_schema_59, type anonymous_schema_65, type anonymous_schema_76, type anonymous_schema_81, type anonymous_schema_97, sleep };