hume 0.7.1 → 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 (276) 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/resources/chat/types/SubscribeEvent.d.ts +1 -1
  18. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
  19. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
  20. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
  21. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
  22. package/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
  23. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
  24. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
  25. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
  26. package/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
  27. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
  28. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
  29. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
  30. package/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
  31. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  32. package/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  33. package/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
  34. package/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  35. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  36. package/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
  37. package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  38. package/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
  39. package/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
  40. package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
  41. package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
  42. package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
  43. package/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
  44. package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  45. package/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
  46. package/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
  47. package/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
  48. package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
  49. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
  50. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
  51. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
  52. package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
  53. package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
  54. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
  55. package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
  56. package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
  57. package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
  58. package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
  59. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  60. package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
  61. package/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
  62. package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
  63. package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
  64. package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
  65. package/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
  66. package/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
  67. package/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  68. package/api/resources/empathicVoice/types/index.d.ts +9 -6
  69. package/api/resources/empathicVoice/types/index.js +9 -6
  70. package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
  71. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
  72. package/core/runtime/runtime.d.ts +1 -1
  73. package/core/runtime/runtime.js +11 -1
  74. package/dist/api/resources/customModels/resources/datasets/client/Client.d.ts +9 -9
  75. package/dist/api/resources/customModels/resources/datasets/client/Client.js +18 -18
  76. package/dist/api/resources/customModels/resources/files/client/Client.d.ts +7 -7
  77. package/dist/api/resources/customModels/resources/files/client/Client.js +14 -14
  78. package/dist/api/resources/customModels/resources/jobs/client/Client.d.ts +2 -2
  79. package/dist/api/resources/customModels/resources/jobs/client/Client.js +4 -4
  80. package/dist/api/resources/customModels/resources/models/client/Client.d.ts +6 -6
  81. package/dist/api/resources/customModels/resources/models/client/Client.js +12 -12
  82. package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  83. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
  84. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
  85. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
  86. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
  87. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
  88. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
  89. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
  90. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
  91. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
  92. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
  93. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
  94. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
  95. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
  96. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  97. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  98. package/dist/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
  99. package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  100. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  101. package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
  102. package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  103. package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
  104. package/dist/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
  105. package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
  106. package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
  107. package/dist/api/resources/empathicVoice/types/PostedEllmModel.js +5 -0
  108. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
  109. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.js +5 -0
  110. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
  111. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.js +5 -0
  112. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  113. package/dist/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
  114. package/dist/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
  115. package/dist/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
  116. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
  117. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
  118. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
  119. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
  120. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
  121. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.js +5 -0
  122. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
  123. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.js +5 -0
  124. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
  125. package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
  126. package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
  127. package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
  128. package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
  129. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  130. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
  131. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.js +5 -0
  132. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
  133. package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
  134. package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
  135. package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
  136. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
  137. package/dist/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
  138. package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  139. package/dist/api/resources/empathicVoice/types/index.d.ts +9 -6
  140. package/dist/api/resources/empathicVoice/types/index.js +9 -6
  141. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
  142. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
  143. package/dist/core/runtime/runtime.d.ts +1 -1
  144. package/dist/core/runtime/runtime.js +11 -1
  145. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
  146. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
  147. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
  148. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
  149. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
  150. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
  151. package/{serialization/resources/empathicVoice/types/WebSocketError.d.ts → dist/serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
  152. package/{serialization/resources/empathicVoice/types/WebSocketError.js → dist/serialization/resources/empathicVoice/types/Error_.js} +2 -2
  153. package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  154. package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
  155. package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
  156. package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
  157. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
  158. package/dist/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → PostedEventMessageSpec.js} +4 -3
  159. package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
  160. package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
  161. package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
  162. package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
  163. package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
  164. package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
  165. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
  166. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
  167. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
  168. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
  169. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  170. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
  171. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
  172. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
  173. package/dist/serialization/resources/empathicVoice/types/{TtsInput.d.ts → ReturnEllmModel.d.ts} +3 -3
  174. package/dist/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
  175. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
  176. package/dist/serialization/resources/empathicVoice/types/{TextInput.js → ReturnEventMessageSpec.js} +4 -3
  177. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
  178. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
  179. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
  180. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
  181. package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
  182. package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
  183. package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
  184. package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
  185. package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
  186. package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
  187. package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
  188. package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
  189. package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
  190. package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
  191. package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
  192. package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
  193. package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
  194. package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
  195. package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
  196. package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
  197. package/dist/serialization/resources/empathicVoice/types/index.d.ts +9 -6
  198. package/dist/serialization/resources/empathicVoice/types/index.js +9 -6
  199. package/dist/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
  200. package/package.json +6 -1
  201. package/reference.md +208 -122
  202. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
  203. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
  204. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
  205. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
  206. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
  207. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
  208. package/{dist/serialization/resources/empathicVoice/types/WebSocketError.d.ts → serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
  209. package/{dist/serialization/resources/empathicVoice/types/WebSocketError.js → serialization/resources/empathicVoice/types/Error_.js} +2 -2
  210. package/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  211. package/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
  212. package/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
  213. package/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
  214. package/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
  215. package/{dist/serialization/resources/empathicVoice/types/TtsInput.js → serialization/resources/empathicVoice/types/PostedEventMessageSpec.js} +4 -3
  216. package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
  217. package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
  218. package/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
  219. package/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
  220. package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
  221. package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
  222. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
  223. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
  224. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
  225. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
  226. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  227. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
  228. package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
  229. package/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
  230. package/serialization/resources/empathicVoice/types/{TextInput.d.ts → ReturnEllmModel.d.ts} +3 -3
  231. package/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
  232. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
  233. package/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → ReturnEventMessageSpec.js} +4 -3
  234. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
  235. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
  236. package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
  237. package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
  238. package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
  239. package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
  240. package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
  241. package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
  242. package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
  243. package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
  244. package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
  245. package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
  246. package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
  247. package/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
  248. package/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
  249. package/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
  250. package/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
  251. package/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
  252. package/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
  253. package/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
  254. package/serialization/resources/empathicVoice/types/index.d.ts +9 -6
  255. package/serialization/resources/empathicVoice/types/index.js +9 -6
  256. package/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
  257. package/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
  258. package/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
  259. package/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
  260. package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
  261. package/dist/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
  262. package/dist/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
  263. package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
  264. package/dist/serialization/resources/empathicVoice/types/TextInput.d.ts +0 -12
  265. package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
  266. package/serialization/resources/empathicVoice/types/TextInput.js +0 -33
  267. package/serialization/resources/empathicVoice/types/TtsInput.d.ts +0 -12
  268. package/serialization/resources/empathicVoice/types/TtsInput.js +0 -33
  269. /package/api/resources/empathicVoice/types/{FunctionCallResponseInput.js → Error_.js} +0 -0
  270. /package/api/resources/empathicVoice/types/{TextInput.js → PostedEllmModel.js} +0 -0
  271. /package/api/resources/empathicVoice/types/{TtsInput.js → PostedEventMessageSpec.js} +0 -0
  272. /package/api/resources/empathicVoice/types/{WebSocketError.js → PostedTimeoutSpec.js} +0 -0
  273. /package/{dist/api/resources/empathicVoice/types/FunctionCallResponseInput.js → api/resources/empathicVoice/types/ReturnEllmModel.js} +0 -0
  274. /package/{dist/api/resources/empathicVoice/types/TextInput.js → api/resources/empathicVoice/types/ReturnEventMessageSpec.js} +0 -0
  275. /package/{dist/api/resources/empathicVoice/types/TtsInput.js → api/resources/empathicVoice/types/ReturnTimeoutSpec.js} +0 -0
  276. /package/dist/api/resources/empathicVoice/types/{WebSocketError.js → Error_.js} +0 -0
