mavenagi 1.2.64 → 1.2.66

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 (356) hide show
  1. package/BaseClient.d.ts +4 -2
  2. package/BaseClient.js +8 -3
  3. package/README.md +2 -2
  4. package/api/resources/actions/client/Client.js +3 -3
  5. package/api/resources/agents/client/Client.js +5 -5
  6. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +10 -2
  7. package/api/resources/agents/types/Agent.d.ts +3 -1
  8. package/api/resources/agents/types/AgentPrompting.d.ts +12 -2
  9. package/api/resources/analytics/client/Client.d.ts +0 -38
  10. package/api/resources/analytics/client/Client.js +0 -120
  11. package/api/resources/analytics/types/AgentUserGroupBy.d.ts +15 -0
  12. package/api/resources/analytics/types/AgentUserRowIdentifier.d.ts +2 -0
  13. package/api/resources/analytics/types/AgentUserTableRequest.d.ts +7 -0
  14. package/api/resources/analytics/types/AgentUserTableResponse.d.ts +4 -1
  15. package/api/resources/analytics/types/index.d.ts +1 -10
  16. package/api/resources/analytics/types/index.js +1 -10
  17. package/api/resources/appDirectory/client/Client.js +5 -5
  18. package/api/resources/assets/client/Client.js +1 -1
  19. package/api/resources/capabilities/client/Client.d.ts +33 -0
  20. package/api/resources/capabilities/client/Client.js +126 -3
  21. package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +0 -4
  22. package/api/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +5 -0
  23. package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.d.ts +14 -0
  24. package/api/resources/capabilities/client/requests/index.d.ts +1 -0
  25. package/api/resources/capabilities/types/ActionSimulationInput.d.ts +5 -0
  26. package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +5 -0
  27. package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +3 -1
  28. package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
  29. package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +10 -0
  30. package/api/resources/capabilities/types/ConversationContextSimulationInput.d.ts +14 -0
  31. package/api/resources/capabilities/types/SimulatedUser.d.ts +9 -0
  32. package/api/resources/capabilities/types/SimulatedUserData.d.ts +6 -0
  33. package/api/resources/capabilities/types/index.d.ts +6 -0
  34. package/api/resources/capabilities/types/index.js +6 -0
  35. package/api/resources/charters/client/Client.js +4 -4
  36. package/api/resources/charters/types/CharterBase.d.ts +5 -1
  37. package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +2 -0
  38. package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +2 -0
  39. package/api/resources/charters/types/CharterContent.d.ts +2 -0
  40. package/api/resources/charters/types/CharterPatchReferences.d.ts +2 -0
  41. package/api/resources/charters/types/CharterReferences.d.ts +2 -0
  42. package/api/resources/charters/types/CharterResponse.d.ts +5 -1
  43. package/api/resources/charters/types/CharterStatus.d.ts +4 -0
  44. package/api/resources/charters/types/CharterStatus.js +4 -0
  45. package/api/resources/charters/types/CharterSummary.d.ts +5 -1
  46. package/api/resources/charters/types/index.d.ts +0 -1
  47. package/api/resources/charters/types/index.js +0 -1
  48. package/api/resources/commons/types/ActionExecutionStatus.d.ts +6 -0
  49. package/api/resources/commons/types/ActionExecutionStatus.js +9 -0
  50. package/api/resources/commons/types/ActionProperties.d.ts +1 -1
  51. package/api/resources/commons/types/AdditionalDataKey.d.ts +84 -3
  52. package/api/resources/commons/types/AdditionalDataKey.js +84 -3
  53. package/api/resources/commons/types/AppUserRequest.d.ts +11 -0
  54. package/api/resources/commons/types/BaseConversationResponse.d.ts +6 -0
  55. package/api/resources/commons/types/BotLogicCharterDetail.d.ts +2 -0
  56. package/api/resources/commons/types/BotMessage.d.ts +6 -1
  57. package/api/resources/commons/types/BotMessageStatusReason.d.ts +13 -0
  58. package/api/resources/commons/types/BotMessageStatusReason.js +16 -0
  59. package/api/resources/commons/types/Capability.d.ts +4 -0
  60. package/api/resources/commons/types/Capability.js +4 -0
  61. package/api/resources/commons/types/CapabilityStatus.d.ts +2 -2
  62. package/api/resources/commons/types/CapabilityStatus.js +2 -2
  63. package/api/resources/commons/types/ConversationAnalysis.d.ts +1 -1
  64. package/api/resources/commons/types/ConversationMetadataValueSource.d.ts +7 -0
  65. package/api/resources/commons/types/ConversationResponse.d.ts +1 -0
  66. package/api/resources/commons/types/ConversationSummary.d.ts +5 -3
  67. package/api/resources/commons/types/ConversationValueSource.d.ts +13 -0
  68. package/api/resources/commons/types/EntityType.d.ts +5 -0
  69. package/api/resources/commons/types/EntityType.js +5 -0
  70. package/api/resources/commons/types/ErrorReason.d.ts +5 -2
  71. package/api/resources/commons/types/ErrorReason.js +5 -2
  72. package/api/resources/commons/types/EventBaseNoId.d.ts +6 -0
  73. package/api/resources/commons/types/EventFilter.d.ts +3 -0
  74. package/api/resources/commons/types/EventTriggerType.d.ts +7 -0
  75. package/api/resources/commons/types/EventTriggerType.js +7 -0
  76. package/api/resources/commons/types/ExecuteActionResponse.d.ts +14 -0
  77. package/api/resources/commons/types/ExecutionMode.d.ts +10 -0
  78. package/api/resources/commons/types/ExecutionMode.js +13 -0
  79. package/api/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
  80. package/api/resources/commons/types/FunctionVersionBinding.js +3 -0
  81. package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
  82. package/api/resources/commons/types/InboxItemStatus.d.ts +1 -1
  83. package/api/resources/commons/types/InboxItemStatus.js +1 -1
  84. package/api/resources/commons/types/InitializeConversationResponse.d.ts +40 -0
  85. package/api/resources/commons/types/LlmInclusionStatus.d.ts +3 -0
  86. package/api/resources/commons/types/LlmInclusionStatus.js +3 -0
  87. package/api/resources/commons/types/MetadataConversationValueFilter.d.ts +15 -0
  88. package/api/resources/commons/types/MetadataConversationValueFilter.js +3 -0
  89. package/api/resources/commons/types/MetadataFilter.d.ts +33 -6
  90. package/api/resources/commons/types/Quality.d.ts +2 -0
  91. package/api/resources/commons/types/Quality.js +2 -0
  92. package/api/resources/commons/types/QualityReason.d.ts +4 -0
  93. package/api/resources/commons/types/QualityReason.js +4 -0
  94. package/api/resources/commons/types/RelationshipType.d.ts +2 -2
  95. package/api/resources/commons/types/RelationshipType.js +2 -2
  96. package/api/resources/commons/types/ResolutionStatus.d.ts +2 -0
  97. package/api/resources/commons/types/ResolutionStatus.js +2 -0
  98. package/api/resources/commons/types/ResponseConfig.d.ts +2 -0
  99. package/api/resources/commons/types/SimulationActionBehavior.d.ts +19 -0
  100. package/api/resources/commons/types/SimulationActionBehavior.js +3 -0
  101. package/api/resources/commons/types/SimulationActionCallApp.d.ts +1 -0
  102. package/api/resources/commons/types/SimulationActionCallApp.js +3 -0
  103. package/api/resources/commons/types/SimulationActionMock.d.ts +7 -0
  104. package/api/resources/commons/types/SimulationActionMock.js +3 -0
  105. package/api/resources/commons/types/SimulationContext.d.ts +19 -0
  106. package/api/resources/commons/types/SystemEventName.d.ts +5 -2
  107. package/api/resources/commons/types/SystemEventName.js +5 -2
  108. package/api/resources/commons/types/UserDataValueSource.d.ts +8 -0
  109. package/api/resources/commons/types/UserDataValueSource.js +3 -0
  110. package/api/resources/commons/types/UserEvent.d.ts +1 -1
  111. package/api/resources/commons/types/UserEventName.d.ts +80 -5
  112. package/api/resources/commons/types/UserEventName.js +80 -5
  113. package/api/resources/commons/types/index.d.ts +14 -0
  114. package/api/resources/commons/types/index.js +14 -0
  115. package/api/resources/conversation/client/Client.d.ts +53 -29
  116. package/api/resources/conversation/client/Client.js +65 -40
  117. package/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +1 -1
  118. package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +2 -0
  119. package/api/resources/conversation/types/BillableFilterField.d.ts +3 -3
  120. package/api/resources/conversation/types/BillableFilterField.js +3 -3
  121. package/api/resources/conversation/types/ConversationField.d.ts +8 -0
  122. package/api/resources/conversation/types/ConversationField.js +8 -0
  123. package/api/resources/conversation/types/ConversationFilter.d.ts +7 -1
  124. package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
  125. package/api/resources/conversation/types/ConversationRequest.d.ts +45 -0
  126. package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -1
  127. package/api/resources/conversation/types/index.d.ts +0 -3
  128. package/api/resources/conversation/types/index.js +0 -3
  129. package/api/resources/customers/client/Client.js +2 -2
  130. package/api/resources/customers/types/CustomerFilter.d.ts +2 -0
  131. package/api/resources/customers/types/CustomerResponse.d.ts +2 -2
  132. package/api/resources/developersCommons/types/BaseDetailApp.d.ts +13 -4
  133. package/api/resources/developersCommons/types/Link.d.ts +1 -1
  134. package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +2 -1
  135. package/api/resources/events/client/Client.js +1 -1
  136. package/api/resources/inbox/client/Client.js +6 -6
  137. package/api/resources/integrations/client/Client.js +1 -1
  138. package/api/resources/intelligentFields/client/Client.d.ts +3 -2
  139. package/api/resources/intelligentFields/client/Client.js +6 -5
  140. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +0 -2
  141. package/api/resources/intelligentFields/types/EnumOption.d.ts +1 -1
  142. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
  143. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +5 -1
  144. package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +1 -1
  145. package/api/resources/intelligentFields/types/IntelligentFieldType.js +1 -1
  146. package/api/resources/knowledge/client/Client.js +13 -13
  147. package/api/resources/knowledge/types/KnowledgeBaseFunctionBindings.d.ts +12 -0
  148. package/api/resources/knowledge/types/KnowledgeBaseFunctionBindings.js +3 -0
  149. package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.d.ts +1 -1
  150. package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.js +1 -1
  151. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -1
  152. package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
  153. package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
  154. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
  155. package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +4 -0
  156. package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +4 -0
  157. package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +1 -1
  158. package/api/resources/knowledge/types/index.d.ts +1 -0
  159. package/api/resources/knowledge/types/index.js +1 -0
  160. package/api/resources/organizations/client/Client.d.ts +13 -15
  161. package/api/resources/organizations/client/Client.js +17 -19
  162. package/api/resources/segments/client/Client.d.ts +1 -1
  163. package/api/resources/segments/client/Client.js +4 -4
  164. package/api/resources/segments/types/SegmentStatus.d.ts +4 -0
  165. package/api/resources/segments/types/SegmentStatus.js +4 -0
  166. package/api/resources/triggers/client/Client.js +3 -3
  167. package/api/resources/triggers/types/EventTriggerBase.d.ts +2 -0
  168. package/api/resources/users/client/Client.d.ts +42 -1
  169. package/api/resources/users/client/Client.js +116 -4
  170. package/api/resources/users/types/AgentUser.d.ts +3 -0
  171. package/api/resources/users/types/AgentUserField.d.ts +8 -0
  172. package/api/resources/users/types/AgentUserField.js +8 -0
  173. package/api/resources/users/types/AgentUserFilter.d.ts +4 -0
  174. package/api/resources/users/types/AgentUserSearchRequest.d.ts +4 -0
  175. package/api/resources/voiceConversations/client/Client.d.ts +1 -1
  176. package/api/resources/voiceConversations/client/Socket.d.ts +2 -2
  177. package/api/resources/voiceConversations/client/Socket.js +16 -17
  178. package/auth/AnyAuthProvider.d.ts +23 -0
  179. package/auth/AnyAuthProvider.js +46 -0
  180. package/auth/BearerAuthProvider.d.ts +20 -0
  181. package/auth/BearerAuthProvider.js +82 -0
  182. package/auth/index.d.ts +2 -0
  183. package/auth/index.js +5 -1
  184. package/core/fetcher/Fetcher.js +33 -3
  185. package/core/fetcher/getErrorResponseBody.js +20 -7
  186. package/core/fetcher/getResponseBody.d.ts +16 -0
  187. package/core/fetcher/getResponseBody.js +27 -22
  188. package/core/fetcher/makePassthroughRequest.js +20 -4
  189. package/core/fetcher/makeRequest.d.ts +6 -1
  190. package/core/fetcher/makeRequest.js +38 -5
  191. package/core/fetcher/requestWithRetries.d.ts +1 -1
  192. package/core/fetcher/requestWithRetries.js +23 -2
  193. package/core/fetcher/signals.d.ts +1 -0
  194. package/core/fetcher/signals.js +3 -2
  195. package/core/stream/Stream.d.ts +3 -0
  196. package/core/stream/Stream.js +5 -0
  197. package/core/url/encodePathParam.d.ts +3 -1
  198. package/core/url/encodePathParam.js +8 -2
  199. package/core/websocket/ws.d.ts +16 -2
  200. package/core/websocket/ws.js +110 -20
  201. package/errors/MavenAGIError.js +16 -2
  202. package/package.json +1 -1
  203. package/reference.md +207 -128
  204. package/serialization/resources/analytics/types/AgentUserGroupBy.d.ts +15 -0
  205. package/serialization/resources/analytics/types/{FeedbackTableResponse.js → AgentUserGroupBy.js} +10 -6
  206. package/serialization/resources/analytics/types/AgentUserRowIdentifier.d.ts +2 -0
  207. package/serialization/resources/analytics/types/AgentUserRowIdentifier.js +2 -0
  208. package/serialization/resources/analytics/types/AgentUserTableRequest.d.ts +2 -0
  209. package/serialization/resources/analytics/types/AgentUserTableRequest.js +2 -0
  210. package/serialization/resources/analytics/types/index.d.ts +1 -10
  211. package/serialization/resources/analytics/types/index.js +1 -10
  212. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +0 -2
  213. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +0 -2
  214. package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +2 -0
  215. package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js +2 -0
  216. package/serialization/resources/capabilities/types/ActionSimulationInput.d.ts +10 -0
  217. package/serialization/resources/{analytics/types/FeedbackRowIdentifier.js → capabilities/types/ActionSimulationInput.js} +5 -6
  218. package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -0
  219. package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +2 -0
  220. package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
  221. package/serialization/resources/{analytics/types/FeedbackMetric.js → capabilities/types/CapabilitySimulationInput.js} +5 -7
  222. package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +11 -0
  223. package/serialization/resources/{analytics/types/FeedbackGroupBy.js → capabilities/types/CapabilitySimulationResult.js} +9 -7
  224. package/serialization/resources/capabilities/types/ConversationContextSimulationInput.d.ts +12 -0
  225. package/serialization/resources/capabilities/types/ConversationContextSimulationInput.js +46 -0
  226. package/serialization/resources/capabilities/types/SimulatedUser.d.ts +10 -0
  227. package/serialization/resources/{analytics/types/FeedbackAnalyticsRequest.js → capabilities/types/SimulatedUser.js} +6 -5
  228. package/serialization/resources/capabilities/types/SimulatedUserData.d.ts +10 -0
  229. package/serialization/resources/capabilities/types/SimulatedUserData.js +42 -0
  230. package/serialization/resources/capabilities/types/index.d.ts +6 -0
  231. package/serialization/resources/capabilities/types/index.js +6 -0
  232. package/serialization/resources/charters/types/CharterContent.d.ts +1 -1
  233. package/serialization/resources/charters/types/CharterContent.js +1 -1
  234. package/serialization/resources/charters/types/CharterResponse.d.ts +1 -1
  235. package/serialization/resources/charters/types/CharterResponse.js +1 -1
  236. package/serialization/resources/charters/types/CharterSummary.d.ts +1 -1
  237. package/serialization/resources/charters/types/CharterSummary.js +1 -1
  238. package/serialization/resources/charters/types/index.d.ts +0 -1
  239. package/serialization/resources/charters/types/index.js +0 -1
  240. package/serialization/resources/commons/types/ActionExecutionStatus.d.ts +7 -0
  241. package/serialization/resources/{conversation/types/FeedbackField.js → commons/types/ActionExecutionStatus.js} +2 -2
  242. package/serialization/resources/commons/types/AdditionalDataKey.d.ts +1 -1
  243. package/serialization/resources/commons/types/AdditionalDataKey.js +27 -0
  244. package/serialization/resources/commons/types/AppUserRequest.d.ts +2 -0
  245. package/serialization/resources/commons/types/AppUserRequest.js +2 -0
  246. package/serialization/resources/commons/types/BaseConversationResponse.d.ts +2 -0
  247. package/serialization/resources/commons/types/BaseConversationResponse.js +2 -0
  248. package/serialization/resources/commons/types/BotLogicCharterDetail.d.ts +2 -0
  249. package/serialization/resources/commons/types/BotLogicCharterDetail.js +2 -0
  250. package/serialization/resources/commons/types/BotMessage.d.ts +2 -0
  251. package/serialization/resources/commons/types/BotMessage.js +2 -0
  252. package/serialization/resources/commons/types/BotMessageStatusReason.d.ts +7 -0
  253. package/serialization/resources/commons/types/BotMessageStatusReason.js +43 -0
  254. package/serialization/resources/commons/types/ConversationMetadataValueSource.d.ts +9 -0
  255. package/serialization/resources/commons/types/ConversationMetadataValueSource.js +41 -0
  256. package/serialization/resources/commons/types/ConversationValueSource.d.ts +15 -0
  257. package/serialization/resources/commons/types/ConversationValueSource.js +49 -0
  258. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  259. package/serialization/resources/commons/types/EntityType.js +5 -0
  260. package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
  261. package/serialization/resources/commons/types/ErrorReason.js +1 -0
  262. package/serialization/resources/commons/types/EventBaseNoId.d.ts +2 -0
  263. package/serialization/resources/commons/types/EventBaseNoId.js +2 -0
  264. package/serialization/resources/commons/types/EventFilter.d.ts +2 -0
  265. package/serialization/resources/commons/types/EventFilter.js +2 -0
  266. package/serialization/resources/commons/types/ExecuteActionResponse.d.ts +13 -0
  267. package/serialization/resources/commons/types/ExecuteActionResponse.js +45 -0
  268. package/serialization/resources/commons/types/ExecutionMode.d.ts +7 -0
  269. package/serialization/resources/commons/types/ExecutionMode.js +39 -0
  270. package/serialization/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
  271. package/serialization/resources/{analytics/types/FeedbackDistinctCount.js → commons/types/FunctionVersionBinding.js} +5 -4
  272. package/serialization/resources/commons/types/MetadataConversationValueFilter.d.ts +11 -0
  273. package/serialization/resources/commons/types/MetadataConversationValueFilter.js +43 -0
  274. package/serialization/resources/commons/types/MetadataFilter.d.ts +5 -1
  275. package/serialization/resources/commons/types/MetadataFilter.js +2 -0
  276. package/serialization/resources/commons/types/SimulationActionBehavior.d.ts +15 -0
  277. package/serialization/resources/commons/types/SimulationActionBehavior.js +49 -0
  278. package/serialization/resources/commons/types/SimulationActionCallApp.d.ts +7 -0
  279. package/serialization/resources/{analytics/types/FeedbackCount.js → commons/types/SimulationActionCallApp.js} +2 -2
  280. package/serialization/resources/commons/types/SimulationActionMock.d.ts +12 -0
  281. package/serialization/resources/{analytics/types/FeedbackColumnDefinition.js → commons/types/SimulationActionMock.js} +7 -8
  282. package/serialization/resources/commons/types/SimulationContext.d.ts +4 -0
  283. package/serialization/resources/commons/types/SimulationContext.js +4 -0
  284. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  285. package/serialization/resources/commons/types/SystemEventName.js +1 -0
  286. package/serialization/resources/commons/types/UserDataValueSource.d.ts +9 -0
  287. package/serialization/resources/commons/types/UserDataValueSource.js +41 -0
  288. package/serialization/resources/commons/types/UserEventName.d.ts +1 -1
  289. package/serialization/resources/commons/types/UserEventName.js +25 -0
  290. package/serialization/resources/commons/types/index.d.ts +14 -0
  291. package/serialization/resources/commons/types/index.js +14 -0
  292. package/serialization/resources/conversation/types/ConversationFilter.d.ts +1 -1
  293. package/serialization/resources/conversation/types/ConversationFilter.js +1 -1
  294. package/serialization/resources/conversation/types/index.d.ts +0 -3
  295. package/serialization/resources/conversation/types/index.js +0 -3
  296. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +0 -1
  297. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +0 -1
  298. package/serialization/resources/knowledge/types/KnowledgeBaseFunctionBindings.d.ts +12 -0
  299. package/serialization/resources/knowledge/types/KnowledgeBaseFunctionBindings.js +44 -0
  300. package/serialization/resources/knowledge/types/index.d.ts +1 -0
  301. package/serialization/resources/knowledge/types/index.js +1 -0
  302. package/serialization/resources/users/types/AgentUser.d.ts +2 -0
  303. package/serialization/resources/users/types/AgentUser.js +2 -0
  304. package/serialization/resources/users/types/AgentUserField.d.ts +1 -1
  305. package/serialization/resources/users/types/AgentUserField.js +1 -1
  306. package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -0
  307. package/serialization/resources/users/types/AgentUserFilter.js +2 -0
  308. package/version.d.ts +1 -1
  309. package/version.js +1 -1
  310. package/api/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +0 -11
  311. package/api/resources/analytics/types/FeedbackColumnDefinition.d.ts +0 -5
  312. package/api/resources/analytics/types/FeedbackCount.d.ts +0 -4
  313. package/api/resources/analytics/types/FeedbackDistinctCount.d.ts +0 -9
  314. package/api/resources/analytics/types/FeedbackGroupBy.d.ts +0 -5
  315. package/api/resources/analytics/types/FeedbackMetric.d.ts +0 -13
  316. package/api/resources/analytics/types/FeedbackRow.d.ts +0 -11
  317. package/api/resources/analytics/types/FeedbackRowIdentifier.d.ts +0 -5
  318. package/api/resources/analytics/types/FeedbackTableRequest.d.ts +0 -38
  319. package/api/resources/analytics/types/FeedbackTableResponse.d.ts +0 -56
  320. package/api/resources/conversation/types/FeedbackField.d.ts +0 -7
  321. package/api/resources/conversation/types/FeedbackField.js +0 -10
  322. package/api/resources/conversation/types/FeedbackFilter.d.ts +0 -9
  323. package/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +0 -11
  324. package/serialization/resources/analytics/types/FeedbackColumnDefinition.d.ts +0 -11
  325. package/serialization/resources/analytics/types/FeedbackCount.d.ts +0 -7
  326. package/serialization/resources/analytics/types/FeedbackDistinctCount.d.ts +0 -10
  327. package/serialization/resources/analytics/types/FeedbackGroupBy.d.ts +0 -11
  328. package/serialization/resources/analytics/types/FeedbackMetric.d.ts +0 -15
  329. package/serialization/resources/analytics/types/FeedbackRow.d.ts +0 -14
  330. package/serialization/resources/analytics/types/FeedbackRow.js +0 -48
  331. package/serialization/resources/analytics/types/FeedbackRowIdentifier.d.ts +0 -11
  332. package/serialization/resources/analytics/types/FeedbackTableRequest.d.ts +0 -15
  333. package/serialization/resources/analytics/types/FeedbackTableRequest.js +0 -49
  334. package/serialization/resources/analytics/types/FeedbackTableResponse.d.ts +0 -11
  335. package/serialization/resources/conversation/types/FeedbackField.d.ts +0 -7
  336. package/serialization/resources/conversation/types/FeedbackFilter.d.ts +0 -15
  337. package/serialization/resources/conversation/types/FeedbackFilter.js +0 -47
  338. /package/api/resources/analytics/types/{FeedbackAnalyticsRequest.js → AgentUserGroupBy.js} +0 -0
  339. /package/api/resources/{analytics/types/FeedbackColumnDefinition.js → capabilities/client/requests/SimulateCapabilityByTypeRequest.js} +0 -0
  340. /package/api/resources/{analytics/types/FeedbackCount.js → capabilities/types/ActionSimulationInput.js} +0 -0
  341. /package/api/resources/{analytics/types/FeedbackDistinctCount.js → capabilities/types/CapabilitySimulationInput.js} +0 -0
  342. /package/api/resources/{analytics/types/FeedbackGroupBy.js → capabilities/types/CapabilitySimulationResult.js} +0 -0
  343. /package/api/resources/{analytics/types/FeedbackMetric.js → capabilities/types/ConversationContextSimulationInput.js} +0 -0
  344. /package/api/resources/{analytics/types/FeedbackRow.js → capabilities/types/SimulatedUser.js} +0 -0
  345. /package/api/resources/{analytics/types/FeedbackRowIdentifier.js → capabilities/types/SimulatedUserData.js} +0 -0
  346. /package/api/resources/{charters → commons}/types/CharterType.d.ts +0 -0
  347. /package/api/resources/{charters → commons}/types/CharterType.js +0 -0
  348. /package/api/resources/{analytics/types/FeedbackTableRequest.js → commons/types/ConversationMetadataValueSource.js} +0 -0
  349. /package/api/resources/{analytics/types/FeedbackTableResponse.js → commons/types/ConversationValueSource.js} +0 -0
  350. /package/api/resources/{conversation/types/FeedbackFilter.js → commons/types/ExecuteActionResponse.js} +0 -0
  351. /package/api/resources/{conversation → commons}/types/SimulationFilter.d.ts +0 -0
  352. /package/api/resources/{conversation → commons}/types/SimulationFilter.js +0 -0
  353. /package/serialization/resources/{charters → commons}/types/CharterType.d.ts +0 -0
  354. /package/serialization/resources/{charters → commons}/types/CharterType.js +0 -0
  355. /package/serialization/resources/{conversation → commons}/types/SimulationFilter.d.ts +0 -0
  356. /package/serialization/resources/{conversation → commons}/types/SimulationFilter.js +0 -0
