mavenagi 1.2.69 → 1.2.71

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 (275) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +3 -1
  3. package/api/resources/agents/types/AgentPrompting.d.ts +4 -3
  4. package/api/resources/appSettings/client/Client.d.ts +2 -0
  5. package/api/resources/appSettings/client/Client.js +2 -0
  6. package/api/resources/assets/client/Client.d.ts +5 -0
  7. package/api/resources/assets/client/Client.js +5 -0
  8. package/api/resources/capabilities/client/Client.d.ts +6 -2
  9. package/api/resources/capabilities/client/Client.js +6 -2
  10. package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +4 -25
  11. package/api/resources/capabilities/types/CapabilityRunBase.d.ts +31 -0
  12. package/api/resources/capabilities/types/CapabilityRunBase.js +3 -0
  13. package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +9 -3
  14. package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +7 -1
  15. package/api/resources/capabilities/types/ConversationKickoffSimulationInput.d.ts +6 -0
  16. package/api/resources/capabilities/types/ConversationKickoffSimulationInput.js +3 -0
  17. package/api/resources/capabilities/types/TriggerCapabilityExecution.d.ts +1 -7
  18. package/api/resources/capabilities/types/TriggerRunDetails.d.ts +12 -0
  19. package/api/resources/capabilities/types/TriggerRunDetails.js +3 -0
  20. package/api/resources/capabilities/types/TriggerSimulationInput.d.ts +14 -0
  21. package/api/resources/capabilities/types/TriggerSimulationInput.js +3 -0
  22. package/api/resources/capabilities/types/TriggerSimulationResult.d.ts +7 -0
  23. package/api/resources/capabilities/types/TriggerSimulationResult.js +3 -0
  24. package/api/resources/capabilities/types/index.d.ts +5 -0
  25. package/api/resources/capabilities/types/index.js +5 -0
  26. package/api/resources/commons/types/AbsoluteTimeWindow.d.ts +18 -0
  27. package/api/resources/commons/types/AbsoluteTimeWindow.js +3 -0
  28. package/api/resources/commons/types/ActionEffects.d.ts +18 -0
  29. package/api/resources/commons/types/ActionEffects.js +3 -0
  30. package/api/resources/commons/types/AllUsersConversationAudience.d.ts +1 -0
  31. package/api/resources/commons/types/AllUsersConversationAudience.js +3 -0
  32. package/api/resources/commons/types/AppUser.d.ts +9 -0
  33. package/api/resources/commons/types/ArraySettingsSchemaEntry.d.ts +1 -2
  34. package/api/resources/commons/types/BotLogic.d.ts +9 -0
  35. package/api/resources/commons/types/BotLogicIntelligentFieldsItem.d.ts +10 -0
  36. package/api/resources/commons/types/ChangeAuthor.d.ts +18 -0
  37. package/api/resources/commons/types/ChangeAuthor.js +3 -0
  38. package/api/resources/commons/types/ColorSettingsSchemaEntry.d.ts +1 -2
  39. package/api/resources/commons/types/ConversationAnalysis.d.ts +10 -2
  40. package/api/resources/commons/types/ConversationAudience.d.ts +19 -0
  41. package/api/resources/commons/types/ConversationAudience.js +3 -0
  42. package/api/resources/commons/types/ConversationAudienceResponse.d.ts +16 -0
  43. package/api/resources/commons/types/ConversationAudienceResponse.js +3 -0
  44. package/api/resources/commons/types/ConversationKickoffExecutionResponse.d.ts +1 -1
  45. package/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
  46. package/api/resources/commons/types/ConversationPreconditionResponse.d.ts +4 -1
  47. package/api/resources/commons/types/ConversationResponse.d.ts +8 -0
  48. package/api/resources/commons/types/ConversationSetupFields.d.ts +21 -0
  49. package/api/resources/commons/types/ConversationSetupFields.js +3 -0
  50. package/api/resources/commons/types/CrossOrganizationLevelEntityId.d.ts +7 -0
  51. package/api/resources/commons/types/CrossOrganizationLevelEntityId.js +3 -0
  52. package/api/resources/commons/types/DayOfMonthDaySelector.d.ts +4 -0
  53. package/api/resources/commons/types/DayOfMonthDaySelector.js +3 -0
  54. package/api/resources/commons/types/DayOfWeek.d.ts +10 -0
  55. package/api/resources/commons/types/DayOfWeek.js +13 -0
  56. package/api/resources/commons/types/DaySelector.d.ts +33 -0
  57. package/api/resources/commons/types/DaySelector.js +3 -0
  58. package/api/resources/commons/types/EntityIdBase.d.ts +1 -1
  59. package/api/resources/commons/types/EntityType.d.ts +4 -0
  60. package/api/resources/commons/types/EntityType.js +4 -0
  61. package/api/resources/commons/types/InitializeConversationResponse.d.ts +3 -0
  62. package/api/resources/commons/types/LeveledEntityId.d.ts +28 -0
  63. package/api/resources/commons/types/LeveledEntityId.js +3 -0
  64. package/api/resources/commons/types/Month.d.ts +15 -0
  65. package/api/resources/commons/types/Month.js +18 -0
  66. package/api/resources/commons/types/MultilineSettingsSchemaEntry.d.ts +1 -2
  67. package/api/resources/commons/types/NthWeekdayDaySelector.d.ts +15 -0
  68. package/api/resources/commons/types/NthWeekdayDaySelector.js +3 -0
  69. package/api/resources/commons/types/NumberSettingsSchemaEntry.d.ts +1 -2
  70. package/api/resources/commons/types/Occurrence.d.ts +11 -0
  71. package/api/resources/commons/types/Occurrence.js +14 -0
  72. package/api/resources/commons/types/OrganizationLevelEntityId.d.ts +9 -0
  73. package/api/resources/commons/types/OrganizationLevelEntityId.js +3 -0
  74. package/api/resources/commons/types/RecurringTimeWindow.d.ts +21 -0
  75. package/api/resources/commons/types/RecurringTimeWindow.js +3 -0
  76. package/api/resources/commons/types/ResolutionStatus.d.ts +57 -1
  77. package/api/resources/commons/types/ResolutionStatus.js +57 -1
  78. package/api/resources/commons/types/SimulationActionBehavior.d.ts +1 -1
  79. package/api/resources/commons/types/SimulationContext.d.ts +1 -24
  80. package/api/resources/commons/types/SimulationFixedResponse.d.ts +14 -0
  81. package/api/resources/commons/types/SimulationFixedResponse.js +3 -0
  82. package/api/resources/commons/types/SimulationSetupFields.d.ts +29 -0
  83. package/api/resources/commons/types/SimulationSetupFields.js +3 -0
  84. package/api/resources/commons/types/TextSettingsSchemaEntry.d.ts +1 -2
  85. package/api/resources/commons/types/TimeOfDayRange.d.ts +14 -0
  86. package/api/resources/commons/types/TimeOfDayRange.js +3 -0
  87. package/api/resources/commons/types/TimePrecondition.d.ts +110 -0
  88. package/api/resources/commons/types/TimePrecondition.js +3 -0
  89. package/api/resources/commons/types/TimeWindow.d.ts +22 -0
  90. package/api/resources/commons/types/TimeWindow.js +3 -0
  91. package/api/resources/commons/types/UserData.d.ts +14 -1
  92. package/api/resources/commons/types/UserDataEffect.d.ts +10 -0
  93. package/api/resources/commons/types/UserDataEffect.js +3 -0
  94. package/api/resources/commons/types/UserDataPatch.d.ts +10 -0
  95. package/api/resources/commons/types/UserDataPatch.js +3 -0
  96. package/api/resources/commons/types/UsersConversationAudience.d.ts +8 -0
  97. package/api/resources/commons/types/UsersConversationAudience.js +3 -0
  98. package/api/resources/commons/types/UsersConversationAudienceResponse.d.ts +9 -0
  99. package/api/resources/commons/types/UsersConversationAudienceResponse.js +3 -0
  100. package/api/resources/commons/types/ValidatedSettingsSchemaEntryBase.d.ts +7 -0
  101. package/api/resources/commons/types/ValidatedSettingsSchemaEntryBase.js +3 -0
  102. package/api/resources/commons/types/WeekTime.d.ts +9 -0
  103. package/api/resources/commons/types/WeekTime.js +3 -0
  104. package/api/resources/commons/types/WeekdaysDaySelector.d.ts +5 -0
  105. package/api/resources/commons/types/WeekdaysDaySelector.js +3 -0
  106. package/api/resources/commons/types/WeeklyTimeWindow.d.ts +23 -0
  107. package/api/resources/commons/types/WeeklyTimeWindow.js +3 -0
  108. package/api/resources/commons/types/YearlyDatesDaySelector.d.ts +16 -0
  109. package/api/resources/commons/types/YearlyDatesDaySelector.js +3 -0
  110. package/api/resources/commons/types/index.d.ts +31 -0
  111. package/api/resources/commons/types/index.js +31 -0
  112. package/api/resources/conversation/client/Client.d.ts +71 -10
  113. package/api/resources/conversation/client/Client.js +71 -10
  114. package/api/resources/conversation/types/AskRequest.d.ts +4 -1
  115. package/api/resources/conversation/types/AskRequestBase.d.ts +1 -35
  116. package/api/resources/conversation/types/AskRequestFields.d.ts +40 -0
  117. package/api/resources/conversation/types/AskRequestFields.js +3 -0
  118. package/api/resources/conversation/types/BillableFilterField.d.ts +7 -2
  119. package/api/resources/conversation/types/BillableFilterField.js +7 -2
  120. package/api/resources/conversation/types/ConversationFilter.d.ts +11 -8
  121. package/api/resources/conversation/types/ConversationRequest.d.ts +26 -16
  122. package/api/resources/conversation/types/DeliverAskRequest.d.ts +9 -0
  123. package/api/resources/conversation/types/DeliverAskRequest.js +3 -0
  124. package/api/resources/conversation/types/DeliverContent.d.ts +19 -0
  125. package/api/resources/conversation/types/DeliverContent.js +3 -0
  126. package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -3
  127. package/api/resources/conversation/types/DeliverMessageBase.d.ts +11 -0
  128. package/api/resources/conversation/types/DeliverMessageBase.js +3 -0
  129. package/api/resources/conversation/types/DeliverMessageResponse.d.ts +5 -0
  130. package/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +21 -3
  131. package/api/resources/conversation/types/index.d.ts +4 -0
  132. package/api/resources/conversation/types/index.js +4 -0
  133. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +4 -0
  134. package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
  135. package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
  136. package/api/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -0
  137. package/api/resources/organizations/client/Client.d.ts +0 -4
  138. package/api/resources/organizations/client/Client.js +0 -4
  139. package/api/resources/users/client/Client.d.ts +7 -1
  140. package/api/resources/users/client/Client.js +7 -1
  141. package/api/resources/users/types/AppUserSummary.d.ts +1 -1
  142. package/package.json +1 -1
  143. package/reference.md +50 -15
  144. package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -12
  145. package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +5 -13
  146. package/serialization/resources/capabilities/types/CapabilityRunBase.d.ts +20 -0
  147. package/serialization/resources/capabilities/types/CapabilityRunBase.js +52 -0
  148. package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +9 -1
  149. package/serialization/resources/capabilities/types/CapabilitySimulationInput.js +4 -0
  150. package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +9 -1
  151. package/serialization/resources/capabilities/types/CapabilitySimulationResult.js +4 -0
  152. package/serialization/resources/capabilities/types/ConversationKickoffSimulationInput.d.ts +9 -0
  153. package/serialization/resources/capabilities/types/ConversationKickoffSimulationInput.js +40 -0
  154. package/serialization/resources/capabilities/types/TriggerCapabilityExecution.d.ts +2 -6
  155. package/serialization/resources/capabilities/types/TriggerCapabilityExecution.js +3 -6
  156. package/serialization/resources/capabilities/types/TriggerRunDetails.d.ts +13 -0
  157. package/serialization/resources/capabilities/types/TriggerRunDetails.js +45 -0
  158. package/serialization/resources/capabilities/types/TriggerSimulationInput.d.ts +10 -0
  159. package/serialization/resources/capabilities/types/TriggerSimulationInput.js +42 -0
  160. package/serialization/resources/capabilities/types/TriggerSimulationResult.d.ts +10 -0
  161. package/serialization/resources/capabilities/types/TriggerSimulationResult.js +41 -0
  162. package/serialization/resources/capabilities/types/index.d.ts +5 -0
  163. package/serialization/resources/capabilities/types/index.js +5 -0
  164. package/serialization/resources/commons/types/AbsoluteTimeWindow.d.ts +11 -0
  165. package/serialization/resources/commons/types/AbsoluteTimeWindow.js +43 -0
  166. package/serialization/resources/commons/types/ActionEffects.d.ts +11 -0
  167. package/serialization/resources/commons/types/ActionEffects.js +45 -0
  168. package/serialization/resources/commons/types/AllUsersConversationAudience.d.ts +7 -0
  169. package/serialization/resources/commons/types/AllUsersConversationAudience.js +39 -0
  170. package/serialization/resources/commons/types/ArraySettingsSchemaEntry.d.ts +2 -4
  171. package/serialization/resources/commons/types/ArraySettingsSchemaEntry.js +2 -4
  172. package/serialization/resources/commons/types/ChangeAuthor.d.ts +12 -0
  173. package/serialization/resources/commons/types/ChangeAuthor.js +44 -0
  174. package/serialization/resources/commons/types/ColorSettingsSchemaEntry.d.ts +2 -4
  175. package/serialization/resources/commons/types/ColorSettingsSchemaEntry.js +2 -4
  176. package/serialization/resources/commons/types/ConversationAudience.d.ts +15 -0
  177. package/serialization/resources/commons/types/ConversationAudience.js +49 -0
  178. package/serialization/resources/commons/types/ConversationAudienceResponse.d.ts +15 -0
  179. package/serialization/resources/commons/types/ConversationAudienceResponse.js +49 -0
  180. package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
  181. package/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
  182. package/serialization/resources/commons/types/ConversationPreconditionResponse.d.ts +5 -1
  183. package/serialization/resources/commons/types/ConversationPreconditionResponse.js +2 -0
  184. package/serialization/resources/commons/types/ConversationResponse.d.ts +2 -0
  185. package/serialization/resources/commons/types/ConversationResponse.js +2 -0
  186. package/serialization/resources/commons/types/ConversationSetupFields.d.ts +12 -0
  187. package/serialization/resources/commons/types/ConversationSetupFields.js +44 -0
  188. package/serialization/resources/commons/types/CrossOrganizationLevelEntityId.d.ts +9 -0
  189. package/serialization/resources/commons/types/CrossOrganizationLevelEntityId.js +40 -0
  190. package/serialization/resources/commons/types/DayOfMonthDaySelector.d.ts +9 -0
  191. package/serialization/resources/commons/types/DayOfMonthDaySelector.js +41 -0
  192. package/serialization/resources/commons/types/DayOfWeek.d.ts +7 -0
  193. package/serialization/resources/commons/types/DayOfWeek.js +47 -0
  194. package/serialization/resources/commons/types/DaySelector.d.ts +23 -0
  195. package/serialization/resources/commons/types/DaySelector.js +53 -0
  196. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  197. package/serialization/resources/commons/types/EntityType.js +1 -0
  198. package/serialization/resources/commons/types/LeveledEntityId.d.ts +19 -0
  199. package/serialization/resources/commons/types/LeveledEntityId.js +51 -0
  200. package/serialization/resources/commons/types/Month.d.ts +7 -0
  201. package/serialization/resources/commons/types/Month.js +52 -0
  202. package/serialization/resources/commons/types/MultilineSettingsSchemaEntry.d.ts +2 -4
  203. package/serialization/resources/commons/types/MultilineSettingsSchemaEntry.js +2 -4
  204. package/serialization/resources/commons/types/NthWeekdayDaySelector.d.ts +12 -0
  205. package/serialization/resources/commons/types/NthWeekdayDaySelector.js +44 -0
  206. package/serialization/resources/commons/types/NumberSettingsSchemaEntry.d.ts +2 -4
  207. package/serialization/resources/commons/types/NumberSettingsSchemaEntry.js +2 -4
  208. package/serialization/resources/commons/types/Occurrence.d.ts +7 -0
  209. package/serialization/resources/commons/types/Occurrence.js +39 -0
  210. package/serialization/resources/commons/types/OrganizationLevelEntityId.d.ts +10 -0
  211. package/serialization/resources/commons/types/OrganizationLevelEntityId.js +44 -0
  212. package/serialization/resources/commons/types/RecurringTimeWindow.d.ts +15 -0
  213. package/serialization/resources/commons/types/RecurringTimeWindow.js +47 -0
  214. package/serialization/resources/commons/types/SimulationActionBehavior.d.ts +2 -2
  215. package/serialization/resources/commons/types/SimulationActionBehavior.js +2 -2
  216. package/serialization/resources/commons/types/SimulationContext.d.ts +2 -6
  217. package/serialization/resources/commons/types/SimulationContext.js +5 -7
  218. package/serialization/resources/commons/types/SimulationFixedResponse.d.ts +11 -0
  219. package/serialization/resources/commons/types/SimulationFixedResponse.js +45 -0
  220. package/serialization/resources/commons/types/SimulationSetupFields.d.ts +13 -0
  221. package/serialization/resources/commons/types/SimulationSetupFields.js +45 -0
  222. package/serialization/resources/commons/types/TextSettingsSchemaEntry.d.ts +2 -4
  223. package/serialization/resources/commons/types/TextSettingsSchemaEntry.js +2 -4
  224. package/serialization/resources/commons/types/TimeOfDayRange.d.ts +10 -0
  225. package/serialization/resources/commons/types/TimeOfDayRange.js +42 -0
  226. package/serialization/resources/commons/types/TimePrecondition.d.ts +11 -0
  227. package/serialization/resources/commons/types/TimePrecondition.js +45 -0
  228. package/serialization/resources/commons/types/TimeWindow.d.ts +19 -0
  229. package/serialization/resources/commons/types/TimeWindow.js +51 -0
  230. package/serialization/resources/commons/types/UserDataEffect.d.ts +11 -0
  231. package/serialization/resources/commons/types/UserDataEffect.js +43 -0
  232. package/serialization/resources/commons/types/UserDataPatch.d.ts +11 -0
  233. package/serialization/resources/commons/types/UserDataPatch.js +43 -0
  234. package/serialization/resources/commons/types/UsersConversationAudience.d.ts +10 -0
  235. package/serialization/resources/commons/types/UsersConversationAudience.js +42 -0
  236. package/serialization/resources/commons/types/UsersConversationAudienceResponse.d.ts +10 -0
  237. package/serialization/resources/commons/types/UsersConversationAudienceResponse.js +42 -0
  238. package/serialization/resources/commons/types/ValidatedSettingsSchemaEntryBase.d.ts +12 -0
  239. package/serialization/resources/commons/types/ValidatedSettingsSchemaEntryBase.js +46 -0
  240. package/serialization/resources/commons/types/WeekTime.d.ts +11 -0
  241. package/serialization/resources/commons/types/WeekTime.js +43 -0
  242. package/serialization/resources/commons/types/WeekdaysDaySelector.d.ts +10 -0
  243. package/serialization/resources/commons/types/WeekdaysDaySelector.js +42 -0
  244. package/serialization/resources/commons/types/WeeklyTimeWindow.d.ts +12 -0
  245. package/serialization/resources/commons/types/WeeklyTimeWindow.js +44 -0
  246. package/serialization/resources/commons/types/YearlyDatesDaySelector.d.ts +10 -0
  247. package/serialization/resources/commons/types/YearlyDatesDaySelector.js +42 -0
  248. package/serialization/resources/commons/types/index.d.ts +31 -0
  249. package/serialization/resources/commons/types/index.js +31 -0
  250. package/serialization/resources/conversation/types/AskRequestBase.d.ts +2 -11
  251. package/serialization/resources/conversation/types/AskRequestBase.js +5 -12
  252. package/serialization/resources/conversation/types/AskRequestFields.d.ts +18 -0
  253. package/serialization/resources/conversation/types/AskRequestFields.js +50 -0
  254. package/serialization/resources/conversation/types/ConversationRequest.d.ts +4 -5
  255. package/serialization/resources/conversation/types/ConversationRequest.js +7 -6
  256. package/serialization/resources/conversation/types/DeliverAskRequest.d.ts +11 -0
  257. package/serialization/resources/conversation/types/DeliverAskRequest.js +45 -0
  258. package/serialization/resources/conversation/types/DeliverContent.d.ts +15 -0
  259. package/serialization/resources/conversation/types/DeliverContent.js +49 -0
  260. package/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +2 -3
  261. package/serialization/resources/conversation/types/DeliverConversationMessageRequest.js +5 -4
  262. package/serialization/resources/conversation/types/DeliverMessageBase.d.ts +12 -0
  263. package/serialization/resources/conversation/types/DeliverMessageBase.js +44 -0
  264. package/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +2 -0
  265. package/serialization/resources/conversation/types/DeliverMessageResponse.js +2 -0
  266. package/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +3 -3
  267. package/serialization/resources/conversation/types/DeliverUserMessageRequest.js +6 -4
  268. package/serialization/resources/conversation/types/index.d.ts +4 -0
  269. package/serialization/resources/conversation/types/index.js +4 -0
  270. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +3 -0
  271. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
  272. package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -0
  273. package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.js +2 -0
  274. package/version.d.ts +1 -1
  275. package/version.js +1 -1
