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
@@ -47,6 +47,7 @@ exports.OrganizationsClient = 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"));
@@ -72,6 +73,8 @@ class OrganizationsClient {
72
73
  * @throws {@link MavenAGI.PayloadTooLargeError}
73
74
  * @throws {@link MavenAGI.TooManyRequestsError}
74
75
  * @throws {@link MavenAGI.ServerError}
76
+ * @throws {@link errors.MavenAGIError}
77
+ * @throws {@link errors.MavenAGITimeoutError}
75
78
  *
76
79
  * @example
77
80
  * await client.organizations.create("organizationReferenceId", {
@@ -97,7 +100,7 @@ class OrganizationsClient {
97
100
  contentType: "application/json",
98
101
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
99
102
  requestType: "json",
100
- body: serializers.CreateOrganizationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
103
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.CreateOrganizationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
101
104
  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,
102
105
  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,
103
106
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -174,6 +177,8 @@ class OrganizationsClient {
174
177
  * @throws {@link MavenAGI.PayloadTooLargeError}
175
178
  * @throws {@link MavenAGI.TooManyRequestsError}
176
179
  * @throws {@link MavenAGI.ServerError}
180
+ * @throws {@link errors.MavenAGIError}
181
+ * @throws {@link errors.MavenAGITimeoutError}
177
182
  *
178
183
  * @example
179
184
  * await client.organizations.get("organizationReferenceId")
@@ -276,6 +281,8 @@ class OrganizationsClient {
276
281
  * @throws {@link MavenAGI.PayloadTooLargeError}
277
282
  * @throws {@link MavenAGI.TooManyRequestsError}
278
283
  * @throws {@link MavenAGI.ServerError}
284
+ * @throws {@link errors.MavenAGIError}
285
+ * @throws {@link errors.MavenAGITimeoutError}
279
286
  *
280
287
  * @example
281
288
  * await client.organizations.patch("organizationReferenceId", {})
@@ -298,7 +305,7 @@ class OrganizationsClient {
298
305
  contentType: "application/json",
299
306
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
300
307
  requestType: "json",
301
- body: serializers.OrganizationPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
308
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.OrganizationPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
302
309
  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,
303
310
  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,
304
311
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -379,6 +386,8 @@ class OrganizationsClient {
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.organizations.delete("organizationReferenceId")
@@ -474,6 +483,8 @@ class OrganizationsClient {
474
483
  * @throws {@link MavenAGI.PayloadTooLargeError}
475
484
  * @throws {@link MavenAGI.TooManyRequestsError}
476
485
  * @throws {@link MavenAGI.ServerError}
486
+ * @throws {@link errors.MavenAGIError}
487
+ * @throws {@link errors.MavenAGITimeoutError}
477
488
  *
478
489
  * @example
479
490
  * await client.organizations.getConversationTable({
@@ -523,7 +534,7 @@ class OrganizationsClient {
523
534
  contentType: "application/json",
524
535
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
525
536
  requestType: "json",
526
- body: serializers.ConversationTableRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
537
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.ConversationTableRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
527
538
  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,
528
539
  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,
529
540
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -607,6 +618,8 @@ class OrganizationsClient {
607
618
  * @throws {@link MavenAGI.PayloadTooLargeError}
608
619
  * @throws {@link MavenAGI.TooManyRequestsError}
609
620
  * @throws {@link MavenAGI.ServerError}
621
+ * @throws {@link errors.MavenAGIError}
622
+ * @throws {@link errors.MavenAGITimeoutError}
610
623
  *
611
624
  * @example
612
625
  * await client.organizations.getConversationChart({
@@ -672,7 +685,7 @@ class OrganizationsClient {
672
685
  contentType: "application/json",
673
686
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
674
687
  requestType: "json",
675
- body: serializers.ConversationChartRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
688
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.ConversationChartRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
676
689
  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,
677
690
  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,
678
691
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -21,6 +21,8 @@ export declare class SegmentsClient {
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.segments.search({})
@@ -40,6 +42,8 @@ export declare class SegmentsClient {
40
42
  * @throws {@link MavenAGI.PayloadTooLargeError}
41
43
  * @throws {@link MavenAGI.TooManyRequestsError}
42
44
  * @throws {@link MavenAGI.ServerError}
45
+ * @throws {@link errors.MavenAGIError}
46
+ * @throws {@link errors.MavenAGITimeoutError}
43
47
  *
44
48
  * @example
45
49
  * await client.segments.createOrUpdate({
@@ -76,6 +80,8 @@ export declare class SegmentsClient {
76
80
  * @throws {@link MavenAGI.PayloadTooLargeError}
77
81
  * @throws {@link MavenAGI.TooManyRequestsError}
78
82
  * @throws {@link MavenAGI.ServerError}
83
+ * @throws {@link errors.MavenAGIError}
84
+ * @throws {@link errors.MavenAGITimeoutError}
79
85
  *
80
86
  * @example
81
87
  * await client.segments.get("admin-users")
@@ -99,6 +105,8 @@ export declare class SegmentsClient {
99
105
  * @throws {@link MavenAGI.PayloadTooLargeError}
100
106
  * @throws {@link MavenAGI.TooManyRequestsError}
101
107
  * @throws {@link MavenAGI.ServerError}
108
+ * @throws {@link errors.MavenAGIError}
109
+ * @throws {@link errors.MavenAGITimeoutError}
102
110
  *
103
111
  * @example
104
112
  * await client.segments.patch("segmentReferenceId", {})
@@ -123,6 +131,8 @@ export declare class SegmentsClient {
123
131
  * @throws {@link MavenAGI.PayloadTooLargeError}
124
132
  * @throws {@link MavenAGI.TooManyRequestsError}
125
133
  * @throws {@link MavenAGI.ServerError}
134
+ * @throws {@link errors.MavenAGIError}
135
+ * @throws {@link errors.MavenAGITimeoutError}
126
136
  *
127
137
  * @example
128
138
  * await client.segments.delete("segmentReferenceId")
@@ -47,6 +47,7 @@ exports.SegmentsClient = 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 SegmentsClient {
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.segments.search({})
@@ -89,7 +92,7 @@ class SegmentsClient {
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.SegmentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
95
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.SegmentsSearchRequest.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,
@@ -168,6 +171,8 @@ class SegmentsClient {
168
171
  * @throws {@link MavenAGI.PayloadTooLargeError}
169
172
  * @throws {@link MavenAGI.TooManyRequestsError}
170
173
  * @throws {@link MavenAGI.ServerError}
174
+ * @throws {@link errors.MavenAGIError}
175
+ * @throws {@link errors.MavenAGITimeoutError}
171
176
  *
172
177
  * @example
173
178
  * await client.segments.createOrUpdate({
@@ -206,7 +211,7 @@ class SegmentsClient {
206
211
  contentType: "application/json",
207
212
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
208
213
  requestType: "json",
209
- body: serializers.SegmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
214
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.SegmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
210
215
  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,
211
216
  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,
212
217
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -286,6 +291,8 @@ class SegmentsClient {
286
291
  * @throws {@link MavenAGI.PayloadTooLargeError}
287
292
  * @throws {@link MavenAGI.TooManyRequestsError}
288
293
  * @throws {@link MavenAGI.ServerError}
294
+ * @throws {@link errors.MavenAGIError}
295
+ * @throws {@link errors.MavenAGITimeoutError}
289
296
  *
290
297
  * @example
291
298
  * await client.segments.get("admin-users")
@@ -396,6 +403,8 @@ class SegmentsClient {
396
403
  * @throws {@link MavenAGI.PayloadTooLargeError}
397
404
  * @throws {@link MavenAGI.TooManyRequestsError}
398
405
  * @throws {@link MavenAGI.ServerError}
406
+ * @throws {@link errors.MavenAGIError}
407
+ * @throws {@link errors.MavenAGITimeoutError}
399
408
  *
400
409
  * @example
401
410
  * await client.segments.patch("segmentReferenceId", {})
@@ -418,7 +427,7 @@ class SegmentsClient {
418
427
  contentType: "application/merge-patch+json",
419
428
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
420
429
  requestType: "json",
421
- body: serializers.SegmentPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
430
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.SegmentPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
422
431
  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,
423
432
  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,
424
433
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -502,6 +511,8 @@ class SegmentsClient {
502
511
  * @throws {@link MavenAGI.PayloadTooLargeError}
503
512
  * @throws {@link MavenAGI.TooManyRequestsError}
504
513
  * @throws {@link MavenAGI.ServerError}
514
+ * @throws {@link errors.MavenAGIError}
515
+ * @throws {@link errors.MavenAGITimeoutError}
505
516
  *
506
517
  * @example
507
518
  * await client.segments.delete("segmentReferenceId")
@@ -21,6 +21,8 @@ export declare class TranslationsClient {
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.translations.translate({
@@ -47,6 +47,7 @@ exports.TranslationsClient = 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 TranslationsClient {
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.translations.translate({
@@ -92,7 +95,7 @@ class TranslationsClient {
92
95
  contentType: "application/json",
93
96
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
94
97
  requestType: "json",
95
- body: serializers.TranslationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
98
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.TranslationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
96
99
  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,
97
100
  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,
98
101
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -11,6 +11,12 @@ export declare class TriggersClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<TriggersClient.Options>;
12
12
  constructor(options: TriggersClient.Options);
13
13
  /**
14
+ * @deprecated
15
+ *
16
+ * Deprecated. Use `POST /v1/capabilities/search`, which searches every kind of capability
17
+ * at once. It returns the fields every capability shares rather than the whole Event
18
+ * Trigger; fetch one by its kind and reference ID for the rest.
19
+ *
14
20
  * @param {MavenAGI.EventTriggersSearchRequest} request
15
21
  * @param {TriggersClient.RequestOptions} requestOptions - Request-specific configuration.
16
22
  *
@@ -19,6 +25,8 @@ export declare class TriggersClient {
19
25
  * @throws {@link MavenAGI.PayloadTooLargeError}
20
26
  * @throws {@link MavenAGI.TooManyRequestsError}
21
27
  * @throws {@link MavenAGI.ServerError}
28
+ * @throws {@link errors.MavenAGIError}
29
+ * @throws {@link errors.MavenAGITimeoutError}
22
30
  *
23
31
  * @example
24
32
  * await client.triggers.search({})
@@ -36,6 +44,8 @@ export declare class TriggersClient {
36
44
  * @throws {@link MavenAGI.PayloadTooLargeError}
37
45
  * @throws {@link MavenAGI.TooManyRequestsError}
38
46
  * @throws {@link MavenAGI.ServerError}
47
+ * @throws {@link errors.MavenAGIError}
48
+ * @throws {@link errors.MavenAGITimeoutError}
39
49
  *
40
50
  * @example
41
51
  * await client.triggers.createOrUpdate({
@@ -49,6 +59,11 @@ export declare class TriggersClient {
49
59
  createOrUpdate(request: MavenAGI.EventTriggerRequest, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<MavenAGI.EventTriggerResponse>;
50
60
  private __createOrUpdate;
51
61
  /**
62
+ * @deprecated
63
+ *
64
+ * Deprecated. Use `GET /v1/capabilities/TRIGGER/{referenceId}`, which returns this same
65
+ * object for a trigger and the equivalent for every other kind of capability.
66
+ *
52
67
  * Get an event trigger by its supplied ID
53
68
  *
54
69
  * @param {string} triggerReferenceId - The reference ID of the event trigger to get. All other entity ID fields are inferred from the request.
@@ -59,6 +74,8 @@ export declare class TriggersClient {
59
74
  * @throws {@link MavenAGI.PayloadTooLargeError}
60
75
  * @throws {@link MavenAGI.TooManyRequestsError}
61
76
  * @throws {@link MavenAGI.ServerError}
77
+ * @throws {@link errors.MavenAGIError}
78
+ * @throws {@link errors.MavenAGITimeoutError}
62
79
  *
63
80
  * @example
64
81
  * await client.triggers.get("store-in-snowflake")
@@ -66,6 +83,11 @@ export declare class TriggersClient {
66
83
  get(triggerReferenceId: string, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<MavenAGI.EventTriggerResponse>;
67
84
  private __get;
68
85
  /**
86
+ * @deprecated
87
+ *
88
+ * Deprecated. Use `DELETE /v1/capabilities/TRIGGER/{referenceId}`, which deletes any kind
89
+ * of capability the same way.
90
+ *
69
91
  * Delete an event trigger
70
92
  *
71
93
  * @param {string} triggerReferenceId - The reference ID of the event trigger to delete. All other entity ID fields are inferred from the request.
@@ -76,6 +98,8 @@ export declare class TriggersClient {
76
98
  * @throws {@link MavenAGI.PayloadTooLargeError}
77
99
  * @throws {@link MavenAGI.TooManyRequestsError}
78
100
  * @throws {@link MavenAGI.ServerError}
101
+ * @throws {@link errors.MavenAGIError}
102
+ * @throws {@link errors.MavenAGITimeoutError}
79
103
  *
80
104
  * @example
81
105
  * await client.triggers.delete("store-in-snowflake")
@@ -83,6 +107,11 @@ export declare class TriggersClient {
83
107
  delete(triggerReferenceId: string, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<void>;
84
108
  private __delete;
85
109
  /**
110
+ * @deprecated
111
+ *
112
+ * Deprecated. Use `PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status`, which
113
+ * publishes and unpublishes any kind of capability the same way.
114
+ *
86
115
  * Updates an event trigger. Only the enabled field is editable.
87
116
  *
88
117
  * @param {string} triggerReferenceId - The reference ID of the event trigger to update. All other entity ID fields are inferred from the request.
@@ -94,6 +123,8 @@ export declare class TriggersClient {
94
123
  * @throws {@link MavenAGI.PayloadTooLargeError}
95
124
  * @throws {@link MavenAGI.TooManyRequestsError}
96
125
  * @throws {@link MavenAGI.ServerError}
126
+ * @throws {@link errors.MavenAGIError}
127
+ * @throws {@link errors.MavenAGITimeoutError}
97
128
  *
98
129
  * @example
99
130
  * await client.triggers.partialUpdate("triggerReferenceId", {
@@ -47,6 +47,7 @@ exports.TriggersClient = 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"));
@@ -57,6 +58,12 @@ class TriggersClient {
57
58
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
58
59
  }
59
60
  /**
61
+ * @deprecated
62
+ *
63
+ * Deprecated. Use `POST /v1/capabilities/search`, which searches every kind of capability
64
+ * at once. It returns the fields every capability shares rather than the whole Event
65
+ * Trigger; fetch one by its kind and reference ID for the rest.
66
+ *
60
67
  * @param {MavenAGI.EventTriggersSearchRequest} request
61
68
  * @param {TriggersClient.RequestOptions} requestOptions - Request-specific configuration.
62
69
  *
@@ -65,6 +72,8 @@ class TriggersClient {
65
72
  * @throws {@link MavenAGI.PayloadTooLargeError}
66
73
  * @throws {@link MavenAGI.TooManyRequestsError}
67
74
  * @throws {@link MavenAGI.ServerError}
75
+ * @throws {@link errors.MavenAGIError}
76
+ * @throws {@link errors.MavenAGITimeoutError}
68
77
  *
69
78
  * @example
70
79
  * await client.triggers.search({})
@@ -87,7 +96,7 @@ class TriggersClient {
87
96
  contentType: "application/json",
88
97
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
89
98
  requestType: "json",
90
- body: serializers.EventTriggersSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
99
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.EventTriggersSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
91
100
  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,
92
101
  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,
93
102
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -164,6 +173,8 @@ class TriggersClient {
164
173
  * @throws {@link MavenAGI.PayloadTooLargeError}
165
174
  * @throws {@link MavenAGI.TooManyRequestsError}
166
175
  * @throws {@link MavenAGI.ServerError}
176
+ * @throws {@link errors.MavenAGIError}
177
+ * @throws {@link errors.MavenAGITimeoutError}
167
178
  *
168
179
  * @example
169
180
  * await client.triggers.createOrUpdate({
@@ -192,7 +203,7 @@ class TriggersClient {
192
203
  contentType: "application/json",
193
204
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
194
205
  requestType: "json",
195
- body: serializers.EventTriggerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
206
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.EventTriggerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
196
207
  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,
197
208
  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,
198
209
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -259,6 +270,11 @@ class TriggersClient {
259
270
  });
260
271
  }
261
272
  /**
273
+ * @deprecated
274
+ *
275
+ * Deprecated. Use `GET /v1/capabilities/TRIGGER/{referenceId}`, which returns this same
276
+ * object for a trigger and the equivalent for every other kind of capability.
277
+ *
262
278
  * Get an event trigger by its supplied ID
263
279
  *
264
280
  * @param {string} triggerReferenceId - The reference ID of the event trigger to get. All other entity ID fields are inferred from the request.
@@ -269,6 +285,8 @@ class TriggersClient {
269
285
  * @throws {@link MavenAGI.PayloadTooLargeError}
270
286
  * @throws {@link MavenAGI.TooManyRequestsError}
271
287
  * @throws {@link MavenAGI.ServerError}
288
+ * @throws {@link errors.MavenAGIError}
289
+ * @throws {@link errors.MavenAGITimeoutError}
272
290
  *
273
291
  * @example
274
292
  * await client.triggers.get("store-in-snowflake")
@@ -355,6 +373,11 @@ class TriggersClient {
355
373
  });
356
374
  }
357
375
  /**
376
+ * @deprecated
377
+ *
378
+ * Deprecated. Use `DELETE /v1/capabilities/TRIGGER/{referenceId}`, which deletes any kind
379
+ * of capability the same way.
380
+ *
358
381
  * Delete an event trigger
359
382
  *
360
383
  * @param {string} triggerReferenceId - The reference ID of the event trigger to delete. All other entity ID fields are inferred from the request.
@@ -365,6 +388,8 @@ class TriggersClient {
365
388
  * @throws {@link MavenAGI.PayloadTooLargeError}
366
389
  * @throws {@link MavenAGI.TooManyRequestsError}
367
390
  * @throws {@link MavenAGI.ServerError}
391
+ * @throws {@link errors.MavenAGIError}
392
+ * @throws {@link errors.MavenAGITimeoutError}
368
393
  *
369
394
  * @example
370
395
  * await client.triggers.delete("store-in-snowflake")
@@ -443,6 +468,11 @@ class TriggersClient {
443
468
  });
444
469
  }
445
470
  /**
471
+ * @deprecated
472
+ *
473
+ * Deprecated. Use `PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status`, which
474
+ * publishes and unpublishes any kind of capability the same way.
475
+ *
446
476
  * Updates an event trigger. Only the enabled field is editable.
447
477
  *
448
478
  * @param {string} triggerReferenceId - The reference ID of the event trigger to update. All other entity ID fields are inferred from the request.
@@ -454,6 +484,8 @@ class TriggersClient {
454
484
  * @throws {@link MavenAGI.PayloadTooLargeError}
455
485
  * @throws {@link MavenAGI.TooManyRequestsError}
456
486
  * @throws {@link MavenAGI.ServerError}
487
+ * @throws {@link errors.MavenAGIError}
488
+ * @throws {@link errors.MavenAGITimeoutError}
457
489
  *
458
490
  * @example
459
491
  * await client.triggers.partialUpdate("triggerReferenceId", {
@@ -486,7 +518,7 @@ class TriggersClient {
486
518
  .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
487
519
  .build(),
488
520
  requestType: "json",
489
- body: serializers.TriggerPartialUpdate.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
521
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.TriggerPartialUpdate.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
490
522
  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,
491
523
  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,
492
524
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1,9 +1,5 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface EventTriggerBase {
3
- /** The name of the trigger, displayed to end users. If not set, a name is derived from the app ID and trigger type. */
4
- name?: string;
5
- /** The description of what the event trigger does, shown in the Maven Dashboard */
6
- description: string;
7
3
  /**
8
4
  * The type of event trigger this app wishes to handle.
9
5
  *
@@ -10,6 +10,10 @@ import type * as MavenAGI from "../../../index";
10
10
  * }
11
11
  */
12
12
  export interface EventTriggerRequest extends MavenAGI.EventTriggerBase {
13
+ /** The name of the trigger, displayed to end users. If not set, a name is derived from the app ID and trigger type. */
14
+ name?: string;
15
+ /** The description of what the event trigger does, shown in the Maven Dashboard */
16
+ description: string;
13
17
  /** ID that uniquely identifies this event trigger */
14
18
  triggerId: MavenAGI.EntityIdBase;
15
19
  }
@@ -9,14 +9,22 @@ import type * as MavenAGI from "../../../index";
9
9
  * agentId: "support",
10
10
  * type: MavenAGI.EntityType.EventTrigger
11
11
  * },
12
+ * name: "Store in Snowflake",
12
13
  * description: "Stores conversation data in Snowflake",
13
14
  * type: MavenAGI.EventTriggerType.ConversationCreated,
14
- * enabled: true
15
+ * enabled: true,
16
+ * createdAt: new Date("2026-01-15T10:30:00.000Z"),
17
+ * updatedAt: new Date("2026-01-15T10:30:00.000Z"),
18
+ * status: MavenAGI.CapabilityStatus.Active
15
19
  * }
16
20
  */
17
- export interface EventTriggerResponse extends MavenAGI.EventTriggerBase {
21
+ export interface EventTriggerResponse extends MavenAGI.EventTriggerBase, MavenAGI.CapabilityBase {
18
22
  /** ID that uniquely identifies this event trigger */
19
23
  triggerId: MavenAGI.EntityId;
20
- /** Whether this trigger will be called by Maven. */
24
+ /**
25
+ * Deprecated. Superseded by `status`, which says the same thing for every capability type.
26
+ *
27
+ * Whether this trigger will be called by Maven.
28
+ */
21
29
  enabled: boolean;
22
30
  }
@@ -23,6 +23,8 @@ export declare class UsersClient {
23
23
  * @throws {@link MavenAGI.PayloadTooLargeError}
24
24
  * @throws {@link MavenAGI.TooManyRequestsError}
25
25
  * @throws {@link MavenAGI.ServerError}
26
+ * @throws {@link errors.MavenAGIError}
27
+ * @throws {@link errors.MavenAGITimeoutError}
26
28
  *
27
29
  * @example
28
30
  * await client.users.search({})
@@ -42,6 +44,8 @@ export declare class UsersClient {
42
44
  * @throws {@link MavenAGI.PayloadTooLargeError}
43
45
  * @throws {@link MavenAGI.TooManyRequestsError}
44
46
  * @throws {@link MavenAGI.ServerError}
47
+ * @throws {@link errors.MavenAGIError}
48
+ * @throws {@link errors.MavenAGITimeoutError}
45
49
  *
46
50
  * @example
47
51
  * await client.users.getAgentUser("aus_1234567890")
@@ -59,6 +63,8 @@ export declare class UsersClient {
59
63
  * @throws {@link MavenAGI.PayloadTooLargeError}
60
64
  * @throws {@link MavenAGI.TooManyRequestsError}
61
65
  * @throws {@link MavenAGI.ServerError}
66
+ * @throws {@link errors.MavenAGIError}
67
+ * @throws {@link errors.MavenAGITimeoutError}
62
68
  *
63
69
  * @example
64
70
  * await client.users.createOrUpdate({
@@ -91,6 +97,8 @@ export declare class UsersClient {
91
97
  * @throws {@link MavenAGI.PayloadTooLargeError}
92
98
  * @throws {@link MavenAGI.TooManyRequestsError}
93
99
  * @throws {@link MavenAGI.ServerError}
100
+ * @throws {@link errors.MavenAGIError}
101
+ * @throws {@link errors.MavenAGITimeoutError}
94
102
  *
95
103
  * @example
96
104
  * await client.users.get("user-0")
@@ -114,6 +122,8 @@ export declare class UsersClient {
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.users.delete("user-0")
@@ -47,6 +47,7 @@ exports.UsersClient = 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"));
@@ -69,6 +70,8 @@ class UsersClient {
69
70
  * @throws {@link MavenAGI.PayloadTooLargeError}
70
71
  * @throws {@link MavenAGI.TooManyRequestsError}
71
72
  * @throws {@link MavenAGI.ServerError}
73
+ * @throws {@link errors.MavenAGIError}
74
+ * @throws {@link errors.MavenAGITimeoutError}
72
75
  *
73
76
  * @example
74
77
  * await client.users.search({})
@@ -91,7 +94,7 @@ class UsersClient {
91
94
  contentType: "application/json",
92
95
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
93
96
  requestType: "json",
94
- body: serializers.AgentUserSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
97
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.AgentUserSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
95
98
  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,
96
99
  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,
97
100
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -170,6 +173,8 @@ class UsersClient {
170
173
  * @throws {@link MavenAGI.PayloadTooLargeError}
171
174
  * @throws {@link MavenAGI.TooManyRequestsError}
172
175
  * @throws {@link MavenAGI.ServerError}
176
+ * @throws {@link errors.MavenAGIError}
177
+ * @throws {@link errors.MavenAGITimeoutError}
173
178
  *
174
179
  * @example
175
180
  * await client.users.getAgentUser("aus_1234567890")
@@ -266,6 +271,8 @@ class UsersClient {
266
271
  * @throws {@link MavenAGI.PayloadTooLargeError}
267
272
  * @throws {@link MavenAGI.TooManyRequestsError}
268
273
  * @throws {@link MavenAGI.ServerError}
274
+ * @throws {@link errors.MavenAGIError}
275
+ * @throws {@link errors.MavenAGITimeoutError}
269
276
  *
270
277
  * @example
271
278
  * await client.users.createOrUpdate({
@@ -302,7 +309,7 @@ class UsersClient {
302
309
  contentType: "application/json",
303
310
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
304
311
  requestType: "json",
305
- body: serializers.AppUserRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
312
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(serializers.AppUserRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
306
313
  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,
307
314
  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,
308
315
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -380,6 +387,8 @@ class UsersClient {
380
387
  * @throws {@link MavenAGI.PayloadTooLargeError}
381
388
  * @throws {@link MavenAGI.TooManyRequestsError}
382
389
  * @throws {@link MavenAGI.ServerError}
390
+ * @throws {@link errors.MavenAGIError}
391
+ * @throws {@link errors.MavenAGITimeoutError}
383
392
  *
384
393
  * @example
385
394
  * await client.users.get("user-0")
@@ -490,6 +499,8 @@ class UsersClient {
490
499
  * @throws {@link MavenAGI.PayloadTooLargeError}
491
500
  * @throws {@link MavenAGI.TooManyRequestsError}
492
501
  * @throws {@link MavenAGI.ServerError}
502
+ * @throws {@link errors.MavenAGIError}
503
+ * @throws {@link errors.MavenAGITimeoutError}
493
504
  *
494
505
  * @example
495
506
  * await client.users.delete("user-0")