hume 0.8.4 → 0.8.5

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 (316) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +820 -182
  2. package/.mock/definition/empathic-voice/chatGroups.yml +54 -17
  3. package/.mock/definition/empathic-voice/chats.yml +51 -19
  4. package/.mock/definition/empathic-voice/configs.yml +198 -61
  5. package/.mock/definition/empathic-voice/prompts.yml +126 -27
  6. package/.mock/definition/empathic-voice/tools.yml +116 -23
  7. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
  8. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
  9. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +7 -3
  10. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +10 -4
  11. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
  12. package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  13. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +7 -3
  14. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +7 -3
  15. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +22 -10
  16. package/api/resources/empathicVoice/resources/configs/client/Client.js +31 -19
  17. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
  18. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +7 -3
  19. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +14 -3
  20. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +14 -3
  21. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
  22. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +22 -10
  23. package/api/resources/empathicVoice/resources/prompts/client/Client.js +31 -19
  24. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +8 -2
  25. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +8 -2
  26. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
  27. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
  28. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +7 -3
  29. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -10
  30. package/api/resources/empathicVoice/resources/tools/client/Client.js +31 -19
  31. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
  32. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
  33. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
  34. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
  35. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
  36. package/api/resources/empathicVoice/types/Inference.d.ts +1 -1
  37. package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  38. package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
  39. package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
  40. package/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
  41. package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
  42. package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
  43. package/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
  44. package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
  45. package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  46. package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  47. package/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
  48. package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  49. package/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
  50. package/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
  51. package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
  52. package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
  53. package/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
  54. package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
  55. package/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
  56. package/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
  57. package/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
  58. package/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
  59. package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
  60. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
  61. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
  62. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
  63. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
  64. package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
  65. package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
  66. package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
  67. package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
  68. package/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
  69. package/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
  70. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
  71. package/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
  72. package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
  73. package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
  74. package/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
  75. package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
  76. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
  77. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
  78. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
  79. package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
  80. package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
  81. package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
  82. package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
  83. package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
  84. package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
  85. package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
  86. package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
  87. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
  88. package/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
  89. package/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
  90. package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
  91. package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
  92. package/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
  93. package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
  94. package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
  95. package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
  96. package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
  97. package/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
  98. package/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
  99. package/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
  100. package/api/resources/empathicVoice/types/index.d.ts +14 -0
  101. package/api/resources/empathicVoice/types/index.js +14 -0
  102. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  103. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
  104. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
  105. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +7 -3
  106. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +10 -4
  107. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
  108. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  109. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +7 -3
  110. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +7 -3
  111. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +22 -10
  112. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +31 -19
  113. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
  114. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +7 -3
  115. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +14 -3
  116. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +14 -3
  117. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
  118. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +22 -10
  119. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +31 -19
  120. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +8 -2
  121. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +8 -2
  122. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
  123. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
  124. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +7 -3
  125. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -10
  126. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +31 -19
  127. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
  128. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
  129. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
  130. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
  131. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
  132. package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -1
  133. package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  134. package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
  135. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
  136. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
  137. package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
  138. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
  139. package/dist/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
  140. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
  141. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  142. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  143. package/dist/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
  144. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  145. package/dist/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
  146. package/dist/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
  147. package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
  148. package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
  149. package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
  150. package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
  151. package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
  152. package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
  153. package/dist/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
  154. package/dist/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
  155. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
  156. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
  157. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
  158. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
  159. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
  160. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
  161. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
  162. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
  163. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
  164. package/dist/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
  165. package/dist/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
  166. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
  167. package/dist/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
  168. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
  169. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
  170. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
  171. package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
  172. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
  173. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
  174. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
  175. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
  176. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
  177. package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
  178. package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
  179. package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
  180. package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
  181. package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
  182. package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
  183. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
  184. package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
  185. package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
  186. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
  187. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
  188. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
  189. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
  190. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
  191. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
  192. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
  193. package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
  194. package/dist/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
  195. package/dist/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
  196. package/dist/api/resources/empathicVoice/types/index.d.ts +14 -0
  197. package/dist/api/resources/empathicVoice/types/index.js +14 -0
  198. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  199. package/dist/errors/HumeError.js +1 -1
  200. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
  201. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
  202. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
  203. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
  204. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
  205. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
  206. package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
  207. package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
  208. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
  209. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
  210. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
  211. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
  212. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
  213. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
  214. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
  215. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
  216. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
  217. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
  218. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
  219. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
  220. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
  221. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
  222. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
  223. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
  224. package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
  225. package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
  226. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
  227. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
  228. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  229. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  230. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
  231. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
  232. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
  233. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
  234. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
  235. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
  236. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
  237. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
  238. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
  239. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
  240. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
  241. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
  242. package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
  243. package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
  244. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
  245. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
  246. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
  247. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
  248. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
  249. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
  250. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
  251. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
  252. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
  253. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
  254. package/dist/serialization/resources/empathicVoice/types/index.d.ts +14 -0
  255. package/dist/serialization/resources/empathicVoice/types/index.js +14 -0
  256. package/errors/HumeError.js +1 -1
  257. package/eslint.config.mjs +1 -1
  258. package/{jest.config.mjs → jest.config.js} +1 -3
  259. package/package.json +2 -2
  260. package/reference.md +86 -32
  261. package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
  262. package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
  263. package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
  264. package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
  265. package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
  266. package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
  267. package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
  268. package/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
  269. package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
  270. package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
  271. package/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
  272. package/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
  273. package/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
  274. package/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
  275. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
  276. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
  277. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
  278. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
  279. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
  280. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
  281. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
  282. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
  283. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
  284. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
  285. package/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
  286. package/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
  287. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
  288. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
  289. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  290. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  291. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
  292. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
  293. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
  294. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
  295. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
  296. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
  297. package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
  298. package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
  299. package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
  300. package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
  301. package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
  302. package/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
  303. package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
  304. package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
  305. package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
  306. package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
  307. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
  308. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
  309. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
  310. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
  311. package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
  312. package/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
  313. package/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
  314. package/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
  315. package/serialization/resources/empathicVoice/types/index.d.ts +14 -0
  316. package/serialization/resources/empathicVoice/types/index.js +14 -0
