bstp-agent-widget 0.2.117 → 0.2.119

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 (304) hide show
  1. package/dist/angular.cjs +35 -35
  2. package/dist/angular.css +1 -1
  3. package/dist/angular.mjs +5427 -4916
  4. package/dist/element.cjs +35 -35
  5. package/dist/element.css +1 -1
  6. package/dist/element.mjs +5428 -4917
  7. package/dist/index.cjs +35 -35
  8. package/dist/index.mjs +5421 -4908
  9. package/dist/shadow.cjs +35 -35
  10. package/dist/shadow.css +1 -1
  11. package/dist/shadow.mjs +5421 -4910
  12. package/dist/styles.css +1 -1
  13. package/dist/styles.layer.css +1 -1
  14. package/dist/types/index.d.mts +3 -0
  15. package/dist/types/index.d.ts +3 -0
  16. package/dist/types/internal/api/genai.service.d.mts +11 -0
  17. package/dist/types/internal/api/genai.service.d.ts +11 -0
  18. package/dist/types/internal/api/rest.service.d.mts +2 -1
  19. package/dist/types/internal/api/rest.service.d.ts +2 -1
  20. package/dist/types/internal/components/{AgentChat/AgentChatFab/AgentChatFab.d.mts → AgentFab/AgentFab.d.mts} +2 -2
  21. package/dist/types/internal/components/{AgentChat/AgentChatFab/AgentChatFab.d.ts → AgentFab/AgentFab.d.ts} +2 -2
  22. package/dist/types/internal/components/AgentFab/index.d.mts +1 -0
  23. package/dist/types/internal/components/AgentFab/index.d.ts +1 -0
  24. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownActionsWidget.d.mts +7 -0
  25. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownActionsWidget.d.ts +7 -0
  26. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownChartWidget.d.mts +2 -0
  27. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownChartWidget.d.ts +2 -0
  28. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownHighlightBoxWidget.d.mts +2 -0
  29. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownHighlightBoxWidget.d.ts +2 -0
  30. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownOfferCardWidget.d.mts +2 -0
  31. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownOfferCardWidget.d.ts +2 -0
  32. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownRegistry.d.mts +12 -0
  33. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownRegistry.d.ts +12 -0
  34. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownRenderer.d.mts +2 -0
  35. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownRenderer.d.ts +2 -0
  36. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownTableWidget.d.mts +2 -0
  37. package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownTableWidget.d.ts +2 -0
  38. package/dist/types/internal/components/AgentMarkdownRenderer/Overview/AgentMarkdownOverviewCardWidget.d.mts +2 -0
  39. package/dist/types/internal/components/AgentMarkdownRenderer/Overview/AgentMarkdownOverviewCardWidget.d.ts +2 -0
  40. package/dist/types/internal/components/{AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidgetWrapper.d.mts → AgentMarkdownRenderer/Overview/AgentMarkdownOverviewCardWidgetWrapper.d.mts} +1 -1
  41. package/dist/types/internal/components/{AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidgetWrapper.d.ts → AgentMarkdownRenderer/Overview/AgentMarkdownOverviewCardWidgetWrapper.d.ts} +1 -1
  42. package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewAccountCard.d.mts +2 -2
  43. package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewAccountCard.d.ts +2 -2
  44. package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/adapters/widget-config.adapter.d.mts +7 -6
  45. package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/adapters/widget-config.adapter.d.ts +7 -6
  46. package/dist/types/internal/components/AgentMarkdownRenderer/index.d.mts +8 -0
  47. package/dist/types/internal/components/AgentMarkdownRenderer/index.d.ts +8 -0
  48. package/dist/types/internal/components/AgentPanel/AgentPanel.d.mts +36 -0
  49. package/dist/types/internal/components/AgentPanel/AgentPanel.d.ts +36 -0
  50. package/dist/types/internal/components/AgentPanel/AgentPanelContentBody.d.mts +10 -0
  51. package/dist/types/internal/components/AgentPanel/AgentPanelContentBody.d.ts +10 -0
  52. package/dist/types/internal/components/AgentPanel/AgentPanelFooter.d.mts +11 -0
  53. package/dist/types/internal/components/AgentPanel/AgentPanelFooter.d.ts +11 -0
  54. package/dist/types/internal/components/AgentPanel/AgentPanelHeader.d.mts +7 -0
  55. package/dist/types/internal/components/AgentPanel/AgentPanelHeader.d.ts +7 -0
  56. package/dist/types/internal/components/AgentPanel/index.d.mts +4 -0
  57. package/dist/types/internal/components/AgentPanel/index.d.ts +4 -0
  58. package/dist/types/internal/components/AgentTextInput/AgentTextInput.d.mts +11 -0
  59. package/dist/types/internal/components/AgentTextInput/AgentTextInput.d.ts +11 -0
  60. package/dist/types/internal/components/AgentTextInput/index.d.mts +1 -0
  61. package/dist/types/internal/components/AgentTextInput/index.d.ts +1 -0
  62. package/dist/types/internal/components/AgentTypingIndicator/AgentTypingIndicator.d.mts +11 -0
  63. package/dist/types/internal/components/AgentTypingIndicator/AgentTypingIndicator.d.ts +11 -0
  64. package/dist/types/internal/components/AgentTypingIndicator/index.d.mts +1 -0
  65. package/dist/types/internal/components/AgentTypingIndicator/index.d.ts +1 -0
  66. package/dist/types/internal/components/AgentVoiceButton/AgentVoiceButton.d.mts +8 -0
  67. package/dist/types/internal/components/AgentVoiceButton/AgentVoiceButton.d.ts +8 -0
  68. package/dist/types/internal/components/AgentVoiceButton/index.d.mts +1 -0
  69. package/dist/types/internal/components/AgentVoiceButton/index.d.ts +1 -0
  70. package/dist/types/internal/context/AgentConfigContext.d.mts +2 -0
  71. package/dist/types/internal/context/AgentConfigContext.d.ts +2 -0
  72. package/dist/types/internal/context/AgentRuntimeContext.d.mts +2 -0
  73. package/dist/types/internal/context/AgentRuntimeContext.d.ts +2 -0
  74. package/dist/types/internal/enums/agent-chat-message-sender.d.mts +1 -1
  75. package/dist/types/internal/enums/agent-chat-message-sender.d.ts +1 -1
  76. package/dist/types/internal/enums/markdown-renderer-visualization-type.d.mts +1 -0
  77. package/dist/types/internal/enums/markdown-renderer-visualization-type.d.ts +1 -0
  78. package/dist/types/internal/enums/markdown-renderer-widget-type.d.mts +12 -0
  79. package/dist/types/internal/enums/markdown-renderer-widget-type.d.ts +12 -0
  80. package/dist/types/internal/features/agent-chat/components/AgentLauncher/AgentLauncher.d.mts +2 -0
  81. package/dist/types/internal/features/agent-chat/components/AgentLauncher/AgentLauncher.d.ts +2 -0
  82. package/dist/types/internal/hooks/{useAgentChat.d.mts → useAgent.d.mts} +6 -5
  83. package/dist/types/internal/hooks/{useAgentChat.d.ts → useAgent.d.ts} +6 -5
  84. package/dist/types/internal/hooks/useAgentActions.d.mts +6 -0
  85. package/dist/types/internal/hooks/useAgentActions.d.ts +6 -0
  86. package/dist/types/internal/hooks/useAgentChartWidgetUtils.d.mts +7 -0
  87. package/dist/types/internal/hooks/useAgentChartWidgetUtils.d.ts +7 -0
  88. package/dist/types/internal/hooks/useAgentConfig.d.mts +2 -0
  89. package/dist/types/internal/hooks/useAgentConfig.d.ts +2 -0
  90. package/dist/types/internal/hooks/useAgentCustomerToken.d.mts +1 -0
  91. package/dist/types/internal/hooks/useAgentCustomerToken.d.ts +1 -0
  92. package/dist/types/internal/hooks/{useAgentChatLayout.d.mts → useAgentLayout.d.mts} +6 -1
  93. package/dist/types/internal/hooks/{useAgentChatLayout.d.ts → useAgentLayout.d.ts} +6 -1
  94. package/dist/types/internal/hooks/{useAgentChatMdRendererElements.d.mts → useAgentMarkdownRendererElements.d.mts} +1 -1
  95. package/dist/types/internal/hooks/{useAgentChatMdRendererElements.d.ts → useAgentMarkdownRendererElements.d.ts} +1 -1
  96. package/dist/types/internal/hooks/{useAgentChatOverviewCardData.d.mts → useAgentOverviewCardData.d.mts} +1 -1
  97. package/dist/types/internal/hooks/{useAgentChatOverviewCardData.d.ts → useAgentOverviewCardData.d.ts} +1 -1
  98. package/dist/types/internal/hooks/{useAgentChatRuntime.d.mts → useAgentRuntime.d.mts} +1 -1
  99. package/dist/types/internal/hooks/{useAgentChatRuntime.d.ts → useAgentRuntime.d.ts} +1 -1
  100. package/dist/types/internal/hooks/{useAgentChatRuntimeInfo.d.mts → useAgentRuntimeInfo.d.mts} +2 -2
  101. package/dist/types/internal/hooks/{useAgentChatRuntimeInfo.d.ts → useAgentRuntimeInfo.d.ts} +2 -2
  102. package/dist/types/internal/hooks/useAgentSpeechLanguage.d.mts +1 -0
  103. package/dist/types/internal/hooks/useAgentSpeechLanguage.d.ts +1 -0
  104. package/dist/types/internal/hooks/{useAgentChatSpeechToText.d.mts → useAgentSpeechToText.d.mts} +1 -1
  105. package/dist/types/internal/hooks/{useAgentChatSpeechToText.d.ts → useAgentSpeechToText.d.ts} +1 -1
  106. package/dist/types/internal/hooks/useAgentTypingIndicator.d.mts +11 -0
  107. package/dist/types/internal/hooks/useAgentTypingIndicator.d.ts +11 -0
  108. package/dist/types/internal/hooks/{useAgentChatUiOptions.d.mts → useAgentUiOptions.d.mts} +1 -4
  109. package/dist/types/internal/hooks/{useAgentChatUiOptions.d.ts → useAgentUiOptions.d.ts} +1 -4
  110. package/dist/types/internal/hooks/{useAgentChatVoiceHandlers.d.mts → useAgentVoiceHandlers.d.mts} +2 -2
  111. package/dist/types/internal/hooks/{useAgentChatVoiceHandlers.d.ts → useAgentVoiceHandlers.d.ts} +2 -2
  112. package/dist/types/internal/hooks/useGenaiLogin.d.mts +1 -1
  113. package/dist/types/internal/hooks/useGenaiLogin.d.ts +1 -1
  114. package/dist/types/internal/hooks/useResolvedAgentType.d.mts +5 -0
  115. package/dist/types/internal/hooks/useResolvedAgentType.d.ts +5 -0
  116. package/dist/types/internal/hooks/useSendChatMessage.d.mts +13 -0
  117. package/dist/types/internal/hooks/useSendChatMessage.d.ts +13 -0
  118. package/dist/types/internal/icons/IconAgentOrb.d.mts +5 -1
  119. package/dist/types/internal/icons/IconAgentOrb.d.ts +5 -1
  120. package/dist/types/internal/icons/IconCancel.d.mts +5 -1
  121. package/dist/types/internal/icons/IconCancel.d.ts +5 -1
  122. package/dist/types/internal/icons/IconMicrophone.d.mts +5 -1
  123. package/dist/types/internal/icons/IconMicrophone.d.ts +5 -1
  124. package/dist/types/internal/icons/IconSend.d.mts +5 -1
  125. package/dist/types/internal/icons/IconSend.d.ts +5 -1
  126. package/dist/types/internal/icons/IconStop.d.mts +5 -1
  127. package/dist/types/internal/icons/IconStop.d.ts +5 -1
  128. package/dist/types/internal/icons/icon-size.d.mts +2 -0
  129. package/dist/types/internal/icons/icon-size.d.ts +2 -0
  130. package/dist/types/internal/mappers/agent-chat-action.mapper.d.mts +5 -2
  131. package/dist/types/internal/mappers/agent-chat-action.mapper.d.ts +5 -2
  132. package/dist/types/internal/mappers/agent-chat-config.mapper.d.mts +3 -3
  133. package/dist/types/internal/mappers/agent-chat-config.mapper.d.ts +3 -3
  134. package/dist/types/internal/mappers/genai-agent-catalog.mapper.d.mts +4 -0
  135. package/dist/types/internal/mappers/genai-agent-catalog.mapper.d.ts +4 -0
  136. package/dist/types/internal/providers/{AgentChatProviders.d.mts → AgentProviders.d.mts} +2 -2
  137. package/dist/types/internal/providers/{AgentChatProviders.d.ts → AgentProviders.d.ts} +2 -2
  138. package/dist/types/internal/queries/genai/useFetchAgenticAppsMutation.d.mts +5 -0
  139. package/dist/types/internal/queries/genai/useFetchAgenticAppsMutation.d.ts +5 -0
  140. package/dist/types/internal/queries/genai/useFetchAssistantsMutation.d.mts +5 -0
  141. package/dist/types/internal/queries/genai/useFetchAssistantsMutation.d.ts +5 -0
  142. package/dist/types/internal/queries/genai/useSendAgenticAppChatMutation.d.mts +5 -0
  143. package/dist/types/internal/queries/genai/useSendAgenticAppChatMutation.d.ts +5 -0
  144. package/dist/types/internal/stores/agent-chat/agent-chat.store.d.mts +7 -7
  145. package/dist/types/internal/stores/agent-chat/agent-chat.store.d.ts +7 -7
  146. package/dist/types/internal/stores/agent-chat/genai-token.storage.d.mts +2 -0
  147. package/dist/types/internal/stores/agent-chat/genai-token.storage.d.ts +2 -0
  148. package/dist/types/internal/theme/forest/brand-colors.d.mts +3 -0
  149. package/dist/types/internal/theme/forest/brand-colors.d.ts +3 -0
  150. package/dist/types/internal/theme/forest/color-tokens.d.mts +2 -0
  151. package/dist/types/internal/theme/forest/color-tokens.d.ts +2 -0
  152. package/dist/types/internal/theme/forest/icon-size-tokens.d.mts +2 -0
  153. package/dist/types/internal/theme/forest/icon-size-tokens.d.ts +2 -0
  154. package/dist/types/internal/theme/forest/index.d.mts +2 -0
  155. package/dist/types/internal/theme/forest/index.d.ts +2 -0
  156. package/dist/types/internal/theme/forest/radius-tokens.d.mts +2 -0
  157. package/dist/types/internal/theme/forest/radius-tokens.d.ts +2 -0
  158. package/dist/types/internal/theme/forest/space-tokens.d.mts +2 -0
  159. package/dist/types/internal/theme/forest/space-tokens.d.ts +2 -0
  160. package/dist/types/internal/theme/forest/theme-options.d.mts +2 -0
  161. package/dist/types/internal/theme/forest/theme-options.d.ts +2 -0
  162. package/dist/types/internal/theme/foundations/icon-props.d.mts +4 -0
  163. package/dist/types/internal/theme/foundations/icon-props.d.ts +4 -0
  164. package/dist/types/internal/theme/foundations/index.d.mts +22 -0
  165. package/dist/types/internal/theme/foundations/index.d.ts +22 -0
  166. package/dist/types/internal/theme/ocean/brand-colors.d.mts +3 -0
  167. package/dist/types/internal/theme/ocean/brand-colors.d.ts +3 -0
  168. package/dist/types/internal/theme/ocean/color-tokens.d.mts +2 -0
  169. package/dist/types/internal/theme/ocean/color-tokens.d.ts +2 -0
  170. package/dist/types/internal/theme/ocean/icon-size-tokens.d.mts +2 -0
  171. package/dist/types/internal/theme/ocean/icon-size-tokens.d.ts +2 -0
  172. package/dist/types/internal/theme/ocean/index.d.mts +2 -0
  173. package/dist/types/internal/theme/ocean/index.d.ts +2 -0
  174. package/dist/types/internal/theme/ocean/radius-tokens.d.mts +2 -0
  175. package/dist/types/internal/theme/ocean/radius-tokens.d.ts +2 -0
  176. package/dist/types/internal/theme/ocean/space-tokens.d.mts +2 -0
  177. package/dist/types/internal/theme/ocean/space-tokens.d.ts +2 -0
  178. package/dist/types/internal/theme/ocean/theme-options.d.mts +2 -0
  179. package/dist/types/internal/theme/ocean/theme-options.d.ts +2 -0
  180. package/dist/types/internal/theme/widget-theme-definitions.d.mts +3 -0
  181. package/dist/types/internal/theme/widget-theme-definitions.d.ts +3 -0
  182. package/dist/types/internal/theme/widget-theme-presets.d.mts +17 -0
  183. package/dist/types/internal/theme/widget-theme-presets.d.ts +17 -0
  184. package/dist/types/internal/theme/widget-theme.type.d.mts +22 -0
  185. package/dist/types/internal/theme/widget-theme.type.d.ts +22 -0
  186. package/dist/types/internal/types/dto/genai-agent-catalog-item.dto.d.mts +53 -0
  187. package/dist/types/internal/types/dto/genai-agent-catalog-item.dto.d.ts +53 -0
  188. package/dist/types/internal/types/dto/genai-agentic-app-chat-request.dto.d.mts +5 -0
  189. package/dist/types/internal/types/dto/genai-agentic-app-chat-request.dto.d.ts +5 -0
  190. package/dist/types/internal/types/dto/genai-fetch-agentic-apps-request.dto.d.mts +6 -0
  191. package/dist/types/internal/types/dto/genai-fetch-agentic-apps-request.dto.d.ts +6 -0
  192. package/dist/types/internal/types/dto/genai-fetch-agentic-apps-response.dto.d.mts +10 -0
  193. package/dist/types/internal/types/dto/genai-fetch-agentic-apps-response.dto.d.ts +10 -0
  194. package/dist/types/internal/types/dto/genai-fetch-assistants-request.dto.d.mts +7 -0
  195. package/dist/types/internal/types/dto/genai-fetch-assistants-request.dto.d.ts +7 -0
  196. package/dist/types/internal/types/dto/genai-fetch-assistants-response.dto.d.mts +10 -0
  197. package/dist/types/internal/types/dto/genai-fetch-assistants-response.dto.d.ts +10 -0
  198. package/dist/types/internal/types/dto/genai-send-agentic-app-chat-request.dto.d.mts +4 -0
  199. package/dist/types/internal/types/dto/genai-send-agentic-app-chat-request.dto.d.ts +4 -0
  200. package/dist/types/internal/types/models/agent-chat-action.d.mts +1 -1
  201. package/dist/types/internal/types/models/agent-chat-action.d.ts +1 -1
  202. package/dist/types/internal/types/models/agent-chat-md-chart-widget.d.mts +3 -3
  203. package/dist/types/internal/types/models/agent-chat-md-chart-widget.d.ts +3 -3
  204. package/dist/types/internal/types/models/agent-chat-md-highlight-box-widget.d.mts +1 -1
  205. package/dist/types/internal/types/models/agent-chat-md-highlight-box-widget.d.ts +1 -1
  206. package/dist/types/internal/types/models/agent-chat-md-offer-card-widget.d.mts +3 -3
  207. package/dist/types/internal/types/models/agent-chat-md-offer-card-widget.d.ts +3 -3
  208. package/dist/types/internal/types/models/agent-chat-md-overview-card-widget.d.mts +6 -6
  209. package/dist/types/internal/types/models/agent-chat-md-overview-card-widget.d.ts +6 -6
  210. package/dist/types/internal/types/models/agent-chat-md-renderer.d.mts +1 -1
  211. package/dist/types/internal/types/models/agent-chat-md-renderer.d.ts +1 -1
  212. package/dist/types/internal/types/models/agent-chat-md-table-widget.d.mts +1 -1
  213. package/dist/types/internal/types/models/agent-chat-md-table-widget.d.ts +1 -1
  214. package/dist/types/internal/types/models/agent-chat-md-widget-config.d.mts +8 -8
  215. package/dist/types/internal/types/models/agent-chat-md-widget-config.d.ts +8 -8
  216. package/dist/types/internal/types/models/agent-chat-message.d.mts +3 -3
  217. package/dist/types/internal/types/models/agent-chat-message.d.ts +3 -3
  218. package/dist/types/internal/types/models/agent-chat-runtime-info.d.mts +1 -1
  219. package/dist/types/internal/types/models/agent-chat-runtime-info.d.ts +1 -1
  220. package/dist/types/internal/types/models/agent-chat-usage-chart-item.d.mts +1 -1
  221. package/dist/types/internal/types/models/agent-chat-usage-chart-item.d.ts +1 -1
  222. package/dist/types/internal/types/models/widget-config.d.mts +10 -2
  223. package/dist/types/internal/types/models/widget-config.d.ts +10 -2
  224. package/dist/types/internal/types/models/widget-theme-name.d.mts +2 -0
  225. package/dist/types/internal/types/models/widget-theme-name.d.ts +2 -0
  226. package/dist/types/internal/types/models/widget-ui-options.d.mts +3 -6
  227. package/dist/types/internal/types/models/widget-ui-options.d.ts +3 -6
  228. package/dist/types/internal/utils/agent-chat/widget/chart-data-extractor.d.mts +2 -2
  229. package/dist/types/internal/utils/agent-chat/widget/chart-data-extractor.d.ts +2 -2
  230. package/dist/types/widget/WidgetProvider.d.mts +1 -1
  231. package/dist/types/widget/WidgetProvider.d.ts +1 -1
  232. package/package.json +1 -1
  233. package/dist/types/internal/components/AgentChat/AgentChatFab/index.d.mts +0 -1
  234. package/dist/types/internal/components/AgentChat/AgentChatFab/index.d.ts +0 -1
  235. package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanel.d.mts +0 -33
  236. package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanel.d.ts +0 -33
  237. package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelContentBody.d.mts +0 -10
  238. package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelContentBody.d.ts +0 -10
  239. package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelFooter.d.mts +0 -11
  240. package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelFooter.d.ts +0 -11
  241. package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelHeader.d.mts +0 -7
  242. package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelHeader.d.ts +0 -7
  243. package/dist/types/internal/components/AgentChat/AgentChatPanel/index.d.mts +0 -4
  244. package/dist/types/internal/components/AgentChat/AgentChatPanel/index.d.ts +0 -4
  245. package/dist/types/internal/components/AgentChat/AgentChatTextInput/AgentChatTextInput.d.mts +0 -8
  246. package/dist/types/internal/components/AgentChat/AgentChatTextInput/AgentChatTextInput.d.ts +0 -8
  247. package/dist/types/internal/components/AgentChat/AgentChatTextInput/index.d.mts +0 -1
  248. package/dist/types/internal/components/AgentChat/AgentChatTextInput/index.d.ts +0 -1
  249. package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/AgentChatTypingIndicator.d.mts +0 -11
  250. package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/AgentChatTypingIndicator.d.ts +0 -11
  251. package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/index.d.mts +0 -1
  252. package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/index.d.ts +0 -1
  253. package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/AgentChatVoiceButton.d.mts +0 -7
  254. package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/AgentChatVoiceButton.d.ts +0 -7
  255. package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/index.d.mts +0 -1
  256. package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/index.d.ts +0 -1
  257. package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/AgentChatVoiceRecordingIndicator.d.mts +0 -4
  258. package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/AgentChatVoiceRecordingIndicator.d.ts +0 -4
  259. package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/index.d.mts +0 -1
  260. package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/index.d.ts +0 -1
  261. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdActionsWidget.d.mts +0 -7
  262. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdActionsWidget.d.ts +0 -7
  263. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdChartWidget.d.mts +0 -2
  264. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdChartWidget.d.ts +0 -2
  265. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdHighlightBoxWidget.d.mts +0 -2
  266. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdHighlightBoxWidget.d.ts +0 -2
  267. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdOfferCardWidget.d.mts +0 -2
  268. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdOfferCardWidget.d.ts +0 -2
  269. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRegistry.d.mts +0 -3
  270. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRegistry.d.ts +0 -3
  271. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRenderer.d.mts +0 -2
  272. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRenderer.d.ts +0 -2
  273. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdTableWidget.d.mts +0 -2
  274. package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdTableWidget.d.ts +0 -2
  275. package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidget.d.mts +0 -2
  276. package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidget.d.ts +0 -2
  277. package/dist/types/internal/components/AgentChat/MarkdownRenderer/index.d.mts +0 -8
  278. package/dist/types/internal/components/AgentChat/MarkdownRenderer/index.d.ts +0 -8
  279. package/dist/types/internal/components/AgentChat/index.d.mts +0 -7
  280. package/dist/types/internal/components/AgentChat/index.d.ts +0 -7
  281. package/dist/types/internal/context/AgentChatConfigContext.d.mts +0 -2
  282. package/dist/types/internal/context/AgentChatConfigContext.d.ts +0 -2
  283. package/dist/types/internal/context/AgentChatRuntimeContext.d.mts +0 -2
  284. package/dist/types/internal/context/AgentChatRuntimeContext.d.ts +0 -2
  285. package/dist/types/internal/features/agent-chat/components/AgentChatLauncher/AgentChatLauncher.d.mts +0 -2
  286. package/dist/types/internal/features/agent-chat/components/AgentChatLauncher/AgentChatLauncher.d.ts +0 -2
  287. package/dist/types/internal/hooks/useAccentColor.d.mts +0 -150
  288. package/dist/types/internal/hooks/useAccentColor.d.ts +0 -150
  289. package/dist/types/internal/hooks/useAgentChatActions.d.mts +0 -6
  290. package/dist/types/internal/hooks/useAgentChatActions.d.ts +0 -6
  291. package/dist/types/internal/hooks/useAgentChatChartWidgetUtils.d.mts +0 -7
  292. package/dist/types/internal/hooks/useAgentChatChartWidgetUtils.d.ts +0 -7
  293. package/dist/types/internal/hooks/useAgentChatConfig.d.mts +0 -2
  294. package/dist/types/internal/hooks/useAgentChatConfig.d.ts +0 -2
  295. package/dist/types/internal/hooks/useAgentChatSpeechLanguage.d.mts +0 -1
  296. package/dist/types/internal/hooks/useAgentChatSpeechLanguage.d.ts +0 -1
  297. package/dist/types/internal/hooks/useAgentChatTypingIndicator.d.mts +0 -11
  298. package/dist/types/internal/hooks/useAgentChatTypingIndicator.d.ts +0 -11
  299. package/dist/types/internal/utils/color-utils.d.mts +0 -8
  300. package/dist/types/internal/utils/color-utils.d.ts +0 -8
  301. /package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewAdvantageCard.d.mts +0 -0
  302. /package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewAdvantageCard.d.ts +0 -0
  303. /package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewPriceDisplay.d.mts +0 -0
  304. /package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewPriceDisplay.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ import { WidgetConfig } from '@/types/models/widget-config';