@@ -34,12 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.FeedbackRowIdentifier = void 0;
37
+ exports.ActionSimulationInput = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const FeedbackField_1 = require("../../conversation/types/FeedbackField");
40
- const RowIdentifierBase_1 = require("./RowIdentifierBase");
41
- exports.FeedbackRowIdentifier = core.serialization
39
+ const ConversationContextSimulationInput_1 = require("./ConversationContextSimulationInput");
40
+ exports.ActionSimulationInput = core.serialization
42
41
  .object({
43
- field: FeedbackField_1.FeedbackField,
42
+ parameters: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
44
43
  })
45
- .extend(RowIdentifierBase_1.RowIdentifierBase);
44
+ .extend(ConversationContextSimulationInput_1.ConversationContextSimulationInput);
@@ -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 "../../commons/types/EntityId";
5
+ import { ExecutionMode } from "../../commons/types/ExecutionMode";
5
6
  import { CapabilityExecutionCompletionReason } from "./CapabilityExecutionCompletionReason";
6
7
  import { CapabilityExecutionStatus } from "./CapabilityExecutionStatus";
7
8
  export declare const CapabilityExecutionBase: core.serialization.ObjectSchema<serializers.CapabilityExecutionBase.Raw, MavenAGI.CapabilityExecutionBase>;