@@ -55,7 +55,7 @@ class Files {
55
55
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
56
56
  *
57
57
  * @example
58
- * await hume.customModels.files.listFiles()
58
+ * await client.customModels.files.listFiles()
59
59
  */
60
60
  listFiles(request = {}, requestOptions) {
61
61
  var _a, _b;
@@ -74,7 +74,7 @@ class Files {
74
74
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
75
75
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/files"),
76
76
  method: "GET",
77
- 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())),
77
+ 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())),
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
80
80
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -118,7 +118,7 @@ class Files {
118
118
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
119
119
  *
120
120
  * @example
121
- * await hume.customModels.files.createFiles([{
121
+ * await client.customModels.files.createFiles([{
122
122
  * file: {
123
123
  * name: "name",
124
124
  * humeStorage: true,
@@ -132,7 +132,7 @@ class Files {
132
132
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
133
133
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/files"),
134
134
  method: "POST",
135
- 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())),
135
+ 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())),
136
136
  contentType: "application/json",
137
137
  body: yield serializers.customModels.files.createFiles.Request.jsonOrThrow(request, {
138
138
  unrecognizedObjectKeys: "strip",
@@ -179,7 +179,7 @@ class Files {
179
179
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
180
180
  *
181
181
  * @example
182
- * await hume.customModels.files.uploadFile(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"))
182
+ * await client.customModels.files.uploadFile(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"))
183
183
  */
184
184
  uploadFile(file, attributes, requestOptions) {
185
185
  var _a, _b;
@@ -193,7 +193,7 @@ class Files {
193
193
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
194
194
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/files/upload"),
195
195
  method: "POST",
196
- 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())),
196
+ 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())),
197
197
  body: yield _maybeEncodedRequest.getBody(),
198
198
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
199
199
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -236,7 +236,7 @@ class Files {
236
236
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
237
237
  *
238
238
  * @example
239
- * await hume.customModels.files.getFile("id")
239
+ * await client.customModels.files.getFile("id")
240
240
  */
241
241
  getFile(id, requestOptions) {
242
242
  var _a, _b;
@@ -244,7 +244,7 @@ class Files {
244
244
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
245
245
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/files/${encodeURIComponent(id)}`),
246
246
  method: "GET",
247
- 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())),
247
+ 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())),
248
248
  contentType: "application/json",
249
249
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
250
250
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -287,7 +287,7 @@ class Files {
287
287
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
288
288
  *
289
289
  * @example
290
- * await hume.customModels.files.deleteFile("id")
290
+ * await client.customModels.files.deleteFile("id")
291
291
  */
292
292
  deleteFile(id, requestOptions) {
293
293
  var _a, _b;
@@ -295,7 +295,7 @@ class Files {
295
295
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
296
296
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/files/${encodeURIComponent(id)}`),
297
297
  method: "DELETE",
298
- 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())),
298
+ 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())),
299
299
  contentType: "application/json",
300
300
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
301
301
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -333,7 +333,7 @@ class Files {
333
333
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
334
334
  *
335
335
  * @example
336
- * await hume.customModels.files.updateFileName("id", {
336
+ * await client.customModels.files.updateFileName("id", {
337
337
  * name: "name"
338
338
  * })
339
339
  */
@@ -346,7 +346,7 @@ class Files {
346
346
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
347
347
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/files/${encodeURIComponent(id)}`),
348
348
  method: "PATCH",
349
- 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())),
349
+ 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())),
350
350
  contentType: "application/json",
351
351
  queryParameters: _queryParams,
352
352
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -390,7 +390,7 @@ class Files {
390
390
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
391
391
  *
392
392
  * @example
393
- * await hume.customModels.files.getFilePredictions("id")
393
+ * await client.customModels.files.getFilePredictions("id")
394
394
  */
395
395
  getFilePredictions(id, requestOptions) {
396
396
  var _a, _b;
@@ -398,7 +398,7 @@ class Files {
398
398
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
399
399
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/files/${encodeURIComponent(id)}/predictions`),
400
400
  method: "GET",
401
- 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())),
401
+ 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())),
402
402
  contentType: "application/json",
403
403
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
404
404
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -26,7 +26,7 @@ export declare class Jobs {
26
26
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
27
27
  *
28
28
  * @example
29
- * await hume.customModels.jobs.startTrainingJob({
29
+ * await client.customModels.jobs.startTrainingJob({
30
30
  * customModel: {
31
31
  * name: "name"
32
32
  * },
@@ -43,7 +43,7 @@ export declare class Jobs {
43
43
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
44
44
  *
45
45
  * @example
46
- * await hume.customModels.jobs.startCustomModelsInferenceJob({
46
+ * await client.customModels.jobs.startCustomModelsInferenceJob({
47
47
  * customModel: {
48
48
  * id: "id"
49
49
  * }
@@ -55,7 +55,7 @@ class Jobs {
55
55
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
56
56
  *
57
57
  * @example
58
- * await hume.customModels.jobs.startTrainingJob({
58
+ * await client.customModels.jobs.startTrainingJob({
59
59
  * customModel: {
60
60
  * name: "name"
61
61
  * },
@@ -70,7 +70,7 @@ class Jobs {
70
70
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
71
71
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/v0/batch/jobs/tl/train"),
72
72
  method: "POST",
73
- 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())),
73
+ 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())),
74
74
  contentType: "application/json",
75
75
  body: yield serializers.customModels.TrainingBaseRequest.jsonOrThrow(request, {
76
76
  unrecognizedObjectKeys: "strip",
@@ -116,7 +116,7 @@ class Jobs {
116
116
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
117
117
  *
118
118
  * @example
119
- * await hume.customModels.jobs.startCustomModelsInferenceJob({
119
+ * await client.customModels.jobs.startCustomModelsInferenceJob({
120
120
  * customModel: {
121
121
  * id: "id"
122
122
  * }
@@ -128,7 +128,7 @@ class Jobs {
128
128
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
129
129
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/v0/batch/jobs/tl/inference"),
130
130
  method: "POST",
131
- 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())),
131
+ 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())),
132
132
  contentType: "application/json",
133
133
  body: yield serializers.customModels.TlInferenceBaseRequest.jsonOrThrow(request, {
134
134
  unrecognizedObjectKeys: "strip",
@@ -26,7 +26,7 @@ export declare class Models {
26
26
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
27
27
  *
28
28
  * @example
29
- * await hume.customModels.models.listModels()
29
+ * await client.customModels.models.listModels()
30
30
  */
31
31
  listModels(request?: Hume.customModels.ModelsListModelsRequest, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ModelPage>;
32
32
  /**
@@ -36,7 +36,7 @@ export declare class Models {
36
36
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
38
  * @example
39
- * await hume.customModels.models.getModelDetails("id")
39
+ * await client.customModels.models.getModelDetails("id")
40
40
  */
41
41
  getModelDetails(id: string, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ExternalModel>;
42
42
  /**
@@ -47,7 +47,7 @@ export declare class Models {
47
47
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
48
48
  *
49
49
  * @example
50
- * await hume.customModels.models.updateModelName("id", {
50
+ * await client.customModels.models.updateModelName("id", {
51
51
  * name: "name"
52
52
  * })
53
53
  */
@@ -59,7 +59,7 @@ export declare class Models {
59
59
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
60
60
  *
61
61
  * @example
62
- * await hume.customModels.models.listModelVersions()
62
+ * await client.customModels.models.listModelVersions()
63
63
  */
64
64
  listModelVersions(request?: Hume.customModels.ModelsListModelVersionsRequest, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ExternalModelVersion[]>;
65
65
  /**
@@ -70,7 +70,7 @@ export declare class Models {
70
70
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
71
71
  *
72
72
  * @example
73
- * await hume.customModels.models.getModelVersion("id")
73
+ * await client.customModels.models.getModelVersion("id")
74
74
  */
75
75
  getModelVersion(id: string, request?: Hume.customModels.ModelsGetModelVersionRequest, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ExternalModelVersion>;
76
76
  /**
@@ -81,7 +81,7 @@ export declare class Models {
81
81
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
82
82
  *
83
83
  * @example
84
- * await hume.customModels.models.updateModelDescription("id", "string")
84
+ * await client.customModels.models.updateModelDescription("id", "string")
85
85
  */
86
86
  updateModelDescription(id: string, request: string, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ExternalModelVersion>;
87
87
  protected _getCustomAuthorizationHeaders(): Promise<{
@@ -55,7 +55,7 @@ class Models {
55
55
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
56
56
  *
57
57
  * @example
58
- * await hume.customModels.models.listModels()
58
+ * await client.customModels.models.listModels()
59
59
  */
60
60
  listModels(request = {}, requestOptions) {
61
61
  var _a, _b;
@@ -77,7 +77,7 @@ class Models {
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/models"),
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,
@@ -121,7 +121,7 @@ class Models {
121
121
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
122
122
  *
123
123
  * @example
124
- * await hume.customModels.models.getModelDetails("id")
124
+ * await client.customModels.models.getModelDetails("id")
125
125
  */
126
126
  getModelDetails(id, requestOptions) {
127
127
  var _a, _b;
@@ -129,7 +129,7 @@ class Models {
129
129
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
130
130
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/models/${encodeURIComponent(id)}`),
131
131
  method: "GET",
132
- 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())),
132
+ 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())),
133
133
  contentType: "application/json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
135
135
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -173,7 +173,7 @@ class Models {
173
173
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
174
174
  *
175
175
  * @example
176
- * await hume.customModels.models.updateModelName("id", {
176
+ * await client.customModels.models.updateModelName("id", {
177
177
  * name: "name"
178
178
  * })
179
179
  */
@@ -186,7 +186,7 @@ class Models {
186
186
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
187
187
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/models/${encodeURIComponent(id)}`),
188
188
  method: "PATCH",
189
- 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())),
189
+ 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())),
190
190
  contentType: "application/json",
191
191
  queryParameters: _queryParams,
192
192
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -230,7 +230,7 @@ class Models {
230
230
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
231
231
  *
232
232
  * @example
233
- * await hume.customModels.models.listModelVersions()
233
+ * await client.customModels.models.listModelVersions()
234
234
  */
235
235
  listModelVersions(request = {}, requestOptions) {
236
236
  var _a, _b;
@@ -257,7 +257,7 @@ class Models {
257
257
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
258
258
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/models/version"),
259
259
  method: "GET",
260
- 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())),
260
+ 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())),
261
261
  contentType: "application/json",
262
262
  queryParameters: _queryParams,
263
263
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -302,7 +302,7 @@ class Models {
302
302
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
303
303
  *
304
304
  * @example
305
- * await hume.customModels.models.getModelVersion("id")
305
+ * await client.customModels.models.getModelVersion("id")
306
306
  */
307
307
  getModelVersion(id, request = {}, requestOptions) {
308
308
  var _a, _b;
@@ -315,7 +315,7 @@ class Models {
315
315
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
316
316
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/models/version/${encodeURIComponent(id)}`),
317
317
  method: "GET",
318
- 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())),
318
+ 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())),
319
319
  contentType: "application/json",
320
320
  queryParameters: _queryParams,
321
321
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -360,7 +360,7 @@ class Models {
360
360
  * @param {Models.RequestOptions} requestOptions - Request-specific configuration.
361
361
  *
362
362
  * @example
363
- * await hume.customModels.models.updateModelDescription("id", "string")
363
+ * await client.customModels.models.updateModelDescription("id", "string")
364
364
  */
365
365
  updateModelDescription(id, request, requestOptions) {
366
366
  var _a, _b;
@@ -368,7 +368,7 @@ class Models {
368
368
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
369
369
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/models/version/${encodeURIComponent(id)}`),
370
370
  method: "PATCH",
371
- 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())),
371
+ 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())),
372
372
  contentType: "application/json",
373
373
  body: yield serializers.customModels.models.updateModelDescription.Request.jsonOrThrow(request, {
374
374
  unrecognizedObjectKeys: "strip",
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Hume from "../../../../../index";
5
- export declare type SubscribeEvent = Hume.empathicVoice.AssistantEnd | Hume.empathicVoice.AssistantMessage | Hume.empathicVoice.AudioOutput | Hume.empathicVoice.ChatMetadata | Hume.empathicVoice.WebSocketError | Hume.empathicVoice.UserInterruption | Hume.empathicVoice.UserMessage | Hume.empathicVoice.ToolCallMessage | Hume.empathicVoice.ToolResponseMessage | Hume.empathicVoice.ToolErrorMessage;
5
+ export declare type SubscribeEvent = Hume.empathicVoice.AssistantEnd | Hume.empathicVoice.AssistantMessage | Hume.empathicVoice.AudioOutput | Hume.empathicVoice.ChatMetadata | Hume.empathicVoice.Error_ | Hume.empathicVoice.UserInterruption | Hume.empathicVoice.UserMessage | Hume.empathicVoice.ToolCallMessage | Hume.empathicVoice.ToolResponseMessage | Hume.empathicVoice.ToolErrorMessage;
@@ -24,7 +24,7 @@ export declare class ChatGroups {
24
24
  * @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @example
27
- * await hume.empathicVoice.chatGroups.listChatGroups()
27
+ * await client.empathicVoice.chatGroups.listChatGroups()
28
28
  */
29
29
  listChatGroups(request?: Hume.empathicVoice.ChatGroupsListChatGroupsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedChatGroups>;
30
30
  /**
@@ -33,7 +33,7 @@ export declare class ChatGroups {
33
33
  * @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
34
34
  *
35
35
  * @example
36
- * await hume.empathicVoice.chatGroups.listChatGroupEvents("id")
36
+ * await client.empathicVoice.chatGroups.listChatGroupEvents("id")
37
37
  */
38
38
  listChatGroupEvents(id: string, request?: Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnChatGroupPagedEvents>;
39
39
  protected _getCustomAuthorizationHeaders(): Promise<{
@@ -53,12 +53,12 @@ class ChatGroups {
53
53
  * @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @example
56
- * await hume.empathicVoice.chatGroups.listChatGroups()
56
+ * await client.empathicVoice.chatGroups.listChatGroups()
57
57
  */
58
58
  listChatGroups(request = {}, requestOptions) {
59
59
  var _a, _b;
60
60
  return __awaiter(this, void 0, void 0, function* () {
61
- const { pageNumber, pageSize } = request;
61
+ const { pageNumber, pageSize, ascendingOrder } = request;
62
62
  const _queryParams = {};
63
63
  if (pageNumber != null) {
64
64
  _queryParams["page_number"] = pageNumber.toString();
@@ -66,10 +66,13 @@ class ChatGroups {
66
66
  if (pageSize != null) {
67
67
  _queryParams["page_size"] = pageSize.toString();
68
68
  }
69
+ if (ascendingOrder != null) {
70
+ _queryParams["ascending_order"] = ascendingOrder.toString();
71
+ }
69
72
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
70
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/chat_groups"),
71
74
  method: "GET",
72
- 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())),
73
76
  contentType: "application/json",
74
77
  queryParameters: _queryParams,
75
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -112,7 +115,7 @@ class ChatGroups {
112
115
  * @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
113
116
  *
114
117
  * @example
115
- * await hume.empathicVoice.chatGroups.listChatGroupEvents("id")
118
+ * await client.empathicVoice.chatGroups.listChatGroupEvents("id")
116
119
  */
117
120
  listChatGroupEvents(id, request = {}, requestOptions) {
118
121
  var _a, _b;
@@ -131,7 +134,7 @@ class ChatGroups {
131
134
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
132
135
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}/events`),
133
136
  method: "GET",
134
- 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())),
137
+ 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())),
135
138
  contentType: "application/json",
136
139
  queryParameters: _queryParams,
137
140
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -14,4 +14,8 @@ export interface ChatGroupsListChatGroupsRequest {
14
14
  * The maximum number of results to include per page.
15
15
  */
16
16
  pageSize?: number;
17
+ /**
18
+ * Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true.
19
+ */
20
+ ascendingOrder?: boolean;
17
21
  }
@@ -24,7 +24,7 @@ export declare class Chats {
24
24
  * @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @example
27
- * await hume.empathicVoice.chats.listChats()
27
+ * await client.empathicVoice.chats.listChats()
28
28
  */
29
29
  listChats(request?: Hume.empathicVoice.ChatsListChatsRequest, requestOptions?: Chats.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedChats>;
30
30
  /**
@@ -33,7 +33,7 @@ export declare class Chats {
33
33
  * @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
34
34
  *
35
35
  * @example
36
- * await hume.empathicVoice.chats.listChatEvents("id")
36
+ * await client.empathicVoice.chats.listChatEvents("id")
37
37
  */
38
38
  listChatEvents(id: string, request?: Hume.empathicVoice.ChatsListChatEventsRequest, requestOptions?: Chats.RequestOptions): Promise<Hume.empathicVoice.ReturnChatPagedEvents>;
39
39
  protected _getCustomAuthorizationHeaders(): Promise<{
@@ -53,7 +53,7 @@ class Chats {
53
53
  * @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @example
56
- * await hume.empathicVoice.chats.listChats()
56
+ * await client.empathicVoice.chats.listChats()
57
57
  */
58
58
  listChats(request = {}, requestOptions) {
59
59
  var _a, _b;
@@ -72,7 +72,7 @@ class Chats {
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/chats"),
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,
@@ -115,12 +115,12 @@ class Chats {
115
115
  * @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
116
116
  *
117
117
  * @example
118
- * await hume.empathicVoice.chats.listChatEvents("id")
118
+ * await client.empathicVoice.chats.listChatEvents("id")
119
119
  */
120
120
  listChatEvents(id, request = {}, requestOptions) {
121
121
  var _a, _b;
122
122
  return __awaiter(this, void 0, void 0, function* () {
123
- const { pageSize, pageNumber } = request;
123
+ const { pageSize, pageNumber, ascendingOrder } = request;
124
124
  const _queryParams = {};
125
125
  if (pageSize != null) {
126
126
  _queryParams["page_size"] = pageSize.toString();
@@ -128,10 +128,13 @@ class Chats {
128
128
  if (pageNumber != null) {
129
129
  _queryParams["page_number"] = pageNumber.toString();
130
130
  }
131
+ if (ascendingOrder != null) {
132
+ _queryParams["ascending_order"] = ascendingOrder.toString();
133
+ }
131
134
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
132
135
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chats/${encodeURIComponent(id)}`),
133
136
  method: "GET",
134
- 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())),
137
+ 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())),
135
138
  contentType: "application/json",
136
139
  queryParameters: _queryParams,
137
140
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -14,4 +14,8 @@ export interface ChatsListChatEventsRequest {
14
14
  * The page number of the results to return.
15
15
  */
16
16
  pageNumber?: number;
17
+ /**
18
+ * Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true.
19
+ */
20
+ ascendingOrder?: boolean;
17
21
  }
@@ -15,7 +15,7 @@ export interface ChatsListChatsRequest {
15
15
  */
16
16
  pageSize?: number;
17
17
  /**
18
- * List chats in ascending order.
18
+ * Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true.
19
19
  */
20
20
  ascendingOrder?: boolean;
21
21
  }
@@ -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<{