mavenagi 1.2.64 → 1.2.65

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 (241) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/actions/client/Client.js +3 -3
  3. package/api/resources/agents/client/Client.js +5 -5
  4. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +10 -2
  5. package/api/resources/agents/types/Agent.d.ts +3 -1
  6. package/api/resources/agents/types/AgentPrompting.d.ts +12 -2
  7. package/api/resources/appDirectory/client/Client.js +5 -5
  8. package/api/resources/assets/client/Client.js +1 -1
  9. package/api/resources/capabilities/client/Client.d.ts +33 -0
  10. package/api/resources/capabilities/client/Client.js +126 -3
  11. package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.d.ts +14 -0
  12. package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.js +3 -0
  13. package/api/resources/capabilities/client/requests/index.d.ts +1 -0
  14. package/api/resources/capabilities/types/ActionSimulationInput.d.ts +5 -0
  15. package/api/resources/capabilities/types/ActionSimulationInput.js +3 -0
  16. package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
  17. package/api/resources/capabilities/types/CapabilitySimulationInput.js +3 -0
  18. package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +10 -0
  19. package/api/resources/capabilities/types/CapabilitySimulationResult.js +3 -0
  20. package/api/resources/capabilities/types/ConversationContextSimulationInput.d.ts +14 -0
  21. package/api/resources/capabilities/types/ConversationContextSimulationInput.js +3 -0
  22. package/api/resources/capabilities/types/SimulatedUser.d.ts +9 -0
  23. package/api/resources/capabilities/types/SimulatedUser.js +3 -0
  24. package/api/resources/capabilities/types/SimulatedUserData.d.ts +6 -0
  25. package/api/resources/capabilities/types/SimulatedUserData.js +3 -0
  26. package/api/resources/capabilities/types/index.d.ts +6 -0
  27. package/api/resources/capabilities/types/index.js +6 -0
  28. package/api/resources/charters/client/Client.js +4 -4
  29. package/api/resources/charters/types/CharterBase.d.ts +5 -1
  30. package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +2 -0
  31. package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +2 -0
  32. package/api/resources/charters/types/CharterContent.d.ts +2 -0
  33. package/api/resources/charters/types/CharterPatchReferences.d.ts +2 -0
  34. package/api/resources/charters/types/CharterReferences.d.ts +2 -0
  35. package/api/resources/charters/types/CharterResponse.d.ts +5 -1
  36. package/api/resources/charters/types/CharterStatus.d.ts +4 -0
  37. package/api/resources/charters/types/CharterStatus.js +4 -0
  38. package/api/resources/charters/types/CharterSummary.d.ts +5 -1
  39. package/api/resources/charters/types/index.d.ts +0 -1
  40. package/api/resources/charters/types/index.js +0 -1
  41. package/api/resources/commons/types/ActionExecutionStatus.d.ts +6 -0
  42. package/api/resources/commons/types/ActionExecutionStatus.js +9 -0
  43. package/api/resources/commons/types/ActionProperties.d.ts +1 -1
  44. package/api/resources/commons/types/AdditionalDataKey.d.ts +3 -0
  45. package/api/resources/commons/types/AdditionalDataKey.js +3 -0
  46. package/api/resources/commons/types/AppUserRequest.d.ts +11 -0
  47. package/api/resources/commons/types/BotLogicCharterDetail.d.ts +2 -0
  48. package/api/resources/commons/types/BotMessage.d.ts +5 -0
  49. package/api/resources/commons/types/BotMessageStatusReason.d.ts +13 -0
  50. package/api/resources/commons/types/BotMessageStatusReason.js +16 -0
  51. package/api/resources/commons/types/Capability.d.ts +4 -0
  52. package/api/resources/commons/types/Capability.js +4 -0
  53. package/api/resources/commons/types/CapabilityStatus.d.ts +2 -2
  54. package/api/resources/commons/types/CapabilityStatus.js +2 -2
  55. package/api/resources/commons/types/ConversationAnalysis.d.ts +1 -1
  56. package/api/resources/commons/types/ConversationMetadataValueSource.d.ts +7 -0
  57. package/api/resources/commons/types/ConversationMetadataValueSource.js +3 -0
  58. package/api/resources/commons/types/ConversationSummary.d.ts +5 -3
  59. package/api/resources/commons/types/ConversationValueSource.d.ts +10 -0
  60. package/api/resources/commons/types/ConversationValueSource.js +3 -0
  61. package/api/resources/commons/types/EntityType.d.ts +5 -0
  62. package/api/resources/commons/types/EntityType.js +5 -0
  63. package/api/resources/commons/types/ErrorReason.d.ts +4 -1
  64. package/api/resources/commons/types/ErrorReason.js +4 -1
  65. package/api/resources/commons/types/EventFilter.d.ts +1 -0
  66. package/api/resources/commons/types/ExecuteActionResponse.d.ts +14 -0
  67. package/api/resources/commons/types/ExecuteActionResponse.js +3 -0
  68. package/api/resources/commons/types/ExecutionMode.d.ts +10 -0
  69. package/api/resources/commons/types/ExecutionMode.js +13 -0
  70. package/api/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
  71. package/api/resources/commons/types/FunctionVersionBinding.js +3 -0
  72. package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
  73. package/api/resources/commons/types/InboxItemStatus.d.ts +1 -1
  74. package/api/resources/commons/types/InboxItemStatus.js +1 -1
  75. package/api/resources/commons/types/LlmInclusionStatus.d.ts +3 -0
  76. package/api/resources/commons/types/LlmInclusionStatus.js +3 -0
  77. package/api/resources/commons/types/MetadataConversationValueFilter.d.ts +15 -0
  78. package/api/resources/commons/types/MetadataConversationValueFilter.js +3 -0
  79. package/api/resources/commons/types/MetadataFilter.d.ts +33 -6
  80. package/api/resources/commons/types/Quality.d.ts +2 -0
  81. package/api/resources/commons/types/Quality.js +2 -0
  82. package/api/resources/commons/types/QualityReason.d.ts +4 -0
  83. package/api/resources/commons/types/QualityReason.js +4 -0
  84. package/api/resources/commons/types/RelationshipType.d.ts +2 -2
  85. package/api/resources/commons/types/RelationshipType.js +2 -2
  86. package/api/resources/commons/types/ResolutionStatus.d.ts +2 -0
  87. package/api/resources/commons/types/ResolutionStatus.js +2 -0
  88. package/api/resources/commons/types/ResponseConfig.d.ts +2 -0
  89. package/api/resources/commons/types/SimulationActionBehavior.d.ts +18 -0
  90. package/api/resources/commons/types/SimulationActionBehavior.js +3 -0
  91. package/api/resources/commons/types/SimulationActionCallApp.d.ts +1 -0
  92. package/api/resources/commons/types/SimulationActionCallApp.js +3 -0
  93. package/api/resources/commons/types/SimulationActionMock.d.ts +6 -0
  94. package/api/resources/commons/types/SimulationActionMock.js +3 -0
  95. package/api/resources/commons/types/SimulationContext.d.ts +19 -0
  96. package/api/resources/commons/types/SystemEventName.d.ts +5 -2
  97. package/api/resources/commons/types/SystemEventName.js +5 -2
  98. package/api/resources/commons/types/UserEvent.d.ts +1 -1
  99. package/api/resources/commons/types/UserEventName.d.ts +1 -1
  100. package/api/resources/commons/types/UserEventName.js +1 -1
  101. package/api/resources/commons/types/index.d.ts +12 -0
  102. package/api/resources/commons/types/index.js +12 -0
  103. package/api/resources/conversation/client/Client.d.ts +11 -7
  104. package/api/resources/conversation/client/Client.js +21 -17
  105. package/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +1 -1
  106. package/api/resources/conversation/types/BillableFilterField.d.ts +3 -3
  107. package/api/resources/conversation/types/BillableFilterField.js +3 -3
  108. package/api/resources/conversation/types/ConversationField.d.ts +8 -0
  109. package/api/resources/conversation/types/ConversationField.js +8 -0
  110. package/api/resources/conversation/types/ConversationFilter.d.ts +7 -1
  111. package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
  112. package/api/resources/customers/client/Client.js +2 -2
  113. package/api/resources/customers/types/CustomerFilter.d.ts +2 -0
  114. package/api/resources/customers/types/CustomerResponse.d.ts +2 -2
  115. package/api/resources/events/client/Client.js +1 -1
  116. package/api/resources/inbox/client/Client.js +6 -6
  117. package/api/resources/integrations/client/Client.js +1 -1
  118. package/api/resources/intelligentFields/client/Client.d.ts +3 -2
  119. package/api/resources/intelligentFields/client/Client.js +6 -5
  120. package/api/resources/intelligentFields/types/EnumOption.d.ts +1 -1
  121. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
  122. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +5 -1
  123. package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +1 -1
  124. package/api/resources/intelligentFields/types/IntelligentFieldType.js +1 -1
  125. package/api/resources/knowledge/client/Client.js +13 -13
  126. package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.d.ts +1 -1
  127. package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.js +1 -1
  128. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -1
  129. package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
  130. package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
  131. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
  132. package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +4 -0
  133. package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +4 -0
  134. package/api/resources/organizations/client/Client.js +4 -4
  135. package/api/resources/segments/client/Client.d.ts +1 -1
  136. package/api/resources/segments/client/Client.js +4 -4
  137. package/api/resources/segments/types/SegmentStatus.d.ts +4 -0
  138. package/api/resources/segments/types/SegmentStatus.js +4 -0
  139. package/api/resources/triggers/client/Client.js +3 -3
  140. package/api/resources/triggers/types/EventTriggerBase.d.ts +2 -0
  141. package/api/resources/users/client/Client.d.ts +42 -1
  142. package/api/resources/users/client/Client.js +116 -4
  143. package/api/resources/users/types/AgentUser.d.ts +3 -0
  144. package/api/resources/users/types/AgentUserFilter.d.ts +4 -0
  145. package/api/resources/voiceConversations/client/Client.d.ts +1 -1
  146. package/api/resources/voiceConversations/client/Socket.d.ts +2 -2
  147. package/api/resources/voiceConversations/client/Socket.js +16 -17
  148. package/core/fetcher/Fetcher.js +33 -3
  149. package/core/fetcher/getErrorResponseBody.js +20 -7
  150. package/core/fetcher/getResponseBody.d.ts +16 -0
  151. package/core/fetcher/getResponseBody.js +27 -22
  152. package/core/fetcher/makePassthroughRequest.js +20 -4
  153. package/core/fetcher/makeRequest.d.ts +6 -1
  154. package/core/fetcher/makeRequest.js +38 -5
  155. package/core/fetcher/requestWithRetries.d.ts +1 -1
  156. package/core/fetcher/requestWithRetries.js +23 -2
  157. package/core/fetcher/signals.d.ts +1 -0
  158. package/core/fetcher/signals.js +3 -2
  159. package/core/stream/Stream.d.ts +3 -0
  160. package/core/stream/Stream.js +5 -0
  161. package/core/url/encodePathParam.d.ts +3 -1
  162. package/core/url/encodePathParam.js +8 -2
  163. package/core/websocket/ws.d.ts +16 -2
  164. package/core/websocket/ws.js +110 -20
  165. package/errors/MavenAGIError.js +16 -2
  166. package/package.json +1 -1
  167. package/reference.md +188 -11
  168. package/serialization/resources/capabilities/types/ActionSimulationInput.d.ts +10 -0
  169. package/serialization/resources/capabilities/types/ActionSimulationInput.js +44 -0
  170. package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
  171. package/serialization/resources/capabilities/types/CapabilitySimulationInput.js +47 -0
  172. package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +11 -0
  173. package/serialization/resources/capabilities/types/CapabilitySimulationResult.js +47 -0
  174. package/serialization/resources/capabilities/types/ConversationContextSimulationInput.d.ts +12 -0
  175. package/serialization/resources/capabilities/types/ConversationContextSimulationInput.js +46 -0
  176. package/serialization/resources/capabilities/types/SimulatedUser.d.ts +10 -0
  177. package/serialization/resources/capabilities/types/SimulatedUser.js +44 -0
  178. package/serialization/resources/capabilities/types/SimulatedUserData.d.ts +10 -0
  179. package/serialization/resources/capabilities/types/SimulatedUserData.js +42 -0
  180. package/serialization/resources/capabilities/types/index.d.ts +6 -0
  181. package/serialization/resources/capabilities/types/index.js +6 -0
  182. package/serialization/resources/charters/types/CharterContent.d.ts +1 -1
  183. package/serialization/resources/charters/types/CharterContent.js +1 -1
  184. package/serialization/resources/charters/types/CharterResponse.d.ts +1 -1
  185. package/serialization/resources/charters/types/CharterResponse.js +1 -1
  186. package/serialization/resources/charters/types/CharterSummary.d.ts +1 -1
  187. package/serialization/resources/charters/types/CharterSummary.js +1 -1
  188. package/serialization/resources/charters/types/index.d.ts +0 -1
  189. package/serialization/resources/charters/types/index.js +0 -1
  190. package/serialization/resources/commons/types/ActionExecutionStatus.d.ts +7 -0
  191. package/serialization/resources/commons/types/ActionExecutionStatus.js +39 -0
  192. package/serialization/resources/commons/types/AdditionalDataKey.d.ts +1 -1
  193. package/serialization/resources/commons/types/AdditionalDataKey.js +1 -0
  194. package/serialization/resources/commons/types/AppUserRequest.d.ts +2 -0
  195. package/serialization/resources/commons/types/AppUserRequest.js +2 -0
  196. package/serialization/resources/commons/types/BotLogicCharterDetail.d.ts +2 -0
  197. package/serialization/resources/commons/types/BotLogicCharterDetail.js +2 -0
  198. package/serialization/resources/commons/types/BotMessage.d.ts +2 -0
  199. package/serialization/resources/commons/types/BotMessage.js +2 -0
  200. package/serialization/resources/commons/types/BotMessageStatusReason.d.ts +7 -0
  201. package/serialization/resources/commons/types/BotMessageStatusReason.js +43 -0
  202. package/serialization/resources/commons/types/ConversationMetadataValueSource.d.ts +9 -0
  203. package/serialization/resources/commons/types/ConversationMetadataValueSource.js +41 -0
  204. package/serialization/resources/commons/types/ConversationValueSource.d.ts +11 -0
  205. package/serialization/resources/commons/types/ConversationValueSource.js +47 -0
  206. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  207. package/serialization/resources/commons/types/EntityType.js +5 -0
  208. package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
  209. package/serialization/resources/commons/types/ErrorReason.js +1 -0
  210. package/serialization/resources/commons/types/ExecuteActionResponse.d.ts +13 -0
  211. package/serialization/resources/commons/types/ExecuteActionResponse.js +45 -0
  212. package/serialization/resources/commons/types/ExecutionMode.d.ts +7 -0
  213. package/serialization/resources/commons/types/ExecutionMode.js +39 -0
  214. package/serialization/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
  215. package/serialization/resources/commons/types/FunctionVersionBinding.js +43 -0
  216. package/serialization/resources/commons/types/MetadataConversationValueFilter.d.ts +11 -0
  217. package/serialization/resources/commons/types/MetadataConversationValueFilter.js +43 -0
  218. package/serialization/resources/commons/types/MetadataFilter.d.ts +5 -1
  219. package/serialization/resources/commons/types/MetadataFilter.js +2 -0
  220. package/serialization/resources/commons/types/SimulationActionBehavior.d.ts +15 -0
  221. package/serialization/resources/commons/types/SimulationActionBehavior.js +49 -0
  222. package/serialization/resources/commons/types/SimulationActionCallApp.d.ts +7 -0
  223. package/serialization/resources/commons/types/SimulationActionCallApp.js +39 -0
  224. package/serialization/resources/commons/types/SimulationActionMock.d.ts +12 -0
  225. package/serialization/resources/commons/types/SimulationActionMock.js +44 -0
  226. package/serialization/resources/commons/types/SimulationContext.d.ts +4 -0
  227. package/serialization/resources/commons/types/SimulationContext.js +4 -0
  228. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  229. package/serialization/resources/commons/types/SystemEventName.js +1 -0
  230. package/serialization/resources/commons/types/index.d.ts +12 -0
  231. package/serialization/resources/commons/types/index.js +12 -0
  232. package/serialization/resources/users/types/AgentUser.d.ts +2 -0
  233. package/serialization/resources/users/types/AgentUser.js +2 -0
  234. package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -0
  235. package/serialization/resources/users/types/AgentUserFilter.js +2 -0
  236. package/version.d.ts +1 -1
  237. package/version.js +1 -1
  238. /package/api/resources/{charters → commons}/types/CharterType.d.ts +0 -0
  239. /package/api/resources/{charters → commons}/types/CharterType.js +0 -0
  240. /package/serialization/resources/{charters → commons}/types/CharterType.d.ts +0 -0
  241. /package/serialization/resources/{charters → commons}/types/CharterType.js +0 -0
