hume 0.11.5-beta.1 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +27 -517
  2. package/.mock/definition/empathic-voice/chatGroups.yml +1 -1
  3. package/.mock/definition/empathic-voice/chats.yml +1 -1
  4. package/.mock/definition/empathic-voice/configs.yml +34 -151
  5. package/.mock/definition/empathic-voice/prompts.yml +21 -21
  6. package/.mock/definition/empathic-voice/tools.yml +10 -10
  7. package/.mock/definition/tts/__package__.yml +6 -22
  8. package/api/resources/empathicVoice/client/Client.d.ts +0 -3
  9. package/api/resources/empathicVoice/client/Client.js +8 -13
  10. package/api/resources/empathicVoice/resources/chat/client/Socket.js +1 -4
  11. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
  12. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +1 -1
  13. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
  14. package/api/resources/empathicVoice/resources/chats/client/Client.js +1 -1
  15. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +13 -13
  16. package/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
  17. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +4 -4
  18. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +3 -3
  19. package/api/resources/empathicVoice/resources/index.d.ts +0 -2
  20. package/api/resources/empathicVoice/resources/index.js +1 -3
  21. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +10 -10
  22. package/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
  23. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
  24. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
  25. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +10 -10
  26. package/api/resources/empathicVoice/resources/tools/client/Client.js +10 -10
  27. package/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
  28. package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  29. package/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
  30. package/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +1 -1
  31. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -3
  32. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  33. package/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +1 -1
  34. package/api/resources/empathicVoice/types/VoiceId.d.ts +10 -0
  35. package/api/resources/empathicVoice/types/VoiceName.d.ts +10 -0
  36. package/api/resources/empathicVoice/types/VoiceProvider.d.ts +8 -0
  37. package/api/resources/empathicVoice/types/{PostedVoiceProvider.js → VoiceProvider.js} +2 -2
  38. package/api/resources/empathicVoice/types/VoiceRef.d.ts +5 -0
  39. package/api/resources/empathicVoice/types/index.d.ts +4 -18
  40. package/api/resources/empathicVoice/types/index.js +4 -18
  41. package/dist/api/resources/empathicVoice/client/Client.d.ts +0 -3
  42. package/dist/api/resources/empathicVoice/client/Client.js +8 -13
  43. package/dist/api/resources/empathicVoice/resources/chat/client/Socket.js +1 -4
  44. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
  45. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +1 -1
  46. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
  47. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +1 -1
  48. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +13 -13
  49. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
  50. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +4 -4
  51. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +3 -3
  52. package/dist/api/resources/empathicVoice/resources/index.d.ts +0 -2
  53. package/dist/api/resources/empathicVoice/resources/index.js +1 -3
  54. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +10 -10
  55. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
  56. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
  57. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
  58. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +10 -10
  59. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +10 -10
  60. package/dist/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
  61. package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  62. package/dist/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
  63. package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +1 -1
  64. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -3
  65. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  66. package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +1 -1
  67. package/dist/api/resources/empathicVoice/types/VoiceId.d.ts +10 -0
  68. package/dist/api/resources/empathicVoice/types/VoiceName.d.ts +10 -0
  69. package/dist/api/resources/empathicVoice/types/VoiceProvider.d.ts +8 -0
  70. package/{api/resources/empathicVoice/types/ReturnVoiceProvider.js → dist/api/resources/empathicVoice/types/VoiceProvider.js} +2 -2
  71. package/dist/api/resources/empathicVoice/types/VoiceRef.d.ts +5 -0
  72. package/dist/api/resources/empathicVoice/types/index.d.ts +4 -18
  73. package/dist/api/resources/empathicVoice/types/index.js +4 -18
  74. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  75. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -2
  76. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  77. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -2
  78. package/dist/serialization/resources/empathicVoice/resources/index.d.ts +0 -2
  79. package/dist/serialization/resources/empathicVoice/resources/index.js +1 -3
  80. package/dist/serialization/resources/empathicVoice/types/JsonMessage.d.ts +1 -2
  81. package/dist/serialization/resources/empathicVoice/types/JsonMessage.js +0 -2
  82. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +1 -2
  83. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +1 -2
  84. package/dist/serialization/resources/empathicVoice/types/VoiceId.d.ts +14 -0
  85. package/dist/serialization/resources/empathicVoice/types/VoiceId.js +45 -0
  86. package/dist/serialization/resources/empathicVoice/types/VoiceName.d.ts +14 -0
  87. package/dist/serialization/resources/empathicVoice/types/VoiceName.js +45 -0
  88. package/{serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts → dist/serialization/resources/empathicVoice/types/VoiceProvider.d.ts} +2 -2
  89. package/dist/serialization/resources/empathicVoice/types/{ReturnVoiceProvider.js → VoiceProvider.js} +2 -2
  90. package/dist/serialization/resources/empathicVoice/types/VoiceRef.d.ts +12 -0
  91. package/dist/serialization/resources/empathicVoice/types/{PostedCustomVoiceBaseVoice.js → VoiceRef.js} +4 -2
  92. package/dist/serialization/resources/empathicVoice/types/index.d.ts +4 -18
  93. package/dist/serialization/resources/empathicVoice/types/index.js +4 -18
  94. package/dist/version.d.ts +1 -1
  95. package/dist/version.js +1 -1
  96. package/package.json +1 -1
  97. package/reference.md +43 -485
  98. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  99. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -2
  100. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  101. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -2
  102. package/serialization/resources/empathicVoice/resources/index.d.ts +0 -2
  103. package/serialization/resources/empathicVoice/resources/index.js +1 -3
  104. package/serialization/resources/empathicVoice/types/JsonMessage.d.ts +1 -2
  105. package/serialization/resources/empathicVoice/types/JsonMessage.js +0 -2
  106. package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +1 -2
  107. package/serialization/resources/empathicVoice/types/ReturnConfig.js +1 -2
  108. package/serialization/resources/empathicVoice/types/VoiceId.d.ts +14 -0
  109. package/serialization/resources/empathicVoice/types/VoiceId.js +45 -0
  110. package/serialization/resources/empathicVoice/types/VoiceName.d.ts +14 -0
  111. package/serialization/resources/empathicVoice/types/VoiceName.js +45 -0
  112. package/serialization/resources/empathicVoice/types/{ReturnVoiceProvider.d.ts → VoiceProvider.d.ts} +2 -2
  113. package/{dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.js → serialization/resources/empathicVoice/types/VoiceProvider.js} +2 -2
  114. package/serialization/resources/empathicVoice/types/VoiceRef.d.ts +12 -0
  115. package/{dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js → serialization/resources/empathicVoice/types/VoiceRef.js} +4 -2
  116. package/serialization/resources/empathicVoice/types/index.d.ts +4 -18
  117. package/serialization/resources/empathicVoice/types/index.js +4 -18
  118. package/version.d.ts +1 -1
  119. package/version.js +1 -1
  120. package/.mock/definition/empathic-voice/customVoices.yml +0 -283
  121. package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +0 -135
  122. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +0 -533
  123. package/api/resources/empathicVoice/resources/customVoices/client/index.d.ts +0 -1
  124. package/api/resources/empathicVoice/resources/customVoices/client/index.js +0 -17
  125. package/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +0 -25
  126. package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -13
  127. package/api/resources/empathicVoice/resources/customVoices/client/requests/index.d.ts +0 -2
  128. package/api/resources/empathicVoice/resources/customVoices/client/requests/index.js +0 -2
  129. package/api/resources/empathicVoice/resources/customVoices/index.d.ts +0 -1
  130. package/api/resources/empathicVoice/resources/customVoices/index.js +0 -17
  131. package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +0 -25
  132. package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +0 -17
  133. package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +0 -16
  134. package/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -70
  135. package/api/resources/empathicVoice/types/PostedVoice.d.ts +0 -20
  136. package/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +0 -11
  137. package/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +0 -31
  138. package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +0 -17
  139. package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +0 -16
  140. package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -68
  141. package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -5
  142. package/api/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +0 -25
  143. package/api/resources/empathicVoice/types/ReturnPagedCustomVoices.js +0 -5
  144. package/api/resources/empathicVoice/types/ReturnSignedUri.d.ts +0 -12
  145. package/api/resources/empathicVoice/types/ReturnSignedUri.js +0 -5
  146. package/api/resources/empathicVoice/types/ReturnVoice.d.ts +0 -18
  147. package/api/resources/empathicVoice/types/ReturnVoice.js +0 -5
  148. package/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +0 -31
  149. package/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +0 -5
  150. package/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +0 -15
  151. package/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +0 -5
  152. package/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +0 -11
  153. package/api/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +0 -8
  154. package/api/resources/empathicVoice/types/ReturnVoiceSpec.js +0 -5
  155. package/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +0 -14
  156. package/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +0 -5
  157. package/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +0 -14
  158. package/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +0 -5
  159. package/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +0 -14
  160. package/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +0 -5
  161. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +0 -135
  162. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +0 -533
  163. package/dist/api/resources/empathicVoice/resources/customVoices/client/index.d.ts +0 -1
  164. package/dist/api/resources/empathicVoice/resources/customVoices/client/index.js +0 -17
  165. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +0 -25
  166. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.js +0 -5
  167. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -13
  168. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.js +0 -5
  169. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/index.d.ts +0 -2
  170. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/index.js +0 -2
  171. package/dist/api/resources/empathicVoice/resources/customVoices/index.d.ts +0 -1
  172. package/dist/api/resources/empathicVoice/resources/customVoices/index.js +0 -17
  173. package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +0 -25
  174. package/dist/api/resources/empathicVoice/types/PostedCustomVoice.js +0 -5
  175. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +0 -17
  176. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +0 -16
  177. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -70
  178. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -5
  179. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +0 -20
  180. package/dist/api/resources/empathicVoice/types/PostedVoice.js +0 -5
  181. package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +0 -11
  182. package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.js +0 -10
  183. package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +0 -31
  184. package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.js +0 -5
  185. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +0 -17
  186. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +0 -16
  187. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -68
  188. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -5
  189. package/dist/api/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +0 -25
  190. package/dist/api/resources/empathicVoice/types/ReturnPagedCustomVoices.js +0 -5
  191. package/dist/api/resources/empathicVoice/types/ReturnSignedUri.d.ts +0 -12
  192. package/dist/api/resources/empathicVoice/types/ReturnSignedUri.js +0 -5
  193. package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +0 -18
  194. package/dist/api/resources/empathicVoice/types/ReturnVoice.js +0 -5
  195. package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +0 -31
  196. package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +0 -5
  197. package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +0 -15
  198. package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +0 -5
  199. package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +0 -11
  200. package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.js +0 -10
  201. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +0 -8
  202. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpec.js +0 -5
  203. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +0 -14
  204. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +0 -5
  205. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +0 -14
  206. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +0 -5
  207. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +0 -14
  208. package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +0 -5
  209. package/dist/serialization/resources/empathicVoice/resources/customVoices/client/index.d.ts +0 -1
  210. package/dist/serialization/resources/empathicVoice/resources/customVoices/client/index.js +0 -17
  211. package/dist/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -12
  212. package/dist/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.js +0 -43
  213. package/dist/serialization/resources/empathicVoice/resources/customVoices/client/requests/index.d.ts +0 -1
  214. package/dist/serialization/resources/empathicVoice/resources/customVoices/client/requests/index.js +0 -5
  215. package/dist/serialization/resources/empathicVoice/resources/customVoices/index.d.ts +0 -1
  216. package/dist/serialization/resources/empathicVoice/resources/customVoices/index.js +0 -17
  217. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +0 -17
  218. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.js +0 -48
  219. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +0 -10
  220. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -21
  221. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -52
  222. package/dist/serialization/resources/empathicVoice/types/PostedVoice.d.ts +0 -16
  223. package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +0 -47
  224. package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +0 -10
  225. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +0 -21
  226. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +0 -52
  227. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +0 -10
  228. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -21
  229. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -52
  230. package/dist/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +0 -16
  231. package/dist/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.js +0 -47
  232. package/dist/serialization/resources/empathicVoice/types/ReturnSignedUri.d.ts +0 -15
  233. package/dist/serialization/resources/empathicVoice/types/ReturnSignedUri.js +0 -46
  234. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +0 -16
  235. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +0 -47
  236. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +0 -34
  237. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +0 -65
  238. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +0 -18
  239. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +0 -49
  240. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +0 -10
  241. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +0 -13
  242. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpec.js +0 -48
  243. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +0 -15
  244. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +0 -46
  245. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +0 -15
  246. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +0 -46
  247. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +0 -15
  248. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +0 -46
  249. package/serialization/resources/empathicVoice/resources/customVoices/client/index.d.ts +0 -1
  250. package/serialization/resources/empathicVoice/resources/customVoices/client/index.js +0 -17
  251. package/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -12
  252. package/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.js +0 -43
  253. package/serialization/resources/empathicVoice/resources/customVoices/client/requests/index.d.ts +0 -1
  254. package/serialization/resources/empathicVoice/resources/customVoices/client/requests/index.js +0 -5
  255. package/serialization/resources/empathicVoice/resources/customVoices/index.d.ts +0 -1
  256. package/serialization/resources/empathicVoice/resources/customVoices/index.js +0 -17
  257. package/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +0 -17
  258. package/serialization/resources/empathicVoice/types/PostedCustomVoice.js +0 -48
  259. package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +0 -10
  260. package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +0 -41
  261. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -21
  262. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -52
  263. package/serialization/resources/empathicVoice/types/PostedVoice.d.ts +0 -16
  264. package/serialization/resources/empathicVoice/types/PostedVoice.js +0 -47
  265. package/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +0 -41
  266. package/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +0 -21
  267. package/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +0 -52
  268. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +0 -10
  269. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +0 -41
  270. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -21
  271. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -52
  272. package/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +0 -16
  273. package/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.js +0 -47
  274. package/serialization/resources/empathicVoice/types/ReturnSignedUri.d.ts +0 -15
  275. package/serialization/resources/empathicVoice/types/ReturnSignedUri.js +0 -46
  276. package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +0 -16
  277. package/serialization/resources/empathicVoice/types/ReturnVoice.js +0 -47
  278. package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +0 -34
  279. package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +0 -65
  280. package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +0 -18
  281. package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +0 -49
  282. package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +0 -41
  283. package/serialization/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +0 -13
  284. package/serialization/resources/empathicVoice/types/ReturnVoiceSpec.js +0 -48
  285. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +0 -15
  286. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +0 -46
  287. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +0 -15
  288. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +0 -46
  289. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +0 -15
  290. package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +0 -46
  291. /package/api/resources/empathicVoice/{resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.js → types/VoiceId.js} +0 -0
  292. /package/api/resources/empathicVoice/{resources/customVoices/client/requests/PostedCustomVoiceName.js → types/VoiceName.js} +0 -0
  293. /package/api/resources/empathicVoice/types/{PostedCustomVoice.js → VoiceRef.js} +0 -0
  294. /package/{api/resources/empathicVoice/types/PostedCustomVoiceParameters.js → dist/api/resources/empathicVoice/types/VoiceId.js} +0 -0
  295. /package/{api/resources/empathicVoice/types/PostedVoice.js → dist/api/resources/empathicVoice/types/VoiceName.js} +0 -0
  296. /package/{api/resources/empathicVoice/types/ReturnCustomVoice.js → dist/api/resources/empathicVoice/types/VoiceRef.js} +0 -0
@@ -11,7 +11,7 @@ export interface ReturnWebhookSpec {
11
11
  /**
12
12
  * The list of events the specified URL is subscribed to.
13
13
  *
14
- * See our [webhooks guide](/docs/empathic-voice-interface-evi/configuration/build-a-configuration#supported-events) for more information on supported events.
14
+ * See our [webhooks guide](/docs/speech-to-speech-evi/configuration/build-a-configuration#supported-events) for more information on supported events.
15
15
  */
16
16
  events: Hume.empathicVoice.ReturnWebhookEventType[];
17
17
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "../../../index";
5
+ export interface VoiceId {
6
+ /** ID of the voice in the `Voice Library`. */
7
+ id: string;
8
+ /** Model provider associated with this Voice ID. */
9
+ provider?: Hume.empathicVoice.VoiceProvider;
10
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "../../../index";
5
+ export interface VoiceName {
6
+ /** Name of the voice in the `Voice Library`. */
7
+ name: string;
8
+ /** Model provider associated with this Voice Name. */
9
+ provider?: Hume.empathicVoice.VoiceProvider;
10
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type VoiceProvider = "HUME_AI" | "CUSTOM_VOICE";
5
+ export declare const VoiceProvider: {
6
+ readonly HumeAi: "HUME_AI";
7
+ readonly CustomVoice: "CUSTOM_VOICE";
8
+ };
@@ -3,8 +3,8 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ReturnVoiceProvider = void 0;
7
- exports.ReturnVoiceProvider = {
6
+ exports.VoiceProvider = void 0;
7
+ exports.VoiceProvider = {
8
8
  HumeAi: "HUME_AI",
9
9
  CustomVoice: "CUSTOM_VOICE",
10
10
  };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Hume from "../../../index";
5
+ export type VoiceRef = Hume.empathicVoice.VoiceId | Hume.empathicVoice.VoiceName;
@@ -51,13 +51,6 @@ export * from "./ReturnUserDefinedToolVersionType";
51
51
  export * from "./ReturnUserDefinedTool";
52
52
  export * from "./ReturnPagedPrompts";
53
53
  export * from "./ReturnPrompt";
54
- export * from "./ReturnPagedCustomVoices";
55
- export * from "./PostedCustomVoiceBaseVoice";
56
- export * from "./PostedCustomVoiceParameters";
57
- export * from "./PostedCustomVoice";
58
- export * from "./ReturnCustomVoiceBaseVoice";
59
- export * from "./ReturnCustomVoiceParameters";
60
- export * from "./ReturnCustomVoice";
61
54
  export * from "./ReturnPagedConfigs";
62
55
  export * from "./ReturnConfig";
63
56
  export * from "./ReturnPagedChatsPaginationDirection";
@@ -89,7 +82,6 @@ export * from "./PostedTimeoutSpecsMaxDuration";
89
82
  export * from "./PostedTimeoutSpecs";
90
83
  export * from "./PostedWebhookEventType";
91
84
  export * from "./PostedWebhookSpec";
92
- export * from "./ReturnVoiceSpec";
93
85
  export * from "./ReturnLanguageModel";
94
86
  export * from "./ReturnEllmModel";
95
87
  export * from "./ReturnBuiltinToolToolType";
@@ -108,15 +100,9 @@ export * from "./ReturnConfigSpec";
108
100
  export * from "./ReturnChatGroup";
109
101
  export * from "./PostedEventMessageSpec";
110
102
  export * from "./PostedTimeoutSpec";
111
- export * from "./ReturnVoiceSpecEvi2";
112
- export * from "./ReturnVoiceSpecOctavecustom";
113
- export * from "./ReturnVoiceSpecOctaveshared";
114
103
  export * from "./ReturnEventMessageSpec";
115
104
  export * from "./ReturnTimeoutSpec";
116
- export * from "./ReturnVoiceOctaveCustom";
117
- export * from "./ReturnVoiceOctaveShared";
118
- export * from "./ReturnSignedUri";
119
- export * from "./PostedVoiceProvider";
120
- export * from "./PostedVoice";
121
- export * from "./ReturnVoiceProvider";
122
- export * from "./ReturnVoice";
105
+ export * from "./VoiceProvider";
106
+ export * from "./VoiceId";
107
+ export * from "./VoiceName";
108
+ export * from "./VoiceRef";
@@ -67,13 +67,6 @@ __exportStar(require("./ReturnUserDefinedToolVersionType"), exports);
67
67
  __exportStar(require("./ReturnUserDefinedTool"), exports);
68
68
  __exportStar(require("./ReturnPagedPrompts"), exports);
69
69
  __exportStar(require("./ReturnPrompt"), exports);
70
- __exportStar(require("./ReturnPagedCustomVoices"), exports);
71
- __exportStar(require("./PostedCustomVoiceBaseVoice"), exports);
72
- __exportStar(require("./PostedCustomVoiceParameters"), exports);
73
- __exportStar(require("./PostedCustomVoice"), exports);
74
- __exportStar(require("./ReturnCustomVoiceBaseVoice"), exports);
75
- __exportStar(require("./ReturnCustomVoiceParameters"), exports);
76
- __exportStar(require("./ReturnCustomVoice"), exports);
77
70
  __exportStar(require("./ReturnPagedConfigs"), exports);
78
71
  __exportStar(require("./ReturnConfig"), exports);
79
72
  __exportStar(require("./ReturnPagedChatsPaginationDirection"), exports);
@@ -105,7 +98,6 @@ __exportStar(require("./PostedTimeoutSpecsMaxDuration"), exports);
105
98
  __exportStar(require("./PostedTimeoutSpecs"), exports);
106
99
  __exportStar(require("./PostedWebhookEventType"), exports);
107
100
  __exportStar(require("./PostedWebhookSpec"), exports);
108
- __exportStar(require("./ReturnVoiceSpec"), exports);
109
101
  __exportStar(require("./ReturnLanguageModel"), exports);
110
102
  __exportStar(require("./ReturnEllmModel"), exports);
111
103
  __exportStar(require("./ReturnBuiltinToolToolType"), exports);
@@ -124,15 +116,9 @@ __exportStar(require("./ReturnConfigSpec"), exports);
124
116
  __exportStar(require("./ReturnChatGroup"), exports);
125
117
  __exportStar(require("./PostedEventMessageSpec"), exports);
126
118
  __exportStar(require("./PostedTimeoutSpec"), exports);
127
- __exportStar(require("./ReturnVoiceSpecEvi2"), exports);
128
- __exportStar(require("./ReturnVoiceSpecOctavecustom"), exports);
129
- __exportStar(require("./ReturnVoiceSpecOctaveshared"), exports);
130
119
  __exportStar(require("./ReturnEventMessageSpec"), exports);
131
120
  __exportStar(require("./ReturnTimeoutSpec"), exports);
132
- __exportStar(require("./ReturnVoiceOctaveCustom"), exports);
133
- __exportStar(require("./ReturnVoiceOctaveShared"), exports);
134
- __exportStar(require("./ReturnSignedUri"), exports);
135
- __exportStar(require("./PostedVoiceProvider"), exports);
136
- __exportStar(require("./PostedVoice"), exports);
137
- __exportStar(require("./ReturnVoiceProvider"), exports);
138
- __exportStar(require("./ReturnVoice"), exports);
121
+ __exportStar(require("./VoiceProvider"), exports);
122
+ __exportStar(require("./VoiceId"), exports);
123
+ __exportStar(require("./VoiceName"), exports);
124
+ __exportStar(require("./VoiceRef"), exports);
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../../index";
5
5
  import * as Hume from "../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../core";
7
7
  import { PostedConfigPromptSpec } from "../../../../types/PostedConfigPromptSpec";
8
- import { PostedVoice } from "../../../../types/PostedVoice";
8
+ import { VoiceRef } from "../../../../types/VoiceRef";
9
9
  import { PostedLanguageModel } from "../../../../types/PostedLanguageModel";
10
10
  import { PostedEllmModel } from "../../../../types/PostedEllmModel";
11
11
  import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedToolSpec";
@@ -21,7 +21,7 @@ export declare namespace PostedConfig {
21
21
  name: string;
22
22
  version_description?: string | null;
23
23
  prompt?: PostedConfigPromptSpec.Raw | null;
24
- voice?: PostedVoice.Raw | null;
24
+ voice?: VoiceRef.Raw | null;
25
25
  language_model?: PostedLanguageModel.Raw | null;
26
26
  ellm_model?: PostedEllmModel.Raw | null;
27
27
  tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.PostedConfig = void 0;
40
40
  const core = __importStar(require("../../../../../../../core"));
41
41
  const PostedConfigPromptSpec_1 = require("../../../../types/PostedConfigPromptSpec");
42
- const PostedVoice_1 = require("../../../../types/PostedVoice");
42
+ const VoiceRef_1 = require("../../../../types/VoiceRef");
43
43
  const PostedLanguageModel_1 = require("../../../../types/PostedLanguageModel");
44
44
  const PostedEllmModel_1 = require("../../../../types/PostedEllmModel");
45
45
  const PostedUserDefinedToolSpec_1 = require("../../../../types/PostedUserDefinedToolSpec");
@@ -53,7 +53,7 @@ exports.PostedConfig = core.serialization.object({
53
53
  name: core.serialization.string(),
54
54
  versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
55
55
  prompt: PostedConfigPromptSpec_1.PostedConfigPromptSpec.optional(),
56
- voice: PostedVoice_1.PostedVoice.optional(),
56
+ voice: VoiceRef_1.VoiceRef.optional(),
57
57
  languageModel: core.serialization.property("language_model", PostedLanguageModel_1.PostedLanguageModel.optional()),
58
58
  ellmModel: core.serialization.property("ellm_model", PostedEllmModel_1.PostedEllmModel.optional()),
59
59
  tools: core.serialization.list(PostedUserDefinedToolSpec_1.PostedUserDefinedToolSpec.optional()).optional(),
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../../index";
5
5
  import * as Hume from "../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../core";
7
7
  import { PostedConfigPromptSpec } from "../../../../types/PostedConfigPromptSpec";
8
- import { PostedVoice } from "../../../../types/PostedVoice";
8
+ import { VoiceRef } from "../../../../types/VoiceRef";
9
9
  import { PostedLanguageModel } from "../../../../types/PostedLanguageModel";
10
10
  import { PostedEllmModel } from "../../../../types/PostedEllmModel";
11
11
  import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedToolSpec";
@@ -20,7 +20,7 @@ export declare namespace PostedConfigVersion {
20
20
  evi_version: string;
21
21
  version_description?: string | null;
22
22
  prompt?: PostedConfigPromptSpec.Raw | null;
23
- voice?: PostedVoice.Raw | null;
23
+ voice?: VoiceRef.Raw | null;
24
24
  language_model?: PostedLanguageModel.Raw | null;
25
25
  ellm_model?: PostedEllmModel.Raw | null;
26
26
  tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.PostedConfigVersion = void 0;
40
40
  const core = __importStar(require("../../../../../../../core"));
41
41
  const PostedConfigPromptSpec_1 = require("../../../../types/PostedConfigPromptSpec");
42
- const PostedVoice_1 = require("../../../../types/PostedVoice");
42
+ const VoiceRef_1 = require("../../../../types/VoiceRef");
43
43
  const PostedLanguageModel_1 = require("../../../../types/PostedLanguageModel");
44
44
  const PostedEllmModel_1 = require("../../../../types/PostedEllmModel");
45
45
  const PostedUserDefinedToolSpec_1 = require("../../../../types/PostedUserDefinedToolSpec");
@@ -52,7 +52,7 @@ exports.PostedConfigVersion = core.serialization.object({
52
52
  eviVersion: core.serialization.property("evi_version", core.serialization.string()),
53
53
  versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
54
54
  prompt: PostedConfigPromptSpec_1.PostedConfigPromptSpec.optional(),
55
- voice: PostedVoice_1.PostedVoice.optional(),
55
+ voice: VoiceRef_1.VoiceRef.optional(),
56
56
  languageModel: core.serialization.property("language_model", PostedLanguageModel_1.PostedLanguageModel.optional()),
57
57
  ellmModel: core.serialization.property("ellm_model", PostedEllmModel_1.PostedEllmModel.optional()),
58
58
  tools: core.serialization.list(PostedUserDefinedToolSpec_1.PostedUserDefinedToolSpec.optional()).optional(),
@@ -4,7 +4,5 @@ export * as tools from "./tools";
4
4
  export * as prompts from "./prompts";
5
5
  export * from "./tools/client/requests";
6
6
  export * from "./prompts/client/requests";
7
- export * as customVoices from "./customVoices";
8
- export * from "./customVoices/client/requests";
9
7
  export * as configs from "./configs";
10
8
  export * from "./configs/client/requests";
@@ -36,14 +36,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.configs = exports.customVoices = exports.prompts = exports.tools = exports.chat = void 0;
39
+ exports.configs = exports.prompts = exports.tools = exports.chat = void 0;
40
40
  exports.chat = __importStar(require("./chat"));
41
41
  __exportStar(require("./chat/types"), exports);
42
42
  exports.tools = __importStar(require("./tools"));
43
43
  exports.prompts = __importStar(require("./prompts"));
44
44
  __exportStar(require("./tools/client/requests"), exports);
45
45
  __exportStar(require("./prompts/client/requests"), exports);
46
- exports.customVoices = __importStar(require("./customVoices"));
47
- __exportStar(require("./customVoices/client/requests"), exports);
48
46
  exports.configs = __importStar(require("./configs"));
49
47
  __exportStar(require("./configs/client/requests"), exports);
@@ -13,8 +13,7 @@ import { UserMessage } from "./UserMessage";
13
13
  import { ToolCallMessage } from "./ToolCallMessage";
14
14
  import { ToolResponseMessage } from "./ToolResponseMessage";
15
15
  import { ToolErrorMessage } from "./ToolErrorMessage";
16
- import { AssistantProsody } from "./AssistantProsody";
17
16
  export declare const JsonMessage: core.serialization.Schema<serializers.empathicVoice.JsonMessage.Raw, Hume.empathicVoice.JsonMessage>;
18
17
  export declare namespace JsonMessage {
19
- type Raw = AssistantEnd.Raw | AssistantMessage.Raw | ChatMetadata.Raw | WebSocketError.Raw | UserInterruption.Raw | UserMessage.Raw | ToolCallMessage.Raw | ToolResponseMessage.Raw | ToolErrorMessage.Raw | AssistantProsody.Raw;
18
+ type Raw = AssistantEnd.Raw | AssistantMessage.Raw | ChatMetadata.Raw | WebSocketError.Raw | UserInterruption.Raw | UserMessage.Raw | ToolCallMessage.Raw | ToolResponseMessage.Raw | ToolErrorMessage.Raw;
20
19
  }
@@ -47,7 +47,6 @@ const UserMessage_1 = require("./UserMessage");
47
47
  const ToolCallMessage_1 = require("./ToolCallMessage");
48
48
  const ToolResponseMessage_1 = require("./ToolResponseMessage");
49
49
  const ToolErrorMessage_1 = require("./ToolErrorMessage");
50
- const AssistantProsody_1 = require("./AssistantProsody");
51
50
  exports.JsonMessage = core.serialization.undiscriminatedUnion([
52
51
  AssistantEnd_1.AssistantEnd,
53
52
  AssistantMessage_1.AssistantMessage,
@@ -58,5 +57,4 @@ exports.JsonMessage = core.serialization.undiscriminatedUnion([
58
57
  ToolCallMessage_1.ToolCallMessage,
59
58
  ToolResponseMessage_1.ToolResponseMessage,
60
59
  ToolErrorMessage_1.ToolErrorMessage,
61
- AssistantProsody_1.AssistantProsody,
62
60
  ]);
@@ -7,7 +7,6 @@ import * as core from "../../../../core";
7
7
  import { ReturnTimeoutSpecs } from "./ReturnTimeoutSpecs";
8
8
  import { ReturnNudgeSpec } from "./ReturnNudgeSpec";
9
9
  import { ReturnEllmModel } from "./ReturnEllmModel";
10
- import { ReturnVoice } from "./ReturnVoice";
11
10
  import { ReturnPrompt } from "./ReturnPrompt";
12
11
  import { ReturnUserDefinedTool } from "./ReturnUserDefinedTool";
13
12
  import { ReturnWebhookSpec } from "./ReturnWebhookSpec";
@@ -24,7 +23,7 @@ export declare namespace ReturnConfig {
24
23
  timeouts?: ReturnTimeoutSpecs.Raw | null;
25
24
  nudges?: ReturnNudgeSpec.Raw | null;
26
25
  ellm_model?: ReturnEllmModel.Raw | null;
27
- voice?: ReturnVoice.Raw | null;
26
+ voice?: unknown | null;
28
27
  prompt?: ReturnPrompt.Raw | null;
29
28
  tools?: (ReturnUserDefinedTool.Raw | null | undefined)[] | null;
30
29
  webhooks?: (ReturnWebhookSpec.Raw | null | undefined)[] | null;
@@ -41,7 +41,6 @@ const core = __importStar(require("../../../../core"));
41
41
  const ReturnTimeoutSpecs_1 = require("./ReturnTimeoutSpecs");
42
42
  const ReturnNudgeSpec_1 = require("./ReturnNudgeSpec");
43
43
  const ReturnEllmModel_1 = require("./ReturnEllmModel");
44
- const ReturnVoice_1 = require("./ReturnVoice");
45
44
  const ReturnPrompt_1 = require("./ReturnPrompt");
46
45
  const ReturnUserDefinedTool_1 = require("./ReturnUserDefinedTool");
47
46
  const ReturnWebhookSpec_1 = require("./ReturnWebhookSpec");
@@ -56,7 +55,7 @@ exports.ReturnConfig = core.serialization.object({
56
55
  timeouts: ReturnTimeoutSpecs_1.ReturnTimeoutSpecs.optional(),
57
56
  nudges: ReturnNudgeSpec_1.ReturnNudgeSpec.optional(),
58
57
  ellmModel: core.serialization.property("ellm_model", ReturnEllmModel_1.ReturnEllmModel.optional()),
59
- voice: ReturnVoice_1.ReturnVoice.optional(),
58
+ voice: core.serialization.unknown().optional(),
60
59
  prompt: ReturnPrompt_1.ReturnPrompt.optional(),
61
60
  tools: core.serialization.list(ReturnUserDefinedTool_1.ReturnUserDefinedTool.optional()).optional(),
62
61
  webhooks: core.serialization.list(ReturnWebhookSpec_1.ReturnWebhookSpec.optional()).optional(),
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Hume from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { VoiceProvider } from "./VoiceProvider";
8
+ export declare const VoiceId: core.serialization.ObjectSchema<serializers.empathicVoice.VoiceId.Raw, Hume.empathicVoice.VoiceId>;
9
+ export declare namespace VoiceId {
10
+ interface Raw {
11
+ id: string;
12
+ provider?: VoiceProvider.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.VoiceId = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const VoiceProvider_1 = require("./VoiceProvider");
42
+ exports.VoiceId = core.serialization.object({
43
+ id: core.serialization.string(),
44
+ provider: VoiceProvider_1.VoiceProvider.optional(),
45
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Hume from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { VoiceProvider } from "./VoiceProvider";
8
+ export declare const VoiceName: core.serialization.ObjectSchema<serializers.empathicVoice.VoiceName.Raw, Hume.empathicVoice.VoiceName>;
9
+ export declare namespace VoiceName {
10
+ interface Raw {
11
+ name: string;
12
+ provider?: VoiceProvider.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.VoiceName = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const VoiceProvider_1 = require("./VoiceProvider");
42
+ exports.VoiceName = core.serialization.object({
43
+ name: core.serialization.string(),
44
+ provider: VoiceProvider_1.VoiceProvider.optional(),
45
+ });
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Hume from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
- export declare const PostedVoiceProvider: core.serialization.Schema<serializers.empathicVoice.PostedVoiceProvider.Raw, Hume.empathicVoice.PostedVoiceProvider>;
8
- export declare namespace PostedVoiceProvider {
7
+ export declare const VoiceProvider: core.serialization.Schema<serializers.empathicVoice.VoiceProvider.Raw, Hume.empathicVoice.VoiceProvider>;
8
+ export declare namespace VoiceProvider {
9
9
  type Raw = "HUME_AI" | "CUSTOM_VOICE";
10
10
  }
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ReturnVoiceProvider = void 0;
39
+ exports.VoiceProvider = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- exports.ReturnVoiceProvider = core.serialization.enum_(["HUME_AI", "CUSTOM_VOICE"]);
41
+ exports.VoiceProvider = core.serialization.enum_(["HUME_AI", "CUSTOM_VOICE"]);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Hume from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { VoiceId } from "./VoiceId";
8
+ import { VoiceName } from "./VoiceName";
9
+ export declare const VoiceRef: core.serialization.Schema<serializers.empathicVoice.VoiceRef.Raw, Hume.empathicVoice.VoiceRef>;
10
+ export declare namespace VoiceRef {
11
+ type Raw = VoiceId.Raw | VoiceName.Raw;
12
+ }
@@ -36,6 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PostedCustomVoiceBaseVoice = void 0;
39
+ exports.VoiceRef = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- exports.PostedCustomVoiceBaseVoice = core.serialization.enum_(["ITO", "KORA", "DACHER", "AURA", "FINN", "WHIMSY", "STELLA", "SUNNY"]);
41
+ const VoiceId_1 = require("./VoiceId");
42
+ const VoiceName_1 = require("./VoiceName");
43
+ exports.VoiceRef = core.serialization.undiscriminatedUnion([VoiceId_1.VoiceId, VoiceName_1.VoiceName]);
@@ -51,13 +51,6 @@ export * from "./ReturnUserDefinedToolVersionType";
51
51
  export * from "./ReturnUserDefinedTool";
52
52
  export * from "./ReturnPagedPrompts";
53
53
  export * from "./ReturnPrompt";
54
- export * from "./ReturnPagedCustomVoices";
55
- export * from "./PostedCustomVoiceBaseVoice";
56
- export * from "./PostedCustomVoiceParameters";
57
- export * from "./PostedCustomVoice";
58
- export * from "./ReturnCustomVoiceBaseVoice";
59
- export * from "./ReturnCustomVoiceParameters";
60
- export * from "./ReturnCustomVoice";
61
54
  export * from "./ReturnPagedConfigs";
62
55
  export * from "./ReturnConfig";
63
56
  export * from "./ReturnPagedChatsPaginationDirection";
@@ -89,7 +82,6 @@ export * from "./PostedTimeoutSpecsMaxDuration";
89
82
  export * from "./PostedTimeoutSpecs";
90
83
  export * from "./PostedWebhookEventType";
91
84
  export * from "./PostedWebhookSpec";
92
- export * from "./ReturnVoiceSpec";
93
85
  export * from "./ReturnLanguageModel";
94
86
  export * from "./ReturnEllmModel";
95
87
  export * from "./ReturnBuiltinToolToolType";
@@ -108,15 +100,9 @@ export * from "./ReturnConfigSpec";
108
100
  export * from "./ReturnChatGroup";
109
101
  export * from "./PostedEventMessageSpec";
110
102
  export * from "./PostedTimeoutSpec";
111
- export * from "./ReturnVoiceSpecEvi2";
112
- export * from "./ReturnVoiceSpecOctavecustom";
113
- export * from "./ReturnVoiceSpecOctaveshared";
114
103
  export * from "./ReturnEventMessageSpec";
115
104
  export * from "./ReturnTimeoutSpec";
116
- export * from "./ReturnVoiceOctaveCustom";
117
- export * from "./ReturnVoiceOctaveShared";
118
- export * from "./ReturnSignedUri";
119
- export * from "./PostedVoiceProvider";
120
- export * from "./PostedVoice";
121
- export * from "./ReturnVoiceProvider";
122
- export * from "./ReturnVoice";
105
+ export * from "./VoiceProvider";
106
+ export * from "./VoiceId";
107
+ export * from "./VoiceName";
108
+ export * from "./VoiceRef";
@@ -67,13 +67,6 @@ __exportStar(require("./ReturnUserDefinedToolVersionType"), exports);
67
67
  __exportStar(require("./ReturnUserDefinedTool"), exports);
68
68
  __exportStar(require("./ReturnPagedPrompts"), exports);
69
69
  __exportStar(require("./ReturnPrompt"), exports);
70
- __exportStar(require("./ReturnPagedCustomVoices"), exports);
71
- __exportStar(require("./PostedCustomVoiceBaseVoice"), exports);
72
- __exportStar(require("./PostedCustomVoiceParameters"), exports);
73
- __exportStar(require("./PostedCustomVoice"), exports);
74
- __exportStar(require("./ReturnCustomVoiceBaseVoice"), exports);
75
- __exportStar(require("./ReturnCustomVoiceParameters"), exports);
76
- __exportStar(require("./ReturnCustomVoice"), exports);
77
70
  __exportStar(require("./ReturnPagedConfigs"), exports);
78
71
  __exportStar(require("./ReturnConfig"), exports);
79
72
  __exportStar(require("./ReturnPagedChatsPaginationDirection"), exports);
@@ -105,7 +98,6 @@ __exportStar(require("./PostedTimeoutSpecsMaxDuration"), exports);
105
98
  __exportStar(require("./PostedTimeoutSpecs"), exports);
106
99
  __exportStar(require("./PostedWebhookEventType"), exports);
107
100
  __exportStar(require("./PostedWebhookSpec"), exports);
108
- __exportStar(require("./ReturnVoiceSpec"), exports);
109
101
  __exportStar(require("./ReturnLanguageModel"), exports);
110
102
  __exportStar(require("./ReturnEllmModel"), exports);
111
103
  __exportStar(require("./ReturnBuiltinToolToolType"), exports);
@@ -124,15 +116,9 @@ __exportStar(require("./ReturnConfigSpec"), exports);
124
116
  __exportStar(require("./ReturnChatGroup"), exports);
125
117
  __exportStar(require("./PostedEventMessageSpec"), exports);
126
118
  __exportStar(require("./PostedTimeoutSpec"), exports);
127
- __exportStar(require("./ReturnVoiceSpecEvi2"), exports);
128
- __exportStar(require("./ReturnVoiceSpecOctavecustom"), exports);
129
- __exportStar(require("./ReturnVoiceSpecOctaveshared"), exports);
130
119
  __exportStar(require("./ReturnEventMessageSpec"), exports);
131
120
  __exportStar(require("./ReturnTimeoutSpec"), exports);
132
- __exportStar(require("./ReturnVoiceOctaveCustom"), exports);
133
- __exportStar(require("./ReturnVoiceOctaveShared"), exports);
134
- __exportStar(require("./ReturnSignedUri"), exports);
135
- __exportStar(require("./PostedVoiceProvider"), exports);
136
- __exportStar(require("./PostedVoice"), exports);
137
- __exportStar(require("./ReturnVoiceProvider"), exports);
138
- __exportStar(require("./ReturnVoice"), exports);
121
+ __exportStar(require("./VoiceProvider"), exports);
122
+ __exportStar(require("./VoiceId"), exports);
123
+ __exportStar(require("./VoiceName"), exports);
124
+ __exportStar(require("./VoiceRef"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.11.5-beta.1";
1
+ export declare const SDK_VERSION = "0.12.0";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.11.5-beta.1";
4
+ exports.SDK_VERSION = "0.12.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hume",
3
- "version": "0.11.5-beta.1",
3
+ "version": "0.12.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/HumeAI/hume-typescript-sdk",
6
6
  "main": "./index.js",