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
@@ -24,7 +24,7 @@ export declare class Configs {
24
24
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @example
27
- * await hume.empathicVoice.configs.listConfigs()
27
+ * await client.empathicVoice.configs.listConfigs()
28
28
  */
29
29
  listConfigs(request?: Hume.empathicVoice.ConfigsListConfigsRequest, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedConfigs>;
30
30
  /**
@@ -32,7 +32,7 @@ export declare class Configs {
32
32
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
33
33
  *
34
34
  * @example
35
- * await hume.empathicVoice.configs.createConfig({
35
+ * await client.empathicVoice.configs.createConfig({
36
36
  * name: "name"
37
37
  * })
38
38
  */
@@ -43,7 +43,7 @@ export declare class Configs {
43
43
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
44
44
  *
45
45
  * @example
46
- * await hume.empathicVoice.configs.listConfigVersions("id")
46
+ * await client.empathicVoice.configs.listConfigVersions("id")
47
47
  */
48
48
  listConfigVersions(id: string, request?: Hume.empathicVoice.ConfigsListConfigVersionsRequest, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedConfigs>;
49
49
  /**
@@ -52,7 +52,7 @@ export declare class Configs {
52
52
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
53
53
  *
54
54
  * @example
55
- * await hume.empathicVoice.configs.createConfigVersion("id")
55
+ * await client.empathicVoice.configs.createConfigVersion("id")
56
56
  */
57
57
  createConfigVersion(id: string, request?: Hume.empathicVoice.PostedConfigVersion, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
58
58
  /**
@@ -60,7 +60,7 @@ export declare class Configs {
60
60
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
61
61
  *
62
62
  * @example
63
- * await hume.empathicVoice.configs.deleteConfig("id")
63
+ * await client.empathicVoice.configs.deleteConfig("id")
64
64
  */
65
65
  deleteConfig(id: string, requestOptions?: Configs.RequestOptions): Promise<void>;
66
66
  /**
@@ -69,7 +69,7 @@ export declare class Configs {
69
69
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
70
70
  *
71
71
  * @example
72
- * await hume.empathicVoice.configs.updateConfigName("string", {
72
+ * await client.empathicVoice.configs.updateConfigName("string", {
73
73
  * name: "string"
74
74
  * })
75
75
  */
@@ -80,7 +80,7 @@ export declare class Configs {
80
80
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
81
81
  *
82
82
  * @example
83
- * await hume.empathicVoice.configs.getConfigVersion("id", 1)
83
+ * await client.empathicVoice.configs.getConfigVersion("id", 1)
84
84
  */
85
85
  getConfigVersion(id: string, version: number, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
86
86
  /**
@@ -89,7 +89,7 @@ export declare class Configs {
89
89
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
90
90
  *
91
91
  * @example
92
- * await hume.empathicVoice.configs.deleteConfigVersion("id", 1)
92
+ * await client.empathicVoice.configs.deleteConfigVersion("id", 1)
93
93
  */
94
94
  deleteConfigVersion(id: string, version: number, requestOptions?: Configs.RequestOptions): Promise<void>;
95
95
  /**
@@ -99,7 +99,7 @@ export declare class Configs {
99
99
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
100
100
  *
101
101
  * @example
102
- * await hume.empathicVoice.configs.updateConfigDescription("id", 1)
102
+ * await client.empathicVoice.configs.updateConfigDescription("id", 1)
103
103
  */
104
104
  updateConfigDescription(id: string, version: number, request?: Hume.empathicVoice.PostedConfigVersionDescription, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
105
105
  protected _getCustomAuthorizationHeaders(): Promise<{
@@ -53,7 +53,7 @@ class Configs {
53
53
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @example
56
- * await hume.empathicVoice.configs.listConfigs()
56
+ * await client.empathicVoice.configs.listConfigs()
57
57
  */
58
58
  listConfigs(request = {}, requestOptions) {
59
59
  var _a, _b;
@@ -72,7 +72,7 @@ class Configs {
72
72
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
73
73
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/configs"),
74
74
  method: "GET",
75
- 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())),
75
+ 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())),
76
76
  contentType: "application/json",
77
77
  queryParameters: _queryParams,
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -114,7 +114,7 @@ class Configs {
114
114
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
115
115
  *
116
116
  * @example
117
- * await hume.empathicVoice.configs.createConfig({
117
+ * await client.empathicVoice.configs.createConfig({
118
118
  * name: "name"
119
119
  * })
120
120
  */
@@ -124,7 +124,7 @@ class Configs {
124
124
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
125
125
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/configs"),
126
126
  method: "POST",
127
- 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())),
127
+ 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())),
128
128
  contentType: "application/json",
129
129
  body: yield serializers.empathicVoice.PostedConfig.jsonOrThrow(request, {
130
130
  unrecognizedObjectKeys: "strip",
@@ -169,7 +169,7 @@ class Configs {
169
169
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
170
170
  *
171
171
  * @example
172
- * await hume.empathicVoice.configs.listConfigVersions("id")
172
+ * await client.empathicVoice.configs.listConfigVersions("id")
173
173
  */
174
174
  listConfigVersions(id, request = {}, requestOptions) {
175
175
  var _a, _b;
@@ -188,7 +188,7 @@ class Configs {
188
188
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
189
189
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
190
190
  method: "GET",
191
- 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())),
191
+ 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())),
192
192
  contentType: "application/json",
193
193
  queryParameters: _queryParams,
194
194
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -231,7 +231,7 @@ class Configs {
231
231
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
232
232
  *
233
233
  * @example
234
- * await hume.empathicVoice.configs.createConfigVersion("id")
234
+ * await client.empathicVoice.configs.createConfigVersion("id")
235
235
  */
236
236
  createConfigVersion(id, request = {}, requestOptions) {
237
237
  var _a, _b;
@@ -239,7 +239,7 @@ class Configs {
239
239
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
240
240
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
241
241
  method: "POST",
242
- 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())),
242
+ 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())),
243
243
  contentType: "application/json",
244
244
  body: yield serializers.empathicVoice.PostedConfigVersion.jsonOrThrow(request, {
245
245
  unrecognizedObjectKeys: "strip",
@@ -283,7 +283,7 @@ class Configs {
283
283
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
284
284
  *
285
285
  * @example
286
- * await hume.empathicVoice.configs.deleteConfig("id")
286
+ * await client.empathicVoice.configs.deleteConfig("id")
287
287
  */
288
288
  deleteConfig(id, requestOptions) {
289
289
  var _a, _b;
@@ -291,7 +291,7 @@ class Configs {
291
291
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
292
292
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
293
293
  method: "DELETE",
294
- 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())),
294
+ 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())),
295
295
  contentType: "application/json",
296
296
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
297
297
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -327,7 +327,7 @@ class Configs {
327
327
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
328
328
  *
329
329
  * @example
330
- * await hume.empathicVoice.configs.updateConfigName("string", {
330
+ * await client.empathicVoice.configs.updateConfigName("string", {
331
331
  * name: "string"
332
332
  * })
333
333
  */
@@ -337,7 +337,7 @@ class Configs {
337
337
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
338
338
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
339
339
  method: "PATCH",
340
- 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())),
340
+ 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())),
341
341
  contentType: "application/json",
342
342
  body: yield serializers.empathicVoice.PostedConfigName.jsonOrThrow(request, {
343
343
  unrecognizedObjectKeys: "strip",
@@ -377,7 +377,7 @@ class Configs {
377
377
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
378
378
  *
379
379
  * @example
380
- * await hume.empathicVoice.configs.getConfigVersion("id", 1)
380
+ * await client.empathicVoice.configs.getConfigVersion("id", 1)
381
381
  */
382
382
  getConfigVersion(id, version, requestOptions) {
383
383
  var _a, _b;
@@ -385,7 +385,7 @@ class Configs {
385
385
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
386
386
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
387
387
  method: "GET",
388
- 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())),
388
+ 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())),
389
389
  contentType: "application/json",
390
390
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
391
391
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -427,7 +427,7 @@ class Configs {
427
427
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
428
428
  *
429
429
  * @example
430
- * await hume.empathicVoice.configs.deleteConfigVersion("id", 1)
430
+ * await client.empathicVoice.configs.deleteConfigVersion("id", 1)
431
431
  */
432
432
  deleteConfigVersion(id, version, requestOptions) {
433
433
  var _a, _b;
@@ -435,7 +435,7 @@ class Configs {
435
435
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
436
436
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
437
437
  method: "DELETE",
438
- 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())),
438
+ 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())),
439
439
  contentType: "application/json",
440
440
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
441
441
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -472,7 +472,7 @@ class Configs {
472
472
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
473
473
  *
474
474
  * @example
475
- * await hume.empathicVoice.configs.updateConfigDescription("id", 1)
475
+ * await client.empathicVoice.configs.updateConfigDescription("id", 1)
476
476
  */
477
477
  updateConfigDescription(id, version, request = {}, requestOptions) {
478
478
  var _a, _b;
@@ -480,7 +480,7 @@ class Configs {
480
480
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
481
481
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
482
482
  method: "PATCH",
483
- 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())),
483
+ 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())),
484
484
  contentType: "application/json",
485
485
  body: yield serializers.empathicVoice.PostedConfigVersionDescription.jsonOrThrow(request, {
486
486
  unrecognizedObjectKeys: "strip",
@@ -16,6 +16,13 @@ export interface PostedConfig {
16
16
  prompt?: Hume.empathicVoice.PostedPromptSpec;
17
17
  voice?: Hume.empathicVoice.PostedVoice;
18
18
  languageModel?: Hume.empathicVoice.PostedLanguageModel;
19
- tools?: Hume.empathicVoice.PostedUserDefinedToolSpec;
20
- builtinTools?: Hume.empathicVoice.PostedBuiltinTool;
19
+ ellmModel?: Hume.empathicVoice.PostedEllmModel;
20
+ /** Tool specification for a Config. */
21
+ tools?: (Hume.empathicVoice.PostedUserDefinedToolSpec | undefined)[];
22
+ /** Built-in tool specification for a Config. */
23
+ builtinTools?: (Hume.empathicVoice.PostedBuiltinTool | undefined)[];
24
+ /** Map with event_message types as keys and a nested dict of event message parameters as values. */
25
+ eventMessages?: Record<string, Hume.empathicVoice.PostedEventMessageSpec | undefined>;
26
+ /** Map with timeout types as keys and a nested dict of timeout parameters as values. */
27
+ timeouts?: Record<string, Hume.empathicVoice.PostedTimeoutSpec | undefined>;
21
28
  }
@@ -12,6 +12,13 @@ export interface PostedConfigVersion {
12
12
  prompt?: Hume.empathicVoice.PostedPromptSpec;
13
13
  voice?: Hume.empathicVoice.PostedVoice;
14
14
  languageModel?: Hume.empathicVoice.PostedLanguageModel;
15
- tools?: Hume.empathicVoice.PostedUserDefinedToolSpec;
16
- builtinTools?: Hume.empathicVoice.PostedBuiltinTool;
15
+ ellmModel?: Hume.empathicVoice.PostedEllmModel;
16
+ /** Tool specification for a Config. */
17
+ tools?: (Hume.empathicVoice.PostedUserDefinedToolSpec | undefined)[];
18
+ /** Built-in tool specification for a Config. */
19
+ builtinTools?: (Hume.empathicVoice.PostedBuiltinTool | undefined)[];
20
+ /** Map with event_message types as keys and a nested dict of event message parameters as values. */
21
+ eventMessages?: Record<string, Hume.empathicVoice.PostedEventMessageSpec | undefined>;
22
+ /** Map with timeout types as keys and a nested dict of timeout parameters as values. */
23
+ timeouts?: Record<string, Hume.empathicVoice.PostedTimeoutSpec | undefined>;
17
24
  }
@@ -24,7 +24,7 @@ export declare class Prompts {
24
24
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @example
27
- * await hume.empathicVoice.prompts.listPrompts()
27
+ * await client.empathicVoice.prompts.listPrompts()
28
28
  */
29
29
  listPrompts(request?: Hume.empathicVoice.PromptsListPromptsRequest, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedPrompts>;
30
30
  /**
@@ -32,7 +32,7 @@ export declare class Prompts {
32
32
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
33
33
  *
34
34
  * @example
35
- * await hume.empathicVoice.prompts.createPrompt({
35
+ * await client.empathicVoice.prompts.createPrompt({
36
36
  * name: "name",
37
37
  * text: "text"
38
38
  * })
@@ -44,7 +44,7 @@ export declare class Prompts {
44
44
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
45
45
  *
46
46
  * @example
47
- * await hume.empathicVoice.prompts.listPromptVersions("id")
47
+ * await client.empathicVoice.prompts.listPromptVersions("id")
48
48
  */
49
49
  listPromptVersions(id: string, request?: Hume.empathicVoice.PromptsListPromptVersionsRequest, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedPrompts>;
50
50
  /**
@@ -53,7 +53,7 @@ export declare class Prompts {
53
53
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @example
56
- * await hume.empathicVoice.prompts.createPromptVerison("id", {
56
+ * await client.empathicVoice.prompts.createPromptVerison("id", {
57
57
  * text: "text"
58
58
  * })
59
59
  */
@@ -63,7 +63,7 @@ export declare class Prompts {
63
63
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @example
66
- * await hume.empathicVoice.prompts.deletePrompt("id")
66
+ * await client.empathicVoice.prompts.deletePrompt("id")
67
67
  */
68
68
  deletePrompt(id: string, requestOptions?: Prompts.RequestOptions): Promise<void>;
69
69
  /**
@@ -72,7 +72,7 @@ export declare class Prompts {
72
72
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
73
73
  *
74
74
  * @example
75
- * await hume.empathicVoice.prompts.updatePromptName("string", {
75
+ * await client.empathicVoice.prompts.updatePromptName("string", {
76
76
  * name: "string"
77
77
  * })
78
78
  */
@@ -83,7 +83,7 @@ export declare class Prompts {
83
83
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
84
84
  *
85
85
  * @example
86
- * await hume.empathicVoice.prompts.getPromptVersion("id", 1)
86
+ * await client.empathicVoice.prompts.getPromptVersion("id", 1)
87
87
  */
88
88
  getPromptVersion(id: string, version: number, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
89
89
  /**
@@ -92,7 +92,7 @@ export declare class Prompts {
92
92
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
93
93
  *
94
94
  * @example
95
- * await hume.empathicVoice.prompts.deletePromptVersion("id", 1)
95
+ * await client.empathicVoice.prompts.deletePromptVersion("id", 1)
96
96
  */
97
97
  deletePromptVersion(id: string, version: number, requestOptions?: Prompts.RequestOptions): Promise<void>;
98
98
  /**
@@ -102,7 +102,7 @@ export declare class Prompts {
102
102
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
103
103
  *
104
104
  * @example
105
- * await hume.empathicVoice.prompts.updatePromptDescription("id", 1)
105
+ * await client.empathicVoice.prompts.updatePromptDescription("id", 1)
106
106
  */
107
107
  updatePromptDescription(id: string, version: number, request?: Hume.empathicVoice.PostedPromptVersionDescription, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
108
108
  protected _getCustomAuthorizationHeaders(): Promise<{
@@ -53,7 +53,7 @@ class Prompts {
53
53
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @example
56
- * await hume.empathicVoice.prompts.listPrompts()
56
+ * await client.empathicVoice.prompts.listPrompts()
57
57
  */
58
58
  listPrompts(request = {}, requestOptions) {
59
59
  var _a, _b;
@@ -72,7 +72,7 @@ class Prompts {
72
72
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
73
73
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
74
74
  method: "GET",
75
- 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())),
75
+ 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())),
76
76
  contentType: "application/json",
77
77
  queryParameters: _queryParams,
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -114,7 +114,7 @@ class Prompts {
114
114
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
115
115
  *
116
116
  * @example
117
- * await hume.empathicVoice.prompts.createPrompt({
117
+ * await client.empathicVoice.prompts.createPrompt({
118
118
  * name: "name",
119
119
  * text: "text"
120
120
  * })
@@ -125,7 +125,7 @@ class Prompts {
125
125
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
126
126
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
127
127
  method: "POST",
128
- 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())),
128
+ 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())),
129
129
  contentType: "application/json",
130
130
  body: yield serializers.empathicVoice.PostedPrompt.jsonOrThrow(request, {
131
131
  unrecognizedObjectKeys: "strip",
@@ -170,7 +170,7 @@ class Prompts {
170
170
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
171
171
  *
172
172
  * @example
173
- * await hume.empathicVoice.prompts.listPromptVersions("id")
173
+ * await client.empathicVoice.prompts.listPromptVersions("id")
174
174
  */
175
175
  listPromptVersions(id, request = {}, requestOptions) {
176
176
  var _a, _b;
@@ -189,7 +189,7 @@ class Prompts {
189
189
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
190
190
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
191
191
  method: "GET",
192
- 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())),
192
+ 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())),
193
193
  contentType: "application/json",
194
194
  queryParameters: _queryParams,
195
195
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -232,7 +232,7 @@ class Prompts {
232
232
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
233
233
  *
234
234
  * @example
235
- * await hume.empathicVoice.prompts.createPromptVerison("id", {
235
+ * await client.empathicVoice.prompts.createPromptVerison("id", {
236
236
  * text: "text"
237
237
  * })
238
238
  */
@@ -242,7 +242,7 @@ class Prompts {
242
242
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
243
243
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
244
244
  method: "POST",
245
- 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())),
245
+ 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())),
246
246
  contentType: "application/json",
247
247
  body: yield serializers.empathicVoice.PostedPromptVersion.jsonOrThrow(request, {
248
248
  unrecognizedObjectKeys: "strip",
@@ -286,7 +286,7 @@ class Prompts {
286
286
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
287
287
  *
288
288
  * @example
289
- * await hume.empathicVoice.prompts.deletePrompt("id")
289
+ * await client.empathicVoice.prompts.deletePrompt("id")
290
290
  */
291
291
  deletePrompt(id, requestOptions) {
292
292
  var _a, _b;
@@ -294,7 +294,7 @@ class Prompts {
294
294
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
295
295
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
296
296
  method: "DELETE",
297
- 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())),
297
+ 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())),
298
298
  contentType: "application/json",
299
299
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
300
300
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -330,7 +330,7 @@ class Prompts {
330
330
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
331
331
  *
332
332
  * @example
333
- * await hume.empathicVoice.prompts.updatePromptName("string", {
333
+ * await client.empathicVoice.prompts.updatePromptName("string", {
334
334
  * name: "string"
335
335
  * })
336
336
  */
@@ -340,7 +340,7 @@ class Prompts {
340
340
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
341
341
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
342
342
  method: "PATCH",
343
- 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())),
343
+ 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())),
344
344
  contentType: "application/json",
345
345
  body: yield serializers.empathicVoice.PostedPromptName.jsonOrThrow(request, {
346
346
  unrecognizedObjectKeys: "strip",
@@ -380,7 +380,7 @@ class Prompts {
380
380
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
381
381
  *
382
382
  * @example
383
- * await hume.empathicVoice.prompts.getPromptVersion("id", 1)
383
+ * await client.empathicVoice.prompts.getPromptVersion("id", 1)
384
384
  */
385
385
  getPromptVersion(id, version, requestOptions) {
386
386
  var _a, _b;
@@ -388,7 +388,7 @@ class Prompts {
388
388
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
389
389
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
390
390
  method: "GET",
391
- 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())),
391
+ 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())),
392
392
  contentType: "application/json",
393
393
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
394
394
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -430,7 +430,7 @@ class Prompts {
430
430
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
431
431
  *
432
432
  * @example
433
- * await hume.empathicVoice.prompts.deletePromptVersion("id", 1)
433
+ * await client.empathicVoice.prompts.deletePromptVersion("id", 1)
434
434
  */
435
435
  deletePromptVersion(id, version, requestOptions) {
436
436
  var _a, _b;
@@ -438,7 +438,7 @@ class Prompts {
438
438
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
439
439
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
440
440
  method: "DELETE",
441
- 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())),
441
+ 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())),
442
442
  contentType: "application/json",
443
443
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
444
444
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -475,7 +475,7 @@ class Prompts {
475
475
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
476
476
  *
477
477
  * @example
478
- * await hume.empathicVoice.prompts.updatePromptDescription("id", 1)
478
+ * await client.empathicVoice.prompts.updatePromptDescription("id", 1)
479
479
  */
480
480
  updatePromptDescription(id, version, request = {}, requestOptions) {
481
481
  var _a, _b;
@@ -483,7 +483,7 @@ class Prompts {
483
483
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
484
484
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
485
485
  method: "PATCH",
486
- 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())),
486
+ 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())),
487
487
  contentType: "application/json",
488
488
  body: yield serializers.empathicVoice.PostedPromptVersionDescription.jsonOrThrow(request, {
489
489
  unrecognizedObjectKeys: "strip",
@@ -24,7 +24,7 @@ export declare class Tools {
24
24
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @example
27
- * await hume.empathicVoice.tools.listTools({
27
+ * await client.empathicVoice.tools.listTools({
28
28
  * pageNumber: 0,
29
29
  * pageSize: 2
30
30
  * })
@@ -35,7 +35,7 @@ export declare class Tools {
35
35
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
36
36
  *
37
37
  * @example
38
- * await hume.empathicVoice.tools.createTool({
38
+ * await client.empathicVoice.tools.createTool({
39
39
  * name: "get_current_weather",
40
40
  * parameters: "{ \"type\": \"object\", \"properties\": { \"location\": { \"type\": \"string\", \"description\": \"The city and state, e.g. San Francisco, CA\" }, \"format\": { \"type\": \"string\", \"enum\": [\"celsius\", \"fahrenheit\"], \"description\": \"The temperature unit to use. Infer this from the users location.\" } }, \"required\": [\"location\", \"format\"] }",
41
41
  * versionDescription: "Fetches current weather and uses celsius or fahrenheit based on location of user.",
@@ -50,7 +50,7 @@ export declare class Tools {
50
50
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
51
51
  *
52
52
  * @example
53
- * await hume.empathicVoice.tools.listToolVersions("00183a3f-79ba-413d-9f3b-609864268bea")
53
+ * await client.empathicVoice.tools.listToolVersions("00183a3f-79ba-413d-9f3b-609864268bea")
54
54
  */
55
55
  listToolVersions(id: string, request?: Hume.empathicVoice.ToolsListToolVersionsRequest, requestOptions?: Tools.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedUserDefinedTools>;
56
56
  /**
@@ -59,7 +59,7 @@ export declare class Tools {
59
59
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
60
60
  *
61
61
  * @example
62
- * await hume.empathicVoice.tools.createToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", {
62
+ * await client.empathicVoice.tools.createToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", {
63
63
  * parameters: "{ \"type\": \"object\", \"properties\": { \"location\": { \"type\": \"string\", \"description\": \"The city and state, e.g. San Francisco, CA\" }, \"format\": { \"type\": \"string\", \"enum\": [\"celsius\", \"fahrenheit\", \"kelvin\"], \"description\": \"The temperature unit to use. Infer this from the users location.\" } }, \"required\": [\"location\", \"format\"] }",
64
64
  * versionDescription: "Fetches current weather and uses celsius, fahrenheit, or kelvin based on location of user.",
65
65
  * fallbackContent: "Unable to fetch current weather.",
@@ -72,7 +72,7 @@ export declare class Tools {
72
72
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
73
73
  *
74
74
  * @example
75
- * await hume.empathicVoice.tools.deleteTool("00183a3f-79ba-413d-9f3b-609864268bea")
75
+ * await client.empathicVoice.tools.deleteTool("00183a3f-79ba-413d-9f3b-609864268bea")
76
76
  */
77
77
  deleteTool(id: string, requestOptions?: Tools.RequestOptions): Promise<void>;
78
78
  /**
@@ -81,7 +81,7 @@ export declare class Tools {
81
81
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
82
82
  *
83
83
  * @example
84
- * await hume.empathicVoice.tools.updateToolName("00183a3f-79ba-413d-9f3b-609864268bea", {
84
+ * await client.empathicVoice.tools.updateToolName("00183a3f-79ba-413d-9f3b-609864268bea", {
85
85
  * name: "get_current_temperature"
86
86
  * })
87
87
  */
@@ -92,7 +92,7 @@ export declare class Tools {
92
92
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
93
93
  *
94
94
  * @example
95
- * await hume.empathicVoice.tools.getToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", 1)
95
+ * await client.empathicVoice.tools.getToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", 1)
96
96
  */
97
97
  getToolVersion(id: string, version: number, requestOptions?: Tools.RequestOptions): Promise<Hume.empathicVoice.ReturnUserDefinedTool | undefined>;
98
98
  /**
@@ -101,7 +101,7 @@ export declare class Tools {
101
101
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
102
102
  *
103
103
  * @example
104
- * await hume.empathicVoice.tools.deleteToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", 1)
104
+ * await client.empathicVoice.tools.deleteToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", 1)
105
105
  */
106
106
  deleteToolVersion(id: string, version: number, requestOptions?: Tools.RequestOptions): Promise<void>;
107
107
  /**
@@ -111,7 +111,7 @@ export declare class Tools {
111
111
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
112
112
  *
113
113
  * @example
114
- * await hume.empathicVoice.tools.updateToolDescription("00183a3f-79ba-413d-9f3b-609864268bea", 1, {
114
+ * await client.empathicVoice.tools.updateToolDescription("00183a3f-79ba-413d-9f3b-609864268bea", 1, {
115
115
  * versionDescription: "Fetches current temperature, precipitation, wind speed, AQI, and other weather conditions. Uses Celsius, Fahrenheit, or kelvin depending on user's region."
116
116
  * })
117
117
  */