mavenagi 1.2.10 → 1.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/Client.d.ts +6 -0
  2. package/Client.js +32 -22
  3. package/api/resources/auth/client/Client.d.ts +33 -0
  4. package/api/resources/auth/client/Client.js +171 -0
  5. package/api/resources/auth/client/index.d.ts +1 -0
  6. package/api/resources/auth/client/index.js +2 -0
  7. package/api/resources/auth/index.d.ts +2 -0
  8. package/api/resources/auth/index.js +18 -0
  9. package/api/resources/auth/types/SessionTokenRequest.d.ts +3 -0
  10. package/api/resources/auth/types/SessionTokenRequest.js +3 -0
  11. package/api/resources/auth/types/SessionTokenResponse.d.ts +6 -0
  12. package/api/resources/auth/types/SessionTokenResponse.js +3 -0
  13. package/api/resources/auth/types/index.d.ts +2 -0
  14. package/api/resources/auth/types/index.js +18 -0
  15. package/api/resources/commons/types/ActionBase.d.ts +1 -11
  16. package/api/resources/commons/types/ActionParameterType.d.ts +3 -0
  17. package/api/resources/commons/types/ActionParameterType.js +3 -0
  18. package/api/resources/commons/types/ActionProperties.d.ts +13 -0
  19. package/api/resources/commons/types/ActionProperties.js +3 -0
  20. package/api/resources/commons/types/ActionUser.d.ts +46 -0
  21. package/api/resources/commons/types/ActionUser.js +3 -0
  22. package/api/resources/commons/types/EntityType.d.ts +1 -0
  23. package/api/resources/commons/types/EntityType.js +1 -0
  24. package/api/resources/commons/types/EventField.d.ts +1 -0
  25. package/api/resources/commons/types/EventField.js +1 -0
  26. package/api/resources/commons/types/MetadataPrecondition.d.ts +3 -1
  27. package/api/resources/commons/types/PreconditionOperator.d.ts +20 -0
  28. package/api/resources/commons/types/PreconditionOperator.js +20 -0
  29. package/api/resources/commons/types/UserEvent.d.ts +2 -0
  30. package/api/resources/commons/types/index.d.ts +3 -0
  31. package/api/resources/commons/types/index.js +3 -0
  32. package/api/resources/index.d.ts +4 -0
  33. package/api/resources/index.js +5 -1
  34. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
  35. package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +1 -1
  36. package/api/resources/segments/types/SegmentResponse.d.ts +6 -0
  37. package/api/resources/triggers/types/index.d.ts +0 -1
  38. package/api/resources/triggers/types/index.js +0 -1
  39. package/api/resources/websockets/client/Client.d.ts +22 -0
  40. package/api/resources/websockets/client/Client.js +89 -0
  41. package/api/resources/websockets/client/Socket.d.ts +48 -0
  42. package/api/resources/websockets/client/Socket.js +172 -0
  43. package/api/resources/websockets/client/index.d.ts +1 -0
  44. package/api/resources/websockets/client/index.js +2 -0
  45. package/api/resources/websockets/index.d.ts +2 -0
  46. package/api/resources/websockets/index.js +18 -0
  47. package/api/resources/websockets/types/AgentAudioChunk.d.ts +9 -0
  48. package/api/resources/websockets/types/AgentAudioChunk.js +3 -0
  49. package/api/resources/websockets/types/AgentTranscript.d.ts +9 -0
  50. package/api/resources/websockets/types/AgentTranscript.js +3 -0
  51. package/api/resources/websockets/types/AudioFormat.d.ts +7 -0
  52. package/api/resources/websockets/types/AudioFormat.js +10 -0
  53. package/api/resources/websockets/types/Config.d.ts +15 -0
  54. package/api/resources/websockets/types/Config.js +3 -0
  55. package/api/resources/websockets/types/ConversationEnded.d.ts +7 -0
  56. package/api/resources/websockets/types/ConversationEnded.js +3 -0
  57. package/api/resources/websockets/types/ConversationReady.d.ts +6 -0
  58. package/api/resources/websockets/types/ConversationReady.js +3 -0
  59. package/api/resources/websockets/types/Error_.d.ts +9 -0
  60. package/api/resources/websockets/types/Error_.js +3 -0
  61. package/api/resources/websockets/types/ServerEventBase.d.ts +6 -0
  62. package/api/resources/websockets/types/ServerEventBase.js +3 -0
  63. package/api/resources/websockets/types/UserAudioChunk.d.ts +8 -0
  64. package/api/resources/websockets/types/UserAudioChunk.js +3 -0
  65. package/api/resources/websockets/types/UserFinishedSpeaking.d.ts +7 -0
  66. package/api/resources/websockets/types/UserFinishedSpeaking.js +3 -0
  67. package/api/resources/websockets/types/UserStartedSpeaking.d.ts +7 -0
  68. package/api/resources/websockets/types/UserStartedSpeaking.js +3 -0
  69. package/api/resources/websockets/types/UserTranscript.d.ts +9 -0
  70. package/api/resources/websockets/types/UserTranscript.js +3 -0
  71. package/api/resources/websockets/types/index.d.ts +12 -0
  72. package/api/resources/websockets/types/index.js +28 -0
  73. package/core/index.d.ts +1 -0
  74. package/core/index.js +1 -0
  75. package/core/websocket/events.d.ts +36 -0
  76. package/core/websocket/events.js +27 -0
  77. package/core/websocket/index.d.ts +1 -0
  78. package/core/websocket/index.js +17 -0
  79. package/core/websocket/ws.d.ts +147 -0
  80. package/core/websocket/ws.js +444 -0
  81. package/dist/Client.d.ts +6 -0
  82. package/dist/Client.js +32 -22
  83. package/dist/api/resources/auth/client/Client.d.ts +33 -0
  84. package/dist/api/resources/auth/client/Client.js +171 -0
  85. package/dist/api/resources/auth/client/index.d.ts +1 -0
  86. package/dist/api/resources/auth/client/index.js +2 -0
  87. package/dist/api/resources/auth/index.d.ts +2 -0
  88. package/dist/api/resources/auth/index.js +18 -0
  89. package/dist/api/resources/auth/types/SessionTokenRequest.d.ts +3 -0
  90. package/dist/api/resources/auth/types/SessionTokenRequest.js +3 -0
  91. package/dist/api/resources/auth/types/SessionTokenResponse.d.ts +6 -0
  92. package/dist/api/resources/auth/types/SessionTokenResponse.js +3 -0
  93. package/dist/api/resources/auth/types/index.d.ts +2 -0
  94. package/dist/api/resources/auth/types/index.js +18 -0
  95. package/dist/api/resources/commons/types/ActionBase.d.ts +1 -11
  96. package/dist/api/resources/commons/types/ActionParameterType.d.ts +3 -0
  97. package/dist/api/resources/commons/types/ActionParameterType.js +3 -0
  98. package/dist/api/resources/commons/types/ActionProperties.d.ts +13 -0
  99. package/dist/api/resources/commons/types/ActionProperties.js +3 -0
  100. package/dist/api/resources/commons/types/ActionUser.d.ts +46 -0
  101. package/dist/api/resources/commons/types/ActionUser.js +3 -0
  102. package/dist/api/resources/commons/types/EntityType.d.ts +1 -0
  103. package/dist/api/resources/commons/types/EntityType.js +1 -0
  104. package/dist/api/resources/commons/types/EventField.d.ts +1 -0
  105. package/dist/api/resources/commons/types/EventField.js +1 -0
  106. package/dist/api/resources/commons/types/MetadataPrecondition.d.ts +3 -1
  107. package/dist/api/resources/commons/types/PreconditionOperator.d.ts +20 -0
  108. package/dist/api/resources/commons/types/PreconditionOperator.js +20 -0
  109. package/dist/api/resources/commons/types/UserEvent.d.ts +2 -0
  110. package/dist/api/resources/commons/types/index.d.ts +3 -0
  111. package/dist/api/resources/commons/types/index.js +3 -0
  112. package/dist/api/resources/index.d.ts +4 -0
  113. package/dist/api/resources/index.js +5 -1
  114. package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
  115. package/dist/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +1 -1
  116. package/dist/api/resources/segments/types/SegmentResponse.d.ts +6 -0
  117. package/dist/api/resources/triggers/types/index.d.ts +0 -1
  118. package/dist/api/resources/triggers/types/index.js +0 -1
  119. package/dist/api/resources/websockets/client/Client.d.ts +22 -0
  120. package/dist/api/resources/websockets/client/Client.js +89 -0
  121. package/dist/api/resources/websockets/client/Socket.d.ts +48 -0
  122. package/dist/api/resources/websockets/client/Socket.js +172 -0
  123. package/dist/api/resources/websockets/client/index.d.ts +1 -0
  124. package/dist/api/resources/websockets/client/index.js +2 -0
  125. package/dist/api/resources/websockets/index.d.ts +2 -0
  126. package/dist/api/resources/websockets/index.js +18 -0
  127. package/dist/api/resources/websockets/types/AgentAudioChunk.d.ts +9 -0
  128. package/dist/api/resources/websockets/types/AgentAudioChunk.js +3 -0
  129. package/dist/api/resources/websockets/types/AgentTranscript.d.ts +9 -0
  130. package/dist/api/resources/websockets/types/AgentTranscript.js +3 -0
  131. package/dist/api/resources/websockets/types/AudioFormat.d.ts +7 -0
  132. package/dist/api/resources/websockets/types/AudioFormat.js +10 -0
  133. package/dist/api/resources/websockets/types/Config.d.ts +15 -0
  134. package/dist/api/resources/websockets/types/Config.js +3 -0
  135. package/dist/api/resources/websockets/types/ConversationEnded.d.ts +7 -0
  136. package/dist/api/resources/websockets/types/ConversationEnded.js +3 -0
  137. package/dist/api/resources/websockets/types/ConversationReady.d.ts +6 -0
  138. package/dist/api/resources/websockets/types/ConversationReady.js +3 -0
  139. package/dist/api/resources/websockets/types/Error_.d.ts +9 -0
  140. package/dist/api/resources/websockets/types/Error_.js +3 -0
  141. package/dist/api/resources/websockets/types/ServerEventBase.d.ts +6 -0
  142. package/dist/api/resources/websockets/types/ServerEventBase.js +3 -0
  143. package/dist/api/resources/websockets/types/UserAudioChunk.d.ts +8 -0
  144. package/dist/api/resources/websockets/types/UserAudioChunk.js +3 -0
  145. package/dist/api/resources/websockets/types/UserFinishedSpeaking.d.ts +7 -0
  146. package/dist/api/resources/websockets/types/UserFinishedSpeaking.js +3 -0
  147. package/dist/api/resources/websockets/types/UserStartedSpeaking.d.ts +7 -0
  148. package/dist/api/resources/websockets/types/UserStartedSpeaking.js +3 -0
  149. package/dist/api/resources/websockets/types/UserTranscript.d.ts +9 -0
  150. package/dist/api/resources/websockets/types/UserTranscript.js +3 -0
  151. package/dist/api/resources/websockets/types/index.d.ts +12 -0
  152. package/dist/api/resources/websockets/types/index.js +28 -0
  153. package/dist/core/index.d.ts +1 -0
  154. package/dist/core/index.js +1 -0
  155. package/dist/core/websocket/events.d.ts +36 -0
  156. package/dist/core/websocket/events.js +27 -0
  157. package/dist/core/websocket/index.d.ts +1 -0
  158. package/dist/core/websocket/index.js +17 -0
  159. package/dist/core/websocket/ws.d.ts +147 -0
  160. package/dist/core/websocket/ws.js +444 -0
  161. package/dist/serialization/resources/auth/index.d.ts +1 -0
  162. package/dist/serialization/resources/auth/index.js +17 -0
  163. package/dist/serialization/resources/auth/types/SessionTokenRequest.d.ts +9 -0
  164. package/dist/serialization/resources/auth/types/SessionTokenRequest.js +41 -0
  165. package/dist/serialization/resources/auth/types/SessionTokenResponse.d.ts +10 -0
  166. package/dist/serialization/resources/auth/types/SessionTokenResponse.js +42 -0
  167. package/dist/serialization/resources/auth/types/index.d.ts +2 -0
  168. package/dist/serialization/resources/auth/types/index.js +18 -0
  169. package/dist/serialization/resources/commons/types/ActionBase.d.ts +3 -8
  170. package/dist/serialization/resources/commons/types/ActionBase.js +5 -9
  171. package/dist/serialization/resources/commons/types/ActionParameterType.d.ts +1 -1
  172. package/dist/serialization/resources/commons/types/ActionParameterType.js +1 -0
  173. package/dist/serialization/resources/commons/types/ActionProperties.d.ts +14 -0
  174. package/dist/serialization/resources/commons/types/ActionProperties.js +47 -0
  175. package/dist/serialization/resources/commons/types/ActionUser.d.ts +17 -0
  176. package/dist/serialization/resources/commons/types/ActionUser.js +49 -0
  177. package/dist/serialization/resources/commons/types/EntityType.d.ts +1 -1
  178. package/dist/serialization/resources/commons/types/EntityType.js +1 -0
  179. package/dist/serialization/resources/commons/types/EventField.d.ts +1 -1
  180. package/dist/serialization/resources/commons/types/EventField.js +1 -0
  181. package/dist/serialization/resources/commons/types/MetadataPrecondition.d.ts +1 -0
  182. package/dist/serialization/resources/commons/types/MetadataPrecondition.js +1 -0
  183. package/dist/serialization/resources/commons/types/PreconditionOperator.d.ts +1 -1
  184. package/dist/serialization/resources/commons/types/PreconditionOperator.js +9 -1
  185. package/dist/serialization/resources/commons/types/UserEvent.d.ts +1 -0
  186. package/dist/serialization/resources/commons/types/UserEvent.js +1 -0
  187. package/dist/serialization/resources/commons/types/index.d.ts +3 -0
  188. package/dist/serialization/resources/commons/types/index.js +3 -0
  189. package/dist/serialization/resources/index.d.ts +5 -0
  190. package/dist/serialization/resources/index.js +6 -1
  191. package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -0
  192. package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +1 -0
  193. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +1 -1
  194. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +1 -1
  195. package/dist/serialization/resources/segments/types/SegmentResponse.d.ts +2 -0
  196. package/dist/serialization/resources/segments/types/SegmentResponse.js +2 -0
  197. package/dist/serialization/resources/triggers/types/EventTriggerBase.d.ts +1 -1
  198. package/dist/serialization/resources/triggers/types/EventTriggerBase.js +1 -1
  199. package/dist/serialization/resources/triggers/types/index.d.ts +0 -1
  200. package/dist/serialization/resources/triggers/types/index.js +0 -1
  201. package/dist/serialization/resources/websockets/client/index.d.ts +1 -0
  202. package/dist/serialization/resources/websockets/client/index.js +17 -0
  203. package/dist/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts +15 -0
  204. package/dist/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.js +56 -0
  205. package/dist/serialization/resources/websockets/client/socket/index.d.ts +1 -0
  206. package/dist/serialization/resources/websockets/client/socket/index.js +5 -0
  207. package/dist/serialization/resources/websockets/index.d.ts +2 -0
  208. package/dist/serialization/resources/websockets/index.js +18 -0
  209. package/dist/serialization/resources/websockets/types/AgentAudioChunk.d.ts +11 -0
  210. package/dist/serialization/resources/websockets/types/AgentAudioChunk.js +45 -0
  211. package/dist/serialization/resources/websockets/types/AgentTranscript.d.ts +11 -0
  212. package/dist/serialization/resources/websockets/types/AgentTranscript.js +45 -0
  213. package/dist/serialization/resources/websockets/types/AudioFormat.d.ts +7 -0
  214. package/dist/serialization/resources/websockets/types/AudioFormat.js +39 -0
  215. package/dist/serialization/resources/websockets/types/Config.d.ts +14 -0
  216. package/dist/serialization/resources/websockets/types/Config.js +46 -0
  217. package/dist/serialization/resources/websockets/types/ConversationEnded.d.ts +10 -0
  218. package/dist/serialization/resources/websockets/types/ConversationEnded.js +44 -0
  219. package/dist/serialization/resources/websockets/types/ConversationReady.d.ts +9 -0
  220. package/dist/serialization/resources/websockets/types/ConversationReady.js +41 -0
  221. package/dist/serialization/resources/websockets/types/Error_.d.ts +12 -0
  222. package/dist/serialization/resources/websockets/types/Error_.js +46 -0
  223. package/dist/serialization/resources/websockets/types/ServerEventBase.d.ts +9 -0
  224. package/dist/serialization/resources/websockets/types/ServerEventBase.js +41 -0
  225. package/dist/serialization/resources/websockets/types/UserAudioChunk.d.ts +10 -0
  226. package/dist/serialization/resources/websockets/types/UserAudioChunk.js +42 -0
  227. package/dist/serialization/resources/websockets/types/UserFinishedSpeaking.d.ts +10 -0
  228. package/dist/serialization/resources/websockets/types/UserFinishedSpeaking.js +44 -0
  229. package/dist/serialization/resources/websockets/types/UserStartedSpeaking.d.ts +10 -0
  230. package/dist/serialization/resources/websockets/types/UserStartedSpeaking.js +44 -0
  231. package/dist/serialization/resources/websockets/types/UserTranscript.d.ts +11 -0
  232. package/dist/serialization/resources/websockets/types/UserTranscript.js +45 -0
  233. package/dist/serialization/resources/websockets/types/index.d.ts +12 -0
  234. package/dist/serialization/resources/websockets/types/index.js +28 -0
  235. package/dist/version.d.ts +1 -1
  236. package/dist/version.js +1 -1
  237. package/package.json +5 -1
  238. package/reference.md +73 -5
  239. package/serialization/resources/auth/index.d.ts +1 -0
  240. package/serialization/resources/auth/index.js +17 -0
  241. package/serialization/resources/auth/types/SessionTokenRequest.d.ts +9 -0
  242. package/serialization/resources/auth/types/SessionTokenRequest.js +41 -0
  243. package/serialization/resources/auth/types/SessionTokenResponse.d.ts +10 -0
  244. package/serialization/resources/auth/types/SessionTokenResponse.js +42 -0
  245. package/serialization/resources/auth/types/index.d.ts +2 -0
  246. package/serialization/resources/auth/types/index.js +18 -0
  247. package/serialization/resources/commons/types/ActionBase.d.ts +3 -8
  248. package/serialization/resources/commons/types/ActionBase.js +5 -9
  249. package/serialization/resources/commons/types/ActionParameterType.d.ts +1 -1
  250. package/serialization/resources/commons/types/ActionParameterType.js +1 -0
  251. package/serialization/resources/commons/types/ActionProperties.d.ts +14 -0
  252. package/serialization/resources/commons/types/ActionProperties.js +47 -0
  253. package/serialization/resources/commons/types/ActionUser.d.ts +17 -0
  254. package/serialization/resources/commons/types/ActionUser.js +49 -0
  255. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  256. package/serialization/resources/commons/types/EntityType.js +1 -0
  257. package/serialization/resources/commons/types/EventField.d.ts +1 -1
  258. package/serialization/resources/commons/types/EventField.js +1 -0
  259. package/serialization/resources/commons/types/MetadataPrecondition.d.ts +1 -0
  260. package/serialization/resources/commons/types/MetadataPrecondition.js +1 -0
  261. package/serialization/resources/commons/types/PreconditionOperator.d.ts +1 -1
  262. package/serialization/resources/commons/types/PreconditionOperator.js +9 -1
  263. package/serialization/resources/commons/types/UserEvent.d.ts +1 -0
  264. package/serialization/resources/commons/types/UserEvent.js +1 -0
  265. package/serialization/resources/commons/types/index.d.ts +3 -0
  266. package/serialization/resources/commons/types/index.js +3 -0
  267. package/serialization/resources/index.d.ts +5 -0
  268. package/serialization/resources/index.js +6 -1
  269. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -0
  270. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +1 -0
  271. package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +1 -1
  272. package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +1 -1
  273. package/serialization/resources/segments/types/SegmentResponse.d.ts +2 -0
  274. package/serialization/resources/segments/types/SegmentResponse.js +2 -0
  275. package/serialization/resources/triggers/types/EventTriggerBase.d.ts +1 -1
  276. package/serialization/resources/triggers/types/EventTriggerBase.js +1 -1
  277. package/serialization/resources/triggers/types/index.d.ts +0 -1
  278. package/serialization/resources/triggers/types/index.js +0 -1
  279. package/serialization/resources/websockets/client/index.d.ts +1 -0
  280. package/serialization/resources/websockets/client/index.js +17 -0
  281. package/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts +15 -0
  282. package/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.js +56 -0
  283. package/serialization/resources/websockets/client/socket/index.d.ts +1 -0
  284. package/serialization/resources/websockets/client/socket/index.js +5 -0
  285. package/serialization/resources/websockets/index.d.ts +2 -0
  286. package/serialization/resources/websockets/index.js +18 -0
  287. package/serialization/resources/websockets/types/AgentAudioChunk.d.ts +11 -0
  288. package/serialization/resources/websockets/types/AgentAudioChunk.js +45 -0
  289. package/serialization/resources/websockets/types/AgentTranscript.d.ts +11 -0
  290. package/serialization/resources/websockets/types/AgentTranscript.js +45 -0
  291. package/serialization/resources/websockets/types/AudioFormat.d.ts +7 -0
  292. package/serialization/resources/websockets/types/AudioFormat.js +39 -0
  293. package/serialization/resources/websockets/types/Config.d.ts +14 -0
  294. package/serialization/resources/websockets/types/Config.js +46 -0
  295. package/serialization/resources/websockets/types/ConversationEnded.d.ts +10 -0
  296. package/serialization/resources/websockets/types/ConversationEnded.js +44 -0
  297. package/serialization/resources/websockets/types/ConversationReady.d.ts +9 -0
  298. package/serialization/resources/websockets/types/ConversationReady.js +41 -0
  299. package/serialization/resources/websockets/types/Error_.d.ts +12 -0
  300. package/serialization/resources/websockets/types/Error_.js +46 -0
  301. package/serialization/resources/websockets/types/ServerEventBase.d.ts +9 -0
  302. package/serialization/resources/websockets/types/ServerEventBase.js +41 -0
  303. package/serialization/resources/websockets/types/UserAudioChunk.d.ts +10 -0
  304. package/serialization/resources/websockets/types/UserAudioChunk.js +42 -0
  305. package/serialization/resources/websockets/types/UserFinishedSpeaking.d.ts +10 -0
  306. package/serialization/resources/websockets/types/UserFinishedSpeaking.js +44 -0
  307. package/serialization/resources/websockets/types/UserStartedSpeaking.d.ts +10 -0
  308. package/serialization/resources/websockets/types/UserStartedSpeaking.js +44 -0
  309. package/serialization/resources/websockets/types/UserTranscript.d.ts +11 -0
  310. package/serialization/resources/websockets/types/UserTranscript.js +45 -0
  311. package/serialization/resources/websockets/types/index.d.ts +12 -0
  312. package/serialization/resources/websockets/types/index.js +28 -0
  313. package/version.d.ts +1 -1
  314. package/version.js +1 -1
  315. /package/api/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  316. /package/api/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  317. /package/dist/api/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  318. /package/dist/api/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  319. /package/dist/serialization/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  320. /package/dist/serialization/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  321. /package/serialization/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  322. /package/serialization/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
