mavenagi 1.2.9 → 1.2.11

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 (2207) hide show
  1. package/BaseClient.d.ts +36 -0
  2. package/BaseClient.js +3 -0
  3. package/Client.d.ts +12 -30
  4. package/Client.js +37 -22
  5. package/README.md +45 -15
  6. package/api/resources/actions/client/Client.d.ts +7 -33
  7. package/api/resources/actions/client/Client.js +33 -33
  8. package/api/resources/actions/client/index.d.ts +0 -1
  9. package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +1 -1
  10. package/api/resources/actions/client/requests/index.d.ts +2 -2
  11. package/api/resources/actions/index.d.ts +1 -1
  12. package/api/resources/actions/index.js +1 -1
  13. package/api/resources/actions/types/ActionFilter.d.ts +1 -1
  14. package/api/resources/actions/types/ActionRequest.d.ts +5 -5
  15. package/api/resources/actions/types/ActionsResponse.d.ts +1 -1
  16. package/api/resources/actions/types/ActionsSearchRequest.d.ts +1 -1
  17. package/api/resources/actions/types/index.d.ts +2 -2
  18. package/api/resources/actions/types/index.js +2 -2
  19. package/api/resources/agents/client/Client.d.ts +3 -29
  20. package/api/resources/agents/client/Client.js +34 -34
  21. package/api/resources/agents/client/index.d.ts +0 -1
  22. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +1 -1
  23. package/api/resources/agents/client/requests/index.d.ts +1 -1
  24. package/api/resources/agents/index.d.ts +1 -1
  25. package/api/resources/agents/index.js +1 -1
  26. package/api/resources/agents/types/Agent.d.ts +1 -1
  27. package/api/resources/agents/types/AgentFilter.d.ts +1 -1
  28. package/api/resources/agents/types/AgentPrompting.d.ts +1 -1
  29. package/api/resources/agents/types/AgentsSearchRequest.d.ts +1 -1
  30. package/api/resources/agents/types/AgentsSearchResponse.d.ts +1 -1
  31. package/api/resources/agents/types/CreateAgentRequest.d.ts +1 -1
  32. package/api/resources/agents/types/index.d.ts +4 -5
  33. package/api/resources/agents/types/index.js +4 -5
  34. package/api/resources/analytics/client/Client.d.ts +89 -29
  35. package/api/resources/analytics/client/Client.js +271 -25
  36. package/api/resources/analytics/index.d.ts +1 -1
  37. package/api/resources/analytics/index.js +1 -1
  38. package/api/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +1 -1
  39. package/api/resources/analytics/types/AgentUserColumnDefinition.d.ts +1 -1
  40. package/api/resources/analytics/types/AgentUserCount.d.ts +1 -2
  41. package/api/resources/analytics/types/AgentUserMetric.d.ts +1 -1
  42. package/api/resources/analytics/types/AgentUserRow.d.ts +1 -1
  43. package/api/resources/analytics/types/AgentUserTableRequest.d.ts +1 -1
  44. package/api/resources/analytics/types/AgentUserTableResponse.d.ts +1 -1
  45. package/api/resources/analytics/types/BarChartResponse.d.ts +1 -1
  46. package/api/resources/analytics/types/CellData.d.ts +1 -1
  47. package/api/resources/analytics/types/ChartResponse.d.ts +1 -1
  48. package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +1 -1
  49. package/api/resources/analytics/types/ConversationAverage.d.ts +1 -1
  50. package/api/resources/analytics/types/ConversationBarChartRequest.d.ts +1 -1
  51. package/api/resources/analytics/types/ConversationBasicMetric.d.ts +1 -1
  52. package/api/resources/analytics/types/ConversationChartRequest.d.ts +1 -1
  53. package/api/resources/analytics/types/ConversationColumnDefinition.d.ts +1 -1
  54. package/api/resources/analytics/types/ConversationCount.d.ts +1 -2
  55. package/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +1 -1
  56. package/api/resources/analytics/types/ConversationDistinctCount.d.ts +1 -1
  57. package/api/resources/analytics/types/ConversationGroupBy.d.ts +1 -1
  58. package/api/resources/analytics/types/ConversationMax.d.ts +1 -1
  59. package/api/resources/analytics/types/ConversationMedian.d.ts +1 -1
  60. package/api/resources/analytics/types/ConversationMetric.d.ts +1 -1
  61. package/api/resources/analytics/types/ConversationMin.d.ts +1 -1
  62. package/api/resources/analytics/types/ConversationNumericMetric.d.ts +1 -1
  63. package/api/resources/analytics/types/ConversationPercentile.d.ts +1 -1
  64. package/api/resources/analytics/types/ConversationPieChartRequest.d.ts +1 -1
  65. package/api/resources/analytics/types/ConversationRow.d.ts +1 -1
  66. package/api/resources/analytics/types/ConversationSum.d.ts +1 -1
  67. package/api/resources/analytics/types/ConversationTableRequest.d.ts +1 -1
  68. package/api/resources/analytics/types/ConversationTableResponse.d.ts +1 -1
  69. package/api/resources/analytics/types/DateHistogramResponse.d.ts +1 -1
  70. package/api/resources/analytics/types/EventAnalyticsRequest.d.ts +11 -0
  71. package/api/resources/analytics/types/EventAnalyticsRequest.js +3 -0
  72. package/api/resources/analytics/types/EventBarChartRequest.d.ts +12 -0
  73. package/api/resources/analytics/types/EventBarChartRequest.js +3 -0
  74. package/api/resources/analytics/types/EventChartRequest.d.ts +60 -0
  75. package/api/resources/analytics/types/EventChartRequest.js +3 -0
  76. package/api/resources/analytics/types/EventColumnDefinition.d.ts +5 -0
  77. package/api/resources/analytics/types/EventColumnDefinition.js +3 -0
  78. package/api/resources/analytics/types/EventCount.d.ts +4 -0
  79. package/api/resources/analytics/types/EventCount.js +3 -0
  80. package/api/resources/analytics/types/EventDateHistogramRequest.d.ts +9 -0
  81. package/api/resources/analytics/types/EventDateHistogramRequest.js +3 -0
  82. package/api/resources/analytics/types/EventDistinctCount.d.ts +8 -0
  83. package/api/resources/analytics/types/EventDistinctCount.js +3 -0
  84. package/api/resources/analytics/types/EventGroupBy.d.ts +5 -0
  85. package/api/resources/analytics/types/EventGroupBy.js +3 -0
  86. package/api/resources/analytics/types/EventMetric.d.ts +14 -0
  87. package/api/resources/analytics/types/EventMetric.js +3 -0
  88. package/api/resources/analytics/types/EventPieChartRequest.d.ts +7 -0
  89. package/api/resources/analytics/types/EventPieChartRequest.js +3 -0
  90. package/api/resources/analytics/types/EventRow.d.ts +8 -0
  91. package/api/resources/analytics/types/EventRow.js +3 -0
  92. package/api/resources/analytics/types/EventTableRequest.d.ts +38 -0
  93. package/api/resources/analytics/types/EventTableRequest.js +3 -0
  94. package/api/resources/analytics/types/EventTableResponse.d.ts +42 -0
  95. package/api/resources/analytics/types/EventTableResponse.js +3 -0
  96. package/api/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +1 -1
  97. package/api/resources/analytics/types/FeedbackColumnDefinition.d.ts +1 -1
  98. package/api/resources/analytics/types/FeedbackCount.d.ts +1 -2
  99. package/api/resources/analytics/types/FeedbackDistinctCount.d.ts +1 -1
  100. package/api/resources/analytics/types/FeedbackGroupBy.d.ts +1 -1
  101. package/api/resources/analytics/types/FeedbackMetric.d.ts +1 -1
  102. package/api/resources/analytics/types/FeedbackRow.d.ts +1 -1
  103. package/api/resources/analytics/types/FeedbackTableRequest.d.ts +1 -1
  104. package/api/resources/analytics/types/FeedbackTableResponse.d.ts +1 -1
  105. package/api/resources/analytics/types/FieldValue.d.ts +1 -1
  106. package/api/resources/analytics/types/PieChartResponse.d.ts +1 -1
  107. package/api/resources/analytics/types/RowBase.d.ts +1 -1
  108. package/api/resources/analytics/types/Series.d.ts +1 -1
  109. package/api/resources/analytics/types/TimeSeries.d.ts +1 -1
  110. package/api/resources/analytics/types/index.d.ts +49 -36
  111. package/api/resources/analytics/types/index.js +49 -36
  112. package/api/resources/appSettings/client/Client.d.ts +3 -29
  113. package/api/resources/appSettings/client/Client.js +18 -18
  114. package/api/resources/appSettings/client/index.d.ts +0 -1
  115. package/api/resources/appSettings/client/requests/index.d.ts +1 -1
  116. package/api/resources/appSettings/index.d.ts +1 -1
  117. package/api/resources/appSettings/index.js +1 -1
  118. package/api/resources/appSettings/types/SearchAppSettingsResponse.d.ts +1 -1
  119. package/api/resources/appSettings/types/index.d.ts +1 -1
  120. package/api/resources/appSettings/types/index.js +1 -1
  121. package/api/resources/assets/client/Client.d.ts +3 -29
  122. package/api/resources/assets/client/Client.js +14 -14
  123. package/api/resources/assets/index.d.ts +1 -1
  124. package/api/resources/assets/index.js +1 -1
  125. package/api/resources/assets/types/InitiateAssetUploadRequest.d.ts +1 -1
  126. package/api/resources/assets/types/InitiateAssetUploadResponse.d.ts +1 -1
  127. package/api/resources/assets/types/index.d.ts +1 -1
  128. package/api/resources/assets/types/index.js +1 -1
  129. package/api/resources/auth/client/Client.d.ts +33 -0
  130. package/api/resources/auth/client/Client.js +171 -0
  131. package/api/resources/auth/client/index.d.ts +1 -0
  132. package/api/resources/auth/client/index.js +2 -0
  133. package/api/resources/auth/index.d.ts +2 -0
  134. package/api/resources/auth/index.js +18 -0
  135. package/api/resources/auth/types/SessionTokenRequest.d.ts +3 -0
  136. package/api/resources/auth/types/SessionTokenRequest.js +3 -0
  137. package/api/resources/auth/types/SessionTokenResponse.d.ts +6 -0
  138. package/api/resources/auth/types/SessionTokenResponse.js +3 -0
  139. package/api/resources/auth/types/index.d.ts +2 -0
  140. package/api/resources/auth/types/index.js +18 -0
  141. package/api/resources/commons/errors/BadRequestError.d.ts +2 -2
  142. package/api/resources/commons/errors/NotFoundError.d.ts +2 -2
  143. package/api/resources/commons/errors/ServerError.d.ts +2 -2
  144. package/api/resources/commons/errors/index.d.ts +1 -1
  145. package/api/resources/commons/errors/index.js +1 -1
  146. package/api/resources/commons/index.d.ts +1 -1
  147. package/api/resources/commons/index.js +1 -1
  148. package/api/resources/commons/types/ActionBase.d.ts +2 -12
  149. package/api/resources/commons/types/ActionExecutionParamValue.d.ts +1 -1
  150. package/api/resources/commons/types/ActionFormField.d.ts +1 -1
  151. package/api/resources/commons/types/ActionParameter.d.ts +1 -1
  152. package/api/resources/commons/types/ActionParameterType.d.ts +3 -0
  153. package/api/resources/commons/types/ActionParameterType.js +3 -0
  154. package/api/resources/commons/types/ActionProperties.d.ts +13 -0
  155. package/api/resources/commons/types/ActionProperties.js +3 -0
  156. package/api/resources/commons/types/ActionResponse.d.ts +5 -5
  157. package/api/resources/commons/types/ActionUser.d.ts +46 -0
  158. package/api/resources/commons/types/ActionUser.js +3 -0
  159. package/api/resources/commons/types/AppPrecondition.d.ts +1 -1
  160. package/api/resources/commons/types/AppUser.d.ts +1 -1
  161. package/api/resources/commons/types/AppUserIdentifier.d.ts +1 -1
  162. package/api/resources/commons/types/AppUserRequest.d.ts +1 -1
  163. package/api/resources/commons/types/AppUserResponse.d.ts +1 -1
  164. package/api/resources/commons/types/AttachmentRequest.d.ts +1 -1
  165. package/api/resources/commons/types/AttachmentResponse.d.ts +1 -1
  166. package/api/resources/commons/types/BaseConversationResponse.d.ts +1 -1
  167. package/api/resources/commons/types/BaseSearchRequest.d.ts +1 -1
  168. package/api/resources/commons/types/BotActionFormResponse.d.ts +1 -1
  169. package/api/resources/commons/types/BotChartResponse.d.ts +1 -1
  170. package/api/resources/commons/types/BotLogic.d.ts +1 -1
  171. package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +1 -1
  172. package/api/resources/commons/types/BotLogicActionItem.d.ts +1 -1
  173. package/api/resources/commons/types/BotLogicActionReviewedDetail.d.ts +1 -1
  174. package/api/resources/commons/types/BotLogicFormSubmissionItem.d.ts +1 -1
  175. package/api/resources/commons/types/BotLogicItem.d.ts +1 -1
  176. package/api/resources/commons/types/BotLogicKnowledgeDetail.d.ts +1 -1
  177. package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +1 -1
  178. package/api/resources/commons/types/BotLogicSafetyItem.d.ts +3 -0
  179. package/api/resources/commons/types/BotLogicSegmentsItem.d.ts +1 -1
  180. package/api/resources/commons/types/BotMessage.d.ts +1 -1
  181. package/api/resources/commons/types/BotResponse.d.ts +1 -1
  182. package/api/resources/commons/types/BotResponseMetadata.d.ts +1 -1
  183. package/api/resources/commons/types/BrowserInfo.d.ts +1 -1
  184. package/api/resources/commons/types/ConversationAnalysis.d.ts +1 -1
  185. package/api/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +1 -1
  186. package/api/resources/commons/types/ConversationInformation.d.ts +1 -1
  187. package/api/resources/commons/types/ConversationMessageResponse.d.ts +1 -1
  188. package/api/resources/commons/types/ConversationPrecondition.d.ts +1 -1
  189. package/api/resources/commons/types/ConversationPreview.d.ts +1 -1
  190. package/api/resources/commons/types/ConversationResponse.d.ts +4 -2
  191. package/api/resources/commons/types/ConversationSummary.d.ts +11 -1
  192. package/api/resources/commons/types/DeviceInfo.d.ts +1 -1
  193. package/api/resources/commons/types/DocumentInformation.d.ts +1 -1
  194. package/api/resources/commons/types/EntityId.d.ts +1 -1
  195. package/api/resources/commons/types/EntityIdWithoutAgent.d.ts +1 -1
  196. package/api/resources/commons/types/EntityResult.d.ts +1 -1
  197. package/api/resources/commons/types/EntityType.d.ts +1 -0
  198. package/api/resources/commons/types/EntityType.js +1 -0
  199. package/api/resources/commons/types/EventBaseNoId.d.ts +1 -1
  200. package/api/resources/commons/types/EventField.d.ts +16 -0
  201. package/api/resources/commons/types/EventField.js +16 -0
  202. package/api/resources/commons/types/EventFilter.d.ts +1 -1
  203. package/api/resources/commons/types/EventRequest.d.ts +1 -1
  204. package/api/resources/commons/types/EventResponse.d.ts +1 -1
  205. package/api/resources/commons/types/EventUserInfo.d.ts +1 -1
  206. package/api/resources/commons/types/EventUserInfoBase.d.ts +1 -1
  207. package/api/resources/commons/types/EventsSearchRequest.d.ts +1 -1
  208. package/api/resources/commons/types/EventsSearchResponse.d.ts +1 -1
  209. package/api/resources/commons/types/Feedback.d.ts +1 -1
  210. package/api/resources/commons/types/FeedbackBase.d.ts +1 -1
  211. package/api/resources/commons/types/FeedbackInfo.d.ts +1 -1
  212. package/api/resources/commons/types/HarmfulContentAnalysis.d.ts +10 -0
  213. package/api/resources/commons/types/HarmfulContentAnalysis.js +3 -0
  214. package/api/resources/commons/types/InboxItem.d.ts +1 -1
  215. package/api/resources/commons/types/InboxItemBase.d.ts +1 -1
  216. package/api/resources/commons/types/InboxItemCustom.d.ts +1 -1
  217. package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
  218. package/api/resources/commons/types/InboxItemFix.d.ts +1 -1
  219. package/api/resources/commons/types/InboxItemFixAddDocument.d.ts +1 -1
  220. package/api/resources/commons/types/InboxItemFixBase.d.ts +1 -1
  221. package/api/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +1 -1
  222. package/api/resources/commons/types/InboxItemMissingKnowledge.d.ts +1 -1
  223. package/api/resources/commons/types/InboxItemType.d.ts +3 -0
  224. package/api/resources/commons/types/InboxItemType.js +3 -0
  225. package/api/resources/commons/types/KnowledgeContextByEntities.d.ts +4 -0
  226. package/api/resources/commons/types/KnowledgeContextByEntities.js +3 -0
  227. package/api/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +4 -0
  228. package/api/resources/commons/types/KnowledgeContextByEntityTypes.js +3 -0
  229. package/api/resources/commons/types/KnowledgeContextFilter.d.ts +10 -0
  230. package/api/resources/commons/types/KnowledgeContextFilter.js +3 -0
  231. package/api/resources/commons/types/MetadataPrecondition.d.ts +1 -1
  232. package/api/resources/commons/types/NovelSystemEvent.d.ts +1 -1
  233. package/api/resources/commons/types/NovelSystemEventNoId.d.ts +1 -1
  234. package/api/resources/commons/types/NovelUserEvent.d.ts +1 -1
  235. package/api/resources/commons/types/OsInfo.d.ts +1 -1
  236. package/api/resources/commons/types/Precondition.d.ts +1 -1
  237. package/api/resources/commons/types/PreconditionBase.d.ts +1 -1
  238. package/api/resources/commons/types/PreconditionGroup.d.ts +1 -1
  239. package/api/resources/commons/types/ResponseConfig.d.ts +7 -1
  240. package/api/resources/commons/types/ResponseConfigPrecondition.d.ts +1 -1
  241. package/api/resources/commons/types/SafetyCheckReport.d.ts +9 -0
  242. package/api/resources/commons/types/SafetyCheckReport.js +3 -0
  243. package/api/resources/commons/types/ScopedEntity.d.ts +1 -1
  244. package/api/resources/commons/types/SimulationContext.d.ts +1 -1
  245. package/api/resources/commons/types/SourceInfo.d.ts +1 -1
  246. package/api/resources/commons/types/SystemEvent.d.ts +1 -1
  247. package/api/resources/commons/types/TagsPrecondition.d.ts +1 -1
  248. package/api/resources/commons/types/UserData.d.ts +1 -1
  249. package/api/resources/commons/types/UserDataWithReference.d.ts +1 -1
  250. package/api/resources/commons/types/UserEvent.d.ts +3 -1
  251. package/api/resources/commons/types/UserMessage.d.ts +1 -1
  252. package/api/resources/commons/types/UserMessageBase.d.ts +1 -1
  253. package/api/resources/commons/types/index.d.ts +121 -112
  254. package/api/resources/commons/types/index.js +121 -112
  255. package/api/resources/conversation/client/Client.d.ts +5 -31
  256. package/api/resources/conversation/client/Client.js +90 -90
  257. package/api/resources/conversation/client/index.d.ts +0 -1
  258. package/api/resources/conversation/client/requests/SimulationImportRequest.d.ts +1 -1
  259. package/api/resources/conversation/client/requests/index.d.ts +3 -3
  260. package/api/resources/conversation/index.d.ts +1 -1
  261. package/api/resources/conversation/index.js +1 -1
  262. package/api/resources/conversation/types/ActionFormAttachment.d.ts +1 -1
  263. package/api/resources/conversation/types/ActionFormRequestParamValue.d.ts +1 -1
  264. package/api/resources/conversation/types/AskObjectRequest.d.ts +1 -1
  265. package/api/resources/conversation/types/AskRequest.d.ts +1 -1
  266. package/api/resources/conversation/types/AskStreamActionEvent.d.ts +1 -1
  267. package/api/resources/conversation/types/AskStreamChartEvent.d.ts +1 -1
  268. package/api/resources/conversation/types/AskStreamEndEvent.d.ts +1 -1
  269. package/api/resources/conversation/types/AskStreamMetadataEvent.d.ts +1 -1
  270. package/api/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +1 -1
  271. package/api/resources/conversation/types/AskStreamStartEvent.d.ts +1 -1
  272. package/api/resources/conversation/types/ConversationField.d.ts +2 -0
  273. package/api/resources/conversation/types/ConversationField.js +2 -0
  274. package/api/resources/conversation/types/ConversationFilter.d.ts +1 -1
  275. package/api/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
  276. package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
  277. package/api/resources/conversation/types/ConversationRequest.d.ts +1 -1
  278. package/api/resources/conversation/types/ConversationsResponse.d.ts +1 -1
  279. package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +1 -1
  280. package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -1
  281. package/api/resources/conversation/types/DeliverMessageRequest.d.ts +1 -1
  282. package/api/resources/conversation/types/DeliverMessageResponse.d.ts +1 -1
  283. package/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +1 -1
  284. package/api/resources/conversation/types/FeedbackFilter.d.ts +1 -1
  285. package/api/resources/conversation/types/FeedbackRequest.d.ts +1 -1
  286. package/api/resources/conversation/types/NumericConversationField.d.ts +1 -0
  287. package/api/resources/conversation/types/NumericConversationField.js +1 -0
  288. package/api/resources/conversation/types/ObjectStreamResponse.d.ts +1 -1
  289. package/api/resources/conversation/types/StreamResponse.d.ts +1 -1
  290. package/api/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -1
  291. package/api/resources/conversation/types/index.d.ts +21 -21
  292. package/api/resources/conversation/types/index.js +21 -21
  293. package/api/resources/customers/client/Client.d.ts +82 -0
  294. package/api/resources/customers/client/Client.js +462 -0
  295. package/api/resources/customers/client/index.d.ts +1 -0
  296. package/api/resources/customers/client/index.js +17 -0
  297. package/api/resources/customers/client/requests/CustomerGetRequest.d.ts +8 -0
  298. package/api/resources/customers/client/requests/CustomerGetRequest.js +3 -0
  299. package/api/resources/customers/client/requests/index.d.ts +1 -0
  300. package/api/resources/customers/client/requests/index.js +2 -0
  301. package/api/resources/customers/index.d.ts +2 -0
  302. package/api/resources/customers/index.js +18 -0
  303. package/api/resources/customers/types/CustomerBase.d.ts +12 -0
  304. package/api/resources/customers/types/CustomerBase.js +3 -0
  305. package/api/resources/customers/types/CustomerField.d.ts +5 -0
  306. package/api/resources/customers/types/CustomerField.js +8 -0
  307. package/api/resources/customers/types/CustomerFilter.d.ts +11 -0
  308. package/api/resources/customers/types/CustomerFilter.js +3 -0
  309. package/api/resources/customers/types/CustomerPatchRequest.d.ts +21 -0
  310. package/api/resources/customers/types/CustomerPatchRequest.js +3 -0
  311. package/api/resources/customers/types/CustomerRequest.d.ts +15 -0
  312. package/api/resources/customers/types/CustomerRequest.js +3 -0
  313. package/api/resources/customers/types/CustomerResponse.d.ts +30 -0
  314. package/api/resources/customers/types/CustomerResponse.js +3 -0
  315. package/api/resources/customers/types/CustomerStatus.d.ts +5 -0
  316. package/api/resources/customers/types/CustomerStatus.js +8 -0
  317. package/api/resources/customers/types/CustomersSearchRequest.d.ts +7 -0
  318. package/api/resources/customers/types/CustomersSearchRequest.js +3 -0
  319. package/api/resources/customers/types/CustomersSearchResponse.d.ts +4 -0
  320. package/api/resources/customers/types/CustomersSearchResponse.js +3 -0
  321. package/api/resources/customers/types/index.d.ts +9 -0
  322. package/api/resources/customers/types/index.js +25 -0
  323. package/api/resources/events/client/Client.d.ts +3 -29
  324. package/api/resources/events/client/Client.js +23 -23
  325. package/api/resources/events/client/index.d.ts +0 -1
  326. package/api/resources/events/client/requests/index.d.ts +1 -1
  327. package/api/resources/inbox/client/Client.d.ts +3 -29
  328. package/api/resources/inbox/client/Client.js +32 -32
  329. package/api/resources/inbox/client/index.d.ts +0 -1
  330. package/api/resources/inbox/client/requests/index.d.ts +3 -3
  331. package/api/resources/inbox/index.d.ts +1 -1
  332. package/api/resources/inbox/index.js +1 -1
  333. package/api/resources/inbox/types/AddDocumentFixRequest.d.ts +1 -1
  334. package/api/resources/inbox/types/ApplyFixesRequest.d.ts +1 -1
  335. package/api/resources/inbox/types/InboxFilter.d.ts +1 -1
  336. package/api/resources/inbox/types/InboxSearchRequest.d.ts +1 -1
  337. package/api/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
  338. package/api/resources/inbox/types/index.d.ts +2 -2
  339. package/api/resources/inbox/types/index.js +2 -2
  340. package/api/resources/index.d.ts +19 -12
  341. package/api/resources/index.js +20 -13
  342. package/api/resources/knowledge/client/Client.d.ts +3 -29
  343. package/api/resources/knowledge/client/Client.js +70 -70
  344. package/api/resources/knowledge/client/index.d.ts +0 -1
  345. package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +1 -1
  346. package/api/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +1 -1
  347. package/api/resources/knowledge/client/requests/index.d.ts +5 -5
  348. package/api/resources/knowledge/index.d.ts +1 -1
  349. package/api/resources/knowledge/index.js +1 -1
  350. package/api/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +1 -1
  351. package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +1 -1
  352. package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -1
  353. package/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -1
  354. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -1
  355. package/api/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +1 -1
  356. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +1 -1
  357. package/api/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +1 -1
  358. package/api/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +1 -1
  359. package/api/resources/knowledge/types/KnowledgeBasesResponse.d.ts +1 -1
  360. package/api/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +1 -1
  361. package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +1 -1
  362. package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +4 -2
  363. package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +19 -1
  364. package/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +1 -1
  365. package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +1 -1
  366. package/api/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +1 -1
  367. package/api/resources/knowledge/types/index.d.ts +16 -16
  368. package/api/resources/knowledge/types/index.js +16 -16
  369. package/api/resources/organizations/client/Client.d.ts +3 -29
  370. package/api/resources/organizations/client/Client.js +33 -33
  371. package/api/resources/organizations/index.d.ts +1 -1
  372. package/api/resources/organizations/index.js +1 -1
  373. package/api/resources/organizations/types/CreateOrganizationRequest.d.ts +1 -1
  374. package/api/resources/organizations/types/Organization.d.ts +1 -1
  375. package/api/resources/organizations/types/index.d.ts +1 -1
  376. package/api/resources/organizations/types/index.js +1 -1
  377. package/api/resources/segments/client/Client.d.ts +7 -33
  378. package/api/resources/segments/client/Client.js +28 -28
  379. package/api/resources/segments/client/index.d.ts +0 -1
  380. package/api/resources/segments/client/requests/index.d.ts +1 -1
  381. package/api/resources/segments/index.d.ts +1 -1
  382. package/api/resources/segments/index.js +1 -1
  383. package/api/resources/segments/types/SegmentBase.d.ts +1 -1
  384. package/api/resources/segments/types/SegmentPatchRequest.d.ts +1 -1
  385. package/api/resources/segments/types/SegmentRequest.d.ts +5 -5
  386. package/api/resources/segments/types/SegmentResponse.d.ts +5 -5
  387. package/api/resources/segments/types/SegmentsSearchRequest.d.ts +1 -1
  388. package/api/resources/segments/types/SegmentsSearchResponse.d.ts +1 -1
  389. package/api/resources/segments/types/index.d.ts +4 -4
  390. package/api/resources/segments/types/index.js +4 -4
  391. package/api/resources/translations/client/Client.d.ts +3 -29
  392. package/api/resources/translations/client/Client.js +9 -9
  393. package/api/resources/translations/index.d.ts +1 -1
  394. package/api/resources/translations/index.js +1 -1
  395. package/api/resources/triggers/client/Client.d.ts +3 -29
  396. package/api/resources/triggers/client/Client.js +29 -29
  397. package/api/resources/triggers/client/index.d.ts +0 -1
  398. package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +1 -1
  399. package/api/resources/triggers/client/requests/index.d.ts +1 -1
  400. package/api/resources/triggers/index.d.ts +1 -1
  401. package/api/resources/triggers/index.js +1 -1
  402. package/api/resources/triggers/types/EventTriggerBase.d.ts +1 -1
  403. package/api/resources/triggers/types/EventTriggerRequest.d.ts +1 -1
  404. package/api/resources/triggers/types/EventTriggerResponse.d.ts +1 -1
  405. package/api/resources/triggers/types/EventTriggersSearchRequest.d.ts +1 -1
  406. package/api/resources/triggers/types/EventTriggersSearchResponse.d.ts +1 -1
  407. package/api/resources/triggers/types/index.d.ts +2 -3
  408. package/api/resources/triggers/types/index.js +2 -3
  409. package/api/resources/users/client/Client.d.ts +3 -29
  410. package/api/resources/users/client/Client.js +30 -30
  411. package/api/resources/users/client/index.d.ts +0 -1
  412. package/api/resources/users/client/requests/index.d.ts +2 -2
  413. package/api/resources/users/index.d.ts +1 -1
  414. package/api/resources/users/index.js +1 -1
  415. package/api/resources/users/types/AgentUser.d.ts +1 -1
  416. package/api/resources/users/types/AgentUserSearchRequest.d.ts +1 -1
  417. package/api/resources/users/types/AgentUserSearchResponse.d.ts +1 -1
  418. package/api/resources/users/types/AppUserSummary.d.ts +1 -1
  419. package/api/resources/users/types/index.d.ts +1 -1
  420. package/api/resources/users/types/index.js +1 -1
  421. package/api/resources/websockets/client/Client.d.ts +22 -0
  422. package/api/resources/websockets/client/Client.js +89 -0
  423. package/api/resources/websockets/client/Socket.d.ts +48 -0
  424. package/api/resources/websockets/client/Socket.js +172 -0
  425. package/api/resources/websockets/client/index.d.ts +1 -0
  426. package/api/resources/websockets/client/index.js +2 -0
  427. package/api/resources/websockets/index.d.ts +2 -0
  428. package/api/resources/websockets/index.js +18 -0
  429. package/api/resources/websockets/types/AgentAudioChunk.d.ts +9 -0
  430. package/api/resources/websockets/types/AgentAudioChunk.js +3 -0
  431. package/api/resources/websockets/types/AgentTranscript.d.ts +9 -0
  432. package/api/resources/websockets/types/AgentTranscript.js +3 -0
  433. package/api/resources/websockets/types/AudioFormat.d.ts +7 -0
  434. package/api/resources/websockets/types/AudioFormat.js +10 -0
  435. package/api/resources/websockets/types/Config.d.ts +15 -0
  436. package/api/resources/websockets/types/Config.js +3 -0
  437. package/api/resources/websockets/types/ConversationEnded.d.ts +7 -0
  438. package/api/resources/websockets/types/ConversationEnded.js +3 -0
  439. package/api/resources/websockets/types/ConversationReady.d.ts +6 -0
  440. package/api/resources/websockets/types/ConversationReady.js +3 -0
  441. package/api/resources/websockets/types/Error_.d.ts +9 -0
  442. package/api/resources/websockets/types/Error_.js +3 -0
  443. package/api/resources/websockets/types/ServerEventBase.d.ts +6 -0
  444. package/api/resources/websockets/types/ServerEventBase.js +3 -0
  445. package/api/resources/websockets/types/UserAudioChunk.d.ts +8 -0
  446. package/api/resources/websockets/types/UserAudioChunk.js +3 -0
  447. package/api/resources/websockets/types/UserFinishedSpeaking.d.ts +7 -0
  448. package/api/resources/websockets/types/UserFinishedSpeaking.js +3 -0
  449. package/api/resources/websockets/types/UserStartedSpeaking.d.ts +7 -0
  450. package/api/resources/websockets/types/UserStartedSpeaking.js +3 -0
  451. package/api/resources/websockets/types/UserTranscript.d.ts +9 -0
  452. package/api/resources/websockets/types/UserTranscript.js +3 -0
  453. package/api/resources/websockets/types/index.d.ts +12 -0
  454. package/api/resources/websockets/types/index.js +28 -0
  455. package/core/auth/AuthProvider.d.ts +1 -1
  456. package/core/fetcher/APIResponse.d.ts +1 -1
  457. package/core/fetcher/BinaryResponse.d.ts +1 -1
  458. package/core/fetcher/EndpointSupplier.d.ts +2 -2
  459. package/core/fetcher/Fetcher.d.ts +2 -2
  460. package/core/fetcher/Fetcher.js +2 -1
  461. package/core/fetcher/HttpResponsePromise.d.ts +1 -1
  462. package/core/fetcher/getErrorResponseBody.js +2 -1
  463. package/core/fetcher/getResponseBody.js +3 -3
  464. package/core/fetcher/makeRequest.js +2 -2
  465. package/core/fetcher/requestWithRetries.js +3 -3
  466. package/core/file/file.d.ts +6 -1
  467. package/core/file/file.js +25 -7
  468. package/core/form-data-utils/FormDataWrapper.d.ts +2 -3
  469. package/core/form-data-utils/FormDataWrapper.js +62 -85
  470. package/core/index.d.ts +5 -4
  471. package/core/index.js +6 -5
  472. package/core/schemas/Schema.d.ts +1 -1
  473. package/core/schemas/builders/bigint/bigint.d.ts +1 -1
  474. package/core/schemas/builders/bigint/bigint.js +2 -2
  475. package/core/schemas/builders/date/date.d.ts +1 -1
  476. package/core/schemas/builders/date/date.js +2 -2
  477. package/core/schemas/builders/enum/enum.d.ts +1 -1
  478. package/core/schemas/builders/index.d.ts +14 -14
  479. package/core/schemas/builders/index.js +14 -14
  480. package/core/schemas/builders/lazy/lazy.d.ts +1 -1
  481. package/core/schemas/builders/lazy/lazy.js +2 -2
  482. package/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
  483. package/core/schemas/builders/lazy/lazyObject.js +4 -4
  484. package/core/schemas/builders/list/list.d.ts +1 -1
  485. package/core/schemas/builders/list/list.js +2 -2
  486. package/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
  487. package/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
  488. package/core/schemas/builders/object/object.d.ts +1 -1
  489. package/core/schemas/builders/object/object.js +5 -5
  490. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
  491. package/core/schemas/builders/object/property.d.ts +1 -1
  492. package/core/schemas/builders/object/types.d.ts +5 -5
  493. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
  494. package/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -2
  495. package/core/schemas/builders/object-like/types.d.ts +1 -1
  496. package/core/schemas/builders/primitives/any.d.ts +1 -1
  497. package/core/schemas/builders/primitives/boolean.d.ts +1 -1
  498. package/core/schemas/builders/primitives/number.d.ts +1 -1
  499. package/core/schemas/builders/primitives/string.d.ts +1 -1
  500. package/core/schemas/builders/primitives/unknown.d.ts +1 -1
  501. package/core/schemas/builders/record/record.d.ts +2 -2
  502. package/core/schemas/builders/record/record.js +3 -3
  503. package/core/schemas/builders/record/types.d.ts +2 -2
  504. package/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
  505. package/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
  506. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
  507. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
  508. package/core/schemas/builders/set/set.d.ts +1 -1
  509. package/core/schemas/builders/set/set.js +4 -4
  510. package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
  511. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
  512. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +2 -2
  513. package/core/schemas/builders/union/types.d.ts +2 -2
  514. package/core/schemas/builders/union/union.d.ts +3 -3
  515. package/core/schemas/builders/union/union.js +4 -4
  516. package/core/schemas/index.d.ts +1 -1
  517. package/core/schemas/index.js +1 -1
  518. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
  519. package/core/schemas/utils/createIdentitySchemaCreator.js +2 -2
  520. package/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
  521. package/core/stream/Stream.d.ts +1 -0
  522. package/core/stream/Stream.js +8 -5
  523. package/core/url/encodePathParam.d.ts +1 -0
  524. package/core/url/encodePathParam.js +21 -0
  525. package/core/url/index.d.ts +1 -0
  526. package/core/url/index.js +3 -1
  527. package/core/url/join.js +3 -3
  528. package/core/websocket/events.d.ts +36 -0
  529. package/core/websocket/events.js +27 -0
  530. package/core/websocket/index.d.ts +1 -0
  531. package/core/websocket/index.js +17 -0
  532. package/core/websocket/ws.d.ts +147 -0
  533. package/core/websocket/ws.js +444 -0
  534. package/dist/BaseClient.d.ts +36 -0
  535. package/dist/BaseClient.js +3 -0
  536. package/dist/Client.d.ts +12 -30
  537. package/dist/Client.js +37 -22
  538. package/dist/api/resources/actions/client/Client.d.ts +7 -33
  539. package/dist/api/resources/actions/client/Client.js +33 -33
  540. package/dist/api/resources/actions/client/index.d.ts +0 -1
  541. package/dist/api/resources/actions/client/requests/ActionPatchRequest.d.ts +1 -1
  542. package/dist/api/resources/actions/client/requests/index.d.ts +2 -2
  543. package/dist/api/resources/actions/index.d.ts +1 -1
  544. package/dist/api/resources/actions/index.js +1 -1
  545. package/dist/api/resources/actions/types/ActionFilter.d.ts +1 -1
  546. package/dist/api/resources/actions/types/ActionRequest.d.ts +5 -5
  547. package/dist/api/resources/actions/types/ActionsResponse.d.ts +1 -1
  548. package/dist/api/resources/actions/types/ActionsSearchRequest.d.ts +1 -1
  549. package/dist/api/resources/actions/types/index.d.ts +2 -2
  550. package/dist/api/resources/actions/types/index.js +2 -2
  551. package/dist/api/resources/agents/client/Client.d.ts +3 -29
  552. package/dist/api/resources/agents/client/Client.js +34 -34
  553. package/dist/api/resources/agents/client/index.d.ts +0 -1
  554. package/dist/api/resources/agents/client/requests/AgentPatchRequest.d.ts +1 -1
  555. package/dist/api/resources/agents/client/requests/index.d.ts +1 -1
  556. package/dist/api/resources/agents/index.d.ts +1 -1
  557. package/dist/api/resources/agents/index.js +1 -1
  558. package/dist/api/resources/agents/types/Agent.d.ts +1 -1
  559. package/dist/api/resources/agents/types/AgentFilter.d.ts +1 -1
  560. package/dist/api/resources/agents/types/AgentPrompting.d.ts +1 -1
  561. package/dist/api/resources/agents/types/AgentsSearchRequest.d.ts +1 -1
  562. package/dist/api/resources/agents/types/AgentsSearchResponse.d.ts +1 -1
  563. package/dist/api/resources/agents/types/CreateAgentRequest.d.ts +1 -1
  564. package/dist/api/resources/agents/types/index.d.ts +4 -5
  565. package/dist/api/resources/agents/types/index.js +4 -5
  566. package/dist/api/resources/analytics/client/Client.d.ts +89 -29
  567. package/dist/api/resources/analytics/client/Client.js +271 -25
  568. package/dist/api/resources/analytics/index.d.ts +1 -1
  569. package/dist/api/resources/analytics/index.js +1 -1
  570. package/dist/api/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +1 -1
  571. package/dist/api/resources/analytics/types/AgentUserColumnDefinition.d.ts +1 -1
  572. package/dist/api/resources/analytics/types/AgentUserCount.d.ts +1 -2
  573. package/dist/api/resources/analytics/types/AgentUserMetric.d.ts +1 -1
  574. package/dist/api/resources/analytics/types/AgentUserRow.d.ts +1 -1
  575. package/dist/api/resources/analytics/types/AgentUserTableRequest.d.ts +1 -1
  576. package/dist/api/resources/analytics/types/AgentUserTableResponse.d.ts +1 -1
  577. package/dist/api/resources/analytics/types/BarChartResponse.d.ts +1 -1
  578. package/dist/api/resources/analytics/types/CellData.d.ts +1 -1
  579. package/dist/api/resources/analytics/types/ChartResponse.d.ts +1 -1
  580. package/dist/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +1 -1
  581. package/dist/api/resources/analytics/types/ConversationAverage.d.ts +1 -1
  582. package/dist/api/resources/analytics/types/ConversationBarChartRequest.d.ts +1 -1
  583. package/dist/api/resources/analytics/types/ConversationBasicMetric.d.ts +1 -1
  584. package/dist/api/resources/analytics/types/ConversationChartRequest.d.ts +1 -1
  585. package/dist/api/resources/analytics/types/ConversationColumnDefinition.d.ts +1 -1
  586. package/dist/api/resources/analytics/types/ConversationCount.d.ts +1 -2
  587. package/dist/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +1 -1
  588. package/dist/api/resources/analytics/types/ConversationDistinctCount.d.ts +1 -1
  589. package/dist/api/resources/analytics/types/ConversationGroupBy.d.ts +1 -1
  590. package/dist/api/resources/analytics/types/ConversationMax.d.ts +1 -1
  591. package/dist/api/resources/analytics/types/ConversationMedian.d.ts +1 -1
  592. package/dist/api/resources/analytics/types/ConversationMetric.d.ts +1 -1
  593. package/dist/api/resources/analytics/types/ConversationMin.d.ts +1 -1
  594. package/dist/api/resources/analytics/types/ConversationNumericMetric.d.ts +1 -1
  595. package/dist/api/resources/analytics/types/ConversationPercentile.d.ts +1 -1
  596. package/dist/api/resources/analytics/types/ConversationPieChartRequest.d.ts +1 -1
  597. package/dist/api/resources/analytics/types/ConversationRow.d.ts +1 -1
  598. package/dist/api/resources/analytics/types/ConversationSum.d.ts +1 -1
  599. package/dist/api/resources/analytics/types/ConversationTableRequest.d.ts +1 -1
  600. package/dist/api/resources/analytics/types/ConversationTableResponse.d.ts +1 -1
  601. package/dist/api/resources/analytics/types/DateHistogramResponse.d.ts +1 -1
  602. package/dist/api/resources/analytics/types/EventAnalyticsRequest.d.ts +11 -0
  603. package/dist/api/resources/analytics/types/EventAnalyticsRequest.js +3 -0
  604. package/dist/api/resources/analytics/types/EventBarChartRequest.d.ts +12 -0
  605. package/dist/api/resources/analytics/types/EventBarChartRequest.js +3 -0
  606. package/dist/api/resources/analytics/types/EventChartRequest.d.ts +60 -0
  607. package/dist/api/resources/analytics/types/EventChartRequest.js +3 -0
  608. package/dist/api/resources/analytics/types/EventColumnDefinition.d.ts +5 -0
  609. package/dist/api/resources/analytics/types/EventColumnDefinition.js +3 -0
  610. package/dist/api/resources/analytics/types/EventCount.d.ts +4 -0
  611. package/dist/api/resources/analytics/types/EventCount.js +3 -0
  612. package/dist/api/resources/analytics/types/EventDateHistogramRequest.d.ts +9 -0
  613. package/dist/api/resources/analytics/types/EventDateHistogramRequest.js +3 -0
  614. package/dist/api/resources/analytics/types/EventDistinctCount.d.ts +8 -0
  615. package/dist/api/resources/analytics/types/EventDistinctCount.js +3 -0
  616. package/dist/api/resources/analytics/types/EventGroupBy.d.ts +5 -0
  617. package/dist/api/resources/analytics/types/EventGroupBy.js +3 -0
  618. package/dist/api/resources/analytics/types/EventMetric.d.ts +14 -0
  619. package/dist/api/resources/analytics/types/EventMetric.js +3 -0
  620. package/dist/api/resources/analytics/types/EventPieChartRequest.d.ts +7 -0
  621. package/dist/api/resources/analytics/types/EventPieChartRequest.js +3 -0
  622. package/dist/api/resources/analytics/types/EventRow.d.ts +8 -0
  623. package/dist/api/resources/analytics/types/EventRow.js +3 -0
  624. package/dist/api/resources/analytics/types/EventTableRequest.d.ts +38 -0
  625. package/dist/api/resources/analytics/types/EventTableRequest.js +3 -0
  626. package/dist/api/resources/analytics/types/EventTableResponse.d.ts +42 -0
  627. package/dist/api/resources/analytics/types/EventTableResponse.js +3 -0
  628. package/dist/api/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +1 -1
  629. package/dist/api/resources/analytics/types/FeedbackColumnDefinition.d.ts +1 -1
  630. package/dist/api/resources/analytics/types/FeedbackCount.d.ts +1 -2
  631. package/dist/api/resources/analytics/types/FeedbackDistinctCount.d.ts +1 -1
  632. package/dist/api/resources/analytics/types/FeedbackGroupBy.d.ts +1 -1
  633. package/dist/api/resources/analytics/types/FeedbackMetric.d.ts +1 -1
  634. package/dist/api/resources/analytics/types/FeedbackRow.d.ts +1 -1
  635. package/dist/api/resources/analytics/types/FeedbackTableRequest.d.ts +1 -1
  636. package/dist/api/resources/analytics/types/FeedbackTableResponse.d.ts +1 -1
  637. package/dist/api/resources/analytics/types/FieldValue.d.ts +1 -1
  638. package/dist/api/resources/analytics/types/PieChartResponse.d.ts +1 -1
  639. package/dist/api/resources/analytics/types/RowBase.d.ts +1 -1
  640. package/dist/api/resources/analytics/types/Series.d.ts +1 -1
  641. package/dist/api/resources/analytics/types/TimeSeries.d.ts +1 -1
  642. package/dist/api/resources/analytics/types/index.d.ts +49 -36
  643. package/dist/api/resources/analytics/types/index.js +49 -36
  644. package/dist/api/resources/appSettings/client/Client.d.ts +3 -29
  645. package/dist/api/resources/appSettings/client/Client.js +18 -18
  646. package/dist/api/resources/appSettings/client/index.d.ts +0 -1
  647. package/dist/api/resources/appSettings/client/requests/index.d.ts +1 -1
  648. package/dist/api/resources/appSettings/index.d.ts +1 -1
  649. package/dist/api/resources/appSettings/index.js +1 -1
  650. package/dist/api/resources/appSettings/types/SearchAppSettingsResponse.d.ts +1 -1
  651. package/dist/api/resources/appSettings/types/index.d.ts +1 -1
  652. package/dist/api/resources/appSettings/types/index.js +1 -1
  653. package/dist/api/resources/assets/client/Client.d.ts +3 -29
  654. package/dist/api/resources/assets/client/Client.js +14 -14
  655. package/dist/api/resources/assets/index.d.ts +1 -1
  656. package/dist/api/resources/assets/index.js +1 -1
  657. package/dist/api/resources/assets/types/InitiateAssetUploadRequest.d.ts +1 -1
  658. package/dist/api/resources/assets/types/InitiateAssetUploadResponse.d.ts +1 -1
  659. package/dist/api/resources/assets/types/index.d.ts +1 -1
  660. package/dist/api/resources/assets/types/index.js +1 -1
  661. package/dist/api/resources/auth/client/Client.d.ts +33 -0
  662. package/dist/api/resources/auth/client/Client.js +171 -0
  663. package/dist/api/resources/auth/client/index.d.ts +1 -0
  664. package/dist/api/resources/auth/client/index.js +2 -0
  665. package/dist/api/resources/auth/index.d.ts +2 -0
  666. package/dist/api/resources/auth/index.js +18 -0
  667. package/dist/api/resources/auth/types/SessionTokenRequest.d.ts +3 -0
  668. package/dist/api/resources/auth/types/SessionTokenRequest.js +3 -0
  669. package/dist/api/resources/auth/types/SessionTokenResponse.d.ts +6 -0
  670. package/dist/api/resources/auth/types/SessionTokenResponse.js +3 -0
  671. package/dist/api/resources/auth/types/index.d.ts +2 -0
  672. package/dist/api/resources/auth/types/index.js +18 -0
  673. package/dist/api/resources/commons/errors/BadRequestError.d.ts +2 -2
  674. package/dist/api/resources/commons/errors/NotFoundError.d.ts +2 -2
  675. package/dist/api/resources/commons/errors/ServerError.d.ts +2 -2
  676. package/dist/api/resources/commons/errors/index.d.ts +1 -1
  677. package/dist/api/resources/commons/errors/index.js +1 -1
  678. package/dist/api/resources/commons/index.d.ts +1 -1
  679. package/dist/api/resources/commons/index.js +1 -1
  680. package/dist/api/resources/commons/types/ActionBase.d.ts +2 -12
  681. package/dist/api/resources/commons/types/ActionExecutionParamValue.d.ts +1 -1
  682. package/dist/api/resources/commons/types/ActionFormField.d.ts +1 -1
  683. package/dist/api/resources/commons/types/ActionParameter.d.ts +1 -1
  684. package/dist/api/resources/commons/types/ActionParameterType.d.ts +3 -0
  685. package/dist/api/resources/commons/types/ActionParameterType.js +3 -0
  686. package/dist/api/resources/commons/types/ActionProperties.d.ts +13 -0
  687. package/dist/api/resources/commons/types/ActionProperties.js +3 -0
  688. package/dist/api/resources/commons/types/ActionResponse.d.ts +5 -5
  689. package/dist/api/resources/commons/types/ActionUser.d.ts +46 -0
  690. package/dist/api/resources/commons/types/ActionUser.js +3 -0
  691. package/dist/api/resources/commons/types/AppPrecondition.d.ts +1 -1
  692. package/dist/api/resources/commons/types/AppUser.d.ts +1 -1
  693. package/dist/api/resources/commons/types/AppUserIdentifier.d.ts +1 -1
  694. package/dist/api/resources/commons/types/AppUserRequest.d.ts +1 -1
  695. package/dist/api/resources/commons/types/AppUserResponse.d.ts +1 -1
  696. package/dist/api/resources/commons/types/AttachmentRequest.d.ts +1 -1
  697. package/dist/api/resources/commons/types/AttachmentResponse.d.ts +1 -1
  698. package/dist/api/resources/commons/types/BaseConversationResponse.d.ts +1 -1
  699. package/dist/api/resources/commons/types/BaseSearchRequest.d.ts +1 -1
  700. package/dist/api/resources/commons/types/BotActionFormResponse.d.ts +1 -1
  701. package/dist/api/resources/commons/types/BotChartResponse.d.ts +1 -1
  702. package/dist/api/resources/commons/types/BotLogic.d.ts +1 -1
  703. package/dist/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +1 -1
  704. package/dist/api/resources/commons/types/BotLogicActionItem.d.ts +1 -1
  705. package/dist/api/resources/commons/types/BotLogicActionReviewedDetail.d.ts +1 -1
  706. package/dist/api/resources/commons/types/BotLogicFormSubmissionItem.d.ts +1 -1
  707. package/dist/api/resources/commons/types/BotLogicItem.d.ts +1 -1
  708. package/dist/api/resources/commons/types/BotLogicKnowledgeDetail.d.ts +1 -1
  709. package/dist/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +1 -1
  710. package/dist/api/resources/commons/types/BotLogicSafetyItem.d.ts +3 -0
  711. package/dist/api/resources/commons/types/BotLogicSegmentsItem.d.ts +1 -1
  712. package/dist/api/resources/commons/types/BotMessage.d.ts +1 -1
  713. package/dist/api/resources/commons/types/BotResponse.d.ts +1 -1
  714. package/dist/api/resources/commons/types/BotResponseMetadata.d.ts +1 -1
  715. package/dist/api/resources/commons/types/BrowserInfo.d.ts +1 -1
  716. package/dist/api/resources/commons/types/ConversationAnalysis.d.ts +1 -1
  717. package/dist/api/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +1 -1
  718. package/dist/api/resources/commons/types/ConversationInformation.d.ts +1 -1
  719. package/dist/api/resources/commons/types/ConversationMessageResponse.d.ts +1 -1
  720. package/dist/api/resources/commons/types/ConversationPrecondition.d.ts +1 -1
  721. package/dist/api/resources/commons/types/ConversationPreview.d.ts +1 -1
  722. package/dist/api/resources/commons/types/ConversationResponse.d.ts +4 -2
  723. package/dist/api/resources/commons/types/ConversationSummary.d.ts +11 -1
  724. package/dist/api/resources/commons/types/DeviceInfo.d.ts +1 -1
  725. package/dist/api/resources/commons/types/DocumentInformation.d.ts +1 -1
  726. package/dist/api/resources/commons/types/EntityId.d.ts +1 -1
  727. package/dist/api/resources/commons/types/EntityIdWithoutAgent.d.ts +1 -1
  728. package/dist/api/resources/commons/types/EntityResult.d.ts +1 -1
  729. package/dist/api/resources/commons/types/EntityType.d.ts +1 -0
  730. package/dist/api/resources/commons/types/EntityType.js +1 -0
  731. package/dist/api/resources/commons/types/EventBaseNoId.d.ts +1 -1
  732. package/dist/api/resources/commons/types/EventField.d.ts +16 -0
  733. package/dist/api/resources/commons/types/EventField.js +16 -0
  734. package/dist/api/resources/commons/types/EventFilter.d.ts +1 -1
  735. package/dist/api/resources/commons/types/EventRequest.d.ts +1 -1
  736. package/dist/api/resources/commons/types/EventResponse.d.ts +1 -1
  737. package/dist/api/resources/commons/types/EventUserInfo.d.ts +1 -1
  738. package/dist/api/resources/commons/types/EventUserInfoBase.d.ts +1 -1
  739. package/dist/api/resources/commons/types/EventsSearchRequest.d.ts +1 -1
  740. package/dist/api/resources/commons/types/EventsSearchResponse.d.ts +1 -1
  741. package/dist/api/resources/commons/types/Feedback.d.ts +1 -1
  742. package/dist/api/resources/commons/types/FeedbackBase.d.ts +1 -1
  743. package/dist/api/resources/commons/types/FeedbackInfo.d.ts +1 -1
  744. package/dist/api/resources/commons/types/HarmfulContentAnalysis.d.ts +10 -0
  745. package/dist/api/resources/commons/types/HarmfulContentAnalysis.js +3 -0
  746. package/dist/api/resources/commons/types/InboxItem.d.ts +1 -1
  747. package/dist/api/resources/commons/types/InboxItemBase.d.ts +1 -1
  748. package/dist/api/resources/commons/types/InboxItemCustom.d.ts +1 -1
  749. package/dist/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
  750. package/dist/api/resources/commons/types/InboxItemFix.d.ts +1 -1
  751. package/dist/api/resources/commons/types/InboxItemFixAddDocument.d.ts +1 -1
  752. package/dist/api/resources/commons/types/InboxItemFixBase.d.ts +1 -1
  753. package/dist/api/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +1 -1
  754. package/dist/api/resources/commons/types/InboxItemMissingKnowledge.d.ts +1 -1
  755. package/dist/api/resources/commons/types/InboxItemType.d.ts +3 -0
  756. package/dist/api/resources/commons/types/InboxItemType.js +3 -0
  757. package/dist/api/resources/commons/types/KnowledgeContextByEntities.d.ts +4 -0
  758. package/dist/api/resources/commons/types/KnowledgeContextByEntities.js +3 -0
  759. package/dist/api/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +4 -0
  760. package/dist/api/resources/commons/types/KnowledgeContextByEntityTypes.js +3 -0
  761. package/dist/api/resources/commons/types/KnowledgeContextFilter.d.ts +10 -0
  762. package/dist/api/resources/commons/types/KnowledgeContextFilter.js +3 -0
  763. package/dist/api/resources/commons/types/MetadataPrecondition.d.ts +1 -1
  764. package/dist/api/resources/commons/types/NovelSystemEvent.d.ts +1 -1
  765. package/dist/api/resources/commons/types/NovelSystemEventNoId.d.ts +1 -1
  766. package/dist/api/resources/commons/types/NovelUserEvent.d.ts +1 -1
  767. package/dist/api/resources/commons/types/OsInfo.d.ts +1 -1
  768. package/dist/api/resources/commons/types/Precondition.d.ts +1 -1
  769. package/dist/api/resources/commons/types/PreconditionBase.d.ts +1 -1
  770. package/dist/api/resources/commons/types/PreconditionGroup.d.ts +1 -1
  771. package/dist/api/resources/commons/types/ResponseConfig.d.ts +7 -1
  772. package/dist/api/resources/commons/types/ResponseConfigPrecondition.d.ts +1 -1
  773. package/dist/api/resources/commons/types/SafetyCheckReport.d.ts +9 -0
  774. package/dist/api/resources/commons/types/SafetyCheckReport.js +3 -0
  775. package/dist/api/resources/commons/types/ScopedEntity.d.ts +1 -1
  776. package/dist/api/resources/commons/types/SimulationContext.d.ts +1 -1
  777. package/dist/api/resources/commons/types/SourceInfo.d.ts +1 -1
  778. package/dist/api/resources/commons/types/SystemEvent.d.ts +1 -1
  779. package/dist/api/resources/commons/types/TagsPrecondition.d.ts +1 -1
  780. package/dist/api/resources/commons/types/UserData.d.ts +1 -1
  781. package/dist/api/resources/commons/types/UserDataWithReference.d.ts +1 -1
  782. package/dist/api/resources/commons/types/UserEvent.d.ts +3 -1
  783. package/dist/api/resources/commons/types/UserMessage.d.ts +1 -1
  784. package/dist/api/resources/commons/types/UserMessageBase.d.ts +1 -1
  785. package/dist/api/resources/commons/types/index.d.ts +121 -112
  786. package/dist/api/resources/commons/types/index.js +121 -112
  787. package/dist/api/resources/conversation/client/Client.d.ts +5 -31
  788. package/dist/api/resources/conversation/client/Client.js +90 -90
  789. package/dist/api/resources/conversation/client/index.d.ts +0 -1
  790. package/dist/api/resources/conversation/client/requests/SimulationImportRequest.d.ts +1 -1
  791. package/dist/api/resources/conversation/client/requests/index.d.ts +3 -3
  792. package/dist/api/resources/conversation/index.d.ts +1 -1
  793. package/dist/api/resources/conversation/index.js +1 -1
  794. package/dist/api/resources/conversation/types/ActionFormAttachment.d.ts +1 -1
  795. package/dist/api/resources/conversation/types/ActionFormRequestParamValue.d.ts +1 -1
  796. package/dist/api/resources/conversation/types/AskObjectRequest.d.ts +1 -1
  797. package/dist/api/resources/conversation/types/AskRequest.d.ts +1 -1
  798. package/dist/api/resources/conversation/types/AskStreamActionEvent.d.ts +1 -1
  799. package/dist/api/resources/conversation/types/AskStreamChartEvent.d.ts +1 -1
  800. package/dist/api/resources/conversation/types/AskStreamEndEvent.d.ts +1 -1
  801. package/dist/api/resources/conversation/types/AskStreamMetadataEvent.d.ts +1 -1
  802. package/dist/api/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +1 -1
  803. package/dist/api/resources/conversation/types/AskStreamStartEvent.d.ts +1 -1
  804. package/dist/api/resources/conversation/types/ConversationField.d.ts +2 -0
  805. package/dist/api/resources/conversation/types/ConversationField.js +2 -0
  806. package/dist/api/resources/conversation/types/ConversationFilter.d.ts +1 -1
  807. package/dist/api/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
  808. package/dist/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
  809. package/dist/api/resources/conversation/types/ConversationRequest.d.ts +1 -1
  810. package/dist/api/resources/conversation/types/ConversationsResponse.d.ts +1 -1
  811. package/dist/api/resources/conversation/types/ConversationsSearchRequest.d.ts +1 -1
  812. package/dist/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -1
  813. package/dist/api/resources/conversation/types/DeliverMessageRequest.d.ts +1 -1
  814. package/dist/api/resources/conversation/types/DeliverMessageResponse.d.ts +1 -1
  815. package/dist/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +1 -1
  816. package/dist/api/resources/conversation/types/FeedbackFilter.d.ts +1 -1
  817. package/dist/api/resources/conversation/types/FeedbackRequest.d.ts +1 -1
  818. package/dist/api/resources/conversation/types/NumericConversationField.d.ts +1 -0
  819. package/dist/api/resources/conversation/types/NumericConversationField.js +1 -0
  820. package/dist/api/resources/conversation/types/ObjectStreamResponse.d.ts +1 -1
  821. package/dist/api/resources/conversation/types/StreamResponse.d.ts +1 -1
  822. package/dist/api/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -1
  823. package/dist/api/resources/conversation/types/index.d.ts +21 -21
  824. package/dist/api/resources/conversation/types/index.js +21 -21
  825. package/dist/api/resources/customers/client/Client.d.ts +82 -0
  826. package/dist/api/resources/customers/client/Client.js +462 -0
  827. package/dist/api/resources/customers/client/index.d.ts +1 -0
  828. package/dist/api/resources/customers/client/index.js +17 -0
  829. package/dist/api/resources/customers/client/requests/CustomerGetRequest.d.ts +8 -0
  830. package/dist/api/resources/customers/client/requests/CustomerGetRequest.js +3 -0
  831. package/dist/api/resources/customers/client/requests/index.d.ts +1 -0
  832. package/dist/api/resources/customers/client/requests/index.js +2 -0
  833. package/dist/api/resources/customers/index.d.ts +2 -0
  834. package/dist/api/resources/customers/index.js +18 -0
  835. package/dist/api/resources/customers/types/CustomerBase.d.ts +12 -0
  836. package/dist/api/resources/customers/types/CustomerBase.js +3 -0
  837. package/dist/api/resources/customers/types/CustomerField.d.ts +5 -0
  838. package/dist/api/resources/customers/types/CustomerField.js +8 -0
  839. package/dist/api/resources/customers/types/CustomerFilter.d.ts +11 -0
  840. package/dist/api/resources/customers/types/CustomerFilter.js +3 -0
  841. package/dist/api/resources/customers/types/CustomerPatchRequest.d.ts +21 -0
  842. package/dist/api/resources/customers/types/CustomerPatchRequest.js +3 -0
  843. package/dist/api/resources/customers/types/CustomerRequest.d.ts +15 -0
  844. package/dist/api/resources/customers/types/CustomerRequest.js +3 -0
  845. package/dist/api/resources/customers/types/CustomerResponse.d.ts +30 -0
  846. package/dist/api/resources/customers/types/CustomerResponse.js +3 -0
  847. package/dist/api/resources/customers/types/CustomerStatus.d.ts +5 -0
  848. package/dist/api/resources/customers/types/CustomerStatus.js +8 -0
  849. package/dist/api/resources/customers/types/CustomersSearchRequest.d.ts +7 -0
  850. package/dist/api/resources/customers/types/CustomersSearchRequest.js +3 -0
  851. package/dist/api/resources/customers/types/CustomersSearchResponse.d.ts +4 -0
  852. package/dist/api/resources/customers/types/CustomersSearchResponse.js +3 -0
  853. package/dist/api/resources/customers/types/index.d.ts +9 -0
  854. package/dist/api/resources/customers/types/index.js +25 -0
  855. package/dist/api/resources/events/client/Client.d.ts +3 -29
  856. package/dist/api/resources/events/client/Client.js +23 -23
  857. package/dist/api/resources/events/client/index.d.ts +0 -1
  858. package/dist/api/resources/events/client/requests/index.d.ts +1 -1
  859. package/dist/api/resources/inbox/client/Client.d.ts +3 -29
  860. package/dist/api/resources/inbox/client/Client.js +32 -32
  861. package/dist/api/resources/inbox/client/index.d.ts +0 -1
  862. package/dist/api/resources/inbox/client/requests/index.d.ts +3 -3
  863. package/dist/api/resources/inbox/index.d.ts +1 -1
  864. package/dist/api/resources/inbox/index.js +1 -1
  865. package/dist/api/resources/inbox/types/AddDocumentFixRequest.d.ts +1 -1
  866. package/dist/api/resources/inbox/types/ApplyFixesRequest.d.ts +1 -1
  867. package/dist/api/resources/inbox/types/InboxFilter.d.ts +1 -1
  868. package/dist/api/resources/inbox/types/InboxSearchRequest.d.ts +1 -1
  869. package/dist/api/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
  870. package/dist/api/resources/inbox/types/index.d.ts +2 -2
  871. package/dist/api/resources/inbox/types/index.js +2 -2
  872. package/dist/api/resources/index.d.ts +19 -12
  873. package/dist/api/resources/index.js +20 -13
  874. package/dist/api/resources/knowledge/client/Client.d.ts +3 -29
  875. package/dist/api/resources/knowledge/client/Client.js +70 -70
  876. package/dist/api/resources/knowledge/client/index.d.ts +0 -1
  877. package/dist/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +1 -1
  878. package/dist/api/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +1 -1
  879. package/dist/api/resources/knowledge/client/requests/index.d.ts +5 -5
  880. package/dist/api/resources/knowledge/index.d.ts +1 -1
  881. package/dist/api/resources/knowledge/index.js +1 -1
  882. package/dist/api/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +1 -1
  883. package/dist/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +1 -1
  884. package/dist/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -1
  885. package/dist/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -1
  886. package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -1
  887. package/dist/api/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +1 -1
  888. package/dist/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +1 -1
  889. package/dist/api/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +1 -1
  890. package/dist/api/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +1 -1
  891. package/dist/api/resources/knowledge/types/KnowledgeBasesResponse.d.ts +1 -1
  892. package/dist/api/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +1 -1
  893. package/dist/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +1 -1
  894. package/dist/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +4 -2
  895. package/dist/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +19 -1
  896. package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +1 -1
  897. package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +1 -1
  898. package/dist/api/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +1 -1
  899. package/dist/api/resources/knowledge/types/index.d.ts +16 -16
  900. package/dist/api/resources/knowledge/types/index.js +16 -16
  901. package/dist/api/resources/organizations/client/Client.d.ts +3 -29
  902. package/dist/api/resources/organizations/client/Client.js +33 -33
  903. package/dist/api/resources/organizations/index.d.ts +1 -1
  904. package/dist/api/resources/organizations/index.js +1 -1
  905. package/dist/api/resources/organizations/types/CreateOrganizationRequest.d.ts +1 -1
  906. package/dist/api/resources/organizations/types/Organization.d.ts +1 -1
  907. package/dist/api/resources/organizations/types/index.d.ts +1 -1
  908. package/dist/api/resources/organizations/types/index.js +1 -1
  909. package/dist/api/resources/segments/client/Client.d.ts +7 -33
  910. package/dist/api/resources/segments/client/Client.js +28 -28
  911. package/dist/api/resources/segments/client/index.d.ts +0 -1
  912. package/dist/api/resources/segments/client/requests/index.d.ts +1 -1
  913. package/dist/api/resources/segments/index.d.ts +1 -1
  914. package/dist/api/resources/segments/index.js +1 -1
  915. package/dist/api/resources/segments/types/SegmentBase.d.ts +1 -1
  916. package/dist/api/resources/segments/types/SegmentPatchRequest.d.ts +1 -1
  917. package/dist/api/resources/segments/types/SegmentRequest.d.ts +5 -5
  918. package/dist/api/resources/segments/types/SegmentResponse.d.ts +5 -5
  919. package/dist/api/resources/segments/types/SegmentsSearchRequest.d.ts +1 -1
  920. package/dist/api/resources/segments/types/SegmentsSearchResponse.d.ts +1 -1
  921. package/dist/api/resources/segments/types/index.d.ts +4 -4
  922. package/dist/api/resources/segments/types/index.js +4 -4
  923. package/dist/api/resources/translations/client/Client.d.ts +3 -29
  924. package/dist/api/resources/translations/client/Client.js +9 -9
  925. package/dist/api/resources/translations/index.d.ts +1 -1
  926. package/dist/api/resources/translations/index.js +1 -1
  927. package/dist/api/resources/triggers/client/Client.d.ts +3 -29
  928. package/dist/api/resources/triggers/client/Client.js +29 -29
  929. package/dist/api/resources/triggers/client/index.d.ts +0 -1
  930. package/dist/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +1 -1
  931. package/dist/api/resources/triggers/client/requests/index.d.ts +1 -1
  932. package/dist/api/resources/triggers/index.d.ts +1 -1
  933. package/dist/api/resources/triggers/index.js +1 -1
  934. package/dist/api/resources/triggers/types/EventTriggerBase.d.ts +1 -1
  935. package/dist/api/resources/triggers/types/EventTriggerRequest.d.ts +1 -1
  936. package/dist/api/resources/triggers/types/EventTriggerResponse.d.ts +1 -1
  937. package/dist/api/resources/triggers/types/EventTriggersSearchRequest.d.ts +1 -1
  938. package/dist/api/resources/triggers/types/EventTriggersSearchResponse.d.ts +1 -1
  939. package/dist/api/resources/triggers/types/index.d.ts +2 -3
  940. package/dist/api/resources/triggers/types/index.js +2 -3
  941. package/dist/api/resources/users/client/Client.d.ts +3 -29
  942. package/dist/api/resources/users/client/Client.js +30 -30
  943. package/dist/api/resources/users/client/index.d.ts +0 -1
  944. package/dist/api/resources/users/client/requests/index.d.ts +2 -2
  945. package/dist/api/resources/users/index.d.ts +1 -1
  946. package/dist/api/resources/users/index.js +1 -1
  947. package/dist/api/resources/users/types/AgentUser.d.ts +1 -1
  948. package/dist/api/resources/users/types/AgentUserSearchRequest.d.ts +1 -1
  949. package/dist/api/resources/users/types/AgentUserSearchResponse.d.ts +1 -1
  950. package/dist/api/resources/users/types/AppUserSummary.d.ts +1 -1
  951. package/dist/api/resources/users/types/index.d.ts +1 -1
  952. package/dist/api/resources/users/types/index.js +1 -1
  953. package/dist/api/resources/websockets/client/Client.d.ts +22 -0
  954. package/dist/api/resources/websockets/client/Client.js +89 -0
  955. package/dist/api/resources/websockets/client/Socket.d.ts +48 -0
  956. package/dist/api/resources/websockets/client/Socket.js +172 -0
  957. package/dist/api/resources/websockets/client/index.d.ts +1 -0
  958. package/dist/api/resources/websockets/client/index.js +2 -0
  959. package/dist/api/resources/websockets/index.d.ts +2 -0
  960. package/dist/api/resources/websockets/index.js +18 -0
  961. package/dist/api/resources/websockets/types/AgentAudioChunk.d.ts +9 -0
  962. package/dist/api/resources/websockets/types/AgentAudioChunk.js +3 -0
  963. package/dist/api/resources/websockets/types/AgentTranscript.d.ts +9 -0
  964. package/dist/api/resources/websockets/types/AgentTranscript.js +3 -0
  965. package/dist/api/resources/websockets/types/AudioFormat.d.ts +7 -0
  966. package/dist/api/resources/websockets/types/AudioFormat.js +10 -0
  967. package/dist/api/resources/websockets/types/Config.d.ts +15 -0
  968. package/dist/api/resources/websockets/types/Config.js +3 -0
  969. package/dist/api/resources/websockets/types/ConversationEnded.d.ts +7 -0
  970. package/dist/api/resources/websockets/types/ConversationEnded.js +3 -0
  971. package/dist/api/resources/websockets/types/ConversationReady.d.ts +6 -0
  972. package/dist/api/resources/websockets/types/ConversationReady.js +3 -0
  973. package/dist/api/resources/websockets/types/Error_.d.ts +9 -0
  974. package/dist/api/resources/websockets/types/Error_.js +3 -0
  975. package/dist/api/resources/websockets/types/ServerEventBase.d.ts +6 -0
  976. package/dist/api/resources/websockets/types/ServerEventBase.js +3 -0
  977. package/dist/api/resources/websockets/types/UserAudioChunk.d.ts +8 -0
  978. package/dist/api/resources/websockets/types/UserAudioChunk.js +3 -0
  979. package/dist/api/resources/websockets/types/UserFinishedSpeaking.d.ts +7 -0
  980. package/dist/api/resources/websockets/types/UserFinishedSpeaking.js +3 -0
  981. package/dist/api/resources/websockets/types/UserStartedSpeaking.d.ts +7 -0
  982. package/dist/api/resources/websockets/types/UserStartedSpeaking.js +3 -0
  983. package/dist/api/resources/websockets/types/UserTranscript.d.ts +9 -0
  984. package/dist/api/resources/websockets/types/UserTranscript.js +3 -0
  985. package/dist/api/resources/websockets/types/index.d.ts +12 -0
  986. package/dist/api/resources/websockets/types/index.js +28 -0
  987. package/dist/core/auth/AuthProvider.d.ts +1 -1
  988. package/dist/core/fetcher/APIResponse.d.ts +1 -1
  989. package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
  990. package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
  991. package/dist/core/fetcher/Fetcher.d.ts +2 -2
  992. package/dist/core/fetcher/Fetcher.js +2 -1
  993. package/dist/core/fetcher/HttpResponsePromise.d.ts +1 -1
  994. package/dist/core/fetcher/getErrorResponseBody.js +2 -1
  995. package/dist/core/fetcher/getResponseBody.js +3 -3
  996. package/dist/core/fetcher/makeRequest.js +2 -2
  997. package/dist/core/fetcher/requestWithRetries.js +3 -3
  998. package/dist/core/file/file.d.ts +6 -1
  999. package/dist/core/file/file.js +25 -7
  1000. package/dist/core/form-data-utils/FormDataWrapper.d.ts +2 -3
  1001. package/dist/core/form-data-utils/FormDataWrapper.js +62 -85
  1002. package/dist/core/index.d.ts +5 -4
  1003. package/dist/core/index.js +6 -5
  1004. package/dist/core/schemas/Schema.d.ts +1 -1
  1005. package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
  1006. package/dist/core/schemas/builders/bigint/bigint.js +2 -2
  1007. package/dist/core/schemas/builders/date/date.d.ts +1 -1
  1008. package/dist/core/schemas/builders/date/date.js +2 -2
  1009. package/dist/core/schemas/builders/enum/enum.d.ts +1 -1
  1010. package/dist/core/schemas/builders/index.d.ts +14 -14
  1011. package/dist/core/schemas/builders/index.js +14 -14
  1012. package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
  1013. package/dist/core/schemas/builders/lazy/lazy.js +2 -2
  1014. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
  1015. package/dist/core/schemas/builders/lazy/lazyObject.js +4 -4
  1016. package/dist/core/schemas/builders/list/list.d.ts +1 -1
  1017. package/dist/core/schemas/builders/list/list.js +2 -2
  1018. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
  1019. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
  1020. package/dist/core/schemas/builders/object/object.d.ts +1 -1
  1021. package/dist/core/schemas/builders/object/object.js +5 -5
  1022. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
  1023. package/dist/core/schemas/builders/object/property.d.ts +1 -1
  1024. package/dist/core/schemas/builders/object/types.d.ts +5 -5
  1025. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
  1026. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -2
  1027. package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
  1028. package/dist/core/schemas/builders/primitives/any.d.ts +1 -1
  1029. package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -1
  1030. package/dist/core/schemas/builders/primitives/number.d.ts +1 -1
  1031. package/dist/core/schemas/builders/primitives/string.d.ts +1 -1
  1032. package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -1
  1033. package/dist/core/schemas/builders/record/record.d.ts +2 -2
  1034. package/dist/core/schemas/builders/record/record.js +3 -3
  1035. package/dist/core/schemas/builders/record/types.d.ts +2 -2
  1036. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
  1037. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
  1038. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
  1039. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
  1040. package/dist/core/schemas/builders/set/set.d.ts +1 -1
  1041. package/dist/core/schemas/builders/set/set.js +4 -4
  1042. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
  1043. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
  1044. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +2 -2
  1045. package/dist/core/schemas/builders/union/types.d.ts +2 -2
  1046. package/dist/core/schemas/builders/union/union.d.ts +3 -3
  1047. package/dist/core/schemas/builders/union/union.js +4 -4
  1048. package/dist/core/schemas/index.d.ts +1 -1
  1049. package/dist/core/schemas/index.js +1 -1
  1050. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
  1051. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +2 -2
  1052. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
  1053. package/dist/core/stream/Stream.d.ts +1 -0
  1054. package/dist/core/stream/Stream.js +8 -5
  1055. package/dist/core/url/encodePathParam.d.ts +1 -0
  1056. package/dist/core/url/encodePathParam.js +21 -0
  1057. package/dist/core/url/index.d.ts +1 -0
  1058. package/dist/core/url/index.js +3 -1
  1059. package/dist/core/url/join.js +3 -3
  1060. package/dist/core/websocket/events.d.ts +36 -0
  1061. package/dist/core/websocket/events.js +27 -0
  1062. package/dist/core/websocket/index.d.ts +1 -0
  1063. package/dist/core/websocket/index.js +17 -0
  1064. package/dist/core/websocket/ws.d.ts +147 -0
  1065. package/dist/core/websocket/ws.js +444 -0
  1066. package/dist/errors/MavenAGIError.d.ts +1 -1
  1067. package/dist/errors/MavenAGIError.js +1 -1
  1068. package/dist/index.d.ts +3 -2
  1069. package/dist/index.js +5 -5
  1070. package/dist/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +3 -3
  1071. package/dist/serialization/resources/actions/client/requests/ActionPatchRequest.js +1 -1
  1072. package/dist/serialization/resources/actions/index.d.ts +1 -1
  1073. package/dist/serialization/resources/actions/index.js +1 -1
  1074. package/dist/serialization/resources/actions/types/ActionField.d.ts +2 -2
  1075. package/dist/serialization/resources/actions/types/ActionFilter.d.ts +2 -2
  1076. package/dist/serialization/resources/actions/types/ActionRequest.d.ts +3 -3
  1077. package/dist/serialization/resources/actions/types/ActionRequest.js +1 -1
  1078. package/dist/serialization/resources/actions/types/ActionsResponse.d.ts +2 -2
  1079. package/dist/serialization/resources/actions/types/ActionsSearchRequest.d.ts +3 -3
  1080. package/dist/serialization/resources/actions/types/ActionsSearchRequest.js +1 -1
  1081. package/dist/serialization/resources/actions/types/index.d.ts +2 -2
  1082. package/dist/serialization/resources/actions/types/index.js +2 -2
  1083. package/dist/serialization/resources/agents/client/list.d.ts +2 -2
  1084. package/dist/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +4 -4
  1085. package/dist/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -2
  1086. package/dist/serialization/resources/agents/index.d.ts +1 -1
  1087. package/dist/serialization/resources/agents/index.js +1 -1
  1088. package/dist/serialization/resources/agents/types/Agent.d.ts +3 -3
  1089. package/dist/serialization/resources/agents/types/Agent.js +1 -1
  1090. package/dist/serialization/resources/agents/types/AgentEnvironment.d.ts +2 -2
  1091. package/dist/serialization/resources/agents/types/AgentField.d.ts +2 -2
  1092. package/dist/serialization/resources/agents/types/AgentFilter.d.ts +2 -2
  1093. package/dist/serialization/resources/agents/types/AgentPrompting.d.ts +2 -2
  1094. package/dist/serialization/resources/agents/types/AgentsSearchRequest.d.ts +3 -3
  1095. package/dist/serialization/resources/agents/types/AgentsSearchRequest.js +1 -1
  1096. package/dist/serialization/resources/agents/types/AgentsSearchResponse.d.ts +3 -3
  1097. package/dist/serialization/resources/agents/types/AgentsSearchResponse.js +1 -1
  1098. package/dist/serialization/resources/agents/types/CreateAgentRequest.d.ts +2 -2
  1099. package/dist/serialization/resources/agents/types/index.d.ts +4 -5
  1100. package/dist/serialization/resources/agents/types/index.js +4 -5
  1101. package/dist/serialization/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +2 -2
  1102. package/dist/serialization/resources/analytics/types/AgentUserColumnDefinition.d.ts +2 -2
  1103. package/dist/serialization/resources/analytics/types/AgentUserCount.d.ts +3 -4
  1104. package/dist/serialization/resources/analytics/types/AgentUserMetric.d.ts +2 -2
  1105. package/dist/serialization/resources/analytics/types/AgentUserRow.d.ts +3 -3
  1106. package/dist/serialization/resources/analytics/types/AgentUserRow.js +1 -1
  1107. package/dist/serialization/resources/analytics/types/AgentUserTableRequest.d.ts +4 -4
  1108. package/dist/serialization/resources/analytics/types/AgentUserTableRequest.js +2 -2
  1109. package/dist/serialization/resources/analytics/types/AgentUserTableResponse.d.ts +2 -2
  1110. package/dist/serialization/resources/analytics/types/BarChartResponse.d.ts +2 -2
  1111. package/dist/serialization/resources/analytics/types/CellData.d.ts +2 -2
  1112. package/dist/serialization/resources/analytics/types/ChartResponse.d.ts +4 -4
  1113. package/dist/serialization/resources/analytics/types/ChartResponse.js +2 -2
  1114. package/dist/serialization/resources/analytics/types/ColumnDefinitionBase.d.ts +2 -2
  1115. package/dist/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +2 -2
  1116. package/dist/serialization/resources/analytics/types/ConversationAverage.d.ts +2 -2
  1117. package/dist/serialization/resources/analytics/types/ConversationBarChartRequest.d.ts +3 -3
  1118. package/dist/serialization/resources/analytics/types/ConversationBarChartRequest.js +1 -1
  1119. package/dist/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -2
  1120. package/dist/serialization/resources/analytics/types/ConversationChartRequest.d.ts +4 -4
  1121. package/dist/serialization/resources/analytics/types/ConversationChartRequest.js +2 -2
  1122. package/dist/serialization/resources/analytics/types/ConversationColumnDefinition.d.ts +3 -3
  1123. package/dist/serialization/resources/analytics/types/ConversationColumnDefinition.js +1 -1
  1124. package/dist/serialization/resources/analytics/types/ConversationCount.d.ts +3 -4
  1125. package/dist/serialization/resources/analytics/types/ConversationDateHistogramRequest.d.ts +4 -4
  1126. package/dist/serialization/resources/analytics/types/ConversationDateHistogramRequest.js +2 -2
  1127. package/dist/serialization/resources/analytics/types/ConversationDistinctCount.d.ts +2 -2
  1128. package/dist/serialization/resources/analytics/types/ConversationGroupBy.d.ts +3 -3
  1129. package/dist/serialization/resources/analytics/types/ConversationGroupBy.js +1 -1
  1130. package/dist/serialization/resources/analytics/types/ConversationMax.d.ts +2 -2
  1131. package/dist/serialization/resources/analytics/types/ConversationMedian.d.ts +2 -2
  1132. package/dist/serialization/resources/analytics/types/ConversationMetric.d.ts +7 -7
  1133. package/dist/serialization/resources/analytics/types/ConversationMetric.js +5 -5
  1134. package/dist/serialization/resources/analytics/types/ConversationMin.d.ts +2 -2
  1135. package/dist/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -2
  1136. package/dist/serialization/resources/analytics/types/ConversationPercentile.d.ts +2 -2
  1137. package/dist/serialization/resources/analytics/types/ConversationPieChartRequest.d.ts +3 -3
  1138. package/dist/serialization/resources/analytics/types/ConversationPieChartRequest.js +1 -1
  1139. package/dist/serialization/resources/analytics/types/ConversationRow.d.ts +3 -3
  1140. package/dist/serialization/resources/analytics/types/ConversationRow.js +1 -1
  1141. package/dist/serialization/resources/analytics/types/ConversationSum.d.ts +2 -2
  1142. package/dist/serialization/resources/analytics/types/ConversationTableRequest.d.ts +5 -5
  1143. package/dist/serialization/resources/analytics/types/ConversationTableRequest.js +3 -3
  1144. package/dist/serialization/resources/analytics/types/ConversationTableResponse.d.ts +2 -2
  1145. package/dist/serialization/resources/analytics/types/DateHistogramResponse.d.ts +2 -2
  1146. package/dist/serialization/resources/analytics/types/EventAnalyticsRequest.d.ts +11 -0
  1147. package/dist/serialization/resources/analytics/types/EventAnalyticsRequest.js +43 -0
  1148. package/dist/serialization/resources/analytics/types/EventBarChartRequest.d.ts +14 -0
  1149. package/dist/serialization/resources/analytics/types/EventBarChartRequest.js +48 -0
  1150. package/dist/serialization/resources/analytics/types/EventChartRequest.d.ts +19 -0
  1151. package/dist/serialization/resources/analytics/types/EventChartRequest.js +51 -0
  1152. package/dist/serialization/resources/analytics/types/EventColumnDefinition.d.ts +11 -0
  1153. package/dist/serialization/resources/analytics/types/EventColumnDefinition.js +45 -0
  1154. package/dist/serialization/resources/analytics/types/EventCount.d.ts +7 -0
  1155. package/dist/serialization/resources/analytics/types/EventCount.js +39 -0
  1156. package/dist/serialization/resources/analytics/types/EventDateHistogramRequest.d.ts +15 -0
  1157. package/dist/serialization/resources/analytics/types/EventDateHistogramRequest.js +49 -0
  1158. package/dist/serialization/resources/analytics/types/EventDistinctCount.d.ts +10 -0
  1159. package/dist/serialization/resources/analytics/types/EventDistinctCount.js +42 -0
  1160. package/dist/serialization/resources/analytics/types/EventGroupBy.d.ts +11 -0
  1161. package/dist/serialization/resources/analytics/types/EventGroupBy.js +45 -0
  1162. package/dist/serialization/resources/analytics/types/EventMetric.d.ts +15 -0
  1163. package/dist/serialization/resources/analytics/types/EventMetric.js +49 -0
  1164. package/dist/serialization/resources/analytics/types/EventPieChartRequest.d.ts +13 -0
  1165. package/dist/serialization/resources/analytics/types/EventPieChartRequest.js +47 -0
  1166. package/dist/serialization/resources/analytics/types/EventRow.d.ts +12 -0
  1167. package/dist/serialization/resources/analytics/types/EventRow.js +46 -0
  1168. package/dist/serialization/resources/analytics/types/EventTableRequest.d.ts +15 -0
  1169. package/dist/serialization/resources/analytics/types/EventTableRequest.js +49 -0
  1170. package/dist/serialization/resources/analytics/types/EventTableResponse.d.ts +11 -0
  1171. package/dist/serialization/resources/analytics/types/EventTableResponse.js +45 -0
  1172. package/dist/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +2 -2
  1173. package/dist/serialization/resources/analytics/types/FeedbackColumnDefinition.d.ts +3 -3
  1174. package/dist/serialization/resources/analytics/types/FeedbackColumnDefinition.js +1 -1
  1175. package/dist/serialization/resources/analytics/types/FeedbackCount.d.ts +3 -4
  1176. package/dist/serialization/resources/analytics/types/FeedbackDistinctCount.d.ts +2 -2
  1177. package/dist/serialization/resources/analytics/types/FeedbackGroupBy.d.ts +2 -2
  1178. package/dist/serialization/resources/analytics/types/FeedbackMetric.d.ts +2 -2
  1179. package/dist/serialization/resources/analytics/types/FeedbackRow.d.ts +3 -3
  1180. package/dist/serialization/resources/analytics/types/FeedbackRow.js +1 -1
  1181. package/dist/serialization/resources/analytics/types/FeedbackTableRequest.d.ts +5 -5
  1182. package/dist/serialization/resources/analytics/types/FeedbackTableRequest.js +3 -3
  1183. package/dist/serialization/resources/analytics/types/FeedbackTableResponse.d.ts +2 -2
  1184. package/dist/serialization/resources/analytics/types/FieldValue.d.ts +3 -3
  1185. package/dist/serialization/resources/analytics/types/FieldValue.js +1 -1
  1186. package/dist/serialization/resources/analytics/types/GroupByBase.d.ts +2 -2
  1187. package/dist/serialization/resources/analytics/types/LabeledPoint.d.ts +2 -2
  1188. package/dist/serialization/resources/analytics/types/PieChartResponse.d.ts +2 -2
  1189. package/dist/serialization/resources/analytics/types/Range.d.ts +2 -2
  1190. package/dist/serialization/resources/analytics/types/RowBase.d.ts +2 -2
  1191. package/dist/serialization/resources/analytics/types/Series.d.ts +2 -2
  1192. package/dist/serialization/resources/analytics/types/TableResponseBase.d.ts +2 -2
  1193. package/dist/serialization/resources/analytics/types/TimeDataPoint.d.ts +2 -2
  1194. package/dist/serialization/resources/analytics/types/TimeInterval.d.ts +2 -2
  1195. package/dist/serialization/resources/analytics/types/TimeSeries.d.ts +2 -2
  1196. package/dist/serialization/resources/analytics/types/index.d.ts +49 -36
  1197. package/dist/serialization/resources/analytics/types/index.js +49 -36
  1198. package/dist/serialization/resources/appSettings/client/get.d.ts +1 -1
  1199. package/dist/serialization/resources/appSettings/client/update.d.ts +1 -1
  1200. package/dist/serialization/resources/appSettings/index.d.ts +1 -1
  1201. package/dist/serialization/resources/appSettings/index.js +1 -1
  1202. package/dist/serialization/resources/appSettings/types/AppSettings.d.ts +2 -2
  1203. package/dist/serialization/resources/appSettings/types/SearchAppSettingsResponse.d.ts +2 -2
  1204. package/dist/serialization/resources/appSettings/types/index.d.ts +1 -1
  1205. package/dist/serialization/resources/appSettings/types/index.js +1 -1
  1206. package/dist/serialization/resources/assets/types/CommitAssetUploadRequest.d.ts +2 -2
  1207. package/dist/serialization/resources/assets/types/InitiateAssetUploadRequest.d.ts +2 -2
  1208. package/dist/serialization/resources/assets/types/InitiateAssetUploadResponse.d.ts +2 -2
  1209. package/dist/serialization/resources/assets/types/index.d.ts +1 -1
  1210. package/dist/serialization/resources/assets/types/index.js +1 -1
  1211. package/dist/serialization/resources/auth/index.d.ts +1 -0
  1212. package/dist/serialization/resources/auth/index.js +17 -0
  1213. package/dist/serialization/resources/auth/types/SessionTokenRequest.d.ts +9 -0
  1214. package/dist/serialization/resources/auth/types/SessionTokenRequest.js +41 -0
  1215. package/dist/serialization/resources/auth/types/SessionTokenResponse.d.ts +10 -0
  1216. package/dist/serialization/resources/auth/types/SessionTokenResponse.js +42 -0
  1217. package/dist/serialization/resources/auth/types/index.d.ts +2 -0
  1218. package/dist/serialization/resources/auth/types/index.js +18 -0
  1219. package/dist/serialization/resources/commons/types/ActionBase.d.ts +4 -9
  1220. package/dist/serialization/resources/commons/types/ActionBase.js +5 -9
  1221. package/dist/serialization/resources/commons/types/ActionEnumOption.d.ts +2 -2
  1222. package/dist/serialization/resources/commons/types/ActionExecutionParamValue.d.ts +2 -2
  1223. package/dist/serialization/resources/commons/types/ActionFormField.d.ts +3 -3
  1224. package/dist/serialization/resources/commons/types/ActionFormField.js +1 -1
  1225. package/dist/serialization/resources/commons/types/ActionOAuthConfiguration.d.ts +2 -2
  1226. package/dist/serialization/resources/commons/types/ActionParameter.d.ts +3 -3
  1227. package/dist/serialization/resources/commons/types/ActionParameter.js +1 -1
  1228. package/dist/serialization/resources/commons/types/ActionParameterType.d.ts +3 -3
  1229. package/dist/serialization/resources/commons/types/ActionParameterType.js +1 -0
  1230. package/dist/serialization/resources/commons/types/ActionProperties.d.ts +14 -0
  1231. package/dist/serialization/resources/commons/types/ActionProperties.js +47 -0
  1232. package/dist/serialization/resources/commons/types/ActionResponse.d.ts +3 -3
  1233. package/dist/serialization/resources/commons/types/ActionResponse.js +1 -1
  1234. package/dist/serialization/resources/commons/types/ActionUser.d.ts +17 -0
  1235. package/dist/serialization/resources/commons/types/ActionUser.js +49 -0
  1236. package/dist/serialization/resources/commons/types/AppPrecondition.d.ts +2 -2
  1237. package/dist/serialization/resources/commons/types/AppUser.d.ts +2 -2
  1238. package/dist/serialization/resources/commons/types/AppUserIdentifier.d.ts +2 -2
  1239. package/dist/serialization/resources/commons/types/AppUserIdentifyingPropertyType.d.ts +2 -2
  1240. package/dist/serialization/resources/commons/types/AppUserRequest.d.ts +3 -3
  1241. package/dist/serialization/resources/commons/types/AppUserRequest.js +1 -1
  1242. package/dist/serialization/resources/commons/types/AppUserResponse.d.ts +3 -3
  1243. package/dist/serialization/resources/commons/types/AppUserResponse.js +1 -1
  1244. package/dist/serialization/resources/commons/types/AttachmentRequest.d.ts +3 -3
  1245. package/dist/serialization/resources/commons/types/AttachmentRequest.js +1 -1
  1246. package/dist/serialization/resources/commons/types/AttachmentResponse.d.ts +2 -2
  1247. package/dist/serialization/resources/commons/types/AttachmentStatus.d.ts +2 -2
  1248. package/dist/serialization/resources/commons/types/BaseAttachment.d.ts +2 -2
  1249. package/dist/serialization/resources/commons/types/BaseConversationResponse.d.ts +4 -4
  1250. package/dist/serialization/resources/commons/types/BaseConversationResponse.js +2 -2
  1251. package/dist/serialization/resources/commons/types/BasePaginatedRequest.d.ts +2 -2
  1252. package/dist/serialization/resources/commons/types/BaseSearchRequest.d.ts +2 -2
  1253. package/dist/serialization/resources/commons/types/BotActionFormResponse.d.ts +3 -3
  1254. package/dist/serialization/resources/commons/types/BotActionFormResponse.js +1 -1
  1255. package/dist/serialization/resources/commons/types/BotChartResponse.d.ts +2 -2
  1256. package/dist/serialization/resources/commons/types/BotConversationMessageType.d.ts +2 -2
  1257. package/dist/serialization/resources/commons/types/BotLogic.d.ts +2 -2
  1258. package/dist/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +2 -2
  1259. package/dist/serialization/resources/commons/types/BotLogicActionItem.d.ts +3 -3
  1260. package/dist/serialization/resources/commons/types/BotLogicActionItem.js +1 -1
  1261. package/dist/serialization/resources/commons/types/BotLogicActionReviewedDetail.d.ts +2 -2
  1262. package/dist/serialization/resources/commons/types/BotLogicFormSubmissionItem.d.ts +2 -2
  1263. package/dist/serialization/resources/commons/types/BotLogicItem.d.ts +4 -4
  1264. package/dist/serialization/resources/commons/types/BotLogicItem.js +2 -2
  1265. package/dist/serialization/resources/commons/types/BotLogicKnowledgeDetail.d.ts +2 -2
  1266. package/dist/serialization/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -2
  1267. package/dist/serialization/resources/commons/types/BotLogicSafetyItem.d.ts +4 -2
  1268. package/dist/serialization/resources/commons/types/BotLogicSafetyItem.js +2 -0
  1269. package/dist/serialization/resources/commons/types/BotLogicSegmentsItem.d.ts +2 -2
  1270. package/dist/serialization/resources/commons/types/BotLogicUserItem.d.ts +2 -2
  1271. package/dist/serialization/resources/commons/types/BotMessage.d.ts +5 -5
  1272. package/dist/serialization/resources/commons/types/BotMessage.js +3 -3
  1273. package/dist/serialization/resources/commons/types/BotOAuthButtonResponse.d.ts +2 -2
  1274. package/dist/serialization/resources/commons/types/BotObjectResponse.d.ts +2 -2
  1275. package/dist/serialization/resources/commons/types/BotResponse.d.ts +4 -4
  1276. package/dist/serialization/resources/commons/types/BotResponse.js +2 -2
  1277. package/dist/serialization/resources/commons/types/BotResponseMetadata.d.ts +2 -2
  1278. package/dist/serialization/resources/commons/types/BotTextResponse.d.ts +2 -2
  1279. package/dist/serialization/resources/commons/types/BrowserInfo.d.ts +2 -2
  1280. package/dist/serialization/resources/commons/types/BrowserType.d.ts +2 -2
  1281. package/dist/serialization/resources/commons/types/Capability.d.ts +2 -2
  1282. package/dist/serialization/resources/commons/types/ChartSpecSchema.d.ts +2 -2
  1283. package/dist/serialization/resources/commons/types/ContextInfo.d.ts +2 -2
  1284. package/dist/serialization/resources/commons/types/ConversationAnalysis.d.ts +3 -3
  1285. package/dist/serialization/resources/commons/types/ConversationAnalysis.js +1 -1
  1286. package/dist/serialization/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +2 -2
  1287. package/dist/serialization/resources/commons/types/ConversationInformation.d.ts +2 -2
  1288. package/dist/serialization/resources/commons/types/ConversationMessageBase.d.ts +2 -2
  1289. package/dist/serialization/resources/commons/types/ConversationMessageResponse.d.ts +3 -3
  1290. package/dist/serialization/resources/commons/types/ConversationMessageResponse.js +1 -1
  1291. package/dist/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -5
  1292. package/dist/serialization/resources/commons/types/ConversationPrecondition.js +3 -3
  1293. package/dist/serialization/resources/commons/types/ConversationPreview.d.ts +2 -2
  1294. package/dist/serialization/resources/commons/types/ConversationResponse.d.ts +3 -3
  1295. package/dist/serialization/resources/commons/types/ConversationResponse.js +1 -1
  1296. package/dist/serialization/resources/commons/types/ConversationSummary.d.ts +4 -2
  1297. package/dist/serialization/resources/commons/types/ConversationSummary.js +2 -0
  1298. package/dist/serialization/resources/commons/types/DeviceInfo.d.ts +2 -2
  1299. package/dist/serialization/resources/commons/types/DeviceType.d.ts +2 -2
  1300. package/dist/serialization/resources/commons/types/DocumentInformation.d.ts +2 -2
  1301. package/dist/serialization/resources/commons/types/EntityId.d.ts +2 -2
  1302. package/dist/serialization/resources/commons/types/EntityIdBase.d.ts +2 -2
  1303. package/dist/serialization/resources/commons/types/EntityIdFilter.d.ts +2 -2
  1304. package/dist/serialization/resources/commons/types/EntityIdWithoutAgent.d.ts +3 -3
  1305. package/dist/serialization/resources/commons/types/EntityIdWithoutAgent.js +1 -1
  1306. package/dist/serialization/resources/commons/types/EntityResult.d.ts +2 -2
  1307. package/dist/serialization/resources/commons/types/EntityType.d.ts +3 -3
  1308. package/dist/serialization/resources/commons/types/EntityType.js +1 -0
  1309. package/dist/serialization/resources/commons/types/ErrorMessage.d.ts +2 -2
  1310. package/dist/serialization/resources/commons/types/EventBaseNoId.d.ts +4 -4
  1311. package/dist/serialization/resources/commons/types/EventBaseNoId.js +2 -2
  1312. package/dist/serialization/resources/commons/types/EventField.d.ts +3 -3
  1313. package/dist/serialization/resources/commons/types/EventField.js +19 -1
  1314. package/dist/serialization/resources/commons/types/EventFilter.d.ts +5 -5
  1315. package/dist/serialization/resources/commons/types/EventFilter.js +3 -3
  1316. package/dist/serialization/resources/commons/types/EventRequest.d.ts +3 -3
  1317. package/dist/serialization/resources/commons/types/EventRequest.js +1 -1
  1318. package/dist/serialization/resources/commons/types/EventResponse.d.ts +3 -3
  1319. package/dist/serialization/resources/commons/types/EventResponse.js +1 -1
  1320. package/dist/serialization/resources/{triggers → commons}/types/EventTriggerType.d.ts +2 -2
  1321. package/dist/serialization/resources/commons/types/EventType.d.ts +2 -2
  1322. package/dist/serialization/resources/commons/types/EventUserInfo.d.ts +2 -2
  1323. package/dist/serialization/resources/commons/types/EventUserInfoBase.d.ts +2 -2
  1324. package/dist/serialization/resources/commons/types/EventsSearchRequest.d.ts +3 -3
  1325. package/dist/serialization/resources/commons/types/EventsSearchRequest.js +1 -1
  1326. package/dist/serialization/resources/commons/types/EventsSearchResponse.d.ts +2 -2
  1327. package/dist/serialization/resources/commons/types/Feedback.d.ts +2 -2
  1328. package/dist/serialization/resources/commons/types/FeedbackBase.d.ts +2 -2
  1329. package/dist/serialization/resources/commons/types/FeedbackInfo.d.ts +2 -2
  1330. package/dist/serialization/resources/commons/types/FeedbackType.d.ts +2 -2
  1331. package/dist/serialization/resources/commons/types/GeoInfo.d.ts +2 -2
  1332. package/dist/serialization/resources/commons/types/HarmfulContentAnalysis.d.ts +12 -0
  1333. package/dist/serialization/resources/commons/types/HarmfulContentAnalysis.js +44 -0
  1334. package/dist/serialization/resources/commons/types/InboxItem.d.ts +3 -3
  1335. package/dist/serialization/resources/commons/types/InboxItem.js +1 -1
  1336. package/dist/serialization/resources/commons/types/InboxItemBase.d.ts +3 -3
  1337. package/dist/serialization/resources/commons/types/InboxItemBase.js +1 -1
  1338. package/dist/serialization/resources/commons/types/InboxItemCustom.d.ts +2 -2
  1339. package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +3 -3
  1340. package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -1
  1341. package/dist/serialization/resources/commons/types/InboxItemFix.d.ts +2 -2
  1342. package/dist/serialization/resources/commons/types/InboxItemFixAddDocument.d.ts +2 -2
  1343. package/dist/serialization/resources/commons/types/InboxItemFixBase.d.ts +2 -2
  1344. package/dist/serialization/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +2 -2
  1345. package/dist/serialization/resources/commons/types/InboxItemMissingKnowledge.d.ts +3 -3
  1346. package/dist/serialization/resources/commons/types/InboxItemMissingKnowledge.js +1 -1
  1347. package/dist/serialization/resources/commons/types/InboxItemSeverity.d.ts +2 -2
  1348. package/dist/serialization/resources/commons/types/InboxItemStatus.d.ts +2 -2
  1349. package/dist/serialization/resources/commons/types/InboxItemType.d.ts +3 -3
  1350. package/dist/serialization/resources/commons/types/InboxItemType.js +1 -1
  1351. package/dist/serialization/resources/commons/types/IpInfo.d.ts +2 -2
  1352. package/dist/serialization/resources/commons/types/KnowledgeContextByEntities.d.ts +10 -0
  1353. package/dist/serialization/resources/commons/types/KnowledgeContextByEntities.js +42 -0
  1354. package/dist/serialization/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +10 -0
  1355. package/dist/serialization/resources/commons/types/KnowledgeContextByEntityTypes.js +42 -0
  1356. package/dist/serialization/resources/commons/types/KnowledgeContextFilter.d.ts +15 -0
  1357. package/dist/serialization/resources/commons/types/KnowledgeContextFilter.js +49 -0
  1358. package/dist/serialization/resources/commons/types/LanguageInfo.d.ts +2 -2
  1359. package/dist/serialization/resources/commons/types/LlmInclusionStatus.d.ts +2 -2
  1360. package/dist/serialization/resources/commons/types/LlmPersona.d.ts +2 -2
  1361. package/dist/serialization/resources/commons/types/MessageStatus.d.ts +2 -2
  1362. package/dist/serialization/resources/commons/types/MetadataPrecondition.d.ts +2 -2
  1363. package/dist/serialization/resources/commons/types/NovelSystemEvent.d.ts +2 -2
  1364. package/dist/serialization/resources/commons/types/NovelSystemEventNoId.d.ts +3 -3
  1365. package/dist/serialization/resources/commons/types/NovelSystemEventNoId.js +1 -1
  1366. package/dist/serialization/resources/commons/types/NovelUserEvent.d.ts +4 -4
  1367. package/dist/serialization/resources/commons/types/NovelUserEvent.js +2 -2
  1368. package/dist/serialization/resources/commons/types/NumberRange.d.ts +2 -2
  1369. package/dist/serialization/resources/commons/types/OsInfo.d.ts +2 -2
  1370. package/dist/serialization/resources/commons/types/OsType.d.ts +2 -2
  1371. package/dist/serialization/resources/commons/types/Page.d.ts +2 -2
  1372. package/dist/serialization/resources/commons/types/PageInfo.d.ts +2 -2
  1373. package/dist/serialization/resources/{agents → commons}/types/PiiCategory.d.ts +2 -2
  1374. package/dist/serialization/resources/commons/types/Precondition.d.ts +3 -3
  1375. package/dist/serialization/resources/commons/types/Precondition.js +2 -2
  1376. package/dist/serialization/resources/commons/types/PreconditionBase.d.ts +2 -2
  1377. package/dist/serialization/resources/commons/types/PreconditionGroup.d.ts +2 -2
  1378. package/dist/serialization/resources/commons/types/PreconditionGroup.js +1 -1
  1379. package/dist/serialization/resources/commons/types/PreconditionGroupOperator.d.ts +2 -2
  1380. package/dist/serialization/resources/commons/types/PreconditionOperator.d.ts +2 -2
  1381. package/dist/serialization/resources/commons/types/Quality.d.ts +2 -2
  1382. package/dist/serialization/resources/commons/types/QualityReason.d.ts +2 -2
  1383. package/dist/serialization/resources/commons/types/ResponseConfig.d.ts +4 -2
  1384. package/dist/serialization/resources/commons/types/ResponseConfig.js +2 -0
  1385. package/dist/serialization/resources/commons/types/ResponseConfigPrecondition.d.ts +3 -3
  1386. package/dist/serialization/resources/commons/types/ResponseConfigPrecondition.js +1 -1
  1387. package/dist/serialization/resources/commons/types/ResponseLength.d.ts +2 -2
  1388. package/dist/serialization/resources/commons/types/SafetyCheckReport.d.ts +12 -0
  1389. package/dist/serialization/resources/commons/types/SafetyCheckReport.js +44 -0
  1390. package/dist/serialization/resources/commons/types/ScopedEntity.d.ts +2 -2
  1391. package/dist/serialization/resources/commons/types/Sentiment.d.ts +2 -2
  1392. package/dist/serialization/resources/commons/types/SessionInfo.d.ts +2 -2
  1393. package/dist/serialization/resources/commons/types/SimulationContext.d.ts +3 -3
  1394. package/dist/serialization/resources/commons/types/SimulationContext.js +1 -1
  1395. package/dist/serialization/resources/commons/types/Source.d.ts +2 -2
  1396. package/dist/serialization/resources/commons/types/SourceInfo.d.ts +4 -4
  1397. package/dist/serialization/resources/commons/types/SourceInfo.js +2 -2
  1398. package/dist/serialization/resources/commons/types/SourceType.d.ts +2 -2
  1399. package/dist/serialization/resources/commons/types/SurveyInfo.d.ts +2 -2
  1400. package/dist/serialization/resources/commons/types/SystemEvent.d.ts +2 -2
  1401. package/dist/serialization/resources/commons/types/SystemEventName.d.ts +2 -2
  1402. package/dist/serialization/resources/commons/types/TagsPrecondition.d.ts +2 -2
  1403. package/dist/serialization/resources/commons/types/UserConversationMessageType.d.ts +2 -2
  1404. package/dist/serialization/resources/commons/types/UserData.d.ts +2 -2
  1405. package/dist/serialization/resources/commons/types/UserDataWithReference.d.ts +2 -2
  1406. package/dist/serialization/resources/commons/types/UserEvent.d.ts +5 -4
  1407. package/dist/serialization/resources/commons/types/UserEvent.js +3 -2
  1408. package/dist/serialization/resources/commons/types/UserEventName.d.ts +2 -2
  1409. package/dist/serialization/resources/commons/types/UserMessage.d.ts +4 -4
  1410. package/dist/serialization/resources/commons/types/UserMessage.js +2 -2
  1411. package/dist/serialization/resources/commons/types/UserMessageBase.d.ts +3 -3
  1412. package/dist/serialization/resources/commons/types/UserMessageBase.js +1 -1
  1413. package/dist/serialization/resources/commons/types/UserMessageResponseState.d.ts +2 -2
  1414. package/dist/serialization/resources/commons/types/VisibilityType.d.ts +2 -2
  1415. package/dist/serialization/resources/commons/types/index.d.ts +121 -112
  1416. package/dist/serialization/resources/commons/types/index.js +121 -112
  1417. package/dist/serialization/resources/conversation/client/addConversationMetadata.d.ts +1 -1
  1418. package/dist/serialization/resources/conversation/client/appendNewMessages.d.ts +2 -2
  1419. package/dist/serialization/resources/conversation/client/index.d.ts +1 -1
  1420. package/dist/serialization/resources/conversation/client/index.js +2 -2
  1421. package/dist/serialization/resources/conversation/index.d.ts +1 -1
  1422. package/dist/serialization/resources/conversation/index.js +1 -1
  1423. package/dist/serialization/resources/conversation/types/ActionFormAttachment.d.ts +2 -2
  1424. package/dist/serialization/resources/conversation/types/ActionFormRequestParamValue.d.ts +2 -2
  1425. package/dist/serialization/resources/conversation/types/AskObjectRequest.d.ts +2 -2
  1426. package/dist/serialization/resources/conversation/types/AskRequest.d.ts +3 -3
  1427. package/dist/serialization/resources/conversation/types/AskRequest.js +1 -1
  1428. package/dist/serialization/resources/conversation/types/AskStreamActionEvent.d.ts +2 -2
  1429. package/dist/serialization/resources/conversation/types/AskStreamChartEvent.d.ts +2 -2
  1430. package/dist/serialization/resources/conversation/types/AskStreamEndEvent.d.ts +2 -2
  1431. package/dist/serialization/resources/conversation/types/AskStreamMetadataEvent.d.ts +2 -2
  1432. package/dist/serialization/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +2 -2
  1433. package/dist/serialization/resources/conversation/types/AskStreamStartEvent.d.ts +2 -2
  1434. package/dist/serialization/resources/conversation/types/AskStreamTextEvent.d.ts +2 -2
  1435. package/dist/serialization/resources/conversation/types/CategorizationResponse.d.ts +2 -2
  1436. package/dist/serialization/resources/conversation/types/ConversationField.d.ts +3 -3
  1437. package/dist/serialization/resources/conversation/types/ConversationField.js +2 -0
  1438. package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -3
  1439. package/dist/serialization/resources/conversation/types/ConversationFilter.js +1 -1
  1440. package/dist/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +3 -3
  1441. package/dist/serialization/resources/conversation/types/ConversationMessageRequest.js +1 -1
  1442. package/dist/serialization/resources/conversation/types/ConversationMetadata.d.ts +2 -2
  1443. package/dist/serialization/resources/conversation/types/ConversationPatchRequest.d.ts +2 -2
  1444. package/dist/serialization/resources/conversation/types/ConversationRequest.d.ts +3 -3
  1445. package/dist/serialization/resources/conversation/types/ConversationRequest.js +1 -1
  1446. package/dist/serialization/resources/conversation/types/ConversationsResponse.d.ts +2 -2
  1447. package/dist/serialization/resources/conversation/types/ConversationsSearchRequest.d.ts +3 -3
  1448. package/dist/serialization/resources/conversation/types/ConversationsSearchRequest.js +1 -1
  1449. package/dist/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +2 -2
  1450. package/dist/serialization/resources/conversation/types/DeliverMessageRequest.d.ts +3 -3
  1451. package/dist/serialization/resources/conversation/types/DeliverMessageRequest.js +1 -1
  1452. package/dist/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +2 -2
  1453. package/dist/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +2 -2
  1454. package/dist/serialization/resources/conversation/types/DeliveryStatus.d.ts +2 -2
  1455. package/dist/serialization/resources/conversation/types/FeedbackField.d.ts +2 -2
  1456. package/dist/serialization/resources/conversation/types/FeedbackFilter.d.ts +2 -2
  1457. package/dist/serialization/resources/conversation/types/FeedbackRequest.d.ts +2 -2
  1458. package/dist/serialization/resources/conversation/types/NumericConversationField.d.ts +3 -3
  1459. package/dist/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  1460. package/dist/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +4 -4
  1461. package/dist/serialization/resources/conversation/types/ObjectStreamResponse.js +2 -2
  1462. package/dist/serialization/resources/conversation/types/ResolutionStatus.d.ts +2 -2
  1463. package/dist/serialization/resources/conversation/types/SimulationFilter.d.ts +2 -2
  1464. package/dist/serialization/resources/conversation/types/StreamResponse.d.ts +5 -5
  1465. package/dist/serialization/resources/conversation/types/StreamResponse.js +3 -3
  1466. package/dist/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -2
  1467. package/dist/serialization/resources/conversation/types/UpdateMetadataRequest.d.ts +2 -2
  1468. package/dist/serialization/resources/conversation/types/index.d.ts +21 -21
  1469. package/dist/serialization/resources/conversation/types/index.js +21 -21
  1470. package/dist/serialization/resources/customers/index.d.ts +1 -0
  1471. package/dist/serialization/resources/customers/index.js +17 -0
  1472. package/dist/serialization/resources/customers/types/CustomerBase.d.ts +13 -0
  1473. package/dist/serialization/resources/customers/types/CustomerBase.js +45 -0
  1474. package/dist/serialization/resources/customers/types/CustomerField.d.ts +7 -0
  1475. package/dist/serialization/resources/customers/types/CustomerField.js +39 -0
  1476. package/dist/serialization/resources/customers/types/CustomerFilter.d.ts +13 -0
  1477. package/dist/serialization/resources/customers/types/CustomerFilter.js +45 -0
  1478. package/dist/serialization/resources/customers/types/CustomerPatchRequest.d.ts +16 -0
  1479. package/dist/serialization/resources/customers/types/CustomerPatchRequest.js +48 -0
  1480. package/dist/serialization/resources/customers/types/CustomerRequest.d.ts +11 -0
  1481. package/dist/serialization/resources/customers/types/CustomerRequest.js +43 -0
  1482. package/dist/serialization/resources/customers/types/CustomerResponse.d.ts +13 -0
  1483. package/dist/serialization/resources/customers/types/CustomerResponse.js +47 -0
  1484. package/dist/serialization/resources/customers/types/CustomerStatus.d.ts +7 -0
  1485. package/dist/serialization/resources/customers/types/CustomerStatus.js +39 -0
  1486. package/dist/serialization/resources/customers/types/CustomersSearchRequest.d.ts +13 -0
  1487. package/dist/serialization/resources/customers/types/CustomersSearchRequest.js +47 -0
  1488. package/dist/serialization/resources/customers/types/CustomersSearchResponse.d.ts +11 -0
  1489. package/dist/serialization/resources/customers/types/CustomersSearchResponse.js +45 -0
  1490. package/dist/serialization/resources/customers/types/index.d.ts +9 -0
  1491. package/dist/serialization/resources/customers/types/index.js +25 -0
  1492. package/dist/serialization/resources/inbox/types/AddDocumentFixRequest.d.ts +2 -2
  1493. package/dist/serialization/resources/inbox/types/ApplyFixesRequest.d.ts +2 -2
  1494. package/dist/serialization/resources/inbox/types/InboxFilter.d.ts +2 -2
  1495. package/dist/serialization/resources/inbox/types/InboxSearchRequest.d.ts +3 -3
  1496. package/dist/serialization/resources/inbox/types/InboxSearchRequest.js +1 -1
  1497. package/dist/serialization/resources/inbox/types/InboxSearchResponse.d.ts +2 -2
  1498. package/dist/serialization/resources/inbox/types/index.d.ts +2 -2
  1499. package/dist/serialization/resources/inbox/types/index.js +2 -2
  1500. package/dist/serialization/resources/index.d.ts +10 -3
  1501. package/dist/serialization/resources/index.js +11 -4
  1502. package/dist/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +3 -3
  1503. package/dist/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +2 -2
  1504. package/dist/serialization/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +2 -2
  1505. package/dist/serialization/resources/knowledge/index.d.ts +1 -1
  1506. package/dist/serialization/resources/knowledge/index.js +1 -1
  1507. package/dist/serialization/resources/knowledge/types/BaseKnowledgeDocument.d.ts +2 -2
  1508. package/dist/serialization/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +2 -2
  1509. package/dist/serialization/resources/knowledge/types/KnowledgeBaseField.d.ts +2 -2
  1510. package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +3 -3
  1511. package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +1 -1
  1512. package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +2 -2
  1513. package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +1 -1
  1514. package/dist/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +2 -2
  1515. package/dist/serialization/resources/knowledge/types/KnowledgeBaseRefreshRequest.d.ts +2 -2
  1516. package/dist/serialization/resources/knowledge/types/KnowledgeBaseRequest.d.ts +2 -2
  1517. package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -5
  1518. package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +3 -3
  1519. package/dist/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +3 -3
  1520. package/dist/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.js +1 -1
  1521. package/dist/serialization/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -2
  1522. package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +3 -3
  1523. package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +1 -1
  1524. package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +2 -2
  1525. package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -2
  1526. package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +2 -2
  1527. package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionType.d.ts +2 -2
  1528. package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +2 -2
  1529. package/dist/serialization/resources/knowledge/types/KnowledgeBasesResponse.d.ts +3 -3
  1530. package/dist/serialization/resources/knowledge/types/KnowledgeBasesResponse.js +1 -1
  1531. package/dist/serialization/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +2 -2
  1532. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentContentType.d.ts +2 -2
  1533. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentField.d.ts +2 -2
  1534. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +2 -2
  1535. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +6 -4
  1536. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +4 -2
  1537. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +5 -3
  1538. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +3 -1
  1539. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +3 -3
  1540. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.js +1 -1
  1541. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +2 -2
  1542. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentStatus.d.ts +2 -2
  1543. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +3 -3
  1544. package/dist/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.js +1 -1
  1545. package/dist/serialization/resources/knowledge/types/index.d.ts +16 -16
  1546. package/dist/serialization/resources/knowledge/types/index.js +16 -16
  1547. package/dist/serialization/resources/organizations/types/BaseOrganization.d.ts +2 -2
  1548. package/dist/serialization/resources/organizations/types/CreateOrganizationRequest.d.ts +2 -2
  1549. package/dist/serialization/resources/organizations/types/Organization.d.ts +2 -2
  1550. package/dist/serialization/resources/organizations/types/OrganizationPatchRequest.d.ts +2 -2
  1551. package/dist/serialization/resources/organizations/types/index.d.ts +1 -1
  1552. package/dist/serialization/resources/organizations/types/index.js +1 -1
  1553. package/dist/serialization/resources/segments/types/SegmentBase.d.ts +2 -2
  1554. package/dist/serialization/resources/segments/types/SegmentBase.js +1 -1
  1555. package/dist/serialization/resources/segments/types/SegmentField.d.ts +2 -2
  1556. package/dist/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -2
  1557. package/dist/serialization/resources/segments/types/SegmentPatchRequest.js +1 -1
  1558. package/dist/serialization/resources/segments/types/SegmentRequest.d.ts +2 -2
  1559. package/dist/serialization/resources/segments/types/SegmentResponse.d.ts +3 -3
  1560. package/dist/serialization/resources/segments/types/SegmentResponse.js +1 -1
  1561. package/dist/serialization/resources/segments/types/SegmentStatus.d.ts +2 -2
  1562. package/dist/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +3 -3
  1563. package/dist/serialization/resources/segments/types/SegmentsSearchRequest.js +1 -1
  1564. package/dist/serialization/resources/segments/types/SegmentsSearchResponse.d.ts +3 -3
  1565. package/dist/serialization/resources/segments/types/SegmentsSearchResponse.js +1 -1
  1566. package/dist/serialization/resources/segments/types/index.d.ts +4 -4
  1567. package/dist/serialization/resources/segments/types/index.js +4 -4
  1568. package/dist/serialization/resources/translations/types/TranslationRequest.d.ts +2 -2
  1569. package/dist/serialization/resources/translations/types/TranslationResponse.d.ts +2 -2
  1570. package/dist/serialization/resources/triggers/types/EventTriggerBase.d.ts +3 -3
  1571. package/dist/serialization/resources/triggers/types/EventTriggerBase.js +1 -1
  1572. package/dist/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -2
  1573. package/dist/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -2
  1574. package/dist/serialization/resources/triggers/types/EventTriggersSearchRequest.d.ts +3 -3
  1575. package/dist/serialization/resources/triggers/types/EventTriggersSearchRequest.js +1 -1
  1576. package/dist/serialization/resources/triggers/types/EventTriggersSearchResponse.d.ts +3 -3
  1577. package/dist/serialization/resources/triggers/types/EventTriggersSearchResponse.js +1 -1
  1578. package/dist/serialization/resources/triggers/types/TriggerField.d.ts +2 -2
  1579. package/dist/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +2 -2
  1580. package/dist/serialization/resources/triggers/types/index.d.ts +2 -3
  1581. package/dist/serialization/resources/triggers/types/index.js +2 -3
  1582. package/dist/serialization/resources/users/types/AgentUser.d.ts +2 -2
  1583. package/dist/serialization/resources/users/types/AgentUserField.d.ts +2 -2
  1584. package/dist/serialization/resources/users/types/AgentUserFilter.d.ts +2 -2
  1585. package/dist/serialization/resources/users/types/AgentUserSearchRequest.d.ts +3 -3
  1586. package/dist/serialization/resources/users/types/AgentUserSearchRequest.js +1 -1
  1587. package/dist/serialization/resources/users/types/AgentUserSearchResponse.d.ts +3 -3
  1588. package/dist/serialization/resources/users/types/AgentUserSearchResponse.js +1 -1
  1589. package/dist/serialization/resources/users/types/AppUserSummary.d.ts +3 -3
  1590. package/dist/serialization/resources/users/types/AppUserSummary.js +1 -1
  1591. package/dist/serialization/resources/users/types/index.d.ts +1 -1
  1592. package/dist/serialization/resources/users/types/index.js +1 -1
  1593. package/dist/serialization/resources/websockets/client/index.d.ts +1 -0
  1594. package/dist/serialization/resources/websockets/client/index.js +17 -0
  1595. package/dist/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts +15 -0
  1596. package/dist/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.js +56 -0
  1597. package/dist/serialization/resources/websockets/client/socket/index.d.ts +1 -0
  1598. package/dist/serialization/resources/websockets/client/socket/index.js +5 -0
  1599. package/dist/serialization/resources/websockets/index.d.ts +2 -0
  1600. package/dist/serialization/resources/websockets/index.js +18 -0
  1601. package/dist/serialization/resources/websockets/types/AgentAudioChunk.d.ts +11 -0
  1602. package/dist/serialization/resources/websockets/types/AgentAudioChunk.js +45 -0
  1603. package/dist/serialization/resources/websockets/types/AgentTranscript.d.ts +11 -0
  1604. package/dist/serialization/resources/websockets/types/AgentTranscript.js +45 -0
  1605. package/dist/serialization/resources/websockets/types/AudioFormat.d.ts +7 -0
  1606. package/dist/serialization/resources/websockets/types/AudioFormat.js +39 -0
  1607. package/dist/serialization/resources/websockets/types/Config.d.ts +14 -0
  1608. package/dist/serialization/resources/websockets/types/Config.js +46 -0
  1609. package/dist/serialization/resources/websockets/types/ConversationEnded.d.ts +10 -0
  1610. package/dist/serialization/resources/websockets/types/ConversationEnded.js +44 -0
  1611. package/dist/serialization/resources/websockets/types/ConversationReady.d.ts +9 -0
  1612. package/dist/serialization/resources/websockets/types/ConversationReady.js +41 -0
  1613. package/dist/serialization/resources/websockets/types/Error_.d.ts +12 -0
  1614. package/dist/serialization/resources/websockets/types/Error_.js +46 -0
  1615. package/dist/serialization/resources/websockets/types/ServerEventBase.d.ts +9 -0
  1616. package/dist/serialization/resources/websockets/types/ServerEventBase.js +41 -0
  1617. package/dist/serialization/resources/websockets/types/UserAudioChunk.d.ts +10 -0
  1618. package/dist/serialization/resources/websockets/types/UserAudioChunk.js +42 -0
  1619. package/dist/serialization/resources/websockets/types/UserFinishedSpeaking.d.ts +10 -0
  1620. package/dist/serialization/resources/websockets/types/UserFinishedSpeaking.js +44 -0
  1621. package/dist/serialization/resources/websockets/types/UserStartedSpeaking.d.ts +10 -0
  1622. package/dist/serialization/resources/websockets/types/UserStartedSpeaking.js +44 -0
  1623. package/dist/serialization/resources/websockets/types/UserTranscript.d.ts +11 -0
  1624. package/dist/serialization/resources/websockets/types/UserTranscript.js +45 -0
  1625. package/dist/serialization/resources/websockets/types/index.d.ts +12 -0
  1626. package/dist/serialization/resources/websockets/types/index.js +28 -0
  1627. package/dist/version.d.ts +1 -1
  1628. package/dist/version.js +1 -1
  1629. package/errors/MavenAGIError.d.ts +1 -1
  1630. package/errors/MavenAGIError.js +1 -1
  1631. package/index.d.ts +3 -2
  1632. package/index.js +5 -5
  1633. package/package.json +13 -4
  1634. package/pnpm-workspace.yaml +1 -1
  1635. package/reference.md +1453 -1018
  1636. package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +3 -3
  1637. package/serialization/resources/actions/client/requests/ActionPatchRequest.js +1 -1
  1638. package/serialization/resources/actions/index.d.ts +1 -1
  1639. package/serialization/resources/actions/index.js +1 -1
  1640. package/serialization/resources/actions/types/ActionField.d.ts +2 -2
  1641. package/serialization/resources/actions/types/ActionFilter.d.ts +2 -2
  1642. package/serialization/resources/actions/types/ActionRequest.d.ts +3 -3
  1643. package/serialization/resources/actions/types/ActionRequest.js +1 -1
  1644. package/serialization/resources/actions/types/ActionsResponse.d.ts +2 -2
  1645. package/serialization/resources/actions/types/ActionsSearchRequest.d.ts +3 -3
  1646. package/serialization/resources/actions/types/ActionsSearchRequest.js +1 -1
  1647. package/serialization/resources/actions/types/index.d.ts +2 -2
  1648. package/serialization/resources/actions/types/index.js +2 -2
  1649. package/serialization/resources/agents/client/list.d.ts +2 -2
  1650. package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +4 -4
  1651. package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -2
  1652. package/serialization/resources/agents/index.d.ts +1 -1
  1653. package/serialization/resources/agents/index.js +1 -1
  1654. package/serialization/resources/agents/types/Agent.d.ts +3 -3
  1655. package/serialization/resources/agents/types/Agent.js +1 -1
  1656. package/serialization/resources/agents/types/AgentEnvironment.d.ts +2 -2
  1657. package/serialization/resources/agents/types/AgentField.d.ts +2 -2
  1658. package/serialization/resources/agents/types/AgentFilter.d.ts +2 -2
  1659. package/serialization/resources/agents/types/AgentPrompting.d.ts +2 -2
  1660. package/serialization/resources/agents/types/AgentsSearchRequest.d.ts +3 -3
  1661. package/serialization/resources/agents/types/AgentsSearchRequest.js +1 -1
  1662. package/serialization/resources/agents/types/AgentsSearchResponse.d.ts +3 -3
  1663. package/serialization/resources/agents/types/AgentsSearchResponse.js +1 -1
  1664. package/serialization/resources/agents/types/CreateAgentRequest.d.ts +2 -2
  1665. package/serialization/resources/agents/types/index.d.ts +4 -5
  1666. package/serialization/resources/agents/types/index.js +4 -5
  1667. package/serialization/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +2 -2
  1668. package/serialization/resources/analytics/types/AgentUserColumnDefinition.d.ts +2 -2
  1669. package/serialization/resources/analytics/types/AgentUserCount.d.ts +3 -4
  1670. package/serialization/resources/analytics/types/AgentUserMetric.d.ts +2 -2
  1671. package/serialization/resources/analytics/types/AgentUserRow.d.ts +3 -3
  1672. package/serialization/resources/analytics/types/AgentUserRow.js +1 -1
  1673. package/serialization/resources/analytics/types/AgentUserTableRequest.d.ts +4 -4
  1674. package/serialization/resources/analytics/types/AgentUserTableRequest.js +2 -2
  1675. package/serialization/resources/analytics/types/AgentUserTableResponse.d.ts +2 -2
  1676. package/serialization/resources/analytics/types/BarChartResponse.d.ts +2 -2
  1677. package/serialization/resources/analytics/types/CellData.d.ts +2 -2
  1678. package/serialization/resources/analytics/types/ChartResponse.d.ts +4 -4
  1679. package/serialization/resources/analytics/types/ChartResponse.js +2 -2
  1680. package/serialization/resources/analytics/types/ColumnDefinitionBase.d.ts +2 -2
  1681. package/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +2 -2
  1682. package/serialization/resources/analytics/types/ConversationAverage.d.ts +2 -2
  1683. package/serialization/resources/analytics/types/ConversationBarChartRequest.d.ts +3 -3
  1684. package/serialization/resources/analytics/types/ConversationBarChartRequest.js +1 -1
  1685. package/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -2
  1686. package/serialization/resources/analytics/types/ConversationChartRequest.d.ts +4 -4
  1687. package/serialization/resources/analytics/types/ConversationChartRequest.js +2 -2
  1688. package/serialization/resources/analytics/types/ConversationColumnDefinition.d.ts +3 -3
  1689. package/serialization/resources/analytics/types/ConversationColumnDefinition.js +1 -1
  1690. package/serialization/resources/analytics/types/ConversationCount.d.ts +3 -4
  1691. package/serialization/resources/analytics/types/ConversationDateHistogramRequest.d.ts +4 -4
  1692. package/serialization/resources/analytics/types/ConversationDateHistogramRequest.js +2 -2
  1693. package/serialization/resources/analytics/types/ConversationDistinctCount.d.ts +2 -2
  1694. package/serialization/resources/analytics/types/ConversationGroupBy.d.ts +3 -3
  1695. package/serialization/resources/analytics/types/ConversationGroupBy.js +1 -1
  1696. package/serialization/resources/analytics/types/ConversationMax.d.ts +2 -2
  1697. package/serialization/resources/analytics/types/ConversationMedian.d.ts +2 -2
  1698. package/serialization/resources/analytics/types/ConversationMetric.d.ts +7 -7
  1699. package/serialization/resources/analytics/types/ConversationMetric.js +5 -5
  1700. package/serialization/resources/analytics/types/ConversationMin.d.ts +2 -2
  1701. package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -2
  1702. package/serialization/resources/analytics/types/ConversationPercentile.d.ts +2 -2
  1703. package/serialization/resources/analytics/types/ConversationPieChartRequest.d.ts +3 -3
  1704. package/serialization/resources/analytics/types/ConversationPieChartRequest.js +1 -1
  1705. package/serialization/resources/analytics/types/ConversationRow.d.ts +3 -3
  1706. package/serialization/resources/analytics/types/ConversationRow.js +1 -1
  1707. package/serialization/resources/analytics/types/ConversationSum.d.ts +2 -2
  1708. package/serialization/resources/analytics/types/ConversationTableRequest.d.ts +5 -5
  1709. package/serialization/resources/analytics/types/ConversationTableRequest.js +3 -3
  1710. package/serialization/resources/analytics/types/ConversationTableResponse.d.ts +2 -2
  1711. package/serialization/resources/analytics/types/DateHistogramResponse.d.ts +2 -2
  1712. package/serialization/resources/analytics/types/EventAnalyticsRequest.d.ts +11 -0
  1713. package/serialization/resources/analytics/types/EventAnalyticsRequest.js +43 -0
  1714. package/serialization/resources/analytics/types/EventBarChartRequest.d.ts +14 -0
  1715. package/serialization/resources/analytics/types/EventBarChartRequest.js +48 -0
  1716. package/serialization/resources/analytics/types/EventChartRequest.d.ts +19 -0
  1717. package/serialization/resources/analytics/types/EventChartRequest.js +51 -0
  1718. package/serialization/resources/analytics/types/EventColumnDefinition.d.ts +11 -0
  1719. package/serialization/resources/analytics/types/EventColumnDefinition.js +45 -0
  1720. package/serialization/resources/analytics/types/EventCount.d.ts +7 -0
  1721. package/serialization/resources/analytics/types/EventCount.js +39 -0
  1722. package/serialization/resources/analytics/types/EventDateHistogramRequest.d.ts +15 -0
  1723. package/serialization/resources/analytics/types/EventDateHistogramRequest.js +49 -0
  1724. package/serialization/resources/analytics/types/EventDistinctCount.d.ts +10 -0
  1725. package/serialization/resources/analytics/types/EventDistinctCount.js +42 -0
  1726. package/serialization/resources/analytics/types/EventGroupBy.d.ts +11 -0
  1727. package/serialization/resources/analytics/types/EventGroupBy.js +45 -0
  1728. package/serialization/resources/analytics/types/EventMetric.d.ts +15 -0
  1729. package/serialization/resources/analytics/types/EventMetric.js +49 -0
  1730. package/serialization/resources/analytics/types/EventPieChartRequest.d.ts +13 -0
  1731. package/serialization/resources/analytics/types/EventPieChartRequest.js +47 -0
  1732. package/serialization/resources/analytics/types/EventRow.d.ts +12 -0
  1733. package/serialization/resources/analytics/types/EventRow.js +46 -0
  1734. package/serialization/resources/analytics/types/EventTableRequest.d.ts +15 -0
  1735. package/serialization/resources/analytics/types/EventTableRequest.js +49 -0
  1736. package/serialization/resources/analytics/types/EventTableResponse.d.ts +11 -0
  1737. package/serialization/resources/analytics/types/EventTableResponse.js +45 -0
  1738. package/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +2 -2
  1739. package/serialization/resources/analytics/types/FeedbackColumnDefinition.d.ts +3 -3
  1740. package/serialization/resources/analytics/types/FeedbackColumnDefinition.js +1 -1
  1741. package/serialization/resources/analytics/types/FeedbackCount.d.ts +3 -4
  1742. package/serialization/resources/analytics/types/FeedbackDistinctCount.d.ts +2 -2
  1743. package/serialization/resources/analytics/types/FeedbackGroupBy.d.ts +2 -2
  1744. package/serialization/resources/analytics/types/FeedbackMetric.d.ts +2 -2
  1745. package/serialization/resources/analytics/types/FeedbackRow.d.ts +3 -3
  1746. package/serialization/resources/analytics/types/FeedbackRow.js +1 -1
  1747. package/serialization/resources/analytics/types/FeedbackTableRequest.d.ts +5 -5
  1748. package/serialization/resources/analytics/types/FeedbackTableRequest.js +3 -3
  1749. package/serialization/resources/analytics/types/FeedbackTableResponse.d.ts +2 -2
  1750. package/serialization/resources/analytics/types/FieldValue.d.ts +3 -3
  1751. package/serialization/resources/analytics/types/FieldValue.js +1 -1
  1752. package/serialization/resources/analytics/types/GroupByBase.d.ts +2 -2
  1753. package/serialization/resources/analytics/types/LabeledPoint.d.ts +2 -2
  1754. package/serialization/resources/analytics/types/PieChartResponse.d.ts +2 -2
  1755. package/serialization/resources/analytics/types/Range.d.ts +2 -2
  1756. package/serialization/resources/analytics/types/RowBase.d.ts +2 -2
  1757. package/serialization/resources/analytics/types/Series.d.ts +2 -2
  1758. package/serialization/resources/analytics/types/TableResponseBase.d.ts +2 -2
  1759. package/serialization/resources/analytics/types/TimeDataPoint.d.ts +2 -2
  1760. package/serialization/resources/analytics/types/TimeInterval.d.ts +2 -2
  1761. package/serialization/resources/analytics/types/TimeSeries.d.ts +2 -2
  1762. package/serialization/resources/analytics/types/index.d.ts +49 -36
  1763. package/serialization/resources/analytics/types/index.js +49 -36
  1764. package/serialization/resources/appSettings/client/get.d.ts +1 -1
  1765. package/serialization/resources/appSettings/client/update.d.ts +1 -1
  1766. package/serialization/resources/appSettings/index.d.ts +1 -1
  1767. package/serialization/resources/appSettings/index.js +1 -1
  1768. package/serialization/resources/appSettings/types/AppSettings.d.ts +2 -2
  1769. package/serialization/resources/appSettings/types/SearchAppSettingsResponse.d.ts +2 -2
  1770. package/serialization/resources/appSettings/types/index.d.ts +1 -1
  1771. package/serialization/resources/appSettings/types/index.js +1 -1
  1772. package/serialization/resources/assets/types/CommitAssetUploadRequest.d.ts +2 -2
  1773. package/serialization/resources/assets/types/InitiateAssetUploadRequest.d.ts +2 -2
  1774. package/serialization/resources/assets/types/InitiateAssetUploadResponse.d.ts +2 -2
  1775. package/serialization/resources/assets/types/index.d.ts +1 -1
  1776. package/serialization/resources/assets/types/index.js +1 -1
  1777. package/serialization/resources/auth/index.d.ts +1 -0
  1778. package/serialization/resources/auth/index.js +17 -0
  1779. package/serialization/resources/auth/types/SessionTokenRequest.d.ts +9 -0
  1780. package/serialization/resources/auth/types/SessionTokenRequest.js +41 -0
  1781. package/serialization/resources/auth/types/SessionTokenResponse.d.ts +10 -0
  1782. package/serialization/resources/auth/types/SessionTokenResponse.js +42 -0
  1783. package/serialization/resources/auth/types/index.d.ts +2 -0
  1784. package/serialization/resources/auth/types/index.js +18 -0
  1785. package/serialization/resources/commons/types/ActionBase.d.ts +4 -9
  1786. package/serialization/resources/commons/types/ActionBase.js +5 -9
  1787. package/serialization/resources/commons/types/ActionEnumOption.d.ts +2 -2
  1788. package/serialization/resources/commons/types/ActionExecutionParamValue.d.ts +2 -2
  1789. package/serialization/resources/commons/types/ActionFormField.d.ts +3 -3
  1790. package/serialization/resources/commons/types/ActionFormField.js +1 -1
  1791. package/serialization/resources/commons/types/ActionOAuthConfiguration.d.ts +2 -2
  1792. package/serialization/resources/commons/types/ActionParameter.d.ts +3 -3
  1793. package/serialization/resources/commons/types/ActionParameter.js +1 -1
  1794. package/serialization/resources/commons/types/ActionParameterType.d.ts +3 -3
  1795. package/serialization/resources/commons/types/ActionParameterType.js +1 -0
  1796. package/serialization/resources/commons/types/ActionProperties.d.ts +14 -0
  1797. package/serialization/resources/commons/types/ActionProperties.js +47 -0
  1798. package/serialization/resources/commons/types/ActionResponse.d.ts +3 -3
  1799. package/serialization/resources/commons/types/ActionResponse.js +1 -1
  1800. package/serialization/resources/commons/types/ActionUser.d.ts +17 -0
  1801. package/serialization/resources/commons/types/ActionUser.js +49 -0
  1802. package/serialization/resources/commons/types/AppPrecondition.d.ts +2 -2
  1803. package/serialization/resources/commons/types/AppUser.d.ts +2 -2
  1804. package/serialization/resources/commons/types/AppUserIdentifier.d.ts +2 -2
  1805. package/serialization/resources/commons/types/AppUserIdentifyingPropertyType.d.ts +2 -2
  1806. package/serialization/resources/commons/types/AppUserRequest.d.ts +3 -3
  1807. package/serialization/resources/commons/types/AppUserRequest.js +1 -1
  1808. package/serialization/resources/commons/types/AppUserResponse.d.ts +3 -3
  1809. package/serialization/resources/commons/types/AppUserResponse.js +1 -1
  1810. package/serialization/resources/commons/types/AttachmentRequest.d.ts +3 -3
  1811. package/serialization/resources/commons/types/AttachmentRequest.js +1 -1
  1812. package/serialization/resources/commons/types/AttachmentResponse.d.ts +2 -2
  1813. package/serialization/resources/commons/types/AttachmentStatus.d.ts +2 -2
  1814. package/serialization/resources/commons/types/BaseAttachment.d.ts +2 -2
  1815. package/serialization/resources/commons/types/BaseConversationResponse.d.ts +4 -4
  1816. package/serialization/resources/commons/types/BaseConversationResponse.js +2 -2
  1817. package/serialization/resources/commons/types/BasePaginatedRequest.d.ts +2 -2
  1818. package/serialization/resources/commons/types/BaseSearchRequest.d.ts +2 -2
  1819. package/serialization/resources/commons/types/BotActionFormResponse.d.ts +3 -3
  1820. package/serialization/resources/commons/types/BotActionFormResponse.js +1 -1
  1821. package/serialization/resources/commons/types/BotChartResponse.d.ts +2 -2
  1822. package/serialization/resources/commons/types/BotConversationMessageType.d.ts +2 -2
  1823. package/serialization/resources/commons/types/BotLogic.d.ts +2 -2
  1824. package/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +2 -2
  1825. package/serialization/resources/commons/types/BotLogicActionItem.d.ts +3 -3
  1826. package/serialization/resources/commons/types/BotLogicActionItem.js +1 -1
  1827. package/serialization/resources/commons/types/BotLogicActionReviewedDetail.d.ts +2 -2
  1828. package/serialization/resources/commons/types/BotLogicFormSubmissionItem.d.ts +2 -2
  1829. package/serialization/resources/commons/types/BotLogicItem.d.ts +4 -4
  1830. package/serialization/resources/commons/types/BotLogicItem.js +2 -2
  1831. package/serialization/resources/commons/types/BotLogicKnowledgeDetail.d.ts +2 -2
  1832. package/serialization/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -2
  1833. package/serialization/resources/commons/types/BotLogicSafetyItem.d.ts +4 -2
  1834. package/serialization/resources/commons/types/BotLogicSafetyItem.js +2 -0
  1835. package/serialization/resources/commons/types/BotLogicSegmentsItem.d.ts +2 -2
  1836. package/serialization/resources/commons/types/BotLogicUserItem.d.ts +2 -2
  1837. package/serialization/resources/commons/types/BotMessage.d.ts +5 -5
  1838. package/serialization/resources/commons/types/BotMessage.js +3 -3
  1839. package/serialization/resources/commons/types/BotOAuthButtonResponse.d.ts +2 -2
  1840. package/serialization/resources/commons/types/BotObjectResponse.d.ts +2 -2
  1841. package/serialization/resources/commons/types/BotResponse.d.ts +4 -4
  1842. package/serialization/resources/commons/types/BotResponse.js +2 -2
  1843. package/serialization/resources/commons/types/BotResponseMetadata.d.ts +2 -2
  1844. package/serialization/resources/commons/types/BotTextResponse.d.ts +2 -2
  1845. package/serialization/resources/commons/types/BrowserInfo.d.ts +2 -2
  1846. package/serialization/resources/commons/types/BrowserType.d.ts +2 -2
  1847. package/serialization/resources/commons/types/Capability.d.ts +2 -2
  1848. package/serialization/resources/commons/types/ChartSpecSchema.d.ts +2 -2
  1849. package/serialization/resources/commons/types/ContextInfo.d.ts +2 -2
  1850. package/serialization/resources/commons/types/ConversationAnalysis.d.ts +3 -3
  1851. package/serialization/resources/commons/types/ConversationAnalysis.js +1 -1
  1852. package/serialization/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +2 -2
  1853. package/serialization/resources/commons/types/ConversationInformation.d.ts +2 -2
  1854. package/serialization/resources/commons/types/ConversationMessageBase.d.ts +2 -2
  1855. package/serialization/resources/commons/types/ConversationMessageResponse.d.ts +3 -3
  1856. package/serialization/resources/commons/types/ConversationMessageResponse.js +1 -1
  1857. package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -5
  1858. package/serialization/resources/commons/types/ConversationPrecondition.js +3 -3
  1859. package/serialization/resources/commons/types/ConversationPreview.d.ts +2 -2
  1860. package/serialization/resources/commons/types/ConversationResponse.d.ts +3 -3
  1861. package/serialization/resources/commons/types/ConversationResponse.js +1 -1
  1862. package/serialization/resources/commons/types/ConversationSummary.d.ts +4 -2
  1863. package/serialization/resources/commons/types/ConversationSummary.js +2 -0
  1864. package/serialization/resources/commons/types/DeviceInfo.d.ts +2 -2
  1865. package/serialization/resources/commons/types/DeviceType.d.ts +2 -2
  1866. package/serialization/resources/commons/types/DocumentInformation.d.ts +2 -2
  1867. package/serialization/resources/commons/types/EntityId.d.ts +2 -2
  1868. package/serialization/resources/commons/types/EntityIdBase.d.ts +2 -2
  1869. package/serialization/resources/commons/types/EntityIdFilter.d.ts +2 -2
  1870. package/serialization/resources/commons/types/EntityIdWithoutAgent.d.ts +3 -3
  1871. package/serialization/resources/commons/types/EntityIdWithoutAgent.js +1 -1
  1872. package/serialization/resources/commons/types/EntityResult.d.ts +2 -2
  1873. package/serialization/resources/commons/types/EntityType.d.ts +3 -3
  1874. package/serialization/resources/commons/types/EntityType.js +1 -0
  1875. package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -2
  1876. package/serialization/resources/commons/types/EventBaseNoId.d.ts +4 -4
  1877. package/serialization/resources/commons/types/EventBaseNoId.js +2 -2
  1878. package/serialization/resources/commons/types/EventField.d.ts +3 -3
  1879. package/serialization/resources/commons/types/EventField.js +19 -1
  1880. package/serialization/resources/commons/types/EventFilter.d.ts +5 -5
  1881. package/serialization/resources/commons/types/EventFilter.js +3 -3
  1882. package/serialization/resources/commons/types/EventRequest.d.ts +3 -3
  1883. package/serialization/resources/commons/types/EventRequest.js +1 -1
  1884. package/serialization/resources/commons/types/EventResponse.d.ts +3 -3
  1885. package/serialization/resources/commons/types/EventResponse.js +1 -1
  1886. package/serialization/resources/{triggers → commons}/types/EventTriggerType.d.ts +2 -2
  1887. package/serialization/resources/commons/types/EventType.d.ts +2 -2
  1888. package/serialization/resources/commons/types/EventUserInfo.d.ts +2 -2
  1889. package/serialization/resources/commons/types/EventUserInfoBase.d.ts +2 -2
  1890. package/serialization/resources/commons/types/EventsSearchRequest.d.ts +3 -3
  1891. package/serialization/resources/commons/types/EventsSearchRequest.js +1 -1
  1892. package/serialization/resources/commons/types/EventsSearchResponse.d.ts +2 -2
  1893. package/serialization/resources/commons/types/Feedback.d.ts +2 -2
  1894. package/serialization/resources/commons/types/FeedbackBase.d.ts +2 -2
  1895. package/serialization/resources/commons/types/FeedbackInfo.d.ts +2 -2
  1896. package/serialization/resources/commons/types/FeedbackType.d.ts +2 -2
  1897. package/serialization/resources/commons/types/GeoInfo.d.ts +2 -2
  1898. package/serialization/resources/commons/types/HarmfulContentAnalysis.d.ts +12 -0
  1899. package/serialization/resources/commons/types/HarmfulContentAnalysis.js +44 -0
  1900. package/serialization/resources/commons/types/InboxItem.d.ts +3 -3
  1901. package/serialization/resources/commons/types/InboxItem.js +1 -1
  1902. package/serialization/resources/commons/types/InboxItemBase.d.ts +3 -3
  1903. package/serialization/resources/commons/types/InboxItemBase.js +1 -1
  1904. package/serialization/resources/commons/types/InboxItemCustom.d.ts +2 -2
  1905. package/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +3 -3
  1906. package/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -1
  1907. package/serialization/resources/commons/types/InboxItemFix.d.ts +2 -2
  1908. package/serialization/resources/commons/types/InboxItemFixAddDocument.d.ts +2 -2
  1909. package/serialization/resources/commons/types/InboxItemFixBase.d.ts +2 -2
  1910. package/serialization/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +2 -2
  1911. package/serialization/resources/commons/types/InboxItemMissingKnowledge.d.ts +3 -3
  1912. package/serialization/resources/commons/types/InboxItemMissingKnowledge.js +1 -1
  1913. package/serialization/resources/commons/types/InboxItemSeverity.d.ts +2 -2
  1914. package/serialization/resources/commons/types/InboxItemStatus.d.ts +2 -2
  1915. package/serialization/resources/commons/types/InboxItemType.d.ts +3 -3
  1916. package/serialization/resources/commons/types/InboxItemType.js +1 -1
  1917. package/serialization/resources/commons/types/IpInfo.d.ts +2 -2
  1918. package/serialization/resources/commons/types/KnowledgeContextByEntities.d.ts +10 -0
  1919. package/serialization/resources/commons/types/KnowledgeContextByEntities.js +42 -0
  1920. package/serialization/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +10 -0
  1921. package/serialization/resources/commons/types/KnowledgeContextByEntityTypes.js +42 -0
  1922. package/serialization/resources/commons/types/KnowledgeContextFilter.d.ts +15 -0
  1923. package/serialization/resources/commons/types/KnowledgeContextFilter.js +49 -0
  1924. package/serialization/resources/commons/types/LanguageInfo.d.ts +2 -2
  1925. package/serialization/resources/commons/types/LlmInclusionStatus.d.ts +2 -2
  1926. package/serialization/resources/commons/types/LlmPersona.d.ts +2 -2
  1927. package/serialization/resources/commons/types/MessageStatus.d.ts +2 -2
  1928. package/serialization/resources/commons/types/MetadataPrecondition.d.ts +2 -2
  1929. package/serialization/resources/commons/types/NovelSystemEvent.d.ts +2 -2
  1930. package/serialization/resources/commons/types/NovelSystemEventNoId.d.ts +3 -3
  1931. package/serialization/resources/commons/types/NovelSystemEventNoId.js +1 -1
  1932. package/serialization/resources/commons/types/NovelUserEvent.d.ts +4 -4
  1933. package/serialization/resources/commons/types/NovelUserEvent.js +2 -2
  1934. package/serialization/resources/commons/types/NumberRange.d.ts +2 -2
  1935. package/serialization/resources/commons/types/OsInfo.d.ts +2 -2
  1936. package/serialization/resources/commons/types/OsType.d.ts +2 -2
  1937. package/serialization/resources/commons/types/Page.d.ts +2 -2
  1938. package/serialization/resources/commons/types/PageInfo.d.ts +2 -2
  1939. package/serialization/resources/{agents → commons}/types/PiiCategory.d.ts +2 -2
  1940. package/serialization/resources/commons/types/Precondition.d.ts +3 -3
  1941. package/serialization/resources/commons/types/Precondition.js +2 -2
  1942. package/serialization/resources/commons/types/PreconditionBase.d.ts +2 -2
  1943. package/serialization/resources/commons/types/PreconditionGroup.d.ts +2 -2
  1944. package/serialization/resources/commons/types/PreconditionGroup.js +1 -1
  1945. package/serialization/resources/commons/types/PreconditionGroupOperator.d.ts +2 -2
  1946. package/serialization/resources/commons/types/PreconditionOperator.d.ts +2 -2
  1947. package/serialization/resources/commons/types/Quality.d.ts +2 -2
  1948. package/serialization/resources/commons/types/QualityReason.d.ts +2 -2
  1949. package/serialization/resources/commons/types/ResponseConfig.d.ts +4 -2
  1950. package/serialization/resources/commons/types/ResponseConfig.js +2 -0
  1951. package/serialization/resources/commons/types/ResponseConfigPrecondition.d.ts +3 -3
  1952. package/serialization/resources/commons/types/ResponseConfigPrecondition.js +1 -1
  1953. package/serialization/resources/commons/types/ResponseLength.d.ts +2 -2
  1954. package/serialization/resources/commons/types/SafetyCheckReport.d.ts +12 -0
  1955. package/serialization/resources/commons/types/SafetyCheckReport.js +44 -0
  1956. package/serialization/resources/commons/types/ScopedEntity.d.ts +2 -2
  1957. package/serialization/resources/commons/types/Sentiment.d.ts +2 -2
  1958. package/serialization/resources/commons/types/SessionInfo.d.ts +2 -2
  1959. package/serialization/resources/commons/types/SimulationContext.d.ts +3 -3
  1960. package/serialization/resources/commons/types/SimulationContext.js +1 -1
  1961. package/serialization/resources/commons/types/Source.d.ts +2 -2
  1962. package/serialization/resources/commons/types/SourceInfo.d.ts +4 -4
  1963. package/serialization/resources/commons/types/SourceInfo.js +2 -2
  1964. package/serialization/resources/commons/types/SourceType.d.ts +2 -2
  1965. package/serialization/resources/commons/types/SurveyInfo.d.ts +2 -2
  1966. package/serialization/resources/commons/types/SystemEvent.d.ts +2 -2
  1967. package/serialization/resources/commons/types/SystemEventName.d.ts +2 -2
  1968. package/serialization/resources/commons/types/TagsPrecondition.d.ts +2 -2
  1969. package/serialization/resources/commons/types/UserConversationMessageType.d.ts +2 -2
  1970. package/serialization/resources/commons/types/UserData.d.ts +2 -2
  1971. package/serialization/resources/commons/types/UserDataWithReference.d.ts +2 -2
  1972. package/serialization/resources/commons/types/UserEvent.d.ts +5 -4
  1973. package/serialization/resources/commons/types/UserEvent.js +3 -2
  1974. package/serialization/resources/commons/types/UserEventName.d.ts +2 -2
  1975. package/serialization/resources/commons/types/UserMessage.d.ts +4 -4
  1976. package/serialization/resources/commons/types/UserMessage.js +2 -2
  1977. package/serialization/resources/commons/types/UserMessageBase.d.ts +3 -3
  1978. package/serialization/resources/commons/types/UserMessageBase.js +1 -1
  1979. package/serialization/resources/commons/types/UserMessageResponseState.d.ts +2 -2
  1980. package/serialization/resources/commons/types/VisibilityType.d.ts +2 -2
  1981. package/serialization/resources/commons/types/index.d.ts +121 -112
  1982. package/serialization/resources/commons/types/index.js +121 -112
  1983. package/serialization/resources/conversation/client/addConversationMetadata.d.ts +1 -1
  1984. package/serialization/resources/conversation/client/appendNewMessages.d.ts +2 -2
  1985. package/serialization/resources/conversation/client/index.d.ts +1 -1
  1986. package/serialization/resources/conversation/client/index.js +2 -2
  1987. package/serialization/resources/conversation/index.d.ts +1 -1
  1988. package/serialization/resources/conversation/index.js +1 -1
  1989. package/serialization/resources/conversation/types/ActionFormAttachment.d.ts +2 -2
  1990. package/serialization/resources/conversation/types/ActionFormRequestParamValue.d.ts +2 -2
  1991. package/serialization/resources/conversation/types/AskObjectRequest.d.ts +2 -2
  1992. package/serialization/resources/conversation/types/AskRequest.d.ts +3 -3
  1993. package/serialization/resources/conversation/types/AskRequest.js +1 -1
  1994. package/serialization/resources/conversation/types/AskStreamActionEvent.d.ts +2 -2
  1995. package/serialization/resources/conversation/types/AskStreamChartEvent.d.ts +2 -2
  1996. package/serialization/resources/conversation/types/AskStreamEndEvent.d.ts +2 -2
  1997. package/serialization/resources/conversation/types/AskStreamMetadataEvent.d.ts +2 -2
  1998. package/serialization/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +2 -2
  1999. package/serialization/resources/conversation/types/AskStreamStartEvent.d.ts +2 -2
  2000. package/serialization/resources/conversation/types/AskStreamTextEvent.d.ts +2 -2
  2001. package/serialization/resources/conversation/types/CategorizationResponse.d.ts +2 -2
  2002. package/serialization/resources/conversation/types/ConversationField.d.ts +3 -3
  2003. package/serialization/resources/conversation/types/ConversationField.js +2 -0
  2004. package/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -3
  2005. package/serialization/resources/conversation/types/ConversationFilter.js +1 -1
  2006. package/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +3 -3
  2007. package/serialization/resources/conversation/types/ConversationMessageRequest.js +1 -1
  2008. package/serialization/resources/conversation/types/ConversationMetadata.d.ts +2 -2
  2009. package/serialization/resources/conversation/types/ConversationPatchRequest.d.ts +2 -2
  2010. package/serialization/resources/conversation/types/ConversationRequest.d.ts +3 -3
  2011. package/serialization/resources/conversation/types/ConversationRequest.js +1 -1
  2012. package/serialization/resources/conversation/types/ConversationsResponse.d.ts +2 -2
  2013. package/serialization/resources/conversation/types/ConversationsSearchRequest.d.ts +3 -3
  2014. package/serialization/resources/conversation/types/ConversationsSearchRequest.js +1 -1
  2015. package/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +2 -2
  2016. package/serialization/resources/conversation/types/DeliverMessageRequest.d.ts +3 -3
  2017. package/serialization/resources/conversation/types/DeliverMessageRequest.js +1 -1
  2018. package/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +2 -2
  2019. package/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +2 -2
  2020. package/serialization/resources/conversation/types/DeliveryStatus.d.ts +2 -2
  2021. package/serialization/resources/conversation/types/FeedbackField.d.ts +2 -2
  2022. package/serialization/resources/conversation/types/FeedbackFilter.d.ts +2 -2
  2023. package/serialization/resources/conversation/types/FeedbackRequest.d.ts +2 -2
  2024. package/serialization/resources/conversation/types/NumericConversationField.d.ts +3 -3
  2025. package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  2026. package/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +4 -4
  2027. package/serialization/resources/conversation/types/ObjectStreamResponse.js +2 -2
  2028. package/serialization/resources/conversation/types/ResolutionStatus.d.ts +2 -2
  2029. package/serialization/resources/conversation/types/SimulationFilter.d.ts +2 -2
  2030. package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -5
  2031. package/serialization/resources/conversation/types/StreamResponse.js +3 -3
  2032. package/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -2
  2033. package/serialization/resources/conversation/types/UpdateMetadataRequest.d.ts +2 -2
  2034. package/serialization/resources/conversation/types/index.d.ts +21 -21
  2035. package/serialization/resources/conversation/types/index.js +21 -21
  2036. package/serialization/resources/customers/index.d.ts +1 -0
  2037. package/serialization/resources/customers/index.js +17 -0
  2038. package/serialization/resources/customers/types/CustomerBase.d.ts +13 -0
  2039. package/serialization/resources/customers/types/CustomerBase.js +45 -0
  2040. package/serialization/resources/customers/types/CustomerField.d.ts +7 -0
  2041. package/serialization/resources/customers/types/CustomerField.js +39 -0
  2042. package/serialization/resources/customers/types/CustomerFilter.d.ts +13 -0
  2043. package/serialization/resources/customers/types/CustomerFilter.js +45 -0
  2044. package/serialization/resources/customers/types/CustomerPatchRequest.d.ts +16 -0
  2045. package/serialization/resources/customers/types/CustomerPatchRequest.js +48 -0
  2046. package/serialization/resources/customers/types/CustomerRequest.d.ts +11 -0
  2047. package/serialization/resources/customers/types/CustomerRequest.js +43 -0
  2048. package/serialization/resources/customers/types/CustomerResponse.d.ts +13 -0
  2049. package/serialization/resources/customers/types/CustomerResponse.js +47 -0
  2050. package/serialization/resources/customers/types/CustomerStatus.d.ts +7 -0
  2051. package/serialization/resources/customers/types/CustomerStatus.js +39 -0
  2052. package/serialization/resources/customers/types/CustomersSearchRequest.d.ts +13 -0
  2053. package/serialization/resources/customers/types/CustomersSearchRequest.js +47 -0
  2054. package/serialization/resources/customers/types/CustomersSearchResponse.d.ts +11 -0
  2055. package/serialization/resources/customers/types/CustomersSearchResponse.js +45 -0
  2056. package/serialization/resources/customers/types/index.d.ts +9 -0
  2057. package/serialization/resources/customers/types/index.js +25 -0
  2058. package/serialization/resources/inbox/types/AddDocumentFixRequest.d.ts +2 -2
  2059. package/serialization/resources/inbox/types/ApplyFixesRequest.d.ts +2 -2
  2060. package/serialization/resources/inbox/types/InboxFilter.d.ts +2 -2
  2061. package/serialization/resources/inbox/types/InboxSearchRequest.d.ts +3 -3
  2062. package/serialization/resources/inbox/types/InboxSearchRequest.js +1 -1
  2063. package/serialization/resources/inbox/types/InboxSearchResponse.d.ts +2 -2
  2064. package/serialization/resources/inbox/types/index.d.ts +2 -2
  2065. package/serialization/resources/inbox/types/index.js +2 -2
  2066. package/serialization/resources/index.d.ts +10 -3
  2067. package/serialization/resources/index.js +11 -4
  2068. package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +3 -3
  2069. package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +2 -2
  2070. package/serialization/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +2 -2
  2071. package/serialization/resources/knowledge/index.d.ts +1 -1
  2072. package/serialization/resources/knowledge/index.js +1 -1
  2073. package/serialization/resources/knowledge/types/BaseKnowledgeDocument.d.ts +2 -2
  2074. package/serialization/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +2 -2
  2075. package/serialization/resources/knowledge/types/KnowledgeBaseField.d.ts +2 -2
  2076. package/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +3 -3
  2077. package/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +1 -1
  2078. package/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +2 -2
  2079. package/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +1 -1
  2080. package/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +2 -2
  2081. package/serialization/resources/knowledge/types/KnowledgeBaseRefreshRequest.d.ts +2 -2
  2082. package/serialization/resources/knowledge/types/KnowledgeBaseRequest.d.ts +2 -2
  2083. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -5
  2084. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +3 -3
  2085. package/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +3 -3
  2086. package/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.js +1 -1
  2087. package/serialization/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -2
  2088. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +3 -3
  2089. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +1 -1
  2090. package/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +2 -2
  2091. package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -2
  2092. package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +2 -2
  2093. package/serialization/resources/knowledge/types/KnowledgeBaseVersionType.d.ts +2 -2
  2094. package/serialization/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +2 -2
  2095. package/serialization/resources/knowledge/types/KnowledgeBasesResponse.d.ts +3 -3
  2096. package/serialization/resources/knowledge/types/KnowledgeBasesResponse.js +1 -1
  2097. package/serialization/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +2 -2
  2098. package/serialization/resources/knowledge/types/KnowledgeDocumentContentType.d.ts +2 -2
  2099. package/serialization/resources/knowledge/types/KnowledgeDocumentField.d.ts +2 -2
  2100. package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +2 -2
  2101. package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +6 -4
  2102. package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +4 -2
  2103. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +5 -3
  2104. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +3 -1
  2105. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +3 -3
  2106. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.js +1 -1
  2107. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +2 -2
  2108. package/serialization/resources/knowledge/types/KnowledgeDocumentStatus.d.ts +2 -2
  2109. package/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +3 -3
  2110. package/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.js +1 -1
  2111. package/serialization/resources/knowledge/types/index.d.ts +16 -16
  2112. package/serialization/resources/knowledge/types/index.js +16 -16
  2113. package/serialization/resources/organizations/types/BaseOrganization.d.ts +2 -2
  2114. package/serialization/resources/organizations/types/CreateOrganizationRequest.d.ts +2 -2
  2115. package/serialization/resources/organizations/types/Organization.d.ts +2 -2
  2116. package/serialization/resources/organizations/types/OrganizationPatchRequest.d.ts +2 -2
  2117. package/serialization/resources/organizations/types/index.d.ts +1 -1
  2118. package/serialization/resources/organizations/types/index.js +1 -1
  2119. package/serialization/resources/segments/types/SegmentBase.d.ts +2 -2
  2120. package/serialization/resources/segments/types/SegmentBase.js +1 -1
  2121. package/serialization/resources/segments/types/SegmentField.d.ts +2 -2
  2122. package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -2
  2123. package/serialization/resources/segments/types/SegmentPatchRequest.js +1 -1
  2124. package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -2
  2125. package/serialization/resources/segments/types/SegmentResponse.d.ts +3 -3
  2126. package/serialization/resources/segments/types/SegmentResponse.js +1 -1
  2127. package/serialization/resources/segments/types/SegmentStatus.d.ts +2 -2
  2128. package/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +3 -3
  2129. package/serialization/resources/segments/types/SegmentsSearchRequest.js +1 -1
  2130. package/serialization/resources/segments/types/SegmentsSearchResponse.d.ts +3 -3
  2131. package/serialization/resources/segments/types/SegmentsSearchResponse.js +1 -1
  2132. package/serialization/resources/segments/types/index.d.ts +4 -4
  2133. package/serialization/resources/segments/types/index.js +4 -4
  2134. package/serialization/resources/translations/types/TranslationRequest.d.ts +2 -2
  2135. package/serialization/resources/translations/types/TranslationResponse.d.ts +2 -2
  2136. package/serialization/resources/triggers/types/EventTriggerBase.d.ts +3 -3
  2137. package/serialization/resources/triggers/types/EventTriggerBase.js +1 -1
  2138. package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -2
  2139. package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -2
  2140. package/serialization/resources/triggers/types/EventTriggersSearchRequest.d.ts +3 -3
  2141. package/serialization/resources/triggers/types/EventTriggersSearchRequest.js +1 -1
  2142. package/serialization/resources/triggers/types/EventTriggersSearchResponse.d.ts +3 -3
  2143. package/serialization/resources/triggers/types/EventTriggersSearchResponse.js +1 -1
  2144. package/serialization/resources/triggers/types/TriggerField.d.ts +2 -2
  2145. package/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +2 -2
  2146. package/serialization/resources/triggers/types/index.d.ts +2 -3
  2147. package/serialization/resources/triggers/types/index.js +2 -3
  2148. package/serialization/resources/users/types/AgentUser.d.ts +2 -2
  2149. package/serialization/resources/users/types/AgentUserField.d.ts +2 -2
  2150. package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -2
  2151. package/serialization/resources/users/types/AgentUserSearchRequest.d.ts +3 -3
  2152. package/serialization/resources/users/types/AgentUserSearchRequest.js +1 -1
  2153. package/serialization/resources/users/types/AgentUserSearchResponse.d.ts +3 -3
  2154. package/serialization/resources/users/types/AgentUserSearchResponse.js +1 -1
  2155. package/serialization/resources/users/types/AppUserSummary.d.ts +3 -3
  2156. package/serialization/resources/users/types/AppUserSummary.js +1 -1
  2157. package/serialization/resources/users/types/index.d.ts +1 -1
  2158. package/serialization/resources/users/types/index.js +1 -1
  2159. package/serialization/resources/websockets/client/index.d.ts +1 -0
  2160. package/serialization/resources/websockets/client/index.js +17 -0
  2161. package/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts +15 -0
  2162. package/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.js +56 -0
  2163. package/serialization/resources/websockets/client/socket/index.d.ts +1 -0
  2164. package/serialization/resources/websockets/client/socket/index.js +5 -0
  2165. package/serialization/resources/websockets/index.d.ts +2 -0
  2166. package/serialization/resources/websockets/index.js +18 -0
  2167. package/serialization/resources/websockets/types/AgentAudioChunk.d.ts +11 -0
  2168. package/serialization/resources/websockets/types/AgentAudioChunk.js +45 -0
  2169. package/serialization/resources/websockets/types/AgentTranscript.d.ts +11 -0
  2170. package/serialization/resources/websockets/types/AgentTranscript.js +45 -0
  2171. package/serialization/resources/websockets/types/AudioFormat.d.ts +7 -0
  2172. package/serialization/resources/websockets/types/AudioFormat.js +39 -0
  2173. package/serialization/resources/websockets/types/Config.d.ts +14 -0
  2174. package/serialization/resources/websockets/types/Config.js +46 -0
  2175. package/serialization/resources/websockets/types/ConversationEnded.d.ts +10 -0
  2176. package/serialization/resources/websockets/types/ConversationEnded.js +44 -0
  2177. package/serialization/resources/websockets/types/ConversationReady.d.ts +9 -0
  2178. package/serialization/resources/websockets/types/ConversationReady.js +41 -0
  2179. package/serialization/resources/websockets/types/Error_.d.ts +12 -0
  2180. package/serialization/resources/websockets/types/Error_.js +46 -0
  2181. package/serialization/resources/websockets/types/ServerEventBase.d.ts +9 -0
  2182. package/serialization/resources/websockets/types/ServerEventBase.js +41 -0
  2183. package/serialization/resources/websockets/types/UserAudioChunk.d.ts +10 -0
  2184. package/serialization/resources/websockets/types/UserAudioChunk.js +42 -0
  2185. package/serialization/resources/websockets/types/UserFinishedSpeaking.d.ts +10 -0
  2186. package/serialization/resources/websockets/types/UserFinishedSpeaking.js +44 -0
  2187. package/serialization/resources/websockets/types/UserStartedSpeaking.d.ts +10 -0
  2188. package/serialization/resources/websockets/types/UserStartedSpeaking.js +44 -0
  2189. package/serialization/resources/websockets/types/UserTranscript.d.ts +11 -0
  2190. package/serialization/resources/websockets/types/UserTranscript.js +45 -0
  2191. package/serialization/resources/websockets/types/index.d.ts +12 -0
  2192. package/serialization/resources/websockets/types/index.js +28 -0
  2193. package/version.d.ts +1 -1
  2194. package/version.js +1 -1
  2195. package/.prettierignore +0 -9
  2196. /package/api/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  2197. /package/api/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  2198. /package/api/resources/{agents → commons}/types/PiiCategory.d.ts +0 -0
  2199. /package/api/resources/{agents → commons}/types/PiiCategory.js +0 -0
  2200. /package/dist/api/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  2201. /package/dist/api/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  2202. /package/dist/api/resources/{agents → commons}/types/PiiCategory.d.ts +0 -0
  2203. /package/dist/api/resources/{agents → commons}/types/PiiCategory.js +0 -0
  2204. /package/dist/serialization/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  2205. /package/dist/serialization/resources/{agents → commons}/types/PiiCategory.js +0 -0
  2206. /package/serialization/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  2207. /package/serialization/resources/{agents → commons}/types/PiiCategory.js +0 -0