@@ -0,0 +1,15 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Matches documents whose value under `key` equals a value read from the conversation
4
+ * being answered, so one filter follows each conversation instead of naming a fixed value.
5
+ *
6
+ * When the conversation has no value at `source`, nothing matches. To also keep documents
7
+ * that apply everywhere, combine this with an entry in an `OR` group, for example
8
+ * `state = All`.
9
+ */
10
+ export interface MetadataConversationValueFilter {
11
+ /** The document metadata key to test, as in `MetadataEntryCondition`. */
12
+ key: string;
13
+ /** Where on the conversation to read the value that documents must equal. */
14
+ source: MavenAGI.ConversationValueSource;
15
+ }
@@ -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 });
@@ -1,11 +1,35 @@
1
1
  import type * as MavenAGI from "../../../index";
2
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.
3
+ * A predicate over a string-to-string metadata map: a condition on the value under one
4
+ * key, a match against a value read from the conversation, or a group of predicates
5
+ * combined with a logical operator.
5
6
  *
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.
7
+ * Kept small on purpose: by default at most 3 levels of nesting and 10 nodes in total,
8
+ * counting every group, entry and conversation value. A filter is meant to narrow a
9
+ * knowledge base to a recognisable slice, not to encode a query language. Exceeding
10
+ * either is a 400.
11
+ *
12
+ * @example
13
+ * {
14
+ * metadataFilterType: "group",
15
+ * operator: MavenAGI.PreconditionGroupOperator.Or,
16
+ * filters: [{
17
+ * metadataFilterType: "conversationValue",
18
+ * key: "state",
19
+ * source: {
20
+ * type: "conversationMetadata",
21
+ * key: "case_state"
22
+ * }
23
+ * }, {
24
+ * metadataFilterType: "entry",
25
+ * key: "state",
26
+ * condition: {
27
+ * opType: "comparison",
28
+ * operator: MavenAGI.MetadataComparisonOperator.Eq,
29
+ * value: "All"
30
+ * }
31
+ * }]
32
+ * }
9
33
  *
