hume 0.8.4 → 0.8.5

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 (316) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +820 -182
  2. package/.mock/definition/empathic-voice/chatGroups.yml +54 -17
  3. package/.mock/definition/empathic-voice/chats.yml +51 -19
  4. package/.mock/definition/empathic-voice/configs.yml +198 -61
  5. package/.mock/definition/empathic-voice/prompts.yml +126 -27
  6. package/.mock/definition/empathic-voice/tools.yml +116 -23
  7. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
  8. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
  9. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +7 -3
  10. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +10 -4
  11. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
  12. package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  13. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +7 -3
  14. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +7 -3
  15. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +22 -10
  16. package/api/resources/empathicVoice/resources/configs/client/Client.js +31 -19
  17. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
  18. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +7 -3
  19. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +14 -3
  20. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +14 -3
  21. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
  22. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +22 -10
  23. package/api/resources/empathicVoice/resources/prompts/client/Client.js +31 -19
  24. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +8 -2
  25. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +8 -2
  26. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
  27. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
  28. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +7 -3
  29. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -10
  30. package/api/resources/empathicVoice/resources/tools/client/Client.js +31 -19
  31. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
  32. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
  33. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
  34. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
  35. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
  36. package/api/resources/empathicVoice/types/Inference.d.ts +1 -1
  37. package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  38. package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
  39. package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
  40. package/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
  41. package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
  42. package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
  43. package/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
  44. package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
  45. package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  46. package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  47. package/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
  48. package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  49. package/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
  50. package/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
  51. package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
  52. package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
  53. package/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
  54. package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
  55. package/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
  56. package/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
  57. package/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
  58. package/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
  59. package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
  60. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
  61. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
  62. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
  63. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
  64. package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
  65. package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
  66. package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
  67. package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
  68. package/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
  69. package/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
  70. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
  71. package/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
  72. package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
  73. package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
  74. package/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
  75. package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
  76. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
  77. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
  78. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
  79. package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
  80. package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
  81. package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
  82. package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
  83. package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
  84. package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
  85. package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
  86. package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
  87. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
  88. package/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
  89. package/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
  90. package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
  91. package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
  92. package/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
  93. package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
  94. package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
  95. package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
  96. package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
  97. package/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
  98. package/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
  99. package/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
  100. package/api/resources/empathicVoice/types/index.d.ts +14 -0
  101. package/api/resources/empathicVoice/types/index.js +14 -0
  102. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  103. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
  104. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
  105. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +7 -3
  106. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +10 -4
  107. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
  108. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  109. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +7 -3
  110. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +7 -3
  111. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +22 -10
  112. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +31 -19
  113. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
  114. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +7 -3
  115. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +14 -3
  116. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +14 -3
  117. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
  118. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +22 -10
  119. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +31 -19
  120. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +8 -2
  121. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +8 -2
  122. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
  123. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
  124. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +7 -3
  125. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -10
  126. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +31 -19
  127. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
  128. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
  129. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
  130. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
  131. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
  132. package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -1
  133. package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  134. package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
  135. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
  136. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
  137. package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
  138. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
  139. package/dist/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
  140. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
  141. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  142. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  143. package/dist/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
  144. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  145. package/dist/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
  146. package/dist/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
  147. package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
  148. package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
  149. package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
  150. package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
  151. package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
  152. package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
  153. package/dist/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
  154. package/dist/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
  155. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
  156. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
  157. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
  158. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
  159. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
  160. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
  161. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
  162. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
  163. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
  164. package/dist/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
  165. package/dist/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
  166. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
  167. package/dist/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
  168. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
  169. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
  170. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
  171. package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
  172. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
  173. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
  174. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
  175. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
  176. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
  177. package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
  178. package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
  179. package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
  180. package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
  181. package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
  182. package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
  183. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
  184. package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
  185. package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
  186. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
  187. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
  188. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
  189. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
  190. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
  191. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
  192. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
  193. package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
  194. package/dist/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
  195. package/dist/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
  196. package/dist/api/resources/empathicVoice/types/index.d.ts +14 -0
  197. package/dist/api/resources/empathicVoice/types/index.js +14 -0
  198. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  199. package/dist/errors/HumeError.js +1 -1
  200. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
  201. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
  202. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
  203. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
  204. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
  205. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
  206. package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
  207. package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
  208. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
  209. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
  210. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
  211. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
  212. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
  213. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
  214. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
  215. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
  216. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
  217. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
  218. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
  219. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
  220. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
  221. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
  222. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
  223. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
  224. package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
  225. package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
  226. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
  227. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
  228. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  229. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  230. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
  231. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
  232. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
  233. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
  234. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
  235. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
  236. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
  237. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
  238. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
  239. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
  240. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
  241. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
  242. package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
  243. package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
  244. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
  245. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
  246. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
  247. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
  248. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
  249. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
  250. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
  251. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
  252. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
  253. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
  254. package/dist/serialization/resources/empathicVoice/types/index.d.ts +14 -0
  255. package/dist/serialization/resources/empathicVoice/types/index.js +14 -0
  256. package/errors/HumeError.js +1 -1
  257. package/eslint.config.mjs +1 -1
  258. package/{jest.config.mjs → jest.config.js} +1 -3
  259. package/package.json +2 -2
  260. package/reference.md +86 -32
  261. package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
  262. package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
  263. package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
  264. package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
  265. package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
  266. package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
  267. package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
  268. package/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
  269. package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
  270. package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
  271. package/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
  272. package/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
  273. package/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
  274. package/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
  275. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
  276. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
  277. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
  278. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
  279. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
  280. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
  281. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
  282. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
  283. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
  284. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
  285. package/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
  286. package/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
  287. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
  288. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
  289. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  290. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  291. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
  292. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
  293. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
  294. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
  295. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
  296. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
  297. package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
  298. package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
  299. package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
  300. package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
  301. package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
  302. package/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
  303. package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
  304. package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
  305. package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
  306. package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
  307. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
  308. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
  309. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
  310. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
  311. package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
  312. package/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
  313. package/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
  314. package/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
  315. package/serialization/resources/empathicVoice/types/index.d.ts +14 -0
  316. package/serialization/resources/empathicVoice/types/index.js +14 -0