@@ -16,5 +17,6 @@ export declare namespace CapabilityExecutionBase {
16
17
  completedAt?: string | null;
17
18
  durationMs?: number | null;
18
19
  createdAt: string;
20
+ executionMode: ExecutionMode.Raw;
19
21
  }
20
22
  }
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.CapabilityExecutionBase = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const EntityId_1 = require("../../commons/types/EntityId");
40
+ const ExecutionMode_1 = require("../../commons/types/ExecutionMode");
40
41
  const CapabilityExecutionCompletionReason_1 = require("./CapabilityExecutionCompletionReason");
41
42
  const CapabilityExecutionStatus_1 = require("./CapabilityExecutionStatus");
42
43
  exports.CapabilityExecutionBase = core.serialization.object({
@@ -49,4 +50,5 @@ exports.CapabilityExecutionBase = core.serialization.object({
49
50
  completedAt: core.serialization.date().optional(),
50
51
  durationMs: core.serialization.number().optional(),
51
52
  createdAt: core.serialization.date(),
53
+ executionMode: ExecutionMode_1.ExecutionMode,
52
54
  });
@@ -0,0 +1,11 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { ActionSimulationInput } from "./ActionSimulationInput";
5
+ export declare const CapabilitySimulationInput: core.serialization.Schema<serializers.CapabilitySimulationInput.Raw, MavenAGI.CapabilitySimulationInput>;
6
+ export declare namespace CapabilitySimulationInput {
7
+ type Raw = CapabilitySimulationInput.Action;
8
+ interface Action extends ActionSimulationInput.Raw {
9
+ capabilityType: "ACTION";
10
+ }
11
+ }
@@ -34,14 +34,12 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.FeedbackMetric = void 0;
37
+ exports.CapabilitySimulationInput = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const FeedbackCount_1 = require("./FeedbackCount");
40
- const FeedbackDistinctCount_1 = require("./FeedbackDistinctCount");
41
- exports.FeedbackMetric = core.serialization
42
- .union("type", {
43
- count: FeedbackCount_1.FeedbackCount,
44
- distinctCount: FeedbackDistinctCount_1.FeedbackDistinctCount,
39
+ const ActionSimulationInput_1 = require("./ActionSimulationInput");
40
+ exports.CapabilitySimulationInput = core.serialization
41
+ .union("capabilityType", {
42
+ ACTION: ActionSimulationInput_1.ActionSimulationInput,
45
43
  })
46
44
  .transform({
47
45
  transform: (value) => value,
@@ -0,0 +1,11 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { ExecuteActionResponse } from "../../commons/types/ExecuteActionResponse";
5
+ export declare const CapabilitySimulationResult: core.serialization.Schema<serializers.CapabilitySimulationResult.Raw, MavenAGI.CapabilitySimulationResult>;
6
+ export declare namespace CapabilitySimulationResult {
7
+ type Raw = CapabilitySimulationResult.Action;
8
+ interface Action extends ExecuteActionResponse.Raw {
9
+ capabilityType: "ACTION";
10
+ }
11
+ }
@@ -34,12 +34,14 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.FeedbackGroupBy = void 0;
37
+ exports.CapabilitySimulationResult = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const FeedbackField_1 = require("../../conversation/types/FeedbackField");
40
- const GroupByBase_1 = require("./GroupByBase");
41
- exports.FeedbackGroupBy = core.serialization
42
- .object({
43
- field: FeedbackField_1.FeedbackField,
39
+ const ExecuteActionResponse_1 = require("../../commons/types/ExecuteActionResponse");
40
+ exports.CapabilitySimulationResult = core.serialization
41
+ .union("capabilityType", {
42
+ ACTION: ExecuteActionResponse_1.ExecuteActionResponse,
44
43
  })
45
- .extend(GroupByBase_1.GroupByBase);
44
+ .transform({
45
+ transform: (value) => value,
46
+ untransform: (value) => value,
47
+ });
@@ -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 { SimulatedUser } from "./SimulatedUser";
5
+ export declare const ConversationContextSimulationInput: core.serialization.ObjectSchema<serializers.ConversationContextSimulationInput.Raw, MavenAGI.ConversationContextSimulationInput>;
6
+ export declare namespace ConversationContextSimulationInput {
7
+ interface Raw {
8
+ conversationMetadata?: Record<string, string> | null;
9
+ user?: SimulatedUser.Raw | null;
10
+ transientData?: Record<string, string> | null;
11
+ }
12
+ }
@@ -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.ConversationContextSimulationInput = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const SimulatedUser_1 = require("./SimulatedUser");
40
+ exports.ConversationContextSimulationInput = core.serialization.object({
41
+ conversationMetadata: core.serialization
42
+ .record(core.serialization.string(), core.serialization.string())
43
+ .optional(),
44
+ user: SimulatedUser_1.SimulatedUser.optional(),
45
+ transientData: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
46
+ });
@@ -0,0 +1,10 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { SimulatedUserData } from "./SimulatedUserData";
5
+ export declare const SimulatedUser: core.serialization.ObjectSchema<serializers.SimulatedUser.Raw, MavenAGI.SimulatedUser>;
6
+ export declare namespace SimulatedUser {
7
+ interface Raw {
8
+ agentUserData?: Record<string, SimulatedUserData.Raw[]> | null;
9
+ }
10
+ }
@@ -34,10 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.FeedbackAnalyticsRequest = void 0;
37
+ exports.SimulatedUser = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const FeedbackFilter_1 = require("../../conversation/types/FeedbackFilter");
40
- exports.FeedbackAnalyticsRequest = core.serialization.object({
41
- feedbackFilter: FeedbackFilter_1.FeedbackFilter.optional(),
42
- timezone: core.serialization.string().optional(),
39
+ const SimulatedUserData_1 = require("./SimulatedUserData");
40
+ exports.SimulatedUser = core.serialization.object({
41
+ agentUserData: core.serialization
42
+ .record(core.serialization.string(), core.serialization.list(SimulatedUserData_1.SimulatedUserData))
43
+ .optional(),
43
44
  });
@@ -0,0 +1,10 @@
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 SimulatedUserData: core.serialization.ObjectSchema<serializers.SimulatedUserData.Raw, MavenAGI.SimulatedUserData>;
5
+ export declare namespace SimulatedUserData {
6
+ interface Raw {
7
+ appId: string;
8
+ value: string;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
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.SimulatedUserData = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.SimulatedUserData = core.serialization.object({
40
+ appId: core.serialization.string(),
41
+ value: core.serialization.string(),
42
+ });
@@ -1,3 +1,4 @@
1
+ export * from "./ActionSimulationInput";
1
2
  export * from "./CapabilitiesSearchResponse";
2
3
  export * from "./CapabilityExecution";
3
4
  export * from "./CapabilityExecutionBase";
@@ -6,7 +7,12 @@ export * from "./CapabilityExecutionRetryability";
6
7
  export * from "./CapabilityExecutionStatus";
7
8
  export * from "./CapabilityExecutionsSearchResponse";
8
9
  export * from "./CapabilityResponse";
10
+ export * from "./CapabilitySimulationInput";
11
+ export * from "./CapabilitySimulationResult";
9
12
  export * from "./CapabilitySortField";
10
13
  export * from "./CapabilitySummary";
14
+ export * from "./ConversationContextSimulationInput";
11
15
  export * from "./ConversationKickoffCapabilityExecution";
16
+ export * from "./SimulatedUser";
17
+ export * from "./SimulatedUserData";
12
18
  export * from "./TriggerCapabilityExecution";
@@ -14,6 +14,7 @@ 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("./ActionSimulationInput"), exports);
17
18
  __exportStar(require("./CapabilitiesSearchResponse"), exports);
18
19
  __exportStar(require("./CapabilityExecution"), exports);
19
20
  __exportStar(require("./CapabilityExecutionBase"), exports);
@@ -22,7 +23,12 @@ __exportStar(require("./CapabilityExecutionRetryability"), exports);
22
23
  __exportStar(require("./CapabilityExecutionStatus"), exports);
23
24
  __exportStar(require("./CapabilityExecutionsSearchResponse"), exports);
24
25
  __exportStar(require("./CapabilityResponse"), exports);
26
+ __exportStar(require("./CapabilitySimulationInput"), exports);
27
+ __exportStar(require("./CapabilitySimulationResult"), exports);
25
28
  __exportStar(require("./CapabilitySortField"), exports);
26
29
  __exportStar(require("./CapabilitySummary"), exports);
30
+ __exportStar(require("./ConversationContextSimulationInput"), exports);
27
31
  __exportStar(require("./ConversationKickoffCapabilityExecution"), exports);
32
+ __exportStar(require("./SimulatedUser"), exports);
33
+ __exportStar(require("./SimulatedUserData"), exports);
28
34
  __exportStar(require("./TriggerCapabilityExecution"), exports);
@@ -1,11 +1,11 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import * as serializers from "../../../index";
4
+ import { CharterType } from "../../commons/types/CharterType";
4
5
  import { EntityId } from "../../commons/types/EntityId";
5
6
  import { CharterBase } from "./CharterBase";
6
7
  import { CharterReferences } from "./CharterReferences";
7
8
  import { CharterStatus } from "./CharterStatus";
8
- import { CharterType } from "./CharterType";
9
9
  export declare const CharterContent: core.serialization.ObjectSchema<serializers.CharterContent.Raw, MavenAGI.CharterContent>;
10
10
  export declare namespace CharterContent {
11
11
  interface Raw extends CharterBase.Raw {
@@ -37,11 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.CharterContent = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const serializers = __importStar(require("../../../index"));
40
+ const CharterType_1 = require("../../commons/types/CharterType");
40
41
  const EntityId_1 = require("../../commons/types/EntityId");
41
42
  const CharterBase_1 = require("./CharterBase");
42
43
  const CharterReferences_1 = require("./CharterReferences");
43
44
  const CharterStatus_1 = require("./CharterStatus");
44
- const CharterType_1 = require("./CharterType");
45
45
  exports.CharterContent = core.serialization
46
46
  .object({
47
47
  parentCharterId: EntityId_1.EntityId.nullable(),
@@ -1,12 +1,12 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import * as serializers from "../../../index";
4
+ import { CharterType } from "../../commons/types/CharterType";
4
5
  import { EntityId } from "../../commons/types/EntityId";
5
6
  import { CharterBase } from "./CharterBase";
6
7
  import { CharterChildrenExclusionPolicy } from "./CharterChildrenExclusionPolicy";
7
8
  import { CharterReferences } from "./CharterReferences";
8
9
  import { CharterStatus } from "./CharterStatus";
9
- import { CharterType } from "./CharterType";
10
10
  export declare const CharterResponse: core.serialization.ObjectSchema<serializers.CharterResponse.Raw, MavenAGI.CharterResponse>;
11
11
  export declare namespace CharterResponse {
12
12
  interface Raw extends CharterBase.Raw {
@@ -37,12 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.CharterResponse = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const serializers = __importStar(require("../../../index"));
40
+ const CharterType_1 = require("../../commons/types/CharterType");
40
41
  const EntityId_1 = require("../../commons/types/EntityId");
41
42
  const CharterBase_1 = require("./CharterBase");
42
43
  const CharterChildrenExclusionPolicy_1 = require("./CharterChildrenExclusionPolicy");
43
44
  const CharterReferences_1 = require("./CharterReferences");
44
45
  const CharterStatus_1 = require("./CharterStatus");
45
- const CharterType_1 = require("./CharterType");
46
46
  exports.CharterResponse = core.serialization
47
47
  .object({
48
48
  charterId: EntityId_1.EntityId,
@@ -1,10 +1,10 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import * as serializers from "../../../index";
4
+ import { CharterType } from "../../commons/types/CharterType";
4
5
  import { EntityId } from "../../commons/types/EntityId";
5
6
  import { CharterChildrenExclusionPolicy } from "./CharterChildrenExclusionPolicy";
6
7
  import { CharterStatus } from "./CharterStatus";
7
- import { CharterType } from "./CharterType";
8
8
  export declare const CharterSummary: core.serialization.ObjectSchema<serializers.CharterSummary.Raw, MavenAGI.CharterSummary>;
9
9
  export declare namespace CharterSummary {
10
10
  interface Raw {
@@ -37,10 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.CharterSummary = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const serializers = __importStar(require("../../../index"));
40
+ const CharterType_1 = require("../../commons/types/CharterType");
40
41
  const EntityId_1 = require("../../commons/types/EntityId");
41
42
  const CharterChildrenExclusionPolicy_1 = require("./CharterChildrenExclusionPolicy");
42
43
  const CharterStatus_1 = require("./CharterStatus");
43
- const CharterType_1 = require("./CharterType");
44
44
  exports.CharterSummary = core.serialization.object({
45
45
  charterId: EntityId_1.EntityId,
46
46
  name: core.serialization.string(),
@@ -16,4 +16,3 @@ export * from "./CharterSearchRequest";
16
16
  export * from "./CharterSearchResponse";
17
17
  export * from "./CharterStatus";
18
18
  export * from "./CharterSummary";
19
- export * from "./CharterType";
@@ -32,4 +32,3 @@ __exportStar(require("./CharterSearchRequest"), exports);
32
32
  __exportStar(require("./CharterSearchResponse"), exports);
33
33
  __exportStar(require("./CharterStatus"), exports);
34
34
  __exportStar(require("./CharterSummary"), exports);
35
- __exportStar(require("./CharterType"), exports);
@@ -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 ActionExecutionStatus: core.serialization.Schema<serializers.ActionExecutionStatus.Raw, MavenAGI.ActionExecutionStatus>;
5
+ export declare namespace ActionExecutionStatus {
6
+ type Raw = "SUCCESS" | "ERROR";
7
+ }
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.FeedbackField = void 0;
37
+ exports.ActionExecutionStatus = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- exports.FeedbackField = core.serialization.forwardCompatibleEnum_(["Type", "CreatedBy", "CreatedAt", "App"]);
39
+ exports.ActionExecutionStatus = core.serialization.forwardCompatibleEnum_(["SUCCESS", "ERROR"]);
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const AdditionalDataKey: core.serialization.Schema<serializers.AdditionalDataKey.Raw, MavenAGI.AdditionalDataKey>;
5
5
  export declare namespace AdditionalDataKey {
6
- type Raw = "value" | "previousValue" | "name" | "step" | "reason" | "errorCode" | "errorMessage" | "url" | "query" | "position" | "amount" | "currency" | "channel" | "sourceLanguage" | "targetLanguage" | "mimeType" | "sizeBytes";
6
+ type Raw = "value" | "previousValue" | "name" | "step" | "reason" | "errorCode" | "errorMessage" | "url" | "query" | "position" | "botMessageType" | "amount" | "currency" | "channel" | "sourceLanguage" | "targetLanguage" | "mimeType" | "sizeBytes" | "method" | "items" | "transactionId" | "coupon" | "shipping" | "tax" | "customerType" | "paymentType" | "shippingTier" | "itemListId" | "itemListName" | "promotionId" | "promotionName" | "creativeName" | "creativeSlot" | "leadSource" | "leadStatus" | "contentType" | "contentId" | "groupId" | "virtualCurrencyName" | "virtualCurrencyAmount" | "adPlatform" | "adSource" | "adFormat" | "adUnitName";
7
7
  }
@@ -47,6 +47,7 @@ exports.AdditionalDataKey = core.serialization.forwardCompatibleEnum_([
47
47
  "url",
48
48
  "query",
49
49
  "position",
50
+ "botMessageType",
50
51
  "amount",
51
52
  "currency",
52
53
  "channel",
@@ -54,4 +55,30 @@ exports.AdditionalDataKey = core.serialization.forwardCompatibleEnum_([
54
55
  "targetLanguage",
55
56
  "mimeType",
56
57
  "sizeBytes",
58
+ "method",
59
+ "items",
60
+ "transactionId",
61
+ "coupon",
62
+ "shipping",
63
+ "tax",
64
+ "customerType",
65
+ "paymentType",
66
+ "shippingTier",
67
+ "itemListId",
68
+ "itemListName",
69
+ "promotionId",
70
+ "promotionName",
71
+ "creativeName",
72
+ "creativeSlot",
73
+ "leadSource",
74
+ "leadStatus",
75
+ "contentType",
76
+ "contentId",
77
+ "groupId",
78
+ "virtualCurrencyName",
79
+ "virtualCurrencyAmount",
80
+ "adPlatform",
81
+ "adSource",
82
+ "adFormat",
83
+ "adUnitName",
57
84
  ]);
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { AppUser } from "./AppUser";
5
5
  import { EntityIdBase } from "./EntityIdBase";
6
+ import { ExecutionMode } from "./ExecutionMode";
6
7
  export declare const AppUserRequest: core.serialization.ObjectSchema<serializers.AppUserRequest.Raw, MavenAGI.AppUserRequest>;
7
8
  export declare namespace AppUserRequest {
8
9
  interface Raw extends AppUser.Raw {
9
10
  userId: EntityIdBase.Raw;
11
+ executionMode?: ExecutionMode.Raw | null;
10
12
  }
11
13
  }
@@ -38,8 +38,10 @@ exports.AppUserRequest = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const AppUser_1 = require("./AppUser");
40
40
  const EntityIdBase_1 = require("./EntityIdBase");
41
+ const ExecutionMode_1 = require("./ExecutionMode");
41
42
  exports.AppUserRequest = core.serialization
42
43
  .object({
43
44
  userId: EntityIdBase_1.EntityIdBase,
45
+ executionMode: ExecutionMode_1.ExecutionMode.optional(),
44
46
  })
45
47
  .extend(AppUser_1.AppUser);
@@ -5,6 +5,7 @@ import { ConversationAnalysis } from "./ConversationAnalysis";
5
5
  import { ConversationMode } from "./ConversationMode";
6
6
  import { ConversationSummary } from "./ConversationSummary";
7
7
  import { EntityId } from "./EntityId";
8
+ import { ExecutionMode } from "./ExecutionMode";
8
9
  import { RelationshipType } from "./RelationshipType";
9
10
  import { ResponseConfig } from "./ResponseConfig";
10
11
  import { SimulationContext } from "./SimulationContext";
@@ -26,6 +27,7 @@ export declare namespace BaseConversationResponse {
26
27
  open: boolean;
27
28
  llmEnabled: boolean;
28
29
  simulationContext?: SimulationContext.Raw | null;
30
+ executionMode: ExecutionMode.Raw;
29
31
  relatedEntities?: Record<RelationshipType.Raw, EntityId.Raw[] | null | undefined> | null;
30
32
  conversationMode?: ConversationMode.Raw | null;
31
33
  variantId?: EntityId.Raw | null;
@@ -40,6 +40,7 @@ const ConversationAnalysis_1 = require("./ConversationAnalysis");
40
40
  const ConversationMode_1 = require("./ConversationMode");
41
41
  const ConversationSummary_1 = require("./ConversationSummary");
42
42
  const EntityId_1 = require("./EntityId");
43
+ const ExecutionMode_1 = require("./ExecutionMode");
43
44
  const RelationshipType_1 = require("./RelationshipType");
44
45
  const ResponseConfig_1 = require("./ResponseConfig");
45
46
  const SimulationContext_1 = require("./SimulationContext");
@@ -59,6 +60,7 @@ exports.BaseConversationResponse = core.serialization.object({
59
60
  open: core.serialization.boolean(),
60
61
  llmEnabled: core.serialization.boolean(),
61
62
  simulationContext: SimulationContext_1.SimulationContext.optional(),
63
+ executionMode: ExecutionMode_1.ExecutionMode,
62
64
  relatedEntities: core.serialization
63
65
  .partialRecord(RelationshipType_1.RelationshipType, core.serialization.list(EntityId_1.EntityId).optional())
64
66
  .optional(),
@@ -1,6 +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 { CharterType } from "./CharterType";
4
5
  import { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
5
6
  export declare const BotLogicCharterDetail: core.serialization.ObjectSchema<serializers.BotLogicCharterDetail.Raw, MavenAGI.BotLogicCharterDetail>;
6
7
  export declare namespace BotLogicCharterDetail {
@@ -9,5 +10,6 @@ export declare namespace BotLogicCharterDetail {
9
10
  name: string;
10
11
  segmentId?: EntityIdWithoutAgent.Raw | null;
11
12
  parentId?: EntityIdWithoutAgent.Raw | null;
13
+ type?: CharterType.Raw | null;
12
14
  }
13
15
  }
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.BotLogicCharterDetail = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
+ const CharterType_1 = require("./CharterType");
39
40
  const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
40
41
  exports.BotLogicCharterDetail = core.serialization.object({
41
42
  charterId: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
42
43
  name: core.serialization.string(),
43
44
  segmentId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
44
45
  parentId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
46
+ type: CharterType_1.CharterType.optional(),
45
47
  });
@@ -3,6 +3,7 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { BotConversationMessageType } from "./BotConversationMessageType";
5
5
  import { BotLogic } from "./BotLogic";
6
+ import { BotMessageStatusReason } from "./BotMessageStatusReason";
6
7
  import { BotResponse } from "./BotResponse";
7
8
  import { BotResponseMetadata } from "./BotResponseMetadata";
8
9
  import { ConversationMessageBase } from "./ConversationMessageBase";
@@ -17,5 +18,6 @@ export declare namespace BotMessage {
17
18
  metadata: BotResponseMetadata.Raw;
18
19
  status: MessageStatus.Raw;
19
20
  logic?: BotLogic.Raw | null;
21
+ statusReason?: BotMessageStatusReason.Raw | null;
20
22
  }
21
23
  }
@@ -38,6 +38,7 @@ exports.BotMessage = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const BotConversationMessageType_1 = require("./BotConversationMessageType");
40
40
  const BotLogic_1 = require("./BotLogic");
41
+ const BotMessageStatusReason_1 = require("./BotMessageStatusReason");
41
42
  const BotResponse_1 = require("./BotResponse");
42
43
  const BotResponseMetadata_1 = require("./BotResponseMetadata");
43
44
  const ConversationMessageBase_1 = require("./ConversationMessageBase");
@@ -51,5 +52,6 @@ exports.BotMessage = core.serialization
51
52
  metadata: BotResponseMetadata_1.BotResponseMetadata,
52
53
  status: MessageStatus_1.MessageStatus,
53
54
  logic: BotLogic_1.BotLogic.optional(),
55
+ statusReason: BotMessageStatusReason_1.BotMessageStatusReason.optional(),
54
56
  })
55
57
  .extend(ConversationMessageBase_1.ConversationMessageBase);
@@ -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 BotMessageStatusReason: core.serialization.Schema<serializers.BotMessageStatusReason.Raw, MavenAGI.BotMessageStatusReason>;
5
+ export declare namespace BotMessageStatusReason {
6
+ type Raw = "CONTENT_SAFETY_ISSUE" | "FAILED_TO_RETRIEVE_KNOWLEDGE" | "FAILED_TO_RETRIEVE_ACTIONS";
7
+ }