mavenagi 1.0.8 → 1.0.9

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 (252) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +11 -6
  3. package/api/resources/actions/client/Client.d.ts +2 -1
  4. package/api/resources/actions/client/Client.js +5 -4
  5. package/api/resources/actions/types/ActionRequest.d.ts +2 -1
  6. package/api/resources/analytics/client/Client.js +3 -3
  7. package/api/resources/appSettings/client/Client.js +1 -1
  8. package/api/resources/commons/types/ActionBase.d.ts +3 -1
  9. package/api/resources/commons/types/ActionResponse.d.ts +2 -1
  10. package/api/resources/commons/types/{ConversationBase.d.ts → BaseConversationResponse.d.ts} +9 -1
  11. package/api/resources/commons/types/BasePaginatedRequest.d.ts +11 -0
  12. package/api/resources/commons/types/BotMessage.d.ts +1 -0
  13. package/api/resources/commons/types/BotMessageStatus.d.ts +22 -0
  14. package/api/resources/commons/types/BotMessageStatus.js +14 -0
  15. package/api/resources/commons/types/ConversationAnalysis.d.ts +2 -0
  16. package/api/resources/commons/types/ConversationPreview.d.ts +6 -0
  17. package/{dist/api/resources/knowledge/types/KnowledgeBaseType.js → api/resources/commons/types/ConversationPreview.js} +0 -6
  18. package/api/resources/commons/types/ConversationResponse.d.ts +4 -10
  19. package/api/resources/commons/types/index.d.ts +6 -3
  20. package/api/resources/commons/types/index.js +6 -3
  21. package/api/resources/conversation/client/Client.d.ts +14 -5
  22. package/api/resources/conversation/client/Client.js +92 -17
  23. package/api/resources/conversation/types/ConversationFilter.d.ts +1 -0
  24. package/api/resources/conversation/types/ConversationRequest.d.ts +15 -1
  25. package/api/resources/conversation/types/ConversationsResponse.d.ts +8 -0
  26. package/api/resources/{knowledge/types/KnowledgeBaseType.js → conversation/types/ConversationsResponse.js} +0 -6
  27. package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +8 -0
  28. package/api/resources/conversation/types/ConversationsSearchRequest.js +5 -0
  29. package/api/resources/conversation/types/index.d.ts +2 -0
  30. package/api/resources/conversation/types/index.js +2 -0
  31. package/api/resources/inbox/client/Client.js +5 -5
  32. package/api/resources/index.d.ts +2 -0
  33. package/api/resources/index.js +3 -1
  34. package/api/resources/knowledge/client/Client.d.ts +1 -2
  35. package/api/resources/knowledge/client/Client.js +8 -9
  36. package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +0 -4
  37. package/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -2
  38. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -2
  39. package/api/resources/knowledge/types/index.d.ts +0 -1
  40. package/api/resources/knowledge/types/index.js +0 -1
  41. package/api/resources/realtime/client/Client.d.ts +34 -0
  42. package/api/resources/realtime/client/Client.js +87 -0
  43. package/api/resources/realtime/client/Socket.d.ts +41 -0
  44. package/api/resources/realtime/client/Socket.js +155 -0
  45. package/api/resources/realtime/client/index.d.ts +1 -0
  46. package/api/resources/realtime/client/index.js +2 -0
  47. package/api/resources/realtime/index.d.ts +2 -0
  48. package/api/resources/realtime/index.js +18 -0
  49. package/api/resources/realtime/types/AudioPublishEvent.d.ts +6 -0
  50. package/api/resources/realtime/types/AudioPublishEvent.js +5 -0
  51. package/api/resources/realtime/types/AudioSubscribeEvent.d.ts +6 -0
  52. package/api/resources/realtime/types/AudioSubscribeEvent.js +5 -0
  53. package/api/resources/realtime/types/ControlEvent.d.ts +6 -0
  54. package/api/resources/realtime/types/ControlEvent.js +5 -0
  55. package/api/resources/realtime/types/PublishEvent.d.ts +13 -0
  56. package/api/resources/realtime/types/PublishEvent.js +5 -0
  57. package/api/resources/realtime/types/SubscribeEvent.d.ts +22 -0
  58. package/api/resources/realtime/types/SubscribeEvent.js +5 -0
  59. package/api/resources/realtime/types/index.d.ts +5 -0
  60. package/api/resources/realtime/types/index.js +21 -0
  61. package/api/resources/translations/client/Client.js +1 -1
  62. package/api/resources/triggers/client/Client.js +3 -3
  63. package/api/resources/users/client/Client.js +3 -3
  64. package/core/index.d.ts +1 -0
  65. package/core/index.js +1 -0
  66. package/core/websocket/events.d.ts +36 -0
  67. package/core/websocket/events.js +27 -0
  68. package/core/websocket/index.d.ts +1 -0
  69. package/core/websocket/index.js +17 -0
  70. package/core/websocket/ws.d.ts +137 -0
  71. package/core/websocket/ws.js +452 -0
  72. package/dist/Client.d.ts +3 -0
  73. package/dist/Client.js +11 -6
  74. package/dist/api/resources/actions/client/Client.d.ts +2 -1
  75. package/dist/api/resources/actions/client/Client.js +5 -4
  76. package/dist/api/resources/actions/types/ActionRequest.d.ts +2 -1
  77. package/dist/api/resources/analytics/client/Client.js +3 -3
  78. package/dist/api/resources/appSettings/client/Client.js +1 -1
  79. package/dist/api/resources/commons/types/ActionBase.d.ts +3 -1
  80. package/dist/api/resources/commons/types/ActionResponse.d.ts +2 -1
  81. package/dist/api/resources/commons/types/{ConversationBase.d.ts → BaseConversationResponse.d.ts} +9 -1
  82. package/dist/api/resources/commons/types/BaseConversationResponse.js +5 -0
  83. package/dist/api/resources/commons/types/BasePaginatedRequest.d.ts +11 -0
  84. package/dist/api/resources/commons/types/BasePaginatedRequest.js +5 -0
  85. package/dist/api/resources/commons/types/BotMessage.d.ts +1 -0
  86. package/dist/api/resources/commons/types/BotMessageStatus.d.ts +22 -0
  87. package/dist/api/resources/commons/types/BotMessageStatus.js +14 -0
  88. package/dist/api/resources/commons/types/ConversationAnalysis.d.ts +2 -0
  89. package/dist/api/resources/commons/types/ConversationPreview.d.ts +6 -0
  90. package/dist/api/resources/commons/types/ConversationPreview.js +5 -0
  91. package/dist/api/resources/commons/types/ConversationResponse.d.ts +4 -10
  92. package/dist/api/resources/commons/types/index.d.ts +6 -3
  93. package/dist/api/resources/commons/types/index.js +6 -3
  94. package/dist/api/resources/conversation/client/Client.d.ts +14 -5
  95. package/dist/api/resources/conversation/client/Client.js +92 -17
  96. package/dist/api/resources/conversation/types/ConversationFilter.d.ts +1 -0
  97. package/dist/api/resources/conversation/types/ConversationRequest.d.ts +15 -1
  98. package/dist/api/resources/conversation/types/ConversationsResponse.d.ts +8 -0
  99. package/dist/api/resources/conversation/types/ConversationsResponse.js +5 -0
  100. package/dist/api/resources/conversation/types/ConversationsSearchRequest.d.ts +8 -0
  101. package/dist/api/resources/conversation/types/ConversationsSearchRequest.js +5 -0
  102. package/dist/api/resources/conversation/types/index.d.ts +2 -0
  103. package/dist/api/resources/conversation/types/index.js +2 -0
  104. package/dist/api/resources/inbox/client/Client.js +5 -5
  105. package/dist/api/resources/index.d.ts +2 -0
  106. package/dist/api/resources/index.js +3 -1
  107. package/dist/api/resources/knowledge/client/Client.d.ts +1 -2
  108. package/dist/api/resources/knowledge/client/Client.js +8 -9
  109. package/dist/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +0 -4
  110. package/dist/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -2
  111. package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -2
  112. package/dist/api/resources/knowledge/types/index.d.ts +0 -1
  113. package/dist/api/resources/knowledge/types/index.js +0 -1
  114. package/dist/api/resources/realtime/client/Client.d.ts +34 -0
  115. package/dist/api/resources/realtime/client/Client.js +87 -0
  116. package/dist/api/resources/realtime/client/Socket.d.ts +41 -0
  117. package/dist/api/resources/realtime/client/Socket.js +155 -0
  118. package/dist/api/resources/realtime/client/index.d.ts +1 -0
  119. package/dist/api/resources/realtime/client/index.js +2 -0
  120. package/dist/api/resources/realtime/index.d.ts +2 -0
  121. package/dist/api/resources/realtime/index.js +18 -0
  122. package/dist/api/resources/realtime/types/AudioPublishEvent.d.ts +6 -0
  123. package/dist/api/resources/realtime/types/AudioPublishEvent.js +5 -0
  124. package/dist/api/resources/realtime/types/AudioSubscribeEvent.d.ts +6 -0
  125. package/dist/api/resources/realtime/types/AudioSubscribeEvent.js +5 -0
  126. package/dist/api/resources/realtime/types/ControlEvent.d.ts +6 -0
  127. package/dist/api/resources/realtime/types/ControlEvent.js +5 -0
  128. package/dist/api/resources/realtime/types/PublishEvent.d.ts +13 -0
  129. package/dist/api/resources/realtime/types/PublishEvent.js +5 -0
  130. package/dist/api/resources/realtime/types/SubscribeEvent.d.ts +22 -0
  131. package/dist/api/resources/realtime/types/SubscribeEvent.js +5 -0
  132. package/dist/api/resources/realtime/types/index.d.ts +5 -0
  133. package/dist/api/resources/realtime/types/index.js +21 -0
  134. package/dist/api/resources/translations/client/Client.js +1 -1
  135. package/dist/api/resources/triggers/client/Client.js +3 -3
  136. package/dist/api/resources/users/client/Client.js +3 -3
  137. package/dist/core/index.d.ts +1 -0
  138. package/dist/core/index.js +1 -0
  139. package/dist/core/websocket/events.d.ts +36 -0
  140. package/dist/core/websocket/events.js +27 -0
  141. package/dist/core/websocket/index.d.ts +1 -0
  142. package/dist/core/websocket/index.js +17 -0
  143. package/dist/core/websocket/ws.d.ts +137 -0
  144. package/dist/core/websocket/ws.js +452 -0
  145. package/dist/serialization/resources/commons/types/ActionBase.d.ts +1 -0
  146. package/dist/serialization/resources/commons/types/ActionBase.js +1 -0
  147. package/dist/serialization/resources/commons/types/{ConversationBase.d.ts → BaseConversationResponse.d.ts} +9 -2
  148. package/dist/serialization/resources/commons/types/{ConversationBase.js → BaseConversationResponse.js} +9 -2
  149. package/dist/serialization/resources/commons/types/BasePaginatedRequest.d.ts +14 -0
  150. package/dist/serialization/resources/commons/types/BasePaginatedRequest.js +45 -0
  151. package/dist/serialization/resources/commons/types/BotMessage.d.ts +2 -0
  152. package/dist/serialization/resources/commons/types/BotMessage.js +2 -0
  153. package/dist/serialization/resources/commons/types/BotMessageStatus.d.ts +10 -0
  154. package/dist/serialization/resources/commons/types/BotMessageStatus.js +41 -0
  155. package/dist/serialization/resources/commons/types/ConversationAnalysis.d.ts +1 -0
  156. package/dist/serialization/resources/commons/types/ConversationAnalysis.js +1 -0
  157. package/dist/serialization/resources/commons/types/ConversationPreview.d.ts +12 -0
  158. package/dist/serialization/resources/commons/types/ConversationPreview.js +42 -0
  159. package/dist/serialization/resources/commons/types/ConversationResponse.d.ts +2 -9
  160. package/dist/serialization/resources/commons/types/ConversationResponse.js +2 -9
  161. package/dist/serialization/resources/commons/types/index.d.ts +6 -3
  162. package/dist/serialization/resources/commons/types/index.js +6 -3
  163. package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +1 -0
  164. package/dist/serialization/resources/conversation/types/ConversationFilter.js +1 -0
  165. package/dist/serialization/resources/conversation/types/ConversationRequest.d.ts +9 -2
  166. package/dist/serialization/resources/conversation/types/ConversationRequest.js +10 -5
  167. package/dist/serialization/resources/conversation/types/ConversationsResponse.d.ts +14 -0
  168. package/dist/serialization/resources/conversation/types/ConversationsResponse.js +47 -0
  169. package/dist/serialization/resources/conversation/types/ConversationsSearchRequest.d.ts +16 -0
  170. package/dist/serialization/resources/conversation/types/ConversationsSearchRequest.js +49 -0
  171. package/dist/serialization/resources/conversation/types/index.d.ts +2 -0
  172. package/dist/serialization/resources/conversation/types/index.js +2 -0
  173. package/dist/serialization/resources/index.d.ts +2 -0
  174. package/dist/serialization/resources/index.js +3 -1
  175. package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +0 -3
  176. package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +0 -3
  177. package/dist/serialization/resources/knowledge/types/index.d.ts +0 -1
  178. package/dist/serialization/resources/knowledge/types/index.js +0 -1
  179. package/dist/serialization/resources/realtime/index.d.ts +1 -0
  180. package/dist/serialization/resources/realtime/index.js +17 -0
  181. package/dist/serialization/resources/realtime/types/AudioPublishEvent.d.ts +12 -0
  182. package/dist/serialization/resources/realtime/types/AudioPublishEvent.js +43 -0
  183. package/dist/serialization/resources/realtime/types/AudioSubscribeEvent.d.ts +12 -0
  184. package/dist/serialization/resources/realtime/types/AudioSubscribeEvent.js +43 -0
  185. package/dist/serialization/resources/realtime/types/ControlEvent.d.ts +12 -0
  186. package/{serialization/resources/knowledge/types/KnowledgeBaseType.js → dist/serialization/resources/realtime/types/ControlEvent.js} +4 -2
  187. package/dist/serialization/resources/realtime/types/PublishEvent.d.ts +14 -0
  188. package/dist/serialization/resources/realtime/types/PublishEvent.js +49 -0
  189. package/dist/serialization/resources/realtime/types/SubscribeEvent.d.ts +24 -0
  190. package/dist/serialization/resources/realtime/types/SubscribeEvent.js +53 -0
  191. package/dist/serialization/resources/realtime/types/index.d.ts +5 -0
  192. package/dist/serialization/resources/realtime/types/index.js +21 -0
  193. package/dist/version.d.ts +1 -1
  194. package/dist/version.js +1 -1
  195. package/package.json +3 -1
  196. package/reference.md +64 -6
  197. package/serialization/resources/commons/types/ActionBase.d.ts +1 -0
  198. package/serialization/resources/commons/types/ActionBase.js +1 -0
  199. package/serialization/resources/commons/types/{ConversationBase.d.ts → BaseConversationResponse.d.ts} +9 -2
  200. package/serialization/resources/commons/types/{ConversationBase.js → BaseConversationResponse.js} +9 -2
  201. package/serialization/resources/commons/types/BasePaginatedRequest.d.ts +14 -0
  202. package/serialization/resources/commons/types/BasePaginatedRequest.js +45 -0
  203. package/serialization/resources/commons/types/BotMessage.d.ts +2 -0
  204. package/serialization/resources/commons/types/BotMessage.js +2 -0
  205. package/serialization/resources/commons/types/BotMessageStatus.d.ts +10 -0
  206. package/serialization/resources/commons/types/BotMessageStatus.js +41 -0
  207. package/serialization/resources/commons/types/ConversationAnalysis.d.ts +1 -0
  208. package/serialization/resources/commons/types/ConversationAnalysis.js +1 -0
  209. package/serialization/resources/commons/types/ConversationPreview.d.ts +12 -0
  210. package/serialization/resources/commons/types/ConversationPreview.js +42 -0
  211. package/serialization/resources/commons/types/ConversationResponse.d.ts +2 -9
  212. package/serialization/resources/commons/types/ConversationResponse.js +2 -9
  213. package/serialization/resources/commons/types/index.d.ts +6 -3
  214. package/serialization/resources/commons/types/index.js +6 -3
  215. package/serialization/resources/conversation/types/ConversationFilter.d.ts +1 -0
  216. package/serialization/resources/conversation/types/ConversationFilter.js +1 -0
  217. package/serialization/resources/conversation/types/ConversationRequest.d.ts +9 -2
  218. package/serialization/resources/conversation/types/ConversationRequest.js +10 -5
  219. package/serialization/resources/conversation/types/ConversationsResponse.d.ts +14 -0
  220. package/serialization/resources/conversation/types/ConversationsResponse.js +47 -0
  221. package/serialization/resources/conversation/types/ConversationsSearchRequest.d.ts +16 -0
  222. package/serialization/resources/conversation/types/ConversationsSearchRequest.js +49 -0
  223. package/serialization/resources/conversation/types/index.d.ts +2 -0
  224. package/serialization/resources/conversation/types/index.js +2 -0
  225. package/serialization/resources/index.d.ts +2 -0
  226. package/serialization/resources/index.js +3 -1
  227. package/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +0 -3
  228. package/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +0 -3
  229. package/serialization/resources/knowledge/types/index.d.ts +0 -1
  230. package/serialization/resources/knowledge/types/index.js +0 -1
  231. package/serialization/resources/realtime/index.d.ts +1 -0
  232. package/serialization/resources/realtime/index.js +17 -0
  233. package/serialization/resources/realtime/types/AudioPublishEvent.d.ts +12 -0
  234. package/serialization/resources/realtime/types/AudioPublishEvent.js +43 -0
  235. package/serialization/resources/realtime/types/AudioSubscribeEvent.d.ts +12 -0
  236. package/serialization/resources/realtime/types/AudioSubscribeEvent.js +43 -0
  237. package/serialization/resources/realtime/types/ControlEvent.d.ts +12 -0
  238. package/{dist/serialization/resources/knowledge/types/KnowledgeBaseType.js → serialization/resources/realtime/types/ControlEvent.js} +4 -2
  239. package/serialization/resources/realtime/types/PublishEvent.d.ts +14 -0
  240. package/serialization/resources/realtime/types/PublishEvent.js +49 -0
  241. package/serialization/resources/realtime/types/SubscribeEvent.d.ts +24 -0
  242. package/serialization/resources/realtime/types/SubscribeEvent.js +53 -0
  243. package/serialization/resources/realtime/types/index.d.ts +5 -0
  244. package/serialization/resources/realtime/types/index.js +21 -0
  245. package/version.d.ts +1 -1
  246. package/version.js +1 -1
  247. package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +0 -12
  248. package/dist/api/resources/knowledge/types/KnowledgeBaseType.d.ts +0 -12
  249. package/dist/serialization/resources/knowledge/types/KnowledgeBaseType.d.ts +0 -10
  250. package/serialization/resources/knowledge/types/KnowledgeBaseType.d.ts +0 -10
  251. /package/api/resources/commons/types/{ConversationBase.js → BaseConversationResponse.js} +0 -0
  252. /package/{dist/api/resources/commons/types/ConversationBase.js → api/resources/commons/types/BasePaginatedRequest.js} +0 -0
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const AudioPublishEvent: core.serialization.ObjectSchema<serializers.AudioPublishEvent.Raw, MavenAGI.AudioPublishEvent>;
8
+ export declare namespace AudioPublishEvent {
9
+ interface Raw {
10
+ audioContent: string;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AudioPublishEvent = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.AudioPublishEvent = core.serialization.object({
42
+ audioContent: core.serialization.string(),
43
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const AudioSubscribeEvent: core.serialization.ObjectSchema<serializers.AudioSubscribeEvent.Raw, MavenAGI.AudioSubscribeEvent>;
8
+ export declare namespace AudioSubscribeEvent {
9
+ interface Raw {
10
+ audioContent: string;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AudioSubscribeEvent = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.AudioSubscribeEvent = core.serialization.object({
42
+ audioContent: core.serialization.string(),
43
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const ControlEvent: core.serialization.ObjectSchema<serializers.ControlEvent.Raw, MavenAGI.ControlEvent>;
8
+ export declare namespace ControlEvent {
9
+ interface Raw {
10
+ reason?: string | null;
11
+ }
12
+ }
@@ -36,6 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.KnowledgeBaseType = void 0;
39
+ exports.ControlEvent = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- exports.KnowledgeBaseType = core.serialization.enum_(["API", "URL", "RSS"]);
41
+ exports.ControlEvent = core.serialization.object({
42
+ reason: core.serialization.string().optional(),
43
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { AudioPublishEvent } from "./AudioPublishEvent";
8
+ export declare const PublishEvent: core.serialization.Schema<serializers.PublishEvent.Raw, MavenAGI.PublishEvent>;
9
+ export declare namespace PublishEvent {
10
+ type Raw = PublishEvent.Audio;
11
+ interface Audio extends AudioPublishEvent.Raw {
12
+ messageType: "audio";
13
+ }
14
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.PublishEvent = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const AudioPublishEvent_1 = require("./AudioPublishEvent");
42
+ exports.PublishEvent = core.serialization
43
+ .union("messageType", {
44
+ audio: AudioPublishEvent_1.AudioPublishEvent,
45
+ })
46
+ .transform({
47
+ transform: (value) => value,
48
+ untransform: (value) => value,
49
+ });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { AudioSubscribeEvent } from "./AudioSubscribeEvent";
8
+ import { ControlEvent } from "./ControlEvent";
9
+ export declare const SubscribeEvent: core.serialization.Schema<serializers.SubscribeEvent.Raw, MavenAGI.SubscribeEvent>;
10
+ export declare namespace SubscribeEvent {
11
+ type Raw = SubscribeEvent.Audio | SubscribeEvent.ControlSessionStart | SubscribeEvent.ControlSessionStop | SubscribeEvent.ControlAudioDone;
12
+ interface Audio extends AudioSubscribeEvent.Raw {
13
+ messageType: "audio";
14
+ }
15
+ interface ControlSessionStart extends ControlEvent.Raw {
16
+ messageType: "controlSessionStart";
17
+ }
18
+ interface ControlSessionStop extends ControlEvent.Raw {
19
+ messageType: "controlSessionStop";
20
+ }
21
+ interface ControlAudioDone extends ControlEvent.Raw {
22
+ messageType: "controlAudioDone";
23
+ }
24
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.SubscribeEvent = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const AudioSubscribeEvent_1 = require("./AudioSubscribeEvent");
42
+ const ControlEvent_1 = require("./ControlEvent");
43
+ exports.SubscribeEvent = core.serialization
44
+ .union("messageType", {
45
+ audio: AudioSubscribeEvent_1.AudioSubscribeEvent,
46
+ controlSessionStart: ControlEvent_1.ControlEvent,
47
+ controlSessionStop: ControlEvent_1.ControlEvent,
48
+ controlAudioDone: ControlEvent_1.ControlEvent,
49
+ })
50
+ .transform({
51
+ transform: (value) => value,
52
+ untransform: (value) => value,
53
+ });
@@ -0,0 +1,5 @@
1
+ export * from "./ControlEvent";
2
+ export * from "./PublishEvent";
3
+ export * from "./AudioPublishEvent";
4
+ export * from "./SubscribeEvent";
5
+ export * from "./AudioSubscribeEvent";
@@ -0,0 +1,21 @@
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("./ControlEvent"), exports);
18
+ __exportStar(require("./PublishEvent"), exports);
19
+ __exportStar(require("./AudioPublishEvent"), exports);
20
+ __exportStar(require("./SubscribeEvent"), exports);
21
+ __exportStar(require("./AudioSubscribeEvent"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.8";
1
+ export declare const SDK_VERSION = "1.0.9";
package/dist/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.0.8";
4
+ exports.SDK_VERSION = "1.0.9";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mavenagi",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "private": false,
5
5
  "repository": "https://github.com/mavenagi/mavenagi-node",
6
6
  "main": "./index.js",
@@ -13,6 +13,7 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "url-join": "4.0.1",
16
+ "ws": "^8.16.0",
16
17
  "form-data": "^4.0.0",
17
18
  "formdata-node": "^6.0.3",
18
19
  "node-fetch": "^2.7.0",
@@ -22,6 +23,7 @@
22
23
  },
23
24
  "devDependencies": {
24
25
  "@types/url-join": "4.0.1",
26
+ "@types/ws": "^8.5.10",
25
27
  "@types/qs": "^6.9.17",
26
28
  "@types/node-fetch": "^2.6.12",
27
29
  "@types/readable-stream": "^4.0.18",
package/reference.md CHANGED
@@ -52,6 +52,7 @@ await client.actions.createOrUpdate({
52
52
  },
53
53
  ],
54
54
  },
55
+ language: "en",
55
56
  });
56
57
  ```
57
58
 
@@ -553,11 +554,6 @@ Initialize a new conversation. Only required if the ask request wishes to supply
553
554
 
554
555
  ```typescript
555
556
  await client.conversation.initialize({
556
- allMetadata: {
557
- allMetadata: {
558
- allMetadata: "allMetadata",
559
- },
560
- },
561
557
  conversationId: {
562
558
  referenceId: "referenceId",
563
559
  },
@@ -1519,6 +1515,69 @@ await client.conversation.updateConversationMetadata("conversation-0", {
1519
1515
  </dl>
1520
1516
  </details>
1521
1517
 
1518
+ <details><summary><code>client.conversation.<a href="/src/api/resources/conversation/client/Client.ts">search</a>({ ...params }) -> MavenAGI.ConversationsResponse</code></summary>
1519
+ <dl>
1520
+ <dd>
1521
+
1522
+ #### 📝 Description
1523
+
1524
+ <dl>
1525
+ <dd>
1526
+
1527
+ <dl>
1528
+ <dd>
1529
+
1530
+ Search conversations
1531
+
1532
+ </dd>
1533
+ </dl>
1534
+ </dd>
1535
+ </dl>
1536
+
1537
+ #### 🔌 Usage
1538
+
1539
+ <dl>
1540
+ <dd>
1541
+
1542
+ <dl>
1543
+ <dd>
1544
+
1545
+ ```typescript
1546
+ await client.conversation.search({});
1547
+ ```
1548
+
1549
+ </dd>
1550
+ </dl>
1551
+ </dd>
1552
+ </dl>
1553
+
1554
+ #### ⚙️ Parameters
1555
+
1556
+ <dl>
1557
+ <dd>
1558
+
1559
+ <dl>
1560
+ <dd>
1561
+
1562
+ **request:** `MavenAGI.ConversationsSearchRequest`
1563
+
1564
+ </dd>
1565
+ </dl>
1566
+
1567
+ <dl>
1568
+ <dd>
1569
+
1570
+ **requestOptions:** `Conversation.RequestOptions`
1571
+
1572
+ </dd>
1573
+ </dl>
1574
+ </dd>
1575
+ </dl>
1576
+
1577
+ </dd>
1578
+ </dl>
1579
+ </details>
1580
+
1522
1581
  ## Inbox
1523
1582
 
1524
1583
  <details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">search</a>({ ...params }) -> MavenAGI.InboxSearchResponse</code></summary>
@@ -1911,7 +1970,6 @@ await client.knowledge.createOrUpdateKnowledgeBase({
1911
1970
  referenceId: "help-center",
1912
1971
  },
1913
1972
  name: "Help center",
1914
- type: "API",
1915
1973
  });
1916
1974
  ```
1917
1975
 
@@ -14,5 +14,6 @@ export declare namespace ActionBase {
14
14
  buttonName?: string | null;
15
15
  precondition?: serializers.Precondition.Raw | null;
16
16
  userFormParameters: ActionParameter.Raw[];
17
+ language?: string | null;
17
18
  }
18
19
  }
@@ -47,4 +47,5 @@ exports.ActionBase = core.serialization.object({
47
47
  buttonName: core.serialization.string().optional(),
48
48
  precondition: core.serialization.lazy(() => serializers.Precondition).optional(),
49
49
  userFormParameters: core.serialization.list(ActionParameter_1.ActionParameter),
50
+ language: core.serialization.string().optional(),
50
51
  });
@@ -5,8 +5,11 @@ import * as serializers from "../../../index";
5
5
  import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { ResponseConfig } from "./ResponseConfig";
8
- export declare const ConversationBase: core.serialization.ObjectSchema<serializers.ConversationBase.Raw, MavenAGI.ConversationBase>;
9
- export declare namespace ConversationBase {
8
+ import { EntityId } from "./EntityId";
9
+ import { ConversationAnalysis } from "./ConversationAnalysis";
10
+ import { ConversationSummary } from "./ConversationSummary";
11
+ export declare const BaseConversationResponse: core.serialization.ObjectSchema<serializers.BaseConversationResponse.Raw, MavenAGI.BaseConversationResponse>;
12
+ export declare namespace BaseConversationResponse {
10
13
  interface Raw {
11
14
  responseConfig?: ResponseConfig.Raw | null;
12
15
  subject?: string | null;
@@ -16,5 +19,9 @@ export declare namespace ConversationBase {
16
19
  tags?: string[] | null;
17
20
  metadata?: Record<string, string> | null;
18
21
  allMetadata: Record<string, Record<string, string>>;
22
+ conversationId: EntityId.Raw;
23
+ analysis: ConversationAnalysis.Raw;
24
+ summary: ConversationSummary.Raw;
25
+ deleted: boolean;
19
26
  }
20
27
  }
@@ -36,10 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ConversationBase = void 0;
39
+ exports.BaseConversationResponse = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const ResponseConfig_1 = require("./ResponseConfig");
42
- exports.ConversationBase = core.serialization.object({
42
+ const EntityId_1 = require("./EntityId");
43
+ const ConversationAnalysis_1 = require("./ConversationAnalysis");
44
+ const ConversationSummary_1 = require("./ConversationSummary");
45
+ exports.BaseConversationResponse = core.serialization.object({
43
46
  responseConfig: ResponseConfig_1.ResponseConfig.optional(),
44
47
  subject: core.serialization.string().optional(),
45
48
  url: core.serialization.string().optional(),
@@ -48,4 +51,8 @@ exports.ConversationBase = core.serialization.object({
48
51
  tags: core.serialization.set(core.serialization.string()).optional(),
49
52
  metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
50
53
  allMetadata: core.serialization.record(core.serialization.string(), core.serialization.record(core.serialization.string(), core.serialization.string())),
54
+ conversationId: EntityId_1.EntityId,
55
+ analysis: ConversationAnalysis_1.ConversationAnalysis,
56
+ summary: ConversationSummary_1.ConversationSummary,
57
+ deleted: core.serialization.boolean(),
51
58
  });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const BasePaginatedRequest: core.serialization.ObjectSchema<serializers.BasePaginatedRequest.Raw, MavenAGI.BasePaginatedRequest>;
8
+ export declare namespace BasePaginatedRequest {
9
+ interface Raw {
10
+ page?: number | null;
11
+ size?: number | null;
12
+ sortDesc?: boolean | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.BasePaginatedRequest = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.BasePaginatedRequest = core.serialization.object({
42
+ page: core.serialization.number().optional(),
43
+ size: core.serialization.number().optional(),
44
+ sortDesc: core.serialization.boolean().optional(),
45
+ });
@@ -8,6 +8,7 @@ import { EntityId } from "./EntityId";
8
8
  import { BotConversationMessageType } from "./BotConversationMessageType";
9
9
  import { BotResponse } from "./BotResponse";
10
10
  import { BotResponseMetadata } from "./BotResponseMetadata";
11
+ import { BotMessageStatus } from "./BotMessageStatus";
11
12
  import { ConversationMessageBase } from "./ConversationMessageBase";
12
13
  export declare const BotMessage: core.serialization.ObjectSchema<serializers.BotMessage.Raw, MavenAGI.BotMessage>;
13
14
  export declare namespace BotMessage {
@@ -16,5 +17,6 @@ export declare namespace BotMessage {
16
17
  botMessageType: BotConversationMessageType.Raw;
17
18
  responses: BotResponse.Raw[];
18
19
  metadata: BotResponseMetadata.Raw;
20
+ status: BotMessageStatus.Raw;
19
21
  }
20
22
  }
@@ -42,6 +42,7 @@ const EntityId_1 = require("./EntityId");
42
42
  const BotConversationMessageType_1 = require("./BotConversationMessageType");
43
43
  const BotResponse_1 = require("./BotResponse");
44
44
  const BotResponseMetadata_1 = require("./BotResponseMetadata");
45
+ const BotMessageStatus_1 = require("./BotMessageStatus");
45
46
  const ConversationMessageBase_1 = require("./ConversationMessageBase");
46
47
  exports.BotMessage = core.serialization
47
48
  .object({
@@ -49,5 +50,6 @@ exports.BotMessage = core.serialization
49
50
  botMessageType: BotConversationMessageType_1.BotConversationMessageType,
50
51
  responses: core.serialization.list(BotResponse_1.BotResponse),
51
52
  metadata: BotResponseMetadata_1.BotResponseMetadata,
53
+ status: BotMessageStatus_1.BotMessageStatus,
52
54
  })
53
55
  .extend(ConversationMessageBase_1.ConversationMessageBase);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const BotMessageStatus: core.serialization.Schema<serializers.BotMessageStatus.Raw, MavenAGI.BotMessageStatus>;
8
+ export declare namespace BotMessageStatus {
9
+ type Raw = "SENDING" | "SENT" | "REJECTED" | "CANCELED" | "FAILED" | "UNKNOWN";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.BotMessageStatus = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.BotMessageStatus = core.serialization.enum_(["SENDING", "SENT", "REJECTED", "CANCELED", "FAILED", "UNKNOWN"]);