hume 0.15.11 → 0.15.13

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 (228) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/empathicVoice/resources/chat/client/Client.d.ts +7 -1
  3. package/dist/cjs/api/resources/empathicVoice/resources/chat/client/Client.js +16 -5
  4. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +11 -3
  5. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.js +11 -3
  6. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +1 -1
  7. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetChatGroupRequest.d.ts +1 -1
  8. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +1 -1
  9. package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +6 -2
  10. package/dist/cjs/api/resources/empathicVoice/resources/chats/client/Client.d.ts +8 -2
  11. package/dist/cjs/api/resources/empathicVoice/resources/chats/client/Client.js +8 -2
  12. package/dist/cjs/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +1 -1
  13. package/dist/cjs/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
  14. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/Client.d.ts +58 -10
  15. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/Client.js +58 -10
  16. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +1 -1
  17. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
  18. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +3 -2
  19. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  20. package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
  21. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +57 -9
  22. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/Client.js +57 -9
  23. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +6 -2
  24. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +6 -2
  25. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
  26. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +1 -1
  27. package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +1 -1
  28. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/Client.d.ts +57 -9
  29. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/Client.js +57 -9
  30. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +16 -5
  31. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.d.ts +8 -1
  32. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
  33. package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
  34. package/dist/cjs/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
  35. package/dist/cjs/api/resources/empathicVoice/types/AssistantInput.d.ts +3 -1
  36. package/dist/cjs/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  37. package/dist/cjs/api/resources/empathicVoice/types/AssistantProsody.d.ts +1 -1
  38. package/dist/cjs/api/resources/empathicVoice/types/AudioInput.d.ts +3 -1
  39. package/dist/cjs/api/resources/empathicVoice/types/AudioOutput.d.ts +3 -1
  40. package/dist/cjs/api/resources/empathicVoice/types/ChatMetadata.d.ts +3 -1
  41. package/dist/cjs/api/resources/empathicVoice/types/ConnectSessionSettings.d.ts +4 -2
  42. package/dist/cjs/api/resources/empathicVoice/types/ConnectSessionSettingsAudio.d.ts +3 -3
  43. package/dist/cjs/api/resources/empathicVoice/types/ConnectSessionSettingsContext.d.ts +5 -11
  44. package/dist/cjs/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +3 -1
  45. package/dist/cjs/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  46. package/dist/cjs/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
  47. package/dist/cjs/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
  48. package/dist/cjs/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +3 -1
  49. package/dist/cjs/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +5 -1
  50. package/dist/cjs/api/resources/empathicVoice/types/PostedNudgeSpec.d.ts +2 -2
  51. package/dist/cjs/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +6 -2
  52. package/dist/cjs/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
  53. package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.d.ts +5 -1
  54. package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.js +5 -1
  55. package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
  56. package/dist/cjs/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +3 -1
  57. package/dist/cjs/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +9 -2
  58. package/dist/cjs/api/resources/empathicVoice/types/ReturnChat.d.ts +4 -4
  59. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +9 -5
  60. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
  61. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +5 -1
  62. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +10 -6
  63. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +7 -3
  64. package/dist/cjs/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +10 -6
  65. package/dist/cjs/api/resources/empathicVoice/types/ReturnConfig.d.ts +17 -7
  66. package/dist/cjs/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
  67. package/dist/cjs/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
  68. package/dist/cjs/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
  69. package/dist/cjs/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +3 -1
  70. package/dist/cjs/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +5 -1
  71. package/dist/cjs/api/resources/empathicVoice/types/ReturnNudgeSpec.d.ts +2 -2
  72. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +6 -2
  73. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +6 -2
  74. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +6 -2
  75. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +6 -2
  76. package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +6 -2
  77. package/dist/cjs/api/resources/empathicVoice/types/ReturnPrompt.d.ts +8 -4
  78. package/dist/cjs/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
  79. package/dist/cjs/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +3 -1
  80. package/dist/cjs/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +16 -5
  81. package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +5 -1
  82. package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.js +5 -1
  83. package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
  84. package/dist/cjs/api/resources/empathicVoice/types/SessionSettings.d.ts +13 -4
  85. package/dist/cjs/api/resources/empathicVoice/types/ToolCallMessage.d.ts +8 -2
  86. package/dist/cjs/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +3 -1
  87. package/dist/cjs/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +3 -1
  88. package/dist/cjs/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
  89. package/dist/cjs/api/resources/empathicVoice/types/UserInterruption.d.ts +3 -1
  90. package/dist/cjs/api/resources/empathicVoice/types/UserMessage.d.ts +3 -1
  91. package/dist/cjs/api/resources/empathicVoice/types/VoiceId.d.ts +1 -1
  92. package/dist/cjs/api/resources/empathicVoice/types/VoiceName.d.ts +1 -1
  93. package/dist/cjs/api/resources/empathicVoice/types/WebSocketError.d.ts +3 -1
  94. package/dist/cjs/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +2 -0
  95. package/dist/cjs/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -0
  96. package/dist/cjs/api/resources/empathicVoice/types/WebhookEventToolCall.d.ts +2 -0
  97. package/dist/cjs/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.d.ts +2 -0
  98. package/dist/cjs/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.js +2 -2
  99. package/dist/cjs/api/resources/tts/resources/voices/client/Client.d.ts +1 -1
  100. package/dist/cjs/api/resources/tts/resources/voices/client/Client.js +1 -1
  101. package/dist/cjs/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.ts +1 -1
  102. package/dist/cjs/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +1 -1
  103. package/dist/cjs/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +1 -1
  104. package/dist/cjs/api/resources/tts/types/ReturnPagedVoices.d.ts +5 -1
  105. package/dist/cjs/core/schemas/builders/object/object.js +20 -2
  106. package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +1 -0
  107. package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +1 -0
  108. package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +1 -0
  109. package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventChatStarted.js +1 -0
  110. package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventToolCall.d.ts +1 -0
  111. package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventToolCall.js +1 -0
  112. package/dist/cjs/version.d.ts +1 -1
  113. package/dist/cjs/version.js +1 -1
  114. package/dist/esm/BaseClient.mjs +2 -2
  115. package/dist/esm/api/resources/empathicVoice/resources/chat/client/Client.d.mts +7 -1
  116. package/dist/esm/api/resources/empathicVoice/resources/chat/client/Client.mjs +16 -5
  117. package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/Client.d.mts +11 -3
  118. package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/Client.mjs +11 -3
  119. package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.mts +1 -1
  120. package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetChatGroupRequest.d.mts +1 -1
  121. package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.mts +1 -1
  122. package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.mts +6 -2
  123. package/dist/esm/api/resources/empathicVoice/resources/chats/client/Client.d.mts +8 -2
  124. package/dist/esm/api/resources/empathicVoice/resources/chats/client/Client.mjs +8 -2
  125. package/dist/esm/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.mts +1 -1
  126. package/dist/esm/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.mts +1 -1
  127. package/dist/esm/api/resources/empathicVoice/resources/configs/client/Client.d.mts +58 -10
  128. package/dist/esm/api/resources/empathicVoice/resources/configs/client/Client.mjs +58 -10
  129. package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.mts +1 -1
  130. package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.mts +1 -1
  131. package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.mts +3 -2
  132. package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.mts +2 -2
  133. package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.mts +1 -1
  134. package/dist/esm/api/resources/empathicVoice/resources/prompts/client/Client.d.mts +57 -9
  135. package/dist/esm/api/resources/empathicVoice/resources/prompts/client/Client.mjs +57 -9
  136. package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.mts +6 -2
  137. package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.mts +6 -2
  138. package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.mts +1 -1
  139. package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.mts +1 -1
  140. package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.mts +1 -1
  141. package/dist/esm/api/resources/empathicVoice/resources/tools/client/Client.d.mts +57 -9
  142. package/dist/esm/api/resources/empathicVoice/resources/tools/client/Client.mjs +57 -9
  143. package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.mts +16 -5
  144. package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.d.mts +8 -1
  145. package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.mts +8 -4
  146. package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.mts +1 -1
  147. package/dist/esm/api/resources/empathicVoice/types/AssistantEnd.d.mts +1 -1
  148. package/dist/esm/api/resources/empathicVoice/types/AssistantInput.d.mts +3 -1
  149. package/dist/esm/api/resources/empathicVoice/types/AssistantMessage.d.mts +1 -1
  150. package/dist/esm/api/resources/empathicVoice/types/AssistantProsody.d.mts +1 -1
  151. package/dist/esm/api/resources/empathicVoice/types/AudioInput.d.mts +3 -1
  152. package/dist/esm/api/resources/empathicVoice/types/AudioOutput.d.mts +3 -1
  153. package/dist/esm/api/resources/empathicVoice/types/ChatMetadata.d.mts +3 -1
  154. package/dist/esm/api/resources/empathicVoice/types/ConnectSessionSettings.d.mts +4 -2
  155. package/dist/esm/api/resources/empathicVoice/types/ConnectSessionSettingsAudio.d.mts +3 -3
  156. package/dist/esm/api/resources/empathicVoice/types/ConnectSessionSettingsContext.d.mts +5 -11
  157. package/dist/esm/api/resources/empathicVoice/types/PauseAssistantMessage.d.mts +3 -1
  158. package/dist/esm/api/resources/empathicVoice/types/PostedBuiltinTool.d.mts +1 -1
  159. package/dist/esm/api/resources/empathicVoice/types/PostedEllmModel.d.mts +5 -1
  160. package/dist/esm/api/resources/empathicVoice/types/PostedEventMessageSpec.d.mts +6 -2
  161. package/dist/esm/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.mts +3 -1
  162. package/dist/esm/api/resources/empathicVoice/types/PostedLanguageModel.d.mts +5 -1
  163. package/dist/esm/api/resources/empathicVoice/types/PostedNudgeSpec.d.mts +2 -2
  164. package/dist/esm/api/resources/empathicVoice/types/PostedTimeoutSpec.d.mts +6 -2
  165. package/dist/esm/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.mts +3 -1
  166. package/dist/esm/api/resources/empathicVoice/types/PostedWebhookEventType.d.mts +5 -1
  167. package/dist/esm/api/resources/empathicVoice/types/PostedWebhookEventType.mjs +5 -1
  168. package/dist/esm/api/resources/empathicVoice/types/PostedWebhookSpec.d.mts +6 -2
  169. package/dist/esm/api/resources/empathicVoice/types/ResumeAssistantMessage.d.mts +3 -1
  170. package/dist/esm/api/resources/empathicVoice/types/ReturnBuiltinTool.d.mts +9 -2
  171. package/dist/esm/api/resources/empathicVoice/types/ReturnChat.d.mts +4 -4
  172. package/dist/esm/api/resources/empathicVoice/types/ReturnChatEvent.d.mts +9 -5
  173. package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroup.d.mts +5 -5
  174. package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.mts +5 -1
  175. package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.mts +10 -6
  176. package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.mts +7 -3
  177. package/dist/esm/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.mts +10 -6
  178. package/dist/esm/api/resources/empathicVoice/types/ReturnConfig.d.mts +17 -7
  179. package/dist/esm/api/resources/empathicVoice/types/ReturnConfigSpec.d.mts +8 -2
  180. package/dist/esm/api/resources/empathicVoice/types/ReturnEllmModel.d.mts +5 -1
  181. package/dist/esm/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.mts +6 -2
  182. package/dist/esm/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.mts +3 -1
  183. package/dist/esm/api/resources/empathicVoice/types/ReturnLanguageModel.d.mts +5 -1
  184. package/dist/esm/api/resources/empathicVoice/types/ReturnNudgeSpec.d.mts +2 -2
  185. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.mts +6 -2
  186. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedChats.d.mts +6 -2
  187. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedConfigs.d.mts +6 -2
  188. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedPrompts.d.mts +6 -2
  189. package/dist/esm/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.mts +6 -2
  190. package/dist/esm/api/resources/empathicVoice/types/ReturnPrompt.d.mts +8 -4
  191. package/dist/esm/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.mts +6 -2
  192. package/dist/esm/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.mts +3 -1
  193. package/dist/esm/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.mts +16 -5
  194. package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookEventType.d.mts +5 -1
  195. package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookEventType.mjs +5 -1
  196. package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookSpec.d.mts +6 -2
  197. package/dist/esm/api/resources/empathicVoice/types/SessionSettings.d.mts +13 -4
  198. package/dist/esm/api/resources/empathicVoice/types/ToolCallMessage.d.mts +8 -2
  199. package/dist/esm/api/resources/empathicVoice/types/ToolErrorMessage.d.mts +3 -1
  200. package/dist/esm/api/resources/empathicVoice/types/ToolResponseMessage.d.mts +3 -1
  201. package/dist/esm/api/resources/empathicVoice/types/UserInput.d.mts +1 -1
  202. package/dist/esm/api/resources/empathicVoice/types/UserInterruption.d.mts +3 -1
  203. package/dist/esm/api/resources/empathicVoice/types/UserMessage.d.mts +3 -1
  204. package/dist/esm/api/resources/empathicVoice/types/VoiceId.d.mts +1 -1
  205. package/dist/esm/api/resources/empathicVoice/types/VoiceName.d.mts +1 -1
  206. package/dist/esm/api/resources/empathicVoice/types/WebSocketError.d.mts +3 -1
  207. package/dist/esm/api/resources/empathicVoice/types/WebhookEventChatEnded.d.mts +2 -0
  208. package/dist/esm/api/resources/empathicVoice/types/WebhookEventChatStarted.d.mts +2 -0
  209. package/dist/esm/api/resources/empathicVoice/types/WebhookEventToolCall.d.mts +2 -0
  210. package/dist/esm/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.d.mts +2 -0
  211. package/dist/esm/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.mjs +2 -2
  212. package/dist/esm/api/resources/tts/resources/voices/client/Client.d.mts +1 -1
  213. package/dist/esm/api/resources/tts/resources/voices/client/Client.mjs +1 -1
  214. package/dist/esm/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.mts +1 -1
  215. package/dist/esm/api/resources/tts/types/PostedUtteranceVoiceWithId.d.mts +1 -1
  216. package/dist/esm/api/resources/tts/types/PostedUtteranceVoiceWithName.d.mts +1 -1
  217. package/dist/esm/api/resources/tts/types/ReturnPagedVoices.d.mts +5 -1
  218. package/dist/esm/core/schemas/builders/object/object.mjs +20 -2
  219. package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.mts +1 -0
  220. package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventChatEnded.mjs +1 -0
  221. package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.mts +1 -0
  222. package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventChatStarted.mjs +1 -0
  223. package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventToolCall.d.mts +1 -0
  224. package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventToolCall.mjs +1 -0
  225. package/dist/esm/version.d.mts +1 -1
  226. package/dist/esm/version.mjs +1 -1
  227. package/package.json +2 -2
  228. package/reference.md +630 -46