@@ -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.8.2', '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.8.5', '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
@@ -111,7 +111,7 @@ class Chats {
111
111
  });
112
112
  }
113
113
  /**
114
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
114
+ * @param {string} id - Identifier for a Chat. Formatted as a UUID.
115
115
  * @param {Hume.empathicVoice.ChatsListChatEventsRequest} request
116
116
  * @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
117
117
  *
@@ -135,7 +135,7 @@ class Chats {
135
135
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
136
136
  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)}`),
137
137
  method: 'GET',
138
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
138
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
139
139
  contentType: 'application/json',
140
140
  queryParameters: _queryParams,
141
141
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
@@ -7,15 +7,19 @@
7
7
  */
8
8
  export interface ChatsListChatEventsRequest {
9
9
  /**
10
- * The maximum number of results to include per page.
10
+ * Specifies the maximum number of results to include per page, enabling pagination.
11
+ *
12
+ * The value must be greater than or equal to 1. For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
11
13
  */
12
14
  pageSize?: number;
13
15
  /**
14
- * The page number of the results to return.
16
+ * Specifies the page number to retrieve, enabling pagination.
17
+ *
18
+ * This parameter uses zero-based indexing. For example, setting `page_number` to 0 retrieves the first page of results (items 0-9 if `page_size` is 10), setting `page_number` to 1 retrieves the second page (items 10-19), and so on. Defaults to 0, which retrieves the first page.
15
19
  */
16
20
  pageNumber?: number;
17
21
  /**
18
- * Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true.
22
+ * Specifies the sorting order of the results based on their creation date. Set to true for ascending order (chronological, with the oldest records first) and false for descending order (reverse-chronological, with the newest records first). Defaults to true.
19
23
  */
20
24
  ascendingOrder?: boolean;
21
25
  }
