hume 0.9.10 → 0.9.12

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 (351) 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/expressionMeasurement/resources/batch/client/Client.js +6 -6
  43. package/api/resources/index.d.ts +1 -0
  44. package/api/resources/index.js +2 -1
  45. package/api/resources/tts/client/Client.d.ts +69 -0
  46. package/api/resources/tts/client/Client.js +200 -0
  47. package/api/resources/tts/client/index.d.ts +1 -0
  48. package/api/resources/tts/client/index.js +2 -0
  49. package/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
  50. package/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
  51. package/api/resources/tts/errors/index.d.ts +1 -0
  52. package/api/resources/tts/errors/index.js +17 -0
  53. package/api/resources/tts/index.d.ts +4 -0
  54. package/api/resources/tts/index.js +20 -0
  55. package/api/resources/tts/resources/index.d.ts +2 -0
  56. package/api/resources/tts/resources/index.js +31 -0
  57. package/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
  58. package/api/resources/tts/resources/voices/client/Client.js +126 -0
  59. package/api/resources/tts/resources/voices/client/index.d.ts +1 -0
  60. package/api/resources/tts/resources/voices/client/index.js +17 -0
  61. package/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
  62. package/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
  63. package/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  64. package/api/resources/tts/resources/voices/client/requests/index.js +2 -0
  65. package/api/resources/tts/resources/voices/index.d.ts +1 -0
  66. package/api/resources/tts/resources/voices/index.js +17 -0
  67. package/api/resources/tts/types/AudioEncoding.d.ts +10 -0
  68. package/api/resources/tts/types/AudioEncoding.js +5 -0
  69. package/api/resources/tts/types/AudioFormatType.d.ts +9 -0
  70. package/api/resources/tts/types/AudioFormatType.js +11 -0
  71. package/api/resources/tts/types/Format.d.ts +19 -0
  72. package/api/resources/tts/types/Format.js +5 -0
  73. package/api/resources/tts/types/FormatMp3.d.ts +5 -0
  74. package/api/resources/tts/types/FormatMp3.js +5 -0
  75. package/api/resources/tts/types/FormatPcm.d.ts +5 -0
  76. package/api/resources/tts/types/FormatPcm.js +5 -0
  77. package/api/resources/tts/types/FormatWav.d.ts +5 -0
  78. package/api/resources/tts/types/FormatWav.js +5 -0
  79. package/api/resources/tts/types/HttpValidationError.d.ts +7 -0
  80. package/api/resources/tts/types/HttpValidationError.js +5 -0
  81. package/api/resources/tts/types/PostedContext.d.ts +8 -0
  82. package/api/resources/tts/types/PostedContext.js +5 -0
  83. package/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
  84. package/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
  85. package/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
  86. package/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
  87. package/api/resources/tts/types/PostedTts.d.ts +14 -0
  88. package/api/resources/tts/types/PostedTts.js +5 -0
  89. package/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
  90. package/api/resources/tts/types/PostedTtsRecord.js +5 -0
  91. package/api/resources/tts/types/PostedUtterance.d.ts +22 -0
  92. package/api/resources/tts/types/PostedUtterance.js +5 -0
  93. package/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
  94. package/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
  95. package/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
  96. package/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
  97. package/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
  98. package/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
  99. package/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
  100. package/api/resources/tts/types/ReturnGeneration.js +5 -0
  101. package/api/resources/tts/types/ReturnTts.d.ts +9 -0
  102. package/api/resources/tts/types/ReturnTts.js +5 -0
  103. package/api/resources/tts/types/ReturnVoice.d.ts +9 -0
  104. package/api/resources/tts/types/ReturnVoice.js +5 -0
  105. package/api/resources/tts/types/Snippet.d.ts +11 -0
  106. package/api/resources/tts/types/Snippet.js +5 -0
  107. package/api/resources/tts/types/ValidationError.d.ts +9 -0
  108. package/api/resources/tts/types/ValidationError.js +5 -0
  109. package/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
  110. package/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
  111. package/api/resources/tts/types/VoiceProvider.d.ts +8 -0
  112. package/api/resources/tts/types/VoiceProvider.js +10 -0
  113. package/api/resources/tts/types/index.d.ts +23 -0
  114. package/api/resources/tts/types/index.js +39 -0
  115. package/dist/Client.d.ts +3 -0
  116. package/dist/Client.js +5 -0
  117. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  118. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  119. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  120. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
  121. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
  122. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
  123. package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
  124. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
  125. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
  126. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
  127. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
  128. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  129. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  130. package/dist/api/resources/empathicVoice/types/Context.d.ts +2 -2
  131. package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  132. package/dist/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
  133. package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
  134. package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
  135. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
  136. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  137. package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
  138. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
  139. package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +5 -0
  140. package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -2
  141. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  142. package/dist/api/resources/index.d.ts +1 -0
  143. package/dist/api/resources/index.js +2 -1
  144. package/dist/api/resources/tts/client/Client.d.ts +69 -0
  145. package/dist/api/resources/tts/client/Client.js +200 -0
  146. package/dist/api/resources/tts/client/index.d.ts +1 -0
  147. package/dist/api/resources/tts/client/index.js +2 -0
  148. package/dist/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
  149. package/dist/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
  150. package/dist/api/resources/tts/errors/index.d.ts +1 -0
  151. package/dist/api/resources/tts/errors/index.js +17 -0
  152. package/dist/api/resources/tts/index.d.ts +4 -0
  153. package/dist/api/resources/tts/index.js +20 -0
  154. package/dist/api/resources/tts/resources/index.d.ts +2 -0
  155. package/dist/api/resources/tts/resources/index.js +31 -0
  156. package/dist/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
  157. package/dist/api/resources/tts/resources/voices/client/Client.js +126 -0
  158. package/dist/api/resources/tts/resources/voices/client/index.d.ts +1 -0
  159. package/dist/api/resources/tts/resources/voices/client/index.js +17 -0
  160. package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
  161. package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
  162. package/dist/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  163. package/dist/api/resources/tts/resources/voices/client/requests/index.js +2 -0
  164. package/dist/api/resources/tts/resources/voices/index.d.ts +1 -0
  165. package/dist/api/resources/tts/resources/voices/index.js +17 -0
  166. package/dist/api/resources/tts/types/AudioEncoding.d.ts +10 -0
  167. package/dist/api/resources/tts/types/AudioEncoding.js +5 -0
  168. package/dist/api/resources/tts/types/AudioFormatType.d.ts +9 -0
  169. package/dist/api/resources/tts/types/AudioFormatType.js +11 -0
  170. package/dist/api/resources/tts/types/Format.d.ts +19 -0
  171. package/dist/api/resources/tts/types/Format.js +5 -0
  172. package/dist/api/resources/tts/types/FormatMp3.d.ts +5 -0
  173. package/dist/api/resources/tts/types/FormatMp3.js +5 -0
  174. package/dist/api/resources/tts/types/FormatPcm.d.ts +5 -0
  175. package/dist/api/resources/tts/types/FormatPcm.js +5 -0
  176. package/dist/api/resources/tts/types/FormatWav.d.ts +5 -0
  177. package/dist/api/resources/tts/types/FormatWav.js +5 -0
  178. package/dist/api/resources/tts/types/HttpValidationError.d.ts +7 -0
  179. package/dist/api/resources/tts/types/HttpValidationError.js +5 -0
  180. package/dist/api/resources/tts/types/PostedContext.d.ts +8 -0
  181. package/dist/api/resources/tts/types/PostedContext.js +5 -0
  182. package/dist/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
  183. package/dist/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
  184. package/dist/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
  185. package/dist/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
  186. package/dist/api/resources/tts/types/PostedTts.d.ts +14 -0
  187. package/dist/api/resources/tts/types/PostedTts.js +5 -0
  188. package/dist/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
  189. package/dist/api/resources/tts/types/PostedTtsRecord.js +5 -0
  190. package/dist/api/resources/tts/types/PostedUtterance.d.ts +22 -0
  191. package/dist/api/resources/tts/types/PostedUtterance.js +5 -0
  192. package/dist/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
  193. package/dist/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
  194. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
  195. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
  196. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
  197. package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
  198. package/dist/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
  199. package/dist/api/resources/tts/types/ReturnGeneration.js +5 -0
  200. package/dist/api/resources/tts/types/ReturnTts.d.ts +9 -0
  201. package/dist/api/resources/tts/types/ReturnTts.js +5 -0
  202. package/dist/api/resources/tts/types/ReturnVoice.d.ts +9 -0
  203. package/dist/api/resources/tts/types/ReturnVoice.js +5 -0
  204. package/dist/api/resources/tts/types/Snippet.d.ts +11 -0
  205. package/dist/api/resources/tts/types/Snippet.js +5 -0
  206. package/dist/api/resources/tts/types/ValidationError.d.ts +9 -0
  207. package/dist/api/resources/tts/types/ValidationError.js +5 -0
  208. package/dist/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
  209. package/dist/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
  210. package/dist/api/resources/tts/types/VoiceProvider.d.ts +8 -0
  211. package/dist/api/resources/tts/types/VoiceProvider.js +10 -0
  212. package/dist/api/resources/tts/types/index.d.ts +23 -0
  213. package/dist/api/resources/tts/types/index.js +39 -0
  214. package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
  215. package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
  216. package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
  217. package/dist/serialization/resources/index.d.ts +1 -0
  218. package/dist/serialization/resources/index.js +2 -1
  219. package/dist/serialization/resources/tts/index.d.ts +2 -0
  220. package/dist/serialization/resources/tts/index.js +18 -0
  221. package/dist/serialization/resources/tts/resources/index.d.ts +2 -0
  222. package/dist/serialization/resources/tts/resources/index.js +31 -0
  223. package/dist/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
  224. package/dist/serialization/resources/tts/resources/voices/client/index.js +17 -0
  225. package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
  226. package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
  227. package/dist/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  228. package/dist/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
  229. package/dist/serialization/resources/tts/resources/voices/index.d.ts +1 -0
  230. package/dist/serialization/resources/tts/resources/voices/index.js +17 -0
  231. package/dist/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
  232. package/dist/serialization/resources/tts/types/AudioEncoding.js +35 -0
  233. package/dist/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
  234. package/dist/serialization/resources/tts/types/AudioFormatType.js +31 -0
  235. package/dist/serialization/resources/tts/types/Format.d.ts +22 -0
  236. package/dist/serialization/resources/tts/types/Format.js +43 -0
  237. package/dist/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
  238. package/dist/serialization/resources/tts/types/FormatMp3.js +31 -0
  239. package/dist/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
  240. package/dist/serialization/resources/tts/types/FormatPcm.js +31 -0
  241. package/dist/serialization/resources/tts/types/FormatWav.d.ts +11 -0
  242. package/dist/serialization/resources/tts/types/FormatWav.js +31 -0
  243. package/dist/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
  244. package/dist/serialization/resources/tts/types/HttpValidationError.js +34 -0
  245. package/dist/serialization/resources/tts/types/PostedContext.d.ts +12 -0
  246. package/dist/serialization/resources/tts/types/PostedContext.js +33 -0
  247. package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
  248. package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
  249. package/dist/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
  250. package/dist/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
  251. package/dist/serialization/resources/tts/types/PostedTts.d.ts +18 -0
  252. package/dist/serialization/resources/tts/types/PostedTts.js +39 -0
  253. package/dist/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
  254. package/dist/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
  255. package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
  256. package/dist/serialization/resources/tts/types/PostedUtterance.js +36 -0
  257. package/dist/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
  258. package/dist/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
  259. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
  260. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
  261. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
  262. package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
  263. package/dist/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
  264. package/dist/serialization/resources/tts/types/ReturnGeneration.js +40 -0
  265. package/dist/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
  266. package/dist/serialization/resources/tts/types/ReturnTts.js +35 -0
  267. package/dist/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
  268. package/dist/serialization/resources/tts/types/ReturnVoice.js +34 -0
  269. package/dist/serialization/resources/tts/types/Snippet.d.ts +14 -0
  270. package/dist/serialization/resources/tts/types/Snippet.js +35 -0
  271. package/dist/serialization/resources/tts/types/ValidationError.d.ts +15 -0
  272. package/dist/serialization/resources/tts/types/ValidationError.js +36 -0
  273. package/dist/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
  274. package/dist/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
  275. package/dist/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
  276. package/dist/serialization/resources/tts/types/VoiceProvider.js +31 -0
  277. package/dist/serialization/resources/tts/types/index.d.ts +23 -0
  278. package/dist/serialization/resources/tts/types/index.js +39 -0
  279. package/dist/version.d.ts +1 -1
  280. package/dist/version.js +1 -1
  281. package/package.json +1 -1
  282. package/reference.md +336 -25
  283. package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
  284. package/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
  285. package/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
  286. package/serialization/resources/index.d.ts +1 -0
  287. package/serialization/resources/index.js +2 -1
  288. package/serialization/resources/tts/index.d.ts +2 -0
  289. package/serialization/resources/tts/index.js +18 -0
  290. package/serialization/resources/tts/resources/index.d.ts +2 -0
  291. package/serialization/resources/tts/resources/index.js +31 -0
  292. package/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
  293. package/serialization/resources/tts/resources/voices/client/index.js +17 -0
  294. package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
  295. package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
  296. package/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
  297. package/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
  298. package/serialization/resources/tts/resources/voices/index.d.ts +1 -0
  299. package/serialization/resources/tts/resources/voices/index.js +17 -0
  300. package/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
  301. package/serialization/resources/tts/types/AudioEncoding.js +35 -0
  302. package/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
  303. package/serialization/resources/tts/types/AudioFormatType.js +31 -0
  304. package/serialization/resources/tts/types/Format.d.ts +22 -0
  305. package/serialization/resources/tts/types/Format.js +43 -0
  306. package/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
  307. package/serialization/resources/tts/types/FormatMp3.js +31 -0
  308. package/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
  309. package/serialization/resources/tts/types/FormatPcm.js +31 -0
  310. package/serialization/resources/tts/types/FormatWav.d.ts +11 -0
  311. package/serialization/resources/tts/types/FormatWav.js +31 -0
  312. package/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
  313. package/serialization/resources/tts/types/HttpValidationError.js +34 -0
  314. package/serialization/resources/tts/types/PostedContext.d.ts +12 -0
  315. package/serialization/resources/tts/types/PostedContext.js +33 -0
  316. package/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
  317. package/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
  318. package/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
  319. package/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
  320. package/serialization/resources/tts/types/PostedTts.d.ts +18 -0
  321. package/serialization/resources/tts/types/PostedTts.js +39 -0
  322. package/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
  323. package/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
  324. package/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
  325. package/serialization/resources/tts/types/PostedUtterance.js +36 -0
  326. package/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
  327. package/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
  328. package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
  329. package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
  330. package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
  331. package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
  332. package/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
  333. package/serialization/resources/tts/types/ReturnGeneration.js +40 -0
  334. package/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
  335. package/serialization/resources/tts/types/ReturnTts.js +35 -0
  336. package/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
  337. package/serialization/resources/tts/types/ReturnVoice.js +34 -0
  338. package/serialization/resources/tts/types/Snippet.d.ts +14 -0
  339. package/serialization/resources/tts/types/Snippet.js +35 -0
  340. package/serialization/resources/tts/types/ValidationError.d.ts +15 -0
  341. package/serialization/resources/tts/types/ValidationError.js +36 -0
  342. package/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
  343. package/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
  344. package/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
  345. package/serialization/resources/tts/types/VoiceProvider.js +31 -0
  346. package/serialization/resources/tts/types/index.d.ts +23 -0
  347. package/serialization/resources/tts/types/index.js +39 -0
  348. package/version.d.ts +1 -1
  349. package/version.js +1 -1
  350. /package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
  351. /package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