package/reference.md CHANGED
@@ -177,7 +177,7 @@ await client.empathicVoice.tools.listToolVersions(
177
177
 
178
178
  <dd>
179
179
 
180
- **id: `string`** — Identifier for a tool. Formatted as a UUID.
180
+ **id: `string`** — Identifier for a Tool. Formatted as a UUID.
181
181
 
182
182
  </dd>
183
183
 
@@ -260,7 +260,7 @@ await client.empathicVoice.tools.createToolVersion(
260
260
 
261
261
  <dd>
262
262
 
263
- **id: `string`** — Identifier for a tool. Formatted as a UUID.
263
+ **id: `string`** — Identifier for a Tool. Formatted as a UUID.
264
264
 
265
265
  </dd>
266
266
 
@@ -335,7 +335,7 @@ await client.empathicVoice.tools.deleteTool(
335
335
 
336
336
  <dd>
337
337
 
338
- **id: `string`** — Identifier for a tool. Formatted as a UUID.
338
+ **id: `string`** — Identifier for a Tool. Formatted as a UUID.
339
339
 
340
340
  </dd>
341
341
 
@@ -403,7 +403,7 @@ await client.empathicVoice.tools.updateToolName(
403
403
 
404
404
  <dd>
405
405
 
406
- **id: `string`** — Identifier for a tool. Formatted as a UUID.
406
+ **id: `string`** — Identifier for a Tool. Formatted as a UUID.
407
407
 
408
408
  </dd>
409
409
 
@@ -479,7 +479,7 @@ await client.empathicVoice.tools.getToolVersion(
479
479
 
480
480
  <dd>
481
481
 
482
- **id: `string`** — Identifier for a tool. Formatted as a UUID.
482
+ **id: `string`** — Identifier for a Tool. Formatted as a UUID.
483
483
 
484
484
  </dd>
485
485
 
@@ -489,7 +489,13 @@ await client.empathicVoice.tools.getToolVersion(
489
489
 
490
490
  <dd>
491
491
 
492
- **version: `number`** — Version number for a tool. Version numbers should be integers.
492
+ **version: `number`**
493
+
494
+ Version number for a Tool.
495
+
496
+ Tools, as well as Configs and Prompts, are versioned. This versioning system supports iterative development, allowing you to progressively refine tools and revert to previous versions if needed.
497
+
498
+ Version numbers are integer values representing different iterations of the Tool. Each update to the Tool increments its version number.
493
499
 
494
500
  </dd>
495
501
 
@@ -555,7 +561,7 @@ await client.empathicVoice.tools.deleteToolVersion(
555
561
 
556
562
  <dd>
557
563
 
558
- **id: `string`** — Identifier for a tool. Formatted as a UUID.
564
+ **id: `string`** — Identifier for a Tool. Formatted as a UUID.
559
565
 
560
566
  </dd>
561
567
 
@@ -565,7 +571,13 @@ await client.empathicVoice.tools.deleteToolVersion(
565
571
 
566
572
  <dd>
567
573
 
568
- **version: `number`** — Version number for a tool. Version numbers should be integers.
574
+ **version: `number`**
575
+
576
+ Version number for a Tool.
577
+
578
+ Tools, as well as Configs and Prompts, are versioned. This versioning system supports iterative development, allowing you to progressively refine tools and revert to previous versions if needed.
579
+
580
+ Version numbers are integer values representing different iterations of the Tool. Each update to the Tool increments its version number.
569
581
 
570
582
  </dd>
571
583
 
@@ -635,7 +647,7 @@ await client.empathicVoice.tools.updateToolDescription(
635
647
 
636
648
  <dd>
637
649
 
638
- **id: `string`** — Identifier for a tool. Formatted as a UUID.
650
+ **id: `string`** — Identifier for a Tool. Formatted as a UUID.
639
651
 
640
652
  </dd>
641
653
 
@@ -645,7 +657,13 @@ await client.empathicVoice.tools.updateToolDescription(
645
657
 
646
658
  <dd>
647
659
 
648
- **version: `number`** — Version number for a tool. Version numbers should be integers.
660
+ **version: `number`**
661
+
662
+ Version number for a Tool.
663
+
664
+ Tools, as well as Configs and Prompts, are versioned. This versioning system supports iterative development, allowing you to progressively refine tools and revert to previous versions if needed.
665
+
666
+ Version numbers are integer values representing different iterations of the Tool. Each update to the Tool increments its version number.
649
667
 
650
668
  </dd>
651
669
 
@@ -849,7 +867,7 @@ await client.empathicVoice.prompts.listPromptVersions('id');
849
867
 
850
868
  <dd>
851
869
 
852
- **id: `string`** — Identifier for a tool. Formatted as a UUID.
870
+ **id: `string`** — Identifier for a Prompt. Formatted as a UUID.
853
871
 
854
872
  </dd>
855
873
 
@@ -924,7 +942,7 @@ await client.empathicVoice.prompts.createPromptVerison('id', {
924
942
 
925
943
  <dd>
926
944
 
927
- **id: `string`** — Identifier for a prompt. Formatted as a UUID.
945
+ **id: `string`** — Identifier for a Prompt. Formatted as a UUID.
928
946
 
929
947
  </dd>
930
948
 
@@ -997,7 +1015,7 @@ await client.empathicVoice.prompts.deletePrompt('id');
997
1015
 
998
1016
  <dd>
999
1017
 
1000
- **id: `string`** — Identifier for a prompt. Formatted as a UUID.
1018
+ **id: `string`** — Identifier for a Prompt. Formatted as a UUID.
1001
1019
 
1002
1020
  </dd>
1003
1021
 
@@ -1062,7 +1080,7 @@ await client.empathicVoice.prompts.updatePromptName('string', {
1062
1080
 
1063
1081
  <dd>
1064
1082
 
1065
- **id: `string`** — Identifier for a prompt. Formatted as a UUID.
1083
+ **id: `string`** — Identifier for a Prompt. Formatted as a UUID.
1066
1084
 
1067
1085
  </dd>
1068
1086
 
@@ -1135,7 +1153,7 @@ await client.empathicVoice.prompts.getPromptVersion('id', 1);
1135
1153
 
1136
1154
  <dd>
1137
1155
 
1138
- **id: `string`** — Identifier for a prompt. Formatted as a UUID.
1156
+ **id: `string`** — Identifier for a Prompt. Formatted as a UUID.
1139
1157
 
1140
1158
  </dd>
1141
1159
 
@@ -1145,7 +1163,13 @@ await client.empathicVoice.prompts.getPromptVersion('id', 1);
1145
1163
 
1146
1164
  <dd>
1147
1165
 
1148
- **version: `number`** — Version number for a prompt. Version numbers should be integers.
1166
+ **version: `number`**
1167
+
1168
+ Version number for a Prompt.
1169
+
1170
+ Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
1171
+
1172
+ Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
1149
1173
 
1150
1174
  </dd>
1151
1175
 
@@ -1208,7 +1232,7 @@ await client.empathicVoice.prompts.deletePromptVersion('id', 1);
1208
1232
 
1209
1233
  <dd>
1210
1234
 
1211
- **id: `string`** — Identifier for a prompt. Formatted as a UUID.
1235
+ **id: `string`** — Identifier for a Prompt. Formatted as a UUID.
1212
1236
 
1213
1237
  </dd>
1214
1238
 
@@ -1218,7 +1242,13 @@ await client.empathicVoice.prompts.deletePromptVersion('id', 1);
1218
1242
 
1219
1243
  <dd>
1220
1244
 
1221
- **version: `number`** — Version number for a prompt. Version numbers should be integers.
1245
+ **version: `number`**
1246
+
1247
+ Version number for a Prompt.
1248
+
1249
+ Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
1250
+
1251
+ Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
1222
1252
 
1223
1253
  </dd>
1224
1254
 
@@ -1281,7 +1311,7 @@ await client.empathicVoice.prompts.updatePromptDescription('id', 1);
1281
1311
 
1282
1312
  <dd>
1283
1313
 
1284
- **id: `string`** — Identifier for a prompt. Formatted as a UUID.
1314
+ **id: `string`** — Identifier for a Prompt. Formatted as a UUID.
1285
1315
 
1286
1316
  </dd>
1287
1317
 
@@ -1291,7 +1321,13 @@ await client.empathicVoice.prompts.updatePromptDescription('id', 1);
1291
1321
 
1292
1322
  <dd>
1293
1323
 
1294
- **version: `number`** — Version number for a prompt. Version numbers should be integers.
1324
+ **version: `number`**
1325
+
1326
+ Version number for a Prompt.
1327
+
1328
+ Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
1329
+
1330
+ Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
1295
1331
 
1296
1332
  </dd>
1297
1333
 
@@ -1494,7 +1530,7 @@ await client.empathicVoice.configs.listConfigVersions('id');
1494
1530
 
1495
1531
  <dd>
1496
1532
 
1497
- **id: `string`** — Identifier for a config. Formatted as a UUID.
1533
+ **id: `string`** — Identifier for a Config. Formatted as a UUID.
1498
1534
 
1499
1535
  </dd>
1500
1536
 
@@ -1567,7 +1603,7 @@ await client.empathicVoice.configs.createConfigVersion('id');
1567
1603
 
1568
1604
  <dd>
1569
1605
 
1570
- **id: `string`** — Identifier for a config. Formatted as a UUID.
1606
+ **id: `string`** — Identifier for a Config. Formatted as a UUID.
1571
1607
 
1572
1608
  </dd>
1573
1609
 
@@ -1640,7 +1676,7 @@ await client.empathicVoice.configs.deleteConfig('id');
1640
1676
 
1641
1677
  <dd>
1642
1678
 
1643
- **id: `string`** — Identifier for a config. Formatted as a UUID.
1679
+ **id: `string`** — Identifier for a Config. Formatted as a UUID.
1644
1680
 
1645
1681
  </dd>
1646
1682
 
@@ -1705,7 +1741,7 @@ await client.empathicVoice.configs.updateConfigName('string', {
1705
1741
 
1706
1742
  <dd>
1707
1743
 
1708
- **id: `string`** — Identifier for a config. Formatted as a UUID.
1744
+ **id: `string`** — Identifier for a Config. Formatted as a UUID.
1709
1745
 
1710
1746
  </dd>
1711
1747
 
@@ -1778,7 +1814,7 @@ await client.empathicVoice.configs.getConfigVersion('id', 1);
1778
1814
 
1779
1815
  <dd>
1780
1816
 
1781
- **id: `string`** — Identifier for a config. Formatted as a UUID.
1817
+ **id: `string`** — Identifier for a Config. Formatted as a UUID.
1782
1818
 
1783
1819
  </dd>
1784
1820
 
@@ -1788,7 +1824,13 @@ await client.empathicVoice.configs.getConfigVersion('id', 1);
1788
1824
 
1789
1825
  <dd>
1790
1826
 
1791
- **version: `number`** — Version number for a config. Version numbers should be integers.
1827
+ **version: `number`**
1828
+
1829
+ Version number for a Config.
1830
+
1831
+ Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
1832
+
1833
+ Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
1792
1834
 
1793
1835
  </dd>
1794
1836
 
@@ -1851,7 +1893,7 @@ await client.empathicVoice.configs.deleteConfigVersion('id', 1);
1851
1893
 
1852
1894
  <dd>
1853
1895
 
1854
- **id: `string`** — Identifier for a config. Formatted as a UUID.
1896
+ **id: `string`** — Identifier for a Config. Formatted as a UUID.
1855
1897
 
1856
1898
  </dd>
1857
1899
 
@@ -1861,7 +1903,13 @@ await client.empathicVoice.configs.deleteConfigVersion('id', 1);
1861
1903
 
1862
1904
  <dd>
1863
1905
 
1864
- **version: `number`** — Version number for a config. Version numbers should be integers.
1906
+ **version: `number`**
1907
+
1908
+ Version number for a Config.
1909
+
1910
+ Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
1911
+
1912
+ Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
1865
1913
 
1866
1914
  </dd>
1867
1915
 
@@ -1924,7 +1972,7 @@ await client.empathicVoice.configs.updateConfigDescription('id', 1);
1924
1972
 
1925
1973
  <dd>
1926
1974
 
1927
- **id: `string`** — Identifier for a config. Formatted as a UUID.
1975
+ **id: `string`** — Identifier for a Config. Formatted as a UUID.
1928
1976
 
1929
1977
  </dd>
1930
1978
 
@@ -1934,7 +1982,13 @@ await client.empathicVoice.configs.updateConfigDescription('id', 1);
1934
1982
 
1935
1983
  <dd>
1936
1984
 
1937
- **version: `number`** — Version number for a config. Version numbers should be integers.
1985
+ **version: `number`**
1986
+
1987
+ Version number for a Config.
1988
+
1989
+ Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
1990
+
1991
+ Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
1938
1992
 
1939
1993
  </dd>
1940
1994
 
@@ -2072,7 +2126,7 @@ await client.empathicVoice.chats.listChatEvents('id');
2072
2126
 
2073
2127
  <dd>
2074
2128
 
2075
- **id: `string`** — Identifier for a chat. Formatted as a UUID.
2129
+ **id: `string`** — Identifier for a Chat. Formatted as a UUID.
2076
2130
 
2077
2131
  </dd>
2078
2132
 
@@ -2210,7 +2264,7 @@ await client.empathicVoice.chatGroups.listChatGroupEvents('id');
2210
2264
 
2211
2265
  <dd>
2212
2266
 
2213
- **id: `string`** — Identifier for a chat. Formatted as a UUID.
2267
+ **id: `string`** — Identifier for a Chat Group. Formatted as a UUID.
2214
2268
 
2215
2269
  </dd>
2216
2270
 
@@ -9,5 +9,7 @@ export declare const PostedEventMessageSpecs: core.serialization.ObjectSchema<se
9
9
  export declare namespace PostedEventMessageSpecs {
10
10
  interface Raw {
11
11
  on_new_chat?: PostedEventMessageSpec.Raw | null;
12
+ on_inactivity_timeout?: PostedEventMessageSpec.Raw | null;
13
+ on_max_duration_timeout?: PostedEventMessageSpec.Raw | null;
12
14
  }
13
15
  }
@@ -31,4 +31,6 @@ const core = __importStar(require("../../../../core"));
31
31
  const PostedEventMessageSpec_1 = require("./PostedEventMessageSpec");
32
32
  exports.PostedEventMessageSpecs = core.serialization.object({
33
33
  onNewChat: core.serialization.property('on_new_chat', PostedEventMessageSpec_1.PostedEventMessageSpec.optional()),
34
+ onInactivityTimeout: core.serialization.property('on_inactivity_timeout', PostedEventMessageSpec_1.PostedEventMessageSpec.optional()),
35
+ onMaxDurationTimeout: core.serialization.property('on_max_duration_timeout', PostedEventMessageSpec_1.PostedEventMessageSpec.optional()),
34
36
  });
@@ -4,10 +4,11 @@
4
4
  import * as serializers from '../../../index';
5
5
  import * as Hume from '../../../../api/index';
6
6
  import * as core from '../../../../core';
7
+ import { ReturnBuiltinToolToolType } from './ReturnBuiltinToolToolType';
7
8
  export declare const ReturnBuiltinTool: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnBuiltinTool.Raw, Hume.empathicVoice.ReturnBuiltinTool>;
8
9
  export declare namespace ReturnBuiltinTool {
9
10
  interface Raw {
10
- tool_type: string;
11
+ tool_type: ReturnBuiltinToolToolType.Raw;
11
12
  name: string;
12
13
  fallback_content?: string | null;
13
14
  }
@@ -28,8 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ReturnBuiltinTool = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
+ const ReturnBuiltinToolToolType_1 = require("./ReturnBuiltinToolToolType");
31
32
  exports.ReturnBuiltinTool = core.serialization.object({
32
- toolType: core.serialization.property('tool_type', core.serialization.string()),
33
+ toolType: core.serialization.property('tool_type', ReturnBuiltinToolToolType_1.ReturnBuiltinToolToolType),
33
34
  name: core.serialization.string(),
34
35
  fallbackContent: core.serialization.property('fallback_content', core.serialization.string().optional()),
35
36
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from '../../../index';
5
+ import * as Hume from '../../../../api/index';
6
+ import * as core from '../../../../core';
7
+ export declare const ReturnBuiltinToolToolType: core.serialization.Schema<serializers.empathicVoice.ReturnBuiltinToolToolType.Raw, Hume.empathicVoice.ReturnBuiltinToolToolType>;
8
+ export declare namespace ReturnBuiltinToolToolType {
9
+ type Raw = 'BUILTIN' | 'FUNCTION';
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ReturnBuiltinToolToolType = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ReturnBuiltinToolToolType = core.serialization.enum_(['BUILTIN', 'FUNCTION']);
@@ -4,14 +4,14 @@
4
4
  import * as serializers from '../../../index';
5
5
  import * as Hume from '../../../../api/index';
6
6
  import * as core from '../../../../core';
7
+ import { ReturnChatStatus } from './ReturnChatStatus';
7
8
  import { ReturnConfigSpec } from './ReturnConfigSpec';
8
9
  export declare const ReturnChat: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChat.Raw, Hume.empathicVoice.ReturnChat>;
9
10
  export declare namespace ReturnChat {
10
11
  interface Raw {
11
12
  id: string;
12
13
  chat_group_id: string;
13
- tag?: string | null;
14
- status: string;
14
+ status: ReturnChatStatus.Raw;
15
15
  start_timestamp: number;
16
16
  end_timestamp?: number | null;
17
17
  event_count?: number | null;
@@ -28,12 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ReturnChat = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
+ const ReturnChatStatus_1 = require("./ReturnChatStatus");
31
32
  const ReturnConfigSpec_1 = require("./ReturnConfigSpec");
32
33
  exports.ReturnChat = core.serialization.object({
33
34
  id: core.serialization.string(),
34
35
  chatGroupId: core.serialization.property('chat_group_id', core.serialization.string()),
35
- tag: core.serialization.string().optional(),
36
- status: core.serialization.string(),
36
+ status: ReturnChatStatus_1.ReturnChatStatus,
37
37
  startTimestamp: core.serialization.property('start_timestamp', core.serialization.number()),
38
38
  endTimestamp: core.serialization.property('end_timestamp', core.serialization.number().optional()),
39
39
  eventCount: core.serialization.property('event_count', core.serialization.number().optional()),
@@ -4,14 +4,16 @@
4
4
  import * as serializers from '../../../index';
5
5
  import * as Hume from '../../../../api/index';
6
6
  import * as core from '../../../../core';
7
+ import { ReturnChatEventRole } from './ReturnChatEventRole';
8
+ import { ReturnChatEventType } from './ReturnChatEventType';
7
9
  export declare const ReturnChatEvent: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatEvent.Raw, Hume.empathicVoice.ReturnChatEvent>;
8
10
  export declare namespace ReturnChatEvent {
9
11
  interface Raw {
10
12
  id: string;
11
13
  chat_id: string;
12
14
  timestamp: number;
13
- role: string;
14
- type: string;
15
+ role: ReturnChatEventRole.Raw;
16
+ type: ReturnChatEventType.Raw;
15
17
  message_text?: string | null;
16
18
  emotion_features?: string | null;
17
19
  metadata?: string | null;
@@ -28,12 +28,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ReturnChatEvent = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
+ const ReturnChatEventRole_1 = require("./ReturnChatEventRole");
32
+ const ReturnChatEventType_1 = require("./ReturnChatEventType");
31
33
  exports.ReturnChatEvent = core.serialization.object({
32
34
  id: core.serialization.string(),
33
35
  chatId: core.serialization.property('chat_id', core.serialization.string()),
34
36
  timestamp: core.serialization.number(),
35
- role: core.serialization.string(),
36
- type: core.serialization.string(),
37
+ role: ReturnChatEventRole_1.ReturnChatEventRole,
38
+ type: ReturnChatEventType_1.ReturnChatEventType,
37
39
  messageText: core.serialization.property('message_text', core.serialization.string().optional()),
38
40
  emotionFeatures: core.serialization.property('emotion_features', core.serialization.string().optional()),
39
41
  metadata: core.serialization.string().optional(),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from '../../../index';
5
+ import * as Hume from '../../../../api/index';
6
+ import * as core from '../../../../core';
7
+ export declare const ReturnChatEventRole: core.serialization.Schema<serializers.empathicVoice.ReturnChatEventRole.Raw, Hume.empathicVoice.ReturnChatEventRole>;
8
+ export declare namespace ReturnChatEventRole {
9
+ type Raw = 'USER' | 'AGENT' | 'SYSTEM' | 'TOOL';
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ReturnChatEventRole = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ReturnChatEventRole = core.serialization.enum_(['USER', 'AGENT', 'SYSTEM', 'TOOL']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from '../../../index';
5
+ import * as Hume from '../../../../api/index';
6
+ import * as core from '../../../../core';
7
+ export declare const ReturnChatEventType: core.serialization.Schema<serializers.empathicVoice.ReturnChatEventType.Raw, Hume.empathicVoice.ReturnChatEventType>;
8
+ export declare namespace ReturnChatEventType {
9
+ type Raw = 'SYSTEM_PROMPT' | 'USER_MESSAGE' | 'USER_INTERRUPTION' | 'AGENT_MESSAGE' | 'FUNCTION_CALL' | 'FUNCTION_CALL_RESPONSE';
10
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ReturnChatEventType = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ReturnChatEventType = core.serialization.enum_([
32
+ 'SYSTEM_PROMPT',
33
+ 'USER_MESSAGE',
34
+ 'USER_INTERRUPTION',
35
+ 'AGENT_MESSAGE',
36
+ 'FUNCTION_CALL',
37
+ 'FUNCTION_CALL_RESPONSE',
38
+ ]);
@@ -4,6 +4,7 @@
4
4
  import * as serializers from '../../../index';
5
5
  import * as Hume from '../../../../api/index';
6
6
  import * as core from '../../../../core';
7
+ import { ReturnChatGroupPagedEventsPaginationDirection } from './ReturnChatGroupPagedEventsPaginationDirection';
7
8
  import { ReturnChatEvent } from './ReturnChatEvent';
8
9
  export declare const ReturnChatGroupPagedEvents: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedEvents.Raw, Hume.empathicVoice.ReturnChatGroupPagedEvents>;
9
10
  export declare namespace ReturnChatGroupPagedEvents {
@@ -12,7 +13,7 @@ export declare namespace ReturnChatGroupPagedEvents {
12
13
  page_number: number;
13
14
  page_size: number;
14
15
  total_pages: number;
15
- pagination_direction: string;
16
+ pagination_direction: ReturnChatGroupPagedEventsPaginationDirection.Raw;
16
17
  events_page: ReturnChatEvent.Raw[];
17
18
  }
18
19
  }
@@ -28,12 +28,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ReturnChatGroupPagedEvents = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
+ const ReturnChatGroupPagedEventsPaginationDirection_1 = require("./ReturnChatGroupPagedEventsPaginationDirection");
31
32
  const ReturnChatEvent_1 = require("./ReturnChatEvent");
32
33
  exports.ReturnChatGroupPagedEvents = core.serialization.object({
33
34
  id: core.serialization.string(),
34
35
  pageNumber: core.serialization.property('page_number', core.serialization.number()),
35
36
  pageSize: core.serialization.property('page_size', core.serialization.number()),
36
37
  totalPages: core.serialization.property('total_pages', core.serialization.number()),
37
- paginationDirection: core.serialization.property('pagination_direction', core.serialization.string()),
38
+ paginationDirection: core.serialization.property('pagination_direction', ReturnChatGroupPagedEventsPaginationDirection_1.ReturnChatGroupPagedEventsPaginationDirection),
38
39
  eventsPage: core.serialization.property('events_page', core.serialization.list(ReturnChatEvent_1.ReturnChatEvent)),
39
40
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from '../../../index';
5
+ import * as Hume from '../../../../api/index';
6
+ import * as core from '../../../../core';
7
+ export declare const ReturnChatGroupPagedEventsPaginationDirection: core.serialization.Schema<serializers.empathicVoice.ReturnChatGroupPagedEventsPaginationDirection.Raw, Hume.empathicVoice.ReturnChatGroupPagedEventsPaginationDirection>;
8
+ export declare namespace ReturnChatGroupPagedEventsPaginationDirection {
9
+ type Raw = 'ASC' | 'DESC';
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ReturnChatGroupPagedEventsPaginationDirection = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ReturnChatGroupPagedEventsPaginationDirection = core.serialization.enum_(['ASC', 'DESC']);