@@ -7,15 +7,19 @@
7
7
  */
8
8
  export interface ChatsListChatsRequest {
9
9
  /**
10
- * The page number of the results to return.
10
+ * Specifies the page number to retrieve, enabling pagination.
11
+ *
12
+ * This parameter uses zero-based indexing. For example, setting `page_number` to 0 retrieves the first page of results (items 0-9 if `page_size` is 10), setting `page_number` to 1 retrieves the second page (items 10-19), and so on. Defaults to 0, which retrieves the first page.
11
13
  */
12
14
  pageNumber?: number;
13
15
  /**
14
- * The maximum number of results to include per page.
16
+ * Specifies the maximum number of results to include per page, enabling pagination.
17
+ *
18
+ * The value must be greater than or equal to 1. For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
15
19
  */
16
20
  pageSize?: number;
17
21
  /**
18
- * Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true.
22
+ * Specifies the sorting order of the results based on their creation date. Set to true for ascending order (chronological, with the oldest records first) and false for descending order (reverse-chronological, with the newest records first). Defaults to true.
19
23
  */
20
24
  ascendingOrder?: boolean;
21
25
  }
@@ -41,7 +41,7 @@ export declare class Configs {
41
41
  */
42
42
  createConfig(request: Hume.empathicVoice.PostedConfig, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
43
43
  /**
44
- * @param {string} id - Identifier for a config. Formatted as a UUID.
44
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
45
45
  * @param {Hume.empathicVoice.ConfigsListConfigVersionsRequest} request
46
46
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
47
47
  *
@@ -50,7 +50,7 @@ export declare class Configs {
50
50
  */
51
51
  listConfigVersions(id: string, request?: Hume.empathicVoice.ConfigsListConfigVersionsRequest, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedConfigs>;
52
52
  /**
53
- * @param {string} id - Identifier for a config. Formatted as a UUID.
53
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
54
54
  * @param {Hume.empathicVoice.PostedConfigVersion} request
55
55
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
56
56
  *
@@ -59,7 +59,7 @@ export declare class Configs {
59
59
  */
60
60
  createConfigVersion(id: string, request?: Hume.empathicVoice.PostedConfigVersion, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
61
61
  /**
62
- * @param {string} id - Identifier for a config. Formatted as a UUID.
62
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
63
63
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @example
@@ -67,7 +67,7 @@ export declare class Configs {
67
67
  */
68
68
  deleteConfig(id: string, requestOptions?: Configs.RequestOptions): Promise<void>;
69
69
  /**
70
- * @param {string} id - Identifier for a config. Formatted as a UUID.
70
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
71
71
  * @param {Hume.empathicVoice.PostedConfigName} request
72
72
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
73
73
  *
@@ -78,8 +78,12 @@ export declare class Configs {
78
78
  */
79
79
  updateConfigName(id: string, request: Hume.empathicVoice.PostedConfigName, requestOptions?: Configs.RequestOptions): Promise<string>;
80
80
  /**
81
- * @param {string} id - Identifier for a config. Formatted as a UUID.
82
- * @param {number} version - Version number for a config. Version numbers should be integers.
81
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
82
+ * @param {number} version - Version number for a Config.
83
+ *
84
+ * Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
85
+ *
86
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
83
87
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
84
88
  *
85
89
  * @example
@@ -87,8 +91,12 @@ export declare class Configs {
87
91
  */
88
92
  getConfigVersion(id: string, version: number, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
89
93
  /**
90
- * @param {string} id - Identifier for a config. Formatted as a UUID.
91
- * @param {number} version - Version number for a config. Version numbers should be integers.
94
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
95
+ * @param {number} version - Version number for a Config.
96
+ *
97
+ * Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
98
+ *
99
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
92
100
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
93
101
  *
94
102
  * @example
@@ -96,8 +104,12 @@ export declare class Configs {
96
104
  */
97
105
  deleteConfigVersion(id: string, version: number, requestOptions?: Configs.RequestOptions): Promise<void>;
98
106
  /**
99
- * @param {string} id - Identifier for a config. Formatted as a UUID.
100
- * @param {number} version - Version number for a config. Version numbers should be integers.
107
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
108
+ * @param {number} version - Version number for a Config.
109
+ *
110
+ * Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
111
+ *
112
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
101
113
  * @param {Hume.empathicVoice.PostedConfigVersionDescription} request
102
114
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
103
115
  *
@@ -75,7 +75,7 @@ class Configs {
75
75
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
76
76
  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'),
77
77
  method: 'GET',
78
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
79
79
  contentType: 'application/json',
80
80
  queryParameters: _queryParams,
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
@@ -128,7 +128,7 @@ class Configs {
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/evi/configs'),
130
130
  method: 'POST',
131
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
131
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
132
132
  contentType: 'application/json',
133
133
  body: serializers.empathicVoice.PostedConfig.jsonOrThrow(request, {
134
134
  unrecognizedObjectKeys: 'strip',
@@ -169,7 +169,7 @@ class Configs {
169
169
  });
170
170
  }
171
171
  /**
172
- * @param {string} id - Identifier for a config. Formatted as a UUID.
172
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
173
173
  * @param {Hume.empathicVoice.ConfigsListConfigVersionsRequest} request
174
174
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
175
175
  *
@@ -193,7 +193,7 @@ class Configs {
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/evi/configs/${encodeURIComponent(id)}`),
195
195
  method: 'GET',
196
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
196
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
197
197
  contentType: 'application/json',
198
198
  queryParameters: _queryParams,
199
199
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
@@ -232,7 +232,7 @@ class Configs {
232
232
  });
233
233
  }
234
234
  /**
235
- * @param {string} id - Identifier for a config. Formatted as a UUID.
235
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
236
236
  * @param {Hume.empathicVoice.PostedConfigVersion} request
237
237
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
238
238
  *
@@ -245,7 +245,7 @@ class Configs {
245
245
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
246
246
  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)}`),
247
247
  method: 'POST',
248
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
248
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
249
249
  contentType: 'application/json',
250
250
  body: serializers.empathicVoice.PostedConfigVersion.jsonOrThrow(request, {
251
251
  unrecognizedObjectKeys: 'strip',
@@ -286,7 +286,7 @@ class Configs {
286
286
  });
287
287
  }
288
288
  /**
289
- * @param {string} id - Identifier for a config. Formatted as a UUID.
289
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
290
290
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
291
291
  *
292
292
  * @example
@@ -298,7 +298,7 @@ class Configs {
298
298
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
299
299
  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)}`),
300
300
  method: 'DELETE',
301
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
301
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
302
302
  contentType: 'application/json',
303
303
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
304
304
  ? requestOptions.timeoutInSeconds * 1000
@@ -331,7 +331,7 @@ class Configs {
331
331
  });
332
332
  }
333
333
  /**
334
- * @param {string} id - Identifier for a config. Formatted as a UUID.
334
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
335
335
  * @param {Hume.empathicVoice.PostedConfigName} request
336
336
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
337
337
  *
@@ -346,7 +346,7 @@ class Configs {
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/evi/configs/${encodeURIComponent(id)}`),
348
348
  method: 'PATCH',
349
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
349
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
350
350
  contentType: 'application/json',
351
351
  body: serializers.empathicVoice.PostedConfigName.jsonOrThrow(request, {
352
352
  unrecognizedObjectKeys: 'strip',
@@ -383,8 +383,12 @@ class Configs {
383
383
  });
384
384
  }
385
385
  /**
386
- * @param {string} id - Identifier for a config. Formatted as a UUID.
387
- * @param {number} version - Version number for a config. Version numbers should be integers.
386
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
387
+ * @param {number} version - Version number for a Config.
388
+ *
389
+ * Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
390
+ *
391
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
388
392
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
389
393
  *
390
394
  * @example
@@ -396,7 +400,7 @@ class Configs {
396
400
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
397
401
  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)}`),
398
402
  method: 'GET',
399
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
403
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
400
404
  contentType: 'application/json',
401
405
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
402
406
  ? requestOptions.timeoutInSeconds * 1000
@@ -434,8 +438,12 @@ class Configs {
434
438
  });
435
439
  }
436
440
  /**
437
- * @param {string} id - Identifier for a config. Formatted as a UUID.
438
- * @param {number} version - Version number for a config. Version numbers should be integers.
441
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
442
+ * @param {number} version - Version number for a Config.
443
+ *
444
+ * Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
445
+ *
446
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
439
447
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
440
448
  *
441
449
  * @example
@@ -447,7 +455,7 @@ class Configs {
447
455
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
448
456
  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)}`),
449
457
  method: 'DELETE',
450
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
458
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
451
459
  contentType: 'application/json',
452
460
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
453
461
  ? requestOptions.timeoutInSeconds * 1000
@@ -480,8 +488,12 @@ class Configs {
480
488
  });
481
489
  }
482
490
  /**
483
- * @param {string} id - Identifier for a config. Formatted as a UUID.
484
- * @param {number} version - Version number for a config. Version numbers should be integers.
491
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
492
+ * @param {number} version - Version number for a Config.
493
+ *
494
+ * Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
495
+ *
496
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
485
497
  * @param {Hume.empathicVoice.PostedConfigVersionDescription} request
486
498
  * @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
487
499
  *
@@ -494,7 +506,7 @@ class Configs {
494
506
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
495
507
  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)}`),
496
508
  method: 'PATCH',
497
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
509
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
498
510
  contentType: 'application/json',
499
511
  body: serializers.empathicVoice.PostedConfigVersionDescription.jsonOrThrow(request, {
500
512
  unrecognizedObjectKeys: 'strip',
@@ -7,15 +7,19 @@
7
7
  */
8
8
  export interface ConfigsListConfigVersionsRequest {
9
9
  /**
10
- * The page number of the results to return.
10
+ * Specifies the page number to retrieve, enabling pagination.
11
+ *
12
+ * This parameter uses zero-based indexing. For example, setting `page_number` to 0 retrieves the first page of results (items 0-9 if `page_size` is 10), setting `page_number` to 1 retrieves the second page (items 10-19), and so on. Defaults to 0, which retrieves the first page.
11
13
  */
12
14
  pageNumber?: number;
13
15
  /**
14
- * The maximum number of results to include per page.
16
+ * Specifies the maximum number of results to include per page, enabling pagination.
17
+ *
18
+ * The value must be greater than or equal to 1. For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
15
19
  */
16
20
  pageSize?: number;
17
21
  /**
18
- * Only include the most recent version of each config in the list.
22
+ * By default, `restrict_to_most_recent` is set to true, returning only the latest version of each config. To include all versions of each config in the list, set `restrict_to_most_recent` to false.
19
23
  */
20
24
  restrictToMostRecent?: boolean;
21
25
  }
@@ -7,15 +7,19 @@
7
7
  */
8
8
  export interface ConfigsListConfigsRequest {
9
9
  /**
10
- * The page number of the results to return.
10
+ * Specifies the page number to retrieve, enabling pagination.
11
+ *
12
+ * This parameter uses zero-based indexing. For example, setting `page_number` to 0 retrieves the first page of results (items 0-9 if `page_size` is 10), setting `page_number` to 1 retrieves the second page (items 10-19), and so on. Defaults to 0, which retrieves the first page.
11
13
  */
12
14
  pageNumber?: number;
13
15
  /**
14
- * The maximum number of results to include per page.
16
+ * Specifies the maximum number of results to include per page, enabling pagination.
17
+ *
18
+ * The value must be greater than or equal to 1. For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
15
19
  */
16
20
  pageSize?: number;
17
21
  /**
18
- * Only include the most recent version of each config in the list.
22
+ * By default, `restrict_to_most_recent` is set to true, returning only the latest version of each config. To include all versions of each config in the list, set `restrict_to_most_recent` to false.
19
23
  */
20
24
  restrictToMostRecent?: boolean;
21
25
  /**
@@ -11,15 +11,26 @@ import * as Hume from '../../../../../../index';
11
11
  export interface PostedConfig {
12
12
  /** Name applied to all versions of a particular Config. */
13
13
  name: string;
14
- /** Description that is appended to a specific version of a Config. */
14
+ /** An optional description of the Config version. */
15
15
  versionDescription?: string;
16
16
  prompt?: Hume.empathicVoice.PostedPromptSpec;
17
+ /** A voice specification associated with this Config. */
17
18
  voice?: Hume.empathicVoice.PostedVoice;
19
+ /**
20
+ * The supplemental language model associated with this Config.
21
+ *
22
+ * This model is used to generate longer, more detailed responses from EVI. Choosing an appropriate supplemental language model for your use case is crucial for generating fast, high-quality responses from EVI.
23
+ */
18
24
  languageModel?: Hume.empathicVoice.PostedLanguageModel;
25
+ /**
26
+ * The eLLM setup associated with this Config.
27
+ *
28
+ * Hume's eLLM (empathic Large Language Model) is a multimodal language model that takes into account both expression measures and language. The eLLM generates short, empathic language responses and guides text-to-speech (TTS) prosody.
29
+ */
19
30
  ellmModel?: Hume.empathicVoice.PostedEllmModel;
20
- /** Tool specification for a Config. */
31
+ /** List of user-defined tools associated with this Config. */
21
32
  tools?: (Hume.empathicVoice.PostedUserDefinedToolSpec | undefined)[];
22
- /** Built-in tool specification for a Config. */
33
+ /** List of built-in tools associated with this Config. */
23
34
  builtinTools?: (Hume.empathicVoice.PostedBuiltinTool | undefined)[];
24
35
  eventMessages?: Hume.empathicVoice.PostedEventMessageSpecs;
25
36
  timeouts?: Hume.empathicVoice.PostedTimeoutSpecs;
@@ -7,15 +7,26 @@ import * as Hume from '../../../../../../index';
7
7
  * {}
8
8
  */
9
9
  export interface PostedConfigVersion {
10
- /** Description that is appended to a specific version of a Config. */
10
+ /** An optional description of the Config version. */
11
11
  versionDescription?: string;
12
12
  prompt?: Hume.empathicVoice.PostedPromptSpec;
13
+ /** A voice specification associated with this Config version. */
13
14
  voice?: Hume.empathicVoice.PostedVoice;
15
+ /**
16
+ * The supplemental language model associated with this Config version.
17
+ *
18
+ * This model is used to generate longer, more detailed responses from EVI. Choosing an appropriate supplemental language model for your use case is crucial for generating fast, high-quality responses from EVI.
19
+ */
14
20
  languageModel?: Hume.empathicVoice.PostedLanguageModel;
21
+ /**
22
+ * The eLLM setup associated with this Config version.
23
+ *
24
+ * Hume's eLLM (empathic Large Language Model) is a multimodal language model that takes into account both expression measures and language. The eLLM generates short, empathic language responses and guides text-to-speech (TTS) prosody.
25
+ */
15
26
  ellmModel?: Hume.empathicVoice.PostedEllmModel;
16
- /** Tool specification for a Config. */
27
+ /** List of user-defined tools associated with this Config version. */
17
28
  tools?: (Hume.empathicVoice.PostedUserDefinedToolSpec | undefined)[];
18
- /** Built-in tool specification for a Config. */
29
+ /** List of built-in tools associated with this Config version. */
19
30
  builtinTools?: (Hume.empathicVoice.PostedBuiltinTool | undefined)[];
20
31
  eventMessages?: Hume.empathicVoice.PostedEventMessageSpecs;
21
32
  timeouts?: Hume.empathicVoice.PostedTimeoutSpecs;
@@ -6,6 +6,6 @@
6
6
  * {}
7
7
  */
8
8
  export interface PostedConfigVersionDescription {
9
- /** Description that is appended to a specific version of a Config. */
9
+ /** An optional description of the Config version. */
10
10
  versionDescription?: string;
11
11
  }
@@ -42,7 +42,7 @@ export declare class Prompts {
42
42
  */
43
43
  createPrompt(request: Hume.empathicVoice.PostedPrompt, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
44
44
  /**
45
- * @param {string} id - Identifier for a tool. Formatted as a UUID.
45
+ * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
46
46
  * @param {Hume.empathicVoice.PromptsListPromptVersionsRequest} request
47
47
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
48
48
  *
@@ -51,7 +51,7 @@ export declare class Prompts {
51
51
  */
52
52
  listPromptVersions(id: string, request?: Hume.empathicVoice.PromptsListPromptVersionsRequest, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedPrompts>;
53
53
  /**
54
- * @param {string} id - Identifier for a prompt. Formatted as a UUID.
54
+ * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
55
55
  * @param {Hume.empathicVoice.PostedPromptVersion} request
56
56
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
57
57
  *
@@ -62,7 +62,7 @@ export declare class Prompts {
62
62
  */
63
63
  createPromptVerison(id: string, request: Hume.empathicVoice.PostedPromptVersion, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
64
64
  /**
65
- * @param {string} id - Identifier for a prompt. Formatted as a UUID.
65
+ * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
66
66
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
67
67
  *
68
68
  * @example
@@ -70,7 +70,7 @@ export declare class Prompts {
70
70
  */
71
71
  deletePrompt(id: string, requestOptions?: Prompts.RequestOptions): Promise<void>;
72
72
  /**
73
- * @param {string} id - Identifier for a prompt. Formatted as a UUID.
73
+ * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
74
74
  * @param {Hume.empathicVoice.PostedPromptName} request
75
75
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
@@ -81,8 +81,12 @@ export declare class Prompts {
81
81
  */
82
82
  updatePromptName(id: string, request: Hume.empathicVoice.PostedPromptName, requestOptions?: Prompts.RequestOptions): Promise<string>;
83
83
  /**
84
- * @param {string} id - Identifier for a prompt. Formatted as a UUID.
85
- * @param {number} version - Version number for a prompt. Version numbers should be integers.
84
+ * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
85
+ * @param {number} version - Version number for a Prompt.
86
+ *
87
+ * Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
88
+ *
89
+ * Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
86
90
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
87
91
  *
88
92
  * @example
@@ -90,8 +94,12 @@ export declare class Prompts {
90
94
  */
91
95
  getPromptVersion(id: string, version: number, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
92
96
  /**
93
- * @param {string} id - Identifier for a prompt. Formatted as a UUID.
94
- * @param {number} version - Version number for a prompt. Version numbers should be integers.
97
+ * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
98
+ * @param {number} version - Version number for a Prompt.
99
+ *
100
+ * Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
101
+ *
102
+ * Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
95
103
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
96
104
  *
97
105
  * @example
@@ -99,8 +107,12 @@ export declare class Prompts {
99
107
  */
100
108
  deletePromptVersion(id: string, version: number, requestOptions?: Prompts.RequestOptions): Promise<void>;
101
109
  /**
102
- * @param {string} id - Identifier for a prompt. Formatted as a UUID.
103
- * @param {number} version - Version number for a prompt. Version numbers should be integers.
110
+ * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
111
+ * @param {number} version - Version number for a Prompt.
112
+ *
113
+ * Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
114
+ *
115
+ * Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
104
116
  * @param {Hume.empathicVoice.PostedPromptVersionDescription} request
105
117
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
106
118
  *