hume 0.7.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +176 -72
  2. package/.mock/definition/empathic-voice/chat.yml +6 -6
  3. package/.mock/definition/empathic-voice/chatGroups.yml +9 -0
  4. package/.mock/definition/empathic-voice/chats.yml +14 -1
  5. package/.mock/definition/empathic-voice/configs.yml +138 -86
  6. package/.mock/definition/empathic-voice/prompts.yml +4 -2
  7. package/.mock/definition/empathic-voice/tools.yml +4 -2
  8. package/.mock/fern.config.json +1 -1
  9. package/api/resources/customModels/resources/datasets/client/Client.d.ts +9 -9
  10. package/api/resources/customModels/resources/datasets/client/Client.js +18 -18
  11. package/api/resources/customModels/resources/files/client/Client.d.ts +7 -7
  12. package/api/resources/customModels/resources/files/client/Client.js +14 -14
  13. package/api/resources/customModels/resources/jobs/client/Client.d.ts +2 -2
  14. package/api/resources/customModels/resources/jobs/client/Client.js +4 -4
  15. package/api/resources/customModels/resources/models/client/Client.d.ts +6 -6
  16. package/api/resources/customModels/resources/models/client/Client.js +12 -12
  17. package/api/resources/empathicVoice/client/StreamSocket.d.ts +8 -0
  18. package/api/resources/empathicVoice/client/StreamSocket.js +16 -0
  19. package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  20. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
  21. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
  22. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
  23. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
  24. package/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
  25. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
  26. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
  27. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
  28. package/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
  29. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
  30. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
  31. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
  32. package/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
  33. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  34. package/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  35. package/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
  36. package/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  37. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  38. package/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
  39. package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  40. package/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
  41. package/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
  42. package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
  43. package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
  44. package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
  45. package/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
  46. package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  47. package/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
  48. package/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
  49. package/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
  50. package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
  51. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
  52. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
  53. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
  54. package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
  55. package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
  56. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
  57. package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
  58. package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
  59. package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
  60. package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
  61. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  62. package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
  63. package/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
  64. package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
  65. package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
  66. package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
  67. package/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
  68. package/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
  69. package/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  70. package/api/resources/empathicVoice/types/index.d.ts +9 -6
  71. package/api/resources/empathicVoice/types/index.js +9 -6
  72. package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
  73. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
  74. package/core/runtime/runtime.d.ts +1 -1
  75. package/core/runtime/runtime.js +11 -1
  76. package/dist/api/resources/customModels/resources/datasets/client/Client.d.ts +9 -9
  77. package/dist/api/resources/customModels/resources/datasets/client/Client.js +18 -18
  78. package/dist/api/resources/customModels/resources/files/client/Client.d.ts +7 -7
  79. package/dist/api/resources/customModels/resources/files/client/Client.js +14 -14
  80. package/dist/api/resources/customModels/resources/jobs/client/Client.d.ts +2 -2
  81. package/dist/api/resources/customModels/resources/jobs/client/Client.js +4 -4
  82. package/dist/api/resources/customModels/resources/models/client/Client.d.ts +6 -6
  83. package/dist/api/resources/customModels/resources/models/client/Client.js +12 -12
  84. package/dist/api/resources/empathicVoice/client/StreamSocket.d.ts +8 -0
  85. package/dist/api/resources/empathicVoice/client/StreamSocket.js +16 -0
  86. package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  87. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
  88. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
  89. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
  90. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
  91. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
  92. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
  93. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
  94. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
  95. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
  96. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
  97. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
  98. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
  99. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
  100. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  101. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  102. package/dist/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
  103. package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  104. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  105. package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
  106. package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  107. package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
  108. package/dist/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
  109. package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
  110. package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
  111. package/dist/api/resources/empathicVoice/types/PostedEllmModel.js +5 -0
  112. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
  113. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.js +5 -0
  114. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
  115. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.js +5 -0
  116. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  117. package/dist/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
  118. package/dist/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
  119. package/dist/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
  120. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
  121. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
  122. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
  123. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
  124. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
  125. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.js +5 -0
  126. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
  127. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.js +5 -0
  128. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
  129. package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
  130. package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
  131. package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
  132. package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
  133. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  134. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
  135. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.js +5 -0
  136. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
  137. package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
  138. package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
  139. package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
  140. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
  141. package/dist/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
  142. package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  143. package/dist/api/resources/empathicVoice/types/index.d.ts +9 -6
  144. package/dist/api/resources/empathicVoice/types/index.js +9 -6
  145. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
  146. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
  147. package/dist/core/runtime/runtime.d.ts +1 -1
  148. package/dist/core/runtime/runtime.js +11 -1
  149. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
  150. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
  151. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
  152. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
  153. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
  154. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
  155. package/{serialization/resources/empathicVoice/types/WebSocketError.d.ts → dist/serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
  156. package/{serialization/resources/empathicVoice/types/WebSocketError.js → dist/serialization/resources/empathicVoice/types/Error_.js} +2 -2
  157. package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  158. package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
  159. package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
  160. package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
  161. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
  162. package/dist/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → PostedEventMessageSpec.js} +4 -3
  163. package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
  164. package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
  165. package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
  166. package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
  167. package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
  168. package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
  169. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
  170. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
  171. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
  172. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
  173. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  174. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
  175. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
  176. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
  177. package/dist/serialization/resources/empathicVoice/types/{TtsInput.d.ts → ReturnEllmModel.d.ts} +3 -3
  178. package/dist/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
  179. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
  180. package/dist/serialization/resources/empathicVoice/types/{TextInput.js → ReturnEventMessageSpec.js} +4 -3
  181. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
  182. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
  183. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
  184. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
  185. package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
  186. package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
  187. package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
  188. package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
  189. package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
  190. package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
  191. package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
  192. package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
  193. package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
  194. package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
  195. package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
  196. package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
  197. package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
  198. package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
  199. package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
  200. package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
  201. package/dist/serialization/resources/empathicVoice/types/index.d.ts +9 -6
  202. package/dist/serialization/resources/empathicVoice/types/index.js +9 -6
  203. package/dist/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
  204. package/package.json +6 -1
  205. package/reference.md +208 -122
  206. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
  207. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
  208. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
  209. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
  210. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
  211. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
  212. package/{dist/serialization/resources/empathicVoice/types/WebSocketError.d.ts → serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
  213. package/{dist/serialization/resources/empathicVoice/types/WebSocketError.js → serialization/resources/empathicVoice/types/Error_.js} +2 -2
  214. package/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  215. package/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
  216. package/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
  217. package/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
  218. package/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
  219. package/{dist/serialization/resources/empathicVoice/types/TtsInput.js → serialization/resources/empathicVoice/types/PostedEventMessageSpec.js} +4 -3
  220. package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
  221. package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
  222. package/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
  223. package/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
  224. package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
  225. package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
  226. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
  227. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
  228. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
  229. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
  230. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  231. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
  232. package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
  233. package/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
  234. package/serialization/resources/empathicVoice/types/{TextInput.d.ts → ReturnEllmModel.d.ts} +3 -3
  235. package/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
  236. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
  237. package/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → ReturnEventMessageSpec.js} +4 -3
  238. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
  239. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
  240. package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
  241. package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
  242. package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
  243. package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
  244. package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
  245. package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
  246. package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
  247. package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
  248. package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
  249. package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
  250. package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
  251. package/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
  252. package/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
  253. package/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
  254. package/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
  255. package/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
  256. package/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
  257. package/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
  258. package/serialization/resources/empathicVoice/types/index.d.ts +9 -6
  259. package/serialization/resources/empathicVoice/types/index.js +9 -6
  260. package/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
  261. package/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
  262. package/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
  263. package/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
  264. package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
  265. package/dist/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
  266. package/dist/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
  267. package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
  268. package/dist/serialization/resources/empathicVoice/types/TextInput.d.ts +0 -12
  269. package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
  270. package/serialization/resources/empathicVoice/types/TextInput.js +0 -33
  271. package/serialization/resources/empathicVoice/types/TtsInput.d.ts +0 -12
  272. package/serialization/resources/empathicVoice/types/TtsInput.js +0 -33
  273. /package/api/resources/empathicVoice/types/{FunctionCallResponseInput.js → Error_.js} +0 -0
  274. /package/api/resources/empathicVoice/types/{TextInput.js → PostedEllmModel.js} +0 -0
  275. /package/api/resources/empathicVoice/types/{TtsInput.js → PostedEventMessageSpec.js} +0 -0
  276. /package/api/resources/empathicVoice/types/{WebSocketError.js → PostedTimeoutSpec.js} +0 -0
  277. /package/{dist/api/resources/empathicVoice/types/FunctionCallResponseInput.js → api/resources/empathicVoice/types/ReturnEllmModel.js} +0 -0
  278. /package/{dist/api/resources/empathicVoice/types/TextInput.js → api/resources/empathicVoice/types/ReturnEventMessageSpec.js} +0 -0
  279. /package/{dist/api/resources/empathicVoice/types/TtsInput.js → api/resources/empathicVoice/types/ReturnTimeoutSpec.js} +0 -0
  280. /package/dist/api/resources/empathicVoice/types/{WebSocketError.js → Error_.js} +0 -0
