hume 0.9.12 → 0.9.13

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 (280) hide show
  1. package/.mock/definition/empathic-voice/chat.yml +1 -0
  2. package/.mock/definition/expression-measurement/batch/__package__.yml +76 -61
  3. package/.mock/definition/expression-measurement/{v0StreamModels.yml → stream/stream.yml} +15 -14
  4. package/.mock/definition/tts/__package__.yml +36 -21
  5. package/.mock/definition/tts/voices.yml +3 -3
  6. package/.mock/fern.config.json +1 -1
  7. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  8. package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  9. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  10. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  11. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  12. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  13. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  14. package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +1 -1
  15. package/api/resources/expressionMeasurement/resources/batch/types/Transcription.d.ts +0 -1
  16. package/api/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
  17. package/api/resources/expressionMeasurement/resources/stream/index.js +1 -0
  18. package/api/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
  19. package/api/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
  20. package/api/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
  21. package/api/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
  22. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/Config.d.ts +1 -1
  23. package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +1 -1
  24. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +1 -1
  25. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurst.d.ts +1 -1
  26. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.d.ts +1 -1
  27. package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +1 -1
  28. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +1 -1
  29. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemesh.d.ts +1 -1
  30. package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.d.ts +1 -1
  31. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguage.d.ts +1 -1
  32. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +1 -1
  33. package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +1 -1
  34. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.d.ts +1 -1
  35. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.d.ts +1 -1
  36. package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +1 -1
  37. package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +1 -1
  38. package/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
  39. package/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
  40. package/api/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
  41. package/api/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
  42. package/api/resources/index.d.ts +1 -1
  43. package/api/resources/index.js +2 -2
  44. package/api/resources/tts/client/Client.js +2 -2
  45. package/api/resources/tts/resources/voices/client/Client.js +1 -1
  46. package/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +1 -1
  47. package/api/resources/tts/types/PostedUtterance.d.ts +4 -0
  48. package/api/resources/tts/types/Snippet.d.ts +6 -0
  49. package/api/resources/tts/types/index.d.ts +0 -1
  50. package/api/resources/tts/types/index.js +0 -1
  51. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  52. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  53. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  54. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  55. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  56. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  57. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  58. package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +1 -1
  59. package/dist/api/resources/expressionMeasurement/resources/batch/types/Transcription.d.ts +0 -1
  60. package/dist/api/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
  61. package/dist/api/resources/expressionMeasurement/resources/stream/index.js +1 -0
  62. package/dist/api/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
  63. package/dist/api/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
  64. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
  65. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
  66. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/Config.d.ts +1 -1
  67. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +1 -1
  68. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +1 -1
  69. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurst.d.ts +1 -1
  70. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.d.ts +1 -1
  71. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +1 -1
  72. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +1 -1
  73. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemesh.d.ts +1 -1
  74. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.d.ts +1 -1
  75. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguage.d.ts +1 -1
  76. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +1 -1
  77. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +1 -1
  78. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.d.ts +1 -1
  79. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.d.ts +1 -1
  80. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +1 -1
  81. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +1 -1
  82. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
  83. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
  84. package/dist/api/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
  85. package/dist/api/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
  86. package/dist/api/resources/index.d.ts +1 -1
  87. package/dist/api/resources/index.js +2 -2
  88. package/dist/api/resources/tts/client/Client.js +2 -2
  89. package/dist/api/resources/tts/resources/voices/client/Client.js +1 -1
  90. package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +1 -1
  91. package/dist/api/resources/tts/types/PostedUtterance.d.ts +4 -0
  92. package/dist/api/resources/tts/types/Snippet.d.ts +6 -0
  93. package/dist/api/resources/tts/types/index.d.ts +0 -1
  94. package/dist/api/resources/tts/types/index.js +0 -1
  95. package/dist/serialization/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
  96. package/dist/serialization/resources/expressionMeasurement/resources/stream/index.js +1 -0
  97. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
  98. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
  99. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
  100. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
  101. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.d.ts +3 -3
  102. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +1 -1
  103. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.d.ts +3 -3
  104. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.js +1 -1
  105. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +3 -3
  106. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamErrorMessage.js +1 -1
  107. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.d.ts +3 -3
  108. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.js +1 -1
  109. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +3 -3
  110. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamLanguage.js +1 -1
  111. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +3 -3
  112. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +1 -1
  113. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.d.ts +3 -3
  114. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +1 -1
  115. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.d.ts +5 -5
  116. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +3 -3
  117. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +3 -3
  118. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +1 -1
  119. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +5 -5
  120. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.js +3 -3
  121. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.d.ts +3 -3
  122. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +1 -1
  123. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.d.ts +4 -4
  124. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.js +2 -2
  125. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsJobDetails.d.ts +3 -3
  126. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +1 -1
  127. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.d.ts +3 -3
  128. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +1 -1
  129. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +7 -7
  130. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.js +5 -5
  131. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +3 -3
  132. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +1 -1
  133. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.d.ts +5 -5
  134. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.js +3 -3
  135. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.d.ts +3 -3
  136. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.js +1 -1
  137. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +3 -3
  138. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +1 -1
  139. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.d.ts +3 -3
  140. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.js +1 -1
  141. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +3 -3
  142. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +1 -1
  143. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
  144. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
  145. package/dist/serialization/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
  146. package/dist/serialization/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
  147. package/dist/serialization/resources/index.d.ts +1 -1
  148. package/dist/serialization/resources/index.js +2 -2
  149. package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +2 -0
  150. package/dist/serialization/resources/tts/types/PostedUtterance.js +2 -0
  151. package/dist/serialization/resources/tts/types/Snippet.d.ts +3 -0
  152. package/dist/serialization/resources/tts/types/Snippet.js +3 -0
  153. package/dist/serialization/resources/tts/types/index.d.ts +0 -1
  154. package/dist/serialization/resources/tts/types/index.js +0 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +1 -1
  158. package/reference.md +552 -552
  159. package/serialization/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
  160. package/serialization/resources/expressionMeasurement/resources/stream/index.js +1 -0
  161. package/serialization/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
  162. package/serialization/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
  163. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
  164. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
  165. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.d.ts +3 -3
  166. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +1 -1
  167. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.d.ts +3 -3
  168. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.js +1 -1
  169. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +3 -3
  170. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamErrorMessage.js +1 -1
  171. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.d.ts +3 -3
  172. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.js +1 -1
  173. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +3 -3
  174. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamLanguage.js +1 -1
  175. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +3 -3
  176. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +1 -1
  177. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.d.ts +3 -3
  178. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +1 -1
  179. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.d.ts +5 -5
  180. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +3 -3
  181. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +3 -3
  182. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +1 -1
  183. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +5 -5
  184. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.js +3 -3
  185. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.d.ts +3 -3
  186. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +1 -1
  187. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.d.ts +4 -4
  188. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.js +2 -2
  189. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsJobDetails.d.ts +3 -3
  190. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +1 -1
  191. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.d.ts +3 -3
  192. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +1 -1
  193. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +7 -7
  194. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.js +5 -5
  195. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +3 -3
  196. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +1 -1
  197. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.d.ts +5 -5
  198. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.js +3 -3
  199. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.d.ts +3 -3
  200. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.js +1 -1
  201. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +3 -3
  202. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +1 -1
  203. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.d.ts +3 -3
  204. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.js +1 -1
  205. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +3 -3
  206. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +1 -1
  207. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
  208. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
  209. package/serialization/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
  210. package/serialization/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
  211. package/serialization/resources/index.d.ts +1 -1
  212. package/serialization/resources/index.js +2 -2
  213. package/serialization/resources/tts/types/PostedUtterance.d.ts +2 -0
  214. package/serialization/resources/tts/types/PostedUtterance.js +2 -0
  215. package/serialization/resources/tts/types/Snippet.d.ts +3 -0
  216. package/serialization/resources/tts/types/Snippet.js +3 -0
  217. package/serialization/resources/tts/types/index.d.ts +0 -1
  218. package/serialization/resources/tts/types/index.js +0 -1
  219. package/version.d.ts +1 -1
  220. package/version.js +1 -1
  221. package/api/resources/tts/types/PostedTtsRecord.d.ts +0 -11
  222. package/api/resources/tts/types/PostedTtsRecord.js +0 -5
  223. package/dist/api/resources/tts/types/PostedTtsRecord.d.ts +0 -11
  224. package/dist/api/resources/tts/types/PostedTtsRecord.js +0 -5
  225. package/dist/serialization/resources/tts/types/PostedTtsRecord.d.ts +0 -17
  226. package/dist/serialization/resources/tts/types/PostedTtsRecord.js +0 -38
  227. package/serialization/resources/tts/types/PostedTtsRecord.d.ts +0 -17
  228. package/serialization/resources/tts/types/PostedTtsRecord.js +0 -38
  229. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +0 -0
  230. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.d.ts +0 -0
  231. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.js +0 -0
  232. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.js +0 -0
  233. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.d.ts +0 -0
  234. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.js +0 -0
  235. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +0 -0
  236. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.js +0 -0
  237. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +0 -0
  238. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +0 -0
  239. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +0 -0
  240. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +0 -0
  241. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacePredictionsItem.js +0 -0
  242. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +0 -0
  243. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.js +0 -0
  244. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.d.ts +0 -0
  245. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +0 -0
  246. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +0 -0
  247. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguagePredictionsItem.js +0 -0
  248. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +0 -0
  249. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.js +0 -0
  250. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.js +0 -0
  251. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +0 -0
  252. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.d.ts +0 -0
  253. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.js +0 -0
  254. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +0 -0
  255. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +0 -0
  256. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.d.ts +0 -0
  257. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.js +0 -0
  258. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.js +0 -0
  259. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.d.ts +0 -0
  260. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.js +0 -0
  261. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +0 -0
  262. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.js +0 -0
  263. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +0 -0
  264. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +0 -0
  265. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +0 -0
  266. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +0 -0
  267. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacePredictionsItem.js +0 -0
  268. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +0 -0
  269. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.js +0 -0
  270. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.d.ts +0 -0
  271. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +0 -0
  272. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +0 -0
  273. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguagePredictionsItem.js +0 -0
  274. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +0 -0
  275. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.js +0 -0
  276. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.js +0 -0
  277. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +0 -0
  278. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.d.ts +0 -0
  279. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.js +0 -0
  280. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +0 -0
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Hume from "../../../../../index";
4
+ import * as Hume from "../../../../../../../index";
5
5
  /**
6
6
  * Response for the speech prosody emotion model.
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Hume from "../../../../../index";
4
+ import * as Hume from "../../../../../../../index";
5
5
  export interface StreamModelPredictionsProsodyPredictionsItem {
6
6
  time?: Hume.expressionMeasurement.stream.TimeRange;
7
7
  emotions?: Hume.expressionMeasurement.stream.EmotionEmbedding;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Hume from "../../../../../index";
4
+ import * as Hume from "../../../../../../../index";
5
5
  /**
6
6
  * Models endpoint payload
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Hume from "../../../../../index";
4
+ import * as Hume from "../../../../../../../index";
5
5
  /**
6
6
  * Warning message
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Hume from "../../../../../index";
4
+ import * as Hume from "../../../../../../../index";
5
5
  export declare type SubscribeEvent =
6
6
  /**
7
7
  * Model predictions */
