hume 0.15.3 → 0.15.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 (270) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/empathicVoice/client/Client.d.ts +8 -8
  3. package/dist/cjs/api/resources/empathicVoice/client/Client.js +8 -8
  4. package/dist/cjs/api/resources/empathicVoice/resources/chat/client/Client.js +1 -1
  5. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +11 -11
  6. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.js +92 -92
  7. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +18 -18
  8. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +16 -16
  9. package/dist/cjs/api/resources/empathicVoice/resources/controlPlane/client/Client.d.ts +2 -2
  10. package/dist/cjs/api/resources/empathicVoice/resources/controlPlane/client/Client.js +9 -4
  11. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +2 -2
  12. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +2 -2
  13. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +6 -6
  14. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +4 -4
  15. package/dist/cjs/api/resources/empathicVoice/types/ControlPlanePublishEvent.d.ts +24 -1
  16. package/dist/cjs/api/resources/empathicVoice/types/ErrorResponse.d.ts +1 -1
  17. package/dist/cjs/api/resources/empathicVoice/types/JsonMessage.d.ts +31 -1
  18. package/dist/cjs/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +2 -2
  19. package/dist/cjs/api/resources/empathicVoice/types/PostedConfigPromptSpec.d.ts +2 -2
  20. package/dist/cjs/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -2
  21. package/dist/cjs/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +2 -2
  22. package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.d.ts +1 -0
  23. package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.js +1 -0
  24. package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +2 -2
  25. package/dist/cjs/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -4
  26. package/dist/cjs/api/resources/empathicVoice/types/ReturnChat.d.ts +11 -11
  27. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +10 -10
  28. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +16 -16
  29. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +6 -6
  30. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +6 -6
  31. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +8 -8
  32. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +4 -4
  33. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +27 -27
  34. package/dist/cjs/api/resources/empathicVoice/types/ReturnConfig.d.ts +20 -41
  35. package/dist/cjs/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -2
  36. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -4
  37. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -4
  38. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -2
  39. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -2
  40. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -2
  41. package/dist/cjs/api/resources/empathicVoice/types/ReturnPrompt.d.ts +12 -23
  42. package/dist/cjs/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +2 -2
  43. package/dist/cjs/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +20 -20
  44. package/dist/cjs/api/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
  45. package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +1 -0
  46. package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.js +1 -0
  47. package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +2 -2
  48. package/dist/cjs/api/resources/empathicVoice/types/SubscribeEvent.d.ts +34 -1
  49. package/dist/cjs/api/resources/tts/resources/streamInput/client/Client.d.ts +1 -1
  50. package/dist/cjs/api/resources/tts/resources/streamInput/client/Client.js +7 -2
  51. package/dist/cjs/api/resources/tts/resources/voices/client/Client.d.ts +1 -1
  52. package/dist/cjs/api/resources/tts/resources/voices/client/Client.js +7 -2
  53. package/dist/cjs/api/resources/tts/types/ErrorResponse.d.ts +1 -1
  54. package/dist/cjs/api/resources/tts/types/PostedTts.d.ts +1 -1
  55. package/dist/cjs/api/resources/tts/types/ReturnVoice.d.ts +1 -1
  56. package/dist/cjs/api/resources/tts/types/Snippet.d.ts +1 -1
  57. package/dist/cjs/api/resources/tts/types/Timestamp.d.ts +2 -0
  58. package/dist/cjs/core/websocket/ws.js +3 -2
  59. package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -8
  60. package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -8
  61. package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -8
  62. package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -8
  63. package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
  64. package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.js +1 -1
  65. package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
  66. package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.js +1 -1
  67. package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +3 -3
  68. package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.js +3 -3
  69. package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +2 -2
  70. package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.js +2 -2
  71. package/dist/cjs/serialization/resources/empathicVoice/types/ErrorResponse.d.ts +1 -1
  72. package/dist/cjs/serialization/resources/empathicVoice/types/ErrorResponse.js +1 -1
  73. package/dist/cjs/serialization/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  74. package/dist/cjs/serialization/resources/empathicVoice/types/PostedBuiltinTool.js +1 -1
  75. package/dist/cjs/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.d.ts +1 -1
  76. package/dist/cjs/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.js +1 -1
  77. package/dist/cjs/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +1 -1
  78. package/dist/cjs/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +1 -1
  79. package/dist/cjs/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +1 -1
  80. package/dist/cjs/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +1 -1
  81. package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookEventType.d.ts +1 -1
  82. package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookEventType.js +1 -1
  83. package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookSpec.d.ts +1 -1
  84. package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookSpec.js +1 -1
  85. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -2
  86. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -2
  87. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChat.d.ts +4 -4
  88. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChat.js +4 -4
  89. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +3 -3
  90. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +3 -3
  91. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +5 -5
  92. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatEvent.js +5 -5
  93. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +3 -3
  94. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroup.js +3 -3
  95. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +3 -3
  96. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +3 -3
  97. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -4
  98. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +4 -4
  99. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -2
  100. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -2
  101. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +5 -5
  102. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +5 -5
  103. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +12 -12
  104. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnConfig.js +12 -12
  105. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +1 -1
  106. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +1 -1
  107. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -2
  108. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -2
  109. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -2
  110. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -2
  111. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -1
  112. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -1
  113. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -1
  114. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -1
  115. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -1
  116. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -1
  117. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +4 -5
  118. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPrompt.js +4 -5
  119. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +1 -1
  120. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +1 -1
  121. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +8 -8
  122. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +8 -8
  123. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
  124. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnVoice.js +1 -1
  125. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +1 -1
  126. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookEventType.js +1 -1
  127. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +1 -1
  128. package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookSpec.js +1 -1
  129. package/dist/cjs/serialization/resources/tts/types/ErrorResponse.d.ts +1 -1
  130. package/dist/cjs/serialization/resources/tts/types/ErrorResponse.js +1 -1
  131. package/dist/cjs/serialization/resources/tts/types/ReturnVoice.d.ts +1 -1
  132. package/dist/cjs/serialization/resources/tts/types/ReturnVoice.js +1 -1
  133. package/dist/cjs/version.d.ts +1 -1
  134. package/dist/cjs/version.js +1 -1
  135. package/dist/esm/Client.mjs +2 -2
  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/resources/voices/client/Client.d.mts +1 -1
  186. package/dist/esm/api/resources/tts/resources/voices/client/Client.mjs +7 -2
  187. package/dist/esm/api/resources/tts/types/ErrorResponse.d.mts +1 -1
  188. package/dist/esm/api/resources/tts/types/PostedTts.d.mts +1 -1
  189. package/dist/esm/api/resources/tts/types/ReturnVoice.d.mts +1 -1
  190. package/dist/esm/api/resources/tts/types/Snippet.d.mts +1 -1
  191. package/dist/esm/api/resources/tts/types/Timestamp.d.mts +2 -0
  192. package/dist/esm/core/websocket/ws.mjs +3 -2
  193. package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.mts +8 -8
  194. package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.mjs +8 -8
  195. package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.mts +8 -8
  196. package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.mjs +8 -8
  197. package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.mts +1 -1
  198. package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.mjs +1 -1
  199. package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.mts +1 -1
  200. package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.mjs +1 -1
  201. package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.mts +3 -3
  202. package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.mjs +3 -3
  203. package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.mts +2 -2
  204. package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.mjs +2 -2
  205. package/dist/esm/serialization/resources/empathicVoice/types/ErrorResponse.d.mts +1 -1
  206. package/dist/esm/serialization/resources/empathicVoice/types/ErrorResponse.mjs +1 -1
  207. package/dist/esm/serialization/resources/empathicVoice/types/PostedBuiltinTool.d.mts +1 -1
  208. package/dist/esm/serialization/resources/empathicVoice/types/PostedBuiltinTool.mjs +1 -1
  209. package/dist/esm/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.d.mts +1 -1
  210. package/dist/esm/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.mjs +1 -1
  211. package/dist/esm/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.mts +1 -1
  212. package/dist/esm/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.mjs +1 -1
  213. package/dist/esm/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.mts +1 -1
  214. package/dist/esm/serialization/resources/empathicVoice/types/PostedTimeoutSpec.mjs +1 -1
  215. package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookEventType.d.mts +1 -1
  216. package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookEventType.mjs +1 -1
  217. package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookSpec.d.mts +1 -1
  218. package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookSpec.mjs +1 -1
  219. package/dist/esm/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.mts +2 -2
  220. package/dist/esm/serialization/resources/empathicVoice/types/ReturnBuiltinTool.mjs +2 -2
  221. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChat.d.mts +4 -4
  222. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChat.mjs +4 -4
  223. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.mts +3 -3
  224. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.mjs +3 -3
  225. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatEvent.d.mts +5 -5
  226. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatEvent.mjs +5 -5
  227. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroup.d.mts +3 -3
  228. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroup.mjs +3 -3
  229. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.mts +3 -3
  230. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.mjs +3 -3
  231. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.mts +4 -4
  232. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.mjs +4 -4
  233. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.mts +2 -2
  234. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.mjs +2 -2
  235. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.mts +5 -5
  236. package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.mjs +5 -5
  237. package/dist/esm/serialization/resources/empathicVoice/types/ReturnConfig.d.mts +12 -12
  238. package/dist/esm/serialization/resources/empathicVoice/types/ReturnConfig.mjs +12 -12
  239. package/dist/esm/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.mts +1 -1
  240. package/dist/esm/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.mjs +1 -1
  241. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.mts +2 -2
  242. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.mjs +2 -2
  243. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChats.d.mts +2 -2
  244. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChats.mjs +2 -2
  245. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.mts +1 -1
  246. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedConfigs.mjs +1 -1
  247. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.mts +1 -1
  248. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedPrompts.mjs +1 -1
  249. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.mts +1 -1
  250. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.mjs +1 -1
  251. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPrompt.d.mts +4 -5
  252. package/dist/esm/serialization/resources/empathicVoice/types/ReturnPrompt.mjs +4 -5
  253. package/dist/esm/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.mts +1 -1
  254. package/dist/esm/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.mjs +1 -1
  255. package/dist/esm/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.mts +8 -8
  256. package/dist/esm/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.mjs +8 -8
  257. package/dist/esm/serialization/resources/empathicVoice/types/ReturnVoice.d.mts +1 -1
  258. package/dist/esm/serialization/resources/empathicVoice/types/ReturnVoice.mjs +1 -1
  259. package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookEventType.d.mts +1 -1
  260. package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookEventType.mjs +1 -1
  261. package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookSpec.d.mts +1 -1
  262. package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookSpec.mjs +1 -1
  263. package/dist/esm/serialization/resources/tts/types/ErrorResponse.d.mts +1 -1
  264. package/dist/esm/serialization/resources/tts/types/ErrorResponse.mjs +1 -1
  265. package/dist/esm/serialization/resources/tts/types/ReturnVoice.d.mts +1 -1
  266. package/dist/esm/serialization/resources/tts/types/ReturnVoice.mjs +1 -1
  267. package/dist/esm/version.d.mts +1 -1
  268. package/dist/esm/version.mjs +1 -1
  269. package/package.json +1 -1
  270. package/reference.md +576 -576
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
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
  }
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.PostedWebhookEventType = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
- exports.PostedWebhookEventType = core.serialization.enum_(["chat_started", "chat_ended"]);
39
+ exports.PostedWebhookEventType = core.serialization.enum_(["chat_started", "chat_ended", "tool_call"]);
@@ -5,7 +5,7 @@ import { PostedWebhookEventType } from "./PostedWebhookEventType.js";
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
  }
