hume 0.9.11 → 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 (274) 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 +38 -23
  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/tts/client/Client.d.ts +3 -20
  43. package/api/resources/tts/client/Client.js +3 -21
  44. package/api/resources/tts/resources/voices/client/Client.js +1 -1
  45. package/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +1 -1
  46. package/api/resources/tts/types/PostedUtterance.d.ts +4 -0
  47. package/api/resources/tts/types/Snippet.d.ts +6 -0
  48. package/api/resources/tts/types/index.d.ts +0 -1
  49. package/api/resources/tts/types/index.js +0 -1
  50. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  51. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  52. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  53. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  54. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  55. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  56. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  57. package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +1 -1
  58. package/dist/api/resources/expressionMeasurement/resources/batch/types/Transcription.d.ts +0 -1
  59. package/dist/api/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
  60. package/dist/api/resources/expressionMeasurement/resources/stream/index.js +1 -0
  61. package/dist/api/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
  62. package/dist/api/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
  63. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
  64. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
  65. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/Config.d.ts +1 -1
  66. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +1 -1
  67. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +1 -1
  68. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurst.d.ts +1 -1
  69. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.d.ts +1 -1
  70. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +1 -1
  71. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +1 -1
  72. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemesh.d.ts +1 -1
  73. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.d.ts +1 -1
  74. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguage.d.ts +1 -1
  75. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +1 -1
  76. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +1 -1
  77. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.d.ts +1 -1
  78. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.d.ts +1 -1
  79. package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +1 -1
  80. package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +1 -1
  81. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
  82. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
  83. package/dist/api/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
  84. package/dist/api/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
  85. package/dist/api/resources/tts/client/Client.d.ts +3 -20
  86. package/dist/api/resources/tts/client/Client.js +3 -21
  87. package/dist/api/resources/tts/resources/voices/client/Client.js +1 -1
  88. package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +1 -1
  89. package/dist/api/resources/tts/types/PostedUtterance.d.ts +4 -0
  90. package/dist/api/resources/tts/types/Snippet.d.ts +6 -0
  91. package/dist/api/resources/tts/types/index.d.ts +0 -1
  92. package/dist/api/resources/tts/types/index.js +0 -1
  93. package/dist/serialization/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
  94. package/dist/serialization/resources/expressionMeasurement/resources/stream/index.js +1 -0
  95. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
  96. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
  97. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
  98. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
  99. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.d.ts +3 -3
  100. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +1 -1
  101. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.d.ts +3 -3
  102. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.js +1 -1
  103. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +3 -3
  104. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamErrorMessage.js +1 -1
  105. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.d.ts +3 -3
  106. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.js +1 -1
  107. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +3 -3
  108. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamLanguage.js +1 -1
  109. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +3 -3
  110. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +1 -1
  111. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.d.ts +3 -3
  112. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +1 -1
  113. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.d.ts +5 -5
  114. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +3 -3
  115. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +3 -3
  116. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +1 -1
  117. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +5 -5
  118. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.js +3 -3
  119. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.d.ts +3 -3
  120. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +1 -1
  121. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.d.ts +4 -4
  122. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.js +2 -2
  123. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsJobDetails.d.ts +3 -3
  124. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +1 -1
  125. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.d.ts +3 -3
  126. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +1 -1
  127. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +7 -7
  128. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.js +5 -5
  129. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +3 -3
  130. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +1 -1
  131. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.d.ts +5 -5
  132. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.js +3 -3
  133. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.d.ts +3 -3
  134. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.js +1 -1
  135. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +3 -3
  136. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +1 -1
  137. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.d.ts +3 -3
  138. package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.js +1 -1
  139. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +3 -3
  140. package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +1 -1
  141. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
  142. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
  143. package/dist/serialization/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
  144. package/dist/serialization/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
  145. package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +2 -0
  146. package/dist/serialization/resources/tts/types/PostedUtterance.js +2 -0
  147. package/dist/serialization/resources/tts/types/Snippet.d.ts +3 -0
  148. package/dist/serialization/resources/tts/types/Snippet.js +3 -0
  149. package/dist/serialization/resources/tts/types/index.d.ts +0 -1
  150. package/dist/serialization/resources/tts/types/index.js +0 -1
  151. package/dist/version.d.ts +1 -1
  152. package/dist/version.js +1 -1
  153. package/package.json +1 -1
  154. package/reference.md +1 -1
  155. package/serialization/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
  156. package/serialization/resources/expressionMeasurement/resources/stream/index.js +1 -0
  157. package/serialization/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
  158. package/serialization/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
  159. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
  160. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
  161. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.d.ts +3 -3
  162. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +1 -1
  163. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.d.ts +3 -3
  164. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.js +1 -1
  165. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +3 -3
  166. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamErrorMessage.js +1 -1
  167. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.d.ts +3 -3
  168. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.js +1 -1
  169. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +3 -3
  170. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamLanguage.js +1 -1
  171. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +3 -3
  172. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +1 -1
  173. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.d.ts +3 -3
  174. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +1 -1
  175. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.d.ts +5 -5
  176. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +3 -3
  177. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +3 -3
  178. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +1 -1
  179. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +5 -5
  180. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.js +3 -3
  181. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.d.ts +3 -3
  182. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +1 -1
  183. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.d.ts +4 -4
  184. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.js +2 -2
  185. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsJobDetails.d.ts +3 -3
  186. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +1 -1
  187. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.d.ts +3 -3
  188. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +1 -1
  189. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +7 -7
  190. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.js +5 -5
  191. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +3 -3
  192. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +1 -1
  193. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.d.ts +5 -5
  194. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.js +3 -3
  195. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.d.ts +3 -3
  196. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.js +1 -1
  197. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +3 -3
  198. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +1 -1
  199. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.d.ts +3 -3
  200. package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.js +1 -1
  201. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +3 -3
  202. package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +1 -1
  203. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
  204. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
  205. package/serialization/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
  206. package/serialization/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
  207. package/serialization/resources/tts/types/PostedUtterance.d.ts +2 -0
  208. package/serialization/resources/tts/types/PostedUtterance.js +2 -0
  209. package/serialization/resources/tts/types/Snippet.d.ts +3 -0
  210. package/serialization/resources/tts/types/Snippet.js +3 -0
  211. package/serialization/resources/tts/types/index.d.ts +0 -1
  212. package/serialization/resources/tts/types/index.js +0 -1
  213. package/version.d.ts +1 -1
  214. package/version.js +1 -1
  215. package/api/resources/tts/types/PostedTtsRecord.d.ts +0 -11
  216. package/api/resources/tts/types/PostedTtsRecord.js +0 -5
  217. package/dist/api/resources/tts/types/PostedTtsRecord.d.ts +0 -11
  218. package/dist/api/resources/tts/types/PostedTtsRecord.js +0 -5
  219. package/dist/serialization/resources/tts/types/PostedTtsRecord.d.ts +0 -17
  220. package/dist/serialization/resources/tts/types/PostedTtsRecord.js +0 -38
  221. package/serialization/resources/tts/types/PostedTtsRecord.d.ts +0 -17
  222. package/serialization/resources/tts/types/PostedTtsRecord.js +0 -38
  223. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +0 -0
  224. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.d.ts +0 -0
  225. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.js +0 -0
  226. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.js +0 -0
  227. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.d.ts +0 -0
  228. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.js +0 -0
  229. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +0 -0
  230. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.js +0 -0
  231. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +0 -0
  232. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +0 -0
  233. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +0 -0
  234. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +0 -0
  235. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacePredictionsItem.js +0 -0
  236. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +0 -0
  237. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.js +0 -0
  238. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.d.ts +0 -0
  239. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +0 -0
  240. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +0 -0
  241. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguagePredictionsItem.js +0 -0
  242. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +0 -0
  243. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.js +0 -0
  244. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.js +0 -0
  245. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +0 -0
  246. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.d.ts +0 -0
  247. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.js +0 -0
  248. /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +0 -0
  249. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +0 -0
  250. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.d.ts +0 -0
  251. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.js +0 -0
  252. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.js +0 -0
  253. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.d.ts +0 -0
  254. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.js +0 -0
  255. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +0 -0
  256. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.js +0 -0
  257. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +0 -0
  258. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +0 -0
  259. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +0 -0
  260. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +0 -0
  261. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacePredictionsItem.js +0 -0
  262. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +0 -0
  263. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.js +0 -0
  264. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.d.ts +0 -0
  265. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +0 -0
  266. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +0 -0
  267. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguagePredictionsItem.js +0 -0
  268. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +0 -0
  269. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.js +0 -0
  270. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.js +0 -0
  271. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +0 -0
  272. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.d.ts +0 -0
  273. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.js +0 -0
  274. /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +0 -0