2
+ export declare const AgentConfigContext: import("react").Context<WidgetConfig | null>;
@@ -0,0 +1,2 @@
1
+ import { WidgetConfig } from '@/types/models/widget-config';
2
+ export declare const AgentConfigContext: import("react").Context<WidgetConfig | null>;
@@ -0,0 +1,2 @@
1
+ import { WidgetRuntime } from '@/types/models/widget-runtime';
2
+ export declare const AgentRuntimeContext: import("react").Context<WidgetRuntime>;
@@ -0,0 +1,2 @@
1
+ import { WidgetRuntime } from '@/types/models/widget-runtime';
2
+ export declare const AgentRuntimeContext: import("react").Context<WidgetRuntime>;
@@ -1,4 +1,4 @@
1
- export declare enum AgentChatMessageSender {
1
+ export declare enum AgentMessageSender {
2
2
  USER = "user",
3
3
  ASSISTANT = "assistant"
4
4
  }
@@ -1,4 +1,4 @@
1
- export declare enum AgentChatMessageSender {
1
+ export declare enum AgentMessageSender {
2
2
  USER = "user",
3
3
  ASSISTANT = "assistant"
4
4
  }
@@ -2,5 +2,6 @@ export declare enum MarkdownRendererVisualizationType {
2
2
  CARD = "card",
3
3
  LINK = "link",
4
4
  CHART = "chart",
5
+ USAGE_CHART = "usage-chart",
5
6
  HIGHLIGHT_BOX = "highlightBox"
6
7
  }
@@ -2,5 +2,6 @@ export declare enum MarkdownRendererVisualizationType {
2
2
  CARD = "card",
3
3
  LINK = "link",
4
4
  CHART = "chart",
5
+ USAGE_CHART = "usage-chart",
5
6
  HIGHLIGHT_BOX = "highlightBox"
6
7
  }
@@ -0,0 +1,12 @@
1
+ export declare enum MarkdownRendererWidgetType {
2
+ CHART = "chart",
3
+ USAGE_CHART = "usage-chart",
4
+ OFFER_CARD = "offer-card",
5
+ ADDON_CARD = "addon-card",
6
+ OVERVIEW_CARD = "overview-card",
7
+ ACCOUNT_OVERVIEW = "account-overview",
8
+ TABLE = "table",
9
+ HIGHLIGHT_BOX = "highlight-box",
10
+ INFO_BOX = "info-box",
11
+ ACTIONS = "actions"
12
+ }
@@ -0,0 +1,12 @@
1
+ export declare enum MarkdownRendererWidgetType {
2
+ CHART = "chart",
3
+ USAGE_CHART = "usage-chart",
4
+ OFFER_CARD = "offer-card",
5
+ ADDON_CARD = "addon-card",
6
+ OVERVIEW_CARD = "overview-card",
7
+ ACCOUNT_OVERVIEW = "account-overview",
8
+ TABLE = "table",
9
+ HIGHLIGHT_BOX = "highlight-box",
10
+ INFO_BOX = "info-box",
11
+ ACTIONS = "actions"
12
+ }
@@ -0,0 +1,2 @@
1
+ import type { WidgetIntegrationProps } from '@/types/models/widget-props';
2
+ export declare function AgentLauncher({ runtime, uiOptions }: WidgetIntegrationProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { WidgetIntegrationProps } from '@/types/models/widget-props';
2
+ export declare function AgentLauncher({ runtime, uiOptions }: WidgetIntegrationProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
- import { type AgentChatMessage } from '@/types/models/agent-chat-message';
2
- export { type AgentChatMessage } from '@/types/models/agent-chat-message';
3
- export declare function useAgentChat(): {
4
- messages: AgentChatMessage[];
1
+ import { type AgentMessage } from '@/types/models/agent-chat-message';
2
+ export { type AgentMessage } from '@/types/models/agent-chat-message';
3
+ export declare function useAgent(): {
4
+ messages: AgentMessage[];
5
5
  composerText: string;
6
6
  setComposerText: import("react").Dispatch<import("react").SetStateAction<string>>;
7
7
  isLoading: boolean;
@@ -9,7 +9,8 @@ export declare function useAgentChat(): {
9
9
  sendMessage: (text: string, options?: {
10
10
  showUserBubble?: boolean;
11
11
  }) => Promise<void>;
12
- sendInitialMessage: () => Promise<void>;
12
+ sendInitialMessage: () => Promise<boolean>;
13
13
  resetChat: () => void;
14
+ agentDisplayName: string;
14
15
  canSend: boolean;
15
16
  };
@@ -1,7 +1,7 @@
1
- import { type AgentChatMessage } from '@/types/models/agent-chat-message';
2
- export { type AgentChatMessage } from '@/types/models/agent-chat-message';
3
- export declare function useAgentChat(): {
4
- messages: AgentChatMessage[];
1
+ import { type AgentMessage } from '@/types/models/agent-chat-message';
2
+ export { type AgentMessage } from '@/types/models/agent-chat-message';
3
+ export declare function useAgent(): {
4
+ messages: AgentMessage[];
5
5
  composerText: string;
6
6
  setComposerText: import("react").Dispatch<import("react").SetStateAction<string>>;
7
7
  isLoading: boolean;
@@ -9,7 +9,8 @@ export declare function useAgentChat(): {
9
9
  sendMessage: (text: string, options?: {
10
10
  showUserBubble?: boolean;
11
11
  }) => Promise<void>;
12
- sendInitialMessage: () => Promise<void>;
12
+ sendInitialMessage: () => Promise<boolean>;
13
13
  resetChat: () => void;
14
+ agentDisplayName: string;
14
15
  canSend: boolean;
15
16
  };
@@ -0,0 +1,6 @@
1
+ import { AgentAction } from '@/types/models/agent-chat-action';
2
+ import { AgentMessage } from '@/types/models/agent-chat-message';
3
+ export declare function useAgentActions(messages: AgentMessage[], setComposerText: (text: string) => void): {
4
+ actions: AgentAction[];
5
+ handleActionClick: (action: AgentAction) => void;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { AgentAction } from '@/types/models/agent-chat-action';
2
+ import { AgentMessage } from '@/types/models/agent-chat-message';
3
+ export declare function useAgentActions(messages: AgentMessage[], setComposerText: (text: string) => void): {
4
+ actions: AgentAction[];
5
+ handleActionClick: (action: AgentAction) => void;
6
+ };
@@ -0,0 +1,7 @@
1
+ import { AgentMarkdownChartWidgetItem } from '@/types/models/agent-chat-md-chart-widget';
2
+ export declare function useAgentChartWidgetUtils(): {
3
+ getPercent: (item: AgentMarkdownChartWidgetItem) => number;
4
+ getColor: (key: string) => string;
5
+ getShortLabel: (item: AgentMarkdownChartWidgetItem) => string;
6
+ getIcon: (key: string) => React.ComponentType<React.SVGProps<SVGSVGElement>>;
7
+ };
@@ -0,0 +1,7 @@
1
+ import { AgentMarkdownChartWidgetItem } from '@/types/models/agent-chat-md-chart-widget';
2
+ export declare function useAgentChartWidgetUtils(): {
3
+ getPercent: (item: AgentMarkdownChartWidgetItem) => number;
4
+ getColor: (key: string) => string;
5
+ getShortLabel: (item: AgentMarkdownChartWidgetItem) => string;
6
+ getIcon: (key: string) => React.ComponentType<React.SVGProps<SVGSVGElement>>;
7
+ };
@@ -0,0 +1,2 @@
1
+ import { ResolvedWidgetConfig } from '@/types/models/widget-config';
2
+ export declare function useAgentConfig(): ResolvedWidgetConfig;
@@ -0,0 +1,2 @@
1
+ import { ResolvedWidgetConfig } from '@/types/models/widget-config';
2
+ export declare function useAgentConfig(): ResolvedWidgetConfig;
@@ -0,0 +1 @@
1
+ export declare function useAgentCustomerToken(): string | null;
@@ -0,0 +1 @@
1
+ export declare function useAgentCustomerToken(): string | null;
@@ -1,5 +1,5 @@
1
1
  import { WidgetUiOptions } from '@/types/models/widget-ui-options';
2
- export declare function useAgentChatLayout(ui?: WidgetUiOptions, panelWidth?: number, isOpen?: boolean): {
2
+ export declare function useAgentLayout(ui?: WidgetUiOptions, panelWidth?: number, isOpen?: boolean, panelHeight?: number | string, panelTopOffset?: number): {
3
3
  panelResizableWidth: {
4
4
  offset: number;
5
5
  handlePointerDown: (event: React.PointerEvent<HTMLElement>) => void;
@@ -8,4 +8,9 @@ export declare function useAgentChatLayout(ui?: WidgetUiOptions, panelWidth?: nu
8
8
  touchAction: string;
9
9
  };
10
10
  };
11
+ actualWidth: number;
12
+ shellGap: string;
13
+ floatingTop: string;
14
+ floatingHeight: string;
15
+ floatingMaxHeight: string;
11
16
  };
@@ -1,5 +1,5 @@
1
1
  import { WidgetUiOptions } from '@/types/models/widget-ui-options';
2
- export declare function useAgentChatLayout(ui?: WidgetUiOptions, panelWidth?: number, isOpen?: boolean): {
2
+ export declare function useAgentLayout(ui?: WidgetUiOptions, panelWidth?: number, isOpen?: boolean, panelHeight?: number | string, panelTopOffset?: number): {
3
3
  panelResizableWidth: {
4
4
  offset: number;
5
5
  handlePointerDown: (event: React.PointerEvent<HTMLElement>) => void;
@@ -8,4 +8,9 @@ export declare function useAgentChatLayout(ui?: WidgetUiOptions, panelWidth?: nu
8
8
  touchAction: string;
9
9
  };
10
10
  };
11
+ actualWidth: number;
12
+ shellGap: string;
13
+ floatingTop: string;
14
+ floatingHeight: string;
15
+ floatingMaxHeight: string;
11
16
  };
@@ -6,4 +6,4 @@ export type MdRendererElement = {
6
6
  content?: string;
7
7
  widget?: ReactNode;
8
8
  };
9
- export declare function useAgentChatMdRendererElements(content: string, onWidgetEvent?: (event: WidgetEvent) => void): MdRendererElement[];
9
+ export declare function useAgentMarkdownRendererElements(content: string, onWidgetEvent?: (event: WidgetEvent) => void): MdRendererElement[];
@@ -6,4 +6,4 @@ export type MdRendererElement = {
6
6
  content?: string;
7
7
  widget?: ReactNode;
8
8
  };
9
- export declare function useAgentChatMdRendererElements(content: string, onWidgetEvent?: (event: WidgetEvent) => void): MdRendererElement[];
9
+ export declare function useAgentMarkdownRendererElements(content: string, onWidgetEvent?: (event: WidgetEvent) => void): MdRendererElement[];
@@ -1,6 +1,6 @@
1
1
  import { OverviewCardVisualizationConfig } from '@/types/models/agent-chat-md-widget-config';
2
2
  import { BillingAccountData } from '@/types/models/billing-account-data';
3
- export declare function useAgentChatOverviewCardData(data: unknown, visualizationConfig?: OverviewCardVisualizationConfig): {
3
+ export declare function useAgentOverviewCardData(data: unknown, visualizationConfig?: OverviewCardVisualizationConfig): {
4
4
  overviewItems: {
5
5
  billingAccountId: string | undefined;
6
6
  title: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { OverviewCardVisualizationConfig } from '@/types/models/agent-chat-md-widget-config';
2
2
  import { BillingAccountData } from '@/types/models/billing-account-data';
3
- export declare function useAgentChatOverviewCardData(data: unknown, visualizationConfig?: OverviewCardVisualizationConfig): {
3
+ export declare function useAgentOverviewCardData(data: unknown, visualizationConfig?: OverviewCardVisualizationConfig): {
4
4
  overviewItems: {
5
5
  billingAccountId: string | undefined;
6
6
  title: string | undefined;
@@ -1,2 +1,2 @@
1
1
  import { WidgetRuntime } from '@/types/models/widget-runtime';
2
- export declare function useAgentChatRuntime(): WidgetRuntime;
2
+ export declare function useAgentRuntime(): WidgetRuntime;
@@ -1,2 +1,2 @@
1
1
  import { WidgetRuntime } from '@/types/models/widget-runtime';
2
- export declare function useAgentChatRuntime(): WidgetRuntime;
2
+ export declare function useAgentRuntime(): WidgetRuntime;
@@ -1,4 +1,4 @@
1
- export declare function useAgentChatRuntimeInfo(): {
2
- runtimeInfo: import("../types/models/agent-chat-runtime-info").AgentChatRuntimeInfo;
1
+ export declare function useAgentRuntimeInfo(): {
2
+ runtimeInfo: import("../types/models/agent-chat-runtime-info").AgentRuntimeInfo;
3
3
  refreshRuntimeInfo: () => Promise<void>;
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare function useAgentChatRuntimeInfo(): {
2
- runtimeInfo: import("../types/models/agent-chat-runtime-info").AgentChatRuntimeInfo;
1
+ export declare function useAgentRuntimeInfo(): {
2
+ runtimeInfo: import("../types/models/agent-chat-runtime-info").AgentRuntimeInfo;
3
3
  refreshRuntimeInfo: () => Promise<void>;
4
4
  };
@@ -0,0 +1 @@
1
+ export declare function useAgentSpeechLanguage(): string;
@@ -0,0 +1 @@
1
+ export declare function useAgentSpeechLanguage(): string;
@@ -7,7 +7,7 @@ export interface UseSpeechToTextOptions {
7
7
  onTextChange?: (text: string) => void;
8
8
  pauseOnSubmit?: boolean;
9
9
  }
10
- export declare function useAgentChatSpeechToText(options?: UseSpeechToTextOptions): {
10
+ export declare function useAgentSpeechToText(options?: UseSpeechToTextOptions): {
11
11
  isListening: boolean;
12
12
  transcript: string;
13
13
  isSupported: boolean;
@@ -7,7 +7,7 @@ export interface UseSpeechToTextOptions {
7
7
  onTextChange?: (text: string) => void;
8
8
  pauseOnSubmit?: boolean;
9
9
  }
10
- export declare function useAgentChatSpeechToText(options?: UseSpeechToTextOptions): {
10
+ export declare function useAgentSpeechToText(options?: UseSpeechToTextOptions): {
11
11
  isListening: boolean;
12
12
  transcript: string;
13
13
  isSupported: boolean;
@@ -0,0 +1,11 @@
1
+ export interface UseAgentTypingIndicatorOptions {
2
+ mode?: 'thinking' | 'exploring' | 'writing';
3
+ autoCycle?: boolean;
4
+ cycleMs?: number;
5
+ exploringAfterMs?: number;
6
+ writingAfterMs?: number;
7
+ messages?: string[];
8
+ }
9
+ export declare function useAgentTypingIndicator({ mode, autoCycle, cycleMs, exploringAfterMs, writingAfterMs, messages, }: UseAgentTypingIndicatorOptions): {
10
+ label: string;
11
+ };
@@ -0,0 +1,11 @@
1
+ export interface UseAgentTypingIndicatorOptions {
2
+ mode?: 'thinking' | 'exploring' | 'writing';
3
+ autoCycle?: boolean;
4
+ cycleMs?: number;
5
+ exploringAfterMs?: number;
6
+ writingAfterMs?: number;
7
+ messages?: string[];
8
+ }
9
+ export declare function useAgentTypingIndicator({ mode, autoCycle, cycleMs, exploringAfterMs, writingAfterMs, messages, }: UseAgentTypingIndicatorOptions): {
10
+ label: string;
11
+ };
@@ -1,5 +1,5 @@
1
1
  import { WidgetUiOptions } from '@/types/models/widget-ui-options';
2
- export declare function useAgentChatUiOptions(ui?: WidgetUiOptions): {
2
+ export declare function useAgentUiOptions(ui?: WidgetUiOptions): {
3
3
  panelWidth: number;
4
4
  panelHeight: string | number;
5
5
  panelHeaderHeight: number;
@@ -18,7 +18,4 @@ export declare function useAgentChatUiOptions(ui?: WidgetUiOptions): {
18
18
  right: number;
19
19
  bottom: number;
20
20
  };
21
- fabButtonLabel: string | undefined;
22
- panelTitle: string;
23
- accentColor: string | undefined;
24
21
  };
@@ -1,5 +1,5 @@
1
1
  import { WidgetUiOptions } from '@/types/models/widget-ui-options';
2
- export declare function useAgentChatUiOptions(ui?: WidgetUiOptions): {
2
+ export declare function useAgentUiOptions(ui?: WidgetUiOptions): {
3
3
  panelWidth: number;
4
4
  panelHeight: string | number;
5
5
  panelHeaderHeight: number;
@@ -18,7 +18,4 @@ export declare function useAgentChatUiOptions(ui?: WidgetUiOptions): {
18
18
  right: number;
19
19
  bottom: number;
20
20
  };
21
- fabButtonLabel: string | undefined;
22
- panelTitle: string;
23
- accentColor: string | undefined;
24
21
  };
@@ -1,4 +1,4 @@
1
- interface UseAgentChatVoiceHandlersParams {
1
+ interface UseAgentVoiceHandlersParams {
2
2
  isListening: boolean;
3
3
  stopListening: () => void;
4
4
  reset: () => void;
@@ -8,7 +8,7 @@ interface UseAgentChatVoiceHandlersParams {
8
8
  startListening: () => void;
9
9
  close: () => void;
10
10
  }
11
- export declare function useAgentChatVoiceHandlers({ isListening, stopListening, reset, sendMessage, composerText, setComposerText, startListening, close, }: UseAgentChatVoiceHandlersParams): {
11
+ export declare function useAgentVoiceHandlers({ isListening, stopListening, reset, sendMessage, composerText, setComposerText, startListening, close, }: UseAgentVoiceHandlersParams): {
12
12
  handleSubmit: () => void;
13
13
  handleToggleVoice: () => void;
14
14
  handleClose: () => void;
@@ -1,4 +1,4 @@
1
- interface UseAgentChatVoiceHandlersParams {
1
+ interface UseAgentVoiceHandlersParams {
2
2
  isListening: boolean;
3
3
  stopListening: () => void;
4
4
  reset: () => void;
@@ -8,7 +8,7 @@ interface UseAgentChatVoiceHandlersParams {
8
8
  startListening: () => void;
9
9
  close: () => void;
10
10
  }
11
- export declare function useAgentChatVoiceHandlers({ isListening, stopListening, reset, sendMessage, composerText, setComposerText, startListening, close, }: UseAgentChatVoiceHandlersParams): {
11
+ export declare function useAgentVoiceHandlers({ isListening, stopListening, reset, sendMessage, composerText, setComposerText, startListening, close, }: UseAgentVoiceHandlersParams): {
12
12
  handleSubmit: () => void;
13
13
  handleToggleVoice: () => void;
14
14
  handleClose: () => void;
@@ -3,5 +3,5 @@ export declare function useGenaiLogin(forceReAuth?: boolean): {
3
3
  isLoggingIn: boolean;
4
4
  loginError: string | null;
5
5
  loginToken: string | null;
6
- genaiInit: Required<Pick<WidgetConfig, "serviceAccount" | "serviceKey" | "tenantId">> | null;
6
+ genaiInit: Required<Pick<WidgetConfig, "tenantId" | "serviceAccount" | "serviceKey">> | null;
7
7
  };
@@ -3,5 +3,5 @@ export declare function useGenaiLogin(forceReAuth?: boolean): {
3
3
  isLoggingIn: boolean;
4
4
  loginError: string | null;
5
5
  loginToken: string | null;
6
- genaiInit: Required<Pick<WidgetConfig, "serviceAccount" | "serviceKey" | "tenantId">> | null;
6
+ genaiInit: Required<Pick<WidgetConfig, "tenantId" | "serviceAccount" | "serviceKey">> | null;
7
7
  };
@@ -0,0 +1,5 @@
1
+ import { AgentType } from '@/types/models/widget-config';
2
+ export declare function useResolvedAgentType(agentType: AgentType | undefined): {
3
+ agentType: AgentType;
4
+ isMultiAgent: boolean;
5
+ };
@@ -0,0 +1,5 @@
1
+ import { AgentType } from '@/types/models/widget-config';
2
+ export declare function useResolvedAgentType(agentType: AgentType | undefined): {
3
+ agentType: AgentType;
4
+ isMultiAgent: boolean;
5
+ };
@@ -0,0 +1,13 @@
1
+ import { AgentType } from '@/types/models/widget-config';
2
+ interface SendChatMessageParams {
3
+ agentType: AgentType;
4
+ message: string;
5
+ selectedAgentId: number;
6
+ customerId?: string;
7
+ customerToken: string;
8
+ chatId: number | null;
9
+ }
10
+ export declare function useSendChatMessage(): {
11
+ sendChatMessage: (params: SendChatMessageParams) => Promise<import("../types/dto/genai-agent-message-response.dto").GenaiAgentMessageResponse>;
12
+ };
13
+ export {};
@@ -0,0 +1,13 @@
1
+ import { AgentType } from '@/types/models/widget-config';
2
+ interface SendChatMessageParams {
3
+ agentType: AgentType;
4
+ message: string;
5
+ selectedAgentId: number;
6
+ customerId?: string;
7
+ customerToken: string;
8
+ chatId: number | null;
9
+ }
10
+ export declare function useSendChatMessage(): {
11
+ sendChatMessage: (params: SendChatMessageParams) => Promise<import("../types/dto/genai-agent-message-response.dto").GenaiAgentMessageResponse>;
12
+ };
13
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconAgentOrb({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconAgentOrbProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconAgentOrb({ size, ...props }: IconAgentOrbProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconAgentOrb({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconAgentOrbProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconAgentOrb({ size, ...props }: IconAgentOrbProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconCancel({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconCancelProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconCancel({ size, ...props }: IconCancelProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconCancel({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconCancelProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconCancel({ size, ...props }: IconCancelProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconMicrophone({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconMicrophoneProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconMicrophone({ size, ...props }: IconMicrophoneProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconMicrophone({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconMicrophoneProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconMicrophone({ size, ...props }: IconMicrophoneProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconSend({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconSendProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconSend({ size, ...props }: IconSendProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconSend({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconSendProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconSend({ size, ...props }: IconSendProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconStop({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconStopProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconStop({ size, ...props }: IconStopProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare function IconStop({ ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ interface IconStopProps extends Omit<React.SVGProps<SVGSVGElement>, 'size'> {
3
+ size?: number | string;
4
+ }
5
+ export declare function IconStop({ size, ...props }: IconStopProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare function resolveIconSize(size?: number | string): Pick<SVGProps<SVGSVGElement>, 'width' | 'height'>;
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare function resolveIconSize(size?: number | string): Pick<SVGProps<SVGSVGElement>, 'width' | 'height'>;
@@ -1,4 +1,7 @@
1
- import { AgentChatAction } from '@/types/models/agent-chat-action';
1
+ import { AgentAction } from '@/types/models/agent-chat-action';
2
+ export declare function normalizeActionsPayload(value: unknown): {
3
+ actions: AgentAction[];
4
+ } | null;
2
5
  export declare function isActionsPayload(value: unknown): value is {
3
- actions: AgentChatAction[];
6
+ actions: AgentAction[];
4
7
  };
@@ -1,4 +1,7 @@
1
- import { AgentChatAction } from '@/types/models/agent-chat-action';
1
+ import { AgentAction } from '@/types/models/agent-chat-action';
2
+ export declare function normalizeActionsPayload(value: unknown): {
3
+ actions: AgentAction[];
4
+ } | null;
2
5
  export declare function isActionsPayload(value: unknown): value is {
3
- actions: AgentChatAction[];
6
+ actions: AgentAction[];
4
7
  };
@@ -1,3 +1,3 @@
1
- import { WidgetConfig } from '@/types/models/widget-config';
2
- export declare function resolveAssistantId(config: WidgetConfig): number | null;
3
- export declare function resolveInitialMessage(config: WidgetConfig): string | null;
1
+ import { ResolvedWidgetConfig } from '@/types/models/widget-config';
2
+ export declare function resolveAssistantId(config: ResolvedWidgetConfig): number | null;
3
+ export declare function resolveInitialMessage(config: ResolvedWidgetConfig): string | null;
@@ -1,3 +1,3 @@
1
- import { WidgetConfig } from '@/types/models/widget-config';
2
- export declare function resolveAssistantId(config: WidgetConfig): number | null;
3
- export declare function resolveInitialMessage(config: WidgetConfig): string | null;
1
+ import { ResolvedWidgetConfig } from '@/types/models/widget-config';
2
+ export declare function resolveAssistantId(config: ResolvedWidgetConfig): number | null;
3
+ export declare function resolveInitialMessage(config: ResolvedWidgetConfig): string | null;
@@ -0,0 +1,4 @@
1
+ import { GenaiFetchAgenticAppsResponse } from '@/types/dto/genai-fetch-agentic-apps-response.dto';
2
+ import { GenaiFetchAssistantsResponse } from '@/types/dto/genai-fetch-assistants-response.dto';
3
+ import { WidgetAssistant } from '@/types/models/widget-config';
4
+ export declare function mapGenaiAgentCatalogResponseToWidgetAssistants(response: GenaiFetchAssistantsResponse | GenaiFetchAgenticAppsResponse): WidgetAssistant[];
@@ -0,0 +1,4 @@
1
+ import { GenaiFetchAgenticAppsResponse } from '@/types/dto/genai-fetch-agentic-apps-response.dto';
2
+ import { GenaiFetchAssistantsResponse } from '@/types/dto/genai-fetch-assistants-response.dto';
3
+ import { WidgetAssistant } from '@/types/models/widget-config';
4
+ export declare function mapGenaiAgentCatalogResponseToWidgetAssistants(response: GenaiFetchAssistantsResponse | GenaiFetchAgenticAppsResponse): WidgetAssistant[];