hume 0.15.4 → 0.15.6

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 (268) hide show
  1. package/dist/cjs/Client.d.ts +2 -2
  2. package/dist/cjs/Client.js +6 -6
  3. package/dist/cjs/api/resources/empathicVoice/client/Client.d.ts +8 -8
  4. package/dist/cjs/api/resources/empathicVoice/client/Client.js +8 -8
  5. package/dist/cjs/api/resources/empathicVoice/resources/chat/client/Client.js +1 -1
  6. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +11 -11
  7. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.js +92 -92
  8. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +18 -18
  9. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +16 -16
  10. package/dist/cjs/api/resources/empathicVoice/resources/controlPlane/client/Client.d.ts +2 -2
  11. package/dist/cjs/api/resources/empathicVoice/resources/controlPlane/client/Client.js +9 -4
  12. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +2 -2
  13. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +2 -2
  14. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +6 -6
  15. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +4 -4
  16. package/dist/cjs/api/resources/empathicVoice/types/ControlPlanePublishEvent.d.ts +24 -1
  17. package/dist/cjs/api/resources/empathicVoice/types/ErrorResponse.d.ts +1 -1
  18. package/dist/cjs/api/resources/empathicVoice/types/JsonMessage.d.ts +31 -1
  19. package/dist/cjs/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +2 -2
  20. package/dist/cjs/api/resources/empathicVoice/types/PostedConfigPromptSpec.d.ts +2 -2
  21. package/dist/cjs/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -2
  22. package/dist/cjs/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +2 -2
  23. package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.d.ts +1 -0
  24. package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.js +1 -0
  25. package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +2 -2
  26. package/dist/cjs/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -4
  27. package/dist/cjs/api/resources/empathicVoice/types/ReturnChat.d.ts +11 -11
  28. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +10 -10
  29. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +16 -16
  30. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +6 -6
  31. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +6 -6
  32. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +8 -8
  33. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +4 -4
  34. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +27 -27
  35. package/dist/cjs/api/resources/empathicVoice/types/ReturnConfig.d.ts +20 -41
  36. package/dist/cjs/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -2
  37. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -4
  38. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -4
  39. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -2
  40. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -2
  41. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -2
  42. package/dist/cjs/api/resources/empathicVoice/types/ReturnPrompt.d.ts +12 -23
  43. package/dist/cjs/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +2 -2
  44. package/dist/cjs/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +20 -20
  45. package/dist/cjs/api/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
  46. package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +1 -0
  47. package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.js +1 -0
  48. package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +2 -2
  49. package/dist/cjs/api/resources/empathicVoice/types/SubscribeEvent.d.ts +34 -1
  50. package/dist/cjs/api/resources/tts/resources/streamInput/client/Client.d.ts +1 -1
  51. package/dist/cjs/api/resources/tts/resources/streamInput/client/Client.js +7 -2
  52. package/dist/cjs/api/resources/tts/types/ErrorResponse.d.ts +1 -1
  53. package/dist/cjs/api/resources/tts/types/PostedTts.d.ts +1 -1
  54. package/dist/cjs/api/resources/tts/types/ReturnVoice.d.ts +1 -1
  55. package/dist/cjs/api/resources/tts/types/Snippet.d.ts +1 -1
  56. package/dist/cjs/api/resources/tts/types/Timestamp.d.ts +2 -0
  57. package/dist/cjs/core/websocket/ws.js +3 -2
  58. package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -8
  59. package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -8
  60. package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -8
  61. package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -8
  62. package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
  63. package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.js +1 -1
  64. package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
  65. package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.js +1 -1
  66. package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +3 -3
  67. package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.js +3 -3
  68. package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +2 -2
  69. package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.js +2 -2
  70. package/dist/cjs/serialization/resources/empathicVoice/types/ErrorResponse.d.ts +1 -1
  71. package/dist/cjs/serialization/resources/empathicVoice/types/ErrorResponse.js +1 -1
  72. package/dist/cjs/serialization/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  73. package/dist/cjs/serialization/resources/empathicVoice/types/PostedBuiltinTool.js +1 -1
  74. package/dist/cjs/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.d.ts +1 -1
  75. package/dist/cjs/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.js +1 -1
  76. package/dist/cjs/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +1 -1
  77. package/dist/cjs/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +1 -1
  78. package/dist/cjs/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +1 -1
  79. package/dist/cjs/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +1 -1
  80. package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookEventType.d.ts +1 -1
  81. package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookEventType.js +1 -1
  82. package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookSpec.d.ts +1 -1
  83. package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookSpec.js +1 -1
  84. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -2
  85. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -2
  86. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChat.d.ts +4 -4
  87. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChat.js +4 -4
  88. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +3 -3
  89. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +3 -3
  90. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +5 -5
  91. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatEvent.js +5 -5
  92. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +3 -3
  93. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroup.js +3 -3
  94. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +3 -3
  95. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +3 -3
  96. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -4
  97. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +4 -4
  98. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -2
  99. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -2
  100. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +5 -5
  101. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +5 -5
  102. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +12 -12
  103. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnConfig.js +12 -12
  104. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +1 -1
  105. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +1 -1
  106. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -2
  107. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -2
  108. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -2
  109. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -2
  110. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -1
  111. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -1
  112. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -1
  113. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -1
  114. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -1
  115. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -1
  116. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +4 -5
  117. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPrompt.js +4 -5
  118. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +1 -1
  119. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +1 -1
  120. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +8 -8
  121. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +8 -8
  122. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
  123. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnVoice.js +1 -1
  124. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +1 -1
  125. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookEventType.js +1 -1
  126. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +1 -1
  127. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookSpec.js +1 -1
  128. package/dist/cjs/serialization/resources/tts/types/ErrorResponse.d.ts +1 -1
  129. package/dist/cjs/serialization/resources/tts/types/ErrorResponse.js +1 -1
  130. package/dist/cjs/serialization/resources/tts/types/ReturnVoice.d.ts +1 -1
  131. package/dist/cjs/serialization/resources/tts/types/ReturnVoice.js +1 -1
  132. package/dist/cjs/version.d.ts +1 -1
  133. package/dist/cjs/version.js +1 -1
  134. package/dist/esm/Client.d.mts +2 -2
  135. package/dist/esm/Client.mjs +6 -6
  136. package/dist/esm/api/resources/empathicVoice/client/Client.d.mts +8 -8
  137. package/dist/esm/api/resources/empathicVoice/client/Client.mjs +8 -8
  138. package/dist/esm/api/resources/empathicVoice/resources/chat/client/Client.mjs +1 -1
  139. package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/Client.d.mts +11 -11
  140. package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/Client.mjs +92 -92
  141. package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.mts +18 -18
  142. package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.mts +16 -16
  143. package/dist/esm/api/resources/empathicVoice/resources/controlPlane/client/Client.d.mts +2 -2
  144. package/dist/esm/api/resources/empathicVoice/resources/controlPlane/client/Client.mjs +9 -4
  145. package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.mts +2 -2
  146. package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.mts +2 -2
  147. package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.mts +6 -6
  148. package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.mts +4 -4
  149. package/dist/esm/api/resources/empathicVoice/types/ControlPlanePublishEvent.d.mts +24 -1
  150. package/dist/esm/api/resources/empathicVoice/types/ErrorResponse.d.mts +1 -1
  151. package/dist/esm/api/resources/empathicVoice/types/JsonMessage.d.mts +31 -1
  152. package/dist/esm/api/resources/empathicVoice/types/PostedBuiltinTool.d.mts +2 -2
  153. package/dist/esm/api/resources/empathicVoice/types/PostedConfigPromptSpec.d.mts +2 -2
  154. package/dist/esm/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.mts +2 -2
  155. package/dist/esm/api/resources/empathicVoice/types/PostedTimeoutSpec.d.mts +2 -2
  156. package/dist/esm/api/resources/empathicVoice/types/PostedWebhookEventType.d.mts +1 -0
  157. package/dist/esm/api/resources/empathicVoice/types/PostedWebhookEventType.mjs +1 -0
  158. package/dist/esm/api/resources/empathicVoice/types/PostedWebhookSpec.d.mts +2 -2
  159. package/dist/esm/api/resources/empathicVoice/types/ReturnBuiltinTool.d.mts +4 -4
  160. package/dist/esm/api/resources/empathicVoice/types/ReturnChat.d.mts +11 -11
  161. package/dist/esm/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.mts +10 -10
  162. package/dist/esm/api/resources/empathicVoice/types/ReturnChatEvent.d.mts +16 -16
  163. package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroup.d.mts +6 -6
  164. package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.mts +6 -6
  165. package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.mts +8 -8
  166. package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.mts +4 -4
  167. package/dist/esm/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.mts +27 -27
  168. package/dist/esm/api/resources/empathicVoice/types/ReturnConfig.d.mts +20 -41
  169. package/dist/esm/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.mts +2 -2
  170. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.mts +4 -4
  171. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedChats.d.mts +4 -4
  172. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedConfigs.d.mts +2 -2
  173. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedPrompts.d.mts +2 -2
  174. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.mts +2 -2
  175. package/dist/esm/api/resources/empathicVoice/types/ReturnPrompt.d.mts +12 -23
  176. package/dist/esm/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.mts +2 -2
  177. package/dist/esm/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.mts +20 -20
  178. package/dist/esm/api/resources/empathicVoice/types/ReturnVoice.d.mts +1 -1
  179. package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookEventType.d.mts +1 -0
  180. package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookEventType.mjs +1 -0
  181. package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookSpec.d.mts +2 -2
  182. package/dist/esm/api/resources/empathicVoice/types/SubscribeEvent.d.mts +34 -1
  183. package/dist/esm/api/resources/tts/resources/streamInput/client/Client.d.mts +1 -1
  184. package/dist/esm/api/resources/tts/resources/streamInput/client/Client.mjs +7 -2
  185. package/dist/esm/api/resources/tts/types/ErrorResponse.d.mts +1 -1
  186. package/dist/esm/api/resources/tts/types/PostedTts.d.mts +1 -1
  187. package/dist/esm/api/resources/tts/types/ReturnVoice.d.mts +1 -1
  188. package/dist/esm/api/resources/tts/types/Snippet.d.mts +1 -1
  189. package/dist/esm/api/resources/tts/types/Timestamp.d.mts +2 -0
  190. package/dist/esm/core/websocket/ws.mjs +3 -2
  191. package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.mts +8 -8
  192. package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.mjs +8 -8
  193. package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.mts +8 -8
  194. package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.mjs +8 -8
  195. package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.mts +1 -1
  196. package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.mjs +1 -1
  197. package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.mts +1 -1
  198. package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.mjs +1 -1
  199. package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.mts +3 -3
  200. package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.mjs +3 -3
  201. package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.mts +2 -2
  202. package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.mjs +2 -2
  203. package/dist/esm/serialization/resources/empathicVoice/types/ErrorResponse.d.mts +1 -1
  204. package/dist/esm/serialization/resources/empathicVoice/types/ErrorResponse.mjs +1 -1
  205. package/dist/esm/serialization/resources/empathicVoice/types/PostedBuiltinTool.d.mts +1 -1
  206. package/dist/esm/serialization/resources/empathicVoice/types/PostedBuiltinTool.mjs +1 -1
  207. package/dist/esm/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.d.mts +1 -1
  208. package/dist/esm/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.mjs +1 -1
  209. package/dist/esm/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.mts +1 -1
  210. package/dist/esm/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.mjs +1 -1
  211. package/dist/esm/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.mts +1 -1
  212. package/dist/esm/serialization/resources/empathicVoice/types/PostedTimeoutSpec.mjs +1 -1
  213. package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookEventType.d.mts +1 -1
  214. package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookEventType.mjs +1 -1
  215. package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookSpec.d.mts +1 -1
  216. package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookSpec.mjs +1 -1
  217. package/dist/esm/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.mts +2 -2
  218. package/dist/esm/serialization/resources/empathicVoice/types/ReturnBuiltinTool.mjs +2 -2
  219. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChat.d.mts +4 -4
  220. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChat.mjs +4 -4
  221. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.mts +3 -3
  222. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.mjs +3 -3
  223. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatEvent.d.mts +5 -5
  224. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatEvent.mjs +5 -5
  225. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroup.d.mts +3 -3
  226. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroup.mjs +3 -3
  227. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.mts +3 -3
  228. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.mjs +3 -3
  229. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.mts +4 -4
  230. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.mjs +4 -4
  231. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.mts +2 -2
  232. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.mjs +2 -2
  233. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.mts +5 -5
  234. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.mjs +5 -5
  235. package/dist/esm/serialization/resources/empathicVoice/types/ReturnConfig.d.mts +12 -12
  236. package/dist/esm/serialization/resources/empathicVoice/types/ReturnConfig.mjs +12 -12
  237. package/dist/esm/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.mts +1 -1
  238. package/dist/esm/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.mjs +1 -1
  239. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.mts +2 -2
  240. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.mjs +2 -2
  241. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChats.d.mts +2 -2
  242. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChats.mjs +2 -2
  243. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.mts +1 -1
  244. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedConfigs.mjs +1 -1
  245. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.mts +1 -1
  246. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedPrompts.mjs +1 -1
  247. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.mts +1 -1
  248. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.mjs +1 -1
  249. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPrompt.d.mts +4 -5
  250. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPrompt.mjs +4 -5
  251. package/dist/esm/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.mts +1 -1
  252. package/dist/esm/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.mjs +1 -1
  253. package/dist/esm/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.mts +8 -8
  254. package/dist/esm/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.mjs +8 -8
  255. package/dist/esm/serialization/resources/empathicVoice/types/ReturnVoice.d.mts +1 -1
  256. package/dist/esm/serialization/resources/empathicVoice/types/ReturnVoice.mjs +1 -1
  257. package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookEventType.d.mts +1 -1
  258. package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookEventType.mjs +1 -1
  259. package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookSpec.d.mts +1 -1
  260. package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookSpec.mjs +1 -1
  261. package/dist/esm/serialization/resources/tts/types/ErrorResponse.d.mts +1 -1
  262. package/dist/esm/serialization/resources/tts/types/ErrorResponse.mjs +1 -1
  263. package/dist/esm/serialization/resources/tts/types/ReturnVoice.d.mts +1 -1
  264. package/dist/esm/serialization/resources/tts/types/ReturnVoice.mjs +1 -1
  265. package/dist/esm/version.d.mts +1 -1
  266. package/dist/esm/version.mjs +1 -1
  267. package/package.json +1 -1
  268. package/reference.md +740 -740
