mavenagi 1.2.61 → 1.2.63

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 (270) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +6 -0
  3. package/Client.js +40 -30
  4. package/api/resources/actions/client/Client.d.ts +16 -0
  5. package/api/resources/actions/client/Client.js +16 -0
  6. package/api/resources/analytics/types/ConversationBarChartRequest.d.ts +4 -0
  7. package/api/resources/analytics/types/ConversationBasicMetric.d.ts +4 -1
  8. package/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +2 -0
  9. package/api/resources/analytics/types/ConversationPieChartRequest.d.ts +2 -0
  10. package/api/resources/capabilities/client/Client.d.ts +118 -0
  11. package/api/resources/capabilities/client/Client.js +521 -0
  12. package/api/resources/capabilities/client/index.d.ts +1 -0
  13. package/api/resources/capabilities/client/index.js +17 -0
  14. package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +38 -0
  15. package/api/resources/capabilities/client/requests/DeleteCapabilityByTypeRequest.d.ts +18 -0
  16. package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.d.ts +22 -0
  17. package/api/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.d.ts +24 -0
  18. package/api/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.js +3 -0
  19. package/api/resources/capabilities/client/requests/index.d.ts +4 -0
  20. package/api/resources/capabilities/client/requests/index.js +2 -0
  21. package/api/resources/capabilities/exports.d.ts +2 -0
  22. package/api/resources/capabilities/exports.js +21 -0
  23. package/api/resources/capabilities/index.d.ts +2 -0
  24. package/api/resources/capabilities/index.js +18 -0
  25. package/api/resources/capabilities/types/CapabilitiesSearchResponse.d.ts +43 -0
  26. package/api/resources/capabilities/types/CapabilitiesSearchResponse.js +3 -0
  27. package/api/resources/capabilities/types/CapabilityResponse.d.ts +23 -0
  28. package/api/resources/capabilities/types/CapabilityResponse.js +3 -0
  29. package/api/resources/capabilities/types/CapabilitySortField.d.ts +7 -0
  30. package/api/resources/capabilities/types/CapabilitySortField.js +10 -0
  31. package/api/resources/capabilities/types/CapabilitySummary.d.ts +28 -0
  32. package/api/resources/capabilities/types/CapabilitySummary.js +3 -0
  33. package/api/resources/capabilities/types/index.d.ts +4 -0
  34. package/api/resources/capabilities/types/index.js +20 -0
  35. package/api/resources/charters/client/Client.js +3 -1
  36. package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +1 -1
  37. package/api/resources/charters/client/requests/CharterGetRequest.d.ts +4 -0
  38. package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +1 -1
  39. package/api/resources/charters/types/CharterBase.d.ts +9 -0
  40. package/api/resources/charters/types/CharterRequest.d.ts +0 -8
  41. package/api/resources/charters/types/CharterSearchFilter.d.ts +14 -9
  42. package/api/resources/commons/types/ActionResponse.d.ts +11 -2
  43. package/api/resources/commons/types/AdditionalDataKey.d.ts +63 -0
  44. package/api/resources/commons/types/AdditionalDataKey.js +66 -0
  45. package/api/resources/commons/types/BaseConversationResponse.d.ts +7 -0
  46. package/api/resources/commons/types/CapabilityBase.d.ts +23 -0
  47. package/api/resources/commons/types/CapabilityBase.js +3 -0
  48. package/api/resources/{intelligentFields/types/IntelligentFieldStatus.d.ts → commons/types/CapabilityStatus.d.ts} +6 -3
  49. package/api/resources/{intelligentFields/types/IntelligentFieldStatus.js → commons/types/CapabilityStatus.js} +6 -3
  50. package/api/resources/commons/types/CapabilityType.d.ts +8 -0
  51. package/api/resources/commons/types/CapabilityType.js +11 -0
  52. package/api/resources/commons/types/EntityType.d.ts +5 -1
  53. package/api/resources/commons/types/EntityType.js +5 -1
  54. package/api/resources/commons/types/ErrorMessage.d.ts +3 -0
  55. package/api/resources/commons/types/ErrorReason.d.ts +34 -0
  56. package/api/resources/commons/types/ErrorReason.js +37 -0
  57. package/api/resources/commons/types/EventCondition.d.ts +35 -0
  58. package/api/resources/commons/types/EventCondition.js +3 -0
  59. package/api/resources/commons/types/EventConditionGroup.d.ts +11 -0
  60. package/api/resources/commons/types/EventConditionGroup.js +3 -0
  61. package/api/resources/commons/types/EventReferencesCondition.d.ts +13 -0
  62. package/api/resources/commons/types/EventReferencesCondition.js +3 -0
  63. package/api/resources/{conversation → commons}/types/IntelligentFieldFilter.d.ts +1 -1
  64. package/api/resources/commons/types/IntelligentFieldFilter.js +3 -0
  65. package/api/resources/commons/types/IntelligentFieldSearchCondition.js +3 -0
  66. package/api/resources/commons/types/SimulationContext.d.ts +12 -0
  67. package/api/resources/commons/types/SystemEventName.d.ts +4 -1
  68. package/api/resources/commons/types/SystemEventName.js +4 -1
  69. package/api/resources/commons/types/SystemEventNameCondition.d.ts +10 -0
  70. package/api/resources/commons/types/SystemEventNameCondition.js +3 -0
  71. package/api/resources/commons/types/UserEventNameCondition.d.ts +10 -0
  72. package/api/resources/commons/types/UserEventNameCondition.js +3 -0
  73. package/api/resources/commons/types/index.d.ts +13 -0
  74. package/api/resources/commons/types/index.js +13 -0
  75. package/api/resources/conversation/client/Client.d.ts +16 -0
  76. package/api/resources/conversation/client/Client.js +16 -0
  77. package/api/resources/conversation/types/ConversationField.d.ts +22 -1
  78. package/api/resources/conversation/types/ConversationField.js +22 -1
  79. package/api/resources/conversation/types/ConversationFilter.d.ts +18 -0
  80. package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
  81. package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +2 -2
  82. package/api/resources/conversation/types/index.d.ts +0 -3
  83. package/api/resources/conversation/types/index.js +0 -3
  84. package/api/resources/conversationKickoffs/client/Client.d.ts +45 -0
  85. package/api/resources/conversationKickoffs/client/Client.js +175 -0
  86. package/api/resources/conversationKickoffs/client/index.d.ts +1 -0
  87. package/api/resources/conversationKickoffs/client/index.js +17 -0
  88. package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +22 -0
  89. package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +3 -0
  90. package/api/resources/conversationKickoffs/client/requests/index.d.ts +1 -0
  91. package/api/resources/conversationKickoffs/client/requests/index.js +2 -0
  92. package/api/resources/conversationKickoffs/exports.d.ts +2 -0
  93. package/api/resources/conversationKickoffs/exports.js +21 -0
  94. package/api/resources/conversationKickoffs/index.d.ts +2 -0
  95. package/api/resources/conversationKickoffs/index.js +18 -0
  96. package/api/resources/conversationKickoffs/types/ConversationKickoff.d.ts +27 -0
  97. package/api/resources/conversationKickoffs/types/ConversationKickoff.js +3 -0
  98. package/api/resources/conversationKickoffs/types/index.d.ts +1 -0
  99. package/api/resources/conversationKickoffs/types/index.js +17 -0
  100. package/api/resources/events/client/Client.d.ts +1 -1
  101. package/api/resources/events/client/Client.js +1 -1
  102. package/api/resources/inbox/types/InboxFilter.d.ts +11 -0
  103. package/api/resources/index.d.ts +6 -0
  104. package/api/resources/index.js +7 -1
  105. package/api/resources/intelligentFields/client/Client.d.ts +23 -3
  106. package/api/resources/intelligentFields/client/Client.js +23 -3
  107. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +1 -1
  108. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +1 -1
  109. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +4 -4
  110. package/api/resources/intelligentFields/types/EnumOption.d.ts +5 -0
  111. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +2 -2
  112. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +0 -4
  113. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +1 -1
  114. package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +6 -1
  115. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +2 -8
  116. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +9 -1
  117. package/api/resources/intelligentFields/types/index.d.ts +0 -1
  118. package/api/resources/intelligentFields/types/index.js +0 -1
  119. package/api/resources/knowledge/client/Client.d.ts +3 -0
  120. package/api/resources/knowledge/client/Client.js +3 -0
  121. package/api/resources/segments/client/Client.js +1 -3
  122. package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +0 -12
  123. package/api/resources/segments/types/SegmentPatchRequest.d.ts +0 -8
  124. package/api/resources/segments/types/SegmentRequest.d.ts +0 -8
  125. package/api/resources/triggers/client/Client.d.ts +22 -5
  126. package/api/resources/triggers/client/Client.js +38 -10
  127. package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +5 -4
  128. package/api/resources/triggers/types/EventTriggerBase.d.ts +8 -4
  129. package/api/resources/triggers/types/EventTriggerRequest.d.ts +4 -0
  130. package/api/resources/triggers/types/EventTriggerResponse.d.ts +11 -3
  131. package/api/resources/triggers/types/index.d.ts +0 -1
  132. package/api/resources/triggers/types/index.js +0 -1
  133. package/api/resources/users/types/AgentUser.d.ts +2 -0
  134. package/api/resources/users/types/AgentUserFilter.d.ts +3 -0
  135. package/package.json +1 -1
  136. package/reference.md +489 -8
  137. package/serialization/resources/capabilities/client/index.d.ts +1 -0
  138. package/serialization/resources/capabilities/client/index.js +17 -0
  139. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +23 -0
  140. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +57 -0
  141. package/serialization/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.d.ts +10 -0
  142. package/serialization/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.js +42 -0
  143. package/serialization/resources/capabilities/client/requests/index.d.ts +2 -0
  144. package/serialization/resources/capabilities/client/requests/index.js +7 -0
  145. package/serialization/resources/capabilities/index.d.ts +2 -0
  146. package/serialization/resources/capabilities/index.js +18 -0
  147. package/serialization/resources/capabilities/types/CapabilitiesSearchResponse.d.ts +11 -0
  148. package/serialization/resources/capabilities/types/CapabilitiesSearchResponse.js +45 -0
  149. package/serialization/resources/capabilities/types/CapabilityResponse.d.ts +23 -0
  150. package/serialization/resources/capabilities/types/CapabilityResponse.js +53 -0
  151. package/serialization/resources/capabilities/types/CapabilitySortField.d.ts +7 -0
  152. package/serialization/resources/{intelligentFields/types/IntelligentFieldStatus.js → capabilities/types/CapabilitySortField.js} +2 -2
  153. package/serialization/resources/capabilities/types/CapabilitySummary.d.ts +13 -0
  154. package/serialization/resources/capabilities/types/CapabilitySummary.js +47 -0
  155. package/serialization/resources/capabilities/types/index.d.ts +4 -0
  156. package/serialization/resources/capabilities/types/index.js +20 -0
  157. package/serialization/resources/charters/types/CharterBase.d.ts +2 -0
  158. package/serialization/resources/charters/types/CharterBase.js +2 -0
  159. package/serialization/resources/charters/types/CharterRequest.d.ts +0 -2
  160. package/serialization/resources/charters/types/CharterRequest.js +0 -2
  161. package/serialization/resources/charters/types/CharterSearchFilter.d.ts +3 -0
  162. package/serialization/resources/charters/types/CharterSearchFilter.js +3 -0
  163. package/serialization/resources/commons/types/ActionResponse.d.ts +3 -2
  164. package/serialization/resources/commons/types/ActionResponse.js +4 -2
  165. package/serialization/resources/commons/types/AdditionalDataKey.d.ts +7 -0
  166. package/serialization/resources/commons/types/AdditionalDataKey.js +57 -0
  167. package/serialization/resources/commons/types/BaseConversationResponse.d.ts +1 -0
  168. package/serialization/resources/commons/types/BaseConversationResponse.js +1 -0
  169. package/serialization/resources/commons/types/CapabilityBase.d.ts +14 -0
  170. package/serialization/resources/commons/types/CapabilityBase.js +46 -0
  171. package/serialization/resources/{intelligentFields/types/IntelligentFieldStatus.d.ts → commons/types/CapabilityStatus.d.ts} +2 -2
  172. package/serialization/resources/{triggers/types/TriggerPartialUpdate.js → commons/types/CapabilityStatus.js} +2 -4
  173. package/serialization/resources/commons/types/CapabilityType.d.ts +7 -0
  174. package/serialization/resources/commons/types/CapabilityType.js +39 -0
  175. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  176. package/serialization/resources/commons/types/EntityType.js +1 -1
  177. package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -0
  178. package/serialization/resources/commons/types/ErrorMessage.js +2 -0
  179. package/serialization/resources/commons/types/ErrorReason.d.ts +7 -0
  180. package/serialization/resources/commons/types/ErrorReason.js +50 -0
  181. package/serialization/resources/commons/types/EventCondition.d.ts +26 -0
  182. package/serialization/resources/commons/types/EventCondition.js +55 -0
  183. package/serialization/resources/commons/types/EventConditionGroup.d.ts +11 -0
  184. package/serialization/resources/commons/types/EventConditionGroup.js +44 -0
  185. package/serialization/resources/commons/types/EventReferencesCondition.d.ts +12 -0
  186. package/serialization/resources/commons/types/EventReferencesCondition.js +44 -0
  187. package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.d.ts +1 -1
  188. package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.js +1 -1
  189. package/serialization/resources/commons/types/SimulationContext.d.ts +2 -0
  190. package/serialization/resources/commons/types/SimulationContext.js +2 -0
  191. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  192. package/serialization/resources/commons/types/SystemEventName.js +1 -0
  193. package/serialization/resources/commons/types/SystemEventNameCondition.d.ts +12 -0
  194. package/serialization/resources/commons/types/SystemEventNameCondition.js +44 -0
  195. package/serialization/resources/commons/types/UserEventNameCondition.d.ts +12 -0
  196. package/serialization/resources/commons/types/UserEventNameCondition.js +44 -0
  197. package/serialization/resources/commons/types/index.d.ts +13 -0
  198. package/serialization/resources/commons/types/index.js +13 -0
  199. package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  200. package/serialization/resources/conversation/types/ConversationField.js +2 -0
  201. package/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -1
  202. package/serialization/resources/conversation/types/ConversationFilter.js +3 -1
  203. package/serialization/resources/conversation/types/index.d.ts +0 -3
  204. package/serialization/resources/conversation/types/index.js +0 -3
  205. package/serialization/resources/conversationKickoffs/client/index.d.ts +1 -0
  206. package/serialization/resources/conversationKickoffs/client/index.js +17 -0
  207. package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +12 -0
  208. package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +44 -0
  209. package/serialization/resources/conversationKickoffs/client/requests/index.d.ts +1 -0
  210. package/serialization/resources/conversationKickoffs/client/requests/index.js +5 -0
  211. package/serialization/resources/conversationKickoffs/index.d.ts +2 -0
  212. package/serialization/resources/conversationKickoffs/index.js +18 -0
  213. package/serialization/resources/conversationKickoffs/types/ConversationKickoff.d.ts +11 -0
  214. package/serialization/resources/conversationKickoffs/types/ConversationKickoff.js +45 -0
  215. package/serialization/resources/conversationKickoffs/types/index.d.ts +1 -0
  216. package/serialization/resources/conversationKickoffs/types/index.js +17 -0
  217. package/serialization/resources/inbox/types/InboxFilter.d.ts +2 -0
  218. package/serialization/resources/inbox/types/InboxFilter.js +2 -0
  219. package/serialization/resources/index.d.ts +7 -0
  220. package/serialization/resources/index.js +8 -1
  221. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +4 -4
  222. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +4 -4
  223. package/serialization/resources/intelligentFields/types/EnumOption.d.ts +1 -0
  224. package/serialization/resources/intelligentFields/types/EnumOption.js +1 -0
  225. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +0 -2
  226. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +0 -2
  227. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +2 -0
  228. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +2 -0
  229. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +2 -5
  230. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -5
  231. package/serialization/resources/intelligentFields/types/index.d.ts +0 -1
  232. package/serialization/resources/intelligentFields/types/index.js +0 -1
  233. package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +0 -2
  234. package/serialization/resources/segments/types/SegmentPatchRequest.js +0 -2
  235. package/serialization/resources/segments/types/SegmentRequest.d.ts +0 -2
  236. package/serialization/resources/segments/types/SegmentRequest.js +0 -2
  237. package/serialization/resources/triggers/client/index.d.ts +1 -0
  238. package/serialization/resources/triggers/client/index.js +17 -0
  239. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +10 -0
  240. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +43 -0
  241. package/serialization/resources/triggers/client/requests/index.d.ts +1 -0
  242. package/serialization/resources/triggers/client/requests/index.js +5 -0
  243. package/serialization/resources/triggers/index.d.ts +1 -0
  244. package/serialization/resources/triggers/index.js +1 -0
  245. package/serialization/resources/triggers/types/EventTriggerBase.d.ts +2 -3
  246. package/serialization/resources/triggers/types/EventTriggerBase.js +2 -2
  247. package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -0
  248. package/serialization/resources/triggers/types/EventTriggerRequest.js +2 -0
  249. package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -1
  250. package/serialization/resources/triggers/types/EventTriggerResponse.js +3 -1
  251. package/serialization/resources/triggers/types/index.d.ts +0 -1
  252. package/serialization/resources/triggers/types/index.js +0 -1
  253. package/serialization/resources/users/types/AgentUser.d.ts +2 -0
  254. package/serialization/resources/users/types/AgentUser.js +2 -0
  255. package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -0
  256. package/serialization/resources/users/types/AgentUserFilter.js +2 -0
  257. package/version.d.ts +1 -1
  258. package/version.js +1 -1
  259. package/api/resources/triggers/types/TriggerPartialUpdate.d.ts +0 -4
  260. package/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +0 -9
  261. /package/api/resources/{conversation/types/IntelligentFieldFilter.js → capabilities/client/requests/CapabilitiesSearchRequest.js} +0 -0
  262. /package/api/resources/{conversation/types/IntelligentFieldSearchCondition.js → capabilities/client/requests/DeleteCapabilityByTypeRequest.js} +0 -0
  263. /package/api/resources/{triggers/types/TriggerPartialUpdate.js → capabilities/client/requests/GetCapabilityByTypeRequest.js} +0 -0
  264. /package/api/resources/{conversation → commons}/types/IntelligentFieldOperator.d.ts +0 -0
  265. /package/api/resources/{conversation → commons}/types/IntelligentFieldOperator.js +0 -0
  266. /package/api/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.d.ts +0 -0
  267. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldFilter.d.ts +0 -0
  268. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldFilter.js +0 -0
  269. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldOperator.d.ts +0 -0
  270. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldOperator.js +0 -0
@@ -5,7 +5,7 @@
5
5
  export interface IntelligentFieldGetRequest {
6
6
  /** The App ID of the intelligent field to get. If not provided the ID of the calling app will be used. */
7
7
  appId?: string;
8
- /** The agent variant reference ID to resolve the intelligent field's version through. If not provided, defaults to the agent's production variant. */
8
+ /** The agent variant reference ID to resolve the intelligent field's version through. Required on an agent with versioned intelligent fields; a request that omits it there is rejected with reason `VARIANT_REQUIRED`. Otherwise, if omitted, the agent's only variant is used. */
9
9
  variantReferenceId?: string;
10
10
  /** The App ID of the agent variant reference. If not provided, the ID of the calling app will be used. */
11
11
  variantAppId?: string;
@@ -23,13 +23,13 @@ export interface IntelligentFieldPatchRequest {
23
23
  * field beyond that limit is rejected. A field referenced by an active precondition
24
24
  * cannot be deactivated.
25
25
  */
26
- status?: MavenAGI.IntelligentFieldStatus;
26
+ status?: MavenAGI.CapabilityStatus;
27
27
  /** A plain text description of the intelligent field. */
28
28
  description?: string;
29
29
  /** Updated enum options for fields that constrain the LLM to a finite set. Omit to leave unchanged. The new list must be a superset of the existing options (add-only; removals are rejected). */
30
30
  enumOptions?: MavenAGI.EnumOption[];
31
- /** The agent variant to stage this patch in, by reference ID. Its owning app is `variantAppId`. */
32
- variantId?: MavenAGI.EntityIdBase;
33
- /** The App ID of the agent variant named by `variantId`. If not provided, the ID of the calling app will be used — name the owning app to patch in a variant the caller does not own, as the platform's own seeded variants are. */
31
+ /** The agent variant to stage this patch in. Required on an agent with versioned intelligent fields; a patch that omits it there is rejected with reason `VARIANT_REQUIRED`. */
32
+ variantId?: MavenAGI.EntityIdWithoutAgent;
33
+ /** Deprecated, use `variantId.appId`, which wins when both are set. */
34
34
  variantAppId?: string;
35
35
  }
@@ -8,4 +8,9 @@ export interface EnumOption {
8
8
  value: string;
9
9
  /** Display label for the option */
10
10
  label?: string;
11
+ /**
12
+ * Instructions that tell the LLM when to pick this option. Up to 1200 characters. On a
13
+ * patch, an option sent without a description has its description cleared.
14
+ */
15
+ description?: string;
11
16
  }
@@ -1,7 +1,7 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface IntelligentFieldBase extends MavenAGI.IntelligentFieldCore {
3
- /** Target entity type for evaluation. Only CONVERSATION is supported at this time. The backend will return an error for other types. */
3
+ /** Target entity type for evaluation. CONVERSATION is supported, and AGENT_USER is supported for agents with user-level intelligent fields enabled. The backend will return an error for other types. */
4
4
  entityType: MavenAGI.EntityType;
5
- /** ID of the agent variant this field belongs to, if applicable */
5
+ /** On a request, the agent variant to stage the write in. On a response, the variant the request named, if any; absent when it named none. */
6
6
  variantId?: MavenAGI.EntityIdWithoutAgent;
7
7
  }
@@ -3,10 +3,6 @@ import type * as MavenAGI from "../../../index";
3
3
  * The content of an intelligent field -- what it is called, and what the LLM should produce for it.
4
4
  */
5
5
  export interface IntelligentFieldCore {
6
- /** Display name for the intelligent field */
7
- name: string;
8
- /** A plain text description of the intelligent field. */
9
- description?: string;
10
6
  /**
11
7
  * The type of value this field holds. It constrains the schema the LLM is asked to fill
12
8
  * and the JSON type of the computed `value`.
@@ -11,7 +11,7 @@ import type * as MavenAGI from "../../../index";
11
11
  * },
12
12
  * name: "Ticket Priority",
13
13
  * description: "The priority of the conversation based on urgency",
14
- * status: MavenAGI.IntelligentFieldStatus.Inactive,
14
+ * status: MavenAGI.CapabilityStatus.Inactive,
15
15
  * entityType: MavenAGI.EntityType.Conversation,
16
16
  * validationType: MavenAGI.IntelligentFieldType.String,
17
17
  * enumOptions: [{
@@ -11,7 +11,8 @@ import type * as MavenAGI from "../../../index";
11
11
  * validationType: MavenAGI.IntelligentFieldType.String,
12
12
  * enumOptions: [{
13
13
  * value: "HIGH",
14
- * label: "High Priority"
14
+ * label: "High Priority",
15
+ * description: "The customer is blocked or reports an outage."
15
16
  * }, {
16
17
  * value: "MEDIUM",
17
18
  * label: "Medium Priority"
@@ -23,6 +24,10 @@ import type * as MavenAGI from "../../../index";
23
24
  * }
24
25
  */
25
26
  export interface IntelligentFieldRequest extends MavenAGI.IntelligentFieldBase {
27
+ /** Display name for the intelligent field */
28
+ name: string;
29
+ /** A plain text description of the intelligent field. */
30
+ description?: string;
26
31
  /**
27
32
  * ID that uniquely identifies this intelligent field. `referenceId` is supplied by the
28
33
  * caller and is how the field is addressed on every other endpoint.
@@ -11,7 +11,7 @@ import type * as MavenAGI from "../../../index";
11
11
  * },
12
12
  * name: "Ticket Priority",
13
13
  * description: "The priority of the conversation based on urgency",
14
- * status: MavenAGI.IntelligentFieldStatus.Inactive,
14
+ * status: MavenAGI.CapabilityStatus.Inactive,
15
15
  * entityType: MavenAGI.EntityType.Conversation,
16
16
  * validationType: MavenAGI.IntelligentFieldType.String,
17
17
  * enumOptions: [{
@@ -29,13 +29,7 @@ import type * as MavenAGI from "../../../index";
29
29
  * updatedAt: new Date("2024-01-15T10:30:00.000Z")
30
30
  * }
31
31
  */
32
- export interface IntelligentFieldResponse extends MavenAGI.IntelligentFieldBase {
32
+ export interface IntelligentFieldResponse extends MavenAGI.IntelligentFieldBase, MavenAGI.CapabilityBase {
33
33
  /** ID that uniquely identifies this intelligent field */
34
34
  fieldId: MavenAGI.EntityId;
35
- /** Lifecycle state for whether this field is evaluated by workflows. Defaults to INACTIVE on creation. Use PATCH to activate. */
36
- status: MavenAGI.IntelligentFieldStatus;
37
- /** The date and time the intelligent field was created */
38
- createdAt?: Date;
39
- /** The date and time the intelligent field was last updated */
40
- updatedAt?: Date;
41
35
  }
@@ -12,6 +12,14 @@ export interface IntelligentFieldValueSearchRequest extends MavenAGI.BaseCappedP
12
12
  includeUnknownValues?: boolean;
13
13
  /** Field to sort by. Defaults to CREATED_AT. */
14
14
  sort?: MavenAGI.IntelligentFieldValueSortField;
15
- /** Filter to values generated by a specific agent variant. If not provided, returns values from all variants. */
15
+ /**
16
+ * Returns values of the fields in this agent variant's scope: its published snapshot plus
17
+ * its staged edits, matched by field. A value is included whichever variant's conversation
18
+ * produced it, and is named as this variant names the field. If not provided, returns
19
+ * values from all variants.
20
+ *
21
+ * To see values from the conversations pinned to a variant, filter conversations by
22
+ * `variantIds` in conversation search or the analytics APIs.
23
+ */
16
24
  variantId?: MavenAGI.EntityIdWithoutAgent;
17
25
  }
@@ -4,7 +4,6 @@ export * from "./IntelligentFieldCore";
4
4
  export * from "./IntelligentFieldDetailResponse";
5
5
  export * from "./IntelligentFieldRequest";
6
6
  export * from "./IntelligentFieldResponse";
7
- export * from "./IntelligentFieldStatus";
8
7
  export * from "./IntelligentFieldType";
9
8
  export * from "./IntelligentFieldValueEntityFilter";
10
9
  export * from "./IntelligentFieldValueFieldFilter";
@@ -20,7 +20,6 @@ __exportStar(require("./IntelligentFieldCore"), exports);
20
20
  __exportStar(require("./IntelligentFieldDetailResponse"), exports);
21
21
  __exportStar(require("./IntelligentFieldRequest"), exports);
22
22
  __exportStar(require("./IntelligentFieldResponse"), exports);
23
- __exportStar(require("./IntelligentFieldStatus"), exports);
24
23
  __exportStar(require("./IntelligentFieldType"), exports);
25
24
  __exportStar(require("./IntelligentFieldValueEntityFilter"), exports);
26
25
  __exportStar(require("./IntelligentFieldValueFieldFilter"), exports);
@@ -181,6 +181,9 @@ export declare class KnowledgeClient {
181
181
  *
182
182
  * If an existing version is in progress, then that version will be finalized in an error state.
183
183
  *
184
+ * If another version create for the same knowledge base is still in progress, this request may
185
+ * return 503 with a `Retry-After` header. Nothing is changed in that case, so it is safe to retry.
186
+ *
184
187
  * @param {string} knowledgeBaseReferenceId - The reference ID of the knowledge base to create a version for. All other entity ID fields are inferred from the request.
185
188
  * @param {MavenAGI.KnowledgeBaseVersionRequest} request
186
189
  * @param {KnowledgeClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -780,6 +780,9 @@ class KnowledgeClient {
780
780
  *
781
781
  * If an existing version is in progress, then that version will be finalized in an error state.
782
782
  *
783
+ * If another version create for the same knowledge base is still in progress, this request may
784
+ * return 503 with a `Retry-After` header. Nothing is changed in that case, so it is safe to retry.
785
+ *
783
786
  * @param {string} knowledgeBaseReferenceId - The reference ID of the knowledge base to create a version for. All other entity ID fields are inferred from the request.
784
787
  * @param {MavenAGI.KnowledgeBaseVersionRequest} request
785
788
  * @param {KnowledgeClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -523,11 +523,9 @@ class SegmentsClient {
523
523
  __delete(segmentReferenceId_1) {
524
524
  return __awaiter(this, arguments, void 0, function* (segmentReferenceId, request = {}, requestOptions) {
525
525
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
526
- const { appId, variantReferenceId, variantAppId } = request;
526
+ const { appId } = request;
527
527
  const _queryParams = {
528
528
  appId,
529
- variantReferenceId,
530
- variantAppId,
531
529
  };
532
530
  const _authRequest = yield this._options.authProvider.getAuthRequest();
533
531
  const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
@@ -5,16 +5,4 @@
5
5
  export interface SegmentDeleteRequest {
6
6
  /** The App ID of the segment to delete. If not provided, the ID of the calling app will be used. */
7
7
  appId?: string;
8
- /**
9
- * The reference ID of the agent variant this delete is scoped to. When set, the
10
- * deletion is staged in that variant's working set instead of being applied to the
11
- * agent's live configuration.
12
- *
13
- * Omit this parameter to delete directly from the agent. Variant scoping is not
14
- * active yet: a variant supplied today is accepted and ignored, and the delete applies
15
- * to the agent.
16
- */
17
- variantReferenceId?: string;
18
- /** The App ID of the agent variant named by `variantReferenceId`. If not provided, the ID of the calling app will be used. */
19
- variantAppId?: string;
20
8
  }
@@ -10,12 +10,4 @@ export interface SegmentPatchRequest {
10
10
  precondition?: MavenAGI.Precondition;
11
11
  /** The status of the segment. Segments can only be deactivated if they are not set on any actions or active knowledge bases. */
12
12
  status?: MavenAGI.SegmentStatus;
13
- /**
14
- * The agent variant this patch is scoped to. When set, the patch is staged in that
15
- * variant's working set instead of being applied to the agent's live configuration.
16
- *
17
- * Omit this field to patch the agent directly. Variant scoping is not active yet: a
18
- * variant supplied today is accepted and ignored, and the patch applies to the agent.
19
- */
20
- variantId?: MavenAGI.EntityIdWithoutAgent;
21
13
  }
@@ -22,14 +22,6 @@ import type * as MavenAGI from "../../../index";
22
22
  export interface SegmentRequest extends MavenAGI.SegmentBase {
23
23
  /** ID that uniquely identifies this segment */
24
24
  segmentId: MavenAGI.EntityIdBase;
25
- /**
26
- * The agent variant this write is scoped to. When set, the segment content is staged in
27
- * that variant's working set instead of being applied to the agent's live configuration.
28
- *
29
- * Omit this field to write directly to the agent. Variant scoping is not active yet: a
30
- * variant supplied today is accepted and ignored, and the write applies to the agent.
31
- */
32
- variantId?: MavenAGI.EntityIdWithoutAgent;
33
25
  /** The precondition that must be met for a conversation message to be included in the segment. */
34
26
  precondition: MavenAGI.Precondition;
35
27
  /** Desired status for the segment. If omitted, defaults to ACTIVE. In the future this will become required, so specify ACTIVE or INACTIVE if possible. */
@@ -11,6 +11,12 @@ export declare class TriggersClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<TriggersClient.Options>;
12
12
  constructor(options: TriggersClient.Options);
13
13
  /**
14
+ * @deprecated
15
+ *
16
+ * Deprecated. Use `POST /v1/capabilities/search`, which searches every kind of capability
17
+ * at once. It returns the fields every capability shares rather than the whole Event
18
+ * Trigger; fetch one by its kind and reference ID for the rest.
19
+ *
14
20
  * @param {MavenAGI.EventTriggersSearchRequest} request
15
21
  * @param {TriggersClient.RequestOptions} requestOptions - Request-specific configuration.
16
22
  *
@@ -53,6 +59,11 @@ export declare class TriggersClient {
53
59
  createOrUpdate(request: MavenAGI.EventTriggerRequest, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<MavenAGI.EventTriggerResponse>;
54
60
  private __createOrUpdate;
55
61
  /**
62
+ * @deprecated
63
+ *
64
+ * Deprecated. Use `GET /v1/capabilities/TRIGGER/{referenceId}`, which returns this same
65
+ * object for a trigger and the equivalent for every other kind of capability.
66
+ *
56
67
  * Get an event trigger by its supplied ID
57
68
  *
58
69
  * @param {string} triggerReferenceId - The reference ID of the event trigger to get. All other entity ID fields are inferred from the request.
@@ -72,6 +83,11 @@ export declare class TriggersClient {
72
83
  get(triggerReferenceId: string, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<MavenAGI.EventTriggerResponse>;
73
84
  private __get;
74
85
  /**
86
+ * @deprecated
87
+ *
88
+ * Deprecated. Use `DELETE /v1/capabilities/TRIGGER/{referenceId}`, which deletes any kind
89
+ * of capability the same way.
90
+ *
75
91
  * Delete an event trigger
76
92
  *
77
93
  * @param {string} triggerReferenceId - The reference ID of the event trigger to delete. All other entity ID fields are inferred from the request.
@@ -91,7 +107,10 @@ export declare class TriggersClient {
91
107
  delete(triggerReferenceId: string, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<void>;
92
108
  private __delete;
93
109
  /**
94
- * Updates an event trigger. Only the enabled field is editable.
110
+ * Updates an event trigger. `enabled` and `condition` are the editable fields.
111
+ *
112
+ * `PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status` also turns a trigger on and
113
+ * off, the same way it publishes and unpublishes any kind of capability.
95
114
  *
96
115
  * @param {string} triggerReferenceId - The reference ID of the event trigger to update. All other entity ID fields are inferred from the request.
97
116
  * @param {MavenAGI.PartialUpdateRequest} request
@@ -106,10 +125,8 @@ export declare class TriggersClient {
106
125
  * @throws {@link errors.MavenAGITimeoutError}
107
126
  *
108
127
  * @example
109
- * await client.triggers.partialUpdate("triggerReferenceId", {
110
- * body: {}
111
- * })
128
+ * await client.triggers.partialUpdate("triggerReferenceId")
112
129
  */
113
- partialUpdate(triggerReferenceId: string, request: MavenAGI.PartialUpdateRequest, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<MavenAGI.EventTriggerResponse>;
130
+ partialUpdate(triggerReferenceId: string, request?: MavenAGI.PartialUpdateRequest, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<MavenAGI.EventTriggerResponse>;
114
131
  private __partialUpdate;
115
132
  }
@@ -42,6 +42,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
42
42
  step((generator = generator.apply(thisArg, _arguments || [])).next());
43
43
  });
44
44
  };
45
+ var __rest = (this && this.__rest) || function (s, e) {
46
+ var t = {};
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
+ t[p] = s[p];
49
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
+ t[p[i]] = s[p[i]];
53
+ }
54
+ return t;
55
+ };
45
56
  Object.defineProperty(exports, "__esModule", { value: true });
46
57
  exports.TriggersClient = void 0;
47
58
  const BaseClient_1 = require("../../../../BaseClient");
@@ -58,6 +69,12 @@ class TriggersClient {
58
69
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
59
70
  }
60
71
  /**
72
+ * @deprecated
73
+ *
74
+ * Deprecated. Use `POST /v1/capabilities/search`, which searches every kind of capability
75
+ * at once. It returns the fields every capability shares rather than the whole Event
76
+ * Trigger; fetch one by its kind and reference ID for the rest.
77
+ *
61
78
  * @param {MavenAGI.EventTriggersSearchRequest} request
62
79
  * @param {TriggersClient.RequestOptions} requestOptions - Request-specific configuration.
63
80
  *
@@ -264,6 +281,11 @@ class TriggersClient {
264
281
  });
265
282
  }
266
283
  /**
284
+ * @deprecated
285
+ *
286
+ * Deprecated. Use `GET /v1/capabilities/TRIGGER/{referenceId}`, which returns this same
287
+ * object for a trigger and the equivalent for every other kind of capability.
288
+ *
267
289
  * Get an event trigger by its supplied ID
268
290
  *
269
291
  * @param {string} triggerReferenceId - The reference ID of the event trigger to get. All other entity ID fields are inferred from the request.
@@ -362,6 +384,11 @@ class TriggersClient {
362
384
  });
363
385
  }
364
386
  /**
387
+ * @deprecated
388
+ *
389
+ * Deprecated. Use `DELETE /v1/capabilities/TRIGGER/{referenceId}`, which deletes any kind
390
+ * of capability the same way.
391
+ *
365
392
  * Delete an event trigger
366
393
  *
367
394
  * @param {string} triggerReferenceId - The reference ID of the event trigger to delete. All other entity ID fields are inferred from the request.
@@ -452,7 +479,10 @@ class TriggersClient {
452
479
  });
453
480
  }
454
481
  /**
455
- * Updates an event trigger. Only the enabled field is editable.
482
+ * Updates an event trigger. `enabled` and `condition` are the editable fields.
483
+ *
484
+ * `PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status` also turns a trigger on and
485
+ * off, the same way it publishes and unpublishes any kind of capability.
456
486
  *
457
487
  * @param {string} triggerReferenceId - The reference ID of the event trigger to update. All other entity ID fields are inferred from the request.
458
488
  * @param {MavenAGI.PartialUpdateRequest} request
@@ -467,17 +497,15 @@ class TriggersClient {
467
497
  * @throws {@link errors.MavenAGITimeoutError}
468
498
  *
469
499
  * @example
470
- * await client.triggers.partialUpdate("triggerReferenceId", {
471
- * body: {}
472
- * })
500
+ * await client.triggers.partialUpdate("triggerReferenceId")
473
501
  */
474
- partialUpdate(triggerReferenceId, request, requestOptions) {
502
+ partialUpdate(triggerReferenceId, request = {}, requestOptions) {
475
503
  return core.HttpResponsePromise.fromPromise(this.__partialUpdate(triggerReferenceId, request, requestOptions));
476
504
  }
477
- __partialUpdate(triggerReferenceId, request, requestOptions) {
478
- return __awaiter(this, void 0, void 0, function* () {
505
+ __partialUpdate(triggerReferenceId_1) {
506
+ return __awaiter(this, arguments, void 0, function* (triggerReferenceId, request = {}, requestOptions) {
479
507
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
480
- const { appId, body: _body } = request;
508
+ const { appId } = request, _body = __rest(request, ["appId"]);
481
509
  const _queryParams = {
482
510
  appId,
483
511
  };
@@ -490,14 +518,14 @@ class TriggersClient {
490
518
  url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/triggers/${core.url.encodePathParam(triggerReferenceId)}`),
491
519
  method: "PATCH",
492
520
  headers: _headers,
493
- contentType: "application/json",
521
+ contentType: "application/merge-patch+json",
494
522
  queryString: core.url
495
523
  .queryBuilder()
496
524
  .addMany(_queryParams)
497
525
  .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
498
526
  .build(),
499
527
  requestType: "json",
500
- body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.TriggerPartialUpdate.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
528
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.PartialUpdateRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
501
529
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
502
530
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
503
531
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1,12 +1,13 @@
1
1
  import type * as MavenAGI from "../../../../index";
2
2
  /**
3
3
  * @example
4
- * {
5
- * body: {}
6
- * }
4
+ * {}
7
5
  */
8
6
  export interface PartialUpdateRequest {
9
7
  /** The App ID of the trigger to update. If not provided, the ID of the calling app will be used. */
10
8
  appId?: string;
11
- body: MavenAGI.TriggerPartialUpdate;
9
+ /** Whether the trigger will be called by Maven. */
10
+ enabled?: boolean;
11
+ /** Narrows which events fire this trigger. Omitted leaves the current condition alone; an explicit null removes it, so the trigger fires for every event again. */
12
+ condition?: MavenAGI.EventCondition | null;
12
13
  }
@@ -1,9 +1,5 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface EventTriggerBase {
3
- /** The name of the trigger, displayed to end users. If not set, a name is derived from the app ID and trigger type. */
4
- name?: string;
5
- /** The description of what the event trigger does, shown in the Maven Dashboard */
6
- description: string;
7
3
  /**
8
4
  * The type of event trigger this app wishes to handle.
9
5
  *
@@ -15,4 +11,12 @@ export interface EventTriggerBase {
15
11
  * Inbox triggers fire when an inbox item is created or updated.
16
12
  */
17
13
  type: MavenAGI.EventTriggerType;
14
+ /**
15
+ * Narrows which events fire this trigger. Without one the trigger fires for every event on
16
+ * the agent. Re-registering writes whatever condition the request carries, so omitting it
17
+ * removes one; PATCH changes or removes a condition without re-registering.
18
+ *
19
+ * Only allowed on `EVENT_CREATED`; the other trigger types reject it.
20
+ */
21
+ condition?: MavenAGI.EventCondition;
18
22
  }
@@ -10,6 +10,10 @@ import type * as MavenAGI from "../../../index";
10
10
  * }
11
11
  */
12
12
  export interface EventTriggerRequest extends MavenAGI.EventTriggerBase {
13
+ /** The name of the trigger, displayed to end users. If not set, a name is derived from the app ID and trigger type. */
14
+ name?: string;
15
+ /** The description of what the event trigger does, shown in the Maven Dashboard */
16
+ description: string;
13
17
  /** ID that uniquely identifies this event trigger */
14
18
  triggerId: MavenAGI.EntityIdBase;
15
19
  }
@@ -9,14 +9,22 @@ import type * as MavenAGI from "../../../index";
9
9
  * agentId: "support",
10
10
  * type: MavenAGI.EntityType.EventTrigger
11
11
  * },
12
+ * name: "Store in Snowflake",
12
13
  * description: "Stores conversation data in Snowflake",
13
14
  * type: MavenAGI.EventTriggerType.ConversationCreated,
14
- * enabled: true
15
+ * enabled: true,
16
+ * createdAt: new Date("2026-01-15T10:30:00.000Z"),
17
+ * updatedAt: new Date("2026-01-15T10:30:00.000Z"),
18
+ * status: MavenAGI.CapabilityStatus.Active
15
19
  * }
16
20
  */
17
- export interface EventTriggerResponse extends MavenAGI.EventTriggerBase {
21
+ export interface EventTriggerResponse extends MavenAGI.EventTriggerBase, MavenAGI.CapabilityBase {
18
22
  /** ID that uniquely identifies this event trigger */
19
23
  triggerId: MavenAGI.EntityId;
20
- /** Whether this trigger will be called by Maven. */
24
+ /**
25
+ * Deprecated. Superseded by `status`, which says the same thing for every capability type.
26
+ *
27
+ * Whether this trigger will be called by Maven.
28
+ */
21
29
  enabled: boolean;
22
30
  }
@@ -4,4 +4,3 @@ export * from "./EventTriggerResponse";
4
4
  export * from "./EventTriggersSearchRequest";
5
5
  export * from "./EventTriggersSearchResponse";
6
6
  export * from "./TriggerField";
7
- export * from "./TriggerPartialUpdate";
@@ -20,4 +20,3 @@ __exportStar(require("./EventTriggerResponse"), exports);
20
20
  __exportStar(require("./EventTriggersSearchRequest"), exports);
21
21
  __exportStar(require("./EventTriggersSearchResponse"), exports);
22
22
  __exportStar(require("./TriggerField"), exports);
23
- __exportStar(require("./TriggerPartialUpdate"), exports);
@@ -59,4 +59,6 @@ export interface AgentUser {
59
59
  * If two apps create users with the same identifying properties, they will be merged into a single agent user.
60
60
  */
61
61
  users: MavenAGI.AppUserSummary[];
62
+ /** Latest successful values of the agent user's intelligent fields. */
63
+ intelligentFieldValues?: MavenAGI.IntelligentFieldValueResponse[];
62
64
  }
@@ -1,3 +1,4 @@
1
+ import type * as MavenAGI from "../../../index";
1
2
  export interface AgentUserFilter {
2
3
  /**
3
4
  * Full-text search query for matching agent users by content.
@@ -16,4 +17,6 @@ export interface AgentUserFilter {
16
17
  * When false, only non-anonymous users are returned. An anonymous user is one without any identifiers or name data.
17
18
  */
18
19
  isAnonymous?: boolean;
20
+ /** Filter by intelligent field values. All conditions are ANDed together. */
21
+ intelligentFields?: MavenAGI.IntelligentFieldFilter;
19
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mavenagi",
3
- "version": "1.2.61",
3
+ "version": "1.2.63",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",