hume 0.8.4 → 0.8.6

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 (439) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +855 -216
  2. package/.mock/definition/empathic-voice/chatGroups.yml +383 -35
  3. package/.mock/definition/empathic-voice/chats.yml +393 -44
  4. package/.mock/definition/empathic-voice/configs.yml +437 -228
  5. package/.mock/definition/empathic-voice/prompts.yml +258 -83
  6. package/.mock/definition/empathic-voice/tools.yml +119 -23
  7. package/.mock/definition/expression-measurement/__package__.yml +203 -59
  8. package/.mock/definition/expression-measurement/batch.yml +64 -35
  9. package/.mock/fern.config.json +1 -1
  10. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +12 -3
  11. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +14 -5
  12. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +12 -4
  13. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +16 -5
  14. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +13 -5
  15. package/api/resources/empathicVoice/resources/chats/client/Client.js +129 -97
  16. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +12 -4
  17. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +12 -4
  18. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +96 -20
  19. package/api/resources/empathicVoice/resources/configs/client/Client.js +105 -29
  20. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
  21. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +11 -4
  22. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +42 -4
  23. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.d.ts +1 -1
  24. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +47 -4
  25. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +4 -2
  26. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +41 -23
  27. package/api/resources/empathicVoice/resources/prompts/client/Client.js +111 -80
  28. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +10 -4
  29. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.d.ts +1 -1
  30. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +10 -3
  31. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +4 -2
  32. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
  33. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +11 -4
  34. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +23 -11
  35. package/api/resources/empathicVoice/resources/tools/client/Client.js +93 -68
  36. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
  37. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
  38. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
  39. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
  40. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
  41. package/api/resources/empathicVoice/types/AudioInput.d.ts +4 -2
  42. package/api/resources/empathicVoice/types/Inference.d.ts +1 -1
  43. package/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
  44. package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  45. package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
  46. package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
  47. package/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
  48. package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
  49. package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
  50. package/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
  51. package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
  52. package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  53. package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  54. package/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
  55. package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  56. package/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
  57. package/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
  58. package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
  59. package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
  60. package/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
  61. package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
  62. package/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
  63. package/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
  64. package/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
  65. package/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
  66. package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
  67. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
  68. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
  69. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
  70. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
  71. package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
  72. package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
  73. package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
  74. package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
  75. package/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
  76. package/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
  77. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
  78. package/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
  79. package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
  80. package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
  81. package/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
  82. package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
  83. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
  84. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
  85. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
  86. package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
  87. package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
  88. package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
  89. package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
  90. package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
  91. package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
  92. package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
  93. package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
  94. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
  95. package/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
  96. package/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
  97. package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
  98. package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
  99. package/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
  100. package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
  101. package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
  102. package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
  103. package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
  104. package/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
  105. package/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
  106. package/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
  107. package/api/resources/empathicVoice/types/index.d.ts +14 -0
  108. package/api/resources/empathicVoice/types/index.js +14 -0
  109. package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +4 -4
  110. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -19
  111. package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +25 -9
  112. package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.d.ts +1 -0
  113. package/api/resources/expressionMeasurement/types/{UnionJobJobInference.d.ts → CustomModelsInferenceJob.d.ts} +2 -1
  114. package/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → CustomModelsTrainingJob.d.ts} +2 -1
  115. package/api/resources/expressionMeasurement/types/EmbeddingGenerationJob.d.ts +7 -0
  116. package/api/resources/expressionMeasurement/types/Face.d.ts +5 -0
  117. package/api/resources/expressionMeasurement/types/File_.d.ts +3 -0
  118. package/api/resources/expressionMeasurement/types/Granularity.d.ts +9 -1
  119. package/api/resources/expressionMeasurement/types/InferenceBaseRequest.d.ts +6 -1
  120. package/api/resources/expressionMeasurement/types/InferenceJob.d.ts +12 -0
  121. package/api/resources/expressionMeasurement/types/JobInference.d.ts +3 -0
  122. package/api/resources/expressionMeasurement/types/Language.d.ts +5 -0
  123. package/api/resources/expressionMeasurement/types/Models.d.ts +3 -0
  124. package/api/resources/expressionMeasurement/types/Ner.d.ts +5 -0
  125. package/api/resources/expressionMeasurement/types/Prosody.d.ts +5 -0
  126. package/api/resources/expressionMeasurement/types/Transcription.d.ts +40 -0
  127. package/api/resources/expressionMeasurement/types/UnionJob.d.ts +1 -15
  128. package/api/resources/expressionMeasurement/types/UnionPredictResult.d.ts +1 -1
  129. package/api/resources/expressionMeasurement/types/Window.d.ts +5 -0
  130. package/api/resources/expressionMeasurement/types/index.d.ts +4 -4
  131. package/api/resources/expressionMeasurement/types/index.js +4 -4
  132. package/api/resources/index.d.ts +1 -1
  133. package/api/resources/index.js +2 -2
  134. package/core/index.d.ts +1 -0
  135. package/core/index.js +1 -0
  136. package/core/pagination/Page.d.ts +29 -0
  137. package/core/pagination/Page.js +94 -0
  138. package/core/pagination/Pageable.d.ts +12 -0
  139. package/core/pagination/Pageable.js +10 -0
  140. package/core/pagination/index.d.ts +2 -0
  141. package/core/pagination/index.js +7 -0
  142. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +12 -3
  143. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +14 -5
  144. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +12 -4
  145. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +16 -5
  146. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +13 -5
  147. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +129 -97
  148. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +12 -4
  149. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +12 -4
  150. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +96 -20
  151. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +105 -29
  152. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
  153. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +11 -4
  154. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +42 -4
  155. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.d.ts +1 -1
  156. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +47 -4
  157. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +4 -2
  158. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +41 -23
  159. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +111 -80
  160. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +10 -4
  161. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.d.ts +1 -1
  162. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +10 -3
  163. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +4 -2
  164. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
  165. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +11 -4
  166. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +23 -11
  167. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +93 -68
  168. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
  169. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
  170. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
  171. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
  172. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
  173. package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +4 -2
  174. package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -1
  175. package/dist/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
  176. package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  177. package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
  178. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
  179. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
  180. package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
  181. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
  182. package/dist/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
  183. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
  184. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  185. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  186. package/dist/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
  187. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  188. package/dist/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
  189. package/dist/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
  190. package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
  191. package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
  192. package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
  193. package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
  194. package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
  195. package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
  196. package/dist/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
  197. package/dist/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
  198. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
  199. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
  200. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
  201. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
  202. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
  203. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
  204. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
  205. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
  206. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
  207. package/dist/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
  208. package/dist/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
  209. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
  210. package/dist/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
  211. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
  212. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
  213. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
  214. package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
  215. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
  216. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
  217. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
  218. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
  219. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
  220. package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
  221. package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
  222. package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
  223. package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
  224. package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
  225. package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
  226. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
  227. package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
  228. package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
  229. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
  230. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
  231. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
  232. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
  233. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
  234. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
  235. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
  236. package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
  237. package/dist/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
  238. package/dist/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
  239. package/dist/api/resources/empathicVoice/types/index.d.ts +14 -0
  240. package/dist/api/resources/empathicVoice/types/index.js +14 -0
  241. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +4 -4
  242. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -19
  243. package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +25 -9
  244. package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.d.ts +1 -0
  245. package/{api/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → dist/api/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +2 -1
  246. package/{api/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → dist/api/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +2 -1
  247. package/dist/api/resources/expressionMeasurement/types/EmbeddingGenerationJob.d.ts +7 -0
  248. package/dist/api/resources/expressionMeasurement/types/Face.d.ts +5 -0
  249. package/dist/api/resources/expressionMeasurement/types/File_.d.ts +3 -0
  250. package/dist/api/resources/expressionMeasurement/types/Granularity.d.ts +9 -1
  251. package/dist/api/resources/expressionMeasurement/types/InferenceBaseRequest.d.ts +6 -1
  252. package/dist/api/resources/expressionMeasurement/types/InferenceJob.d.ts +12 -0
  253. package/dist/api/resources/expressionMeasurement/types/JobInference.d.ts +3 -0
  254. package/dist/api/resources/expressionMeasurement/types/Language.d.ts +5 -0
  255. package/dist/api/resources/expressionMeasurement/types/Models.d.ts +3 -0
  256. package/dist/api/resources/expressionMeasurement/types/Ner.d.ts +5 -0
  257. package/dist/api/resources/expressionMeasurement/types/Prosody.d.ts +5 -0
  258. package/dist/api/resources/expressionMeasurement/types/Transcription.d.ts +40 -0
  259. package/dist/api/resources/expressionMeasurement/types/UnionJob.d.ts +1 -15
  260. package/dist/api/resources/expressionMeasurement/types/UnionPredictResult.d.ts +1 -1
  261. package/dist/api/resources/expressionMeasurement/types/Window.d.ts +5 -0
  262. package/dist/api/resources/expressionMeasurement/types/index.d.ts +4 -4
  263. package/dist/api/resources/expressionMeasurement/types/index.js +4 -4
  264. package/dist/api/resources/index.d.ts +1 -1
  265. package/dist/api/resources/index.js +2 -2
  266. package/dist/core/index.d.ts +1 -0
  267. package/dist/core/index.js +1 -0
  268. package/dist/core/pagination/Page.d.ts +29 -0
  269. package/dist/core/pagination/Page.js +94 -0
  270. package/dist/core/pagination/Pageable.d.ts +12 -0
  271. package/dist/core/pagination/Pageable.js +10 -0
  272. package/dist/core/pagination/index.d.ts +2 -0
  273. package/dist/core/pagination/index.js +7 -0
  274. package/dist/errors/HumeError.js +1 -1
  275. package/dist/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
  276. package/dist/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
  277. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
  278. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
  279. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
  280. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
  281. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
  282. package/{serialization/resources/expressionMeasurement/types/UnionJobJobTraining.js → dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js} +2 -3
  283. package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
  284. package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
  285. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
  286. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
  287. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
  288. package/dist/serialization/resources/{expressionMeasurement/types/UnionJobJobTraining.js → empathicVoice/types/ReturnChatEventRole.js} +2 -3
  289. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
  290. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
  291. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
  292. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
  293. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
  294. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
  295. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
  296. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
  297. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
  298. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
  299. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
  300. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
  301. package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
  302. package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
  303. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
  304. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
  305. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  306. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  307. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
  308. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
  309. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
  310. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
  311. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
  312. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
  313. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
  314. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
  315. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
  316. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
  317. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
  318. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
  319. package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
  320. package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
  321. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
  322. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
  323. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
  324. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
  325. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
  326. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
  327. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
  328. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
  329. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
  330. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
  331. package/dist/serialization/resources/empathicVoice/types/index.d.ts +14 -0
  332. package/dist/serialization/resources/empathicVoice/types/index.js +14 -0
  333. package/{serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → dist/serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +3 -2
  334. package/{serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.js → dist/serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.js} +6 -2
  335. package/{serialization/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → dist/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +3 -2
  336. package/dist/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.js +36 -0
  337. package/dist/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → EmbeddingGenerationJob.d.ts} +3 -2
  338. package/dist/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → EmbeddingGenerationJob.js} +6 -2
  339. package/{serialization/resources/expressionMeasurement/types/UnionJobJobInference.d.ts → dist/serialization/resources/expressionMeasurement/types/InferenceJob.d.ts} +3 -2
  340. package/{serialization/resources/expressionMeasurement/types/UnionJobJobInference.js → dist/serialization/resources/expressionMeasurement/types/InferenceJob.js} +6 -2
  341. package/dist/serialization/resources/expressionMeasurement/types/UnionJob.d.ts +3 -18
  342. package/dist/serialization/resources/expressionMeasurement/types/UnionJob.js +2 -39
  343. package/dist/serialization/resources/expressionMeasurement/types/UnionPredictResult.d.ts +2 -3
  344. package/dist/serialization/resources/expressionMeasurement/types/UnionPredictResult.js +1 -29
  345. package/dist/serialization/resources/expressionMeasurement/types/index.d.ts +4 -4
  346. package/dist/serialization/resources/expressionMeasurement/types/index.js +4 -4
  347. package/dist/serialization/resources/index.d.ts +1 -1
  348. package/dist/serialization/resources/index.js +2 -2
  349. package/errors/HumeError.js +1 -1
  350. package/eslint.config.mjs +1 -1
  351. package/{jest.config.mjs → jest.config.js} +1 -3
  352. package/package.json +2 -2
  353. package/reference.md +608 -502
  354. package/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
  355. package/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
  356. package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
  357. package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
  358. package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
  359. package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
  360. package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
  361. package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
  362. package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
  363. package/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
  364. package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
  365. package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
  366. package/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
  367. package/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
  368. package/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
  369. package/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
  370. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
  371. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
  372. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
  373. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
  374. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
  375. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
  376. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
  377. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
  378. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
  379. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
  380. package/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
  381. package/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
  382. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
  383. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
  384. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  385. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  386. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
  387. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
  388. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
  389. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
  390. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
  391. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
  392. package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
  393. package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
  394. package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
  395. package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
  396. package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
  397. package/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
  398. package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
  399. package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
  400. package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
  401. package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
  402. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
  403. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
  404. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
  405. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
  406. package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
  407. package/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
  408. package/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
  409. package/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
  410. package/serialization/resources/empathicVoice/types/index.d.ts +14 -0
  411. package/serialization/resources/empathicVoice/types/index.js +14 -0
  412. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +3 -2
  413. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.js → serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.js} +6 -2
  414. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +3 -2
  415. package/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.js +36 -0
  416. package/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → EmbeddingGenerationJob.d.ts} +3 -2
  417. package/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → EmbeddingGenerationJob.js} +6 -2
  418. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobInference.d.ts → serialization/resources/expressionMeasurement/types/InferenceJob.d.ts} +3 -2
  419. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobInference.js → serialization/resources/expressionMeasurement/types/InferenceJob.js} +6 -2
  420. package/serialization/resources/expressionMeasurement/types/UnionJob.d.ts +3 -18
  421. package/serialization/resources/expressionMeasurement/types/UnionJob.js +2 -39
  422. package/serialization/resources/expressionMeasurement/types/UnionPredictResult.d.ts +2 -3
  423. package/serialization/resources/expressionMeasurement/types/UnionPredictResult.js +1 -29
  424. package/serialization/resources/expressionMeasurement/types/index.d.ts +4 -4
  425. package/serialization/resources/expressionMeasurement/types/index.js +4 -4
  426. package/serialization/resources/index.d.ts +1 -1
  427. package/serialization/resources/index.js +2 -2
  428. package/dist/api/resources/expressionMeasurement/types/UnionJobJobEmbeddingGeneration.d.ts +0 -6
  429. package/dist/api/resources/expressionMeasurement/types/UnionJobJobInference.d.ts +0 -6
  430. package/dist/api/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts +0 -6
  431. package/dist/api/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts +0 -6
  432. /package/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → CustomModelsInferenceJob.js} +0 -0
  433. /package/api/resources/expressionMeasurement/types/{UnionJobJobInference.js → CustomModelsTrainingJob.js} +0 -0
  434. /package/api/resources/expressionMeasurement/types/{UnionJobJobTlInference.js → EmbeddingGenerationJob.js} +0 -0
  435. /package/api/resources/expressionMeasurement/types/{UnionJobJobTraining.js → InferenceJob.js} +0 -0
  436. /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → CustomModelsInferenceJob.js} +0 -0
  437. /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobInference.js → CustomModelsTrainingJob.js} +0 -0
  438. /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobTlInference.js → EmbeddingGenerationJob.js} +0 -0
  439. /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobTraining.js → InferenceJob.js} +0 -0