@@ -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,9 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /// <reference types="node" />
4
5
  import * as environments from "../../../../environments";
5
6
  import * as core from "../../../../core";
6
7
  import * as Hume from "../../../index";
8
+ import * as stream from "stream";
7
9
  import { Voices } from "../resources/voices/client/Client";
8
10
  export declare namespace Tts {
9
11
  interface Options {
@@ -56,28 +58,9 @@ export declare class Tts {
56
58
  * Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody.
57
59
  *
58
60
  * The response contains the generated audio file in the requested format.
59
- *
60
- * @param {Hume.tts.PostedTts} request
61
- * @param {Tts.RequestOptions} requestOptions - Request-specific configuration.
62
- *
63
61
  * @throws {@link Hume.tts.UnprocessableEntityError}
64
- *
65
- * @example
66
- * await client.tts.synthesizeFile({
67
- * utterances: [{
68
- * text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.",
69
- * description: "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality."
70
- * }],
71
- * context: {
72
- * generationId: "09ad914d-8e7f-40f8-a279-e34f07f7dab2"
73
- * },
74
- * format: {
75
- * type: "mp3"
76
- * },
77
- * numGenerations: 1
78
- * })
79
62
  */
80
- synthesizeFile(request: Hume.tts.PostedTts, requestOptions?: Tts.RequestOptions): Promise<unknown>;
63
+ synthesizeFile(request: Hume.tts.PostedTts, requestOptions?: Tts.RequestOptions): Promise<stream.Readable>;
81
64
  protected _voices: Voices | undefined;
82
65
  get voices(): Voices;
83
66
  protected _getCustomAuthorizationHeaders(): Promise<{
@@ -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.11", "User-Agent": "hume/0.9.11", "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" }),
@@ -135,26 +135,7 @@ class Tts {
135
135
  * Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody.
136
136
  *
137
137
  * The response contains the generated audio file in the requested format.
138
- *
139
- * @param {Hume.tts.PostedTts} request
140
- * @param {Tts.RequestOptions} requestOptions - Request-specific configuration.
141
- *
142
138
  * @throws {@link Hume.tts.UnprocessableEntityError}
143
- *
144
- * @example
145
- * await client.tts.synthesizeFile({
146
- * utterances: [{
147
- * text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.",
148
- * description: "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality."
149
- * }],
150
- * context: {
151
- * generationId: "09ad914d-8e7f-40f8-a279-e34f07f7dab2"
152
- * },
153
- * format: {
154
- * type: "mp3"
155
- * },
156
- * numGenerations: 1
157
- * })
158
139
  */
159
140
  synthesizeFile(request, requestOptions) {
160
141
  var _a, _b;
@@ -162,10 +143,11 @@ class Tts {
162
143
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
163
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"),
164
145
  method: "POST",
165
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "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())),
166
147
  contentType: "application/json",
167
148
  requestType: "json",
168
149
  body: serializers.tts.PostedTts.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
150
+ responseType: "streaming",
169
151
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
170
152
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
171
153
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -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.11", "User-Agent": "hume/0.9.11", "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);
@@ -1 +1,2 @@
1
+ export * from "./resources";
1
2
  export * from "./types";
@@ -14,4 +14,5 @@ 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("./resources"), exports);
17
18
  __exportStar(require("./types"), exports);
@@ -0,0 +1,2 @@
1
+ export * as stream from "./stream";
2
+ export * from "./stream/types";
@@ -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.stream = void 0;
30
+ exports.stream = __importStar(require("./stream"));
31
+ __exportStar(require("./stream/types"), exports);
@@ -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("./types"), exports);
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  import { StreamFace } from "./StreamFace";
8
8
  import { StreamLanguage } from "./StreamLanguage";
9
9
  export declare const Config: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.Config.Raw, Hume.expressionMeasurement.stream.Config>;
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Config = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../core"));
31
31
  const StreamFace_1 = require("./StreamFace");
32
32
  const StreamLanguage_1 = require("./StreamLanguage");
33
33
  exports.Config = core.serialization.object({
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  export declare const JobDetails: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.JobDetails.Raw, Hume.expressionMeasurement.stream.JobDetails>;
8
8
  export declare namespace JobDetails {
9
9
  interface Raw {
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.JobDetails = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../core"));
31
31
  exports.JobDetails = core.serialization.object({
32
32
  jobId: core.serialization.property("job_id", core.serialization.string().optional()),
33
33
  });
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  import { JobDetails } from "./JobDetails";
8
8
  export declare const StreamErrorMessage: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamErrorMessage.Raw, Hume.expressionMeasurement.stream.StreamErrorMessage>;
9
9
  export declare namespace StreamErrorMessage {
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamErrorMessage = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../core"));
31
31
  const JobDetails_1 = require("./JobDetails");
32
32
  exports.StreamErrorMessage = core.serialization.object({
33
33
  error: core.serialization.string().optional(),
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  export declare const StreamFace: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamFace.Raw, Hume.expressionMeasurement.stream.StreamFace>;
8
8
  export declare namespace StreamFace {
9
9
  interface Raw {
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamFace = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../core"));
31
31
  exports.StreamFace = core.serialization.object({
32
32
  facs: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
33
33
  descriptions: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  export declare const StreamLanguage: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamLanguage.Raw, Hume.expressionMeasurement.stream.StreamLanguage>;
8
8
  export declare namespace StreamLanguage {
9
9
  interface Raw {
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamLanguage = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../core"));
31
31
  exports.StreamLanguage = core.serialization.object({
32
32
  sentiment: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
33
33
  toxicity: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  import { StreamModelPredictionsJobDetails } from "./StreamModelPredictionsJobDetails";
8
8
  import { StreamModelPredictionsBurst } from "./StreamModelPredictionsBurst";
9
9
  import { StreamModelPredictionsFace } from "./StreamModelPredictionsFace";
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamModelPredictions = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../core"));
31
31
  const StreamModelPredictionsJobDetails_1 = require("./StreamModelPredictionsJobDetails");
32
32
  const StreamModelPredictionsBurst_1 = require("./StreamModelPredictionsBurst");
33
33
  const StreamModelPredictionsFace_1 = require("./StreamModelPredictionsFace");
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  import { StreamModelPredictionsBurstPredictionsItem } from "./StreamModelPredictionsBurstPredictionsItem";
8
8
  export declare const StreamModelPredictionsBurst: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamModelPredictionsBurst.Raw, Hume.expressionMeasurement.stream.StreamModelPredictionsBurst>;
9
9
  export declare namespace StreamModelPredictionsBurst {
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamModelPredictionsBurst = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../core"));
31
31
  const StreamModelPredictionsBurstPredictionsItem_1 = require("./StreamModelPredictionsBurstPredictionsItem");
32
32
  exports.StreamModelPredictionsBurst = core.serialization.object({
33
33
  predictions: core.serialization.list(StreamModelPredictionsBurstPredictionsItem_1.StreamModelPredictionsBurstPredictionsItem).optional(),
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { TimeRange } from "./TimeRange";
8
- import { EmotionEmbedding } from "./EmotionEmbedding";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { TimeRange } from "../../../types/TimeRange";
8
+ import { EmotionEmbedding } from "../../../types/EmotionEmbedding";
9
9
  export declare const StreamModelPredictionsBurstPredictionsItem: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamModelPredictionsBurstPredictionsItem.Raw, Hume.expressionMeasurement.stream.StreamModelPredictionsBurstPredictionsItem>;
10
10
  export declare namespace StreamModelPredictionsBurstPredictionsItem {
11
11
  interface Raw {
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamModelPredictionsBurstPredictionsItem = void 0;
30
- const core = __importStar(require("../../../../../../core"));
31
- const TimeRange_1 = require("./TimeRange");
32
- const EmotionEmbedding_1 = require("./EmotionEmbedding");
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ const TimeRange_1 = require("../../../types/TimeRange");
32
+ const EmotionEmbedding_1 = require("../../../types/EmotionEmbedding");
33
33
  exports.StreamModelPredictionsBurstPredictionsItem = core.serialization.object({
34
34
  time: TimeRange_1.TimeRange.optional(),
35
35
  emotions: EmotionEmbedding_1.EmotionEmbedding.optional(),
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  import { StreamModelPredictionsFacePredictionsItem } from "./StreamModelPredictionsFacePredictionsItem";
8
8
  export declare const StreamModelPredictionsFace: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamModelPredictionsFace.Raw, Hume.expressionMeasurement.stream.StreamModelPredictionsFace>;
9
9
  export declare namespace StreamModelPredictionsFace {
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamModelPredictionsFace = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../core"));
31
31
  const StreamModelPredictionsFacePredictionsItem_1 = require("./StreamModelPredictionsFacePredictionsItem");
32
32
  exports.StreamModelPredictionsFace = core.serialization.object({
33
33
  predictions: core.serialization.list(StreamModelPredictionsFacePredictionsItem_1.StreamModelPredictionsFacePredictionsItem).optional(),
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { StreamBoundingBox } from "./StreamBoundingBox";
8
- import { EmotionEmbedding } from "./EmotionEmbedding";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { StreamBoundingBox } from "../../../types/StreamBoundingBox";
8
+ import { EmotionEmbedding } from "../../../types/EmotionEmbedding";
9
9
  export declare const StreamModelPredictionsFacePredictionsItem: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamModelPredictionsFacePredictionsItem.Raw, Hume.expressionMeasurement.stream.StreamModelPredictionsFacePredictionsItem>;
10
10
  export declare namespace StreamModelPredictionsFacePredictionsItem {
11
11
  interface Raw {
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamModelPredictionsFacePredictionsItem = void 0;
30
- const core = __importStar(require("../../../../../../core"));
31
- const StreamBoundingBox_1 = require("./StreamBoundingBox");
32
- const EmotionEmbedding_1 = require("./EmotionEmbedding");
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ const StreamBoundingBox_1 = require("../../../types/StreamBoundingBox");
32
+ const EmotionEmbedding_1 = require("../../../types/EmotionEmbedding");
33
33
  exports.StreamModelPredictionsFacePredictionsItem = core.serialization.object({
34
34
  frame: core.serialization.number().optional(),
35
35
  time: core.serialization.number().optional(),
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  import { StreamModelPredictionsFacemeshPredictionsItem } from "./StreamModelPredictionsFacemeshPredictionsItem";
8
8
  export declare const StreamModelPredictionsFacemesh: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamModelPredictionsFacemesh.Raw, Hume.expressionMeasurement.stream.StreamModelPredictionsFacemesh>;
9
9
  export declare namespace StreamModelPredictionsFacemesh {
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamModelPredictionsFacemesh = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../core"));
31
31
  const StreamModelPredictionsFacemeshPredictionsItem_1 = require("./StreamModelPredictionsFacemeshPredictionsItem");
32
32
  exports.StreamModelPredictionsFacemesh = core.serialization.object({
33
33
  predictions: core.serialization.list(StreamModelPredictionsFacemeshPredictionsItem_1.StreamModelPredictionsFacemeshPredictionsItem).optional(),
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { EmotionEmbedding } from "./EmotionEmbedding";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { EmotionEmbedding } from "../../../types/EmotionEmbedding";
8
8
  export declare const StreamModelPredictionsFacemeshPredictionsItem: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamModelPredictionsFacemeshPredictionsItem.Raw, Hume.expressionMeasurement.stream.StreamModelPredictionsFacemeshPredictionsItem>;
9
9
  export declare namespace StreamModelPredictionsFacemeshPredictionsItem {
10
10
  interface Raw {
@@ -27,8 +27,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StreamModelPredictionsFacemeshPredictionsItem = void 0;
30
- const core = __importStar(require("../../../../../../core"));
31
- const EmotionEmbedding_1 = require("./EmotionEmbedding");
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ const EmotionEmbedding_1 = require("../../../types/EmotionEmbedding");
32
32
  exports.StreamModelPredictionsFacemeshPredictionsItem = core.serialization.object({
33
33
  emotions: EmotionEmbedding_1.EmotionEmbedding.optional(),
34
34
  });
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as Hume from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as Hume from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
7
  export declare const StreamModelPredictionsJobDetails: core.serialization.ObjectSchema<serializers.expressionMeasurement.stream.StreamModelPredictionsJobDetails.Raw, Hume.expressionMeasurement.stream.StreamModelPredictionsJobDetails>;
8
8
  export declare namespace StreamModelPredictionsJobDetails {
9
9
  interface Raw {