mavenagi 0.0.0-alpha.2 → 0.0.0-alpha.3

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 (274) hide show
  1. package/Client.d.ts +6 -0
  2. package/Client.js +10 -0
  3. package/README.md +11 -11
  4. package/api/resources/action/client/Client.d.ts +78 -0
  5. package/api/resources/action/client/Client.js +304 -0
  6. package/api/resources/action/client/index.d.ts +1 -0
  7. package/api/resources/action/client/index.js +1 -0
  8. package/api/resources/action/index.d.ts +2 -0
  9. package/api/resources/action/index.js +2 -0
  10. package/api/resources/action/types/Action.d.ts +23 -0
  11. package/api/resources/action/types/ActionParameter.d.ts +8 -0
  12. package/api/resources/action/types/index.d.ts +2 -0
  13. package/api/resources/action/types/index.js +2 -0
  14. package/api/resources/actionSet/client/Client.d.ts +71 -0
  15. package/api/resources/actionSet/client/Client.js +297 -0
  16. package/api/resources/actionSet/client/index.d.ts +1 -0
  17. package/api/resources/actionSet/client/index.js +1 -0
  18. package/api/resources/actionSet/index.d.ts +2 -0
  19. package/api/resources/actionSet/index.js +2 -0
  20. package/api/resources/actionSet/types/ActionSetBase.d.ts +9 -0
  21. package/{dist/api/resources/knowledge/types/IdBody.d.ts → api/resources/actionSet/types/ActionSetBase.js} +1 -3
  22. package/api/resources/actionSet/types/ActionSetRequest.d.ts +6 -0
  23. package/api/resources/{knowledge/types/IdBody.d.ts → actionSet/types/ActionSetRequest.js} +1 -3
  24. package/api/resources/actionSet/types/ActionSetResponse.d.ts +8 -0
  25. package/api/resources/actionSet/types/ActionSetResponse.js +4 -0
  26. package/api/resources/actionSet/types/index.d.ts +3 -0
  27. package/api/resources/actionSet/types/index.js +3 -0
  28. package/api/resources/commons/errors/{AgentNotFoundError.d.ts → BadRequestError.d.ts} +1 -1
  29. package/api/resources/{conversation/errors/EmptyConversationError.js → commons/errors/BadRequestError.js} +3 -3
  30. package/{dist/api/resources/commons/errors/AgentNotFoundError.d.ts → api/resources/commons/errors/NotFoundError.d.ts} +1 -1
  31. package/{dist/api/resources/commons/errors/AgentNotFoundError.js → api/resources/commons/errors/NotFoundError.js} +3 -3
  32. package/{dist/api/resources/conversation/errors/EmptyConversationError.d.ts → api/resources/commons/errors/ServerError.d.ts} +1 -1
  33. package/api/resources/commons/errors/ServerError.js +14 -0
  34. package/api/resources/commons/errors/index.d.ts +3 -1
  35. package/api/resources/commons/errors/index.js +3 -1
  36. package/api/resources/commons/types/Feedback.d.ts +16 -0
  37. package/api/resources/commons/types/Feedback.js +4 -0
  38. package/api/resources/{conversation → commons}/types/FeedbackType.d.ts +3 -1
  39. package/{dist/api/resources/conversation → api/resources/commons}/types/FeedbackType.js +2 -0
  40. package/api/resources/commons/types/User.d.ts +1 -0
  41. package/api/resources/commons/types/index.d.ts +2 -0
  42. package/api/resources/commons/types/index.js +2 -0
  43. package/api/resources/conversation/client/Client.d.ts +61 -29
  44. package/api/resources/conversation/client/Client.js +215 -109
  45. package/api/resources/conversation/index.d.ts +0 -1
  46. package/api/resources/conversation/index.js +0 -1
  47. package/api/resources/conversation/types/ActionExecutionRequest.d.ts +10 -0
  48. package/api/resources/conversation/types/ActionExecutionRequest.js +4 -0
  49. package/api/resources/conversation/types/ActionExecutionResponse.d.ts +7 -0
  50. package/api/resources/conversation/types/ActionExecutionResponse.js +4 -0
  51. package/api/resources/conversation/types/BotActionFormResponse.d.ts +1 -0
  52. package/api/resources/conversation/types/FeedbackRequest.d.ts +1 -8
  53. package/api/resources/conversation/types/UserMessage.d.ts +1 -0
  54. package/api/resources/conversation/types/index.d.ts +2 -1
  55. package/api/resources/conversation/types/index.js +2 -1
  56. package/api/resources/index.d.ts +4 -2
  57. package/api/resources/index.js +4 -2
  58. package/api/resources/knowledge/client/Client.d.ts +30 -34
  59. package/api/resources/knowledge/client/Client.js +94 -121
  60. package/api/resources/knowledge/index.d.ts +0 -1
  61. package/api/resources/knowledge/index.js +0 -1
  62. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +1 -1
  63. package/api/resources/knowledge/types/KnowledgeDocument.d.ts +1 -1
  64. package/api/resources/knowledge/types/index.d.ts +0 -1
  65. package/api/resources/knowledge/types/index.js +0 -1
  66. package/core/index.d.ts +1 -1
  67. package/core/index.js +1 -1
  68. package/dist/Client.d.ts +6 -0
  69. package/dist/Client.js +10 -0
  70. package/dist/api/resources/action/client/Client.d.ts +78 -0
  71. package/dist/api/resources/action/client/Client.js +304 -0
  72. package/dist/api/resources/action/client/index.d.ts +1 -0
  73. package/dist/api/resources/action/client/index.js +1 -0
  74. package/dist/api/resources/action/index.d.ts +2 -0
  75. package/dist/api/resources/action/index.js +2 -0
  76. package/dist/api/resources/action/types/Action.d.ts +23 -0
  77. package/dist/api/resources/action/types/Action.js +4 -0
  78. package/dist/api/resources/action/types/ActionParameter.d.ts +8 -0
  79. package/dist/api/resources/action/types/ActionParameter.js +4 -0
  80. package/dist/api/resources/action/types/index.d.ts +2 -0
  81. package/dist/api/resources/action/types/index.js +2 -0
  82. package/dist/api/resources/actionSet/client/Client.d.ts +71 -0
  83. package/dist/api/resources/actionSet/client/Client.js +297 -0
  84. package/dist/api/resources/actionSet/client/index.d.ts +1 -0
  85. package/dist/api/resources/actionSet/client/index.js +1 -0
  86. package/dist/api/resources/actionSet/index.d.ts +2 -0
  87. package/dist/api/resources/actionSet/index.js +2 -0
  88. package/dist/api/resources/actionSet/types/ActionSetBase.d.ts +9 -0
  89. package/dist/api/resources/actionSet/types/ActionSetBase.js +4 -0
  90. package/dist/api/resources/actionSet/types/ActionSetRequest.d.ts +6 -0
  91. package/dist/api/resources/actionSet/types/ActionSetRequest.js +4 -0
  92. package/dist/api/resources/actionSet/types/ActionSetResponse.d.ts +8 -0
  93. package/dist/api/resources/actionSet/types/ActionSetResponse.js +4 -0
  94. package/dist/api/resources/actionSet/types/index.d.ts +3 -0
  95. package/dist/api/resources/actionSet/types/index.js +3 -0
  96. package/{api/resources/conversation/errors/EmptyConversationError.d.ts → dist/api/resources/commons/errors/BadRequestError.d.ts} +1 -1
  97. package/dist/api/resources/{knowledge/errors/VersionInProgressError.js → commons/errors/BadRequestError.js} +3 -3
  98. package/dist/api/resources/commons/errors/NotFoundError.d.ts +8 -0
  99. package/{api/resources/commons/errors/AgentNotFoundError.js → dist/api/resources/commons/errors/NotFoundError.js} +3 -3
  100. package/dist/api/resources/commons/errors/ServerError.d.ts +8 -0
  101. package/dist/api/resources/commons/errors/ServerError.js +14 -0
  102. package/dist/api/resources/commons/errors/index.d.ts +3 -1
  103. package/dist/api/resources/commons/errors/index.js +3 -1
  104. package/dist/api/resources/commons/types/Feedback.d.ts +16 -0
  105. package/dist/api/resources/commons/types/Feedback.js +4 -0
  106. package/dist/api/resources/{conversation → commons}/types/FeedbackType.d.ts +3 -1
  107. package/{api/resources/conversation → dist/api/resources/commons}/types/FeedbackType.js +2 -0
  108. package/dist/api/resources/commons/types/User.d.ts +1 -0
  109. package/dist/api/resources/commons/types/index.d.ts +2 -0
  110. package/dist/api/resources/commons/types/index.js +2 -0
  111. package/dist/api/resources/conversation/client/Client.d.ts +61 -29
  112. package/dist/api/resources/conversation/client/Client.js +215 -109
  113. package/dist/api/resources/conversation/index.d.ts +0 -1
  114. package/dist/api/resources/conversation/index.js +0 -1
  115. package/dist/api/resources/conversation/types/ActionExecutionRequest.d.ts +10 -0
  116. package/dist/api/resources/conversation/types/ActionExecutionRequest.js +4 -0
  117. package/dist/api/resources/conversation/types/ActionExecutionResponse.d.ts +7 -0
  118. package/dist/api/resources/conversation/types/ActionExecutionResponse.js +4 -0
  119. package/dist/api/resources/conversation/types/BotActionFormResponse.d.ts +1 -0
  120. package/dist/api/resources/conversation/types/FeedbackRequest.d.ts +1 -8
  121. package/dist/api/resources/conversation/types/UserMessage.d.ts +1 -0
  122. package/dist/api/resources/conversation/types/index.d.ts +2 -1
  123. package/dist/api/resources/conversation/types/index.js +2 -1
  124. package/dist/api/resources/index.d.ts +4 -2
  125. package/dist/api/resources/index.js +4 -2
  126. package/dist/api/resources/knowledge/client/Client.d.ts +30 -34
  127. package/dist/api/resources/knowledge/client/Client.js +94 -121
  128. package/dist/api/resources/knowledge/index.d.ts +0 -1
  129. package/dist/api/resources/knowledge/index.js +0 -1
  130. package/dist/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +1 -1
  131. package/dist/api/resources/knowledge/types/KnowledgeDocument.d.ts +1 -1
  132. package/dist/api/resources/knowledge/types/index.d.ts +0 -1
  133. package/dist/api/resources/knowledge/types/index.js +0 -1
  134. package/dist/core/index.d.ts +1 -1
  135. package/dist/core/index.js +1 -1
  136. package/dist/serialization/resources/action/index.d.ts +1 -0
  137. package/dist/serialization/resources/action/index.js +1 -0
  138. package/dist/serialization/resources/action/types/Action.d.ts +21 -0
  139. package/dist/serialization/resources/action/types/Action.js +16 -0
  140. package/dist/serialization/resources/action/types/ActionParameter.d.ts +14 -0
  141. package/dist/serialization/resources/action/types/ActionParameter.js +9 -0
  142. package/dist/serialization/resources/action/types/index.d.ts +2 -0
  143. package/dist/serialization/resources/action/types/index.js +2 -0
  144. package/dist/serialization/resources/actionSet/index.d.ts +1 -0
  145. package/dist/serialization/resources/actionSet/index.js +1 -0
  146. package/dist/serialization/resources/{knowledge/types/IdBody.d.ts → actionSet/types/ActionSetBase.d.ts} +4 -3
  147. package/dist/serialization/resources/actionSet/types/ActionSetBase.js +8 -0
  148. package/dist/serialization/resources/actionSet/types/ActionSetRequest.d.ts +12 -0
  149. package/dist/serialization/resources/actionSet/types/ActionSetRequest.js +6 -0
  150. package/dist/serialization/resources/actionSet/types/ActionSetResponse.d.ts +14 -0
  151. package/dist/serialization/resources/actionSet/types/ActionSetResponse.js +11 -0
  152. package/dist/serialization/resources/actionSet/types/index.d.ts +3 -0
  153. package/dist/serialization/resources/actionSet/types/index.js +3 -0
  154. package/dist/serialization/resources/commons/types/Feedback.d.ts +17 -0
  155. package/dist/serialization/resources/commons/types/Feedback.js +12 -0
  156. package/dist/serialization/resources/{conversation → commons}/types/FeedbackType.d.ts +1 -1
  157. package/dist/serialization/resources/{conversation → commons}/types/FeedbackType.js +1 -1
  158. package/dist/serialization/resources/commons/types/User.d.ts +1 -0
  159. package/dist/serialization/resources/commons/types/User.js +1 -0
  160. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  161. package/dist/serialization/resources/commons/types/index.js +2 -0
  162. package/dist/serialization/resources/conversation/types/ActionExecutionRequest.d.ts +15 -0
  163. package/dist/serialization/resources/conversation/types/ActionExecutionRequest.js +10 -0
  164. package/dist/serialization/resources/conversation/types/ActionExecutionResponse.d.ts +12 -0
  165. package/dist/serialization/resources/{knowledge/types/IdBody.js → conversation/types/ActionExecutionResponse.js} +2 -2
  166. package/dist/serialization/resources/conversation/types/BotActionFormResponse.d.ts +1 -0
  167. package/dist/serialization/resources/conversation/types/BotActionFormResponse.js +1 -0
  168. package/dist/serialization/resources/conversation/types/FeedbackRequest.d.ts +2 -6
  169. package/dist/serialization/resources/conversation/types/FeedbackRequest.js +2 -7
  170. package/dist/serialization/resources/conversation/types/index.d.ts +2 -1
  171. package/dist/serialization/resources/conversation/types/index.js +2 -1
  172. package/dist/serialization/resources/index.d.ts +4 -0
  173. package/dist/serialization/resources/index.js +4 -0
  174. package/dist/serialization/resources/knowledge/types/index.d.ts +0 -1
  175. package/dist/serialization/resources/knowledge/types/index.js +0 -1
  176. package/package.json +1 -1
  177. package/serialization/resources/action/index.d.ts +1 -0
  178. package/serialization/resources/action/index.js +1 -0
  179. package/serialization/resources/action/types/Action.d.ts +21 -0
  180. package/serialization/resources/action/types/Action.js +16 -0
  181. package/serialization/resources/action/types/ActionParameter.d.ts +14 -0
  182. package/serialization/resources/action/types/ActionParameter.js +9 -0
  183. package/serialization/resources/action/types/index.d.ts +2 -0
  184. package/serialization/resources/action/types/index.js +2 -0
  185. package/serialization/resources/actionSet/index.d.ts +1 -0
  186. package/serialization/resources/actionSet/index.js +1 -0
  187. package/serialization/resources/{knowledge/types/IdBody.d.ts → actionSet/types/ActionSetBase.d.ts} +4 -3
  188. package/serialization/resources/actionSet/types/ActionSetBase.js +8 -0
  189. package/serialization/resources/actionSet/types/ActionSetRequest.d.ts +12 -0
  190. package/serialization/resources/actionSet/types/ActionSetRequest.js +6 -0
  191. package/serialization/resources/actionSet/types/ActionSetResponse.d.ts +14 -0
  192. package/serialization/resources/actionSet/types/ActionSetResponse.js +11 -0
  193. package/serialization/resources/actionSet/types/index.d.ts +3 -0
  194. package/serialization/resources/actionSet/types/index.js +3 -0
  195. package/serialization/resources/commons/types/Feedback.d.ts +17 -0
  196. package/serialization/resources/commons/types/Feedback.js +12 -0
  197. package/serialization/resources/{conversation → commons}/types/FeedbackType.d.ts +1 -1
  198. package/serialization/resources/{conversation → commons}/types/FeedbackType.js +1 -1
  199. package/serialization/resources/commons/types/User.d.ts +1 -0
  200. package/serialization/resources/commons/types/User.js +1 -0
  201. package/serialization/resources/commons/types/index.d.ts +2 -0
  202. package/serialization/resources/commons/types/index.js +2 -0
  203. package/serialization/resources/conversation/types/ActionExecutionRequest.d.ts +15 -0
  204. package/serialization/resources/conversation/types/ActionExecutionRequest.js +10 -0
  205. package/serialization/resources/conversation/types/ActionExecutionResponse.d.ts +12 -0
  206. package/serialization/resources/{knowledge/types/IdBody.js → conversation/types/ActionExecutionResponse.js} +2 -2
  207. package/serialization/resources/conversation/types/BotActionFormResponse.d.ts +1 -0
  208. package/serialization/resources/conversation/types/BotActionFormResponse.js +1 -0
  209. package/serialization/resources/conversation/types/FeedbackRequest.d.ts +2 -6
  210. package/serialization/resources/conversation/types/FeedbackRequest.js +2 -7
  211. package/serialization/resources/conversation/types/index.d.ts +2 -1
  212. package/serialization/resources/conversation/types/index.js +2 -1
  213. package/serialization/resources/index.d.ts +4 -0
  214. package/serialization/resources/index.js +4 -0
  215. package/serialization/resources/knowledge/types/index.d.ts +0 -1
  216. package/serialization/resources/knowledge/types/index.js +0 -1
  217. package/api/resources/conversation/errors/ConversationAlreadyExistsError.d.ts +0 -8
  218. package/api/resources/conversation/errors/ConversationAlreadyExistsError.js +0 -14
  219. package/api/resources/conversation/errors/ConversationMessageNotFoundError.d.ts +0 -8
  220. package/api/resources/conversation/errors/ConversationMessageNotFoundError.js +0 -14
  221. package/api/resources/conversation/errors/ConversationNotFoundError.d.ts +0 -8
  222. package/api/resources/conversation/errors/ConversationNotFoundError.js +0 -14
  223. package/api/resources/conversation/errors/InvalidConversationIdError.d.ts +0 -8
  224. package/api/resources/conversation/errors/InvalidConversationIdError.js +0 -14
  225. package/api/resources/conversation/errors/InvalidConversationMessageIdError.d.ts +0 -8
  226. package/api/resources/conversation/errors/InvalidConversationMessageIdError.js +0 -14
  227. package/api/resources/conversation/errors/InvalidFeedbackTypeError.d.ts +0 -8
  228. package/api/resources/conversation/errors/InvalidFeedbackTypeError.js +0 -14
  229. package/api/resources/conversation/errors/index.d.ts +0 -7
  230. package/api/resources/conversation/errors/index.js +0 -7
  231. package/api/resources/knowledge/errors/DocumentCreationError.d.ts +0 -7
  232. package/api/resources/knowledge/errors/DocumentCreationError.js +0 -13
  233. package/api/resources/knowledge/errors/DocumentNotFoundError.d.ts +0 -8
  234. package/api/resources/knowledge/errors/DocumentNotFoundError.js +0 -14
  235. package/api/resources/knowledge/errors/IneligibleKnowledgeBaseError.d.ts +0 -8
  236. package/api/resources/knowledge/errors/IneligibleKnowledgeBaseError.js +0 -14
  237. package/api/resources/knowledge/errors/KnowledgeBaseNotFoundError.d.ts +0 -8
  238. package/api/resources/knowledge/errors/KnowledgeBaseNotFoundError.js +0 -14
  239. package/api/resources/knowledge/errors/VersionInProgressError.d.ts +0 -8
  240. package/api/resources/knowledge/errors/VersionInProgressError.js +0 -14
  241. package/api/resources/knowledge/errors/VersionNotInProgressError.d.ts +0 -8
  242. package/api/resources/knowledge/errors/VersionNotInProgressError.js +0 -14
  243. package/api/resources/knowledge/errors/index.d.ts +0 -6
  244. package/api/resources/knowledge/errors/index.js +0 -6
  245. package/dist/api/resources/conversation/errors/ConversationAlreadyExistsError.d.ts +0 -8
  246. package/dist/api/resources/conversation/errors/ConversationAlreadyExistsError.js +0 -14
  247. package/dist/api/resources/conversation/errors/ConversationMessageNotFoundError.d.ts +0 -8
  248. package/dist/api/resources/conversation/errors/ConversationMessageNotFoundError.js +0 -14
  249. package/dist/api/resources/conversation/errors/ConversationNotFoundError.d.ts +0 -8
  250. package/dist/api/resources/conversation/errors/ConversationNotFoundError.js +0 -14
  251. package/dist/api/resources/conversation/errors/EmptyConversationError.js +0 -14
  252. package/dist/api/resources/conversation/errors/InvalidConversationIdError.d.ts +0 -8
  253. package/dist/api/resources/conversation/errors/InvalidConversationIdError.js +0 -14
  254. package/dist/api/resources/conversation/errors/InvalidConversationMessageIdError.d.ts +0 -8
  255. package/dist/api/resources/conversation/errors/InvalidConversationMessageIdError.js +0 -14
  256. package/dist/api/resources/conversation/errors/InvalidFeedbackTypeError.d.ts +0 -8
  257. package/dist/api/resources/conversation/errors/InvalidFeedbackTypeError.js +0 -14
  258. package/dist/api/resources/conversation/errors/index.d.ts +0 -7
  259. package/dist/api/resources/conversation/errors/index.js +0 -7
  260. package/dist/api/resources/knowledge/errors/DocumentCreationError.d.ts +0 -7
  261. package/dist/api/resources/knowledge/errors/DocumentCreationError.js +0 -13
  262. package/dist/api/resources/knowledge/errors/DocumentNotFoundError.d.ts +0 -8
  263. package/dist/api/resources/knowledge/errors/DocumentNotFoundError.js +0 -14
  264. package/dist/api/resources/knowledge/errors/IneligibleKnowledgeBaseError.d.ts +0 -8
  265. package/dist/api/resources/knowledge/errors/IneligibleKnowledgeBaseError.js +0 -14
  266. package/dist/api/resources/knowledge/errors/KnowledgeBaseNotFoundError.d.ts +0 -8
  267. package/dist/api/resources/knowledge/errors/KnowledgeBaseNotFoundError.js +0 -14
  268. package/dist/api/resources/knowledge/errors/VersionInProgressError.d.ts +0 -8
  269. package/dist/api/resources/knowledge/errors/VersionNotInProgressError.d.ts +0 -8
  270. package/dist/api/resources/knowledge/errors/VersionNotInProgressError.js +0 -14
  271. package/dist/api/resources/knowledge/errors/index.d.ts +0 -6
  272. package/dist/api/resources/knowledge/errors/index.js +0 -6
  273. /package/api/resources/{knowledge/types/IdBody.js → action/types/Action.js} +0 -0
  274. /package/{dist/api/resources/knowledge/types/IdBody.js → api/resources/action/types/ActionParameter.js} +0 -0
