mavenagi 1.2.59 → 1.2.61

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 (286) hide show
  1. package/BaseClient.d.ts +12 -0
  2. package/BaseClient.js +5 -3
  3. package/Client.d.ts +3 -0
  4. package/Client.js +33 -28
  5. package/api/resources/actions/client/Client.d.ts +10 -0
  6. package/api/resources/actions/client/Client.js +14 -3
  7. package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +2 -3
  8. package/api/resources/agents/client/Client.d.ts +12 -0
  9. package/api/resources/agents/client/Client.js +16 -3
  10. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +7 -3
  11. package/api/resources/agents/types/AgentPrompting.d.ts +7 -3
  12. package/api/resources/analytics/client/Client.d.ts +21 -1
  13. package/api/resources/analytics/client/Client.js +29 -8
  14. package/api/resources/analytics/types/ConversationMedian.d.ts +4 -0
  15. package/api/resources/analytics/types/ConversationPercentile.d.ts +4 -0
  16. package/api/resources/analytics/types/RowBase.d.ts +5 -1
  17. package/api/resources/analytics/types/Series.d.ts +4 -1
  18. package/api/resources/analytics/types/TimeSeries.d.ts +5 -1
  19. package/api/resources/appDirectory/client/Client.d.ts +12 -0
  20. package/api/resources/appDirectory/client/Client.js +16 -3
  21. package/api/resources/appSettings/client/Client.d.ts +6 -0
  22. package/api/resources/appSettings/client/Client.js +8 -1
  23. package/api/resources/assets/client/Client.d.ts +4 -0
  24. package/api/resources/assets/client/Client.js +7 -2
  25. package/api/resources/charters/client/Client.d.ts +245 -0
  26. package/api/resources/charters/client/Client.js +884 -0
  27. package/api/resources/charters/client/index.d.ts +1 -0
  28. package/api/resources/charters/client/index.js +17 -0
  29. package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +20 -0
  30. package/api/resources/charters/client/requests/CharterDeleteRequest.js +3 -0
  31. package/api/resources/charters/client/requests/CharterGetAncestorsRequest.d.ts +8 -0
  32. package/api/resources/charters/client/requests/CharterGetAncestorsRequest.js +3 -0
  33. package/api/resources/charters/client/requests/CharterGetRequest.d.ts +8 -0
  34. package/api/resources/charters/client/requests/CharterGetRequest.js +3 -0
  35. package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +67 -0
  36. package/api/resources/charters/client/requests/CharterPatchRequest.js +3 -0
  37. package/api/resources/charters/client/requests/index.d.ts +4 -0
  38. package/api/resources/charters/client/requests/index.js +2 -0
  39. package/api/resources/charters/exports.d.ts +2 -0
  40. package/api/resources/charters/exports.js +21 -0
  41. package/api/resources/charters/index.d.ts +1 -0
  42. package/api/resources/charters/index.js +1 -0
  43. package/api/resources/charters/types/CharterAncestorsResponse.d.ts +8 -0
  44. package/api/resources/charters/types/CharterAncestorsResponse.js +3 -0
  45. package/api/resources/charters/types/CharterBase.d.ts +14 -0
  46. package/api/resources/charters/types/CharterBase.js +3 -0
  47. package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +1 -1
  48. package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +1 -1
  49. package/api/resources/charters/types/CharterChildrenGroup.d.ts +18 -0
  50. package/api/resources/charters/types/CharterChildrenGroup.js +3 -0
  51. package/api/resources/charters/types/CharterContent.d.ts +60 -0
  52. package/api/resources/charters/types/CharterContent.js +3 -0
  53. package/api/resources/charters/types/CharterKnowledgeBaseReference.d.ts +16 -0
  54. package/api/resources/charters/types/CharterKnowledgeBaseReference.js +3 -0
  55. package/api/resources/charters/types/CharterListChildrenRequest.d.ts +18 -0
  56. package/api/resources/charters/types/CharterListChildrenRequest.js +3 -0
  57. package/api/resources/charters/types/CharterListChildrenResponse.d.ts +55 -0
  58. package/api/resources/charters/types/CharterListChildrenResponse.js +3 -0
  59. package/api/resources/charters/types/CharterPatchReferences.d.ts +22 -0
  60. package/api/resources/charters/types/CharterPatchReferences.js +3 -0
  61. package/api/resources/charters/types/CharterReferences.d.ts +21 -0
  62. package/api/resources/charters/types/CharterReferences.js +3 -0
  63. package/api/resources/charters/types/CharterRequest.d.ts +36 -0
  64. package/api/resources/charters/types/CharterRequest.js +3 -0
  65. package/api/resources/charters/types/CharterResponse.d.ts +66 -0
  66. package/api/resources/charters/types/CharterResponse.js +3 -0
  67. package/api/resources/charters/types/CharterSearchField.d.ts +5 -0
  68. package/api/resources/charters/types/CharterSearchField.js +8 -0
  69. package/api/resources/charters/types/CharterSearchFilter.d.ts +15 -0
  70. package/api/resources/charters/types/CharterSearchFilter.js +3 -0
  71. package/api/resources/charters/types/CharterSearchRequest.d.ts +5 -0
  72. package/api/resources/charters/types/CharterSearchRequest.js +3 -0
  73. package/api/resources/charters/types/CharterSearchResponse.d.ts +36 -0
  74. package/api/resources/charters/types/CharterSearchResponse.js +3 -0
  75. package/api/resources/charters/types/CharterStatus.d.ts +2 -2
  76. package/api/resources/charters/types/CharterStatus.js +2 -2
  77. package/api/resources/charters/types/CharterSummary.d.ts +2 -5
  78. package/api/resources/charters/types/CharterType.d.ts +4 -4
  79. package/api/resources/charters/types/CharterType.js +4 -4
  80. package/api/resources/charters/types/index.d.ts +15 -0
  81. package/api/resources/charters/types/index.js +15 -0
  82. package/api/resources/commons/errors/BadRequestError.d.ts +1 -0
  83. package/api/resources/commons/errors/BadRequestError.js +1 -1
  84. package/api/resources/commons/errors/NotFoundError.d.ts +1 -0
  85. package/api/resources/commons/errors/NotFoundError.js +1 -1
  86. package/api/resources/commons/errors/PayloadTooLargeError.d.ts +1 -0
  87. package/api/resources/commons/errors/PayloadTooLargeError.js +1 -1
  88. package/api/resources/commons/errors/ServerError.d.ts +1 -0
  89. package/api/resources/commons/errors/ServerError.js +1 -1
  90. package/api/resources/commons/errors/TooManyRequestsError.d.ts +1 -0
  91. package/api/resources/commons/errors/TooManyRequestsError.js +1 -1
  92. package/api/resources/commons/types/ActionProperties.d.ts +5 -1
  93. package/api/resources/commons/types/ActionResponse.d.ts +3 -3
  94. package/api/resources/commons/types/AskType.d.ts +2 -2
  95. package/api/resources/commons/types/AskType.js +2 -2
  96. package/api/resources/commons/types/BotObjectResponse.d.ts +1 -1
  97. package/api/resources/commons/types/ConversationRound.d.ts +1 -1
  98. package/api/resources/commons/types/ConversationRound.js +1 -1
  99. package/api/resources/commons/types/EventFilter.d.ts +5 -0
  100. package/api/resources/commons/types/EventTriggerType.d.ts +2 -0
  101. package/api/resources/commons/types/EventTriggerType.js +2 -0
  102. package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +0 -4
  103. package/api/resources/commons/types/KnowledgeContextByEntities.d.ts +11 -0
  104. package/api/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +3 -0
  105. package/api/resources/commons/types/KnowledgeContextFilter.d.ts +6 -1
  106. package/api/resources/commons/types/LlmPersona.d.ts +1 -0
  107. package/api/resources/commons/types/LlmPersona.js +1 -0
  108. package/api/resources/commons/types/MetadataComparisonCondition.d.ts +10 -0
  109. package/api/resources/commons/types/MetadataComparisonCondition.js +3 -0
  110. package/api/resources/commons/types/MetadataComparisonOperator.d.ts +22 -0
  111. package/api/resources/commons/types/MetadataComparisonOperator.js +25 -0
  112. package/api/resources/commons/types/MetadataCondition.d.ts +21 -0
  113. package/api/resources/commons/types/MetadataCondition.js +3 -0
  114. package/api/resources/commons/types/MetadataEntryCondition.d.ts +10 -0
  115. package/api/resources/commons/types/MetadataEntryCondition.js +3 -0
  116. package/api/resources/commons/types/MetadataFilter.d.ts +41 -0
  117. package/api/resources/commons/types/MetadataFilter.js +3 -0
  118. package/api/resources/commons/types/MetadataFilterGroup.d.ts +14 -0
  119. package/api/resources/commons/types/MetadataFilterGroup.js +3 -0
  120. package/api/resources/commons/types/NovelUserEvent.d.ts +4 -1
  121. package/api/resources/commons/types/ResponseConfig.d.ts +9 -3
  122. package/api/resources/commons/types/SimulationContext.d.ts +3 -3
  123. package/api/resources/commons/types/SystemEventName.d.ts +27 -0
  124. package/api/resources/commons/types/SystemEventName.js +27 -0
  125. package/api/resources/commons/types/UserEvent.d.ts +4 -1
  126. package/api/resources/commons/types/UserEventName.d.ts +84 -0
  127. package/api/resources/commons/types/UserEventName.js +84 -0
  128. package/api/resources/commons/types/UserMessage.d.ts +7 -0
  129. package/api/resources/commons/types/index.d.ts +6 -0
  130. package/api/resources/commons/types/index.js +6 -0
  131. package/api/resources/conversation/client/Client.d.ts +35 -1
  132. package/api/resources/conversation/client/Client.js +51 -18
  133. package/api/resources/conversation/types/AskRequest.d.ts +10 -10
  134. package/api/resources/conversation/types/ConversationFilter.d.ts +10 -4
  135. package/api/resources/customers/client/Client.d.ts +8 -0
  136. package/api/resources/customers/client/Client.js +12 -3
  137. package/api/resources/events/client/Client.d.ts +8 -0
  138. package/api/resources/events/client/Client.js +12 -3
  139. package/api/resources/inbox/client/Client.d.ts +16 -0
  140. package/api/resources/inbox/client/Client.js +22 -5
  141. package/api/resources/index.d.ts +1 -0
  142. package/api/resources/index.js +1 -0
  143. package/api/resources/integrations/client/Client.d.ts +2 -0
  144. package/api/resources/integrations/client/Client.js +4 -1
  145. package/api/resources/intelligentFields/client/Client.d.ts +28 -3
  146. package/api/resources/intelligentFields/client/Client.js +36 -8
  147. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +4 -0
  148. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +13 -4
  149. package/api/resources/intelligentFields/types/EnumOption.d.ts +3 -1
  150. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
  151. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +12 -11
  152. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +4 -1
  153. package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +4 -1
  154. package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +8 -1
  155. package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +8 -1
  156. package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +10 -0
  157. package/api/resources/intelligentFields/types/IntelligentFieldType.js +10 -0
  158. package/api/resources/knowledge/client/Client.d.ts +32 -0
  159. package/api/resources/knowledge/client/Client.js +47 -16
  160. package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +18 -10
  161. package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +6 -1
  162. package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +5 -1
  163. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +10 -6
  164. package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +13 -0
  165. package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +16 -1
  166. package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +33 -9
  167. package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +7 -1
  168. package/api/resources/organizations/client/Client.d.ts +12 -0
  169. package/api/resources/organizations/client/Client.js +17 -4
  170. package/api/resources/segments/client/Client.d.ts +20 -0
  171. package/api/resources/segments/client/Client.js +24 -3
  172. package/api/resources/translations/client/Client.d.ts +2 -0
  173. package/api/resources/translations/client/Client.js +4 -1
  174. package/api/resources/triggers/client/Client.d.ts +10 -0
  175. package/api/resources/triggers/client/Client.js +14 -3
  176. package/api/resources/triggers/types/EventTriggerBase.d.ts +3 -1
  177. package/api/resources/users/client/Client.d.ts +10 -0
  178. package/api/resources/users/client/Client.js +13 -2
  179. package/api/resources/voice/client/Client.d.ts +2 -0
  180. package/api/resources/voice/client/Client.js +4 -1
  181. package/api/resources/voiceConversations/client/Client.d.ts +4 -1
  182. package/api/resources/voiceConversations/client/Client.js +2 -1
  183. package/api/resources/voiceConversations/client/Socket.d.ts +11 -0
  184. package/api/resources/voiceConversations/client/Socket.js +15 -0
  185. package/core/fetcher/Fetcher.js +9 -92
  186. package/core/fetcher/getResponseBody.js +11 -0
  187. package/core/fetcher/makePassthroughRequest.js +26 -4
  188. package/core/fetcher/redactUrl.d.ts +2 -0
  189. package/core/fetcher/redactUrl.js +88 -0
  190. package/core/fetcher/signals.js +9 -1
  191. package/core/file/file.js +3 -0
  192. package/core/form-data-utils/FormDataWrapper.js +3 -0
  193. package/core/requestBody.d.ts +12 -0
  194. package/core/requestBody.js +26 -0
  195. package/core/runtime/index.d.ts +1 -1
  196. package/core/runtime/index.js +2 -1
  197. package/core/runtime/runtime.d.ts +19 -0
  198. package/core/runtime/runtime.js +74 -2
  199. package/core/schemas/builders/schema-utils/JsonError.js +2 -2
  200. package/core/schemas/builders/schema-utils/ParseError.js +2 -2
  201. package/core/stream/Stream.d.ts +45 -1
  202. package/core/stream/Stream.js +323 -84
  203. package/core/stream/index.d.ts +1 -0
  204. package/core/url/qs.js +2 -2
  205. package/core/websocket/ws.d.ts +6 -0
  206. package/core/websocket/ws.js +14 -1
  207. package/errors/MavenAGIError.d.ts +1 -0
  208. package/errors/MavenAGIError.js +5 -1
  209. package/errors/MavenAGITimeoutError.d.ts +2 -2
  210. package/errors/MavenAGITimeoutError.js +40 -6
  211. package/package.json +2 -2
  212. package/reference.md +595 -5
  213. package/serialization/resources/charters/client/index.d.ts +1 -0
  214. package/serialization/resources/charters/client/index.js +17 -0
  215. package/serialization/resources/charters/client/requests/CharterPatchRequest.d.ts +24 -0
  216. package/serialization/resources/charters/client/requests/CharterPatchRequest.js +57 -0
  217. package/serialization/resources/charters/client/requests/index.d.ts +1 -0
  218. package/serialization/resources/charters/client/requests/index.js +5 -0
  219. package/serialization/resources/charters/index.d.ts +1 -0
  220. package/serialization/resources/charters/index.js +1 -0
  221. package/serialization/resources/charters/types/CharterAncestorsResponse.d.ts +10 -0
  222. package/serialization/resources/charters/types/CharterAncestorsResponse.js +42 -0
  223. package/serialization/resources/charters/types/CharterBase.d.ts +11 -0
  224. package/serialization/resources/charters/types/CharterBase.js +43 -0
  225. package/serialization/resources/charters/types/CharterChildrenGroup.d.ts +13 -0
  226. package/serialization/resources/charters/types/CharterChildrenGroup.js +45 -0
  227. package/serialization/resources/charters/types/CharterContent.d.ts +19 -0
  228. package/serialization/resources/charters/types/CharterContent.js +54 -0
  229. package/serialization/resources/charters/types/CharterKnowledgeBaseReference.d.ts +11 -0
  230. package/serialization/resources/charters/types/CharterKnowledgeBaseReference.js +44 -0
  231. package/serialization/resources/charters/types/CharterListChildrenRequest.d.ts +11 -0
  232. package/serialization/resources/charters/types/CharterListChildrenRequest.js +45 -0
  233. package/serialization/resources/charters/types/CharterListChildrenResponse.d.ts +11 -0
  234. package/serialization/resources/charters/types/CharterListChildrenResponse.js +45 -0
  235. package/serialization/resources/charters/types/CharterPatchReferences.d.ts +12 -0
  236. package/serialization/resources/charters/types/CharterPatchReferences.js +44 -0
  237. package/serialization/resources/charters/types/CharterReferences.d.ts +12 -0
  238. package/serialization/resources/charters/types/CharterReferences.js +44 -0
  239. package/serialization/resources/charters/types/CharterRequest.d.ts +13 -0
  240. package/serialization/resources/charters/types/CharterRequest.js +47 -0
  241. package/serialization/resources/charters/types/CharterResponse.d.ts +25 -0
  242. package/serialization/resources/charters/types/CharterResponse.js +60 -0
  243. package/serialization/resources/charters/types/CharterSearchField.d.ts +7 -0
  244. package/serialization/resources/charters/types/CharterSearchField.js +39 -0
  245. package/serialization/resources/charters/types/CharterSearchFilter.d.ts +11 -0
  246. package/serialization/resources/charters/types/CharterSearchFilter.js +43 -0
  247. package/serialization/resources/charters/types/CharterSearchRequest.d.ts +13 -0
  248. package/serialization/resources/charters/types/CharterSearchRequest.js +47 -0
  249. package/serialization/resources/charters/types/CharterSearchResponse.d.ts +11 -0
  250. package/serialization/resources/charters/types/CharterSearchResponse.js +45 -0
  251. package/serialization/resources/charters/types/CharterSummary.d.ts +2 -3
  252. package/serialization/resources/charters/types/CharterSummary.js +2 -2
  253. package/serialization/resources/charters/types/index.d.ts +15 -0
  254. package/serialization/resources/charters/types/index.js +15 -0
  255. package/serialization/resources/commons/types/MetadataComparisonCondition.d.ts +11 -0
  256. package/serialization/resources/commons/types/MetadataComparisonCondition.js +43 -0
  257. package/serialization/resources/commons/types/MetadataComparisonOperator.d.ts +7 -0
  258. package/serialization/resources/commons/types/MetadataComparisonOperator.js +39 -0
  259. package/serialization/resources/commons/types/MetadataCondition.d.ts +19 -0
  260. package/serialization/resources/commons/types/MetadataCondition.js +51 -0
  261. package/serialization/resources/commons/types/MetadataEntryCondition.d.ts +11 -0
  262. package/serialization/resources/commons/types/MetadataEntryCondition.js +43 -0
  263. package/serialization/resources/commons/types/MetadataFilter.d.ts +14 -0
  264. package/serialization/resources/commons/types/MetadataFilter.js +49 -0
  265. package/serialization/resources/commons/types/MetadataFilterGroup.d.ts +11 -0
  266. package/serialization/resources/commons/types/MetadataFilterGroup.js +44 -0
  267. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  268. package/serialization/resources/commons/types/SystemEventName.js +14 -1
  269. package/serialization/resources/commons/types/UserEventName.d.ts +1 -1
  270. package/serialization/resources/commons/types/UserEventName.js +28 -0
  271. package/serialization/resources/commons/types/UserMessage.d.ts +1 -0
  272. package/serialization/resources/commons/types/UserMessage.js +1 -0
  273. package/serialization/resources/commons/types/index.d.ts +6 -0
  274. package/serialization/resources/commons/types/index.js +6 -0
  275. package/serialization/resources/index.d.ts +1 -0
  276. package/serialization/resources/index.js +1 -0
  277. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +1 -0
  278. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +1 -0
  279. package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +2 -0
  280. package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +2 -0
  281. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +0 -2
  282. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +0 -2
  283. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +2 -0
  284. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +2 -0
  285. package/version.d.ts +1 -1
  286. package/version.js +1 -1
