mavenagi 1.2.20 → 1.2.22

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 (323) hide show
  1. package/Client.d.ts +6 -6
  2. package/Client.js +32 -32
  3. package/api/resources/commons/types/BaseAttachment.d.ts +1 -0
  4. package/api/resources/commons/types/InboxItemBase.d.ts +2 -0
  5. package/api/resources/conversation/client/Client.d.ts +0 -17
  6. package/api/resources/conversation/client/Client.js +0 -108
  7. package/api/resources/conversation/types/index.d.ts +0 -2
  8. package/api/resources/conversation/types/index.js +0 -2
  9. package/api/resources/inbox/client/Client.d.ts +18 -0
  10. package/api/resources/inbox/client/Client.js +98 -0
  11. package/api/resources/inbox/client/requests/InboxItemApplyTagsRequest.d.ts +12 -0
  12. package/api/resources/inbox/client/requests/index.d.ts +1 -0
  13. package/api/resources/inbox/types/InboxFilter.d.ts +2 -0
  14. package/api/resources/index.d.ts +4 -4
  15. package/api/resources/index.js +5 -5
  16. package/api/resources/segments/types/SegmentFilter.d.ts +21 -0
  17. package/api/resources/segments/types/SegmentRequest.d.ts +2 -0
  18. package/api/resources/segments/types/SegmentResponse.d.ts +3 -0
  19. package/api/resources/segments/types/SegmentsSearchRequest.d.ts +2 -0
  20. package/api/resources/segments/types/index.d.ts +1 -0
  21. package/api/resources/segments/types/index.js +1 -0
  22. package/api/resources/voice/client/Client.d.ts +38 -0
  23. package/api/resources/{auth → voice}/client/Client.js +19 -14
  24. package/api/resources/voice/types/VoiceSessionTokenRequest.d.ts +17 -0
  25. package/api/resources/voice/types/VoiceSessionTokenResponse.d.ts +11 -0
  26. package/api/resources/voice/types/VoiceTokenType.d.ts +5 -0
  27. package/api/resources/voice/types/VoiceTokenType.js +8 -0
  28. package/api/resources/voice/types/index.d.ts +3 -0
  29. package/api/resources/{auth → voice}/types/index.js +3 -2
  30. package/api/resources/{websockets → voiceConversations}/client/Client.d.ts +6 -6
  31. package/api/resources/{websockets → voiceConversations}/client/Client.js +5 -5
  32. package/api/resources/{websockets → voiceConversations}/client/Socket.d.ts +6 -6
  33. package/api/resources/{websockets → voiceConversations}/client/Socket.js +6 -6
  34. package/{dist/api/resources/websockets → api/resources/voiceConversations}/types/AgentAudioChunk.d.ts +1 -1
  35. package/{dist/api/resources/websockets → api/resources/voiceConversations}/types/Config.d.ts +2 -2
  36. package/api/resources/{websockets → voiceConversations}/types/UserAudioChunk.d.ts +1 -1
  37. package/dist/Client.d.ts +6 -6
  38. package/dist/Client.js +32 -32
  39. package/dist/api/resources/commons/types/BaseAttachment.d.ts +1 -0
  40. package/dist/api/resources/commons/types/InboxItemBase.d.ts +2 -0
  41. package/dist/api/resources/conversation/client/Client.d.ts +0 -17
  42. package/dist/api/resources/conversation/client/Client.js +0 -108
  43. package/dist/api/resources/conversation/types/index.d.ts +0 -2
  44. package/dist/api/resources/conversation/types/index.js +0 -2
  45. package/dist/api/resources/inbox/client/Client.d.ts +18 -0
  46. package/dist/api/resources/inbox/client/Client.js +98 -0
  47. package/dist/api/resources/inbox/client/requests/InboxItemApplyTagsRequest.d.ts +12 -0
  48. package/dist/api/resources/inbox/client/requests/index.d.ts +1 -0
  49. package/dist/api/resources/inbox/types/InboxFilter.d.ts +2 -0
  50. package/dist/api/resources/index.d.ts +4 -4
  51. package/dist/api/resources/index.js +5 -5
  52. package/dist/api/resources/segments/types/SegmentFilter.d.ts +21 -0
  53. package/dist/api/resources/segments/types/SegmentRequest.d.ts +2 -0
  54. package/dist/api/resources/segments/types/SegmentResponse.d.ts +3 -0
  55. package/dist/api/resources/segments/types/SegmentsSearchRequest.d.ts +2 -0
  56. package/dist/api/resources/segments/types/index.d.ts +1 -0
  57. package/dist/api/resources/segments/types/index.js +1 -0
  58. package/dist/api/resources/voice/client/Client.d.ts +38 -0
  59. package/dist/api/resources/{auth → voice}/client/Client.js +19 -14
  60. package/dist/api/resources/voice/types/VoiceSessionTokenRequest.d.ts +17 -0
  61. package/dist/api/resources/voice/types/VoiceSessionTokenResponse.d.ts +11 -0
  62. package/dist/api/resources/voice/types/VoiceTokenType.d.ts +5 -0
  63. package/dist/api/resources/voice/types/VoiceTokenType.js +8 -0
  64. package/dist/api/resources/voice/types/index.d.ts +3 -0
  65. package/dist/api/resources/voice/types/index.js +19 -0
  66. package/dist/api/resources/{websockets → voiceConversations}/client/Client.d.ts +6 -6
  67. package/dist/api/resources/{websockets → voiceConversations}/client/Client.js +5 -5
  68. package/dist/api/resources/{websockets → voiceConversations}/client/Socket.d.ts +6 -6
  69. package/dist/api/resources/{websockets → voiceConversations}/client/Socket.js +6 -6
  70. package/{api/resources/websockets → dist/api/resources/voiceConversations}/types/AgentAudioChunk.d.ts +1 -1
  71. package/{api/resources/websockets → dist/api/resources/voiceConversations}/types/Config.d.ts +2 -2
  72. package/dist/api/resources/{websockets → voiceConversations}/types/UserAudioChunk.d.ts +1 -1
  73. package/dist/serialization/resources/commons/types/InboxItemBase.d.ts +1 -0
  74. package/dist/serialization/resources/commons/types/InboxItemBase.js +1 -0
  75. package/dist/serialization/resources/conversation/types/index.d.ts +0 -2
  76. package/dist/serialization/resources/conversation/types/index.js +0 -2
  77. package/dist/serialization/resources/inbox/client/index.d.ts +1 -0
  78. package/dist/serialization/resources/inbox/client/index.js +17 -0
  79. package/dist/serialization/resources/inbox/client/requests/InboxItemApplyTagsRequest.d.ts +10 -0
  80. package/dist/serialization/resources/{auth/types/SessionTokenRequest.js → inbox/client/requests/InboxItemApplyTagsRequest.js} +5 -4
  81. package/dist/serialization/resources/inbox/client/requests/index.d.ts +1 -0
  82. package/dist/serialization/resources/inbox/client/requests/index.js +5 -0
  83. package/dist/serialization/resources/inbox/index.d.ts +1 -0
  84. package/dist/serialization/resources/inbox/index.js +1 -0
  85. package/dist/serialization/resources/inbox/types/InboxFilter.d.ts +1 -0
  86. package/dist/serialization/resources/inbox/types/InboxFilter.js +1 -0
  87. package/dist/serialization/resources/index.d.ts +6 -5
  88. package/dist/serialization/resources/index.js +7 -6
  89. package/dist/serialization/resources/segments/types/SegmentFilter.d.ts +12 -0
  90. package/dist/serialization/resources/segments/types/SegmentFilter.js +44 -0
  91. package/dist/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
  92. package/dist/serialization/resources/segments/types/SegmentRequest.js +2 -0
  93. package/dist/serialization/resources/segments/types/SegmentResponse.d.ts +1 -0
  94. package/dist/serialization/resources/segments/types/SegmentResponse.js +1 -0
  95. package/dist/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +2 -0
  96. package/dist/serialization/resources/segments/types/SegmentsSearchRequest.js +2 -0
  97. package/dist/serialization/resources/segments/types/index.d.ts +1 -0
  98. package/dist/serialization/resources/segments/types/index.js +1 -0
  99. package/dist/serialization/resources/voice/types/VoiceSessionTokenRequest.d.ts +12 -0
  100. package/dist/serialization/resources/voice/types/VoiceSessionTokenRequest.js +44 -0
  101. package/dist/serialization/resources/voice/types/VoiceSessionTokenResponse.d.ts +13 -0
  102. package/dist/serialization/resources/voice/types/VoiceSessionTokenResponse.js +45 -0
  103. package/dist/serialization/resources/voice/types/VoiceTokenType.d.ts +7 -0
  104. package/dist/serialization/resources/voice/types/VoiceTokenType.js +39 -0
  105. package/dist/serialization/resources/voice/types/index.d.ts +3 -0
  106. package/dist/serialization/resources/voice/types/index.js +19 -0
  107. package/{serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts → dist/serialization/resources/voiceConversations/client/socket/VoiceConversationsSocketResponse.d.ts} +2 -2
  108. package/dist/serialization/resources/{websockets/client/socket/WebsocketsSocketResponse.js → voiceConversations/client/socket/VoiceConversationsSocketResponse.js} +2 -2
  109. package/dist/serialization/resources/voiceConversations/client/socket/index.d.ts +1 -0
  110. package/dist/serialization/resources/voiceConversations/client/socket/index.js +5 -0
  111. package/dist/version.d.ts +1 -1
  112. package/dist/version.js +1 -1
  113. package/package.json +1 -1
  114. package/reference.md +146 -163
  115. package/serialization/resources/commons/types/InboxItemBase.d.ts +1 -0
  116. package/serialization/resources/commons/types/InboxItemBase.js +1 -0
  117. package/serialization/resources/conversation/types/index.d.ts +0 -2
  118. package/serialization/resources/conversation/types/index.js +0 -2
  119. package/serialization/resources/inbox/client/index.d.ts +1 -0
  120. package/serialization/resources/inbox/client/index.js +17 -0
  121. package/serialization/resources/inbox/client/requests/InboxItemApplyTagsRequest.d.ts +10 -0
  122. package/{dist/serialization/resources/auth/types/SessionTokenResponse.js → serialization/resources/inbox/client/requests/InboxItemApplyTagsRequest.js} +5 -5
  123. package/serialization/resources/inbox/client/requests/index.d.ts +1 -0
  124. package/serialization/resources/inbox/client/requests/index.js +5 -0
  125. package/serialization/resources/inbox/index.d.ts +1 -0
  126. package/serialization/resources/inbox/index.js +1 -0
  127. package/serialization/resources/inbox/types/InboxFilter.d.ts +1 -0
  128. package/serialization/resources/inbox/types/InboxFilter.js +1 -0
  129. package/serialization/resources/index.d.ts +6 -5
  130. package/serialization/resources/index.js +7 -6
  131. package/serialization/resources/segments/types/SegmentFilter.d.ts +12 -0
  132. package/serialization/resources/segments/types/SegmentFilter.js +44 -0
  133. package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
  134. package/serialization/resources/segments/types/SegmentRequest.js +2 -0
  135. package/serialization/resources/segments/types/SegmentResponse.d.ts +1 -0
  136. package/serialization/resources/segments/types/SegmentResponse.js +1 -0
  137. package/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +2 -0
  138. package/serialization/resources/segments/types/SegmentsSearchRequest.js +2 -0
  139. package/serialization/resources/segments/types/index.d.ts +1 -0
  140. package/serialization/resources/segments/types/index.js +1 -0
  141. package/serialization/resources/voice/types/VoiceSessionTokenRequest.d.ts +12 -0
  142. package/serialization/resources/voice/types/VoiceSessionTokenRequest.js +44 -0
  143. package/serialization/resources/voice/types/VoiceSessionTokenResponse.d.ts +13 -0
  144. package/serialization/resources/voice/types/VoiceSessionTokenResponse.js +45 -0
  145. package/serialization/resources/voice/types/VoiceTokenType.d.ts +7 -0
  146. package/serialization/resources/voice/types/VoiceTokenType.js +39 -0
  147. package/serialization/resources/voice/types/index.d.ts +3 -0
  148. package/serialization/resources/voice/types/index.js +19 -0
  149. package/{dist/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts → serialization/resources/voiceConversations/client/socket/VoiceConversationsSocketResponse.d.ts} +2 -2
  150. package/serialization/resources/{websockets/client/socket/WebsocketsSocketResponse.js → voiceConversations/client/socket/VoiceConversationsSocketResponse.js} +2 -2
  151. package/serialization/resources/voiceConversations/client/socket/index.d.ts +1 -0
  152. package/serialization/resources/voiceConversations/client/socket/index.js +5 -0
  153. package/version.d.ts +1 -1
  154. package/version.js +1 -1
  155. package/api/resources/auth/client/Client.d.ts +0 -33
  156. package/api/resources/auth/types/SessionTokenRequest.d.ts +0 -3
  157. package/api/resources/auth/types/SessionTokenResponse.d.ts +0 -6
  158. package/api/resources/auth/types/index.d.ts +0 -2
  159. package/api/resources/conversation/types/AskObjectRequest.d.ts +0 -5
  160. package/api/resources/conversation/types/ObjectStreamResponse.d.ts +0 -13
  161. package/dist/api/resources/auth/client/Client.d.ts +0 -33
  162. package/dist/api/resources/auth/types/SessionTokenRequest.d.ts +0 -3
  163. package/dist/api/resources/auth/types/SessionTokenResponse.d.ts +0 -6
  164. package/dist/api/resources/auth/types/index.d.ts +0 -2
  165. package/dist/api/resources/auth/types/index.js +0 -18
  166. package/dist/api/resources/conversation/types/AskObjectRequest.d.ts +0 -5
  167. package/dist/api/resources/conversation/types/ObjectStreamResponse.d.ts +0 -13
  168. package/dist/serialization/resources/auth/types/SessionTokenRequest.d.ts +0 -9
  169. package/dist/serialization/resources/auth/types/SessionTokenResponse.d.ts +0 -10
  170. package/dist/serialization/resources/auth/types/index.d.ts +0 -2
  171. package/dist/serialization/resources/auth/types/index.js +0 -18
  172. package/dist/serialization/resources/conversation/types/AskObjectRequest.d.ts +0 -10
  173. package/dist/serialization/resources/conversation/types/AskObjectRequest.js +0 -44
  174. package/dist/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +0 -19
  175. package/dist/serialization/resources/conversation/types/ObjectStreamResponse.js +0 -51
  176. package/dist/serialization/resources/websockets/client/socket/index.d.ts +0 -1
  177. package/dist/serialization/resources/websockets/client/socket/index.js +0 -5
  178. package/serialization/resources/auth/types/SessionTokenRequest.d.ts +0 -9
  179. package/serialization/resources/auth/types/SessionTokenRequest.js +0 -41
  180. package/serialization/resources/auth/types/SessionTokenResponse.d.ts +0 -10
  181. package/serialization/resources/auth/types/SessionTokenResponse.js +0 -42
  182. package/serialization/resources/auth/types/index.d.ts +0 -2
  183. package/serialization/resources/auth/types/index.js +0 -18
  184. package/serialization/resources/conversation/types/AskObjectRequest.d.ts +0 -10
  185. package/serialization/resources/conversation/types/AskObjectRequest.js +0 -44
  186. package/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +0 -19
  187. package/serialization/resources/conversation/types/ObjectStreamResponse.js +0 -51
  188. package/serialization/resources/websockets/client/socket/index.d.ts +0 -1
  189. package/serialization/resources/websockets/client/socket/index.js +0 -5
  190. /package/api/resources/{auth/types/SessionTokenRequest.js → inbox/client/requests/InboxItemApplyTagsRequest.js} +0 -0
  191. /package/api/resources/{auth/types/SessionTokenResponse.js → segments/types/SegmentFilter.js} +0 -0
  192. /package/api/resources/{auth → voice}/client/index.d.ts +0 -0
  193. /package/api/resources/{auth → voice}/client/index.js +0 -0
  194. /package/api/resources/{auth → voice}/index.d.ts +0 -0
  195. /package/api/resources/{auth → voice}/index.js +0 -0
  196. /package/api/resources/{conversation/types/AskObjectRequest.js → voice/types/VoiceSessionTokenRequest.js} +0 -0
  197. /package/api/resources/{conversation/types/ObjectStreamResponse.js → voice/types/VoiceSessionTokenResponse.js} +0 -0
  198. /package/api/resources/{websockets → voiceConversations}/client/index.d.ts +0 -0
  199. /package/api/resources/{websockets → voiceConversations}/client/index.js +0 -0
  200. /package/api/resources/{websockets → voiceConversations}/index.d.ts +0 -0
  201. /package/api/resources/{websockets → voiceConversations}/index.js +0 -0
  202. /package/api/resources/{websockets → voiceConversations}/types/AgentAudioChunk.js +0 -0
  203. /package/api/resources/{websockets → voiceConversations}/types/AgentTranscript.d.ts +0 -0
  204. /package/api/resources/{websockets → voiceConversations}/types/AgentTranscript.js +0 -0
  205. /package/api/resources/{websockets → voiceConversations}/types/AudioFormat.d.ts +0 -0
  206. /package/api/resources/{websockets → voiceConversations}/types/AudioFormat.js +0 -0
  207. /package/api/resources/{websockets → voiceConversations}/types/Config.js +0 -0
  208. /package/api/resources/{websockets → voiceConversations}/types/ConversationEnded.d.ts +0 -0
  209. /package/api/resources/{websockets → voiceConversations}/types/ConversationEnded.js +0 -0
  210. /package/api/resources/{websockets → voiceConversations}/types/ConversationReady.d.ts +0 -0
  211. /package/api/resources/{websockets → voiceConversations}/types/ConversationReady.js +0 -0
  212. /package/api/resources/{websockets → voiceConversations}/types/Error_.d.ts +0 -0
  213. /package/api/resources/{websockets → voiceConversations}/types/Error_.js +0 -0
  214. /package/api/resources/{websockets → voiceConversations}/types/ServerEventBase.d.ts +0 -0
  215. /package/api/resources/{websockets → voiceConversations}/types/ServerEventBase.js +0 -0
  216. /package/api/resources/{websockets → voiceConversations}/types/UserAudioChunk.js +0 -0
  217. /package/api/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.d.ts +0 -0
  218. /package/api/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.js +0 -0
  219. /package/api/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.d.ts +0 -0
  220. /package/api/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.js +0 -0
  221. /package/api/resources/{websockets → voiceConversations}/types/UserTranscript.d.ts +0 -0
  222. /package/api/resources/{websockets → voiceConversations}/types/UserTranscript.js +0 -0
  223. /package/api/resources/{websockets → voiceConversations}/types/index.d.ts +0 -0
  224. /package/api/resources/{websockets → voiceConversations}/types/index.js +0 -0
  225. /package/dist/api/resources/{auth/types/SessionTokenRequest.js → inbox/client/requests/InboxItemApplyTagsRequest.js} +0 -0
  226. /package/dist/api/resources/{auth/types/SessionTokenResponse.js → segments/types/SegmentFilter.js} +0 -0
  227. /package/dist/api/resources/{auth → voice}/client/index.d.ts +0 -0
  228. /package/dist/api/resources/{auth → voice}/client/index.js +0 -0
  229. /package/dist/api/resources/{auth → voice}/index.d.ts +0 -0
  230. /package/dist/api/resources/{auth → voice}/index.js +0 -0
  231. /package/dist/api/resources/{conversation/types/AskObjectRequest.js → voice/types/VoiceSessionTokenRequest.js} +0 -0
  232. /package/dist/api/resources/{conversation/types/ObjectStreamResponse.js → voice/types/VoiceSessionTokenResponse.js} +0 -0
  233. /package/dist/api/resources/{websockets → voiceConversations}/client/index.d.ts +0 -0
  234. /package/dist/api/resources/{websockets → voiceConversations}/client/index.js +0 -0
  235. /package/dist/api/resources/{websockets → voiceConversations}/index.d.ts +0 -0
  236. /package/dist/api/resources/{websockets → voiceConversations}/index.js +0 -0
  237. /package/dist/api/resources/{websockets → voiceConversations}/types/AgentAudioChunk.js +0 -0
  238. /package/dist/api/resources/{websockets → voiceConversations}/types/AgentTranscript.d.ts +0 -0
  239. /package/dist/api/resources/{websockets → voiceConversations}/types/AgentTranscript.js +0 -0
  240. /package/dist/api/resources/{websockets → voiceConversations}/types/AudioFormat.d.ts +0 -0
  241. /package/dist/api/resources/{websockets → voiceConversations}/types/AudioFormat.js +0 -0
  242. /package/dist/api/resources/{websockets → voiceConversations}/types/Config.js +0 -0
  243. /package/dist/api/resources/{websockets → voiceConversations}/types/ConversationEnded.d.ts +0 -0
  244. /package/dist/api/resources/{websockets → voiceConversations}/types/ConversationEnded.js +0 -0
  245. /package/dist/api/resources/{websockets → voiceConversations}/types/ConversationReady.d.ts +0 -0
  246. /package/dist/api/resources/{websockets → voiceConversations}/types/ConversationReady.js +0 -0
  247. /package/dist/api/resources/{websockets → voiceConversations}/types/Error_.d.ts +0 -0
  248. /package/dist/api/resources/{websockets → voiceConversations}/types/Error_.js +0 -0
  249. /package/dist/api/resources/{websockets → voiceConversations}/types/ServerEventBase.d.ts +0 -0
  250. /package/dist/api/resources/{websockets → voiceConversations}/types/ServerEventBase.js +0 -0
  251. /package/dist/api/resources/{websockets → voiceConversations}/types/UserAudioChunk.js +0 -0
  252. /package/dist/api/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.d.ts +0 -0
  253. /package/dist/api/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.js +0 -0
  254. /package/dist/api/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.d.ts +0 -0
  255. /package/dist/api/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.js +0 -0
  256. /package/dist/api/resources/{websockets → voiceConversations}/types/UserTranscript.d.ts +0 -0
  257. /package/dist/api/resources/{websockets → voiceConversations}/types/UserTranscript.js +0 -0
  258. /package/dist/api/resources/{websockets → voiceConversations}/types/index.d.ts +0 -0
  259. /package/dist/api/resources/{websockets → voiceConversations}/types/index.js +0 -0
  260. /package/dist/serialization/resources/{auth → voice}/index.d.ts +0 -0
  261. /package/dist/serialization/resources/{auth → voice}/index.js +0 -0
  262. /package/dist/serialization/resources/{websockets → voiceConversations}/client/index.d.ts +0 -0
  263. /package/dist/serialization/resources/{websockets → voiceConversations}/client/index.js +0 -0
  264. /package/dist/serialization/resources/{websockets → voiceConversations}/index.d.ts +0 -0
  265. /package/dist/serialization/resources/{websockets → voiceConversations}/index.js +0 -0
  266. /package/dist/serialization/resources/{websockets → voiceConversations}/types/AgentAudioChunk.d.ts +0 -0
  267. /package/dist/serialization/resources/{websockets → voiceConversations}/types/AgentAudioChunk.js +0 -0
  268. /package/dist/serialization/resources/{websockets → voiceConversations}/types/AgentTranscript.d.ts +0 -0
  269. /package/dist/serialization/resources/{websockets → voiceConversations}/types/AgentTranscript.js +0 -0
  270. /package/dist/serialization/resources/{websockets → voiceConversations}/types/AudioFormat.d.ts +0 -0
  271. /package/dist/serialization/resources/{websockets → voiceConversations}/types/AudioFormat.js +0 -0
  272. /package/dist/serialization/resources/{websockets → voiceConversations}/types/Config.d.ts +0 -0
  273. /package/dist/serialization/resources/{websockets → voiceConversations}/types/Config.js +0 -0
  274. /package/dist/serialization/resources/{websockets → voiceConversations}/types/ConversationEnded.d.ts +0 -0
  275. /package/dist/serialization/resources/{websockets → voiceConversations}/types/ConversationEnded.js +0 -0
  276. /package/dist/serialization/resources/{websockets → voiceConversations}/types/ConversationReady.d.ts +0 -0
  277. /package/dist/serialization/resources/{websockets → voiceConversations}/types/ConversationReady.js +0 -0
  278. /package/dist/serialization/resources/{websockets → voiceConversations}/types/Error_.d.ts +0 -0
  279. /package/dist/serialization/resources/{websockets → voiceConversations}/types/Error_.js +0 -0
  280. /package/dist/serialization/resources/{websockets → voiceConversations}/types/ServerEventBase.d.ts +0 -0
  281. /package/dist/serialization/resources/{websockets → voiceConversations}/types/ServerEventBase.js +0 -0
  282. /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserAudioChunk.d.ts +0 -0
  283. /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserAudioChunk.js +0 -0
  284. /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.d.ts +0 -0
  285. /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.js +0 -0
  286. /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.d.ts +0 -0
  287. /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.js +0 -0
  288. /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserTranscript.d.ts +0 -0
  289. /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserTranscript.js +0 -0
  290. /package/dist/serialization/resources/{websockets → voiceConversations}/types/index.d.ts +0 -0
  291. /package/dist/serialization/resources/{websockets → voiceConversations}/types/index.js +0 -0
  292. /package/serialization/resources/{auth → voice}/index.d.ts +0 -0
  293. /package/serialization/resources/{auth → voice}/index.js +0 -0
  294. /package/serialization/resources/{websockets → voiceConversations}/client/index.d.ts +0 -0
  295. /package/serialization/resources/{websockets → voiceConversations}/client/index.js +0 -0
  296. /package/serialization/resources/{websockets → voiceConversations}/index.d.ts +0 -0
  297. /package/serialization/resources/{websockets → voiceConversations}/index.js +0 -0
  298. /package/serialization/resources/{websockets → voiceConversations}/types/AgentAudioChunk.d.ts +0 -0
  299. /package/serialization/resources/{websockets → voiceConversations}/types/AgentAudioChunk.js +0 -0
  300. /package/serialization/resources/{websockets → voiceConversations}/types/AgentTranscript.d.ts +0 -0
  301. /package/serialization/resources/{websockets → voiceConversations}/types/AgentTranscript.js +0 -0
  302. /package/serialization/resources/{websockets → voiceConversations}/types/AudioFormat.d.ts +0 -0
  303. /package/serialization/resources/{websockets → voiceConversations}/types/AudioFormat.js +0 -0
  304. /package/serialization/resources/{websockets → voiceConversations}/types/Config.d.ts +0 -0
  305. /package/serialization/resources/{websockets → voiceConversations}/types/Config.js +0 -0
  306. /package/serialization/resources/{websockets → voiceConversations}/types/ConversationEnded.d.ts +0 -0
  307. /package/serialization/resources/{websockets → voiceConversations}/types/ConversationEnded.js +0 -0
  308. /package/serialization/resources/{websockets → voiceConversations}/types/ConversationReady.d.ts +0 -0
  309. /package/serialization/resources/{websockets → voiceConversations}/types/ConversationReady.js +0 -0
  310. /package/serialization/resources/{websockets → voiceConversations}/types/Error_.d.ts +0 -0
  311. /package/serialization/resources/{websockets → voiceConversations}/types/Error_.js +0 -0
  312. /package/serialization/resources/{websockets → voiceConversations}/types/ServerEventBase.d.ts +0 -0
  313. /package/serialization/resources/{websockets → voiceConversations}/types/ServerEventBase.js +0 -0
  314. /package/serialization/resources/{websockets → voiceConversations}/types/UserAudioChunk.d.ts +0 -0
  315. /package/serialization/resources/{websockets → voiceConversations}/types/UserAudioChunk.js +0 -0
  316. /package/serialization/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.d.ts +0 -0
  317. /package/serialization/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.js +0 -0
  318. /package/serialization/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.d.ts +0 -0
  319. /package/serialization/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.js +0 -0
  320. /package/serialization/resources/{websockets → voiceConversations}/types/UserTranscript.d.ts +0 -0
  321. /package/serialization/resources/{websockets → voiceConversations}/types/UserTranscript.js +0 -0
  322. /package/serialization/resources/{websockets → voiceConversations}/types/index.d.ts +0 -0
  323. /package/serialization/resources/{websockets → voiceConversations}/types/index.js +0 -0
