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
@@ -21,6 +21,8 @@ export declare class KnowledgeClient {
21
21
  * @throws {@link MavenAGI.PayloadTooLargeError}
22
22
  * @throws {@link MavenAGI.TooManyRequestsError}
23
23
  * @throws {@link MavenAGI.ServerError}
24
+ * @throws {@link errors.MavenAGIError}
25
+ * @throws {@link errors.MavenAGITimeoutError}
24
26
  *
25
27
  * @example
26
28
  * await client.knowledge.searchKnowledgeBases({})
@@ -38,6 +40,8 @@ export declare class KnowledgeClient {
38
40
  * @throws {@link MavenAGI.PayloadTooLargeError}
39
41
  * @throws {@link MavenAGI.TooManyRequestsError}
40
42
  * @throws {@link MavenAGI.ServerError}
43
+ * @throws {@link errors.MavenAGIError}
44
+ * @throws {@link errors.MavenAGITimeoutError}
41
45
  *
42
46
  * @example
43
47
  * await client.knowledge.createOrUpdateKnowledgeBase({
@@ -61,6 +65,8 @@ export declare class KnowledgeClient {
61
65
  * @throws {@link MavenAGI.PayloadTooLargeError}
62
66
  * @throws {@link MavenAGI.TooManyRequestsError}
63
67
  * @throws {@link MavenAGI.ServerError}
68
+ * @throws {@link errors.MavenAGIError}
69
+ * @throws {@link errors.MavenAGITimeoutError}
64
70
  *
65
71
  * @example
66
72
  * await client.knowledge.getKnowledgeBase("help-center")
@@ -82,6 +88,8 @@ export declare class KnowledgeClient {
82
88
  * @throws {@link MavenAGI.PayloadTooLargeError}
83
89
  * @throws {@link MavenAGI.TooManyRequestsError}
84
90
  * @throws {@link MavenAGI.ServerError}
91
+ * @throws {@link errors.MavenAGIError}
92
+ * @throws {@link errors.MavenAGITimeoutError}
85
93
  *
86
94
  * @example
87
95
  * await client.knowledge.refreshKnowledgeBase("help-center", {
@@ -108,6 +116,8 @@ export declare class KnowledgeClient {
108
116
  * @throws {@link MavenAGI.PayloadTooLargeError}
109
117
  * @throws {@link MavenAGI.TooManyRequestsError}
110
118
  * @throws {@link MavenAGI.ServerError}
119
+ * @throws {@link errors.MavenAGIError}
120
+ * @throws {@link errors.MavenAGITimeoutError}
111
121
  *
112
122
  * @example
113
123
  * await client.knowledge.cancelKnowledgeBaseVersion("knowledgeBaseReferenceId", {})
@@ -125,6 +135,8 @@ export declare class KnowledgeClient {
125
135
  * @throws {@link MavenAGI.PayloadTooLargeError}
126
136
  * @throws {@link MavenAGI.TooManyRequestsError}
127
137
  * @throws {@link MavenAGI.ServerError}
138
+ * @throws {@link errors.MavenAGIError}
139
+ * @throws {@link errors.MavenAGITimeoutError}
128
140
  *
129
141
  * @example
130
142
  * await client.knowledge.rollbackKnowledgeBaseVersion("knowledgeBaseReferenceId")
@@ -146,6 +158,8 @@ export declare class KnowledgeClient {
146
158
  * @throws {@link MavenAGI.PayloadTooLargeError}
147
159
  * @throws {@link MavenAGI.TooManyRequestsError}
148
160
  * @throws {@link MavenAGI.ServerError}
161
+ * @throws {@link errors.MavenAGIError}
162
+ * @throws {@link errors.MavenAGITimeoutError}
149
163
  *
150
164
  * @example
151
165
  * await client.knowledge.patchKnowledgeBase("help-center", {
@@ -167,6 +181,9 @@ export declare class KnowledgeClient {
167
181
  *
168
182
  * If an existing version is in progress, then that version will be finalized in an error state.
169
183
  *
184
+ * If another version create for the same knowledge base is still in progress, this request may
185
+ * return 503 with a `Retry-After` header. Nothing is changed in that case, so it is safe to retry.
186
+ *
170
187
  * @param {string} knowledgeBaseReferenceId - The reference ID of the knowledge base to create a version for. All other entity ID fields are inferred from the request.
171
188
  * @param {MavenAGI.KnowledgeBaseVersionRequest} request
172
189
  * @param {KnowledgeClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -176,6 +193,8 @@ export declare class KnowledgeClient {
176
193
  * @throws {@link MavenAGI.PayloadTooLargeError}
177
194
  * @throws {@link MavenAGI.TooManyRequestsError}
178
195
  * @throws {@link MavenAGI.ServerError}
196
+ * @throws {@link errors.MavenAGIError}
197
+ * @throws {@link errors.MavenAGITimeoutError}
179
198
  *
180
199
  * @example
181
200
  * await client.knowledge.createKnowledgeBaseVersion("help-center", {
@@ -196,6 +215,8 @@ export declare class KnowledgeClient {
196
215
  * @throws {@link MavenAGI.PayloadTooLargeError}
197
216
  * @throws {@link MavenAGI.TooManyRequestsError}
198
217
  * @throws {@link MavenAGI.ServerError}
218
+ * @throws {@link errors.MavenAGIError}
219
+ * @throws {@link errors.MavenAGITimeoutError}
199
220
  *
200
221
  * @example
201
222
  * await client.knowledge.finalizeKnowledgeBaseVersion("help-center", {
@@ -225,6 +246,8 @@ export declare class KnowledgeClient {
225
246
  * @throws {@link MavenAGI.PayloadTooLargeError}
226
247
  * @throws {@link MavenAGI.TooManyRequestsError}
227
248
  * @throws {@link MavenAGI.ServerError}
249
+ * @throws {@link errors.MavenAGIError}
250
+ * @throws {@link errors.MavenAGITimeoutError}
228
251
  *
229
252
  * @example
230
253
  * await client.knowledge.updateKnowledgeBaseVersionProgress("help-center", {
@@ -254,6 +277,8 @@ export declare class KnowledgeClient {
254
277
  * @throws {@link MavenAGI.PayloadTooLargeError}
255
278
  * @throws {@link MavenAGI.TooManyRequestsError}
256
279
  * @throws {@link MavenAGI.ServerError}
280
+ * @throws {@link errors.MavenAGIError}
281
+ * @throws {@link errors.MavenAGITimeoutError}
257
282
  *
258
283
  * @example
259
284
  * await client.knowledge.listKnowledgeBaseVersions("knowledgeBaseReferenceId")
@@ -271,6 +296,8 @@ export declare class KnowledgeClient {
271
296
  * @throws {@link MavenAGI.PayloadTooLargeError}
272
297
  * @throws {@link MavenAGI.TooManyRequestsError}
273
298
  * @throws {@link MavenAGI.ServerError}
299
+ * @throws {@link errors.MavenAGIError}
300
+ * @throws {@link errors.MavenAGITimeoutError}
274
301
  *
275
302
  * @example
276
303
  * await client.knowledge.searchKnowledgeDocuments({})
@@ -295,6 +322,8 @@ export declare class KnowledgeClient {
295
322
  * @throws {@link MavenAGI.PayloadTooLargeError}
296
323
  * @throws {@link MavenAGI.TooManyRequestsError}
297
324
  * @throws {@link MavenAGI.ServerError}
325
+ * @throws {@link errors.MavenAGIError}
326
+ * @throws {@link errors.MavenAGITimeoutError}
298
327
  *
299
328
  * @example
300
329
  * await client.knowledge.createKnowledgeDocument("help-center", {
@@ -332,6 +361,8 @@ export declare class KnowledgeClient {
332
361
  * @throws {@link MavenAGI.PayloadTooLargeError}
333
362
  * @throws {@link MavenAGI.TooManyRequestsError}
334
363
  * @throws {@link MavenAGI.ServerError}
364
+ * @throws {@link errors.MavenAGIError}
365
+ * @throws {@link errors.MavenAGITimeoutError}
335
366
  *
336
367
  * @example
337
368
  * await client.knowledge.deleteKnowledgeDocument("help-center", "getting-started", {
@@ -357,6 +388,8 @@ export declare class KnowledgeClient {
357
388
  * @throws {@link MavenAGI.PayloadTooLargeError}
358
389
  * @throws {@link MavenAGI.TooManyRequestsError}
359
390
  * @throws {@link MavenAGI.ServerError}
391
+ * @throws {@link errors.MavenAGIError}
392
+ * @throws {@link errors.MavenAGITimeoutError}
360
393
  *
361
394
  * @example
362
395
  * await client.knowledge.getKnowledgeDocument("knowledgeBaseVersionReferenceId", "knowledgeDocumentReferenceId", {
@@ -383,6 +416,8 @@ export declare class KnowledgeClient {
383
416
  * @throws {@link MavenAGI.PayloadTooLargeError}
384
417
  * @throws {@link MavenAGI.TooManyRequestsError}
385
418
  * @throws {@link MavenAGI.ServerError}
419
+ * @throws {@link errors.MavenAGIError}
420
+ * @throws {@link errors.MavenAGITimeoutError}
386
421
  *
387
422
  * @example
388
423
  * await client.knowledge.patchKnowledgeDocument("help-center", "how-it-works", {
@@ -47,6 +47,7 @@ exports.KnowledgeClient = void 0;
47
47
  const BaseClient_1 = require("../../../../BaseClient");
48
48
  const core = __importStar(require("../../../../core"));
49
49
  const headers_1 = require("../../../../core/headers");
50
+ const requestBody_1 = require("../../../../core/requestBody");
50
51
  const environments = __importStar(require("../../../../environments"));
51
52
  const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
52
53
  const errors = __importStar(require("../../../../errors/index"));
@@ -67,6 +68,8 @@ class KnowledgeClient {
67
68
  * @throws {@link MavenAGI.PayloadTooLargeError}
68
69
  * @throws {@link MavenAGI.TooManyRequestsError}
69
70
  * @throws {@link MavenAGI.ServerError}
71
+ * @throws {@link errors.MavenAGIError}
72
+ * @throws {@link errors.MavenAGITimeoutError}
70
73
  *
71
74
  * @example
72
75
  * await client.knowledge.searchKnowledgeBases({})
@@ -89,7 +92,7 @@ class KnowledgeClient {
89
92
  contentType: "application/json",
90
93
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
91
94
  requestType: "json",
92
- body: serializers.KnowledgeBaseSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
95
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeBaseSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
93
96
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
94
97
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
95
98
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -166,6 +169,8 @@ class KnowledgeClient {
166
169
  * @throws {@link MavenAGI.PayloadTooLargeError}
167
170
  * @throws {@link MavenAGI.TooManyRequestsError}
168
171
  * @throws {@link MavenAGI.ServerError}
172
+ * @throws {@link errors.MavenAGIError}
173
+ * @throws {@link errors.MavenAGITimeoutError}
169
174
  *
170
175
  * @example
171
176
  * await client.knowledge.createOrUpdateKnowledgeBase({
@@ -193,7 +198,7 @@ class KnowledgeClient {
193
198
  contentType: "application/json",
194
199
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
195
200
  requestType: "json",
196
- body: serializers.KnowledgeBaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
201
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeBaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
197
202
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
198
203
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
199
204
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -271,6 +276,8 @@ class KnowledgeClient {
271
276
  * @throws {@link MavenAGI.PayloadTooLargeError}
272
277
  * @throws {@link MavenAGI.TooManyRequestsError}
273
278
  * @throws {@link MavenAGI.ServerError}
279
+ * @throws {@link errors.MavenAGIError}
280
+ * @throws {@link errors.MavenAGITimeoutError}
274
281
  *
275
282
  * @example
276
283
  * await client.knowledge.getKnowledgeBase("help-center")
@@ -379,6 +386,8 @@ class KnowledgeClient {
379
386
  * @throws {@link MavenAGI.PayloadTooLargeError}
380
387
  * @throws {@link MavenAGI.TooManyRequestsError}
381
388
  * @throws {@link MavenAGI.ServerError}
389
+ * @throws {@link errors.MavenAGIError}
390
+ * @throws {@link errors.MavenAGITimeoutError}
382
391
  *
383
392
  * @example
384
393
  * await client.knowledge.refreshKnowledgeBase("help-center", {
@@ -403,7 +412,7 @@ class KnowledgeClient {
403
412
  contentType: "application/json",
404
413
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
405
414
  requestType: "json",
406
- body: serializers.KnowledgeBaseRefreshRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
415
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeBaseRefreshRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
407
416
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
408
417
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
409
418
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -479,6 +488,8 @@ class KnowledgeClient {
479
488
  * @throws {@link MavenAGI.PayloadTooLargeError}
480
489
  * @throws {@link MavenAGI.TooManyRequestsError}
481
490
  * @throws {@link MavenAGI.ServerError}
491
+ * @throws {@link errors.MavenAGIError}
492
+ * @throws {@link errors.MavenAGITimeoutError}
482
493
  *
483
494
  * @example
484
495
  * await client.knowledge.cancelKnowledgeBaseVersion("knowledgeBaseReferenceId", {})
@@ -501,9 +512,7 @@ class KnowledgeClient {
501
512
  contentType: "application/json",
502
513
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
503
514
  requestType: "json",
504
- body: serializers.CancelKnowledgeBaseVersionRequest.jsonOrThrow(request, {
505
- unrecognizedObjectKeys: "strip",
506
- }),
515
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.CancelKnowledgeBaseVersionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
507
516
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
508
517
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
509
518
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -572,6 +581,8 @@ class KnowledgeClient {
572
581
  * @throws {@link MavenAGI.PayloadTooLargeError}
573
582
  * @throws {@link MavenAGI.TooManyRequestsError}
574
583
  * @throws {@link MavenAGI.ServerError}
584
+ * @throws {@link errors.MavenAGIError}
585
+ * @throws {@link errors.MavenAGITimeoutError}
575
586
  *
576
587
  * @example
577
588
  * await client.knowledge.rollbackKnowledgeBaseVersion("knowledgeBaseReferenceId")
@@ -664,6 +675,8 @@ class KnowledgeClient {
664
675
  * @throws {@link MavenAGI.PayloadTooLargeError}
665
676
  * @throws {@link MavenAGI.TooManyRequestsError}
666
677
  * @throws {@link MavenAGI.ServerError}
678
+ * @throws {@link errors.MavenAGIError}
679
+ * @throws {@link errors.MavenAGITimeoutError}
667
680
  *
668
681
  * @example
669
682
  * await client.knowledge.patchKnowledgeBase("help-center", {
@@ -696,7 +709,7 @@ class KnowledgeClient {
696
709
  contentType: "application/merge-patch+json",
697
710
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
698
711
  requestType: "json",
699
- body: serializers.KnowledgeBasePatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
712
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeBasePatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
700
713
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
701
714
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
702
715
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -767,6 +780,9 @@ class KnowledgeClient {
767
780
  *
768
781
  * If an existing version is in progress, then that version will be finalized in an error state.
769
782
  *
783
+ * If another version create for the same knowledge base is still in progress, this request may
784
+ * return 503 with a `Retry-After` header. Nothing is changed in that case, so it is safe to retry.
785
+ *
770
786
  * @param {string} knowledgeBaseReferenceId - The reference ID of the knowledge base to create a version for. All other entity ID fields are inferred from the request.
771
787
  * @param {MavenAGI.KnowledgeBaseVersionRequest} request
772
788
  * @param {KnowledgeClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -776,6 +792,8 @@ class KnowledgeClient {
776
792
  * @throws {@link MavenAGI.PayloadTooLargeError}
777
793
  * @throws {@link MavenAGI.TooManyRequestsError}
778
794
  * @throws {@link MavenAGI.ServerError}
795
+ * @throws {@link errors.MavenAGIError}
796
+ * @throws {@link errors.MavenAGITimeoutError}
779
797
  *
780
798
  * @example
781
799
  * await client.knowledge.createKnowledgeBaseVersion("help-center", {
@@ -800,7 +818,7 @@ class KnowledgeClient {
800
818
  contentType: "application/json",
801
819
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
802
820
  requestType: "json",
803
- body: serializers.KnowledgeBaseVersionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
821
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeBaseVersionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
804
822
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
805
823
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
806
824
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -878,6 +896,8 @@ class KnowledgeClient {
878
896
  * @throws {@link MavenAGI.PayloadTooLargeError}
879
897
  * @throws {@link MavenAGI.TooManyRequestsError}
880
898
  * @throws {@link MavenAGI.ServerError}
899
+ * @throws {@link errors.MavenAGIError}
900
+ * @throws {@link errors.MavenAGITimeoutError}
881
901
  *
882
902
  * @example
883
903
  * await client.knowledge.finalizeKnowledgeBaseVersion("help-center", {
@@ -907,9 +927,9 @@ class KnowledgeClient {
907
927
  contentType: "application/json",
908
928
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
909
929
  requestType: "json",
910
- body: serializers.FinalizeKnowledgeBaseVersionRequest.jsonOrThrow(request, {
930
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.FinalizeKnowledgeBaseVersionRequest.jsonOrThrow(request, {
911
931
  unrecognizedObjectKeys: "strip",
912
- }),
932
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
913
933
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
914
934
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
915
935
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -991,6 +1011,8 @@ class KnowledgeClient {
991
1011
  * @throws {@link MavenAGI.PayloadTooLargeError}
992
1012
  * @throws {@link MavenAGI.TooManyRequestsError}
993
1013
  * @throws {@link MavenAGI.ServerError}
1014
+ * @throws {@link errors.MavenAGIError}
1015
+ * @throws {@link errors.MavenAGITimeoutError}
994
1016
  *
995
1017
  * @example
996
1018
  * await client.knowledge.updateKnowledgeBaseVersionProgress("help-center", {
@@ -1024,9 +1046,9 @@ class KnowledgeClient {
1024
1046
  contentType: "application/json",
1025
1047
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1026
1048
  requestType: "json",
1027
- body: serializers.KnowledgeBaseVersionProgressRequest.jsonOrThrow(request, {
1049
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeBaseVersionProgressRequest.jsonOrThrow(request, {
1028
1050
  unrecognizedObjectKeys: "strip",
1029
- }),
1051
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1030
1052
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
1031
1053
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
1032
1054
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1104,6 +1126,8 @@ class KnowledgeClient {
1104
1126
  * @throws {@link MavenAGI.PayloadTooLargeError}
1105
1127
  * @throws {@link MavenAGI.TooManyRequestsError}
1106
1128
  * @throws {@link MavenAGI.ServerError}
1129
+ * @throws {@link errors.MavenAGIError}
1130
+ * @throws {@link errors.MavenAGITimeoutError}
1107
1131
  *
1108
1132
  * @example
1109
1133
  * await client.knowledge.listKnowledgeBaseVersions("knowledgeBaseReferenceId")
@@ -1208,6 +1232,8 @@ class KnowledgeClient {
1208
1232
  * @throws {@link MavenAGI.PayloadTooLargeError}
1209
1233
  * @throws {@link MavenAGI.TooManyRequestsError}
1210
1234
  * @throws {@link MavenAGI.ServerError}
1235
+ * @throws {@link errors.MavenAGIError}
1236
+ * @throws {@link errors.MavenAGITimeoutError}
1211
1237
  *
1212
1238
  * @example
1213
1239
  * await client.knowledge.searchKnowledgeDocuments({})
@@ -1230,7 +1256,7 @@ class KnowledgeClient {
1230
1256
  contentType: "application/json",
1231
1257
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1232
1258
  requestType: "json",
1233
- body: serializers.KnowledgeDocumentSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
1259
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeDocumentSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1234
1260
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
1235
1261
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
1236
1262
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1314,6 +1340,8 @@ class KnowledgeClient {
1314
1340
  * @throws {@link MavenAGI.PayloadTooLargeError}
1315
1341
  * @throws {@link MavenAGI.TooManyRequestsError}
1316
1342
  * @throws {@link MavenAGI.ServerError}
1343
+ * @throws {@link errors.MavenAGIError}
1344
+ * @throws {@link errors.MavenAGITimeoutError}
1317
1345
  *
1318
1346
  * @example
1319
1347
  * await client.knowledge.createKnowledgeDocument("help-center", {
@@ -1351,7 +1379,7 @@ class KnowledgeClient {
1351
1379
  contentType: "application/json",
1352
1380
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1353
1381
  requestType: "json",
1354
- body: serializers.KnowledgeDocumentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
1382
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeDocumentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1355
1383
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
1356
1384
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
1357
1385
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1433,6 +1461,8 @@ class KnowledgeClient {
1433
1461
  * @throws {@link MavenAGI.PayloadTooLargeError}
1434
1462
  * @throws {@link MavenAGI.TooManyRequestsError}
1435
1463
  * @throws {@link MavenAGI.ServerError}
1464
+ * @throws {@link errors.MavenAGIError}
1465
+ * @throws {@link errors.MavenAGITimeoutError}
1436
1466
  *
1437
1467
  * @example
1438
1468
  * await client.knowledge.deleteKnowledgeDocument("help-center", "getting-started", {
@@ -1461,7 +1491,7 @@ class KnowledgeClient {
1461
1491
  contentType: "application/json",
1462
1492
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1463
1493
  requestType: "json",
1464
- body: serializers.KnowledgeDeleteRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
1494
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeDeleteRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1465
1495
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
1466
1496
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
1467
1497
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1532,6 +1562,8 @@ class KnowledgeClient {
1532
1562
  * @throws {@link MavenAGI.PayloadTooLargeError}
1533
1563
  * @throws {@link MavenAGI.TooManyRequestsError}
1534
1564
  * @throws {@link MavenAGI.ServerError}
1565
+ * @throws {@link errors.MavenAGIError}
1566
+ * @throws {@link errors.MavenAGITimeoutError}
1535
1567
  *
1536
1568
  * @example
1537
1569
  * await client.knowledge.getKnowledgeDocument("knowledgeBaseVersionReferenceId", "knowledgeDocumentReferenceId", {
@@ -1645,6 +1677,8 @@ class KnowledgeClient {
1645
1677
  * @throws {@link MavenAGI.PayloadTooLargeError}
1646
1678
  * @throws {@link MavenAGI.TooManyRequestsError}
1647
1679
  * @throws {@link MavenAGI.ServerError}
1680
+ * @throws {@link errors.MavenAGIError}
1681
+ * @throws {@link errors.MavenAGITimeoutError}
1648
1682
  *
1649
1683
  * @example
1650
1684
  * await client.knowledge.patchKnowledgeDocument("help-center", "how-it-works", {
@@ -1669,7 +1703,7 @@ class KnowledgeClient {
1669
1703
  contentType: "application/merge-patch+json",
1670
1704
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1671
1705
  requestType: "json",
1672
- body: serializers.KnowledgeDocumentPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
1706
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.KnowledgeDocumentPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1673
1707
  timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
1674
1708
  maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
1675
1709
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -32,4 +32,17 @@ export interface KnowledgeDocumentFilter {
32
32
  knowledgeBaseVersionId?: MavenAGI.EntityIdWithoutAgent;
33
33
  /** Filter by the LLM inclusion status */
34
34
  llmInclusionStatus?: MavenAGI.LlmInclusionStatus[];
35
+ /**
36
+ * Return only documents narrowed to one of these entities. Uses OR semantics - a document
37
+ * matching any of them is returned.
38
+ *
39
+ * This is an exact match on the document's `relevantEntities`, not the widening a
40
+ * conversation's `contextFilter` performs: filtering by a customer returns that customer's
41
+ * documents and not the agent's general knowledge. Omit the field to search every
42
+ * document regardless of what it is narrowed to; an empty list does the same.
43
+ *
44
+ * Each `entityId` must be fully specified and belong to the organization and agent the
45
+ * request is made against.
46
+ */
47
+ relevantEntities?: MavenAGI.ScopedEntity[];
35
48
  }
@@ -69,8 +69,10 @@ export interface KnowledgeDocumentRequest extends MavenAGI.BaseKnowledgeDocument
69
69
  * entity type with no internal form, is rejected rather than dropped - dropping the last
70
70
  * entity would widen the document back to the whole agent.
71
71
  *
72
- * Changing the entities on an existing document is not supported yet: re-sending a
73
- * document with different `relevantEntities` but unchanged content is a no-op.
72
+ * Changing the entities on an existing document is not supported yet: document reuse is
73
+ * decided by a checksum over `title`, `text`, `metadata`, `sourceUrl` and the attached
74
+ * asset, so re-sending a document with different `relevantEntities` but none of those
75
+ * changed returns the stored document and discards the new entities.
74
76
  */
75
77
  relevantEntities?: MavenAGI.ScopedEntity[];
76
78
  }
@@ -31,6 +31,39 @@ import type * as MavenAGI from "../../../index";
31
31
  * createdAt: new Date("2024-01-01T00:00:00.000Z"),
32
32
  * updatedAt: new Date("2024-02-02T00:00:00.000Z"),
33
33
  * llmInclusionStatus: MavenAGI.LlmInclusionStatus.WhenRelevant,
34
+ * relevantEntities: [],
35
+ * knowledgeBaseLlmInclusionStatus: MavenAGI.LlmInclusionStatus.WhenRelevant
36
+ * }
37
+ *
38
+ * @example
39
+ * {
40
+ * knowledgeDocumentId: {
41
+ * referenceId: "billing-preferences",
42
+ * appId: "crm",
43
+ * organizationId: "acme",
44
+ * agentId: "support",
45
+ * type: MavenAGI.EntityType.KnowledgeDocument
46
+ * },
47
+ * knowledgeBaseVersionId: {
48
+ * referenceId: "versionId",
49
+ * appId: "crm",
50
+ * organizationId: "acme",
51
+ * agentId: "support",
52
+ * type: MavenAGI.EntityType.KnowledgeBaseVersion
53
+ * },
54
+ * knowledgeBaseId: {
55
+ * referenceId: "customer-notes",
56
+ * appId: "crm",
57
+ * organizationId: "acme",
58
+ * agentId: "support",
59
+ * type: MavenAGI.EntityType.KnowledgeBase
60
+ * },
61
+ * content: "This customer is invoiced by email.",
62
+ * title: "Billing preferences",
63
+ * metadata: {},
64
+ * createdAt: new Date("2024-01-01T00:00:00.000Z"),
65
+ * updatedAt: new Date("2024-02-02T00:00:00.000Z"),
66
+ * llmInclusionStatus: MavenAGI.LlmInclusionStatus.WhenRelevant,
34
67
  * relevantEntities: [{
35
68
  * entityId: {
36
69
  * type: MavenAGI.EntityType.Customer,
@@ -38,13 +71,6 @@ import type * as MavenAGI from "../../../index";
38
71
  * organizationId: "acme",
39
72
  * agentId: "support",
40
73
  * referenceId: "customer-42"
41
- * },
42
- * scopeEntityId: {
43
- * type: MavenAGI.EntityType.Agent,
44
- * appId: "maven",
45
- * organizationId: "acme",
46
- * agentId: "support",
47
- * referenceId: "support"
48
74
  * }
49
75
  * }],
50
76
  * knowledgeBaseLlmInclusionStatus: MavenAGI.LlmInclusionStatus.WhenRelevant
@@ -59,6 +85,4 @@ export interface KnowledgeDocumentResponse extends MavenAGI.KnowledgeDocumentSea
59
85
  asset?: MavenAGI.AttachmentResponse;
60
86
  /** Metadata for the knowledge document. */
61
87
  metadata: Record<string, string>;
62
- /** Scoped entities this document is associated with for context-based filtering. */
63
- relevantEntities: MavenAGI.ScopedEntity[];
64
88
  }
@@ -28,7 +28,8 @@ import type * as MavenAGI from "../../../index";
28
28
  * knowledgeBaseLlmInclusionStatus: MavenAGI.LlmInclusionStatus.Never,
29
29
  * url: "https://help-center.acme.com/how-it-works",
30
30
  * createdAt: new Date("2024-01-01T00:00:00.000Z"),
31
- * updatedAt: new Date("2024-02-02T00:00:00.000Z")
31
+ * updatedAt: new Date("2024-02-02T00:00:00.000Z"),
32
+ * relevantEntities: []
32
33
  * }
33
34
  */
34
35
  export interface KnowledgeDocumentSearchResponse extends MavenAGI.BaseKnowledgeDocument {
@@ -51,4 +52,9 @@ export interface KnowledgeDocumentSearchResponse extends MavenAGI.BaseKnowledgeD
51
52
  createdAt: Date;
52
53
  /** The time at which this document was last modified. */
53
54
  updatedAt: Date;
55
+ /**
56
+ * The entities this document is narrowed to. Empty for a document that is part of the
57
+ * agent's general knowledge.
58
+ */
59
+ relevantEntities: MavenAGI.ScopedEntity[];
54
60
  }
@@ -26,6 +26,8 @@ export declare class OrganizationsClient {
26
26
  * @throws {@link MavenAGI.PayloadTooLargeError}
27
27
  * @throws {@link MavenAGI.TooManyRequestsError}
28
28
  * @throws {@link MavenAGI.ServerError}
29
+ * @throws {@link errors.MavenAGIError}
30
+ * @throws {@link errors.MavenAGITimeoutError}
29
31
  *
30
32
  * @example
31
33
  * await client.organizations.create("organizationReferenceId", {
@@ -46,6 +48,8 @@ export declare class OrganizationsClient {
46
48
  * @throws {@link MavenAGI.PayloadTooLargeError}
47
49
  * @throws {@link MavenAGI.TooManyRequestsError}
48
50
  * @throws {@link MavenAGI.ServerError}
51
+ * @throws {@link errors.MavenAGIError}
52
+ * @throws {@link errors.MavenAGITimeoutError}
49
53
  *
50
54
  * @example
51
55
  * await client.organizations.get("organizationReferenceId")
@@ -69,6 +73,8 @@ export declare class OrganizationsClient {
69
73
  * @throws {@link MavenAGI.PayloadTooLargeError}
70
74
  * @throws {@link MavenAGI.TooManyRequestsError}
71
75
  * @throws {@link MavenAGI.ServerError}
76
+ * @throws {@link errors.MavenAGIError}
77
+ * @throws {@link errors.MavenAGITimeoutError}
72
78
  *
73
79
  * @example
74
80
  * await client.organizations.patch("organizationReferenceId", {})
@@ -90,6 +96,8 @@ export declare class OrganizationsClient {
90
96
  * @throws {@link MavenAGI.PayloadTooLargeError}
91
97
  * @throws {@link MavenAGI.TooManyRequestsError}
92
98
  * @throws {@link MavenAGI.ServerError}
99
+ * @throws {@link errors.MavenAGIError}
100
+ * @throws {@link errors.MavenAGITimeoutError}
93
101
  *
94
102
  * @example
95
103
  * await client.organizations.delete("organizationReferenceId")
@@ -114,6 +122,8 @@ export declare class OrganizationsClient {
114
122
  * @throws {@link MavenAGI.PayloadTooLargeError}
115
123
  * @throws {@link MavenAGI.TooManyRequestsError}
116
124
  * @throws {@link MavenAGI.ServerError}
125
+ * @throws {@link errors.MavenAGIError}
126
+ * @throws {@link errors.MavenAGITimeoutError}
117
127
  *
118
128
  * @example
119
129
  * await client.organizations.getConversationTable({
@@ -165,6 +175,8 @@ export declare class OrganizationsClient {
165
175
  * @throws {@link MavenAGI.PayloadTooLargeError}
166
176
  * @throws {@link MavenAGI.TooManyRequestsError}
167
177
  * @throws {@link MavenAGI.ServerError}
178
+ * @throws {@link errors.MavenAGIError}
179
+ * @throws {@link errors.MavenAGITimeoutError}
168
180
  *
169
181
  * @example
170
182
  * await client.organizations.getConversationChart({