@@ -38,6 +38,6 @@ exports.PostedWebhookSpec = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
39
  const PostedWebhookEventType_js_1 = require("./PostedWebhookEventType.js");
40
40
  exports.PostedWebhookSpec = core.serialization.object({
41
- url: core.serialization.string(),
42
41
  events: core.serialization.list(PostedWebhookEventType_js_1.PostedWebhookEventType),
42
+ url: core.serialization.string(),
43
43
  });
@@ -5,8 +5,8 @@ import { ReturnBuiltinToolToolType } from "./ReturnBuiltinToolToolType.js";
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
  }
@@ -38,7 +38,7 @@ exports.ReturnBuiltinTool = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnBuiltinToolToolType_js_1 = require("./ReturnBuiltinToolToolType.js");
40
40
  exports.ReturnBuiltinTool = core.serialization.object({
41
- toolType: core.serialization.property("tool_type", ReturnBuiltinToolToolType_js_1.ReturnBuiltinToolToolType),
42
- name: core.serialization.string(),
43
41
  fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
42
+ name: core.serialization.string(),
43
+ toolType: core.serialization.property("tool_type", ReturnBuiltinToolToolType_js_1.ReturnBuiltinToolToolType),
44
44
  });
@@ -6,13 +6,13 @@ import { ReturnConfigSpec } from "./ReturnConfigSpec.js";
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
  }
