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
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ErrorReason = void 0;
5
+ /** Why a request was rejected. Values are UPPER_SNAKE_CASE, at most 63 characters. New values may be added, so treat an unrecognized one as a generic error. All current values come from agent-variant operations. */
6
+ exports.ErrorReason = {
7
+ /**
8
+ * The variant is receiving live traffic, so it can't be edited. Fork a working variant and edit that instead. */
9
+ VariantLive: "VARIANT_LIVE",
10
+ /**
11
+ * The variant is archived or deleted. */
12
+ VariantNotActive: "VARIANT_NOT_ACTIVE",
13
+ /**
14
+ * The traffic config changed since it was last read. Re-read it and retry. */
15
+ StaleTrafficRevision: "STALE_TRAFFIC_REVISION",
16
+ /**
17
+ * The variant's working set changed since it was last read (its `workingSetRevision` moved). Re-read it and retry. */
18
+ StaleWorkingSet: "STALE_WORKING_SET",
19
+ /**
20
+ * The variant's staged edits don't change its configuration, so there is nothing to commit. */
21
+ NothingToCommit: "NOTHING_TO_COMMIT",
22
+ /**
23
+ * The ID requested for a new variant is already taken. */
24
+ VariantAlreadyExists: "VARIANT_ALREADY_EXISTS",
25
+ /**
26
+ * The variant is receiving live traffic, so it can't be archived or deleted. Move its traffic elsewhere first. */
27
+ CannotArchiveLiveVariant: "CANNOT_ARCHIVE_LIVE_VARIANT",
28
+ /**
29
+ * A traffic rule names a variant with staged edits. Publish or discard them first. */
30
+ VariantHasStagedEdits: "VARIANT_HAS_STAGED_EDITS",
31
+ /**
32
+ * The entity type is versioned on this agent, so the request must name the agent variant to read or write. Pass the variant's reference ID, and its owning app where the endpoint takes one; a request that names none is rejected. */
33
+ VariantRequired: "VARIANT_REQUIRED",
34
+ };
@@ -6,10 +6,6 @@ import type * as MavenAGI from "../../../index";
6
6
  * the ID of the intelligent field (<referenceId, appId>). Available
7
7
  * operators and the corresponding types of the RHS depends on the
8
8
  * validationType of the intelligent field.
9
- *
10
- * Note: in early beta, only opt-in apps and organizations/agents can
11
- * specify intelligent field preconditions. Otherwise, the request will be
12
- * rejected.
13
9
  */