@@ -11,16 +11,16 @@ import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedTo
11
11
  import { PostedWebhookSpec } from "../../../../types/PostedWebhookSpec.mjs";
12
12
  import { VoiceRef } from "../../../../types/VoiceRef.mjs";
13
13
  export const PostedConfigVersion = core.serialization.object({
14
- eviVersion: core.serialization.property("evi_version", core.serialization.string()),
15
- versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
16
- prompt: PostedConfigPromptSpec.optional(),
17
- voice: VoiceRef.optional(),
18
- languageModel: core.serialization.property("language_model", PostedLanguageModel.optional()),
19
- ellmModel: core.serialization.property("ellm_model", PostedEllmModel.optional()),
20
- tools: core.serialization.list(PostedUserDefinedToolSpec.optional()).optional(),
21
14
  builtinTools: core.serialization.property("builtin_tools", core.serialization.list(PostedBuiltinTool.optional()).optional()),
15
+ ellmModel: core.serialization.property("ellm_model", PostedEllmModel.optional()),
22
16
  eventMessages: core.serialization.property("event_messages", PostedEventMessageSpecs.optional()),
23
- timeouts: PostedTimeoutSpecs.optional(),
17
+ eviVersion: core.serialization.property("evi_version", core.serialization.string()),
18
+ languageModel: core.serialization.property("language_model", PostedLanguageModel.optional()),
24
19
  nudges: PostedNudgeSpec.optional(),
20
+ prompt: PostedConfigPromptSpec.optional(),
21
+ timeouts: PostedTimeoutSpecs.optional(),
22
+ tools: core.serialization.list(PostedUserDefinedToolSpec.optional()).optional(),
23
+ versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
24
+ voice: VoiceRef.optional(),
25
25
  webhooks: core.serialization.list(PostedWebhookSpec.optional()).optional(),
26
26
  });