@@ -39,12 +39,12 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnChatStatus_js_1 = require("./ReturnChatStatus.js");
40
40
  const ReturnConfigSpec_js_1 = require("./ReturnConfigSpec.js");
41
41
  exports.ReturnChat = core.serialization.object({
42
- id: core.serialization.string(),
43
42
  chatGroupId: core.serialization.property("chat_group_id", core.serialization.string()),
44
- status: ReturnChatStatus_js_1.ReturnChatStatus,
45
- startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
43
+ config: ReturnConfigSpec_js_1.ReturnConfigSpec.optional(),
46
44
  endTimestamp: core.serialization.property("end_timestamp", core.serialization.number().optional()),
47
45
  eventCount: core.serialization.property("event_count", core.serialization.number().optional()),
46
+ id: core.serialization.string(),
48
47
  metadata: core.serialization.string().optional(),
49
- config: ReturnConfigSpec_js_1.ReturnConfigSpec.optional(),
48
+ startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
49
+ status: ReturnChatStatus_js_1.ReturnChatStatus,
50
50
  });
@@ -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
  }
@@ -38,11 +38,11 @@ exports.ReturnChatAudioReconstruction = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnChatAudioReconstructionStatus_js_1 = require("./ReturnChatAudioReconstructionStatus.js");
40
40
  exports.ReturnChatAudioReconstruction = core.serialization.object({
41
- id: core.serialization.string(),
42
- userId: core.serialization.property("user_id", core.serialization.string()),
43
- status: ReturnChatAudioReconstructionStatus_js_1.ReturnChatAudioReconstructionStatus,
44
41
  filename: core.serialization.string().optional(),
42
+ id: core.serialization.string(),
45
43
  modifiedAt: core.serialization.property("modified_at", core.serialization.number().optional()),
46
44
  signedAudioUrl: core.serialization.property("signed_audio_url", core.serialization.string().optional()),
47
45
  signedUrlExpirationTimestampMillis: core.serialization.property("signed_url_expiration_timestamp_millis", core.serialization.number().optional()),
46
+ status: ReturnChatAudioReconstructionStatus_js_1.ReturnChatAudioReconstructionStatus,
47
+ userId: core.serialization.property("user_id", core.serialization.string()),
48
48
  });