@@ -1,2 +1,2 @@
1
- export * from "./types";
2
1
  export * from "./client";
2
+ export * from "./types";
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types"), exports);
18
17
  __exportStar(require("./client"), exports);
18
+ __exportStar(require("./types"), exports);
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface KnowledgeBaseFilter {
3
3
  /**
4
4
  * Full-text search query for matching knowledge bases by content.
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface KnowledgeBaseProperties {
3
3
  /** The name of the knowledge base */
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface KnowledgeBaseSearchRequest extends MavenAGI.BasePaginatedRequest {
3
3
  sort?: MavenAGI.KnowledgeBaseField;
4
4
  filter?: MavenAGI.KnowledgeBaseFilter;
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface KnowledgeBaseVersionsListResponse {
3
3
  /** The active knowledge base versions for the knowledge base. Includes all versions within the last 90 days or the last 10, whichever is greater. */
4
4
  knowledgeBaseVersions: MavenAGI.KnowledgeBaseVersion[];
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface KnowledgeBasesResponse extends MavenAGI.Page {
3
3
  /** The knowledge bases that match the search criteria */
4
4
  knowledgeBases: MavenAGI.KnowledgeBaseResponse[];
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface KnowledgeDocumentFilter {
3
3
  /**
4
4
  * Full-text search query for matching knowledge documents by content.
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -28,7 +28,7 @@ export interface KnowledgeDocumentRequest extends MavenAGI.BaseKnowledgeDocument
28
28
  /** The title of the document. Will be shown as part of answers. */
29
29
  title: string;
30
30
  /** ID of the asset associated with this document. This asset will be transformed into text and set as the content of the document. The following types are supported: `application/pdf`, `text/plain`. Either this or content is required, but not both */
31
- assetId?: MavenAGI.EntityIdBase;
31
+ assetId?: MavenAGI.EntityIdWithoutAgent;
32
32
  /** The content of the document. Not shown directly to users. May be provided in HTML or markdown. HTML will be converted to markdown automatically. Images are not currently supported and will be ignored. Either this or assetId is required, but not both */
33
33
  content?: string;
34
34
  /** Metadata for the knowledge document. */
@@ -37,4 +37,6 @@ export interface KnowledgeDocumentRequest extends MavenAGI.BaseKnowledgeDocument
37
37
  createdAt?: Date;
38
38
  /** The time at which this document was last modified. */
39
39
  updatedAt?: Date;
40
+ /** Scoped entities this document is associated with for context-based filtering. By default, the document is associated with the agent. */
41
+ relevantEntities?: MavenAGI.ScopedEntity[];
40
42
  }
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -31,6 +31,22 @@ import * as MavenAGI from "../../../index";
31
31
  * createdAt: new Date("2024-01-01T00:00:00.000Z"),
32
32
  * updatedAt: new Date("2024-02-02T00:00:00.000Z"),
33
33
  * llmInclusionStatus: MavenAGI.LlmInclusionStatus.WhenRelevant,
34
+ * relevantEntities: [{
35
+ * entityId: {
36
+ * type: MavenAGI.EntityType.Customer,
37
+ * appId: "crm",
38
+ * organizationId: "acme",
39
+ * agentId: "support",
40
+ * referenceId: "customer-42"
41
+ * },
42
+ * scopeEntityId: {
43
+ * type: MavenAGI.EntityType.Agent,
44
+ * appId: "maven",
45
+ * organizationId: "acme",
46
+ * agentId: "support",
47
+ * referenceId: "support"
48
+ * }
49
+ * }],
34
50
  * knowledgeBaseLlmInclusionStatus: MavenAGI.LlmInclusionStatus.WhenRelevant
35
51
  * }
36
52
  */
@@ -43,4 +59,6 @@ export interface KnowledgeDocumentResponse extends MavenAGI.KnowledgeDocumentSea
43
59
  asset?: MavenAGI.AttachmentResponse;
44
60
  /** Metadata for the knowledge document. */
45
61
  metadata: Record<string, string>;
62
+ /** Scoped entities this document is associated with for context-based filtering. */
63
+ relevantEntities: MavenAGI.ScopedEntity[];
46
64
  }
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface KnowledgeDocumentSearchRequest extends MavenAGI.BasePaginatedRequest {
3
3
  sort?: MavenAGI.KnowledgeDocumentField;
4
4
  filter?: MavenAGI.KnowledgeDocumentFilter;
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface KnowledgeDocumentsResponse extends MavenAGI.Page {
3
3
  /** The knowledge documents that match the search criteria. Content will not be included. */
4
4
  knowledgeDocuments: MavenAGI.KnowledgeDocumentSearchResponse[];
@@ -1,28 +1,28 @@
1
+ export * from "./BaseKnowledgeDocument";
2
+ export * from "./FinalizeKnowledgeBaseVersionRequest";
3
+ export * from "./KnowledgeBaseField";
4
+ export * from "./KnowledgeBaseFilter";
1
5
  export * from "./KnowledgeBaseProperties";
6
+ export * from "./KnowledgeBaseRefreshFrequency";
7
+ export * from "./KnowledgeBaseRefreshRequest";
2
8
  export * from "./KnowledgeBaseRequest";
3
9
  export * from "./KnowledgeBaseResponse";
10
+ export * from "./KnowledgeBaseSearchRequest";
11
+ export * from "./KnowledgeBasesResponse";
4
12
  export * from "./KnowledgeBaseType";
5
- export * from "./KnowledgeBaseRefreshFrequency";
6
- export * from "./KnowledgeBaseVersionRequest";
7
13
  export * from "./KnowledgeBaseVersion";
8
- export * from "./KnowledgeBaseVersionType";
9
- export * from "./KnowledgeBaseVersionStatus";
10
14
  export * from "./KnowledgeBaseVersionFinalizeStatus";
11
- export * from "./FinalizeKnowledgeBaseVersionRequest";
12
- export * from "./BaseKnowledgeDocument";
13
- export * from "./KnowledgeDocumentContentType";
15
+ export * from "./KnowledgeBaseVersionRequest";
16
+ export * from "./KnowledgeBaseVersionStatus";
17
+ export * from "./KnowledgeBaseVersionsListResponse";
18
+ export * from "./KnowledgeBaseVersionType";
14
19
  export * from "./KnowledgeDeleteRequest";
15
- export * from "./KnowledgeDocumentRequest";
16
- export * from "./KnowledgeDocumentResponse";
17
- export * from "./KnowledgeDocumentStatus";
18
- export * from "./KnowledgeBaseField";
20
+ export * from "./KnowledgeDocumentContentType";
19
21
  export * from "./KnowledgeDocumentField";
20
- export * from "./KnowledgeBaseFilter";
21
22
  export * from "./KnowledgeDocumentFilter";
22
- export * from "./KnowledgeBaseSearchRequest";
23
- export * from "./KnowledgeBasesResponse";
23
+ export * from "./KnowledgeDocumentRequest";
24
+ export * from "./KnowledgeDocumentResponse";
24
25
  export * from "./KnowledgeDocumentSearchRequest";
25
26
  export * from "./KnowledgeDocumentSearchResponse";
27
+ export * from "./KnowledgeDocumentStatus";
26
28
  export * from "./KnowledgeDocumentsResponse";
27
- export * from "./KnowledgeBaseVersionsListResponse";
28
- export * from "./KnowledgeBaseRefreshRequest";
@@ -14,31 +14,31 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./BaseKnowledgeDocument"), exports);
18
+ __exportStar(require("./FinalizeKnowledgeBaseVersionRequest"), exports);
19
+ __exportStar(require("./KnowledgeBaseField"), exports);
20
+ __exportStar(require("./KnowledgeBaseFilter"), exports);
17
21
  __exportStar(require("./KnowledgeBaseProperties"), exports);
22
+ __exportStar(require("./KnowledgeBaseRefreshFrequency"), exports);
23
+ __exportStar(require("./KnowledgeBaseRefreshRequest"), exports);
18
24
  __exportStar(require("./KnowledgeBaseRequest"), exports);
19
25
  __exportStar(require("./KnowledgeBaseResponse"), exports);
26
+ __exportStar(require("./KnowledgeBaseSearchRequest"), exports);
27
+ __exportStar(require("./KnowledgeBasesResponse"), exports);
20
28
  __exportStar(require("./KnowledgeBaseType"), exports);
21
- __exportStar(require("./KnowledgeBaseRefreshFrequency"), exports);
22
- __exportStar(require("./KnowledgeBaseVersionRequest"), exports);
23
29
  __exportStar(require("./KnowledgeBaseVersion"), exports);
24
- __exportStar(require("./KnowledgeBaseVersionType"), exports);
25
- __exportStar(require("./KnowledgeBaseVersionStatus"), exports);
26
30
  __exportStar(require("./KnowledgeBaseVersionFinalizeStatus"), exports);
27
- __exportStar(require("./FinalizeKnowledgeBaseVersionRequest"), exports);
28
- __exportStar(require("./BaseKnowledgeDocument"), exports);
29
- __exportStar(require("./KnowledgeDocumentContentType"), exports);
31
+ __exportStar(require("./KnowledgeBaseVersionRequest"), exports);
32
+ __exportStar(require("./KnowledgeBaseVersionStatus"), exports);
33
+ __exportStar(require("./KnowledgeBaseVersionsListResponse"), exports);
34
+ __exportStar(require("./KnowledgeBaseVersionType"), exports);
30
35
  __exportStar(require("./KnowledgeDeleteRequest"), exports);
31
- __exportStar(require("./KnowledgeDocumentRequest"), exports);
32
- __exportStar(require("./KnowledgeDocumentResponse"), exports);
33
- __exportStar(require("./KnowledgeDocumentStatus"), exports);
34
- __exportStar(require("./KnowledgeBaseField"), exports);
36
+ __exportStar(require("./KnowledgeDocumentContentType"), exports);
35
37
  __exportStar(require("./KnowledgeDocumentField"), exports);
36
- __exportStar(require("./KnowledgeBaseFilter"), exports);
37
38
  __exportStar(require("./KnowledgeDocumentFilter"), exports);
38
- __exportStar(require("./KnowledgeBaseSearchRequest"), exports);
39
- __exportStar(require("./KnowledgeBasesResponse"), exports);
39
+ __exportStar(require("./KnowledgeDocumentRequest"), exports);
40
+ __exportStar(require("./KnowledgeDocumentResponse"), exports);
40
41
  __exportStar(require("./KnowledgeDocumentSearchRequest"), exports);
41
42
  __exportStar(require("./KnowledgeDocumentSearchResponse"), exports);
43
+ __exportStar(require("./KnowledgeDocumentStatus"), exports);
42
44
  __exportStar(require("./KnowledgeDocumentsResponse"), exports);
43
- __exportStar(require("./KnowledgeBaseVersionsListResponse"), exports);
44
- __exportStar(require("./KnowledgeBaseRefreshRequest"), exports);
@@ -1,36 +1,10 @@
1
- import * as environments from "../../../../environments";
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
2
2
  import * as core from "../../../../core";
3
3
  import * as MavenAGI from "../../../index";
4
4
  export declare namespace Organizations {
5
- interface Options {
6
- environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
7
- /** Specify a custom URL to connect the client to. */
8
- baseUrl?: core.Supplier<string>;
9
- appId?: core.Supplier<string | undefined>;
10
- appSecret?: core.Supplier<string | undefined>;
11
- /** Override the X-Organization-Id header */
12
- organizationId: core.Supplier<string>;
13
- /** Override the X-Agent-Id header */
14
- agentId: core.Supplier<string>;
15
- /** Additional headers to include in requests. */
16
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
17
- fetcher?: core.FetchFunction;
5
+ interface Options extends BaseClientOptions {
18
6
  }
19
- interface RequestOptions {
20
- /** The maximum time to wait for a response in seconds. */
21
- timeoutInSeconds?: number;
22
- /** The number of times to retry the request. Defaults to 2. */
23
- maxRetries?: number;
24
- /** A hook to abort the request. */
25
- abortSignal?: AbortSignal;
26
- /** Override the X-Organization-Id header */
27
- organizationId?: string;
28
- /** Override the X-Agent-Id header */
29
- agentId?: string;
30
- /** Additional query string parameters to include in the request. */
31
- queryParams?: Record<string, unknown>;
32
- /** Additional headers to include in the request. */
33
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
7
+ interface RequestOptions extends BaseRequestOptions {
34
8
  }
35
9
  }
36
10
  export declare class Organizations {
@@ -44,12 +44,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.Organizations = void 0;
47
- const environments = __importStar(require("../../../../environments"));
48
47
  const core = __importStar(require("../../../../core"));
49
- const MavenAGI = __importStar(require("../../../index"));
50
48
  const headers_1 = require("../../../../core/headers");
51
- const serializers = __importStar(require("../../../../serialization/index"));
49
+ const environments = __importStar(require("../../../../environments"));
52
50
  const errors = __importStar(require("../../../../errors/index"));
51
+ const serializers = __importStar(require("../../../../serialization/index"));
52
+ const MavenAGI = __importStar(require("../../../index"));
53
53
  class Organizations {
54
54
  constructor(_options) {
55
55
  this._options = _options;
@@ -80,22 +80,22 @@ class Organizations {
80
80
  }
81
81
  __create(organizationReferenceId, request, requestOptions) {
82
82
  return __awaiter(this, void 0, void 0, function* () {
83
- var _a, _b, _c, _d, _e, _f, _g, _h;
84
- let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
83
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
84
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
85
85
  Authorization: yield this._getAuthorizationHeader(),
86
86
  "X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
87
87
  "X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
88
88
  }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
89
89
  const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
90
- url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${encodeURIComponent(organizationReferenceId)}`),
90
+ url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${core.url.encodePathParam(organizationReferenceId)}`),
91
91
  method: "POST",
92
92
  headers: _headers,
93
93
  contentType: "application/json",
94
94
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
95
95
  requestType: "json",
96
96
  body: serializers.CreateOrganizationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
97
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
98
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
97
+ timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
98
+ maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
99
99
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
100
100
  });
101
101
  if (_response.ok) {
@@ -175,19 +175,19 @@ class Organizations {
175
175
  }
176
176
  __get(organizationReferenceId, requestOptions) {
177
177
  return __awaiter(this, void 0, void 0, function* () {
178
- var _a, _b, _c, _d, _e, _f, _g, _h;
179
- let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
178
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
179
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
180
180
  Authorization: yield this._getAuthorizationHeader(),
181
181
  "X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
182
182
  "X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
183
183
  }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
184
184
  const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
185
- url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${encodeURIComponent(organizationReferenceId)}`),
185
+ url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${core.url.encodePathParam(organizationReferenceId)}`),
186
186
  method: "GET",
187
187
  headers: _headers,
188
188
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
189
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
190
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
189
+ timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
190
+ maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
191
191
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
192
192
  });
193
193
  if (_response.ok) {
@@ -273,22 +273,22 @@ class Organizations {
273
273
  }
274
274
  __patch(organizationReferenceId, request, requestOptions) {
275
275
  return __awaiter(this, void 0, void 0, function* () {
276
- var _a, _b, _c, _d, _e, _f, _g, _h;
277
- let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
276
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
277
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
278
278
  Authorization: yield this._getAuthorizationHeader(),
279
279
  "X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
280
280
  "X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
281
281
  }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
282
282
  const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
283
- url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${encodeURIComponent(organizationReferenceId)}`),
283
+ url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${core.url.encodePathParam(organizationReferenceId)}`),
284
284
  method: "PATCH",
285
285
  headers: _headers,
286
286
  contentType: "application/json",
287
287
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
288
288
  requestType: "json",
289
289
  body: serializers.OrganizationPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
290
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
291
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
290
+ timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
291
+ maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
292
292
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
293
293
  });
294
294
  if (_response.ok) {
@@ -372,19 +372,19 @@ class Organizations {
372
372
  }
373
373
  __delete(organizationReferenceId, requestOptions) {
374
374
  return __awaiter(this, void 0, void 0, function* () {
375
- var _a, _b, _c, _d, _e, _f, _g, _h;
376
- let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
375
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
376
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
377
377
  Authorization: yield this._getAuthorizationHeader(),
378
378
  "X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
379
379
  "X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
380
380
  }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
381
381
  const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
382
- url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${encodeURIComponent(organizationReferenceId)}`),
382
+ url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${core.url.encodePathParam(organizationReferenceId)}`),
383
383
  method: "DELETE",
384
384
  headers: _headers,
385
385
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
386
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
387
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
386
+ timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
387
+ maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
388
388
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
389
389
  });
390
390
  if (_response.ok) {
@@ -488,8 +488,8 @@ class Organizations {
488
488
  }
489
489
  __getConversationTable(request, requestOptions) {
490
490
  return __awaiter(this, void 0, void 0, function* () {
491
- var _a, _b, _c, _d, _e, _f, _g, _h;
492
- let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
491
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
492
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
493
493
  Authorization: yield this._getAuthorizationHeader(),
494
494
  "X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
495
495
  "X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
@@ -502,8 +502,8 @@ class Organizations {
502
502
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
503
503
  requestType: "json",
504
504
  body: serializers.ConversationTableRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
505
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
506
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
505
+ timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
506
+ maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
507
507
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
508
508
  });
509
509
  if (_response.ok) {
@@ -631,8 +631,8 @@ class Organizations {
631
631
  }
632
632
  __getConversationChart(request, requestOptions) {
633
633
  return __awaiter(this, void 0, void 0, function* () {
634
- var _a, _b, _c, _d, _e, _f, _g, _h;
635
- let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
634
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
635
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
636
636
  Authorization: yield this._getAuthorizationHeader(),
637
637
  "X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
638
638
  "X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
@@ -645,8 +645,8 @@ class Organizations {
645
645
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
646
646
  requestType: "json",
647
647
  body: serializers.ConversationChartRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
648
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
649
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
648
+ timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
649
+ maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
650
650
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
651
651
  });
652
652
  if (_response.ok) {
@@ -711,8 +711,8 @@ class Organizations {
711
711
  _getAuthorizationHeader() {
712
712
  return __awaiter(this, void 0, void 0, function* () {
713
713
  var _a, _b;
714
- const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env["MAVENAGI_APP_ID"];
715
- const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env["MAVENAGI_APP_SECRET"];
714
+ const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env.MAVENAGI_APP_ID;
715
+ const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env.MAVENAGI_APP_SECRET;
716
716
  if (appId != null && appSecret != null) {
717
717
  return core.BasicAuth.toAuthorizationHeader({
718
718
  username: appId,
@@ -1,2 +1,2 @@
1
- export * from "./types";
2
1
  export * from "./client";
2
+ export * from "./types";
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types"), exports);
18
17
  __exportStar(require("./client"), exports);
18
+ __exportStar(require("./types"), exports);
@@ -1,3 +1,3 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface CreateOrganizationRequest extends MavenAGI.BaseOrganization {
3
3
  }
@@ -1,4 +1,4 @@
1
- import * as MavenAGI from "../../../index";
1
+ import type * as MavenAGI from "../../../index";
2
2
  export interface Organization extends MavenAGI.BaseOrganization {
3
3
  /** ID that uniquely identifies this organization */
4
4
  organizationId: MavenAGI.EntityIdBase;
@@ -1,4 +1,4 @@
1
1
  export * from "./BaseOrganization";
2
- export * from "./Organization";
3
2
  export * from "./CreateOrganizationRequest";
3
+ export * from "./Organization";
4
4
  export * from "./OrganizationPatchRequest";
@@ -15,6 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BaseOrganization"), exports);
18
- __exportStar(require("./Organization"), exports);
19
18
  __exportStar(require("./CreateOrganizationRequest"), exports);
19
+ __exportStar(require("./Organization"), exports);
20
20
  __exportStar(require("./OrganizationPatchRequest"), exports);
@@ -1,36 +1,10 @@
1
- import * as environments from "../../../../environments";
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
2
2
  import * as core from "../../../../core";
3
3
  import * as MavenAGI from "../../../index";
4
4
  export declare namespace Segments {
5
- interface Options {
6
- environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
7
- /** Specify a custom URL to connect the client to. */
8
- baseUrl?: core.Supplier<string>;
9
- appId?: core.Supplier<string | undefined>;
10
- appSecret?: core.Supplier<string | undefined>;
11
- /** Override the X-Organization-Id header */
12
- organizationId: core.Supplier<string>;
13
- /** Override the X-Agent-Id header */
14
- agentId: core.Supplier<string>;
15
- /** Additional headers to include in requests. */
16
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
17
- fetcher?: core.FetchFunction;
5
+ interface Options extends BaseClientOptions {
18
6
  }
19
- interface RequestOptions {
20
- /** The maximum time to wait for a response in seconds. */
21
- timeoutInSeconds?: number;
22
- /** The number of times to retry the request. Defaults to 2. */
23
- maxRetries?: number;
24
- /** A hook to abort the request. */
25
- abortSignal?: AbortSignal;
26
- /** Override the X-Organization-Id header */
27
- organizationId?: string;
28
- /** Override the X-Agent-Id header */
29
- agentId?: string;
30
- /** Additional query string parameters to include in the request. */
31
- queryParams?: Record<string, unknown>;
32
- /** Additional headers to include in the request. */
33
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
7
+ interface RequestOptions extends BaseRequestOptions {
34
8
  }
35
9
  }
36
10
  export declare class Segments {
@@ -69,11 +43,11 @@ export declare class Segments {
69
43
  * preconditionType: "group",
70
44
  * operator: "AND",
71
45
  * preconditions: [{
72
- * preconditionType: "user",
73
- * key: "userKey"
46
+ * "preconditionType": "user",
47
+ * "key": "userKey"
74
48
  * }, {
75
- * preconditionType: "user",
76
- * key: "userKey2"
49
+ * "preconditionType": "user",
50
+ * "key": "userKey2"
77
51
  * }]
78
52
  * }
79
53
  * })