@@ -4,6 +4,7 @@
4
4
  import * as core from "../../../../core";
5
5
  import { ActionFormField } from "./ActionFormField";
6
6
  export const BotActionFormResponse = core.serialization.object({
7
+ id: core.serialization.string(),
7
8
  formLabel: core.serialization.string(),
8
9
  fields: core.serialization.list(ActionFormField),
9
10
  submitLabel: core.serialization.string(),
@@ -4,12 +4,8 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
- import { FeedbackType } from "./FeedbackType";
7
+ import { Feedback } from "../../commons/types/Feedback";
8
8
  export declare const FeedbackRequest: core.serialization.ObjectSchema<serializers.FeedbackRequest.Raw, MavenAGI.FeedbackRequest>;
9
9
  export declare namespace FeedbackRequest {
10
- interface Raw {
11
- conversation_message_id: string;
12
- text: string;
13
- type: FeedbackType.Raw;
14
- }
10
+ type Raw = Feedback.Raw;
15
11
  }
@@ -1,10 +1,5 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as core from "../../../../core";
5
- import { FeedbackType } from "./FeedbackType";
6
- export const FeedbackRequest = core.serialization.object({
7
- conversationMessageId: core.serialization.property("conversation_message_id", core.serialization.string()),
8
- text: core.serialization.string(),
9
- type: FeedbackType,
10
- });
4
+ import { Feedback } from "../../commons/types/Feedback";
5
+ export const FeedbackRequest = Feedback;
@@ -13,12 +13,13 @@ export * from "./BotResponse";
13
13
  export * from "./BotTextResponse";
14
14
  export * from "./BotActionFormResponse";
15
15
  export * from "./ActionFormField";
16
+ export * from "./ActionExecutionRequest";
17
+ export * from "./ActionExecutionResponse";
16
18
  export * from "./ConversationContext";
17
19
  export * from "./ConversationMessageContext";
18
20
  export * from "./UserConversationMessageType";
19
21
  export * from "./BotConversationMessageType";
20
22
  export * from "./FeedbackRequest";
21
- export * from "./FeedbackType";
22
23
  export * from "./StreamResponse";
23
24
  export * from "./AskStreamTextEvent";
24
25
  export * from "./AskStreamMetadataEvent";
@@ -13,12 +13,13 @@ export * from "./BotResponse";
13
13
  export * from "./BotTextResponse";
14
14
  export * from "./BotActionFormResponse";
15
15
  export * from "./ActionFormField";
16
+ export * from "./ActionExecutionRequest";
17
+ export * from "./ActionExecutionResponse";
16
18
  export * from "./ConversationContext";
17
19
  export * from "./ConversationMessageContext";
18
20
  export * from "./UserConversationMessageType";
19
21
  export * from "./BotConversationMessageType";
20
22
  export * from "./FeedbackRequest";
21
- export * from "./FeedbackType";
22
23
  export * from "./StreamResponse";
23
24
  export * from "./AskStreamTextEvent";
24
25
  export * from "./AskStreamMetadataEvent";
@@ -1,3 +1,7 @@
1
+ export * as actionSet from "./actionSet";
2
+ export * from "./actionSet/types";
3
+ export * as action from "./action";
4
+ export * from "./action/types";
1
5
  export * as commons from "./commons";
2
6
  export * from "./commons/types";
3
7
  export * as conversation from "./conversation";
@@ -1,3 +1,7 @@
1
+ export * as actionSet from "./actionSet";
2
+ export * from "./actionSet/types";
3
+ export * as action from "./action";
4
+ export * from "./action/types";
1
5
  export * as commons from "./commons";
2
6
  export * from "./commons/types";
3
7
  export * as conversation from "./conversation";
@@ -5,4 +5,3 @@ export * from "./KnowledgeBaseVersion";
5
5
  export * from "./KnowledgeBaseVersionType";
6
6
  export * from "./KnowledgeDocumentId";
7
7
  export * from "./KnowledgeDocument";
8
- export * from "./IdBody";
@@ -5,4 +5,3 @@ export * from "./KnowledgeBaseVersion";
5
5
  export * from "./KnowledgeBaseVersionType";
6
6
  export * from "./KnowledgeDocumentId";
7
7
  export * from "./KnowledgeDocument";
8
- export * from "./IdBody";
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class ConversationAlreadyExistsError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class ConversationAlreadyExistsError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "ConversationAlreadyExistsError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, ConversationAlreadyExistsError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class ConversationMessageNotFoundError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class ConversationMessageNotFoundError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "ConversationMessageNotFoundError",
9
- statusCode: 404,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, ConversationMessageNotFoundError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class ConversationNotFoundError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class ConversationNotFoundError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "ConversationNotFoundError",
9
- statusCode: 404,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, ConversationNotFoundError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class InvalidConversationIdError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class InvalidConversationIdError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "InvalidConversationIdError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, InvalidConversationIdError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class InvalidConversationMessageIdError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class InvalidConversationMessageIdError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "InvalidConversationMessageIdError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, InvalidConversationMessageIdError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class InvalidFeedbackTypeError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class InvalidFeedbackTypeError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "InvalidFeedbackTypeError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, InvalidFeedbackTypeError.prototype);
13
- }
14
- }
@@ -1,7 +0,0 @@
1
- export * from "./ConversationNotFoundError";
2
- export * from "./ConversationAlreadyExistsError";
3
- export * from "./ConversationMessageNotFoundError";
4
- export * from "./EmptyConversationError";
5
- export * from "./InvalidConversationIdError";
6
- export * from "./InvalidConversationMessageIdError";
7
- export * from "./InvalidFeedbackTypeError";
@@ -1,7 +0,0 @@
1
- export * from "./ConversationNotFoundError";
2
- export * from "./ConversationAlreadyExistsError";
3
- export * from "./ConversationMessageNotFoundError";
4
- export * from "./EmptyConversationError";
5
- export * from "./InvalidConversationIdError";
6
- export * from "./InvalidConversationMessageIdError";
7
- export * from "./InvalidFeedbackTypeError";
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export declare class DocumentCreationError extends errors.MavenAGIError {
6
- constructor();
7
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class DocumentCreationError extends errors.MavenAGIError {
6
- constructor() {
7
- super({
8
- message: "DocumentCreationError",
9
- statusCode: 500,
10
- });
11
- Object.setPrototypeOf(this, DocumentCreationError.prototype);
12
- }
13
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class DocumentNotFoundError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.IdBody);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class DocumentNotFoundError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "DocumentNotFoundError",
9
- statusCode: 404,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, DocumentNotFoundError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class IneligibleKnowledgeBaseError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.IdBody);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class IneligibleKnowledgeBaseError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "IneligibleKnowledgeBaseError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, IneligibleKnowledgeBaseError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class KnowledgeBaseNotFoundError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.IdBody);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class KnowledgeBaseNotFoundError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "KnowledgeBaseNotFoundError",
9
- statusCode: 404,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, KnowledgeBaseNotFoundError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class VersionInProgressError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.IdBody);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class VersionInProgressError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "VersionInProgressError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, VersionInProgressError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class VersionNotInProgressError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.IdBody);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class VersionNotInProgressError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "VersionNotInProgressError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, VersionNotInProgressError.prototype);
13
- }
14
- }
@@ -1,6 +0,0 @@
1
- export * from "./VersionInProgressError";
2
- export * from "./VersionNotInProgressError";
3
- export * from "./IneligibleKnowledgeBaseError";
4
- export * from "./DocumentNotFoundError";
5
- export * from "./DocumentCreationError";
6
- export * from "./KnowledgeBaseNotFoundError";
@@ -1,6 +0,0 @@
1
- export * from "./VersionInProgressError";
2
- export * from "./VersionNotInProgressError";
3
- export * from "./IneligibleKnowledgeBaseError";
4
- export * from "./DocumentNotFoundError";
5
- export * from "./DocumentCreationError";
6
- export * from "./KnowledgeBaseNotFoundError";
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class ConversationAlreadyExistsError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class ConversationAlreadyExistsError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "ConversationAlreadyExistsError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, ConversationAlreadyExistsError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class ConversationMessageNotFoundError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class ConversationMessageNotFoundError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "ConversationMessageNotFoundError",
9
- statusCode: 404,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, ConversationMessageNotFoundError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class ConversationNotFoundError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class ConversationNotFoundError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "ConversationNotFoundError",
9
- statusCode: 404,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, ConversationNotFoundError.prototype);
13
- }
14
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class EmptyConversationError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "EmptyConversationError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, EmptyConversationError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class InvalidConversationIdError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class InvalidConversationIdError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "InvalidConversationIdError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, InvalidConversationIdError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class InvalidConversationMessageIdError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class InvalidConversationMessageIdError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "InvalidConversationMessageIdError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, InvalidConversationMessageIdError.prototype);
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- import * as MavenAGI from "../../../index";
6
- export declare class InvalidFeedbackTypeError extends errors.MavenAGIError {
7
- constructor(body: MavenAGI.ErrorMessage);
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as errors from "../../../../errors/index";
5
- export class InvalidFeedbackTypeError extends errors.MavenAGIError {
6
- constructor(body) {
7
- super({
8
- message: "InvalidFeedbackTypeError",
9
- statusCode: 400,
10
- body: body,
11
- });
12
- Object.setPrototypeOf(this, InvalidFeedbackTypeError.prototype);
13
- }
14
- }
@@ -1,7 +0,0 @@
1
- export * from "./ConversationNotFoundError";
2
- export * from "./ConversationAlreadyExistsError";
3
- export * from "./ConversationMessageNotFoundError";
4
- export * from "./EmptyConversationError";
5
- export * from "./InvalidConversationIdError";
6
- export * from "./InvalidConversationMessageIdError";
7
- export * from "./InvalidFeedbackTypeError";
@@ -1,7 +0,0 @@
1
- export * from "./ConversationNotFoundError";
2
- export * from "./ConversationAlreadyExistsError";
3
- export * from "./ConversationMessageNotFoundError";
4
- export * from "./EmptyConversationError";
5
- export * from "./InvalidConversationIdError";
6
- export * from "./InvalidConversationMessageIdError";
7
- export * from "./InvalidFeedbackTypeError";