@@ -46,5 +46,6 @@ exports.WebhookEventChatEnded = core.serialization
46
46
  endReason: core.serialization.property("end_reason", WebhookEventChatStatus_js_1.WebhookEventChatStatus),
47
47
  endTime: core.serialization.property("end_time", core.serialization.number()),
48
48
  eventName: core.serialization.property("event_name", core.serialization.stringLiteral("chat_ended").optional()),
49
+ twilioMetadata: core.serialization.property("twilio_metadata", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
49
50
  })
50
51
  .extend(WebhookEventBase_js_1.WebhookEventBase);
@@ -11,5 +11,6 @@ export declare namespace WebhookEventChatStarted {
11
11
  custom_session_id?: string | null;
12
12
  event_name?: "chat_started" | null;
13
13
  start_time: number;
14
+ twilio_metadata?: Record<string, string | null | undefined> | null;
14
15
  }
15
16
  }
@@ -45,5 +45,6 @@ exports.WebhookEventChatStarted = core.serialization
45
45
  customSessionId: core.serialization.property("custom_session_id", core.serialization.string().optional()),
46
46
  eventName: core.serialization.property("event_name", core.serialization.stringLiteral("chat_started").optional()),
47
47
  startTime: core.serialization.property("start_time", core.serialization.number()),
