hume 0.7.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +176 -72
  2. package/.mock/definition/empathic-voice/chat.yml +6 -6
  3. package/.mock/definition/empathic-voice/chatGroups.yml +9 -0
  4. package/.mock/definition/empathic-voice/chats.yml +14 -1
  5. package/.mock/definition/empathic-voice/configs.yml +138 -86
  6. package/.mock/definition/empathic-voice/prompts.yml +4 -2
  7. package/.mock/definition/empathic-voice/tools.yml +4 -2
  8. package/.mock/fern.config.json +1 -1
  9. package/api/resources/customModels/resources/datasets/client/Client.d.ts +9 -9
  10. package/api/resources/customModels/resources/datasets/client/Client.js +18 -18
  11. package/api/resources/customModels/resources/files/client/Client.d.ts +7 -7
  12. package/api/resources/customModels/resources/files/client/Client.js +14 -14
  13. package/api/resources/customModels/resources/jobs/client/Client.d.ts +2 -2
  14. package/api/resources/customModels/resources/jobs/client/Client.js +4 -4
  15. package/api/resources/customModels/resources/models/client/Client.d.ts +6 -6
  16. package/api/resources/customModels/resources/models/client/Client.js +12 -12
  17. package/api/resources/empathicVoice/client/StreamSocket.d.ts +8 -0
  18. package/api/resources/empathicVoice/client/StreamSocket.js +16 -0
  19. package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  20. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
  21. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
  22. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
  23. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
  24. package/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
  25. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
  26. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
  27. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
  28. package/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
  29. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
  30. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
  31. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
  32. package/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
  33. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  34. package/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  35. package/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
  36. package/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  37. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  38. package/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
  39. package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  40. package/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
  41. package/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
  42. package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
  43. package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
  44. package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
  45. package/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
  46. package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  47. package/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
  48. package/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
  49. package/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
  50. package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
  51. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
  52. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
  53. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
  54. package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
  55. package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
  56. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
  57. package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
  58. package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
  59. package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
  60. package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
  61. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  62. package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
  63. package/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
  64. package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
  65. package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
  66. package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
  67. package/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
  68. package/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
  69. package/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  70. package/api/resources/empathicVoice/types/index.d.ts +9 -6
  71. package/api/resources/empathicVoice/types/index.js +9 -6
  72. package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
  73. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
  74. package/core/runtime/runtime.d.ts +1 -1
  75. package/core/runtime/runtime.js +11 -1
  76. package/dist/api/resources/customModels/resources/datasets/client/Client.d.ts +9 -9
  77. package/dist/api/resources/customModels/resources/datasets/client/Client.js +18 -18
  78. package/dist/api/resources/customModels/resources/files/client/Client.d.ts +7 -7
  79. package/dist/api/resources/customModels/resources/files/client/Client.js +14 -14
  80. package/dist/api/resources/customModels/resources/jobs/client/Client.d.ts +2 -2
  81. package/dist/api/resources/customModels/resources/jobs/client/Client.js +4 -4
  82. package/dist/api/resources/customModels/resources/models/client/Client.d.ts +6 -6
  83. package/dist/api/resources/customModels/resources/models/client/Client.js +12 -12
  84. package/dist/api/resources/empathicVoice/client/StreamSocket.d.ts +8 -0
  85. package/dist/api/resources/empathicVoice/client/StreamSocket.js +16 -0
  86. package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  87. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
  88. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
  89. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
  90. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
  91. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
  92. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
  93. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
  94. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
  95. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
  96. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
  97. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
  98. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
  99. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
  100. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
  101. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
  102. package/dist/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
  103. package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  104. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  105. package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
  106. package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
  107. package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
  108. package/dist/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
  109. package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
  110. package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
  111. package/dist/api/resources/empathicVoice/types/PostedEllmModel.js +5 -0
  112. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
  113. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.js +5 -0
  114. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
  115. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.js +5 -0
  116. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  117. package/dist/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
  118. package/dist/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
  119. package/dist/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
  120. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
  121. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
  122. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
  123. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
  124. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
  125. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.js +5 -0
  126. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
  127. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.js +5 -0
  128. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
  129. package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
  130. package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
  131. package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
  132. package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
  133. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  134. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
  135. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.js +5 -0
  136. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
  137. package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
  138. package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
  139. package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
  140. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
  141. package/dist/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
  142. package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  143. package/dist/api/resources/empathicVoice/types/index.d.ts +9 -6
  144. package/dist/api/resources/empathicVoice/types/index.js +9 -6
  145. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
  146. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
  147. package/dist/core/runtime/runtime.d.ts +1 -1
  148. package/dist/core/runtime/runtime.js +11 -1
  149. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
  150. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
  151. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
  152. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
  153. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
  154. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
  155. package/{serialization/resources/empathicVoice/types/WebSocketError.d.ts → dist/serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
  156. package/{serialization/resources/empathicVoice/types/WebSocketError.js → dist/serialization/resources/empathicVoice/types/Error_.js} +2 -2
  157. package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  158. package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
  159. package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
  160. package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
  161. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
  162. package/dist/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → PostedEventMessageSpec.js} +4 -3
  163. package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
  164. package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
  165. package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
  166. package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
  167. package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
  168. package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
  169. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
  170. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
  171. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
  172. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
  173. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  174. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
  175. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
  176. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
  177. package/dist/serialization/resources/empathicVoice/types/{TtsInput.d.ts → ReturnEllmModel.d.ts} +3 -3
  178. package/dist/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
  179. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
  180. package/dist/serialization/resources/empathicVoice/types/{TextInput.js → ReturnEventMessageSpec.js} +4 -3
  181. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
  182. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
  183. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
  184. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
  185. package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
  186. package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
  187. package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
  188. package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
  189. package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
  190. package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
  191. package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
  192. package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
  193. package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
  194. package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
  195. package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
  196. package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
  197. package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
  198. package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
  199. package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
  200. package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
  201. package/dist/serialization/resources/empathicVoice/types/index.d.ts +9 -6
  202. package/dist/serialization/resources/empathicVoice/types/index.js +9 -6
  203. package/dist/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
  204. package/package.json +6 -1
  205. package/reference.md +208 -122
  206. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
  207. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
  208. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
  209. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
  210. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
  211. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
  212. package/{dist/serialization/resources/empathicVoice/types/WebSocketError.d.ts → serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
  213. package/{dist/serialization/resources/empathicVoice/types/WebSocketError.js → serialization/resources/empathicVoice/types/Error_.js} +2 -2
  214. package/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  215. package/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
  216. package/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
  217. package/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
  218. package/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
  219. package/{dist/serialization/resources/empathicVoice/types/TtsInput.js → serialization/resources/empathicVoice/types/PostedEventMessageSpec.js} +4 -3
  220. package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
  221. package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
  222. package/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
  223. package/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
  224. package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
  225. package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
  226. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
  227. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
  228. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
  229. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
  230. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  231. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
  232. package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
  233. package/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
  234. package/serialization/resources/empathicVoice/types/{TextInput.d.ts → ReturnEllmModel.d.ts} +3 -3
  235. package/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
  236. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
  237. package/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → ReturnEventMessageSpec.js} +4 -3
  238. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
  239. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
  240. package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
  241. package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
  242. package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
  243. package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
  244. package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
  245. package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
  246. package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
  247. package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
  248. package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
  249. package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
  250. package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
  251. package/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
  252. package/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
  253. package/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
  254. package/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
  255. package/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
  256. package/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
  257. package/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
  258. package/serialization/resources/empathicVoice/types/index.d.ts +9 -6
  259. package/serialization/resources/empathicVoice/types/index.js +9 -6
  260. package/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
  261. package/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
  262. package/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
  263. package/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
  264. package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
  265. package/dist/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
  266. package/dist/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
  267. package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
  268. package/dist/serialization/resources/empathicVoice/types/TextInput.d.ts +0 -12
  269. package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
  270. package/serialization/resources/empathicVoice/types/TextInput.js +0 -33
  271. package/serialization/resources/empathicVoice/types/TtsInput.d.ts +0 -12
  272. package/serialization/resources/empathicVoice/types/TtsInput.js +0 -33
  273. /package/api/resources/empathicVoice/types/{FunctionCallResponseInput.js → Error_.js} +0 -0
  274. /package/api/resources/empathicVoice/types/{TextInput.js → PostedEllmModel.js} +0 -0
  275. /package/api/resources/empathicVoice/types/{TtsInput.js → PostedEventMessageSpec.js} +0 -0
  276. /package/api/resources/empathicVoice/types/{WebSocketError.js → PostedTimeoutSpec.js} +0 -0
  277. /package/{dist/api/resources/empathicVoice/types/FunctionCallResponseInput.js → api/resources/empathicVoice/types/ReturnEllmModel.js} +0 -0
  278. /package/{dist/api/resources/empathicVoice/types/TextInput.js → api/resources/empathicVoice/types/ReturnEventMessageSpec.js} +0 -0
  279. /package/{dist/api/resources/empathicVoice/types/TtsInput.js → api/resources/empathicVoice/types/ReturnTimeoutSpec.js} +0 -0
  280. /package/dist/api/resources/empathicVoice/types/{WebSocketError.js → Error_.js} +0 -0