14
10
  export interface IntelligentFieldPrecondition {
15
11
  /** The ID of the intelligent field. */
@@ -1,4 +1,4 @@
1
- /** Deprecated. Superseded by charters, which determine agent behavior per turn. */
1
+ /** Deprecated. Superseded by charters, which determine agent behavior per round. */
2
2
  export declare const LlmPersona: {
3
3
  readonly CasualBuddy: "CASUAL_BUDDY";
4
4
  readonly EmpatheticSupporter: "EMPATHETIC_SUPPORTER";
@@ -2,7 +2,7 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.LlmPersona = void 0;
5
- /** Deprecated. Superseded by charters, which determine agent behavior per turn. */
5
+ /** Deprecated. Superseded by charters, which determine agent behavior per round. */
6
6
  exports.LlmPersona = {
7
7
  CasualBuddy: "CASUAL_BUDDY",
8
8
  EmpatheticSupporter: "EMPATHETIC_SUPPORTER",
@@ -0,0 +1,10 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Condition comparing a metadata value against a single string.
4
+ */
5
+ export interface MetadataComparisonCondition {
6
+ /** The comparison operator to apply */
7
+ operator: MavenAGI.MetadataComparisonOperator;
8
+ /** The string value to compare against */
9
+ value: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Operators comparing a metadata value against a single string.
3
+ *
4
+ * Narrower than `StringComparisonOperator` by design. Its substring and suffix
5
+ * operators need an unanchored scan of every value, which a metadata filter cannot
6
+ * afford; equality and prefix are answerable straight from an index.
7
+ */
8
+ export declare const MetadataComparisonOperator: {
9
+ /**
10
+ * Equals (=) */
11
+ readonly Eq: "EQ";
12
+ /**
13
+ * Not equals (!=) */
14
+ readonly Neq: "NEQ";
15
+ /**
16
+ * Value starts with the specified prefix */
17
+ readonly StartsWith: "STARTS_WITH";
18
+ /**
19
+ * Value does not start with the specified prefix */
20
+ readonly NotStartsWith: "NOT_STARTS_WITH";
21
+ };
22
+ export type MetadataComparisonOperator = (typeof MetadataComparisonOperator)[keyof typeof MetadataComparisonOperator] | string;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MetadataComparisonOperator = void 0;
5
+ /**
6
+ * Operators comparing a metadata value against a single string.
7
+ *
8
+ * Narrower than `StringComparisonOperator` by design. Its substring and suffix
9
+ * operators need an unanchored scan of every value, which a metadata filter cannot
10
+ * afford; equality and prefix are answerable straight from an index.
11
+ */
12
+ exports.MetadataComparisonOperator = {
13
+ /**
14
+ * Equals (=) */
15
+ Eq: "EQ",
16
+ /**
17
+ * Not equals (!=) */
18
+ Neq: "NEQ",
19
+ /**
20
+ * Value starts with the specified prefix */
21
+ StartsWith: "STARTS_WITH",
22
+ /**
23
+ * Value does not start with the specified prefix */
24
+ NotStartsWith: "NOT_STARTS_WITH",
25
+ };
@@ -0,0 +1,21 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A condition on a single metadata value.
4
+ *
5
+ * Unlike `FieldCondition` this has no type discriminant. `FieldCondition` coerces a
6
+ * value to a declared type before comparing it because the values it tests may be
7
+ * numbers, booleans or sets; metadata values are always strings, so there is nothing
8
+ * to declare.
9
+ */
10
+ export type MetadataCondition = MavenAGI.MetadataCondition.Comparison | MavenAGI.MetadataCondition.Membership | MavenAGI.MetadataCondition.Presence;
11
+ export declare namespace MetadataCondition {
12
+ interface Comparison extends MavenAGI.MetadataComparisonCondition {
13
+ opType: "comparison";
14
+ }
15
+ interface Membership extends MavenAGI.StringMembershipCondition {
16
+ opType: "membership";
17
+ }
18
+ interface Presence extends MavenAGI.PresenceCondition {
19
+ opType: "presence";
20
+ }
21
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A condition on the value stored under one metadata key.
4
+ */
5
+ export interface MetadataEntryCondition {
6
+ /** The metadata key to test. A plain key, not a path: metadata is a flat string-to-string map, so there is no nesting to address. */
7
+ key: string;
8
+ /** The condition to evaluate against the value stored under `key`. */
9
+ condition: MavenAGI.MetadataCondition;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,41 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A predicate over a string-to-string metadata map: either a condition on the value
4
+ * under one key, or a group of predicates combined with a logical operator.
5
+ *
6
+ * Kept small on purpose: at most 3 levels of nesting and 10 nodes in total, counting
7
+ * groups as well as entries. A filter is meant to narrow a knowledge base to a
8
+ * recognisable slice, not to encode a query language. Exceeding either is a 400.
9
+ *
10
+ * @example
11
+ * {
12
+ * metadataFilterType: "group",
13
+ * operator: MavenAGI.PreconditionGroupOperator.Or,
14
+ * filters: [{
15
+ * metadataFilterType: "entry",
16
+ * key: "category",
17
+ * condition: {
18
+ * opType: "comparison",
19
+ * operator: MavenAGI.MetadataComparisonOperator.Eq,
20
+ * value: "billing"
21
+ * }
22
+ * }, {
23
+ * metadataFilterType: "entry",
24
+ * key: "locale",
25
+ * condition: {
26
+ * opType: "membership",
27
+ * operator: MavenAGI.StringMembershipOperator.In,
28
+ * values: ["en-US", "en-GB"]
29
+ * }
30
+ * }]
31
+ * }
32
+ */
33
+ export type MetadataFilter = MavenAGI.MetadataFilter.Entry | MavenAGI.MetadataFilter.Group;
34
+ export declare namespace MetadataFilter {
35
+ interface Entry extends MavenAGI.MetadataEntryCondition {
36
+ metadataFilterType: "entry";
37
+ }
38
+ interface Group extends MavenAGI.MetadataFilterGroup {
39
+ metadataFilterType: "group";
40
+ }
41
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Combines metadata filters with a logical operator. Groups nest, so `(a AND b) OR c`
4
+ * is a group whose filters are a group and an entry.
5
+ */
6
+ export interface MetadataFilterGroup {
7
+ /** How to combine `filters`. */
8
+ operator: MavenAGI.PreconditionGroupOperator;
9
+ /**
10
+ * The filters to combine. At least one is required -- a group with no filters constrains
11
+ * nothing, and omitting the filter altogether already means every document.
12
+ */
13
+ filters: MavenAGI.MetadataFilter[];
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +1,12 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface SimulationContext {
3
3
  /**
4
- * Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters.
4
+ * Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters.
5
5
  *
6
6
  * If provided, overrides the agent's default additional prompt text during the simulation.
7
7
  */
8
8
  additionalPromptText?: string;
9
- /** Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters. */
9
+ /** Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters. */
10
10
  persona?: MavenAGI.LlmPersona;
11
11
  /** If provided, knowledge search will be restricted to the provided list of knowledge bases. Otherwise, all active knowledge bases will be used. An empty list means no knowledge bases will be used. */
12
12
  availableKnowledgeBases?: MavenAGI.EntityId[];
@@ -32,5 +32,8 @@ export declare const SystemEventName: {
32
32
  /**
33
33
  * A data sync with an external system failed */
34
34
  readonly SyncFailed: "SYNC_FAILED";
35
+ /**
36
+ * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries `fieldReferenceId`, `fieldAppId`, the new `value` and the `previousValue`, both as JSON strings. An undetermined value is the JSON string `null` on either key. `previousValue` is absent only when the field was set for the first time and had no previous value at all. */
37
+ readonly IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED";
35
38
  };
36
39
  export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName] | string;
@@ -36,4 +36,7 @@ exports.SystemEventName = {
36
36
  /**
37
37
  * A data sync with an external system failed */
38
38
  SyncFailed: "SYNC_FAILED",
39
+ /**
40
+ * An intelligent field's value on a conversation was set or changed. `references` carries the conversation and the field; `contextInfo.additionalData` carries `fieldReferenceId`, `fieldAppId`, the new `value` and the `previousValue`, both as JSON strings. An undetermined value is the JSON string `null` on either key. `previousValue` is absent only when the field was set for the first time and had no previous value at all. */
41
+ IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED",
39
42
  };
@@ -54,6 +54,9 @@ export * from "./BotTextResponse";
54
54
  export * from "./BrowserInfo";
55
55
  export * from "./BrowserType";
56
56
  export * from "./Capability";
57
+ export * from "./CapabilityBase";
58
+ export * from "./CapabilityStatus";
59
+ export * from "./CapabilityType";
57
60
  export * from "./ChartSpecSchema";
58
61
  export * from "./CheckboxSettingsSchemaEntry";
59
62
  export * from "./ColorSettingsSchemaEntry";
@@ -89,6 +92,7 @@ export * from "./EntityIdWithoutAgent";
89
92
  export * from "./EntityResult";
90
93
  export * from "./EntityType";
91
94
  export * from "./ErrorMessage";
95
+ export * from "./ErrorReason";
92
96
  export * from "./EventBaseNoId";
93
97
  export * from "./EventField";
94
98
  export * from "./EventFilter";
@@ -134,6 +138,12 @@ export * from "./LanguageInfo";
134
138
  export * from "./LlmInclusionStatus";
135
139
  export * from "./LlmPersona";
136
140
  export * from "./MessageStatus";
141
+ export * from "./MetadataComparisonCondition";
142
+ export * from "./MetadataComparisonOperator";
143
+ export * from "./MetadataCondition";
144
+ export * from "./MetadataEntryCondition";
145
+ export * from "./MetadataFilter";
146
+ export * from "./MetadataFilterGroup";
137
147
  export * from "./MetadataPrecondition";
138
148
  export * from "./MultilineSettingsSchemaEntry";
139
149
  export * from "./NovelSystemEvent";
@@ -70,6 +70,9 @@ __exportStar(require("./BotTextResponse"), exports);
70
70
  __exportStar(require("./BrowserInfo"), exports);
71
71
  __exportStar(require("./BrowserType"), exports);
72
72
  __exportStar(require("./Capability"), exports);
73
+ __exportStar(require("./CapabilityBase"), exports);
74
+ __exportStar(require("./CapabilityStatus"), exports);
75
+ __exportStar(require("./CapabilityType"), exports);
73
76
  __exportStar(require("./ChartSpecSchema"), exports);
74
77
  __exportStar(require("./CheckboxSettingsSchemaEntry"), exports);
75
78
  __exportStar(require("./ColorSettingsSchemaEntry"), exports);
@@ -105,6 +108,7 @@ __exportStar(require("./EntityIdWithoutAgent"), exports);
105
108
  __exportStar(require("./EntityResult"), exports);
106
109
  __exportStar(require("./EntityType"), exports);
107
110
  __exportStar(require("./ErrorMessage"), exports);
111
+ __exportStar(require("./ErrorReason"), exports);
108
112
  __exportStar(require("./EventBaseNoId"), exports);
109
113
  __exportStar(require("./EventField"), exports);
110
114
  __exportStar(require("./EventFilter"), exports);
@@ -150,6 +154,12 @@ __exportStar(require("./LanguageInfo"), exports);
150
154
  __exportStar(require("./LlmInclusionStatus"), exports);
151
155
  __exportStar(require("./LlmPersona"), exports);
152
156
  __exportStar(require("./MessageStatus"), exports);
157
+ __exportStar(require("./MetadataComparisonCondition"), exports);
158
+ __exportStar(require("./MetadataComparisonOperator"), exports);
159
+ __exportStar(require("./MetadataCondition"), exports);
160
+ __exportStar(require("./MetadataEntryCondition"), exports);
161
+ __exportStar(require("./MetadataFilter"), exports);
162
+ __exportStar(require("./MetadataFilterGroup"), exports);
153
163
  __exportStar(require("./MetadataPrecondition"), exports);
154
164
  __exportStar(require("./MultilineSettingsSchemaEntry"), exports);
155
165
  __exportStar(require("./NovelSystemEvent"), exports);
@@ -28,6 +28,8 @@ export declare class ConversationClient {
28
28
  * @throws {@link MavenAGI.PayloadTooLargeError}
29
29
  * @throws {@link MavenAGI.TooManyRequestsError}
30
30
  * @throws {@link MavenAGI.ServerError}
31
+ * @throws {@link errors.MavenAGIError}
32
+ * @throws {@link errors.MavenAGITimeoutError}
31
33
  *
32
34
  * @example
33
35
  * await client.conversation.initialize({
@@ -72,6 +74,8 @@ export declare class ConversationClient {
72
74
  * @throws {@link MavenAGI.PayloadTooLargeError}
73
75
  * @throws {@link MavenAGI.TooManyRequestsError}
74
76
  * @throws {@link MavenAGI.ServerError}
77
+ * @throws {@link errors.MavenAGIError}
78
+ * @throws {@link errors.MavenAGITimeoutError}
75
79
  *
76
80
  * @example
77
81
  * await client.conversation.patch("conversation-0", {
@@ -92,6 +96,8 @@ export declare class ConversationClient {
92
96
  * @throws {@link MavenAGI.PayloadTooLargeError}
93
97
  * @throws {@link MavenAGI.TooManyRequestsError}
94
98
  * @throws {@link MavenAGI.ServerError}
99
+ * @throws {@link errors.MavenAGIError}
100
+ * @throws {@link errors.MavenAGITimeoutError}
95
101
  *
96
102
  * @example
97
103
  * await client.conversation.get("conversationId")
@@ -102,6 +108,7 @@ export declare class ConversationClient {
102
108
  * Wipes a conversation of all user data.
103
109
  * The conversation ID will still exist and non-user specific data will still be retained.
104
110
  * Attempts to modify or add messages to the conversation will throw an error.
111
+ * 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.
105
112
  *
106
113
  * Simulation conversations will no longer be visible in search results nor metrics.
107
114
  * Non-simulation conversations will remain visible - they can not be fully removed from the system.
@@ -119,6 +126,8 @@ export declare class ConversationClient {
119
126
  * @throws {@link MavenAGI.PayloadTooLargeError}
120
127
  * @throws {@link MavenAGI.TooManyRequestsError}
121
128
  * @throws {@link MavenAGI.ServerError}
129
+ * @throws {@link errors.MavenAGIError}
130
+ * @throws {@link errors.MavenAGITimeoutError}
122
131
  *
123
132
  * @example
124
133
  * await client.conversation.delete("conversation-0", {
@@ -139,6 +148,8 @@ export declare class ConversationClient {
139
148
  * @throws {@link MavenAGI.PayloadTooLargeError}
140
149
  * @throws {@link MavenAGI.TooManyRequestsError}
141
150
  * @throws {@link MavenAGI.ServerError}
151
+ * @throws {@link errors.MavenAGIError}
152
+ * @throws {@link errors.MavenAGITimeoutError}
142
153
  *
143
154
  * @example
144
155
  * await client.conversation.appendNewMessages("conversationId", [{
@@ -183,6 +194,8 @@ export declare class ConversationClient {
183
194
  * @throws {@link MavenAGI.PayloadTooLargeError}
184
195
  * @throws {@link MavenAGI.TooManyRequestsError}
185
196
  * @throws {@link MavenAGI.ServerError}
197
+ * @throws {@link errors.MavenAGIError}
198
+ * @throws {@link errors.MavenAGITimeoutError}
186
199
  *
187
200
  * @example
188
201
  * await client.conversation.ask("conversation-0", {
@@ -236,6 +249,8 @@ export declare class ConversationClient {
236
249
  * @throws {@link MavenAGI.PayloadTooLargeError}
237
250
  * @throws {@link MavenAGI.TooManyRequestsError}
238
251
  * @throws {@link MavenAGI.ServerError}
252
+ * @throws {@link errors.MavenAGIError}
253
+ * @throws {@link errors.MavenAGITimeoutError}
239
254
  *
240
255
  * @example
241
256
  * await client.conversation.categorize("conversationId")
@@ -259,6 +274,8 @@ export declare class ConversationClient {
259
274
  * @throws {@link MavenAGI.PayloadTooLargeError}
260
275
  * @throws {@link MavenAGI.TooManyRequestsError}
261
276
  * @throws {@link MavenAGI.ServerError}
277
+ * @throws {@link errors.MavenAGIError}
278
+ * @throws {@link errors.MavenAGITimeoutError}
262
279
  *
263
280
  * @example
264
281
  * await client.conversation.createFeedback({
@@ -296,6 +313,8 @@ export declare class ConversationClient {
296
313
  * @throws {@link MavenAGI.PayloadTooLargeError}
297
314
  * @throws {@link MavenAGI.TooManyRequestsError}
298
315
  * @throws {@link MavenAGI.ServerError}
316
+ * @throws {@link errors.MavenAGIError}
317
+ * @throws {@link errors.MavenAGITimeoutError}
299
318
  *
300
319
  * @example
301
320
  * await client.conversation.submitActionForm("conversationId", {
@@ -325,6 +344,8 @@ export declare class ConversationClient {
325
344
  * @throws {@link MavenAGI.PayloadTooLargeError}
326
345
  * @throws {@link MavenAGI.TooManyRequestsError}
327
346
  * @throws {@link MavenAGI.ServerError}
347
+ * @throws {@link errors.MavenAGIError}
348
+ * @throws {@link errors.MavenAGITimeoutError}
328
349
  *
329
350
  * @example
330
351
  * await client.conversation.addConversationMetadata("conversationId", {
@@ -351,6 +372,8 @@ export declare class ConversationClient {
351
372
  * @throws {@link MavenAGI.PayloadTooLargeError}
352
373
  * @throws {@link MavenAGI.TooManyRequestsError}
353
374
  * @throws {@link MavenAGI.ServerError}
375
+ * @throws {@link errors.MavenAGIError}
376
+ * @throws {@link errors.MavenAGITimeoutError}
354
377
  *
355
378
  * @example
356
379
  * await client.conversation.updateConversationMetadata("conversation-0", {
@@ -373,6 +396,8 @@ export declare class ConversationClient {
373
396
  * @throws {@link MavenAGI.PayloadTooLargeError}
374
397
  * @throws {@link MavenAGI.TooManyRequestsError}
375
398
  * @throws {@link MavenAGI.ServerError}
399
+ * @throws {@link errors.MavenAGIError}
400
+ * @throws {@link errors.MavenAGITimeoutError}
376
401
  *
377
402
  * @example
378
403
  * await client.conversation.search({})
@@ -400,6 +425,8 @@ export declare class ConversationClient {
400
425
  * @throws {@link MavenAGI.PayloadTooLargeError}
401
426
  * @throws {@link MavenAGI.TooManyRequestsError}
402
427
  * @throws {@link MavenAGI.ServerError}
428
+ * @throws {@link errors.MavenAGIError}
429
+ * @throws {@link errors.MavenAGITimeoutError}
403
430
  *
404
431
  * @example
405
432
  * await client.conversation.searchCursor({})
@@ -419,6 +446,8 @@ export declare class ConversationClient {
419
446
  * @throws {@link MavenAGI.PayloadTooLargeError}
420
447
  * @throws {@link MavenAGI.TooManyRequestsError}
421
448
  * @throws {@link MavenAGI.ServerError}
449
+ * @throws {@link errors.MavenAGIError}
450
+ * @throws {@link errors.MavenAGITimeoutError}
422
451
  */
423
452
  export(request: MavenAGI.ConversationsSearchRequest, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
424
453
  private __export;
@@ -440,6 +469,8 @@ export declare class ConversationClient {
440
469
  * @throws {@link MavenAGI.PayloadTooLargeError}
441
470
  * @throws {@link MavenAGI.TooManyRequestsError}
442
471
  * @throws {@link MavenAGI.ServerError}
472
+ * @throws {@link errors.MavenAGIError}
473
+ * @throws {@link errors.MavenAGITimeoutError}
443
474
  */
444
475
  importSimulations(file: core.file.Uploadable, request: MavenAGI.SimulationImportRequest, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<void>;
445
476
  private __importSimulations;
@@ -461,6 +492,8 @@ export declare class ConversationClient {
461
492
  * @throws {@link MavenAGI.PayloadTooLargeError}
462
493
  * @throws {@link MavenAGI.TooManyRequestsError}
463
494
  * @throws {@link MavenAGI.ServerError}
495
+ * @throws {@link errors.MavenAGIError}
496
+ * @throws {@link errors.MavenAGITimeoutError}
464
497
  *
465
498
  * @example
466
499
  * await client.conversation.deliverMessage({