mavenagi 1.1.0 → 1.2.0

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 (895) hide show
  1. package/Client.d.ts +6 -0
  2. package/Client.js +28 -18
  3. package/README.md +8 -8
  4. package/api/resources/actions/client/Client.d.ts +34 -1
  5. package/api/resources/actions/client/Client.js +199 -4
  6. package/api/resources/actions/client/index.d.ts +1 -0
  7. package/api/resources/actions/client/index.js +15 -0
  8. package/api/resources/actions/client/requests/ActionGetRequest.d.ts +13 -0
  9. package/api/resources/actions/client/requests/index.d.ts +1 -0
  10. package/api/resources/actions/client/requests/index.js +2 -0
  11. package/api/resources/actions/types/ActionField.d.ts +11 -0
  12. package/api/resources/actions/types/ActionField.js +13 -0
  13. package/api/resources/actions/types/ActionFilter.d.ts +14 -0
  14. package/api/resources/actions/types/ActionPatchRequest.d.ts +12 -0
  15. package/api/resources/actions/types/ActionsResponse.d.ts +8 -0
  16. package/api/resources/actions/types/ActionsSearchRequest.d.ts +8 -0
  17. package/api/resources/actions/types/index.d.ts +5 -0
  18. package/api/resources/actions/types/index.js +5 -0
  19. package/api/resources/agents/client/Client.d.ts +66 -0
  20. package/api/resources/agents/client/Client.js +289 -0
  21. package/api/resources/agents/types/Agent.d.ts +10 -0
  22. package/api/resources/agents/types/AgentPatchRequest.d.ts +12 -0
  23. package/api/resources/agents/types/CreateAgentRequest.d.ts +10 -0
  24. package/api/resources/agents/types/PiiCategory.d.ts +63 -0
  25. package/api/resources/agents/types/PiiCategory.js +65 -0
  26. package/api/resources/agents/types/index.d.ts +3 -0
  27. package/api/resources/agents/types/index.js +3 -0
  28. package/api/resources/assets/client/Client.d.ts +76 -0
  29. package/api/resources/assets/client/Client.js +257 -0
  30. package/api/resources/assets/client/index.d.ts +1 -0
  31. package/api/resources/assets/client/index.js +2 -0
  32. package/api/resources/assets/index.d.ts +2 -0
  33. package/api/resources/assets/index.js +18 -0
  34. package/api/resources/assets/types/CommitAssetUploadRequest.d.ts +7 -0
  35. package/api/resources/assets/types/InitiateAssetUploadRequest.d.ts +6 -0
  36. package/api/resources/assets/types/InitiateAssetUploadResponse.d.ts +12 -0
  37. package/api/resources/assets/types/index.d.ts +3 -0
  38. package/api/resources/assets/types/index.js +19 -0
  39. package/api/resources/commons/types/ActionResponse.d.ts +27 -1
  40. package/api/resources/commons/types/AttachmentRequest.d.ts +22 -0
  41. package/api/resources/commons/types/AttachmentResponse.d.ts +12 -0
  42. package/api/resources/commons/types/AttachmentStatus.d.ts +10 -0
  43. package/api/resources/commons/types/AttachmentStatus.js +12 -0
  44. package/api/resources/commons/types/BaseAttachment.d.ts +32 -0
  45. package/api/resources/commons/types/BaseConversationResponse.d.ts +11 -0
  46. package/api/resources/commons/types/BotLogic.d.ts +7 -0
  47. package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +9 -0
  48. package/api/resources/commons/types/BotLogicActionItem.d.ts +8 -0
  49. package/api/resources/commons/types/BotLogicActionReviewedDetail.d.ts +8 -0
  50. package/api/resources/commons/types/BotLogicActionReviewedDetail.js +5 -0
  51. package/api/resources/commons/types/BotLogicFormSubmissionItem.d.ts +6 -0
  52. package/api/resources/commons/types/BotLogicFormSubmissionItem.js +5 -0
  53. package/api/resources/commons/types/BotLogicItem.d.ts +25 -0
  54. package/api/resources/commons/types/BotLogicItem.js +5 -0
  55. package/api/resources/commons/types/{KnowledgeBaseInformation.d.ts → BotLogicKnowledgeDetail.d.ts} +4 -2
  56. package/api/resources/commons/types/BotLogicKnowledgeDetail.js +5 -0
  57. package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +8 -0
  58. package/api/resources/commons/types/BotLogicKnowledgeItem.js +5 -0
  59. package/api/resources/commons/types/BotLogicSafetyItem.d.ts +6 -0
  60. package/api/resources/commons/types/BotLogicSafetyItem.js +5 -0
  61. package/api/resources/commons/types/BotLogicSegmentsItem.d.ts +7 -0
  62. package/api/resources/commons/types/BotLogicSegmentsItem.js +5 -0
  63. package/api/resources/commons/types/BotLogicUserItem.d.ts +6 -0
  64. package/api/resources/commons/types/BotLogicUserItem.js +5 -0
  65. package/api/resources/commons/types/BotMessage.d.ts +3 -1
  66. package/api/resources/commons/types/Capability.d.ts +2 -1
  67. package/api/resources/commons/types/Capability.js +1 -0
  68. package/api/resources/commons/types/ConversationResponse.d.ts +14 -2
  69. package/api/resources/commons/types/DocumentInformation.d.ts +2 -0
  70. package/api/resources/commons/types/EntityType.d.ts +2 -1
  71. package/api/resources/commons/types/EntityType.js +1 -0
  72. package/api/resources/commons/types/InboxItem.d.ts +1 -7
  73. package/api/resources/commons/types/InboxItemBase.d.ts +2 -0
  74. package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
  75. package/api/resources/commons/types/InboxItemFix.d.ts +1 -4
  76. package/api/resources/commons/types/InboxItemSeverity.d.ts +9 -0
  77. package/api/resources/commons/types/InboxItemSeverity.js +11 -0
  78. package/api/resources/commons/types/InboxItemType.d.ts +1 -9
  79. package/api/resources/commons/types/InboxItemType.js +0 -2
  80. package/api/resources/commons/types/LlmInclusionStatus.d.ts +9 -0
  81. package/api/resources/commons/types/LlmInclusionStatus.js +11 -0
  82. package/api/resources/commons/types/{BotMessageStatus.d.ts → MessageStatus.d.ts} +3 -3
  83. package/{dist/api/resources/commons/types/BotMessageStatus.js → api/resources/commons/types/MessageStatus.js} +2 -2
  84. package/api/resources/commons/types/ResponseConfig.d.ts +6 -8
  85. package/api/resources/commons/types/UserMessage.d.ts +21 -1
  86. package/api/resources/commons/types/UserMessageResponseState.d.ts +9 -0
  87. package/api/resources/commons/types/UserMessageResponseState.js +11 -0
  88. package/api/resources/commons/types/index.d.ts +19 -7
  89. package/api/resources/commons/types/index.js +19 -7
  90. package/api/resources/conversation/client/Client.d.ts +75 -0
  91. package/api/resources/conversation/client/Client.js +320 -0
  92. package/api/resources/conversation/types/AskObjectRequest.d.ts +8 -0
  93. package/api/resources/conversation/types/AskObjectRequest.js +5 -0
  94. package/api/resources/conversation/types/AskRequest.d.ts +5 -2
  95. package/api/resources/conversation/types/ConversationField.d.ts +5 -1
  96. package/api/resources/conversation/types/ConversationField.js +4 -0
  97. package/api/resources/conversation/types/ConversationFilter.d.ts +23 -1
  98. package/api/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
  99. package/api/resources/conversation/types/ConversationPatchRequest.d.ts +20 -0
  100. package/api/resources/conversation/types/ConversationPatchRequest.js +5 -0
  101. package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +10 -0
  102. package/api/resources/conversation/types/DeliverConversationMessageRequest.js +5 -0
  103. package/api/resources/conversation/types/DeliverMessageRequest.d.ts +13 -0
  104. package/api/resources/conversation/types/DeliverMessageRequest.js +5 -0
  105. package/api/resources/conversation/types/DeliverMessageResponse.d.ts +7 -0
  106. package/api/resources/conversation/types/DeliverMessageResponse.js +5 -0
  107. package/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +10 -0
  108. package/api/resources/conversation/types/DeliverUserMessageRequest.js +5 -0
  109. package/api/resources/conversation/types/DeliveryStatus.d.ts +9 -0
  110. package/api/resources/{commons/types/InboxItemFixType.js → conversation/types/DeliveryStatus.js} +5 -4
  111. package/api/resources/conversation/types/NumericConversationField.d.ts +2 -1
  112. package/api/resources/conversation/types/NumericConversationField.js +1 -0
  113. package/api/resources/conversation/types/ObjectStreamResponse.d.ts +16 -0
  114. package/api/resources/conversation/types/ObjectStreamResponse.js +5 -0
  115. package/api/resources/conversation/types/index.d.ts +8 -1
  116. package/api/resources/conversation/types/index.js +8 -1
  117. package/api/resources/inbox/client/Client.d.ts +10 -13
  118. package/api/resources/inbox/client/Client.js +17 -25
  119. package/api/resources/inbox/client/requests/InboxItemFixRequest.d.ts +1 -7
  120. package/api/resources/inbox/client/requests/InboxItemIgnoreRequest.d.ts +1 -7
  121. package/api/resources/inbox/client/requests/InboxItemRequest.d.ts +1 -7
  122. package/api/resources/inbox/types/AddDocumentFixRequest.d.ts +4 -1
  123. package/api/resources/inbox/types/ApplyFixesRequest.d.ts +12 -0
  124. package/api/resources/inbox/types/ApplyFixesRequest.js +5 -0
  125. package/api/resources/inbox/types/InboxFilter.d.ts +14 -0
  126. package/api/resources/inbox/types/InboxFilter.js +5 -0
  127. package/api/resources/inbox/types/InboxSearchRequest.d.ts +2 -13
  128. package/api/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
  129. package/api/resources/inbox/types/index.d.ts +2 -2
  130. package/api/resources/inbox/types/index.js +2 -2
  131. package/api/resources/index.d.ts +9 -1
  132. package/api/resources/index.js +10 -2
  133. package/api/resources/knowledge/client/Client.d.ts +51 -1
  134. package/api/resources/knowledge/client/Client.js +294 -4
  135. package/api/resources/knowledge/client/index.d.ts +1 -0
  136. package/api/resources/knowledge/client/index.js +15 -0
  137. package/api/resources/knowledge/client/requests/KnowledgeBaseGetRequest.d.ts +13 -0
  138. package/api/resources/knowledge/client/requests/KnowledgeBaseGetRequest.js +5 -0
  139. package/api/resources/knowledge/client/requests/index.d.ts +1 -0
  140. package/api/resources/knowledge/client/requests/index.js +2 -0
  141. package/api/resources/knowledge/types/KnowledgeBaseField.d.ts +8 -0
  142. package/api/resources/knowledge/types/KnowledgeBaseField.js +10 -0
  143. package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +26 -0
  144. package/api/resources/knowledge/types/KnowledgeBaseFilter.js +5 -0
  145. package/api/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +16 -0
  146. package/api/resources/knowledge/types/KnowledgeBasePatchRequest.js +5 -0
  147. package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -1
  148. package/api/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +10 -0
  149. package/api/resources/knowledge/types/KnowledgeBaseRefreshFrequency.js +12 -0
  150. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +15 -1
  151. package/api/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +8 -0
  152. package/api/resources/knowledge/types/KnowledgeBaseSearchRequest.js +5 -0
  153. package/api/resources/knowledge/types/KnowledgeBasesResponse.d.ts +8 -0
  154. package/api/resources/knowledge/types/KnowledgeBasesResponse.js +5 -0
  155. package/api/resources/knowledge/types/KnowledgeDocumentField.d.ts +10 -0
  156. package/api/resources/knowledge/types/KnowledgeDocumentField.js +12 -0
  157. package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +26 -0
  158. package/api/resources/knowledge/types/KnowledgeDocumentFilter.js +5 -0
  159. package/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +8 -0
  160. package/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.js +5 -0
  161. package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +10 -0
  162. package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +5 -0
  163. package/api/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +8 -0
  164. package/api/resources/knowledge/types/KnowledgeDocumentsResponse.js +5 -0
  165. package/api/resources/knowledge/types/index.d.ts +11 -0
  166. package/api/resources/knowledge/types/index.js +11 -0
  167. package/api/resources/segments/client/Client.d.ts +120 -0
  168. package/api/resources/segments/client/Client.js +468 -0
  169. package/api/resources/segments/client/index.d.ts +2 -0
  170. package/api/resources/segments/client/index.js +17 -0
  171. package/api/resources/segments/client/requests/SegmentGetRequest.d.ts +13 -0
  172. package/api/resources/segments/client/requests/SegmentGetRequest.js +5 -0
  173. package/api/resources/segments/client/requests/index.d.ts +1 -0
  174. package/api/resources/segments/client/requests/index.js +2 -0
  175. package/api/resources/segments/index.d.ts +2 -0
  176. package/api/resources/segments/index.js +18 -0
  177. package/api/resources/segments/types/SegmentBase.d.ts +10 -0
  178. package/api/resources/segments/types/SegmentBase.js +5 -0
  179. package/api/resources/segments/types/SegmentField.d.ts +8 -0
  180. package/api/resources/segments/types/SegmentField.js +10 -0
  181. package/api/resources/segments/types/SegmentPatchRequest.d.ts +14 -0
  182. package/api/resources/segments/types/SegmentPatchRequest.js +5 -0
  183. package/api/resources/segments/types/SegmentRequest.d.ts +28 -0
  184. package/api/resources/segments/types/SegmentRequest.js +5 -0
  185. package/api/resources/segments/types/SegmentResponse.d.ts +39 -0
  186. package/api/resources/segments/types/SegmentResponse.js +5 -0
  187. package/api/resources/segments/types/SegmentStatus.d.ts +8 -0
  188. package/api/resources/segments/types/SegmentStatus.js +10 -0
  189. package/api/resources/segments/types/SegmentsSearchRequest.d.ts +8 -0
  190. package/api/resources/segments/types/SegmentsSearchRequest.js +5 -0
  191. package/api/resources/segments/types/SegmentsSearchResponse.d.ts +7 -0
  192. package/api/resources/segments/types/SegmentsSearchResponse.js +5 -0
  193. package/api/resources/segments/types/index.d.ts +8 -0
  194. package/api/resources/segments/types/index.js +24 -0
  195. package/api/resources/users/client/Client.d.ts +38 -4
  196. package/api/resources/users/client/Client.js +191 -4
  197. package/api/resources/users/client/requests/UserDeleteRequest.d.ts +1 -1
  198. package/api/resources/users/client/requests/UserGetRequest.d.ts +1 -1
  199. package/api/resources/users/index.d.ts +1 -0
  200. package/api/resources/users/index.js +1 -0
  201. package/api/resources/users/types/AgentUser.d.ts +24 -0
  202. package/api/resources/users/types/AgentUser.js +5 -0
  203. package/api/resources/users/types/AgentUserField.d.ts +8 -0
  204. package/api/resources/users/types/AgentUserField.js +10 -0
  205. package/api/resources/users/types/AgentUserFilter.d.ts +12 -0
  206. package/api/resources/users/types/AgentUserFilter.js +5 -0
  207. package/api/resources/users/types/AgentUserSearchRequest.d.ts +8 -0
  208. package/api/resources/users/types/AgentUserSearchRequest.js +5 -0
  209. package/api/resources/users/types/AgentUserSearchResponse.d.ts +8 -0
  210. package/api/resources/users/types/AgentUserSearchResponse.js +5 -0
  211. package/api/resources/users/types/AppUserSummary.d.ts +12 -0
  212. package/api/resources/users/types/AppUserSummary.js +5 -0
  213. package/api/resources/users/types/index.d.ts +6 -0
  214. package/api/resources/users/types/index.js +22 -0
  215. package/dist/Client.d.ts +6 -0
  216. package/dist/Client.js +28 -18
  217. package/dist/api/resources/actions/client/Client.d.ts +34 -1
  218. package/dist/api/resources/actions/client/Client.js +199 -4
  219. package/dist/api/resources/actions/client/index.d.ts +1 -0
  220. package/dist/api/resources/actions/client/index.js +15 -0
  221. package/dist/api/resources/actions/client/requests/ActionGetRequest.d.ts +13 -0
  222. package/dist/api/resources/actions/client/requests/ActionGetRequest.js +5 -0
  223. package/dist/api/resources/actions/client/requests/index.d.ts +1 -0
  224. package/dist/api/resources/actions/client/requests/index.js +2 -0
  225. package/dist/api/resources/actions/types/ActionField.d.ts +11 -0
  226. package/dist/api/resources/actions/types/ActionField.js +13 -0
  227. package/dist/api/resources/actions/types/ActionFilter.d.ts +14 -0
  228. package/dist/api/resources/actions/types/ActionFilter.js +5 -0
  229. package/dist/api/resources/actions/types/ActionPatchRequest.d.ts +12 -0
  230. package/dist/api/resources/actions/types/ActionPatchRequest.js +5 -0
  231. package/dist/api/resources/actions/types/ActionsResponse.d.ts +8 -0
  232. package/dist/api/resources/actions/types/ActionsResponse.js +5 -0
  233. package/dist/api/resources/actions/types/ActionsSearchRequest.d.ts +8 -0
  234. package/dist/api/resources/actions/types/ActionsSearchRequest.js +5 -0
  235. package/dist/api/resources/actions/types/index.d.ts +5 -0
  236. package/dist/api/resources/actions/types/index.js +5 -0
  237. package/dist/api/resources/agents/client/Client.d.ts +66 -0
  238. package/dist/api/resources/agents/client/Client.js +289 -0
  239. package/dist/api/resources/agents/types/Agent.d.ts +10 -0
  240. package/dist/api/resources/agents/types/AgentPatchRequest.d.ts +12 -0
  241. package/dist/api/resources/agents/types/AgentPatchRequest.js +5 -0
  242. package/dist/api/resources/agents/types/CreateAgentRequest.d.ts +10 -0
  243. package/dist/api/resources/agents/types/CreateAgentRequest.js +5 -0
  244. package/dist/api/resources/agents/types/PiiCategory.d.ts +63 -0
  245. package/dist/api/resources/agents/types/PiiCategory.js +65 -0
  246. package/dist/api/resources/agents/types/index.d.ts +3 -0
  247. package/dist/api/resources/agents/types/index.js +3 -0
  248. package/dist/api/resources/assets/client/Client.d.ts +76 -0
  249. package/dist/api/resources/assets/client/Client.js +257 -0
  250. package/dist/api/resources/assets/client/index.d.ts +1 -0
  251. package/dist/api/resources/assets/client/index.js +2 -0
  252. package/dist/api/resources/assets/index.d.ts +2 -0
  253. package/dist/api/resources/assets/index.js +18 -0
  254. package/dist/api/resources/assets/types/CommitAssetUploadRequest.d.ts +7 -0
  255. package/dist/api/resources/assets/types/CommitAssetUploadRequest.js +5 -0
  256. package/dist/api/resources/assets/types/InitiateAssetUploadRequest.d.ts +6 -0
  257. package/dist/api/resources/assets/types/InitiateAssetUploadRequest.js +5 -0
  258. package/dist/api/resources/assets/types/InitiateAssetUploadResponse.d.ts +12 -0
  259. package/dist/api/resources/assets/types/InitiateAssetUploadResponse.js +5 -0
  260. package/dist/api/resources/assets/types/index.d.ts +3 -0
  261. package/dist/api/resources/assets/types/index.js +19 -0
  262. package/dist/api/resources/commons/types/ActionResponse.d.ts +27 -1
  263. package/dist/api/resources/commons/types/AttachmentRequest.d.ts +22 -0
  264. package/dist/api/resources/commons/types/AttachmentRequest.js +5 -0
  265. package/dist/api/resources/commons/types/AttachmentResponse.d.ts +12 -0
  266. package/dist/api/resources/commons/types/AttachmentResponse.js +5 -0
  267. package/dist/api/resources/commons/types/AttachmentStatus.d.ts +10 -0
  268. package/dist/api/resources/commons/types/AttachmentStatus.js +12 -0
  269. package/dist/api/resources/commons/types/BaseAttachment.d.ts +32 -0
  270. package/dist/api/resources/commons/types/BaseAttachment.js +5 -0
  271. package/dist/api/resources/commons/types/BaseConversationResponse.d.ts +11 -0
  272. package/dist/api/resources/commons/types/BotLogic.d.ts +7 -0
  273. package/dist/api/resources/commons/types/BotLogic.js +5 -0
  274. package/dist/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +9 -0
  275. package/dist/api/resources/commons/types/BotLogicActionExecutedDetail.js +5 -0
  276. package/dist/api/resources/commons/types/BotLogicActionItem.d.ts +8 -0
  277. package/dist/api/resources/commons/types/BotLogicActionItem.js +5 -0
  278. package/dist/api/resources/commons/types/BotLogicActionReviewedDetail.d.ts +8 -0
  279. package/dist/api/resources/commons/types/BotLogicActionReviewedDetail.js +5 -0
  280. package/dist/api/resources/commons/types/BotLogicFormSubmissionItem.d.ts +6 -0
  281. package/dist/api/resources/commons/types/BotLogicFormSubmissionItem.js +5 -0
  282. package/dist/api/resources/commons/types/BotLogicItem.d.ts +25 -0
  283. package/dist/api/resources/commons/types/BotLogicItem.js +5 -0
  284. package/dist/api/resources/commons/types/{KnowledgeBaseInformation.d.ts → BotLogicKnowledgeDetail.d.ts} +4 -2
  285. package/dist/api/resources/commons/types/BotLogicKnowledgeDetail.js +5 -0
  286. package/dist/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +8 -0
  287. package/dist/api/resources/commons/types/BotLogicKnowledgeItem.js +5 -0
  288. package/dist/api/resources/commons/types/BotLogicSafetyItem.d.ts +6 -0
  289. package/dist/api/resources/commons/types/BotLogicSafetyItem.js +5 -0
  290. package/dist/api/resources/commons/types/BotLogicSegmentsItem.d.ts +7 -0
  291. package/dist/api/resources/commons/types/BotLogicSegmentsItem.js +5 -0
  292. package/dist/api/resources/commons/types/BotLogicUserItem.d.ts +6 -0
  293. package/dist/api/resources/commons/types/BotLogicUserItem.js +5 -0
  294. package/dist/api/resources/commons/types/BotMessage.d.ts +3 -1
  295. package/dist/api/resources/commons/types/Capability.d.ts +2 -1
  296. package/dist/api/resources/commons/types/Capability.js +1 -0
  297. package/dist/api/resources/commons/types/ConversationResponse.d.ts +14 -2
  298. package/dist/api/resources/commons/types/DocumentInformation.d.ts +2 -0
  299. package/dist/api/resources/commons/types/EntityType.d.ts +2 -1
  300. package/dist/api/resources/commons/types/EntityType.js +1 -0
  301. package/dist/api/resources/commons/types/InboxItem.d.ts +1 -7
  302. package/dist/api/resources/commons/types/InboxItemBase.d.ts +2 -0
  303. package/dist/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
  304. package/dist/api/resources/commons/types/InboxItemFix.d.ts +1 -4
  305. package/dist/api/resources/commons/types/InboxItemSeverity.d.ts +9 -0
  306. package/dist/api/resources/commons/types/InboxItemSeverity.js +11 -0
  307. package/dist/api/resources/commons/types/InboxItemType.d.ts +1 -9
  308. package/dist/api/resources/commons/types/InboxItemType.js +0 -2
  309. package/dist/api/resources/commons/types/LlmInclusionStatus.d.ts +9 -0
  310. package/dist/api/resources/commons/types/LlmInclusionStatus.js +11 -0
  311. package/dist/api/resources/commons/types/{BotMessageStatus.d.ts → MessageStatus.d.ts} +3 -3
  312. package/{api/resources/commons/types/BotMessageStatus.js → dist/api/resources/commons/types/MessageStatus.js} +2 -2
  313. package/dist/api/resources/commons/types/ResponseConfig.d.ts +6 -8
  314. package/dist/api/resources/commons/types/UserMessage.d.ts +21 -1
  315. package/dist/api/resources/commons/types/UserMessageResponseState.d.ts +9 -0
  316. package/dist/api/resources/commons/types/UserMessageResponseState.js +11 -0
  317. package/dist/api/resources/commons/types/index.d.ts +19 -7
  318. package/dist/api/resources/commons/types/index.js +19 -7
  319. package/dist/api/resources/conversation/client/Client.d.ts +75 -0
  320. package/dist/api/resources/conversation/client/Client.js +320 -0
  321. package/dist/api/resources/conversation/types/AskObjectRequest.d.ts +8 -0
  322. package/dist/api/resources/conversation/types/AskObjectRequest.js +5 -0
  323. package/dist/api/resources/conversation/types/AskRequest.d.ts +5 -2
  324. package/dist/api/resources/conversation/types/ConversationField.d.ts +5 -1
  325. package/dist/api/resources/conversation/types/ConversationField.js +4 -0
  326. package/dist/api/resources/conversation/types/ConversationFilter.d.ts +23 -1
  327. package/dist/api/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
  328. package/dist/api/resources/conversation/types/ConversationPatchRequest.d.ts +20 -0
  329. package/dist/api/resources/conversation/types/ConversationPatchRequest.js +5 -0
  330. package/dist/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +10 -0
  331. package/dist/api/resources/conversation/types/DeliverConversationMessageRequest.js +5 -0
  332. package/dist/api/resources/conversation/types/DeliverMessageRequest.d.ts +13 -0
  333. package/dist/api/resources/conversation/types/DeliverMessageRequest.js +5 -0
  334. package/dist/api/resources/conversation/types/DeliverMessageResponse.d.ts +7 -0
  335. package/dist/api/resources/conversation/types/DeliverMessageResponse.js +5 -0
  336. package/dist/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +10 -0
  337. package/dist/api/resources/conversation/types/DeliverUserMessageRequest.js +5 -0
  338. package/dist/api/resources/conversation/types/DeliveryStatus.d.ts +9 -0
  339. package/dist/api/resources/{commons/types/InboxItemFixType.js → conversation/types/DeliveryStatus.js} +5 -4
  340. package/dist/api/resources/conversation/types/NumericConversationField.d.ts +2 -1
  341. package/dist/api/resources/conversation/types/NumericConversationField.js +1 -0
  342. package/dist/api/resources/conversation/types/ObjectStreamResponse.d.ts +16 -0
  343. package/dist/api/resources/conversation/types/ObjectStreamResponse.js +5 -0
  344. package/dist/api/resources/conversation/types/index.d.ts +8 -1
  345. package/dist/api/resources/conversation/types/index.js +8 -1
  346. package/dist/api/resources/inbox/client/Client.d.ts +10 -13
  347. package/dist/api/resources/inbox/client/Client.js +17 -25
  348. package/dist/api/resources/inbox/client/requests/InboxItemFixRequest.d.ts +1 -7
  349. package/dist/api/resources/inbox/client/requests/InboxItemIgnoreRequest.d.ts +1 -7
  350. package/dist/api/resources/inbox/client/requests/InboxItemRequest.d.ts +1 -7
  351. package/dist/api/resources/inbox/types/AddDocumentFixRequest.d.ts +4 -1
  352. package/dist/api/resources/inbox/types/ApplyFixesRequest.d.ts +12 -0
  353. package/dist/api/resources/inbox/types/ApplyFixesRequest.js +5 -0
  354. package/dist/api/resources/inbox/types/InboxFilter.d.ts +14 -0
  355. package/dist/api/resources/inbox/types/InboxFilter.js +5 -0
  356. package/dist/api/resources/inbox/types/InboxSearchRequest.d.ts +2 -13
  357. package/dist/api/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
  358. package/dist/api/resources/inbox/types/index.d.ts +2 -2
  359. package/dist/api/resources/inbox/types/index.js +2 -2
  360. package/dist/api/resources/index.d.ts +9 -1
  361. package/dist/api/resources/index.js +10 -2
  362. package/dist/api/resources/knowledge/client/Client.d.ts +51 -1
  363. package/dist/api/resources/knowledge/client/Client.js +294 -4
  364. package/dist/api/resources/knowledge/client/index.d.ts +1 -0
  365. package/dist/api/resources/knowledge/client/index.js +15 -0
  366. package/dist/api/resources/knowledge/client/requests/KnowledgeBaseGetRequest.d.ts +13 -0
  367. package/dist/api/resources/knowledge/client/requests/KnowledgeBaseGetRequest.js +5 -0
  368. package/dist/api/resources/knowledge/client/requests/index.d.ts +1 -0
  369. package/dist/api/resources/knowledge/client/requests/index.js +2 -0
  370. package/dist/api/resources/knowledge/types/KnowledgeBaseField.d.ts +8 -0
  371. package/dist/api/resources/knowledge/types/KnowledgeBaseField.js +10 -0
  372. package/dist/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +26 -0
  373. package/dist/api/resources/knowledge/types/KnowledgeBaseFilter.js +5 -0
  374. package/dist/api/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +16 -0
  375. package/dist/api/resources/knowledge/types/KnowledgeBasePatchRequest.js +5 -0
  376. package/dist/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -1
  377. package/dist/api/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +10 -0
  378. package/dist/api/resources/knowledge/types/KnowledgeBaseRefreshFrequency.js +12 -0
  379. package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +15 -1
  380. package/dist/api/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +8 -0
  381. package/dist/api/resources/knowledge/types/KnowledgeBaseSearchRequest.js +5 -0
  382. package/dist/api/resources/knowledge/types/KnowledgeBasesResponse.d.ts +8 -0
  383. package/dist/api/resources/knowledge/types/KnowledgeBasesResponse.js +5 -0
  384. package/dist/api/resources/knowledge/types/KnowledgeDocumentField.d.ts +10 -0
  385. package/dist/api/resources/knowledge/types/KnowledgeDocumentField.js +12 -0
  386. package/dist/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +26 -0
  387. package/dist/api/resources/knowledge/types/KnowledgeDocumentFilter.js +5 -0
  388. package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +8 -0
  389. package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.js +5 -0
  390. package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +10 -0
  391. package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +5 -0
  392. package/dist/api/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +8 -0
  393. package/dist/api/resources/knowledge/types/KnowledgeDocumentsResponse.js +5 -0
  394. package/dist/api/resources/knowledge/types/index.d.ts +11 -0
  395. package/dist/api/resources/knowledge/types/index.js +11 -0
  396. package/dist/api/resources/segments/client/Client.d.ts +120 -0
  397. package/dist/api/resources/segments/client/Client.js +468 -0
  398. package/dist/api/resources/segments/client/index.d.ts +2 -0
  399. package/dist/api/resources/segments/client/index.js +17 -0
  400. package/dist/api/resources/segments/client/requests/SegmentGetRequest.d.ts +13 -0
  401. package/dist/api/resources/segments/client/requests/SegmentGetRequest.js +5 -0
  402. package/dist/api/resources/segments/client/requests/index.d.ts +1 -0
  403. package/dist/api/resources/segments/client/requests/index.js +2 -0
  404. package/dist/api/resources/segments/index.d.ts +2 -0
  405. package/dist/api/resources/segments/index.js +18 -0
  406. package/dist/api/resources/segments/types/SegmentBase.d.ts +10 -0
  407. package/dist/api/resources/segments/types/SegmentBase.js +5 -0
  408. package/dist/api/resources/segments/types/SegmentField.d.ts +8 -0
  409. package/dist/api/resources/segments/types/SegmentField.js +10 -0
  410. package/dist/api/resources/segments/types/SegmentPatchRequest.d.ts +14 -0
  411. package/dist/api/resources/segments/types/SegmentPatchRequest.js +5 -0
  412. package/dist/api/resources/segments/types/SegmentRequest.d.ts +28 -0
  413. package/dist/api/resources/segments/types/SegmentRequest.js +5 -0
  414. package/dist/api/resources/segments/types/SegmentResponse.d.ts +39 -0
  415. package/dist/api/resources/segments/types/SegmentResponse.js +5 -0
  416. package/dist/api/resources/segments/types/SegmentStatus.d.ts +8 -0
  417. package/dist/api/resources/segments/types/SegmentStatus.js +10 -0
  418. package/dist/api/resources/segments/types/SegmentsSearchRequest.d.ts +8 -0
  419. package/dist/api/resources/segments/types/SegmentsSearchRequest.js +5 -0
  420. package/dist/api/resources/segments/types/SegmentsSearchResponse.d.ts +7 -0
  421. package/dist/api/resources/segments/types/SegmentsSearchResponse.js +5 -0
  422. package/dist/api/resources/segments/types/index.d.ts +8 -0
  423. package/dist/api/resources/segments/types/index.js +24 -0
  424. package/dist/api/resources/users/client/Client.d.ts +38 -4
  425. package/dist/api/resources/users/client/Client.js +191 -4
  426. package/dist/api/resources/users/client/requests/UserDeleteRequest.d.ts +1 -1
  427. package/dist/api/resources/users/client/requests/UserGetRequest.d.ts +1 -1
  428. package/dist/api/resources/users/index.d.ts +1 -0
  429. package/dist/api/resources/users/index.js +1 -0
  430. package/dist/api/resources/users/types/AgentUser.d.ts +24 -0
  431. package/dist/api/resources/users/types/AgentUser.js +5 -0
  432. package/dist/api/resources/users/types/AgentUserField.d.ts +8 -0
  433. package/dist/api/resources/users/types/AgentUserField.js +10 -0
  434. package/dist/api/resources/users/types/AgentUserFilter.d.ts +12 -0
  435. package/dist/api/resources/users/types/AgentUserFilter.js +5 -0
  436. package/dist/api/resources/users/types/AgentUserSearchRequest.d.ts +8 -0
  437. package/dist/api/resources/users/types/AgentUserSearchRequest.js +5 -0
  438. package/dist/api/resources/users/types/AgentUserSearchResponse.d.ts +8 -0
  439. package/dist/api/resources/users/types/AgentUserSearchResponse.js +5 -0
  440. package/dist/api/resources/users/types/AppUserSummary.d.ts +12 -0
  441. package/dist/api/resources/users/types/AppUserSummary.js +5 -0
  442. package/dist/api/resources/users/types/index.d.ts +6 -0
  443. package/dist/api/resources/users/types/index.js +22 -0
  444. package/dist/serialization/resources/actions/types/ActionField.d.ts +10 -0
  445. package/dist/serialization/resources/actions/types/ActionField.js +41 -0
  446. package/dist/serialization/resources/actions/types/ActionFilter.d.ts +16 -0
  447. package/dist/serialization/resources/actions/types/ActionFilter.js +47 -0
  448. package/dist/serialization/resources/actions/types/ActionPatchRequest.d.ts +15 -0
  449. package/dist/serialization/resources/actions/types/ActionPatchRequest.js +46 -0
  450. package/dist/serialization/resources/actions/types/ActionsResponse.d.ts +14 -0
  451. package/dist/serialization/resources/actions/types/ActionsResponse.js +47 -0
  452. package/dist/serialization/resources/actions/types/ActionsSearchRequest.d.ts +16 -0
  453. package/dist/serialization/resources/actions/types/ActionsSearchRequest.js +49 -0
  454. package/dist/serialization/resources/actions/types/index.d.ts +5 -0
  455. package/dist/serialization/resources/actions/types/index.js +5 -0
  456. package/dist/serialization/resources/agents/types/Agent.d.ts +2 -0
  457. package/dist/serialization/resources/agents/types/Agent.js +2 -0
  458. package/dist/serialization/resources/agents/types/AgentPatchRequest.d.ts +16 -0
  459. package/{serialization/resources/commons/types/UserMessageAttachment.js → dist/serialization/resources/agents/types/AgentPatchRequest.js} +6 -4
  460. package/dist/serialization/resources/agents/types/CreateAgentRequest.d.ts +14 -0
  461. package/dist/serialization/resources/{commons/types/UserMessageAttachment.js → agents/types/CreateAgentRequest.js} +5 -5
  462. package/dist/serialization/resources/agents/types/PiiCategory.d.ts +10 -0
  463. package/dist/serialization/resources/agents/types/PiiCategory.js +99 -0
  464. package/dist/serialization/resources/agents/types/index.d.ts +3 -0
  465. package/dist/serialization/resources/agents/types/index.js +3 -0
  466. package/dist/serialization/resources/assets/index.d.ts +1 -0
  467. package/dist/serialization/resources/assets/index.js +17 -0
  468. package/dist/serialization/resources/assets/types/CommitAssetUploadRequest.d.ts +12 -0
  469. package/dist/serialization/resources/assets/types/CommitAssetUploadRequest.js +43 -0
  470. package/dist/serialization/resources/assets/types/InitiateAssetUploadRequest.d.ts +12 -0
  471. package/dist/serialization/resources/assets/types/InitiateAssetUploadRequest.js +42 -0
  472. package/dist/serialization/resources/assets/types/InitiateAssetUploadResponse.d.ts +15 -0
  473. package/dist/serialization/resources/assets/types/InitiateAssetUploadResponse.js +46 -0
  474. package/dist/serialization/resources/assets/types/index.d.ts +3 -0
  475. package/dist/serialization/resources/assets/types/index.js +19 -0
  476. package/dist/serialization/resources/commons/types/ActionResponse.d.ts +6 -0
  477. package/dist/serialization/resources/commons/types/ActionResponse.js +6 -0
  478. package/dist/serialization/resources/commons/types/AttachmentRequest.d.ts +15 -0
  479. package/dist/serialization/resources/commons/types/AttachmentRequest.js +48 -0
  480. package/dist/serialization/resources/commons/types/AttachmentResponse.d.ts +16 -0
  481. package/dist/serialization/resources/commons/types/AttachmentResponse.js +49 -0
  482. package/dist/serialization/resources/commons/types/AttachmentStatus.d.ts +10 -0
  483. package/dist/serialization/resources/commons/types/{BotMessageStatus.js → AttachmentStatus.js} +2 -2
  484. package/{serialization/resources/conversation/types/Attachment.d.ts → dist/serialization/resources/commons/types/BaseAttachment.d.ts} +2 -3
  485. package/{serialization/resources/conversation/types/Attachment.js → dist/serialization/resources/commons/types/BaseAttachment.js} +2 -3
  486. package/dist/serialization/resources/commons/types/BaseConversationResponse.d.ts +2 -0
  487. package/dist/serialization/resources/commons/types/BaseConversationResponse.js +2 -0
  488. package/dist/serialization/resources/commons/types/BotLogic.d.ts +13 -0
  489. package/dist/serialization/resources/commons/types/BotLogic.js +44 -0
  490. package/dist/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +15 -0
  491. package/dist/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +48 -0
  492. package/dist/serialization/resources/commons/types/BotLogicActionItem.d.ts +15 -0
  493. package/dist/serialization/resources/commons/types/BotLogicActionItem.js +46 -0
  494. package/dist/serialization/resources/commons/types/BotLogicActionReviewedDetail.d.ts +14 -0
  495. package/{serialization/resources/commons/types/KnowledgeBaseInformation.js → dist/serialization/resources/commons/types/BotLogicActionReviewedDetail.js} +4 -3
  496. package/dist/serialization/resources/commons/types/BotLogicFormSubmissionItem.d.ts +12 -0
  497. package/dist/serialization/resources/commons/types/BotLogicFormSubmissionItem.js +42 -0
  498. package/dist/serialization/resources/commons/types/BotLogicItem.d.ts +34 -0
  499. package/dist/serialization/resources/commons/types/BotLogicItem.js +59 -0
  500. package/{serialization/resources/commons/types/KnowledgeBaseInformation.d.ts → dist/serialization/resources/commons/types/BotLogicKnowledgeDetail.d.ts} +5 -2
  501. package/dist/serialization/resources/commons/types/BotLogicKnowledgeDetail.js +47 -0
  502. package/dist/serialization/resources/commons/types/BotLogicKnowledgeItem.d.ts +14 -0
  503. package/dist/serialization/resources/commons/types/BotLogicKnowledgeItem.js +45 -0
  504. package/dist/serialization/resources/commons/types/BotLogicSafetyItem.d.ts +12 -0
  505. package/{serialization/resources/commons/types/BotMessageStatus.js → dist/serialization/resources/commons/types/BotLogicSafetyItem.js} +4 -2
  506. package/dist/serialization/resources/commons/types/BotLogicSegmentsItem.d.ts +13 -0
  507. package/dist/serialization/resources/commons/types/BotLogicSegmentsItem.js +44 -0
  508. package/dist/serialization/resources/commons/types/BotLogicUserItem.d.ts +12 -0
  509. package/dist/serialization/resources/commons/types/BotLogicUserItem.js +43 -0
  510. package/dist/serialization/resources/commons/types/BotMessage.d.ts +4 -2
  511. package/dist/serialization/resources/commons/types/BotMessage.js +4 -2
  512. package/dist/serialization/resources/commons/types/Capability.d.ts +1 -1
  513. package/dist/serialization/resources/commons/types/Capability.js +1 -1
  514. package/dist/serialization/resources/commons/types/ConversationResponse.d.ts +2 -0
  515. package/dist/serialization/resources/commons/types/ConversationResponse.js +2 -0
  516. package/dist/serialization/resources/commons/types/DocumentInformation.d.ts +1 -0
  517. package/dist/serialization/resources/commons/types/DocumentInformation.js +1 -0
  518. package/dist/serialization/resources/commons/types/EntityType.d.ts +1 -1
  519. package/dist/serialization/resources/commons/types/EntityType.js +1 -0
  520. package/dist/serialization/resources/commons/types/InboxItem.d.ts +1 -9
  521. package/dist/serialization/resources/commons/types/InboxItem.js +0 -4
  522. package/dist/serialization/resources/commons/types/InboxItemBase.d.ts +2 -0
  523. package/dist/serialization/resources/commons/types/InboxItemBase.js +2 -0
  524. package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
  525. package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -1
  526. package/dist/serialization/resources/commons/types/InboxItemFix.d.ts +1 -5
  527. package/dist/serialization/resources/commons/types/InboxItemFix.js +0 -2
  528. package/dist/serialization/resources/commons/types/InboxItemSeverity.d.ts +10 -0
  529. package/dist/serialization/resources/commons/types/{InboxItemFixType.js → InboxItemSeverity.js} +2 -2
  530. package/dist/serialization/resources/commons/types/InboxItemType.d.ts +1 -1
  531. package/dist/serialization/resources/commons/types/InboxItemType.js +1 -6
  532. package/dist/serialization/resources/commons/types/LlmInclusionStatus.d.ts +10 -0
  533. package/dist/serialization/resources/commons/types/LlmInclusionStatus.js +41 -0
  534. package/dist/serialization/resources/commons/types/{BotMessageStatus.d.ts → MessageStatus.d.ts} +2 -2
  535. package/dist/serialization/resources/commons/types/MessageStatus.js +41 -0
  536. package/dist/serialization/resources/commons/types/UserMessage.d.ts +7 -2
  537. package/dist/serialization/resources/commons/types/UserMessage.js +7 -2
  538. package/dist/serialization/resources/commons/types/UserMessageResponseState.d.ts +10 -0
  539. package/dist/serialization/resources/commons/types/UserMessageResponseState.js +41 -0
  540. package/dist/serialization/resources/commons/types/index.d.ts +19 -7
  541. package/dist/serialization/resources/commons/types/index.js +19 -7
  542. package/dist/serialization/resources/conversation/types/AskObjectRequest.d.ts +13 -0
  543. package/dist/serialization/resources/conversation/types/AskObjectRequest.js +46 -0
  544. package/dist/serialization/resources/conversation/types/AskRequest.d.ts +2 -2
  545. package/dist/serialization/resources/conversation/types/AskRequest.js +2 -2
  546. package/dist/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  547. package/dist/serialization/resources/conversation/types/ConversationField.js +4 -0
  548. package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +1 -0
  549. package/dist/serialization/resources/conversation/types/ConversationFilter.js +1 -0
  550. package/dist/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +2 -2
  551. package/dist/serialization/resources/conversation/types/ConversationMessageRequest.js +2 -2
  552. package/dist/serialization/resources/conversation/types/ConversationPatchRequest.d.ts +16 -0
  553. package/dist/serialization/resources/conversation/types/ConversationPatchRequest.js +47 -0
  554. package/dist/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +15 -0
  555. package/dist/serialization/resources/conversation/types/DeliverConversationMessageRequest.js +46 -0
  556. package/dist/serialization/resources/conversation/types/DeliverMessageRequest.d.ts +18 -0
  557. package/dist/serialization/resources/conversation/types/DeliverMessageRequest.js +51 -0
  558. package/dist/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +13 -0
  559. package/{serialization/resources/inbox/types/BaseInboxSearchRequest.js → dist/serialization/resources/conversation/types/DeliverMessageResponse.js} +4 -4
  560. package/dist/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +15 -0
  561. package/dist/serialization/resources/conversation/types/DeliverUserMessageRequest.js +46 -0
  562. package/dist/serialization/resources/conversation/types/DeliveryStatus.d.ts +10 -0
  563. package/{serialization/resources/commons/types/InboxItemFixType.js → dist/serialization/resources/conversation/types/DeliveryStatus.js} +2 -2
  564. package/dist/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  565. package/dist/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  566. package/dist/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +22 -0
  567. package/dist/serialization/resources/conversation/types/ObjectStreamResponse.js +53 -0
  568. package/dist/serialization/resources/conversation/types/index.d.ts +8 -1
  569. package/dist/serialization/resources/conversation/types/index.js +8 -1
  570. package/{serialization/resources/inbox/types/ApplyInboxItemFixRequest.d.ts → dist/serialization/resources/inbox/types/ApplyFixesRequest.d.ts} +3 -4
  571. package/{serialization/resources/inbox/types/ApplyInboxItemFixRequest.js → dist/serialization/resources/inbox/types/ApplyFixesRequest.js} +3 -4
  572. package/dist/serialization/resources/inbox/types/InboxFilter.d.ts +17 -0
  573. package/dist/serialization/resources/inbox/types/InboxFilter.js +48 -0
  574. package/dist/serialization/resources/inbox/types/InboxSearchRequest.d.ts +4 -10
  575. package/dist/serialization/resources/inbox/types/InboxSearchRequest.js +4 -10
  576. package/dist/serialization/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
  577. package/dist/serialization/resources/inbox/types/InboxSearchResponse.js +1 -1
  578. package/dist/serialization/resources/inbox/types/index.d.ts +2 -2
  579. package/dist/serialization/resources/inbox/types/index.js +2 -2
  580. package/dist/serialization/resources/index.d.ts +6 -0
  581. package/dist/serialization/resources/index.js +7 -1
  582. package/dist/serialization/resources/knowledge/types/KnowledgeBaseField.d.ts +10 -0
  583. package/dist/serialization/resources/knowledge/types/KnowledgeBaseField.js +41 -0
  584. package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +15 -0
  585. package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +46 -0
  586. package/dist/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +18 -0
  587. package/dist/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.js +49 -0
  588. package/dist/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +10 -0
  589. package/dist/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.js +41 -0
  590. package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +6 -0
  591. package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +6 -0
  592. package/dist/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +16 -0
  593. package/dist/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.js +49 -0
  594. package/dist/serialization/resources/knowledge/types/KnowledgeBasesResponse.d.ts +14 -0
  595. package/dist/serialization/resources/knowledge/types/KnowledgeBasesResponse.js +47 -0
  596. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentField.d.ts +10 -0
  597. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentField.js +41 -0
  598. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +15 -0
  599. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +46 -0
  600. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +16 -0
  601. package/dist/serialization/resources/{commons/types/InboxItemKnowledgeBaseAlert.js → knowledge/types/KnowledgeDocumentSearchRequest.js} +8 -8
  602. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +15 -0
  603. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +48 -0
  604. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +14 -0
  605. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.js +47 -0
  606. package/dist/serialization/resources/knowledge/types/index.d.ts +11 -0
  607. package/dist/serialization/resources/knowledge/types/index.js +11 -0
  608. package/dist/serialization/resources/segments/index.d.ts +1 -0
  609. package/dist/serialization/resources/segments/index.js +17 -0
  610. package/dist/serialization/resources/segments/types/SegmentBase.d.ts +13 -0
  611. package/dist/serialization/resources/segments/types/SegmentBase.js +45 -0
  612. package/dist/serialization/resources/segments/types/SegmentField.d.ts +10 -0
  613. package/dist/serialization/resources/segments/types/SegmentField.js +41 -0
  614. package/dist/serialization/resources/segments/types/SegmentPatchRequest.d.ts +16 -0
  615. package/dist/serialization/resources/segments/types/SegmentPatchRequest.js +48 -0
  616. package/dist/serialization/resources/segments/types/SegmentRequest.d.ts +14 -0
  617. package/dist/serialization/resources/segments/types/SegmentRequest.js +47 -0
  618. package/dist/serialization/resources/segments/types/SegmentResponse.d.ts +16 -0
  619. package/{serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js → dist/serialization/resources/segments/types/SegmentResponse.js} +8 -6
  620. package/dist/serialization/resources/segments/types/SegmentStatus.d.ts +10 -0
  621. package/dist/serialization/resources/segments/types/SegmentStatus.js +41 -0
  622. package/dist/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +14 -0
  623. package/dist/serialization/resources/segments/types/SegmentsSearchRequest.js +47 -0
  624. package/dist/serialization/resources/segments/types/SegmentsSearchResponse.d.ts +14 -0
  625. package/dist/serialization/resources/segments/types/SegmentsSearchResponse.js +47 -0
  626. package/dist/serialization/resources/segments/types/index.d.ts +8 -0
  627. package/dist/serialization/resources/segments/types/index.js +24 -0
  628. package/dist/serialization/resources/users/index.d.ts +1 -0
  629. package/dist/serialization/resources/users/index.js +17 -0
  630. package/dist/serialization/resources/users/types/AgentUser.d.ts +19 -0
  631. package/dist/serialization/resources/users/types/AgentUser.js +50 -0
  632. package/dist/serialization/resources/users/types/AgentUserField.d.ts +10 -0
  633. package/dist/serialization/resources/users/types/AgentUserField.js +41 -0
  634. package/dist/serialization/resources/users/types/AgentUserFilter.d.ts +13 -0
  635. package/dist/serialization/resources/users/types/AgentUserFilter.js +44 -0
  636. package/dist/serialization/resources/users/types/AgentUserSearchRequest.d.ts +16 -0
  637. package/dist/serialization/resources/users/types/AgentUserSearchRequest.js +49 -0
  638. package/dist/serialization/resources/users/types/AgentUserSearchResponse.d.ts +14 -0
  639. package/dist/serialization/resources/users/types/AgentUserSearchResponse.js +47 -0
  640. package/dist/serialization/resources/users/types/AppUserSummary.d.ts +16 -0
  641. package/dist/serialization/resources/users/types/AppUserSummary.js +47 -0
  642. package/dist/serialization/resources/users/types/index.d.ts +6 -0
  643. package/dist/serialization/resources/users/types/index.js +22 -0
  644. package/dist/version.d.ts +1 -1
  645. package/dist/version.js +1 -1
  646. package/package.json +1 -1
  647. package/reference.md +2127 -747
  648. package/serialization/resources/actions/types/ActionField.d.ts +10 -0
  649. package/serialization/resources/actions/types/ActionField.js +41 -0
  650. package/serialization/resources/actions/types/ActionFilter.d.ts +16 -0
  651. package/serialization/resources/actions/types/ActionFilter.js +47 -0
  652. package/serialization/resources/actions/types/ActionPatchRequest.d.ts +15 -0
  653. package/serialization/resources/actions/types/ActionPatchRequest.js +46 -0
  654. package/serialization/resources/actions/types/ActionsResponse.d.ts +14 -0
  655. package/serialization/resources/actions/types/ActionsResponse.js +47 -0
  656. package/serialization/resources/actions/types/ActionsSearchRequest.d.ts +16 -0
  657. package/serialization/resources/actions/types/ActionsSearchRequest.js +49 -0
  658. package/serialization/resources/actions/types/index.d.ts +5 -0
  659. package/serialization/resources/actions/types/index.js +5 -0
  660. package/serialization/resources/agents/types/Agent.d.ts +2 -0
  661. package/serialization/resources/agents/types/Agent.js +2 -0
  662. package/serialization/resources/agents/types/AgentPatchRequest.d.ts +16 -0
  663. package/serialization/resources/agents/types/AgentPatchRequest.js +47 -0
  664. package/serialization/resources/agents/types/CreateAgentRequest.d.ts +14 -0
  665. package/serialization/resources/agents/types/CreateAgentRequest.js +45 -0
  666. package/serialization/resources/agents/types/PiiCategory.d.ts +10 -0
  667. package/serialization/resources/agents/types/PiiCategory.js +99 -0
  668. package/serialization/resources/agents/types/index.d.ts +3 -0
  669. package/serialization/resources/agents/types/index.js +3 -0
  670. package/serialization/resources/assets/index.d.ts +1 -0
  671. package/serialization/resources/assets/index.js +17 -0
  672. package/serialization/resources/assets/types/CommitAssetUploadRequest.d.ts +12 -0
  673. package/serialization/resources/assets/types/CommitAssetUploadRequest.js +43 -0
  674. package/serialization/resources/assets/types/InitiateAssetUploadRequest.d.ts +12 -0
  675. package/serialization/resources/assets/types/InitiateAssetUploadRequest.js +42 -0
  676. package/serialization/resources/assets/types/InitiateAssetUploadResponse.d.ts +15 -0
  677. package/serialization/resources/assets/types/InitiateAssetUploadResponse.js +46 -0
  678. package/serialization/resources/assets/types/index.d.ts +3 -0
  679. package/serialization/resources/assets/types/index.js +19 -0
  680. package/serialization/resources/commons/types/ActionResponse.d.ts +6 -0
  681. package/serialization/resources/commons/types/ActionResponse.js +6 -0
  682. package/serialization/resources/commons/types/AttachmentRequest.d.ts +15 -0
  683. package/serialization/resources/commons/types/AttachmentRequest.js +48 -0
  684. package/serialization/resources/commons/types/AttachmentResponse.d.ts +16 -0
  685. package/serialization/resources/commons/types/AttachmentResponse.js +49 -0
  686. package/serialization/resources/commons/types/AttachmentStatus.d.ts +10 -0
  687. package/serialization/resources/commons/types/AttachmentStatus.js +41 -0
  688. package/{dist/serialization/resources/conversation/types/Attachment.d.ts → serialization/resources/commons/types/BaseAttachment.d.ts} +2 -3
  689. package/{dist/serialization/resources/conversation/types/Attachment.js → serialization/resources/commons/types/BaseAttachment.js} +2 -3
  690. package/serialization/resources/commons/types/BaseConversationResponse.d.ts +2 -0
  691. package/serialization/resources/commons/types/BaseConversationResponse.js +2 -0
  692. package/serialization/resources/commons/types/BotLogic.d.ts +13 -0
  693. package/serialization/resources/commons/types/BotLogic.js +44 -0
  694. package/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +15 -0
  695. package/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +48 -0
  696. package/serialization/resources/commons/types/BotLogicActionItem.d.ts +15 -0
  697. package/serialization/resources/commons/types/BotLogicActionItem.js +46 -0
  698. package/serialization/resources/commons/types/BotLogicActionReviewedDetail.d.ts +14 -0
  699. package/{dist/serialization/resources/commons/types/KnowledgeBaseInformation.js → serialization/resources/commons/types/BotLogicActionReviewedDetail.js} +4 -3
  700. package/serialization/resources/commons/types/BotLogicFormSubmissionItem.d.ts +12 -0
  701. package/serialization/resources/commons/types/BotLogicFormSubmissionItem.js +42 -0
  702. package/serialization/resources/commons/types/BotLogicItem.d.ts +34 -0
  703. package/serialization/resources/commons/types/BotLogicItem.js +59 -0
  704. package/{dist/serialization/resources/commons/types/KnowledgeBaseInformation.d.ts → serialization/resources/commons/types/BotLogicKnowledgeDetail.d.ts} +5 -2
  705. package/serialization/resources/commons/types/BotLogicKnowledgeDetail.js +47 -0
  706. package/serialization/resources/commons/types/BotLogicKnowledgeItem.d.ts +14 -0
  707. package/serialization/resources/commons/types/BotLogicKnowledgeItem.js +45 -0
  708. package/serialization/resources/commons/types/BotLogicSafetyItem.d.ts +12 -0
  709. package/serialization/resources/commons/types/BotLogicSafetyItem.js +43 -0
  710. package/serialization/resources/commons/types/BotLogicSegmentsItem.d.ts +13 -0
  711. package/serialization/resources/commons/types/BotLogicSegmentsItem.js +44 -0
  712. package/serialization/resources/commons/types/BotLogicUserItem.d.ts +12 -0
  713. package/serialization/resources/commons/types/BotLogicUserItem.js +43 -0
  714. package/serialization/resources/commons/types/BotMessage.d.ts +4 -2
  715. package/serialization/resources/commons/types/BotMessage.js +4 -2
  716. package/serialization/resources/commons/types/Capability.d.ts +1 -1
  717. package/serialization/resources/commons/types/Capability.js +1 -1
  718. package/serialization/resources/commons/types/ConversationResponse.d.ts +2 -0
  719. package/serialization/resources/commons/types/ConversationResponse.js +2 -0
  720. package/serialization/resources/commons/types/DocumentInformation.d.ts +1 -0
  721. package/serialization/resources/commons/types/DocumentInformation.js +1 -0
  722. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  723. package/serialization/resources/commons/types/EntityType.js +1 -0
  724. package/serialization/resources/commons/types/InboxItem.d.ts +1 -9
  725. package/serialization/resources/commons/types/InboxItem.js +0 -4
  726. package/serialization/resources/commons/types/InboxItemBase.d.ts +2 -0
  727. package/serialization/resources/commons/types/InboxItemBase.js +2 -0
  728. package/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
  729. package/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -1
  730. package/serialization/resources/commons/types/InboxItemFix.d.ts +1 -5
  731. package/serialization/resources/commons/types/InboxItemFix.js +0 -2
  732. package/serialization/resources/commons/types/InboxItemSeverity.d.ts +10 -0
  733. package/serialization/resources/commons/types/InboxItemSeverity.js +41 -0
  734. package/serialization/resources/commons/types/InboxItemType.d.ts +1 -1
  735. package/serialization/resources/commons/types/InboxItemType.js +1 -6
  736. package/serialization/resources/commons/types/LlmInclusionStatus.d.ts +10 -0
  737. package/serialization/resources/commons/types/LlmInclusionStatus.js +41 -0
  738. package/serialization/resources/commons/types/{BotMessageStatus.d.ts → MessageStatus.d.ts} +2 -2
  739. package/serialization/resources/commons/types/MessageStatus.js +41 -0
  740. package/serialization/resources/commons/types/UserMessage.d.ts +7 -2
  741. package/serialization/resources/commons/types/UserMessage.js +7 -2
  742. package/serialization/resources/commons/types/UserMessageResponseState.d.ts +10 -0
  743. package/serialization/resources/commons/types/UserMessageResponseState.js +41 -0
  744. package/serialization/resources/commons/types/index.d.ts +19 -7
  745. package/serialization/resources/commons/types/index.js +19 -7
  746. package/serialization/resources/conversation/types/AskObjectRequest.d.ts +13 -0
  747. package/serialization/resources/conversation/types/AskObjectRequest.js +46 -0
  748. package/serialization/resources/conversation/types/AskRequest.d.ts +2 -2
  749. package/serialization/resources/conversation/types/AskRequest.js +2 -2
  750. package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  751. package/serialization/resources/conversation/types/ConversationField.js +4 -0
  752. package/serialization/resources/conversation/types/ConversationFilter.d.ts +1 -0
  753. package/serialization/resources/conversation/types/ConversationFilter.js +1 -0
  754. package/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +2 -2
  755. package/serialization/resources/conversation/types/ConversationMessageRequest.js +2 -2
  756. package/serialization/resources/conversation/types/ConversationPatchRequest.d.ts +16 -0
  757. package/serialization/resources/conversation/types/ConversationPatchRequest.js +47 -0
  758. package/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +15 -0
  759. package/serialization/resources/conversation/types/DeliverConversationMessageRequest.js +46 -0
  760. package/serialization/resources/conversation/types/DeliverMessageRequest.d.ts +18 -0
  761. package/serialization/resources/conversation/types/DeliverMessageRequest.js +51 -0
  762. package/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +13 -0
  763. package/{dist/serialization/resources/inbox/types/BaseInboxSearchRequest.js → serialization/resources/conversation/types/DeliverMessageResponse.js} +4 -4
  764. package/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +15 -0
  765. package/serialization/resources/conversation/types/DeliverUserMessageRequest.js +46 -0
  766. package/serialization/resources/conversation/types/DeliveryStatus.d.ts +10 -0
  767. package/serialization/resources/conversation/types/DeliveryStatus.js +41 -0
  768. package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  769. package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  770. package/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +22 -0
  771. package/serialization/resources/conversation/types/ObjectStreamResponse.js +53 -0
  772. package/serialization/resources/conversation/types/index.d.ts +8 -1
  773. package/serialization/resources/conversation/types/index.js +8 -1
  774. package/{dist/serialization/resources/inbox/types/ApplyInboxItemFixRequest.d.ts → serialization/resources/inbox/types/ApplyFixesRequest.d.ts} +3 -4
  775. package/{dist/serialization/resources/inbox/types/ApplyInboxItemFixRequest.js → serialization/resources/inbox/types/ApplyFixesRequest.js} +3 -4
  776. package/serialization/resources/inbox/types/InboxFilter.d.ts +17 -0
  777. package/serialization/resources/inbox/types/InboxFilter.js +48 -0
  778. package/serialization/resources/inbox/types/InboxSearchRequest.d.ts +4 -10
  779. package/serialization/resources/inbox/types/InboxSearchRequest.js +4 -10
  780. package/serialization/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
  781. package/serialization/resources/inbox/types/InboxSearchResponse.js +1 -1
  782. package/serialization/resources/inbox/types/index.d.ts +2 -2
  783. package/serialization/resources/inbox/types/index.js +2 -2
  784. package/serialization/resources/index.d.ts +6 -0
  785. package/serialization/resources/index.js +7 -1
  786. package/serialization/resources/knowledge/types/KnowledgeBaseField.d.ts +10 -0
  787. package/serialization/resources/knowledge/types/KnowledgeBaseField.js +41 -0
  788. package/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +15 -0
  789. package/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +46 -0
  790. package/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +18 -0
  791. package/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.js +49 -0
  792. package/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +10 -0
  793. package/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.js +41 -0
  794. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +6 -0
  795. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +6 -0
  796. package/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +16 -0
  797. package/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.js +49 -0
  798. package/serialization/resources/knowledge/types/KnowledgeBasesResponse.d.ts +14 -0
  799. package/serialization/resources/knowledge/types/KnowledgeBasesResponse.js +47 -0
  800. package/serialization/resources/knowledge/types/KnowledgeDocumentField.d.ts +10 -0
  801. package/serialization/resources/knowledge/types/KnowledgeDocumentField.js +41 -0
  802. package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +15 -0
  803. package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +46 -0
  804. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +16 -0
  805. package/serialization/resources/{commons/types/InboxItemKnowledgeBaseAlert.js → knowledge/types/KnowledgeDocumentSearchRequest.js} +8 -8
  806. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +15 -0
  807. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +48 -0
  808. package/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +14 -0
  809. package/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.js +47 -0
  810. package/serialization/resources/knowledge/types/index.d.ts +11 -0
  811. package/serialization/resources/knowledge/types/index.js +11 -0
  812. package/serialization/resources/segments/index.d.ts +1 -0
  813. package/serialization/resources/segments/index.js +17 -0
  814. package/serialization/resources/segments/types/SegmentBase.d.ts +13 -0
  815. package/serialization/resources/segments/types/SegmentBase.js +45 -0
  816. package/serialization/resources/segments/types/SegmentField.d.ts +10 -0
  817. package/serialization/resources/segments/types/SegmentField.js +41 -0
  818. package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +16 -0
  819. package/serialization/resources/segments/types/SegmentPatchRequest.js +48 -0
  820. package/serialization/resources/segments/types/SegmentRequest.d.ts +14 -0
  821. package/serialization/resources/segments/types/SegmentRequest.js +47 -0
  822. package/serialization/resources/segments/types/SegmentResponse.d.ts +16 -0
  823. package/{dist/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js → serialization/resources/segments/types/SegmentResponse.js} +8 -6
  824. package/serialization/resources/segments/types/SegmentStatus.d.ts +10 -0
  825. package/serialization/resources/segments/types/SegmentStatus.js +41 -0
  826. package/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +14 -0
  827. package/serialization/resources/segments/types/SegmentsSearchRequest.js +47 -0
  828. package/serialization/resources/segments/types/SegmentsSearchResponse.d.ts +14 -0
  829. package/serialization/resources/segments/types/SegmentsSearchResponse.js +47 -0
  830. package/serialization/resources/segments/types/index.d.ts +8 -0
  831. package/serialization/resources/segments/types/index.js +24 -0
  832. package/serialization/resources/users/index.d.ts +1 -0
  833. package/serialization/resources/users/index.js +17 -0
  834. package/serialization/resources/users/types/AgentUser.d.ts +19 -0
  835. package/serialization/resources/users/types/AgentUser.js +50 -0
  836. package/serialization/resources/users/types/AgentUserField.d.ts +10 -0
  837. package/serialization/resources/users/types/AgentUserField.js +41 -0
  838. package/serialization/resources/users/types/AgentUserFilter.d.ts +13 -0
  839. package/serialization/resources/users/types/AgentUserFilter.js +44 -0
  840. package/serialization/resources/users/types/AgentUserSearchRequest.d.ts +16 -0
  841. package/serialization/resources/users/types/AgentUserSearchRequest.js +49 -0
  842. package/serialization/resources/users/types/AgentUserSearchResponse.d.ts +14 -0
  843. package/serialization/resources/users/types/AgentUserSearchResponse.js +47 -0
  844. package/serialization/resources/users/types/AppUserSummary.d.ts +16 -0
  845. package/serialization/resources/users/types/AppUserSummary.js +47 -0
  846. package/serialization/resources/users/types/index.d.ts +6 -0
  847. package/serialization/resources/users/types/index.js +22 -0
  848. package/version.d.ts +1 -1
  849. package/version.js +1 -1
  850. package/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +0 -12
  851. package/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +0 -8
  852. package/api/resources/commons/types/InboxItemFixType.d.ts +0 -14
  853. package/api/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +0 -10
  854. package/api/resources/commons/types/UserMessageAttachment.d.ts +0 -23
  855. package/api/resources/conversation/types/Attachment.d.ts +0 -26
  856. package/api/resources/inbox/types/ApplyInboxItemFixRequest.d.ts +0 -11
  857. package/api/resources/inbox/types/BaseInboxSearchRequest.d.ts +0 -9
  858. package/dist/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +0 -12
  859. package/dist/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +0 -8
  860. package/dist/api/resources/commons/types/InboxItemFixType.d.ts +0 -14
  861. package/dist/api/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +0 -10
  862. package/dist/api/resources/commons/types/UserMessageAttachment.d.ts +0 -23
  863. package/dist/api/resources/conversation/types/Attachment.d.ts +0 -26
  864. package/dist/api/resources/inbox/types/ApplyInboxItemFixRequest.d.ts +0 -11
  865. package/dist/api/resources/inbox/types/BaseInboxSearchRequest.d.ts +0 -9
  866. package/dist/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +0 -17
  867. package/dist/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.js +0 -50
  868. package/dist/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +0 -14
  869. package/dist/serialization/resources/commons/types/InboxItemFixType.d.ts +0 -10
  870. package/dist/serialization/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +0 -16
  871. package/dist/serialization/resources/commons/types/UserMessageAttachment.d.ts +0 -14
  872. package/dist/serialization/resources/inbox/types/BaseInboxSearchRequest.d.ts +0 -13
  873. package/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.d.ts +0 -17
  874. package/serialization/resources/commons/types/InboxItemDuplicateKnowledgeBase.js +0 -50
  875. package/serialization/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.d.ts +0 -14
  876. package/serialization/resources/commons/types/InboxItemFixType.d.ts +0 -10
  877. package/serialization/resources/commons/types/InboxItemKnowledgeBaseAlert.d.ts +0 -16
  878. package/serialization/resources/commons/types/UserMessageAttachment.d.ts +0 -14
  879. package/serialization/resources/inbox/types/BaseInboxSearchRequest.d.ts +0 -13
  880. /package/api/resources/{commons/types/InboxItemDuplicateKnowledgeBase.js → actions/client/requests/ActionGetRequest.js} +0 -0
  881. /package/api/resources/{commons/types/InboxItemFixDeactivateKnowledgeBase.js → actions/types/ActionFilter.js} +0 -0
  882. /package/api/resources/{commons/types/InboxItemKnowledgeBaseAlert.js → actions/types/ActionPatchRequest.js} +0 -0
  883. /package/api/resources/{commons/types/KnowledgeBaseInformation.js → actions/types/ActionsResponse.js} +0 -0
  884. /package/api/resources/{commons/types/UserMessageAttachment.js → actions/types/ActionsSearchRequest.js} +0 -0
  885. /package/api/resources/{conversation/types/Attachment.js → agents/types/AgentPatchRequest.js} +0 -0
  886. /package/api/resources/{inbox/types/ApplyInboxItemFixRequest.js → agents/types/CreateAgentRequest.js} +0 -0
  887. /package/api/resources/{inbox/types/BaseInboxSearchRequest.js → assets/types/CommitAssetUploadRequest.js} +0 -0
  888. /package/{dist/api/resources/commons/types/InboxItemDuplicateKnowledgeBase.js → api/resources/assets/types/InitiateAssetUploadRequest.js} +0 -0
  889. /package/{dist/api/resources/commons/types/InboxItemFixDeactivateKnowledgeBase.js → api/resources/assets/types/InitiateAssetUploadResponse.js} +0 -0
  890. /package/{dist/api/resources/commons/types/InboxItemKnowledgeBaseAlert.js → api/resources/commons/types/AttachmentRequest.js} +0 -0
  891. /package/{dist/api/resources/commons/types/KnowledgeBaseInformation.js → api/resources/commons/types/AttachmentResponse.js} +0 -0
  892. /package/{dist/api/resources/commons/types/UserMessageAttachment.js → api/resources/commons/types/BaseAttachment.js} +0 -0
  893. /package/{dist/api/resources/conversation/types/Attachment.js → api/resources/commons/types/BotLogic.js} +0 -0
  894. /package/{dist/api/resources/inbox/types/ApplyInboxItemFixRequest.js → api/resources/commons/types/BotLogicActionExecutedDetail.js} +0 -0
  895. /package/{dist/api/resources/inbox/types/BaseInboxSearchRequest.js → api/resources/commons/types/BotLogicActionItem.js} +0 -0
