mavenagi 1.2.61 → 1.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +6 -0
  3. package/Client.js +40 -30
  4. package/api/resources/actions/client/Client.d.ts +16 -0
  5. package/api/resources/actions/client/Client.js +16 -0
  6. package/api/resources/analytics/types/ConversationBarChartRequest.d.ts +4 -0
  7. package/api/resources/analytics/types/ConversationBasicMetric.d.ts +4 -1
  8. package/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +2 -0
  9. package/api/resources/analytics/types/ConversationPieChartRequest.d.ts +2 -0
  10. package/api/resources/capabilities/client/Client.d.ts +118 -0
  11. package/api/resources/capabilities/client/Client.js +521 -0
  12. package/api/resources/capabilities/client/index.d.ts +1 -0
  13. package/api/resources/capabilities/client/index.js +17 -0
  14. package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +38 -0
  15. package/api/resources/capabilities/client/requests/DeleteCapabilityByTypeRequest.d.ts +18 -0
  16. package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.d.ts +22 -0
  17. package/api/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.d.ts +24 -0
  18. package/api/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.js +3 -0
  19. package/api/resources/capabilities/client/requests/index.d.ts +4 -0
  20. package/api/resources/capabilities/client/requests/index.js +2 -0
  21. package/api/resources/capabilities/exports.d.ts +2 -0
  22. package/api/resources/capabilities/exports.js +21 -0
  23. package/api/resources/capabilities/index.d.ts +2 -0
  24. package/api/resources/capabilities/index.js +18 -0
  25. package/api/resources/capabilities/types/CapabilitiesSearchResponse.d.ts +43 -0
  26. package/api/resources/capabilities/types/CapabilitiesSearchResponse.js +3 -0
  27. package/api/resources/capabilities/types/CapabilityResponse.d.ts +23 -0
  28. package/api/resources/capabilities/types/CapabilityResponse.js +3 -0
  29. package/api/resources/capabilities/types/CapabilitySortField.d.ts +7 -0
  30. package/api/resources/capabilities/types/CapabilitySortField.js +10 -0
  31. package/api/resources/capabilities/types/CapabilitySummary.d.ts +28 -0
  32. package/api/resources/capabilities/types/CapabilitySummary.js +3 -0
  33. package/api/resources/capabilities/types/index.d.ts +4 -0
  34. package/api/resources/capabilities/types/index.js +20 -0
  35. package/api/resources/charters/client/Client.js +3 -1
  36. package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +1 -1
  37. package/api/resources/charters/client/requests/CharterGetRequest.d.ts +4 -0
  38. package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +1 -1
  39. package/api/resources/charters/types/CharterBase.d.ts +9 -0
  40. package/api/resources/charters/types/CharterRequest.d.ts +0 -8
  41. package/api/resources/charters/types/CharterSearchFilter.d.ts +14 -9
  42. package/api/resources/commons/types/ActionResponse.d.ts +11 -2
  43. package/api/resources/commons/types/AdditionalDataKey.d.ts +63 -0
  44. package/api/resources/commons/types/AdditionalDataKey.js +66 -0
  45. package/api/resources/commons/types/BaseConversationResponse.d.ts +7 -0
  46. package/api/resources/commons/types/CapabilityBase.d.ts +23 -0
  47. package/api/resources/commons/types/CapabilityBase.js +3 -0
  48. package/api/resources/{intelligentFields/types/IntelligentFieldStatus.d.ts → commons/types/CapabilityStatus.d.ts} +6 -3
  49. package/api/resources/{intelligentFields/types/IntelligentFieldStatus.js → commons/types/CapabilityStatus.js} +6 -3
  50. package/api/resources/commons/types/CapabilityType.d.ts +8 -0
  51. package/api/resources/commons/types/CapabilityType.js +11 -0
  52. package/api/resources/commons/types/EntityType.d.ts +5 -1
  53. package/api/resources/commons/types/EntityType.js +5 -1
  54. package/api/resources/commons/types/ErrorMessage.d.ts +3 -0
  55. package/api/resources/commons/types/ErrorReason.d.ts +34 -0
  56. package/api/resources/commons/types/ErrorReason.js +37 -0
  57. package/api/resources/commons/types/EventCondition.d.ts +35 -0
  58. package/api/resources/commons/types/EventCondition.js +3 -0
  59. package/api/resources/commons/types/EventConditionGroup.d.ts +11 -0
  60. package/api/resources/commons/types/EventConditionGroup.js +3 -0
  61. package/api/resources/commons/types/EventReferencesCondition.d.ts +13 -0
  62. package/api/resources/commons/types/EventReferencesCondition.js +3 -0
  63. package/api/resources/{conversation → commons}/types/IntelligentFieldFilter.d.ts +1 -1
  64. package/api/resources/commons/types/IntelligentFieldFilter.js +3 -0
  65. package/api/resources/commons/types/IntelligentFieldSearchCondition.js +3 -0
  66. package/api/resources/commons/types/SimulationContext.d.ts +12 -0
  67. package/api/resources/commons/types/SystemEventName.d.ts +4 -1
  68. package/api/resources/commons/types/SystemEventName.js +4 -1
  69. package/api/resources/commons/types/SystemEventNameCondition.d.ts +10 -0
  70. package/api/resources/commons/types/SystemEventNameCondition.js +3 -0
  71. package/api/resources/commons/types/UserEventNameCondition.d.ts +10 -0
  72. package/api/resources/commons/types/UserEventNameCondition.js +3 -0
  73. package/api/resources/commons/types/index.d.ts +13 -0
  74. package/api/resources/commons/types/index.js +13 -0
  75. package/api/resources/conversation/client/Client.d.ts +16 -0
  76. package/api/resources/conversation/client/Client.js +16 -0
  77. package/api/resources/conversation/types/ConversationField.d.ts +22 -1
  78. package/api/resources/conversation/types/ConversationField.js +22 -1
  79. package/api/resources/conversation/types/ConversationFilter.d.ts +18 -0
  80. package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
  81. package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +2 -2
  82. package/api/resources/conversation/types/index.d.ts +0 -3
  83. package/api/resources/conversation/types/index.js +0 -3
  84. package/api/resources/conversationKickoffs/client/Client.d.ts +45 -0
  85. package/api/resources/conversationKickoffs/client/Client.js +175 -0
  86. package/api/resources/conversationKickoffs/client/index.d.ts +1 -0
  87. package/api/resources/conversationKickoffs/client/index.js +17 -0
  88. package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +22 -0
  89. package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +3 -0
  90. package/api/resources/conversationKickoffs/client/requests/index.d.ts +1 -0
  91. package/api/resources/conversationKickoffs/client/requests/index.js +2 -0
  92. package/api/resources/conversationKickoffs/exports.d.ts +2 -0
  93. package/api/resources/conversationKickoffs/exports.js +21 -0
  94. package/api/resources/conversationKickoffs/index.d.ts +2 -0
  95. package/api/resources/conversationKickoffs/index.js +18 -0
  96. package/api/resources/conversationKickoffs/types/ConversationKickoff.d.ts +27 -0
  97. package/api/resources/conversationKickoffs/types/ConversationKickoff.js +3 -0
  98. package/api/resources/conversationKickoffs/types/index.d.ts +1 -0
  99. package/api/resources/conversationKickoffs/types/index.js +17 -0
  100. package/api/resources/events/client/Client.d.ts +1 -1
  101. package/api/resources/events/client/Client.js +1 -1
  102. package/api/resources/inbox/types/InboxFilter.d.ts +11 -0
  103. package/api/resources/index.d.ts +6 -0
  104. package/api/resources/index.js +7 -1
  105. package/api/resources/intelligentFields/client/Client.d.ts +23 -3
  106. package/api/resources/intelligentFields/client/Client.js +23 -3
  107. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +1 -1
  108. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +1 -1
  109. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +4 -4
  110. package/api/resources/intelligentFields/types/EnumOption.d.ts +5 -0
  111. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +2 -2
  112. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +0 -4
  113. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +1 -1
  114. package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +6 -1
  115. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +2 -8
  116. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +9 -1
  117. package/api/resources/intelligentFields/types/index.d.ts +0 -1
  118. package/api/resources/intelligentFields/types/index.js +0 -1
  119. package/api/resources/knowledge/client/Client.d.ts +3 -0
  120. package/api/resources/knowledge/client/Client.js +3 -0
  121. package/api/resources/segments/client/Client.js +1 -3
  122. package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +0 -12
  123. package/api/resources/segments/types/SegmentPatchRequest.d.ts +0 -8
  124. package/api/resources/segments/types/SegmentRequest.d.ts +0 -8
  125. package/api/resources/triggers/client/Client.d.ts +22 -5
  126. package/api/resources/triggers/client/Client.js +38 -10
  127. package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +5 -4
  128. package/api/resources/triggers/types/EventTriggerBase.d.ts +8 -4
  129. package/api/resources/triggers/types/EventTriggerRequest.d.ts +4 -0
  130. package/api/resources/triggers/types/EventTriggerResponse.d.ts +11 -3
  131. package/api/resources/triggers/types/index.d.ts +0 -1
  132. package/api/resources/triggers/types/index.js +0 -1
  133. package/api/resources/users/types/AgentUser.d.ts +2 -0
  134. package/api/resources/users/types/AgentUserFilter.d.ts +3 -0
  135. package/package.json +1 -1
  136. package/reference.md +489 -8
  137. package/serialization/resources/capabilities/client/index.d.ts +1 -0
  138. package/serialization/resources/capabilities/client/index.js +17 -0
  139. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +23 -0
  140. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +57 -0
  141. package/serialization/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.d.ts +10 -0
  142. package/serialization/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.js +42 -0
  143. package/serialization/resources/capabilities/client/requests/index.d.ts +2 -0
  144. package/serialization/resources/capabilities/client/requests/index.js +7 -0
  145. package/serialization/resources/capabilities/index.d.ts +2 -0
  146. package/serialization/resources/capabilities/index.js +18 -0
  147. package/serialization/resources/capabilities/types/CapabilitiesSearchResponse.d.ts +11 -0
  148. package/serialization/resources/capabilities/types/CapabilitiesSearchResponse.js +45 -0
  149. package/serialization/resources/capabilities/types/CapabilityResponse.d.ts +23 -0
  150. package/serialization/resources/capabilities/types/CapabilityResponse.js +53 -0
  151. package/serialization/resources/capabilities/types/CapabilitySortField.d.ts +7 -0
  152. package/serialization/resources/{intelligentFields/types/IntelligentFieldStatus.js → capabilities/types/CapabilitySortField.js} +2 -2
  153. package/serialization/resources/capabilities/types/CapabilitySummary.d.ts +13 -0
  154. package/serialization/resources/capabilities/types/CapabilitySummary.js +47 -0
  155. package/serialization/resources/capabilities/types/index.d.ts +4 -0
  156. package/serialization/resources/capabilities/types/index.js +20 -0
  157. package/serialization/resources/charters/types/CharterBase.d.ts +2 -0
  158. package/serialization/resources/charters/types/CharterBase.js +2 -0
  159. package/serialization/resources/charters/types/CharterRequest.d.ts +0 -2
  160. package/serialization/resources/charters/types/CharterRequest.js +0 -2
  161. package/serialization/resources/charters/types/CharterSearchFilter.d.ts +3 -0
  162. package/serialization/resources/charters/types/CharterSearchFilter.js +3 -0
  163. package/serialization/resources/commons/types/ActionResponse.d.ts +3 -2
  164. package/serialization/resources/commons/types/ActionResponse.js +4 -2
  165. package/serialization/resources/commons/types/AdditionalDataKey.d.ts +7 -0
  166. package/serialization/resources/commons/types/AdditionalDataKey.js +57 -0
  167. package/serialization/resources/commons/types/BaseConversationResponse.d.ts +1 -0
  168. package/serialization/resources/commons/types/BaseConversationResponse.js +1 -0
  169. package/serialization/resources/commons/types/CapabilityBase.d.ts +14 -0
  170. package/serialization/resources/commons/types/CapabilityBase.js +46 -0
  171. package/serialization/resources/{intelligentFields/types/IntelligentFieldStatus.d.ts → commons/types/CapabilityStatus.d.ts} +2 -2
  172. package/serialization/resources/{triggers/types/TriggerPartialUpdate.js → commons/types/CapabilityStatus.js} +2 -4
  173. package/serialization/resources/commons/types/CapabilityType.d.ts +7 -0
  174. package/serialization/resources/commons/types/CapabilityType.js +39 -0
  175. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  176. package/serialization/resources/commons/types/EntityType.js +1 -1
  177. package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -0
  178. package/serialization/resources/commons/types/ErrorMessage.js +2 -0
  179. package/serialization/resources/commons/types/ErrorReason.d.ts +7 -0
  180. package/serialization/resources/commons/types/ErrorReason.js +50 -0
  181. package/serialization/resources/commons/types/EventCondition.d.ts +26 -0
  182. package/serialization/resources/commons/types/EventCondition.js +55 -0
  183. package/serialization/resources/commons/types/EventConditionGroup.d.ts +11 -0
  184. package/serialization/resources/commons/types/EventConditionGroup.js +44 -0
  185. package/serialization/resources/commons/types/EventReferencesCondition.d.ts +12 -0
  186. package/serialization/resources/commons/types/EventReferencesCondition.js +44 -0
  187. package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.d.ts +1 -1
  188. package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.js +1 -1
  189. package/serialization/resources/commons/types/SimulationContext.d.ts +2 -0
  190. package/serialization/resources/commons/types/SimulationContext.js +2 -0
  191. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  192. package/serialization/resources/commons/types/SystemEventName.js +1 -0
  193. package/serialization/resources/commons/types/SystemEventNameCondition.d.ts +12 -0
  194. package/serialization/resources/commons/types/SystemEventNameCondition.js +44 -0
  195. package/serialization/resources/commons/types/UserEventNameCondition.d.ts +12 -0
  196. package/serialization/resources/commons/types/UserEventNameCondition.js +44 -0
  197. package/serialization/resources/commons/types/index.d.ts +13 -0
  198. package/serialization/resources/commons/types/index.js +13 -0
  199. package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  200. package/serialization/resources/conversation/types/ConversationField.js +2 -0
  201. package/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -1
  202. package/serialization/resources/conversation/types/ConversationFilter.js +3 -1
  203. package/serialization/resources/conversation/types/index.d.ts +0 -3
  204. package/serialization/resources/conversation/types/index.js +0 -3
  205. package/serialization/resources/conversationKickoffs/client/index.d.ts +1 -0
  206. package/serialization/resources/conversationKickoffs/client/index.js +17 -0
  207. package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +12 -0
  208. package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +44 -0
  209. package/serialization/resources/conversationKickoffs/client/requests/index.d.ts +1 -0
  210. package/serialization/resources/conversationKickoffs/client/requests/index.js +5 -0
  211. package/serialization/resources/conversationKickoffs/index.d.ts +2 -0
  212. package/serialization/resources/conversationKickoffs/index.js +18 -0
  213. package/serialization/resources/conversationKickoffs/types/ConversationKickoff.d.ts +11 -0
  214. package/serialization/resources/conversationKickoffs/types/ConversationKickoff.js +45 -0
  215. package/serialization/resources/conversationKickoffs/types/index.d.ts +1 -0
  216. package/serialization/resources/conversationKickoffs/types/index.js +17 -0
  217. package/serialization/resources/inbox/types/InboxFilter.d.ts +2 -0
  218. package/serialization/resources/inbox/types/InboxFilter.js +2 -0
  219. package/serialization/resources/index.d.ts +7 -0
  220. package/serialization/resources/index.js +8 -1
  221. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +4 -4
  222. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +4 -4
  223. package/serialization/resources/intelligentFields/types/EnumOption.d.ts +1 -0
  224. package/serialization/resources/intelligentFields/types/EnumOption.js +1 -0
  225. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +0 -2
  226. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +0 -2
  227. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +2 -0
  228. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +2 -0
  229. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +2 -5
  230. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -5
  231. package/serialization/resources/intelligentFields/types/index.d.ts +0 -1
  232. package/serialization/resources/intelligentFields/types/index.js +0 -1
  233. package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +0 -2
  234. package/serialization/resources/segments/types/SegmentPatchRequest.js +0 -2
  235. package/serialization/resources/segments/types/SegmentRequest.d.ts +0 -2
  236. package/serialization/resources/segments/types/SegmentRequest.js +0 -2
  237. package/serialization/resources/triggers/client/index.d.ts +1 -0
  238. package/serialization/resources/triggers/client/index.js +17 -0
  239. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +10 -0
  240. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +43 -0
  241. package/serialization/resources/triggers/client/requests/index.d.ts +1 -0
  242. package/serialization/resources/triggers/client/requests/index.js +5 -0
  243. package/serialization/resources/triggers/index.d.ts +1 -0
  244. package/serialization/resources/triggers/index.js +1 -0
  245. package/serialization/resources/triggers/types/EventTriggerBase.d.ts +2 -3
  246. package/serialization/resources/triggers/types/EventTriggerBase.js +2 -2
  247. package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -0
  248. package/serialization/resources/triggers/types/EventTriggerRequest.js +2 -0
  249. package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -1
  250. package/serialization/resources/triggers/types/EventTriggerResponse.js +3 -1
  251. package/serialization/resources/triggers/types/index.d.ts +0 -1
  252. package/serialization/resources/triggers/types/index.js +0 -1
  253. package/serialization/resources/users/types/AgentUser.d.ts +2 -0
  254. package/serialization/resources/users/types/AgentUser.js +2 -0
  255. package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -0
  256. package/serialization/resources/users/types/AgentUserFilter.js +2 -0
  257. package/version.d.ts +1 -1
  258. package/version.js +1 -1
  259. package/api/resources/triggers/types/TriggerPartialUpdate.d.ts +0 -4
  260. package/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +0 -9
  261. /package/api/resources/{conversation/types/IntelligentFieldFilter.js → capabilities/client/requests/CapabilitiesSearchRequest.js} +0 -0
  262. /package/api/resources/{conversation/types/IntelligentFieldSearchCondition.js → capabilities/client/requests/DeleteCapabilityByTypeRequest.js} +0 -0
  263. /package/api/resources/{triggers/types/TriggerPartialUpdate.js → capabilities/client/requests/GetCapabilityByTypeRequest.js} +0 -0
  264. /package/api/resources/{conversation → commons}/types/IntelligentFieldOperator.d.ts +0 -0
  265. /package/api/resources/{conversation → commons}/types/IntelligentFieldOperator.js +0 -0
  266. /package/api/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.d.ts +0 -0
  267. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldFilter.d.ts +0 -0
  268. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldFilter.js +0 -0
  269. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldOperator.d.ts +0 -0
  270. /package/serialization/resources/{conversation → commons}/types/IntelligentFieldOperator.js +0 -0
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CapabilityBase = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const CapabilityStatus_1 = require("./CapabilityStatus");
40
+ exports.CapabilityBase = core.serialization.object({
41
+ name: core.serialization.string(),
42
+ description: core.serialization.string().optional(),
43
+ createdAt: core.serialization.date(),
44
+ updatedAt: core.serialization.date(),
45
+ status: CapabilityStatus_1.CapabilityStatus,
46
+ });
@@ -1,7 +1,7 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- export declare const IntelligentFieldStatus: core.serialization.Schema<serializers.IntelligentFieldStatus.Raw, MavenAGI.IntelligentFieldStatus>;
5
- export declare namespace IntelligentFieldStatus {
4
+ export declare const CapabilityStatus: core.serialization.Schema<serializers.CapabilityStatus.Raw, MavenAGI.CapabilityStatus>;
5
+ export declare namespace CapabilityStatus {
6
6
  type Raw = "ACTIVE" | "INACTIVE" | "DELETED";
7
7
  }
@@ -34,8 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.TriggerPartialUpdate = void 0;
37
+ exports.CapabilityStatus = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- exports.TriggerPartialUpdate = core.serialization.object({
40
- enabled: core.serialization.boolean().optional(),
41
- });
39
+ exports.CapabilityStatus = core.serialization.forwardCompatibleEnum_(["ACTIVE", "INACTIVE", "DELETED"]);
@@ -0,0 +1,7 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const CapabilityType: core.serialization.Schema<serializers.CapabilityType.Raw, MavenAGI.CapabilityType>;
5
+ export declare namespace CapabilityType {
6
+ type Raw = "ACTION" | "TRIGGER" | "INTELLIGENT_FIELD" | "CONVERSATION_KICKOFF";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CapabilityType = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.CapabilityType = core.serialization.forwardCompatibleEnum_(["ACTION", "TRIGGER", "INTELLIGENT_FIELD", "CONVERSATION_KICKOFF"]);
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const EntityType: core.serialization.Schema<serializers.EntityType.Raw, MavenAGI.EntityType>;
5
5
  export declare namespace EntityType {
6
- type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER" | "CONVERSATION_KICKOFF" | "AGENT_VARIANT" | "CONFIG_SNAPSHOT" | "ASSET" | "TRAFFIC_CONFIG";
6
+ type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "AGENT_USER" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER" | "CONVERSATION_KICKOFF" | "AGENT_VARIANT" | "ASSET" | "TRAFFIC_CONFIG";
7
7
  }
@@ -48,6 +48,7 @@ exports.EntityType = core.serialization.forwardCompatibleEnum_([
48
48
  "EVENT",
49
49
  "EVENT_TRIGGER",
50
50
  "USER_PROFILE",
51
+ "AGENT_USER",
51
52
  "FEEDBACK",
52
53
  "INBOX_ITEM",
53
54
  "INBOX_ITEM_FIX",
@@ -57,7 +58,6 @@ exports.EntityType = core.serialization.forwardCompatibleEnum_([
57
58
  "CHARTER",
58
59
  "CONVERSATION_KICKOFF",
59
60
  "AGENT_VARIANT",
60
- "CONFIG_SNAPSHOT",
61
61
  "ASSET",
62
62
  "TRAFFIC_CONFIG",
63
63
  ]);
@@ -1,11 +1,13 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
+ import { ErrorReason } from "./ErrorReason";
4
5
  export declare const ErrorMessage: core.serialization.ObjectSchema<serializers.ErrorMessage.Raw, MavenAGI.ErrorMessage>;
5
6
  export declare namespace ErrorMessage {
6
7
  interface Raw {
7
8
  status?: number | null;
8
9
  error?: string | null;
9
10
  message?: string | null;
11
+ reason?: ErrorReason.Raw | null;
10
12
  }
11
13
  }
@@ -36,8 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ErrorMessage = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
+ const ErrorReason_1 = require("./ErrorReason");
39
40
  exports.ErrorMessage = core.serialization.object({
40
41
  status: core.serialization.number().optional(),
41
42
  error: core.serialization.string().optional(),
42
43
  message: core.serialization.string().optional(),
44
+ reason: ErrorReason_1.ErrorReason.optional(),
43
45
  });
@@ -0,0 +1,7 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const ErrorReason: core.serialization.Schema<serializers.ErrorReason.Raw, MavenAGI.ErrorReason>;
5
+ export declare namespace ErrorReason {
6
+ type Raw = "VARIANT_LIVE" | "VARIANT_NOT_ACTIVE" | "STALE_TRAFFIC_REVISION" | "STALE_WORKING_SET" | "NOTHING_TO_COMMIT" | "VARIANT_ALREADY_EXISTS" | "CANNOT_ARCHIVE_LIVE_VARIANT" | "VARIANT_HAS_STAGED_EDITS" | "VARIANT_REQUIRED" | "INTELLIGENT_FIELD_TYPE_CHANGED";
7
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ErrorReason = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.ErrorReason = core.serialization.forwardCompatibleEnum_([
40
+ "VARIANT_LIVE",
41
+ "VARIANT_NOT_ACTIVE",
42
+ "STALE_TRAFFIC_REVISION",
43
+ "STALE_WORKING_SET",
44
+ "NOTHING_TO_COMMIT",
45
+ "VARIANT_ALREADY_EXISTS",
46
+ "CANNOT_ARCHIVE_LIVE_VARIANT",
47
+ "VARIANT_HAS_STAGED_EDITS",
48
+ "VARIANT_REQUIRED",
49
+ "INTELLIGENT_FIELD_TYPE_CHANGED",
50
+ ]);
@@ -0,0 +1,26 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import * as serializers from "../../../index";
4
+ import { EventReferencesCondition } from "./EventReferencesCondition";
5
+ import { MetadataEntryCondition } from "./MetadataEntryCondition";
6
+ import { SystemEventNameCondition } from "./SystemEventNameCondition";
7
+ import { UserEventNameCondition } from "./UserEventNameCondition";
8
+ export declare const EventCondition: core.serialization.Schema<serializers.EventCondition.Raw, MavenAGI.EventCondition>;
9
+ export declare namespace EventCondition {
10
+ type Raw = EventCondition.UserEventName | EventCondition.SystemEventName | EventCondition.Data | EventCondition.References | EventCondition.Group;
11
+ interface UserEventName extends UserEventNameCondition.Raw {
12
+ eventConditionType: "userEventName";
13
+ }
14
+ interface SystemEventName extends SystemEventNameCondition.Raw {
15
+ eventConditionType: "systemEventName";
16
+ }
17
+ interface Data extends MetadataEntryCondition.Raw {
18
+ eventConditionType: "data";
19
+ }
20
+ interface References extends EventReferencesCondition.Raw {
21
+ eventConditionType: "references";
22
+ }
23
+ interface Group extends serializers.EventConditionGroup.Raw {
24
+ eventConditionType: "group";
25
+ }
26
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.EventCondition = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const serializers = __importStar(require("../../../index"));
40
+ const EventReferencesCondition_1 = require("./EventReferencesCondition");
41
+ const MetadataEntryCondition_1 = require("./MetadataEntryCondition");
42
+ const SystemEventNameCondition_1 = require("./SystemEventNameCondition");
43
+ const UserEventNameCondition_1 = require("./UserEventNameCondition");
44
+ exports.EventCondition = core.serialization
45
+ .union("eventConditionType", {
46
+ userEventName: UserEventNameCondition_1.UserEventNameCondition,
47
+ systemEventName: SystemEventNameCondition_1.SystemEventNameCondition,
48
+ data: MetadataEntryCondition_1.MetadataEntryCondition,
49
+ references: EventReferencesCondition_1.EventReferencesCondition,
50
+ group: core.serialization.lazyObject(() => serializers.EventConditionGroup),
51
+ })
52
+ .transform({
53
+ transform: (value) => value,
54
+ untransform: (value) => value,
55
+ });
@@ -0,0 +1,11 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import * as serializers from "../../../index";
4
+ import { PreconditionGroupOperator } from "./PreconditionGroupOperator";
5
+ export declare const EventConditionGroup: core.serialization.ObjectSchema<serializers.EventConditionGroup.Raw, MavenAGI.EventConditionGroup>;
6
+ export declare namespace EventConditionGroup {
7
+ interface Raw {
8
+ operator: PreconditionGroupOperator.Raw;
9
+ conditions: serializers.EventCondition.Raw[];
10
+ }
11
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.EventConditionGroup = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const serializers = __importStar(require("../../../index"));
40
+ const PreconditionGroupOperator_1 = require("./PreconditionGroupOperator");
41
+ exports.EventConditionGroup = core.serialization.object({
42
+ operator: PreconditionGroupOperator_1.PreconditionGroupOperator,
43
+ conditions: core.serialization.list(core.serialization.lazy(() => serializers.EventCondition)),
44
+ });
@@ -0,0 +1,12 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { ScopedEntity } from "./ScopedEntity";
5
+ import { SetRelationOperator } from "./SetRelationOperator";
6
+ export declare const EventReferencesCondition: core.serialization.ObjectSchema<serializers.EventReferencesCondition.Raw, MavenAGI.EventReferencesCondition>;
7
+ export declare namespace EventReferencesCondition {
8
+ interface Raw {
9
+ operator: SetRelationOperator.Raw;
10
+ references: ScopedEntity.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.EventReferencesCondition = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const ScopedEntity_1 = require("./ScopedEntity");
40
+ const SetRelationOperator_1 = require("./SetRelationOperator");
41
+ exports.EventReferencesCondition = core.serialization.object({
42
+ operator: SetRelationOperator_1.SetRelationOperator,
43
+ references: core.serialization.list(ScopedEntity_1.ScopedEntity),
44
+ });
@@ -1,7 +1,7 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { EntityIdFilter } from "../../commons/types/EntityIdFilter";
4
+ import { EntityIdFilter } from "./EntityIdFilter";
5
5
  import { IntelligentFieldOperator } from "./IntelligentFieldOperator";
6
6
  export declare const IntelligentFieldSearchCondition: core.serialization.ObjectSchema<serializers.IntelligentFieldSearchCondition.Raw, MavenAGI.IntelligentFieldSearchCondition>;
7
7
  export declare namespace IntelligentFieldSearchCondition {
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.IntelligentFieldSearchCondition = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const EntityIdFilter_1 = require("../../commons/types/EntityIdFilter");
39
+ const EntityIdFilter_1 = require("./EntityIdFilter");
40
40
  const IntelligentFieldOperator_1 = require("./IntelligentFieldOperator");
41
41
  exports.IntelligentFieldSearchCondition = core.serialization.object({
42
42
  fieldId: EntityIdFilter_1.EntityIdFilter,
@@ -2,6 +2,7 @@ import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { EntityId } from "./EntityId";
5
+ import { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
5
6
  import { LlmPersona } from "./LlmPersona";
6
7
  export declare const SimulationContext: core.serialization.ObjectSchema<serializers.SimulationContext.Raw, MavenAGI.SimulationContext>;
7
8
  export declare namespace SimulationContext {
@@ -9,5 +10,6 @@ export declare namespace SimulationContext {
9
10
  additionalPromptText?: string | null;
10
11
  persona?: LlmPersona.Raw | null;
11
12
  availableKnowledgeBases?: EntityId.Raw[] | null;
13
+ variantId?: EntityIdWithoutAgent.Raw | null;
12
14
  }
13
15
  }
@@ -37,9 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.SimulationContext = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const EntityId_1 = require("./EntityId");
40
+ const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
40
41
  const LlmPersona_1 = require("./LlmPersona");
41
42
  exports.SimulationContext = core.serialization.object({
42
43
  additionalPromptText: core.serialization.string().optional(),
43
44
  persona: LlmPersona_1.LlmPersona.optional(),
44
45
  availableKnowledgeBases: core.serialization.list(EntityId_1.EntityId).optional(),
46
+ variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
45
47
  });
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const SystemEventName: core.serialization.Schema<serializers.SystemEventName.Raw, MavenAGI.SystemEventName>;
5
5
  export declare namespace SystemEventName {
6
- type Raw = "APP_INSTALLED" | "APP_UNINSTALLED" | "APP_UPDATED" | "NOTIFICATION_SENT" | "NOTIFICATION_DELIVERED" | "NOTIFICATION_FAILED" | "INTEGRATION_CONNECTED" | "INTEGRATION_DISCONNECTED" | "SYNC_STARTED" | "SYNC_COMPLETED" | "SYNC_FAILED" | "INTELLIGENT_FIELD_VALUE_CHANGED";
6
+ type Raw = "APP_INSTALLED" | "APP_UNINSTALLED" | "APP_UPDATED" | "NOTIFICATION_SENT" | "NOTIFICATION_DELIVERED" | "NOTIFICATION_FAILED" | "INTEGRATION_CONNECTED" | "INTEGRATION_DISCONNECTED" | "SYNC_STARTED" | "SYNC_COMPLETED" | "SYNC_FAILED" | "CONVERSATION_CLOSED" | "INTELLIGENT_FIELD_VALUE_CHANGED";
7
7
  }
@@ -48,5 +48,6 @@ exports.SystemEventName = core.serialization.forwardCompatibleEnum_([
48
48
  "SYNC_STARTED",
49
49
  "SYNC_COMPLETED",
50
50
  "SYNC_FAILED",
51
+ "CONVERSATION_CLOSED",
51
52
  "INTELLIGENT_FIELD_VALUE_CHANGED",
52
53
  ]);
@@ -0,0 +1,12 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { StringMembershipOperator } from "./StringMembershipOperator";
5
+ import { SystemEventName } from "./SystemEventName";
6
+ export declare const SystemEventNameCondition: core.serialization.ObjectSchema<serializers.SystemEventNameCondition.Raw, MavenAGI.SystemEventNameCondition>;
7
+ export declare namespace SystemEventNameCondition {
8
+ interface Raw {
9
+ operator: StringMembershipOperator.Raw;
10
+ names: SystemEventName.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.SystemEventNameCondition = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const StringMembershipOperator_1 = require("./StringMembershipOperator");
40
+ const SystemEventName_1 = require("./SystemEventName");
41
+ exports.SystemEventNameCondition = core.serialization.object({
42
+ operator: StringMembershipOperator_1.StringMembershipOperator,
43
+ names: core.serialization.list(SystemEventName_1.SystemEventName),
44
+ });
@@ -0,0 +1,12 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { StringMembershipOperator } from "./StringMembershipOperator";
5
+ import { UserEventName } from "./UserEventName";
6
+ export declare const UserEventNameCondition: core.serialization.ObjectSchema<serializers.UserEventNameCondition.Raw, MavenAGI.UserEventNameCondition>;
7
+ export declare namespace UserEventNameCondition {
8
+ interface Raw {
9
+ operator: StringMembershipOperator.Raw;
10
+ names: UserEventName.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UserEventNameCondition = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const StringMembershipOperator_1 = require("./StringMembershipOperator");
40
+ const UserEventName_1 = require("./UserEventName");
41
+ exports.UserEventNameCondition = core.serialization.object({
42
+ operator: StringMembershipOperator_1.StringMembershipOperator,
43
+ names: core.serialization.list(UserEventName_1.UserEventName),
44
+ });