@@ -29,6 +29,7 @@ service:
29
29
  body:
30
30
  page_number: 1
31
31
  page_size: 1
32
+ total_pages: 1
32
33
  configs_page:
33
34
  - id: id
34
35
  version: 1
@@ -47,18 +48,8 @@ service:
47
48
  voice:
48
49
  provider: provider
49
50
  name: name
50
- tools:
51
- tool_type: tool_type
52
- id: id
53
- version: 1
54
- version_type: version_type
55
- name: name
56
- created_on: 1
57
- modified_on: 1
58
- parameters: parameters
59
- builtin_tools:
60
- tool_type: tool_type
61
- name: name
51
+ ellm_model:
52
+ allow_short_responses: true
62
53
  create-config:
63
54
  path: /v0/evi/configs
64
55
  method: POST
@@ -77,10 +68,25 @@ service:
77
68
  prompt: optional<root.PostedPromptSpec>
78
69
  voice: optional<root.PostedVoice>
79
70
  language_model: optional<root.PostedLanguageModel>
80
- tools: optional<root.PostedUserDefinedToolSpec>
81
- builtin_tools: optional<root.PostedBuiltinTool>
71
+ ellm_model: optional<root.PostedEllmModel>
72
+ tools:
73
+ type: optional<list<optional<root.PostedUserDefinedToolSpec>>>
74
+ docs: Tool specification for a Config.
75
+ builtin_tools:
76
+ type: optional<list<optional<root.PostedBuiltinTool>>>
77
+ docs: Built-in tool specification for a Config.
78
+ event_messages:
79
+ type: optional<map<string, optional<root.PostedEventMessageSpec>>>
80
+ docs: >-
81
+ Map with event_message types as keys and a nested dict of event
82
+ message parameters as values.
83
+ timeouts:
84
+ type: optional<map<string, optional<root.PostedTimeoutSpec>>>
85
+ docs: >-
86
+ Map with timeout types as keys and a nested dict of timeout
87
+ parameters as values.
82
88
  response:
83
- docs: Success
89
+ docs: Created
84
90
  type: root.ReturnConfig
85
91
  examples:
86
92
  - request:
@@ -109,22 +115,32 @@ service:
109
115
  model_provider: model_provider
110
116
  model_resource: model_resource
111
117
  temperature: 1.1
118
+ ellm_model:
119
+ allow_short_responses: true
112
120
  tools:
113
- tool_type: tool_type
114
- id: id
115
- version: 1
116
- version_type: version_type
117
- version_description: version_description
118
- name: name
119
- created_on: 1
120
- modified_on: 1
121
- fallback_content: fallback_content
122
- description: description
123
- parameters: parameters
121
+ - tool_type: tool_type
122
+ id: id
123
+ version: 1
124
+ version_type: version_type
125
+ version_description: version_description
126
+ name: name
127
+ created_on: 1
128
+ modified_on: 1
129
+ fallback_content: fallback_content
130
+ description: description
131
+ parameters: parameters
124
132
  builtin_tools:
125
- tool_type: tool_type
126
- name: name
127
- fallback_content: fallback_content
133
+ - tool_type: tool_type
134
+ name: name
135
+ fallback_content: fallback_content
136
+ event_messages:
137
+ event_messages:
138
+ enabled: true
139
+ text: text
140
+ timeouts:
141
+ timeouts:
142
+ enabled: true
143
+ duration_secs: 1
128
144
  list-config-versions:
129
145
  path: /v0/evi/configs/{id}
130
146
  method: GET
@@ -156,6 +172,7 @@ service:
156
172
  body:
157
173
  page_number: 1
158
174
  page_size: 1
175
+ total_pages: 1
159
176
  configs_page:
160
177
  - id: id
161
178
  version: 1
@@ -174,18 +191,8 @@ service:
174
191
  voice:
175
192
  provider: provider
176
193
  name: name
177
- tools:
178
- tool_type: tool_type
179
- id: id
180
- version: 1
181
- version_type: version_type
182
- name: name
183
- created_on: 1
184
- modified_on: 1
185
- parameters: parameters
186
- builtin_tools:
187
- tool_type: tool_type
188
- name: name
194
+ ellm_model:
195
+ allow_short_responses: true
189
196
  create-config-version:
190
197
  path: /v0/evi/configs/{id}
191
198
  method: POST
@@ -205,10 +212,25 @@ service:
205
212
  prompt: optional<root.PostedPromptSpec>
206
213
  voice: optional<root.PostedVoice>
207
214
  language_model: optional<root.PostedLanguageModel>
208
- tools: optional<root.PostedUserDefinedToolSpec>
209
- builtin_tools: optional<root.PostedBuiltinTool>
215
+ ellm_model: optional<root.PostedEllmModel>
216
+ tools:
217
+ type: optional<list<optional<root.PostedUserDefinedToolSpec>>>
218
+ docs: Tool specification for a Config.
219
+ builtin_tools:
220
+ type: optional<list<optional<root.PostedBuiltinTool>>>
221
+ docs: Built-in tool specification for a Config.
222
+ event_messages:
223
+ type: optional<map<string, optional<root.PostedEventMessageSpec>>>
224
+ docs: >-
225
+ Map with event_message types as keys and a nested dict of event
226
+ message parameters as values.
227
+ timeouts:
228
+ type: optional<map<string, optional<root.PostedTimeoutSpec>>>
229
+ docs: >-
230
+ Map with timeout types as keys and a nested dict of timeout
231
+ parameters as values.
210
232
  response:
211
- docs: Success
233
+ docs: Created
212
234
  type: root.ReturnConfig
213
235
  examples:
214
236
  - path-parameters:
@@ -238,22 +260,32 @@ service:
238
260
  model_provider: model_provider
239
261
  model_resource: model_resource
240
262
  temperature: 1.1
263
+ ellm_model:
264
+ allow_short_responses: true
241
265
  tools:
242
- tool_type: tool_type
243
- id: id
244
- version: 1
245
- version_type: version_type
246
- version_description: version_description
247
- name: name
248
- created_on: 1
249
- modified_on: 1
250
- fallback_content: fallback_content
251
- description: description
252
- parameters: parameters
266
+ - tool_type: tool_type
267
+ id: id
268
+ version: 1
269
+ version_type: version_type
270
+ version_description: version_description
271
+ name: name
272
+ created_on: 1
273
+ modified_on: 1
274
+ fallback_content: fallback_content
275
+ description: description
276
+ parameters: parameters
253
277
  builtin_tools:
254
- tool_type: tool_type
255
- name: name
256
- fallback_content: fallback_content
278
+ - tool_type: tool_type
279
+ name: name
280
+ fallback_content: fallback_content
281
+ event_messages:
282
+ event_messages:
283
+ enabled: true
284
+ text: text
285
+ timeouts:
286
+ timeouts:
287
+ enabled: true
288
+ duration_secs: 1
257
289
  delete-config:
258
290
  path: /v0/evi/configs/{id}
259
291
  method: DELETE
@@ -328,22 +360,32 @@ service:
328
360
  model_provider: model_provider
329
361
  model_resource: model_resource
330
362
  temperature: 1.1
363
+ ellm_model:
364
+ allow_short_responses: true
331
365
  tools:
332
- tool_type: tool_type
333
- id: id
334
- version: 1
335
- version_type: version_type
336
- version_description: version_description
337
- name: name
338
- created_on: 1
339
- modified_on: 1
340
- fallback_content: fallback_content
341
- description: description
342
- parameters: parameters
366
+ - tool_type: tool_type
367
+ id: id
368
+ version: 1
369
+ version_type: version_type
370
+ version_description: version_description
371
+ name: name
372
+ created_on: 1
373
+ modified_on: 1
374
+ fallback_content: fallback_content
375
+ description: description
376
+ parameters: parameters
343
377
  builtin_tools:
344
- tool_type: tool_type
345
- name: name
346
- fallback_content: fallback_content
378
+ - tool_type: tool_type
379
+ name: name
380
+ fallback_content: fallback_content
381
+ event_messages:
382
+ event_messages:
383
+ enabled: true
384
+ text: text
385
+ timeouts:
386
+ timeouts:
387
+ enabled: true
388
+ duration_secs: 1
347
389
  delete-config-version:
348
390
  path: /v0/evi/configs/{id}/version/{version}
349
391
  method: DELETE
@@ -411,19 +453,29 @@ service:
411
453
  model_provider: model_provider
412
454
  model_resource: model_resource
413
455
  temperature: 1.1
456
+ ellm_model:
457
+ allow_short_responses: true
414
458
  tools:
415
- tool_type: tool_type
416
- id: id
417
- version: 1
418
- version_type: version_type
419
- version_description: version_description
420
- name: name
421
- created_on: 1
422
- modified_on: 1
423
- fallback_content: fallback_content
424
- description: description
425
- parameters: parameters
459
+ - tool_type: tool_type
460
+ id: id
461
+ version: 1
462
+ version_type: version_type
463
+ version_description: version_description
464
+ name: name
465
+ created_on: 1
466
+ modified_on: 1
467
+ fallback_content: fallback_content
468
+ description: description
469
+ parameters: parameters
426
470
  builtin_tools:
427
- tool_type: tool_type
428
- name: name
429
- fallback_content: fallback_content
471
+ - tool_type: tool_type
472
+ name: name
473
+ fallback_content: fallback_content
474
+ event_messages:
475
+ event_messages:
476
+ enabled: true
477
+ text: text
478
+ timeouts:
479
+ timeouts:
480
+ enabled: true
481
+ duration_secs: 1
@@ -29,6 +29,7 @@ service:
29
29
  body:
30
30
  page_number: 1
31
31
  page_size: 1
32
+ total_pages: 1
32
33
  prompts_page:
33
34
  - id: id
34
35
  version: 1
@@ -57,7 +58,7 @@ service:
57
58
  type: string
58
59
  docs: Text used for this version of the Prompt.
59
60
  response:
60
- docs: Success
61
+ docs: Created
61
62
  type: optional<root.ReturnPrompt>
62
63
  examples:
63
64
  - request:
@@ -104,6 +105,7 @@ service:
104
105
  body:
105
106
  page_number: 1
106
107
  page_size: 1
108
+ total_pages: 1
107
109
  prompts_page:
108
110
  - id: id
109
111
  version: 1
@@ -133,7 +135,7 @@ service:
133
135
  type: string
134
136
  docs: Text used for this version of the Prompt.
135
137
  response:
136
- docs: Success
138
+ docs: Created
137
139
  type: optional<root.ReturnPrompt>
138
140
  examples:
139
141
  - path-parameters:
@@ -32,6 +32,7 @@ service:
32
32
  body:
33
33
  page_number: 0
34
34
  page_size: 2
35
+ total_pages: 1
35
36
  tools_page:
36
37
  - tool_type: FUNCTION
37
38
  id: d20827af-5d8d-4f66-b6b9-ce2e3e1ea2b2
@@ -95,7 +96,7 @@ service:
95
96
  type: optional<string>
96
97
  docs: Text to use if the tool fails to generate content.
97
98
  response:
98
- docs: Success
99
+ docs: Created
99
100
  type: optional<root.ReturnUserDefinedTool>
100
101
  examples:
101
102
  - request:
@@ -164,6 +165,7 @@ service:
164
165
  body:
165
166
  page_number: 0
166
167
  page_size: 10
168
+ total_pages: 1
167
169
  tools_page:
168
170
  - tool_type: FUNCTION
169
171
  id: 00183a3f-79ba-413d-9f3b-609864268bea
@@ -212,7 +214,7 @@ service:
212
214
  type: optional<string>
213
215
  docs: Text to use if the tool fails to generate content.
214
216
  response:
215
- docs: Success
217
+ docs: Created
216
218
  type: optional<root.ReturnUserDefinedTool>
217
219
  examples:
218
220
  - path-parameters:
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "organization" : "hume",
3
- "version" : "0.7.0"
3
+ "version" : "0.23.0"
4
4
  }
@@ -28,7 +28,7 @@ export declare class Datasets {
28
28
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
29
29
  *
30
30
  * @example
31
- * await hume.customModels.datasets.listDatasets()
31
+ * await client.customModels.datasets.listDatasets()
32
32
  */
33
33
  listDatasets(request?: Hume.customModels.DatasetsListDatasetsRequest, requestOptions?: Datasets.RequestOptions): Promise<Hume.customModels.DatasetPage>;
34
34
  /**
@@ -40,7 +40,7 @@ export declare class Datasets {
40
40
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
41
41
  *
42
42
  * @example
43
- * await hume.customModels.datasets.createDataset(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"), {
43
+ * await client.customModels.datasets.createDataset(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"), {
44
44
  * name: "name"
45
45
  * })
46
46
  */
@@ -52,7 +52,7 @@ export declare class Datasets {
52
52
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
53
53
  *
54
54
  * @example
55
- * await hume.customModels.datasets.getDataset("id")
55
+ * await client.customModels.datasets.getDataset("id")
56
56
  */
57
57
  getDataset(id: string, requestOptions?: Datasets.RequestOptions): Promise<Hume.customModels.ReturnDataset>;
58
58
  /**
@@ -64,7 +64,7 @@ export declare class Datasets {
64
64
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
65
65
  *
66
66
  * @example
67
- * await hume.customModels.datasets.createDatasetVersion(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"), "id")
67
+ * await client.customModels.datasets.createDatasetVersion(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"), "id")
68
68
  */
69
69
  createDatasetVersion(featureTypes: File | fs.ReadStream | undefined, labelsFile: File | fs.ReadStream, id: string, requestOptions?: Datasets.RequestOptions): Promise<Hume.customModels.ReturnDataset[]>;
70
70
  /**
@@ -74,7 +74,7 @@ export declare class Datasets {
74
74
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
75
75
  *
76
76
  * @example
77
- * await hume.customModels.datasets.deleteDataset("id")
77
+ * await client.customModels.datasets.deleteDataset("id")
78
78
  */
79
79
  deleteDataset(id: string, requestOptions?: Datasets.RequestOptions): Promise<void>;
80
80
  /**
@@ -85,7 +85,7 @@ export declare class Datasets {
85
85
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
86
86
  *
87
87
  * @example
88
- * await hume.customModels.datasets.listDatasetVersions("id")
88
+ * await client.customModels.datasets.listDatasetVersions("id")
89
89
  */
90
90
  listDatasetVersions(id: string, request?: Hume.customModels.DatasetsListDatasetVersionsRequest, requestOptions?: Datasets.RequestOptions): Promise<Hume.customModels.DatasetVersionPage>;
91
91
  /**
@@ -96,7 +96,7 @@ export declare class Datasets {
96
96
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
97
97
  *
98
98
  * @example
99
- * await hume.customModels.datasets.listDatasetFiles("id")
99
+ * await client.customModels.datasets.listDatasetFiles("id")
100
100
  */
101
101
  listDatasetFiles(id: string, request?: Hume.customModels.DatasetsListDatasetFilesRequest, requestOptions?: Datasets.RequestOptions): Promise<Hume.customModels.FilePage[]>;
102
102
  /**
@@ -106,7 +106,7 @@ export declare class Datasets {
106
106
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
107
107
  *
108
108
  * @example
109
- * await hume.customModels.datasets.getDatasetVersion("id")
109
+ * await client.customModels.datasets.getDatasetVersion("id")
110
110
  */
111
111
  getDatasetVersion(id: string, requestOptions?: Datasets.RequestOptions): Promise<Hume.customModels.DatasetLabels>;
112
112
  /**
@@ -117,7 +117,7 @@ export declare class Datasets {
117
117
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
118
118
  *
119
119
  * @example
120
- * await hume.customModels.datasets.listDatasetVersionFiles("id")
120
+ * await client.customModels.datasets.listDatasetVersionFiles("id")
121
121
  */
122
122
  listDatasetVersionFiles(id: string, request?: Hume.customModels.DatasetsListDatasetVersionFilesRequest, requestOptions?: Datasets.RequestOptions): Promise<Hume.customModels.FilePage[]>;
123
123
  protected _getCustomAuthorizationHeaders(): Promise<{
@@ -55,7 +55,7 @@ class Datasets {
55
55
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
56
56
  *
57
57
  * @example
58
- * await hume.customModels.datasets.listDatasets()
58
+ * await client.customModels.datasets.listDatasets()
59
59
  */
60
60
  listDatasets(request = {}, requestOptions) {
61
61
  var _a, _b;
@@ -77,7 +77,7 @@ class Datasets {
77
77
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
78
78
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/datasets"),
79
79
  method: "GET",
80
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
80
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
81
  contentType: "application/json",
82
82
  queryParameters: _queryParams,
83
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -123,7 +123,7 @@ class Datasets {
123
123
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
124
124
  *
125
125
  * @example
126
- * await hume.customModels.datasets.createDataset(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"), {
126
+ * await client.customModels.datasets.createDataset(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"), {
127
127
  * name: "name"
128
128
  * })
129
129
  */
@@ -140,7 +140,7 @@ class Datasets {
140
140
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
141
141
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/datasets"),
142
142
  method: "POST",
143
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), (yield _maybeEncodedRequest.getHeaders())),
143
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), (yield _maybeEncodedRequest.getHeaders())),
144
144
  body: yield _maybeEncodedRequest.getBody(),
145
145
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
146
146
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -183,7 +183,7 @@ class Datasets {
183
183
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
184
184
  *
185
185
  * @example
186
- * await hume.customModels.datasets.getDataset("id")
186
+ * await client.customModels.datasets.getDataset("id")
187
187
  */
188
188
  getDataset(id, requestOptions) {
189
189
  var _a, _b;
@@ -191,7 +191,7 @@ class Datasets {
191
191
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
192
192
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/datasets/${encodeURIComponent(id)}`),
193
193
  method: "GET",
194
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
194
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
195
195
  contentType: "application/json",
196
196
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
197
197
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -236,7 +236,7 @@ class Datasets {
236
236
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
237
237
  *
238
238
  * @example
239
- * await hume.customModels.datasets.createDatasetVersion(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"), "id")
239
+ * await client.customModels.datasets.createDatasetVersion(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"), "id")
240
240
  */
241
241
  createDatasetVersion(featureTypes, labelsFile, id, requestOptions) {
242
242
  var _a, _b;
@@ -250,7 +250,7 @@ class Datasets {
250
250
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
251
251
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/datasets/${encodeURIComponent(id)}`),
252
252
  method: "POST",
253
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), (yield _maybeEncodedRequest.getHeaders())),
253
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), (yield _maybeEncodedRequest.getHeaders())),
254
254
  body: yield _maybeEncodedRequest.getBody(),
255
255
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
256
256
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -293,7 +293,7 @@ class Datasets {
293
293
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
294
294
  *
295
295
  * @example
296
- * await hume.customModels.datasets.deleteDataset("id")
296
+ * await client.customModels.datasets.deleteDataset("id")
297
297
  */
298
298
  deleteDataset(id, requestOptions) {
299
299
  var _a, _b;
@@ -301,7 +301,7 @@ class Datasets {
301
301
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
302
302
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/datasets/${encodeURIComponent(id)}`),
303
303
  method: "DELETE",
304
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
304
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
305
305
  contentType: "application/json",
306
306
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
307
307
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -339,7 +339,7 @@ class Datasets {
339
339
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
340
340
  *
341
341
  * @example
342
- * await hume.customModels.datasets.listDatasetVersions("id")
342
+ * await client.customModels.datasets.listDatasetVersions("id")
343
343
  */
344
344
  listDatasetVersions(id, request = {}, requestOptions) {
345
345
  var _a, _b;
@@ -358,7 +358,7 @@ class Datasets {
358
358
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
359
359
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/datasets/${encodeURIComponent(id)}/versions`),
360
360
  method: "GET",
361
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
361
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
362
362
  contentType: "application/json",
363
363
  queryParameters: _queryParams,
364
364
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -403,7 +403,7 @@ class Datasets {
403
403
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
404
404
  *
405
405
  * @example
406
- * await hume.customModels.datasets.listDatasetFiles("id")
406
+ * await client.customModels.datasets.listDatasetFiles("id")
407
407
  */
408
408
  listDatasetFiles(id, request = {}, requestOptions) {
409
409
  var _a, _b;
@@ -422,7 +422,7 @@ class Datasets {
422
422
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
423
423
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/datasets/${encodeURIComponent(id)}/files`),
424
424
  method: "GET",
425
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
425
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
426
426
  contentType: "application/json",
427
427
  queryParameters: _queryParams,
428
428
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -466,7 +466,7 @@ class Datasets {
466
466
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
467
467
  *
468
468
  * @example
469
- * await hume.customModels.datasets.getDatasetVersion("id")
469
+ * await client.customModels.datasets.getDatasetVersion("id")
470
470
  */
471
471
  getDatasetVersion(id, requestOptions) {
472
472
  var _a, _b;
@@ -474,7 +474,7 @@ class Datasets {
474
474
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
475
475
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/datasets/version/${encodeURIComponent(id)}`),
476
476
  method: "GET",
477
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
477
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
478
478
  contentType: "application/json",
479
479
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
480
480
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -518,7 +518,7 @@ class Datasets {
518
518
  * @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
519
519
  *
520
520
  * @example
521
- * await hume.customModels.datasets.listDatasetVersionFiles("id")
521
+ * await client.customModels.datasets.listDatasetVersionFiles("id")
522
522
  */
523
523
  listDatasetVersionFiles(id, request = {}, requestOptions) {
524
524
  var _a, _b;
@@ -537,7 +537,7 @@ class Datasets {
537
537
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
538
538
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/datasets/version/${encodeURIComponent(id)}/files`),
539
539
  method: "GET",
540
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
540
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
541
541
  contentType: "application/json",
542
542
  queryParameters: _queryParams,
543
543
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,