@@ -0,0 +1,9 @@
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 ConversationReady: core.serialization.ObjectSchema<serializers.ConversationReady.Raw, MavenAGI.ConversationReady>;
5
+ export declare namespace ConversationReady {
6
+ interface Raw {
7
+ type: "conversation_ready";
8
+ }
9
+ }
@@ -0,0 +1,41 @@
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.ConversationReady = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.ConversationReady = core.serialization.object({
40
+ type: core.serialization.stringLiteral("conversation_ready"),
41
+ });
@@ -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 { ServerEventBase } from "./ServerEventBase";
5
+ export declare const Error_: core.serialization.ObjectSchema<serializers.Error_.Raw, MavenAGI.Error_>;
6
+ export declare namespace Error_ {
7
+ interface Raw extends ServerEventBase.Raw {
8
+ type: "error";
9
+ message: string;
10
+ code: string;
11
+ }
12
+ }
@@ -0,0 +1,46 @@
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.Error_ = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const ServerEventBase_1 = require("./ServerEventBase");
40
+ exports.Error_ = core.serialization
41
+ .object({
42
+ type: core.serialization.stringLiteral("error"),
43
+ message: core.serialization.string(),
44
+ code: core.serialization.string(),
45
+ })
46
+ .extend(ServerEventBase_1.ServerEventBase);
@@ -0,0 +1,9 @@
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 ServerEventBase: core.serialization.ObjectSchema<serializers.ServerEventBase.Raw, MavenAGI.ServerEventBase>;
5
+ export declare namespace ServerEventBase {
6
+ interface Raw {
7
+ eventId: string;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
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.ServerEventBase = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.ServerEventBase = core.serialization.object({
40
+ eventId: core.serialization.string(),
41
+ });
@@ -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 UserAudioChunk: core.serialization.ObjectSchema<serializers.UserAudioChunk.Raw, MavenAGI.UserAudioChunk>;
5
+ export declare namespace UserAudioChunk {
6
+ interface Raw {
7
+ type: "user_audio_chunk";
8
+ data: string;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
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.UserAudioChunk = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.UserAudioChunk = core.serialization.object({
40
+ type: core.serialization.stringLiteral("user_audio_chunk"),
41
+ data: core.serialization.string(),
42
+ });
@@ -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
+ import { ServerEventBase } from "./ServerEventBase";
5
+ export declare const UserFinishedSpeaking: core.serialization.ObjectSchema<serializers.UserFinishedSpeaking.Raw, MavenAGI.UserFinishedSpeaking>;
6
+ export declare namespace UserFinishedSpeaking {
7
+ interface Raw extends ServerEventBase.Raw {
8
+ type: "user_finished_speaking";
9
+ }
10
+ }
@@ -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.UserFinishedSpeaking = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const ServerEventBase_1 = require("./ServerEventBase");
40
+ exports.UserFinishedSpeaking = core.serialization
41
+ .object({
42
+ type: core.serialization.stringLiteral("user_finished_speaking"),
43
+ })
44
+ .extend(ServerEventBase_1.ServerEventBase);
@@ -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
+ import { ServerEventBase } from "./ServerEventBase";
5
+ export declare const UserStartedSpeaking: core.serialization.ObjectSchema<serializers.UserStartedSpeaking.Raw, MavenAGI.UserStartedSpeaking>;
6
+ export declare namespace UserStartedSpeaking {
7
+ interface Raw extends ServerEventBase.Raw {
8
+ type: "user_started_speaking";
9
+ }
10
+ }
@@ -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.UserStartedSpeaking = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const ServerEventBase_1 = require("./ServerEventBase");
40
+ exports.UserStartedSpeaking = core.serialization
41
+ .object({
42
+ type: core.serialization.stringLiteral("user_started_speaking"),
43
+ })
44
+ .extend(ServerEventBase_1.ServerEventBase);
@@ -0,0 +1,11 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { ServerEventBase } from "./ServerEventBase";
5
+ export declare const UserTranscript: core.serialization.ObjectSchema<serializers.UserTranscript.Raw, MavenAGI.UserTranscript>;
6
+ export declare namespace UserTranscript {
7
+ interface Raw extends ServerEventBase.Raw {
8
+ type: "user_transcript";
9
+ text: string;
10
+ }
11
+ }
@@ -0,0 +1,45 @@
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.UserTranscript = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const ServerEventBase_1 = require("./ServerEventBase");
40
+ exports.UserTranscript = core.serialization
41
+ .object({
42
+ type: core.serialization.stringLiteral("user_transcript"),
43
+ text: core.serialization.string(),
44
+ })
45
+ .extend(ServerEventBase_1.ServerEventBase);
@@ -0,0 +1,12 @@
1
+ export * from "./AgentAudioChunk";
2
+ export * from "./AgentTranscript";
3
+ export * from "./AudioFormat";
4
+ export * from "./Config";
5
+ export * from "./ConversationEnded";
6
+ export * from "./ConversationReady";
7
+ export * from "./Error_";
8
+ export * from "./ServerEventBase";
9
+ export * from "./UserAudioChunk";
10
+ export * from "./UserFinishedSpeaking";
11
+ export * from "./UserStartedSpeaking";
12
+ export * from "./UserTranscript";
@@ -0,0 +1,28 @@
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("./AgentAudioChunk"), exports);
18
+ __exportStar(require("./AgentTranscript"), exports);
19
+ __exportStar(require("./AudioFormat"), exports);
20
+ __exportStar(require("./Config"), exports);
21
+ __exportStar(require("./ConversationEnded"), exports);
22
+ __exportStar(require("./ConversationReady"), exports);
23
+ __exportStar(require("./Error_"), exports);
24
+ __exportStar(require("./ServerEventBase"), exports);
25
+ __exportStar(require("./UserAudioChunk"), exports);
26
+ __exportStar(require("./UserFinishedSpeaking"), exports);
27
+ __exportStar(require("./UserStartedSpeaking"), exports);
28
+ __exportStar(require("./UserTranscript"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.10";
1
+ export declare const SDK_VERSION = "1.2.12";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.2.10";
4
+ exports.SDK_VERSION = "1.2.12";