@@ -19,6 +19,7 @@ types:
19
19
  docs: >-
20
20
  Type of Tool. Either `BUILTIN` for natively implemented tools, like web
21
21
  search, or `FUNCTION` for user-defined tools.
22
+ inline: true
22
23
  source:
23
24
  openapi: stenographer-openapi.json
24
25
  ReturnUserDefinedToolVersionType:
@@ -28,6 +29,7 @@ types:
28
29
  docs: >-
29
30
  Versioning method for a Tool. Either `FIXED` for using a fixed version
30
31
  number or `LATEST` for auto-updating to the latest version.
32
+ inline: true
31
33
  source:
32
34
  openapi: stenographer-openapi.json
33
35
  ReturnUserDefinedTool:
@@ -106,6 +108,7 @@ types:
106
108
  docs: >-
107
109
  Versioning method for a Prompt. Either `FIXED` for using a fixed version
108
110
  number or `LATEST` for auto-updating to the latest version.
111
+ inline: true
109
112
  source:
110
113
  openapi: stenographer-openapi.json
111
114
  ReturnPrompt:
@@ -164,7 +167,7 @@ types:
164
167
 
165
168
 
166
169
  For help writing a system prompt, see our [Prompting
167
- Guide](/docs/empathic-voice-interface-evi/prompting).
170
+ Guide](/docs/empathic-voice-interface-evi/guides/prompting).
168
171
  source:
169
172
  openapi: stenographer-openapi.json
170
173
  PostedCustomVoiceBaseVoice:
@@ -178,6 +181,7 @@ types:
178
181
  - STELLA
179
182
  - SUNNY
180
183
  docs: Specifies the base voice used to create the Custom Voice.
184
+ inline: true
181
185
  source:
182
186
  openapi: stenographer-openapi.json
183
187
  PostedCustomVoiceParameters:
@@ -298,7 +302,7 @@ types:
298
302
  [name](/reference/empathic-voice-interface-evi/configs/create-config#request.body.voice.name)
299
303
  of a base voice or previously created Custom Voice must be provided.
300
304
 
301
- See our [Voices guide](/docs/empathic-voice-interface-evi/voices) for a tutorial on how to craft a Custom Voice.
305
+ See our [Voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for a tutorial on how to craft a Custom Voice.
302
306
  properties:
303
307
  name:
304
308
  type: string
@@ -337,6 +341,7 @@ types:
337
341
  - STELLA
338
342
  - SUNNY
339
343
  docs: The base voice used to create the Custom Voice.
344
+ inline: true
340
345
  source:
341
346
  openapi: stenographer-openapi.json
342
347
  ReturnCustomVoiceParameters:
@@ -512,7 +517,8 @@ types:
512
517
 
513
518
 
514
519
  For more information, see our guide on [using built-in
515
- tools](/docs/empathic-voice-interface-evi/tool-use#using-built-in-tools).
520
+ tools](/docs/empathic-voice-interface-evi/features/tool-use#using-built-in-tools).
521
+ inline: true
516
522
  source:
517
523
  openapi: stenographer-openapi.json
518
524
  PostedBuiltinTool:
@@ -533,7 +539,7 @@ types:
533
539
 
534
540
 
535
541
  For more information, see our guide on [using built-in
536
- tools](/docs/empathic-voice-interface-evi/tool-use#using-built-in-tools).
542
+ tools](/docs/empathic-voice-interface-evi/features/tool-use#using-built-in-tools).
537
543
  fallback_content:
538
544
  type: optional<string>
539
545
  docs: >-
@@ -642,6 +648,7 @@ types:
642
648
  - GROQ
643
649
  - GOOGLE
644
650
  docs: The provider of the supplemental language model.
651
+ inline: true
645
652
  source:
646
653
  openapi: stenographer-openapi.json
647
654
  PostedLanguageModelModelResource:
@@ -698,6 +705,7 @@ types:
698
705
  name: AccountsFireworksModelsLlamaV3P18BInstruct
699
706
  - ellm
700
707
  docs: String that specifies the language model to use with `model_provider`.
708
+ inline: true
701
709
  source:
702
710
  openapi: stenographer-openapi.json
703
711
  PostedLanguageModel:
@@ -847,6 +855,7 @@ types:
847
855
  docs: >-
848
856
  The provider of the voice to use. Supported values are `HUME_AI` and
849
857
  `CUSTOM_VOICE`.
858
+ inline: true
850
859
  source:
851
860
  openapi: stenographer-openapi.json
852
861
  PostedVoice:
@@ -880,6 +889,7 @@ types:
880
889
  - chat_started
881
890
  - chat_ended
882
891
  docs: Events this URL is subscribed to
892
+ inline: true
883
893
  source:
884
894
  openapi: stenographer-openapi.json
885
895
  PostedWebhookSpec:
@@ -887,9 +897,18 @@ types:
887
897
  properties:
888
898
  url:
889
899
  type: string
890
- docs: URL to send the webhook to
900
+ docs: >-
901
+ The URL where event payloads will be sent. This must be a valid https
902
+ URL to ensure secure communication. The server at this URL must accept
903
+ POST requests with a JSON payload.
891
904
  events:
892
- docs: Events this URL is subscribed to
905
+ docs: >-
906
+ The list of events the specified URL is subscribed to.
907
+
908
+
909
+ See our [webhooks
910
+ guide](/docs/empathic-voice-interface-evi/configuration/build-a-configuration#supported-events)
911
+ for more information on supported events.
893
912
  type: list<PostedWebhookEventType>
894
913
  source:
895
914
  openapi: stenographer-openapi.json
@@ -900,6 +919,7 @@ types:
900
919
  docs: >-
901
920
  Type of Tool. Either `BUILTIN` for natively implemented tools, like web
902
921
  search, or `FUNCTION` for user-defined tools.
922
+ inline: true
903
923
  source:
904
924
  openapi: stenographer-openapi.json
905
925
  ReturnBuiltinTool:
@@ -948,7 +968,7 @@ types:
948
968
  Specifies the EVI version to use. Use `"1"` for version 1, or `"2"`
949
969
  for the latest enhanced version. For a detailed comparison of the two
950
970
  versions, refer to our
951
- [guide](/docs/empathic-voice-interface-evi/evi-2).
971
+ [guide](/docs/empathic-voice-interface-evi/configuration/evi-version).
952
972
  version_description:
953
973
  type: optional<string>
954
974
  docs: An optional description of the Config version.
@@ -1083,6 +1103,7 @@ types:
1083
1103
  - GROQ
1084
1104
  - GOOGLE
1085
1105
  docs: The provider of the supplemental language model.
1106
+ inline: true
1086
1107
  source:
1087
1108
  openapi: stenographer-openapi.json
1088
1109
  ReturnLanguageModelModelResource:
@@ -1143,6 +1164,7 @@ types:
1143
1164
  name: AccountsFireworksModelsLlamaV3P18BInstruct
1144
1165
  - ellm
1145
1166
  docs: String that specifies the language model to use with `model_provider`.
1167
+ inline: true
1146
1168
  source:
1147
1169
  openapi: stenographer-openapi.json
1148
1170
  ReturnLanguageModel:
@@ -1224,6 +1246,7 @@ types:
1224
1246
  docs: >-
1225
1247
  The provider of the voice to use. Supported values are `HUME_AI` and
1226
1248
  `CUSTOM_VOICE`.
1249
+ inline: true
1227
1250
  source:
1228
1251
  openapi: stenographer-openapi.json
1229
1252
  ReturnVoice:
@@ -1251,6 +1274,7 @@ types:
1251
1274
  - chat_started
1252
1275
  - chat_ended
1253
1276
  docs: Events this URL is subscribed to
1277
+ inline: true
1254
1278
  source:
1255
1279
  openapi: stenographer-openapi.json
1256
1280
  ReturnWebhookSpec:
@@ -1258,9 +1282,18 @@ types:
1258
1282
  properties:
1259
1283
  url:
1260
1284
  type: string
1261
- docs: Webhook URL to send the event updates to
1285
+ docs: >-
1286
+ The URL where event payloads will be sent. This must be a valid https
1287
+ URL to ensure secure communication. The server at this URL must accept
1288
+ POST requests with a JSON payload.
1262
1289
  events:
1263
- docs: Events this URL is subscribed to
1290
+ docs: >-
1291
+ The list of events the specified URL is subscribed to.
1292
+
1293
+
1294
+ See our [webhooks
1295
+ guide](/docs/empathic-voice-interface-evi/configuration/build-a-configuration#supported-events)
1296
+ for more information on supported events.
1264
1297
  type: list<ReturnWebhookEventType>
1265
1298
  source:
1266
1299
  openapi: stenographer-openapi.json
@@ -1407,6 +1440,7 @@ types:
1407
1440
 
1408
1441
 
1409
1442
  - `ERROR`: The chat ended unexpectedly due to an error.
1443
+ inline: true
1410
1444
  source:
1411
1445
  openapi: stenographer-openapi.json
1412
1446
  ReturnChat:
@@ -1499,6 +1533,7 @@ types:
1499
1533
  first) or `DESC` for descending order (reverse-chronological, with the
1500
1534
  newest records first). This value corresponds to the `ascending_order`
1501
1535
  query parameter used in the request.
1536
+ inline: true
1502
1537
  source:
1503
1538
  openapi: stenographer-openapi.json
1504
1539
  ReturnPagedChats:
@@ -1562,6 +1597,7 @@ types:
1562
1597
 
1563
1598
 
1564
1599
  - `TOOL`: The function calling mechanism.
1600
+ inline: true
1565
1601
  source:
1566
1602
  openapi: stenographer-openapi.json
1567
1603
  ReturnChatEventType:
@@ -1594,6 +1630,7 @@ types:
1594
1630
 
1595
1631
 
1596
1632
  - `FUNCTION_CALL_RESPONSE`: Contains the tool response.
1633
+ inline: true
1597
1634
  source:
1598
1635
  openapi: stenographer-openapi.json
1599
1636
  ReturnChatEvent:
@@ -1702,6 +1739,7 @@ types:
1702
1739
 
1703
1740
 
1704
1741
  - `ERROR`: The chat ended unexpectedly due to an error.
1742
+ inline: true
1705
1743
  source:
1706
1744
  openapi: stenographer-openapi.json
1707
1745
  ReturnChatPagedEventsPaginationDirection:
@@ -1717,6 +1755,7 @@ types:
1717
1755
  first) or `DESC` for descending order (reverse-chronological, with the
1718
1756
  newest records first). This value corresponds to the `ascending_order`
1719
1757
  query parameter used in the request.
1758
+ inline: true
1720
1759
  source:
1721
1760
  openapi: stenographer-openapi.json
1722
1761
  ReturnChatPagedEvents:
@@ -1830,6 +1869,7 @@ types:
1830
1869
 
1831
1870
 
1832
1871
  - `CANCELED`: The reconstruction job has been canceled.
1872
+ inline: true
1833
1873
  source:
1834
1874
  openapi: stenographer-openapi.json
1835
1875
  ReturnChatAudioReconstruction:
@@ -1929,6 +1969,7 @@ types:
1929
1969
  first) or `DESC` for descending order (reverse-chronological, with the
1930
1970
  newest records first). This value corresponds to the `ascending_order`
1931
1971
  query parameter used in the request.
1972
+ inline: true
1932
1973
  source:
1933
1974
  openapi: stenographer-openapi.json
1934
1975
  ReturnPagedChatGroups:
@@ -1984,6 +2025,7 @@ types:
1984
2025
  first) or `DESC` for descending order (reverse-chronological, with the
1985
2026
  newest records first). This value corresponds to the `ascending_order`
1986
2027
  query parameter used in the request.
2028
+ inline: true
1987
2029
  source:
1988
2030
  openapi: stenographer-openapi.json
1989
2031
  ReturnChatGroupPagedChats:
@@ -2062,6 +2104,7 @@ types:
2062
2104
  first) or `DESC` for descending order (reverse-chronological, with the
2063
2105
  newest records first). This value corresponds to the `ascending_order`
2064
2106
  query parameter used in the request.
2107
+ inline: true
2065
2108
  source:
2066
2109
  openapi: stenographer-openapi.json
2067
2110
  ReturnChatGroupPagedEvents:
@@ -2122,6 +2165,7 @@ types:
2122
2165
  first) or `DESC` for descending order (reverse-chronological, with the
2123
2166
  newest records first). This value corresponds to the `ascending_order`
