hume 0.9.2 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/.mock/definition/api.yml +6 -6
  2. package/.mock/definition/empathic-voice/__package__.yml +3083 -2703
  3. package/.mock/definition/empathic-voice/chat.yml +143 -143
  4. package/.mock/definition/empathic-voice/chatGroups.yml +581 -508
  5. package/.mock/definition/empathic-voice/chats.yml +480 -449
  6. package/.mock/definition/empathic-voice/configs.yml +913 -871
  7. package/.mock/definition/empathic-voice/customVoices.yml +255 -234
  8. package/.mock/definition/empathic-voice/prompts.yml +523 -526
  9. package/.mock/definition/empathic-voice/tools.yml +588 -588
  10. package/.mock/definition/expression-measurement/batch/__package__.yml +1758 -1758
  11. package/.mock/definition/expression-measurement/stream/__package__.yml +486 -485
  12. package/.mock/fern.config.json +3 -3
  13. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +17 -0
  14. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +83 -3
  15. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +29 -0
  16. package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
  17. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +12 -0
  18. package/api/resources/empathicVoice/resources/chats/client/Client.js +65 -2
  19. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
  20. package/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
  21. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
  22. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  23. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  24. package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
  25. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
  26. package/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
  27. package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
  28. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  29. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
  30. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  31. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
  32. package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  33. package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
  34. package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
  35. package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
  36. package/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
  37. package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
  38. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
  39. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
  40. package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
  41. package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  42. package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  43. package/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
  44. package/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
  45. package/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
  46. package/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
  47. package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
  48. package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
  49. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
  50. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
  51. package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
  52. package/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
  53. package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
  54. package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
  55. package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
  56. package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
  57. package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
  58. package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
  59. package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
  60. package/api/resources/empathicVoice/types/ReturnVoice.d.ts +3 -3
  61. package/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
  62. package/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
  63. package/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
  64. package/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
  65. package/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  66. package/api/resources/empathicVoice/types/index.d.ts +8 -2
  67. package/api/resources/empathicVoice/types/index.js +8 -2
  68. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  69. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +17 -0
  70. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +83 -3
  71. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +29 -0
  72. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
  73. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +12 -0
  74. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +65 -2
  75. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
  76. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
  77. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
  78. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  79. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  80. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
  81. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
  82. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
  83. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
  84. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  85. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
  86. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  87. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
  88. package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  89. package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
  90. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
  91. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
  92. package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
  93. package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
  94. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
  95. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
  96. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
  97. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  98. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  99. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
  100. package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
  101. package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
  102. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
  103. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +5 -0
  104. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
  105. package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
  106. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
  107. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +5 -0
  108. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
  109. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
  110. package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
  111. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
  112. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
  113. package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
  114. package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
  115. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
  116. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
  117. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
  118. package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +3 -3
  119. package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
  120. package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
  121. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
  122. package/dist/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
  123. package/dist/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  124. package/dist/api/resources/empathicVoice/types/index.d.ts +8 -2
  125. package/dist/api/resources/empathicVoice/types/index.js +8 -2
  126. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  127. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  128. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
  129. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
  130. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
  131. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
  132. package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
  133. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
  134. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
  135. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
  136. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
  137. package/dist/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
  138. package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
  139. package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
  140. package/dist/serialization/resources/empathicVoice/types/{ExtendedVoiceArgs.js → PostedVoiceProvider.js} +2 -7
  141. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
  142. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
  143. package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
  144. package/{serialization/resources/empathicVoice/types/ExtendedVoiceArgs.js → dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js} +2 -7
  145. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
  146. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
  147. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
  148. package/{serialization/resources/empathicVoice/types/VoiceArgs.js → dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js} +2 -11
  149. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
  150. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
  151. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
  152. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
  153. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
  154. package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
  155. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  156. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  157. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
  158. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
  159. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
  160. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
  161. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
  162. package/dist/serialization/resources/empathicVoice/types/{VoiceArgs.js → ReturnVoiceProvider.js} +2 -11
  163. package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
  164. package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  165. package/dist/serialization/resources/empathicVoice/types/index.d.ts +8 -2
  166. package/dist/serialization/resources/empathicVoice/types/index.js +8 -2
  167. package/dist/version.d.ts +1 -1
  168. package/dist/version.js +1 -1
  169. package/package.json +1 -1
  170. package/reference.md +144 -144
  171. package/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  172. package/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
  173. package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
  174. package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
  175. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
  176. package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
  177. package/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
  178. package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
  179. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
  180. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
  181. package/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
  182. package/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
  183. package/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
  184. package/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +31 -0
  185. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
  186. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
  187. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
  188. package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +31 -0
  189. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
  190. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
  191. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
  192. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +31 -0
  193. package/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
  194. package/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
  195. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
  196. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
  197. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
  198. package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
  199. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  200. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  201. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
  202. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
  203. package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
  204. package/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
  205. package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
  206. package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +31 -0
  207. package/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
  208. package/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
  209. package/serialization/resources/empathicVoice/types/index.d.ts +8 -2
  210. package/serialization/resources/empathicVoice/types/index.js +8 -2
  211. package/version.d.ts +1 -1
  212. package/version.js +1 -1
  213. package/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
  214. package/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
  215. package/dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
  216. package/dist/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
  217. package/dist/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
  218. package/dist/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
  219. package/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
  220. package/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
  221. /package/api/resources/empathicVoice/{types/ExtendedVoiceArgs.js → resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
  222. /package/api/resources/empathicVoice/types/{VoiceArgs.js → ReturnChatAudioReconstruction.js} +0 -0
  223. /package/{dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.js → api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js} +0 -0
  224. /package/dist/api/resources/empathicVoice/{types/VoiceArgs.js → resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  name: api
2
2
  error-discrimination:
3
- strategy: status-code
3
+ strategy: status-code
4
4
  default-environment: Production
5
5
  environments:
6
- Production: https://api.hume.ai
6
+ Production: https://api.hume.ai
7
7
  auth: HeaderAuthScheme
8
8
  auth-schemes:
9
- HeaderAuthScheme:
10
- name: apiKey
11
- header: X-Hume-Api-Key
12
- type: optional<string>
9
+ HeaderAuthScheme:
10
+ header: X-Hume-Api-Key
11
+ type: optional<string>
12
+ name: apiKey