@@ -1,5 +1,5 @@
1
1
  import type * as MavenAGI from "../../../index";
2
- export type ConversationPreconditionResponse = MavenAGI.ConversationPreconditionResponse.Tags | MavenAGI.ConversationPreconditionResponse.Metadata | MavenAGI.ConversationPreconditionResponse.ActionExecuted | MavenAGI.ConversationPreconditionResponse.ResponseConfig | MavenAGI.ConversationPreconditionResponse.App | MavenAGI.ConversationPreconditionResponse.ConversationState | MavenAGI.ConversationPreconditionResponse.ConversationMode | MavenAGI.ConversationPreconditionResponse.IntelligentField;
2
+ export type ConversationPreconditionResponse = MavenAGI.ConversationPreconditionResponse.Tags | MavenAGI.ConversationPreconditionResponse.Metadata | MavenAGI.ConversationPreconditionResponse.ActionExecuted | MavenAGI.ConversationPreconditionResponse.ResponseConfig | MavenAGI.ConversationPreconditionResponse.App | MavenAGI.ConversationPreconditionResponse.ConversationState | MavenAGI.ConversationPreconditionResponse.ConversationMode | MavenAGI.ConversationPreconditionResponse.IntelligentField | MavenAGI.ConversationPreconditionResponse.Time;
3
3
  export declare namespace ConversationPreconditionResponse {
4
4
  interface Tags extends MavenAGI.TagsPrecondition {
5
5
  conversationPreconditionType: "tags";
@@ -25,4 +25,7 @@ export declare namespace ConversationPreconditionResponse {
25
25
  interface IntelligentField extends MavenAGI.IntelligentFieldPreconditionResponse {
26
26
  conversationPreconditionType: "intelligentField";
27
27
  }
28
+ interface Time extends MavenAGI.TimePrecondition {
29
+ conversationPreconditionType: "time";
30
+ }
28
31
  }
@@ -9,6 +9,9 @@ import type * as MavenAGI from "../../../index";
9
9
  * agentId: "support",
10
10
  * type: MavenAGI.EntityType.Conversation
11
11
  * },
12
+ * audience: {
13
+ * type: "allUsers"
14
+ * },
12
15
  * deleted: false,
13
16
  * open: false,
14
17
  * llmEnabled: true,
@@ -92,4 +95,9 @@ export interface ConversationResponse extends MavenAGI.BaseConversationResponse
92
95
  * Message attachments are included in LLM context, conversation attachments are not.
93
96
  */
94
97
  attachments: MavenAGI.AttachmentResponse[];
98
+ /**
99
+ * Who the conversation is for, as set when it was initialized. `allUsers` for a conversation
100
+ * initialized without an audience or created by an ask.
101
+ */
102
+ audience: MavenAGI.ConversationAudienceResponse;
95
103
  }