@@ -55,7 +55,7 @@ types:
55
55
  version_type:
56
56
  type: string
57
57
  docs: >-
58
- Indicates whether this prompt is using a fixed version number or
58
+ Indicates whether this tool is using a fixed version number or
59
59
  auto-updating to the latest version. Values from the VersionType enum.
60
60
  version_description:
61
61
  type: optional<string>
@@ -81,6 +81,26 @@ types:
81
81
  fallback_content:
82
82
  type: optional<string>
83
83
  docs: Text to use if the tool fails to generate content.
84
+ PostedEllmModel:
85
+ docs: A eLLM model configuration to be posted to the server
86
+ properties:
87
+ allow_short_responses:
88
+ type: optional<boolean>
89
+ docs: >-
90
+ Boolean indicating if the model is allowed to generate short
91
+ responses.
92
+ PostedEventMessageSpec:
93
+ docs: Settings for a specific event_message to be posted to the server
94
+ properties:
95
+ enabled:
96
+ type: boolean
97
+ docs: Boolean indicating if this event message is enabled.
98
+ text:
99
+ type: optional<string>
100
+ docs: >-
101
+ Optional text that will be used as a verbatim event message. If the
102
+ text is null and the event message is enabled, the system will
103
+ generate a message based using the language model.
84
104
  PostedLanguageModelModelProvider:
85
105
  enum:
86
106
  - OPEN_AI
@@ -112,6 +132,15 @@ types:
112
132
  docs: >-
113
133
  Version number for a Prompt. Version numbers should be integers. The
114
134
  combination of configId and version number is unique.
135
+ PostedTimeoutSpec:
136
+ docs: Settings for a specific timeout to be posted to the server
137
+ properties:
138
+ enabled:
139
+ type: boolean
140
+ docs: Boolean indicating if this event message is enabled.
141
+ duration_secs:
142
+ type: optional<integer>
143
+ docs: Duration in seconds for the timeout.
115
144
  PostedUserDefinedToolSpec:
116
145
  docs: A specific tool identifier to be posted to the server
117
146
  properties:
@@ -127,13 +156,14 @@ types:
127
156
  enum:
128
157
  - ITO
129
158
  - DACHER
159
+ - KORA
130
160
  docs: String with the name of the voice to use.
131
161
  PostedVoice:
132
162
  docs: A Voice specification posted to the server
133
163
  properties:
134
164
  provider:
135
165
  type: optional<literal<"HUME_AI">>
136
- docs: The provider of the voice to use.
166
+ docs: The provider of the voice to use. Based on the enum VoiceProvider.
137
167
  name:
138
168
  type: PostedVoiceName
139
169
  docs: String with the name of the voice to use.
@@ -175,8 +205,39 @@ types:
175
205
  prompt: optional<ReturnPrompt>
176
206
  voice: optional<ReturnVoice>
177
207
  language_model: optional<ReturnLanguageModel>
