mavenagi 1.2.60 → 1.2.61

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 (262) hide show
  1. package/BaseClient.d.ts +12 -0
  2. package/BaseClient.js +5 -3
  3. package/Client.d.ts +3 -0
  4. package/Client.js +33 -28
  5. package/api/resources/actions/client/Client.d.ts +10 -0
  6. package/api/resources/actions/client/Client.js +14 -3
  7. package/api/resources/agents/client/Client.d.ts +12 -0
  8. package/api/resources/agents/client/Client.js +16 -3
  9. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +3 -3
  10. package/api/resources/agents/types/AgentPrompting.d.ts +3 -3
  11. package/api/resources/analytics/client/Client.d.ts +14 -0
  12. package/api/resources/analytics/client/Client.js +22 -7
  13. package/api/resources/analytics/types/ConversationMedian.d.ts +4 -0
  14. package/api/resources/analytics/types/ConversationPercentile.d.ts +4 -0
  15. package/api/resources/analytics/types/RowBase.d.ts +5 -1
  16. package/api/resources/analytics/types/Series.d.ts +4 -1
  17. package/api/resources/analytics/types/TimeSeries.d.ts +5 -1
  18. package/api/resources/appDirectory/client/Client.d.ts +12 -0
  19. package/api/resources/appDirectory/client/Client.js +16 -3
  20. package/api/resources/appSettings/client/Client.d.ts +6 -0
  21. package/api/resources/appSettings/client/Client.js +8 -1
  22. package/api/resources/assets/client/Client.d.ts +4 -0
  23. package/api/resources/assets/client/Client.js +7 -2
  24. package/api/resources/charters/client/Client.d.ts +245 -0
  25. package/api/resources/charters/client/Client.js +884 -0
  26. package/api/resources/charters/client/index.d.ts +1 -0
  27. package/api/resources/charters/client/index.js +17 -0
  28. package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +20 -0
  29. package/api/resources/charters/client/requests/CharterDeleteRequest.js +3 -0
  30. package/api/resources/charters/client/requests/CharterGetAncestorsRequest.d.ts +8 -0
  31. package/api/resources/charters/client/requests/CharterGetAncestorsRequest.js +3 -0
  32. package/api/resources/charters/client/requests/CharterGetRequest.d.ts +8 -0
  33. package/api/resources/charters/client/requests/CharterGetRequest.js +3 -0
  34. package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +67 -0
  35. package/api/resources/charters/client/requests/CharterPatchRequest.js +3 -0
  36. package/api/resources/charters/client/requests/index.d.ts +4 -0
  37. package/api/resources/charters/client/requests/index.js +2 -0
  38. package/api/resources/charters/exports.d.ts +2 -0
  39. package/api/resources/charters/exports.js +21 -0
  40. package/api/resources/charters/index.d.ts +1 -0
  41. package/api/resources/charters/index.js +1 -0
  42. package/api/resources/charters/types/CharterAncestorsResponse.d.ts +8 -0
  43. package/api/resources/charters/types/CharterAncestorsResponse.js +3 -0
  44. package/api/resources/charters/types/CharterBase.d.ts +14 -0
  45. package/api/resources/charters/types/CharterBase.js +3 -0
  46. package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +1 -1
  47. package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +1 -1
  48. package/api/resources/charters/types/CharterChildrenGroup.d.ts +18 -0
  49. package/api/resources/charters/types/CharterChildrenGroup.js +3 -0
  50. package/api/resources/charters/types/CharterContent.d.ts +60 -0
  51. package/api/resources/charters/types/CharterContent.js +3 -0
  52. package/api/resources/charters/types/CharterKnowledgeBaseReference.d.ts +16 -0
  53. package/api/resources/charters/types/CharterKnowledgeBaseReference.js +3 -0
  54. package/api/resources/charters/types/CharterListChildrenRequest.d.ts +18 -0
  55. package/api/resources/charters/types/CharterListChildrenRequest.js +3 -0
  56. package/api/resources/charters/types/CharterListChildrenResponse.d.ts +55 -0
  57. package/api/resources/charters/types/CharterListChildrenResponse.js +3 -0
  58. package/api/resources/charters/types/CharterPatchReferences.d.ts +22 -0
  59. package/api/resources/charters/types/CharterPatchReferences.js +3 -0
  60. package/api/resources/charters/types/CharterReferences.d.ts +21 -0
  61. package/api/resources/charters/types/CharterReferences.js +3 -0
  62. package/api/resources/charters/types/CharterRequest.d.ts +36 -0
  63. package/api/resources/charters/types/CharterRequest.js +3 -0
  64. package/api/resources/charters/types/CharterResponse.d.ts +66 -0
  65. package/api/resources/charters/types/CharterResponse.js +3 -0
  66. package/api/resources/charters/types/CharterSearchField.d.ts +5 -0
  67. package/api/resources/charters/types/CharterSearchField.js +8 -0
  68. package/api/resources/charters/types/CharterSearchFilter.d.ts +15 -0
  69. package/api/resources/charters/types/CharterSearchFilter.js +3 -0
  70. package/api/resources/charters/types/CharterSearchRequest.d.ts +5 -0
  71. package/api/resources/charters/types/CharterSearchRequest.js +3 -0
  72. package/api/resources/charters/types/CharterSearchResponse.d.ts +36 -0
  73. package/api/resources/charters/types/CharterSearchResponse.js +3 -0
  74. package/api/resources/charters/types/CharterStatus.d.ts +2 -2
  75. package/api/resources/charters/types/CharterStatus.js +2 -2
  76. package/api/resources/charters/types/CharterSummary.d.ts +1 -9
  77. package/api/resources/charters/types/CharterType.d.ts +4 -4
  78. package/api/resources/charters/types/CharterType.js +4 -4
  79. package/api/resources/charters/types/index.d.ts +15 -0
  80. package/api/resources/charters/types/index.js +15 -0
  81. package/api/resources/commons/errors/BadRequestError.d.ts +1 -0
  82. package/api/resources/commons/errors/BadRequestError.js +1 -1
  83. package/api/resources/commons/errors/NotFoundError.d.ts +1 -0
  84. package/api/resources/commons/errors/NotFoundError.js +1 -1
  85. package/api/resources/commons/errors/PayloadTooLargeError.d.ts +1 -0
  86. package/api/resources/commons/errors/PayloadTooLargeError.js +1 -1
  87. package/api/resources/commons/errors/ServerError.d.ts +1 -0
  88. package/api/resources/commons/errors/ServerError.js +1 -1
  89. package/api/resources/commons/errors/TooManyRequestsError.d.ts +1 -0
  90. package/api/resources/commons/errors/TooManyRequestsError.js +1 -1
  91. package/api/resources/commons/types/AskType.d.ts +2 -2
  92. package/api/resources/commons/types/AskType.js +2 -2
  93. package/api/resources/commons/types/BotObjectResponse.d.ts +1 -1
  94. package/api/resources/commons/types/ConversationRound.d.ts +1 -1
  95. package/api/resources/commons/types/ConversationRound.js +1 -1
  96. package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +0 -4
  97. package/api/resources/commons/types/LlmPersona.d.ts +1 -1
  98. package/api/resources/commons/types/LlmPersona.js +1 -1
  99. package/api/resources/commons/types/MetadataComparisonCondition.d.ts +10 -0
  100. package/api/resources/commons/types/MetadataComparisonCondition.js +3 -0
  101. package/api/resources/commons/types/MetadataComparisonOperator.d.ts +22 -0
  102. package/api/resources/commons/types/MetadataComparisonOperator.js +25 -0
  103. package/api/resources/commons/types/MetadataCondition.d.ts +21 -0
  104. package/api/resources/commons/types/MetadataCondition.js +3 -0
  105. package/api/resources/commons/types/MetadataEntryCondition.d.ts +10 -0
  106. package/api/resources/commons/types/MetadataEntryCondition.js +3 -0
  107. package/api/resources/commons/types/MetadataFilter.d.ts +41 -0
  108. package/api/resources/commons/types/MetadataFilter.js +3 -0
  109. package/api/resources/commons/types/MetadataFilterGroup.d.ts +14 -0
  110. package/api/resources/commons/types/MetadataFilterGroup.js +3 -0
  111. package/api/resources/commons/types/SimulationContext.d.ts +2 -2
  112. package/api/resources/commons/types/SystemEventName.d.ts +3 -0
  113. package/api/resources/commons/types/SystemEventName.js +3 -0
  114. package/api/resources/commons/types/index.d.ts +6 -0
  115. package/api/resources/commons/types/index.js +6 -0
  116. package/api/resources/conversation/client/Client.d.ts +32 -0
  117. package/api/resources/conversation/client/Client.js +48 -17
  118. package/api/resources/conversation/types/AskRequest.d.ts +10 -10
  119. package/api/resources/conversation/types/ConversationFilter.d.ts +6 -1
  120. package/api/resources/customers/client/Client.d.ts +8 -0
  121. package/api/resources/customers/client/Client.js +12 -3
  122. package/api/resources/events/client/Client.d.ts +8 -0
  123. package/api/resources/events/client/Client.js +12 -3
  124. package/api/resources/inbox/client/Client.d.ts +16 -0
  125. package/api/resources/inbox/client/Client.js +22 -5
  126. package/api/resources/index.d.ts +1 -0
  127. package/api/resources/index.js +1 -0
  128. package/api/resources/integrations/client/Client.d.ts +2 -0
  129. package/api/resources/integrations/client/Client.js +4 -1
  130. package/api/resources/intelligentFields/client/Client.d.ts +28 -3
  131. package/api/resources/intelligentFields/client/Client.js +36 -8
  132. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +4 -0
  133. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +13 -4
  134. package/api/resources/intelligentFields/types/EnumOption.d.ts +3 -1
  135. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
  136. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +12 -11
  137. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +4 -1
  138. package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +4 -1
  139. package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +8 -1
  140. package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +8 -1
  141. package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +10 -0
  142. package/api/resources/intelligentFields/types/IntelligentFieldType.js +10 -0
  143. package/api/resources/knowledge/client/Client.d.ts +32 -0
  144. package/api/resources/knowledge/client/Client.js +47 -16
  145. package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +13 -0
  146. package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +4 -2
  147. package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +33 -9
  148. package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +7 -1
  149. package/api/resources/organizations/client/Client.d.ts +12 -0
  150. package/api/resources/organizations/client/Client.js +17 -4
  151. package/api/resources/segments/client/Client.d.ts +10 -0
  152. package/api/resources/segments/client/Client.js +14 -3
  153. package/api/resources/translations/client/Client.d.ts +2 -0
  154. package/api/resources/translations/client/Client.js +4 -1
  155. package/api/resources/triggers/client/Client.d.ts +10 -0
  156. package/api/resources/triggers/client/Client.js +14 -3
  157. package/api/resources/users/client/Client.d.ts +10 -0
  158. package/api/resources/users/client/Client.js +13 -2
  159. package/api/resources/voice/client/Client.d.ts +2 -0
  160. package/api/resources/voice/client/Client.js +4 -1
  161. package/api/resources/voiceConversations/client/Client.d.ts +4 -1
  162. package/api/resources/voiceConversations/client/Client.js +2 -1
  163. package/api/resources/voiceConversations/client/Socket.d.ts +11 -0
  164. package/api/resources/voiceConversations/client/Socket.js +15 -0
  165. package/core/fetcher/Fetcher.js +9 -92
  166. package/core/fetcher/getResponseBody.js +11 -0
  167. package/core/fetcher/makePassthroughRequest.js +26 -4
  168. package/core/fetcher/redactUrl.d.ts +2 -0
  169. package/core/fetcher/redactUrl.js +88 -0
  170. package/core/fetcher/signals.js +9 -1
  171. package/core/file/file.js +3 -0
  172. package/core/form-data-utils/FormDataWrapper.js +3 -0
  173. package/core/requestBody.d.ts +12 -0
  174. package/core/requestBody.js +26 -0
  175. package/core/runtime/index.d.ts +1 -1
  176. package/core/runtime/index.js +2 -1
  177. package/core/runtime/runtime.d.ts +19 -0
  178. package/core/runtime/runtime.js +74 -2
  179. package/core/schemas/builders/schema-utils/JsonError.js +2 -2
  180. package/core/schemas/builders/schema-utils/ParseError.js +2 -2
  181. package/core/stream/Stream.d.ts +45 -1
  182. package/core/stream/Stream.js +323 -84
  183. package/core/stream/index.d.ts +1 -0
  184. package/core/url/qs.js +2 -2
  185. package/core/websocket/ws.d.ts +6 -0
  186. package/core/websocket/ws.js +14 -1
  187. package/errors/MavenAGIError.d.ts +1 -0
  188. package/errors/MavenAGIError.js +5 -1
  189. package/errors/MavenAGITimeoutError.d.ts +2 -2
  190. package/errors/MavenAGITimeoutError.js +40 -6
  191. package/package.json +2 -2
  192. package/reference.md +587 -3
  193. package/serialization/resources/charters/client/index.d.ts +1 -0
  194. package/serialization/resources/charters/client/index.js +17 -0
  195. package/serialization/resources/charters/client/requests/CharterPatchRequest.d.ts +24 -0
  196. package/serialization/resources/charters/client/requests/CharterPatchRequest.js +57 -0
  197. package/serialization/resources/charters/client/requests/index.d.ts +1 -0
  198. package/serialization/resources/charters/client/requests/index.js +5 -0
  199. package/serialization/resources/charters/index.d.ts +1 -0
  200. package/serialization/resources/charters/index.js +1 -0
  201. package/serialization/resources/charters/types/CharterAncestorsResponse.d.ts +10 -0
  202. package/serialization/resources/charters/types/CharterAncestorsResponse.js +42 -0
  203. package/serialization/resources/charters/types/CharterBase.d.ts +11 -0
  204. package/serialization/resources/charters/types/CharterBase.js +43 -0
  205. package/serialization/resources/charters/types/CharterChildrenGroup.d.ts +13 -0
  206. package/serialization/resources/charters/types/CharterChildrenGroup.js +45 -0
  207. package/serialization/resources/charters/types/CharterContent.d.ts +19 -0
  208. package/serialization/resources/charters/types/CharterContent.js +54 -0
  209. package/serialization/resources/charters/types/CharterKnowledgeBaseReference.d.ts +11 -0
  210. package/serialization/resources/charters/types/CharterKnowledgeBaseReference.js +44 -0
  211. package/serialization/resources/charters/types/CharterListChildrenRequest.d.ts +11 -0
  212. package/serialization/resources/charters/types/CharterListChildrenRequest.js +45 -0
  213. package/serialization/resources/charters/types/CharterListChildrenResponse.d.ts +11 -0
  214. package/serialization/resources/charters/types/CharterListChildrenResponse.js +45 -0
  215. package/serialization/resources/charters/types/CharterPatchReferences.d.ts +12 -0
  216. package/serialization/resources/charters/types/CharterPatchReferences.js +44 -0
  217. package/serialization/resources/charters/types/CharterReferences.d.ts +12 -0
  218. package/serialization/resources/charters/types/CharterReferences.js +44 -0
  219. package/serialization/resources/charters/types/CharterRequest.d.ts +13 -0
  220. package/serialization/resources/charters/types/CharterRequest.js +47 -0
  221. package/serialization/resources/charters/types/CharterResponse.d.ts +25 -0
  222. package/serialization/resources/charters/types/CharterResponse.js +60 -0
  223. package/serialization/resources/charters/types/CharterSearchField.d.ts +7 -0
  224. package/serialization/resources/charters/types/CharterSearchField.js +39 -0
  225. package/serialization/resources/charters/types/CharterSearchFilter.d.ts +11 -0
  226. package/serialization/resources/charters/types/CharterSearchFilter.js +43 -0
  227. package/serialization/resources/charters/types/CharterSearchRequest.d.ts +13 -0
  228. package/serialization/resources/charters/types/CharterSearchRequest.js +47 -0
  229. package/serialization/resources/charters/types/CharterSearchResponse.d.ts +11 -0
  230. package/serialization/resources/charters/types/CharterSearchResponse.js +45 -0
  231. package/serialization/resources/charters/types/CharterSummary.d.ts +0 -2
  232. package/serialization/resources/charters/types/CharterSummary.js +0 -2
  233. package/serialization/resources/charters/types/index.d.ts +15 -0
  234. package/serialization/resources/charters/types/index.js +15 -0
  235. package/serialization/resources/commons/types/MetadataComparisonCondition.d.ts +11 -0
  236. package/serialization/resources/commons/types/MetadataComparisonCondition.js +43 -0
  237. package/serialization/resources/commons/types/MetadataComparisonOperator.d.ts +7 -0
  238. package/serialization/resources/commons/types/MetadataComparisonOperator.js +39 -0
  239. package/serialization/resources/commons/types/MetadataCondition.d.ts +19 -0
  240. package/serialization/resources/commons/types/MetadataCondition.js +51 -0
  241. package/serialization/resources/commons/types/MetadataEntryCondition.d.ts +11 -0
  242. package/serialization/resources/commons/types/MetadataEntryCondition.js +43 -0
  243. package/serialization/resources/commons/types/MetadataFilter.d.ts +14 -0
  244. package/serialization/resources/commons/types/MetadataFilter.js +49 -0
  245. package/serialization/resources/commons/types/MetadataFilterGroup.d.ts +11 -0
  246. package/serialization/resources/commons/types/MetadataFilterGroup.js +44 -0
  247. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  248. package/serialization/resources/commons/types/SystemEventName.js +1 -0
  249. package/serialization/resources/commons/types/index.d.ts +6 -0
  250. package/serialization/resources/commons/types/index.js +6 -0
  251. package/serialization/resources/index.d.ts +1 -0
  252. package/serialization/resources/index.js +1 -0
  253. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +1 -0
  254. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +1 -0
  255. package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +2 -0
  256. package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +2 -0
  257. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +0 -2
  258. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +0 -2
  259. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +2 -0
  260. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +2 -0
  261. package/version.d.ts +1 -1
  262. package/version.js +1 -1