@@ -76,58 +76,58 @@ types:
76
76
  CompletedEmbeddingGeneration:
77
77
  properties:
78
78
  created_timestamp_ms:
79
- type: integer
79
+ type: long
80
80
  docs: When this job was created (Unix timestamp in milliseconds).
81
81
  started_timestamp_ms:
82
- type: integer
82
+ type: long
83
83
  docs: When this job started (Unix timestamp in milliseconds).
84
84
  ended_timestamp_ms:
85
- type: integer
85
+ type: long
86
86
  docs: When this job ended (Unix timestamp in milliseconds).
87
87
  CompletedInference:
88
88
  properties:
89
89
  created_timestamp_ms:
90
- type: integer
90
+ type: long
91
91
  docs: When this job was created (Unix timestamp in milliseconds).
92
92
  started_timestamp_ms:
93
- type: integer
93
+ type: long
94
94
  docs: When this job started (Unix timestamp in milliseconds).
95
95
  ended_timestamp_ms:
96
- type: integer
96
+ type: long
97
97
  docs: When this job ended (Unix timestamp in milliseconds).
98
98
  num_predictions:
99
- type: integer
99
+ type: uint64
100
100
  docs: The number of predictions that were generated by this job.
101
101
  num_errors:
102
- type: integer
102
+ type: uint64
103
103
  docs: The number of errors that occurred while running this job.