@@ -0,0 +1,21 @@
1
+ export * from "./StreamModelPredictionsJobDetails";
2
+ export * from "./StreamModelPredictionsBurstPredictionsItem";
3
+ export * from "./StreamModelPredictionsBurst";
4
+ export * from "./StreamModelPredictionsFacePredictionsItem";
5
+ export * from "./StreamModelPredictionsFace";
6
+ export * from "./StreamModelPredictionsFacemeshPredictionsItem";
7
+ export * from "./StreamModelPredictionsFacemesh";
8
+ export * from "./StreamModelPredictionsLanguagePredictionsItem";
9
+ export * from "./StreamModelPredictionsLanguage";
10
+ export * from "./StreamModelPredictionsProsodyPredictionsItem";
11
+ export * from "./StreamModelPredictionsProsody";
12
+ export * from "./StreamModelPredictions";
13
+ export * from "./JobDetails";
14
+ export * from "./StreamErrorMessage";
15
+ export * from "./StreamWarningMessageJobDetails";
16
+ export * from "./StreamWarningMessage";
17
+ export * from "./SubscribeEvent";
18
+ export * from "./StreamFace";
19
+ export * from "./StreamLanguage";
20
+ export * from "./Config";
21
+ export * from "./StreamModelsEndpointPayload";
@@ -0,0 +1,37 @@
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("./StreamModelPredictionsJobDetails"), exports);
18
+ __exportStar(require("./StreamModelPredictionsBurstPredictionsItem"), exports);
19
+ __exportStar(require("./StreamModelPredictionsBurst"), exports);
20
+ __exportStar(require("./StreamModelPredictionsFacePredictionsItem"), exports);
21
+ __exportStar(require("./StreamModelPredictionsFace"), exports);
22
+ __exportStar(require("./StreamModelPredictionsFacemeshPredictionsItem"), exports);
23
+ __exportStar(require("./StreamModelPredictionsFacemesh"), exports);
24
+ __exportStar(require("./StreamModelPredictionsLanguagePredictionsItem"), exports);
25
+ __exportStar(require("./StreamModelPredictionsLanguage"), exports);
26
+ __exportStar(require("./StreamModelPredictionsProsodyPredictionsItem"), exports);
27
+ __exportStar(require("./StreamModelPredictionsProsody"), exports);
28
+ __exportStar(require("./StreamModelPredictions"), exports);
29
+ __exportStar(require("./JobDetails"), exports);
30
+ __exportStar(require("./StreamErrorMessage"), exports);
31
+ __exportStar(require("./StreamWarningMessageJobDetails"), exports);
32
+ __exportStar(require("./StreamWarningMessage"), exports);
33
+ __exportStar(require("./SubscribeEvent"), exports);
34
+ __exportStar(require("./StreamFace"), exports);
35
+ __exportStar(require("./StreamLanguage"), exports);
36
+ __exportStar(require("./Config"), exports);
37
+ __exportStar(require("./StreamModelsEndpointPayload"), exports);
@@ -1,24 +1,3 @@
1
- export * from "./StreamModelPredictionsJobDetails";
2
- export * from "./StreamModelPredictionsBurstPredictionsItem";
3
- export * from "./StreamModelPredictionsBurst";
4
- export * from "./StreamModelPredictionsFacePredictionsItem";
5
- export * from "./StreamModelPredictionsFace";
6
- export * from "./StreamModelPredictionsFacemeshPredictionsItem";
7
- export * from "./StreamModelPredictionsFacemesh";
8
- export * from "./StreamModelPredictionsLanguagePredictionsItem";
9
- export * from "./StreamModelPredictionsLanguage";
10
- export * from "./StreamModelPredictionsProsodyPredictionsItem";
11
- export * from "./StreamModelPredictionsProsody";
12
- export * from "./StreamModelPredictions";
13
- export * from "./JobDetails";
14
- export * from "./StreamErrorMessage";
15
- export * from "./StreamWarningMessageJobDetails";
16
- export * from "./StreamWarningMessage";
17
- export * from "./SubscribeEvent";
18
- export * from "./StreamFace";
19
- export * from "./StreamLanguage";
20
- export * from "./Config";
21
- export * from "./StreamModelsEndpointPayload";
22
1
  export * from "./EmotionEmbeddingItem";