@@ -0,0 +1,21 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * The settings a conversation is created with.
4
+ */
5
+ export interface ConversationSetupFields {
6
+ /** Optional configurations for responses to this conversation */
7
+ responseConfig?: MavenAGI.ResponseConfig;
8
+ /** The tags of the conversation. Used for filtering in Agent Designer. */
9
+ tags?: Set<string>;
10
+ /**
11
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing
12
+ * additional information about the object in a structured format, and querying for objects
13
+ * via API or the dashboard.
14
+ *
15
+ * Keys are strings with a maximum length of 500 characters. Values are strings with a maximum
16
+ * length of 512 characters.
17
+ *
18
+ * The metadata of the conversation supplied by the app which created the conversation.
19
+ */
20
+ metadata?: Record<string, string>;
21
+ }
@@ -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,7 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * The ID of an object above the organization level. It has no `organizationId` or `agentId`, and
4
+ * none is inferred: the ID is unique within one residency zone and environment.
5
+ */
6
+ export interface CrossOrganizationLevelEntityId extends MavenAGI.EntityIdWithoutAgent {
7
+ }
@@ -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,4 @@
1
+ export interface DayOfMonthDaySelector {
2
+ /** The dates of the month the window covers, from 1 to 31, or from -1 to -31 to count back from the end of the month: -1 is the last day and -3 the third from last. Must not be empty. A date past the end of a month never matches it, so 31 and -31 skip 30-day months and February. */
3
+ days: Set<number>;
4
+ }
@@ -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,10 @@
1
+ export declare const DayOfWeek: {
2
+ readonly Monday: "MONDAY";
3
+ readonly Tuesday: "TUESDAY";
4
+ readonly Wednesday: "WEDNESDAY";
5
+ readonly Thursday: "THURSDAY";
6
+ readonly Friday: "FRIDAY";
7
+ readonly Saturday: "SATURDAY";
8
+ readonly Sunday: "SUNDAY";
9
+ };
10
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek] | string;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DayOfWeek = void 0;
5
+ exports.DayOfWeek = {
6
+ Monday: "MONDAY",
7
+ Tuesday: "TUESDAY",
8
+ Wednesday: "WEDNESDAY",
9
+ Thursday: "THURSDAY",
10
+ Friday: "FRIDAY",
11
+ Saturday: "SATURDAY",
12
+ Sunday: "SUNDAY",
13
+ };
@@ -0,0 +1,33 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Which days a recurring window covers. Each member names one way of picking days, so a
4
+ * selector means exactly what its type says. For a window that covers days picked two ways
5
+ * ("the 15th, or the third Monday"), OR two preconditions in a `PreconditionGroup`.
6
+ */
7
+ export type DaySelector =
8
+ /**
9
+ * Every occurrence of the listed days of the week. */
10
+ MavenAGI.DaySelector.Weekdays
11
+ /**
12
+ * Fixed dates of the month, such as the 1st, the 15th, or the last day. */
13
+ | MavenAGI.DaySelector.DayOfMonth
14
+ /**
15
+ * Numbered occurrences within the month, such as the third Monday or the last weekday. */
16
+ | MavenAGI.DaySelector.NthWeekday
17
+ /**
18
+ * One run of dates every year, such as December 24 through January 2. */
19
+ | MavenAGI.DaySelector.YearlyDates;
20
+ export declare namespace DaySelector {
21
+ interface Weekdays extends MavenAGI.WeekdaysDaySelector {
22
+ dayType: "weekdays";
23
+ }
24
+ interface DayOfMonth extends MavenAGI.DayOfMonthDaySelector {
25
+ dayType: "dayOfMonth";
26
+ }
27
+ interface NthWeekday extends MavenAGI.NthWeekdayDaySelector {
28
+ dayType: "nthWeekday";
29
+ }
30
+ interface YearlyDates extends MavenAGI.YearlyDatesDaySelector {
31
+ dayType: "yearlyDates";
32
+ }
33
+ }
@@ -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 });
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export interface EntityIdBase {
5
5
  /**
6
- * Externally supplied ID to uniquely identify this object. Is globally unique when combined with all other entityId fields (type, appId, organizationId, agentId).
6
+ * Externally supplied ID to uniquely identify this object. Is globally unique when combined with the other fields of its ID.
7
7
  *
8
8
  * Must be less than 192 characters and contain only:
9
9
  * - alphanumeric characters (`a-z`, `A-Z`, `0-9`)
@@ -31,5 +31,9 @@ export declare const EntityType: {
31
31
  readonly ScenarioRun: "SCENARIO_RUN";
32
32
  readonly Function: "FUNCTION";
33
33
  readonly FunctionVersion: "FUNCTION_VERSION";
34
+ /**
35
+ * In development. A person or a service account, identified above the organization level. No
36
+ * `EntityId` has this type: a mavenUser belongs to no organization or agent. */
37
+ readonly MavenUser: "MAVEN_USER";
34
38
  };
