mavenagi 1.2.10 → 1.2.11

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