@@ -0,0 +1,15 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface CharterSearchFilter {
3
+ /**
4
+ * Filter to charters that reference any of the specified actions (OR within this field).
5
+ * When combined with knowledgeBaseIds, both filters must match (AND across fields).
6
+ * An empty list is equivalent to omitting the field. Maximum 50 IDs.
7
+ */
8
+ actionIds?: MavenAGI.EntityId[];
9
+ /**
10
+ * Filter to charters that reference any of the specified knowledge bases (OR within this field).
11
+ * When combined with actionIds, both filters must match (AND across fields).
12
+ * An empty list is equivalent to omitting the field. Maximum 50 IDs.
13
+ */
14
+ knowledgeBaseIds?: MavenAGI.EntityId[];
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 });
@@ -0,0 +1,5 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface CharterSearchRequest extends MavenAGI.BaseCappedPaginatedRequest {
3
+ sort?: MavenAGI.CharterSearchField;
4
+ filter?: MavenAGI.CharterSearchFilter;
5
+ }
@@ -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,36 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * @example
4
+ * {
5
+ * number: 0,
6
+ * size: 20,
7
+ * totalElements: 1,
8
+ * totalPages: 1,
9
+ * charters: [{
10
+ * charterId: {
11
+ * referenceId: "cancellation-flow",
12
+ * appId: "support-app",
13
+ * organizationId: "acme",
14
+ * agentId: "support",
15
+ * type: MavenAGI.EntityType.Charter
16
+ * },
17
+ * name: "Cancellation Flow",
18
+ * precondition: {
19
+ * preconditionType: "conversation",
20
+ * value: {
21
+ * conversationPreconditionType: "tags",
22
+ * tags: new Set(["cancellation"])
23
+ * }
24
+ * },
25
+ * status: MavenAGI.CharterStatus.Active,
26
+ * type: MavenAGI.CharterType.Standard,
27
+ * childrenExclusionPolicy: MavenAGI.CharterChildrenExclusionPolicy.Default,
28
+ * createdAt: new Date("2025-01-01T00:00:00.000Z"),
29
+ * updatedAt: new Date("2025-01-15T12:30:00.000Z")
30
+ * }]
31
+ * }
32
+ */
33
+ export interface CharterSearchResponse extends MavenAGI.Page {
34
+ /** Charters matching the search criteria. */
35
+ charters: MavenAGI.CharterSummary[];
36
+ }
@@ -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,10 +1,10 @@
1
1
  /**
2
2
  * The lifecycle status of a charter.
3
3
  *
4
- * - ACTIVE: The charter is active and will be evaluated during Q&A. The caller is responsible
4
+ * - ACTIVE: The charter is active and will be evaluated on every round. The caller is responsible
5
5
  * for ensuring ancestor charters are also ACTIVE if the full subtree should be reachable.
6
6
  * - INACTIVE: The charter is inactive. It retains its rank among siblings and its descendants retain their statuses.
7
- * However, it and its descendants are skipped during runtime Q&A evaluation.
7
+ * However, it and its descendants are skipped during runtime evaluation.
8
8
  * - DELETED: The charter has been soft deleted. Excluded from searches and cannot be modified.
9
9
  * Deleting a charter cascades to all descendants (they are also soft-deleted).
10
10
  */