35
39
  export type EntityType = (typeof EntityType)[keyof typeof EntityType] | string;
@@ -35,4 +35,8 @@ exports.EntityType = {
35
35
  ScenarioRun: "SCENARIO_RUN",
36
36
  Function: "FUNCTION",
37
37
  FunctionVersion: "FUNCTION_VERSION",
38
+ /**
39
+ * In development. A person or a service account, identified above the organization level. No
40
+ * `EntityId` has this type: a mavenUser belongs to no organization or agent. */
41
+ MavenUser: "MAVEN_USER",
38
42
  };
@@ -13,6 +13,9 @@ import type * as MavenAGI from "../../../index";
13
13
  * agentId: "support",
14
14
  * type: MavenAGI.EntityType.Conversation
15
15
  * },
16
+ * audience: {
17
+ * type: "allUsers"
18
+ * },
16
19
  * deleted: false,
17
20
  * open: true,
18
21
  * llmEnabled: true,
@@ -0,0 +1,28 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * An object ID that states the level its object lives at: `AGENT` (it belongs to an agent),
4
+ * `ORGANIZATION` (it belongs to an organization and to none of its agents), or `CROSS_ORGANIZATION` (it
5
+ * is above the organization level). An `AGENT` ID has the same fields as `EntityId`, plus `level`. An ID
6
+ * sent without `level` is read as `AGENT`.
7
+ */
8
+ export type LeveledEntityId =
9
+ /**
10
+ * An object that belongs to an agent. */
11
+ MavenAGI.LeveledEntityId.Agent
12
+ /**
13
+ * An object that belongs to an organization and to none of its agents. */
14
+ | MavenAGI.LeveledEntityId.Organization
15
+ /**
16
+ * An object above the organization level. */
17
+ | MavenAGI.LeveledEntityId.CrossOrganization;
18
+ export declare namespace LeveledEntityId {
19
+ interface Agent extends MavenAGI.EntityId {
20
+ level: "AGENT";
21
+ }
22
+ interface Organization extends MavenAGI.OrganizationLevelEntityId {
23
+ level: "ORGANIZATION";
24
+ }
25
+ interface CrossOrganization extends MavenAGI.CrossOrganizationLevelEntityId {
26
+ level: "CROSS_ORGANIZATION";
27
+ }
28
+ }
@@ -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,15 @@
1
+ export declare const Month: {
2
+ readonly January: "JANUARY";
3
+ readonly February: "FEBRUARY";
4
+ readonly March: "MARCH";
5
+ readonly April: "APRIL";
6
+ readonly May: "MAY";
7
+ readonly June: "JUNE";
8
+ readonly July: "JULY";
9
+ readonly August: "AUGUST";
10
+ readonly September: "SEPTEMBER";
11
+ readonly October: "OCTOBER";
12
+ readonly November: "NOVEMBER";
13
+ readonly December: "DECEMBER";
14
+ };
15
+ export type Month = (typeof Month)[keyof typeof Month] | string;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Month = void 0;
5
+ exports.Month = {
6
+ January: "JANUARY",
7
+ February: "FEBRUARY",
8
+ March: "MARCH",
9
+ April: "APRIL",
10
+ May: "MAY",
11
+ June: "JUNE",
12
+ July: "JULY",
13
+ August: "AUGUST",
14
+ September: "SEPTEMBER",
15
+ October: "OCTOBER",
16
+ November: "NOVEMBER",
17
+ December: "DECEMBER",
18
+ };
@@ -1,5 +1,4 @@
1
1
  import type * as MavenAGI from "../../../index";