2124
2167
  query parameter used in the request.
2168
+ inline: true
2125
2169
  source:
2126
2170
  openapi: stenographer-openapi.json
2127
2171
  ReturnChatGroupPagedAudioReconstructions:
@@ -2408,8 +2452,7 @@ types:
2408
2452
 
2409
2453
 
2410
2454
  For more information, please refer to the [Session Settings
2411
- section](/docs/empathic-voice-interface-evi/configuration#session-settings)
2412
- on the EVI Configuration page.
2455
+ guide](/docs/empathic-voice-interface-evi/configuration/session-settings).
2413
2456
  custom_session_id:
2414
2457
  type: optional<string>
2415
2458
  docs: >-
@@ -2426,8 +2469,8 @@ types:
2426
2469
  It is recommended to pass a `custom_session_id` if you are using a
2427
2470
  Custom Language Model. Please see our guide to [using a custom
2428
2471
  language
2429
- model](/docs/empathic-voice-interface-evi/custom-language-model) with
2430
- EVI to learn more.
2472
+ model](/docs/empathic-voice-interface-evi/guides/custom-language-model)
2473
+ with EVI to learn more.
2431
2474
  system_prompt:
2432
2475
  type: optional<string>
2433
2476
  docs: >-
@@ -2449,7 +2492,7 @@ types:
2449
2492
 