@@ -1,6 +1,6 @@
1
1
  import type { BaseClientOptions } from "../../../../BaseClient";
2
- import { WebsocketsSocket } from "./Socket";
3
- export declare namespace Websockets {
2
+ import { VoiceConversationsSocket } from "./Socket";
3
+ export declare namespace VoiceConversations {
4
4
  interface Options extends BaseClientOptions {
5
5
  }
6
6
  interface ConnectArgs {
@@ -14,9 +14,9 @@ export declare namespace Websockets {
14
14
  reconnectAttempts?: number;
15
15
  }
16
16
  }
17
- export declare class Websockets {
18
- protected readonly _options: Websockets.Options;
19
- constructor(_options: Websockets.Options);
20
- connect(args: Websockets.ConnectArgs): Promise<WebsocketsSocket>;
17
+ export declare class VoiceConversations {
18
+ protected readonly _options: VoiceConversations.Options;
19
+ constructor(_options: VoiceConversations.Options);
20
+ connect(args: VoiceConversations.ConnectArgs): Promise<VoiceConversationsSocket>;
21
21
  protected _getAuthorizationHeader(): Promise<string | undefined>;
22
22
  }
@@ -43,12 +43,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
43
43
  });
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.Websockets = void 0;
46
+ exports.VoiceConversations = void 0;
47
47
  const core = __importStar(require("../../../../core"));
48
48
  const headers_1 = require("../../../../core/headers");
49
49
  const environments = __importStar(require("../../../../environments"));
50
50
  const Socket_1 = require("./Socket");
51
- class Websockets {
51
+ class VoiceConversations {
52
52
  constructor(_options) {
53
53
  this._options = _options;
54
54
  }
@@ -62,13 +62,13 @@ class Websockets {
62
62
  }
63
63
  const _headers = (0, headers_1.mergeHeaders)((0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: args.Authorization }), headers);
64
64
  const socket = new core.ReconnectingWebSocket({
65
- url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MavenAGIEnvironment.Production, "/v1/realtime/conversations"),
65
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MavenAGIEnvironment.Production, "/v1/voice/conversations"),
66
66
  protocols: [],
67
67
  queryParameters: _queryParams,
68
68
  headers: _headers,
69
69
  options: { debug: debug !== null && debug !== void 0 ? debug : false, maxRetries: reconnectAttempts !== null && reconnectAttempts !== void 0 ? reconnectAttempts : 30 },
70
70
  });
