hume 0.9.10 → 0.9.11

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 (349) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +87 -26
  2. package/.mock/definition/empathic-voice/chat.yml +5 -1
  3. package/.mock/definition/empathic-voice/chatGroups.yml +6 -0
  4. package/.mock/definition/empathic-voice/chatWebhooks.yml +24 -13
  5. package/.mock/definition/empathic-voice/chats.yml +3 -0
  6. package/.mock/definition/empathic-voice/configs.yml +8 -1
  7. package/.mock/definition/empathic-voice/customVoices.yml +23 -12
  8. package/.mock/definition/empathic-voice/prompts.yml +29 -21
  9. package/.mock/definition/empathic-voice/tools.yml +34 -27
  10. package/.mock/definition/expression-measurement/batch/__package__.yml +23 -0
  11. package/.mock/definition/expression-measurement/stream/__package__.yml +0 -435
  12. package/.mock/definition/expression-measurement/v0StreamModels.yml +437 -0
  13. package/.mock/definition/tts/__package__.yml +394 -0
  14. package/.mock/definition/tts/voices.yml +47 -0
  15. package/.mock/fern.config.json +1 -1
  16. package/Client.d.ts +3 -0
  17. package/Client.js +5 -0
  18. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  19. package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  20. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  21. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
  22. package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
  23. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
  24. package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
  25. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
  26. package/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
  27. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
  28. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
  29. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  30. package/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  31. package/api/resources/empathicVoice/types/Context.d.ts +2 -2
  32. package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  33. package/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
  34. package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  35. package/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
  36. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
  37. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  38. package/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
  39. package/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
  40. package/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +5 -0
  41. package/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -2
  42. package/api/resources/index.d.ts +2 -1
  43. package/api/resources/index.js +3 -2
  44. package/api/resources/tts/client/Client.d.ts +86 -0
  45. package/api/resources/tts/client/Client.js +218 -0
  46. package/api/resources/tts/client/index.d.ts +1 -0
  47. package/api/resources/tts/client/index.js +2 -0
  48. package/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
  49. package/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
  50. package/api/resources/tts/errors/index.d.ts +1 -0
  51. package/api/resources/tts/errors/index.js +17 -0
  52. package/api/resources/tts/index.d.ts +4 -0
  53. package/api/resources/tts/index.js +20 -0
  54. package/api/resources/tts/resources/index.d.ts +2 -0
  55. package/api/resources/tts/resources/index.js +31 -0
  56. package/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
  57. package/api/resources/tts/resources/voices/client/Client.js +126 -0
  58. package/api/resources/tts/resources/voices/client/index.d.ts +1 -0
  59. package/api/resources/tts/resources/voices/client/index.js +17 -0
  60. package/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
  61. package/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
  62. package/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  63. package/api/resources/tts/resources/voices/client/requests/index.js +2 -0
  64. package/api/resources/tts/resources/voices/index.d.ts +1 -0
  65. package/api/resources/tts/resources/voices/index.js +17 -0
  66. package/api/resources/tts/types/AudioEncoding.d.ts +10 -0
  67. package/api/resources/tts/types/AudioEncoding.js +5 -0
  68. package/api/resources/tts/types/AudioFormatType.d.ts +9 -0
  69. package/api/resources/tts/types/AudioFormatType.js +11 -0
  70. package/api/resources/tts/types/Format.d.ts +19 -0
  71. package/api/resources/tts/types/Format.js +5 -0
  72. package/api/resources/tts/types/FormatMp3.d.ts +5 -0
  73. package/api/resources/tts/types/FormatMp3.js +5 -0
  74. package/api/resources/tts/types/FormatPcm.d.ts +5 -0
  75. package/api/resources/tts/types/FormatPcm.js +5 -0
  76. package/api/resources/tts/types/FormatWav.d.ts +5 -0
  77. package/api/resources/tts/types/FormatWav.js +5 -0
  78. package/api/resources/tts/types/HttpValidationError.d.ts +7 -0
  79. package/api/resources/tts/types/HttpValidationError.js +5 -0
  80. package/api/resources/tts/types/PostedContext.d.ts +8 -0
  81. package/api/resources/tts/types/PostedContext.js +5 -0
  82. package/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
  83. package/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
  84. package/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
  85. package/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
  86. package/api/resources/tts/types/PostedTts.d.ts +14 -0
  87. package/api/resources/tts/types/PostedTts.js +5 -0
  88. package/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
  89. package/api/resources/tts/types/PostedTtsRecord.js +5 -0
  90. package/api/resources/tts/types/PostedUtterance.d.ts +22 -0
  91. package/api/resources/tts/types/PostedUtterance.js +5 -0
  92. package/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
  93. package/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
  94. package/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
  95. package/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
  96. package/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
  97. package/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
  98. package/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
  99. package/api/resources/tts/types/ReturnGeneration.js +5 -0
  100. package/api/resources/tts/types/ReturnTts.d.ts +9 -0
  101. package/api/resources/tts/types/ReturnTts.js +5 -0
  102. package/api/resources/tts/types/ReturnVoice.d.ts +9 -0
  103. package/api/resources/tts/types/ReturnVoice.js +5 -0
  104. package/api/resources/tts/types/Snippet.d.ts +11 -0
  105. package/api/resources/tts/types/Snippet.js +5 -0
  106. package/api/resources/tts/types/ValidationError.d.ts +9 -0
  107. package/api/resources/tts/types/ValidationError.js +5 -0
  108. package/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
  109. package/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
  110. package/api/resources/tts/types/VoiceProvider.d.ts +8 -0
  111. package/api/resources/tts/types/VoiceProvider.js +10 -0
  112. package/api/resources/tts/types/index.d.ts +23 -0
  113. package/api/resources/tts/types/index.js +39 -0
  114. package/dist/Client.d.ts +3 -0
  115. package/dist/Client.js +5 -0
  116. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  117. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  118. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  119. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
  120. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
  121. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
  122. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
  123. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
  124. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
  125. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
  126. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
  127. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  128. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  129. package/dist/api/resources/empathicVoice/types/Context.d.ts +2 -2
  130. package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  131. package/dist/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
  132. package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  133. package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
  134. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
  135. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  136. package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
  137. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
  138. package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +5 -0
  139. package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -2
  140. package/dist/api/resources/index.d.ts +2 -1
  141. package/dist/api/resources/index.js +3 -2
  142. package/dist/api/resources/tts/client/Client.d.ts +86 -0
  143. package/dist/api/resources/tts/client/Client.js +218 -0
  144. package/dist/api/resources/tts/client/index.d.ts +1 -0
  145. package/dist/api/resources/tts/client/index.js +2 -0
  146. package/dist/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
  147. package/dist/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
  148. package/dist/api/resources/tts/errors/index.d.ts +1 -0
  149. package/dist/api/resources/tts/errors/index.js +17 -0
  150. package/dist/api/resources/tts/index.d.ts +4 -0
  151. package/dist/api/resources/tts/index.js +20 -0
  152. package/dist/api/resources/tts/resources/index.d.ts +2 -0
  153. package/dist/api/resources/tts/resources/index.js +31 -0
  154. package/dist/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
  155. package/dist/api/resources/tts/resources/voices/client/Client.js +126 -0
  156. package/dist/api/resources/tts/resources/voices/client/index.d.ts +1 -0
  157. package/dist/api/resources/tts/resources/voices/client/index.js +17 -0
  158. package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
  159. package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
  160. package/dist/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  161. package/dist/api/resources/tts/resources/voices/client/requests/index.js +2 -0
  162. package/dist/api/resources/tts/resources/voices/index.d.ts +1 -0
  163. package/dist/api/resources/tts/resources/voices/index.js +17 -0
  164. package/dist/api/resources/tts/types/AudioEncoding.d.ts +10 -0
  165. package/dist/api/resources/tts/types/AudioEncoding.js +5 -0
  166. package/dist/api/resources/tts/types/AudioFormatType.d.ts +9 -0
  167. package/dist/api/resources/tts/types/AudioFormatType.js +11 -0
  168. package/dist/api/resources/tts/types/Format.d.ts +19 -0
  169. package/dist/api/resources/tts/types/Format.js +5 -0
  170. package/dist/api/resources/tts/types/FormatMp3.d.ts +5 -0
  171. package/dist/api/resources/tts/types/FormatMp3.js +5 -0
  172. package/dist/api/resources/tts/types/FormatPcm.d.ts +5 -0
  173. package/dist/api/resources/tts/types/FormatPcm.js +5 -0
  174. package/dist/api/resources/tts/types/FormatWav.d.ts +5 -0
  175. package/dist/api/resources/tts/types/FormatWav.js +5 -0
  176. package/dist/api/resources/tts/types/HttpValidationError.d.ts +7 -0
  177. package/dist/api/resources/tts/types/HttpValidationError.js +5 -0
  178. package/dist/api/resources/tts/types/PostedContext.d.ts +8 -0
  179. package/dist/api/resources/tts/types/PostedContext.js +5 -0
  180. package/dist/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
  181. package/dist/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
  182. package/dist/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
  183. package/dist/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
  184. package/dist/api/resources/tts/types/PostedTts.d.ts +14 -0
  185. package/dist/api/resources/tts/types/PostedTts.js +5 -0
  186. package/dist/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
  187. package/dist/api/resources/tts/types/PostedTtsRecord.js +5 -0
  188. package/dist/api/resources/tts/types/PostedUtterance.d.ts +22 -0
  189. package/dist/api/resources/tts/types/PostedUtterance.js +5 -0
  190. package/dist/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
  191. package/dist/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
  192. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
  193. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
  194. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
  195. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
  196. package/dist/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
  197. package/dist/api/resources/tts/types/ReturnGeneration.js +5 -0
  198. package/dist/api/resources/tts/types/ReturnTts.d.ts +9 -0
  199. package/dist/api/resources/tts/types/ReturnTts.js +5 -0
  200. package/dist/api/resources/tts/types/ReturnVoice.d.ts +9 -0
  201. package/dist/api/resources/tts/types/ReturnVoice.js +5 -0
  202. package/dist/api/resources/tts/types/Snippet.d.ts +11 -0
  203. package/dist/api/resources/tts/types/Snippet.js +5 -0
  204. package/dist/api/resources/tts/types/ValidationError.d.ts +9 -0
  205. package/dist/api/resources/tts/types/ValidationError.js +5 -0
  206. package/dist/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
  207. package/dist/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
  208. package/dist/api/resources/tts/types/VoiceProvider.d.ts +8 -0
  209. package/dist/api/resources/tts/types/VoiceProvider.js +10 -0
  210. package/dist/api/resources/tts/types/index.d.ts +23 -0
  211. package/dist/api/resources/tts/types/index.js +39 -0
  212. package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
  213. package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
  214. package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
  215. package/dist/serialization/resources/index.d.ts +2 -1
  216. package/dist/serialization/resources/index.js +3 -2
  217. package/dist/serialization/resources/tts/index.d.ts +2 -0
  218. package/dist/serialization/resources/tts/index.js +18 -0
  219. package/dist/serialization/resources/tts/resources/index.d.ts +2 -0
  220. package/dist/serialization/resources/tts/resources/index.js +31 -0
  221. package/dist/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
  222. package/dist/serialization/resources/tts/resources/voices/client/index.js +17 -0
  223. package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
  224. package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
  225. package/dist/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  226. package/dist/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
  227. package/dist/serialization/resources/tts/resources/voices/index.d.ts +1 -0
  228. package/dist/serialization/resources/tts/resources/voices/index.js +17 -0
  229. package/dist/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
  230. package/dist/serialization/resources/tts/types/AudioEncoding.js +35 -0
  231. package/dist/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
  232. package/dist/serialization/resources/tts/types/AudioFormatType.js +31 -0
  233. package/dist/serialization/resources/tts/types/Format.d.ts +22 -0
  234. package/dist/serialization/resources/tts/types/Format.js +43 -0
  235. package/dist/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
  236. package/dist/serialization/resources/tts/types/FormatMp3.js +31 -0
  237. package/dist/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
  238. package/dist/serialization/resources/tts/types/FormatPcm.js +31 -0
  239. package/dist/serialization/resources/tts/types/FormatWav.d.ts +11 -0
  240. package/dist/serialization/resources/tts/types/FormatWav.js +31 -0
  241. package/dist/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
  242. package/dist/serialization/resources/tts/types/HttpValidationError.js +34 -0
  243. package/dist/serialization/resources/tts/types/PostedContext.d.ts +12 -0
  244. package/dist/serialization/resources/tts/types/PostedContext.js +33 -0
  245. package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
  246. package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
  247. package/dist/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
  248. package/dist/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
  249. package/dist/serialization/resources/tts/types/PostedTts.d.ts +18 -0
  250. package/dist/serialization/resources/tts/types/PostedTts.js +39 -0
  251. package/dist/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
  252. package/dist/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
  253. package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
  254. package/dist/serialization/resources/tts/types/PostedUtterance.js +36 -0
  255. package/dist/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
  256. package/dist/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
  257. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
  258. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
  259. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
  260. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
  261. package/dist/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
  262. package/dist/serialization/resources/tts/types/ReturnGeneration.js +40 -0
  263. package/dist/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
  264. package/dist/serialization/resources/tts/types/ReturnTts.js +35 -0
  265. package/dist/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
  266. package/dist/serialization/resources/tts/types/ReturnVoice.js +34 -0
  267. package/dist/serialization/resources/tts/types/Snippet.d.ts +14 -0
  268. package/dist/serialization/resources/tts/types/Snippet.js +35 -0
  269. package/dist/serialization/resources/tts/types/ValidationError.d.ts +15 -0
  270. package/dist/serialization/resources/tts/types/ValidationError.js +36 -0
  271. package/dist/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
  272. package/dist/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
  273. package/dist/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
  274. package/dist/serialization/resources/tts/types/VoiceProvider.js +31 -0
  275. package/dist/serialization/resources/tts/types/index.d.ts +23 -0
  276. package/dist/serialization/resources/tts/types/index.js +39 -0
  277. package/dist/version.d.ts +1 -1
  278. package/dist/version.js +1 -1
  279. package/package.json +1 -1
  280. package/reference.md +489 -178
  281. package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
  282. package/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
  283. package/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
  284. package/serialization/resources/index.d.ts +2 -1
  285. package/serialization/resources/index.js +3 -2
  286. package/serialization/resources/tts/index.d.ts +2 -0
  287. package/serialization/resources/tts/index.js +18 -0
  288. package/serialization/resources/tts/resources/index.d.ts +2 -0
  289. package/serialization/resources/tts/resources/index.js +31 -0
  290. package/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
  291. package/serialization/resources/tts/resources/voices/client/index.js +17 -0
  292. package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
  293. package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
  294. package/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  295. package/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
  296. package/serialization/resources/tts/resources/voices/index.d.ts +1 -0
  297. package/serialization/resources/tts/resources/voices/index.js +17 -0
  298. package/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
  299. package/serialization/resources/tts/types/AudioEncoding.js +35 -0
  300. package/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
  301. package/serialization/resources/tts/types/AudioFormatType.js +31 -0
  302. package/serialization/resources/tts/types/Format.d.ts +22 -0
  303. package/serialization/resources/tts/types/Format.js +43 -0
  304. package/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
  305. package/serialization/resources/tts/types/FormatMp3.js +31 -0
  306. package/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
  307. package/serialization/resources/tts/types/FormatPcm.js +31 -0
  308. package/serialization/resources/tts/types/FormatWav.d.ts +11 -0
  309. package/serialization/resources/tts/types/FormatWav.js +31 -0
  310. package/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
  311. package/serialization/resources/tts/types/HttpValidationError.js +34 -0
  312. package/serialization/resources/tts/types/PostedContext.d.ts +12 -0
  313. package/serialization/resources/tts/types/PostedContext.js +33 -0
  314. package/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
  315. package/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
  316. package/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
  317. package/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
  318. package/serialization/resources/tts/types/PostedTts.d.ts +18 -0
  319. package/serialization/resources/tts/types/PostedTts.js +39 -0
  320. package/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
  321. package/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
  322. package/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
  323. package/serialization/resources/tts/types/PostedUtterance.js +36 -0
  324. package/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
  325. package/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
  326. package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
  327. package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
  328. package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
  329. package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
  330. package/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
  331. package/serialization/resources/tts/types/ReturnGeneration.js +40 -0
  332. package/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
  333. package/serialization/resources/tts/types/ReturnTts.js +35 -0
  334. package/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
  335. package/serialization/resources/tts/types/ReturnVoice.js +34 -0
  336. package/serialization/resources/tts/types/Snippet.d.ts +14 -0
  337. package/serialization/resources/tts/types/Snippet.js +35 -0
  338. package/serialization/resources/tts/types/ValidationError.d.ts +15 -0
  339. package/serialization/resources/tts/types/ValidationError.js +36 -0
  340. package/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
  341. package/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
  342. package/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
  343. package/serialization/resources/tts/types/VoiceProvider.js +31 -0
  344. package/serialization/resources/tts/types/index.d.ts +23 -0
  345. package/serialization/resources/tts/types/index.js +39 -0
  346. package/version.d.ts +1 -1
  347. package/version.js +1 -1
  348. /package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
  349. /package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PostedTtsRecord = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.PostedTtsRecord = core.serialization.object({
32
+ createdOn: core.serialization.property("created_on", core.serialization.number()),
33
+ id: core.serialization.string(),
34
+ internalMetadata: core.serialization.property("internal_metadata", core.serialization.string()),
35
+ messageText: core.serialization.property("message_text", core.serialization.string()),
36
+ parentId: core.serialization.property("parent_id", core.serialization.string().optional()),
37
+ requestPayload: core.serialization.property("request_payload", core.serialization.string()),
38
+ });
@@ -0,0 +1,15 @@
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 { PostedUtteranceVoice } from "./PostedUtteranceVoice";
8
+ export declare const PostedUtterance: core.serialization.ObjectSchema<serializers.tts.PostedUtterance.Raw, Hume.tts.PostedUtterance>;
9
+ export declare namespace PostedUtterance {
10
+ interface Raw {
11
+ description?: string | null;
12
+ text: string;
13
+ voice?: PostedUtteranceVoice.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.PostedUtterance = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const PostedUtteranceVoice_1 = require("./PostedUtteranceVoice");
32
+ exports.PostedUtterance = core.serialization.object({
33
+ description: core.serialization.string().optional(),
34
+ text: core.serialization.string(),
35
+ voice: PostedUtteranceVoice_1.PostedUtteranceVoice.optional(),
36
+ });
@@ -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 { PostedUtteranceVoiceWithId } from "./PostedUtteranceVoiceWithId";
8
+ import { PostedUtteranceVoiceWithName } from "./PostedUtteranceVoiceWithName";
9
+ export declare const PostedUtteranceVoice: core.serialization.Schema<serializers.tts.PostedUtteranceVoice.Raw, Hume.tts.PostedUtteranceVoice>;
10
+ export declare namespace PostedUtteranceVoice {
11
+ type Raw = PostedUtteranceVoiceWithId.Raw | PostedUtteranceVoiceWithName.Raw;
12
+ }
@@ -0,0 +1,33 @@
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.PostedUtteranceVoice = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const PostedUtteranceVoiceWithId_1 = require("./PostedUtteranceVoiceWithId");
32
+ const PostedUtteranceVoiceWithName_1 = require("./PostedUtteranceVoiceWithName");
33
+ exports.PostedUtteranceVoice = core.serialization.undiscriminatedUnion([PostedUtteranceVoiceWithId_1.PostedUtteranceVoiceWithId, PostedUtteranceVoiceWithName_1.PostedUtteranceVoiceWithName]);
@@ -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 PostedUtteranceVoiceWithId: core.serialization.ObjectSchema<serializers.tts.PostedUtteranceVoiceWithId.Raw, Hume.tts.PostedUtteranceVoiceWithId>;
9
+ export declare namespace PostedUtteranceVoiceWithId {
10
+ interface Raw {
11
+ id: string;
12
+ provider?: VoiceProvider.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.PostedUtteranceVoiceWithId = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const VoiceProvider_1 = require("./VoiceProvider");
32
+ exports.PostedUtteranceVoiceWithId = core.serialization.object({
33
+ id: core.serialization.string(),
34
+ provider: VoiceProvider_1.VoiceProvider.optional(),
35
+ });
@@ -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 PostedUtteranceVoiceWithName: core.serialization.ObjectSchema<serializers.tts.PostedUtteranceVoiceWithName.Raw, Hume.tts.PostedUtteranceVoiceWithName>;
9
+ export declare namespace PostedUtteranceVoiceWithName {
10
+ interface Raw {
11
+ name: string;
12
+ provider?: VoiceProvider.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.PostedUtteranceVoiceWithName = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const VoiceProvider_1 = require("./VoiceProvider");
32
+ exports.PostedUtteranceVoiceWithName = core.serialization.object({
33
+ name: core.serialization.string(),
34
+ provider: VoiceProvider_1.VoiceProvider.optional(),
35
+ });
@@ -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 { AudioEncoding } from "./AudioEncoding";
8
+ import { Snippet } from "./Snippet";
9
+ export declare const ReturnGeneration: core.serialization.ObjectSchema<serializers.tts.ReturnGeneration.Raw, Hume.tts.ReturnGeneration>;
10
+ export declare namespace ReturnGeneration {
11
+ interface Raw {
12
+ audio: string;
13
+ duration: number;
14
+ encoding: AudioEncoding.Raw;
15
+ file_size: number;
16
+ generation_id: string;
17
+ snippets: Snippet.Raw[][];
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.ReturnGeneration = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const AudioEncoding_1 = require("./AudioEncoding");
32
+ const Snippet_1 = require("./Snippet");
33
+ exports.ReturnGeneration = core.serialization.object({
34
+ audio: core.serialization.string(),
35
+ duration: core.serialization.number(),
36
+ encoding: AudioEncoding_1.AudioEncoding,
37
+ fileSize: core.serialization.property("file_size", core.serialization.number()),
38
+ generationId: core.serialization.property("generation_id", core.serialization.string()),
39
+ snippets: core.serialization.list(core.serialization.list(Snippet_1.Snippet)),
40
+ });
@@ -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 { ReturnGeneration } from "./ReturnGeneration";
8
+ export declare const ReturnTts: core.serialization.ObjectSchema<serializers.tts.ReturnTts.Raw, Hume.tts.ReturnTts>;
9
+ export declare namespace ReturnTts {
10
+ interface Raw {
11
+ generations: ReturnGeneration.Raw[];
12
+ request_id?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.ReturnTts = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const ReturnGeneration_1 = require("./ReturnGeneration");
32
+ exports.ReturnTts = core.serialization.object({
33
+ generations: core.serialization.list(ReturnGeneration_1.ReturnGeneration),
34
+ requestId: core.serialization.property("request_id", core.serialization.string().optional()),
35
+ });
@@ -0,0 +1,13 @@
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 ReturnVoice: core.serialization.ObjectSchema<serializers.tts.ReturnVoice.Raw, Hume.tts.ReturnVoice>;
8
+ export declare namespace ReturnVoice {
9
+ interface Raw {
10
+ id?: string | null;
11
+ name: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.ReturnVoice = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ReturnVoice = core.serialization.object({
32
+ id: core.serialization.string().optional(),
33
+ name: core.serialization.string(),
34
+ });
@@ -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
+ export declare const Snippet: core.serialization.ObjectSchema<serializers.tts.Snippet.Raw, Hume.tts.Snippet>;
8
+ export declare namespace Snippet {
9
+ interface Raw {
10
+ audio: string;
11
+ id: string;
12
+ text: string;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.Snippet = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.Snippet = core.serialization.object({
32
+ audio: core.serialization.string(),
33
+ id: core.serialization.string(),
34
+ text: core.serialization.string(),
35
+ });
@@ -0,0 +1,15 @@
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 { ValidationErrorLocItem } from "./ValidationErrorLocItem";
8
+ export declare const ValidationError: core.serialization.ObjectSchema<serializers.tts.ValidationError.Raw, Hume.tts.ValidationError>;
9
+ export declare namespace ValidationError {
10
+ interface Raw {
11
+ loc: ValidationErrorLocItem.Raw[];
12
+ msg: string;
13
+ type: string;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.ValidationError = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const ValidationErrorLocItem_1 = require("./ValidationErrorLocItem");
32
+ exports.ValidationError = core.serialization.object({
33
+ loc: core.serialization.list(ValidationErrorLocItem_1.ValidationErrorLocItem),
34
+ msg: core.serialization.string(),
35
+ type: core.serialization.string(),
36
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Hume from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const ValidationErrorLocItem: core.serialization.Schema<serializers.tts.ValidationErrorLocItem.Raw, Hume.tts.ValidationErrorLocItem>;
8
+ export declare namespace ValidationErrorLocItem {
9
+ type Raw = string | number;
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ValidationErrorLocItem = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ValidationErrorLocItem = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.number()]);
@@ -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 VoiceProvider: core.serialization.Schema<serializers.tts.VoiceProvider.Raw, Hume.tts.VoiceProvider>;
8
+ export declare namespace VoiceProvider {
9
+ type Raw = "HUME_AI" | "CUSTOM_VOICE";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.VoiceProvider = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.VoiceProvider = core.serialization.enum_(["HUME_AI", "CUSTOM_VOICE"]);
@@ -0,0 +1,23 @@
1
+ export * from "./PostedContextWithGenerationId";
2
+ export * from "./PostedContextWithUtterances";
3
+ export * from "./AudioEncoding";
4
+ export * from "./AudioFormatType";
5
+ export * from "./ReturnGeneration";
6
+ export * from "./HttpValidationError";
7
+ export * from "./FormatMp3";
8
+ export * from "./PostedContext";
9
+ export * from "./Format";
10
+ export * from "./PostedTts";
11
+ export * from "./ReturnTts";
12
+ export * from "./ReturnVoice";
13
+ export * from "./FormatPcm";
14
+ export * from "./PostedTtsRecord";
15
+ export * from "./Snippet";
16
+ export * from "./PostedUtterance";
17
+ export * from "./ValidationErrorLocItem";
18
+ export * from "./ValidationError";
19
+ export * from "./PostedUtteranceVoiceWithId";
20
+ export * from "./PostedUtteranceVoiceWithName";
21
+ export * from "./VoiceProvider";
22
+ export * from "./PostedUtteranceVoice";
23
+ export * from "./FormatWav";