23
2
  export * from "./EmotionEmbedding";
24
3
  export * from "./StreamBoundingBox";
@@ -14,27 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./StreamModelPredictionsJobDetails"), exports);
18
- __exportStar(require("./StreamModelPredictionsBurstPredictionsItem"), exports);
19
- __exportStar(require("./StreamModelPredictionsBurst"), exports);
20
- __exportStar(require("./StreamModelPredictionsFacePredictionsItem"), exports);
21
- __exportStar(require("./StreamModelPredictionsFace"), exports);
22
- __exportStar(require("./StreamModelPredictionsFacemeshPredictionsItem"), exports);
23
- __exportStar(require("./StreamModelPredictionsFacemesh"), exports);
24
- __exportStar(require("./StreamModelPredictionsLanguagePredictionsItem"), exports);
25
- __exportStar(require("./StreamModelPredictionsLanguage"), exports);
26
- __exportStar(require("./StreamModelPredictionsProsodyPredictionsItem"), exports);
27
- __exportStar(require("./StreamModelPredictionsProsody"), exports);
28
- __exportStar(require("./StreamModelPredictions"), exports);
29
- __exportStar(require("./JobDetails"), exports);
30
- __exportStar(require("./StreamErrorMessage"), exports);
31
- __exportStar(require("./StreamWarningMessageJobDetails"), exports);
32
- __exportStar(require("./StreamWarningMessage"), exports);
33
- __exportStar(require("./SubscribeEvent"), exports);
34
- __exportStar(require("./StreamFace"), exports);
35
- __exportStar(require("./StreamLanguage"), exports);
36
- __exportStar(require("./Config"), exports);
37
- __exportStar(require("./StreamModelsEndpointPayload"), exports);
38
17
  __exportStar(require("./EmotionEmbeddingItem"), exports);