2450
2493
 
2451
2494
  For help writing a system prompt, see our [Prompting
2452
- Guide](/docs/empathic-voice-interface-evi/prompting).
2495
+ Guide](/docs/empathic-voice-interface-evi/guides/prompting).
2453
2496
  context:
2454
2497
  type: optional<Context>
2455
2498
  docs: >-
@@ -2475,8 +2518,7 @@ types:
2475
2518
  in PCM Linear 16 (16-bit, little-endian, signed PCM WAV data). For
2476
2519
  detailed instructions on how to configure session settings for PCM
2477
2520
  Linear 16 audio, please refer to the [Session Settings
2478
- section](/docs/empathic-voice-interface-evi/configuration#session-settings)
2479
- on the EVI Configuration page.
2521
+ guide](/docs/empathic-voice-interface-evi/configuration/session-settings).
2480
2522
  language_model_api_key:
2481
2523
  type: optional<string>
2482
2524
  docs: >-
@@ -2496,7 +2538,7 @@ types:
2496
2538
  searching the web or calling external APIs. Built-in tools, like web
2497
2539
  search, are natively integrated, while user-defined tools are created
2498
2540
  and invoked by the user. To learn more, see our [Tool Use
2499
- Guide](/docs/empathic-voice-interface-evi/tool-use).
2541
+ Guide](/docs/empathic-voice-interface-evi/features/tool-use).
2500
2542
  builtin_tools:
2501
2543
  type: optional<list<BuiltinToolConfig>>
2502
2544
  docs: >-
@@ -2507,7 +2549,7 @@ types:
2507
2549
  searching the web or calling external APIs. Built-in tools, like web
2508
2550
  search, are natively integrated, while user-defined tools are created
2509
2551
  and invoked by the user. To learn more, see our [Tool Use
2510
- Guide](/docs/empathic-voice-interface-evi/tool-use).
2552
+ Guide](/docs/empathic-voice-interface-evi/features/tool-use).
2511
2553
 
2512
2554
 
2513
2555
  Currently, the only built-in tool Hume provides is **Web Search**.
@@ -2532,7 +2574,7 @@ types:
2532
2574
  Using this field, you can personalize responses based on
2533
2575
  session-specific details. For more guidance, see our [guide on using
2534
2576
  dynamic
2535
- variables](/docs/empathic-voice-interface-evi/conversational-controls#dynamic-variables).
2577
+ variables](/docs/empathic-voice-interface-evi/features/dynamic-variables).
2536
2578
  source:
2537
2579
  openapi: assistant-asyncapi.json
2538
2580
  Tool:
@@ -3195,12 +3237,30 @@ types:
3195
3237
  event_name:
3196
3238
  type: optional<literal<"chat_ended">>