104
104
  CompletedTlInference:
105
105
  properties:
106
106
  created_timestamp_ms:
107
- type: integer
107
+ type: long
108
108
  docs: When this job was created (Unix timestamp in milliseconds).
109
109
  started_timestamp_ms:
110
- type: integer
110
+ type: long
111
111
  docs: When this job started (Unix timestamp in milliseconds).
112
112
  ended_timestamp_ms:
113
- type: integer
113
+ type: long
114
114
  docs: When this job ended (Unix timestamp in milliseconds).
115
115
  num_predictions:
116
- type: integer
116
+ type: uint64
117
117
  docs: The number of predictions that were generated by this job.
118
118
  num_errors:
119
- type: integer
119
+ type: uint64
120
120
  docs: The number of errors that occurred while running this job.
121
121
  CompletedTraining:
122
122
  properties:
123
123
  created_timestamp_ms:
124
- type: integer
124
+ type: long
125
125
  docs: When this job was created (Unix timestamp in milliseconds).
126
126
  started_timestamp_ms:
127
- type: integer
127
+ type: long
128
128
  docs: When this job started (Unix timestamp in milliseconds).
129
129
  ended_timestamp_ms:
130
- type: integer
130
+ type: long
131
131
  docs: When this job ended (Unix timestamp in milliseconds).