@@ -4,22 +4,14 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
- import { InboxItemDuplicateKnowledgeBase } from "./InboxItemDuplicateKnowledgeBase";
8
7
  import { InboxItemDuplicateDocuments } from "./InboxItemDuplicateDocuments";
9
- import { InboxItemKnowledgeBaseAlert } from "./InboxItemKnowledgeBaseAlert";
10
8
  import { InboxItemMissingKnowledge } from "./InboxItemMissingKnowledge";
11
9
  export declare const InboxItem: core.serialization.Schema<serializers.InboxItem.Raw, MavenAGI.InboxItem>;
12
10
  export declare namespace InboxItem {
13
- type Raw = InboxItem.DuplicateKnowledgeBase | InboxItem.DuplicateDocuments | InboxItem.KnowledgeBaseAlert | InboxItem.MissingKnowledge;
14
- interface DuplicateKnowledgeBase extends InboxItemDuplicateKnowledgeBase.Raw {
15
- type: "duplicateKnowledgeBase";
16
- }
11
+ type Raw = InboxItem.DuplicateDocuments | InboxItem.MissingKnowledge;
17
12
  interface DuplicateDocuments extends InboxItemDuplicateDocuments.Raw {
18
13
  type: "duplicateDocuments";
19
14
  }
20
- interface KnowledgeBaseAlert extends InboxItemKnowledgeBaseAlert.Raw {
21
- type: "knowledgeBaseAlert";
22
- }
23
15
  interface MissingKnowledge extends InboxItemMissingKnowledge.Raw {
24
16
  type: "missingKnowledge";
25
17
  }
@@ -38,15 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.InboxItem = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- const InboxItemDuplicateKnowledgeBase_1 = require("./InboxItemDuplicateKnowledgeBase");
42
41
  const InboxItemDuplicateDocuments_1 = require("./InboxItemDuplicateDocuments");
43
- const InboxItemKnowledgeBaseAlert_1 = require("./InboxItemKnowledgeBaseAlert");
44
42
  const InboxItemMissingKnowledge_1 = require("./InboxItemMissingKnowledge");
45
43
  exports.InboxItem = core.serialization
46
44
  .union("type", {
47
- duplicateKnowledgeBase: InboxItemDuplicateKnowledgeBase_1.InboxItemDuplicateKnowledgeBase,
48
45
  duplicateDocuments: InboxItemDuplicateDocuments_1.InboxItemDuplicateDocuments,
49
- knowledgeBaseAlert: InboxItemKnowledgeBaseAlert_1.InboxItemKnowledgeBaseAlert,
50
46
  missingKnowledge: InboxItemMissingKnowledge_1.InboxItemMissingKnowledge,
51
47
  })
52
48
  .transform({
@@ -6,6 +6,7 @@ import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { EntityId } from "./EntityId";
8
8
  import { InboxItemStatus } from "./InboxItemStatus";
9
+ import { InboxItemSeverity } from "./InboxItemSeverity";
9
10
  export declare const InboxItemBase: core.serialization.ObjectSchema<serializers.InboxItemBase.Raw, MavenAGI.InboxItemBase>;
10
11
  export declare namespace InboxItemBase {
11
12
  interface Raw {
@@ -13,5 +14,6 @@ export declare namespace InboxItemBase {
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
16
  status: InboxItemStatus.Raw;
17
+ severity: InboxItemSeverity.Raw;
16
18
  }
17
19
  }
@@ -40,9 +40,11 @@ exports.InboxItemBase = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const EntityId_1 = require("./EntityId");
42
42
  const InboxItemStatus_1 = require("./InboxItemStatus");
43
+ const InboxItemSeverity_1 = require("./InboxItemSeverity");
43
44
  exports.InboxItemBase = core.serialization.object({
44
45
  id: EntityId_1.EntityId,
45
46
  createdAt: core.serialization.date(),
46
47
  updatedAt: core.serialization.date(),
47
48
  status: InboxItemStatus_1.InboxItemStatus,
49
+ severity: InboxItemSeverity_1.InboxItemSeverity,
48
50
  });
@@ -12,7 +12,7 @@ export declare namespace InboxItemDuplicateDocuments {
12
12
  interface Raw extends InboxItemBase.Raw {
13
13
  recommendedFixes: InboxItemFixDeactivateDocument.Raw[];
14
14
  otherFixes: InboxItemFixDeactivateDocument.Raw[];
15
- sourceDocument?: DocumentInformation.Raw | null;
15
+ sourceDocument: DocumentInformation.Raw;
16
16
  documents: DocumentInformation.Raw[];
17
17
  }
18
18
  }
@@ -45,7 +45,7 @@ exports.InboxItemDuplicateDocuments = core.serialization
45
45
  .object({
46
46
  recommendedFixes: core.serialization.list(InboxItemFixDeactivateDocument_1.InboxItemFixDeactivateDocument),
47
47
  otherFixes: core.serialization.list(InboxItemFixDeactivateDocument_1.InboxItemFixDeactivateDocument),
48
- sourceDocument: DocumentInformation_1.DocumentInformation.optional(),
48
+ sourceDocument: DocumentInformation_1.DocumentInformation,
49
49
  documents: core.serialization.list(DocumentInformation_1.DocumentInformation),
50
50
  })
51
51
  .extend(InboxItemBase_1.InboxItemBase);
@@ -6,17 +6,13 @@ import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { InboxItemFixAddDocument } from "./InboxItemFixAddDocument";
8
8
  import { InboxItemFixDeactivateDocument } from "./InboxItemFixDeactivateDocument";
9
- import { InboxItemFixDeactivateKnowledgeBase } from "./InboxItemFixDeactivateKnowledgeBase";
10
9
  export declare const InboxItemFix: core.serialization.Schema<serializers.InboxItemFix.Raw, MavenAGI.InboxItemFix>;
11
10
  export declare namespace InboxItemFix {
12
- type Raw = InboxItemFix.AddDocument | InboxItemFix.DeactivateDocument | InboxItemFix.DeactivateKnowledgeBase;
11
+ type Raw = InboxItemFix.AddDocument | InboxItemFix.DeactivateDocument;
13
12
  interface AddDocument extends InboxItemFixAddDocument.Raw {
14
13
  type: "addDocument";
15
14
  }
16
15
  interface DeactivateDocument extends InboxItemFixDeactivateDocument.Raw {
17
16
  type: "deactivateDocument";
18
17
  }
19
- interface DeactivateKnowledgeBase extends InboxItemFixDeactivateKnowledgeBase.Raw {
20
- type: "deactivateKnowledgeBase";
21
- }
22
18
  }
@@ -40,12 +40,10 @@ exports.InboxItemFix = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const InboxItemFixAddDocument_1 = require("./InboxItemFixAddDocument");
42
42
  const InboxItemFixDeactivateDocument_1 = require("./InboxItemFixDeactivateDocument");
43
- const InboxItemFixDeactivateKnowledgeBase_1 = require("./InboxItemFixDeactivateKnowledgeBase");
44
43
  exports.InboxItemFix = core.serialization
45
44
  .union("type", {
46
45
  addDocument: InboxItemFixAddDocument_1.InboxItemFixAddDocument,
47
46
  deactivateDocument: InboxItemFixDeactivateDocument_1.InboxItemFixDeactivateDocument,
48
- deactivateKnowledgeBase: InboxItemFixDeactivateKnowledgeBase_1.InboxItemFixDeactivateKnowledgeBase,
49
47
  })
50
48
  .transform({
51
49
  transform: (value) => value,
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const InboxItemSeverity: core.serialization.Schema<serializers.InboxItemSeverity.Raw, MavenAGI.InboxItemSeverity>;
8
+ export declare namespace InboxItemSeverity {
9
+ type Raw = "LOW" | "MEDIUM" | "HIGH";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.InboxItemSeverity = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.InboxItemSeverity = core.serialization.enum_(["LOW", "MEDIUM", "HIGH"]);
@@ -6,5 +6,5 @@ import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const InboxItemType: core.serialization.Schema<serializers.InboxItemType.Raw, MavenAGI.InboxItemType>;
8
8
  export declare namespace InboxItemType {
9
- type Raw = "DUPLICATE_DOCUMENT" | "DUPLICATE_KNOWLEDGE_BASE" | "MISSING_KNOWLEDGE" | "LOW_QUALITY_KNOWLEDGE_BASE";
9
+ type Raw = "DUPLICATE_DOCUMENT" | "MISSING_KNOWLEDGE";
10
10
  }
@@ -38,9 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.InboxItemType = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- exports.InboxItemType = core.serialization.enum_([
42
- "DUPLICATE_DOCUMENT",
43
- "DUPLICATE_KNOWLEDGE_BASE",
44
- "MISSING_KNOWLEDGE",
45
- "LOW_QUALITY_KNOWLEDGE_BASE",
46
- ]);
41
+ exports.InboxItemType = core.serialization.enum_(["DUPLICATE_DOCUMENT", "MISSING_KNOWLEDGE"]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const LlmInclusionStatus: core.serialization.Schema<serializers.LlmInclusionStatus.Raw, MavenAGI.LlmInclusionStatus>;
8
+ export declare namespace LlmInclusionStatus {
9
+ type Raw = "ALWAYS" | "WHEN_RELEVANT" | "NEVER";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.LlmInclusionStatus = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.LlmInclusionStatus = core.serialization.enum_(["ALWAYS", "WHEN_RELEVANT", "NEVER"]);
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
- export declare const BotMessageStatus: core.serialization.Schema<serializers.BotMessageStatus.Raw, MavenAGI.BotMessageStatus>;
8
- export declare namespace BotMessageStatus {
7
+ export declare const MessageStatus: core.serialization.Schema<serializers.MessageStatus.Raw, MavenAGI.MessageStatus>;
8
+ export declare namespace MessageStatus {
9
9
  type Raw = "SENDING" | "SENT" | "REJECTED" | "CANCELED" | "FAILED" | "UNKNOWN";
10
10
  }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.MessageStatus = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.MessageStatus = core.serialization.enum_(["SENDING", "SENT", "REJECTED", "CANCELED", "FAILED", "UNKNOWN"]);
@@ -5,14 +5,19 @@ import * as serializers from "../../../index";
5
5
  import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { EntityId } from "./EntityId";
8
- import { UserMessageAttachment } from "./UserMessageAttachment";
8
+ import { AttachmentResponse } from "./AttachmentResponse";
9
+ import { MessageStatus } from "./MessageStatus";
10
+ import { UserMessageResponseState } from "./UserMessageResponseState";
9
11
  import { UserMessageBase } from "./UserMessageBase";
10
12
  export declare const UserMessage: core.serialization.ObjectSchema<serializers.UserMessage.Raw, MavenAGI.UserMessage>;
11
13
  export declare namespace UserMessage {
12
14
  interface Raw extends UserMessageBase.Raw {
13
15
  conversationMessageId: EntityId.Raw;
14
16
  language?: string | null;
15
- attachments: UserMessageAttachment.Raw[];
17
+ attachments: AttachmentResponse.Raw[];
18
+ agentUserId?: string | null;
16
19
  userDisplayName?: string | null;
20
+ status: MessageStatus.Raw;
21
+ responseState?: UserMessageResponseState.Raw | null;
17
22
  }
18
23
  }
@@ -39,13 +39,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.UserMessage = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const EntityId_1 = require("./EntityId");
42
- const UserMessageAttachment_1 = require("./UserMessageAttachment");
42
+ const AttachmentResponse_1 = require("./AttachmentResponse");
43
+ const MessageStatus_1 = require("./MessageStatus");
44
+ const UserMessageResponseState_1 = require("./UserMessageResponseState");
43
45
  const UserMessageBase_1 = require("./UserMessageBase");
44
46
  exports.UserMessage = core.serialization
45
47
  .object({
46
48
  conversationMessageId: EntityId_1.EntityId,
47
49
  language: core.serialization.string().optional(),
48
- attachments: core.serialization.list(UserMessageAttachment_1.UserMessageAttachment),
50
+ attachments: core.serialization.list(AttachmentResponse_1.AttachmentResponse),
51
+ agentUserId: core.serialization.string().optional(),
49
52
  userDisplayName: core.serialization.string().optional(),
53
+ status: MessageStatus_1.MessageStatus,
54
+ responseState: UserMessageResponseState_1.UserMessageResponseState.optional(),
50
55
  })
51
56
  .extend(UserMessageBase_1.UserMessageBase);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const UserMessageResponseState: core.serialization.Schema<serializers.UserMessageResponseState.Raw, MavenAGI.UserMessageResponseState>;
8
+ export declare namespace UserMessageResponseState {
9
+ type Raw = "NOT_ASKED" | "LLM_ENABLED" | "LLM_DISABLED";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.UserMessageResponseState = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.UserMessageResponseState = core.serialization.enum_(["NOT_ASKED", "LLM_ENABLED", "LLM_DISABLED"]);
@@ -34,10 +34,14 @@ export * from "./ConversationMessageResponse";
34
34
  export * from "./ConversationMessageBase";
35
35
  export * from "./UserConversationMessageType";
36
36
  export * from "./UserMessageBase";
37
- export * from "./UserMessageAttachment";
37
+ export * from "./AttachmentStatus";
38
+ export * from "./BaseAttachment";
39
+ export * from "./AttachmentRequest";
40
+ export * from "./AttachmentResponse";
38
41
  export * from "./UserMessage";
42
+ export * from "./UserMessageResponseState";
39
43
  export * from "./BotConversationMessageType";
40
- export * from "./BotMessageStatus";
44
+ export * from "./MessageStatus";
41
45
  export * from "./BotMessage";
42
46
  export * from "./Source";
43
47
  export * from "./BotResponseMetadata";
@@ -48,8 +52,20 @@ export * from "./BotActionFormResponse";
48
52
  export * from "./ActionFormField";
49
53
  export * from "./BotChartResponse";
50
54
  export * from "./ChartSpecSchema";
55
+ export * from "./BotLogic";
56
+ export * from "./BotLogicItem";
57
+ export * from "./BotLogicSegmentsItem";
58
+ export * from "./BotLogicUserItem";
59
+ export * from "./BotLogicActionItem";
60
+ export * from "./BotLogicActionReviewedDetail";
61
+ export * from "./BotLogicActionExecutedDetail";
62
+ export * from "./BotLogicFormSubmissionItem";
63
+ export * from "./BotLogicKnowledgeItem";
64
+ export * from "./BotLogicKnowledgeDetail";
65
+ export * from "./BotLogicSafetyItem";
51
66
  export * from "./ActionBase";
52
67
  export * from "./ActionParameter";
68
+ export * from "./LlmInclusionStatus";
53
69
  export * from "./ActionResponse";
54
70
  export * from "./Precondition";
55
71
  export * from "./PreconditionOperator";
@@ -62,20 +78,16 @@ export * from "./PreconditionGroupOperator";
62
78
  export * from "./PreconditionGroup";
63
79
  export * from "./TagsPrecondition";
64
80
  export * from "./ConversationExecutedActionPrecondition";
65
- export * from "./KnowledgeBaseInformation";
66
81
  export * from "./DocumentInformation";
67
82
  export * from "./InboxItemStatus";
68
83
  export * from "./InboxItemType";
69
- export * from "./InboxItemFixType";
84
+ export * from "./InboxItemSeverity";
70
85
  export * from "./InboxItem";
71
86
  export * from "./InboxItemBase";
72
- export * from "./InboxItemKnowledgeBaseAlert";
73
- export * from "./InboxItemDuplicateKnowledgeBase";
74
87
  export * from "./InboxItemDuplicateDocuments";
75
88
  export * from "./InboxItemMissingKnowledge";
76
89
  export * from "./InboxItemFix";
77
90
  export * from "./InboxItemFixBase";
78
91
  export * from "./InboxItemFixAddDocument";
79
92
  export * from "./InboxItemFixDeactivateDocument";
80
- export * from "./InboxItemFixDeactivateKnowledgeBase";
81
93
  export * from "./NumberRange";
@@ -50,10 +50,14 @@ __exportStar(require("./ConversationMessageResponse"), exports);
50
50
  __exportStar(require("./ConversationMessageBase"), exports);
51
51
  __exportStar(require("./UserConversationMessageType"), exports);
52
52
  __exportStar(require("./UserMessageBase"), exports);
53
- __exportStar(require("./UserMessageAttachment"), exports);
53
+ __exportStar(require("./AttachmentStatus"), exports);
54
+ __exportStar(require("./BaseAttachment"), exports);
55
+ __exportStar(require("./AttachmentRequest"), exports);
56
+ __exportStar(require("./AttachmentResponse"), exports);
54
57
  __exportStar(require("./UserMessage"), exports);
58
+ __exportStar(require("./UserMessageResponseState"), exports);
55
59
  __exportStar(require("./BotConversationMessageType"), exports);
56
- __exportStar(require("./BotMessageStatus"), exports);
60
+ __exportStar(require("./MessageStatus"), exports);
57
61
  __exportStar(require("./BotMessage"), exports);
58
62
  __exportStar(require("./Source"), exports);
59
63
  __exportStar(require("./BotResponseMetadata"), exports);
@@ -64,8 +68,20 @@ __exportStar(require("./BotActionFormResponse"), exports);
64
68
  __exportStar(require("./ActionFormField"), exports);
65
69
  __exportStar(require("./BotChartResponse"), exports);
66
70
  __exportStar(require("./ChartSpecSchema"), exports);
71
+ __exportStar(require("./BotLogic"), exports);
72
+ __exportStar(require("./BotLogicItem"), exports);
73
+ __exportStar(require("./BotLogicSegmentsItem"), exports);
74
+ __exportStar(require("./BotLogicUserItem"), exports);
75
+ __exportStar(require("./BotLogicActionItem"), exports);
76
+ __exportStar(require("./BotLogicActionReviewedDetail"), exports);
77
+ __exportStar(require("./BotLogicActionExecutedDetail"), exports);
78
+ __exportStar(require("./BotLogicFormSubmissionItem"), exports);
79
+ __exportStar(require("./BotLogicKnowledgeItem"), exports);
80
+ __exportStar(require("./BotLogicKnowledgeDetail"), exports);
81
+ __exportStar(require("./BotLogicSafetyItem"), exports);
67
82
  __exportStar(require("./ActionBase"), exports);
68
83
  __exportStar(require("./ActionParameter"), exports);
84
+ __exportStar(require("./LlmInclusionStatus"), exports);
69
85
  __exportStar(require("./ActionResponse"), exports);
70
86
  __exportStar(require("./Precondition"), exports);
71
87
  __exportStar(require("./PreconditionOperator"), exports);
@@ -78,20 +94,16 @@ __exportStar(require("./PreconditionGroupOperator"), exports);
78
94
  __exportStar(require("./PreconditionGroup"), exports);
79
95
  __exportStar(require("./TagsPrecondition"), exports);
80
96
  __exportStar(require("./ConversationExecutedActionPrecondition"), exports);
81
- __exportStar(require("./KnowledgeBaseInformation"), exports);
82
97
  __exportStar(require("./DocumentInformation"), exports);
83
98
  __exportStar(require("./InboxItemStatus"), exports);
84
99
  __exportStar(require("./InboxItemType"), exports);
85
- __exportStar(require("./InboxItemFixType"), exports);
100
+ __exportStar(require("./InboxItemSeverity"), exports);
86
101
  __exportStar(require("./InboxItem"), exports);
87
102
  __exportStar(require("./InboxItemBase"), exports);
88
- __exportStar(require("./InboxItemKnowledgeBaseAlert"), exports);
89
- __exportStar(require("./InboxItemDuplicateKnowledgeBase"), exports);
90
103
  __exportStar(require("./InboxItemDuplicateDocuments"), exports);
91
104
  __exportStar(require("./InboxItemMissingKnowledge"), exports);
92
105
  __exportStar(require("./InboxItemFix"), exports);
93
106
  __exportStar(require("./InboxItemFixBase"), exports);
94
107
  __exportStar(require("./InboxItemFixAddDocument"), exports);
95
108
  __exportStar(require("./InboxItemFixDeactivateDocument"), exports);
96
- __exportStar(require("./InboxItemFixDeactivateKnowledgeBase"), exports);
97
109
  __exportStar(require("./NumberRange"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { AskRequest } from "./AskRequest";
8
+ export declare const AskObjectRequest: core.serialization.ObjectSchema<serializers.AskObjectRequest.Raw, MavenAGI.AskObjectRequest>;
9
+ export declare namespace AskObjectRequest {
10
+ interface Raw extends AskRequest.Raw {
11
+ schema: string;
12
+ }
13
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AskObjectRequest = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const AskRequest_1 = require("./AskRequest");
42
+ exports.AskObjectRequest = core.serialization
43
+ .object({
44
+ schema: core.serialization.string(),
45
+ })
46
+ .extend(AskRequest_1.AskRequest);
@@ -5,14 +5,14 @@ import * as serializers from "../../../index";
5
5
  import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { EntityIdBase } from "../../commons/types/EntityIdBase";
8
- import { Attachment } from "./Attachment";
8
+ import { AttachmentRequest } from "../../commons/types/AttachmentRequest";
9
9
  export declare const AskRequest: core.serialization.ObjectSchema<serializers.AskRequest.Raw, MavenAGI.AskRequest>;
10
10
  export declare namespace AskRequest {
11
11
  interface Raw {
12
12
  conversationMessageId: EntityIdBase.Raw;
13
13
  userId: EntityIdBase.Raw;
14
14
  text: string;
15
- attachments?: Attachment.Raw[] | null;
15
+ attachments?: AttachmentRequest.Raw[] | null;
16
16
  transientData?: Record<string, string> | null;
17
17
  timezone?: string | null;
18
18
  }
@@ -39,12 +39,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AskRequest = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
42
- const Attachment_1 = require("./Attachment");
42
+ const AttachmentRequest_1 = require("../../commons/types/AttachmentRequest");
43
43
  exports.AskRequest = core.serialization.object({
44
44
  conversationMessageId: EntityIdBase_1.EntityIdBase,
45
45
  userId: EntityIdBase_1.EntityIdBase,
46
46
  text: core.serialization.string(),
47
- attachments: core.serialization.list(Attachment_1.Attachment).optional(),
47
+ attachments: core.serialization.list(AttachmentRequest_1.AttachmentRequest).optional(),
48
48
  transientData: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
49
49
  timezone: core.serialization.string().optional(),
50
50
  });
@@ -6,5 +6,5 @@ import * as MavenAGI from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const ConversationField: core.serialization.Schema<serializers.ConversationField.Raw, MavenAGI.ConversationField>;
8
8
  export declare namespace ConversationField {
9
- type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt";
9
+ type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt" | "PredictedNPS" | "OrganizationId" | "AgentId";
10
10
  }