10
34
  * @example
11
35
  * {
@@ -30,11 +54,14 @@ import type * as MavenAGI from "../../../index";
30
54
  * }]
31
55
  * }
32
56
  */
33
- export type MetadataFilter = MavenAGI.MetadataFilter.Entry | MavenAGI.MetadataFilter.Group;
57
+ export type MetadataFilter = MavenAGI.MetadataFilter.Entry | MavenAGI.MetadataFilter.ConversationValue | MavenAGI.MetadataFilter.Group;
34
58
  export declare namespace MetadataFilter {
35
59
  interface Entry extends MavenAGI.MetadataEntryCondition {
36
60
  metadataFilterType: "entry";
37
61
  }
62
+ interface ConversationValue extends MavenAGI.MetadataConversationValueFilter {
63
+ metadataFilterType: "conversationValue";
64
+ }
38
65
  interface Group extends MavenAGI.MetadataFilterGroup {
39
66
  metadataFilterType: "group";
40
67
  }
@@ -1,6 +1,8 @@
1
1
  export declare const Quality: {
2
2
  readonly Good: "GOOD";
3
3
  readonly NeedsImprovement: "NEEDS_IMPROVEMENT";
4
+ /**
5
+ * Shown in Agent Designer as "Ineligible". */
4
6
  readonly Unknown: "UNKNOWN";
5
7
  };
6
8
  export type Quality = (typeof Quality)[keyof typeof Quality] | string;
@@ -5,5 +5,7 @@ exports.Quality = void 0;
5
5
  exports.Quality = {
6
6
  Good: "GOOD",
7
7
  NeedsImprovement: "NEEDS_IMPROVEMENT",
8
+ /**
9
+ * Shown in Agent Designer as "Ineligible". */
8
10
  Unknown: "UNKNOWN",
9
11
  };
@@ -1,5 +1,7 @@
1
1
  export declare const QualityReason: {
2
2
  readonly MissingKnowledge: "MISSING_KNOWLEDGE";
3
+ /**
4
+ * Shown in Agent Designer as "Missing user data". */
3
5
  readonly MissingUserInformation: "MISSING_USER_INFORMATION";
4
6
  readonly MissingAction: "MISSING_ACTION";
5
7
  readonly NeedsUserClarification: "NEEDS_USER_CLARIFICATION";
@@ -7,6 +9,8 @@ export declare const QualityReason: {
7
9
  readonly Interrupted: "INTERRUPTED";
8
10
  readonly UnsupportedUserBehavior: "UNSUPPORTED_USER_BEHAVIOR";
9
11
  readonly Unknown: "UNKNOWN";
12
+ /**
13
+ * Maven did not reply in the conversation. Shown in Agent Designer as "No generated responses". */
10
14
  readonly NoBotReplies: "NO_BOT_REPLIES";
11
15
  };
12
16
  export type QualityReason = (typeof QualityReason)[keyof typeof QualityReason] | string;
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.QualityReason = void 0;
5
5
  exports.QualityReason = {
6
6
  MissingKnowledge: "MISSING_KNOWLEDGE",
7
+ /**
8
+ * Shown in Agent Designer as "Missing user data". */
7
9
  MissingUserInformation: "MISSING_USER_INFORMATION",
8
10
  MissingAction: "MISSING_ACTION",
9
11
  NeedsUserClarification: "NEEDS_USER_CLARIFICATION",
@@ -11,5 +13,7 @@ exports.QualityReason = {
11
13
  Interrupted: "INTERRUPTED",
12
14
  UnsupportedUserBehavior: "UNSUPPORTED_USER_BEHAVIOR",
13
15
  Unknown: "UNKNOWN",
16
+ /**
17
+ * Maven did not reply in the conversation. Shown in Agent Designer as "No generated responses". */
14
18
  NoBotReplies: "NO_BOT_REPLIES",
15
19
  };
@@ -2,8 +2,8 @@
2
2
  * The kind of relationship (edge) between two entities. Names the edge,
3
3
  * not the node — `EntityId` already carries the node type.
4
4
  *
5
- * * `SPAWN_FROM`: the entity this one was spawned from.
6
- * * `SPAWN_TO`: the entities that were spawned from this one.
5
+ * * `SPAWN_FROM`: the entity this one was spawned from. Shown in Agent Designer as "Started from".
6
+ * * `SPAWN_TO`: the entities that were spawned from this one. Shown in Agent Designer as "Linked to".
7
7
  */
8
8
  export declare const RelationshipType: {
9
9
  readonly SpawnFrom: "SPAWN_FROM";
@@ -6,8 +6,8 @@ exports.RelationshipType = void 0;
6
6
  * The kind of relationship (edge) between two entities. Names the edge,
7
7
  * not the node — `EntityId` already carries the node type.
8
8
  *
9
- * * `SPAWN_FROM`: the entity this one was spawned from.
10
- * * `SPAWN_TO`: the entities that were spawned from this one.
9
+ * * `SPAWN_FROM`: the entity this one was spawned from. Shown in Agent Designer as "Started from".
10
+ * * `SPAWN_TO`: the entities that were spawned from this one. Shown in Agent Designer as "Linked to".
11
11
  */
12
12
  exports.RelationshipType = {
13
13
  SpawnFrom: "SPAWN_FROM",
@@ -2,6 +2,8 @@ export declare const ResolutionStatus: {
2
2
  readonly Unknown: "UNKNOWN";
3
3
  readonly Error: "ERROR";
4
4
  readonly InProgress: "IN_PROGRESS";
5
+ /**
6
+ * Shown in Agent Designer as "Resolved by Maven". */
5
7
  readonly Resolved: "RESOLVED";
6
8
  readonly Escalated: "ESCALATED";
7
9
  readonly Incomplete: "INCOMPLETE";
@@ -6,6 +6,8 @@ exports.ResolutionStatus = {
6
6
  Unknown: "UNKNOWN",
7
7
  Error: "ERROR",
8
8
  InProgress: "IN_PROGRESS",
9
+ /**
10
+ * Shown in Agent Designer as "Resolved by Maven". */
9
11
  Resolved: "RESOLVED",
10
12
  Escalated: "ESCALATED",
11
13
  Incomplete: "INCOMPLETE",
@@ -9,6 +9,8 @@ export interface ResponseConfig {
9
9
  * - `CHARTS_HIGHCHARTS_TS`: Whether the response should include a Highcharts typescript chart if applicable.
10
10
  * - `ASYNC`: Whether the app that created this conversation supports asynchronous message delivery. If provided, messages may be sent to the app via the `handleMessage` function.
11
11
  * - `OAUTH_BUTTONS`: Whether the response should include OAuth buttons. If provided, the caller needs to render OAuth buttons when returned from the ask API and allow the user to click the buttons to initiate the OAuth flow. If not provided, then actions which require OAuth authorization will not be considered by the LLM. This capability is not recommended for surfaces which can not display links (e.g. voice).
12
+ *
13
+ * Shown in Agent Designer as "Response type".
12
14
  */
13
15
  capabilities: MavenAGI.Capability[];
14
16
  /** Whether the response is for an human agent (true) or an end user (false). Defaults to false. */
@@ -0,0 +1,18 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export type SimulationActionBehavior =
3
+ /**
4
+ * The platform does not call the action's app and uses this result as the action's
5
+ * result. `response` and `errorMessage` are Handlebars templates over the action's input
6
+ * parameters, such as `{{parameterId}}`, rendered without HTML escaping. */
7
+ MavenAGI.SimulationActionBehavior.FixedResponse
8
+ /**
9
+ * The platform calls the action's app instead of returning a mocked result. */
10
+ | MavenAGI.SimulationActionBehavior.CallApp;
11
+ export declare namespace SimulationActionBehavior {
12
+ interface FixedResponse extends MavenAGI.ExecuteActionResponse {
13
+ type: "fixedResponse";
14
+ }
15
+ interface CallApp extends MavenAGI.SimulationActionCallApp {
16
+ type: "callApp";
17
+ }
18
+ }
@@ -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 @@
1
+ export type SimulationActionCallApp = {};
@@ -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,6 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface SimulationActionMock {
3
+ /** The action this entry applies to. */
4
+ actionId: MavenAGI.EntityIdWithoutAgent;
5
+ behavior: MavenAGI.SimulationActionBehavior;
6
+ }
@@ -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 });
@@ -1,9 +1,14 @@
1
1
  import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Conversations with a simulation context are the runs on the Agent Designer "Simulator" page.
4
+ */
2
5
  export interface SimulationContext {
3
6
  /**
4
7
  * Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters.
5
8
  *
6
9
  * If provided, overrides the agent's default additional prompt text during the simulation.
10
+ *
11
+ * Shown in Agent Designer as "Additional persona instructions".
7
12
  */
8
13
  additionalPromptText?: string;
9
14
  /** Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters. */
@@ -22,4 +27,18 @@ export interface SimulationContext {
22
27
  * keeps the variant it was created with.
23
28
  */
24
29
  variantId?: MavenAGI.EntityIdWithoutAgent;
30
+ /**
31
+ * What the platform does when the agent executes each action during this simulation. At
32
+ * most one entry per action; a request that names an action twice is rejected. An action
33
+ * with no entry follows `defaultActionBehavior`. A conversation that already exists keeps
34
+ * the mocks and default it was created with.
35
+ */
36
+ actionMocks?: MavenAGI.SimulationActionMock[];
37
+ /**
38
+ * What the platform does when the agent executes an action that has no `actionMocks`
39
+ * entry. When absent, the action's app is called as usual. A `fixedResponse` here keeps the
40
+ * simulation from calling any action's app that `actionMocks` doesn't name with `callApp`;
41
+ * its templates are rendered over the parameters of whichever action was called.
42
+ */
43
+ defaultActionBehavior?: MavenAGI.SimulationActionBehavior;
25
44
  }
@@ -33,10 +33,13 @@ export declare const SystemEventName: {
33
33
  * A data sync with an external system failed */
34
34
  readonly SyncFailed: "SYNC_FAILED";
35
35
  /**
36
- * A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. */
36
+ * A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. Maven records it once it has finished analyzing the conversation (its summary, category and intelligent field values), so the conversation's data is final when the event arrives; that can be a little after the close. */
37
37
  readonly ConversationClosed: "CONVERSATION_CLOSED";
38
38
  /**
39
- * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
39
+ * The agent sent a visible reply in a conversation: a response or a suggestion. `references` carries the conversation, the message, the charters matched in the turn that produced this reply, and the actions the bot ran in that turn, failed attempts included. Actions the user submitted as a form, or was only offered, are not included. Each event covers its own reply's turn, not earlier ones. A `references` condition can name a charter, an action or a combination of them. `contextInfo.additionalData` carries the message's `botMessageType` (see `AdditionalDataKey`). Like `CONVERSATION_CLOSED`, it is recorded once Maven has finished analyzing the conversation through that reply. */
40
+ readonly BotReplyCreated: "BOT_REPLY_CREATED";
41
+ /**
42
+ * An intelligent field's value on a conversation or agent user was set or changed. `references` carries the field and the conversation or agent user the value belongs to; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
40
43
  readonly IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED";
41
44
  };
42
45
  export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName] | string;
@@ -37,9 +37,12 @@ exports.SystemEventName = {
37
37
  * A data sync with an external system failed */
38
38
  SyncFailed: "SYNC_FAILED",
39
39
  /**
40
- * A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. */
40
+ * A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. Maven records it once it has finished analyzing the conversation (its summary, category and intelligent field values), so the conversation's data is final when the event arrives; that can be a little after the close. */
41
41
  ConversationClosed: "CONVERSATION_CLOSED",
42
42
  /**
43
- * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
43
+ * The agent sent a visible reply in a conversation: a response or a suggestion. `references` carries the conversation, the message, the charters matched in the turn that produced this reply, and the actions the bot ran in that turn, failed attempts included. Actions the user submitted as a form, or was only offered, are not included. Each event covers its own reply's turn, not earlier ones. A `references` condition can name a charter, an action or a combination of them. `contextInfo.additionalData` carries the message's `botMessageType` (see `AdditionalDataKey`). Like `CONVERSATION_CLOSED`, it is recorded once Maven has finished analyzing the conversation through that reply. */
44
+ BotReplyCreated: "BOT_REPLY_CREATED",
45
+ /**
46
+ * An intelligent field's value on a conversation or agent user was set or changed. `references` carries the field and the conversation or agent user the value belongs to; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
44
47
  IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED",
45
48
  };
@@ -4,7 +4,7 @@ export interface UserEvent extends MavenAGI.EventBaseNoId {
4
4
  id: MavenAGI.EntityId;
5
5
  /** The date and time the event was created */
6
6
  createdAt?: Date;
7
- /** The name of the event */
7
+ /** The name of the event. Shown in Agent Designer as "Event type". */
8
8
  eventName: MavenAGI.UserEventName;
9
9
  /** Information about the user who triggered the event */
10
10
  userInfo: MavenAGI.EventUserInfo;
@@ -12,7 +12,7 @@ export declare const UserEventName: {
12
12
  * The chat window was closed */
13
13
  readonly ChatClosed: "CHAT_CLOSED";
14
14
  /**
15
- * A text was inserted into a field */
15
+ * A text was inserted into a field. Shown in Agent Designer as "Inserted". */
16
16
  readonly TextInserted: "TEXT_INSERTED";
17
17
  /**
18
18
  * A CSAT rating was submitted */
@@ -16,7 +16,7 @@ exports.UserEventName = {
16
16
  * The chat window was closed */
17
17
  ChatClosed: "CHAT_CLOSED",
18
18
  /**
19
- * A text was inserted into a field */
19
+ * A text was inserted into a field. Shown in Agent Designer as "Inserted". */
20
20
  TextInserted: "TEXT_INSERTED",
21
21
  /**
22
22
  * A CSAT rating was submitted */
@@ -1,6 +1,7 @@
1
1
  export * from "./ActionBase";
2
2
  export * from "./ActionEnumOption";
3
3
  export * from "./ActionExecutionParamValue";
4
+ export * from "./ActionExecutionStatus";
4
5
  export * from "./ActionFormField";
5
6
  export * from "./ActionOAuthConfiguration";
6
7
  export * from "./ActionParameter";
@@ -47,6 +48,7 @@ export * from "./BotLogicSegmentsItem";
47
48
  export * from "./BotLogicSteeringItem";
48
49
  export * from "./BotLogicUserItem";
49
50
  export * from "./BotMessage";
51
+ export * from "./BotMessageStatusReason";
50
52
  export * from "./BotOAuthButtonResponse";
51
53
  export * from "./BotObjectResponse";
52
54
  export * from "./BotResponse";
@@ -58,6 +60,7 @@ export * from "./Capability";
58
60
  export * from "./CapabilityBase";
59
61
  export * from "./CapabilityStatus";
60
62
  export * from "./CapabilityType";
63
+ export * from "./CharterType";
61
64
  export * from "./ChartSpecSchema";
62
65
  export * from "./CheckboxSettingsSchemaEntry";
63
66
  export * from "./ColorSettingsSchemaEntry";
@@ -70,6 +73,7 @@ export * from "./ConversationKickoffExecutionResponse";
70
73
  export * from "./ConversationKickoffStatus";
71
74
  export * from "./ConversationMessageBase";
72
75
  export * from "./ConversationMessageResponse";
76
+ export * from "./ConversationMetadataValueSource";
73
77
  export * from "./ConversationMode";
74
78
  export * from "./ConversationModePrecondition";
75
79
  export * from "./ConversationPrecondition";
@@ -80,6 +84,7 @@ export * from "./ConversationRound";
80
84
  export * from "./ConversationState";
81
85
  export * from "./ConversationStatePrecondition";
82
86
  export * from "./ConversationSummary";
87
+ export * from "./ConversationValueSource";
83
88
  export * from "./CsatInfo";
84
89
  export * from "./CursorPage";
85
90
  export * from "./DeviceInfo";
@@ -108,11 +113,14 @@ export * from "./EventTriggerType";
108
113
  export * from "./EventType";
109
114
  export * from "./EventUserInfo";
110
115
  export * from "./EventUserInfoBase";
116
+ export * from "./ExecuteActionResponse";
117
+ export * from "./ExecutionMode";
111
118
  export * from "./Feedback";
112
119
  export * from "./FeedbackBase";
113
120
  export * from "./FeedbackInfo";
114
121
  export * from "./FeedbackType";
115
122
  export * from "./FieldCondition";
123
+ export * from "./FunctionVersionBinding";
116
124
  export * from "./GeoInfo";
117
125
  export * from "./HarmfulContentAnalysis";
118
126
  export * from "./ImageSettingsSchemaEntry";
@@ -148,6 +156,7 @@ export * from "./MessageStatus";
148
156
  export * from "./MetadataComparisonCondition";
149
157
  export * from "./MetadataComparisonOperator";
150
158
  export * from "./MetadataCondition";
159
+ export * from "./MetadataConversationValueFilter";
151
160
  export * from "./MetadataEntryCondition";
152
161
  export * from "./MetadataFilter";
153
162
  export * from "./MetadataFilterGroup";
@@ -205,6 +214,9 @@ export * from "./SettingsSchemaEntry";
205
214
  export * from "./SettingsSchemaEntryBase";
206
215
  export * from "./SettingsSchemaValidation";
207
216
  export * from "./SideEffects";
217
+ export * from "./SimulationActionBehavior";
218
+ export * from "./SimulationActionCallApp";
219
+ export * from "./SimulationActionMock";
208
220
  export * from "./SimulationContext";
209
221
  export * from "./Source";
210
222
  export * from "./SourceInfo";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ActionBase"), exports);
18
18
  __exportStar(require("./ActionEnumOption"), exports);
19
19
  __exportStar(require("./ActionExecutionParamValue"), exports);
20
+ __exportStar(require("./ActionExecutionStatus"), exports);
20
21
  __exportStar(require("./ActionFormField"), exports);
21
22
  __exportStar(require("./ActionOAuthConfiguration"), exports);
22
23
  __exportStar(require("./ActionParameter"), exports);
@@ -63,6 +64,7 @@ __exportStar(require("./BotLogicSegmentsItem"), exports);
63
64
  __exportStar(require("./BotLogicSteeringItem"), exports);
64
65
  __exportStar(require("./BotLogicUserItem"), exports);
65
66
  __exportStar(require("./BotMessage"), exports);
67
+ __exportStar(require("./BotMessageStatusReason"), exports);
66
68
  __exportStar(require("./BotOAuthButtonResponse"), exports);
67
69
  __exportStar(require("./BotObjectResponse"), exports);
68
70
  __exportStar(require("./BotResponse"), exports);
@@ -74,6 +76,7 @@ __exportStar(require("./Capability"), exports);
74
76
  __exportStar(require("./CapabilityBase"), exports);
75
77
  __exportStar(require("./CapabilityStatus"), exports);
76
78
  __exportStar(require("./CapabilityType"), exports);
79
+ __exportStar(require("./CharterType"), exports);
77
80
  __exportStar(require("./ChartSpecSchema"), exports);
78
81
  __exportStar(require("./CheckboxSettingsSchemaEntry"), exports);
79
82
  __exportStar(require("./ColorSettingsSchemaEntry"), exports);
@@ -86,6 +89,7 @@ __exportStar(require("./ConversationKickoffExecutionResponse"), exports);
86
89
  __exportStar(require("./ConversationKickoffStatus"), exports);
87
90
  __exportStar(require("./ConversationMessageBase"), exports);
88
91
  __exportStar(require("./ConversationMessageResponse"), exports);
92
+ __exportStar(require("./ConversationMetadataValueSource"), exports);
89
93
  __exportStar(require("./ConversationMode"), exports);
90
94
  __exportStar(require("./ConversationModePrecondition"), exports);
91
95
  __exportStar(require("./ConversationPrecondition"), exports);
@@ -96,6 +100,7 @@ __exportStar(require("./ConversationRound"), exports);
96
100
  __exportStar(require("./ConversationState"), exports);
97
101
  __exportStar(require("./ConversationStatePrecondition"), exports);
98
102
  __exportStar(require("./ConversationSummary"), exports);
103
+ __exportStar(require("./ConversationValueSource"), exports);
99
104
  __exportStar(require("./CsatInfo"), exports);
100
105
  __exportStar(require("./CursorPage"), exports);
101
106
  __exportStar(require("./DeviceInfo"), exports);
@@ -124,11 +129,14 @@ __exportStar(require("./EventTriggerType"), exports);
124
129
  __exportStar(require("./EventType"), exports);
125
130
  __exportStar(require("./EventUserInfo"), exports);
126
131
  __exportStar(require("./EventUserInfoBase"), exports);
132
+ __exportStar(require("./ExecuteActionResponse"), exports);
133
+ __exportStar(require("./ExecutionMode"), exports);
127
134
  __exportStar(require("./Feedback"), exports);
128
135
  __exportStar(require("./FeedbackBase"), exports);
129
136
  __exportStar(require("./FeedbackInfo"), exports);
130
137
  __exportStar(require("./FeedbackType"), exports);
131
138
  __exportStar(require("./FieldCondition"), exports);
139
+ __exportStar(require("./FunctionVersionBinding"), exports);
132
140
  __exportStar(require("./GeoInfo"), exports);
133
141
  __exportStar(require("./HarmfulContentAnalysis"), exports);
134
142
  __exportStar(require("./ImageSettingsSchemaEntry"), exports);
@@ -164,6 +172,7 @@ __exportStar(require("./MessageStatus"), exports);
164
172
  __exportStar(require("./MetadataComparisonCondition"), exports);
165
173
  __exportStar(require("./MetadataComparisonOperator"), exports);
166
174
  __exportStar(require("./MetadataCondition"), exports);
175
+ __exportStar(require("./MetadataConversationValueFilter"), exports);
167
176
  __exportStar(require("./MetadataEntryCondition"), exports);
168
177
  __exportStar(require("./MetadataFilter"), exports);
169
178
  __exportStar(require("./MetadataFilterGroup"), exports);
@@ -221,6 +230,9 @@ __exportStar(require("./SettingsSchemaEntry"), exports);
221
230
  __exportStar(require("./SettingsSchemaEntryBase"), exports);
222
231
  __exportStar(require("./SettingsSchemaValidation"), exports);
223
232
  __exportStar(require("./SideEffects"), exports);
233
+ __exportStar(require("./SimulationActionBehavior"), exports);
234
+ __exportStar(require("./SimulationActionCallApp"), exports);
235
+ __exportStar(require("./SimulationActionMock"), exports);
224
236
  __exportStar(require("./SimulationContext"), exports);
225
237
  __exportStar(require("./Source"), exports);
226
238
  __exportStar(require("./SourceInfo"), exports);
@@ -108,17 +108,19 @@ export declare class ConversationClient {
108
108
  get(conversationId: string, request?: MavenAGI.ConversationGetRequest, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<MavenAGI.ConversationResponse>;
109
109
  private __get;
110
110
  /**
111
- * Wipes a conversation of all user data.
112
- * The conversation ID will still exist and non-user specific data will still be retained.
113
- * Attempts to modify or add messages to the conversation will throw an error.
114
- * The conversation is sealed against further writes as soon as this call returns. A `202 Accepted` response means the wipe is still completing and will finish on its own.
111
+ * Wipes the user content from a conversation.
112
+ * The conversation and its ID still exist afterwards, and so does its non-content data, so it still counts in metrics.
113
+ * The conversation is sealed against further writes as soon as this call returns: adding or changing messages fails with `409 Conflict`, and so does deleting it again once the wipe has finished.
114
+ * A `202 Accepted` response means the wipe is still completing and will finish on its own.
115
115
  *
116
116
  * Simulation conversations will no longer be visible in search results nor metrics.
117
- * Non-simulation conversations will remain visible - they can not be fully removed from the system.
117
+ * Non-simulation conversations remain visible; they cannot be fully removed from the system.
118
118
  *
119
119
  * <Warning>This is a destructive operation and cannot be undone. <br/><br/>
120
- * The exact fields cleared include: the conversation subject, userRequest, agentResponse.
121
- * As well as the text response, followup questions, and backend LLM prompt of all messages.</Warning>
120
+ * What is wiped: the conversation's `subject` and `analysis.agentResponse` are cleared, and `analysis.userRequest` is replaced with `reason`.
121
+ * Every message's text, from the user and the agent alike, is replaced with `reason`, and its attachments, follow-up questions, backend LLM prompt and history, the data actions returned, and action arguments are cleared.
122
+ * Evaluation results for the conversation are deleted, and the payloads recorded on its trigger and action executions are cleared. <br/><br/>
123
+ * What is kept: the conversation's metadata, each message's charts, structured answer and app-supplied metadata, the conversation's intelligent field values, its feedback and events, and the users who took part. To wipe a user's data, use `DELETE /users/{userId}` or `DELETE /agentusers/{agentUserId}`.</Warning>
122
124
  *
123
125
  * @param {string} conversationId - The ID of the conversation to delete
124
126
  * @param {MavenAGI.ConversationDeleteRequest} request
@@ -479,6 +481,8 @@ export declare class ConversationClient {
479
481
  * This API is offered for backwards compatibility.
480
482
  * Most API callers should create simulations programmatically to allow for more flexibility.
481
483
  *
484
+ * Shown in Agent Designer as "Import questions".
485
+ *
482
486
  * @param {core.file.Uploadable} file
483
487
  * @param {MavenAGI.SimulationImportRequest} request
484
488
  * @param {ConversationClient.RequestOptions} requestOptions - Request-specific configuration.