3197
3239
  docs: Always `chat_ended`.
3198
- end_time: integer
3199
- duration_seconds: integer
3240
+ end_time:
3241
+ type: integer
3242
+ docs: Unix timestamp (in milliseconds) indicating when the session ended.
3243
+ duration_seconds:
3244
+ type: integer
3245
+ docs: Total duration of the session in seconds.
3200
3246
  end_reason:
3201
3247
  type: WebhookEventChatStatus
3202
- caller_number: optional<string>
3203
- custom_session_id: optional<string>
3248
+ docs: Reason for the session's termination.
3249
+ caller_number:
3250
+ type: optional<string>
3251
+ docs: >-
3252
+ Phone number of the caller in E.164 format (e.g., `+12223333333`).
3253
+ This field is included only if the Chat was created via the [Twilio
3254
+ phone
3255
+ calling](/docs/empathic-voice-interface-evi/guides/phone-calling)
3256
+ integration.
3257
+ custom_session_id:
3258
+ type: optional<string>
3259
+ docs: >-
3260
+ User-defined session ID. Relevant only when employing a [custom
3261
+ language
3262
+ model](/docs/empathic-voice-interface-evi/guides/custom-language-model)
3263
+ in the EVI Config.
3204
3264
  extends:
3205
3265
  - WebhookEventBase
3206
3266
  source:
@@ -3230,15 +3290,16 @@ types:
3230
3290
  docs: >-
3231
3291
  Phone number of the caller in E.164 format (e.g., `+12223333333`).
3232
3292
  This field is included only if the Chat was created via the [Twilio
3233
- phone calling](/docs/empathic-voice-interface-evi/phone-calling)
3293
+ phone
3294
+ calling](/docs/empathic-voice-interface-evi/guides/phone-calling)
3234
3295
  integration.
3235
3296
  custom_session_id:
3236
3297
  type: optional<string>
3237
3298
  docs: >-
3238
3299
  User-defined session ID. Relevant only when employing a [custom
3239
3300
  language
3240
- model](/docs/empathic-voice-interface-evi/custom-language-model) in
3241
- the EVI Config.
3301
+ model](/docs/empathic-voice-interface-evi/guides/custom-language-model)
3302
+ in the EVI Config.
3242
3303
  extends:
3243
3304
  - WebhookEventBase
3244
3305
  source:
@@ -1,5 +1,6 @@
1
1
  channel:
2
2
  path: /v0/evi/chat
3
+ url: prod
3
4
  auth: false
4
5
  query-parameters:
5
6
  config_id:
@@ -11,7 +12,7 @@ channel:
11
12
  Include this ID in your connection request to equip EVI with the Prompt,
12
13
  Language Model, Voice, and Tools associated with the specified