@@ -6,14 +6,14 @@ import { ReturnChatEventType } from "./ReturnChatEventType.js";
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
  }
@@ -39,13 +39,13 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnChatEventRole_js_1 = require("./ReturnChatEventRole.js");
40
40
  const ReturnChatEventType_js_1 = require("./ReturnChatEventType.js");
41
41
  exports.ReturnChatEvent = core.serialization.object({
42
- id: core.serialization.string(),
43
42
  chatId: core.serialization.property("chat_id", core.serialization.string()),
44
- timestamp: core.serialization.number(),
45
- role: ReturnChatEventRole_js_1.ReturnChatEventRole,
46
- type: ReturnChatEventType_js_1.ReturnChatEventType,
47
- messageText: core.serialization.property("message_text", core.serialization.string().optional()),
48
43
  emotionFeatures: core.serialization.property("emotion_features", core.serialization.string().optional()),
44
+ id: core.serialization.string(),
45
+ messageText: core.serialization.property("message_text", core.serialization.string().optional()),
49
46
  metadata: core.serialization.string().optional(),
50
47
  relatedEventId: core.serialization.property("related_event_id", core.serialization.string().optional()),
48
+ role: ReturnChatEventRole_js_1.ReturnChatEventRole,
49
+ timestamp: core.serialization.number(),
50
+ type: ReturnChatEventType_js_1.ReturnChatEventType,
51
51
  });
@@ -5,12 +5,12 @@ import { ReturnConfigSpec } from "./ReturnConfigSpec.js";
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
  }
@@ -38,11 +38,11 @@ exports.ReturnChatGroup = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnConfigSpec_js_1 = require("./ReturnConfigSpec.js");
40
40
  exports.ReturnChatGroup = core.serialization.object({
41
- id: core.serialization.string(),
41
+ active: core.serialization.boolean().optional(),
42
42
  firstStartTimestamp: core.serialization.property("first_start_timestamp", core.serialization.number()),
43
- mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
43
+ id: core.serialization.string(),
44
44
  mostRecentChatId: core.serialization.property("most_recent_chat_id", core.serialization.string().optional()),
45
45
  mostRecentConfig: core.serialization.property("most_recent_config", ReturnConfigSpec_js_1.ReturnConfigSpec.optional()),
46
+ mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
46
47
  numChats: core.serialization.property("num_chats", core.serialization.number()),
47
- active: core.serialization.boolean().optional(),
48
48
  });
@@ -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
  }
@@ -39,12 +39,12 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnChatAudioReconstruction_js_1 = require("./ReturnChatAudioReconstruction.js");
40
40
  const ReturnChatGroupPagedAudioReconstructionsPaginationDirection_js_1 = require("./ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js");
41
41
  exports.ReturnChatGroupPagedAudioReconstructions = core.serialization.object({
42
+ audioReconstructionsPage: core.serialization.property("audio_reconstructions_page", core.serialization.list(ReturnChatAudioReconstruction_js_1.ReturnChatAudioReconstruction)),
42
43
  id: core.serialization.string(),
43
- userId: core.serialization.property("user_id", core.serialization.string()),
44
44
  numChats: core.serialization.property("num_chats", core.serialization.number()),
45
45
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
46
46
  pageSize: core.serialization.property("page_size", core.serialization.number()),
47
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
48
47
  paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedAudioReconstructionsPaginationDirection_js_1.ReturnChatGroupPagedAudioReconstructionsPaginationDirection),
49
- audioReconstructionsPage: core.serialization.property("audio_reconstructions_page", core.serialization.list(ReturnChatAudioReconstruction_js_1.ReturnChatAudioReconstruction)),
48
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
49
+ userId: core.serialization.property("user_id", core.serialization.string()),
50
50
  });
@@ -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
  }
@@ -39,14 +39,14 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnChat_js_1 = require("./ReturnChat.js");
40
40
  const ReturnChatGroupPagedChatsPaginationDirection_js_1 = require("./ReturnChatGroupPagedChatsPaginationDirection.js");
41
41
  exports.ReturnChatGroupPagedChats = core.serialization.object({
42
- id: core.serialization.string(),
42
+ active: core.serialization.boolean().optional(),
43
+ chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat_js_1.ReturnChat)),
43
44
  firstStartTimestamp: core.serialization.property("first_start_timestamp", core.serialization.number()),
45
+ id: core.serialization.string(),
44
46
  mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
45
47
  numChats: core.serialization.property("num_chats", core.serialization.number()),
46
48
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
47
49
  pageSize: core.serialization.property("page_size", core.serialization.number()),
48
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
49
50
  paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedChatsPaginationDirection_js_1.ReturnChatGroupPagedChatsPaginationDirection),
50
- chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat_js_1.ReturnChat)),
51
- active: core.serialization.boolean().optional(),
51
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
52
52
  });
@@ -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
  }
@@ -39,10 +39,10 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnChatEvent_js_1 = require("./ReturnChatEvent.js");
40
40
  const ReturnChatGroupPagedEventsPaginationDirection_js_1 = require("./ReturnChatGroupPagedEventsPaginationDirection.js");
41
41
  exports.ReturnChatGroupPagedEvents = core.serialization.object({
42
+ eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent_js_1.ReturnChatEvent)),
42
43
  id: core.serialization.string(),
43
44
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
44
45
  pageSize: core.serialization.property("page_size", core.serialization.number()),
45
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
46
46
  paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedEventsPaginationDirection_js_1.ReturnChatGroupPagedEventsPaginationDirection),
47
- eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent_js_1.ReturnChatEvent)),
47
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
48
48
  });
@@ -8,17 +8,17 @@ import { ReturnConfigSpec } from "./ReturnConfigSpec.js";
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
  }
@@ -41,16 +41,16 @@ const ReturnChatPagedEventsPaginationDirection_js_1 = require("./ReturnChatPaged
41
41
  const ReturnChatPagedEventsStatus_js_1 = require("./ReturnChatPagedEventsStatus.js");
42
42
  const ReturnConfigSpec_js_1 = require("./ReturnConfigSpec.js");
43
43
  exports.ReturnChatPagedEvents = core.serialization.object({
44
- id: core.serialization.string(),
45
44
  chatGroupId: core.serialization.property("chat_group_id", core.serialization.string()),
46
- status: ReturnChatPagedEventsStatus_js_1.ReturnChatPagedEventsStatus,
47
- startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
45
+ config: ReturnConfigSpec_js_1.ReturnConfigSpec.optional(),
48
46
  endTimestamp: core.serialization.property("end_timestamp", core.serialization.number().optional()),
49
- paginationDirection: core.serialization.property("pagination_direction", ReturnChatPagedEventsPaginationDirection_js_1.ReturnChatPagedEventsPaginationDirection),
50
47
  eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent_js_1.ReturnChatEvent)),
48
+ id: core.serialization.string(),
51
49
  metadata: core.serialization.string().optional(),
52
50
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
53
51
  pageSize: core.serialization.property("page_size", core.serialization.number()),
52
+ paginationDirection: core.serialization.property("pagination_direction", ReturnChatPagedEventsPaginationDirection_js_1.ReturnChatPagedEventsPaginationDirection),
53
+ startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
54
+ status: ReturnChatPagedEventsStatus_js_1.ReturnChatPagedEventsStatus,
54
55
  totalPages: core.serialization.property("total_pages", core.serialization.number()),
55
- config: ReturnConfigSpec_js_1.ReturnConfigSpec.optional(),
56
56
  });
@@ -14,22 +14,22 @@ import { ReturnWebhookSpec } from "./ReturnWebhookSpec.js";
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
  }
@@ -47,21 +47,21 @@ const ReturnUserDefinedTool_js_1 = require("./ReturnUserDefinedTool.js");
47
47
  const ReturnVoice_js_1 = require("./ReturnVoice.js");
48
48
  const ReturnWebhookSpec_js_1 = require("./ReturnWebhookSpec.js");
49
49
  exports.ReturnConfig = core.serialization.object({
50
- name: core.serialization.string().optional(),
51
- id: core.serialization.string().optional(),
52
- version: core.serialization.number().optional(),
53
- languageModel: core.serialization.property("language_model", ReturnLanguageModel_js_1.ReturnLanguageModel.optional()),
54
50
  builtinTools: core.serialization.property("builtin_tools", core.serialization.list(ReturnBuiltinTool_js_1.ReturnBuiltinTool.optional()).optional()),
51
+ createdOn: core.serialization.property("created_on", core.serialization.number().optional()),
52
+ ellmModel: core.serialization.property("ellm_model", ReturnEllmModel_js_1.ReturnEllmModel.optional()),
53
+ eventMessages: core.serialization.property("event_messages", ReturnEventMessageSpecs_js_1.ReturnEventMessageSpecs.optional()),
55
54
  eviVersion: core.serialization.property("evi_version", core.serialization.string().optional()),
56
- timeouts: ReturnTimeoutSpecs_js_1.ReturnTimeoutSpecs.optional(),
55
+ id: core.serialization.string().optional(),
56
+ languageModel: core.serialization.property("language_model", ReturnLanguageModel_js_1.ReturnLanguageModel.optional()),
57
+ modifiedOn: core.serialization.property("modified_on", core.serialization.number().optional()),
58
+ name: core.serialization.string().optional(),
57
59
  nudges: ReturnNudgeSpec_js_1.ReturnNudgeSpec.optional(),
58
- eventMessages: core.serialization.property("event_messages", ReturnEventMessageSpecs_js_1.ReturnEventMessageSpecs.optional()),
59
- ellmModel: core.serialization.property("ellm_model", ReturnEllmModel_js_1.ReturnEllmModel.optional()),
60
- voice: ReturnVoice_js_1.ReturnVoice.optional(),
61
60
  prompt: ReturnPrompt_js_1.ReturnPrompt.optional(),
62
- webhooks: core.serialization.list(ReturnWebhookSpec_js_1.ReturnWebhookSpec.optional()).optional(),
63
- createdOn: core.serialization.property("created_on", core.serialization.number().optional()),
64
- modifiedOn: core.serialization.property("modified_on", core.serialization.number().optional()),
65
- versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
61
+ timeouts: ReturnTimeoutSpecs_js_1.ReturnTimeoutSpecs.optional(),
66
62
  tools: core.serialization.list(ReturnUserDefinedTool_js_1.ReturnUserDefinedTool.optional()).optional(),
63
+ version: core.serialization.number().optional(),
64
+ versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
65
+ voice: ReturnVoice_js_1.ReturnVoice.optional(),
66
+ webhooks: core.serialization.list(ReturnWebhookSpec_js_1.ReturnWebhookSpec.optional()).optional(),
67
67
  });
@@ -5,8 +5,8 @@ import { ReturnEventMessageSpec } from "./ReturnEventMessageSpec.js";
5
5
  export declare const ReturnEventMessageSpecs: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnEventMessageSpecs.Raw, Hume.empathicVoice.ReturnEventMessageSpecs>;
6
6
  export declare namespace ReturnEventMessageSpecs {
7
7
  interface Raw {
8
- on_new_chat?: ReturnEventMessageSpec.Raw | null;
9
8
  on_inactivity_timeout?: ReturnEventMessageSpec.Raw | null;
10
9
  on_max_duration_timeout?: ReturnEventMessageSpec.Raw | null;
10
+ on_new_chat?: ReturnEventMessageSpec.Raw | null;
11
11
  }
12
12
  }
@@ -38,7 +38,7 @@ exports.ReturnEventMessageSpecs = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnEventMessageSpec_js_1 = require("./ReturnEventMessageSpec.js");
40
40
  exports.ReturnEventMessageSpecs = core.serialization.object({
41
- onNewChat: core.serialization.property("on_new_chat", ReturnEventMessageSpec_js_1.ReturnEventMessageSpec.optional()),
42
41
  onInactivityTimeout: core.serialization.property("on_inactivity_timeout", ReturnEventMessageSpec_js_1.ReturnEventMessageSpec.optional()),
43
42
  onMaxDurationTimeout: core.serialization.property("on_max_duration_timeout", ReturnEventMessageSpec_js_1.ReturnEventMessageSpec.optional()),
43
+ onNewChat: core.serialization.property("on_new_chat", ReturnEventMessageSpec_js_1.ReturnEventMessageSpec.optional()),
44
44
  });
@@ -6,10 +6,10 @@ import { ReturnPagedChatGroupsPaginationDirection } from "./ReturnPagedChatGroup
6
6
  export declare const ReturnPagedChatGroups: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPagedChatGroups.Raw, Hume.empathicVoice.ReturnPagedChatGroups>;
7
7
  export declare namespace ReturnPagedChatGroups {
8
8
  interface Raw {
9
+ chat_groups_page: ReturnChatGroup.Raw[];
9
10
  page_number: number;
10
11
  page_size: number;
11
- total_pages: number;
12
12
  pagination_direction: ReturnPagedChatGroupsPaginationDirection.Raw;
13
- chat_groups_page: ReturnChatGroup.Raw[];
13
+ total_pages: number;
14
14
  }
15
15
  }
@@ -39,9 +39,9 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnChatGroup_js_1 = require("./ReturnChatGroup.js");
40
40
  const ReturnPagedChatGroupsPaginationDirection_js_1 = require("./ReturnPagedChatGroupsPaginationDirection.js");
41
41
  exports.ReturnPagedChatGroups = core.serialization.object({
42
+ chatGroupsPage: core.serialization.property("chat_groups_page", core.serialization.list(ReturnChatGroup_js_1.ReturnChatGroup)),
42
43
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
43
44
  pageSize: core.serialization.property("page_size", core.serialization.number()),
44
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
45
45
  paginationDirection: core.serialization.property("pagination_direction", ReturnPagedChatGroupsPaginationDirection_js_1.ReturnPagedChatGroupsPaginationDirection),
46
- chatGroupsPage: core.serialization.property("chat_groups_page", core.serialization.list(ReturnChatGroup_js_1.ReturnChatGroup)),
46
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
47
47
  });
@@ -6,10 +6,10 @@ import { ReturnPagedChatsPaginationDirection } from "./ReturnPagedChatsPaginatio
6
6
  export declare const ReturnPagedChats: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPagedChats.Raw, Hume.empathicVoice.ReturnPagedChats>;
7
7
  export declare namespace ReturnPagedChats {
8
8
  interface Raw {
9
+ chats_page: ReturnChat.Raw[];
9
10
  page_number: number;
10
11
  page_size: number;
11
- total_pages: number;
12
12
  pagination_direction: ReturnPagedChatsPaginationDirection.Raw;
13
- chats_page: ReturnChat.Raw[];
13
+ total_pages: number;
14
14
  }
15
15
  }
@@ -39,9 +39,9 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnChat_js_1 = require("./ReturnChat.js");
40
40
  const ReturnPagedChatsPaginationDirection_js_1 = require("./ReturnPagedChatsPaginationDirection.js");
41
41
  exports.ReturnPagedChats = core.serialization.object({
42
+ chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat_js_1.ReturnChat)),
42
43
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
43
44
  pageSize: core.serialization.property("page_size", core.serialization.number()),
44
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
45
45
  paginationDirection: core.serialization.property("pagination_direction", ReturnPagedChatsPaginationDirection_js_1.ReturnPagedChatsPaginationDirection),
46
- chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat_js_1.ReturnChat)),
46
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
47
47
  });
@@ -5,9 +5,9 @@ import { ReturnConfig } from "./ReturnConfig.js";
5
5
  export declare const ReturnPagedConfigs: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPagedConfigs.Raw, Hume.empathicVoice.ReturnPagedConfigs>;
6
6
  export declare namespace ReturnPagedConfigs {
7
7
  interface Raw {
8
+ configs_page?: ReturnConfig.Raw[] | null;
8
9
  page_number?: number | null;
9
10
  page_size?: number | null;
10
11
  total_pages: number;
11
- configs_page?: ReturnConfig.Raw[] | null;
12
12
  }
13
13
  }
@@ -38,8 +38,8 @@ exports.ReturnPagedConfigs = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
39
  const ReturnConfig_js_1 = require("./ReturnConfig.js");
40
40
  exports.ReturnPagedConfigs = core.serialization.object({
41
+ configsPage: core.serialization.property("configs_page", core.serialization.list(ReturnConfig_js_1.ReturnConfig).optional()),
41
42
  pageNumber: core.serialization.property("page_number", core.serialization.number().optional()),
42
43
  pageSize: core.serialization.property("page_size", core.serialization.number().optional()),
43
44
  totalPages: core.serialization.property("total_pages", core.serialization.number()),
44
- configsPage: core.serialization.property("configs_page", core.serialization.list(ReturnConfig_js_1.ReturnConfig).optional()),
45
45
  });
@@ -7,7 +7,7 @@ export declare namespace ReturnPagedPrompts {
7
7
  interface Raw {
8
8
  page_number: number;
9
9
  page_size: number;
10
- total_pages: number;
11
10
  prompts_page: (ReturnPrompt.Raw | null | undefined)[];
11
+ total_pages: number;
12
12
  }
13
13
  }
@@ -40,6 +40,6 @@ const ReturnPrompt_js_1 = require("./ReturnPrompt.js");
40
40
  exports.ReturnPagedPrompts = core.serialization.object({
41
41
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
42
42
  pageSize: core.serialization.property("page_size", core.serialization.number()),
43
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
44
43
  promptsPage: core.serialization.property("prompts_page", core.serialization.list(ReturnPrompt_js_1.ReturnPrompt.optional())),
44
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
45
45
  });
@@ -7,7 +7,7 @@ export declare namespace ReturnPagedUserDefinedTools {
7
7
  interface Raw {
8
8
  page_number: number;
9
9
  page_size: number;
10
- total_pages: number;
11
10
  tools_page: (ReturnUserDefinedTool.Raw | null | undefined)[];
11
+ total_pages: number;
12
12
  }
13
13
  }
@@ -40,6 +40,6 @@ const ReturnUserDefinedTool_js_1 = require("./ReturnUserDefinedTool.js");
40
40
  exports.ReturnPagedUserDefinedTools = core.serialization.object({
41
41
  pageNumber: core.serialization.property("page_number", core.serialization.number()),
42
42
  pageSize: core.serialization.property("page_size", core.serialization.number()),
43
- totalPages: core.serialization.property("total_pages", core.serialization.number()),
44
43
  toolsPage: core.serialization.property("tools_page", core.serialization.list(ReturnUserDefinedTool_js_1.ReturnUserDefinedTool.optional())),
44
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
45
45
  });
@@ -1,17 +1,16 @@
1
1
  import type * as Hume from "../../../../api/index.js";
2
2
  import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
- import { ReturnPromptVersionType } from "./ReturnPromptVersionType.js";
5
4
  export declare const ReturnPrompt: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPrompt.Raw, Hume.empathicVoice.ReturnPrompt>;
6
5
  export declare namespace ReturnPrompt {
7
6
  interface Raw {
8
- name: string;
7
+ created_on: number;
9
8
  id: string;
9
+ modified_on: number;
10
+ name: string;
10
11
  text: string;
11
12
  version: number;
12
- version_type: ReturnPromptVersionType.Raw;
13
- created_on: number;
14
- modified_on: number;
15
13
  version_description?: string | null;
14
+ version_type: string;
16
15
  }
17
16
  }
@@ -36,14 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ReturnPrompt = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
- const ReturnPromptVersionType_js_1 = require("./ReturnPromptVersionType.js");
40
39
  exports.ReturnPrompt = core.serialization.object({
41
- name: core.serialization.string(),
40
+ createdOn: core.serialization.property("created_on", core.serialization.number()),
42
41
  id: core.serialization.string(),
42
+ modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
43
+ name: core.serialization.string(),
43
44
  text: core.serialization.string(),
44
45
  version: core.serialization.number(),
45
- versionType: core.serialization.property("version_type", ReturnPromptVersionType_js_1.ReturnPromptVersionType),
46
- createdOn: core.serialization.property("created_on", core.serialization.number()),
47
- modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
48
46
  versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
47
+ versionType: core.serialization.property("version_type", core.serialization.string()),
49
48
  });