@@ -5,7 +5,7 @@ export declare const PostedPrompt: core.serialization.Schema<serializers.empathi
5
5
  export declare namespace PostedPrompt {
6
6
  interface Raw {
7
7
  name: string;
8
- version_description?: string | null;
9
8
  text: string;
9
+ version_description?: string | null;
10
10
  }
11
11
  }
@@ -2,6 +2,6 @@
2
2
  import * as core from "../../../../../../../core/index.mjs";
3
3
  export const PostedPrompt = core.serialization.object({
4
4
  name: core.serialization.string(),
5
- versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
6
5
  text: core.serialization.string(),
6
+ versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
7
7
  });
@@ -4,7 +4,7 @@ import type * as serializers from "../../../../../../index.mjs";
4
4
  export declare const PostedPromptVersion: core.serialization.Schema<serializers.empathicVoice.PostedPromptVersion.Raw, Hume.empathicVoice.PostedPromptVersion>;
5
5
  export declare namespace PostedPromptVersion {
6
6
  interface Raw {
7
- version_description?: string | null;
8
7
  text: string;
8
+ version_description?: string | null;
9
9
  }
10
10
  }
@@ -1,6 +1,6 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../../../../core/index.mjs";
3
3
  export const PostedPromptVersion = core.serialization.object({
4
- versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
5
4
  text: core.serialization.string(),
5
+ versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
6
6
  });