71
- return new Socket_1.WebsocketsSocket({ socket });
71
+ return new Socket_1.VoiceConversationsSocket({ socket });
72
72
  });
73
73
  }
74
74
  _getAuthorizationHeader() {
@@ -86,4 +86,4 @@ class Websockets {
86
86
  });
87
87
  }
88
88
  }
89
- exports.Websockets = Websockets;
89
+ exports.VoiceConversations = VoiceConversations;
@@ -1,6 +1,6 @@
1
1
  import * as core from "../../../../core";
2
2
  import type * as MavenAGI from "../../../index";
3
- export declare namespace WebsocketsSocket {
3
+ export declare namespace VoiceConversationsSocket {
4
4
  interface Args {
5
5
  socket: core.ReconnectingWebSocket;
6
6
  }
@@ -12,14 +12,14 @@ export declare namespace WebsocketsSocket {
12
12
  error?: (error: Error) => void;
13
13
  };
14
14
  }
15
- export declare class WebsocketsSocket {
15
+ export declare class VoiceConversationsSocket {
16
16
  readonly socket: core.ReconnectingWebSocket;
17
- protected readonly eventHandlers: WebsocketsSocket.EventHandlers;
17
+ protected readonly eventHandlers: VoiceConversationsSocket.EventHandlers;
18
18
  private handleOpen;
19
19
  private handleMessage;
20
20
  private handleClose;
21
21
  private handleError;
22
- constructor(args: WebsocketsSocket.Args);
22
+ constructor(args: VoiceConversationsSocket.Args);
23
23
  /** The current state of the connection; this is one of the readyState constants. */
24
24
  get readyState(): number;
25
25
  /**
@@ -32,11 +32,11 @@ export declare class WebsocketsSocket {
32
32
  * });
33
33
  * ```
34
34
  */
35
- on<T extends keyof WebsocketsSocket.EventHandlers>(event: T, callback: WebsocketsSocket.EventHandlers[T]): void;
35
+ on<T extends keyof VoiceConversationsSocket.EventHandlers>(event: T, callback: VoiceConversationsSocket.EventHandlers[T]): void;
36
36
  sendConfig(message: MavenAGI.Config): void;
37
37
  sendUserAudioChunk(message: MavenAGI.UserAudioChunk): void;
38
38
  /** Connect to the websocket and register event handlers. */
39
- connect(): WebsocketsSocket;
39
+ connect(): VoiceConversationsSocket;
40
40
  /** Close the websocket and unregister event handlers. */
41
41
  close(): void;
42
42
  /** Returns a promise that resolves when the websocket is open. */
@@ -43,13 +43,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
43
43
  });
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.WebsocketsSocket = void 0;
46
+ exports.VoiceConversationsSocket = void 0;
47
47
  const core = __importStar(require("../../../../core"));
48
48
  const json_1 = require("../../../../core/json");
49
49
  const serializers = __importStar(require("../../../../serialization/index"));
50
- const Config_1 = require("../../../../serialization/resources/websockets/types/Config");
51
- const UserAudioChunk_1 = require("../../../../serialization/resources/websockets/types/UserAudioChunk");
52
- class WebsocketsSocket {
50
+ const Config_1 = require("../../../../serialization/resources/voiceConversations/types/Config");
51
+ const UserAudioChunk_1 = require("../../../../serialization/resources/voiceConversations/types/UserAudioChunk");
52
+ class VoiceConversationsSocket {
53
53
  constructor(args) {
54
54
  this.eventHandlers = {};
55
55
  this.handleOpen = () => {
@@ -59,7 +59,7 @@ class WebsocketsSocket {
59
59
  this.handleMessage = (event) => {
60
60
  var _a, _b, _c, _d;
61
61
  const data = (0, json_1.fromJson)(event.data);
62
- const parsedResponse = serializers.WebsocketsSocketResponse.parse(data, {
62
+ const parsedResponse = serializers.VoiceConversationsSocketResponse.parse(data, {
63
63
  unrecognizedObjectKeys: "passthrough",
64
64
  allowUnrecognizedUnionMembers: true,
65
65
  allowUnrecognizedEnumValues: true,
@@ -169,4 +169,4 @@ class WebsocketsSocket {
169
169
  this.socket.send(payload);
170
170
  }
171
171
  }
172
- exports.WebsocketsSocket = WebsocketsSocket;
172
+ exports.VoiceConversationsSocket = VoiceConversationsSocket;
@@ -1,6 +1,6 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  /**
3
- * Audio chunk to send into the conversation.
3
+ * Audio chunk from the agent.
4
4
  */
5
5
  export interface AgentAudioChunk extends MavenAGI.ServerEventBase {
6
6
  type: "agent_audio_chunk";
@@ -4,9 +4,9 @@ import type * as MavenAGI from "../../../index";
4
4
  */
5
5
  export interface Config {
6
6
  type: "config";
7
- /** The user text to send into the conversation. */
7
+ /** The input audio format from the client. */
8
8
  inputFormat: MavenAGI.AudioFormat;
9
- /** The user text to send into the conversation. */
9
+ /** The output audio format to send to the client. */
10
10
  outputFormat: MavenAGI.AudioFormat;
11
11
  /** The conversation ID which was created prior to starting this conversation. */
12
12
  conversationId: string;
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export interface UserAudioChunk {
5
5
  type: "user_audio_chunk";
6
- /** Base64-encoded AI audio data */
6
+ /** Base64-encoded audio data */
7
7
  data: string;
8
8
  }
@@ -12,5 +12,6 @@ export declare namespace InboxItemBase {
12
12
  updatedAt: string;
13
13
  status: InboxItemStatus.Raw;
14
14
  severity: InboxItemSeverity.Raw;
15
+ tags?: string[] | null;
15
16
  }
16
17
  }
@@ -45,4 +45,5 @@ exports.InboxItemBase = core.serialization.object({
45
45
  updatedAt: core.serialization.date(),
46
46
  status: InboxItemStatus_1.InboxItemStatus,
47
47
  severity: InboxItemSeverity_1.InboxItemSeverity,
48
+ tags: core.serialization.set(core.serialization.string()).optional(),
48
49
  });
@@ -1,6 +1,5 @@
1
1
  export * from "./ActionFormAttachment";
2
2
  export * from "./ActionFormRequestParamValue";
3
- export * from "./AskObjectRequest";
4
3
  export * from "./AskRequest";
5
4
  export * from "./AskStreamActionEvent";
6
5
  export * from "./AskStreamChartEvent";
@@ -27,7 +26,6 @@ export * from "./FeedbackField";
27
26
  export * from "./FeedbackFilter";
28
27
  export * from "./FeedbackRequest";
29
28
  export * from "./NumericConversationField";
30
- export * from "./ObjectStreamResponse";
31
29
  export * from "./ResolutionStatus";
32
30
  export * from "./SimulationFilter";
33
31
  export * from "./StreamResponse";
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ActionFormAttachment"), exports);
18
18
  __exportStar(require("./ActionFormRequestParamValue"), exports);
19
- __exportStar(require("./AskObjectRequest"), exports);
20
19
  __exportStar(require("./AskRequest"), exports);
21
20
  __exportStar(require("./AskStreamActionEvent"), exports);
22
21
  __exportStar(require("./AskStreamChartEvent"), exports);
@@ -43,7 +42,6 @@ __exportStar(require("./FeedbackField"), exports);
43
42
  __exportStar(require("./FeedbackFilter"), exports);
44
43
  __exportStar(require("./FeedbackRequest"), exports);
45
44
  __exportStar(require("./NumericConversationField"), exports);
46
- __exportStar(require("./ObjectStreamResponse"), exports);
47
45
  __exportStar(require("./ResolutionStatus"), exports);
48
46
  __exportStar(require("./SimulationFilter"), exports);
49
47
  __exportStar(require("./StreamResponse"), exports);
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,10 @@
1
+ import type * as MavenAGI from "../../../../../api/index";
2
+ import * as core from "../../../../../core";
3
+ import type * as serializers from "../../../../index";
4
+ export declare const InboxItemApplyTagsRequest: core.serialization.Schema<serializers.InboxItemApplyTagsRequest.Raw, MavenAGI.InboxItemApplyTagsRequest>;
5
+ export declare namespace InboxItemApplyTagsRequest {
6
+ interface Raw {
7
+ appId?: string | null;
8
+ tags: string[];
9
+ }
10
+ }
@@ -34,8 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.SessionTokenRequest = void 0;
38
- const core = __importStar(require("../../../../core"));
39
- exports.SessionTokenRequest = core.serialization.object({
40
- ttlSeconds: core.serialization.number(),
37
+ exports.InboxItemApplyTagsRequest = void 0;
38
+ const core = __importStar(require("../../../../../core"));
39
+ exports.InboxItemApplyTagsRequest = core.serialization.object({
40
+ appId: core.serialization.string().optional(),
41
+ tags: core.serialization.set(core.serialization.string()),
41
42
  });
@@ -0,0 +1 @@
1
+ export { InboxItemApplyTagsRequest } from "./InboxItemApplyTagsRequest";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InboxItemApplyTagsRequest = void 0;
4
+ var InboxItemApplyTagsRequest_1 = require("./InboxItemApplyTagsRequest");
5
+ Object.defineProperty(exports, "InboxItemApplyTagsRequest", { enumerable: true, get: function () { return InboxItemApplyTagsRequest_1.InboxItemApplyTagsRequest; } });
@@ -1 +1,2 @@
1
+ export * from "./client";
1
2
  export * from "./types";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
17
18
  __exportStar(require("./types"), exports);
@@ -8,6 +8,7 @@ export declare namespace InboxFilter {
8
8
  interface Raw {
9
9
  statuses?: InboxItemStatus.Raw[] | null;
10
10
  type?: InboxItemType.Raw[] | null;
11
+ tags?: string[] | null;
11
12
  createdAfter?: string | null;
12
13
  createdBefore?: string | null;
13
14
  }
@@ -41,6 +41,7 @@ const InboxItemType_1 = require("../../commons/types/InboxItemType");
41
41
  exports.InboxFilter = core.serialization.object({
42
42
  statuses: core.serialization.list(InboxItemStatus_1.InboxItemStatus).optional(),
43
43
  type: core.serialization.list(InboxItemType_1.InboxItemType).optional(),
44
+ tags: core.serialization.set(core.serialization.string()).optional(),
44
45
  createdAfter: core.serialization.date().optional(),
45
46
  createdBefore: core.serialization.date().optional(),
46
47
  });
@@ -10,8 +10,6 @@ export * as appSettings from "./appSettings";
10
10
  export * from "./appSettings/types";
11
11
  export * as assets from "./assets";
12
12
  export * from "./assets/types";
13
- export * as auth from "./auth";
14
- export * from "./auth/types";
15
13
  export * as commons from "./commons";
16
14
  export * from "./commons/types";
17
15
  export * as conversation from "./conversation";
@@ -21,6 +19,7 @@ export * from "./customers/types";
21
19
  export * as developersCommons from "./developersCommons";
22
20
  export * from "./developersCommons/types";
23
21
  export * as inbox from "./inbox";
22
+ export * from "./inbox/client/requests";
24
23
  export * from "./inbox/types";
25
24
  export * as integrations from "./integrations";
26
25
  export * from "./integrations/types";
@@ -37,6 +36,8 @@ export * as triggers from "./triggers";
37
36
  export * from "./triggers/types";
38
37
  export * as users from "./users";
39
38
  export * from "./users/types";
40
- export * as websockets from "./websockets";
41
- export * from "./websockets/client/socket";
42
- export * from "./websockets/types";
39
+ export * as voice from "./voice";
40
+ export * from "./voice/types";
41
+ export * as voiceConversations from "./voiceConversations";
42
+ export * from "./voiceConversations/client/socket";
43
+ export * from "./voiceConversations/types";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.websockets = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.integrations = exports.inbox = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.auth = exports.assets = exports.appSettings = exports.analytics = exports.agents = exports.actions = void 0;
39
+ exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.integrations = exports.inbox = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.assets = exports.appSettings = exports.analytics = exports.agents = exports.actions = void 0;
40
40
  exports.actions = __importStar(require("./actions"));
41
41
  __exportStar(require("./actions/client/requests"), exports);
42
42
  __exportStar(require("./actions/types"), exports);
@@ -49,8 +49,6 @@ exports.appSettings = __importStar(require("./appSettings"));
49
49
  __exportStar(require("./appSettings/types"), exports);
50
50
  exports.assets = __importStar(require("./assets"));
51
51
  __exportStar(require("./assets/types"), exports);
52
- exports.auth = __importStar(require("./auth"));
53
- __exportStar(require("./auth/types"), exports);
54
52
  exports.commons = __importStar(require("./commons"));
55
53
  __exportStar(require("./commons/types"), exports);
56
54
  exports.conversation = __importStar(require("./conversation"));
@@ -60,6 +58,7 @@ __exportStar(require("./customers/types"), exports);
60
58
  exports.developersCommons = __importStar(require("./developersCommons"));
61
59
  __exportStar(require("./developersCommons/types"), exports);
62
60
  exports.inbox = __importStar(require("./inbox"));
61
+ __exportStar(require("./inbox/client/requests"), exports);
63
62
  __exportStar(require("./inbox/types"), exports);
64
63
  exports.integrations = __importStar(require("./integrations"));
65
64
  __exportStar(require("./integrations/types"), exports);
@@ -76,6 +75,8 @@ exports.triggers = __importStar(require("./triggers"));
76
75
  __exportStar(require("./triggers/types"), exports);
77
76
  exports.users = __importStar(require("./users"));
78
77
  __exportStar(require("./users/types"), exports);
79
- exports.websockets = __importStar(require("./websockets"));
80
- __exportStar(require("./websockets/client/socket"), exports);
81
- __exportStar(require("./websockets/types"), exports);
78
+ exports.voice = __importStar(require("./voice"));
79
+ __exportStar(require("./voice/types"), exports);
80
+ exports.voiceConversations = __importStar(require("./voiceConversations"));
81
+ __exportStar(require("./voiceConversations/client/socket"), exports);
82
+ __exportStar(require("./voiceConversations/types"), exports);
@@ -0,0 +1,12 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { SegmentStatus } from "./SegmentStatus";
5
+ export declare const SegmentFilter: core.serialization.ObjectSchema<serializers.SegmentFilter.Raw, MavenAGI.SegmentFilter>;
6
+ export declare namespace SegmentFilter {
7
+ interface Raw {
8
+ name?: string | null;
9
+ description?: string | null;
10
+ statuses?: SegmentStatus.Raw[] | null;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.SegmentFilter = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const SegmentStatus_1 = require("./SegmentStatus");
40
+ exports.SegmentFilter = core.serialization.object({
41
+ name: core.serialization.string().optional(),
42
+ description: core.serialization.string().optional(),
43
+ statuses: core.serialization.list(SegmentStatus_1.SegmentStatus).optional(),
44
+ });
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { EntityIdBase } from "../../commons/types/EntityIdBase";
5
5
  import { SegmentBase } from "./SegmentBase";
6
+ import { SegmentStatus } from "./SegmentStatus";
6
7
  export declare const SegmentRequest: core.serialization.ObjectSchema<serializers.SegmentRequest.Raw, MavenAGI.SegmentRequest>;
7
8
  export declare namespace SegmentRequest {
8
9
  interface Raw extends SegmentBase.Raw {
9
10
  segmentId: EntityIdBase.Raw;
11
+ status?: SegmentStatus.Raw | null;
10
12
  }
11
13
  }
@@ -38,8 +38,10 @@ exports.SegmentRequest = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
40
40
  const SegmentBase_1 = require("./SegmentBase");
41
+ const SegmentStatus_1 = require("./SegmentStatus");
41
42
  exports.SegmentRequest = core.serialization
42
43
  .object({
43
44
  segmentId: EntityIdBase_1.EntityIdBase,
45
+ status: SegmentStatus_1.SegmentStatus.optional(),
44
46
  })
45
47
  .extend(SegmentBase_1.SegmentBase);
@@ -12,6 +12,7 @@ export declare namespace SegmentResponse {
12
12
  updatedAt: string;
13
13
  referencedKnowledgeBaseCount?: number | null;
14
14
  referencedDocumentCount?: number | null;
15
+ referencedActionCount?: number | null;
15
16
  status: SegmentStatus.Raw;
16
17
  }
17
18
  }
@@ -46,6 +46,7 @@ exports.SegmentResponse = core.serialization
46
46
  updatedAt: core.serialization.date(),
47
47
  referencedKnowledgeBaseCount: core.serialization.number().optional(),
48
48
  referencedDocumentCount: core.serialization.number().optional(),
49
+ referencedActionCount: core.serialization.number().optional(),
49
50
  status: SegmentStatus_1.SegmentStatus,
50
51
  })
51
52
  .extend(SegmentBase_1.SegmentBase);
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { BasePaginatedRequest } from "../../commons/types/BasePaginatedRequest";
5
5
  import { SegmentField } from "./SegmentField";
6
+ import { SegmentFilter } from "./SegmentFilter";
6
7
  export declare const SegmentsSearchRequest: core.serialization.ObjectSchema<serializers.SegmentsSearchRequest.Raw, MavenAGI.SegmentsSearchRequest>;
7
8
  export declare namespace SegmentsSearchRequest {
8
9
  interface Raw extends BasePaginatedRequest.Raw {
9
10
  sort?: SegmentField.Raw | null;
11
+ filter?: SegmentFilter.Raw | null;
10
12
  }
11
13
  }
@@ -38,8 +38,10 @@ exports.SegmentsSearchRequest = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const BasePaginatedRequest_1 = require("../../commons/types/BasePaginatedRequest");
40
40
  const SegmentField_1 = require("./SegmentField");
41
+ const SegmentFilter_1 = require("./SegmentFilter");
41
42
  exports.SegmentsSearchRequest = core.serialization
42
43
  .object({
43
44
  sort: SegmentField_1.SegmentField.optional(),
45
+ filter: SegmentFilter_1.SegmentFilter.optional(),
44
46
  })
45
47
  .extend(BasePaginatedRequest_1.BasePaginatedRequest);
@@ -1,5 +1,6 @@
1
1
  export * from "./SegmentBase";
2
2
  export * from "./SegmentField";
3
+ export * from "./SegmentFilter";
3
4
  export * from "./SegmentPatchRequest";
4
5
  export * from "./SegmentRequest";
5
6
  export * from "./SegmentResponse";
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./SegmentBase"), exports);
18
18
  __exportStar(require("./SegmentField"), exports);
19
+ __exportStar(require("./SegmentFilter"), exports);
19
20
  __exportStar(require("./SegmentPatchRequest"), exports);
20
21
  __exportStar(require("./SegmentRequest"), exports);
21
22
  __exportStar(require("./SegmentResponse"), exports);
@@ -0,0 +1,12 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { VoiceTokenType } from "./VoiceTokenType";
5
+ export declare const VoiceSessionTokenRequest: core.serialization.ObjectSchema<serializers.VoiceSessionTokenRequest.Raw, MavenAGI.VoiceSessionTokenRequest>;
6
+ export declare namespace VoiceSessionTokenRequest {
7
+ interface Raw {
8
+ appUserId: string;
9
+ type: VoiceTokenType.Raw;
10
+ customData?: Record<string, string> | null;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.VoiceSessionTokenRequest = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const VoiceTokenType_1 = require("./VoiceTokenType");
40
+ exports.VoiceSessionTokenRequest = core.serialization.object({
41
+ appUserId: core.serialization.string(),
42
+ type: VoiceTokenType_1.VoiceTokenType,
43
+ customData: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
44
+ });
@@ -0,0 +1,13 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { VoiceTokenType } from "./VoiceTokenType";
5
+ export declare const VoiceSessionTokenResponse: core.serialization.ObjectSchema<serializers.VoiceSessionTokenResponse.Raw, MavenAGI.VoiceSessionTokenResponse>;
6
+ export declare namespace VoiceSessionTokenResponse {
7
+ interface Raw {
8
+ token: string;
9
+ identity: string;
10
+ type: VoiceTokenType.Raw;
11
+ expiresIn: number;
12
+ }
13
+ }