mavenagi 1.2.68 → 1.2.70

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 (206) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +3 -1
  3. package/api/resources/agents/types/AgentPrompting.d.ts +4 -3
  4. package/api/resources/appSettings/client/Client.d.ts +2 -0
  5. package/api/resources/appSettings/client/Client.js +2 -0
  6. package/api/resources/assets/client/Client.d.ts +5 -0
  7. package/api/resources/assets/client/Client.js +5 -0
  8. package/api/resources/capabilities/client/Client.d.ts +6 -2
  9. package/api/resources/capabilities/client/Client.js +6 -2
  10. package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +4 -25
  11. package/api/resources/capabilities/types/CapabilityRunBase.d.ts +31 -0
  12. package/api/resources/capabilities/types/CapabilityRunBase.js +3 -0
  13. package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +9 -3
  14. package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +7 -1
  15. package/api/resources/capabilities/types/ConversationKickoffSimulationInput.d.ts +6 -0
  16. package/api/resources/capabilities/types/ConversationKickoffSimulationInput.js +3 -0
  17. package/api/resources/capabilities/types/TriggerCapabilityExecution.d.ts +1 -7
  18. package/api/resources/capabilities/types/TriggerRunDetails.d.ts +12 -0
  19. package/api/resources/capabilities/types/TriggerRunDetails.js +3 -0
  20. package/api/resources/capabilities/types/TriggerSimulationInput.d.ts +14 -0
  21. package/api/resources/capabilities/types/TriggerSimulationInput.js +3 -0
  22. package/api/resources/capabilities/types/TriggerSimulationResult.d.ts +7 -0
  23. package/api/resources/capabilities/types/TriggerSimulationResult.js +3 -0
  24. package/api/resources/capabilities/types/index.d.ts +5 -0
  25. package/api/resources/capabilities/types/index.js +5 -0
  26. package/api/resources/commons/types/AbsoluteTimeWindow.d.ts +15 -0
  27. package/api/resources/commons/types/AbsoluteTimeWindow.js +3 -0
  28. package/api/resources/commons/types/AppUser.d.ts +9 -0
  29. package/api/resources/commons/types/ArraySettingsSchemaEntry.d.ts +1 -2
  30. package/api/resources/commons/types/BotLogic.d.ts +9 -0
  31. package/api/resources/commons/types/BotLogicIntelligentFieldsItem.d.ts +10 -0
  32. package/api/resources/commons/types/ColorSettingsSchemaEntry.d.ts +1 -2
  33. package/api/resources/commons/types/ConversationAnalysis.d.ts +10 -2
  34. package/api/resources/commons/types/ConversationKickoffExecutionResponse.d.ts +1 -1
  35. package/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
  36. package/api/resources/commons/types/ConversationPreconditionResponse.d.ts +4 -1
  37. package/api/resources/commons/types/DayOfMonthDaySelector.d.ts +4 -0
  38. package/api/resources/commons/types/DayOfMonthDaySelector.js +3 -0
  39. package/api/resources/commons/types/DayOfWeek.d.ts +10 -0
  40. package/api/resources/commons/types/DayOfWeek.js +13 -0
  41. package/api/resources/commons/types/DaySelector.d.ts +33 -0
  42. package/api/resources/commons/types/DaySelector.js +3 -0
  43. package/api/resources/commons/types/EntityIdBase.d.ts +1 -1
  44. package/api/resources/commons/types/EntityType.d.ts +4 -0
  45. package/api/resources/commons/types/EntityType.js +4 -0
  46. package/api/resources/commons/types/Month.d.ts +15 -0
  47. package/api/resources/commons/types/Month.js +18 -0
  48. package/api/resources/commons/types/MultilineSettingsSchemaEntry.d.ts +1 -2
  49. package/api/resources/commons/types/NthWeekdayDaySelector.d.ts +15 -0
  50. package/api/resources/commons/types/NthWeekdayDaySelector.js +3 -0
  51. package/api/resources/commons/types/NumberSettingsSchemaEntry.d.ts +1 -2
  52. package/api/resources/commons/types/Occurrence.d.ts +11 -0
  53. package/api/resources/commons/types/Occurrence.js +14 -0
  54. package/api/resources/commons/types/RecurringTimeWindow.d.ts +21 -0
  55. package/api/resources/commons/types/RecurringTimeWindow.js +3 -0
  56. package/api/resources/commons/types/ResolutionStatus.d.ts +57 -1
  57. package/api/resources/commons/types/ResolutionStatus.js +57 -1
  58. package/api/resources/commons/types/TextSettingsSchemaEntry.d.ts +1 -2
  59. package/api/resources/commons/types/TimeOfDayRange.d.ts +14 -0
  60. package/api/resources/commons/types/TimeOfDayRange.js +3 -0
  61. package/api/resources/commons/types/TimePrecondition.d.ts +109 -0
  62. package/api/resources/commons/types/TimePrecondition.js +3 -0
  63. package/api/resources/commons/types/TimeWindow.d.ts +22 -0
  64. package/api/resources/commons/types/TimeWindow.js +3 -0
  65. package/api/resources/commons/types/UserData.d.ts +14 -1
  66. package/api/resources/commons/types/ValidatedSettingsSchemaEntryBase.d.ts +7 -0
  67. package/api/resources/commons/types/ValidatedSettingsSchemaEntryBase.js +3 -0
  68. package/api/resources/commons/types/WeekTime.d.ts +9 -0
  69. package/api/resources/commons/types/WeekTime.js +3 -0
  70. package/api/resources/commons/types/WeekdaysDaySelector.d.ts +5 -0
  71. package/api/resources/commons/types/WeekdaysDaySelector.js +3 -0
  72. package/api/resources/commons/types/WeeklyTimeWindow.d.ts +23 -0
  73. package/api/resources/commons/types/WeeklyTimeWindow.js +3 -0
  74. package/api/resources/commons/types/YearlyDatesDaySelector.d.ts +16 -0
  75. package/api/resources/commons/types/YearlyDatesDaySelector.js +3 -0
  76. package/api/resources/commons/types/index.d.ts +16 -0
  77. package/api/resources/commons/types/index.js +16 -0
  78. package/api/resources/conversation/client/Client.d.ts +39 -11
  79. package/api/resources/conversation/client/Client.js +39 -11
  80. package/api/resources/conversation/types/AskRequestBase.d.ts +1 -35
  81. package/api/resources/conversation/types/AskRequestFields.d.ts +40 -0
  82. package/api/resources/conversation/types/AskRequestFields.js +3 -0
  83. package/api/resources/conversation/types/BillableFilterField.d.ts +7 -2
  84. package/api/resources/conversation/types/BillableFilterField.js +7 -2
  85. package/api/resources/conversation/types/ConversationFilter.d.ts +11 -8
  86. package/api/resources/conversation/types/DeliverAskRequest.d.ts +9 -0
  87. package/api/resources/conversation/types/DeliverAskRequest.js +3 -0
  88. package/api/resources/conversation/types/DeliverContent.d.ts +19 -0
  89. package/api/resources/conversation/types/DeliverContent.js +3 -0
  90. package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -3
  91. package/api/resources/conversation/types/DeliverMessageBase.d.ts +11 -0
  92. package/api/resources/conversation/types/DeliverMessageBase.js +3 -0
  93. package/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +1 -3
  94. package/api/resources/conversation/types/index.d.ts +4 -0
  95. package/api/resources/conversation/types/index.js +4 -0
  96. package/api/resources/organizations/client/Client.d.ts +0 -4
  97. package/api/resources/organizations/client/Client.js +0 -4
  98. package/api/resources/users/client/Client.d.ts +7 -1
  99. package/api/resources/users/client/Client.js +7 -1
  100. package/api/resources/users/types/AppUserSummary.d.ts +1 -1
  101. package/api/resources/voice/client/Client.d.ts +2 -1
  102. package/api/resources/voice/client/Client.js +2 -1
  103. package/api/resources/voice/types/VoiceSessionTokenRequest.d.ts +10 -1
  104. package/api/resources/voice/types/VoiceSessionTokenResponse.d.ts +11 -1
  105. package/api/resources/voice/types/VoiceWebRtcTransport.d.ts +10 -0
  106. package/api/resources/voice/types/VoiceWebRtcTransport.js +13 -0
  107. package/api/resources/voice/types/index.d.ts +1 -0
  108. package/api/resources/voice/types/index.js +1 -0
  109. package/package.json +1 -1
  110. package/reference.md +40 -15
  111. package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -12
  112. package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +5 -13
  113. package/serialization/resources/capabilities/types/CapabilityRunBase.d.ts +20 -0
  114. package/serialization/resources/capabilities/types/CapabilityRunBase.js +52 -0
  115. package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +9 -1
  116. package/serialization/resources/capabilities/types/CapabilitySimulationInput.js +4 -0
  117. package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +9 -1
  118. package/serialization/resources/capabilities/types/CapabilitySimulationResult.js +4 -0
  119. package/serialization/resources/capabilities/types/ConversationKickoffSimulationInput.d.ts +9 -0
  120. package/serialization/resources/capabilities/types/ConversationKickoffSimulationInput.js +40 -0
  121. package/serialization/resources/capabilities/types/TriggerCapabilityExecution.d.ts +2 -6
  122. package/serialization/resources/capabilities/types/TriggerCapabilityExecution.js +3 -6
  123. package/serialization/resources/capabilities/types/TriggerRunDetails.d.ts +13 -0
  124. package/serialization/resources/capabilities/types/TriggerRunDetails.js +45 -0
  125. package/serialization/resources/capabilities/types/TriggerSimulationInput.d.ts +10 -0
  126. package/serialization/resources/capabilities/types/TriggerSimulationInput.js +42 -0
  127. package/serialization/resources/capabilities/types/TriggerSimulationResult.d.ts +10 -0
  128. package/serialization/resources/capabilities/types/TriggerSimulationResult.js +41 -0
  129. package/serialization/resources/capabilities/types/index.d.ts +5 -0
  130. package/serialization/resources/capabilities/types/index.js +5 -0
  131. package/serialization/resources/commons/types/AbsoluteTimeWindow.d.ts +10 -0
  132. package/serialization/resources/commons/types/AbsoluteTimeWindow.js +42 -0
  133. package/serialization/resources/commons/types/ArraySettingsSchemaEntry.d.ts +2 -4
  134. package/serialization/resources/commons/types/ArraySettingsSchemaEntry.js +2 -4
  135. package/serialization/resources/commons/types/ColorSettingsSchemaEntry.d.ts +2 -4
  136. package/serialization/resources/commons/types/ColorSettingsSchemaEntry.js +2 -4
  137. package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
  138. package/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
  139. package/serialization/resources/commons/types/ConversationPreconditionResponse.d.ts +5 -1
  140. package/serialization/resources/commons/types/ConversationPreconditionResponse.js +2 -0
  141. package/serialization/resources/commons/types/DayOfMonthDaySelector.d.ts +9 -0
  142. package/serialization/resources/commons/types/DayOfMonthDaySelector.js +41 -0
  143. package/serialization/resources/commons/types/DayOfWeek.d.ts +7 -0
  144. package/serialization/resources/commons/types/DayOfWeek.js +47 -0
  145. package/serialization/resources/commons/types/DaySelector.d.ts +23 -0
  146. package/serialization/resources/commons/types/DaySelector.js +53 -0
  147. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  148. package/serialization/resources/commons/types/EntityType.js +1 -0
  149. package/serialization/resources/commons/types/Month.d.ts +7 -0
  150. package/serialization/resources/commons/types/Month.js +52 -0
  151. package/serialization/resources/commons/types/MultilineSettingsSchemaEntry.d.ts +2 -4
  152. package/serialization/resources/commons/types/MultilineSettingsSchemaEntry.js +2 -4
  153. package/serialization/resources/commons/types/NthWeekdayDaySelector.d.ts +12 -0
  154. package/serialization/resources/commons/types/NthWeekdayDaySelector.js +44 -0
  155. package/serialization/resources/commons/types/NumberSettingsSchemaEntry.d.ts +2 -4
  156. package/serialization/resources/commons/types/NumberSettingsSchemaEntry.js +2 -4
  157. package/serialization/resources/commons/types/Occurrence.d.ts +7 -0
  158. package/serialization/resources/commons/types/Occurrence.js +39 -0
  159. package/serialization/resources/commons/types/RecurringTimeWindow.d.ts +15 -0
  160. package/serialization/resources/commons/types/RecurringTimeWindow.js +47 -0
  161. package/serialization/resources/commons/types/TextSettingsSchemaEntry.d.ts +2 -4
  162. package/serialization/resources/commons/types/TextSettingsSchemaEntry.js +2 -4
  163. package/serialization/resources/commons/types/TimeOfDayRange.d.ts +10 -0
  164. package/serialization/resources/commons/types/TimeOfDayRange.js +42 -0
  165. package/serialization/resources/commons/types/TimePrecondition.d.ts +11 -0
  166. package/serialization/resources/commons/types/TimePrecondition.js +45 -0
  167. package/serialization/resources/commons/types/TimeWindow.d.ts +19 -0
  168. package/serialization/resources/commons/types/TimeWindow.js +51 -0
  169. package/serialization/resources/commons/types/ValidatedSettingsSchemaEntryBase.d.ts +12 -0
  170. package/serialization/resources/commons/types/ValidatedSettingsSchemaEntryBase.js +46 -0
  171. package/serialization/resources/commons/types/WeekTime.d.ts +11 -0
  172. package/serialization/resources/commons/types/WeekTime.js +43 -0
  173. package/serialization/resources/commons/types/WeekdaysDaySelector.d.ts +10 -0
  174. package/serialization/resources/commons/types/WeekdaysDaySelector.js +42 -0
  175. package/serialization/resources/commons/types/WeeklyTimeWindow.d.ts +12 -0
  176. package/serialization/resources/commons/types/WeeklyTimeWindow.js +44 -0
  177. package/serialization/resources/commons/types/YearlyDatesDaySelector.d.ts +10 -0
  178. package/serialization/resources/commons/types/YearlyDatesDaySelector.js +42 -0
  179. package/serialization/resources/commons/types/index.d.ts +16 -0
  180. package/serialization/resources/commons/types/index.js +16 -0
  181. package/serialization/resources/conversation/types/AskRequestBase.d.ts +2 -11
  182. package/serialization/resources/conversation/types/AskRequestBase.js +5 -12
  183. package/serialization/resources/conversation/types/AskRequestFields.d.ts +18 -0
  184. package/serialization/resources/conversation/types/AskRequestFields.js +50 -0
  185. package/serialization/resources/conversation/types/DeliverAskRequest.d.ts +11 -0
  186. package/serialization/resources/conversation/types/DeliverAskRequest.js +45 -0
  187. package/serialization/resources/conversation/types/DeliverContent.d.ts +15 -0
  188. package/serialization/resources/conversation/types/DeliverContent.js +49 -0
  189. package/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +2 -3
  190. package/serialization/resources/conversation/types/DeliverConversationMessageRequest.js +5 -4
  191. package/serialization/resources/conversation/types/DeliverMessageBase.d.ts +12 -0
  192. package/serialization/resources/conversation/types/DeliverMessageBase.js +44 -0
  193. package/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +2 -3
  194. package/serialization/resources/conversation/types/DeliverUserMessageRequest.js +5 -4
  195. package/serialization/resources/conversation/types/index.d.ts +4 -0
  196. package/serialization/resources/conversation/types/index.js +4 -0
  197. package/serialization/resources/voice/types/VoiceSessionTokenRequest.d.ts +2 -0
  198. package/serialization/resources/voice/types/VoiceSessionTokenRequest.js +2 -0
  199. package/serialization/resources/voice/types/VoiceSessionTokenResponse.d.ts +1 -0
  200. package/serialization/resources/voice/types/VoiceSessionTokenResponse.js +1 -0
  201. package/serialization/resources/voice/types/VoiceWebRtcTransport.d.ts +7 -0
  202. package/serialization/resources/voice/types/VoiceWebRtcTransport.js +39 -0
  203. package/serialization/resources/voice/types/index.d.ts +1 -0
  204. package/serialization/resources/voice/types/index.js +1 -0
  205. package/version.d.ts +1 -1
  206. package/version.js +1 -1