@@ -5,10 +5,10 @@ exports.CharterStatus = void 0;
5
5
  /**
6
6
  * The lifecycle status of a charter.
7
7
  *
8
- * - ACTIVE: The charter is active and will be evaluated during Q&A. The caller is responsible
8
+ * - ACTIVE: The charter is active and will be evaluated on every round. The caller is responsible
9
9
  * for ensuring ancestor charters are also ACTIVE if the full subtree should be reachable.
10
10
  * - INACTIVE: The charter is inactive. It retains its rank among siblings and its descendants retain their statuses.
11
- * However, it and its descendants are skipped during runtime Q&A evaluation.
11
+ * However, it and its descendants are skipped during runtime evaluation.
12
12
  * - DELETED: The charter has been soft deleted. Excluded from searches and cannot be modified.
13
13
  * Deleting a charter cascades to all descendants (they are also soft-deleted).
14
14
  */
@@ -8,15 +8,7 @@ export interface CharterSummary {
8
8
  charterId: MavenAGI.EntityId;
9
9
  /** The display name of the charter. */
10
10
  name: string;
11
- /**
12
- * The segment backing this charter's rule. An implementation detail of `precondition`;
13
- * read that instead.
14
- */
15
- segmentSummary: MavenAGI.SegmentSummary | null;
16
- /**
17
- * The rule controlling when this charter applies, read from the charter's backing
18
- * segment. Null means wildcard (always matches).
19
- */
11
+ /** The rule controlling when this charter applies. Null means wildcard (always matches). */
20
12
  precondition: MavenAGI.PreconditionResponse | null;
21
13
  /** The ID of the parent charter. Null for root-level charters. */
22
14
  parentCharterId: MavenAGI.EntityId | null;
@@ -7,16 +7,16 @@
7
7
  * verbatim, without invoking the LLM. The charter cannot have children, and
8
8
  * its manual must be non-blank — the manual is the response.
9
9
  *
10
- * A STRICT_RETURN charter references nothing: both `knowledgeBaseIds` and
10
+ * A STRICT_RETURN charter references nothing: both `knowledgeBases` and
11
11
  * `actionIds` must be empty, and a create or update supplying either is
12
- * rejected. With no LLM in the turn there is nothing to consult a knowledge
12
+ * rejected. With no LLM in the round there is nothing to consult a knowledge
13
13
  * base or to choose an action.
14
14
  *
15
15
  * A STRICT_RETURN charter is matched exactly like any other charter — same
16
16
  * ordering and mutual-exclusion rules. The only difference is what a match
17
- * does: the first matched STRICT_RETURN charter takes over the turn, so its
17
+ * does: the first matched STRICT_RETURN charter takes over the round, so its
18
18
  * manual is the whole response and every other matched charter is ignored.
19
- * (At most one applies per turn.)
19
+ * (At most one applies per round.)
20
20
  */
21
21
  export declare const CharterType: {
22
22
  readonly Standard: "STANDARD";
@@ -11,16 +11,16 @@ exports.CharterType = void 0;
11
11
  * verbatim, without invoking the LLM. The charter cannot have children, and
12
12
  * its manual must be non-blank — the manual is the response.
13
13
  *
14
- * A STRICT_RETURN charter references nothing: both `knowledgeBaseIds` and
14
+ * A STRICT_RETURN charter references nothing: both `knowledgeBases` and
15
15
  * `actionIds` must be empty, and a create or update supplying either is
16
- * rejected. With no LLM in the turn there is nothing to consult a knowledge
16
+ * rejected. With no LLM in the round there is nothing to consult a knowledge
17
17
  * base or to choose an action.
18
18
  *
19
19
  * A STRICT_RETURN charter is matched exactly like any other charter — same
20
20
  * ordering and mutual-exclusion rules. The only difference is what a match
21
- * does: the first matched STRICT_RETURN charter takes over the turn, so its
21
+ * does: the first matched STRICT_RETURN charter takes over the round, so its
22
22
  * manual is the whole response and every other matched charter is ignored.
23
- * (At most one applies per turn.)
23
+ * (At most one applies per round.)
24
24
  */
25
25
  exports.CharterType = {
26
26
  Standard: "STANDARD",
@@ -1,4 +1,19 @@
1
+ export * from "./CharterAncestorsResponse";
2
+ export * from "./CharterBase";
1
3
  export * from "./CharterChildrenExclusionPolicy";
4
+ export * from "./CharterChildrenGroup";
5
+ export * from "./CharterContent";
6
+ export * from "./CharterKnowledgeBaseReference";
7
+ export * from "./CharterListChildrenRequest";
8
+ export * from "./CharterListChildrenResponse";
9
+ export * from "./CharterPatchReferences";
10
+ export * from "./CharterReferences";
11
+ export * from "./CharterRequest";
12
+ export * from "./CharterResponse";
13
+ export * from "./CharterSearchField";
14
+ export * from "./CharterSearchFilter";
15
+ export * from "./CharterSearchRequest";
16
+ export * from "./CharterSearchResponse";
2
17
  export * from "./CharterStatus";
3
18
  export * from "./CharterSummary";
4
19
  export * from "./CharterType";
@@ -14,7 +14,22 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CharterAncestorsResponse"), exports);
18
+ __exportStar(require("./CharterBase"), exports);
17
19
  __exportStar(require("./CharterChildrenExclusionPolicy"), exports);
20
+ __exportStar(require("./CharterChildrenGroup"), exports);
21
+ __exportStar(require("./CharterContent"), exports);
22
+ __exportStar(require("./CharterKnowledgeBaseReference"), exports);
23
+ __exportStar(require("./CharterListChildrenRequest"), exports);
24
+ __exportStar(require("./CharterListChildrenResponse"), exports);
25
+ __exportStar(require("./CharterPatchReferences"), exports);
26
+ __exportStar(require("./CharterReferences"), exports);
27
+ __exportStar(require("./CharterRequest"), exports);
28
+ __exportStar(require("./CharterResponse"), exports);
29
+ __exportStar(require("./CharterSearchField"), exports);
30
+ __exportStar(require("./CharterSearchFilter"), exports);
31
+ __exportStar(require("./CharterSearchRequest"), exports);
32
+ __exportStar(require("./CharterSearchResponse"), exports);
18
33
  __exportStar(require("./CharterStatus"), exports);
19
34
  __exportStar(require("./CharterSummary"), exports);
20
35
  __exportStar(require("./CharterType"), exports);
@@ -2,5 +2,6 @@ import type * as core from "../../../../core";
2
2
  import * as errors from "../../../../errors/index";
3
3
  import type * as MavenAGI from "../../../index";
4
4
  export declare class BadRequestError extends errors.MavenAGIError {
5
+ readonly body: MavenAGI.ErrorMessage;
5
6
  constructor(body: MavenAGI.ErrorMessage, rawResponse?: core.RawResponse);
6
7
  }
@@ -48,7 +48,7 @@ class BadRequestError extends errors.MavenAGIError {
48
48
  if (Error.captureStackTrace) {
49
49
  Error.captureStackTrace(this, this.constructor);
50
50
  }
51
- this.name = this.constructor.name;
51
+ this.name = "BadRequestError";
52
52
  }
53
53
  }
54
54
  exports.BadRequestError = BadRequestError;
@@ -2,5 +2,6 @@ import type * as core from "../../../../core";
2
2
  import * as errors from "../../../../errors/index";
3
3
  import type * as MavenAGI from "../../../index";
4
4
  export declare class NotFoundError extends errors.MavenAGIError {
5
+ readonly body: MavenAGI.ErrorMessage;
5
6
  constructor(body: MavenAGI.ErrorMessage, rawResponse?: core.RawResponse);
6
7
  }
@@ -48,7 +48,7 @@ class NotFoundError extends errors.MavenAGIError {
48
48
  if (Error.captureStackTrace) {
49
49
  Error.captureStackTrace(this, this.constructor);
50
50
  }
51
- this.name = this.constructor.name;
51
+ this.name = "NotFoundError";
52
52
  }
53
53
  }
54
54
  exports.NotFoundError = NotFoundError;
@@ -2,5 +2,6 @@ import type * as core from "../../../../core";
2
2
  import * as errors from "../../../../errors/index";
3
3
  import type * as MavenAGI from "../../../index";
4
4
  export declare class PayloadTooLargeError extends errors.MavenAGIError {
5
+ readonly body: MavenAGI.ErrorMessage;
5
6
  constructor(body: MavenAGI.ErrorMessage, rawResponse?: core.RawResponse);
6
7
  }
@@ -48,7 +48,7 @@ class PayloadTooLargeError extends errors.MavenAGIError {
48
48
  if (Error.captureStackTrace) {
49
49
  Error.captureStackTrace(this, this.constructor);
50
50
  }
51
- this.name = this.constructor.name;
51
+ this.name = "PayloadTooLargeError";
52
52
  }
53
53
  }