178
- tools: optional<ReturnUserDefinedTool>
179
- builtin_tools: optional<ReturnBuiltinTool>
208
+ ellm_model: optional<ReturnEllmModel>
209
+ tools:
210
+ type: optional<list<optional<ReturnUserDefinedTool>>>
211
+ docs: List of user-defined tools associated with this config.
212
+ builtin_tools:
213
+ type: optional<list<optional<ReturnBuiltinTool>>>
214
+ docs: List of built-in tools associated with this config
215
+ event_messages:
216
+ type: optional<map<string, optional<ReturnEventMessageSpec>>>
217
+ docs: Map of event messages associated with this config.
218
+ timeouts:
219
+ type: optional<map<string, optional<ReturnTimeoutSpec>>>
220
+ docs: Map of timeouts associated with this config.
221
+ ReturnEllmModel:
222
+ docs: A specific eLLM Model configuration
223
+ properties:
224
+ allow_short_responses:
225
+ type: boolean
226
+ docs: >-
227
+ Boolean indicating if the model is allowed to generate short
228
+ responses.
229
+ ReturnEventMessageSpec:
230
+ docs: A specific event message configuration to be returned from the server
231
+ properties:
232
+ enabled:
233
+ type: boolean
234
+ docs: Boolean indicating if this event message is enabled.
235
+ text:
236
+ type: optional<string>
237
+ docs: >-
238
+ Optional text that will be used as a verbatim event message. If the
239
+ text is null and the event message is enabled, the system will
240
+ generate a message based using the language model.
180
241
  ReturnLanguageModel:
181
242
  docs: A specific LanguageModel
182
243
  properties:
@@ -189,6 +250,15 @@ types:
189
250
  temperature:
190
251
  type: optional<double>
191
252
  docs: Model temperature.
253
+ ReturnTimeoutSpec:
254
+ docs: A specific timeout configuration to be returned from the server
255
+ properties:
256
+ enabled:
257
+ type: boolean
258
+ docs: Boolean indicating if this event message is enabled.
259
+ duration_secs:
260
+ type: optional<integer>
261
+ docs: Duration in seconds for the timeout.
192
262
  ReturnVoice:
193
263
  docs: A specific voice specification
194
264
  properties:
@@ -207,6 +277,9 @@ types:
207
277
  page_size:
208
278
  type: integer
209
279
  docs: The number of results returned per page.
280
+ total_pages:
281
+ type: integer
282
+ docs: The total number of pages in the collection
210
283
  tools_page:
211
284
  docs: List of tools returned for the specified page number and page size.
212
285
  type: list<optional<ReturnUserDefinedTool>>
@@ -219,6 +292,9 @@ types:
219
292
  page_size:
220
293
  type: integer
221
294
  docs: The number of results returned per page.
295
+ total_pages:
296
+ type: integer
297
+ docs: The total number of pages in the collection
222
298
  prompts_page:
223
299
  docs: List of prompts returned for the specified page number and page size.
224
300
  type: list<optional<ReturnPrompt>>
@@ -231,6 +307,9 @@ types:
231
307
  page_size:
232
308
  type: optional<integer>
233
309
  docs: The number of results returned per page.
310
+ total_pages:
311
+ type: integer
312
+ docs: The total number of pages in the collection
234
313
  configs_page:
235
314
  type: optional<list<ReturnConfig>>
236
315
  docs: List of prompts returned for the specified page number and page size.
@@ -290,6 +369,12 @@ types:
290
369
  page_size:
291
370
  type: integer
292
371
  docs: The number of results returned per page.
372
+ total_pages:
373
+ type: integer
374
+ docs: The total number of pages in the collection
375
+ pagination_direction:
376
+ type: string
377
+ docs: The direction of the pagination (ASC or DESC).
293
378
  chats_page:
294
379
  docs: >-
295
380
  List of chats and their metadata returned for the specified page
@@ -361,6 +446,9 @@ types:
361
446
  docs: >-
362
447
  The timestamp when the chat ended, formatted as a Unix epoch
363
448
  milliseconds.
449
+ pagination_direction:
450
+ type: string
451
+ docs: The direction of the pagination (ASC or DESC).
364
452
  events_page:
365
453
  docs: List of chat events with the specified page number and page size.
366
454
  type: list<ReturnChatEvent>
@@ -373,6 +461,9 @@ types:
373
461
  page_size:
374
462
  type: integer
375
463
  docs: The number of results returned per page.
464
+ total_pages:
465
+ type: integer
466
+ docs: The total number of pages in the collection
376
467
  config: optional<ReturnConfigSpec>
377
468
  ReturnActiveChatCount:
378
469
  docs: A description of current chat chat sessions for a user
@@ -403,30 +494,53 @@ types:
403
494
  total_tag_active_chats:
404
495
  type: integer
405
496
  docs: The total number of active chats for this user with the specified tag.
406
- ReturnChatGroupPagedEvents:
407
- docs: >-
408
- A paginated list of chat events that occurred across chats in this
409
- chat_group from the server
497
+ ReturnChatGroup:
498
+ docs: A description of chat_group and its status
410
499
  properties:
411
500
  id:
412
501
  type: string
413
502
  docs: >-
414
503
  Identifier for the chat group. Any chat resumed from this chat will
415
504
  have the same chat_group_id. Formatted as a UUID.
505
+ first_start_timestamp:
506
+ type: integer
507
+ docs: >-
508
+ The timestamp when the first chat in this chat group started,
509
+ formatted as a Unix epoch milliseconds.
510
+ most_recent_start_timestamp:
511
+ type: integer
512
+ docs: >-
513
+ The timestamp when the most recent chat in this chat group started,
514
+ formatted as a Unix epoch milliseconds.
515
+ most_recent_chat_id:
516
+ type: optional<string>
517
+ docs: >-
518
+ The chat_id of the most recent chat in this chat group. Formatted as a
519
+ UUID.
520
+ num_chats:
521
+ type: integer
522
+ docs: The total number of chats in this chat group.
523
+ active: optional<boolean>
524
+ ReturnPagedChatGroups:
525
+ docs: A paginated list of chat_groups returned from the server
526
+ properties:
416
527
  page_number:
417
528
  type: integer
418
529
  docs: The page number of the returned results.
419
530
  page_size:
420
531
  type: integer
421
532
  docs: The number of results returned per page.
533
+ total_pages:
534
+ type: integer
535
+ docs: The total number of pages in the collection
422
536
  pagination_direction:
423
537
  type: string
424
538
  docs: The direction of the pagination (ASC or DESC).
425
- events_page:
539
+ chat_groups_page:
426
540
  docs: >-
427
- List of chat_events returned for the specified page number and page
428
- size.
429
- type: list<ReturnChatEvent>
541
+ List of chat_groups and their metadata returned for the specified page
542
+ number and page size.
543
+ type: list<ReturnChatGroup>
430
544
  ReturnChatGroupPagedChats:
431
545
  docs: >-
432
546
  A description of chat_group and its status with a paginated list of each
@@ -456,53 +570,45 @@ types:
456
570
  page_size:
457
571
  type: integer
458
572
  docs: The number of results returned per page.
573
+ total_pages:
574
+ type: integer
575
+ docs: The total number of pages in the collection
576
+ pagination_direction:
577
+ type: string
578
+ docs: The direction of the pagination (ASC or DESC).
459
579
  chats_page:
460
580
  docs: >-
461
581
  List of chats and their metadata returned for the specified page
462
582
  number and page size.
463
583
  type: list<ReturnChat>
464
584
  active: optional<boolean>
465
- ReturnChatGroup:
466
- docs: A description of chat_group and its status
585
+ ReturnChatGroupPagedEvents:
586
+ docs: >-
587
+ A paginated list of chat events that occurred across chats in this
588
+ chat_group from the server
467
589
  properties:
468
590
  id:
469
591
  type: string
470
592
  docs: >-
471
593
  Identifier for the chat group. Any chat resumed from this chat will
472
594
  have the same chat_group_id. Formatted as a UUID.
473
- first_start_timestamp:
474
- type: integer
475
- docs: >-
476
- The timestamp when the first chat in this chat group started,
477
- formatted as a Unix epoch milliseconds.
478
- most_recent_start_timestamp:
479
- type: integer
480
- docs: >-
481
- The timestamp when the most recent chat in this chat group started,
482
- formatted as a Unix epoch milliseconds.
483
- most_recent_chat_id:
484
- type: optional<string>
485
- docs: >-
486
- The chat_id of the most recent chat in this chat group. Formatted as a
487
- UUID.
488
- num_chats:
489
- type: integer
490
- docs: The total number of chats in this chat group.
491
- active: optional<boolean>
492
- ReturnPagedChatGroups:
493
- docs: A paginated list of chat_groups returned from the server
494
- properties:
495
595
  page_number:
496
596
  type: integer
497
597
  docs: The page number of the returned results.
498
598
  page_size:
499
599
  type: integer
500
600
  docs: The number of results returned per page.
501
- chat_groups_page:
601
+ total_pages:
602
+ type: integer
603
+ docs: The total number of pages in the collection
604
+ pagination_direction:
605
+ type: string
606
+ docs: The direction of the pagination (ASC or DESC).
607
+ events_page:
502
608
  docs: >-
503
- List of chat_groups and their metadata returned for the specified page
504
- number and page size.
505
- type: list<ReturnChatGroup>
609
+ List of chat_events returned for the specified page number and page
610
+ size.
611
+ type: list<ReturnChatEvent>
506
612
  AssistantEnd:
507
613
  docs: When provided, the output is an assistant end message.
508
614
  properties:
@@ -515,7 +621,7 @@ types:
515
621
  type: literal<"assistant_end">
516
622
  docs: >-
517
623
  The type of message sent through the socket; for an Assistant End
518
- message, this must be 'assistant_end'.
624
+ message, this must be `assistant_end`.
519
625
  AssistantInput:
520
626
  docs: When provided, the input is spoken by EVI.
521
627
  properties:
@@ -531,7 +637,7 @@ types:
531
637
  type: literal<"assistant_input">
532
638
  docs: >-
533
639
  The type of message sent through the socket; for an Assistant Input
534
- message, this must be 'assistant_input'.
640
+ message, this must be `assistant_input`.
535
641
  AssistantMessage:
536
642
  docs: When provided, the output is an assistant message.
537
643
  properties:
@@ -556,7 +662,7 @@ types:
556
662
  type: literal<"assistant_message">
557
663
  docs: >-
558
664
  The type of message sent through the socket; for an Assistant Message,
559
- this must be 'assistant_message'.
665
+ this must be `assistant_message`.
560
666
  AudioConfiguration:
561
667
  properties:
562
668
  channels:
@@ -585,7 +691,7 @@ types:
585
691
  type: literal<"audio_input">
586
692
  docs: >-
587
693
  The type of message sent through the socket; for an Audio Input
588
- message, this must be 'audio_input'.
694
+ message, this must be `audio_input`.
589
695
  AudioOutput:
590
696
  docs: When provided, the output is audio.
591
697
  properties:
@@ -606,7 +712,7 @@ types:
606
712
  type: literal<"audio_output">
607
713
  docs: >-
608
714
  The type of message sent through the socket; for an Audio Output
609
- message, this must be 'audio_output'.
715
+ message, this must be `audio_output`.
610
716
  BuiltInTool: literal<"web_search">
611
717
  BuiltinToolConfig:
612
718
  properties:
@@ -650,7 +756,7 @@ types:
650
756
  type: literal<"chat_metadata">
651
757
  docs: >-
652
758
  The type of message sent through the socket; for a Chat Metadata
653
- message, this must be 'chat_metadata'.
759
+ message, this must be `chat_metadata`.
654
760
  Context:
655
761
  properties:
656
762
  text:
@@ -715,7 +821,7 @@ types:
715
821
  Tiredness: double
716
822
  Triumph: double
717
823
  Encoding: literal<"linear16">
718
- WebSocketError:
824
+ Error:
719
825
  docs: When provided, the output is an error message.
720
826
  properties:
721
827
  code:
@@ -736,7 +842,7 @@ types:
736
842
  type: literal<"error">
737
843
  docs: >-
738
844
  The type of message sent through the socket; for a Web Socket Error
739
- message, this must be 'error'.
845
+ message, this must be `error`.
740
846
  ErrorLevel: literal<"warn">
741
847
  Inference:
742
848
  properties:
@@ -762,10 +868,10 @@ types:
762
868
  Used to manage conversational state, correlate frontend and backend
763
869
  data, and persist conversations across EVI sessions.
764
870
  type:
765
- type: optional<literal<"pause_assistant_message">>
871
+ type: literal<"pause_assistant_message">
766
872
  docs: >-
767
873
  The type of message sent through the socket; for a Pause Assistant
768
- message, this must be 'pause_assistant_message'.
874
+ message, this must be `pause_assistant_message`.
769
875
  ProsodyInference:
770
876
  properties:
771
877
  scores: EmotionScores
@@ -780,10 +886,10 @@ types:
780
886
  Used to manage conversational state, correlate frontend and backend