39
18
  __exportStar(require("./EmotionEmbedding"), exports);
40
19
  __exportStar(require("./StreamBoundingBox"), exports);
@@ -1,3 +1,3 @@
1
1
  export * as tts from "./tts";
2
- export * as expressionMeasurement from "./expressionMeasurement";
3
2
  export * as empathicVoice from "./empathicVoice";
3
+ export * as expressionMeasurement from "./expressionMeasurement";
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.empathicVoice = exports.expressionMeasurement = exports.tts = void 0;
26
+ exports.expressionMeasurement = exports.empathicVoice = exports.tts = void 0;
27
27
  exports.tts = __importStar(require("./tts"));
28
- exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
29
28
  exports.empathicVoice = __importStar(require("./empathicVoice"));
29
+ exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
@@ -84,7 +84,7 @@ class Tts {
84
84
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
85
85
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/tts"),
86
86
  method: "POST",
87
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
87
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.tts.PostedTts.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -143,7 +143,7 @@ class Tts {
143
143
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
144
144
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/tts/file"),
145
145
  method: "POST",
146
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
147
147
  contentType: "application/json",
148
148
  requestType: "json",
149
149
  body: serializers.tts.PostedTts.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -69,7 +69,7 @@ class Voices {
69
69
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
70
70
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/tts/voices"),
71
71
  method: "POST",
72
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
72
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
73
73
  contentType: "application/json",
74
74
  requestType: "json",
75
75
  body: serializers.tts.PostedVoice.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -9,7 +9,7 @@
9
9
  * }
10
10
  */
11
11
  export interface PostedVoice {
12
- /** Id of the TTS generation (as returned by the [/v0/tts endpoint](/reference/text-to-speech-evi/synthesize-json#response.body.generations.generation_id)) that should be saved as a voice. */
12
+ /** A unique ID associated with this TTS generation that can be used as context for generating consistent speech style and prosody across multiple requests. */
13
13
  generationId: string;
14
14
  /** Name of the voice in the `Voice Library`. */
15
15
  name: string;
@@ -11,8 +11,12 @@ export interface PostedUtterance {
11
11
  * See our [prompting guide](/docs/text-to-speech-tts/prompting) for tips on crafting your descriptions.
12
12
  */
13
13
  description?: string;
14
+ /** Speed multiplier for the synthesized speech. */
15
+ speed?: number;
14
16
  /** The input text to be synthesized into speech. */
15
17
  text: string;
18
+ /** Duration of trailing silence (in seconds) to add to this utterance */
19
+ trailingSilence?: number;
16
20
  /**
17
21
  * The `name` or `id` associated with a **Voice** from the **Voice Library** to be used as the speaker for this and all subsequent `utterances`, until the `voice` field is updated again.
18
22
  *
@@ -4,8 +4,14 @@
4
4
  export interface Snippet {
5
5
  /** The segmented audio output in the requested format, encoded as a base64 string. */
6
6
  audio: string;
7
+ /** The generated audio output format. */
8
+ audioFormat: string;
9
+ /** The generation ID this snippet corresponds to. */
10
+ generationId: string;
7
11
  /** A unique ID associated with this **Snippet**. */
8
12
  id: string;
9
13
  /** The text for this **Snippet**. */
10
14
  text: string;
15
+ /** The index of the utterance in the request this snippet corresponds to. */
16
+ utteranceIndex?: number;
11
17
  }
@@ -11,7 +11,6 @@ export * from "./PostedTts";
11
11
  export * from "./ReturnTts";
12
12
  export * from "./ReturnVoice";
13
13
  export * from "./FormatPcm";
14
- export * from "./PostedTtsRecord";
15
14
  export * from "./Snippet";
16
15
  export * from "./PostedUtterance";
17
16
  export * from "./ValidationErrorLocItem";
@@ -27,7 +27,6 @@ __exportStar(require("./PostedTts"), exports);
27
27
  __exportStar(require("./ReturnTts"), exports);
28
28
  __exportStar(require("./ReturnVoice"), exports);
29
29
  __exportStar(require("./FormatPcm"), exports);
30
- __exportStar(require("./PostedTtsRecord"), exports);
31
30
  __exportStar(require("./Snippet"), exports);
32
31
  __exportStar(require("./PostedUtterance"), exports);
33
32
  __exportStar(require("./ValidationErrorLocItem"), exports);
@@ -85,7 +85,7 @@ class ChatGroups {
85
85
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
86
86
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/chat_groups"),
87
87
  method: "GET",
88
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
88
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -165,7 +165,7 @@ class ChatGroups {
165
165
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
166
166
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}`),
167
167
  method: "GET",
168
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
168
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
169
169
  contentType: "application/json",
170
170
  queryParameters: _queryParams,
171
171
  requestType: "json",
@@ -245,7 +245,7 @@ class ChatGroups {
245
245
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
246
246
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}/events`),
247
247
  method: "GET",
248
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
248
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
249
249
  contentType: "application/json",
250
250
  queryParameters: _queryParams,
251
251
  requestType: "json",
@@ -325,7 +325,7 @@ class ChatGroups {
325
325
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
326
326
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}/audio`),
327
327
  method: "GET",
328
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
328
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
329
329
  contentType: "application/json",
330
330
  queryParameters: _queryParams,
331
331
  requestType: "json",
@@ -85,7 +85,7 @@ class Chats {
85
85
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
86
86
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/chats"),
87
87
  method: "GET",
88
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
88
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -177,7 +177,7 @@ class Chats {
177
177
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
178
178
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chats/${encodeURIComponent(id)}`),
179
179
  method: "GET",
180
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
180
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
181
181
  contentType: "application/json",
182
182
  queryParameters: _queryParams,
183
183
  requestType: "json",
@@ -252,7 +252,7 @@ class Chats {
252
252
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
253
253
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chats/${encodeURIComponent(id)}/audio`),
254
254
  method: "GET",
255
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
255
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
256
256
  contentType: "application/json",
257
257
  requestType: "json",
258
258
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -85,7 +85,7 @@ class Configs {
85
85
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
86
86
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/configs"),
87
87
  method: "GET",
88
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
88
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -181,7 +181,7 @@ class Configs {
181
181
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
182
182
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/configs"),
183
183
  method: "POST",
184
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
184
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
185
185
  contentType: "application/json",
186
186
  requestType: "json",
187
187
  body: serializers.empathicVoice.PostedConfig.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -259,7 +259,7 @@ class Configs {
259
259
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
260
260
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
261
261
  method: "GET",
262
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
262
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
263
263
  contentType: "application/json",
264
264
  queryParameters: _queryParams,
265
265
  requestType: "json",
@@ -359,7 +359,7 @@ class Configs {
359
359
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
360
360
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
361
361
  method: "POST",
362
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
362
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
363
363
  contentType: "application/json",
364
364
  requestType: "json",
365
365
  body: serializers.empathicVoice.PostedConfigVersion.jsonOrThrow(request, {
@@ -427,7 +427,7 @@ class Configs {
427
427
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
428
428
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
429
429
  method: "DELETE",
430
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
430
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
431
431
  contentType: "application/json",
432
432
  requestType: "json",
433
433
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -490,7 +490,7 @@ class Configs {
490
490
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
491
491
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
492
492
  method: "PATCH",
493
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
493
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
494
494
  contentType: "application/json",
495
495
  requestType: "json",
496
496
  body: serializers.empathicVoice.PostedConfigName.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -557,7 +557,7 @@ class Configs {
557
557
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
558
558
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
559
559
  method: "GET",
560
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
560
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
561
561
  contentType: "application/json",
562
562
  requestType: "json",
563
563
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -627,7 +627,7 @@ class Configs {
627
627
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
628
628
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
629
629
  method: "DELETE",
630
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
630
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
631
631
  contentType: "application/json",
632
632
  requestType: "json",
633
633
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -695,7 +695,7 @@ class Configs {
695
695
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
696
696
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
697
697
  method: "PATCH",
698
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
698
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
699
699
  contentType: "application/json",
700
700
  requestType: "json",
701
701
  body: serializers.empathicVoice.PostedConfigVersionDescription.jsonOrThrow(request, {
@@ -79,7 +79,7 @@ class CustomVoices {
79
79
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
80
80
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/custom_voices"),
81
81
  method: "GET",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -149,7 +149,7 @@ class CustomVoices {
149
149
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
150
150
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/custom_voices"),
151
151
  method: "POST",
152
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
152
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
153
153
  contentType: "application/json",
154
154
  requestType: "json",
155
155
  body: serializers.empathicVoice.PostedCustomVoice.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -215,7 +215,7 @@ class CustomVoices {
215
215
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
216
216
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
217
217
  method: "GET",
218
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
218
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
219
219
  contentType: "application/json",
220
220
  requestType: "json",
221
221
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -285,7 +285,7 @@ class CustomVoices {
285
285
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
286
286
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
287
287
  method: "POST",
288
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
288
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
289
289
  contentType: "application/json",
290
290
  requestType: "json",
291
291
  body: serializers.empathicVoice.PostedCustomVoice.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -351,7 +351,7 @@ class CustomVoices {
351
351
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
352
352
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
353
353
  method: "DELETE",
354
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
354
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
355
355
  contentType: "application/json",
356
356
  requestType: "json",
357
357
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -414,7 +414,7 @@ class CustomVoices {
414
414
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
415
415
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
416
416
  method: "PATCH",
417
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
417
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
418
418
  contentType: "application/json",
419
419
  requestType: "json",
420
420
  body: serializers.empathicVoice.PostedCustomVoiceName.jsonOrThrow(request, {
@@ -86,7 +86,7 @@ class Prompts {
86
86
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
87
87
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
88
88
  method: "GET",
89
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
89
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
90
90
  contentType: "application/json",
91
91
  queryParameters: _queryParams,
92
92
  requestType: "json",
@@ -166,7 +166,7 @@ class Prompts {
166
166
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
167
167
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
168
168
  method: "POST",
169
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
169
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  body: serializers.empathicVoice.PostedPrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -244,7 +244,7 @@ class Prompts {
244
244
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
245
245
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
246
246
  method: "GET",
247
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
247
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
248
248
  contentType: "application/json",
249
249
  queryParameters: _queryParams,
250
250
  requestType: "json",
@@ -314,7 +314,7 @@ class Prompts {
314
314
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
315
315
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
316
316
  method: "POST",
317
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
317
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  body: serializers.empathicVoice.PostedPromptVersion.jsonOrThrow(request, {
@@ -382,7 +382,7 @@ class Prompts {
382
382
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
383
383
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
384
384
  method: "DELETE",
385
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
385
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
386
386
  contentType: "application/json",
387
387
  requestType: "json",
388
388
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -445,7 +445,7 @@ class Prompts {
445
445
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
446
446
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
447
447
  method: "PATCH",
448
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
448
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
449
449
  contentType: "application/json",
450
450
  requestType: "json",
451
451
  body: serializers.empathicVoice.PostedPromptName.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -512,7 +512,7 @@ class Prompts {
512
512
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
513
513
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
514
514
  method: "GET",
515
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
515
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
516
516
  contentType: "application/json",
517
517
  requestType: "json",
518
518
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -582,7 +582,7 @@ class Prompts {
582
582
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
583
583
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
584
584
  method: "DELETE",
585
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
585
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
586
586
  contentType: "application/json",
587
587
  requestType: "json",
588
588
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -650,7 +650,7 @@ class Prompts {
650
650
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
651
651
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
652
652
  method: "PATCH",
653
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
653
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
654
654
  contentType: "application/json",
655
655
  requestType: "json",
656
656
  body: serializers.empathicVoice.PostedPromptVersionDescription.jsonOrThrow(request, {