@@ -4,10 +4,10 @@ import type * as serializers from "../../../../../../index.mjs";
4
4
  export declare const PostedUserDefinedTool: core.serialization.Schema<serializers.empathicVoice.PostedUserDefinedTool.Raw, Hume.empathicVoice.PostedUserDefinedTool>;
5
5
  export declare namespace PostedUserDefinedTool {
6
6
  interface Raw {
7
- name: string;
8
- version_description?: string | null;
9
7
  description?: string | null;
10
- parameters: string;
11
8
  fallback_content?: string | null;
9
+ name: string;
10
+ parameters: string;
11
+ version_description?: string | null;
12
12
  }
13
13
  }
@@ -1,9 +1,9 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../../../../core/index.mjs";
3
3
  export const PostedUserDefinedTool = core.serialization.object({
4
- name: core.serialization.string(),
5
- versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
6
4
  description: core.serialization.string().optional(),
7
- parameters: core.serialization.string(),
8
5
  fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
6
+ name: core.serialization.string(),
7
+ parameters: core.serialization.string(),
8
+ versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
9
9
  });
@@ -4,9 +4,9 @@ import type * as serializers from "../../../../../../index.mjs";
4
4
  export declare const PostedUserDefinedToolVersion: core.serialization.Schema<serializers.empathicVoice.PostedUserDefinedToolVersion.Raw, Hume.empathicVoice.PostedUserDefinedToolVersion>;
5
5
  export declare namespace PostedUserDefinedToolVersion {
6
6
  interface Raw {
7
- version_description?: string | null;
8
7
  description?: string | null;
9
- parameters: string;
10
8
  fallback_content?: string | null;
9
+ parameters: string;
10
+ version_description?: string | null;
11
11
  }
12
12
  }
@@ -1,8 +1,8 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../../../../core/index.mjs";
3
3
  export const PostedUserDefinedToolVersion = core.serialization.object({
4
- versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
5
4
  description: core.serialization.string().optional(),
6
- parameters: core.serialization.string(),
7
5
  fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
6
+ parameters: core.serialization.string(),
7
+ versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
8
8
  });
@@ -4,8 +4,8 @@ import type * as serializers from "../../../index.mjs";
4
4
  export declare const ErrorResponse: core.serialization.ObjectSchema<serializers.empathicVoice.ErrorResponse.Raw, Hume.empathicVoice.ErrorResponse>;
5
5
  export declare namespace ErrorResponse {
6
6
  interface Raw {
7
+ code?: string | null;
7
8
  error?: string | null;
8
9
  message?: string | null;
9
- code?: string | null;
10
10
  }
11
11
  }
@@ -1,7 +1,7 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  export const ErrorResponse = core.serialization.object({
4
+ code: core.serialization.string().optional(),
4
5
  error: core.serialization.string().optional(),
5
6
  message: core.serialization.string().optional(),
6
- code: core.serialization.string().optional(),
7
7
  });
@@ -5,7 +5,7 @@ import { PostedBuiltinToolName } from "./PostedBuiltinToolName.mjs";
5
5
  export declare const PostedBuiltinTool: core.serialization.ObjectSchema<serializers.empathicVoice.PostedBuiltinTool.Raw, Hume.empathicVoice.PostedBuiltinTool>;
6
6
  export declare namespace PostedBuiltinTool {
7
7
  interface Raw {
8
- name: PostedBuiltinToolName.Raw;
9
8
  fallback_content?: string | null;
9
+ name: PostedBuiltinToolName.Raw;
10
10
  }
11
11
  }
@@ -2,6 +2,6 @@
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { PostedBuiltinToolName } from "./PostedBuiltinToolName.mjs";
4
4
  export const PostedBuiltinTool = core.serialization.object({
5
- name: PostedBuiltinToolName,
6
5
  fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
6
+ name: PostedBuiltinToolName,
7
7
  });
@@ -5,7 +5,7 @@ export declare const PostedConfigPromptSpec: core.serialization.ObjectSchema<ser
5
5
  export declare namespace PostedConfigPromptSpec {
6
6
  interface Raw {
7
7
  id?: string | null;
8
- version?: number | null;
9
8
  text?: string | null;
9
+ version?: number | null;
10
10
  }
11
11
  }
@@ -2,6 +2,6 @@
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  export const PostedConfigPromptSpec = core.serialization.object({
4
4
  id: core.serialization.string().optional(),
5
- version: core.serialization.number().optional(),
6
5
  text: core.serialization.string().optional(),
6
+ version: core.serialization.number().optional(),
7
7
  });
@@ -5,8 +5,8 @@ import { PostedEventMessageSpec } from "./PostedEventMessageSpec.mjs";
5
5
  export declare const PostedEventMessageSpecs: core.serialization.ObjectSchema<serializers.empathicVoice.PostedEventMessageSpecs.Raw, Hume.empathicVoice.PostedEventMessageSpecs>;
6
6
  export declare namespace PostedEventMessageSpecs {
7
7
  interface Raw {
8
- on_new_chat?: PostedEventMessageSpec.Raw | null;
9
8
  on_inactivity_timeout?: PostedEventMessageSpec.Raw | null;
10
9
  on_max_duration_timeout?: PostedEventMessageSpec.Raw | null;
10
+ on_new_chat?: PostedEventMessageSpec.Raw | null;
11
11
  }
12
12
  }
@@ -2,7 +2,7 @@
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { PostedEventMessageSpec } from "./PostedEventMessageSpec.mjs";
4
4
  export const PostedEventMessageSpecs = core.serialization.object({
5
- onNewChat: core.serialization.property("on_new_chat", PostedEventMessageSpec.optional()),
6
5
  onInactivityTimeout: core.serialization.property("on_inactivity_timeout", PostedEventMessageSpec.optional()),
7
6
  onMaxDurationTimeout: core.serialization.property("on_max_duration_timeout", PostedEventMessageSpec.optional()),
7
+ onNewChat: core.serialization.property("on_new_chat", PostedEventMessageSpec.optional()),
8
8
  });
@@ -4,7 +4,7 @@ import type * as serializers from "../../../index.mjs";
4
4
  export declare const PostedTimeoutSpec: core.serialization.ObjectSchema<serializers.empathicVoice.PostedTimeoutSpec.Raw, Hume.empathicVoice.PostedTimeoutSpec>;
5
5
  export declare namespace PostedTimeoutSpec {
6
6
  interface Raw {
7
- enabled: boolean;
8
7
  duration_secs?: number | null;
8
+ enabled: boolean;
9
9
  }
10
10
  }
@@ -1,6 +1,6 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  export const PostedTimeoutSpec = core.serialization.object({
4
- enabled: core.serialization.boolean(),
5
4
  durationSecs: core.serialization.property("duration_secs", core.serialization.number().optional()),
5
+ enabled: core.serialization.boolean(),
6
6
  });
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const PostedWebhookEventType: core.serialization.Schema<serializers.empathicVoice.PostedWebhookEventType.Raw, Hume.empathicVoice.PostedWebhookEventType>;
5
5
  export declare namespace PostedWebhookEventType {
6
- type Raw = "chat_started" | "chat_ended";
6
+ type Raw = "chat_started" | "chat_ended" | "tool_call";
7
7
  }
@@ -1,3 +1,3 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- export const PostedWebhookEventType = core.serialization.enum_(["chat_started", "chat_ended"]);
3
+ export const PostedWebhookEventType = core.serialization.enum_(["chat_started", "chat_ended", "tool_call"]);
@@ -5,7 +5,7 @@ import { PostedWebhookEventType } from "./PostedWebhookEventType.mjs";
5
5
  export declare const PostedWebhookSpec: core.serialization.ObjectSchema<serializers.empathicVoice.PostedWebhookSpec.Raw, Hume.empathicVoice.PostedWebhookSpec>;
6
6
  export declare namespace PostedWebhookSpec {
7
7
  interface Raw {
8
- url: string;
9
8
  events: PostedWebhookEventType.Raw[];
9
+ url: string;
10
10
  }
11
11
  }
@@ -2,6 +2,6 @@
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { PostedWebhookEventType } from "./PostedWebhookEventType.mjs";
4
4
  export const PostedWebhookSpec = core.serialization.object({
5
- url: core.serialization.string(),
6
5
  events: core.serialization.list(PostedWebhookEventType),
6
+ url: core.serialization.string(),
7
7
  });
@@ -5,8 +5,8 @@ import { ReturnBuiltinToolToolType } from "./ReturnBuiltinToolToolType.mjs";
5
5
  export declare const ReturnBuiltinTool: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnBuiltinTool.Raw, Hume.empathicVoice.ReturnBuiltinTool>;
6
6
  export declare namespace ReturnBuiltinTool {
7
7
  interface Raw {
8
- tool_type: ReturnBuiltinToolToolType.Raw;
9
- name: string;
10
8
  fallback_content?: string | null;
9
+ name: string;
10
+ tool_type: ReturnBuiltinToolToolType.Raw;
11
11
  }
12
12
  }
@@ -2,7 +2,7 @@
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { ReturnBuiltinToolToolType } from "./ReturnBuiltinToolToolType.mjs";
4
4
  export const ReturnBuiltinTool = core.serialization.object({
5
- toolType: core.serialization.property("tool_type", ReturnBuiltinToolToolType),
6
- name: core.serialization.string(),
7
5
  fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
6
+ name: core.serialization.string(),
7
+ toolType: core.serialization.property("tool_type", ReturnBuiltinToolToolType),
8
8
  });
@@ -6,13 +6,13 @@ import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
6
6
  export declare const ReturnChat: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChat.Raw, Hume.empathicVoice.ReturnChat>;
7
7
  export declare namespace ReturnChat {
8
8
  interface Raw {
9
- id: string;
10
9
  chat_group_id: string;
11
- status: ReturnChatStatus.Raw;
12
- start_timestamp: number;
10
+ config?: ReturnConfigSpec.Raw | null;
13
11
  end_timestamp?: number | null;
14
12
  event_count?: number | null;
13
+ id: string;
15
14
  metadata?: string | null;
16
- config?: ReturnConfigSpec.Raw | null;
15
+ start_timestamp: number;
16
+ status: ReturnChatStatus.Raw;
17
17
  }
18
18
  }
@@ -3,12 +3,12 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { ReturnChatStatus } from "./ReturnChatStatus.mjs";
4
4
  import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
5
5
  export const ReturnChat = core.serialization.object({
6
- id: core.serialization.string(),
7
6
  chatGroupId: core.serialization.property("chat_group_id", core.serialization.string()),
8
- status: ReturnChatStatus,
9
- startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
7
+ config: ReturnConfigSpec.optional(),
10
8
  endTimestamp: core.serialization.property("end_timestamp", core.serialization.number().optional()),
11
9
  eventCount: core.serialization.property("event_count", core.serialization.number().optional()),
10
+ id: core.serialization.string(),
12
11
  metadata: core.serialization.string().optional(),
13
- config: ReturnConfigSpec.optional(),
12
+ startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
13
+ status: ReturnChatStatus,
14
14
  });
@@ -5,12 +5,12 @@ import { ReturnChatAudioReconstructionStatus } from "./ReturnChatAudioReconstruc
5
5
  export declare const ReturnChatAudioReconstruction: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatAudioReconstruction.Raw, Hume.empathicVoice.ReturnChatAudioReconstruction>;
6
6
  export declare namespace ReturnChatAudioReconstruction {
7
7
  interface Raw {
8
- id: string;
9
- user_id: string;
10
- status: ReturnChatAudioReconstructionStatus.Raw;
11
8
  filename?: string | null;
9
+ id: string;
12
10
  modified_at?: number | null;
13
11
  signed_audio_url?: string | null;
14
12
  signed_url_expiration_timestamp_millis?: number | null;
13
+ status: ReturnChatAudioReconstructionStatus.Raw;
14
+ user_id: string;
15
15
  }
16
16
  }
@@ -2,11 +2,11 @@
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { ReturnChatAudioReconstructionStatus } from "./ReturnChatAudioReconstructionStatus.mjs";
4
4
  export const ReturnChatAudioReconstruction = core.serialization.object({
5
- id: core.serialization.string(),
6
- userId: core.serialization.property("user_id", core.serialization.string()),
7
- status: ReturnChatAudioReconstructionStatus,
8
5
  filename: core.serialization.string().optional(),
6
+ id: core.serialization.string(),
9
7
  modifiedAt: core.serialization.property("modified_at", core.serialization.number().optional()),
10
8
  signedAudioUrl: core.serialization.property("signed_audio_url", core.serialization.string().optional()),
11
9
  signedUrlExpirationTimestampMillis: core.serialization.property("signed_url_expiration_timestamp_millis", core.serialization.number().optional()),
10
+ status: ReturnChatAudioReconstructionStatus,
11
+ userId: core.serialization.property("user_id", core.serialization.string()),
12
12
  });
@@ -6,14 +6,14 @@ import { ReturnChatEventType } from "./ReturnChatEventType.mjs";
6
6
  export declare const ReturnChatEvent: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatEvent.Raw, Hume.empathicVoice.ReturnChatEvent>;
7
7
  export declare namespace ReturnChatEvent {
8
8
  interface Raw {
9
- id: string;
10
9
  chat_id: string;
11
- timestamp: number;
12
- role: ReturnChatEventRole.Raw;
13
- type: ReturnChatEventType.Raw;
14
- message_text?: string | null;
15
10
  emotion_features?: string | null;
11
+ id: string;
12
+ message_text?: string | null;
16
13
  metadata?: string | null;
17
14
  related_event_id?: string | null;
15
+ role: ReturnChatEventRole.Raw;
16
+ timestamp: number;
17
+ type: ReturnChatEventType.Raw;
18
18
  }
19
19
  }
@@ -3,13 +3,13 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { ReturnChatEventRole } from "./ReturnChatEventRole.mjs";
4
4
  import { ReturnChatEventType } from "./ReturnChatEventType.mjs";
5
5
  export const ReturnChatEvent = core.serialization.object({
6
- id: core.serialization.string(),
7
6
  chatId: core.serialization.property("chat_id", core.serialization.string()),
8
- timestamp: core.serialization.number(),
9
- role: ReturnChatEventRole,
10
- type: ReturnChatEventType,
11
- messageText: core.serialization.property("message_text", core.serialization.string().optional()),
12
7
  emotionFeatures: core.serialization.property("emotion_features", core.serialization.string().optional()),
8
+ id: core.serialization.string(),
9
+ messageText: core.serialization.property("message_text", core.serialization.string().optional()),
13
10
  metadata: core.serialization.string().optional(),
14
11
  relatedEventId: core.serialization.property("related_event_id", core.serialization.string().optional()),
12
+ role: ReturnChatEventRole,
13
+ timestamp: core.serialization.number(),
14
+ type: ReturnChatEventType,
15
15
  });
@@ -5,12 +5,12 @@ import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
5
5
  export declare const ReturnChatGroup: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroup.Raw, Hume.empathicVoice.ReturnChatGroup>;
6
6
  export declare namespace ReturnChatGroup {
7
7
  interface Raw {
8
- id: string;
8
+ active?: boolean | null;
9
9
  first_start_timestamp: number;
10
- most_recent_start_timestamp: number;
10
+ id: string;
11
11
  most_recent_chat_id?: string | null;
12
12
  most_recent_config?: ReturnConfigSpec.Raw | null;
13
+ most_recent_start_timestamp: number;
13
14
  num_chats: number;
14
- active?: boolean | null;
15
15
  }
16
16
  }
@@ -2,11 +2,11 @@
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
4
4
  export const ReturnChatGroup = core.serialization.object({
5
- id: core.serialization.string(),
5
+ active: core.serialization.boolean().optional(),
6
6
  firstStartTimestamp: core.serialization.property("first_start_timestamp", core.serialization.number()),
7
- mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
7
+ id: core.serialization.string(),
8
8
  mostRecentChatId: core.serialization.property("most_recent_chat_id", core.serialization.string().optional()),
9
9
  mostRecentConfig: core.serialization.property("most_recent_config", ReturnConfigSpec.optional()),
10
+ mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
10
11
  numChats: core.serialization.property("num_chats", core.serialization.number()),
11
- active: core.serialization.boolean().optional(),
12
12
  });
@@ -6,13 +6,13 @@ import { ReturnChatGroupPagedAudioReconstructionsPaginationDirection } from "./R
6
6
  export declare const ReturnChatGroupPagedAudioReconstructions: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedAudioReconstructions.Raw, Hume.empathicVoice.ReturnChatGroupPagedAudioReconstructions>;
7
7
  export declare namespace ReturnChatGroupPagedAudioReconstructions {
8
8
  interface Raw {
9
+ audio_reconstructions_page: ReturnChatAudioReconstruction.Raw[];
9
10
  id: string;
10
- user_id: string;
11
11
  num_chats: number;
12
12
  page_number: number;
13
13
  page_size: number;
14
- total_pages: number;
15
14
  pagination_direction: ReturnChatGroupPagedAudioReconstructionsPaginationDirection.Raw;
16
- audio_reconstructions_page: ReturnChatAudioReconstruction.Raw[];
15
+ total_pages: number;
16
+ user_id: string;
17
17
  }
18
18
  }
@@ -3,12 +3,12 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { ReturnChatAudioReconstruction } from "./ReturnChatAudioReconstruction.mjs";
4
4
  import { ReturnChatGroupPagedAudioReconstructionsPaginationDirection } from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection.mjs";
5
5
  export const ReturnChatGroupPagedAudioReconstructions = core.serialization.object({
6
+ audioReconstructionsPage: core.serialization.property("audio_reconstructions_page", core.serialization.list(ReturnChatAudioReconstruction)),
6
7
  id: core.serialization.string(),
7
- userId: core.serialization.property("user_id", core.serialization.string()),
8
8
  numChats: core.serialization.property("num_chats", core.serialization.number()),
9
9
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
10
10
  pageSize: core.serialization.property("page_size", core.serialization.number()),
11
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
12
11
  paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedAudioReconstructionsPaginationDirection),
13
- audioReconstructionsPage: core.serialization.property("audio_reconstructions_page", core.serialization.list(ReturnChatAudioReconstruction)),
12
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
13
+ userId: core.serialization.property("user_id", core.serialization.string()),
14
14
  });
@@ -6,15 +6,15 @@ import { ReturnChatGroupPagedChatsPaginationDirection } from "./ReturnChatGroupP
6
6
  export declare const ReturnChatGroupPagedChats: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedChats.Raw, Hume.empathicVoice.ReturnChatGroupPagedChats>;
7
7
  export declare namespace ReturnChatGroupPagedChats {
8
8
  interface Raw {
9
- id: string;
9
+ active?: boolean | null;
10
+ chats_page: ReturnChat.Raw[];
10
11
  first_start_timestamp: number;
12
+ id: string;
11
13
  most_recent_start_timestamp: number;
12
14
  num_chats: number;
13
15
  page_number: number;
14
16
  page_size: number;
15
- total_pages: number;
16
17
  pagination_direction: ReturnChatGroupPagedChatsPaginationDirection.Raw;
17
- chats_page: ReturnChat.Raw[];
18
- active?: boolean | null;
18
+ total_pages: number;
19
19
  }
20
20
  }
@@ -3,14 +3,14 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { ReturnChat } from "./ReturnChat.mjs";
4
4
  import { ReturnChatGroupPagedChatsPaginationDirection } from "./ReturnChatGroupPagedChatsPaginationDirection.mjs";
5
5
  export const ReturnChatGroupPagedChats = core.serialization.object({
6
- id: core.serialization.string(),
6
+ active: core.serialization.boolean().optional(),
7
+ chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat)),
7
8
  firstStartTimestamp: core.serialization.property("first_start_timestamp", core.serialization.number()),
9
+ id: core.serialization.string(),
8
10
  mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
9
11
  numChats: core.serialization.property("num_chats", core.serialization.number()),
10
12
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
11
13
  pageSize: core.serialization.property("page_size", core.serialization.number()),
12
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
13
14
  paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedChatsPaginationDirection),
14
- chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat)),
15
- active: core.serialization.boolean().optional(),
15
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
16
16
  });
@@ -6,11 +6,11 @@ import { ReturnChatGroupPagedEventsPaginationDirection } from "./ReturnChatGroup
6
6
  export declare const ReturnChatGroupPagedEvents: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedEvents.Raw, Hume.empathicVoice.ReturnChatGroupPagedEvents>;