781
887
  data, and persist conversations across EVI sessions.
782
888
  type:
783
- type: optional<literal<"resume_assistant_message">>
889
+ type: literal<"resume_assistant_message">
784
890
  docs: >-
785
891
  The type of message sent through the socket; for a Resume Assistant
786
- message, this must be 'resume_assistant_message'.
892
+ message, this must be `resume_assistant_message`.
787
893
  Role:
788
894
  enum:
789
895
  - assistant
@@ -800,6 +906,9 @@ types:
800
906
  builtin_tools:
801
907
  type: optional<list<BuiltinToolConfig>>
802
908
  docs: List of builtin tools to enable.
909
+ context:
910
+ type: optional<Context>
911
+ docs: User context to inject. Set to null to disable context injection.
803
912
  custom_session_id:
804
913
  type: optional<string>
805
914
  docs: >-
@@ -820,7 +929,7 @@ types:
820
929
  type: literal<"session_settings">
821
930
  docs: >-
822
931
  The type of message sent through the socket; for a Session Settings
823
- message, this must be 'session_settings'.
932
+ message, this must be `session_settings`.
824
933
  Tool:
825
934
  properties:
826
935
  description:
@@ -861,13 +970,13 @@ types:
861
970
  type: string
862
971
  docs: ID of the tool call.
863
972
  tool_type:
864
- type: ToolType
973
+ type: optional<ToolType>
865
974
  docs: Type of tool called, either 'builtin' or 'function'.
866
975
  type:
867
- type: optional<literal<"tool_call">>
976
+ type: literal<"tool_call">
868
977
  docs: >-
869
978
  The type of message sent through the socket; for a Tool Call message,
870
- this must be 'tool_call'.
979
+ this must be `tool_call`.
871
980
  ToolErrorMessage:
872
981
  docs: When provided, the output is a function call error.
873
982
  properties:
@@ -895,10 +1004,10 @@ types:
895
1004
  type: optional<ToolType>
896
1005
  docs: Type of tool called, either 'builtin' or 'function'.
897
1006
  type:
898
- type: optional<literal<"tool_error">>
1007
+ type: literal<"tool_error">
899
1008
  docs: >-
900
1009
  The type of message sent through the socket; for a Tool Error message,
901
- this must be 'tool_error'.
1010
+ this must be `tool_error`.
902
1011
  ToolResponseMessage:
903
1012
  docs: When provided, the output is a function call response.
904
1013
  properties:
@@ -916,10 +1025,10 @@ types:
916
1025
  tool_name: optional<string>
917
1026
  tool_type: optional<ToolType>
918
1027
  type:
919
- type: optional<literal<"tool_response">>
1028
+ type: literal<"tool_response">
920
1029
  docs: >-
921
1030
  The type of message sent through the socket; for a Tool Response
922
- message, this must be tool_response’.
1031
+ message, this must be `tool_response`.
923
1032
  ToolType:
924
1033
  enum:
925
1034
  - builtin
@@ -939,7 +1048,7 @@ types:
939
1048
  type: literal<"user_input">
940
1049
  docs: >-
941
1050
  The type of message sent through the socket; for a User Input message,
942
- this must be user_input’.
1051
+ this must be `user_input`.
943
1052
  UserInterruption:
944
1053
  docs: When provided, the output is an interruption.
945
1054
  properties:
@@ -955,7 +1064,7 @@ types:
955
1064
  type: literal<"user_interruption">
956
1065
  docs: >-
957
1066
  The type of message sent through the socket; for a User Interruption
958
- message, this must be 'user_interruption'.
1067
+ message, this must be `user_interruption`.
959
1068
  UserMessage:
960
1069
  docs: When provided, the output is a user message.
961
1070
  properties:
@@ -976,13 +1085,8 @@ types:
976
1085
  time:
977
1086
  type: MillisecondInterval
978
1087
  docs: Start and End time of user message.
979
- type: literal<"user_message">
980
- TtsInput:
981
- properties:
982
- type: optional<literal<"tts">>
983
- TextInput:
984
- properties:
985
- type: optional<literal<"text_input">>
986
- FunctionCallResponseInput:
987
- properties:
988
- type: optional<literal<"function_call_response">>
1088
+ type:
1089
+ type: literal<"user_message">
1090
+ docs: >-
1091
+ The type of message sent through the socket; for a User message, this
1092
+ must be `user_message`.
@@ -7,11 +7,6 @@ channel:
7
7
  docs: >-