48
+ twilioMetadata: core.serialization.property("twilio_metadata", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
48
49
  })
49
50
  .extend(WebhookEventBase_js_1.WebhookEventBase);
@@ -11,5 +11,6 @@ export declare namespace WebhookEventToolCall {
11
11
  event_name?: "tool_call" | null;
12
12
  timestamp: number;
13
13
  tool_call_message: ToolCallMessage.Raw;
14
+ twilio_metadata?: Record<string, string | null | undefined> | null;
14
15
  }
15
16
  }
@@ -45,5 +45,6 @@ exports.WebhookEventToolCall = core.serialization
45
45
  eventName: core.serialization.property("event_name", core.serialization.stringLiteral("tool_call").optional()),
46
46
  timestamp: core.serialization.number(),
47
47
  toolCallMessage: core.serialization.property("tool_call_message", ToolCallMessage_js_1.ToolCallMessage),
48
+ twilioMetadata: core.serialization.property("twilio_metadata", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
48
49
  })
49
50
  .extend(WebhookEventBase_js_1.WebhookEventBase);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.15.11";
1
+ export declare const SDK_VERSION = "0.15.13";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.15.11";
4
+ exports.SDK_VERSION = "0.15.13";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "hume",
9
- "X-Fern-SDK-Version": "0.15.11",
10
- "User-Agent": "hume/0.15.11",
9
+ "X-Fern-SDK-Version": "0.15.13",
10
+ "User-Agent": "hume/0.15.13",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -9,12 +9,18 @@ export declare namespace ChatClient {
9
9
  accessToken?: string;
10
10
  allowConnection?: boolean;
11
11
  configId?: string;
12
- configVersion?: number;
12
+ /** Accepts both string and number for backward compatibility */
13
+ configVersion?: string | number;
13
14
  eventLimit?: number;
14
15
  resumedChatGroupId?: string;
15
16
  verboseTranscription?: boolean;
17
+ /** @deprecated Use sessionSettings.voiceId instead */
18
+ voiceId?: string;
16
19
  apiKey?: string;
17
20
  sessionSettings?: Hume.empathicVoice.ConnectSessionSettings;
21
+ /** Extra query parameters sent at WebSocket connection for backward compatibility */
22
+ queryParams?: Record<string, string | string[] | object | object[]>;
23
+ /** Arbitrary headers to send with the websocket connect request. */
18
24
  headers?: Record<string, string>;
19
25
  debug?: boolean;
20
26
  reconnectAttempts?: number;
@@ -10,15 +10,20 @@ export class ChatClient {
10
10
  }
11
11
  connect(args = {}) {
12
12
  var _a, _b;
13
- const { accessToken, allowConnection, configId, configVersion, eventLimit, resumedChatGroupId, verboseTranscription, apiKey, sessionSettings, headers, debug, reconnectAttempts, } = args;
13
+ const { accessToken, allowConnection, configId, configVersion, eventLimit, resumedChatGroupId, verboseTranscription, voiceId, apiKey, sessionSettings, queryParams, headers, debug, reconnectAttempts, } = args;
14
14
  const _queryParams = {
15
15
  access_token: accessToken,
16
- allow_connection: allowConnection,
16
+ allow_connection: allowConnection != null ? (allowConnection ? "true" : "false") : undefined,
17
17
  config_id: configId,
18
- config_version: configVersion,
19
- event_limit: eventLimit,
18
+ config_version: configVersion != null
19
+ ? typeof configVersion === "number"
20
+ ? configVersion.toString()
21
+ : configVersion
22
+ : undefined,
23
+ event_limit: eventLimit != null ? eventLimit.toString() : undefined,
20
24
  resumed_chat_group_id: resumedChatGroupId,
21
- verbose_transcription: verboseTranscription,
25
+ verbose_transcription: verboseTranscription != null ? verboseTranscription.toString() : undefined,
26
+ voice_id: voiceId,
22
27
  api_key: apiKey,
23
28
  session_settings: sessionSettings != null
24
29
  ? serializers.empathicVoice.ConnectSessionSettings.jsonOrThrow(sessionSettings, {
@@ -30,6 +35,12 @@ export class ChatClient {
30
35
  })
31
36
  : undefined,
32
37
  };
38
+ // Merge in any additional query parameters
39
+ if (queryParams != null) {
40
+ for (const [name, value] of Object.entries(queryParams)) {
41
+ _queryParams[name] = value;
42
+ }
43
+ }
33
44
  const _headers = mergeOnlyDefinedHeaders(Object.assign(Object.assign({}, this._getCustomAuthorizationHeaders()), headers));
34
45
  const socket = new core.ReconnectingWebSocket({
35
46
  url: core.url.join((_a = core.Supplier.get(this._options.baseUrl)) !== null && _a !== void 0 ? _a : ((_b = core.Supplier.get(this._options.environment)) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Prod).evi, "/chat"),
@@ -11,6 +11,8 @@ export declare class ChatGroupsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<ChatGroupsClient.Options>;
12
12
  constructor(options?: ChatGroupsClient.Options);
13
13
  /**
14
+ * Fetches a paginated list of **Chat Groups**.
15
+ *
14
16
  * @param {Hume.empathicVoice.ChatGroupsListChatGroupsRequest} request
15
17
  * @param {ChatGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
16
18
  *
@@ -26,7 +28,9 @@ export declare class ChatGroupsClient {
26
28
  */
27
29
  listChatGroups(request?: Hume.empathicVoice.ChatGroupsListChatGroupsRequest, requestOptions?: ChatGroupsClient.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnChatGroup, Hume.empathicVoice.ReturnPagedChatGroups>>;
28
30
  /**
29
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
31
+ * Fetches a **ChatGroup** by ID, including a paginated list of **Chats** associated with the **ChatGroup**.
32
+ *
33
+ * @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
30
34
  * @param {Hume.empathicVoice.ChatGroupsGetChatGroupRequest} request
31
35
  * @param {ChatGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
32
36
  *
@@ -42,7 +46,9 @@ export declare class ChatGroupsClient {
42
46
  getChatGroup(id: string, request?: Hume.empathicVoice.ChatGroupsGetChatGroupRequest, requestOptions?: ChatGroupsClient.RequestOptions): core.HttpResponsePromise<Hume.empathicVoice.ReturnChatGroupPagedChats>;
43
47
  private __getChatGroup;
44
48
  /**
45
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
49
+ * Fetches a paginated list of audio for each **Chat** within the specified **Chat Group**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
50
+ *
51
+ * @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
46
52
  * @param {Hume.empathicVoice.ChatGroupsGetAudioRequest} request
47
53
  * @param {ChatGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
48
54
  *
@@ -58,7 +64,9 @@ export declare class ChatGroupsClient {
58
64
  getAudio(id: string, request?: Hume.empathicVoice.ChatGroupsGetAudioRequest, requestOptions?: ChatGroupsClient.RequestOptions): core.HttpResponsePromise<Hume.empathicVoice.ReturnChatGroupPagedAudioReconstructions>;
59
65
  private __getAudio;
60
66
  /**
61
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
67
+ * Fetches a paginated list of **Chat** events associated with a **Chat Group**.
68
+ *
69
+ * @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
62
70
  * @param {Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest} request
63
71
  * @param {ChatGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
64
72
  *
@@ -21,6 +21,8 @@ export class ChatGroupsClient {
21
21
  this._options = normalizeClientOptionsWithAuth(options);
22
22
  }
23
23
  /**
24
+ * Fetches a paginated list of **Chat Groups**.
25
+ *
24
26
  * @param {Hume.empathicVoice.ChatGroupsListChatGroupsRequest} request
25
27
  * @param {ChatGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
26
28
  *
@@ -106,7 +108,9 @@ export class ChatGroupsClient {
106
108
  });
107
109
  }
108
110
  /**
109
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
111
+ * Fetches a **ChatGroup** by ID, including a paginated list of **Chats** associated with the **ChatGroup**.
112
+ *
113
+ * @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
110
114
  * @param {Hume.empathicVoice.ChatGroupsGetChatGroupRequest} request
111
115
  * @param {ChatGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
112
116
  *
@@ -179,7 +183,9 @@ export class ChatGroupsClient {
179
183
  });
180
184
  }
181
185
  /**
182
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
186
+ * Fetches a paginated list of audio for each **Chat** within the specified **Chat Group**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
187
+ *
188
+ * @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
183
189
  * @param {Hume.empathicVoice.ChatGroupsGetAudioRequest} request
184
190
  * @param {ChatGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
185
191
  *
@@ -251,7 +257,9 @@ export class ChatGroupsClient {
251
257
  });
252
258
  }
253
259
  /**
254
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
260
+ * Fetches a paginated list of **Chat** events associated with a **Chat Group**.
261
+ *
262
+ * @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
255
263
  * @param {Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest} request
256
264
  * @param {ChatGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
257
265
  *
@@ -19,6 +19,6 @@ export interface ChatGroupsGetAudioRequest {
19
19
  * For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
20
20
  */
21
21
  pageSize?: number;
22
- /** 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. */
23
23
  ascendingOrder?: boolean;
24
24
  }
@@ -21,6 +21,6 @@ export interface ChatGroupsGetChatGroupRequest {
21
21
  * 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.
22
22
  */
23
23
  pageNumber?: number;
24
- /** Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true. */
24
+ /** 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. */
25
25
  ascendingOrder?: boolean;
26
26
  }
@@ -19,6 +19,6 @@ export interface ChatGroupsListChatGroupEventsRequest {
19
19
  * 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.
20
20
  */
21
21
  pageNumber?: number;
22
- /** 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. */
23
23
  ascendingOrder?: boolean;
24
24
  }
@@ -20,8 +20,12 @@ export interface ChatGroupsListChatGroupsRequest {
20
20
  * For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
21
21
  */
22
22
  pageSize?: number;
23
- /** Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true. */
23
+ /** 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. */
24
24
  ascendingOrder?: boolean;
25
- /** Filter chatgroups to only include chats that used this config in their most recent chat. */
25
+ /**
26
+ * The unique identifier for an EVI configuration.
27
+ *
28
+ * Filter Chat Groups to only include Chats that used this `config_id` in their most recent Chat.
29
+ */
26
30
  configId?: string;
27
31
  }
@@ -11,6 +11,8 @@ export declare class ChatsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<ChatsClient.Options>;
12
12
  constructor(options?: ChatsClient.Options);
13
13
  /**
14
+ * Fetches a paginated list of **Chats**.
15
+ *
14
16
  * @param {Hume.empathicVoice.ChatsListChatsRequest} request
15
17
  * @param {ChatsClient.RequestOptions} requestOptions - Request-specific configuration.
16
18
  *
@@ -25,7 +27,9 @@ export declare class ChatsClient {
25
27
  */
26
28
  listChats(request?: Hume.empathicVoice.ChatsListChatsRequest, requestOptions?: ChatsClient.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnChat, Hume.empathicVoice.ReturnPagedChats>>;
27
29
  /**
28
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
30
+ * Fetches a paginated list of **Chat** events.
31
+ *
32
+ * @param {string} id - Identifier for a Chat. Formatted as a UUID.
29
33
  * @param {Hume.empathicVoice.ChatsListChatEventsRequest} request
30
34
  * @param {ChatsClient.RequestOptions} requestOptions - Request-specific configuration.
31
35
  *
@@ -40,7 +44,9 @@ export declare class ChatsClient {
40
44
  */
41
45
  listChatEvents(id: string, request?: Hume.empathicVoice.ChatsListChatEventsRequest, requestOptions?: ChatsClient.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnChatEvent, Hume.empathicVoice.ReturnChatPagedEvents>>;
42
46
  /**
43
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
47
+ * Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
48
+ *
49
+ * @param {string} id - Identifier for a Chat. Formatted as a UUID.
44
50
  * @param {ChatsClient.RequestOptions} requestOptions - Request-specific configuration.
45
51
  *
46
52
  * @throws {@link Hume.empathicVoice.BadRequestError}
@@ -21,6 +21,8 @@ export class ChatsClient {
21
21
  this._options = normalizeClientOptionsWithAuth(options);
22
22
  }
23
23
  /**
24
+ * Fetches a paginated list of **Chats**.
25
+ *
24
26
  * @param {Hume.empathicVoice.ChatsListChatsRequest} request
25
27
  * @param {ChatsClient.RequestOptions} requestOptions - Request-specific configuration.
26
28
  *
@@ -106,7 +108,9 @@ export class ChatsClient {
106
108
  });
107
109
  }
108
110
  /**
109
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
111
+ * Fetches a paginated list of **Chat** events.
112
+ *
113
+ * @param {string} id - Identifier for a Chat. Formatted as a UUID.
110
114
  * @param {Hume.empathicVoice.ChatsListChatEventsRequest} request
111
115
  * @param {ChatsClient.RequestOptions} requestOptions - Request-specific configuration.
112
116
  *
@@ -190,7 +194,9 @@ export class ChatsClient {
190
194
  });
191
195
  }
192
196
  /**
193
- * @param {string} id - Identifier for a chat. Formatted as a UUID.
197
+ * Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
198
+ *
199
+ * @param {string} id - Identifier for a Chat. Formatted as a UUID.
194
200
  * @param {ChatsClient.RequestOptions} requestOptions - Request-specific configuration.
195
201
  *
196
202
  * @throws {@link Hume.empathicVoice.BadRequestError}
@@ -19,6 +19,6 @@ export interface ChatsListChatEventsRequest {
19
19
  * 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.
20
20
  */
21
21
  pageNumber?: number;
22
- /** 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. */
23
23
  ascendingOrder?: boolean;
24
24
  }
@@ -19,7 +19,7 @@ export interface ChatsListChatsRequest {
19
19
  * For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
20
20
  */
21
21
  pageSize?: number;
22
- /** 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. */
23
23
  ascendingOrder?: boolean;
24
24
  /** Filter to only include chats that used this config. */
25
25
  configId?: string;
@@ -11,6 +11,10 @@ export declare class ConfigsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<ConfigsClient.Options>;
12
12
  constructor(options?: ConfigsClient.Options);
13
13
  /**
14
+ * Fetches a paginated list of **Configs**.
15
+ *
16
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
17
+ *
14
18
  * @param {Hume.empathicVoice.ConfigsListConfigsRequest} request
15
19
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
16
20
  *
@@ -24,6 +28,10 @@ export declare class ConfigsClient {
24
28
  */
25
29
  listConfigs(request?: Hume.empathicVoice.ConfigsListConfigsRequest, requestOptions?: ConfigsClient.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnConfig, Hume.empathicVoice.ReturnPagedConfigs>>;
26
30
  /**
31
+ * Creates a **Config** which can be applied to EVI.
32
+ *
33
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
34
+ *
27
35
  * @param {Hume.empathicVoice.PostedConfig} request
28
36
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
29
37
  *
@@ -65,7 +73,11 @@ export declare class ConfigsClient {
65
73
  createConfig(request: Hume.empathicVoice.PostedConfig, requestOptions?: ConfigsClient.RequestOptions): core.HttpResponsePromise<Hume.empathicVoice.ReturnConfig>;
66
74
  private __createConfig;
67
75
  /**
68
- * @param {string} id - Identifier for a config. Formatted as a UUID.
76
+ * Fetches a list of a **Config's** versions.
77
+ *
78
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
79
+ *
80
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
69
81
  * @param {Hume.empathicVoice.ConfigsListConfigVersionsRequest} request
70
82
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
71
83
  *
@@ -76,7 +88,11 @@ export declare class ConfigsClient {
76
88
  */
77
89
  listConfigVersions(id: string, request?: Hume.empathicVoice.ConfigsListConfigVersionsRequest, requestOptions?: ConfigsClient.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnConfig, Hume.empathicVoice.ReturnPagedConfigs>>;
78
90
  /**
79
- * @param {string} id - Identifier for a config. Formatted as a UUID.
91
+ * Updates a **Config** by creating a new version of the **Config**.
92
+ *
93
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
94
+ *
95
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
80
96
  * @param {Hume.empathicVoice.PostedConfigVersion} request
81
97
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
82
98
  *
@@ -121,7 +137,11 @@ export declare class ConfigsClient {
121
137
  createConfigVersion(id: string, request: Hume.empathicVoice.PostedConfigVersion, requestOptions?: ConfigsClient.RequestOptions): core.HttpResponsePromise<Hume.empathicVoice.ReturnConfig>;
122
138
  private __createConfigVersion;
123
139
  /**
124
- * @param {string} id - Identifier for a config. Formatted as a UUID.
140
+ * Deletes a **Config** and its versions.
141
+ *
142
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
143
+ *
144
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
125
145
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
126
146
  *
127
147
  * @throws {@link Hume.empathicVoice.BadRequestError}
@@ -132,7 +152,11 @@ export declare class ConfigsClient {
132
152
  deleteConfig(id: string, requestOptions?: ConfigsClient.RequestOptions): core.HttpResponsePromise<void>;
133
153
  private __deleteConfig;
134
154
  /**
135
- * @param {string} id - Identifier for a config. Formatted as a UUID.
155
+ * Updates the name of a **Config**.
156
+ *
157
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
158
+ *
159
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
136
160
  * @param {Hume.empathicVoice.PostedConfigName} request
137
161
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
138
162
  *
@@ -146,8 +170,16 @@ export declare class ConfigsClient {
146
170
  updateConfigName(id: string, request: Hume.empathicVoice.PostedConfigName, requestOptions?: ConfigsClient.RequestOptions): core.HttpResponsePromise<string>;
147
171
  private __updateConfigName;
148
172
  /**
149
- * @param {string} id - Identifier for a config. Formatted as a UUID.
150
- * @param {number} version - Version number for a config. Version numbers should be integers.
173
+ * Fetches a specified version of a **Config**.
174
+ *
175
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
176
+ *
177
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
178
+ * @param {number} version - Version number for a Config.
179
+ *
180
+ * Configs, Prompts, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
181
+ *
182
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
151
183
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
152
184
  *
153
185
  * @throws {@link Hume.empathicVoice.BadRequestError}
@@ -158,8 +190,16 @@ export declare class ConfigsClient {
158
190
  getConfigVersion(id: string, version: number, requestOptions?: ConfigsClient.RequestOptions): core.HttpResponsePromise<Hume.empathicVoice.ReturnConfig>;
159
191
  private __getConfigVersion;
160
192
  /**
161
- * @param {string} id - Identifier for a config. Formatted as a UUID.
162
- * @param {number} version - Version number for a config. Version numbers should be integers.
193
+ * Deletes a specified version of a **Config**.
194
+ *
195
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
196
+ *
197
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
198
+ * @param {number} version - Version number for a Config.
199
+ *
200
+ * Configs, Prompts, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
201
+ *
202
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
163
203
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
164
204
  *
165
205
  * @throws {@link Hume.empathicVoice.BadRequestError}
@@ -170,8 +210,16 @@ export declare class ConfigsClient {
170
210
  deleteConfigVersion(id: string, version: number, requestOptions?: ConfigsClient.RequestOptions): core.HttpResponsePromise<void>;
171
211
  private __deleteConfigVersion;
172
212
  /**
173
- * @param {string} id - Identifier for a config. Formatted as a UUID.
174
- * @param {number} version - Version number for a config. Version numbers should be integers.
213
+ * Updates the description of a **Config**.
214
+ *
215
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
216
+ *
217
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
218
+ * @param {number} version - Version number for a Config.
219
+ *
220
+ * Configs, Prompts, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
221
+ *
222
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
175
223
  * @param {Hume.empathicVoice.PostedConfigVersionDescription} request
176
224
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
177
225
  *
@@ -21,6 +21,10 @@ export class ConfigsClient {
21
21
  this._options = normalizeClientOptionsWithAuth(options);
22
22
  }
23
23
  /**
24
+ * Fetches a paginated list of **Configs**.
25
+ *
26
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
27
+ *
24
28
  * @param {Hume.empathicVoice.ConfigsListConfigsRequest} request
25
29
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
26
30
  *
@@ -104,6 +108,10 @@ export class ConfigsClient {
104
108
  });
105
109
  }
106
110
  /**
111
+ * Creates a **Config** which can be applied to EVI.
112
+ *
113
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
114
+ *
107
115
  * @param {Hume.empathicVoice.PostedConfig} request
108
116
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
109
117
  *
@@ -201,7 +209,11 @@ export class ConfigsClient {
201
209
  });
202
210
  }
203
211
  /**
204
- * @param {string} id - Identifier for a config. Formatted as a UUID.
212
+ * Fetches a list of a **Config's** versions.
213
+ *
214
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
215
+ *
216
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
205
217
  * @param {Hume.empathicVoice.ConfigsListConfigVersionsRequest} request
206
218
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
207
219
  *
@@ -281,7 +293,11 @@ export class ConfigsClient {
281
293
  });
282
294
  }
283
295
  /**
284
- * @param {string} id - Identifier for a config. Formatted as a UUID.
296
+ * Updates a **Config** by creating a new version of the **Config**.
297
+ *
298
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
299
+ *
300
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
285
301
  * @param {Hume.empathicVoice.PostedConfigVersion} request
286
302
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
287
303
  *
@@ -382,7 +398,11 @@ export class ConfigsClient {
382
398
  });
383
399
  }
384
400
  /**
385
- * @param {string} id - Identifier for a config. Formatted as a UUID.
401
+ * Deletes a **Config** and its versions.
402
+ *
403
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
404
+ *
405
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
386
406
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
387
407
  *
388
408
  * @throws {@link Hume.empathicVoice.BadRequestError}
@@ -434,7 +454,11 @@ export class ConfigsClient {
434
454
  });
435
455
  }
436
456
  /**
437
- * @param {string} id - Identifier for a config. Formatted as a UUID.
457
+ * Updates the name of a **Config**.
458
+ *
459
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
460
+ *
461
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
438
462
  * @param {Hume.empathicVoice.PostedConfigName} request
439
463
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
440
464
  *
@@ -496,8 +520,16 @@ export class ConfigsClient {
496
520
  });
497
521
  }
498
522
  /**
499
- * @param {string} id - Identifier for a config. Formatted as a UUID.
500
- * @param {number} version - Version number for a config. Version numbers should be integers.
523
+ * Fetches a specified version of a **Config**.
524
+ *
525
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
526
+ *
527
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
528
+ * @param {number} version - Version number for a Config.
529
+ *
530
+ * Configs, Prompts, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
531
+ *
532
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
501
533
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
502
534
  *
503
535
  * @throws {@link Hume.empathicVoice.BadRequestError}
@@ -558,8 +590,16 @@ export class ConfigsClient {
558
590
  });
559
591
  }
560
592
  /**
561
- * @param {string} id - Identifier for a config. Formatted as a UUID.
562
- * @param {number} version - Version number for a config. Version numbers should be integers.
593
+ * Deletes a specified version of a **Config**.
594
+ *
595
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
596
+ *
597
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
598
+ * @param {number} version - Version number for a Config.
599
+ *
600
+ * Configs, Prompts, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
601
+ *
602
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
563
603
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
564
604
  *
565
605
  * @throws {@link Hume.empathicVoice.BadRequestError}
@@ -611,8 +651,16 @@ export class ConfigsClient {
611
651
  });
612
652
  }
613
653
  /**
614
- * @param {string} id - Identifier for a config. Formatted as a UUID.
615
- * @param {number} version - Version number for a config. Version numbers should be integers.
654
+ * Updates the description of a **Config**.
655
+ *
656
+ * For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
657
+ *
658
+ * @param {string} id - Identifier for a Config. Formatted as a UUID.
659
+ * @param {number} version - Version number for a Config.
660
+ *
661
+ * Configs, Prompts, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
662
+ *
663
+ * Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
616
664
  * @param {Hume.empathicVoice.PostedConfigVersionDescription} request
617
665
  * @param {ConfigsClient.RequestOptions} requestOptions - Request-specific configuration.
618
666
  *
@@ -15,6 +15,6 @@ export interface ConfigsListConfigVersionsRequest {
15
15
  * For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
16
16
  */
17
17
  pageSize?: number;
18
- /** By default, `restrict_to_most_recent` is set to true, returning only the latest version of each tool. To include all versions of each tool in the list, set `restrict_to_most_recent` to false. */
18
+ /** 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
19
  restrictToMostRecent?: boolean;
20
20
  }
@@ -18,7 +18,7 @@ export interface ConfigsListConfigsRequest {
18
18
  * For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
19
19
  */
20
20
  pageSize?: number;
21
- /** By default, `restrict_to_most_recent` is set to true, returning only the latest version of each tool. To include all versions of each tool in the list, set `restrict_to_most_recent` to false. */
21
+ /** 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. */
22
22
  restrictToMostRecent?: boolean;
23
23
  /** Filter to only include configs with this name. */
24
24
  name?: string;