hume 0.9.2 → 0.9.4

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 (224) hide show
  1. package/.mock/definition/api.yml +6 -6
  2. package/.mock/definition/empathic-voice/__package__.yml +3083 -2703
  3. package/.mock/definition/empathic-voice/chat.yml +143 -143
  4. package/.mock/definition/empathic-voice/chatGroups.yml +581 -508
  5. package/.mock/definition/empathic-voice/chats.yml +480 -449
  6. package/.mock/definition/empathic-voice/configs.yml +913 -871
  7. package/.mock/definition/empathic-voice/customVoices.yml +255 -234
  8. package/.mock/definition/empathic-voice/prompts.yml +523 -526
  9. package/.mock/definition/empathic-voice/tools.yml +588 -588
  10. package/.mock/definition/expression-measurement/batch/__package__.yml +1758 -1758
  11. package/.mock/definition/expression-measurement/stream/__package__.yml +486 -485
  12. package/.mock/fern.config.json +3 -3
  13. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +17 -0
  14. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +83 -3
  15. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +29 -0
  16. package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
  17. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +12 -0
  18. package/api/resources/empathicVoice/resources/chats/client/Client.js +65 -2
  19. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
  20. package/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
  21. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
  22. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  23. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  24. package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
  25. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
  26. package/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
  27. package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
  28. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  29. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
  30. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  31. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
  32. package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  33. package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
  34. package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
  35. package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
  36. package/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
  37. package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
  38. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
  39. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
  40. package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
  41. package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  42. package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  43. package/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
  44. package/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
  45. package/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
  46. package/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
  47. package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
  48. package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
  49. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
  50. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
  51. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
  52. package/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
  53. package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
  54. package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
  55. package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
  56. package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
  57. package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
  58. package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
  59. package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
  60. package/api/resources/empathicVoice/types/ReturnVoice.d.ts +3 -3
  61. package/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
  62. package/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
  63. package/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
  64. package/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
  65. package/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  66. package/api/resources/empathicVoice/types/index.d.ts +8 -2
  67. package/api/resources/empathicVoice/types/index.js +8 -2
  68. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  69. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +17 -0
  70. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +83 -3
  71. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +29 -0
  72. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
  73. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +12 -0
  74. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +65 -2
  75. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
  76. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
  77. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
  78. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  79. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  80. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
  81. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
  82. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
  83. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
  84. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  85. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
  86. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  87. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
  88. package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  89. package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
  90. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
  91. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
  92. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
  93. package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
  94. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
  95. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
  96. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
  97. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  98. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  99. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
  100. package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
  101. package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
  102. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
  103. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +5 -0
  104. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
  105. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
  106. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
  107. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +5 -0
  108. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
  109. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
  110. package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
  111. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
  112. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
  113. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
  114. package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
  115. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
  116. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
  117. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
  118. package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +3 -3
  119. package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
  120. package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
  121. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
  122. package/dist/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
  123. package/dist/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  124. package/dist/api/resources/empathicVoice/types/index.d.ts +8 -2
  125. package/dist/api/resources/empathicVoice/types/index.js +8 -2
  126. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  127. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  128. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
  129. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
  130. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
  131. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
  132. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
  133. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
  134. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
  135. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
  136. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
  137. package/dist/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
  138. package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
  139. package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
  140. package/dist/serialization/resources/empathicVoice/types/{ExtendedVoiceArgs.js → PostedVoiceProvider.js} +2 -7
  141. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
  142. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
  143. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
  144. package/{serialization/resources/empathicVoice/types/ExtendedVoiceArgs.js → dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js} +2 -7
  145. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
  146. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
  147. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
  148. package/{serialization/resources/empathicVoice/types/VoiceArgs.js → dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js} +2 -11
  149. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
  150. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
  151. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
  152. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
  153. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
  154. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
  155. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  156. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  157. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
  158. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
  159. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
  160. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
  161. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
  162. package/dist/serialization/resources/empathicVoice/types/{VoiceArgs.js → ReturnVoiceProvider.js} +2 -11
  163. package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
  164. package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  165. package/dist/serialization/resources/empathicVoice/types/index.d.ts +8 -2
  166. package/dist/serialization/resources/empathicVoice/types/index.js +8 -2
  167. package/dist/version.d.ts +1 -1
  168. package/dist/version.js +1 -1
  169. package/package.json +1 -1
  170. package/reference.md +144 -144
  171. package/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  172. package/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
  173. package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
  174. package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
  175. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
  176. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
  177. package/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
  178. package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
  179. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
  180. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
  181. package/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
  182. package/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
  183. package/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
  184. package/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +31 -0
  185. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
  186. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
  187. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
  188. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +31 -0
  189. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
  190. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
  191. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
  192. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +31 -0
  193. package/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
  194. package/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
  195. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
  196. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
  197. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
  198. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
  199. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  200. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  201. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
  202. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
  203. package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
  204. package/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
  205. package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
  206. package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +31 -0
  207. package/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
  208. package/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  209. package/serialization/resources/empathicVoice/types/index.d.ts +8 -2
  210. package/serialization/resources/empathicVoice/types/index.js +8 -2
  211. package/version.d.ts +1 -1
  212. package/version.js +1 -1
  213. package/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
  214. package/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
  215. package/dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
  216. package/dist/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
  217. package/dist/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
  218. package/dist/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
  219. package/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
  220. package/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
  221. /package/api/resources/empathicVoice/{types/ExtendedVoiceArgs.js → resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
  222. /package/api/resources/empathicVoice/types/{VoiceArgs.js → ReturnChatAudioReconstruction.js} +0 -0
  223. /package/{dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.js → api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js} +0 -0
  224. /package/dist/api/resources/empathicVoice/{types/VoiceArgs.js → resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PostedLanguageModelModelResource = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.PostedLanguageModelModelResource = core.serialization.enum_([
32
+ "claude-3-5-sonnet-latest",
33
+ "claude-3-5-sonnet-20240620",
34
+ "claude-3-opus-20240229",
35
+ "claude-3-sonnet-20240229",
36
+ "claude-3-haiku-20240307",
37
+ "claude-2.1",
38
+ "claude-instant-1.2",
39
+ "gemini-1.5-pro",
40
+ "gemini-1.5-flash",
41
+ "gemini-1.5-pro-002",
42
+ "gemini-1.5-flash-002",
43
+ "gpt-4-turbo-preview",
44
+ "gpt-3.5-turbo-0125",
45
+ "gpt-3.5-turbo",
46
+ "gpt-4o",
47
+ "gpt-4o-mini",
48
+ "gemma-7b-it",
49
+ "llama3-8b-8192",
50
+ "llama3-70b-8192",
51
+ "llama-3.1-70b-versatile",
52
+ "llama-3.1-8b-instant",
53
+ "accounts/fireworks/models/mixtral-8x7b-instruct",
54
+ "accounts/fireworks/models/llama-v3p1-405b-instruct",
55
+ "accounts/fireworks/models/llama-v3p1-70b-instruct",
56
+ "accounts/fireworks/models/llama-v3p1-8b-instruct",
57
+ "ellm",
58
+ ]);
@@ -4,11 +4,12 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Hume from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
+ import { PostedVoiceProvider } from "./PostedVoiceProvider";
7
8
  import { PostedCustomVoice } from "./PostedCustomVoice";
8
9
  export declare const PostedVoice: core.serialization.ObjectSchema<serializers.empathicVoice.PostedVoice.Raw, Hume.empathicVoice.PostedVoice>;
9
10
  export declare namespace PostedVoice {
10
11
  interface Raw {
11
- provider: "HUME_AI";
12
+ provider: PostedVoiceProvider.Raw;
12
13
  name?: string | null;
13
14
  custom_voice?: PostedCustomVoice.Raw | null;
14
15
  }
@@ -28,9 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.PostedVoice = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
+ const PostedVoiceProvider_1 = require("./PostedVoiceProvider");
31
32
  const PostedCustomVoice_1 = require("./PostedCustomVoice");
32
33
  exports.PostedVoice = core.serialization.object({
33
- provider: core.serialization.stringLiteral("HUME_AI"),
34
+ provider: PostedVoiceProvider_1.PostedVoiceProvider,
34
35
  name: core.serialization.string().optional(),
35
36
  customVoice: core.serialization.property("custom_voice", PostedCustomVoice_1.PostedCustomVoice.optional()),
36
37
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Hume from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const PostedVoiceProvider: core.serialization.Schema<serializers.empathicVoice.PostedVoiceProvider.Raw, Hume.empathicVoice.PostedVoiceProvider>;
8
+ export declare namespace PostedVoiceProvider {
9
+ type Raw = "HUME_AI" | "CUSTOM_VOICE";
10
+ }
@@ -26,11 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ExtendedVoiceArgs = void 0;
29
+ exports.PostedVoiceProvider = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- const VoiceArgs_1 = require("./VoiceArgs");
32
- exports.ExtendedVoiceArgs = core.serialization.object({
33
- text: core.serialization.string(),
34
- useS2A: core.serialization.property("use_s2a", core.serialization.boolean().optional()),
35
- voiceArgs: core.serialization.property("voice_args", VoiceArgs_1.VoiceArgs),
36
- });
31
+ exports.PostedVoiceProvider = core.serialization.enum_(["HUME_AI", "CUSTOM_VOICE"]);
@@ -0,0 +1,19 @@
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 { ReturnChatAudioReconstructionStatus } from "./ReturnChatAudioReconstructionStatus";
8
+ export declare const ReturnChatAudioReconstruction: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatAudioReconstruction.Raw, Hume.empathicVoice.ReturnChatAudioReconstruction>;
9
+ export declare namespace ReturnChatAudioReconstruction {
10
+ interface Raw {
11
+ id: string;
12
+ user_id: string;
13
+ status: ReturnChatAudioReconstructionStatus.Raw;
14
+ filename?: string | null;
15
+ modified_at?: number | null;
16
+ signed_audio_url?: string | null;
17
+ signed_url_expiration_timestamp_millis?: number | null;
18
+ }
19
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ReturnChatAudioReconstruction = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const ReturnChatAudioReconstructionStatus_1 = require("./ReturnChatAudioReconstructionStatus");
32
+ exports.ReturnChatAudioReconstruction = core.serialization.object({
33
+ id: core.serialization.string(),
34
+ userId: core.serialization.property("user_id", core.serialization.string()),
35
+ status: ReturnChatAudioReconstructionStatus_1.ReturnChatAudioReconstructionStatus,
36
+ filename: core.serialization.string().optional(),
37
+ modifiedAt: core.serialization.property("modified_at", core.serialization.number().optional()),
38
+ signedAudioUrl: core.serialization.property("signed_audio_url", core.serialization.string().optional()),
39
+ signedUrlExpirationTimestampMillis: core.serialization.property("signed_url_expiration_timestamp_millis", core.serialization.number().optional()),
40
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Hume from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const ReturnChatAudioReconstructionStatus: core.serialization.Schema<serializers.empathicVoice.ReturnChatAudioReconstructionStatus.Raw, Hume.empathicVoice.ReturnChatAudioReconstructionStatus>;
8
+ export declare namespace ReturnChatAudioReconstructionStatus {
9
+ type Raw = "QUEUED" | "IN_PROGRESS" | "COMPLETE" | "ERROR" | "CANCELLED";
10
+ }
@@ -26,11 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ExtendedVoiceArgs = void 0;
29
+ exports.ReturnChatAudioReconstructionStatus = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- const VoiceArgs_1 = require("./VoiceArgs");
32
- exports.ExtendedVoiceArgs = core.serialization.object({
33
- text: core.serialization.string(),
34
- useS2A: core.serialization.property("use_s2a", core.serialization.boolean().optional()),
35
- voiceArgs: core.serialization.property("voice_args", VoiceArgs_1.VoiceArgs),
36
- });
31
+ exports.ReturnChatAudioReconstructionStatus = core.serialization.enum_(["QUEUED", "IN_PROGRESS", "COMPLETE", "ERROR", "CANCELLED"]);
@@ -0,0 +1,21 @@
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 { ReturnChatGroupPagedAudioReconstructionsPaginationDirection } from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection";
8
+ import { ReturnChatAudioReconstruction } from "./ReturnChatAudioReconstruction";
9
+ export declare const ReturnChatGroupPagedAudioReconstructions: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedAudioReconstructions.Raw, Hume.empathicVoice.ReturnChatGroupPagedAudioReconstructions>;
10
+ export declare namespace ReturnChatGroupPagedAudioReconstructions {
11
+ interface Raw {
12
+ id: string;
13
+ user_id: string;
14
+ num_chats: number;
15
+ page_number: number;
16
+ page_size: number;
17
+ total_pages: number;
18
+ pagination_direction: ReturnChatGroupPagedAudioReconstructionsPaginationDirection.Raw;
19
+ audio_reconstructions_page: ReturnChatAudioReconstruction.Raw[];
20
+ }
21
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ReturnChatGroupPagedAudioReconstructions = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const ReturnChatGroupPagedAudioReconstructionsPaginationDirection_1 = require("./ReturnChatGroupPagedAudioReconstructionsPaginationDirection");
32
+ const ReturnChatAudioReconstruction_1 = require("./ReturnChatAudioReconstruction");
33
+ exports.ReturnChatGroupPagedAudioReconstructions = core.serialization.object({
34
+ id: core.serialization.string(),
35
+ userId: core.serialization.property("user_id", core.serialization.string()),
36
+ numChats: core.serialization.property("num_chats", core.serialization.number()),
37
+ pageNumber: core.serialization.property("page_number", core.serialization.number()),
38
+ pageSize: core.serialization.property("page_size", core.serialization.number()),
39
+ totalPages: core.serialization.property("total_pages", core.serialization.number()),
40
+ paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedAudioReconstructionsPaginationDirection_1.ReturnChatGroupPagedAudioReconstructionsPaginationDirection),
41
+ audioReconstructionsPage: core.serialization.property("audio_reconstructions_page", core.serialization.list(ReturnChatAudioReconstruction_1.ReturnChatAudioReconstruction)),
42
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Hume from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const ReturnChatGroupPagedAudioReconstructionsPaginationDirection: core.serialization.Schema<serializers.empathicVoice.ReturnChatGroupPagedAudioReconstructionsPaginationDirection.Raw, Hume.empathicVoice.ReturnChatGroupPagedAudioReconstructionsPaginationDirection>;
8
+ export declare namespace ReturnChatGroupPagedAudioReconstructionsPaginationDirection {
9
+ type Raw = "ASC" | "DESC";
10
+ }
@@ -26,15 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.VoiceArgs = void 0;
29
+ exports.ReturnChatGroupPagedAudioReconstructionsPaginationDirection = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- const VoiceNameEnum_1 = require("./VoiceNameEnum");
32
- exports.VoiceArgs = core.serialization.object({
33
- voice: VoiceNameEnum_1.VoiceNameEnum.optional(),
34
- speechRateMultiplier: core.serialization.property("speech_rate_multiplier", core.serialization.number().optional()),
35
- baseline: core.serialization.boolean().optional(),
36
- reconstruct: core.serialization.boolean().optional(),
37
- additive: core.serialization.boolean().optional(),
38
- drift: core.serialization.boolean().optional(),
39
- useV2: core.serialization.property("use_v2", core.serialization.boolean().optional()),
40
- });
31
+ exports.ReturnChatGroupPagedAudioReconstructionsPaginationDirection = core.serialization.enum_(["ASC", "DESC"]);
@@ -15,7 +15,7 @@ export declare namespace ReturnCustomVoice {
15
15
  created_on: number;
16
16
  modified_on: number;
17
17
  base_voice: ReturnCustomVoiceBaseVoice.Raw;
18
- parameter_model: "20240715-4parameter";
18
+ parameter_model: "20241004-11parameter";
19
19
  parameters: ReturnCustomVoiceParameters.Raw;
20
20
  }
21
21
  }
@@ -37,6 +37,6 @@ exports.ReturnCustomVoice = core.serialization.object({
37
37
  createdOn: core.serialization.property("created_on", core.serialization.number()),
38
38
  modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
39
39
  baseVoice: core.serialization.property("base_voice", ReturnCustomVoiceBaseVoice_1.ReturnCustomVoiceBaseVoice),
40
- parameterModel: core.serialization.property("parameter_model", core.serialization.stringLiteral("20240715-4parameter")),
40
+ parameterModel: core.serialization.property("parameter_model", core.serialization.stringLiteral("20241004-11parameter")),
41
41
  parameters: ReturnCustomVoiceParameters_1.ReturnCustomVoiceParameters,
42
42
  });
@@ -6,5 +6,5 @@ import * as Hume from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const ReturnCustomVoiceBaseVoice: core.serialization.Schema<serializers.empathicVoice.ReturnCustomVoiceBaseVoice.Raw, Hume.empathicVoice.ReturnCustomVoiceBaseVoice>;
8
8
  export declare namespace ReturnCustomVoiceBaseVoice {
9
- type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "STELLA" | "WHIMSY";
9
+ type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "WHIMSY" | "STELLA" | "SUNNY";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ReturnCustomVoiceBaseVoice = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- exports.ReturnCustomVoiceBaseVoice = core.serialization.enum_(["ITO", "KORA", "DACHER", "AURA", "FINN", "STELLA", "WHIMSY"]);
31
+ exports.ReturnCustomVoiceBaseVoice = core.serialization.enum_(["ITO", "KORA", "DACHER", "AURA", "FINN", "WHIMSY", "STELLA", "SUNNY"]);
@@ -8,8 +8,15 @@ export declare const ReturnCustomVoiceParameters: core.serialization.ObjectSchem
8
8
  export declare namespace ReturnCustomVoiceParameters {
9
9
  interface Raw {
10
10
  gender?: number | null;
11
- huskiness?: number | null;
11
+ articulation?: number | null;
12
+ assertiveness?: number | null;
13
+ buoyancy?: number | null;
14
+ confidence?: number | null;
15
+ enthusiasm?: number | null;
12
16
  nasality?: number | null;
13
- pitch?: number | null;
17
+ relaxedness?: number | null;
18
+ smoothness?: number | null;
19
+ tepidity?: number | null;
20
+ tightness?: number | null;
14
21
  }
15
22
  }
@@ -30,7 +30,14 @@ exports.ReturnCustomVoiceParameters = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  exports.ReturnCustomVoiceParameters = core.serialization.object({
32
32
  gender: core.serialization.number().optional(),
33
- huskiness: core.serialization.number().optional(),
33
+ articulation: core.serialization.number().optional(),
34
+ assertiveness: core.serialization.number().optional(),
35
+ buoyancy: core.serialization.number().optional(),
36
+ confidence: core.serialization.number().optional(),
37
+ enthusiasm: core.serialization.number().optional(),
34
38
  nasality: core.serialization.number().optional(),
35
- pitch: core.serialization.number().optional(),
39
+ relaxedness: core.serialization.number().optional(),
40
+ smoothness: core.serialization.number().optional(),
41
+ tepidity: core.serialization.number().optional(),
42
+ tightness: core.serialization.number().optional(),
36
43
  });
@@ -5,11 +5,12 @@ import * as serializers from "../../../index";
5
5
  import * as Hume from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { ReturnLanguageModelModelProvider } from "./ReturnLanguageModelModelProvider";
8
+ import { ReturnLanguageModelModelResource } from "./ReturnLanguageModelModelResource";
8
9
  export declare const ReturnLanguageModel: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnLanguageModel.Raw, Hume.empathicVoice.ReturnLanguageModel>;
9
10
  export declare namespace ReturnLanguageModel {
10
11
  interface Raw {
11
12
  model_provider?: ReturnLanguageModelModelProvider.Raw | null;
12
- model_resource?: string | null;
13
+ model_resource?: ReturnLanguageModelModelResource.Raw | null;
13
14
  temperature?: number | null;
14
15
  }
15
16
  }
@@ -29,8 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ReturnLanguageModel = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  const ReturnLanguageModelModelProvider_1 = require("./ReturnLanguageModelModelProvider");
32
+ const ReturnLanguageModelModelResource_1 = require("./ReturnLanguageModelModelResource");
32
33
  exports.ReturnLanguageModel = core.serialization.object({
33
34
  modelProvider: core.serialization.property("model_provider", ReturnLanguageModelModelProvider_1.ReturnLanguageModelModelProvider.optional()),
34
- modelResource: core.serialization.property("model_resource", core.serialization.string().optional()),
35
+ modelResource: core.serialization.property("model_resource", ReturnLanguageModelModelResource_1.ReturnLanguageModelModelResource.optional()),
35
36
  temperature: core.serialization.number().optional(),
36
37
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Hume from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const ReturnLanguageModelModelResource: core.serialization.Schema<serializers.empathicVoice.ReturnLanguageModelModelResource.Raw, Hume.empathicVoice.ReturnLanguageModelModelResource>;
8
+ export declare namespace ReturnLanguageModelModelResource {
9
+ type Raw = "claude-3-5-sonnet-latest" | "claude-3-5-sonnet-20240620" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-2.1" | "claude-instant-1.2" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.5-pro-002" | "gemini-1.5-flash-002" | "gpt-4-turbo-preview" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo" | "gpt-4o" | "gpt-4o-mini" | "gemma-7b-it" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-70b-versatile" | "llama-3.1-8b-instant" | "accounts/fireworks/models/mixtral-8x7b-instruct" | "accounts/fireworks/models/llama-v3p1-405b-instruct" | "accounts/fireworks/models/llama-v3p1-70b-instruct" | "accounts/fireworks/models/llama-v3p1-8b-instruct" | "ellm";
10
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ReturnLanguageModelModelResource = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ReturnLanguageModelModelResource = core.serialization.enum_([
32
+ "claude-3-5-sonnet-latest",
33
+ "claude-3-5-sonnet-20240620",
34
+ "claude-3-opus-20240229",
35
+ "claude-3-sonnet-20240229",
36
+ "claude-3-haiku-20240307",
37
+ "claude-2.1",
38
+ "claude-instant-1.2",
39
+ "gemini-1.5-pro",
40
+ "gemini-1.5-flash",
41
+ "gemini-1.5-pro-002",
42
+ "gemini-1.5-flash-002",
43
+ "gpt-4-turbo-preview",
44
+ "gpt-3.5-turbo-0125",
45
+ "gpt-3.5-turbo",
46
+ "gpt-4o",
47
+ "gpt-4o-mini",
48
+ "gemma-7b-it",
49
+ "llama3-8b-8192",
50
+ "llama3-70b-8192",
51
+ "llama-3.1-70b-versatile",
52
+ "llama-3.1-8b-instant",
53
+ "accounts/fireworks/models/mixtral-8x7b-instruct",
54
+ "accounts/fireworks/models/llama-v3p1-405b-instruct",
55
+ "accounts/fireworks/models/llama-v3p1-70b-instruct",
56
+ "accounts/fireworks/models/llama-v3p1-8b-instruct",
57
+ "ellm",
58
+ ]);
@@ -4,11 +4,12 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Hume from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
+ import { ReturnVoiceProvider } from "./ReturnVoiceProvider";
7
8
  import { ReturnCustomVoice } from "./ReturnCustomVoice";
8
9
  export declare const ReturnVoice: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnVoice.Raw, Hume.empathicVoice.ReturnVoice>;
9
10
  export declare namespace ReturnVoice {
10
11
  interface Raw {
11
- provider: "HUME_AI";
12
+ provider: ReturnVoiceProvider.Raw;
12
13
  name?: string | null;
13
14
  custom_voice?: ReturnCustomVoice.Raw | null;
14
15
  }
@@ -28,9 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ReturnVoice = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
+ const ReturnVoiceProvider_1 = require("./ReturnVoiceProvider");
31
32
  const ReturnCustomVoice_1 = require("./ReturnCustomVoice");
32
33
  exports.ReturnVoice = core.serialization.object({
33
- provider: core.serialization.stringLiteral("HUME_AI"),
34
+ provider: ReturnVoiceProvider_1.ReturnVoiceProvider,
34
35
  name: core.serialization.string().optional(),
35
36
  customVoice: core.serialization.property("custom_voice", ReturnCustomVoice_1.ReturnCustomVoice.optional()),
36
37
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Hume from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const ReturnVoiceProvider: core.serialization.Schema<serializers.empathicVoice.ReturnVoiceProvider.Raw, Hume.empathicVoice.ReturnVoiceProvider>;
8
+ export declare namespace ReturnVoiceProvider {
9
+ type Raw = "HUME_AI" | "CUSTOM_VOICE";
10
+ }
@@ -26,15 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.VoiceArgs = void 0;
29
+ exports.ReturnVoiceProvider = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- const VoiceNameEnum_1 = require("./VoiceNameEnum");
32
- exports.VoiceArgs = core.serialization.object({
33
- voice: VoiceNameEnum_1.VoiceNameEnum.optional(),
34
- speechRateMultiplier: core.serialization.property("speech_rate_multiplier", core.serialization.number().optional()),
35
- baseline: core.serialization.boolean().optional(),
36
- reconstruct: core.serialization.boolean().optional(),
37
- additive: core.serialization.boolean().optional(),
38
- drift: core.serialization.boolean().optional(),
39
- useV2: core.serialization.property("use_v2", core.serialization.boolean().optional()),
40
- });
31
+ exports.ReturnVoiceProvider = core.serialization.enum_(["HUME_AI", "CUSTOM_VOICE"]);
@@ -6,5 +6,5 @@ import * as Hume from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const VoiceNameEnum: core.serialization.Schema<serializers.empathicVoice.VoiceNameEnum.Raw, Hume.empathicVoice.VoiceNameEnum>;
8
8
  export declare namespace VoiceNameEnum {
9
- type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "SIENNA" | "WILLOW" | "SCOUT" | "WHIMSY" | "ACE" | "JUNO" | "STELLA" | "HIRO";
9
+ type Raw = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "SIENNA" | "WILLOW" | "SCOUT" | "WHIMSY" | "ACE" | "JUNO" | "STELLA" | "HIRO" | "SUNNY";
10
10
  }
@@ -42,4 +42,5 @@ exports.VoiceNameEnum = core.serialization.enum_([
42
42
  "JUNO",
43
43
  "STELLA",
44
44
  "HIRO",
45
+ "SUNNY",
45
46
  ]);
@@ -17,12 +17,14 @@ export * from "./PostedEllmModel";
17
17
  export * from "./PostedEventMessageSpec";
18
18
  export * from "./PostedEventMessageSpecs";
19
19
  export * from "./PostedLanguageModelModelProvider";
20
+ export * from "./PostedLanguageModelModelResource";
20
21
  export * from "./PostedLanguageModel";
21
22
  export * from "./PostedTimeoutSpec";
22
23
  export * from "./PostedTimeoutSpecsInactivity";
23
24
  export * from "./PostedTimeoutSpecsMaxDuration";
24
25
  export * from "./PostedTimeoutSpecs";
25
26
  export * from "./PostedUserDefinedToolSpec";
27
+ export * from "./PostedVoiceProvider";
26
28
  export * from "./PostedVoice";
27
29
  export * from "./ReturnBuiltinToolToolType";
28
30
  export * from "./ReturnBuiltinTool";
@@ -31,9 +33,11 @@ export * from "./ReturnEllmModel";
31
33
  export * from "./ReturnEventMessageSpec";
32
34
  export * from "./ReturnEventMessageSpecs";
33
35
  export * from "./ReturnLanguageModelModelProvider";
36
+ export * from "./ReturnLanguageModelModelResource";
34
37
  export * from "./ReturnLanguageModel";
35
38
  export * from "./ReturnTimeoutSpec";
36
39
  export * from "./ReturnTimeoutSpecs";
40
+ export * from "./ReturnVoiceProvider";
37
41
  export * from "./ReturnVoice";
38
42
  export * from "./ReturnPagedUserDefinedTools";
39
43
  export * from "./ReturnPagedPrompts";
@@ -50,6 +54,8 @@ export * from "./ReturnChatEvent";
50
54
  export * from "./ReturnChatPagedEventsStatus";
51
55
  export * from "./ReturnChatPagedEventsPaginationDirection";
52
56
  export * from "./ReturnChatPagedEvents";
57
+ export * from "./ReturnChatAudioReconstructionStatus";
58
+ export * from "./ReturnChatAudioReconstruction";
53
59
  export * from "./ReturnActiveChatCount";
54
60
  export * from "./ReturnActiveChatCountPerTag";
55
61
  export * from "./ReturnChatGroup";
@@ -59,6 +65,8 @@ export * from "./ReturnChatGroupPagedChatsPaginationDirection";
59
65
  export * from "./ReturnChatGroupPagedChats";
60
66
  export * from "./ReturnChatGroupPagedEventsPaginationDirection";
61
67
  export * from "./ReturnChatGroupPagedEvents";
68
+ export * from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection";
69
+ export * from "./ReturnChatGroupPagedAudioReconstructions";
62
70
  export * from "./PostedPromptSpec";
63
71
  export * from "./AssistantInput";
64
72
  export * from "./AudioConfiguration";
@@ -96,9 +104,7 @@ export * from "./JsonMessage";
96
104
  export * from "./TtsInput";
97
105
  export * from "./TextInput";
98
106
  export * from "./FunctionCallResponseInput";
99
- export * from "./ExtendedVoiceArgs";
100
107
  export * from "./HttpValidationError";
101
108
  export * from "./ValidationErrorLocItem";
102
109
  export * from "./ValidationError";
103
- export * from "./VoiceArgs";
104
110
  export * from "./VoiceNameEnum";