132
132
  custom_model: TrainingCustomModel
133
133
  alternatives: optional<map<string, TrainingCustomModel>>
@@ -195,6 +195,12 @@ types:
195
195
  properties:
196
196
  validation: optional<ValidationArgs>
197
197
  Face:
198
+ docs: >-
199
+ The Facial Emotional Expression model analyzes human facial expressions in
200
+ images and videos. Results will be provided per frame for video files.
201
+
202
+
203
+ Recommended input file types: `.png`, `.jpeg`, `.mp4`
198
204
  properties:
199
205
  fps_pred:
200
206
  type: optional<double>
@@ -221,14 +227,11 @@ types:
221
227
  with an `unknown` ID.
222
228
  default: false
223
229
  min_face_size:
224
- type: optional<integer>
230
+ type: optional<uint64>
225
231
  docs: >-
226
232
  Minimum bounding box side length in pixels to treat as a face. Faces
227
233
  detected with a bounding box side length in pixels less than this
228
234
  threshold will be omitted from the response.
229
- default: 60
230
- validation:
231
- min: 10
232
235
  facs: optional<Unconfigurable>
233
236
  descriptions: optional<Unconfigurable>
234
237
  save_faces:
@@ -240,7 +243,7 @@ types:
240
243
  FacePrediction:
241
244
  properties:
242
245
  frame:
243
- type: integer
246
+ type: uint64
244
247
  docs: Frame number
245
248
  time:
246
249
  type: double
@@ -274,18 +277,19 @@ types:
274
277
  Failed:
275
278
  properties:
276
279
  created_timestamp_ms:
277
- type: integer
280
+ type: long
278
281
  docs: When this job was created (Unix timestamp in milliseconds).
279
282
  started_timestamp_ms:
280
- type: integer
283
+ type: long
281
284
  docs: When this job started (Unix timestamp in milliseconds).
282
285
  ended_timestamp_ms:
283
- type: integer
286
+ type: long
284
287
  docs: When this job ended (Unix timestamp in milliseconds).
285
288
  message:
286
289
  type: string
287
290
  docs: An error message.
288
291
  File:
292
+ docs: The list of files submitted for analysis.
289
293
  properties:
290
294
  filename:
291
295
  type: optional<string>
@@ -303,9 +307,35 @@ types:
303
307
  - utterance
304
308
  - conversational_turn
305
309
  docs: >-
306
- The granularity at which to generate predictions. `utterance` corresponds
307
- to a natural pause or break in conversation, while `conversational_turn`
308
- corresponds to a change in speaker.
310
+ The granularity at which to generate predictions. The `granularity` field
311
+ is ignored if transcription is not enabled or if the `window` field has
312
+ been set.
313
+
314
+
315
+ - `word`: At the word level, our model provides a separate output for each
316
+ word, offering the most granular insight into emotional expression during
317
+ speech.
318
+
319
+
320
+ - `sentence`: At the sentence level of granularity, we annotate the
321
+ emotional tone of each spoken sentence with our Prosody and Emotional
322
+ Language models.
323
+
324
+
325
+ - `utterance`: Utterance-level granularity is between word- and
326
+ sentence-level. It takes into account natural pauses or breaks in speech,
327
+ providing more rapidly updated measures of emotional expression within a
328
+ flowing conversation. For text inputs, utterance-level granularity will
329
+ produce results identical to sentence-level granularity.
330
+
331
+
332
+ - `conversational_turn`: Conversational turn-level granularity provides a
333
+ distinct output for each change in speaker. It captures the full sequence
334
+ of words and sentences spoken uninterrupted by each person. This approach
335
+ provides a higher-level view of the emotional dynamics in a
336
+ multi-participant dialogue. For text inputs, specifying conversational
337
+ turn-level granularity for our Emotional Language model will produce
338
+ results for the entire passage.
309
339
  GroupedPredictionsBurstPrediction:
310
340
  properties:
311
341
  id:
@@ -363,14 +393,21 @@ types:
363
393
  InProgress:
364
394
  properties:
365
395
  created_timestamp_ms:
366
- type: integer
396
+ type: long
367
397
  docs: When this job was created (Unix timestamp in milliseconds).
368
398
  started_timestamp_ms:
369
- type: integer
399
+ type: long
370
400
  docs: When this job started (Unix timestamp in milliseconds).
371
401
  InferenceBaseRequest:
372
402
  properties:
373
- models: optional<Models>
403
+ models:
404
+ type: optional<Models>
405
+ docs: >-
406
+ Specify the models to use for inference.
407
+
408
+
409
+ If this field is not explicitly set, then all models will run by
410
+ default.
374
411
  transcription: optional<Transcription>
375
412
  urls:
376
413
  type: optional<list<string>>
@@ -387,7 +424,9 @@ types:
387
424
  docs: List of File IDs corresponding to the files in the asset registry.
388
425
  text:
389
426
  type: optional<list<string>>
390
- docs: Text to supply directly to our language and NER models.
427
+ docs: >-
428
+ Text supplied directly to our Emotional Language and NER models for
429
+ analysis.
391
430
  callback_url:
392
431
  type: optional<string>
393
432
  docs: >-
@@ -470,10 +509,15 @@ types:
470
509
  format: uuid
471
510
  user_id:
472
511
  type: string
512
+ docs: The unique identifier for the user who initiated the job.
473
513
  validation:
474
514
  format: uuid
475
- request: InferenceRequest
476
- state: StateInference
515
+ request:
516
+ type: InferenceRequest
517
+ docs: The request that initiated the job.
518
+ state:
519
+ type: StateInference
520
+ docs: The current state of the job.
477
521
  JobTlInference:
478
522
  properties:
479
523
  job_id:
@@ -508,6 +552,13 @@ types:
508
552
  validation:
509
553
  format: uuid
510
554
  Language:
555
+ docs: >-
556
+ The Emotional Language model analyzes passages of text. This also supports
557
+ audio and video files by transcribing and then directly analyzing the
558
+ transcribed text.
559
+
560
+
561
+ Recommended input filetypes: `.txt`, `.mp3`, `.wav`, `.mp4`
511
562
  properties:
512
563
  granularity: optional<Granularity>
513
564
  sentiment: optional<Unconfigurable>
@@ -562,6 +613,7 @@ types:
562
613
  classified into the following categories: `toxic`, `severe_toxic`,
563
614
  `obscene`, `threat`, `insult`, and `identity_hate`.
564
615
  Models:
616
+ docs: The models used for inference.
565
617
  properties:
566
618
  face: optional<Face>
567
619
  burst: optional<Unconfigurable>
@@ -578,6 +630,13 @@ types:
578
630
  ner: optional<PredictionsOptionalTranscriptionMetadataNerPrediction>
579
631
  facemesh: optional<PredictionsOptionalNullFacemeshPrediction>
580
632
  Ner:
633
+ docs: >-
634
+ The NER (Named-entity Recognition) model identifies real-world objects and
635
+ concepts in passages of text. This also supports audio and video files by
636
+ transcribing and then directly analyzing the transcribed text.
637
+
638
+
639
+ Recommended input filetypes: `.txt`, `.mp3`, `.wav`, `.mp4`
581
640
  properties:
582
641
  identify_speakers:
583
642
  type: optional<boolean>
@@ -631,10 +690,10 @@ types:
631
690
  the end index is exclusive.
632
691
  properties:
633
692
  begin:
634
- type: integer
693
+ type: uint64
635
694
  docs: The index of the first character in the text segment, inclusive.
636
695
  end:
637
- type: integer
696
+ type: uint64
638
697
  docs: The index of the last character in the text segment, exclusive.
639
698
  PredictionsOptionalNullBurstPrediction:
640
699
  properties:
@@ -661,6 +720,12 @@ types:
661
720
  metadata: optional<TranscriptionMetadata>
662
721
  grouped_predictions: list<GroupedPredictionsProsodyPrediction>
663
722
  Prosody:
723
+ docs: >-
724
+ The Speech Prosody model analyzes the intonation, stress, and rhythm of
725
+ spoken word.
726
+
727
+
728
+ Recommended input file types: `.wav`, `.mp3`, `.mp4`
664
729
  properties:
665
730
  granularity: optional<Granularity>
666
731
  window: optional<Window>
@@ -694,7 +759,7 @@ types:
694
759
  Queued:
695
760
  properties:
696
761
  created_timestamp_ms:
697
- type: integer
762
+ type: long
698
763
  docs: When this job was created (Unix timestamp in milliseconds).
699
764
  RegistryFileDetail:
700
765
  properties:
@@ -867,7 +932,7 @@ types:
867
932
  Target:
868
933
  discriminated: false
869
934
  union:
870
- - integer
935
+ - long
871
936
  - double
872
937
  - string
873
938
  Task:
@@ -955,8 +1020,79 @@ types:
955
1020
  id: string
956
1021
  version_id: optional<string>
957
1022
  Transcription:
1023
+ docs: |-
1024
+ Transcription-related configuration options.
1025
+
1026
+ To disable transcription, explicitly set this field to `null`.
958
1027
  properties:
959
- language: optional<Bcp47Tag>
1028
+ language:
1029
+ type: optional<Bcp47Tag>
1030
+ docs: >-
1031
+ By default, we use an automated language detection method for our
1032
+ Speech Prosody, Language, and NER models. However, if you know what
1033
+ language is being spoken in your media samples, you can specify it via
1034
+ its BCP-47 tag and potentially obtain more accurate results.
1035
+
1036
+
1037
+ You can specify any of the following languages:
1038
+
1039
+ - Chinese: `zh`
1040
+
1041
+ - Danish: `da`
1042
+
1043
+ - Dutch: `nl`
1044
+
1045
+ - English: `en`
1046
+
1047
+ - English (Australia): `en-AU`
1048
+
1049
+ - English (India): `en-IN`
1050
+
1051
+ - English (New Zealand): `en-NZ`
1052
+
1053
+ - English (United Kingdom): `en-GB`
1054
+
1055
+ - French: `fr`
1056
+
1057
+ - French (Canada): `fr-CA`
1058
+
1059
+ - German: `de`
1060
+
1061
+ - Hindi: `hi`
1062
+
1063
+ - Hindi (Roman Script): `hi-Latn`
1064
+
1065
+ - Indonesian: `id`
1066
+
1067
+ - Italian: `it`
1068
+
1069
+ - Japanese: `ja`
1070
+
1071
+ - Korean: `ko`
1072
+
1073
+ - Norwegian: `no`
1074
+
1075
+ - Polish: `pl`
1076
+
1077
+ - Portuguese: `pt`
1078
+
1079
+ - Portuguese (Brazil): `pt-BR`
1080
+
1081
+ - Portuguese (Portugal): `pt-PT`
1082
+
1083
+ - Russian: `ru`
1084
+
1085
+ - Spanish: `es`
1086
+
1087
+ - Spanish (Latin America): `es-419`
1088
+
1089
+ - Swedish: `sv`
1090
+
1091
+ - Tamil: `ta`
1092
+
1093
+ - Turkish: `tr`
1094
+
1095
+ - Ukrainian: `uk`
960
1096
  identify_speakers:
961
1097
  type: optional<boolean>
962
1098
  docs: >-
@@ -995,35 +1131,35 @@ types:
995
1131
  To include predictions for this model type, set this field to `{}`. It is
996
1132
  currently not configurable further.
997
1133
  type: map<string, unknown>
998
- UnionJob:
999
- discriminant: type
1000
- base-properties: {}
1001
- union:
1002
- EMBEDDING_GENERATION: UnionJobJobEmbeddingGeneration
1003
- INFERENCE: UnionJobJobInference
1004
- TL_INFERENCE: UnionJobJobTlInference
1005
- TRAINING: UnionJobJobTraining
1006
- UnionJobJobEmbeddingGeneration:
1007
- properties: {}
1134
+ UnionJob: InferenceJob
1135
+ EmbeddingGenerationJob:
1136
+ properties:
1137
+ type: string
1008
1138
  extends:
1009
1139
  - JobEmbeddingGeneration
1010
- UnionJobJobInference:
1011
- properties: {}
1140
+ InferenceJob:
1141
+ properties:
1142
+ type:
1143
+ type: string
1144
+ docs: >-
1145
+ Denotes the job type.
1146
+
1147
+
1148
+ Jobs created with the Expression Measurement API will have this field
1149
+ set to `INFERENCE`.
1012
1150
  extends:
1013
1151
  - JobInference
1014
- UnionJobJobTlInference:
1015
- properties: {}
1152
+ CustomModelsInferenceJob:
1153
+ properties:
1154
+ type: string
1016
1155
  extends:
1017
1156
  - JobTlInference
1018
- UnionJobJobTraining:
1019
- properties: {}
1157
+ CustomModelsTrainingJob:
1158
+ properties:
1159
+ type: string
1020
1160
  extends:
1021
1161
  - JobTraining
1022
- UnionPredictResult:
1023
- discriminated: false
1024
- union:
1025
- - InferenceSourcePredictResult
1026
- - TlInferenceSourcePredictResult
1162
+ UnionPredictResult: InferenceSourcePredictResult
1027
1163
  ValidationArgs:
1028
1164
  properties:
1029
1165
  positive_label: optional<Target>
@@ -1032,6 +1168,14 @@ types:
1032
1168
  - created_before
1033
1169
  - created_after
1034
1170
  Window:
1171
+ docs: >-
1172
+ Generate predictions based on time.
1173
+
1174
+
1175
+ Setting the `window` field allows for a 'sliding window' approach, where a
1176
+ fixed-size window moves across the audio or video file in defined steps.
1177
+ This enables continuous analysis of prosody within subsets of the file,
1178
+ providing dynamic and localized insights into emotional expression.
1035
1179
  properties:
1036
1180
  length:
1037
1181
  type: optional<double>
@@ -19,25 +19,63 @@ service:
19
19
  status:
20
20
  type: optional<root.Status>
21
21
  allow-multiple: true
22
- docs: Include only jobs with these statuses.
22
+ docs: >-
23
+ Include only jobs of this status in the response. There are four
24
+ possible statuses:
25
+
26
+
27
+ - `QUEUED`: The job has been received and is waiting to be
28
+ processed.
29
+
30
+
31
+ - `IN_PROGRESS`: The job is currently being processed.
32
+
33
+
34
+ - `COMPLETED`: The job has finished processing.
35
+
36
+
37
+ - `FAILED`: The job encountered an error and could not be
38
+ completed successfully.
23
39
  when:
24
40
  type: optional<root.When>
25
41
  docs: >-
26
- Include only jobs that were created before or after
42
+ Specify whether to include jobs created before or after a given
27
43
  `timestamp_ms`.
28
44
  timestamp_ms:
29
- type: optional<integer>
30
- docs: Defaults to the current date and time. See `when`.
45
+ type: optional<long>
46
+ docs: |-
47
+ Provide a timestamp in milliseconds to filter jobs.
48
+
49
+ When combined with the `when` parameter, you can filter jobs before or after the given timestamp. Defaults to the current Unix timestamp if one is not provided.
31
50
  sort_by:
32
51
  type: optional<root.SortBy>
33
- docs: The job timestamp to sort by.
52
+ docs: >-
53
+ Specify which timestamp to sort the jobs by.
54
+
55
+
56
+ - `created`: Sort jobs by the time of creation, indicated by
57
+ `created_timestamp_ms`.
58
+
59
+
60
+ - `started`: Sort jobs by the time processing started, indicated
61
+ by `started_timestamp_ms`.
62
+
63
+
64
+ - `ended`: Sort jobs by the time processing ended, indicated by
65
+ `ended_timestamp_ms`.
34
66
  direction:
35
67
  type: optional<root.Direction>
36
- docs: The sort direction.
37
- type:
38
- type: optional<root.Type>
39
- allow-multiple: true
40
- docs: Include only jobs of these types.
68
+ docs: >-
69
+ Specify the order in which to sort the jobs. Defaults to
70
+ descending order.
71
+
72
+
73
+ - `asc`: Sort in ascending order (chronological, with the oldest
74
+ records first).
75
+
76
+
77
+ - `desc`: Sort in descending order (reverse-chronological, with
78
+ the newest records first).
41
79
  response:
42
80
  docs: ''
43
81
  type: list<root.UnionJob>
@@ -106,27 +144,14 @@ service:
106
144
  auth: true
107
145
  docs: Get the request details and state of a given job.
108
146
  path-parameters:
109
- id: string
147
+ id:
148
+ type: string
149
+ docs: The unique identifier for the job.
110
150
  display-name: Get job details
111
151
  response:
112
152
  docs: ''
113
153
  type: root.UnionJob
114
154
  examples:
115
- - name: Embedding Generation
116
- path-parameters:
117
- id: job_id
118
- response:
119
- body:
120
- type: EMBEDDING_GENERATION
121
- job_id: string
122
- request:
123
- registry_file_details:
124
- - file_id: string
125
- file_url: string
126
- state:
127
- status: QUEUED
128
- created_timestamp_ms: 0
129
- user_id: string
130
155
  - name: Inference
131
156
  path-parameters:
132
157
  id: job_id
@@ -170,11 +195,11 @@ service:
170
195
  path: /v0/batch/jobs/{id}/predictions
171
196
  method: GET
172
197
  auth: true
173
- docs: >-
174
- Get the JSON predictions of a completed measurement or custom models
175
- inference job.
198
+ docs: Get the JSON predictions of a completed inference job.
176
199
  path-parameters:
177
- id: string
200
+ id:
201
+ type: string
202
+ docs: The unique identifier for the job.
178
203
  display-name: Get job predictions
179
204
  response:
180
205
  docs: ''
@@ -305,11 +330,11 @@ service:
305
330
  path: /v0/batch/jobs/{id}/artifacts
306
331
  method: GET
307
332
  auth: true
308
- docs: >-
309
- Get the artifacts ZIP of a completed measurement or custom models
310
- inference job.
333
+ docs: Get the artifacts ZIP of a completed inference job.
311
334
  path-parameters:
312
- id: string
335
+ id:
336
+ type: string
337
+ docs: The unique identifier for the job.
313
338
  display-name: Get job artifacts
314
339
  response:
315
340
  docs: ''
@@ -324,7 +349,11 @@ service:
324
349
  name: BatchStartInferenceJobFromLocalFileRequest
325
350
  body:
326
351
  properties:
327
- json: optional<root.InferenceBaseRequest>
352
+ json:
353
+ type: optional<root.InferenceBaseRequest>
354
+ docs: >-
355
+ Stringified JSON object containing the inference job
356
+ configuration.
328
357
  file: list<file>
329
358
  content-type: multipart/form-data
330
359
  response:
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "organization": "hume",
3
- "version": "0.31.24"
3
+ "version": "0.37.4"
4
4
  }
@@ -27,16 +27,25 @@ export declare class ChatGroups {
27
27
  * @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
28
28
  *
29
29
  * @example
30
- * await client.empathicVoice.chatGroups.listChatGroups()
30
+ * await client.empathicVoice.chatGroups.listChatGroups({
31
+ * pageNumber: 0,
32
+ * pageSize: 1,
33
+ * ascendingOrder: true,
34
+ * configId: "1b60e1a0-cc59-424a-8d2c-189d354db3f3"
35
+ * })
31
36
  */
32
37
  listChatGroups(request?: Hume.empathicVoice.ChatGroupsListChatGroupsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedChatGroups>;
33
38
  /**
34
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
39
+ * @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
35
40
  * @param {Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest} request
36
41
  * @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
37
42
  *
38
43
  * @example
39
- * await client.empathicVoice.chatGroups.listChatGroupEvents("id")
44
+ * await client.empathicVoice.chatGroups.listChatGroupEvents("697056f0-6c7e-487d-9bd8-9c19df79f05f", {
45
+ * pageNumber: 0,
46
+ * pageSize: 3,
47
+ * ascendingOrder: true
48
+ * })
40
49
  */
41
50
  listChatGroupEvents(id: string, request?: Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnChatGroupPagedEvents>;
42
51
  protected _getCustomAuthorizationHeaders(): Promise<{
@@ -53,7 +53,12 @@ class ChatGroups {
53
53
  * @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @example
56
- * await client.empathicVoice.chatGroups.listChatGroups()
56
+ * await client.empathicVoice.chatGroups.listChatGroups({
57
+ * pageNumber: 0,
58
+ * pageSize: 1,
59
+ * ascendingOrder: true,
60
+ * configId: "1b60e1a0-cc59-424a-8d2c-189d354db3f3"
61
+ * })
57
62
  */
58
63
  listChatGroups(request = {}, requestOptions) {
59
64
  var _a, _b;
@@ -75,7 +80,7 @@ class ChatGroups {
75
80
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
76
81
  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'),
77
82
  method: 'GET',
78
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
79
84
  contentType: 'application/json',
80
85
  queryParameters: _queryParams,
81
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
@@ -114,12 +119,16 @@ class ChatGroups {
114
119
  });
115
120
  }
116
121
  /**
117
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
122
+ * @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
118
123
  * @param {Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest} request
119
124
  * @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
120
125
  *
121
126
  * @example
122
- * await client.empathicVoice.chatGroups.listChatGroupEvents("id")
127
+ * await client.empathicVoice.chatGroups.listChatGroupEvents("697056f0-6c7e-487d-9bd8-9c19df79f05f", {
128
+ * pageNumber: 0,
129
+ * pageSize: 3,
130
+ * ascendingOrder: true
131
+ * })
123
132
  */
124
133
  listChatGroupEvents(id, request = {}, requestOptions) {
125
134
  var _a, _b;
@@ -138,7 +147,7 @@ class ChatGroups {
138
147
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
139
148
  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`),
140
149
  method: 'GET',
141
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
150
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
142
151
  contentType: 'application/json',
143
152
  queryParameters: _queryParams,
144
153
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null