mavenagi 1.2.60 → 1.2.62

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 (390) hide show
  1. package/BaseClient.d.ts +12 -0
  2. package/BaseClient.js +5 -3
  3. package/Client.d.ts +9 -0
  4. package/Client.js +43 -28
  5. package/api/resources/actions/client/Client.d.ts +26 -0
  6. package/api/resources/actions/client/Client.js +30 -3
  7. package/api/resources/agents/client/Client.d.ts +12 -0
  8. package/api/resources/agents/client/Client.js +16 -3
  9. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +3 -3
  10. package/api/resources/agents/types/AgentPrompting.d.ts +3 -3
  11. package/api/resources/analytics/client/Client.d.ts +14 -0
  12. package/api/resources/analytics/client/Client.js +22 -7
  13. package/api/resources/analytics/types/ConversationMedian.d.ts +4 -0
  14. package/api/resources/analytics/types/ConversationPercentile.d.ts +4 -0
  15. package/api/resources/analytics/types/RowBase.d.ts +5 -1
  16. package/api/resources/analytics/types/Series.d.ts +4 -1
  17. package/api/resources/analytics/types/TimeSeries.d.ts +5 -1
  18. package/api/resources/appDirectory/client/Client.d.ts +12 -0
  19. package/api/resources/appDirectory/client/Client.js +16 -3
  20. package/api/resources/appSettings/client/Client.d.ts +6 -0
  21. package/api/resources/appSettings/client/Client.js +8 -1
  22. package/api/resources/assets/client/Client.d.ts +4 -0
  23. package/api/resources/assets/client/Client.js +7 -2
  24. package/api/resources/capabilities/client/Client.d.ts +118 -0
  25. package/api/resources/capabilities/client/Client.js +521 -0
  26. package/api/resources/capabilities/client/index.d.ts +1 -0
  27. package/api/resources/capabilities/client/index.js +17 -0
  28. package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +36 -0
  29. package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +3 -0
  30. package/api/resources/capabilities/client/requests/DeleteCapabilityByTypeRequest.d.ts +18 -0
  31. package/api/resources/capabilities/client/requests/DeleteCapabilityByTypeRequest.js +3 -0
  32. package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.d.ts +22 -0
  33. package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.js +3 -0
  34. package/api/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.d.ts +24 -0
  35. package/api/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.js +3 -0
  36. package/api/resources/capabilities/client/requests/index.d.ts +4 -0
  37. package/api/resources/capabilities/client/requests/index.js +2 -0
  38. package/api/resources/capabilities/exports.d.ts +2 -0
  39. package/api/resources/capabilities/exports.js +21 -0
  40. package/api/resources/capabilities/index.d.ts +2 -0
  41. package/api/resources/capabilities/index.js +18 -0
  42. package/api/resources/capabilities/types/CapabilitiesSearchResponse.d.ts +43 -0
  43. package/api/resources/capabilities/types/CapabilitiesSearchResponse.js +3 -0
  44. package/api/resources/capabilities/types/CapabilityResponse.d.ts +23 -0
  45. package/api/resources/capabilities/types/CapabilityResponse.js +3 -0
  46. package/api/resources/capabilities/types/CapabilitySortField.d.ts +7 -0
  47. package/api/resources/capabilities/types/CapabilitySortField.js +10 -0
  48. package/api/resources/capabilities/types/CapabilitySummary.d.ts +28 -0
  49. package/api/resources/capabilities/types/CapabilitySummary.js +3 -0
  50. package/api/resources/capabilities/types/index.d.ts +4 -0
  51. package/api/resources/capabilities/types/index.js +20 -0
  52. package/api/resources/charters/client/Client.d.ts +245 -0
  53. package/api/resources/charters/client/Client.js +884 -0
  54. package/api/resources/charters/client/index.d.ts +1 -0
  55. package/api/resources/charters/client/index.js +17 -0
  56. package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +20 -0
  57. package/api/resources/charters/client/requests/CharterDeleteRequest.js +3 -0
  58. package/api/resources/charters/client/requests/CharterGetAncestorsRequest.d.ts +8 -0
  59. package/api/resources/charters/client/requests/CharterGetAncestorsRequest.js +3 -0
  60. package/api/resources/charters/client/requests/CharterGetRequest.d.ts +8 -0
  61. package/api/resources/charters/client/requests/CharterGetRequest.js +3 -0
  62. package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +67 -0
  63. package/api/resources/charters/client/requests/CharterPatchRequest.js +3 -0
  64. package/api/resources/charters/client/requests/index.d.ts +4 -0
  65. package/api/resources/charters/client/requests/index.js +2 -0
  66. package/api/resources/charters/exports.d.ts +2 -0
  67. package/api/resources/charters/exports.js +21 -0
  68. package/api/resources/charters/index.d.ts +1 -0
  69. package/api/resources/charters/index.js +1 -0
  70. package/api/resources/charters/types/CharterAncestorsResponse.d.ts +8 -0
  71. package/api/resources/charters/types/CharterAncestorsResponse.js +3 -0
  72. package/api/resources/charters/types/CharterBase.d.ts +14 -0
  73. package/api/resources/charters/types/CharterBase.js +3 -0
  74. package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +1 -1
  75. package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +1 -1
  76. package/api/resources/charters/types/CharterChildrenGroup.d.ts +18 -0
  77. package/api/resources/charters/types/CharterChildrenGroup.js +3 -0
  78. package/api/resources/charters/types/CharterContent.d.ts +60 -0
  79. package/api/resources/charters/types/CharterContent.js +3 -0
  80. package/api/resources/charters/types/CharterKnowledgeBaseReference.d.ts +16 -0
  81. package/api/resources/charters/types/CharterKnowledgeBaseReference.js +3 -0
  82. package/api/resources/charters/types/CharterListChildrenRequest.d.ts +18 -0
  83. package/api/resources/charters/types/CharterListChildrenRequest.js +3 -0
  84. package/api/resources/charters/types/CharterListChildrenResponse.d.ts +55 -0
  85. package/api/resources/charters/types/CharterListChildrenResponse.js +3 -0
  86. package/api/resources/charters/types/CharterPatchReferences.d.ts +22 -0
  87. package/api/resources/charters/types/CharterPatchReferences.js +3 -0
  88. package/api/resources/charters/types/CharterReferences.d.ts +21 -0
  89. package/api/resources/charters/types/CharterReferences.js +3 -0
  90. package/api/resources/charters/types/CharterRequest.d.ts +36 -0
  91. package/api/resources/charters/types/CharterRequest.js +3 -0
  92. package/api/resources/charters/types/CharterResponse.d.ts +66 -0
  93. package/api/resources/charters/types/CharterResponse.js +3 -0
  94. package/api/resources/charters/types/CharterSearchField.d.ts +5 -0
  95. package/api/resources/charters/types/CharterSearchField.js +8 -0
  96. package/api/resources/charters/types/CharterSearchFilter.d.ts +18 -0
  97. package/api/resources/charters/types/CharterSearchFilter.js +3 -0
  98. package/api/resources/charters/types/CharterSearchRequest.d.ts +5 -0
  99. package/api/resources/charters/types/CharterSearchRequest.js +3 -0
  100. package/api/resources/charters/types/CharterSearchResponse.d.ts +36 -0
  101. package/api/resources/charters/types/CharterSearchResponse.js +3 -0
  102. package/api/resources/charters/types/CharterStatus.d.ts +2 -2
  103. package/api/resources/charters/types/CharterStatus.js +2 -2
  104. package/api/resources/charters/types/CharterSummary.d.ts +1 -9
  105. package/api/resources/charters/types/CharterType.d.ts +4 -4
  106. package/api/resources/charters/types/CharterType.js +4 -4
  107. package/api/resources/charters/types/index.d.ts +15 -0
  108. package/api/resources/charters/types/index.js +15 -0
  109. package/api/resources/commons/errors/BadRequestError.d.ts +1 -0
  110. package/api/resources/commons/errors/BadRequestError.js +1 -1
  111. package/api/resources/commons/errors/NotFoundError.d.ts +1 -0
  112. package/api/resources/commons/errors/NotFoundError.js +1 -1
  113. package/api/resources/commons/errors/PayloadTooLargeError.d.ts +1 -0
  114. package/api/resources/commons/errors/PayloadTooLargeError.js +1 -1
  115. package/api/resources/commons/errors/ServerError.d.ts +1 -0
  116. package/api/resources/commons/errors/ServerError.js +1 -1
  117. package/api/resources/commons/errors/TooManyRequestsError.d.ts +1 -0
  118. package/api/resources/commons/errors/TooManyRequestsError.js +1 -1
  119. package/api/resources/commons/types/ActionResponse.d.ts +11 -2
  120. package/api/resources/commons/types/AskType.d.ts +2 -2
  121. package/api/resources/commons/types/AskType.js +2 -2
  122. package/api/resources/commons/types/BaseConversationResponse.d.ts +6 -0
  123. package/api/resources/commons/types/BotObjectResponse.d.ts +1 -1
  124. package/api/resources/commons/types/CapabilityBase.d.ts +23 -0
  125. package/api/resources/commons/types/CapabilityBase.js +3 -0
  126. package/api/resources/commons/types/CapabilityStatus.d.ts +17 -0
  127. package/api/resources/commons/types/CapabilityStatus.js +20 -0
  128. package/api/resources/commons/types/CapabilityType.d.ts +8 -0
  129. package/api/resources/commons/types/CapabilityType.js +11 -0
  130. package/api/resources/commons/types/ConversationRound.d.ts +1 -1
  131. package/api/resources/commons/types/ConversationRound.js +1 -1
  132. package/api/resources/commons/types/EntityType.d.ts +5 -1
  133. package/api/resources/commons/types/EntityType.js +5 -1
  134. package/api/resources/commons/types/ErrorMessage.d.ts +3 -0
  135. package/api/resources/commons/types/ErrorReason.d.ts +31 -0
  136. package/api/resources/commons/types/ErrorReason.js +34 -0
  137. package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +0 -4
  138. package/api/resources/commons/types/LlmPersona.d.ts +1 -1
  139. package/api/resources/commons/types/LlmPersona.js +1 -1
  140. package/api/resources/commons/types/MetadataComparisonCondition.d.ts +10 -0
  141. package/api/resources/commons/types/MetadataComparisonCondition.js +3 -0
  142. package/api/resources/commons/types/MetadataComparisonOperator.d.ts +22 -0
  143. package/api/resources/commons/types/MetadataComparisonOperator.js +25 -0
  144. package/api/resources/commons/types/MetadataCondition.d.ts +21 -0
  145. package/api/resources/commons/types/MetadataCondition.js +3 -0
  146. package/api/resources/commons/types/MetadataEntryCondition.d.ts +10 -0
  147. package/api/resources/commons/types/MetadataEntryCondition.js +3 -0
  148. package/api/resources/commons/types/MetadataFilter.d.ts +41 -0
  149. package/api/resources/commons/types/MetadataFilter.js +3 -0
  150. package/api/resources/commons/types/MetadataFilterGroup.d.ts +14 -0
  151. package/api/resources/commons/types/MetadataFilterGroup.js +3 -0
  152. package/api/resources/commons/types/SimulationContext.d.ts +2 -2
  153. package/api/resources/commons/types/SystemEventName.d.ts +3 -0
  154. package/api/resources/commons/types/SystemEventName.js +3 -0
  155. package/api/resources/commons/types/index.d.ts +10 -0
  156. package/api/resources/commons/types/index.js +10 -0
  157. package/api/resources/conversation/client/Client.d.ts +33 -0
  158. package/api/resources/conversation/client/Client.js +49 -17
  159. package/api/resources/conversation/types/AskRequest.d.ts +10 -10
  160. package/api/resources/conversation/types/ConversationFilter.d.ts +6 -1
  161. package/api/resources/conversationKickoffs/client/Client.d.ts +45 -0
  162. package/api/resources/conversationKickoffs/client/Client.js +175 -0
  163. package/api/resources/conversationKickoffs/client/index.d.ts +1 -0
  164. package/api/resources/conversationKickoffs/client/index.js +17 -0
  165. package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +22 -0
  166. package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +3 -0
  167. package/api/resources/conversationKickoffs/client/requests/index.d.ts +1 -0
  168. package/api/resources/conversationKickoffs/client/requests/index.js +2 -0
  169. package/api/resources/conversationKickoffs/exports.d.ts +2 -0
  170. package/api/resources/conversationKickoffs/exports.js +21 -0
  171. package/api/resources/conversationKickoffs/index.d.ts +2 -0
  172. package/api/resources/conversationKickoffs/index.js +18 -0
  173. package/api/resources/conversationKickoffs/types/ConversationKickoff.d.ts +27 -0
  174. package/api/resources/conversationKickoffs/types/ConversationKickoff.js +3 -0
  175. package/api/resources/conversationKickoffs/types/index.d.ts +1 -0
  176. package/api/resources/conversationKickoffs/types/index.js +17 -0
  177. package/api/resources/customers/client/Client.d.ts +8 -0
  178. package/api/resources/customers/client/Client.js +12 -3
  179. package/api/resources/events/client/Client.d.ts +8 -0
  180. package/api/resources/events/client/Client.js +12 -3
  181. package/api/resources/inbox/client/Client.d.ts +16 -0
  182. package/api/resources/inbox/client/Client.js +22 -5
  183. package/api/resources/index.d.ts +7 -0
  184. package/api/resources/index.js +8 -1
  185. package/api/resources/integrations/client/Client.d.ts +2 -0
  186. package/api/resources/integrations/client/Client.js +4 -1
  187. package/api/resources/intelligentFields/client/Client.d.ts +41 -4
  188. package/api/resources/intelligentFields/client/Client.js +49 -9
  189. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +1 -1
  190. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +4 -0
  191. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +14 -5
  192. package/api/resources/intelligentFields/types/EnumOption.d.ts +8 -1
  193. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
  194. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +12 -15
  195. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +5 -2
  196. package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +10 -2
  197. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +2 -8
  198. package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +10 -0
  199. package/api/resources/intelligentFields/types/IntelligentFieldType.js +10 -0
  200. package/api/resources/intelligentFields/types/index.d.ts +0 -1
  201. package/api/resources/intelligentFields/types/index.js +0 -1
  202. package/api/resources/knowledge/client/Client.d.ts +35 -0
  203. package/api/resources/knowledge/client/Client.js +50 -16
  204. package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +13 -0
  205. package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +4 -2
  206. package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +33 -9
  207. package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +7 -1
  208. package/api/resources/organizations/client/Client.d.ts +12 -0
  209. package/api/resources/organizations/client/Client.js +17 -4
  210. package/api/resources/segments/client/Client.d.ts +10 -0
  211. package/api/resources/segments/client/Client.js +14 -3
  212. package/api/resources/translations/client/Client.d.ts +2 -0
  213. package/api/resources/translations/client/Client.js +4 -1
  214. package/api/resources/triggers/client/Client.d.ts +31 -0
  215. package/api/resources/triggers/client/Client.js +35 -3
  216. package/api/resources/triggers/types/EventTriggerBase.d.ts +0 -4
  217. package/api/resources/triggers/types/EventTriggerRequest.d.ts +4 -0
  218. package/api/resources/triggers/types/EventTriggerResponse.d.ts +11 -3
  219. package/api/resources/users/client/Client.d.ts +10 -0
  220. package/api/resources/users/client/Client.js +13 -2
  221. package/api/resources/voice/client/Client.d.ts +2 -0
  222. package/api/resources/voice/client/Client.js +4 -1
  223. package/api/resources/voiceConversations/client/Client.d.ts +4 -1
  224. package/api/resources/voiceConversations/client/Client.js +2 -1
  225. package/api/resources/voiceConversations/client/Socket.d.ts +11 -0
  226. package/api/resources/voiceConversations/client/Socket.js +15 -0
  227. package/core/fetcher/Fetcher.js +9 -92
  228. package/core/fetcher/getResponseBody.js +11 -0
  229. package/core/fetcher/makePassthroughRequest.js +26 -4
  230. package/core/fetcher/redactUrl.d.ts +2 -0
  231. package/core/fetcher/redactUrl.js +88 -0
  232. package/core/fetcher/signals.js +9 -1
  233. package/core/file/file.js +3 -0
  234. package/core/form-data-utils/FormDataWrapper.js +3 -0
  235. package/core/requestBody.d.ts +12 -0
  236. package/core/requestBody.js +26 -0
  237. package/core/runtime/index.d.ts +1 -1
  238. package/core/runtime/index.js +2 -1
  239. package/core/runtime/runtime.d.ts +19 -0
  240. package/core/runtime/runtime.js +74 -2
  241. package/core/schemas/builders/schema-utils/JsonError.js +2 -2
  242. package/core/schemas/builders/schema-utils/ParseError.js +2 -2
  243. package/core/stream/Stream.d.ts +45 -1
  244. package/core/stream/Stream.js +323 -84
  245. package/core/stream/index.d.ts +1 -0
  246. package/core/url/qs.js +2 -2
  247. package/core/websocket/ws.d.ts +6 -0
  248. package/core/websocket/ws.js +14 -1
  249. package/errors/MavenAGIError.d.ts +1 -0
  250. package/errors/MavenAGIError.js +5 -1
  251. package/errors/MavenAGITimeoutError.d.ts +2 -2
  252. package/errors/MavenAGITimeoutError.js +40 -6
  253. package/package.json +2 -2
  254. package/reference.md +1170 -126
  255. package/serialization/resources/capabilities/client/index.d.ts +1 -0
  256. package/serialization/resources/capabilities/client/index.js +17 -0
  257. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +21 -0
  258. package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +55 -0
  259. package/serialization/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.d.ts +10 -0
  260. package/serialization/resources/capabilities/client/requests/PatchCapabilityByTypeRequest.js +42 -0
  261. package/serialization/resources/capabilities/client/requests/index.d.ts +2 -0
  262. package/serialization/resources/capabilities/client/requests/index.js +7 -0
  263. package/serialization/resources/capabilities/index.d.ts +2 -0
  264. package/serialization/resources/capabilities/index.js +18 -0
  265. package/serialization/resources/capabilities/types/CapabilitiesSearchResponse.d.ts +11 -0
  266. package/serialization/resources/capabilities/types/CapabilitiesSearchResponse.js +45 -0
  267. package/serialization/resources/capabilities/types/CapabilityResponse.d.ts +23 -0
  268. package/serialization/resources/capabilities/types/CapabilityResponse.js +53 -0
  269. package/serialization/resources/capabilities/types/CapabilitySortField.d.ts +7 -0
  270. package/serialization/resources/{intelligentFields/types/IntelligentFieldStatus.js → capabilities/types/CapabilitySortField.js} +2 -2
  271. package/serialization/resources/capabilities/types/CapabilitySummary.d.ts +13 -0
  272. package/serialization/resources/capabilities/types/CapabilitySummary.js +47 -0
  273. package/serialization/resources/capabilities/types/index.d.ts +4 -0
  274. package/serialization/resources/capabilities/types/index.js +20 -0
  275. package/serialization/resources/charters/client/index.d.ts +1 -0
  276. package/serialization/resources/charters/client/index.js +17 -0
  277. package/serialization/resources/charters/client/requests/CharterPatchRequest.d.ts +24 -0
  278. package/serialization/resources/charters/client/requests/CharterPatchRequest.js +57 -0
  279. package/serialization/resources/charters/client/requests/index.d.ts +1 -0
  280. package/serialization/resources/charters/client/requests/index.js +5 -0
  281. package/serialization/resources/charters/index.d.ts +1 -0
  282. package/serialization/resources/charters/index.js +1 -0
  283. package/serialization/resources/charters/types/CharterAncestorsResponse.d.ts +10 -0
  284. package/serialization/resources/charters/types/CharterAncestorsResponse.js +42 -0
  285. package/serialization/resources/charters/types/CharterBase.d.ts +11 -0
  286. package/serialization/resources/charters/types/CharterBase.js +43 -0
  287. package/serialization/resources/charters/types/CharterChildrenGroup.d.ts +13 -0
  288. package/serialization/resources/charters/types/CharterChildrenGroup.js +45 -0
  289. package/serialization/resources/charters/types/CharterContent.d.ts +19 -0
  290. package/serialization/resources/charters/types/CharterContent.js +54 -0
  291. package/serialization/resources/charters/types/CharterKnowledgeBaseReference.d.ts +11 -0
  292. package/serialization/resources/charters/types/CharterKnowledgeBaseReference.js +44 -0
  293. package/serialization/resources/charters/types/CharterListChildrenRequest.d.ts +11 -0
  294. package/serialization/resources/charters/types/CharterListChildrenRequest.js +45 -0
  295. package/serialization/resources/charters/types/CharterListChildrenResponse.d.ts +11 -0
  296. package/serialization/resources/charters/types/CharterListChildrenResponse.js +45 -0
  297. package/serialization/resources/charters/types/CharterPatchReferences.d.ts +12 -0
  298. package/serialization/resources/charters/types/CharterPatchReferences.js +44 -0
  299. package/serialization/resources/charters/types/CharterReferences.d.ts +12 -0
  300. package/serialization/resources/charters/types/CharterReferences.js +44 -0
  301. package/serialization/resources/charters/types/CharterRequest.d.ts +13 -0
  302. package/serialization/resources/charters/types/CharterRequest.js +47 -0
  303. package/serialization/resources/charters/types/CharterResponse.d.ts +25 -0
  304. package/serialization/resources/charters/types/CharterResponse.js +60 -0
  305. package/serialization/resources/charters/types/CharterSearchField.d.ts +7 -0
  306. package/serialization/resources/charters/types/CharterSearchField.js +39 -0
  307. package/serialization/resources/charters/types/CharterSearchFilter.d.ts +12 -0
  308. package/serialization/resources/charters/types/CharterSearchFilter.js +44 -0
  309. package/serialization/resources/charters/types/CharterSearchRequest.d.ts +13 -0
  310. package/serialization/resources/charters/types/CharterSearchRequest.js +47 -0
  311. package/serialization/resources/charters/types/CharterSearchResponse.d.ts +11 -0
  312. package/serialization/resources/charters/types/CharterSearchResponse.js +45 -0
  313. package/serialization/resources/charters/types/CharterSummary.d.ts +0 -2
  314. package/serialization/resources/charters/types/CharterSummary.js +0 -2
  315. package/serialization/resources/charters/types/index.d.ts +15 -0
  316. package/serialization/resources/charters/types/index.js +15 -0
  317. package/serialization/resources/commons/types/ActionResponse.d.ts +3 -2
  318. package/serialization/resources/commons/types/ActionResponse.js +4 -2
  319. package/serialization/resources/commons/types/BaseConversationResponse.d.ts +1 -0
  320. package/serialization/resources/commons/types/BaseConversationResponse.js +1 -0
  321. package/serialization/resources/commons/types/CapabilityBase.d.ts +14 -0
  322. package/serialization/resources/commons/types/CapabilityBase.js +46 -0
  323. package/serialization/resources/{intelligentFields/types/IntelligentFieldStatus.d.ts → commons/types/CapabilityStatus.d.ts} +2 -2
  324. package/serialization/resources/commons/types/CapabilityStatus.js +39 -0
  325. package/serialization/resources/commons/types/CapabilityType.d.ts +7 -0
  326. package/serialization/resources/commons/types/CapabilityType.js +39 -0
  327. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  328. package/serialization/resources/commons/types/EntityType.js +1 -1
  329. package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -0
  330. package/serialization/resources/commons/types/ErrorMessage.js +2 -0
  331. package/serialization/resources/commons/types/ErrorReason.d.ts +7 -0
  332. package/serialization/resources/commons/types/ErrorReason.js +49 -0
  333. package/serialization/resources/commons/types/MetadataComparisonCondition.d.ts +11 -0
  334. package/serialization/resources/commons/types/MetadataComparisonCondition.js +43 -0
  335. package/serialization/resources/commons/types/MetadataComparisonOperator.d.ts +7 -0
  336. package/serialization/resources/commons/types/MetadataComparisonOperator.js +39 -0
  337. package/serialization/resources/commons/types/MetadataCondition.d.ts +19 -0
  338. package/serialization/resources/commons/types/MetadataCondition.js +51 -0
  339. package/serialization/resources/commons/types/MetadataEntryCondition.d.ts +11 -0
  340. package/serialization/resources/commons/types/MetadataEntryCondition.js +43 -0
  341. package/serialization/resources/commons/types/MetadataFilter.d.ts +14 -0
  342. package/serialization/resources/commons/types/MetadataFilter.js +49 -0
  343. package/serialization/resources/commons/types/MetadataFilterGroup.d.ts +11 -0
  344. package/serialization/resources/commons/types/MetadataFilterGroup.js +44 -0
  345. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  346. package/serialization/resources/commons/types/SystemEventName.js +1 -0
  347. package/serialization/resources/commons/types/index.d.ts +10 -0
  348. package/serialization/resources/commons/types/index.js +10 -0
  349. package/serialization/resources/conversationKickoffs/client/index.d.ts +1 -0
  350. package/serialization/resources/conversationKickoffs/client/index.js +17 -0
  351. package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +12 -0
  352. package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +44 -0
  353. package/serialization/resources/conversationKickoffs/client/requests/index.d.ts +1 -0
  354. package/serialization/resources/conversationKickoffs/client/requests/index.js +5 -0
  355. package/serialization/resources/conversationKickoffs/index.d.ts +2 -0
  356. package/serialization/resources/conversationKickoffs/index.js +18 -0
  357. package/serialization/resources/conversationKickoffs/types/ConversationKickoff.d.ts +11 -0
  358. package/serialization/resources/conversationKickoffs/types/ConversationKickoff.js +45 -0
  359. package/serialization/resources/conversationKickoffs/types/index.d.ts +1 -0
  360. package/serialization/resources/conversationKickoffs/types/index.js +17 -0
  361. package/serialization/resources/index.d.ts +7 -0
  362. package/serialization/resources/index.js +8 -1
  363. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +3 -2
  364. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +3 -2
  365. package/serialization/resources/intelligentFields/types/EnumOption.d.ts +1 -0
  366. package/serialization/resources/intelligentFields/types/EnumOption.js +1 -0
  367. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +0 -2
  368. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +0 -2
  369. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +2 -0
  370. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +2 -0
  371. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +2 -5
  372. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -5
  373. package/serialization/resources/intelligentFields/types/index.d.ts +0 -1
  374. package/serialization/resources/intelligentFields/types/index.js +0 -1
  375. package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +2 -0
  376. package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +2 -0
  377. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +0 -2
  378. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +0 -2
  379. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +2 -0
  380. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +2 -0
  381. package/serialization/resources/triggers/types/EventTriggerBase.d.ts +0 -2
  382. package/serialization/resources/triggers/types/EventTriggerBase.js +0 -2
  383. package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -0
  384. package/serialization/resources/triggers/types/EventTriggerRequest.js +2 -0
  385. package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -1
  386. package/serialization/resources/triggers/types/EventTriggerResponse.js +3 -1
  387. package/version.d.ts +1 -1
  388. package/version.js +1 -1
  389. package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +0 -7
  390. package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +0 -10
package/reference.md CHANGED
@@ -4,6 +4,22 @@
4
4
  <dl>
5
5
  <dd>
6
6
 
7
+ #### 📝 Description
8
+
9
+ <dl>
10
+ <dd>
11
+
12
+ <dl>
13
+ <dd>
14
+
15
+ Deprecated. Use `POST /v1/capabilities/search`, which searches every kind of capability
16
+ at once. It returns the fields every capability shares rather than the whole Action;
17
+ fetch one by its kind and reference ID for the rest.
18
+ </dd>
19
+ </dl>
20
+ </dd>
21
+ </dl>
22
+
7
23
  #### 🔌 Usage
8
24
 
9
25
  <dl>
@@ -144,6 +160,9 @@ await client.actions.createOrUpdate({
144
160
  <dl>
145
161
  <dd>
146
162
 
163
+ Deprecated. Use `GET /v1/capabilities/ACTION/{referenceId}`, which returns this same
164
+ object for an action and the equivalent for every other kind of capability.
165
+
147
166
  Get an action by its supplied ID
148
167
  </dd>
149
168
  </dl>
@@ -299,6 +318,9 @@ await client.actions.patch("get-balance", {
299
318
  <dl>
300
319
  <dd>
301
320
 
321
+ Deprecated. Use `DELETE /v1/capabilities/ACTION/{referenceId}`, which deletes any kind of
322
+ capability the same way.
323
+
302
324
  Delete an action
303
325
  </dd>
304
326
  </dl>
@@ -1253,7 +1275,828 @@ await client.analytics.getEventTable({
1253
1275
  <dl>
1254
1276
  <dd>
1255
1277
 
1256
- **request:** `MavenAGI.EventTableRequest`
1278
+ **request:** `MavenAGI.EventTableRequest`
1279
+
1280
+ </dd>
1281
+ </dl>
1282
+
1283
+ <dl>
1284
+ <dd>
1285
+
1286
+ **requestOptions:** `AnalyticsClient.RequestOptions`
1287
+
1288
+ </dd>
1289
+ </dl>
1290
+ </dd>
1291
+ </dl>
1292
+
1293
+
1294
+ </dd>
1295
+ </dl>
1296
+ </details>
1297
+
1298
+ <details><summary><code>client.analytics.<a href="/src/api/resources/analytics/client/Client.ts">getEventChart</a>({ ...params }) -> MavenAGI.ChartResponse</code></summary>
1299
+ <dl>
1300
+ <dd>
1301
+
1302
+ #### 📝 Description
1303
+
1304
+ <dl>
1305
+ <dd>
1306
+
1307
+ <dl>
1308
+ <dd>
1309
+
1310
+ Fetches event data visualized in a chart format. Supported chart types include pie chart, date histogram, and stacked bar charts.
1311
+ </dd>
1312
+ </dl>
1313
+ </dd>
1314
+ </dl>
1315
+
1316
+ #### 🔌 Usage
1317
+
1318
+ <dl>
1319
+ <dd>
1320
+
1321
+ <dl>
1322
+ <dd>
1323
+
1324
+ ```typescript
1325
+ await client.analytics.getEventChart({
1326
+ type: "pieChart",
1327
+ eventFilter: {
1328
+ eventTypes: ["USER"]
1329
+ },
1330
+ groupBy: {
1331
+ field: "EVENT_NAME"
1332
+ },
1333
+ metric: {
1334
+ type: "count"
1335
+ }
1336
+ });
1337
+
1338
+ ```
1339
+ </dd>
1340
+ </dl>
1341
+ </dd>
1342
+ </dl>
1343
+
1344
+ #### ⚙️ Parameters
1345
+
1346
+ <dl>
1347
+ <dd>
1348
+
1349
+ <dl>
1350
+ <dd>
1351
+
1352
+ **request:** `MavenAGI.EventChartRequest`
1353
+
1354
+ </dd>
1355
+ </dl>
1356
+
1357
+ <dl>
1358
+ <dd>
1359
+
1360
+ **requestOptions:** `AnalyticsClient.RequestOptions`
1361
+
1362
+ </dd>
1363
+ </dl>
1364
+ </dd>
1365
+ </dl>
1366
+
1367
+
1368
+ </dd>
1369
+ </dl>
1370
+ </details>
1371
+
1372
+ ## AppDirectory
1373
+ <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">search</a>({ ...params }) -> MavenAGI.AppsResponse</code></summary>
1374
+ <dl>
1375
+ <dd>
1376
+
1377
+ #### 📝 Description
1378
+
1379
+ <dl>
1380
+ <dd>
1381
+
1382
+ <dl>
1383
+ <dd>
1384
+
1385
+ Lists apps available to install on the agent, with filtering and pagination.
1386
+ </dd>
1387
+ </dl>
1388
+ </dd>
1389
+ </dl>
1390
+
1391
+ #### 🔌 Usage
1392
+
1393
+ <dl>
1394
+ <dd>
1395
+
1396
+ <dl>
1397
+ <dd>
1398
+
1399
+ ```typescript
1400
+ await client.appDirectory.search({});
1401
+
1402
+ ```
1403
+ </dd>
1404
+ </dl>
1405
+ </dd>
1406
+ </dl>
1407
+
1408
+ #### ⚙️ Parameters
1409
+
1410
+ <dl>
1411
+ <dd>
1412
+
1413
+ <dl>
1414
+ <dd>
1415
+
1416
+ **request:** `MavenAGI.DirectoryAppsSearchRequest`
1417
+
1418
+ </dd>
1419
+ </dl>
1420
+
1421
+ <dl>
1422
+ <dd>
1423
+
1424
+ **requestOptions:** `AppDirectoryClient.RequestOptions`
1425
+
1426
+ </dd>
1427
+ </dl>
1428
+ </dd>
1429
+ </dl>
1430
+
1431
+
1432
+ </dd>
1433
+ </dl>
1434
+ </details>
1435
+
1436
+ <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">get</a>(appId) -> MavenAGI.MarketplaceAppDetail</code></summary>
1437
+ <dl>
1438
+ <dd>
1439
+
1440
+ #### 📝 Description
1441
+
1442
+ <dl>
1443
+ <dd>
1444
+
1445
+ <dl>
1446
+ <dd>
1447
+
1448
+ Gets an app and its installation status for the agent.
1449
+ </dd>
1450
+ </dl>
1451
+ </dd>
1452
+ </dl>
1453
+
1454
+ #### 🔌 Usage
1455
+
1456
+ <dl>
1457
+ <dd>
1458
+
1459
+ <dl>
1460
+ <dd>
1461
+
1462
+ ```typescript
1463
+ await client.appDirectory.get("appId");
1464
+
1465
+ ```
1466
+ </dd>
1467
+ </dl>
1468
+ </dd>
1469
+ </dl>
1470
+
1471
+ #### ⚙️ Parameters
1472
+
1473
+ <dl>
1474
+ <dd>
1475
+
1476
+ <dl>
1477
+ <dd>
1478
+
1479
+ **appId:** `string`
1480
+
1481
+ </dd>
1482
+ </dl>
1483
+
1484
+ <dl>
1485
+ <dd>
1486
+
1487
+ **requestOptions:** `AppDirectoryClient.RequestOptions`
1488
+
1489
+ </dd>
1490
+ </dl>
1491
+ </dd>
1492
+ </dl>
1493
+
1494
+
1495
+ </dd>
1496
+ </dl>
1497
+ </details>
1498
+
1499
+ <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">install</a>(appId, { ...params }) -> void</code></summary>
1500
+ <dl>
1501
+ <dd>
1502
+
1503
+ #### 📝 Description
1504
+
1505
+ <dl>
1506
+ <dd>
1507
+
1508
+ <dl>
1509
+ <dd>
1510
+
1511
+ Installs the app on the agent, or updates settings for an existing installation. Re-runs the postInstall lifecycle hook on each call.
1512
+ </dd>
1513
+ </dl>
1514
+ </dd>
1515
+ </dl>
1516
+
1517
+ #### 🔌 Usage
1518
+
1519
+ <dl>
1520
+ <dd>
1521
+
1522
+ <dl>
1523
+ <dd>
1524
+
1525
+ ```typescript
1526
+ await client.appDirectory.install("appId", {
1527
+ settings: {
1528
+ "key": "value"
1529
+ }
1530
+ });
1531
+
1532
+ ```
1533
+ </dd>
1534
+ </dl>
1535
+ </dd>
1536
+ </dl>
1537
+
1538
+ #### ⚙️ Parameters
1539
+
1540
+ <dl>
1541
+ <dd>
1542
+
1543
+ <dl>
1544
+ <dd>
1545
+
1546
+ **appId:** `string`
1547
+
1548
+ </dd>
1549
+ </dl>
1550
+
1551
+ <dl>
1552
+ <dd>
1553
+
1554
+ **request:** `MavenAGI.InstallDirectoryAppRequest`
1555
+
1556
+ </dd>
1557
+ </dl>
1558
+
1559
+ <dl>
1560
+ <dd>
1561
+
1562
+ **requestOptions:** `AppDirectoryClient.RequestOptions`
1563
+
1564
+ </dd>
1565
+ </dl>
1566
+ </dd>
1567
+ </dl>
1568
+
1569
+
1570
+ </dd>
1571
+ </dl>
1572
+ </details>
1573
+
1574
+ <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">uninstall</a>(appId) -> void</code></summary>
1575
+ <dl>
1576
+ <dd>
1577
+
1578
+ #### 📝 Description
1579
+
1580
+ <dl>
1581
+ <dd>
1582
+
1583
+ <dl>
1584
+ <dd>
1585
+
1586
+ Uninstalls the app from the agent.
1587
+ </dd>
1588
+ </dl>
1589
+ </dd>
1590
+ </dl>
1591
+
1592
+ #### 🔌 Usage
1593
+
1594
+ <dl>
1595
+ <dd>
1596
+
1597
+ <dl>
1598
+ <dd>
1599
+
1600
+ ```typescript
1601
+ await client.appDirectory.uninstall("appId");
1602
+
1603
+ ```
1604
+ </dd>
1605
+ </dl>
1606
+ </dd>
1607
+ </dl>
1608
+
1609
+ #### ⚙️ Parameters
1610
+
1611
+ <dl>
1612
+ <dd>
1613
+
1614
+ <dl>
1615
+ <dd>
1616
+
1617
+ **appId:** `string`
1618
+
1619
+ </dd>
1620
+ </dl>
1621
+
1622
+ <dl>
1623
+ <dd>
1624
+
1625
+ **requestOptions:** `AppDirectoryClient.RequestOptions`
1626
+
1627
+ </dd>
1628
+ </dl>
1629
+ </dd>
1630
+ </dl>
1631
+
1632
+
1633
+ </dd>
1634
+ </dl>
1635
+ </details>
1636
+
1637
+ <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">getSettingDownloadUrl</a>(appId, settingsKey) -> MavenAGI.GetDirectoryAppSettingDownloadUrlResponse</code></summary>
1638
+ <dl>
1639
+ <dd>
1640
+
1641
+ #### 📝 Description
1642
+
1643
+ <dl>
1644
+ <dd>
1645
+
1646
+ <dl>
1647
+ <dd>
1648
+
1649
+ Gets a url for downloading a file app setting.
1650
+ </dd>
1651
+ </dl>
1652
+ </dd>
1653
+ </dl>
1654
+
1655
+ #### 🔌 Usage
1656
+
1657
+ <dl>
1658
+ <dd>
1659
+
1660
+ <dl>
1661
+ <dd>
1662
+
1663
+ ```typescript
1664
+ await client.appDirectory.getSettingDownloadUrl("appId", "settingsKey");
1665
+
1666
+ ```
1667
+ </dd>
1668
+ </dl>
1669
+ </dd>
1670
+ </dl>
1671
+
1672
+ #### ⚙️ Parameters
1673
+
1674
+ <dl>
1675
+ <dd>
1676
+
1677
+ <dl>
1678
+ <dd>
1679
+
1680
+ **appId:** `string`
1681
+
1682
+ </dd>
1683
+ </dl>
1684
+
1685
+ <dl>
1686
+ <dd>
1687
+
1688
+ **settingsKey:** `string`
1689
+
1690
+ </dd>
1691
+ </dl>
1692
+
1693
+ <dl>
1694
+ <dd>
1695
+
1696
+ **requestOptions:** `AppDirectoryClient.RequestOptions`
1697
+
1698
+ </dd>
1699
+ </dl>
1700
+ </dd>
1701
+ </dl>
1702
+
1703
+
1704
+ </dd>
1705
+ </dl>
1706
+ </details>
1707
+
1708
+ <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">getSettingUploadUrl</a>(appId, settingsKey, { ...params }) -> MavenAGI.GetDirectoryAppSettingUploadUrlResponse</code></summary>
1709
+ <dl>
1710
+ <dd>
1711
+
1712
+ #### 📝 Description
1713
+
1714
+ <dl>
1715
+ <dd>
1716
+
1717
+ <dl>
1718
+ <dd>
1719
+
1720
+ Gets a presigned url for uploading a file app setting before installation.
1721
+ </dd>
1722
+ </dl>
1723
+ </dd>
1724
+ </dl>
1725
+
1726
+ #### 🔌 Usage
1727
+
1728
+ <dl>
1729
+ <dd>
1730
+
1731
+ <dl>
1732
+ <dd>
1733
+
1734
+ ```typescript
1735
+ await client.appDirectory.getSettingUploadUrl("appId", "settingsKey", {
1736
+ contentLength: 1,
1737
+ contentType: "contentType"
1738
+ });
1739
+
1740
+ ```
1741
+ </dd>
1742
+ </dl>
1743
+ </dd>
1744
+ </dl>
1745
+
1746
+ #### ⚙️ Parameters
1747
+
1748
+ <dl>
1749
+ <dd>
1750
+
1751
+ <dl>
1752
+ <dd>
1753
+
1754
+ **appId:** `string`
1755
+
1756
+ </dd>
1757
+ </dl>
1758
+
1759
+ <dl>
1760
+ <dd>
1761
+
1762
+ **settingsKey:** `string`
1763
+
1764
+ </dd>
1765
+ </dl>
1766
+
1767
+ <dl>
1768
+ <dd>
1769
+
1770
+ **request:** `MavenAGI.GetAppSettingUploadUrlRequest`
1771
+
1772
+ </dd>
1773
+ </dl>
1774
+
1775
+ <dl>
1776
+ <dd>
1777
+
1778
+ **requestOptions:** `AppDirectoryClient.RequestOptions`
1779
+
1780
+ </dd>
1781
+ </dl>
1782
+ </dd>
1783
+ </dl>
1784
+
1785
+
1786
+ </dd>
1787
+ </dl>
1788
+ </details>
1789
+
1790
+ ## AppSettings
1791
+ <details><summary><code>client.appSettings.<a href="/src/api/resources/appSettings/client/Client.ts">search</a>({ ...params }) -> MavenAGI.SearchAppSettingsResponse</code></summary>
1792
+ <dl>
1793
+ <dd>
1794
+
1795
+ #### 📝 Description
1796
+
1797
+ <dl>
1798
+ <dd>
1799
+
1800
+ <dl>
1801
+ <dd>
1802
+
1803
+ Search for app settings which have the `$index` key set to the provided value.
1804
+
1805
+ You can set the `$index` key using the Update app settings API.
1806
+
1807
+ <Warning>This API currently requires an organization ID and agent ID for any agent which is installed on the app. This requirement will be removed in a future update.</Warning>
1808
+ </dd>
1809
+ </dl>
1810
+ </dd>
1811
+ </dl>
1812
+
1813
+ #### 🔌 Usage
1814
+
1815
+ <dl>
1816
+ <dd>
1817
+
1818
+ <dl>
1819
+ <dd>
1820
+
1821
+ ```typescript
1822
+ await client.appSettings.search({
1823
+ index: "index"
1824
+ });
1825
+
1826
+ ```
1827
+ </dd>
1828
+ </dl>
1829
+ </dd>
1830
+ </dl>
1831
+
1832
+ #### ⚙️ Parameters
1833
+
1834
+ <dl>
1835
+ <dd>
1836
+
1837
+ <dl>
1838
+ <dd>
1839
+
1840
+ **request:** `MavenAGI.SearchAppSettingsRequest`
1841
+
1842
+ </dd>
1843
+ </dl>
1844
+
1845
+ <dl>
1846
+ <dd>
1847
+
1848
+ **requestOptions:** `AppSettingsClient.RequestOptions`
1849
+
1850
+ </dd>
1851
+ </dl>
1852
+ </dd>
1853
+ </dl>
1854
+
1855
+
1856
+ </dd>
1857
+ </dl>
1858
+ </details>
1859
+
1860
+ <details><summary><code>client.appSettings.<a href="/src/api/resources/appSettings/client/Client.ts">get</a>() -> Record&lt;string, unknown&gt;</code></summary>
1861
+ <dl>
1862
+ <dd>
1863
+
1864
+ #### 📝 Description
1865
+
1866
+ <dl>
1867
+ <dd>
1868
+
1869
+ <dl>
1870
+ <dd>
1871
+
1872
+ Get app settings set during installation
1873
+ </dd>
1874
+ </dl>
1875
+ </dd>
1876
+ </dl>
1877
+
1878
+ #### 🔌 Usage
1879
+
1880
+ <dl>
1881
+ <dd>
1882
+
1883
+ <dl>
1884
+ <dd>
1885
+
1886
+ ```typescript
1887
+ await client.appSettings.get();
1888
+
1889
+ ```
1890
+ </dd>
1891
+ </dl>
1892
+ </dd>
1893
+ </dl>
1894
+
1895
+ #### ⚙️ Parameters
1896
+
1897
+ <dl>
1898
+ <dd>
1899
+
1900
+ <dl>
1901
+ <dd>
1902
+
1903
+ **requestOptions:** `AppSettingsClient.RequestOptions`
1904
+
1905
+ </dd>
1906
+ </dl>
1907
+ </dd>
1908
+ </dl>
1909
+
1910
+
1911
+ </dd>
1912
+ </dl>
1913
+ </details>
1914
+
1915
+ <details><summary><code>client.appSettings.<a href="/src/api/resources/appSettings/client/Client.ts">update</a>({ ...params }) -> Record&lt;string, unknown&gt;</code></summary>
1916
+ <dl>
1917
+ <dd>
1918
+
1919
+ #### 📝 Description
1920
+
1921
+ <dl>
1922
+ <dd>
1923
+
1924
+ <dl>
1925
+ <dd>
1926
+
1927
+ Update app settings. Performs a merge of the provided settings with the existing app settings.
1928
+
1929
+ - If a new key is provided, it will be added to the app settings.
1930
+ - If an existing key is provided, it will be updated.
1931
+ - No keys will be removed.
1932
+
1933
+ Note that if an array value is provided it will fully replace an existing value as arrays cannot be merged.
1934
+ </dd>
1935
+ </dl>
1936
+ </dd>
1937
+ </dl>
1938
+
1939
+ #### 🔌 Usage
1940
+
1941
+ <dl>
1942
+ <dd>
1943
+
1944
+ <dl>
1945
+ <dd>
1946
+
1947
+ ```typescript
1948
+ await client.appSettings.update({
1949
+ "string": {
1950
+ "key": "value"
1951
+ }
1952
+ });
1953
+
1954
+ ```
1955
+ </dd>
1956
+ </dl>
1957
+ </dd>
1958
+ </dl>
1959
+
1960
+ #### ⚙️ Parameters
1961
+
1962
+ <dl>
1963
+ <dd>
1964
+
1965
+ <dl>
1966
+ <dd>
1967
+
1968
+ **request:** `Record<string, unknown>`
1969
+
1970
+ </dd>
1971
+ </dl>
1972
+
1973
+ <dl>
1974
+ <dd>
1975
+
1976
+ **requestOptions:** `AppSettingsClient.RequestOptions`
1977
+
1978
+ </dd>
1979
+ </dl>
1980
+ </dd>
1981
+ </dl>
1982
+
1983
+
1984
+ </dd>
1985
+ </dl>
1986
+ </details>
1987
+
1988
+ ## Assets
1989
+ <details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">initiateUpload</a>({ ...params }) -> MavenAGI.InitiateAssetUploadResponse</code></summary>
1990
+ <dl>
1991
+ <dd>
1992
+
1993
+ #### 📝 Description
1994
+
1995
+ <dl>
1996
+ <dd>
1997
+
1998
+ <dl>
1999
+ <dd>
2000
+
2001
+ Initiate an upload.
2002
+ Returns a pre-signed URL for direct file upload and an asset ID for subsequent operations.
2003
+ </dd>
2004
+ </dl>
2005
+ </dd>
2006
+ </dl>
2007
+
2008
+ #### 🔌 Usage
2009
+
2010
+ <dl>
2011
+ <dd>
2012
+
2013
+ <dl>
2014
+ <dd>
2015
+
2016
+ ```typescript
2017
+ await client.assets.initiateUpload({
2018
+ type: "type"
2019
+ });
2020
+
2021
+ ```
2022
+ </dd>
2023
+ </dl>
2024
+ </dd>
2025
+ </dl>
2026
+
2027
+ #### ⚙️ Parameters
2028
+
2029
+ <dl>
2030
+ <dd>
2031
+
2032
+ <dl>
2033
+ <dd>
2034
+
2035
+ **request:** `MavenAGI.InitiateAssetUploadRequest`
2036
+
2037
+ </dd>
2038
+ </dl>
2039
+
2040
+ <dl>
2041
+ <dd>
2042
+
2043
+ **requestOptions:** `AssetsClient.RequestOptions`
2044
+
2045
+ </dd>
2046
+ </dl>
2047
+ </dd>
2048
+ </dl>
2049
+
2050
+
2051
+ </dd>
2052
+ </dl>
2053
+ </details>
2054
+
2055
+ <details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">commitUpload</a>(assetReferenceId, { ...params }) -> void</code></summary>
2056
+ <dl>
2057
+ <dd>
2058
+
2059
+ #### 📝 Description
2060
+
2061
+ <dl>
2062
+ <dd>
2063
+
2064
+ <dl>
2065
+ <dd>
2066
+
2067
+ Commit an upload after successful file transfer.
2068
+ Updates the asset status and makes it available for use.
2069
+ </dd>
2070
+ </dl>
2071
+ </dd>
2072
+ </dl>
2073
+
2074
+ #### 🔌 Usage
2075
+
2076
+ <dl>
2077
+ <dd>
2078
+
2079
+ <dl>
2080
+ <dd>
2081
+
2082
+ ```typescript
2083
+ await client.assets.commitUpload("assetReferenceId", {});
2084
+
2085
+ ```
2086
+ </dd>
2087
+ </dl>
2088
+ </dd>
2089
+ </dl>
2090
+
2091
+ #### ⚙️ Parameters
2092
+
2093
+ <dl>
2094
+ <dd>
2095
+
2096
+ <dl>
2097
+ <dd>
2098
+
2099
+ **assetReferenceId:** `string` — The reference ID of the asset to commit (provided by the initiate call). All other entity ID fields are inferred from the API request.
1257
2100
 
1258
2101
  </dd>
1259
2102
  </dl>
@@ -1261,7 +2104,15 @@ await client.analytics.getEventTable({
1261
2104
  <dl>
1262
2105
  <dd>
1263
2106
 
1264
- **requestOptions:** `AnalyticsClient.RequestOptions`
2107
+ **request:** `MavenAGI.CommitAssetUploadRequest`
2108
+
2109
+ </dd>
2110
+ </dl>
2111
+
2112
+ <dl>
2113
+ <dd>
2114
+
2115
+ **requestOptions:** `AssetsClient.RequestOptions`
1265
2116
 
1266
2117
  </dd>
1267
2118
  </dl>
@@ -1273,7 +2124,8 @@ await client.analytics.getEventTable({
1273
2124
  </dl>
1274
2125
  </details>
1275
2126
 
1276
- <details><summary><code>client.analytics.<a href="/src/api/resources/analytics/client/Client.ts">getEventChart</a>({ ...params }) -> MavenAGI.ChartResponse</code></summary>
2127
+ ## Capabilities
2128
+ <details><summary><code>client.capabilities.<a href="/src/api/resources/capabilities/client/Client.ts">getCapability</a>(capabilityType, referenceId, { ...params }) -> MavenAGI.CapabilityResponse</code></summary>
1277
2129
  <dl>
1278
2130
  <dd>
1279
2131
 
@@ -1285,7 +2137,12 @@ await client.analytics.getEventTable({
1285
2137
  <dl>
1286
2138
  <dd>
1287
2139
 
1288
- Fetches event data visualized in a chart format. Supported chart types include pie chart, date histogram, and stacked bar charts.
2140
+ Fetch one of an agent's capabilities by its type and reference ID.
2141
+
2142
+ The response carries the same fields the capability's own API returns, so an Action read
2143
+ here and an Action read from the Actions API are the same object. Intelligent Fields are the
2144
+ one exception: their own API also returns the charters referencing the field, which this
2145
+ endpoint leaves out.
1289
2146
  </dd>
1290
2147
  </dl>
1291
2148
  </dd>
@@ -1300,18 +2157,7 @@ Fetches event data visualized in a chart format. Supported chart types include p
1300
2157
  <dd>
1301
2158
 
1302
2159
  ```typescript
1303
- await client.analytics.getEventChart({
1304
- type: "pieChart",
1305
- eventFilter: {
1306
- eventTypes: ["USER"]
1307
- },
1308
- groupBy: {
1309
- field: "EVENT_NAME"
1310
- },
1311
- metric: {
1312
- type: "count"
1313
- }
1314
- });
2160
+ await client.capabilities.getCapability("ACTION", "referenceId");
1315
2161
 
1316
2162
  ```
1317
2163
  </dd>
@@ -1327,7 +2173,7 @@ await client.analytics.getEventChart({
1327
2173
  <dl>
1328
2174
  <dd>
1329
2175
 
1330
- **request:** `MavenAGI.EventChartRequest`
2176
+ **capabilityType:** `MavenAGI.CapabilityType` — Which kind of capability to fetch.
1331
2177
 
1332
2178
  </dd>
1333
2179
  </dl>
@@ -1335,7 +2181,23 @@ await client.analytics.getEventChart({
1335
2181
  <dl>
1336
2182
  <dd>
1337
2183
 
1338
- **requestOptions:** `AnalyticsClient.RequestOptions`
2184
+ **referenceId:** `string` — The capability's reference ID, unique within its type and app.
2185
+
2186
+ </dd>
2187
+ </dl>
2188
+
2189
+ <dl>
2190
+ <dd>
2191
+
2192
+ **request:** `MavenAGI.GetCapabilityByTypeRequest`
2193
+
2194
+ </dd>
2195
+ </dl>
2196
+
2197
+ <dl>
2198
+ <dd>
2199
+
2200
+ **requestOptions:** `CapabilitiesClient.RequestOptions`
1339
2201
 
1340
2202
  </dd>
1341
2203
  </dl>
@@ -1347,8 +2209,7 @@ await client.analytics.getEventChart({
1347
2209
  </dl>
1348
2210
  </details>
1349
2211
 
1350
- ## AppDirectory
1351
- <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">search</a>({ ...params }) -> MavenAGI.AppsResponse</code></summary>
2212
+ <details><summary><code>client.capabilities.<a href="/src/api/resources/capabilities/client/Client.ts">patchCapability</a>(capabilityType, referenceId, { ...params }) -> MavenAGI.CapabilityResponse</code></summary>
1352
2213
  <dl>
1353
2214
  <dd>
1354
2215
 
@@ -1360,7 +2221,11 @@ await client.analytics.getEventChart({
1360
2221
  <dl>
1361
2222
  <dd>
1362
2223
 
1363
- Lists apps available to install on the agent, with filtering and pagination.
2224
+ Set whether the agent uses a capability, whatever kind it is. This is the publish and
2225
+ unpublish operation, and it works the same way for every capability type.
2226
+
2227
+ Everything else about a capability -- its name, its description, and any settings
2228
+ particular to its kind -- is changed through that capability's own API.
1364
2229
  </dd>
1365
2230
  </dl>
1366
2231
  </dd>
@@ -1375,7 +2240,7 @@ Lists apps available to install on the agent, with filtering and pagination.
1375
2240
  <dd>
1376
2241
 
1377
2242
  ```typescript
1378
- await client.appDirectory.search({});
2243
+ await client.capabilities.patchCapability("ACTION", "referenceId");
1379
2244
 
1380
2245
  ```
1381
2246
  </dd>
@@ -1391,7 +2256,7 @@ await client.appDirectory.search({});
1391
2256
  <dl>
1392
2257
  <dd>
1393
2258
 
1394
- **request:** `MavenAGI.DirectoryAppsSearchRequest`
2259
+ **capabilityType:** `MavenAGI.CapabilityType` — Which kind of capability to update.
1395
2260
 
1396
2261
  </dd>
1397
2262
  </dl>
@@ -1399,7 +2264,23 @@ await client.appDirectory.search({});
1399
2264
  <dl>
1400
2265
  <dd>
1401
2266
 
1402
- **requestOptions:** `AppDirectoryClient.RequestOptions`
2267
+ **referenceId:** `string` — The capability's reference ID, unique within its type and app.
2268
+
2269
+ </dd>
2270
+ </dl>
2271
+
2272
+ <dl>
2273
+ <dd>
2274
+
2275
+ **request:** `MavenAGI.PatchCapabilityByTypeRequest`
2276
+
2277
+ </dd>
2278
+ </dl>
2279
+
2280
+ <dl>
2281
+ <dd>
2282
+
2283
+ **requestOptions:** `CapabilitiesClient.RequestOptions`
1403
2284
 
1404
2285
  </dd>
1405
2286
  </dl>
@@ -1411,7 +2292,7 @@ await client.appDirectory.search({});
1411
2292
  </dl>
1412
2293
  </details>
1413
2294
 
1414
- <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">get</a>(appId) -> MavenAGI.MarketplaceAppDetail</code></summary>
2295
+ <details><summary><code>client.capabilities.<a href="/src/api/resources/capabilities/client/Client.ts">deleteCapability</a>(capabilityType, referenceId, { ...params }) -> void</code></summary>
1415
2296
  <dl>
1416
2297
  <dd>
1417
2298
 
@@ -1423,7 +2304,13 @@ await client.appDirectory.search({});
1423
2304
  <dl>
1424
2305
  <dd>
1425
2306
 
1426
- Gets an app and its installation status for the agent.
2307
+ Delete one of an agent's capabilities. The agent stops using it, and it stops being
2308
+ addressable: a later get, patch or delete of the same capability is a 404, and it no longer
2309
+ appears in search.
2310
+
2311
+ With `variantReferenceId`, an intelligent field's delete is staged in that variant instead,
2312
+ and takes effect when the variant is committed. Until then the agent keeps using the field,
2313
+ and only a later patch or delete through the same variant is a 404.
1427
2314
  </dd>
1428
2315
  </dl>
1429
2316
  </dd>
@@ -1438,7 +2325,7 @@ Gets an app and its installation status for the agent.
1438
2325
  <dd>
1439
2326
 
1440
2327
  ```typescript
1441
- await client.appDirectory.get("appId");
2328
+ await client.capabilities.deleteCapability("ACTION", "referenceId");
1442
2329
 
1443
2330
  ```
1444
2331
  </dd>
@@ -1454,7 +2341,7 @@ await client.appDirectory.get("appId");
1454
2341
  <dl>
1455
2342
  <dd>
1456
2343
 
1457
- **appId:** `string`
2344
+ **capabilityType:** `MavenAGI.CapabilityType` — Which kind of capability to delete.
1458
2345
 
1459
2346
  </dd>
1460
2347
  </dl>
@@ -1462,7 +2349,23 @@ await client.appDirectory.get("appId");
1462
2349
  <dl>
1463
2350
  <dd>
1464
2351
 
1465
- **requestOptions:** `AppDirectoryClient.RequestOptions`
2352
+ **referenceId:** `string` — The capability's reference ID, unique within its type and app.
2353
+
2354
+ </dd>
2355
+ </dl>
2356
+
2357
+ <dl>
2358
+ <dd>
2359
+
2360
+ **request:** `MavenAGI.DeleteCapabilityByTypeRequest`
2361
+
2362
+ </dd>
2363
+ </dl>
2364
+
2365
+ <dl>
2366
+ <dd>
2367
+
2368
+ **requestOptions:** `CapabilitiesClient.RequestOptions`
1466
2369
 
1467
2370
  </dd>
1468
2371
  </dl>
@@ -1474,7 +2377,7 @@ await client.appDirectory.get("appId");
1474
2377
  </dl>
1475
2378
  </details>
1476
2379
 
1477
- <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">install</a>(appId, { ...params }) -> void</code></summary>
2380
+ <details><summary><code>client.capabilities.<a href="/src/api/resources/capabilities/client/Client.ts">searchCapabilities</a>({ ...params }) -> MavenAGI.CapabilitiesSearchResponse</code></summary>
1478
2381
  <dl>
1479
2382
  <dd>
1480
2383
 
@@ -1486,7 +2389,15 @@ await client.appDirectory.get("appId");
1486
2389
  <dl>
1487
2390
  <dd>
1488
2391
 
1489
- Installs the app on the agent, or updates settings for an existing installation. Re-runs the postInstall lifecycle hook on each call.
2392
+ Search an agent's capabilities of every kind at once, newest first by default.
2393
+
2394
+ Returns the fields every capability shares. Fetch one by its type and reference ID for the
2395
+ settings particular to its kind.
2396
+
2397
+ Sorting by `NAME` or `TYPE` instead orders ascending unless `sortDesc` says otherwise;
2398
+ `sortDesc` overrides the default either way.
2399
+
2400
+ Deleted capabilities are never returned.
1490
2401
  </dd>
1491
2402
  </dl>
1492
2403
  </dd>
@@ -1501,11 +2412,7 @@ Installs the app on the agent, or updates settings for an existing installation.
1501
2412
  <dd>
1502
2413
 
1503
2414
  ```typescript
1504
- await client.appDirectory.install("appId", {
1505
- settings: {
1506
- "key": "value"
1507
- }
1508
- });
2415
+ await client.capabilities.searchCapabilities();
1509
2416
 
1510
2417
  ```
1511
2418
  </dd>
@@ -1521,15 +2428,7 @@ await client.appDirectory.install("appId", {
1521
2428
  <dl>
1522
2429
  <dd>
1523
2430
 
1524
- **appId:** `string`
1525
-
1526
- </dd>
1527
- </dl>
1528
-
1529
- <dl>
1530
- <dd>
1531
-
1532
- **request:** `MavenAGI.InstallDirectoryAppRequest`
2431
+ **request:** `MavenAGI.CapabilitiesSearchRequest`
1533
2432
 
1534
2433
  </dd>
1535
2434
  </dl>
@@ -1537,7 +2436,7 @@ await client.appDirectory.install("appId", {
1537
2436
  <dl>
1538
2437
  <dd>
1539
2438
 
1540
- **requestOptions:** `AppDirectoryClient.RequestOptions`
2439
+ **requestOptions:** `CapabilitiesClient.RequestOptions`
1541
2440
 
1542
2441
  </dd>
1543
2442
  </dl>
@@ -1549,7 +2448,8 @@ await client.appDirectory.install("appId", {
1549
2448
  </dl>
1550
2449
  </details>
1551
2450
 
1552
- <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">uninstall</a>(appId) -> void</code></summary>
2451
+ ## Charters
2452
+ <details><summary><code>client.charters.<a href="/src/api/resources/charters/client/Client.ts">createOrUpdate</a>({ ...params }) -> MavenAGI.CharterResponse</code></summary>
1553
2453
  <dl>
1554
2454
  <dd>
1555
2455
 
@@ -1561,7 +2461,20 @@ await client.appDirectory.install("appId", {
1561
2461
  <dl>
1562
2462
  <dd>
1563
2463
 
1564
- Uninstalls the app from the agent.
2464
+ Create a new charter or update an existing one. Charters are governing
2465
+ documents that combine a precondition (when the charter applies), a manual
2466
+ (what the LLM should do), and the knowledge bases and actions the charter
2467
+ makes available.
2468
+
2469
+ All charters in an agent form a tree (forest / multi-roots). When a
2470
+ charter is matched on a round, all its ancestor charters will be
2471
+ incorporated. Non-leaf charters are referred to as a charter group.
2472
+
2473
+ Charters may specify a 0-indexed custom `userRank` that indicates
2474
+ preferences among its siblings. The rank is currently only meaningful
2475
+ for leaf charters as we enforce mutual exclusion among the leafs and
2476
+ pick only the highest ranked (lowest numerical value) leaf to include in
2477
+ the round. userRank may have gaps.
1565
2478
  </dd>
1566
2479
  </dl>
1567
2480
  </dd>
@@ -1576,7 +2489,26 @@ Uninstalls the app from the agent.
1576
2489
  <dd>
1577
2490
 
1578
2491
  ```typescript
1579
- await client.appDirectory.uninstall("appId");
2492
+ await client.charters.createOrUpdate({
2493
+ charterId: {
2494
+ referenceId: "cancellation-flow"
2495
+ },
2496
+ name: "Cancellation Flow",
2497
+ manual: "Guide the user through the cancellation process with empathy. Always confirm their intent before proceeding.",
2498
+ precondition: {
2499
+ preconditionType: "conversation",
2500
+ value: {
2501
+ conversationPreconditionType: "tags",
2502
+ tags: new Set(["cancellation"])
2503
+ }
2504
+ },
2505
+ status: "ACTIVE",
2506
+ type: "STANDARD",
2507
+ references: {
2508
+ knowledgeBases: [],
2509
+ actionIds: []
2510
+ }
2511
+ });
1580
2512
 
1581
2513
  ```
1582
2514
  </dd>
@@ -1592,7 +2524,7 @@ await client.appDirectory.uninstall("appId");
1592
2524
  <dl>
1593
2525
  <dd>
1594
2526
 
1595
- **appId:** `string`
2527
+ **request:** `MavenAGI.CharterRequest`
1596
2528
 
1597
2529
  </dd>
1598
2530
  </dl>
@@ -1600,7 +2532,7 @@ await client.appDirectory.uninstall("appId");
1600
2532
  <dl>
1601
2533
  <dd>
1602
2534
 
1603
- **requestOptions:** `AppDirectoryClient.RequestOptions`
2535
+ **requestOptions:** `ChartersClient.RequestOptions`
1604
2536
 
1605
2537
  </dd>
1606
2538
  </dl>
@@ -1612,7 +2544,7 @@ await client.appDirectory.uninstall("appId");
1612
2544
  </dl>
1613
2545
  </details>
1614
2546
 
1615
- <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">getSettingDownloadUrl</a>(appId, settingsKey) -> MavenAGI.GetDirectoryAppSettingDownloadUrlResponse</code></summary>
2547
+ <details><summary><code>client.charters.<a href="/src/api/resources/charters/client/Client.ts">get</a>(charterReferenceId, { ...params }) -> MavenAGI.CharterResponse</code></summary>
1616
2548
  <dl>
1617
2549
  <dd>
1618
2550
 
@@ -1624,7 +2556,7 @@ await client.appDirectory.uninstall("appId");
1624
2556
  <dl>
1625
2557
  <dd>
1626
2558
 
1627
- Gets a url for downloading a file app setting.
2559
+ Get a charter by its reference ID.
1628
2560
  </dd>
1629
2561
  </dl>
1630
2562
  </dd>
@@ -1639,7 +2571,7 @@ Gets a url for downloading a file app setting.
1639
2571
  <dd>
1640
2572
 
1641
2573
  ```typescript
1642
- await client.appDirectory.getSettingDownloadUrl("appId", "settingsKey");
2574
+ await client.charters.get("cancellation-flow");
1643
2575
 
1644
2576
  ```
1645
2577
  </dd>
@@ -1655,7 +2587,7 @@ await client.appDirectory.getSettingDownloadUrl("appId", "settingsKey");
1655
2587
  <dl>
1656
2588
  <dd>
1657
2589
 
1658
- **appId:** `string`
2590
+ **charterReferenceId:** `string` — The reference ID of the charter to get. All other entity ID fields are inferred from the request.
1659
2591
 
1660
2592
  </dd>
1661
2593
  </dl>
@@ -1663,7 +2595,7 @@ await client.appDirectory.getSettingDownloadUrl("appId", "settingsKey");
1663
2595
  <dl>
1664
2596
  <dd>
1665
2597
 
1666
- **settingsKey:** `string`
2598
+ **request:** `MavenAGI.CharterGetRequest`
1667
2599
 
1668
2600
  </dd>
1669
2601
  </dl>
@@ -1671,7 +2603,7 @@ await client.appDirectory.getSettingDownloadUrl("appId", "settingsKey");
1671
2603
  <dl>
1672
2604
  <dd>
1673
2605
 
1674
- **requestOptions:** `AppDirectoryClient.RequestOptions`
2606
+ **requestOptions:** `ChartersClient.RequestOptions`
1675
2607
 
1676
2608
  </dd>
1677
2609
  </dl>
@@ -1683,7 +2615,7 @@ await client.appDirectory.getSettingDownloadUrl("appId", "settingsKey");
1683
2615
  </dl>
1684
2616
  </details>
1685
2617
 
1686
- <details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">getSettingUploadUrl</a>(appId, settingsKey, { ...params }) -> MavenAGI.GetDirectoryAppSettingUploadUrlResponse</code></summary>
2618
+ <details><summary><code>client.charters.<a href="/src/api/resources/charters/client/Client.ts">patch</a>(charterReferenceId, { ...params }) -> MavenAGI.CharterResponse</code></summary>
1687
2619
  <dl>
1688
2620
  <dd>
1689
2621
 
@@ -1695,7 +2627,22 @@ await client.appDirectory.getSettingDownloadUrl("appId", "settingsKey");
1695
2627
  <dl>
1696
2628
  <dd>
1697
2629
 
1698
- Gets a presigned url for uploading a file app setting before installation.
2630
+ Update mutable fields on a charter. Only provided fields are modified.
2631
+
2632
+ To move a charter within the tree, set `parentCharterId`.
2633
+ To promote to root level, set `parentCharterId` explicitly to null.
2634
+
2635
+ **Status behavior**:
2636
+ - Setting `status` to `INACTIVE` applies only to the targeted charter;
2637
+ it does not cascade to descendants. However, its descendants will no
2638
+ longer be incorporated at runtime.
2639
+ - Setting `status` to `ACTIVE` applies only to the targeted charter.
2640
+ The caller is responsible for ensuring ancestor charters are also `ACTIVE`
2641
+ if the full subtree should be reachable at runtime.
2642
+
2643
+ **userRank conflict resolution**: When `userRank` is set to a value already held by a
2644
+ sibling, siblings at that rank and above are shifted up by 1 (like linked list semantics).
2645
+ The caller does not need to manage uniqueness explicitly.
1699
2646
  </dd>
1700
2647
  </dl>
1701
2648
  </dd>
@@ -1710,9 +2657,15 @@ Gets a presigned url for uploading a file app setting before installation.
1710
2657
  <dd>
1711
2658
 
1712
2659
  ```typescript
1713
- await client.appDirectory.getSettingUploadUrl("appId", "settingsKey", {
1714
- contentLength: 1,
1715
- contentType: "contentType"
2660
+ await client.charters.patch("cancellation-flow", {
2661
+ precondition: {
2662
+ preconditionType: "conversation",
2663
+ value: {
2664
+ conversationPreconditionType: "tags",
2665
+ tags: new Set(["cancellation"])
2666
+ }
2667
+ },
2668
+ status: "ACTIVE"
1716
2669
  });
1717
2670
 
1718
2671
  ```
@@ -1729,15 +2682,7 @@ await client.appDirectory.getSettingUploadUrl("appId", "settingsKey", {
1729
2682
  <dl>
1730
2683
  <dd>
1731
2684
 
1732
- **appId:** `string`
1733
-
1734
- </dd>
1735
- </dl>
1736
-
1737
- <dl>
1738
- <dd>
1739
-
1740
- **settingsKey:** `string`
2685
+ **charterReferenceId:** `string` — The reference ID of the charter to patch.
1741
2686
 
1742
2687
  </dd>
1743
2688
  </dl>
@@ -1745,7 +2690,7 @@ await client.appDirectory.getSettingUploadUrl("appId", "settingsKey", {
1745
2690
  <dl>
1746
2691
  <dd>
1747
2692
 
1748
- **request:** `MavenAGI.GetAppSettingUploadUrlRequest`
2693
+ **request:** `MavenAGI.CharterPatchRequest`
1749
2694
 
1750
2695
  </dd>
1751
2696
  </dl>
@@ -1753,7 +2698,7 @@ await client.appDirectory.getSettingUploadUrl("appId", "settingsKey", {
1753
2698
  <dl>
1754
2699
  <dd>
1755
2700
 
1756
- **requestOptions:** `AppDirectoryClient.RequestOptions`
2701
+ **requestOptions:** `ChartersClient.RequestOptions`
1757
2702
 
1758
2703
  </dd>
1759
2704
  </dl>
@@ -1765,8 +2710,7 @@ await client.appDirectory.getSettingUploadUrl("appId", "settingsKey", {
1765
2710
  </dl>
1766
2711
  </details>
1767
2712
 
1768
- ## AppSettings
1769
- <details><summary><code>client.appSettings.<a href="/src/api/resources/appSettings/client/Client.ts">search</a>({ ...params }) -> MavenAGI.SearchAppSettingsResponse</code></summary>
2713
+ <details><summary><code>client.charters.<a href="/src/api/resources/charters/client/Client.ts">delete</a>(charterReferenceId, { ...params }) -> MavenAGI.CharterResponse</code></summary>
1770
2714
  <dl>
1771
2715
  <dd>
1772
2716
 
@@ -1778,11 +2722,15 @@ await client.appDirectory.getSettingUploadUrl("appId", "settingsKey", {
1778
2722
  <dl>
1779
2723
  <dd>
1780
2724
 
1781
- Search for app settings which have the `$index` key set to the provided value.
2725
+ Delete a charter and all of its descendants recursively.
1782
2726
 
1783
- You can set the `$index` key using the Update app settings API.
2727
+ The charter must be set to `INACTIVE` before it can be deleted. This prevents accidental
2728
+ deletion of active charters. Descendant charters may be in any status — they will be
2729
+ soft-deleted regardless.
1784
2730
 
1785
- <Warning>This API currently requires an organization ID and agent ID for any agent which is installed on the app. This requirement will be removed in a future update.</Warning>
2731
+ Deleted charters are excluded from list results but can be retrieved by ID for archival purposes.
2732
+
2733
+ Deleted charters cannot be modified.
1786
2734
  </dd>
1787
2735
  </dl>
1788
2736
  </dd>
@@ -1797,9 +2745,7 @@ You can set the `$index` key using the Update app settings API.
1797
2745
  <dd>
1798
2746
 
1799
2747
  ```typescript
1800
- await client.appSettings.search({
1801
- index: "index"
1802
- });
2748
+ await client.charters.delete("cancellation-flow");
1803
2749
 
1804
2750
  ```
1805
2751
  </dd>
@@ -1815,7 +2761,7 @@ await client.appSettings.search({
1815
2761
  <dl>
1816
2762
  <dd>
1817
2763
 
1818
- **request:** `MavenAGI.SearchAppSettingsRequest`
2764
+ **charterReferenceId:** `string` — The reference ID of the charter to delete.
1819
2765
 
1820
2766
  </dd>
1821
2767
  </dl>
@@ -1823,7 +2769,15 @@ await client.appSettings.search({
1823
2769
  <dl>
1824
2770
  <dd>
1825
2771
 
1826
- **requestOptions:** `AppSettingsClient.RequestOptions`
2772
+ **request:** `MavenAGI.CharterDeleteRequest`
2773
+
2774
+ </dd>
2775
+ </dl>
2776
+
2777
+ <dl>
2778
+ <dd>
2779
+
2780
+ **requestOptions:** `ChartersClient.RequestOptions`
1827
2781
 
1828
2782
  </dd>
1829
2783
  </dl>
@@ -1835,7 +2789,7 @@ await client.appSettings.search({
1835
2789
  </dl>
1836
2790
  </details>
1837
2791
 
1838
- <details><summary><code>client.appSettings.<a href="/src/api/resources/appSettings/client/Client.ts">get</a>() -> Record&lt;string, unknown&gt;</code></summary>
2792
+ <details><summary><code>client.charters.<a href="/src/api/resources/charters/client/Client.ts">search</a>({ ...params }) -> MavenAGI.CharterSearchResponse</code></summary>
1839
2793
  <dl>
1840
2794
  <dd>
1841
2795
 
@@ -1847,7 +2801,15 @@ await client.appSettings.search({
1847
2801
  <dl>
1848
2802
  <dd>
1849
2803
 
1850
- Get app settings set during installation
2804
+ Search for charters matching the provided filters. Supports filtering by
2805
+ referenced action IDs and knowledge base IDs to find charters that make
2806
+ specific context items available.
2807
+
2808
+ Returns both ACTIVE and INACTIVE charters (DELETED charters are excluded).
2809
+
2810
+ Results are ordered by the `sort` field (defaults to CreatedAt). Use `sortDesc`
2811
+ to control direction (defaults to descending). An empty filter list is
2812
+ equivalent to omitting the field (no filter applied).
1851
2813
  </dd>
1852
2814
  </dl>
1853
2815
  </dd>
@@ -1862,7 +2824,10 @@ Get app settings set during installation
1862
2824
  <dd>
1863
2825
 
1864
2826
  ```typescript
1865
- await client.appSettings.get();
2827
+ await client.charters.search({
2828
+ page: 0,
2829
+ size: 20
2830
+ });
1866
2831
 
1867
2832
  ```
1868
2833
  </dd>
@@ -1878,7 +2843,15 @@ await client.appSettings.get();
1878
2843
  <dl>
1879
2844
  <dd>
1880
2845
 
1881
- **requestOptions:** `AppSettingsClient.RequestOptions`
2846
+ **request:** `MavenAGI.CharterSearchRequest`
2847
+
2848
+ </dd>
2849
+ </dl>
2850
+
2851
+ <dl>
2852
+ <dd>
2853
+
2854
+ **requestOptions:** `ChartersClient.RequestOptions`
1882
2855
 
1883
2856
  </dd>
1884
2857
  </dl>
@@ -1890,7 +2863,7 @@ await client.appSettings.get();
1890
2863
  </dl>
1891
2864
  </details>
1892
2865
 
1893
- <details><summary><code>client.appSettings.<a href="/src/api/resources/appSettings/client/Client.ts">update</a>({ ...params }) -> Record&lt;string, unknown&gt;</code></summary>
2866
+ <details><summary><code>client.charters.<a href="/src/api/resources/charters/client/Client.ts">getAncestors</a>(charterReferenceId, { ...params }) -> MavenAGI.CharterAncestorsResponse</code></summary>
1894
2867
  <dl>
1895
2868
  <dd>
1896
2869
 
@@ -1902,13 +2875,16 @@ await client.appSettings.get();
1902
2875
  <dl>
1903
2876
  <dd>
1904
2877
 
1905
- Update app settings. Performs a merge of the provided settings with the existing app settings.
2878
+ Return a flat list containing the specified charter and all of its ancestors
2879
+ up to the root. Useful for rendering tree context around search results.
1906
2880
 
1907
- - If a new key is provided, it will be added to the app settings.
1908
- - If an existing key is provided, it will be updated.
1909
- - No keys will be removed.
2881
+ Each entry is a full charter, so an ancestor's references and precondition are
2882
+ readable without a follow-up request per level.
1910
2883
 
1911
- Note that if an array value is provided it will fully replace an existing value as arrays cannot be merged.
2884
+ The list is always finite: charter hierarchies are acyclic, so a charter is never its own
2885
+ ancestor and the walk to the root terminates.
2886
+
2887
+ Returns 404 if the charter does not exist or is deleted.
1912
2888
  </dd>
1913
2889
  </dl>
1914
2890
  </dd>
@@ -1923,11 +2899,7 @@ Note that if an array value is provided it will fully replace an existing value
1923
2899
  <dd>
1924
2900
 
1925
2901
  ```typescript
1926
- await client.appSettings.update({
1927
- "string": {
1928
- "key": "value"
1929
- }
1930
- });
2902
+ await client.charters.getAncestors("cancellation-step-1");
1931
2903
 
1932
2904
  ```
1933
2905
  </dd>
@@ -1943,7 +2915,7 @@ await client.appSettings.update({
1943
2915
  <dl>
1944
2916
  <dd>
1945
2917
 
1946
- **request:** `Record<string, unknown>`
2918
+ **charterReferenceId:** `string` — The reference ID of the charter. All other entity ID fields are inferred from the request.
1947
2919
 
1948
2920
  </dd>
1949
2921
  </dl>
@@ -1951,7 +2923,15 @@ await client.appSettings.update({
1951
2923
  <dl>
1952
2924
  <dd>
1953
2925
 
1954
- **requestOptions:** `AppSettingsClient.RequestOptions`
2926
+ **request:** `MavenAGI.CharterGetAncestorsRequest`
2927
+
2928
+ </dd>
2929
+ </dl>
2930
+
2931
+ <dl>
2932
+ <dd>
2933
+
2934
+ **requestOptions:** `ChartersClient.RequestOptions`
1955
2935
 
1956
2936
  </dd>
1957
2937
  </dl>
@@ -1963,8 +2943,7 @@ await client.appSettings.update({
1963
2943
  </dl>
1964
2944
  </details>
1965
2945
 
1966
- ## Assets
1967
- <details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">initiateUpload</a>({ ...params }) -> MavenAGI.InitiateAssetUploadResponse</code></summary>
2946
+ <details><summary><code>client.charters.<a href="/src/api/resources/charters/client/Client.ts">listChildren</a>({ ...params }) -> MavenAGI.CharterListChildrenResponse</code></summary>
1968
2947
  <dl>
1969
2948
  <dd>
1970
2949
 
@@ -1976,8 +2955,16 @@ await client.appSettings.update({
1976
2955
  <dl>
1977
2956
  <dd>
1978
2957
 
1979
- Initiate an upload.
1980
- Returns a pre-signed URL for direct file upload and an asset ID for subsequent operations.
2958
+ Batch fetch direct children of the specified parent charters. Returns one
2959
+ group per requested parent in the same order as parentIds, with grandchild
2960
+ IDs populated on each child for expandability signals.
2961
+
2962
+ Pass an empty parentIds list to fetch all root-level charters for the agent.
2963
+ Intended to be used for easy BFS traversal, though calling with parents
2964
+ at mixed levels are allowed. Roots and specific parents cannot be mixed
2965
+ in one request.
2966
+
2967
+ DELETED charters are never returned.
1981
2968
  </dd>
1982
2969
  </dl>
1983
2970
  </dd>
@@ -1992,8 +2979,8 @@ Returns a pre-signed URL for direct file upload and an asset ID for subsequent o
1992
2979
  <dd>
1993
2980
 
1994
2981
  ```typescript
1995
- await client.assets.initiateUpload({
1996
- type: "type"
2982
+ await client.charters.listChildren({
2983
+ parentIds: []
1997
2984
  });
1998
2985
 
1999
2986
  ```
@@ -2010,7 +2997,7 @@ await client.assets.initiateUpload({
2010
2997
  <dl>
2011
2998
  <dd>
2012
2999
 
2013
- **request:** `MavenAGI.InitiateAssetUploadRequest`
3000
+ **request:** `MavenAGI.CharterListChildrenRequest`
2014
3001
 
2015
3002
  </dd>
2016
3003
  </dl>
@@ -2018,7 +3005,7 @@ await client.assets.initiateUpload({
2018
3005
  <dl>
2019
3006
  <dd>
2020
3007
 
2021
- **requestOptions:** `AssetsClient.RequestOptions`
3008
+ **requestOptions:** `ChartersClient.RequestOptions`
2022
3009
 
2023
3010
  </dd>
2024
3011
  </dl>
@@ -2030,7 +3017,8 @@ await client.assets.initiateUpload({
2030
3017
  </dl>
2031
3018
  </details>
2032
3019
 
2033
- <details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">commitUpload</a>(assetReferenceId, { ...params }) -> void</code></summary>
3020
+ ## ConversationKickoffs
3021
+ <details><summary><code>client.conversationKickoffs.<a href="/src/api/resources/conversationKickoffs/client/Client.ts">createOrUpdate</a>({ ...params }) -> MavenAGI.ConversationKickoff</code></summary>
2034
3022
  <dl>
2035
3023
  <dd>
2036
3024
 
@@ -2042,8 +3030,14 @@ await client.assets.initiateUpload({
2042
3030
  <dl>
2043
3031
  <dd>
2044
3032
 
2045
- Commit an upload after successful file transfer.
2046
- Updates the asset status and makes it available for use.
3033
+ Register or update one of the calling app's Conversation Kickoffs for this agent. An app may
3034
+ hold multiple independent installs, and any number of an agent's kickoffs may run at once.
3035
+
3036
+ A newly installed kickoff starts inactive, so installing one never changes an agent's
3037
+ behaviour on its own. Updating an existing one rewrites its name and description and leaves
3038
+ its status alone, so re-registering on every install refresh never deactivates a kickoff
3039
+ that is already live. Use the capability APIs to activate it, and to read, search or delete
3040
+ it afterwards.
2047
3041
  </dd>
2048
3042
  </dl>
2049
3043
  </dd>
@@ -2058,7 +3052,13 @@ Updates the asset status and makes it available for use.
2058
3052
  <dd>
2059
3053
 
2060
3054
  ```typescript
2061
- await client.assets.commitUpload("assetReferenceId", {});
3055
+ await client.conversationKickoffs.createOrUpdate({
3056
+ kickoffId: {
3057
+ referenceId: "greet-returning-customer"
3058
+ },
3059
+ name: "Greet returning customer",
3060
+ description: "Looks up the customer's open orders before the agent's first reply"
3061
+ });
2062
3062
 
2063
3063
  ```
2064
3064
  </dd>
@@ -2074,15 +3074,7 @@ await client.assets.commitUpload("assetReferenceId", {});
2074
3074
  <dl>
2075
3075
  <dd>
2076
3076
 
2077
- **assetReferenceId:** `string` — The reference ID of the asset to commit (provided by the initiate call). All other entity ID fields are inferred from the API request.
2078
-
2079
- </dd>
2080
- </dl>
2081
-
2082
- <dl>
2083
- <dd>
2084
-
2085
- **request:** `MavenAGI.CommitAssetUploadRequest`
3077
+ **request:** `MavenAGI.CreateConversationKickoffRequest`
2086
3078
 
2087
3079
  </dd>
2088
3080
  </dl>
@@ -2090,7 +3082,7 @@ await client.assets.commitUpload("assetReferenceId", {});
2090
3082
  <dl>
2091
3083
  <dd>
2092
3084
 
2093
- **requestOptions:** `AssetsClient.RequestOptions`
3085
+ **requestOptions:** `ConversationKickoffsClient.RequestOptions`
2094
3086
 
2095
3087
  </dd>
2096
3088
  </dl>
@@ -2358,6 +3350,7 @@ await client.conversation.get("conversationId");
2358
3350
  Wipes a conversation of all user data.
2359
3351
  The conversation ID will still exist and non-user specific data will still be retained.
2360
3352
  Attempts to modify or add messages to the conversation will throw an error.
3353
+ The conversation is sealed against further writes as soon as this call returns. A `202 Accepted` response means the wipe is still completing and will finish on its own.
2361
3354
 
2362
3355
  Simulation conversations will no longer be visible in search results nor metrics.
2363
3356
  Non-simulation conversations will remain visible - they can not be fully removed from the system.
@@ -4618,7 +5611,12 @@ await client.integrations.update("organizationId", "integrationId", {});
4618
5611
  <dl>
4619
5612
  <dd>
4620
5613
 
4621
- Create a new intelligent field. Intelligent fields are used to store custom LLM-generated values on entities like conversations or events.
5614
+ Create a new intelligent field, or replace it if one already exists with the same
5615
+ `fieldId.referenceId`. Intelligent fields hold LLM-generated values computed for
5616
+ entities such as conversations.
5617
+
5618
+ New fields are created with `status: INACTIVE` and are not evaluated until activated
5619
+ with the patch endpoint. `definition` is limited to 5,000 characters.
4622
5620
  </dd>
4623
5621
  </dl>
4624
5622
  </dd>
@@ -4643,7 +5641,8 @@ await client.intelligentFields.createOrUpdate({
4643
5641
  validationType: "STRING",
4644
5642
  enumOptions: [{
4645
5643
  value: "HIGH",
4646
- label: "High Priority"
5644
+ label: "High Priority",
5645
+ description: "The customer is blocked or reports an outage."
4647
5646
  }, {
4648
5647
  value: "MEDIUM",
4649
5648
  label: "Medium Priority"
@@ -4700,6 +5699,10 @@ await client.intelligentFields.createOrUpdate({
4700
5699
  <dl>
4701
5700
  <dd>
4702
5701
 
5702
+ Deprecated. Use `GET /v1/capabilities/INTELLIGENT_FIELD/{referenceId}`, which reads any
5703
+ kind of capability the same way. It does not carry `referencingCharters`; search
5704
+ charters to find the ones that reference a capability.
5705
+
4703
5706
  Get an intelligent field by its supplied ID
4704
5707
  </dd>
4705
5708
  </dl>
@@ -4771,7 +5774,12 @@ await client.intelligentFields.get("ticket-priority");
4771
5774
  <dl>
4772
5775
  <dd>
4773
5776
 
4774
- Patch an intelligent field. Can be used to update the definition, status, or other mutable properties.
5777
+ Update the mutable properties of an intelligent field. Only the properties present in
5778
+ the request body are changed.
5779
+
5780
+ This is also how a field is activated and deactivated: set `status` to `ACTIVE` to
5781
+ start evaluating it, or `INACTIVE` to stop. `name`, `entityType`, and `validationType`
5782
+ cannot be changed after creation.
4775
5783
  </dd>
4776
5784
  </dl>
4777
5785
  </dd>
@@ -4844,6 +5852,9 @@ await client.intelligentFields.patch("ticket-priority", {
4844
5852
  <dl>
4845
5853
  <dd>
4846
5854
 
5855
+ Deprecated. Use `DELETE /v1/capabilities/INTELLIGENT_FIELD/{referenceId}`, which
5856
+ deletes any kind of capability the same way. That endpoint returns no body.
5857
+
4847
5858
  Soft delete an intelligent field. Only INACTIVE fields can be deleted.
4848
5859
 
4849
5860
  Deleted fields are excluded from search results but can still be retrieved by ID.
@@ -4921,7 +5932,12 @@ await client.intelligentFields.delete("ticket-priority");
4921
5932
  <dl>
4922
5933
  <dd>
4923
5934
 
4924
- Search computed values for intelligent fields across entities. Supports filtering by field properties and target entity.
5935
+ Search the values that have been computed for intelligent fields, across entities.
5936
+ Supports filtering by properties of the field, by target entity, and by when the
5937
+ value was computed.
5938
+
5939
+ Values only exist for fields that were ACTIVE when the entity was evaluated, so a
5940
+ newly activated field returns nothing until evaluation has run.
4925
5941
  </dd>
4926
5942
  </dl>
4927
5943
  </dd>
@@ -5513,6 +6529,9 @@ await client.knowledge.patchKnowledgeBase("help-center", {
5513
6529
  Create a new knowledge base version.
5514
6530
 
5515
6531
  If an existing version is in progress, then that version will be finalized in an error state.
6532
+
6533
+ If another version create for the same knowledge base is still in progress, this request may
6534
+ return 503 with a `Retry-After` header. Nothing is changed in that case, so it is safe to retry.
5516
6535
  </dd>
5517
6536
  </dl>
5518
6537
  </dd>
@@ -7096,6 +8115,22 @@ await client.translations.translate({
7096
8115
  <dl>
7097
8116
  <dd>
7098
8117
 
8118
+ #### 📝 Description
8119
+
8120
+ <dl>
8121
+ <dd>
8122
+
8123
+ <dl>
8124
+ <dd>
8125
+
8126
+ Deprecated. Use `POST /v1/capabilities/search`, which searches every kind of capability
8127
+ at once. It returns the fields every capability shares rather than the whole Event
8128
+ Trigger; fetch one by its kind and reference ID for the rest.
8129
+ </dd>
8130
+ </dl>
8131
+ </dd>
8132
+ </dl>
8133
+
7099
8134
  #### 🔌 Usage
7100
8135
 
7101
8136
  <dl>
@@ -7222,6 +8257,9 @@ await client.triggers.createOrUpdate({
7222
8257
  <dl>
7223
8258
  <dd>
7224
8259
 
8260
+ Deprecated. Use `GET /v1/capabilities/TRIGGER/{referenceId}`, which returns this same
8261
+ object for a trigger and the equivalent for every other kind of capability.
8262
+
7225
8263
  Get an event trigger by its supplied ID
7226
8264
  </dd>
7227
8265
  </dl>
@@ -7285,6 +8323,9 @@ await client.triggers.get("store-in-snowflake");
7285
8323
  <dl>
7286
8324
  <dd>
7287
8325
 
8326
+ Deprecated. Use `DELETE /v1/capabilities/TRIGGER/{referenceId}`, which deletes any kind
8327
+ of capability the same way.
8328
+
7288
8329
  Delete an event trigger
7289
8330
  </dd>
7290
8331
  </dl>
@@ -7348,6 +8389,9 @@ await client.triggers.delete("store-in-snowflake");
7348
8389
  <dl>
7349
8390
  <dd>
7350
8391
 
8392
+ Deprecated. Use `PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status`, which
8393
+ publishes and unpublishes any kind of capability the same way.
8394
+
7351
8395
  Updates an event trigger. Only the enabled field is editable.
7352
8396
  </dd>
7353
8397
  </dl>