54
54
  exports.PayloadTooLargeError = PayloadTooLargeError;
@@ -2,5 +2,6 @@ import type * as core from "../../../../core";
2
2
  import * as errors from "../../../../errors/index";
3
3
  import type * as MavenAGI from "../../../index";
4
4
  export declare class ServerError extends errors.MavenAGIError {
5
+ readonly body: MavenAGI.ErrorMessage;
5
6
  constructor(body: MavenAGI.ErrorMessage, rawResponse?: core.RawResponse);
6
7
  }
@@ -48,7 +48,7 @@ class ServerError extends errors.MavenAGIError {
48
48
  if (Error.captureStackTrace) {
49
49
  Error.captureStackTrace(this, this.constructor);
50
50
  }
51
- this.name = this.constructor.name;
51
+ this.name = "ServerError";
52
52
  }
53
53
  }
54
54
  exports.ServerError = ServerError;
@@ -2,5 +2,6 @@ import type * as core from "../../../../core";
2
2
  import * as errors from "../../../../errors/index";
3
3
  import type * as MavenAGI from "../../../index";
4
4
  export declare class TooManyRequestsError extends errors.MavenAGIError {
5
+ readonly body: MavenAGI.ErrorMessage;
5
6
  constructor(body: MavenAGI.ErrorMessage, rawResponse?: core.RawResponse);
6
7
  }
