mavenagi 1.2.72 → 1.2.74

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 (552) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +6 -0
  3. package/Client.js +52 -42
  4. package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +11 -0
  5. package/api/resources/actions/types/ActionRequest.d.ts +5 -0
  6. package/api/resources/agentVariants/client/Client.d.ts +484 -0
  7. package/api/resources/agentVariants/client/Client.js +1888 -0
  8. package/api/resources/agentVariants/client/index.d.ts +1 -0
  9. package/api/resources/agentVariants/client/index.js +17 -0
  10. package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.d.ts +8 -0
  11. package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.js +3 -0
  12. package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +27 -0
  13. package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +3 -0
  14. package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.d.ts +8 -0
  15. package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.js +3 -0
  16. package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.d.ts +10 -0
  17. package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.js +3 -0
  18. package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +17 -0
  19. package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +3 -0
  20. package/api/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +13 -0
  21. package/api/resources/agentVariants/client/requests/GetSettingEditRequest.js +3 -0
  22. package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.d.ts +8 -0
  23. package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.js +3 -0
  24. package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.d.ts +12 -0
  25. package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.js +3 -0
  26. package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +15 -0
  27. package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +3 -0
  28. package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +8 -0
  29. package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +3 -0
  30. package/api/resources/agentVariants/client/requests/index.d.ts +10 -0
  31. package/api/resources/agentVariants/client/requests/index.js +2 -0
  32. package/api/resources/agentVariants/exports.d.ts +2 -0
  33. package/api/resources/agentVariants/exports.js +21 -0
  34. package/api/resources/agentVariants/index.d.ts +2 -0
  35. package/api/resources/agentVariants/index.js +18 -0
  36. package/api/resources/agentVariants/types/AddedCharterDiff.d.ts +5 -0
  37. package/api/resources/agentVariants/types/AddedCharterDiff.js +3 -0
  38. package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +5 -0
  39. package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.js +3 -0
  40. package/api/resources/agentVariants/types/AgentSettingEdits.d.ts +16 -0
  41. package/api/resources/agentVariants/types/AgentSettingEdits.js +3 -0
  42. package/api/resources/agentVariants/types/AgentSettingsDiff.d.ts +12 -0
  43. package/api/resources/agentVariants/types/AgentSettingsDiff.js +3 -0
  44. package/api/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
  45. package/api/resources/agentVariants/types/AgentVariantCompareRequest.js +3 -0
  46. package/api/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +78 -0
  47. package/api/resources/agentVariants/types/AgentVariantCompareResponse.js +3 -0
  48. package/api/resources/agentVariants/types/AgentVariantDiff.d.ts +9 -0
  49. package/api/resources/agentVariants/types/AgentVariantDiff.js +3 -0
  50. package/api/resources/agentVariants/types/AgentVariantFilter.d.ts +9 -0
  51. package/api/resources/agentVariants/types/AgentVariantFilter.js +3 -0
  52. package/api/resources/agentVariants/types/AgentVariantListRequest.d.ts +3 -0
  53. package/api/resources/agentVariants/types/AgentVariantListRequest.js +3 -0
  54. package/api/resources/agentVariants/types/AgentVariantRequest.d.ts +28 -0
  55. package/api/resources/agentVariants/types/AgentVariantRequest.js +3 -0
  56. package/api/resources/agentVariants/types/AgentVariantResponse.d.ts +45 -0
  57. package/api/resources/agentVariants/types/AgentVariantResponse.js +3 -0
  58. package/api/resources/agentVariants/types/AgentVariantSearchResult.d.ts +7 -0
  59. package/api/resources/agentVariants/types/AgentVariantSearchResult.js +3 -0
  60. package/api/resources/agentVariants/types/AgentVariantSortField.d.ts +6 -0
  61. package/api/resources/agentVariants/types/AgentVariantSortField.js +9 -0
  62. package/api/resources/agentVariants/types/AgentVariantStatus.d.ts +9 -0
  63. package/api/resources/agentVariants/types/AgentVariantStatus.js +12 -0
  64. package/api/resources/agentVariants/types/AgentVariantTraffic.d.ts +7 -0
  65. package/api/resources/agentVariants/types/AgentVariantTraffic.js +3 -0
  66. package/api/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +6 -0
  67. package/api/resources/agentVariants/types/AgentVariantsSearchRequest.js +3 -0
  68. package/api/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +63 -0
  69. package/api/resources/agentVariants/types/AgentVariantsSearchResponse.js +3 -0
  70. package/api/resources/agentVariants/types/CharterDiff.d.ts +29 -0
  71. package/api/resources/agentVariants/types/CharterDiff.js +3 -0
  72. package/api/resources/agentVariants/types/CharterEntityEdit.d.ts +5 -0
  73. package/api/resources/agentVariants/types/CharterEntityEdit.js +3 -0
  74. package/api/resources/agentVariants/types/DeletedCharterDiff.d.ts +5 -0
  75. package/api/resources/agentVariants/types/DeletedCharterDiff.js +3 -0
  76. package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +5 -0
  77. package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +3 -0
  78. package/api/resources/agentVariants/types/EntityEdit.d.ts +16 -0
  79. package/api/resources/agentVariants/types/EntityEdit.js +3 -0
  80. package/api/resources/agentVariants/types/EntityEditResponse.d.ts +7 -0
  81. package/api/resources/agentVariants/types/EntityEditResponse.js +3 -0
  82. package/api/resources/agentVariants/types/IntelligentFieldDiff.d.ts +27 -0
  83. package/api/resources/agentVariants/types/IntelligentFieldDiff.js +3 -0
  84. package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +5 -0
  85. package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.js +3 -0
  86. package/api/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +42 -0
  87. package/api/resources/agentVariants/types/ListAgentVariantsResponse.js +3 -0
  88. package/api/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +5 -0
  89. package/api/resources/agentVariants/types/ListTrafficConfigsResponse.js +3 -0
  90. package/api/resources/agentVariants/types/ModifiedCharterDiff.d.ts +7 -0
  91. package/api/resources/agentVariants/types/ModifiedCharterDiff.js +3 -0
  92. package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +7 -0
  93. package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +3 -0
  94. package/api/resources/agentVariants/types/TrafficAllocation.d.ts +15 -0
  95. package/api/resources/agentVariants/types/TrafficAllocation.js +3 -0
  96. package/api/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
  97. package/api/resources/agentVariants/types/TrafficConfigResponse.js +3 -0
  98. package/api/resources/agentVariants/types/TrafficFraction.d.ts +4 -0
  99. package/api/resources/agentVariants/types/TrafficFraction.js +3 -0
  100. package/api/resources/agentVariants/types/TrafficRule.d.ts +9 -0
  101. package/api/resources/agentVariants/types/TrafficRule.js +3 -0
  102. package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +7 -0
  103. package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.js +3 -0
  104. package/api/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +12 -0
  105. package/api/resources/agentVariants/types/WorkingSetDiffResponse.js +3 -0
  106. package/api/resources/agentVariants/types/index.d.ts +35 -0
  107. package/api/resources/agentVariants/types/index.js +51 -0
  108. package/api/resources/agents/client/Client.d.ts +72 -0
  109. package/api/resources/agents/client/Client.js +244 -0
  110. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +8 -3
  111. package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.d.ts +10 -0
  112. package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.js +3 -0
  113. package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +17 -0
  114. package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +3 -0
  115. package/api/resources/agents/client/requests/index.d.ts +2 -0
  116. package/api/resources/agents/types/Agent.d.ts +9 -1
  117. package/api/resources/agents/types/AgentMigrations.d.ts +20 -0
  118. package/api/resources/agents/types/AgentMigrations.js +3 -0
  119. package/api/resources/agents/types/AgentMigrationsPatch.d.ts +7 -0
  120. package/api/resources/agents/types/AgentMigrationsPatch.js +3 -0
  121. package/api/resources/agents/types/AgentPrompting.d.ts +1 -1
  122. package/api/resources/agents/types/AgentSettingName.d.ts +6 -0
  123. package/api/resources/agents/types/AgentSettingName.js +9 -0
  124. package/api/resources/agents/types/VersionedAgentSettings.d.ts +13 -0
  125. package/api/resources/agents/types/VersionedAgentSettings.js +3 -0
  126. package/api/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +5 -0
  127. package/api/resources/agents/types/VersionedEntityTypeOrSetting.js +3 -0
  128. package/api/resources/agents/types/index.d.ts +5 -0
  129. package/api/resources/agents/types/index.js +5 -0
  130. package/api/resources/analytics/client/Client.d.ts +1 -1
  131. package/api/resources/analytics/client/Client.js +1 -1
  132. package/api/resources/analytics/types/AgentUserTableRequest.d.ts +2 -0
  133. package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +7 -1
  134. package/api/resources/analytics/types/ConversationTableRequest.d.ts +7 -1
  135. package/api/resources/analytics/types/EventTableRequest.d.ts +1 -0
  136. package/api/resources/analytics/types/GroupByBase.d.ts +1 -1
  137. package/api/resources/analytics/types/TimeInterval.d.ts +11 -0
  138. package/api/resources/analytics/types/TimeInterval.js +11 -0
  139. package/api/resources/appDirectory/client/Client.d.ts +45 -2
  140. package/api/resources/appDirectory/client/Client.js +53 -2
  141. package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +27 -5
  142. package/api/resources/appSettings/client/Client.d.ts +11 -4
  143. package/api/resources/appSettings/client/Client.js +11 -4
  144. package/api/resources/apps/client/Client.d.ts +139 -0
  145. package/api/resources/apps/client/Client.js +504 -0
  146. package/api/resources/apps/client/index.d.ts +1 -0
  147. package/api/resources/apps/client/index.js +2 -0
  148. package/api/resources/apps/exports.d.ts +2 -0
  149. package/api/resources/apps/exports.js +21 -0
  150. package/api/resources/apps/index.d.ts +2 -0
  151. package/api/resources/apps/index.js +18 -0
  152. package/api/resources/apps/types/AppPatchRequest.d.ts +26 -0
  153. package/api/resources/apps/types/AppPatchRequest.js +3 -0
  154. package/api/resources/apps/types/AppRequest.d.ts +38 -0
  155. package/api/resources/apps/types/AppRequest.js +3 -0
  156. package/api/resources/apps/types/AppResponse.d.ts +29 -0
  157. package/api/resources/apps/types/AppResponse.js +3 -0
  158. package/api/resources/apps/types/AppsSearchRequest.d.ts +3 -0
  159. package/api/resources/apps/types/AppsSearchRequest.js +3 -0
  160. package/api/resources/apps/types/AppsSearchResponse.d.ts +5 -0
  161. package/api/resources/apps/types/AppsSearchResponse.js +3 -0
  162. package/api/resources/apps/types/index.d.ts +5 -0
  163. package/api/resources/apps/types/index.js +21 -0
  164. package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +7 -0
  165. package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +4 -0
  166. package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.js +4 -0
  167. package/api/resources/charters/client/Client.d.ts +8 -1
  168. package/api/resources/charters/client/Client.js +8 -1
  169. package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +7 -4
  170. package/api/resources/charters/types/CharterBase.d.ts +5 -3
  171. package/api/resources/charters/types/CharterEdit.d.ts +18 -0
  172. package/api/resources/charters/types/CharterEdit.js +3 -0
  173. package/api/resources/charters/types/CharterPayload.d.ts +10 -0
  174. package/api/resources/charters/types/CharterPayload.js +3 -0
  175. package/api/resources/charters/types/CharterResponse.d.ts +17 -2
  176. package/api/resources/charters/types/CharterSummary.d.ts +17 -2
  177. package/api/resources/charters/types/index.d.ts +2 -0
  178. package/api/resources/charters/types/index.js +2 -0
  179. package/api/resources/commons/types/ActionResponse.d.ts +2 -0
  180. package/api/resources/commons/types/AttachmentNotSentToModelReason.d.ts +11 -0
  181. package/api/resources/commons/types/AttachmentNotSentToModelReason.js +14 -0
  182. package/api/resources/commons/types/AttachmentNotSentToModelWarning.d.ts +10 -0
  183. package/api/resources/commons/types/AttachmentNotSentToModelWarning.js +3 -0
  184. package/api/resources/commons/types/BaseConversationResponse.d.ts +4 -0
  185. package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -0
  186. package/api/resources/commons/types/BotMessage.d.ts +9 -0
  187. package/api/resources/commons/types/BotMessageWarning.d.ts +13 -0
  188. package/api/resources/commons/types/BotMessageWarning.js +3 -0
  189. package/api/resources/commons/types/BotResponseMetadata.d.ts +5 -0
  190. package/api/resources/commons/types/CapabilityBase.d.ts +4 -0
  191. package/api/resources/commons/types/ChangeAuthor.d.ts +1 -1
  192. package/api/resources/commons/types/EntityType.d.ts +3 -0
  193. package/api/resources/commons/types/EntityType.js +3 -0
  194. package/api/resources/commons/types/ErrorMessage.d.ts +2 -0
  195. package/api/resources/commons/types/ErrorReason.d.ts +9 -3
  196. package/api/resources/commons/types/ErrorReason.js +9 -3
  197. package/api/resources/commons/types/Feedback.d.ts +8 -0
  198. package/api/resources/commons/types/FieldError.d.ts +6 -0
  199. package/api/resources/commons/types/FieldError.js +3 -0
  200. package/api/resources/commons/types/InboxItemBase.d.ts +13 -0
  201. package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +9 -1
  202. package/api/resources/commons/types/IntelligentFieldValueResponse.d.ts +13 -1
  203. package/api/resources/commons/types/ResolutionStatus.d.ts +4 -4
  204. package/api/resources/commons/types/ResolutionStatus.js +4 -4
  205. package/api/resources/commons/types/SimulationSetupFields.d.ts +2 -3
  206. package/api/resources/commons/types/SystemEventName.d.ts +6 -0
  207. package/api/resources/commons/types/SystemEventName.js +6 -0
  208. package/api/resources/commons/types/UserEvent.d.ts +8 -0
  209. package/api/resources/commons/types/UserMessage.d.ts +4 -0
  210. package/api/resources/commons/types/index.d.ts +4 -0
  211. package/api/resources/commons/types/index.js +4 -0
  212. package/api/resources/conversation/client/Client.d.ts +20 -1
  213. package/api/resources/conversation/client/Client.js +20 -1
  214. package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +1 -1
  215. package/api/resources/conversation/types/AskRequestFields.d.ts +3 -2
  216. package/api/resources/conversation/types/BillableFilterField.d.ts +1 -1
  217. package/api/resources/conversation/types/BillableFilterField.js +1 -1
  218. package/api/resources/conversation/types/ConversationFilter.d.ts +2 -2
  219. package/api/resources/conversation/types/ConversationRequest.d.ts +2 -1
  220. package/api/resources/conversation/types/NumericConversationField.d.ts +13 -0
  221. package/api/resources/conversation/types/NumericConversationField.js +13 -0
  222. package/api/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -1
  223. package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +5 -0
  224. package/api/resources/conversationKickoffs/types/ConversationKickoff.d.ts +2 -0
  225. package/api/resources/developersCommons/types/AppDirectoryDetails.d.ts +23 -0
  226. package/api/resources/developersCommons/types/AppDirectoryDetails.js +3 -0
  227. package/api/resources/developersCommons/types/AppDirectoryListing.d.ts +14 -0
  228. package/api/resources/developersCommons/types/AppDirectoryListing.js +3 -0
  229. package/api/resources/developersCommons/types/BaseApp.d.ts +1 -9
  230. package/api/resources/developersCommons/types/BaseDetailApp.d.ts +1 -18
  231. package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +8 -4
  232. package/api/resources/developersCommons/types/index.d.ts +2 -0
  233. package/api/resources/developersCommons/types/index.js +2 -0
  234. package/api/resources/events/client/Client.d.ts +1 -1
  235. package/api/resources/events/client/Client.js +1 -1
  236. package/api/resources/index.d.ts +7 -0
  237. package/api/resources/index.js +8 -1
  238. package/api/resources/intelligentFields/client/Client.d.ts +13 -4
  239. package/api/resources/intelligentFields/client/Client.js +13 -4
  240. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
  241. package/api/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +16 -0
  242. package/api/resources/intelligentFields/types/IntelligentFieldEdit.js +3 -0
  243. package/api/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +12 -0
  244. package/api/resources/intelligentFields/types/IntelligentFieldPayload.js +3 -0
  245. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +3 -4
  246. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +4 -1
  247. package/api/resources/intelligentFields/types/index.d.ts +2 -0
  248. package/api/resources/intelligentFields/types/index.js +2 -0
  249. package/api/resources/knowledge/client/Client.d.ts +19 -2
  250. package/api/resources/knowledge/client/Client.js +19 -2
  251. package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +5 -0
  252. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +6 -0
  253. package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
  254. package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
  255. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +4 -0
  256. package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +4 -0
  257. package/api/resources/organizations/types/Organization.d.ts +8 -0
  258. package/api/resources/triggers/client/Client.d.ts +6 -1
  259. package/api/resources/triggers/client/Client.js +6 -1
  260. package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +11 -0
  261. package/api/resources/triggers/types/DebounceWait.d.ts +14 -0
  262. package/api/resources/triggers/types/DebounceWait.js +3 -0
  263. package/api/resources/triggers/types/DelayWait.d.ts +13 -0
  264. package/api/resources/triggers/types/DelayWait.js +3 -0
  265. package/api/resources/triggers/types/EventTriggerBase.d.ts +21 -0
  266. package/api/resources/triggers/types/EventTriggerRequest.d.ts +5 -0
  267. package/api/resources/triggers/types/EventTriggerResponse.d.ts +14 -0
  268. package/api/resources/triggers/types/IntervalSchedule.d.ts +17 -0
  269. package/api/resources/triggers/types/IntervalSchedule.js +3 -0
  270. package/api/resources/triggers/types/ScheduleInterval.d.ts +9 -0
  271. package/api/resources/triggers/types/ScheduleInterval.js +12 -0
  272. package/api/resources/triggers/types/ScheduleSpec.d.ts +11 -0
  273. package/api/resources/triggers/types/ScheduleSpec.js +3 -0
  274. package/api/resources/triggers/types/TimeSpan.d.ts +10 -0
  275. package/api/resources/triggers/types/TimeSpan.js +3 -0
  276. package/api/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
  277. package/api/resources/triggers/types/TimeSpanUnit.js +10 -0
  278. package/api/resources/triggers/types/TriggerRateLimit.d.ts +20 -0
  279. package/api/resources/triggers/types/TriggerRateLimit.js +3 -0
  280. package/api/resources/triggers/types/TriggerSchedule.d.ts +30 -0
  281. package/api/resources/triggers/types/TriggerSchedule.js +3 -0
  282. package/api/resources/triggers/types/TriggerWait.d.ts +16 -0
  283. package/api/resources/triggers/types/TriggerWait.js +3 -0
  284. package/api/resources/triggers/types/TriggerWaitBase.d.ts +9 -0
  285. package/api/resources/triggers/types/TriggerWaitBase.js +3 -0
  286. package/api/resources/triggers/types/index.d.ts +11 -0
  287. package/api/resources/triggers/types/index.js +11 -0
  288. package/api/resources/users/client/Client.d.ts +1 -3
  289. package/api/resources/users/client/Client.js +1 -3
  290. package/api/resources/users/types/AgentUser.d.ts +13 -0
  291. package/api/resources/workingSet/index.d.ts +1 -0
  292. package/api/resources/workingSet/index.js +17 -0
  293. package/api/resources/workingSet/types/VariantDebugInfo.d.ts +15 -0
  294. package/api/resources/workingSet/types/VariantDebugInfo.js +3 -0
  295. package/api/resources/workingSet/types/index.d.ts +1 -0
  296. package/api/resources/workingSet/types/index.js +17 -0
  297. package/package.json +1 -1
  298. package/reference.md +2138 -301
  299. package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +4 -0
  300. package/serialization/resources/actions/client/requests/ActionPatchRequest.js +4 -0
  301. package/serialization/resources/actions/types/ActionRequest.d.ts +2 -0
  302. package/serialization/resources/actions/types/ActionRequest.js +2 -0
  303. package/serialization/resources/agentVariants/client/index.d.ts +1 -0
  304. package/serialization/resources/agentVariants/client/index.js +17 -0
  305. package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +15 -0
  306. package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +47 -0
  307. package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +11 -0
  308. package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +43 -0
  309. package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +11 -0
  310. package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.js +43 -0
  311. package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +13 -0
  312. package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +45 -0
  313. package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +9 -0
  314. package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +41 -0
  315. package/serialization/resources/agentVariants/client/requests/index.d.ts +5 -0
  316. package/serialization/resources/agentVariants/client/requests/index.js +13 -0
  317. package/serialization/resources/agentVariants/index.d.ts +2 -0
  318. package/serialization/resources/agentVariants/index.js +18 -0
  319. package/serialization/resources/agentVariants/types/AddedCharterDiff.d.ts +10 -0
  320. package/serialization/resources/agentVariants/types/AddedCharterDiff.js +42 -0
  321. package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +10 -0
  322. package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.js +42 -0
  323. package/serialization/resources/agentVariants/types/AgentSettingEdits.d.ts +17 -0
  324. package/serialization/resources/agentVariants/types/AgentSettingEdits.js +49 -0
  325. package/serialization/resources/agentVariants/types/AgentSettingsDiff.d.ts +13 -0
  326. package/serialization/resources/agentVariants/types/AgentSettingsDiff.js +45 -0
  327. package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
  328. package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.js +46 -0
  329. package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +13 -0
  330. package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.js +45 -0
  331. package/serialization/resources/agentVariants/types/AgentVariantDiff.d.ts +14 -0
  332. package/serialization/resources/agentVariants/types/AgentVariantDiff.js +46 -0
  333. package/serialization/resources/agentVariants/types/AgentVariantFilter.d.ts +13 -0
  334. package/serialization/resources/agentVariants/types/AgentVariantFilter.js +45 -0
  335. package/serialization/resources/agentVariants/types/AgentVariantListRequest.d.ts +9 -0
  336. package/serialization/resources/agentVariants/types/AgentVariantListRequest.js +40 -0
  337. package/serialization/resources/agentVariants/types/AgentVariantRequest.d.ts +14 -0
  338. package/serialization/resources/agentVariants/types/AgentVariantRequest.js +46 -0
  339. package/serialization/resources/agentVariants/types/AgentVariantResponse.d.ts +22 -0
  340. package/serialization/resources/agentVariants/types/AgentVariantResponse.js +54 -0
  341. package/serialization/resources/agentVariants/types/AgentVariantSearchResult.d.ts +12 -0
  342. package/serialization/resources/agentVariants/types/AgentVariantSearchResult.js +46 -0
  343. package/serialization/resources/agentVariants/types/AgentVariantSortField.d.ts +7 -0
  344. package/serialization/resources/agentVariants/types/AgentVariantSortField.js +39 -0
  345. package/serialization/resources/agentVariants/types/AgentVariantStatus.d.ts +7 -0
  346. package/serialization/resources/agentVariants/types/AgentVariantStatus.js +39 -0
  347. package/serialization/resources/agentVariants/types/AgentVariantTraffic.d.ts +11 -0
  348. package/serialization/resources/agentVariants/types/AgentVariantTraffic.js +43 -0
  349. package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +13 -0
  350. package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.js +47 -0
  351. package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +11 -0
  352. package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.js +45 -0
  353. package/serialization/resources/agentVariants/types/CharterDiff.d.ts +19 -0
  354. package/serialization/resources/agentVariants/types/CharterDiff.js +51 -0
  355. package/serialization/resources/agentVariants/types/CharterEntityEdit.d.ts +10 -0
  356. package/serialization/resources/agentVariants/types/CharterEntityEdit.js +42 -0
  357. package/serialization/resources/agentVariants/types/DeletedCharterDiff.d.ts +10 -0
  358. package/serialization/resources/agentVariants/types/DeletedCharterDiff.js +42 -0
  359. package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +10 -0
  360. package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +42 -0
  361. package/serialization/resources/agentVariants/types/EntityEdit.d.ts +15 -0
  362. package/serialization/resources/agentVariants/types/EntityEdit.js +49 -0
  363. package/serialization/resources/agentVariants/types/EntityEditResponse.d.ts +12 -0
  364. package/serialization/resources/agentVariants/types/EntityEditResponse.js +44 -0
  365. package/serialization/resources/agentVariants/types/IntelligentFieldDiff.d.ts +19 -0
  366. package/serialization/resources/agentVariants/types/IntelligentFieldDiff.js +51 -0
  367. package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +10 -0
  368. package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.js +42 -0
  369. package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +11 -0
  370. package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.js +45 -0
  371. package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +11 -0
  372. package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.js +45 -0
  373. package/serialization/resources/agentVariants/types/ModifiedCharterDiff.d.ts +11 -0
  374. package/serialization/resources/agentVariants/types/ModifiedCharterDiff.js +43 -0
  375. package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +11 -0
  376. package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +43 -0
  377. package/serialization/resources/agentVariants/types/TrafficAllocation.d.ts +11 -0
  378. package/serialization/resources/agentVariants/types/TrafficAllocation.js +47 -0
  379. package/serialization/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
  380. package/serialization/resources/agentVariants/types/TrafficConfigResponse.js +48 -0
  381. package/serialization/resources/agentVariants/types/TrafficFraction.d.ts +9 -0
  382. package/serialization/resources/agentVariants/types/TrafficFraction.js +41 -0
  383. package/serialization/resources/agentVariants/types/TrafficRule.d.ts +12 -0
  384. package/serialization/resources/agentVariants/types/TrafficRule.js +44 -0
  385. package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +11 -0
  386. package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.js +43 -0
  387. package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +13 -0
  388. package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.js +45 -0
  389. package/serialization/resources/agentVariants/types/index.d.ts +35 -0
  390. package/serialization/resources/agentVariants/types/index.js +51 -0
  391. package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +2 -0
  392. package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -0
  393. package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +12 -0
  394. package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +44 -0
  395. package/serialization/resources/agents/client/requests/index.d.ts +1 -0
  396. package/serialization/resources/agents/client/requests/index.js +3 -1
  397. package/serialization/resources/agents/types/Agent.d.ts +6 -0
  398. package/serialization/resources/agents/types/Agent.js +6 -0
  399. package/serialization/resources/agents/types/AgentMigrations.d.ts +11 -0
  400. package/serialization/resources/agents/types/AgentMigrations.js +43 -0
  401. package/serialization/resources/agents/types/AgentMigrationsPatch.d.ts +9 -0
  402. package/serialization/resources/agents/types/AgentMigrationsPatch.js +41 -0
  403. package/serialization/resources/agents/types/AgentSettingName.d.ts +7 -0
  404. package/serialization/resources/agents/types/AgentSettingName.js +42 -0
  405. package/serialization/resources/agents/types/VersionedAgentSettings.d.ts +10 -0
  406. package/serialization/resources/agents/types/VersionedAgentSettings.js +42 -0
  407. package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +9 -0
  408. package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.js +41 -0
  409. package/serialization/resources/agents/types/index.d.ts +5 -0
  410. package/serialization/resources/agents/types/index.js +5 -0
  411. package/serialization/resources/apps/index.d.ts +1 -0
  412. package/serialization/resources/apps/index.js +17 -0
  413. package/serialization/resources/apps/types/AppPatchRequest.d.ts +21 -0
  414. package/serialization/resources/apps/types/AppPatchRequest.js +54 -0
  415. package/serialization/resources/apps/types/AppRequest.d.ts +13 -0
  416. package/serialization/resources/apps/types/AppRequest.js +48 -0
  417. package/serialization/resources/apps/types/AppResponse.d.ts +11 -0
  418. package/serialization/resources/apps/types/AppResponse.js +45 -0
  419. package/serialization/resources/apps/types/AppsSearchRequest.d.ts +9 -0
  420. package/serialization/resources/apps/types/AppsSearchRequest.js +40 -0
  421. package/serialization/resources/apps/types/AppsSearchResponse.d.ts +11 -0
  422. package/serialization/resources/apps/types/AppsSearchResponse.js +45 -0
  423. package/serialization/resources/apps/types/index.d.ts +5 -0
  424. package/serialization/resources/apps/types/index.js +21 -0
  425. package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -0
  426. package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +2 -0
  427. package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +1 -1
  428. package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.js +1 -0
  429. package/serialization/resources/charters/types/CharterEdit.d.ts +17 -0
  430. package/serialization/resources/charters/types/CharterEdit.js +49 -0
  431. package/serialization/resources/charters/types/CharterPayload.d.ts +11 -0
  432. package/serialization/resources/charters/types/CharterPayload.js +45 -0
  433. package/serialization/resources/charters/types/CharterResponse.d.ts +3 -0
  434. package/serialization/resources/charters/types/CharterResponse.js +3 -0
  435. package/serialization/resources/charters/types/CharterSummary.d.ts +3 -0
  436. package/serialization/resources/charters/types/CharterSummary.js +3 -0
  437. package/serialization/resources/charters/types/index.d.ts +2 -0
  438. package/serialization/resources/charters/types/index.js +2 -0
  439. package/serialization/resources/commons/types/ActionResponse.d.ts +2 -0
  440. package/serialization/resources/commons/types/ActionResponse.js +2 -0
  441. package/serialization/resources/commons/types/AttachmentNotSentToModelReason.d.ts +7 -0
  442. package/serialization/resources/commons/types/AttachmentNotSentToModelReason.js +39 -0
  443. package/serialization/resources/commons/types/AttachmentNotSentToModelWarning.d.ts +13 -0
  444. package/serialization/resources/commons/types/AttachmentNotSentToModelWarning.js +45 -0
  445. package/serialization/resources/commons/types/BaseConversationResponse.d.ts +3 -0
  446. package/serialization/resources/commons/types/BaseConversationResponse.js +3 -0
  447. package/serialization/resources/commons/types/BotMessage.d.ts +5 -0
  448. package/serialization/resources/commons/types/BotMessage.js +5 -0
  449. package/serialization/resources/commons/types/BotMessageWarning.d.ts +11 -0
  450. package/serialization/resources/commons/types/BotMessageWarning.js +47 -0
  451. package/serialization/resources/commons/types/CapabilityBase.d.ts +3 -0
  452. package/serialization/resources/commons/types/CapabilityBase.js +3 -0
  453. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  454. package/serialization/resources/commons/types/EntityType.js +1 -0
  455. package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -0
  456. package/serialization/resources/commons/types/ErrorMessage.js +2 -0
  457. package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
  458. package/serialization/resources/commons/types/ErrorReason.js +2 -0
  459. package/serialization/resources/commons/types/Feedback.d.ts +2 -0
  460. package/serialization/resources/commons/types/Feedback.js +2 -0
  461. package/serialization/resources/commons/types/FieldError.d.ts +10 -0
  462. package/serialization/resources/commons/types/FieldError.js +42 -0
  463. package/serialization/resources/commons/types/InboxItemBase.d.ts +3 -0
  464. package/serialization/resources/commons/types/InboxItemBase.js +3 -0
  465. package/serialization/resources/commons/types/IntelligentFieldValueResponse.d.ts +2 -0
  466. package/serialization/resources/commons/types/IntelligentFieldValueResponse.js +2 -0
  467. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  468. package/serialization/resources/commons/types/SystemEventName.js +2 -0
  469. package/serialization/resources/commons/types/UserEvent.d.ts +2 -0
  470. package/serialization/resources/commons/types/UserEvent.js +2 -0
  471. package/serialization/resources/commons/types/UserMessage.d.ts +3 -0
  472. package/serialization/resources/commons/types/UserMessage.js +3 -0
  473. package/serialization/resources/commons/types/index.d.ts +4 -0
  474. package/serialization/resources/commons/types/index.js +4 -0
  475. package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  476. package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  477. package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +2 -0
  478. package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +2 -0
  479. package/serialization/resources/conversationKickoffs/types/ConversationKickoff.d.ts +2 -0
  480. package/serialization/resources/conversationKickoffs/types/ConversationKickoff.js +2 -0
  481. package/serialization/resources/developersCommons/types/AppDirectoryDetails.d.ts +13 -0
  482. package/serialization/resources/developersCommons/types/AppDirectoryDetails.js +46 -0
  483. package/serialization/resources/developersCommons/types/AppDirectoryListing.d.ts +14 -0
  484. package/serialization/resources/developersCommons/types/AppDirectoryListing.js +46 -0
  485. package/serialization/resources/developersCommons/types/BaseApp.d.ts +2 -7
  486. package/serialization/resources/developersCommons/types/BaseApp.js +5 -8
  487. package/serialization/resources/developersCommons/types/BaseDetailApp.d.ts +3 -7
  488. package/serialization/resources/developersCommons/types/BaseDetailApp.js +3 -7
  489. package/serialization/resources/developersCommons/types/index.d.ts +2 -0
  490. package/serialization/resources/developersCommons/types/index.js +2 -0
  491. package/serialization/resources/index.d.ts +7 -0
  492. package/serialization/resources/index.js +8 -1
  493. package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +17 -0
  494. package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.js +49 -0
  495. package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +13 -0
  496. package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.js +47 -0
  497. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +0 -3
  498. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +0 -3
  499. package/serialization/resources/intelligentFields/types/index.d.ts +2 -0
  500. package/serialization/resources/intelligentFields/types/index.js +2 -0
  501. package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +2 -0
  502. package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +2 -0
  503. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
  504. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +5 -0
  505. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +3 -0
  506. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +3 -0
  507. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +3 -0
  508. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +3 -0
  509. package/serialization/resources/organizations/types/Organization.d.ts +5 -0
  510. package/serialization/resources/organizations/types/Organization.js +5 -0
  511. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +8 -0
  512. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +8 -0
  513. package/serialization/resources/triggers/types/DebounceWait.d.ts +11 -0
  514. package/serialization/resources/triggers/types/DebounceWait.js +45 -0
  515. package/serialization/resources/triggers/types/DelayWait.d.ts +11 -0
  516. package/serialization/resources/triggers/types/DelayWait.js +45 -0
  517. package/serialization/resources/triggers/types/EventTriggerBase.d.ts +6 -0
  518. package/serialization/resources/triggers/types/EventTriggerBase.js +6 -0
  519. package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -0
  520. package/serialization/resources/triggers/types/EventTriggerRequest.js +2 -0
  521. package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +4 -0
  522. package/serialization/resources/triggers/types/EventTriggerResponse.js +4 -0
  523. package/serialization/resources/triggers/types/IntervalSchedule.d.ts +14 -0
  524. package/serialization/resources/triggers/types/IntervalSchedule.js +46 -0
  525. package/serialization/resources/triggers/types/ScheduleInterval.d.ts +7 -0
  526. package/serialization/resources/triggers/types/ScheduleInterval.js +39 -0
  527. package/serialization/resources/triggers/types/ScheduleSpec.d.ts +11 -0
  528. package/serialization/resources/triggers/types/ScheduleSpec.js +47 -0
  529. package/serialization/resources/triggers/types/TimeSpan.d.ts +11 -0
  530. package/serialization/resources/triggers/types/TimeSpan.js +43 -0
  531. package/serialization/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
  532. package/serialization/resources/triggers/types/TimeSpanUnit.js +39 -0
  533. package/serialization/resources/triggers/types/TriggerRateLimit.d.ts +13 -0
  534. package/serialization/resources/triggers/types/TriggerRateLimit.js +45 -0
  535. package/serialization/resources/triggers/types/TriggerSchedule.d.ts +12 -0
  536. package/serialization/resources/triggers/types/TriggerSchedule.js +44 -0
  537. package/serialization/resources/triggers/types/TriggerWait.d.ts +15 -0
  538. package/serialization/resources/triggers/types/TriggerWait.js +49 -0
  539. package/serialization/resources/triggers/types/TriggerWaitBase.d.ts +10 -0
  540. package/serialization/resources/triggers/types/TriggerWaitBase.js +42 -0
  541. package/serialization/resources/triggers/types/index.d.ts +11 -0
  542. package/serialization/resources/triggers/types/index.js +11 -0
  543. package/serialization/resources/users/types/AgentUser.d.ts +3 -0
  544. package/serialization/resources/users/types/AgentUser.js +3 -0
  545. package/serialization/resources/workingSet/index.d.ts +1 -0
  546. package/serialization/resources/workingSet/index.js +17 -0
  547. package/serialization/resources/workingSet/types/VariantDebugInfo.d.ts +10 -0
  548. package/serialization/resources/workingSet/types/VariantDebugInfo.js +42 -0
  549. package/serialization/resources/workingSet/types/index.d.ts +1 -0
  550. package/serialization/resources/workingSet/types/index.js +17 -0
  551. package/version.d.ts +1 -1
  552. package/version.js +1 -1
