hume 0.9.10 → 0.9.11

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 (349) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +87 -26
  2. package/.mock/definition/empathic-voice/chat.yml +5 -1
  3. package/.mock/definition/empathic-voice/chatGroups.yml +6 -0
  4. package/.mock/definition/empathic-voice/chatWebhooks.yml +24 -13
  5. package/.mock/definition/empathic-voice/chats.yml +3 -0
  6. package/.mock/definition/empathic-voice/configs.yml +8 -1
  7. package/.mock/definition/empathic-voice/customVoices.yml +23 -12
  8. package/.mock/definition/empathic-voice/prompts.yml +29 -21
  9. package/.mock/definition/empathic-voice/tools.yml +34 -27
  10. package/.mock/definition/expression-measurement/batch/__package__.yml +23 -0
  11. package/.mock/definition/expression-measurement/stream/__package__.yml +0 -435
  12. package/.mock/definition/expression-measurement/v0StreamModels.yml +437 -0
  13. package/.mock/definition/tts/__package__.yml +394 -0
  14. package/.mock/definition/tts/voices.yml +47 -0
  15. package/.mock/fern.config.json +1 -1
  16. package/Client.d.ts +3 -0
  17. package/Client.js +5 -0
  18. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  19. package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  20. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  21. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
  22. package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
  23. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
  24. package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
  25. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
  26. package/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
  27. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
  28. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
  29. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  30. package/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  31. package/api/resources/empathicVoice/types/Context.d.ts +2 -2
  32. package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  33. package/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
  34. package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  35. package/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
  36. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
  37. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  38. package/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
  39. package/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
  40. package/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +5 -0
  41. package/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -2
  42. package/api/resources/index.d.ts +2 -1
  43. package/api/resources/index.js +3 -2
  44. package/api/resources/tts/client/Client.d.ts +86 -0
  45. package/api/resources/tts/client/Client.js +218 -0
  46. package/api/resources/tts/client/index.d.ts +1 -0
  47. package/api/resources/tts/client/index.js +2 -0
  48. package/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
  49. package/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
  50. package/api/resources/tts/errors/index.d.ts +1 -0
  51. package/api/resources/tts/errors/index.js +17 -0
  52. package/api/resources/tts/index.d.ts +4 -0
  53. package/api/resources/tts/index.js +20 -0
  54. package/api/resources/tts/resources/index.d.ts +2 -0
  55. package/api/resources/tts/resources/index.js +31 -0
  56. package/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
  57. package/api/resources/tts/resources/voices/client/Client.js +126 -0
  58. package/api/resources/tts/resources/voices/client/index.d.ts +1 -0
  59. package/api/resources/tts/resources/voices/client/index.js +17 -0
  60. package/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
  61. package/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
  62. package/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  63. package/api/resources/tts/resources/voices/client/requests/index.js +2 -0
  64. package/api/resources/tts/resources/voices/index.d.ts +1 -0
  65. package/api/resources/tts/resources/voices/index.js +17 -0
  66. package/api/resources/tts/types/AudioEncoding.d.ts +10 -0
  67. package/api/resources/tts/types/AudioEncoding.js +5 -0
  68. package/api/resources/tts/types/AudioFormatType.d.ts +9 -0
  69. package/api/resources/tts/types/AudioFormatType.js +11 -0
  70. package/api/resources/tts/types/Format.d.ts +19 -0
  71. package/api/resources/tts/types/Format.js +5 -0
  72. package/api/resources/tts/types/FormatMp3.d.ts +5 -0
  73. package/api/resources/tts/types/FormatMp3.js +5 -0
  74. package/api/resources/tts/types/FormatPcm.d.ts +5 -0
  75. package/api/resources/tts/types/FormatPcm.js +5 -0
  76. package/api/resources/tts/types/FormatWav.d.ts +5 -0
  77. package/api/resources/tts/types/FormatWav.js +5 -0
  78. package/api/resources/tts/types/HttpValidationError.d.ts +7 -0
  79. package/api/resources/tts/types/HttpValidationError.js +5 -0
  80. package/api/resources/tts/types/PostedContext.d.ts +8 -0
  81. package/api/resources/tts/types/PostedContext.js +5 -0
  82. package/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
  83. package/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
  84. package/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
  85. package/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
  86. package/api/resources/tts/types/PostedTts.d.ts +14 -0
  87. package/api/resources/tts/types/PostedTts.js +5 -0
  88. package/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
  89. package/api/resources/tts/types/PostedTtsRecord.js +5 -0
  90. package/api/resources/tts/types/PostedUtterance.d.ts +22 -0
  91. package/api/resources/tts/types/PostedUtterance.js +5 -0
  92. package/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
  93. package/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
  94. package/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
  95. package/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
  96. package/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
  97. package/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
  98. package/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
  99. package/api/resources/tts/types/ReturnGeneration.js +5 -0
  100. package/api/resources/tts/types/ReturnTts.d.ts +9 -0
  101. package/api/resources/tts/types/ReturnTts.js +5 -0
  102. package/api/resources/tts/types/ReturnVoice.d.ts +9 -0
  103. package/api/resources/tts/types/ReturnVoice.js +5 -0
  104. package/api/resources/tts/types/Snippet.d.ts +11 -0
  105. package/api/resources/tts/types/Snippet.js +5 -0
  106. package/api/resources/tts/types/ValidationError.d.ts +9 -0
  107. package/api/resources/tts/types/ValidationError.js +5 -0
  108. package/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
  109. package/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
  110. package/api/resources/tts/types/VoiceProvider.d.ts +8 -0
  111. package/api/resources/tts/types/VoiceProvider.js +10 -0
  112. package/api/resources/tts/types/index.d.ts +23 -0
  113. package/api/resources/tts/types/index.js +39 -0
  114. package/dist/Client.d.ts +3 -0
  115. package/dist/Client.js +5 -0
  116. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  117. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  118. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  119. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
  120. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
  121. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
  122. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
  123. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
  124. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
  125. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
  126. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
  127. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  128. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  129. package/dist/api/resources/empathicVoice/types/Context.d.ts +2 -2
  130. package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  131. package/dist/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
  132. package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  133. package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
  134. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
  135. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  136. package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
  137. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
  138. package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +5 -0
  139. package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -2
  140. package/dist/api/resources/index.d.ts +2 -1
  141. package/dist/api/resources/index.js +3 -2
  142. package/dist/api/resources/tts/client/Client.d.ts +86 -0
  143. package/dist/api/resources/tts/client/Client.js +218 -0
  144. package/dist/api/resources/tts/client/index.d.ts +1 -0
  145. package/dist/api/resources/tts/client/index.js +2 -0
  146. package/dist/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
  147. package/dist/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
  148. package/dist/api/resources/tts/errors/index.d.ts +1 -0
  149. package/dist/api/resources/tts/errors/index.js +17 -0
  150. package/dist/api/resources/tts/index.d.ts +4 -0
  151. package/dist/api/resources/tts/index.js +20 -0
  152. package/dist/api/resources/tts/resources/index.d.ts +2 -0
  153. package/dist/api/resources/tts/resources/index.js +31 -0
  154. package/dist/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
  155. package/dist/api/resources/tts/resources/voices/client/Client.js +126 -0
  156. package/dist/api/resources/tts/resources/voices/client/index.d.ts +1 -0
  157. package/dist/api/resources/tts/resources/voices/client/index.js +17 -0
  158. package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
  159. package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
  160. package/dist/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  161. package/dist/api/resources/tts/resources/voices/client/requests/index.js +2 -0
  162. package/dist/api/resources/tts/resources/voices/index.d.ts +1 -0
  163. package/dist/api/resources/tts/resources/voices/index.js +17 -0
  164. package/dist/api/resources/tts/types/AudioEncoding.d.ts +10 -0
  165. package/dist/api/resources/tts/types/AudioEncoding.js +5 -0
  166. package/dist/api/resources/tts/types/AudioFormatType.d.ts +9 -0
  167. package/dist/api/resources/tts/types/AudioFormatType.js +11 -0
  168. package/dist/api/resources/tts/types/Format.d.ts +19 -0
  169. package/dist/api/resources/tts/types/Format.js +5 -0
  170. package/dist/api/resources/tts/types/FormatMp3.d.ts +5 -0
  171. package/dist/api/resources/tts/types/FormatMp3.js +5 -0
  172. package/dist/api/resources/tts/types/FormatPcm.d.ts +5 -0
  173. package/dist/api/resources/tts/types/FormatPcm.js +5 -0
  174. package/dist/api/resources/tts/types/FormatWav.d.ts +5 -0
  175. package/dist/api/resources/tts/types/FormatWav.js +5 -0
  176. package/dist/api/resources/tts/types/HttpValidationError.d.ts +7 -0
  177. package/dist/api/resources/tts/types/HttpValidationError.js +5 -0
  178. package/dist/api/resources/tts/types/PostedContext.d.ts +8 -0
  179. package/dist/api/resources/tts/types/PostedContext.js +5 -0
  180. package/dist/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
  181. package/dist/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
  182. package/dist/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
  183. package/dist/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
  184. package/dist/api/resources/tts/types/PostedTts.d.ts +14 -0
  185. package/dist/api/resources/tts/types/PostedTts.js +5 -0
  186. package/dist/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
  187. package/dist/api/resources/tts/types/PostedTtsRecord.js +5 -0
  188. package/dist/api/resources/tts/types/PostedUtterance.d.ts +22 -0
  189. package/dist/api/resources/tts/types/PostedUtterance.js +5 -0
  190. package/dist/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
  191. package/dist/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
  192. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
  193. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
  194. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
  195. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
  196. package/dist/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
  197. package/dist/api/resources/tts/types/ReturnGeneration.js +5 -0
  198. package/dist/api/resources/tts/types/ReturnTts.d.ts +9 -0
  199. package/dist/api/resources/tts/types/ReturnTts.js +5 -0
  200. package/dist/api/resources/tts/types/ReturnVoice.d.ts +9 -0
  201. package/dist/api/resources/tts/types/ReturnVoice.js +5 -0
  202. package/dist/api/resources/tts/types/Snippet.d.ts +11 -0
  203. package/dist/api/resources/tts/types/Snippet.js +5 -0
  204. package/dist/api/resources/tts/types/ValidationError.d.ts +9 -0
  205. package/dist/api/resources/tts/types/ValidationError.js +5 -0
  206. package/dist/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
  207. package/dist/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
  208. package/dist/api/resources/tts/types/VoiceProvider.d.ts +8 -0
  209. package/dist/api/resources/tts/types/VoiceProvider.js +10 -0
  210. package/dist/api/resources/tts/types/index.d.ts +23 -0
  211. package/dist/api/resources/tts/types/index.js +39 -0
  212. package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
  213. package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
  214. package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
  215. package/dist/serialization/resources/index.d.ts +2 -1
  216. package/dist/serialization/resources/index.js +3 -2
  217. package/dist/serialization/resources/tts/index.d.ts +2 -0
  218. package/dist/serialization/resources/tts/index.js +18 -0
  219. package/dist/serialization/resources/tts/resources/index.d.ts +2 -0
  220. package/dist/serialization/resources/tts/resources/index.js +31 -0
  221. package/dist/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
  222. package/dist/serialization/resources/tts/resources/voices/client/index.js +17 -0
  223. package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
  224. package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
  225. package/dist/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  226. package/dist/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
  227. package/dist/serialization/resources/tts/resources/voices/index.d.ts +1 -0
  228. package/dist/serialization/resources/tts/resources/voices/index.js +17 -0
  229. package/dist/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
  230. package/dist/serialization/resources/tts/types/AudioEncoding.js +35 -0
  231. package/dist/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
  232. package/dist/serialization/resources/tts/types/AudioFormatType.js +31 -0
  233. package/dist/serialization/resources/tts/types/Format.d.ts +22 -0
  234. package/dist/serialization/resources/tts/types/Format.js +43 -0
  235. package/dist/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
  236. package/dist/serialization/resources/tts/types/FormatMp3.js +31 -0
  237. package/dist/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
  238. package/dist/serialization/resources/tts/types/FormatPcm.js +31 -0
  239. package/dist/serialization/resources/tts/types/FormatWav.d.ts +11 -0
  240. package/dist/serialization/resources/tts/types/FormatWav.js +31 -0
  241. package/dist/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
  242. package/dist/serialization/resources/tts/types/HttpValidationError.js +34 -0
  243. package/dist/serialization/resources/tts/types/PostedContext.d.ts +12 -0
  244. package/dist/serialization/resources/tts/types/PostedContext.js +33 -0
  245. package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
  246. package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
  247. package/dist/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
  248. package/dist/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
  249. package/dist/serialization/resources/tts/types/PostedTts.d.ts +18 -0
  250. package/dist/serialization/resources/tts/types/PostedTts.js +39 -0
  251. package/dist/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
  252. package/dist/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
  253. package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
  254. package/dist/serialization/resources/tts/types/PostedUtterance.js +36 -0
  255. package/dist/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
  256. package/dist/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
  257. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
  258. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
  259. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
  260. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
  261. package/dist/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
  262. package/dist/serialization/resources/tts/types/ReturnGeneration.js +40 -0
  263. package/dist/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
  264. package/dist/serialization/resources/tts/types/ReturnTts.js +35 -0
  265. package/dist/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
  266. package/dist/serialization/resources/tts/types/ReturnVoice.js +34 -0
  267. package/dist/serialization/resources/tts/types/Snippet.d.ts +14 -0
  268. package/dist/serialization/resources/tts/types/Snippet.js +35 -0
  269. package/dist/serialization/resources/tts/types/ValidationError.d.ts +15 -0
  270. package/dist/serialization/resources/tts/types/ValidationError.js +36 -0
  271. package/dist/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
  272. package/dist/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
  273. package/dist/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
  274. package/dist/serialization/resources/tts/types/VoiceProvider.js +31 -0
  275. package/dist/serialization/resources/tts/types/index.d.ts +23 -0
  276. package/dist/serialization/resources/tts/types/index.js +39 -0
  277. package/dist/version.d.ts +1 -1
  278. package/dist/version.js +1 -1
  279. package/package.json +1 -1
  280. package/reference.md +489 -178
  281. package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
  282. package/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
  283. package/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
  284. package/serialization/resources/index.d.ts +2 -1
  285. package/serialization/resources/index.js +3 -2
  286. package/serialization/resources/tts/index.d.ts +2 -0
  287. package/serialization/resources/tts/index.js +18 -0
  288. package/serialization/resources/tts/resources/index.d.ts +2 -0
  289. package/serialization/resources/tts/resources/index.js +31 -0
  290. package/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
  291. package/serialization/resources/tts/resources/voices/client/index.js +17 -0
  292. package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
  293. package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
  294. package/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  295. package/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
  296. package/serialization/resources/tts/resources/voices/index.d.ts +1 -0
  297. package/serialization/resources/tts/resources/voices/index.js +17 -0
  298. package/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
  299. package/serialization/resources/tts/types/AudioEncoding.js +35 -0
  300. package/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
  301. package/serialization/resources/tts/types/AudioFormatType.js +31 -0
  302. package/serialization/resources/tts/types/Format.d.ts +22 -0
  303. package/serialization/resources/tts/types/Format.js +43 -0
  304. package/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
  305. package/serialization/resources/tts/types/FormatMp3.js +31 -0
  306. package/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
  307. package/serialization/resources/tts/types/FormatPcm.js +31 -0
  308. package/serialization/resources/tts/types/FormatWav.d.ts +11 -0
  309. package/serialization/resources/tts/types/FormatWav.js +31 -0
  310. package/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
  311. package/serialization/resources/tts/types/HttpValidationError.js +34 -0
  312. package/serialization/resources/tts/types/PostedContext.d.ts +12 -0
  313. package/serialization/resources/tts/types/PostedContext.js +33 -0
  314. package/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
  315. package/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
  316. package/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
  317. package/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
  318. package/serialization/resources/tts/types/PostedTts.d.ts +18 -0
  319. package/serialization/resources/tts/types/PostedTts.js +39 -0
  320. package/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
  321. package/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
  322. package/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
  323. package/serialization/resources/tts/types/PostedUtterance.js +36 -0
  324. package/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
  325. package/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
  326. package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
  327. package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
  328. package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
  329. package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
  330. package/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
  331. package/serialization/resources/tts/types/ReturnGeneration.js +40 -0
  332. package/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
  333. package/serialization/resources/tts/types/ReturnTts.js +35 -0
  334. package/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
  335. package/serialization/resources/tts/types/ReturnVoice.js +34 -0
  336. package/serialization/resources/tts/types/Snippet.d.ts +14 -0
  337. package/serialization/resources/tts/types/Snippet.js +35 -0
  338. package/serialization/resources/tts/types/ValidationError.d.ts +15 -0
  339. package/serialization/resources/tts/types/ValidationError.js +36 -0
  340. package/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
  341. package/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
  342. package/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
  343. package/serialization/resources/tts/types/VoiceProvider.js +31 -0
  344. package/serialization/resources/tts/types/index.d.ts +23 -0
  345. package/serialization/resources/tts/types/index.js +39 -0
  346. package/version.d.ts +1 -1
  347. package/version.js +1 -1
  348. /package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
  349. /package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