package/BaseClient.js CHANGED
@@ -46,8 +46,8 @@ function normalizeClientOptions(options) {
46
46
  const headers = (0, headers_1.mergeHeaders)({
47
47
  "X-Fern-Language": "JavaScript",
48
48
  "X-Fern-SDK-Name": "mavenagi",
49
- "X-Fern-SDK-Version": "1.2.68",
50
- "User-Agent": "mavenagi/1.2.68",
49
+ "X-Fern-SDK-Version": "1.2.70",
50
+ "User-Agent": "mavenagi/1.2.70",
51
51
  "X-Fern-Runtime": core.RUNTIME.type,
52
52
  "X-Fern-Runtime-Version": core.RUNTIME.version,
53
53
  "X-Organization-Id": options === null || options === void 0 ? void 0 : options.organizationId,
@@ -37,7 +37,9 @@ export interface AgentPatchRequest {
37
37
  */
38
38
  categoryIntelligentFieldId?: MavenAGI.EntityIdWithoutAgent | null;
39
39
  /**
40
- * LLM prompt for generating a response when the user's question has been detected as unsafe.
40
+ * Instructions to an LLM that writes the reply when the user's message is blocked for harmful content (hate, self-harm, sexual or violence). The LLM sees only these instructions and the blocked message, not the agent's charters, knowledge or earlier messages. To send fixed wording, say so in the instructions, for example `Always reply with exactly: "…"`.
41
+ *
42
+ * A message flagged as a prompt attack always gets the default reply, even when it was also flagged for harmful content. So does every blocked message while this is not set.
41
43
  *
42
44
  * Rejected with reason `VARIANT_REQUIRED` while `CONTENT_SAFETY_VIOLATION_RESPONSE_PROMPT_TEXT` is in `getVersionedEntityTypes`; set it through `patchVersionedSettings`.
43
45
  */
@@ -20,10 +20,11 @@ export interface AgentPrompting {
20
20
  */
21
21
  categoryGenerationPromptText?: string;
22
22
  /**
23
- * LLM prompt for generating a response when the user's question has been detected as unsafe.
23
+ * Instructions to an LLM that writes the reply when the user's message is blocked for harmful content (hate, self-harm, sexual or violence). The LLM sees only these instructions and the blocked message, not the agent's charters, knowledge or earlier messages. To send fixed wording, say so in the instructions, for example `Always reply with exactly: "…"`.
24
24
  *
25
- * Use this to provide custom LLM generated replies when dealing with content safety violations.
26
- * When not set, a default response is sent and replies will not be personalized by the LLM as it will not be involved.
25
+ * A message flagged as a prompt attack always gets the default reply, even when it was also flagged for harmful content. So does every blocked message while this is not set.
26
+ *
27
+ * Shown in Agent Designer as "Content Safety Violation Message".
27
28
  *
28
29
  * Omitted while `CONTENT_SAFETY_VIOLATION_RESPONSE_PROMPT_TEXT` is in `getVersionedEntityTypes`; read it through `getVersionedSettings`.
29
30
  */
@@ -64,6 +64,8 @@ export declare class AppSettingsClient {
64
64
  *
65
65
  * Note that if an array value is provided it will fully replace an existing value as arrays cannot be merged.
66
66
  *
67
+ * Returns the full app settings after the merge, including keys that were not in the request. This is the same object that Get app settings returns.
68
+ *
67
69
  * @param {Record<string, unknown>} request
68
70
  * @param {AppSettingsClient.RequestOptions} requestOptions - Request-specific configuration.
69
71
  *
@@ -277,6 +277,8 @@ class AppSettingsClient {
277
277
  *
278
278
  * Note that if an array value is provided it will fully replace an existing value as arrays cannot be merged.
279
279
  *
280
+ * Returns the full app settings after the merge, including keys that were not in the request. This is the same object that Get app settings returns.
281
+ *
280
282
  * @param {Record<string, unknown>} request
281
283
  * @param {AppSettingsClient.RequestOptions} requestOptions - Request-specific configuration.
282
284
  *
@@ -38,6 +38,11 @@ export declare class AssetsClient {
38
38
  * Commit an upload after successful file transfer.
39
39
  * Updates the asset status and makes it available for use.
40
40
  *
41
+ * An asset is committed once. Committing it again with the same checksum is safe while its file
42
+ * is unchanged, so a client can retry a commit; a different checksum returns a 409. Once
43
+ * committed, don't write to the upload URL again, even with the same bytes: committing after
44
+ * that may return a 409, and the file then has to be uploaded as a new asset.
45
+ *
41
46
  * <Note>**Required permission:** `ask:agent`</Note>
42
47
  *
43
48
  * @param {string} assetReferenceId - The reference ID of the asset to commit (provided by the initiate call). All other entity ID fields are inferred from the API request.
@@ -167,6 +167,11 @@ class AssetsClient {
167
167
  * Commit an upload after successful file transfer.
168
168
  * Updates the asset status and makes it available for use.
169
169
  *
170
+ * An asset is committed once. Committing it again with the same checksum is safe while its file
171
+ * is unchanged, so a client can retry a commit; a different checksum returns a 409. Once
172
+ * committed, don't write to the upload URL again, even with the same bytes: committing after
173
+ * that may return a 409, and the file then has to be uploaded as a new asset.
174
+ *
170
175
  * <Note>**Required permission:** `ask:agent`</Note>
171
176
  *
172
177
  * @param {string} assetReferenceId - The reference ID of the asset to commit (provided by the initiate call). All other entity ID fields are inferred from the API request.
@@ -102,8 +102,12 @@ export declare class CapabilitiesClient {
102
102
  * `SIMULATION`, the same as in a test suite run, so an app that honours it can avoid side
103
103
  * effects in real systems. Nothing here runs a capability live.
104
104
  *
105
- * Only actions can be simulated today. Triggers and conversation kickoffs are rejected with a
106
- * 400 until they can run as simulations. Intelligent fields cannot be simulated.
105
+ * A simulated run is not recorded. It returns its result here and never appears in
106
+ * capability execution search.
107
+ *
108
+ * Actions, conversation kickoffs and event triggers can be simulated today. An event trigger
109
+ * is given one event the caller describes in full; the event is never stored, and its user
110
+ * does not have to exist. Intelligent fields cannot be simulated.
107
111
  *
108
112
  * <Note>**Required permission:** `create:simulations`</Note>
109
113
  *
@@ -422,8 +422,12 @@ class CapabilitiesClient {
422
422
  * `SIMULATION`, the same as in a test suite run, so an app that honours it can avoid side
423
423
  * effects in real systems. Nothing here runs a capability live.
424
424
  *
425
- * Only actions can be simulated today. Triggers and conversation kickoffs are rejected with a
426
- * 400 until they can run as simulations. Intelligent fields cannot be simulated.
425
+ * A simulated run is not recorded. It returns its result here and never appears in
426
+ * capability execution search.
427
+ *
428
+ * Actions, conversation kickoffs and event triggers can be simulated today. An event trigger
429
+ * is given one event the caller describes in full; the event is never stored, and its user
430
+ * does not have to exist. Intelligent fields cannot be simulated.
427
431
  *
428
432
  * <Note>**Required permission:** `create:simulations`</Note>
429
433
  *
@@ -1,7 +1,8 @@
1
1
  import type * as MavenAGI from "../../../index";
2
- export interface CapabilityExecutionBase {
3
- /** The capability that ran. */
4
- capabilityId: MavenAGI.EntityId;
2
+ /**
3
+ * A recorded run, with the subject it ran for.
4
+ */
5
+ export interface CapabilityExecutionBase extends MavenAGI.CapabilityRunBase {
5
6
  /**
6
7
  * What it ran for: a conversation, inbox item or event. The same shape `subjectIds`
7
8
  * accepts, so it can be fed straight back in as a filter.
@@ -10,28 +11,6 @@ export interface CapabilityExecutionBase {
10
11
  * cannot filter on. Switch those triggers to `EVENT_CREATED`.
11
12
  */
12
13
  subjectId: MavenAGI.EntityId;
13
- status: MavenAGI.CapabilityExecutionStatus;
14
- /** Why the execution ended the way it did. Absent while RUNNING. */
15
- completionReason?: MavenAGI.CapabilityExecutionCompletionReason;
16
- /**
17
- * Detail from the app, truncated. Cleared when the subject conversation is
18
- * wiped.
19
- */
20
- message?: string;
21
- /** When the execution began. */
22
- startedAt: Date;
23
- /** When it ended. Absent while RUNNING. */
24
- completedAt?: Date;
25
- /**
26
- * End-to-end duration in milliseconds. Includes Maven's own work, so it is not purely the
27
- * app's response time.
28
- */
29
- durationMs?: number;
30
14
  /** When the execution was recorded. Results are ordered by this field. */
31
15
  createdAt: Date;
32
- /**
33
- * Whether the execution ran on live data or in a simulation. A Conversation Kickoff takes
34
- * its conversation's mode, and an Event Trigger its event's.
35
- */
36
- executionMode: MavenAGI.ExecutionMode;
37
16
  }
@@ -0,0 +1,31 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * How one run of one capability went: its outcome and timing. Every execution has these, and a
4
+ * simulated run, which is never recorded, has only these.
5
+ */
6
+ export interface CapabilityRunBase {
7
+ /** The capability that ran. */
8
+ capabilityId: MavenAGI.EntityId;
9
+ status: MavenAGI.CapabilityExecutionStatus;
10
+ /** Why the execution ended the way it did. Absent while RUNNING. */
11
+ completionReason?: MavenAGI.CapabilityExecutionCompletionReason;
12
+ /**
13
+ * Detail from the app, truncated. Cleared when the subject conversation is
14
+ * wiped.
15
+ */
16
+ message?: string;
17
+ /** When the execution began. */
18
+ startedAt: Date;
19
+ /** When it ended. Absent while RUNNING. */
20
+ completedAt?: Date;
21
+ /**
22
+ * End-to-end duration in milliseconds. Includes Maven's own work, so it is not purely the
23
+ * app's response time.
24
+ */
25
+ durationMs?: number;
26
+ /**
27
+ * Whether the execution ran on live data or in a simulation. A Conversation Kickoff takes
28
+ * its conversation's mode, and an Event Trigger its event's.
29
+ */
30
+ executionMode: MavenAGI.ExecutionMode;
31
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +1,17 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  /**
3
- * What a capability is simulated with, by kind. Only actions can be simulated today; a variant
4
- * is added for each kind as it becomes simulation-aware.
3
+ * What a capability is simulated with, by kind. A variant is added for each kind as it becomes
4
+ * simulation-aware.
5
5
  */
6
- export type CapabilitySimulationInput = MavenAGI.CapabilitySimulationInput.Action;
6
+ export type CapabilitySimulationInput = MavenAGI.CapabilitySimulationInput.Action | MavenAGI.CapabilitySimulationInput.ConversationKickoff | MavenAGI.CapabilitySimulationInput.Trigger;
7
7
  export declare namespace CapabilitySimulationInput {
8
8
  interface Action extends MavenAGI.ActionSimulationInput {
9
9
  capabilityType: "ACTION";
10
10
  }
11
+ interface ConversationKickoff extends MavenAGI.ConversationKickoffSimulationInput {
12
+ capabilityType: "CONVERSATION_KICKOFF";
13
+ }
14
+ interface Trigger extends MavenAGI.TriggerSimulationInput {
15
+ capabilityType: "TRIGGER";
16
+ }
11
17
  }
@@ -2,9 +2,15 @@ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * What one simulated run of a capability produced, by kind.
4
4
  */
5
- export type CapabilitySimulationResult = MavenAGI.CapabilitySimulationResult.Action;
5
+ export type CapabilitySimulationResult = MavenAGI.CapabilitySimulationResult.Action | MavenAGI.CapabilitySimulationResult.ConversationKickoff | MavenAGI.CapabilitySimulationResult.Trigger;
6
6
  export declare namespace CapabilitySimulationResult {
7
7
  interface Action extends MavenAGI.ExecuteActionResponse {
8
8
  capabilityType: "ACTION";
9
9
  }
10
+ interface ConversationKickoff extends MavenAGI.ConversationKickoffExecutionResponse {
11
+ capabilityType: "CONVERSATION_KICKOFF";
12
+ }
13
+ interface Trigger extends MavenAGI.TriggerSimulationResult {
14
+ capabilityType: "TRIGGER";
15
+ }
10
16
  }
@@ -0,0 +1,6 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A conversation kickoff takes no parameters, only the conversation and user it runs in.
4
+ */
5
+ export interface ConversationKickoffSimulationInput extends MavenAGI.ConversationContextSimulationInput {
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,17 +3,11 @@ import type * as MavenAGI from "../../../index";
3
3
  * An Event Trigger notifying its app of an event. `SUCCESS` means the app's handler
4
4
  * acknowledged the event, not that the app finished the work it was notified about.
5
5
  */
6
- export interface TriggerCapabilityExecution extends MavenAGI.CapabilityExecutionBase {
7
- /** The kind of event that caused this run. */
8
- eventType: MavenAGI.EventTriggerType;
6
+ export interface TriggerCapabilityExecution extends MavenAGI.CapabilityExecutionBase, MavenAGI.TriggerRunDetails {
9
7
  /**
10
8
  * Which delivery attempt this is, starting at 1. Retries are recorded as further
11
9
  * executions, so several executions for one trigger and subject with ascending attempts are
12
10
  * one delivery retried, while several all at attempt 1 are separate fires.
13
11
  */
14
12
  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
13
  }
@@ -0,0 +1,12 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * What a trigger's run has beyond the fields every run has.
4
+ */
5
+ export interface TriggerRunDetails {
6
+ /** The kind of event that caused this run. */
7
+ eventType: MavenAGI.EventTriggerType;
8
+ /** How a failure should be treated. Present only on FAILED executions. */
9
+ retryability?: MavenAGI.CapabilityExecutionRetryability;
10
+ /** HTTP status returned by the app, when the failure carried one. */
11
+ httpStatus?: number;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * What a trigger is simulated with. Only `EVENT_CREATED` triggers can be simulated; any other
4
+ * trigger type is rejected with a 400.
5
+ */
6
+ export interface TriggerSimulationInput {
7
+ /**
8
+ * The event the trigger fires for, in the shape creating an event takes, and checked as
9
+ * creating it would be. It is sent to the trigger as a `SIMULATION` event and never stored.
10
+ * An `executionMode` of `LIVE` is rejected with a 400. The trigger's condition is not
11
+ * evaluated: the event is sent to it even when a live event like it would not match.
12
+ */
13
+ event: MavenAGI.EventRequest;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * How a trigger's simulated run went, with the fields its execution would have. It has no
4
+ * subject or `createdAt`, because the event is never stored and the run is never recorded.
5
+ */
6
+ export interface TriggerSimulationResult extends MavenAGI.CapabilityRunBase, MavenAGI.TriggerRunDetails {
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,12 +7,17 @@ export * from "./CapabilityExecutionRetryability";
7
7
  export * from "./CapabilityExecutionStatus";
8
8
  export * from "./CapabilityExecutionsSearchResponse";
9
9
  export * from "./CapabilityResponse";
10
+ export * from "./CapabilityRunBase";
10
11
  export * from "./CapabilitySimulationInput";
11
12
  export * from "./CapabilitySimulationResult";
12
13
  export * from "./CapabilitySortField";
13
14
  export * from "./CapabilitySummary";
14
15
  export * from "./ConversationContextSimulationInput";
15
16
  export * from "./ConversationKickoffCapabilityExecution";
17
+ export * from "./ConversationKickoffSimulationInput";
16
18
  export * from "./SimulatedUser";
17
19
  export * from "./SimulatedUserData";
18
20
  export * from "./TriggerCapabilityExecution";
21
+ export * from "./TriggerRunDetails";
22
+ export * from "./TriggerSimulationInput";
23
+ export * from "./TriggerSimulationResult";
@@ -23,12 +23,17 @@ __exportStar(require("./CapabilityExecutionRetryability"), exports);
23
23
  __exportStar(require("./CapabilityExecutionStatus"), exports);
24
24
  __exportStar(require("./CapabilityExecutionsSearchResponse"), exports);
25
25
  __exportStar(require("./CapabilityResponse"), exports);
26
+ __exportStar(require("./CapabilityRunBase"), exports);
26
27
  __exportStar(require("./CapabilitySimulationInput"), exports);
27
28
  __exportStar(require("./CapabilitySimulationResult"), exports);
28
29
  __exportStar(require("./CapabilitySortField"), exports);
29
30
  __exportStar(require("./CapabilitySummary"), exports);
30
31
  __exportStar(require("./ConversationContextSimulationInput"), exports);
31
32
  __exportStar(require("./ConversationKickoffCapabilityExecution"), exports);
33
+ __exportStar(require("./ConversationKickoffSimulationInput"), exports);
32
34
  __exportStar(require("./SimulatedUser"), exports);
33
35
  __exportStar(require("./SimulatedUserData"), exports);
34
36
  __exportStar(require("./TriggerCapabilityExecution"), exports);
37
+ __exportStar(require("./TriggerRunDetails"), exports);
38
+ __exportStar(require("./TriggerSimulationInput"), exports);
39
+ __exportStar(require("./TriggerSimulationResult"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * A half-open span `[start, end)` between two instants. Set only `start` for "after", only
3
+ * `end` for "before", or both for "between". At least one is required, and `start` must be
4
+ * before `end` when both are set.
5
+ *
6
+ * Both ends are instants with an offset, so a client converts a local date to an instant
7
+ * before sending it; the server applies no timezone. The server keeps only the instant, so
8
+ * a window reads back in UTC.
9
+ */
10
+ export interface AbsoluteTimeWindow {
11
+ /** The first instant inside the window. Omit to leave the window open at the start. */
12
+ start?: Date;
13
+ /** The first instant after the window. Omit to leave the window open at the end. */
14
+ end?: Date;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,5 +2,14 @@ import type * as MavenAGI from "../../../index";
2
2
  export interface AppUser {
3
3
  /** Used to determine whether two users from different apps are the same */
4
4
  identifiers: MavenAGI.AppUserIdentifier[];
5
+ /**
6
+ * Data about the user, keyed by field name.
7
+ *
8
+ * Do not store credentials, tokens or other secrets here, whatever their `visibility`.
9
+ * User data is not secret storage: values are stored as given, and the users API returns
10
+ * them in full to callers that can read users. To pass a per-user credential to your
11
+ * app's actions, send it as `transientData` on the ask or submit-action-form request, which
12
+ * is forwarded to the actions of that request and not stored.
13
+ */
5
14
  data: Record<string, MavenAGI.UserData>;
6
15
  }
@@ -1,5 +1,4 @@
1
1
  import type * as MavenAGI from "../../../index";
2
- export interface ArraySettingsSchemaEntry extends MavenAGI.SettingsSchemaEntryBase {
2
+ export interface ArraySettingsSchemaEntry extends MavenAGI.ValidatedSettingsSchemaEntryBase {
3
3
  defaultValue?: string[];
4
- validation?: MavenAGI.SettingsSchemaValidation;
5
4
  }
@@ -1,4 +1,13 @@
1
1
  import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * What the agent did to produce this response, in order.
4
+ *
5
+ * The agent may reason more than once before it responds. When it runs an action, it
6
+ * reasons again with the action's result, and each pass is one step. A step lists the
7
+ * context the agent evaluated, in this order: intelligent fields, segments, user data,
8
+ * charters and knowledge. An `actions` item follows. Steering and form-submission items appear
9
+ * where they happened.
10
+ */
2
11
  export interface BotLogic {
3
12
  items: MavenAGI.BotLogicItem[];
4
13
  }
@@ -1,4 +1,14 @@
1
1
  import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * The intelligent fields the agent's charters or segments refer to, with the values the
4
+ * agent used for this step.
5
+ *
6
+ * The agent evaluates these fields once per request that asks it to respond, before its
7
+ * first step, and never between steps. Every step of that request reuses those values. So
8
+ * when a response takes several steps, this item repeats in each step with the same values.
9
+ * The repeat does not mean the fields were evaluated again.
10
+ */
2
11
  export interface BotLogicIntelligentFieldsItem {
12
+ /** The fields and their values, as evaluated before the request's first step. */
3
13
  refreshedFields: MavenAGI.BotLogicIntelligentFieldDetail[];
4
14
  }
@@ -1,5 +1,4 @@
1
1
  import type * as MavenAGI from "../../../index";
2
- export interface ColorSettingsSchemaEntry extends MavenAGI.SettingsSchemaEntryBase {
2
+ export interface ColorSettingsSchemaEntry extends MavenAGI.ValidatedSettingsSchemaEntryBase {
3
3
  defaultValue?: string;
4
- validation?: MavenAGI.SettingsSchemaValidation;
5
4
  }
@@ -4,7 +4,11 @@ export interface ConversationAnalysis {
4
4
  userRequest?: string;
5
5
  /** Generated agent response summary of the conversation */
6
6
  agentResponse?: string;
7
- /** Generated resolution status of the conversation */
7
+ /**
8
+ * Resolution status of the conversation. Code computes it from the messages, feedback,
9
+ * CSAT and inserts. The one AI input is the transcript summary, which can report a
10
+ * handoff and set `ESCALATED`. See `ResolutionStatus` for how each status is set.
11
+ */
8
12
  resolutionStatus?: MavenAGI.ResolutionStatus;
9
13
  /** 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
14
  category?: string;
@@ -14,7 +18,11 @@ export interface ConversationAnalysis {
14
18
  quality?: MavenAGI.Quality;
15
19
  /** If the quality of the conversation is `UNKNOWN` or `NEEDS_IMPROVEMENT` then a reason for the quality will be provided when possible. */
16
20
  qualityReason?: MavenAGI.QualityReason;
17
- /** Whether the conversation was resolved by Maven */
21
+ /**
22
+ * Whether the conversation was resolved by Maven: `true` exactly when `resolutionStatus`
23
+ * is `RESOLVED`. These are the conversations billed under resolution-based pricing, and
24
+ * the ones the `ELIGIBLE_AND_BILLABLE` billing status matches.
25
+ */
18
26
  resolvedByMaven?: boolean;
19
27
  /** Primary language of the conversation in ISO 639-1 code format */
20
28
  primaryLanguage?: string;
@@ -1,6 +1,6 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  /**
3
- * A single persisted Conversation Kickoff execution result, with timing.
3
+ * One Conversation Kickoff execution result, with timing: one recorded when a conversation ran its kickoffs, or one from a simulation, which is not recorded.
4
4
  */
5
5
  export interface ConversationKickoffExecutionResponse {
6
6
  /** The kickoff config (external) id that ran. */
@@ -1,5 +1,5 @@
1
1
  import type * as MavenAGI from "../../../index";
2
- export type ConversationPrecondition = MavenAGI.ConversationPrecondition.Tags | MavenAGI.ConversationPrecondition.Metadata | MavenAGI.ConversationPrecondition.ActionExecuted | MavenAGI.ConversationPrecondition.ResponseConfig | MavenAGI.ConversationPrecondition.App | MavenAGI.ConversationPrecondition.ConversationState | MavenAGI.ConversationPrecondition.ConversationMode | MavenAGI.ConversationPrecondition.IntelligentField;
2
+ export type ConversationPrecondition = MavenAGI.ConversationPrecondition.Tags | MavenAGI.ConversationPrecondition.Metadata | MavenAGI.ConversationPrecondition.ActionExecuted | MavenAGI.ConversationPrecondition.ResponseConfig | MavenAGI.ConversationPrecondition.App | MavenAGI.ConversationPrecondition.ConversationState | MavenAGI.ConversationPrecondition.ConversationMode | MavenAGI.ConversationPrecondition.IntelligentField | MavenAGI.ConversationPrecondition.Time;
3
3
  export declare namespace ConversationPrecondition {
4
4
  interface Tags extends MavenAGI.TagsPrecondition {
5
5
  conversationPreconditionType: "tags";
@@ -25,4 +25,7 @@ export declare namespace ConversationPrecondition {
25
25
  interface IntelligentField extends MavenAGI.IntelligentFieldPrecondition {
26
26
  conversationPreconditionType: "intelligentField";
27
27
  }
28
+ interface Time extends MavenAGI.TimePrecondition {
29
+ conversationPreconditionType: "time";
30
+ }
28
31
  }
@@ -1,5 +1,5 @@
1
1
  import type * as MavenAGI from "../../../index";
2
- export type ConversationPreconditionResponse = MavenAGI.ConversationPreconditionResponse.Tags | MavenAGI.ConversationPreconditionResponse.Metadata | MavenAGI.ConversationPreconditionResponse.ActionExecuted | MavenAGI.ConversationPreconditionResponse.ResponseConfig | MavenAGI.ConversationPreconditionResponse.App | MavenAGI.ConversationPreconditionResponse.ConversationState | MavenAGI.ConversationPreconditionResponse.ConversationMode | MavenAGI.ConversationPreconditionResponse.IntelligentField;
2
+ export type ConversationPreconditionResponse = MavenAGI.ConversationPreconditionResponse.Tags | MavenAGI.ConversationPreconditionResponse.Metadata | MavenAGI.ConversationPreconditionResponse.ActionExecuted | MavenAGI.ConversationPreconditionResponse.ResponseConfig | MavenAGI.ConversationPreconditionResponse.App | MavenAGI.ConversationPreconditionResponse.ConversationState | MavenAGI.ConversationPreconditionResponse.ConversationMode | MavenAGI.ConversationPreconditionResponse.IntelligentField | MavenAGI.ConversationPreconditionResponse.Time;
3
3
  export declare namespace ConversationPreconditionResponse {
4
4
  interface Tags extends MavenAGI.TagsPrecondition {
5
5
  conversationPreconditionType: "tags";
@@ -25,4 +25,7 @@ export declare namespace ConversationPreconditionResponse {
25
25
  interface IntelligentField extends MavenAGI.IntelligentFieldPreconditionResponse {
26
26
  conversationPreconditionType: "intelligentField";
27
27
  }
28
+ interface Time extends MavenAGI.TimePrecondition {
29
+ conversationPreconditionType: "time";
30
+ }
28
31
  }
@@ -0,0 +1,4 @@
1
+ export interface DayOfMonthDaySelector {
2
+ /** The dates of the month the window covers, from 1 to 31, or from -1 to -31 to count back from the end of the month: -1 is the last day and -3 the third from last. Must not be empty. A date past the end of a month never matches it, so 31 and -31 skip 30-day months and February. */
3
+ days: Set<number>;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export declare const DayOfWeek: {
2
+ readonly Monday: "MONDAY";
3
+ readonly Tuesday: "TUESDAY";
4
+ readonly Wednesday: "WEDNESDAY";
5
+ readonly Thursday: "THURSDAY";
6
+ readonly Friday: "FRIDAY";
7
+ readonly Saturday: "SATURDAY";
8
+ readonly Sunday: "SUNDAY";
9
+ };
10
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek] | string;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DayOfWeek = void 0;
5
+ exports.DayOfWeek = {
6
+ Monday: "MONDAY",
7
+ Tuesday: "TUESDAY",
8
+ Wednesday: "WEDNESDAY",
9
+ Thursday: "THURSDAY",
10
+ Friday: "FRIDAY",
11
+ Saturday: "SATURDAY",
12
+ Sunday: "SUNDAY",
13
+ };
@@ -0,0 +1,33 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Which days a recurring window covers. Each member names one way of picking days, so a
4
+ * selector means exactly what its type says. For a window that covers days picked two ways
5
+ * ("the 15th, or the third Monday"), OR two preconditions in a `PreconditionGroup`.
6
+ */
7
+ export type DaySelector =
8
+ /**
9
+ * Every occurrence of the listed days of the week. */
10
+ MavenAGI.DaySelector.Weekdays
11
+ /**
12
+ * Fixed dates of the month, such as the 1st, the 15th, or the last day. */
13
+ | MavenAGI.DaySelector.DayOfMonth
14
+ /**
15
+ * Numbered occurrences within the month, such as the third Monday or the last weekday. */
16
+ | MavenAGI.DaySelector.NthWeekday
17
+ /**
18
+ * One run of dates every year, such as December 24 through January 2. */
19
+ | MavenAGI.DaySelector.YearlyDates;
20
+ export declare namespace DaySelector {
21
+ interface Weekdays extends MavenAGI.WeekdaysDaySelector {
22
+ dayType: "weekdays";
23
+ }
24
+ interface DayOfMonth extends MavenAGI.DayOfMonthDaySelector {
25
+ dayType: "dayOfMonth";
26
+ }
27
+ interface NthWeekday extends MavenAGI.NthWeekdayDaySelector {
28
+ dayType: "nthWeekday";
29
+ }
30
+ interface YearlyDates extends MavenAGI.YearlyDatesDaySelector {
31
+ dayType: "yearlyDates";
32
+ }
33
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export interface EntityIdBase {
5
5
  /**
6
- * Externally supplied ID to uniquely identify this object. Is globally unique when combined with all other entityId fields (type, appId, organizationId, agentId).
6
+ * Externally supplied ID to uniquely identify this object. Is globally unique when combined with the other fields of its ID.
7
7
  *
8
8
  * Must be less than 192 characters and contain only:
9
9
  * - alphanumeric characters (`a-z`, `A-Z`, `0-9`)
@@ -31,5 +31,9 @@ export declare const EntityType: {
31
31
  readonly ScenarioRun: "SCENARIO_RUN";
32
32
  readonly Function: "FUNCTION";
33
33
  readonly FunctionVersion: "FUNCTION_VERSION";
34
+ /**
35
+ * In development. A person or a service account, identified above the organization level. No
36
+ * `EntityId` has this type: a mavenUser belongs to no organization or agent. */
37
+ readonly MavenUser: "MAVEN_USER";
34
38
  };
35
39
  export type EntityType = (typeof EntityType)[keyof typeof EntityType] | string;