@@ -48,7 +48,7 @@ class TooManyRequestsError extends errors.MavenAGIError {
48
48
  if (Error.captureStackTrace) {
49
49
  Error.captureStackTrace(this, this.constructor);
50
50
  }
51
- this.name = this.constructor.name;
51
+ this.name = "TooManyRequestsError";
52
52
  }
53
53
  }
54
54
  exports.TooManyRequestsError = TooManyRequestsError;
@@ -1,10 +1,10 @@
1
- /** What prompts the assistant turn produced by an ask. Defaults to USER_MESSAGE when omitted. */
1
+ /** What prompts the assistant response produced by an ask. Defaults to USER_MESSAGE when omitted. */
2
2
  export declare const AskType: {
3
3
  /**
4
4
  * The default. Respond to a message the user sent; the user's words are in `text` (required). */
5
5
  readonly UserMessage: "USER_MESSAGE";
6
6
  /**
7
- * The agent opens the conversation with its own greeting, with no user input. `text` is optional here; when provided it steers the greeting. Intended as the first turn of a conversation. */
7
+ * The agent opens the conversation with its own greeting, with no user input. `text` is optional here; when provided it steers the greeting. Intended as the first round of a conversation. */
8
8
  readonly Welcome: "WELCOME";
9
9
  /**
10
10
  * The agent proactively sends a message the user did not prompt. `text` is optional here; when provided it steers what the agent says (e.g. "tell the user to restart their machine") and is a directive to the agent, not the user's own words. */
@@ -2,13 +2,13 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.AskType = void 0;
5
- /** What prompts the assistant turn produced by an ask. Defaults to USER_MESSAGE when omitted. */
5
+ /** What prompts the assistant response produced by an ask. Defaults to USER_MESSAGE when omitted. */
6
6
  exports.AskType = {
7
7
  /**
8
8
  * The default. Respond to a message the user sent; the user's words are in `text` (required). */
9
9
  UserMessage: "USER_MESSAGE",
10
10
  /**
11
- * The agent opens the conversation with its own greeting, with no user input. `text` is optional here; when provided it steers the greeting. Intended as the first turn of a conversation. */
11
+ * The agent opens the conversation with its own greeting, with no user input. `text` is optional here; when provided it steers the greeting. Intended as the first round of a conversation. */
12
12
  Welcome: "WELCOME",
13
13
  /**
14
14
  * The agent proactively sends a message the user did not prompt. `text` is optional here; when provided it steers what the agent says (e.g. "tell the user to restart their machine") and is a directive to the agent, not the user's own words. */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The structured answer for an ask whose `textFormat` was `jsonSchema`. Accompanies the `BotTextResponse` rather than replacing it — the same turn produces both, so the conversation still reads as prose.
2
+ * The structured answer for an ask whose `textFormat` was `jsonSchema`. Accompanies the `BotTextResponse` rather than replacing it — the same round produces both, so the conversation still reads as prose.
3
3
  */
4
4
  export interface BotObjectResponse {
5
5
  /** The answer, matching the schema the ask supplied. Every property the schema requires is present, with `null` where a nullable one does not apply. */
@@ -1,4 +1,4 @@
1
- /** Which round of the conversation an action must have executed in for a ConversationExecutedActionPrecondition to be met. A round is a single bot response to the user; the current round is the bot response being generated now. */
1
+ /** Which round of the conversation an action must have executed in for a ConversationExecutedActionPrecondition to be met. A round is one user-visible bot response, which may span several model calls as actions run. The current round is the response being generated now, so CURRENT matches an action that ran earlier in this same response. */
2
2
  export declare const ConversationRound: {
3
3
  /**
4
4
  * The action has executed in any round of the conversation. */
@@ -2,7 +2,7 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ConversationRound = void 0;
5
- /** Which round of the conversation an action must have executed in for a ConversationExecutedActionPrecondition to be met. A round is a single bot response to the user; the current round is the bot response being generated now. */
5
+ /** Which round of the conversation an action must have executed in for a ConversationExecutedActionPrecondition to be met. A round is one user-visible bot response, which may span several model calls as actions run. The current round is the response being generated now, so CURRENT matches an action that ran earlier in this same response. */
6
6
  exports.ConversationRound = {
7
7
  /**
8
8
  * The action has executed in any round of the conversation. */
@@ -6,10 +6,6 @@ import type * as MavenAGI from "../../../index";
6
6
  * the ID of the intelligent field (<referenceId, appId>). Available
7
7
  * operators and the corresponding types of the RHS depends on the
8
8
  * validationType of the intelligent field.
9
- *
10
- * Note: in early beta, only opt-in apps and organizations/agents can
11
- * specify intelligent field preconditions. Otherwise, the request will be
12
- * rejected.
13
9
  */
14
10
  export interface IntelligentFieldPrecondition {
15
11
  /** The ID of the intelligent field. */
@@ -1,4 +1,4 @@
1
- /** Deprecated. Superseded by charters, which determine agent behavior per turn. */
1
+ /** Deprecated. Superseded by charters, which determine agent behavior per round. */
2
2
  export declare const LlmPersona: {
3
3
  readonly CasualBuddy: "CASUAL_BUDDY";
4
4
  readonly EmpatheticSupporter: "EMPATHETIC_SUPPORTER";
@@ -2,7 +2,7 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.LlmPersona = void 0;
5
- /** Deprecated. Superseded by charters, which determine agent behavior per turn. */
5
+ /** Deprecated. Superseded by charters, which determine agent behavior per round. */
6
6
  exports.LlmPersona = {
7
7
  CasualBuddy: "CASUAL_BUDDY",
8
8
  EmpatheticSupporter: "EMPATHETIC_SUPPORTER",
@@ -0,0 +1,10 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Condition comparing a metadata value against a single string.
4
+ */
5
+ export interface MetadataComparisonCondition {
6
+ /** The comparison operator to apply */
7
+ operator: MavenAGI.MetadataComparisonOperator;
8
+ /** The string value to compare against */
9
+ value: string;
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,22 @@
1
+ /**
2
+ * Operators comparing a metadata value against a single string.
3
+ *
4
+ * Narrower than `StringComparisonOperator` by design. Its substring and suffix
5
+ * operators need an unanchored scan of every value, which a metadata filter cannot
6
+ * afford; equality and prefix are answerable straight from an index.
7
+ */
8
+ export declare const MetadataComparisonOperator: {
9
+ /**
10
+ * Equals (=) */
11
+ readonly Eq: "EQ";
12
+ /**
13
+ * Not equals (!=) */
14
+ readonly Neq: "NEQ";
15
+ /**
16
+ * Value starts with the specified prefix */
17
+ readonly StartsWith: "STARTS_WITH";
18
+ /**
19
+ * Value does not start with the specified prefix */
20
+ readonly NotStartsWith: "NOT_STARTS_WITH";
21
+ };
22
+ export type MetadataComparisonOperator = (typeof MetadataComparisonOperator)[keyof typeof MetadataComparisonOperator] | string;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MetadataComparisonOperator = void 0;
5
+ /**
6
+ * Operators comparing a metadata value against a single string.
7
+ *
8
+ * Narrower than `StringComparisonOperator` by design. Its substring and suffix
9
+ * operators need an unanchored scan of every value, which a metadata filter cannot
10
+ * afford; equality and prefix are answerable straight from an index.
11
+ */
12
+ exports.MetadataComparisonOperator = {
13
+ /**
14
+ * Equals (=) */
15
+ Eq: "EQ",
16
+ /**
17
+ * Not equals (!=) */
18
+ Neq: "NEQ",
19
+ /**
20
+ * Value starts with the specified prefix */
21
+ StartsWith: "STARTS_WITH",
22
+ /**
23
+ * Value does not start with the specified prefix */
24
+ NotStartsWith: "NOT_STARTS_WITH",
25
+ };
@@ -0,0 +1,21 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A condition on a single metadata value.
4
+ *
5
+ * Unlike `FieldCondition` this has no type discriminant. `FieldCondition` coerces a
6
+ * value to a declared type before comparing it because the values it tests may be
7
+ * numbers, booleans or sets; metadata values are always strings, so there is nothing
8
+ * to declare.
9
+ */
10
+ export type MetadataCondition = MavenAGI.MetadataCondition.Comparison | MavenAGI.MetadataCondition.Membership | MavenAGI.MetadataCondition.Presence;
11
+ export declare namespace MetadataCondition {
12
+ interface Comparison extends MavenAGI.MetadataComparisonCondition {
13
+ opType: "comparison";
14
+ }
15
+ interface Membership extends MavenAGI.StringMembershipCondition {
16
+ opType: "membership";
17
+ }
18
+ interface Presence extends MavenAGI.PresenceCondition {
19
+ opType: "presence";
20
+ }
21
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A condition on the value stored under one metadata key.
4
+ */
5
+ export interface MetadataEntryCondition {
6
+ /** The metadata key to test. A plain key, not a path: metadata is a flat string-to-string map, so there is no nesting to address. */
7
+ key: string;
8
+ /** The condition to evaluate against the value stored under `key`. */
9
+ condition: MavenAGI.MetadataCondition;
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,41 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A predicate over a string-to-string metadata map: either a condition on the value
4
+ * under one key, or a group of predicates combined with a logical operator.
5
+ *
6
+ * Kept small on purpose: at most 3 levels of nesting and 10 nodes in total, counting
7
+ * groups as well as entries. A filter is meant to narrow a knowledge base to a
8
+ * recognisable slice, not to encode a query language. Exceeding either is a 400.
9
+ *
10
+ * @example
11
+ * {
12
+ * metadataFilterType: "group",
13
+ * operator: MavenAGI.PreconditionGroupOperator.Or,
14
+ * filters: [{
15
+ * metadataFilterType: "entry",
16
+ * key: "category",
17
+ * condition: {
18
+ * opType: "comparison",
19
+ * operator: MavenAGI.MetadataComparisonOperator.Eq,
20
+ * value: "billing"
21
+ * }
22
+ * }, {
23
+ * metadataFilterType: "entry",
24
+ * key: "locale",
25
+ * condition: {
26
+ * opType: "membership",
27
+ * operator: MavenAGI.StringMembershipOperator.In,
28
+ * values: ["en-US", "en-GB"]
29
+ * }
30
+ * }]
31
+ * }
32
+ */
33
+ export type MetadataFilter = MavenAGI.MetadataFilter.Entry | MavenAGI.MetadataFilter.Group;
34
+ export declare namespace MetadataFilter {
35
+ interface Entry extends MavenAGI.MetadataEntryCondition {
36
+ metadataFilterType: "entry";
37
+ }
38
+ interface Group extends MavenAGI.MetadataFilterGroup {
39
+ metadataFilterType: "group";
40
+ }
41
+ }
@@ -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
+ * Combines metadata filters with a logical operator. Groups nest, so `(a AND b) OR c`
4
+ * is a group whose filters are a group and an entry.
5
+ */
6
+ export interface MetadataFilterGroup {
7
+ /** How to combine `filters`. */
8
+ operator: MavenAGI.PreconditionGroupOperator;
9
+ /**
10
+ * The filters to combine. At least one is required -- a group with no filters constrains
11
+ * nothing, and omitting the filter altogether already means every document.
12
+ */
13
+ filters: MavenAGI.MetadataFilter[];
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 });
@@ -1,12 +1,12 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface SimulationContext {
3
3
  /**
4
- * Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters.
4
+ * Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters.
5
5
  *
6
6
  * If provided, overrides the agent's default additional prompt text during the simulation.
7
7
  */
8
8
  additionalPromptText?: string;
9
- /** Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters. */
9
+ /** Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters. */
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[];
@@ -32,5 +32,8 @@ export declare const SystemEventName: {
32
32
  /**
33
33
  * A data sync with an external system failed */
34
34
  readonly SyncFailed: "SYNC_FAILED";
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. */
37
+ readonly IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED";
35
38
  };
36
39
  export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName] | string;
@@ -36,4 +36,7 @@ exports.SystemEventName = {
36
36
  /**
37
37
  * A data sync with an external system failed */
38
38
  SyncFailed: "SYNC_FAILED",
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. */
41
+ IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED",
39
42
  };
@@ -134,6 +134,12 @@ export * from "./LanguageInfo";
134
134
  export * from "./LlmInclusionStatus";
135
135
  export * from "./LlmPersona";
136
136
  export * from "./MessageStatus";
137
+ export * from "./MetadataComparisonCondition";
138
+ export * from "./MetadataComparisonOperator";
139
+ export * from "./MetadataCondition";
140
+ export * from "./MetadataEntryCondition";
141
+ export * from "./MetadataFilter";
142
+ export * from "./MetadataFilterGroup";
137
143
  export * from "./MetadataPrecondition";
138
144
  export * from "./MultilineSettingsSchemaEntry";
139
145
  export * from "./NovelSystemEvent";