@@ -25,7 +25,7 @@ export declare class CustomVoices {
25
25
  /**
26
26
  * Fetches a paginated list of **Custom Voices**.
27
27
  *
28
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
28
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
29
29
  *
30
30
  * @param {Hume.empathicVoice.CustomVoicesListCustomVoicesRequest} request
31
31
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -39,7 +39,7 @@ export declare class CustomVoices {
39
39
  /**
40
40
  * Creates a **Custom Voice** that can be added to an [EVI configuration](/reference/empathic-voice-interface-evi/configs/create-config).
41
41
  *
42
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
42
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
43
43
  *
44
44
  * @param {Hume.empathicVoice.PostedCustomVoice} request
45
45
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -57,7 +57,7 @@ export declare class CustomVoices {
57
57
  /**
58
58
  * Fetches a specific **Custom Voice** by ID.
59
59
  *
60
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
60
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
61
61
  *
62
62
  * @param {string} id - Identifier for a Custom Voice. Formatted as a UUID.
63
63
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -71,7 +71,7 @@ export declare class CustomVoices {
71
71
  /**
72
72
  * Updates a **Custom Voice** by creating a new version of the **Custom Voice**.
73
73
  *
74
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
74
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
75
75
  *
76
76
  * @param {string} id - Identifier for a Custom Voice. Formatted as a UUID.
77
77
  * @param {Hume.empathicVoice.PostedCustomVoice} request
@@ -90,7 +90,7 @@ export declare class CustomVoices {
90
90
  /**
91
91
  * Deletes a **Custom Voice** and its versions.
92
92
  *
93
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
93
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
94
94
  *
95
95
  * @param {string} id - Identifier for a Custom Voice. Formatted as a UUID.
96
96
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -104,13 +104,18 @@ export declare class CustomVoices {
104
104
  /**
105
105
  * Updates the name of a **Custom Voice**.
106
106
  *
107
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
107
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
108
108
  *
109
109
  * @param {string} id - Identifier for a Custom Voice. Formatted as a UUID.
110
110
  * @param {Hume.empathicVoice.PostedCustomVoiceName} request
111
111
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
112
112
  *
113
113
  * @throws {@link Hume.empathicVoice.BadRequestError}
114
+ *
115
+ * @example
116
+ * await client.empathicVoice.customVoices.updateCustomVoiceName("id", {
117
+ * name: "name"
118
+ * })
114
119
  */
115
120
  updateCustomVoiceName(id: string, request: Hume.empathicVoice.PostedCustomVoiceName, requestOptions?: CustomVoices.RequestOptions): Promise<string>;
116
121
  protected _getCustomAuthorizationHeaders(): Promise<{
@@ -52,7 +52,7 @@ class CustomVoices {
52
52
  /**
53
53
  * Fetches a paginated list of **Custom Voices**.
54
54
  *
55
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
55
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
56
56
  *
57
57
  * @param {Hume.empathicVoice.CustomVoicesListCustomVoicesRequest} request
58
58
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -79,7 +79,7 @@ class CustomVoices {
79
79
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
80
80
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/custom_voices"),
81
81
  method: "GET",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -129,7 +129,7 @@ class CustomVoices {
129
129
  /**
130
130
  * Creates a **Custom Voice** that can be added to an [EVI configuration](/reference/empathic-voice-interface-evi/configs/create-config).
131
131
  *
132
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
132
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
133
133
  *
134
134
  * @param {Hume.empathicVoice.PostedCustomVoice} request
135
135
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -149,7 +149,7 @@ class CustomVoices {
149
149
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
150
150
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/custom_voices"),
151
151
  method: "POST",
152
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
152
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
153
153
  contentType: "application/json",
154
154
  requestType: "json",
155
155
  body: serializers.empathicVoice.PostedCustomVoice.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -199,7 +199,7 @@ class CustomVoices {
199
199
  /**
200
200
  * Fetches a specific **Custom Voice** by ID.
201
201
  *
202
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
202
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
203
203
  *
204
204
  * @param {string} id - Identifier for a Custom Voice. Formatted as a UUID.
205
205
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -215,7 +215,7 @@ class CustomVoices {
215
215
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
216
216
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
217
217
  method: "GET",
218
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
218
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
219
219
  contentType: "application/json",
220
220
  requestType: "json",
221
221
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -264,7 +264,7 @@ class CustomVoices {
264
264
  /**
265
265
  * Updates a **Custom Voice** by creating a new version of the **Custom Voice**.
266
266
  *
267
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
267
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
268
268
  *
269
269
  * @param {string} id - Identifier for a Custom Voice. Formatted as a UUID.
270
270
  * @param {Hume.empathicVoice.PostedCustomVoice} request
@@ -285,7 +285,7 @@ class CustomVoices {
285
285
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
286
286
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
287
287
  method: "POST",
288
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
288
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
289
289
  contentType: "application/json",
290
290
  requestType: "json",
291
291
  body: serializers.empathicVoice.PostedCustomVoice.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -335,7 +335,7 @@ class CustomVoices {
335
335
  /**
336
336
  * Deletes a **Custom Voice** and its versions.
337
337
  *
338
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
338
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
339
339
  *
340
340
  * @param {string} id - Identifier for a Custom Voice. Formatted as a UUID.
341
341
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -351,7 +351,7 @@ class CustomVoices {
351
351
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
352
352
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
353
353
  method: "DELETE",
354
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
354
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
355
355
  contentType: "application/json",
356
356
  requestType: "json",
357
357
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -395,13 +395,18 @@ class CustomVoices {
395
395
  /**
396
396
  * Updates the name of a **Custom Voice**.
397
397
  *
398
- * Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices) for details on creating a custom voice.
398
+ * Refer to our [voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for details on creating a custom voice.
399
399
  *
400
400
  * @param {string} id - Identifier for a Custom Voice. Formatted as a UUID.
401
401
  * @param {Hume.empathicVoice.PostedCustomVoiceName} request
402
402
  * @param {CustomVoices.RequestOptions} requestOptions - Request-specific configuration.
403
403
  *
404
404
  * @throws {@link Hume.empathicVoice.BadRequestError}
405
+ *
406
+ * @example
407
+ * await client.empathicVoice.customVoices.updateCustomVoiceName("id", {
408
+ * name: "name"
409
+ * })
405
410
  */
406
411
  updateCustomVoiceName(id, request, requestOptions) {
407
412
  var _a, _b;
@@ -409,7 +414,7 @@ class CustomVoices {
409
414
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
410
415
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/custom_voices/${encodeURIComponent(id)}`),
411
416
  method: "PATCH",
412
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
417
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
413
418
  contentType: "application/json",
414
419
  requestType: "json",
415
420
  body: serializers.empathicVoice.PostedCustomVoiceName.jsonOrThrow(request, {
@@ -1,6 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /**
5
+ * @example
6
+ * {
7
+ * name: "name"
8
+ * }
9
+ */
4
10
  export interface PostedCustomVoiceName {
5
11
  /** The name of the Custom Voice. Maximum length of 75 characters. Will be converted to all-uppercase. (e.g., "sample voice" becomes "SAMPLE VOICE") */
6
12
  name: string;
@@ -25,7 +25,7 @@ export declare class Prompts {
25
25
  /**
26
26
  * Fetches a paginated list of **Prompts**.
27
27
  *
28
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
28
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
29
29
  *
30
30
  * @param {Hume.empathicVoice.PromptsListPromptsRequest} request
31
31
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -42,7 +42,7 @@ export declare class Prompts {
42
42
  /**
43
43
  * Creates a **Prompt** that can be added to an [EVI configuration](/reference/empathic-voice-interface-evi/configs/create-config).
44
44
  *
45
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
45
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
46
46
  *
47
47
  * @param {Hume.empathicVoice.PostedPrompt} request
48
48
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -59,7 +59,7 @@ export declare class Prompts {
59
59
  /**
60
60
  * Fetches a list of a **Prompt's** versions.
61
61
  *
62
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
62
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
63
63
  *
64
64
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
65
65
  * @param {Hume.empathicVoice.PromptsListPromptVersionsRequest} request
@@ -74,7 +74,7 @@ export declare class Prompts {
74
74
  /**
75
75
  * Updates a **Prompt** by creating a new version of the **Prompt**.
76
76
  *
77
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
77
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
78
78
  *
79
79
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
80
80
  * @param {Hume.empathicVoice.PostedPromptVersion} request
@@ -83,16 +83,16 @@ export declare class Prompts {
83
83
  * @throws {@link Hume.empathicVoice.BadRequestError}
84
84
  *
85
85
  * @example
86
- * await client.empathicVoice.prompts.createPromptVerison("af699d45-2985-42cc-91b9-af9e5da3bac5", {
86
+ * await client.empathicVoice.prompts.createPromptVersion("af699d45-2985-42cc-91b9-af9e5da3bac5", {
87
87
  * text: "<role>You are an updated version of an AI weather assistant providing users with accurate and up-to-date weather information. Respond to user queries concisely and clearly. Use simple language and avoid technical jargon. Provide temperature, precipitation, wind conditions, and any weather alerts. Include helpful tips if severe weather is expected.</role>",
88
88
  * versionDescription: "This is an updated version of the Weather Assistant Prompt."
89
89
  * })
90
90
  */
91
- createPromptVerison(id: string, request: Hume.empathicVoice.PostedPromptVersion, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
91
+ createPromptVersion(id: string, request: Hume.empathicVoice.PostedPromptVersion, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
92
92
  /**
93
93
  * Deletes a **Prompt** and its versions.
94
94
  *
95
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
95
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
96
96
  *
97
97
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
98
98
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -106,7 +106,7 @@ export declare class Prompts {
106
106
  /**
107
107
  * Updates the name of a **Prompt**.
108
108
  *
109
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
109
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
110
110
  *
111
111
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
112
112
  * @param {Hume.empathicVoice.PostedPromptName} request
@@ -123,7 +123,7 @@ export declare class Prompts {
123
123
  /**
124
124
  * Fetches a specified version of a **Prompt**.
125
125
  *
126
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
126
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
127
127
  *
128
128
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
129
129
  * @param {number} version - Version number for a Prompt.
@@ -142,7 +142,7 @@ export declare class Prompts {
142
142
  /**
143
143
  * Deletes a specified version of a **Prompt**.
144
144
  *
145
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
145
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
146
146
  *
147
147
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
148
148
  * @param {number} version - Version number for a Prompt.
@@ -161,7 +161,7 @@ export declare class Prompts {
161
161
  /**
162
162
  * Updates the description of a **Prompt**.
163
163
  *
164
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
164
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
165
165
  *
166
166
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
167
167
  * @param {number} version - Version number for a Prompt.
@@ -52,7 +52,7 @@ class Prompts {
52
52
  /**
53
53
  * Fetches a paginated list of **Prompts**.
54
54
  *
55
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
55
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
56
56
  *
57
57
  * @param {Hume.empathicVoice.PromptsListPromptsRequest} request
58
58
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -86,7 +86,7 @@ class Prompts {
86
86
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
87
87
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
88
88
  method: "GET",
89
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
89
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
90
90
  contentType: "application/json",
91
91
  queryParameters: _queryParams,
92
92
  requestType: "json",
@@ -147,7 +147,7 @@ class Prompts {
147
147
  /**
148
148
  * Creates a **Prompt** that can be added to an [EVI configuration](/reference/empathic-voice-interface-evi/configs/create-config).
149
149
  *
150
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
150
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
151
151
  *
152
152
  * @param {Hume.empathicVoice.PostedPrompt} request
153
153
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -166,7 +166,7 @@ class Prompts {
166
166
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
167
167
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
168
168
  method: "POST",
169
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
169
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  body: serializers.empathicVoice.PostedPrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -216,7 +216,7 @@ class Prompts {
216
216
  /**
217
217
  * Fetches a list of a **Prompt's** versions.
218
218
  *
219
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
219
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
220
220
  *
221
221
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
222
222
  * @param {Hume.empathicVoice.PromptsListPromptVersionsRequest} request
@@ -244,7 +244,7 @@ class Prompts {
244
244
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
245
245
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
246
246
  method: "GET",
247
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
247
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
248
248
  contentType: "application/json",
249
249
  queryParameters: _queryParams,
250
250
  requestType: "json",
@@ -294,7 +294,7 @@ class Prompts {
294
294
  /**
295
295
  * Updates a **Prompt** by creating a new version of the **Prompt**.
296
296
  *
297
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
297
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
298
298
  *
299
299
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
300
300
  * @param {Hume.empathicVoice.PostedPromptVersion} request
@@ -303,18 +303,18 @@ class Prompts {
303
303
  * @throws {@link Hume.empathicVoice.BadRequestError}
304
304
  *
305
305
  * @example
306
- * await client.empathicVoice.prompts.createPromptVerison("af699d45-2985-42cc-91b9-af9e5da3bac5", {
306
+ * await client.empathicVoice.prompts.createPromptVersion("af699d45-2985-42cc-91b9-af9e5da3bac5", {
307
307
  * text: "<role>You are an updated version of an AI weather assistant providing users with accurate and up-to-date weather information. Respond to user queries concisely and clearly. Use simple language and avoid technical jargon. Provide temperature, precipitation, wind conditions, and any weather alerts. Include helpful tips if severe weather is expected.</role>",
308
308
  * versionDescription: "This is an updated version of the Weather Assistant Prompt."
309
309
  * })
310
310
  */
311
- createPromptVerison(id, request, requestOptions) {
311
+ createPromptVersion(id, request, requestOptions) {
312
312
  var _a, _b;
313
313
  return __awaiter(this, void 0, void 0, function* () {
314
314
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
315
315
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
316
316
  method: "POST",
317
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
317
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  body: serializers.empathicVoice.PostedPromptVersion.jsonOrThrow(request, {
@@ -325,7 +325,7 @@ class Prompts {
325
325
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
326
326
  });
327
327
  if (_response.ok) {
328
- return serializers.empathicVoice.prompts.createPromptVerison.Response.parseOrThrow(_response.body, {
328
+ return serializers.empathicVoice.prompts.createPromptVersion.Response.parseOrThrow(_response.body, {
329
329
  unrecognizedObjectKeys: "passthrough",
330
330
  allowUnrecognizedUnionMembers: true,
331
331
  allowUnrecognizedEnumValues: true,
@@ -366,7 +366,7 @@ class Prompts {
366
366
  /**
367
367
  * Deletes a **Prompt** and its versions.
368
368
  *
369
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
369
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
370
370
  *
371
371
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
372
372
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -382,7 +382,7 @@ class Prompts {
382
382
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
383
383
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
384
384
  method: "DELETE",
385
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
385
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
386
386
  contentType: "application/json",
387
387
  requestType: "json",
388
388
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -426,7 +426,7 @@ class Prompts {
426
426
  /**
427
427
  * Updates the name of a **Prompt**.
428
428
  *
429
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
429
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
430
430
  *
431
431
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
432
432
  * @param {Hume.empathicVoice.PostedPromptName} request
@@ -445,7 +445,7 @@ class Prompts {
445
445
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
446
446
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
447
447
  method: "PATCH",
448
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
448
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
449
449
  contentType: "application/json",
450
450
  requestType: "json",
451
451
  body: serializers.empathicVoice.PostedPromptName.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -491,7 +491,7 @@ class Prompts {
491
491
  /**
492
492
  * Fetches a specified version of a **Prompt**.
493
493
  *
494
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
494
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
495
495
  *
496
496
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
497
497
  * @param {number} version - Version number for a Prompt.
@@ -512,7 +512,7 @@ class Prompts {
512
512
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
513
513
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
514
514
  method: "GET",
515
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
515
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
516
516
  contentType: "application/json",
517
517
  requestType: "json",
518
518
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -561,7 +561,7 @@ class Prompts {
561
561
  /**
562
562
  * Deletes a specified version of a **Prompt**.
563
563
  *
564
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
564
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
565
565
  *
566
566
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
567
567
  * @param {number} version - Version number for a Prompt.
@@ -582,7 +582,7 @@ class Prompts {
582
582
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
583
583
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
584
584
  method: "DELETE",
585
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
585
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
586
586
  contentType: "application/json",
587
587
  requestType: "json",
588
588
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -626,7 +626,7 @@ class Prompts {
626
626
  /**
627
627
  * Updates the description of a **Prompt**.
628
628
  *
629
- * See our [prompting guide](/docs/empathic-voice-interface-evi/phone-calling) for tips on crafting your system prompt.
629
+ * See our [prompting guide](/docs/empathic-voice-interface-evi/guides/phone-calling) for tips on crafting your system prompt.
630
630
  *
631
631
  * @param {string} id - Identifier for a Prompt. Formatted as a UUID.
632
632
  * @param {number} version - Version number for a Prompt.
@@ -650,7 +650,7 @@ class Prompts {
650
650
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
651
651
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
652
652
  method: "PATCH",
653
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "hume/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
653
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "hume/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
654
654
  contentType: "application/json",
655
655
  requestType: "json",
656
656
  body: serializers.empathicVoice.PostedPromptVersionDescription.jsonOrThrow(request, {
@@ -18,7 +18,7 @@ export interface PostedPrompt {
18
18
  *
19
19
  * You can use the Prompt to define a specific goal or role for EVI, specifying how it should act or what it should focus on during the conversation. For example, EVI can be instructed to act as a customer support representative, a fitness coach, or a travel advisor, each with its own set of behaviors and response styles.
20
20
  *
21
- * For help writing a system prompt, see our [Prompting Guide](/docs/empathic-voice-interface-evi/prompting).
21
+ * For help writing a system prompt, see our [Prompting Guide](/docs/empathic-voice-interface-evi/guides/prompting).
22
22
  */
23
23
  text: string;
24
24
  }
@@ -16,7 +16,7 @@ export interface PostedPromptVersion {
16
16
  *
17
17
  * You can use the Prompt to define a specific goal or role for EVI, specifying how it should act or what it should focus on during the conversation. For example, EVI can be instructed to act as a customer support representative, a fitness coach, or a travel advisor, each with its own set of behaviors and response styles.
18
18
  *
19
- * For help writing a system prompt, see our [Prompting Guide](/docs/empathic-voice-interface-evi/prompting).
19
+ * For help writing a system prompt, see our [Prompting Guide](/docs/empathic-voice-interface-evi/guides/prompting).
20
20
  */
21
21
  text: string;
22
22
  }
@@ -25,7 +25,7 @@ export declare class Tools {
25
25
  /**
26
26
  * Fetches a paginated list of **Tools**.
27
27
  *
28
- * Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
28
+ * Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
29
29
  *
30
30
  * @param {Hume.empathicVoice.ToolsListToolsRequest} request
31
31
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
@@ -42,7 +42,7 @@ export declare class Tools {
42
42
  /**
43
43
  * Creates a **Tool** that can be added to an [EVI configuration](/reference/empathic-voice-interface-evi/configs/create-config).
44
44
  *
45
- * Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
45
+ * Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
46
46
  *
47
47
  * @param {Hume.empathicVoice.PostedUserDefinedTool} request
48
48
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
@@ -62,7 +62,7 @@ export declare class Tools {
62
62
  /**
63
63
  * Fetches a list of a **Tool's** versions.
64
64
  *
65
- * Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
65
+ * Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
66
66
  *
67
67
  * @param {string} id - Identifier for a Tool. Formatted as a UUID.
68
68
  * @param {Hume.empathicVoice.ToolsListToolVersionsRequest} request
@@ -77,7 +77,7 @@ export declare class Tools {
77
77
  /**
78
78
  * Updates a **Tool** by creating a new version of the **Tool**.
79
79
  *
80
- * Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
80
+ * Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
81
81
  *
82
82
  * @param {string} id - Identifier for a Tool. Formatted as a UUID.
83
83
  * @param {Hume.empathicVoice.PostedUserDefinedToolVersion} request
@@ -97,7 +97,7 @@ export declare class Tools {
97
97
  /**
98
98
  * Deletes a **Tool** and its versions.
99
99
  *
100
- * Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
100
+ * Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
101
101
  *
102
102
  * @param {string} id - Identifier for a Tool. Formatted as a UUID.
103
103
  * @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
@@ -111,7 +111,7 @@ export declare class Tools {
111
111
  /**
112
112
  * Updates the name of a **Tool**.
113
113
  *
114
- * Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
114
+ * Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
115
115
  *
116
116
  * @param {string} id - Identifier for a Tool. Formatted as a UUID.
117
117
  * @param {Hume.empathicVoice.PostedUserDefinedToolName} request
@@ -128,7 +128,7 @@ export declare class Tools {
128
128
  /**
129
129
  * Fetches a specified version of a **Tool**.
130
130
  *
131
- * Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
131
+ * Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
132
132
  *
133
133
  * @param {string} id - Identifier for a Tool. Formatted as a UUID.
134
134
  * @param {number} version - Version number for a Tool.
@@ -147,7 +147,7 @@ export declare class Tools {
147
147
  /**
148
148
  * Deletes a specified version of a **Tool**.
149
149
  *
150
- * Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
150
+ * Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
151
151
  *
152
152
  * @param {string} id - Identifier for a Tool. Formatted as a UUID.
153
153
  * @param {number} version - Version number for a Tool.
@@ -166,7 +166,7 @@ export declare class Tools {
166
166
  /**
167
167
  * Updates the description of a specified **Tool** version.
168
168
  *
169
- * Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
169
+ * Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
170
170
  *
171
171
  * @param {string} id - Identifier for a Tool. Formatted as a UUID.
172
172
  * @param {number} version - Version number for a Tool.