@@ -0,0 +1,41 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A predicate over a string-to-string metadata map: either a condition on the value
4
+ * under one key, or a group of predicates combined with a logical operator.
5
+ *
6
+ * Kept small on purpose: at most 3 levels of nesting and 10 nodes in total, counting
7
+ * groups as well as entries. A filter is meant to narrow a knowledge base to a
8
+ * recognisable slice, not to encode a query language. Exceeding either is a 400.
9
+ *
10
+ * @example
11
+ * {
12
+ * metadataFilterType: "group",
13
+ * operator: MavenAGI.PreconditionGroupOperator.Or,
14
+ * filters: [{
15
+ * metadataFilterType: "entry",
16
+ * key: "category",
17
+ * condition: {
18
+ * opType: "comparison",
19
+ * operator: MavenAGI.MetadataComparisonOperator.Eq,
20
+ * value: "billing"
21
+ * }
22
+ * }, {
23
+ * metadataFilterType: "entry",
24
+ * key: "locale",
25
+ * condition: {
26
+ * opType: "membership",
27
+ * operator: MavenAGI.StringMembershipOperator.In,
28
+ * values: ["en-US", "en-GB"]
29
+ * }
30
+ * }]
31
+ * }
32
+ */
33
+ export type MetadataFilter = MavenAGI.MetadataFilter.Entry | MavenAGI.MetadataFilter.Group;
34
+ export declare namespace MetadataFilter {
35
+ interface Entry extends MavenAGI.MetadataEntryCondition {
36
+ metadataFilterType: "entry";
37
+ }
38
+ interface Group extends MavenAGI.MetadataFilterGroup {
39
+ metadataFilterType: "group";
40
+ }
41
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Combines metadata filters with a logical operator. Groups nest, so `(a AND b) OR c`
4
+ * is a group whose filters are a group and an entry.
5
+ */
6
+ export interface MetadataFilterGroup {
7
+ /** How to combine `filters`. */
8
+ operator: MavenAGI.PreconditionGroupOperator;
9
+ /**
10
+ * The filters to combine. At least one is required -- a group with no filters constrains
11
+ * nothing, and omitting the filter altogether already means every document.
12
+ */
13
+ filters: MavenAGI.MetadataFilter[];
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,7 +8,10 @@ export interface NovelUserEvent extends MavenAGI.EventBaseNoId {
8
8
  userInfo: MavenAGI.EventUserInfoBase;
9
9
  /** Information about any CSAT associated with the event */
10
10
  csatInfo?: MavenAGI.CsatInfo;
11
- /** Information about any feedback associated with the event */
11
+ /**
12
+ * Any rating carried by the event. A `BUTTON_CLICKED` thumbs up or down sets a single entry
13
+ * with `thumbUp` true or false.
14
+ */
12
15
  feedbackInfo?: MavenAGI.FeedbackInfo[];
13
16
  /** Information about the page on which the event occurred */
14
17
  pageInfo?: MavenAGI.PageInfo;
@@ -16,9 +16,15 @@ export interface ResponseConfig {
16
16
  /** The desired response length. Defaults to ResponseLength.MEDIUM. */
17
17
  responseLength: MavenAGI.ResponseLength;
18
18
  /**
19
- * Filters that restrict the knowledge retrieval candidate pool.
20
- * - entities: specific entities to scope by
21
- * - entityTypes: entity types to scope by (e.g., AGENT, CUSTOMER)
19
+ * Widens the knowledge retrieval candidate pool to include documents scoped to the given
20
+ * entities, in addition to the agent's own knowledge.
21
+ *
22
+ * Knowledge documents are scoped by setting `relevantEntities` on the document. A document
23
+ * with no `relevantEntities` belongs to the agent and is always a retrieval candidate;
24
+ * naming entities here additionally makes documents scoped to those entities retrievable.
25
+ * Omitting this field restricts retrieval to the agent's own knowledge.
26
+ *
27
+ * Only the `byEntities` variant is supported today - see `byEntityTypes`.
22
28
  */
23
29
  contextFilter?: MavenAGI.KnowledgeContextFilter;
24
30
  }
@@ -1,12 +1,12 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface SimulationContext {
3
3
  /**
4
+ * Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters.
5
+ *
4
6
  * If provided, overrides the agent's default additional prompt text during the simulation.
5
- * Note that this field is provided for backwards compatibility and will be removed in a future release.
6
- * Instead please use the `availableKnowledgeBases` field to include a knowledge base with a document `llmInclusionStatus` set to `ALWAYS`.
7
7
  */
8
8
  additionalPromptText?: string;
9
- /** The persona to use during the simulation. If not provided, the agent's default persona will be used. */
9
+ /** Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters. */
10
10
  persona?: MavenAGI.LlmPersona;
11
11
  /** If provided, knowledge search will be restricted to the provided list of knowledge bases. Otherwise, all active knowledge bases will be used. An empty list means no knowledge bases will be used. */
12
12
  availableKnowledgeBases?: MavenAGI.EntityId[];
@@ -8,5 +8,32 @@ export declare const SystemEventName: {
8
8
  /**
9
9
  * An app was updated */
10
10
  readonly AppUpdated: "APP_UPDATED";
11
+ /**
12
+ * An outbound notification was sent to a user */
13
+ readonly NotificationSent: "NOTIFICATION_SENT";
14
+ /**
15
+ * An outbound notification reached the user */
16
+ readonly NotificationDelivered: "NOTIFICATION_DELIVERED";
17
+ /**
18
+ * An outbound notification could not be delivered */
19
+ readonly NotificationFailed: "NOTIFICATION_FAILED";
20
+ /**
21
+ * An external system was connected */
22
+ readonly IntegrationConnected: "INTEGRATION_CONNECTED";
23
+ /**
24
+ * An external system was disconnected */
25
+ readonly IntegrationDisconnected: "INTEGRATION_DISCONNECTED";
26
+ /**
27
+ * A data sync with an external system began */
28
+ readonly SyncStarted: "SYNC_STARTED";
29
+ /**
30
+ * A data sync with an external system finished */
31
+ readonly SyncCompleted: "SYNC_COMPLETED";
32
+ /**
33
+ * A data sync with an external system failed */
34
+ readonly SyncFailed: "SYNC_FAILED";
35
+ /**
36
+ * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries `fieldReferenceId`, `fieldAppId`, the new `value` and the `previousValue`, both as JSON strings. An undetermined value is the JSON string `null` on either key. `previousValue` is absent only when the field was set for the first time and had no previous value at all. */
37
+ readonly IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED";
11
38
  };
12
39
  export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName] | string;
@@ -12,4 +12,31 @@ exports.SystemEventName = {
12
12
  /**
13
13
  * An app was updated */
14
14
  AppUpdated: "APP_UPDATED",
15
+ /**
16
+ * An outbound notification was sent to a user */
17
+ NotificationSent: "NOTIFICATION_SENT",
18
+ /**
19
+ * An outbound notification reached the user */
20
+ NotificationDelivered: "NOTIFICATION_DELIVERED",
21
+ /**
22
+ * An outbound notification could not be delivered */
23
+ NotificationFailed: "NOTIFICATION_FAILED",
24
+ /**
25
+ * An external system was connected */
26
+ IntegrationConnected: "INTEGRATION_CONNECTED",
27
+ /**
28
+ * An external system was disconnected */
29
+ IntegrationDisconnected: "INTEGRATION_DISCONNECTED",
30
+ /**
31
+ * A data sync with an external system began */
32
+ SyncStarted: "SYNC_STARTED",
33
+ /**
34
+ * A data sync with an external system finished */
35
+ SyncCompleted: "SYNC_COMPLETED",
36
+ /**
37
+ * A data sync with an external system failed */
38
+ SyncFailed: "SYNC_FAILED",
39
+ /**
40
+ * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries `fieldReferenceId`, `fieldAppId`, the new `value` and the `previousValue`, both as JSON strings. An undetermined value is the JSON string `null` on either key. `previousValue` is absent only when the field was set for the first time and had no previous value at all. */
41
+ IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED",
15
42
  };
@@ -8,7 +8,10 @@ export interface UserEvent extends MavenAGI.EventBaseNoId {
8
8
  eventName: MavenAGI.UserEventName;
9
9
  /** Information about the user who triggered the event */
10
10
  userInfo: MavenAGI.EventUserInfo;
11
- /** Information about any feedback associated with the event */
11
+ /**
12
+ * Any rating carried by the event. A `BUTTON_CLICKED` thumbs up or down sets a single entry
13
+ * with `thumbUp` true or false.
14
+ */
12
15
  feedbackInfo?: MavenAGI.FeedbackInfo[];
13
16
  /** Information about any CSAT survey associated with the event */
14
17
  csatInfo?: MavenAGI.CsatInfo;
@@ -17,5 +17,89 @@ export declare const UserEventName: {
17
17
  /**
18
18
  * A CSAT rating was submitted */
19
19
  readonly CsatSubmitted: "CSAT_SUBMITTED";
20
+ /**
21
+ * A page or screen was viewed. Record which one in `pageInfo`. */
22
+ readonly PageViewed: "PAGE_VIEWED";
23
+ /**
24
+ * A suggested or popular question was clicked instead of being typed */
25
+ readonly SuggestionClicked: "SUGGESTION_CLICKED";
26
+ /**
27
+ * The user ended the conversation */
28
+ readonly ConversationEnded: "CONVERSATION_ENDED";
29
+ /**
30
+ * The user asked to be transferred to a human agent */
31
+ readonly HandoffRequested: "HANDOFF_REQUESTED";
32
+ /**
33
+ * The user opened a support ticket or case */
34
+ readonly TicketCreated: "TICKET_CREATED";
35
+ /**
36
+ * Text from a response was copied */
37
+ readonly TextCopied: "TEXT_COPIED";
38
+ /**
39
+ * Content was translated into another language */
40
+ readonly ContentTranslated: "CONTENT_TRANSLATED";
41
+ /**
42
+ * A search query was submitted */
43
+ readonly SearchSubmitted: "SEARCH_SUBMITTED";
44
+ /**
45
+ * A search result was opened */
46
+ readonly SearchResultClicked: "SEARCH_RESULT_CLICKED";
47
+ /**
48
+ * A help article or knowledge document was read */
49
+ readonly ArticleViewed: "ARTICLE_VIEWED";
50
+ /**
51
+ * The user uploaded a file or attachment */
52
+ readonly FileUploaded: "FILE_UPLOADED";
53
+ /**
54
+ * The user downloaded a file or attachment */
55
+ readonly FileDownloaded: "FILE_DOWNLOADED";
56
+ /**
57
+ * The user began filling out a form */
58
+ readonly FormStarted: "FORM_STARTED";
59
+ /**
60
+ * A form was submitted */
61
+ readonly FormSubmitted: "FORM_SUBMITTED";
62
+ /**
63
+ * The user left a form without submitting it */
64
+ readonly FormAbandoned: "FORM_ABANDONED";
65
+ /**
66
+ * The user entered a multi-step flow, such as onboarding or checkout */
67
+ readonly FlowStarted: "FLOW_STARTED";
68
+ /**
69
+ * The user finished one step of a multi-step flow */
70
+ readonly FlowStepCompleted: "FLOW_STEP_COMPLETED";
71
+ /**
72
+ * The user finished a multi-step flow */
73
+ readonly FlowCompleted: "FLOW_COMPLETED";
74
+ /**
75
+ * The user left a multi-step flow partway through. Pair with an `EVENT_CREATED` trigger to follow up on an onboarding or checkout that was never finished. Name the flow and the step it stopped on in `contextInfo.additionalData`. */
76
+ readonly FlowAbandoned: "FLOW_ABANDONED";
77
+ /**
78
+ * The user created an account */
79
+ readonly AccountCreated: "ACCOUNT_CREATED";
80
+ /**
81
+ * The user signed in */
82
+ readonly SignedIn: "SIGNED_IN";
83
+ /**
84
+ * The user signed out */
85
+ readonly SignedOut: "SIGNED_OUT";
86
+ /**
87
+ * The user started a subscription or plan */
88
+ readonly SubscriptionStarted: "SUBSCRIPTION_STARTED";
89
+ /**
90
+ * The user cancelled a subscription or plan */
91
+ readonly SubscriptionCancelled: "SUBSCRIPTION_CANCELLED";
92
+ /**
93
+ * The user placed an order */
94
+ readonly OrderPlaced: "ORDER_PLACED";
95
+ /**
96
+ * The user cancelled an order */
97
+ readonly OrderCancelled: "ORDER_CANCELLED";
98
+ /**
99
+ * A payment the user attempted did not go through */
100
+ readonly PaymentFailed: "PAYMENT_FAILED";
101
+ /**
102
+ * The user was shown an error */
103
+ readonly ErrorDisplayed: "ERROR_DISPLAYED";
20
104
  };
21
105
  export type UserEventName = (typeof UserEventName)[keyof typeof UserEventName] | string;
@@ -21,4 +21,88 @@ exports.UserEventName = {
21
21
  /**
22
22
  * A CSAT rating was submitted */
23
23
  CsatSubmitted: "CSAT_SUBMITTED",
24
+ /**
25
+ * A page or screen was viewed. Record which one in `pageInfo`. */
26
+ PageViewed: "PAGE_VIEWED",
27
+ /**
28
+ * A suggested or popular question was clicked instead of being typed */
29
+ SuggestionClicked: "SUGGESTION_CLICKED",
30
+ /**
31
+ * The user ended the conversation */
32
+ ConversationEnded: "CONVERSATION_ENDED",
33
+ /**
34
+ * The user asked to be transferred to a human agent */
35
+ HandoffRequested: "HANDOFF_REQUESTED",
36
+ /**
37
+ * The user opened a support ticket or case */
38
+ TicketCreated: "TICKET_CREATED",
39
+ /**
40
+ * Text from a response was copied */
41
+ TextCopied: "TEXT_COPIED",
42
+ /**
43
+ * Content was translated into another language */
44
+ ContentTranslated: "CONTENT_TRANSLATED",
45
+ /**
46
+ * A search query was submitted */
47
+ SearchSubmitted: "SEARCH_SUBMITTED",
48
+ /**
49
+ * A search result was opened */
50
+ SearchResultClicked: "SEARCH_RESULT_CLICKED",
51
+ /**
52
+ * A help article or knowledge document was read */
53
+ ArticleViewed: "ARTICLE_VIEWED",
54
+ /**
55
+ * The user uploaded a file or attachment */
56
+ FileUploaded: "FILE_UPLOADED",
57
+ /**
58
+ * The user downloaded a file or attachment */
59
+ FileDownloaded: "FILE_DOWNLOADED",
60
+ /**
61
+ * The user began filling out a form */
62
+ FormStarted: "FORM_STARTED",
63
+ /**
64
+ * A form was submitted */
65
+ FormSubmitted: "FORM_SUBMITTED",
66
+ /**
67
+ * The user left a form without submitting it */
68
+ FormAbandoned: "FORM_ABANDONED",
69
+ /**
70
+ * The user entered a multi-step flow, such as onboarding or checkout */
71
+ FlowStarted: "FLOW_STARTED",
72
+ /**
73
+ * The user finished one step of a multi-step flow */
74
+ FlowStepCompleted: "FLOW_STEP_COMPLETED",
75
+ /**
76
+ * The user finished a multi-step flow */
77
+ FlowCompleted: "FLOW_COMPLETED",
78
+ /**
79
+ * The user left a multi-step flow partway through. Pair with an `EVENT_CREATED` trigger to follow up on an onboarding or checkout that was never finished. Name the flow and the step it stopped on in `contextInfo.additionalData`. */
80
+ FlowAbandoned: "FLOW_ABANDONED",
81
+ /**
82
+ * The user created an account */
83
+ AccountCreated: "ACCOUNT_CREATED",
84
+ /**
85
+ * The user signed in */
86
+ SignedIn: "SIGNED_IN",
87
+ /**
88
+ * The user signed out */
89
+ SignedOut: "SIGNED_OUT",
90
+ /**
91
+ * The user started a subscription or plan */
92
+ SubscriptionStarted: "SUBSCRIPTION_STARTED",
93
+ /**
94
+ * The user cancelled a subscription or plan */
95
+ SubscriptionCancelled: "SUBSCRIPTION_CANCELLED",
96
+ /**
97
+ * The user placed an order */
98
+ OrderPlaced: "ORDER_PLACED",
99
+ /**
100
+ * The user cancelled an order */
101
+ OrderCancelled: "ORDER_CANCELLED",
102
+ /**
103
+ * A payment the user attempted did not go through */
104
+ PaymentFailed: "PAYMENT_FAILED",
105
+ /**
106
+ * The user was shown an error */
107
+ ErrorDisplayed: "ERROR_DISPLAYED",
24
108
  };
@@ -28,4 +28,11 @@ export interface UserMessage extends MavenAGI.UserMessageBase {
28
28
  * - `LLM_DISABLED`: An answer was requested for this user message and the LLM was disabled.
29
29
  */
30
30
  responseState?: MavenAGI.UserMessageResponseState;
31
+ /**
32
+ * The timezone supplied with the creating request and used for the message's time-based
33
+ * operations, normally an IANA identifier (e.g. "America/New_York", "Europe/London").
34
+ * Absent when the request did not supply one, in which case the agent's default timezone
35
+ * applied.
36
+ */
37
+ timezone?: string;
31
38
  }
@@ -134,6 +134,12 @@ export * from "./LanguageInfo";
134
134
  export * from "./LlmInclusionStatus";
135
135
  export * from "./LlmPersona";
136
136
  export * from "./MessageStatus";
137
+ export * from "./MetadataComparisonCondition";
138
+ export * from "./MetadataComparisonOperator";
139
+ export * from "./MetadataCondition";
140
+ export * from "./MetadataEntryCondition";
141
+ export * from "./MetadataFilter";
142
+ export * from "./MetadataFilterGroup";
137
143
  export * from "./MetadataPrecondition";
138
144
  export * from "./MultilineSettingsSchemaEntry";
139
145
  export * from "./NovelSystemEvent";
@@ -150,6 +150,12 @@ __exportStar(require("./LanguageInfo"), exports);
150
150
  __exportStar(require("./LlmInclusionStatus"), exports);
151
151
  __exportStar(require("./LlmPersona"), exports);
152
152
  __exportStar(require("./MessageStatus"), exports);
153
+ __exportStar(require("./MetadataComparisonCondition"), exports);
154
+ __exportStar(require("./MetadataComparisonOperator"), exports);
155
+ __exportStar(require("./MetadataCondition"), exports);
156
+ __exportStar(require("./MetadataEntryCondition"), exports);
157
+ __exportStar(require("./MetadataFilter"), exports);
158
+ __exportStar(require("./MetadataFilterGroup"), exports);
153
159
  __exportStar(require("./MetadataPrecondition"), exports);
154
160
  __exportStar(require("./MultilineSettingsSchemaEntry"), exports);
155
161
  __exportStar(require("./NovelSystemEvent"), exports);
@@ -28,6 +28,8 @@ export declare class ConversationClient {
28
28
  * @throws {@link MavenAGI.PayloadTooLargeError}
29
29
  * @throws {@link MavenAGI.TooManyRequestsError}
30
30
  * @throws {@link MavenAGI.ServerError}
31
+ * @throws {@link errors.MavenAGIError}
32
+ * @throws {@link errors.MavenAGITimeoutError}
31
33
  *
32
34
  * @example
33
35
  * await client.conversation.initialize({
@@ -72,6 +74,8 @@ export declare class ConversationClient {
72
74
  * @throws {@link MavenAGI.PayloadTooLargeError}
73
75
  * @throws {@link MavenAGI.TooManyRequestsError}
74
76
  * @throws {@link MavenAGI.ServerError}
77
+ * @throws {@link errors.MavenAGIError}
78
+ * @throws {@link errors.MavenAGITimeoutError}
75
79
  *
76
80
  * @example
77
81
  * await client.conversation.patch("conversation-0", {
@@ -92,6 +96,8 @@ export declare class ConversationClient {
92
96
  * @throws {@link MavenAGI.PayloadTooLargeError}
93
97
  * @throws {@link MavenAGI.TooManyRequestsError}
94
98
  * @throws {@link MavenAGI.ServerError}
99
+ * @throws {@link errors.MavenAGIError}
100
+ * @throws {@link errors.MavenAGITimeoutError}
95
101
  *
96
102
  * @example
97
103
  * await client.conversation.get("conversationId")
@@ -119,6 +125,8 @@ export declare class ConversationClient {
119
125
  * @throws {@link MavenAGI.PayloadTooLargeError}
120
126
  * @throws {@link MavenAGI.TooManyRequestsError}
121
127
  * @throws {@link MavenAGI.ServerError}
128
+ * @throws {@link errors.MavenAGIError}
129
+ * @throws {@link errors.MavenAGITimeoutError}
122
130
  *
123
131
  * @example
124
132
  * await client.conversation.delete("conversation-0", {
@@ -139,6 +147,8 @@ export declare class ConversationClient {
139
147
  * @throws {@link MavenAGI.PayloadTooLargeError}
140
148
  * @throws {@link MavenAGI.TooManyRequestsError}
141
149
  * @throws {@link MavenAGI.ServerError}
150
+ * @throws {@link errors.MavenAGIError}
151
+ * @throws {@link errors.MavenAGITimeoutError}
142
152
  *
143
153
  * @example
144
154
  * await client.conversation.appendNewMessages("conversationId", [{
@@ -183,6 +193,8 @@ export declare class ConversationClient {
183
193
  * @throws {@link MavenAGI.PayloadTooLargeError}
184
194
  * @throws {@link MavenAGI.TooManyRequestsError}
185
195
  * @throws {@link MavenAGI.ServerError}
196
+ * @throws {@link errors.MavenAGIError}
197
+ * @throws {@link errors.MavenAGITimeoutError}
186
198
  *
187
199
  * @example
188
200
  * await client.conversation.ask("conversation-0", {
@@ -236,6 +248,8 @@ export declare class ConversationClient {
236
248
  * @throws {@link MavenAGI.PayloadTooLargeError}
237
249
  * @throws {@link MavenAGI.TooManyRequestsError}
238
250
  * @throws {@link MavenAGI.ServerError}
251
+ * @throws {@link errors.MavenAGIError}
252
+ * @throws {@link errors.MavenAGITimeoutError}
239
253
  *
240
254
  * @example
241
255
  * await client.conversation.categorize("conversationId")
@@ -245,7 +259,9 @@ export declare class ConversationClient {
245
259
  /**
246
260
  * @deprecated
247
261
  *
248
- * Replaced by the Create events API, which records feedback as a user event.
262
+ * Deprecated. Use the Create events API instead, which records feedback as a user event:
263
+ * emit a `USER` event with an `eventName` of `BUTTON_CLICKED` for thumbs up/down or
264
+ * `TEXT_INSERTED` for inserts.
249
265
  *
250
266
  * Update feedback or create it if it doesn't exist.
251
267
  *
@@ -257,6 +273,8 @@ export declare class ConversationClient {
257
273
  * @throws {@link MavenAGI.PayloadTooLargeError}
258
274
  * @throws {@link MavenAGI.TooManyRequestsError}
259
275
  * @throws {@link MavenAGI.ServerError}
276
+ * @throws {@link errors.MavenAGIError}
277
+ * @throws {@link errors.MavenAGITimeoutError}
260
278
  *
261
279
  * @example
262
280
  * await client.conversation.createFeedback({
@@ -294,6 +312,8 @@ export declare class ConversationClient {
294
312
  * @throws {@link MavenAGI.PayloadTooLargeError}
295
313
  * @throws {@link MavenAGI.TooManyRequestsError}
296
314
  * @throws {@link MavenAGI.ServerError}
315
+ * @throws {@link errors.MavenAGIError}
316
+ * @throws {@link errors.MavenAGITimeoutError}
297
317
  *
298
318
  * @example
299
319
  * await client.conversation.submitActionForm("conversationId", {
@@ -323,6 +343,8 @@ export declare class ConversationClient {
323
343
  * @throws {@link MavenAGI.PayloadTooLargeError}
324
344
  * @throws {@link MavenAGI.TooManyRequestsError}
325
345
  * @throws {@link MavenAGI.ServerError}
346
+ * @throws {@link errors.MavenAGIError}
347
+ * @throws {@link errors.MavenAGITimeoutError}
326
348
  *
327
349
  * @example
328
350
  * await client.conversation.addConversationMetadata("conversationId", {
@@ -349,6 +371,8 @@ export declare class ConversationClient {
349
371
  * @throws {@link MavenAGI.PayloadTooLargeError}
350
372
  * @throws {@link MavenAGI.TooManyRequestsError}
351
373
  * @throws {@link MavenAGI.ServerError}
374
+ * @throws {@link errors.MavenAGIError}
375
+ * @throws {@link errors.MavenAGITimeoutError}
352
376
  *
353
377
  * @example
354
378
  * await client.conversation.updateConversationMetadata("conversation-0", {
@@ -371,6 +395,8 @@ export declare class ConversationClient {
371
395
  * @throws {@link MavenAGI.PayloadTooLargeError}
372
396
  * @throws {@link MavenAGI.TooManyRequestsError}
373
397
  * @throws {@link MavenAGI.ServerError}
398
+ * @throws {@link errors.MavenAGIError}
399
+ * @throws {@link errors.MavenAGITimeoutError}
374
400
  *
375
401
  * @example
376
402
  * await client.conversation.search({})
@@ -398,6 +424,8 @@ export declare class ConversationClient {
398
424
  * @throws {@link MavenAGI.PayloadTooLargeError}
399
425
  * @throws {@link MavenAGI.TooManyRequestsError}
400
426
  * @throws {@link MavenAGI.ServerError}
427
+ * @throws {@link errors.MavenAGIError}
428
+ * @throws {@link errors.MavenAGITimeoutError}
401
429
  *
402
430
  * @example
403
431
  * await client.conversation.searchCursor({})
@@ -417,6 +445,8 @@ export declare class ConversationClient {
417
445
  * @throws {@link MavenAGI.PayloadTooLargeError}
418
446
  * @throws {@link MavenAGI.TooManyRequestsError}
419
447
  * @throws {@link MavenAGI.ServerError}
448
+ * @throws {@link errors.MavenAGIError}
449
+ * @throws {@link errors.MavenAGITimeoutError}
420
450
  */
421
451
  export(request: MavenAGI.ConversationsSearchRequest, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
422
452
  private __export;
@@ -438,6 +468,8 @@ export declare class ConversationClient {
438
468
  * @throws {@link MavenAGI.PayloadTooLargeError}
439
469
  * @throws {@link MavenAGI.TooManyRequestsError}
440
470
  * @throws {@link MavenAGI.ServerError}
471
+ * @throws {@link errors.MavenAGIError}
472
+ * @throws {@link errors.MavenAGITimeoutError}
441
473
  */
442
474
  importSimulations(file: core.file.Uploadable, request: MavenAGI.SimulationImportRequest, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<void>;
443
475
  private __importSimulations;
@@ -459,6 +491,8 @@ export declare class ConversationClient {
459
491
  * @throws {@link MavenAGI.PayloadTooLargeError}
460
492
  * @throws {@link MavenAGI.TooManyRequestsError}
461
493
  * @throws {@link MavenAGI.ServerError}
494
+ * @throws {@link errors.MavenAGIError}
495
+ * @throws {@link errors.MavenAGITimeoutError}
462
496
  *
463
497
  * @example
464
498
  * await client.conversation.deliverMessage({