13
14
  configuration. If omitted, EVI will apply [default configuration
14
- settings](/docs/empathic-voice-interface-evi/configuration#default-configuration).
15
+ settings](/docs/empathic-voice-interface-evi/configuration/build-a-configuration#default-configuration).
15
16
 
16
17
 
17
18
  For help obtaining this ID, see our [Configuration
@@ -76,6 +77,7 @@ channel:
76
77
  list of all available chat groups.
77
78
  verbose_transcription:
78
79
  type: optional<boolean>
80
+ default: false
79
81
  docs: >-
80
82
  A flag to enable verbose transcription. Set this query parameter to
81
83
  `true` to have unfinalized user transcripts be sent to the client as
@@ -86,6 +88,7 @@ channel:
86
88
  denotes whether the message is "interim" or "final."
87
89
  access_token:
88
90
  type: optional<string>
91
+ default: ''
89
92
  docs: >-
90
93
  Access token used for authenticating the client. If not provided, an
91
94
  `api_key` must be provided to authenticate.
@@ -100,6 +103,7 @@ channel:
100
103
  Guide](/docs/introduction/api-key#authentication-strategies).
101
104
  api_key:
102
105
  type: optional<string>
106
+ default: ''
103
107
  docs: >-
104
108
  API key used for authenticating the client. If not provided, an
105
109
  `access_token` must be provided to authenticate.
@@ -57,6 +57,7 @@ service:
57
57
  response:
58
58
  docs: Success
59
59
  type: root.ReturnPagedChatGroups
60
+ status-code: 200
60
61
  errors:
61
62
  - root.BadRequestError
62
63
  examples:
@@ -127,6 +128,7 @@ service:
127
128
  response:
128
129
  docs: Success
129
130
  type: root.ReturnChatGroupPagedChats
131
+ status-code: 200
130
132
  errors:
131
133
  - root.BadRequestError
132
134
  examples:
@@ -153,6 +155,8 @@ service:
153
155
  start_timestamp: 1712334213647
154
156
  end_timestamp: 1712334332571
155
157
  event_count: 0
158
+ metadata: null
159
+ config: null
156
160
  active: false
157
161
  list-chat-group-events:
158
162
  path: /v0/evi/chat_groups/{id}/events
@@ -203,6 +207,7 @@ service:
203
207
  response:
204
208
  docs: Success
205
209
  type: root.ReturnChatGroupPagedEvents
210
+ status-code: 200
206
211
  errors:
207
212
  - root.BadRequestError
208
213
  examples:
@@ -580,6 +585,7 @@ service:
580
585
  response:
581
586
  docs: Success
582
587
  type: root.ReturnChatGroupPagedAudioReconstructions
588
+ status-code: 200
583
589
  errors:
584
590
  - root.BadRequestError
585
591
  examples:
@@ -1,21 +1,32 @@
1
1
  imports:
2
2
  root: __package__.yml
3
3
  webhooks:
4
- chatWebhook:
4
+ chatEnded:
5
5
  method: POST
6
- display-name: Chat Webhook
6
+ display-name: Chat Ended
7
7
  headers: {}
8
- payload: root.WebhookEvent
8
+ payload: root.WebhookEventChatEnded
9
9
  examples:
10
10
  - payload:
11
- chat_group_id: chat_group_id
12
- chat_id: chat_id
13
- start_time: 1
11
+ chat_group_id: 9fc18597-3567-42d5-94d6-935bde84bf2f
12
+ chat_id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
13
+ config_id: 1b60e1a0-cc59-424a-8d2c-189d354db3f3
14
+ event_name: chat_ended
15
+ end_time: 1716244958546
16
+ duration_seconds: 180
17
+ end_reason: USER_ENDED
18
+ docs: Sent when an EVI chat ends.
19
+ chatStarted:
20
+ method: POST
21
+ display-name: Chat Started
22
+ headers: {}
23
+ payload: root.WebhookEventChatStarted
24
+ examples:
25
+ - payload:
26
+ chat_group_id: 9fc18597-3567-42d5-94d6-935bde84bf2f
27
+ chat_id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
28
+ config_id: 1b60e1a0-cc59-424a-8d2c-189d354db3f3
29
+ event_name: chat_started
30
+ start_time: 1716244940648
14
31
  chat_start_type: new_chat_group
15
- docs: >-
16
- Webhook events are JSON payloads to your server during an EVI chat. You
17
- can subscribe to specific events, and set which URLs should be notified in
18
- the
19
- [Config](/reference/empathic-voice-interface-evi/configs/create-config#request.body.webhooks)
20
- resource. Read the [Webhook
21
- Guide](/docs/empathic-voice-interface-evi/webhooks) for more information.
32
+ docs: Sent when an EVI chat is started.
@@ -55,6 +55,7 @@ service:
55
55
  response:
56
56
  docs: Success
57
57
  type: root.ReturnPagedChats
58
+ status-code: 200
58
59
  errors:
59
60
  - root.BadRequestError
60
61
  examples:
@@ -129,6 +130,7 @@ service:
129
130
  response:
130
131
  docs: Success
131
132
  type: root.ReturnChatPagedEvents
133
+ status-code: 200
132
134
  errors:
133
135
  - root.BadRequestError
134
136
  examples:
@@ -482,6 +484,7 @@ service:
482
484
  response:
483
485
  docs: Success
484
486
  type: root.ReturnChatAudioReconstruction
487
+ status-code: 200
485
488
  errors:
486
489
  - root.BadRequestError
487
490
  examples:
@@ -54,6 +54,7 @@ service:
54
54
  response:
55
55
  docs: Success
56
56
  type: root.ReturnPagedConfigs
57
+ status-code: 200
57
58
  errors:
58
59
  - root.BadRequestError
59
60
  examples:
@@ -159,7 +160,7 @@ service:
159
160
  Specifies the EVI version to use. Use `"1"` for version 1, or
160
161
  `"2"` for the latest enhanced version. For a detailed comparison
161
162
  of the two versions, refer to our
162
- [guide](/docs/empathic-voice-interface-evi/evi-2).
163
+ [guide](/docs/empathic-voice-interface-evi/configuration/evi-version).
163
164
  name:
164
165
  type: string
165
166
  docs: Name applied to all versions of a particular Config.
@@ -205,6 +206,7 @@ service:
205
206
  response:
206
207
  docs: Created
207
208
  type: root.ReturnConfig
209
+ status-code: 201
208
210
  errors:
209
211
  - root.BadRequestError
210
212
  examples:
@@ -353,6 +355,7 @@ service:
353
355
  response:
354
356
  docs: Success
355
357
  type: root.ReturnPagedConfigs
358
+ status-code: 200
356
359
  errors:
357
360
  - root.BadRequestError
358
361
  examples:
@@ -501,6 +504,7 @@ service:
501
504
  response:
502
505
  docs: Created
503
506
  type: root.ReturnConfig
507
+ status-code: 201
504
508
  errors:
505
509
  - root.BadRequestError
506
510
  examples:
@@ -654,6 +658,7 @@ service:
654
658
  response:
655
659
  docs: Success
656
660
  type: text
661
+ status-code: 200
657
662
  errors:
658
663
  - root.BadRequestError
659
664
  examples:
@@ -697,6 +702,7 @@ service:
697
702
  response:
698
703
  docs: Success
699
704
  type: root.ReturnConfig
705
+ status-code: 200
700
706
  errors:
701
707
  - root.BadRequestError
702
708
  examples:
@@ -857,6 +863,7 @@ service:
857
863
  response:
858
864
  docs: Success
859
865
  type: root.ReturnConfig
866
+ status-code: 200
860
867
  errors:
861
868
  - root.BadRequestError
862
869
  examples: