mavenagi 1.2.62 → 1.2.64

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 (202) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +13 -1
  3. package/api/resources/agents/types/Agent.d.ts +6 -0
  4. package/api/resources/agents/types/AgentPrompting.d.ts +2 -0
  5. package/api/resources/analytics/types/ConversationBarChartRequest.d.ts +4 -0
  6. package/api/resources/analytics/types/ConversationBasicMetric.d.ts +4 -1
  7. package/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +2 -0
  8. package/api/resources/analytics/types/ConversationPieChartRequest.d.ts +2 -0
  9. package/api/resources/capabilities/client/Client.d.ts +35 -0
  10. package/api/resources/capabilities/client/Client.js +117 -0
  11. package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +7 -2
  12. package/api/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +36 -0
  13. package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.d.ts +4 -1
  14. package/api/resources/capabilities/client/requests/index.d.ts +1 -0
  15. package/api/resources/capabilities/types/CapabilityExecution.d.ts +14 -0
  16. package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +32 -0
  17. package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +36 -0
  18. package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.js +39 -0
  19. package/api/resources/capabilities/types/CapabilityExecutionRetryability.d.ts +17 -0
  20. package/api/resources/capabilities/types/CapabilityExecutionRetryability.js +20 -0
  21. package/api/resources/capabilities/types/CapabilityExecutionStatus.d.ts +10 -0
  22. package/api/resources/capabilities/types/CapabilityExecutionStatus.js +13 -0
  23. package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +62 -0
  24. package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.js +3 -0
  25. package/api/resources/capabilities/types/ConversationKickoffCapabilityExecution.d.ts +7 -0
  26. package/api/resources/capabilities/types/ConversationKickoffCapabilityExecution.js +3 -0
  27. package/api/resources/capabilities/types/TriggerCapabilityExecution.d.ts +19 -0
  28. package/api/resources/capabilities/types/TriggerCapabilityExecution.js +3 -0
  29. package/api/resources/capabilities/types/index.d.ts +8 -0
  30. package/api/resources/capabilities/types/index.js +8 -0
  31. package/api/resources/charters/client/Client.js +6 -2
  32. package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +6 -6
  33. package/api/resources/charters/client/requests/CharterGetAncestorsRequest.d.ts +12 -0
  34. package/api/resources/charters/client/requests/CharterGetRequest.d.ts +12 -0
  35. package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +5 -6
  36. package/api/resources/charters/types/CharterBase.d.ts +10 -0
  37. package/api/resources/charters/types/CharterListChildrenRequest.d.ts +10 -0
  38. package/api/resources/charters/types/CharterRequest.d.ts +0 -8
  39. package/api/resources/charters/types/CharterSearchFilter.d.ts +10 -0
  40. package/api/resources/commons/types/AdditionalDataKey.d.ts +63 -0
  41. package/api/resources/commons/types/AdditionalDataKey.js +66 -0
  42. package/api/resources/commons/types/BaseConversationResponse.d.ts +4 -3
  43. package/api/resources/commons/types/BotLogicCharterDetail.d.ts +1 -1
  44. package/api/resources/commons/types/BotLogicSegmentsItem.d.ts +3 -0
  45. package/api/resources/commons/types/ConversationAnalysis.d.ts +1 -1
  46. package/api/resources/commons/types/ErrorReason.d.ts +7 -1
  47. package/api/resources/commons/types/ErrorReason.js +7 -1
  48. package/api/resources/commons/types/EventCondition.d.ts +35 -0
  49. package/api/resources/commons/types/EventCondition.js +3 -0
  50. package/api/resources/commons/types/EventConditionGroup.d.ts +11 -0
  51. package/api/resources/commons/types/EventConditionGroup.js +3 -0
  52. package/api/resources/commons/types/EventReferencesCondition.d.ts +13 -0
  53. package/api/resources/commons/types/EventReferencesCondition.js +3 -0
  54. package/api/resources/{conversation → commons}/types/IntelligentFieldFilter.d.ts +1 -1
  55. package/api/resources/commons/types/IntelligentFieldFilter.js +3 -0
  56. package/api/resources/commons/types/IntelligentFieldSearchCondition.js +3 -0
  57. package/api/resources/commons/types/SimulationContext.d.ts +12 -0
  58. package/api/resources/commons/types/SystemEventName.d.ts +4 -1
  59. package/api/resources/commons/types/SystemEventName.js +4 -1
  60. package/api/resources/commons/types/SystemEventNameCondition.d.ts +10 -0
  61. package/api/resources/commons/types/SystemEventNameCondition.js +3 -0
  62. package/api/resources/commons/types/UserEventNameCondition.d.ts +10 -0
  63. package/api/resources/commons/types/UserEventNameCondition.js +3 -0
  64. package/api/resources/commons/types/index.d.ts +9 -0
  65. package/api/resources/commons/types/index.js +9 -0
  66. package/api/resources/conversation/client/Client.d.ts +21 -2
  67. package/api/resources/conversation/client/Client.js +21 -2
  68. package/api/resources/conversation/types/ConversationField.d.ts +22 -1
  69. package/api/resources/conversation/types/ConversationField.js +22 -1
  70. package/api/resources/conversation/types/ConversationFilter.d.ts +18 -0
  71. package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
  72. package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +2 -2
  73. package/api/resources/conversation/types/index.d.ts +0 -3
  74. package/api/resources/conversation/types/index.js +0 -3
  75. package/api/resources/customers/types/CustomerFilter.d.ts +14 -1
  76. package/api/resources/events/client/Client.d.ts +1 -1
  77. package/api/resources/events/client/Client.js +1 -1
  78. package/api/resources/inbox/types/InboxFilter.d.ts +11 -0
  79. package/api/resources/intelligentFields/client/Client.d.ts +11 -3
  80. package/api/resources/intelligentFields/client/Client.js +11 -3
  81. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +9 -1
  82. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +3 -3
  83. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +2 -2
  84. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +10 -1
  85. package/api/resources/segments/client/Client.js +1 -3
  86. package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +0 -12
  87. package/api/resources/segments/types/SegmentPatchRequest.d.ts +0 -8
  88. package/api/resources/segments/types/SegmentRequest.d.ts +0 -8
  89. package/api/resources/triggers/client/Client.d.ts +5 -9
  90. package/api/resources/triggers/client/Client.js +21 -14
  91. package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +5 -4
  92. package/api/resources/triggers/types/EventTriggerBase.d.ts +8 -0
  93. package/api/resources/triggers/types/index.d.ts +0 -1
  94. package/api/resources/triggers/types/index.js +0 -1
  95. package/api/resources/users/types/AgentUser.d.ts +2 -0
  96. package/api/resources/users/types/AgentUserFilter.d.ts +3 -0
  97. package/package.json +1 -1
  98. package/reference.md +115 -11
  99. package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +2 -0
  100. package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -0
  101. package/serialization/resources/agents/types/Agent.d.ts +2 -0
  102. package/serialization/resources/agents/types/Agent.js +2 -0
  103. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +2 -0
  104. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +2 -0
  105. package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +16 -0
  106. package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js +50 -0
  107. package/serialization/resources/capabilities/client/requests/index.d.ts +1 -0
  108. package/serialization/resources/capabilities/client/requests/index.js +3 -1
  109. package/serialization/resources/capabilities/types/CapabilityExecution.d.ts +15 -0
  110. package/serialization/resources/capabilities/types/CapabilityExecution.js +49 -0
  111. package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +20 -0
  112. package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +52 -0
  113. package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +7 -0
  114. package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.js +50 -0
  115. package/serialization/resources/capabilities/types/CapabilityExecutionRetryability.d.ts +7 -0
  116. package/serialization/resources/capabilities/types/CapabilityExecutionRetryability.js +39 -0
  117. package/serialization/resources/capabilities/types/CapabilityExecutionStatus.d.ts +7 -0
  118. package/serialization/resources/{triggers/types/TriggerPartialUpdate.js → capabilities/types/CapabilityExecutionStatus.js} +2 -4
  119. package/serialization/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +11 -0
  120. package/serialization/resources/capabilities/types/CapabilityExecutionsSearchResponse.js +45 -0
  121. package/serialization/resources/capabilities/types/ConversationKickoffCapabilityExecution.d.ts +9 -0
  122. package/serialization/resources/capabilities/types/ConversationKickoffCapabilityExecution.js +40 -0
  123. package/serialization/resources/capabilities/types/TriggerCapabilityExecution.d.ts +15 -0
  124. package/serialization/resources/capabilities/types/TriggerCapabilityExecution.js +49 -0
  125. package/serialization/resources/capabilities/types/index.d.ts +8 -0
  126. package/serialization/resources/capabilities/types/index.js +8 -0
  127. package/serialization/resources/charters/types/CharterBase.d.ts +2 -0
  128. package/serialization/resources/charters/types/CharterBase.js +2 -0
  129. package/serialization/resources/charters/types/CharterListChildrenRequest.d.ts +2 -0
  130. package/serialization/resources/charters/types/CharterListChildrenRequest.js +2 -0
  131. package/serialization/resources/charters/types/CharterRequest.d.ts +0 -2
  132. package/serialization/resources/charters/types/CharterRequest.js +0 -2
  133. package/serialization/resources/charters/types/CharterSearchFilter.d.ts +2 -0
  134. package/serialization/resources/charters/types/CharterSearchFilter.js +2 -0
  135. package/serialization/resources/commons/types/AdditionalDataKey.d.ts +7 -0
  136. package/serialization/resources/commons/types/AdditionalDataKey.js +57 -0
  137. package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
  138. package/serialization/resources/commons/types/ErrorReason.js +2 -0
  139. package/serialization/resources/commons/types/EventCondition.d.ts +26 -0
  140. package/serialization/resources/commons/types/EventCondition.js +55 -0
  141. package/serialization/resources/commons/types/EventConditionGroup.d.ts +11 -0
  142. package/serialization/resources/commons/types/EventConditionGroup.js +44 -0
  143. package/serialization/resources/commons/types/EventReferencesCondition.d.ts +12 -0
  144. package/serialization/resources/commons/types/EventReferencesCondition.js +44 -0
  145. package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.d.ts +1 -1
  146. package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.js +1 -1
  147. package/serialization/resources/commons/types/SimulationContext.d.ts +2 -0
  148. package/serialization/resources/commons/types/SimulationContext.js +2 -0
  149. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  150. package/serialization/resources/commons/types/SystemEventName.js +1 -0
  151. package/serialization/resources/commons/types/SystemEventNameCondition.d.ts +12 -0
  152. package/serialization/resources/commons/types/SystemEventNameCondition.js +44 -0
  153. package/serialization/resources/commons/types/UserEventNameCondition.d.ts +12 -0
  154. package/serialization/resources/commons/types/UserEventNameCondition.js +44 -0
  155. package/serialization/resources/commons/types/index.d.ts +9 -0
  156. package/serialization/resources/commons/types/index.js +9 -0
  157. package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  158. package/serialization/resources/conversation/types/ConversationField.js +2 -0
  159. package/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -1
  160. package/serialization/resources/conversation/types/ConversationFilter.js +3 -1
  161. package/serialization/resources/conversation/types/index.d.ts +0 -3
  162. package/serialization/resources/conversation/types/index.js +0 -3
  163. package/serialization/resources/inbox/types/InboxFilter.d.ts +2 -0
  164. package/serialization/resources/inbox/types/InboxFilter.js +2 -0
  165. package/serialization/resources/index.d.ts +1 -0
  166. package/serialization/resources/index.js +1 -0
  167. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +2 -2
  168. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +2 -2
  169. package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +0 -2
  170. package/serialization/resources/segments/types/SegmentPatchRequest.js +0 -2
  171. package/serialization/resources/segments/types/SegmentRequest.d.ts +0 -2
  172. package/serialization/resources/segments/types/SegmentRequest.js +0 -2
  173. package/serialization/resources/triggers/client/index.d.ts +1 -0
  174. package/serialization/resources/triggers/client/index.js +17 -0
  175. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +10 -0
  176. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +43 -0
  177. package/serialization/resources/triggers/client/requests/index.d.ts +1 -0
  178. package/serialization/resources/triggers/client/requests/index.js +5 -0
  179. package/serialization/resources/triggers/index.d.ts +1 -0
  180. package/serialization/resources/triggers/index.js +1 -0
  181. package/serialization/resources/triggers/types/EventTriggerBase.d.ts +2 -1
  182. package/serialization/resources/triggers/types/EventTriggerBase.js +2 -0
  183. package/serialization/resources/triggers/types/index.d.ts +0 -1
  184. package/serialization/resources/triggers/types/index.js +0 -1
  185. package/serialization/resources/users/types/AgentUser.d.ts +2 -0
  186. package/serialization/resources/users/types/AgentUser.js +2 -0
  187. package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -0
  188. package/serialization/resources/users/types/AgentUserFilter.js +2 -0
  189. package/version.d.ts +1 -1
  190. package/version.js +1 -1
  191. package/api/resources/triggers/types/TriggerPartialUpdate.d.ts +0 -4
  192. package/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +0 -9
  193. /package/api/resources/{conversation/types/IntelligentFieldFilter.js → capabilities/client/requests/CapabilityExecutionsSearchRequest.js} +0 -0
  194. /package/api/resources/{conversation/types/IntelligentFieldSearchCondition.js → capabilities/types/CapabilityExecution.js} +0 -0
  195. /package/api/resources/{triggers/types/TriggerPartialUpdate.js → capabilities/types/CapabilityExecutionBase.js} +0 -0
  196. /package/api/resources/{conversation → commons}/types/IntelligentFieldOperator.d.ts +0 -0
  197. /package/api/resources/{conversation → commons}/types/IntelligentFieldOperator.js +0 -0
  198. /package/api/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.d.ts +0 -0
  199. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldFilter.d.ts +0 -0
  200. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldFilter.js +0 -0
  201. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldOperator.d.ts +0 -0
  202. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldOperator.js +0 -0
@@ -0,0 +1,19 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * An Event Trigger notifying its app of an event. `SUCCESS` means the app's handler
4
+ * acknowledged the event, not that the app finished the work it was notified about.
5
+ */
6
+ export interface TriggerCapabilityExecution extends MavenAGI.CapabilityExecutionBase {
7
+ /** The kind of event that caused this run. */
8
+ eventType: MavenAGI.EventTriggerType;
9
+ /**
10
+ * Which delivery attempt this is, starting at 1. Retries are recorded as further
11
+ * executions, so several executions for one trigger and subject with ascending attempts are
12
+ * one delivery retried, while several all at attempt 1 are separate fires.
13
+ */
14
+ attempt: number;
15
+ /** How a failure should be treated. Present only on FAILED executions. */
16
+ retryability?: MavenAGI.CapabilityExecutionRetryability;
17
+ /** HTTP status returned by the app, when the failure carried one. */
18
+ httpStatus?: number;
19
+ }
@@ -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,4 +1,12 @@
1
1
  export * from "./CapabilitiesSearchResponse";
2
+ export * from "./CapabilityExecution";
3
+ export * from "./CapabilityExecutionBase";
4
+ export * from "./CapabilityExecutionCompletionReason";
5
+ export * from "./CapabilityExecutionRetryability";
6
+ export * from "./CapabilityExecutionStatus";
7
+ export * from "./CapabilityExecutionsSearchResponse";
2
8
  export * from "./CapabilityResponse";
3
9
  export * from "./CapabilitySortField";
4
10
  export * from "./CapabilitySummary";
11
+ export * from "./ConversationKickoffCapabilityExecution";
12
+ export * from "./TriggerCapabilityExecution";
@@ -15,6 +15,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CapabilitiesSearchResponse"), exports);
18
+ __exportStar(require("./CapabilityExecution"), exports);
19
+ __exportStar(require("./CapabilityExecutionBase"), exports);
20
+ __exportStar(require("./CapabilityExecutionCompletionReason"), exports);
21
+ __exportStar(require("./CapabilityExecutionRetryability"), exports);
22
+ __exportStar(require("./CapabilityExecutionStatus"), exports);
23
+ __exportStar(require("./CapabilityExecutionsSearchResponse"), exports);
18
24
  __exportStar(require("./CapabilityResponse"), exports);
19
25
  __exportStar(require("./CapabilitySortField"), exports);
20
26
  __exportStar(require("./CapabilitySummary"), exports);
27
+ __exportStar(require("./ConversationKickoffCapabilityExecution"), exports);
28
+ __exportStar(require("./TriggerCapabilityExecution"), exports);
@@ -214,9 +214,11 @@ class ChartersClient {
214
214
  __get(charterReferenceId_1) {
215
215
  return __awaiter(this, arguments, void 0, function* (charterReferenceId, request = {}, requestOptions) {
216
216
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
217
- const { appId } = request;
217
+ const { appId, variantReferenceId, variantAppId } = request;
218
218
  const _queryParams = {
219
219
  appId,
220
+ variantReferenceId,
221
+ variantAppId,
220
222
  };
221
223
  const _authRequest = yield this._options.authProvider.getAuthRequest();
222
224
  const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
@@ -685,9 +687,11 @@ class ChartersClient {
685
687
  __getAncestors(charterReferenceId_1) {
686
688
  return __awaiter(this, arguments, void 0, function* (charterReferenceId, request = {}, requestOptions) {
687
689
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
688
- const { appId } = request;
690
+ const { appId, variantReferenceId, variantAppId } = request;
689
691
  const _queryParams = {
690
692
  appId,
693
+ variantReferenceId,
694
+ variantAppId,
691
695
  };
692
696
  const _authRequest = yield this._options.authProvider.getAuthRequest();
693
697
  const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
@@ -6,13 +6,13 @@ export interface CharterDeleteRequest {
6
6
  /** The App ID of the charter to delete. If not provided, the ID of the calling app will be used. */
7
7
  appId?: string;
8
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.
9
+ * The reference ID of the agent variant this delete is scoped to. While charters are
10
+ * versioned for the agent, the deletion is staged in that variant's working set
11
+ * instead of being applied to the agent's live configuration, and a delete that names
12
+ * no variant is rejected with `VARIANT_REQUIRED`.
12
13
  *
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.
14
+ * While they aren't, omit this parameter to delete directly from the agent; naming a
15
+ * variant then is rejected.
16
16
  */
17
17
  variantReferenceId?: string;
18
18
  /** The App ID of the agent variant named by `variantReferenceId`. If not provided, the ID of the calling app will be used. */
@@ -5,4 +5,16 @@
5
5
  export interface CharterGetAncestorsRequest {
6
6
  /** The App ID of the charter. If not provided, the ID of the calling app will be used. */
7
7
  appId?: string;
8
+ /**
9
+ * The agent variant reference ID to read the ancestors through. Its staged edits are
10
+ * included: a charter with a staged edit is read at that edit, a charter created in the
11
+ * variant is included, and a charter deleted in the variant, whether the delete is
12
+ * staged or already in its snapshot, is a 404, as is one the variant doesn't carry. If
13
+ * not provided, the request is rejected with `VARIANT_REQUIRED` while charters are
14
+ * versioned for the agent, and otherwise reads through the agent's single variant, as
15
+ * its snapshot has it, or the published charters while variant reads are off.
16
+ */
17
+ variantReferenceId?: string;
18
+ /** The App ID of the agent variant reference. If not provided, the ID of the calling app will be used. */
19
+ variantAppId?: string;
8
20
  }
@@ -5,4 +5,16 @@
5
5
  export interface CharterGetRequest {
6
6
  /** The App ID of the charter to get. If not provided, the ID of the calling app will be used. */
7
7
  appId?: string;
8
+ /**
9
+ * The agent variant reference ID to read the charter through. Its staged edits are
10
+ * included: a charter with a staged edit is read at that edit, a charter created in the
11
+ * variant is included, and a charter deleted in the variant, whether the delete is
12
+ * staged or already in its snapshot, is a 404, as is one the variant doesn't carry. If
13
+ * not provided, the request is rejected with `VARIANT_REQUIRED` while charters are
14
+ * versioned for the agent, and otherwise reads through the agent's single variant, as
15
+ * its snapshot has it, or the published charters while variant reads are off.
16
+ */
17
+ variantReferenceId?: string;
18
+ /** The App ID of the agent variant reference. If not provided, the ID of the calling app will be used. */
19
+ variantAppId?: string;
8
20
  }
@@ -56,12 +56,11 @@ export interface CharterPatchRequest {
56
56
  */
57
57
  references?: MavenAGI.CharterPatchReferences;
58
58
  /**
59
- * The agent variant this patch is scoped to. When set, the patch is staged in that
60
- * variant's working set instead of being applied to the agent's live configuration.
61
- *
62
- * Omit this field to patch the agent directly. Variant scoping is not active yet:
63
- * a variant supplied today is accepted and ignored, and the patch applies to the
64
- * agent.
59
+ * The agent variant this patch is scoped to. While charters are versioned for the
60
+ * agent, the patch is applied to the charter as this variant sees it and staged in
61
+ * its working set rather than applied to the agent's live configuration, and a patch
62
+ * that names no variant is rejected with `VARIANT_REQUIRED`. While they aren't, a
63
+ * patch that names a variant is rejected. An unknown variant is a 404.
65
64
  */
66
65
  variantId?: MavenAGI.EntityIdWithoutAgent;
67
66
  }
@@ -1,6 +1,16 @@
1
+ import type * as MavenAGI from "../../../index";
1
2
  export interface CharterBase {
2
3
  /** Display name for this charter or group. */
3
4
  name: string;
5
+ /**
6
+ * ID of the agent variant this charter belongs to, if applicable.
7
+ *
8
+ * While charters are versioned for the agent, a write is staged in this variant's
9
+ * working set rather than applied to the agent's live configuration, and a write that
10
+ * names no variant is rejected with `VARIANT_REQUIRED`. While they aren't, a write that
11
+ * names a variant is rejected. An unknown variant is a 404.
12
+ */
13
+ variantId?: MavenAGI.EntityIdWithoutAgent;
4
14
  /** A plain text description of this charter. If not set, existing description is preserved if present. */
5
15
  description?: string;
6
16
  /**
@@ -15,4 +15,14 @@ export interface CharterListChildrenRequest extends MavenAGI.BaseCappedPaginated
15
15
  * Maximum 50 parent IDs per request.
16
16
  */
17
17
  parentIds: MavenAGI.EntityId[];
18
+ /**
19
+ * List the charters as this agent variant sees them, parents and children alike. Its staged
20
+ * edits are included: a charter with a staged edit is read at that edit, a charter created
21
+ * in the variant is included, and a charter deleted in the variant, whether the delete is
22
+ * staged or already in its snapshot, is left out; naming one as a parent is rejected with a
23
+ * 400. A parent the variant doesn't carry has no children. If not provided, the request is rejected with `VARIANT_REQUIRED` while charters
24
+ * are versioned for the agent, and otherwise reads through the agent's single variant, as
25
+ * its snapshot has it, or the published charters while variant reads are off.
26
+ */
27
+ variantId?: MavenAGI.EntityIdWithoutAgent;
18
28
  }
@@ -25,12 +25,4 @@ import type * as MavenAGI from "../../../index";
25
25
  export interface CharterRequest extends MavenAGI.CharterContent {
26
26
  /** ID that uniquely identifies this charter. */
27
27
  charterId: MavenAGI.EntityIdBase;
28
- /**
29
- * The agent variant this write is scoped to. When set, the charter content is staged in
30
- * that variant's working set instead of being applied to the agent's live configuration.
31
- *
32
- * Omit this field to write directly to the agent. Variant scoping is not active yet: a
33
- * variant supplied today is accepted and ignored, and the write applies to the agent.
34
- */
35
- variantId?: MavenAGI.EntityIdWithoutAgent;
36
28
  }
@@ -15,4 +15,14 @@ export interface CharterSearchFilter {
15
15
  * directly the way it does an action or a knowledge base.
16
16
  */
17
17
  intelligentFieldIds?: MavenAGI.EntityId[];
18
+ /**
19
+ * Search the charters as this agent variant sees them. Its staged edits are included: a
20
+ * charter with a staged edit is read at that edit, a charter created in the variant is
21
+ * included, and a charter deleted in the variant, whether the delete is staged or already in
22
+ * its snapshot, is left out. If not provided, the request is rejected with
23
+ * `VARIANT_REQUIRED` while charters are versioned for the agent, and otherwise reads through
24
+ * the agent's single variant, as its snapshot has it, or the published charters while
25
+ * variant reads are off.
26
+ */
27
+ variantId?: MavenAGI.EntityIdWithoutAgent;
18
28
  }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * A shared vocabulary of `contextInfo.additionalData` keys, for any event from any sender. Events
3
+ * that carry the same kind of information under the same key share a shape, so one event
4
+ * condition or report works across all of them. Using these keys is encouraged, not required:
5
+ * any other key is still accepted.
6
+ *
7
+ * Values are strings, like every value in `additionalData`: numbers and booleans as their text
8
+ * (`3`, `true`), anything structured as JSON.
9
+ */
10
+ export declare const AdditionalDataKey: {
11
+ /**
12
+ * The new value of whatever changed. Absent when undetermined. Maven sets it on `INTELLIGENT_FIELD_VALUE_CHANGED`. */
13
+ readonly Value: "value";
14
+ /**
15
+ * The value before the change. Absent when it was undetermined or there was none. Maven sets it on `INTELLIGENT_FIELD_VALUE_CHANGED`. */
16
+ readonly PreviousValue: "previousValue";
17
+ /**
18
+ * The name of the thing acted on, such as a form, flow, file or plan. */
19
+ readonly Name: "name";
20
+ /**
21
+ * The step reached within a flow or form, as its name or number. */
22
+ readonly Step: "step";
23
+ /**
24
+ * Why it happened, such as why a handoff was requested or a subscription cancelled. */
25
+ readonly Reason: "reason";
26
+ /**
27
+ * A machine-readable code for the error, for events that report a failure. */
28
+ readonly ErrorCode: "errorCode";
29
+ /**
30
+ * A human-readable description of the error, for events that report a failure. */
31
+ readonly ErrorMessage: "errorMessage";
32
+ /**
33
+ * The URL involved, such as the target of a clicked link. */
34
+ readonly Url: "url";
35
+ /**
36
+ * The text searched for. */
37
+ readonly Query: "query";
38
+ /**
39
+ * The 1-based position of the chosen item in a list, such as a search result or a suggestion. */
40
+ readonly Position: "position";
41
+ /**
42
+ * A monetary amount, as a decimal number in `currency`. */
43
+ readonly Amount: "amount";
44
+ /**
45
+ * The ISO 4217 code of `amount`'s currency, such as `USD`. */
46
+ readonly Currency: "currency";
47
+ /**
48
+ * The channel a message went out on, such as `email`, `sms` or `push`. */
49
+ readonly Channel: "channel";
50
+ /**
51
+ * The language content was translated from, as a BCP 47 tag. */
52
+ readonly SourceLanguage: "sourceLanguage";
53
+ /**
54
+ * The language content was translated into, as a BCP 47 tag. */
55
+ readonly TargetLanguage: "targetLanguage";
56
+ /**
57
+ * The MIME type of the file involved. */
58
+ readonly MimeType: "mimeType";
59
+ /**
60
+ * The size of the file involved, in bytes. */
61
+ readonly SizeBytes: "sizeBytes";
62
+ };
63
+ export type AdditionalDataKey = (typeof AdditionalDataKey)[keyof typeof AdditionalDataKey] | string;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AdditionalDataKey = void 0;
5
+ /**
6
+ * A shared vocabulary of `contextInfo.additionalData` keys, for any event from any sender. Events
7
+ * that carry the same kind of information under the same key share a shape, so one event
8
+ * condition or report works across all of them. Using these keys is encouraged, not required:
9
+ * any other key is still accepted.
10
+ *
11
+ * Values are strings, like every value in `additionalData`: numbers and booleans as their text
12
+ * (`3`, `true`), anything structured as JSON.
13
+ */
14
+ exports.AdditionalDataKey = {
15
+ /**
16
+ * The new value of whatever changed. Absent when undetermined. Maven sets it on `INTELLIGENT_FIELD_VALUE_CHANGED`. */
17
+ Value: "value",
18
+ /**
19
+ * The value before the change. Absent when it was undetermined or there was none. Maven sets it on `INTELLIGENT_FIELD_VALUE_CHANGED`. */
20
+ PreviousValue: "previousValue",
21
+ /**
22
+ * The name of the thing acted on, such as a form, flow, file or plan. */
23
+ Name: "name",
24
+ /**
25
+ * The step reached within a flow or form, as its name or number. */
26
+ Step: "step",
27
+ /**
28
+ * Why it happened, such as why a handoff was requested or a subscription cancelled. */
29
+ Reason: "reason",
30
+ /**
31
+ * A machine-readable code for the error, for events that report a failure. */
32
+ ErrorCode: "errorCode",
33
+ /**
34
+ * A human-readable description of the error, for events that report a failure. */
35
+ ErrorMessage: "errorMessage",
36
+ /**
37
+ * The URL involved, such as the target of a clicked link. */
38
+ Url: "url",
39
+ /**
40
+ * The text searched for. */
41
+ Query: "query",
42
+ /**
43
+ * The 1-based position of the chosen item in a list, such as a search result or a suggestion. */
44
+ Position: "position",
45
+ /**
46
+ * A monetary amount, as a decimal number in `currency`. */
47
+ Amount: "amount",
48
+ /**
49
+ * The ISO 4217 code of `amount`'s currency, such as `USD`. */
50
+ Currency: "currency",
51
+ /**
52
+ * The channel a message went out on, such as `email`, `sms` or `push`. */
53
+ Channel: "channel",
54
+ /**
55
+ * The language content was translated from, as a BCP 47 tag. */
56
+ SourceLanguage: "sourceLanguage",
57
+ /**
58
+ * The language content was translated into, as a BCP 47 tag. */
59
+ TargetLanguage: "targetLanguage",
60
+ /**
61
+ * The MIME type of the file involved. */
62
+ MimeType: "mimeType",
63
+ /**
64
+ * The size of the file involved, in bytes. */
65
+ SizeBytes: "sizeBytes",
66
+ };
@@ -53,9 +53,10 @@ export interface BaseConversationResponse {
53
53
  */
54
54
  conversationMode?: MavenAGI.ConversationMode;
55
55
  /**
56
- * The agent variant this conversation is pinned to. Chosen by the agent's traffic rules when
57
- * the conversation is created and fixed for its lifetime. Absent when the conversation was
58
- * not routed to a variant, for example one created before the agent had variants.
56
+ * The agent variant this conversation is pinned to. Chosen when the conversation is created,
57
+ * by the agent's traffic rules or by the simulation's `simulationContext.variantId`, and fixed
58
+ * for its lifetime. Absent when the conversation was not routed to a variant, for example one
59
+ * created before the agent had variants.
59
60
  */
60
61
  variantId?: MavenAGI.EntityId;
61
62
  }
@@ -7,7 +7,7 @@ export interface BotLogicCharterDetail {
7
7
  charterId: MavenAGI.EntityIdWithoutAgent;
8
8
  /** Human-readable charter name at the time of evaluation. */
9
9
  name: string;
10
- /** The segment that gates this charter, if any. Absent for wildcard charters. */
10
+ /** Deprecated, read the charter's `precondition` from the charters API instead. */
11
11
  segmentId?: MavenAGI.EntityIdWithoutAgent;
12
12
  /** The parent charter in the hierarchy, if any. Absent for root-level charters. */
13
13
  parentId?: MavenAGI.EntityIdWithoutAgent;
@@ -1,4 +1,7 @@
1
1
  import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Segments that matched this bot response. Omitted when the agent is in charter mode.
4
+ */
2
5
  export interface BotLogicSegmentsItem {
3
6
  matchingSegmentIds: MavenAGI.EntityId[];
4
7
  }
@@ -6,7 +6,7 @@ export interface ConversationAnalysis {
6
6
  agentResponse?: string;
7
7
  /** Generated resolution status of the conversation */
8
8
  resolutionStatus?: MavenAGI.ResolutionStatus;
9
- /** Generated category of the conversation */
9
+ /** Generated category of the conversation. For agents with a `categoryIntelligentFieldId`, this is that intelligent field's value. New agents without one have no category. */
10
10
  category?: string;
11
11
  /** Generated sentiment of the conversation */
12
12
  sentiment?: MavenAGI.Sentiment;
@@ -22,10 +22,16 @@ export declare const ErrorReason: {
22
22
  * The variant is receiving live traffic, so it can't be archived or deleted. Move its traffic elsewhere first. */
23
23
  readonly CannotArchiveLiveVariant: "CANNOT_ARCHIVE_LIVE_VARIANT";
24
24
  /**
25
- * A traffic rule names a variant with staged edits. Publish or discard them first. */
25
+ * A traffic rule, a simulation or an eval run names a variant with staged edits. Publish or discard them first. */
26
26
  readonly VariantHasStagedEdits: "VARIANT_HAS_STAGED_EDITS";
27
27
  /**
28
28
  * The entity type is versioned on this agent, so the request must name the agent variant to read or write. Pass the variant's reference ID, and its owning app where the endpoint takes one; a request that names none is rejected. */
29
29
  readonly VariantRequired: "VARIANT_REQUIRED";
30
+ /**
31
+ * The write would change an intelligent field's `validationType` in an agent variant. A field keeps its type across variants; to use a different type, create a new field. */
32
+ readonly IntelligentFieldTypeChanged: "INTELLIGENT_FIELD_TYPE_CHANGED";
33
+ /**
34
+ * The working set holds staged edits of an entity type that isn't versioned for the agentw now (see `agents.getVersionedEntityTypes`), left from before its versioning was turned off - note that this can only happen in case of a reverted rollout. Committing would publish them. Discard them with `discardWorkingSetEdits`'`entityType`, then retry. */
35
+ readonly WorkingSetHasUnversionedEdits: "WORKING_SET_HAS_UNVERSIONED_EDITS";
30
36
  };
31
37
  export type ErrorReason = (typeof ErrorReason)[keyof typeof ErrorReason] | string;
@@ -26,9 +26,15 @@ exports.ErrorReason = {
26
26
  * The variant is receiving live traffic, so it can't be archived or deleted. Move its traffic elsewhere first. */
27
27
  CannotArchiveLiveVariant: "CANNOT_ARCHIVE_LIVE_VARIANT",
28
28
  /**
29
- * A traffic rule names a variant with staged edits. Publish or discard them first. */
29
+ * A traffic rule, a simulation or an eval run names a variant with staged edits. Publish or discard them first. */
30
30
  VariantHasStagedEdits: "VARIANT_HAS_STAGED_EDITS",
31
31
  /**
32
32
  * The entity type is versioned on this agent, so the request must name the agent variant to read or write. Pass the variant's reference ID, and its owning app where the endpoint takes one; a request that names none is rejected. */
33
33
  VariantRequired: "VARIANT_REQUIRED",
34
+ /**
35
+ * The write would change an intelligent field's `validationType` in an agent variant. A field keeps its type across variants; to use a different type, create a new field. */
36
+ IntelligentFieldTypeChanged: "INTELLIGENT_FIELD_TYPE_CHANGED",
37
+ /**
38
+ * The working set holds staged edits of an entity type that isn't versioned for the agentw now (see `agents.getVersionedEntityTypes`), left from before its versioning was turned off - note that this can only happen in case of a reverted rollout. Committing would publish them. Discard them with `discardWorkingSetEdits`'`entityType`, then retry. */
39
+ WorkingSetHasUnversionedEdits: "WORKING_SET_HAS_UNVERSIONED_EDITS",
34
40
  };
@@ -0,0 +1,35 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A predicate over an event, deciding whether an event trigger fires for it. A trigger with
4
+ * no condition fires for every event on its agent.
5
+ *
6
+ * Each condition tests one thing: `userEventName` and `systemEventName` match events of one
7
+ * family by name, `data` matches one key of `contextInfo.additionalData`, and `references`
8
+ * matches the entities an event references. `data` and `references` match events of either
9
+ * family. Combine conditions with `group`.
10
+ *
11
+ * A condition may nest at most 3 levels deep and hold at most 10 conditions and groups in
12
+ * total. Exceeding either is a 400.
13
+ */
14
+ export type EventCondition = MavenAGI.EventCondition.UserEventName | MavenAGI.EventCondition.SystemEventName
15
+ /**
16
+ * A condition on one key of `contextInfo.additionalData`. Values are compared as strings,
17
+ * so there is no numeric comparison. */
18
+ | MavenAGI.EventCondition.Data | MavenAGI.EventCondition.References | MavenAGI.EventCondition.Group;
19
+ export declare namespace EventCondition {
20
+ interface UserEventName extends MavenAGI.UserEventNameCondition {
21
+ eventConditionType: "userEventName";
22
+ }
23
+ interface SystemEventName extends MavenAGI.SystemEventNameCondition {
24
+ eventConditionType: "systemEventName";
25
+ }
26
+ interface Data extends MavenAGI.MetadataEntryCondition {
27
+ eventConditionType: "data";
28
+ }
29
+ interface References extends MavenAGI.EventReferencesCondition {
30
+ eventConditionType: "references";
31
+ }
32
+ interface Group extends MavenAGI.EventConditionGroup {
33
+ eventConditionType: "group";
34
+ }
35
+ }
@@ -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,11 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Combines event conditions with a logical operator. Groups nest, so `(a AND b) OR c` is a
4
+ * group holding a group and a condition.
5
+ */
6
+ export interface EventConditionGroup {
7
+ /** How to combine `conditions`. */
8
+ operator: MavenAGI.PreconditionGroupOperator;
9
+ /** The conditions to combine. At least one is required; to match every event, omit the trigger's condition entirely. */
10
+ conditions: MavenAGI.EventCondition[];
11
+ }
@@ -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,13 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A condition on the entities an event references -- the conversation it is about, the
4
+ * intelligent field whose value changed, the user who acted.
5
+ *
6
+ * A set relation between the entities the event references and the ones named here.
7
+ */
8
+ export interface EventReferencesCondition {
9
+ /** The set relation to apply. The event's references are the left-hand set. */
10
+ operator: MavenAGI.SetRelationOperator;
11
+ /** The entities to match, at most 50. A conversation message is identified by its conversation, so give the conversation as `scopeEntityId` when naming one. An event that references a message also references its conversation, so `EQ` and `SUBSET_OF` must name both. */
12
+ references: MavenAGI.ScopedEntity[];
13
+ }
@@ -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,6 +1,6 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  /**
3
- * Filter conversations by intelligent field values. All conditions are ANDed.
3
+ * Filter by intelligent field values. All conditions are ANDed.
4
4
  */
5
5
  export interface IntelligentFieldFilter {
6
6
  /** List of conditions to filter by. All conditions must match (AND logic). */
@@ -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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,4 +10,16 @@ export interface SimulationContext {
10
10
  persona?: MavenAGI.LlmPersona;
11
11
  /** If provided, knowledge search will be restricted to the provided list of knowledge bases. Otherwise, all active knowledge bases will be used. An empty list means no knowledge bases will be used. */
12
12
  availableKnowledgeBases?: MavenAGI.EntityId[];
13
+ /**
14
+ * The agent variant to run the simulation on, instead of the one the agent's traffic rules
15
+ * would choose. Any ACTIVE variant of the agent with no staged edits can be named, including
16
+ * one with no traffic. The conversation is pinned to it when created, like any other
17
+ * conversation; the conversation's `variantId` reports it, and this field is not returned.
18
+ *
19
+ * Rejected with reason `VARIANT_NOT_ACTIVE` for an archived or deleted variant, and
20
+ * `VARIANT_HAS_STAGED_EDITS` for one with staged edits (publish them first). Rejected too
21
+ * while agent variants aren't enabled for the agent. A conversation that already exists
22
+ * keeps the variant it was created with.
23
+ */
24
+ variantId?: MavenAGI.EntityIdWithoutAgent;
13
25
  }
@@ -33,7 +33,10 @@ export declare const SystemEventName: {
33
33
  * A data sync with an external system failed */
34
34
  readonly SyncFailed: "SYNC_FAILED";
35
35
  /**
36
- * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries `fieldReferenceId`, `fieldAppId`, the new `value` and the `previousValue`, both as JSON strings. An undetermined value is the JSON string `null` on either key. `previousValue` is absent only when the field was set for the first time and had no previous value at all. */
36
+ * A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. */
37
+ readonly ConversationClosed: "CONVERSATION_CLOSED";
38
+ /**
39
+ * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
37
40
  readonly IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED";
38
41
  };
39
42
  export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName] | string;
@@ -37,6 +37,9 @@ exports.SystemEventName = {
37
37
  * A data sync with an external system failed */
38
38
  SyncFailed: "SYNC_FAILED",
39
39
  /**
40
- * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries `fieldReferenceId`, `fieldAppId`, the new `value` and the `previousValue`, both as JSON strings. An undetermined value is the JSON string `null` on either key. `previousValue` is absent only when the field was set for the first time and had no previous value at all. */
40
+ * A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. */
41
+ ConversationClosed: "CONVERSATION_CLOSED",
42
+ /**
43
+ * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
41
44
  IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED",
42
45
  };
@@ -0,0 +1,10 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A condition on the name of a system event. Matches system events only.
4
+ */
5
+ export interface SystemEventNameCondition {
6
+ /** The membership operator to apply. */
7
+ operator: MavenAGI.StringMembershipOperator;
8
+ /** The system event names to match, at most 50. At least one is required. */
9
+ names: MavenAGI.SystemEventName[];
10
+ }
@@ -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
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A condition on the name of a user event. Matches user events only.
4
+ */
5
+ export interface UserEventNameCondition {
6
+ /** The membership operator to apply. */
7
+ operator: MavenAGI.StringMembershipOperator;
8
+ /** The user event names to match, at most 50. At least one is required. */
9
+ names: MavenAGI.UserEventName[];
10
+ }
@@ -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 });