8
8
  Access token used for authenticating the client. If not provided, an
9
9
  `api_key` must be provided to authenticate.
10
- api_key:
11
- type: optional<string>
12
- docs: >-
13
- API key used for authenticating the client. If not provided, an
14
- `access_token` must be provided to authenticate.
15
10
  config_id:
16
11
  type: optional<string>
17
12
  docs: The unique identifier for the EVI configuration to be used.
@@ -21,6 +16,11 @@ channel:
21
16
  resumed_chat_group_id:
22
17
  type: optional<string>
23
18
  docs: The unique identifier for a chat group. Used to resume a previous chat.
19
+ api_key:
20
+ type: optional<string>
21
+ docs: >-
22
+ API key used for authenticating the client. If not provided, an
23
+ `access_token` must be provided to authenticate.
24
24
  messages:
25
25
  subscribe:
26
26
  origin: server
@@ -47,7 +47,7 @@ types:
47
47
  - root.AssistantMessage
48
48
  - root.AudioOutput
49
49
  - root.ChatMetadata
50
- - root.WebSocketError
50
+ - root.Error
51
51
  - root.UserInterruption
52
52
  - root.UserMessage
53
53
  - root.ToolCallMessage
@@ -18,6 +18,12 @@ service:
18
18
  page_size:
19
19
  type: optional<integer>
20
20
  docs: The maximum number of results to include per page.
21
+ ascending_order:
22
+ type: optional<boolean>
23
+ docs: >-
24
+ Boolean to indicate if the results should be paginated in
25
+ chronological order or reverse-chronological order. Defaults to
26
+ true.
21
27
  response:
22
28
  docs: Success
23
29
  type: root.ReturnPagedChatGroups
@@ -26,6 +32,8 @@ service:
26
32
  body:
27
33
  page_number: 1
28
34
  page_size: 1
35
+ total_pages: 1
36
+ pagination_direction: pagination_direction
29
37
  chat_groups_page:
30
38
  - id: id
31
39
  first_start_timestamp: 1
@@ -68,6 +76,7 @@ service:
68
76
  id: id
69
77
  page_number: 1
70
78
  page_size: 1
79
+ total_pages: 1
71
80
  pagination_direction: pagination_direction
72
81
  events_page:
73
82
  - id: id
@@ -20,7 +20,10 @@ service:
20
20
  docs: The maximum number of results to include per page.
21
21
  ascending_order:
22
22
  type: optional<boolean>
23
- docs: List chats in ascending order.
23
+ docs: >-
24
+ Boolean to indicate if the results should be paginated in
25
+ chronological order or reverse-chronological order. Defaults to
26
+ true.
24
27
  response:
25
28
  docs: Success
26
29
  type: root.ReturnPagedChats
@@ -29,6 +32,8 @@ service:
29
32
  body:
30
33
  page_number: 1
31
34
  page_size: 1
35
+ total_pages: 1
36
+ pagination_direction: pagination_direction
32
37
  chats_page:
33
38
  - id: id
34
39
  chat_group_id: chat_group_id
@@ -58,6 +63,12 @@ service:
58
63
  page_number:
59
64
  type: optional<integer>
60
65
  docs: The page number of the results to return.
66
+ ascending_order:
67
+ type: optional<boolean>
68
+ docs: >-
69
+ Boolean to indicate if the results should be paginated in
70
+ chronological order or reverse-chronological order. Defaults to
71
+ true.
61
72
  response:
62
73
  docs: Success
63
74
  type: root.ReturnChatPagedEvents
@@ -72,6 +83,7 @@ service:
72
83
  status: status
73
84
  start_timestamp: 1
74
85
  end_timestamp: 1
86
+ pagination_direction: pagination_direction
75
87
  events_page:
76
88
  - id: id
77
89
  chat_id: chat_id
@@ -84,6 +96,7 @@ service:
84
96
  metadata: metadata
85
97
  page_number: 1
86
98
  page_size: 1
99
+ total_pages: 1
87
100
  config:
88
101
  id: id
89
102
  version: 1