hume 0.9.10 → 0.9.12

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