@@ -6,6 +6,19 @@ export interface InboxItemBase {
6
6
  createdAt: Date;
7
7
  /** Timestamp when the inbox item was last updated. */
8
8
  updatedAt: Date;
9
+ /**
10
+ * Who raised the inbox item. Maven raises missing-knowledge and duplicate-document items in
11
+ * the background, so they read "Maven AGI" with no `actingAppId`. A custom item names the
12
+ * app that created it, or the person it acted for. Absent when no one was recorded.
13
+ */
14
+ createdBy?: MavenAGI.ChangeAuthor;
15
+ /**
16
+ * Who last changed the inbox item, as `updatedAt` dates it, such as by changing its status.
17
+ * "Maven AGI" when Maven last changed it in the background. An item that changes because a
18
+ * fix was applied to another item names whoever applied that fix. Absent when no one was
19
+ * recorded.
20
+ */
21
+ updatedBy?: MavenAGI.ChangeAuthor;
9
22
  /** Status of the inbox item. */
10
23
  status: MavenAGI.InboxItemStatus;
11
24
  /** Severity of the inbox item. */
@@ -6,9 +6,17 @@ import type * as MavenAGI from "../../../index";
6
6
  * the ID of the intelligent field (<referenceId, appId>). Available
7
7
  * operators and the corresponding types of the RHS depends on the
8
8
  * validationType of the intelligent field.
9
+ *
10
+ * The field must be active and must have entityType `CONVERSATION`. A
11
+ * precondition that names an `AGENT_USER` field is rejected, because a
12
+ * user field has no value on a conversation.
9
13
  */
10
14
  export interface IntelligentFieldPrecondition {
11
- /** The ID of the intelligent field. */
15
+ /**
16
+ * The ID of the intelligent field. It must be an active field with entityType `CONVERSATION`.
17
+ * `appId` is the app that created the field (for example `agent-designer` for a field made in
18
+ * Agent Designer); a field that doesn't exist under that app is rejected with a 404.
19
+ */
12
20
  fieldIdWithoutAgent: MavenAGI.EntityIdWithoutAgent;
13
21
  /** The condition to evaluate against the field's value. */
14
22
  fieldCondition: MavenAGI.FieldCondition;
@@ -22,7 +22,10 @@ import type * as MavenAGI from "../../../index";
22
22
  * value: "HIGH",
23
23
  * confidence: 0.95,
24
24
  * rationale: "The conversation mentions a production outage affecting multiple customers, indicating high urgency and impact.",
25
- * createdAt: new Date("2024-01-15T10:30:00.000Z")
25
+ * createdAt: new Date("2024-01-15T10:30:00.000Z"),
26
+ * createdBy: {
27
+ * name: "Maven AGI"
28
+ * }
26
29
  * }
27
30
  */
28
31
  export interface IntelligentFieldValueResponse {
@@ -40,4 +43,13 @@ export interface IntelligentFieldValueResponse {
40
43
  rationale?: string;
41
44
  /** The date and time this value was computed */
42
45
  createdAt?: Date;
46
+ /**
47
+ * Who recorded this value. Most values are computed in the background and read "Maven AGI"
48
+ * with no `actingAppId`. A value computed for a caller's request can name that caller
49
+ * instead, or read "Anonymous" when it was saved with no signed-in caller. Only
50
+ * `intelligentFields.searchValues` returns it; the values a conversation or agent user
51
+ * response carries come from the search index, which stores no author, so they never have
52
+ * it. Absent when no one was recorded.
53
+ */
54
+ createdBy?: MavenAGI.ChangeAuthor;
43
55
  }
@@ -39,8 +39,8 @@ export declare const ResolutionStatus: {
39
39
  * transcript found a handoff, or a handoff action that Maven recognizes ran successfully.
40
40
  * The AI analysis can be wrong. Once escalation is detected, later messages do not undo
41
41
  * it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Agent
42
- * Assist copilot conversations are never `ESCALATED`, in any mode: those tagged `copilot`
43
- * or `copilot-research` count as `RESOLVED` instead, and copilot chat and Advice
42
+ * Assist copilot conversations are never `ESCALATED`, in any mode: those tagged `copilot`,
43
+ * `copilot-research` or `copilot-advice` count as `RESOLVED` instead, and copilot chat
44
44
  * conversations are `INELIGIBLE`. Billing status: not billable. Shown in Agent
45
45
  * Designer as "Escalated". */
46
46
  readonly Escalated: "ESCALATED";
@@ -66,8 +66,8 @@ export declare const ResolutionStatus: {
66
66
  * status: not eligible. Shown in Agent Designer as "Hangup". */
67
67
  readonly Hangup: "HANGUP";
68
68
  /**
69
- * A copilot chat or Advice conversation (tagged `copilot-chat` or `copilot-advice`). Other
70
- * Agent Assist copilot conversations, such as those tagged `copilot` or `copilot-research`,
69
+ * A copilot chat conversation (tagged `copilot-chat`). Other Agent Assist copilot
70
+ * conversations, such as those tagged `copilot`, `copilot-research` or `copilot-advice`,
71
71
  * keep the normal statuses but are never `ESCALATED`. Billing status: not eligible. Shown in
72
72
  * Agent Designer as "Ineligible". Not the same as the `INELIGIBLE` billing status, which
73
73
  * covers every not eligible status. */
@@ -43,8 +43,8 @@ exports.ResolutionStatus = {
43
43
  * transcript found a handoff, or a handoff action that Maven recognizes ran successfully.
44
44
  * The AI analysis can be wrong. Once escalation is detected, later messages do not undo
45
45
  * it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Agent
46
- * Assist copilot conversations are never `ESCALATED`, in any mode: those tagged `copilot`
47
- * or `copilot-research` count as `RESOLVED` instead, and copilot chat and Advice
46
+ * Assist copilot conversations are never `ESCALATED`, in any mode: those tagged `copilot`,
47
+ * `copilot-research` or `copilot-advice` count as `RESOLVED` instead, and copilot chat
48
48
  * conversations are `INELIGIBLE`. Billing status: not billable. Shown in Agent
49
49
  * Designer as "Escalated". */
50
50
  Escalated: "ESCALATED",
@@ -70,8 +70,8 @@ exports.ResolutionStatus = {
70
70
  * status: not eligible. Shown in Agent Designer as "Hangup". */
71
71
  Hangup: "HANGUP",
72
72
  /**
73
- * A copilot chat or Advice conversation (tagged `copilot-chat` or `copilot-advice`). Other
74
- * Agent Assist copilot conversations, such as those tagged `copilot` or `copilot-research`,
73
+ * A copilot chat conversation (tagged `copilot-chat`). Other Agent Assist copilot
74
+ * conversations, such as those tagged `copilot`, `copilot-research` or `copilot-advice`,
75
75
  * keep the normal statuses but are never `ESCALATED`. Billing status: not eligible. Shown in
76
76
  * Agent Designer as "Ineligible". Not the same as the `INELIGIBLE` billing status, which
77
77
  * covers every not eligible status. */
@@ -7,9 +7,8 @@ export interface SimulationSetupFields {
7
7
  * When true, the simulation evaluates the agent's charters even if charter evaluation is
8
8
  * turned off for the agent. When absent or false, the simulation follows the agent's own
9
9
  * charter evaluation setting, like any other conversation. While charters are evaluated,
10
- * `additionalPromptText` has no effect. Not yet enabled for every agent: until it is, the
11
- * value is stored and returned, and the agent's own setting applies. A conversation that
12
- * already exists keeps the value it was created with.
10
+ * `additionalPromptText` has no effect. A conversation that already exists keeps the value
11
+ * it was created with.
13
12
  */
14
13
  evaluateWithCharters?: boolean;
15
14
  /**
@@ -41,8 +41,14 @@ export declare const SystemEventName: {
41
41
  /**
42
42
  * The user sent a message in a conversation. `references` carries the conversation and the message. Unlike `BOT_REPLY_CREATED`, it is recorded as soon as Maven saves the message, without waiting for analysis. Each message is recorded once. */
43
43
  readonly UserMessageCreated: "USER_MESSAGE_CREATED";
44
+ /**
45
+ * A scheduled event trigger came due. `references` carries the trigger, and `contextInfo.additionalData` carries the time it was due as `scheduledFor`. Maven saves one per fire, and only that trigger receives it: no other trigger can match one, so a schedule fire never starts a chain of triggers. A trigger condition that names it is rejected with 400. In development. */
46
+ readonly TriggerScheduleFired: "TRIGGER_SCHEDULE_FIRED";
44
47
  /**
45
48
  * 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. */
46
49
  readonly IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED";
50
+ /**
51
+ * An agent was created. Maven records this event for the organization, not for the new agent, so Maven's record of it is not returned by an agent's event search and does not fire an agent's triggers. Agents created before this event existed have none, and a rare failure can leave one out. */
52
+ readonly AgentCreated: "AGENT_CREATED";
47
53
  };
48
54
  export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName] | string;
@@ -45,7 +45,13 @@ exports.SystemEventName = {
45
45
  /**
46
46
  * The user sent a message in a conversation. `references` carries the conversation and the message. Unlike `BOT_REPLY_CREATED`, it is recorded as soon as Maven saves the message, without waiting for analysis. Each message is recorded once. */
47
47
  UserMessageCreated: "USER_MESSAGE_CREATED",
48
+ /**
49
+ * A scheduled event trigger came due. `references` carries the trigger, and `contextInfo.additionalData` carries the time it was due as `scheduledFor`. Maven saves one per fire, and only that trigger receives it: no other trigger can match one, so a schedule fire never starts a chain of triggers. A trigger condition that names it is rejected with 400. In development. */
50
+ TriggerScheduleFired: "TRIGGER_SCHEDULE_FIRED",
48
51
  /**
49
52
  * 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. */
50
53
  IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED",
54
+ /**
55
+ * An agent was created. Maven records this event for the organization, not for the new agent, so Maven's record of it is not returned by an agent's event search and does not fire an agent's triggers. Agents created before this event existed have none, and a rare failure can leave one out. */
56
+ AgentCreated: "AGENT_CREATED",
51
57
  };
@@ -4,6 +4,14 @@ 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
+ /**
8
+ * Who recorded the event: the caller of `events.create`, or of `conversation.createFeedback` for
9
+ * feedback Maven also records as an event. That is the person an app acted for when they were
10
+ * signed in to Maven, or the app itself when it acted for no one. It is not the user the event is
11
+ * about, which is `userInfo`. A developer app's `eventCreatedOrUpdated` hook doesn't receive it.
12
+ * Absent when no one was recorded.
13
+ */
14
+ createdBy?: MavenAGI.ChangeAuthor;
7
15
  /** The name of the event. Shown in Agent Designer as "Event type". */
8
16
  eventName: MavenAGI.UserEventName;
9
17
  /** Information about the user who triggered the event */
@@ -19,6 +19,10 @@ export interface UserMessage extends MavenAGI.UserMessageBase {
19
19
  * * `UNKNOWN`: The message status is unknown.
20
20
  */
21
21
  status: MavenAGI.MessageStatus;
22
+ /** Who sent the request that added this message. This is the caller, such as an app or a person signed in through one, not necessarily the user in `userId`. Absent when no one was recorded. */
23
+ createdBy?: MavenAGI.ChangeAuthor;
24
+ /** Who last changed this message, as `updatedAt` dates it. Absent when no one was recorded. */
25
+ updatedBy?: MavenAGI.ChangeAuthor;
22
26
  /**
23
27
  * Only present on newer messaged where `userMessageType` is `USER`.
24
28
  * Indicates the state of the answer to the user message.
@@ -21,6 +21,8 @@ export * from "./AppUserRequest";
21
21
  export * from "./AppUserResponse";
22
22
  export * from "./ArraySettingsSchemaEntry";
23
23
  export * from "./AskType";
24
+ export * from "./AttachmentNotSentToModelReason";
25
+ export * from "./AttachmentNotSentToModelWarning";
24
26
  export * from "./AttachmentRequest";
25
27
  export * from "./AttachmentResponse";
26
28
  export * from "./AttachmentStatus";
@@ -52,6 +54,7 @@ export * from "./BotLogicSteeringItem";
52
54
  export * from "./BotLogicUserItem";
53
55
  export * from "./BotMessage";
54
56
  export * from "./BotMessageStatusReason";
57
+ export * from "./BotMessageWarning";
55
58
  export * from "./BotOAuthButtonResponse";
56
59
  export * from "./BotObjectResponse";
57
60
  export * from "./BotResponse";
@@ -131,6 +134,7 @@ export * from "./FeedbackBase";
131
134
  export * from "./FeedbackInfo";
132
135
  export * from "./FeedbackType";
133
136
  export * from "./FieldCondition";
137
+ export * from "./FieldError";
134
138
  export * from "./FunctionVersionBinding";
135
139
  export * from "./GeoInfo";
136
140
  export * from "./HarmfulContentAnalysis";
@@ -37,6 +37,8 @@ __exportStar(require("./AppUserRequest"), exports);
37
37
  __exportStar(require("./AppUserResponse"), exports);
38
38
  __exportStar(require("./ArraySettingsSchemaEntry"), exports);
39
39
  __exportStar(require("./AskType"), exports);
40
+ __exportStar(require("./AttachmentNotSentToModelReason"), exports);
41
+ __exportStar(require("./AttachmentNotSentToModelWarning"), exports);
40
42
  __exportStar(require("./AttachmentRequest"), exports);
41
43
  __exportStar(require("./AttachmentResponse"), exports);
42
44
  __exportStar(require("./AttachmentStatus"), exports);
@@ -68,6 +70,7 @@ __exportStar(require("./BotLogicSteeringItem"), exports);
68
70
  __exportStar(require("./BotLogicUserItem"), exports);
69
71
  __exportStar(require("./BotMessage"), exports);
70
72
  __exportStar(require("./BotMessageStatusReason"), exports);
73
+ __exportStar(require("./BotMessageWarning"), exports);
71
74
  __exportStar(require("./BotOAuthButtonResponse"), exports);
72
75
  __exportStar(require("./BotObjectResponse"), exports);
73
76
  __exportStar(require("./BotResponse"), exports);
@@ -147,6 +150,7 @@ __exportStar(require("./FeedbackBase"), exports);
147
150
  __exportStar(require("./FeedbackInfo"), exports);
148
151
  __exportStar(require("./FeedbackType"), exports);
149
152
  __exportStar(require("./FieldCondition"), exports);
153
+ __exportStar(require("./FieldError"), exports);
150
154
  __exportStar(require("./FunctionVersionBinding"), exports);
151
155
  __exportStar(require("./GeoInfo"), exports);
152
156
  __exportStar(require("./HarmfulContentAnalysis"), exports);
@@ -16,6 +16,9 @@ export declare class ConversationClient {
16
16
  *
17
17
  * Conversations can not be modified using this API. If the conversation already exists then the existing conversation will be returned.
18
18
  *
19
+ * The conversation belongs to the calling app. Whether it is a simulation is fixed here, when it is created: pass
20
+ * `simulationContext` to make it one.
21
+ *
19
22
  * After initialization,
20
23
  * - metadata can be changed using the `updateConversationMetadata` API.
21
24
  * - messages can be added to the conversation with the `appendNewMessages` or `ask` APIs.
@@ -142,7 +145,7 @@ export declare class ConversationClient {
142
145
  *
143
146
  * <Warning>This is a destructive operation and cannot be undone. <br/><br/>
144
147
  * What is wiped: the conversation's `subject` and `analysis.agentResponse` are cleared, and `analysis.userRequest` is replaced with `reason`.
145
- * 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.
148
+ * Every message's text, from the user and the agent alike, is replaced with `reason`, and its attachments and attachment warnings, follow-up questions, backend LLM prompt and history, the data actions returned, and action arguments are cleared.
146
149
  * Evaluation results for the conversation are deleted, the payloads recorded on its trigger and action executions are cleared, and the message recorded on each of its Conversation Kickoff executions is cleared. <br/><br/>
147
150
  * 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>
148
151
  *
@@ -213,6 +216,16 @@ export declare class ConversationClient {
213
216
  * Get an answer from Maven for a given user question. If the user question or its answer already exists,
214
217
  * they will be reused and will not be updated. Messages do not allow modification once generated.
215
218
  *
219
+ * If no conversation with this ID exists for the calling app, `ask` creates one, and it is live, not a simulation:
220
+ * its actions run against real systems. To test without acting on real systems, call `initialize` first with a
221
+ * `simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling app only, so
222
+ * the ID of a conversation another app created starts a new conversation under the calling app rather than
223
+ * continuing that one.
224
+ *
225
+ * The response leaves out each message's `logic`. Its `summary` and `analysis` are calculated on a delay, so they
226
+ * may not reflect this answer yet (for example `summary.matchedCharterIds` or `analysis.intelligentFieldValues`);
227
+ * read them later with `get`.
228
+ *
216
229
  * A closed conversation (`open` set to false) takes no new questions and returns a 400.
217
230
  *
218
231
  * Concurrency Behavior:
@@ -263,6 +276,12 @@ export declare class ConversationClient {
263
276
  * The text portions of stream responses should be concatenated to form the full response text.
264
277
  * Action and metadata events should overwrite past data and do not need concatenation.
265
278
  *
279
+ * If no conversation with this ID exists for the calling app, `askStream` creates one, and it is live, not a
280
+ * simulation: its actions run against real systems. To test without acting on real systems, call `initialize`
281
+ * first with a `simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling
282
+ * app only, so the ID of a conversation another app created starts a new conversation under the calling app rather
283
+ * than continuing that one.
284
+ *
266
285
  * If the user question or its answer already exists, they will be reused and will not be updated.
267
286
  * Messages do not allow modification once generated.
268
287
  *
@@ -64,6 +64,9 @@ class ConversationClient {
64
64
  *
65
65
  * Conversations can not be modified using this API. If the conversation already exists then the existing conversation will be returned.
66
66
  *
67
+ * The conversation belongs to the calling app. Whether it is a simulation is fixed here, when it is created: pass
68
+ * `simulationContext` to make it one.
69
+ *
67
70
  * After initialization,
68
71
  * - metadata can be changed using the `updateConversationMetadata` API.
69
72
  * - messages can be added to the conversation with the `appendNewMessages` or `ask` APIs.
@@ -443,7 +446,7 @@ class ConversationClient {
443
446
  *
444
447
  * <Warning>This is a destructive operation and cannot be undone. <br/><br/>
445
448
  * What is wiped: the conversation's `subject` and `analysis.agentResponse` are cleared, and `analysis.userRequest` is replaced with `reason`.
446
- * 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.
449
+ * Every message's text, from the user and the agent alike, is replaced with `reason`, and its attachments and attachment warnings, follow-up questions, backend LLM prompt and history, the data actions returned, and action arguments are cleared.
447
450
  * Evaluation results for the conversation are deleted, the payloads recorded on its trigger and action executions are cleared, and the message recorded on each of its Conversation Kickoff executions is cleared. <br/><br/>
448
451
  * 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>
449
452
  *
@@ -678,6 +681,16 @@ class ConversationClient {
678
681
  * Get an answer from Maven for a given user question. If the user question or its answer already exists,
679
682
  * they will be reused and will not be updated. Messages do not allow modification once generated.
680
683
  *
684
+ * If no conversation with this ID exists for the calling app, `ask` creates one, and it is live, not a simulation:
685
+ * its actions run against real systems. To test without acting on real systems, call `initialize` first with a
686
+ * `simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling app only, so
687
+ * the ID of a conversation another app created starts a new conversation under the calling app rather than
688
+ * continuing that one.
689
+ *
690
+ * The response leaves out each message's `logic`. Its `summary` and `analysis` are calculated on a delay, so they
691
+ * may not reflect this answer yet (for example `summary.matchedCharterIds` or `analysis.intelligentFieldValues`);
692
+ * read them later with `get`.
693
+ *
681
694
  * A closed conversation (`open` set to false) takes no new questions and returns a 400.
682
695
  *
683
696
  * Concurrency Behavior:
@@ -810,6 +823,12 @@ class ConversationClient {
810
823
  * The text portions of stream responses should be concatenated to form the full response text.
811
824
  * Action and metadata events should overwrite past data and do not need concatenation.
812
825
  *
826
+ * If no conversation with this ID exists for the calling app, `askStream` creates one, and it is live, not a
827
+ * simulation: its actions run against real systems. To test without acting on real systems, call `initialize`
828
+ * first with a `simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling
829
+ * app only, so the ID of a conversation another app created starts a new conversation under the calling app rather
830
+ * than continuing that one.
831
+ *
813
832
  * If the user question or its answer already exists, they will be reused and will not be updated.
814
833
  * Messages do not allow modification once generated.
815
834
  *
@@ -7,6 +7,6 @@ export interface ConversationGetRequest {
7
7
  appId?: string;
8
8
  /** The language to translate the conversation analysis into */
9
9
  translationLanguage?: string;
10
- /** Whether to return `logic` on each bot message. Defaults to `true`. Pass `false` to leave it out, which makes the response much smaller. */
10
+ /** Whether to return `logic` on each bot message. Defaults to `true`. Pass `false` to leave it out, which makes the response much smaller. Its `knowledge` item lists the documents the agent reviewed and used, including ones without a URL that `metadata.sources` leaves out. */
11
11
  includeLogic?: boolean;
12
12
  }
@@ -20,8 +20,9 @@ export interface AskRequestFields {
20
20
  */
21
21
  text?: string;
22
22
  /**
23
- * The attachments to the message. Image attachments will be sent to the LLM as additional data.
24
- * Non-image attachments can be stored and downloaded from the API but will not be sent to the LLM.
23
+ * The attachments to the message. Image and PDF attachments within the LLM's size limit are sent to the LLM as additional data.
24
+ * Other attachments can be stored and downloaded from the API but are not sent to the LLM.
25
+ * The bot message, as returned by `ask` or a conversation read, lists each attachment the LLM did not see in its `warnings`.
25
26
  */
26
27
  attachments?: MavenAGI.AttachmentRequest[];
27
28
  /** Transient data which the Maven platform will not persist. This data will only be forwarded to actions taken by this ask request. For example, one may put in user tokens as transient data. */
@@ -2,7 +2,7 @@
2
2
  * Fields used to filter conversations by billing status:
3
3
  * - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status. Shown in Agent Designer as "Billable".
4
4
  * - ELIGIBLE_AND_NOT_BILLABLE: Eligible conversations that are not RESOLVED. Shown in Agent Designer as "Not billable". Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
5
- * - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible". This differs from the INELIGIBLE resolution status, which covers copilot chat and Advice conversations only.
5
+ * - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible". This differs from the INELIGIBLE resolution status, which covers copilot chat conversations only.
6
6
  *
7
7
  * Resolution-based pricing bills ELIGIBLE_AND_BILLABLE conversations. Volume-based pricing, used
8
8
  * for Voice and Proactive, bills ELIGIBLE_AND_BILLABLE and ELIGIBLE_AND_NOT_BILLABLE conversations.
@@ -6,7 +6,7 @@ exports.BillableFilterField = void 0;
6
6
  * Fields used to filter conversations by billing status:
7
7
  * - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status. Shown in Agent Designer as "Billable".
8
8
  * - ELIGIBLE_AND_NOT_BILLABLE: Eligible conversations that are not RESOLVED. Shown in Agent Designer as "Not billable". Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
9
- * - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible". This differs from the INELIGIBLE resolution status, which covers copilot chat and Advice conversations only.
9
+ * - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible". This differs from the INELIGIBLE resolution status, which covers copilot chat conversations only.
10
10
  *
11
11
  * Resolution-based pricing bills ELIGIBLE_AND_BILLABLE conversations. Volume-based pricing, used
12
12
  * for Voice and Proactive, bills ELIGIBLE_AND_BILLABLE and ELIGIBLE_AND_NOT_BILLABLE conversations.
@@ -109,13 +109,13 @@ export interface ConversationFilter {
109
109
  */
110
110
  matchedSegmentIds?: MavenAGI.EntityIdFilter[];
111
111
  /**
112
- * Filter by the charters that any bot-response message on a conversation matched.
112
+ * Filter by the charters that any bot reply on a conversation matched, Copilot suggestions included.
113
113
  * References without a matching charter for the calling agent contribute nothing
114
114
  * to the filter — they neither error nor warn, they simply produce no matches.
115
115
  */
116
116
  matchedCharterIds?: MavenAGI.EntityIdFilter[];
117
117
  /**
118
- * Filter by whether any bot-response message in the conversation ran in charter mode.
118
+ * Filter by whether any bot reply in the conversation, Copilot suggestions included, ran in charter mode.
119
119
  * Omit to match every conversation regardless of charter state.
120
120
  */
121
121
  anyMsgCharterMode?: boolean;
@@ -64,7 +64,8 @@ export interface ConversationRequest extends MavenAGI.ConversationSetupFields {
64
64
  /**
65
65
  * Additional context used for simulation runs. When provided, this conversation will be treated as a simulation and
66
66
  * may only be created by apps with the appropriate permission. Simulation conversations are excluded from normal
67
- * search results unless explicitly included via the `simulationFilter` field.
67
+ * search results unless explicitly included via the `simulationFilter` field. It applies only when the conversation
68
+ * is created: initializing an existing conversation with it does not turn that conversation into a simulation.
68
69
  */
69
70
  simulationContext?: MavenAGI.SimulationContext;
70
71
  /** The subject of the conversation */
@@ -10,6 +10,19 @@ export declare const NumericConversationField: {
10
10
  readonly Csat: "Csat";
11
11
  readonly ActionExecutionCount: "ActionExecutionCount";
12
12
  readonly ActionErrorCount: "ActionErrorCount";
13
+ /**
14
+ * How long each action call took, in milliseconds. Measured per action call rather than per
15
+ * conversation, so a conversation with twenty calls contributes twenty values. A call with
16
+ * no measured duration contributes none, rather than zero: one that timed out or threw
17
+ * before it ran, and every call recorded before per-action timing (September 2026).
18
+ *
19
+ * Grouping by `Actions` with this metric gives one series per action, each holding only
20
+ * that action's calls; an action none of whose calls has a duration has no series, and the `actions` filter narrows the calls measured to those actions.
21
+ * That grouping has to be the last one (in a bar chart, the `barDefinition`, not the
22
+ * `verticalGrouping`), and every metric in the request has to be `ActionDuration`. Grouping by `ErroredActions` or `IncompleteActions` is rejected, since
23
+ * those group conversations, not calls. A group or interval with no measured call has no
24
+ * value for an average, minimum, maximum, median or percentile, rather than zero. */
25
+ readonly ActionDuration: "ActionDuration";
13
26
  /**
14
27
  * Selects a NUMBER-validated intelligent field rather than a built-in numeric field.
15
28
  * When used, `intelligentFieldId` must also be set to identify which field. */
@@ -14,6 +14,19 @@ exports.NumericConversationField = {
14
14
  Csat: "Csat",
15
15
  ActionExecutionCount: "ActionExecutionCount",
16
16
  ActionErrorCount: "ActionErrorCount",
17
+ /**
18
+ * How long each action call took, in milliseconds. Measured per action call rather than per
19
+ * conversation, so a conversation with twenty calls contributes twenty values. A call with
20
+ * no measured duration contributes none, rather than zero: one that timed out or threw
21
+ * before it ran, and every call recorded before per-action timing (September 2026).
22
+ *
23
+ * Grouping by `Actions` with this metric gives one series per action, each holding only
24
+ * that action's calls; an action none of whose calls has a duration has no series, and the `actions` filter narrows the calls measured to those actions.
25
+ * That grouping has to be the last one (in a bar chart, the `barDefinition`, not the
26
+ * `verticalGrouping`), and every metric in the request has to be `ActionDuration`. Grouping by `ErroredActions` or `IncompleteActions` is rejected, since
27
+ * those group conversations, not calls. A group or interval with no measured call has no
28
+ * value for an average, minimum, maximum, median or percentile, rather than zero. */
29
+ ActionDuration: "ActionDuration",
17
30
  /**
18
31
  * Selects a NUMBER-validated intelligent field rather than a built-in numeric field.
19
32
  * When used, `intelligentFieldId` must also be set to identify which field. */
@@ -3,6 +3,6 @@ export interface SubmitActionFormRequest {
3
3
  actionFormId: string;
4
4
  /** Map of parameter IDs to values provided by the user. All required action fields must be provided. */
5
5
  parameters: Record<string, MavenAGI.ActionFormRequestParamValue>;
6
- /** Transient data which the Maven platform will not persist. This data will only be forwarded to actions taken. For example, one may put in user tokens as transient data. */
6
+ /** Transient data which the Maven platform will not persist. It is forwarded to the submitted form's action and to any actions the agent runs in its response to the submission, whichever app owns each action. For example, one may put in user tokens as transient data. */
7
7
  transientData?: Record<string, string>;
8
8
  }
@@ -19,4 +19,9 @@ export interface CreateConversationKickoffRequest {
19
19
  name: string;
20
20
  /** What the kickoff does, shown to whoever manages the agent. */
21
21
  description?: string;
22
+ /**
23
+ * The Function version to bind this kickoff to. A bound kickoff runs exactly this
24
+ * version. Omitting it keeps the kickoff's existing binding.
25
+ */
26
+ functionBinding?: MavenAGI.FunctionVersionBinding;
22
27
  }
@@ -24,4 +24,6 @@ import type * as MavenAGI from "../../../index";
24
24
  export interface ConversationKickoff extends MavenAGI.CapabilityBase {
25
25
  /** ID that uniquely identifies this Conversation Kickoff. */
26
26
  kickoffId: MavenAGI.EntityId;
27
+ /** The Function version this kickoff runs. Absent when the app's own handler runs it. */
28
+ functionBinding?: MavenAGI.FunctionVersionBinding;
27
29
  }
@@ -0,0 +1,23 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * What an app's page in the app directory shows about installing and using it. Its organization sets these.
4
+ */
5
+ export interface AppDirectoryDetails {
6
+ /**
7
+ * Guidance shown while installing the app, for example how to obtain the credentials it asks for.
8
+ * May use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders) such as `${agentId}`.
9
+ */
10
+ installationInstructions?: string;
11
+ /** Guidance shown once the app is installed. May use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders), settings included. */
12
+ instructions?: string;
13
+ /**
14
+ * Supporting links published by the author, such as documentation or a privacy policy. Their URLs
15
+ * may use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders) such as `${appHost}`, but never settings: links are public.
16
+ */
17
+ links: MavenAGI.Link[];
18
+ /**
19
+ * The settings the app accepts. Drives the install form, and describes which values are files
20
+ * rather than plain values.
21
+ */
22
+ settingsSchema: MavenAGI.SettingsSchema;
23
+ }
@@ -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
+ * How an app is described on its card in the app directory. Its organization sets these.
4
+ */
5
+ export interface AppDirectoryListing {
6
+ /** Full description shown on the app's detail page. */
7
+ description?: string;
8
+ /** One-line summary shown on the app's card in the directory listing. */
9
+ shortDescription?: string;
10
+ /** Categories the app is filed under in the directory. */
11
+ categories: MavenAGI.AppCategory[];
12
+ /** The kinds of functionality the app provides, such as actions, triggers, or knowledge bases. */
13
+ capabilities: MavenAGI.AppCapability[];
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 });
@@ -2,7 +2,7 @@ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * The fields every app exposes, whatever the surface it is returned from.
4
4
  */
5
- export interface BaseApp {
5
+ export interface BaseApp extends MavenAGI.AppDirectoryListing {
6
6
  /** Unique, immutable identifier for the app, used as `appId` everywhere in the API. */
7
7
  id: string;
8
8
  /** Display name shown in the app directory. */
@@ -17,16 +17,8 @@ export interface BaseApp {
17
17
  * yet listed.
18
18
  */
19
19
  visibility: MavenAGI.AppVisibility;
20
- /** Full description shown on the app's detail page. */
21
- description?: string;
22
- /** One-line summary shown on the app's card in the directory listing. */
23
- shortDescription?: string;
24
20
  /** URL of the app's logo. Presigned and short-lived when the logo is stored by Maven. */
25
21
  logoUrl?: string;
26
- /** Categories the app is filed under in the directory. */
27
- categories: MavenAGI.AppCategory[];
28
- /** The kinds of functionality the app provides, such as actions, triggers, or knowledge bases. */
29
- capabilities: MavenAGI.AppCapability[];
30
22
  /** Whether this app is an auto-provisioned agent app created for a specific agent. */
31
23
  isAgentApp?: boolean;
32
24
  }
@@ -2,27 +2,10 @@ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * An app with the extra detail needed to render its page and drive installation.
4
4
  */
5
- export interface BaseDetailApp extends MavenAGI.BaseApp {
6
- /**
7
- * Guidance shown while installing the app, for example how to obtain the credentials it asks for.
8
- * May use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders) such as `${agentId}`.
9
- */
10
- installationInstructions?: string;
11
- /** Guidance shown once the app is installed. May use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders), settings included. */
12
- instructions?: string;
5
+ export interface BaseDetailApp extends MavenAGI.BaseApp, MavenAGI.AppDirectoryDetails {
13
6
  /**
14
7
  * URL of a preview image or demo for the app's detail page. May use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders) such as
15
8
  * `${appHost}` and `${settings.region}`.
16
9
  */
17
10
  previewUrl?: string;
18
- /**
19
- * Supporting links published by the author, such as documentation or a privacy policy. Their URLs
20
- * may use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders) such as `${appHost}`, but never settings: links are public.
21
- */
22
- links: MavenAGI.Link[];
23
- /**
24
- * The settings the app accepts. Drives the install form, and describes which values are files
25
- * rather than plain values.
26
- */
27
- settingsSchema: MavenAGI.SettingsSchema;
28
11
  }