7
7
  export declare namespace ReturnChatGroupPagedEvents {
8
8
  interface Raw {
9
+ events_page: ReturnChatEvent.Raw[];
9
10
  id: string;
10
11
  page_number: number;
11
12
  page_size: number;
12
- total_pages: number;
13
13
  pagination_direction: ReturnChatGroupPagedEventsPaginationDirection.Raw;
14
- events_page: ReturnChatEvent.Raw[];
14
+ total_pages: number;
15
15
  }
16
16
  }
@@ -3,10 +3,10 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { ReturnChatEvent } from "./ReturnChatEvent.mjs";
4
4
  import { ReturnChatGroupPagedEventsPaginationDirection } from "./ReturnChatGroupPagedEventsPaginationDirection.mjs";
5
5
  export const ReturnChatGroupPagedEvents = core.serialization.object({
6
+ eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent)),
6
7
  id: core.serialization.string(),
7
8
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
8
9
  pageSize: core.serialization.property("page_size", core.serialization.number()),
9
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
10
10
  paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedEventsPaginationDirection),
11
- eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent)),
11
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
12
12
  });
@@ -8,17 +8,17 @@ import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
8
8
  export declare const ReturnChatPagedEvents: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatPagedEvents.Raw, Hume.empathicVoice.ReturnChatPagedEvents>;
9
9
  export declare namespace ReturnChatPagedEvents {
10
10
  interface Raw {
11
- id: string;
12
11
  chat_group_id: string;
13
- status: ReturnChatPagedEventsStatus.Raw;
14
- start_timestamp: number;
12
+ config?: ReturnConfigSpec.Raw | null;
15
13
  end_timestamp?: number | null;
16
- pagination_direction: ReturnChatPagedEventsPaginationDirection.Raw;
17
14
  events_page: ReturnChatEvent.Raw[];
15
+ id: string;
18
16
  metadata?: string | null;
19
17
  page_number: number;
20
18
  page_size: number;
19
+ pagination_direction: ReturnChatPagedEventsPaginationDirection.Raw;
20
+ start_timestamp: number;
21
+ status: ReturnChatPagedEventsStatus.Raw;
21
22
  total_pages: number;
22
- config?: ReturnConfigSpec.Raw | null;
23
23
  }
24
24
  }
@@ -5,16 +5,16 @@ import { ReturnChatPagedEventsPaginationDirection } from "./ReturnChatPagedEvent
5
5
  import { ReturnChatPagedEventsStatus } from "./ReturnChatPagedEventsStatus.mjs";
6
6
  import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
7
7
  export const ReturnChatPagedEvents = core.serialization.object({
8
- id: core.serialization.string(),
9
8
  chatGroupId: core.serialization.property("chat_group_id", core.serialization.string()),
10
- status: ReturnChatPagedEventsStatus,
11
- startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
9
+ config: ReturnConfigSpec.optional(),
12
10
  endTimestamp: core.serialization.property("end_timestamp", core.serialization.number().optional()),
13
- paginationDirection: core.serialization.property("pagination_direction", ReturnChatPagedEventsPaginationDirection),
14
11
  eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent)),
12
+ id: core.serialization.string(),
15
13
  metadata: core.serialization.string().optional(),
16
14
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
17
15
  pageSize: core.serialization.property("page_size", core.serialization.number()),
16
+ paginationDirection: core.serialization.property("pagination_direction", ReturnChatPagedEventsPaginationDirection),
17
+ startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
18
+ status: ReturnChatPagedEventsStatus,
18
19
  totalPages: core.serialization.property("total_pages", core.serialization.number()),
19
- config: ReturnConfigSpec.optional(),
20
20
  });
@@ -14,22 +14,22 @@ import { ReturnWebhookSpec } from "./ReturnWebhookSpec.mjs";
14
14
  export declare const ReturnConfig: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnConfig.Raw, Hume.empathicVoice.ReturnConfig>;
15
15
  export declare namespace ReturnConfig {
16
16
  interface Raw {
17
- name?: string | null;
18
- id?: string | null;
19
- version?: number | null;
20
- language_model?: ReturnLanguageModel.Raw | null;
21
17
  builtin_tools?: (ReturnBuiltinTool.Raw | null | undefined)[] | null;
18
+ created_on?: number | null;
19
+ ellm_model?: ReturnEllmModel.Raw | null;
20
+ event_messages?: ReturnEventMessageSpecs.Raw | null;
22
21
  evi_version?: string | null;
23
- timeouts?: ReturnTimeoutSpecs.Raw | null;
22
+ id?: string | null;
23
+ language_model?: ReturnLanguageModel.Raw | null;
24
+ modified_on?: number | null;
25
+ name?: string | null;
24
26
  nudges?: ReturnNudgeSpec.Raw | null;
25
- event_messages?: ReturnEventMessageSpecs.Raw | null;
26
- ellm_model?: ReturnEllmModel.Raw | null;
27
- voice?: ReturnVoice.Raw | null;
28
27
  prompt?: ReturnPrompt.Raw | null;
29
- webhooks?: (ReturnWebhookSpec.Raw | null | undefined)[] | null;
30
- created_on?: number | null;
31
- modified_on?: number | null;
32
- version_description?: string | null;
28
+ timeouts?: ReturnTimeoutSpecs.Raw | null;
33
29
  tools?: (ReturnUserDefinedTool.Raw | null | undefined)[] | null;
30
+ version?: number | null;
31
+ version_description?: string | null;
32
+ voice?: ReturnVoice.Raw | null;
33
+ webhooks?: (ReturnWebhookSpec.Raw | null | undefined)[] | null;
34
34
  }
35
35
  }