2
- export interface MultilineSettingsSchemaEntry extends MavenAGI.SettingsSchemaEntryBase {
2
+ export interface MultilineSettingsSchemaEntry extends MavenAGI.ValidatedSettingsSchemaEntryBase {
3
3
  defaultValue?: string;
4
- validation?: MavenAGI.SettingsSchemaValidation;
5
4
  }
@@ -0,0 +1,15 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Picks days by counting, within each month, the days that fall on any of `daysOfWeek`, and
4
+ * keeping the occurrences listed.
5
+ *
6
+ * With a single day of the week this reads naturally: `[MONDAY]` with `[THIRD]` is the third
7
+ * Monday. With several, the count runs across all of them: Monday through Friday with `[LAST]`
8
+ * is the last weekday of the month, not the last Monday, last Tuesday, and so on.
9
+ */
10
+ export interface NthWeekdayDaySelector {
11
+ /** The days of the week to count. Must not be empty. */
12
+ daysOfWeek: Set<MavenAGI.DayOfWeek>;
13
+ /** Which of the counted days the window covers. Must not be empty. */
14
+ occurrences: Set<MavenAGI.Occurrence>;
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,5 +1,4 @@
1
1
  import type * as MavenAGI from "../../../index";
2
- export interface NumberSettingsSchemaEntry extends MavenAGI.SettingsSchemaEntryBase {
2
+ export interface NumberSettingsSchemaEntry extends MavenAGI.ValidatedSettingsSchemaEntryBase {
3
3
  defaultValue?: number;
4
- validation?: MavenAGI.SettingsSchemaValidation;
5
4
  }
@@ -0,0 +1,11 @@
1
+ /** A numbered occurrence within a month. */
2
+ export declare const Occurrence: {
3
+ readonly First: "FIRST";
4
+ readonly Second: "SECOND";
5
+ readonly Third: "THIRD";
6
+ readonly Fourth: "FOURTH";
7
+ /**
8
+ * The final occurrence in the month, whether that is the fourth or the fifth. */
9
+ readonly Last: "LAST";
10
+ };
11
+ export type Occurrence = (typeof Occurrence)[keyof typeof Occurrence] | string;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Occurrence = void 0;
5
+ /** A numbered occurrence within a month. */
6
+ exports.Occurrence = {
7
+ First: "FIRST",
8
+ Second: "SECOND",
9
+ Third: "THIRD",
10
+ Fourth: "FOURTH",
11
+ /**
12
+ * The final occurrence in the month, whether that is the fourth or the fifth. */
13
+ Last: "LAST",
14
+ };
@@ -0,0 +1,9 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * The ID of an object that belongs to an organization and to none of its agents. It has no `agentId`,
4
+ * and none is inferred.
5
+ */
6
+ export interface OrganizationLevelEntityId extends MavenAGI.EntityIdWithoutAgent {
7
+ /** The ID of the organization that this object belongs to */
8
+ organizationId: string;
9
+ }
@@ -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,21 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A window that repeats on the calendar of one timezone.
4
+ *
5
+ * Every field that is set must match, and an unset field matches anything, so a window with
6
+ * only `months: [FEBRUARY]` is all of February and one with only `timeOfDay` is those hours
7
+ * every day. Values inside a set match if any of them does.
8
+ *
9
+ * When `timeOfDay` wraps past midnight, `days` and `months` apply to the day the window
10
+ * opens: Fridays with 22:00–02:00 runs from Friday night into early Saturday.
11
+ */
12
+ export interface RecurringTimeWindow {
13
+ /** The IANA timezone the calendar fields are read in (e.g. "America/New_York"). Required because business hours belong to the business, not to the end user, and a rule written against a fixed offset drifts by an hour at every daylight-saving change. Fixed offsets (e.g. "-08:00") and legacy IDs (e.g. "EST") are accepted, but they do not follow daylight saving. Clients can prefill it from the agent's `defaultTimezone`. */
14
+ timezone: string;
15
+ /** Which days the window covers: days of the week, dates of the month, numbered weekdays of the month, or one range of dates every year. Omit to cover every day. */
16
+ days?: MavenAGI.DaySelector;
17
+ /** The months the window covers. Omit to cover every month. Not allowed with `yearlyDates` days, which name their own months. */
18
+ months?: Set<MavenAGI.Month>;
19
+ /** The hours the window covers on each matching day. Omit to cover the whole day. */
20
+ timeOfDay?: MavenAGI.TimeOfDayRange;
21
+ }
@@ -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,16 +1,72 @@
1
+ /**
2
+ * The outcome of a conversation. Shown in Agent Designer as "Resolution status".
3
+ *
4
+ * The status is recalculated whenever the conversation changes, such as a new message,
5
+ * feedback, a CSAT rating or an insert. The conditions are checked in this order, and the
6
+ * first one that matches sets the status: `INELIGIBLE`, `CONTENT_SAFETY_FLAGGED`,
7
+ * `PROMPT_ATTACK_FLAGGED`, `HANGUP`, `IN_PROGRESS`, `ERROR`, `NEGATIVE_FEEDBACK`, `ESCALATED`,
8
+ * then `RESOLVED`.
9
+ *
10
+ * Code applies these checks, except for one input: the AI summary of the transcript can report
11
+ * a handoff, which sets `ESCALATED`.
12
+ *
13
+ * Each status maps to one billing status (`BillableFilterField`): `RESOLVED` is billable;
14
+ * `ESCALATED`, `NEGATIVE_FEEDBACK`, `ERROR`, `IN_PROGRESS` and `INCOMPLETE` are not billable;
15
+ * the others are not eligible. These are labels. Volume-based pricing also bills not billable
16
+ * conversations. See
17
+ * [Resolution status and billing](https://docs.mavenagi.com/agent-designer/pages/resolution-status).
18
+ */
1
19
  export declare const ResolutionStatus: {
20
+ /**
21
+ * Reserved. Not assigned to conversations today. Billing status: not eligible. Shown in
22
+ * Agent Designer as "Unknown". */
2
23
  readonly Unknown: "UNKNOWN";
24
+ /**
25
+ * The agent returned an empty response to a message. Billing status: not billable. Shown
26
+ * in Agent Designer as "Error". */
3
27
  readonly Error: "ERROR";
28
+ /**
29
+ * The agent has not responded yet. Billing status: not billable. Shown in Agent Designer
30
+ * as "In progress". */
4
31
  readonly InProgress: "IN_PROGRESS";
5
32
  /**
6
- * Shown in Agent Designer as "Resolved by Maven". */
33
+ * The agent responded and no other status applies. Billing status: billable, the only
34
+ * status that is. `resolvedByMaven` is `true` exactly when the status is `RESOLVED`. Shown
35
+ * in Agent Designer as "Resolved by Maven". */
7
36
  readonly Resolved: "RESOLVED";
37
+ /**
38
+ * The conversation was handed off to a human agent. Either an AI analysis of the
39
+ * transcript found a handoff, or a handoff action that Maven recognizes ran successfully.
40
+ * The AI analysis can be wrong. Once escalation is detected, later messages do not undo
41
+ * it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Copilot
42
+ * conversations are never `ESCALATED`. Billing status: not billable. Shown in Agent
43
+ * Designer as "Escalated". */
8
44
  readonly Escalated: "ESCALATED";
45
+ /**
46
+ * Reserved. Not assigned to conversations today. Billing status: not billable. Shown in
47
+ * Agent Designer as "Incomplete". */
9
48
  readonly Incomplete: "INCOMPLETE";
49
+ /**
50
+ * The end user or a human agent gave a thumbs down, or the average CSAT is below 50% of
51
+ * the maximum rating. An insert of an agent response overrides a thumbs down. Billing
52
+ * status: not billable. Shown in Agent Designer as "Negative feedback". */
10
53
  readonly NegativeFeedback: "NEGATIVE_FEEDBACK";
54
+ /**
55
+ * A message was flagged by content safety guardrails. Billing status: not eligible. Shown
56
+ * in Agent Designer as "Content safety flagged". */
11
57
  readonly ContentSafetyFlagged: "CONTENT_SAFETY_FLAGGED";
58
+ /**
59
+ * A message was flagged as a prompt injection attack. Billing status: not eligible. Shown
60
+ * in Agent Designer as "Prompt attack flagged". */
12
61
  readonly PromptAttackFlagged: "PROMPT_ATTACK_FLAGGED";
62
+ /**
63
+ * A voice call of 5 seconds or less, measured from the first message to the last. Billing
64
+ * status: not eligible. Shown in Agent Designer as "Hangup". */
13
65
  readonly Hangup: "HANGUP";
66
+ /**
67
+ * A copilot chat conversation. Billing status: not eligible. Shown in Agent Designer as
68
+ * "Ineligible". Not the same as the `INELIGIBLE` billing status, which covers every not
69
+ * eligible status. */
14
70
  readonly Ineligible: "INELIGIBLE";
15
71
  };
16
72
  export type ResolutionStatus = (typeof ResolutionStatus)[keyof typeof ResolutionStatus] | string;
@@ -2,18 +2,74 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ResolutionStatus = void 0;
5
+ /**
6
+ * The outcome of a conversation. Shown in Agent Designer as "Resolution status".
7
+ *
8
+ * The status is recalculated whenever the conversation changes, such as a new message,
9
+ * feedback, a CSAT rating or an insert. The conditions are checked in this order, and the
10
+ * first one that matches sets the status: `INELIGIBLE`, `CONTENT_SAFETY_FLAGGED`,
11
+ * `PROMPT_ATTACK_FLAGGED`, `HANGUP`, `IN_PROGRESS`, `ERROR`, `NEGATIVE_FEEDBACK`, `ESCALATED`,
12
+ * then `RESOLVED`.
13
+ *
14
+ * Code applies these checks, except for one input: the AI summary of the transcript can report
15
+ * a handoff, which sets `ESCALATED`.
16
+ *
17
+ * Each status maps to one billing status (`BillableFilterField`): `RESOLVED` is billable;
18
+ * `ESCALATED`, `NEGATIVE_FEEDBACK`, `ERROR`, `IN_PROGRESS` and `INCOMPLETE` are not billable;
19
+ * the others are not eligible. These are labels. Volume-based pricing also bills not billable
20
+ * conversations. See
21
+ * [Resolution status and billing](https://docs.mavenagi.com/agent-designer/pages/resolution-status).
22
+ */
5
23
  exports.ResolutionStatus = {
24
+ /**
25
+ * Reserved. Not assigned to conversations today. Billing status: not eligible. Shown in
26
+ * Agent Designer as "Unknown". */
6
27
  Unknown: "UNKNOWN",
28
+ /**
29
+ * The agent returned an empty response to a message. Billing status: not billable. Shown
30
+ * in Agent Designer as "Error". */
7
31
  Error: "ERROR",
32
+ /**
33
+ * The agent has not responded yet. Billing status: not billable. Shown in Agent Designer
34
+ * as "In progress". */
8
35
  InProgress: "IN_PROGRESS",
9
36
  /**
10
- * Shown in Agent Designer as "Resolved by Maven". */
37
+ * The agent responded and no other status applies. Billing status: billable, the only
38
+ * status that is. `resolvedByMaven` is `true` exactly when the status is `RESOLVED`. Shown
39
+ * in Agent Designer as "Resolved by Maven". */
11
40
  Resolved: "RESOLVED",
41
+ /**
42
+ * The conversation was handed off to a human agent. Either an AI analysis of the
43
+ * transcript found a handoff, or a handoff action that Maven recognizes ran successfully.
44
+ * The AI analysis can be wrong. Once escalation is detected, later messages do not undo
45
+ * it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Copilot
46
+ * conversations are never `ESCALATED`. Billing status: not billable. Shown in Agent
47
+ * Designer as "Escalated". */
12
48
  Escalated: "ESCALATED",
49
+ /**
50
+ * Reserved. Not assigned to conversations today. Billing status: not billable. Shown in
51
+ * Agent Designer as "Incomplete". */
13
52
  Incomplete: "INCOMPLETE",
53
+ /**
54
+ * The end user or a human agent gave a thumbs down, or the average CSAT is below 50% of
55
+ * the maximum rating. An insert of an agent response overrides a thumbs down. Billing
56
+ * status: not billable. Shown in Agent Designer as "Negative feedback". */
14
57
  NegativeFeedback: "NEGATIVE_FEEDBACK",
58
+ /**
59
+ * A message was flagged by content safety guardrails. Billing status: not eligible. Shown
60
+ * in Agent Designer as "Content safety flagged". */
15
61
  ContentSafetyFlagged: "CONTENT_SAFETY_FLAGGED",
62
+ /**
63
+ * A message was flagged as a prompt injection attack. Billing status: not eligible. Shown
64
+ * in Agent Designer as "Prompt attack flagged". */
16
65
  PromptAttackFlagged: "PROMPT_ATTACK_FLAGGED",
66
+ /**
67
+ * A voice call of 5 seconds or less, measured from the first message to the last. Billing
68
+ * status: not eligible. Shown in Agent Designer as "Hangup". */
17
69
  Hangup: "HANGUP",
70
+ /**
71
+ * A copilot chat conversation. Billing status: not eligible. Shown in Agent Designer as
72
+ * "Ineligible". Not the same as the `INELIGIBLE` billing status, which covers every not
73
+ * eligible status. */
18
74
  Ineligible: "INELIGIBLE",
19
75
  };
@@ -10,7 +10,7 @@ MavenAGI.SimulationActionBehavior.FixedResponse
10
10
  * The platform calls the action's app instead of returning a mocked result. */
11
11
  | MavenAGI.SimulationActionBehavior.CallApp;
12
12
  export declare namespace SimulationActionBehavior {
13
- interface FixedResponse extends MavenAGI.ExecuteActionResponse {
13
+ interface FixedResponse extends MavenAGI.SimulationFixedResponse {
14
14
  type: "fixedResponse";
15
15
  }
16
16
  interface CallApp extends MavenAGI.SimulationActionCallApp {
@@ -2,7 +2,7 @@ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * Conversations with a simulation context are the runs on the Agent Designer "Simulator" page.
4
4
  */
5
- export interface SimulationContext {
5
+ export interface SimulationContext extends MavenAGI.SimulationSetupFields {
6
6
  /**
7
7
  * Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters.
8
8
  *
@@ -27,27 +27,4 @@ export interface SimulationContext {
27
27
  * keeps the variant it was created with.
28
28
  */
29
29
  variantId?: MavenAGI.EntityIdWithoutAgent;
30
- /**
31
- * When true, the simulation evaluates the agent's charters even if charter evaluation is
32
- * turned off for the agent. When absent or false, the simulation follows the agent's own
33
- * charter evaluation setting, like any other conversation. While charters are evaluated,
34
- * `additionalPromptText` has no effect. Not yet enabled for every agent: until it is, the
35
- * value is stored and returned, and the agent's own setting applies. A conversation that
36
- * already exists keeps the value it was created with.
37
- */
38
- evaluateWithCharters?: boolean;
39
- /**
40
- * What the platform does when the agent executes each action during this simulation. At
41
- * most one entry per action; a request that names an action twice is rejected. An action
42
- * with no entry follows `defaultActionBehavior`. A conversation that already exists keeps
43
- * the mocks and default it was created with.
44
- */
45
- actionMocks?: MavenAGI.SimulationActionMock[];
46
- /**
47
- * What the platform does when the agent executes an action that has no `actionMocks`
48
- * entry. When absent, the action's app is called as usual. A `fixedResponse` here keeps the
49
- * simulation from calling any action's app that `actionMocks` doesn't name with `callApp`;
50
- * its templates are rendered over the parameters of whichever action was called.
51
- */
52
- defaultActionBehavior?: MavenAGI.SimulationActionBehavior;
53
30
  }
@@ -0,0 +1,14 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface SimulationFixedResponse extends MavenAGI.ExecuteActionResponse {
3
+ /**
4
+ * State the action would have changed. The platform writes it each time this mock answers,
5
+ * under the app that initialized the conversation; the mocked app is not called. Both
6
+ * writes are attempted; if either fails, the action's result is an error and the other
7
+ * write stays applied. `userData` patches the initializing app's profile of the user who
8
+ * sent the message that triggered the action: that user must be a `SIMULATION` user with a
9
+ * profile under that app. Allowed on an `actionMocks` entry, not on
10
+ * `defaultActionBehavior`, and not with an `ERROR` status: a failed action changes no
11
+ * state.
12
+ */
13
+ effects?: MavenAGI.ActionEffects;
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 });
@@ -0,0 +1,29 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * How a simulation evaluates charters and handles the actions the agent executes.
4
+ */
5
+ export interface SimulationSetupFields {
6
+ /**
7
+ * When true, the simulation evaluates the agent's charters even if charter evaluation is
8
+ * turned off for the agent. When absent or false, the simulation follows the agent's own
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.
13
+ */
14
+ evaluateWithCharters?: boolean;
15
+ /**
16
+ * What the platform does when the agent executes each action during this simulation. At
17
+ * most one entry per action; a request that names an action twice is rejected. An action
18
+ * with no entry follows `defaultActionBehavior`. A conversation that already exists keeps
19
+ * the mocks and default it was created with.
20
+ */
21
+ actionMocks?: MavenAGI.SimulationActionMock[];
22
+ /**
23
+ * What the platform does when the agent executes an action that has no `actionMocks`
24
+ * entry. When absent, the action's app is called as usual. A `fixedResponse` here keeps the
25
+ * simulation from calling any action's app that `actionMocks` doesn't name with `callApp`;
26
+ * its templates are rendered over the parameters of whichever action was called.
27
+ */
28
+ defaultActionBehavior?: MavenAGI.SimulationActionBehavior;
29
+ }
@@ -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 });