mavenagi 1.0.5 → 1.0.6

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 (341) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +17 -12
  3. package/README.md +30 -13
  4. package/api/resources/actions/client/Client.js +3 -3
  5. package/api/resources/analytics/client/Client.d.ts +78 -0
  6. package/api/resources/analytics/client/Client.js +174 -0
  7. package/api/resources/analytics/client/index.d.ts +1 -0
  8. package/api/resources/analytics/client/index.js +2 -0
  9. package/api/resources/analytics/index.d.ts +2 -0
  10. package/api/resources/analytics/index.js +18 -0
  11. package/api/resources/analytics/types/Average.d.ts +9 -0
  12. package/api/resources/analytics/types/Average.js +5 -0
  13. package/api/resources/analytics/types/BasicMetric.d.ts +8 -0
  14. package/api/resources/analytics/types/BasicMetric.js +5 -0
  15. package/api/resources/analytics/types/ColumnDefinition.d.ts +10 -0
  16. package/api/resources/analytics/types/ColumnDefinition.js +5 -0
  17. package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +8 -0
  18. package/api/resources/analytics/types/ConversationAnalyticsRequest.js +5 -0
  19. package/api/resources/analytics/types/ConversationRow.d.ts +13 -0
  20. package/api/resources/analytics/types/ConversationRow.js +5 -0
  21. package/api/resources/analytics/types/ConversationTableRequest.d.ts +50 -0
  22. package/api/resources/analytics/types/ConversationTableRequest.js +5 -0
  23. package/api/resources/analytics/types/ConversationTableResponse.d.ts +129 -0
  24. package/api/resources/analytics/types/ConversationTableResponse.js +5 -0
  25. package/api/resources/analytics/types/Count.d.ts +8 -0
  26. package/api/resources/analytics/types/Count.js +5 -0
  27. package/api/resources/analytics/types/DistinctCount.d.ts +10 -0
  28. package/api/resources/analytics/types/DistinctCount.js +5 -0
  29. package/api/resources/analytics/types/GroupBy.d.ts +12 -0
  30. package/api/resources/analytics/types/GroupBy.js +5 -0
  31. package/api/resources/analytics/types/Max.d.ts +9 -0
  32. package/api/resources/analytics/types/Max.js +5 -0
  33. package/api/resources/analytics/types/Median.d.ts +9 -0
  34. package/api/resources/analytics/types/Median.js +5 -0
  35. package/api/resources/analytics/types/Metric.d.ts +35 -0
  36. package/api/resources/analytics/types/Metric.js +5 -0
  37. package/api/resources/analytics/types/Min.d.ts +9 -0
  38. package/api/resources/analytics/types/Min.js +5 -0
  39. package/api/resources/analytics/types/Percentile.d.ts +11 -0
  40. package/api/resources/analytics/types/Percentile.js +5 -0
  41. package/api/resources/analytics/types/Sum.d.ts +9 -0
  42. package/api/resources/analytics/types/Sum.js +5 -0
  43. package/api/resources/analytics/types/index.d.ts +16 -0
  44. package/api/resources/analytics/types/index.js +32 -0
  45. package/api/resources/analyticsCommons/index.d.ts +1 -0
  46. package/api/resources/analyticsCommons/index.js +17 -0
  47. package/api/resources/analyticsCommons/types/CellData.d.ts +32 -0
  48. package/api/resources/analyticsCommons/types/CellData.js +5 -0
  49. package/api/resources/analyticsCommons/types/FieldValue.d.ts +33 -0
  50. package/api/resources/analyticsCommons/types/FieldValue.js +5 -0
  51. package/api/resources/analyticsCommons/types/Range.d.ts +9 -0
  52. package/api/resources/analyticsCommons/types/Range.js +5 -0
  53. package/api/resources/analyticsCommons/types/TimeInterval.d.ts +11 -0
  54. package/api/resources/analyticsCommons/types/TimeInterval.js +13 -0
  55. package/api/resources/analyticsCommons/types/index.d.ts +4 -0
  56. package/api/resources/analyticsCommons/types/index.js +20 -0
  57. package/api/resources/appSettings/client/Client.js +1 -1
  58. package/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
  59. package/api/resources/commons/types/ConversationResponse.d.ts +10 -1
  60. package/api/resources/commons/types/ConversationSummary.d.ts +10 -0
  61. package/api/resources/commons/types/ConversationSummary.js +5 -0
  62. package/api/resources/commons/types/EntityId.d.ts +6 -7
  63. package/api/resources/commons/types/EntityIdFilter.d.ts +7 -0
  64. package/api/resources/commons/types/EntityIdFilter.js +5 -0
  65. package/api/resources/commons/types/EntityIdWithoutAgent.d.ts +13 -0
  66. package/api/resources/commons/types/EntityIdWithoutAgent.js +5 -0
  67. package/api/resources/commons/types/ResponseConfigPrecondition.d.ts +11 -0
  68. package/api/resources/commons/types/ResponseConfigPrecondition.js +5 -0
  69. package/api/resources/commons/types/index.d.ts +4 -0
  70. package/api/resources/commons/types/index.js +4 -0
  71. package/api/resources/conversation/client/Client.d.ts +47 -4
  72. package/api/resources/conversation/client/Client.js +124 -14
  73. package/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +19 -0
  74. package/api/resources/conversation/client/requests/ConversationDeleteRequest.js +5 -0
  75. package/api/resources/conversation/client/requests/index.d.ts +1 -0
  76. package/api/resources/conversation/types/AskRequest.d.ts +1 -1
  77. package/api/resources/conversation/types/ConversationField.d.ts +26 -0
  78. package/api/resources/conversation/types/ConversationField.js +28 -0
  79. package/api/resources/conversation/types/ConversationFilter.d.ts +21 -0
  80. package/api/resources/conversation/types/ConversationFilter.js +5 -0
  81. package/api/resources/conversation/types/Quality.d.ts +9 -0
  82. package/api/resources/conversation/types/Quality.js +11 -0
  83. package/api/resources/conversation/types/QualityReason.d.ts +15 -0
  84. package/api/resources/conversation/types/QualityReason.js +17 -0
  85. package/api/resources/conversation/types/index.d.ts +4 -0
  86. package/api/resources/conversation/types/index.js +4 -0
  87. package/api/resources/index.d.ts +4 -0
  88. package/api/resources/index.js +5 -1
  89. package/api/resources/knowledge/client/Client.js +7 -7
  90. package/api/resources/translations/client/Client.js +1 -1
  91. package/api/resources/triggers/client/Client.js +3 -3
  92. package/api/resources/users/client/Client.js +2 -2
  93. package/dist/Client.d.ts +3 -0
  94. package/dist/Client.js +17 -12
  95. package/dist/api/resources/actions/client/Client.js +3 -3
  96. package/dist/api/resources/analytics/client/Client.d.ts +78 -0
  97. package/dist/api/resources/analytics/client/Client.js +174 -0
  98. package/dist/api/resources/analytics/client/index.d.ts +1 -0
  99. package/dist/api/resources/analytics/client/index.js +2 -0
  100. package/dist/api/resources/analytics/index.d.ts +2 -0
  101. package/dist/api/resources/analytics/index.js +18 -0
  102. package/dist/api/resources/analytics/types/Average.d.ts +9 -0
  103. package/dist/api/resources/analytics/types/Average.js +5 -0
  104. package/dist/api/resources/analytics/types/BasicMetric.d.ts +8 -0
  105. package/dist/api/resources/analytics/types/BasicMetric.js +5 -0
  106. package/dist/api/resources/analytics/types/ColumnDefinition.d.ts +10 -0
  107. package/dist/api/resources/analytics/types/ColumnDefinition.js +5 -0
  108. package/dist/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +8 -0
  109. package/dist/api/resources/analytics/types/ConversationAnalyticsRequest.js +5 -0
  110. package/dist/api/resources/analytics/types/ConversationRow.d.ts +13 -0
  111. package/dist/api/resources/analytics/types/ConversationRow.js +5 -0
  112. package/dist/api/resources/analytics/types/ConversationTableRequest.d.ts +50 -0
  113. package/dist/api/resources/analytics/types/ConversationTableRequest.js +5 -0
  114. package/dist/api/resources/analytics/types/ConversationTableResponse.d.ts +129 -0
  115. package/dist/api/resources/analytics/types/ConversationTableResponse.js +5 -0
  116. package/dist/api/resources/analytics/types/Count.d.ts +8 -0
  117. package/dist/api/resources/analytics/types/Count.js +5 -0
  118. package/dist/api/resources/analytics/types/DistinctCount.d.ts +10 -0
  119. package/dist/api/resources/analytics/types/DistinctCount.js +5 -0
  120. package/dist/api/resources/analytics/types/GroupBy.d.ts +12 -0
  121. package/dist/api/resources/analytics/types/GroupBy.js +5 -0
  122. package/dist/api/resources/analytics/types/Max.d.ts +9 -0
  123. package/dist/api/resources/analytics/types/Max.js +5 -0
  124. package/dist/api/resources/analytics/types/Median.d.ts +9 -0
  125. package/dist/api/resources/analytics/types/Median.js +5 -0
  126. package/dist/api/resources/analytics/types/Metric.d.ts +35 -0
  127. package/dist/api/resources/analytics/types/Metric.js +5 -0
  128. package/dist/api/resources/analytics/types/Min.d.ts +9 -0
  129. package/dist/api/resources/analytics/types/Min.js +5 -0
  130. package/dist/api/resources/analytics/types/Percentile.d.ts +11 -0
  131. package/dist/api/resources/analytics/types/Percentile.js +5 -0
  132. package/dist/api/resources/analytics/types/Sum.d.ts +9 -0
  133. package/dist/api/resources/analytics/types/Sum.js +5 -0
  134. package/dist/api/resources/analytics/types/index.d.ts +16 -0
  135. package/dist/api/resources/analytics/types/index.js +32 -0
  136. package/dist/api/resources/analyticsCommons/index.d.ts +1 -0
  137. package/dist/api/resources/analyticsCommons/index.js +17 -0
  138. package/dist/api/resources/analyticsCommons/types/CellData.d.ts +32 -0
  139. package/dist/api/resources/analyticsCommons/types/CellData.js +5 -0
  140. package/dist/api/resources/analyticsCommons/types/FieldValue.d.ts +33 -0
  141. package/dist/api/resources/analyticsCommons/types/FieldValue.js +5 -0
  142. package/dist/api/resources/analyticsCommons/types/Range.d.ts +9 -0
  143. package/dist/api/resources/analyticsCommons/types/Range.js +5 -0
  144. package/dist/api/resources/analyticsCommons/types/TimeInterval.d.ts +11 -0
  145. package/dist/api/resources/analyticsCommons/types/TimeInterval.js +13 -0
  146. package/dist/api/resources/analyticsCommons/types/index.d.ts +4 -0
  147. package/dist/api/resources/analyticsCommons/types/index.js +20 -0
  148. package/dist/api/resources/appSettings/client/Client.js +1 -1
  149. package/dist/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
  150. package/dist/api/resources/commons/types/ConversationResponse.d.ts +10 -1
  151. package/dist/api/resources/commons/types/ConversationSummary.d.ts +10 -0
  152. package/dist/api/resources/commons/types/ConversationSummary.js +5 -0
  153. package/dist/api/resources/commons/types/EntityId.d.ts +6 -7
  154. package/dist/api/resources/commons/types/EntityIdFilter.d.ts +7 -0
  155. package/dist/api/resources/commons/types/EntityIdFilter.js +5 -0
  156. package/dist/api/resources/commons/types/EntityIdWithoutAgent.d.ts +13 -0
  157. package/dist/api/resources/commons/types/EntityIdWithoutAgent.js +5 -0
  158. package/dist/api/resources/commons/types/ResponseConfigPrecondition.d.ts +11 -0
  159. package/dist/api/resources/commons/types/ResponseConfigPrecondition.js +5 -0
  160. package/dist/api/resources/commons/types/index.d.ts +4 -0
  161. package/dist/api/resources/commons/types/index.js +4 -0
  162. package/dist/api/resources/conversation/client/Client.d.ts +47 -4
  163. package/dist/api/resources/conversation/client/Client.js +124 -14
  164. package/dist/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +19 -0
  165. package/dist/api/resources/conversation/client/requests/ConversationDeleteRequest.js +5 -0
  166. package/dist/api/resources/conversation/client/requests/index.d.ts +1 -0
  167. package/dist/api/resources/conversation/types/AskRequest.d.ts +1 -1
  168. package/dist/api/resources/conversation/types/ConversationField.d.ts +26 -0
  169. package/dist/api/resources/conversation/types/ConversationField.js +28 -0
  170. package/dist/api/resources/conversation/types/ConversationFilter.d.ts +21 -0
  171. package/dist/api/resources/conversation/types/ConversationFilter.js +5 -0
  172. package/dist/api/resources/conversation/types/Quality.d.ts +9 -0
  173. package/dist/api/resources/conversation/types/Quality.js +11 -0
  174. package/dist/api/resources/conversation/types/QualityReason.d.ts +15 -0
  175. package/dist/api/resources/conversation/types/QualityReason.js +17 -0
  176. package/dist/api/resources/conversation/types/index.d.ts +4 -0
  177. package/dist/api/resources/conversation/types/index.js +4 -0
  178. package/dist/api/resources/index.d.ts +4 -0
  179. package/dist/api/resources/index.js +5 -1
  180. package/dist/api/resources/knowledge/client/Client.js +7 -7
  181. package/dist/api/resources/translations/client/Client.js +1 -1
  182. package/dist/api/resources/triggers/client/Client.js +3 -3
  183. package/dist/api/resources/users/client/Client.js +2 -2
  184. package/dist/serialization/resources/analytics/index.d.ts +1 -0
  185. package/dist/serialization/resources/analytics/index.js +17 -0
  186. package/dist/serialization/resources/analytics/types/Average.d.ts +12 -0
  187. package/dist/serialization/resources/analytics/types/Average.js +34 -0
  188. package/dist/serialization/resources/analytics/types/BasicMetric.d.ts +13 -0
  189. package/dist/serialization/resources/analytics/types/BasicMetric.js +34 -0
  190. package/dist/serialization/resources/analytics/types/ColumnDefinition.d.ts +14 -0
  191. package/dist/serialization/resources/analytics/types/ColumnDefinition.js +35 -0
  192. package/dist/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +13 -0
  193. package/dist/serialization/resources/analytics/types/ConversationAnalyticsRequest.js +34 -0
  194. package/dist/serialization/resources/analytics/types/ConversationRow.d.ts +16 -0
  195. package/dist/serialization/resources/analytics/types/ConversationRow.js +37 -0
  196. package/dist/serialization/resources/analytics/types/ConversationTableRequest.d.ts +18 -0
  197. package/dist/serialization/resources/analytics/types/ConversationTableRequest.js +41 -0
  198. package/dist/serialization/resources/analytics/types/ConversationTableResponse.d.ts +14 -0
  199. package/dist/serialization/resources/analytics/types/ConversationTableResponse.js +35 -0
  200. package/dist/serialization/resources/analytics/types/Count.d.ts +11 -0
  201. package/dist/serialization/resources/analytics/types/Count.js +31 -0
  202. package/dist/serialization/resources/analytics/types/DistinctCount.d.ts +12 -0
  203. package/dist/serialization/resources/analytics/types/DistinctCount.js +32 -0
  204. package/dist/serialization/resources/analytics/types/GroupBy.d.ts +16 -0
  205. package/dist/serialization/resources/analytics/types/GroupBy.js +37 -0
  206. package/dist/serialization/resources/analytics/types/Max.d.ts +12 -0
  207. package/dist/serialization/resources/analytics/types/Max.js +34 -0
  208. package/dist/serialization/resources/analytics/types/Median.d.ts +12 -0
  209. package/dist/serialization/resources/analytics/types/Median.js +34 -0
  210. package/dist/serialization/resources/analytics/types/Metric.d.ts +42 -0
  211. package/dist/serialization/resources/analytics/types/Metric.js +53 -0
  212. package/dist/serialization/resources/analytics/types/Min.d.ts +12 -0
  213. package/dist/serialization/resources/analytics/types/Min.js +34 -0
  214. package/dist/serialization/resources/analytics/types/Percentile.d.ts +13 -0
  215. package/dist/serialization/resources/analytics/types/Percentile.js +36 -0
  216. package/dist/serialization/resources/analytics/types/Sum.d.ts +12 -0
  217. package/dist/serialization/resources/analytics/types/Sum.js +34 -0
  218. package/dist/serialization/resources/analytics/types/index.d.ts +16 -0
  219. package/dist/serialization/resources/analytics/types/index.js +32 -0
  220. package/dist/serialization/resources/analyticsCommons/index.d.ts +1 -0
  221. package/dist/serialization/resources/analyticsCommons/index.js +17 -0
  222. package/dist/serialization/resources/analyticsCommons/types/CellData.d.ts +30 -0
  223. package/dist/serialization/resources/analyticsCommons/types/CellData.js +52 -0
  224. package/dist/serialization/resources/analyticsCommons/types/FieldValue.d.ts +38 -0
  225. package/dist/serialization/resources/analyticsCommons/types/FieldValue.js +56 -0
  226. package/dist/serialization/resources/analyticsCommons/types/Range.d.ts +13 -0
  227. package/dist/serialization/resources/analyticsCommons/types/Range.js +34 -0
  228. package/dist/serialization/resources/analyticsCommons/types/TimeInterval.d.ts +10 -0
  229. package/dist/serialization/resources/analyticsCommons/types/TimeInterval.js +31 -0
  230. package/dist/serialization/resources/analyticsCommons/types/index.d.ts +4 -0
  231. package/dist/serialization/resources/analyticsCommons/types/index.js +20 -0
  232. package/dist/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
  233. package/dist/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
  234. package/dist/serialization/resources/commons/types/ConversationResponse.d.ts +3 -0
  235. package/dist/serialization/resources/commons/types/ConversationResponse.js +3 -0
  236. package/dist/serialization/resources/commons/types/ConversationSummary.d.ts +14 -0
  237. package/dist/serialization/resources/commons/types/ConversationSummary.js +35 -0
  238. package/dist/serialization/resources/commons/types/EntityId.d.ts +2 -5
  239. package/dist/serialization/resources/commons/types/EntityId.js +2 -5
  240. package/dist/serialization/resources/commons/types/EntityIdFilter.d.ts +13 -0
  241. package/dist/serialization/resources/commons/types/EntityIdFilter.js +34 -0
  242. package/dist/serialization/resources/commons/types/EntityIdWithoutAgent.d.ts +15 -0
  243. package/dist/serialization/resources/commons/types/EntityIdWithoutAgent.js +38 -0
  244. package/dist/serialization/resources/commons/types/ResponseConfigPrecondition.d.ts +18 -0
  245. package/dist/serialization/resources/commons/types/ResponseConfigPrecondition.js +41 -0
  246. package/dist/serialization/resources/commons/types/index.d.ts +4 -0
  247. package/dist/serialization/resources/commons/types/index.js +4 -0
  248. package/dist/serialization/resources/conversation/types/ConversationField.d.ts +10 -0
  249. package/dist/serialization/resources/conversation/types/ConversationField.js +52 -0
  250. package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +32 -0
  251. package/dist/serialization/resources/conversation/types/ConversationFilter.js +53 -0
  252. package/dist/serialization/resources/conversation/types/Quality.d.ts +10 -0
  253. package/dist/serialization/resources/conversation/types/Quality.js +35 -0
  254. package/dist/serialization/resources/conversation/types/QualityReason.d.ts +10 -0
  255. package/dist/serialization/resources/conversation/types/QualityReason.js +41 -0
  256. package/dist/serialization/resources/conversation/types/index.d.ts +4 -0
  257. package/dist/serialization/resources/conversation/types/index.js +4 -0
  258. package/dist/serialization/resources/index.d.ts +4 -0
  259. package/dist/serialization/resources/index.js +5 -1
  260. package/dist/version.d.ts +1 -1
  261. package/dist/version.js +1 -1
  262. package/package.json +1 -1
  263. package/reference.md +203 -4
  264. package/serialization/resources/analytics/index.d.ts +1 -0
  265. package/serialization/resources/analytics/index.js +17 -0
  266. package/serialization/resources/analytics/types/Average.d.ts +12 -0
  267. package/serialization/resources/analytics/types/Average.js +34 -0
  268. package/serialization/resources/analytics/types/BasicMetric.d.ts +13 -0
  269. package/serialization/resources/analytics/types/BasicMetric.js +34 -0
  270. package/serialization/resources/analytics/types/ColumnDefinition.d.ts +14 -0
  271. package/serialization/resources/analytics/types/ColumnDefinition.js +35 -0
  272. package/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +13 -0
  273. package/serialization/resources/analytics/types/ConversationAnalyticsRequest.js +34 -0
  274. package/serialization/resources/analytics/types/ConversationRow.d.ts +16 -0
  275. package/serialization/resources/analytics/types/ConversationRow.js +37 -0
  276. package/serialization/resources/analytics/types/ConversationTableRequest.d.ts +18 -0
  277. package/serialization/resources/analytics/types/ConversationTableRequest.js +41 -0
  278. package/serialization/resources/analytics/types/ConversationTableResponse.d.ts +14 -0
  279. package/serialization/resources/analytics/types/ConversationTableResponse.js +35 -0
  280. package/serialization/resources/analytics/types/Count.d.ts +11 -0
  281. package/serialization/resources/analytics/types/Count.js +31 -0
  282. package/serialization/resources/analytics/types/DistinctCount.d.ts +12 -0
  283. package/serialization/resources/analytics/types/DistinctCount.js +32 -0
  284. package/serialization/resources/analytics/types/GroupBy.d.ts +16 -0
  285. package/serialization/resources/analytics/types/GroupBy.js +37 -0
  286. package/serialization/resources/analytics/types/Max.d.ts +12 -0
  287. package/serialization/resources/analytics/types/Max.js +34 -0
  288. package/serialization/resources/analytics/types/Median.d.ts +12 -0
  289. package/serialization/resources/analytics/types/Median.js +34 -0
  290. package/serialization/resources/analytics/types/Metric.d.ts +42 -0
  291. package/serialization/resources/analytics/types/Metric.js +53 -0
  292. package/serialization/resources/analytics/types/Min.d.ts +12 -0
  293. package/serialization/resources/analytics/types/Min.js +34 -0
  294. package/serialization/resources/analytics/types/Percentile.d.ts +13 -0
  295. package/serialization/resources/analytics/types/Percentile.js +36 -0
  296. package/serialization/resources/analytics/types/Sum.d.ts +12 -0
  297. package/serialization/resources/analytics/types/Sum.js +34 -0
  298. package/serialization/resources/analytics/types/index.d.ts +16 -0
  299. package/serialization/resources/analytics/types/index.js +32 -0
  300. package/serialization/resources/analyticsCommons/index.d.ts +1 -0
  301. package/serialization/resources/analyticsCommons/index.js +17 -0
  302. package/serialization/resources/analyticsCommons/types/CellData.d.ts +30 -0
  303. package/serialization/resources/analyticsCommons/types/CellData.js +52 -0
  304. package/serialization/resources/analyticsCommons/types/FieldValue.d.ts +38 -0
  305. package/serialization/resources/analyticsCommons/types/FieldValue.js +56 -0
  306. package/serialization/resources/analyticsCommons/types/Range.d.ts +13 -0
  307. package/serialization/resources/analyticsCommons/types/Range.js +34 -0
  308. package/serialization/resources/analyticsCommons/types/TimeInterval.d.ts +10 -0
  309. package/serialization/resources/analyticsCommons/types/TimeInterval.js +31 -0
  310. package/serialization/resources/analyticsCommons/types/index.d.ts +4 -0
  311. package/serialization/resources/analyticsCommons/types/index.js +20 -0
  312. package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
  313. package/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
  314. package/serialization/resources/commons/types/ConversationResponse.d.ts +3 -0
  315. package/serialization/resources/commons/types/ConversationResponse.js +3 -0
  316. package/serialization/resources/commons/types/ConversationSummary.d.ts +14 -0
  317. package/serialization/resources/commons/types/ConversationSummary.js +35 -0
  318. package/serialization/resources/commons/types/EntityId.d.ts +2 -5
  319. package/serialization/resources/commons/types/EntityId.js +2 -5
  320. package/serialization/resources/commons/types/EntityIdFilter.d.ts +13 -0
  321. package/serialization/resources/commons/types/EntityIdFilter.js +34 -0
  322. package/serialization/resources/commons/types/EntityIdWithoutAgent.d.ts +15 -0
  323. package/serialization/resources/commons/types/EntityIdWithoutAgent.js +38 -0
  324. package/serialization/resources/commons/types/ResponseConfigPrecondition.d.ts +18 -0
  325. package/serialization/resources/commons/types/ResponseConfigPrecondition.js +41 -0
  326. package/serialization/resources/commons/types/index.d.ts +4 -0
  327. package/serialization/resources/commons/types/index.js +4 -0
  328. package/serialization/resources/conversation/types/ConversationField.d.ts +10 -0
  329. package/serialization/resources/conversation/types/ConversationField.js +52 -0
  330. package/serialization/resources/conversation/types/ConversationFilter.d.ts +32 -0
  331. package/serialization/resources/conversation/types/ConversationFilter.js +53 -0
  332. package/serialization/resources/conversation/types/Quality.d.ts +10 -0
  333. package/serialization/resources/conversation/types/Quality.js +35 -0
  334. package/serialization/resources/conversation/types/QualityReason.d.ts +10 -0
  335. package/serialization/resources/conversation/types/QualityReason.js +41 -0
  336. package/serialization/resources/conversation/types/index.d.ts +4 -0
  337. package/serialization/resources/conversation/types/index.js +4 -0
  338. package/serialization/resources/index.d.ts +4 -0
  339. package/serialization/resources/index.js +5 -1
  340. package/version.d.ts +1 -1
  341. package/version.js +1 -1
@@ -0,0 +1,129 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * headers: ["count", "avg_first_response_time", "percentile_first_response_time"],
9
+ * rows: [{
10
+ * identifier: {
11
+ * [MavenAGI.ConversationField.Category]: {
12
+ * type: "string",
13
+ * value: "Sales"
14
+ * },
15
+ * [MavenAGI.ConversationField.CreatedAt]: {
16
+ * type: "dateTime",
17
+ * value: "2023-10-01T00:00:00Z"
18
+ * }
19
+ * },
20
+ * data: {
21
+ * "count": {
22
+ * type: "double",
23
+ * value: 5
24
+ * },
25
+ * "avg_first_response_time": {
26
+ * type: "millisecond",
27
+ * value: 150
28
+ * },
29
+ * "percentile_handle_time": {
30
+ * type: "percentileMap",
31
+ * value: {
32
+ * "25": 100,
33
+ * "75": 250
34
+ * }
35
+ * }
36
+ * }
37
+ * }, {
38
+ * identifier: {
39
+ * [MavenAGI.ConversationField.Category]: {
40
+ * type: "string",
41
+ * value: "Support"
42
+ * },
43
+ * [MavenAGI.ConversationField.CreatedAt]: {
44
+ * type: "dateTime",
45
+ * value: "2023-10-01T00:00:00Z"
46
+ * }
47
+ * },
48
+ * data: {
49
+ * "count": {
50
+ * type: "double",
51
+ * value: 10
52
+ * },
53
+ * "avg_first_response_time": {
54
+ * type: "millisecond",
55
+ * value: 300
56
+ * },
57
+ * "percentile_handle_time": {
58
+ * type: "percentileMap",
59
+ * value: {
60
+ * "25": 200,
61
+ * "75": 400
62
+ * }
63
+ * }
64
+ * }
65
+ * }, {
66
+ * identifier: {
67
+ * [MavenAGI.ConversationField.Category]: {
68
+ * type: "string",
69
+ * value: "Sales"
70
+ * }
71
+ * },
72
+ * data: {
73
+ * "count": {
74
+ * type: "double",
75
+ * value: 7
76
+ * },
77
+ * "avg_first_response_time": {
78
+ * type: "millisecond",
79
+ * value: 180
80
+ * },
81
+ * "percentile_handle_time": {
82
+ * type: "percentileMap",
83
+ * value: {
84
+ * "25": 130,
85
+ * "75": 280
86
+ * }
87
+ * }
88
+ * }
89
+ * }, {
90
+ * identifier: {
91
+ * [MavenAGI.ConversationField.Category]: {
92
+ * type: "string",
93
+ * value: "Support"
94
+ * },
95
+ * [MavenAGI.ConversationField.CreatedAt]: {
96
+ * type: "dateTime",
97
+ * value: "2023-10-02T00:00:00Z"
98
+ * }
99
+ * },
100
+ * data: {
101
+ * "count": {
102
+ * type: "double",
103
+ * value: 8
104
+ * },
105
+ * "avg_first_response_time": {
106
+ * type: "millisecond",
107
+ * value: 320
108
+ * },
109
+ * "percentile_handle_time": {
110
+ * type: "percentileMap",
111
+ * value: {
112
+ * "25": 220,
113
+ * "75": 420
114
+ * }
115
+ * }
116
+ * }
117
+ * }]
118
+ * }
119
+ */
120
+ export interface ConversationTableResponse {
121
+ /** Column headers in the table, aligning with the column definitions specified in the request. */
122
+ headers: string[];
123
+ /**
124
+ * The dataset rows, where each row represents a unique combination of grouping field values.
125
+ * The identifier map contains grouping field names mapped to their respective values.
126
+ * The data map contains column headers mapped to their respective metric values.
127
+ */
128
+ rows: MavenAGI.ConversationRow[];
129
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Returns the total count of records in a group.
6
+ */
7
+ export interface Count {
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ /**
6
+ * Estimates the number of unique values in the specified field.
7
+ * Supports fields with list values as well.
8
+ */
9
+ export interface DistinctCount extends MavenAGI.BasicMetric {
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ export interface GroupBy {
6
+ /** Field used for data grouping. */
7
+ field: MavenAGI.ConversationField;
8
+ /** Limits the number of groups returned (defaults to 100 if omitted). */
9
+ limit?: number;
10
+ /** Numeric ranges for grouping data into predefined buckets. Applies only to numeric fields. */
11
+ ranges?: MavenAGI.Range[];
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ /**
6
+ * Retrieves the maximum value of the specified field.
7
+ */
8
+ export interface Max extends MavenAGI.BasicMetric {
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ /**
6
+ * Computes the median value of the specified field.
7
+ */
8
+ export interface Median extends MavenAGI.BasicMetric {
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ /**
6
+ * Defines the metric to be calculated for a column or chart.
7
+ * Only numeric fields are supported, except for Count and DistinctCount, which can be applied to any field.
8
+ */
9
+ export declare type Metric = MavenAGI.Metric.Count | MavenAGI.Metric.Sum | MavenAGI.Metric.Average | MavenAGI.Metric.Min | MavenAGI.Metric.Max | MavenAGI.Metric.Percentile | MavenAGI.Metric.Median | MavenAGI.Metric.DistinctCount;
10
+ export declare namespace Metric {
11
+ interface Count extends MavenAGI.Count {
12
+ type: "count";
13
+ }
14
+ interface Sum extends MavenAGI.Sum {
15
+ type: "sum";
16
+ }
17
+ interface Average extends MavenAGI.Average {
18
+ type: "average";
19
+ }
20
+ interface Min extends MavenAGI.Min {
21
+ type: "min";
22
+ }
23
+ interface Max extends MavenAGI.Max {
24
+ type: "max";
25
+ }
26
+ interface Percentile extends MavenAGI.Percentile {
27
+ type: "percentile";
28
+ }
29
+ interface Median extends MavenAGI.Median {
30
+ type: "median";
31
+ }
32
+ interface DistinctCount extends MavenAGI.DistinctCount {
33
+ type: "distinctCount";
34
+ }
35
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ /**
6
+ * Retrieves the minimum value of the specified field.
7
+ */
8
+ export interface Min extends MavenAGI.BasicMetric {
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ /**
6
+ * Calculates specified percentiles for a numeric field.
7
+ */
8
+ export interface Percentile extends MavenAGI.BasicMetric {
9
+ /** List of percentiles to calculate. Example: [25, 50, 75] computes the 25th, 50th, and 75th percentiles. */
10
+ percentiles: number[];
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ /**
6
+ * Computes the sum of all values in the specified field.
7
+ */
8
+ export interface Sum extends MavenAGI.BasicMetric {
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ export * from "./ConversationAnalyticsRequest";
2
+ export * from "./ConversationTableRequest";
3
+ export * from "./ConversationTableResponse";
4
+ export * from "./ColumnDefinition";
5
+ export * from "./Metric";
6
+ export * from "./Count";
7
+ export * from "./BasicMetric";
8
+ export * from "./Sum";
9
+ export * from "./Average";
10
+ export * from "./Min";
11
+ export * from "./Max";
12
+ export * from "./Median";
13
+ export * from "./DistinctCount";
14
+ export * from "./Percentile";
15
+ export * from "./GroupBy";
16
+ export * from "./ConversationRow";
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ConversationAnalyticsRequest"), exports);
18
+ __exportStar(require("./ConversationTableRequest"), exports);
19
+ __exportStar(require("./ConversationTableResponse"), exports);
20
+ __exportStar(require("./ColumnDefinition"), exports);
21
+ __exportStar(require("./Metric"), exports);
22
+ __exportStar(require("./Count"), exports);
23
+ __exportStar(require("./BasicMetric"), exports);
24
+ __exportStar(require("./Sum"), exports);
25
+ __exportStar(require("./Average"), exports);
26
+ __exportStar(require("./Min"), exports);
27
+ __exportStar(require("./Max"), exports);
28
+ __exportStar(require("./Median"), exports);
29
+ __exportStar(require("./DistinctCount"), exports);
30
+ __exportStar(require("./Percentile"), exports);
31
+ __exportStar(require("./GroupBy"), exports);
32
+ __exportStar(require("./ConversationRow"), exports);
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,32 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ export declare type CellData = MavenAGI.CellData.Double | MavenAGI.CellData.Long | MavenAGI.CellData.Millisecond | MavenAGI.CellData.String
6
+ /**
7
+ * A map containing percentile values computed based on the percentile metric request.
8
+ * Keys represent percentile levels, and values are their corresponding computed results.
9
+ * */
10
+ | MavenAGI.CellData.PercentileMap;
11
+ export declare namespace CellData {
12
+ interface Double {
13
+ type: "double";
14
+ value: number;
15
+ }
16
+ interface Long {
17
+ type: "long";
18
+ value: number;
19
+ }
20
+ interface Millisecond {
21
+ type: "millisecond";
22
+ value: number;
23
+ }
24
+ interface String {
25
+ type: "string";
26
+ value: string;
27
+ }
28
+ interface PercentileMap {
29
+ type: "percentileMap";
30
+ value: Record<string, number>;
31
+ }
32
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ export declare type FieldValue = MavenAGI.FieldValue.DateTime | MavenAGI.FieldValue.String | MavenAGI.FieldValue.Double | MavenAGI.FieldValue.Long | MavenAGI.FieldValue.Range | MavenAGI.FieldValue.Boolean | MavenAGI.FieldValue.EntityId;
6
+ export declare namespace FieldValue {
7
+ interface DateTime {
8
+ type: "dateTime";
9
+ value: Date;
10
+ }
11
+ interface String {
12
+ type: "string";
13
+ value: string;
14
+ }
15
+ interface Double {
16
+ type: "double";
17
+ value: number;
18
+ }
19
+ interface Long {
20
+ type: "long";
21
+ value: number;
22
+ }
23
+ interface Range extends MavenAGI.Range {
24
+ type: "range";
25
+ }
26
+ interface Boolean {
27
+ type: "boolean";
28
+ value: boolean;
29
+ }
30
+ interface EntityId extends MavenAGI.EntityIdFilter {
31
+ type: "entityId";
32
+ }
33
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Range {
5
+ /** Lower bound of the range (inclusive). */
6
+ from?: number;
7
+ /** Upper bound of the range (exclusive). */
8
+ to?: number;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type TimeInterval = "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
5
+ export declare const TimeInterval: {
6
+ readonly Hour: "HOUR";
7
+ readonly Day: "DAY";
8
+ readonly Week: "WEEK";
9
+ readonly Month: "MONTH";
10
+ readonly Year: "YEAR";
11
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TimeInterval = void 0;
7
+ exports.TimeInterval = {
8
+ Hour: "HOUR",
9
+ Day: "DAY",
10
+ Week: "WEEK",
11
+ Month: "MONTH",
12
+ Year: "YEAR",
13
+ };
@@ -0,0 +1,4 @@
1
+ export * from "./FieldValue";
2
+ export * from "./TimeInterval";
3
+ export * from "./Range";
4
+ export * from "./CellData";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./FieldValue"), exports);
18
+ __exportStar(require("./TimeInterval"), exports);
19
+ __exportStar(require("./Range"), exports);
20
+ __exportStar(require("./CellData"), exports);
@@ -67,7 +67,7 @@ class AppSettings {
67
67
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
68
68
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MavenAGIEnvironment.Production, "v1/app-settings"),
69
69
  method: "GET",
70
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.5", "User-Agent": "mavenagi/1.0.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
70
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.6", "User-Agent": "mavenagi/1.0.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
71
71
  contentType: "application/json",
72
72
  requestType: "json",
73
73
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as MavenAGI from "../../../index";
5
- export declare type ConversationPrecondition = MavenAGI.ConversationPrecondition.Tags | MavenAGI.ConversationPrecondition.Metadata | MavenAGI.ConversationPrecondition.ActionExecuted;
5
+ export declare type ConversationPrecondition = MavenAGI.ConversationPrecondition.Tags | MavenAGI.ConversationPrecondition.Metadata | MavenAGI.ConversationPrecondition.ActionExecuted | MavenAGI.ConversationPrecondition.ResponseConfig;
6
6
  export declare namespace ConversationPrecondition {
7
7
  interface Tags extends MavenAGI.TagsPrecondition {
8
8
  conversationPreconditionType: "tags";
@@ -13,4 +13,7 @@ export declare namespace ConversationPrecondition {
13
13
  interface ActionExecuted extends MavenAGI.ConversationExecutedActionPrecondition {
14
14
  conversationPreconditionType: "actionExecuted";
15
15
  }
16
+ interface ResponseConfig extends MavenAGI.ResponseConfigPrecondition {
17
+ conversationPreconditionType: "responseConfig";
18
+ }
16
19
  }
@@ -12,10 +12,15 @@ import * as MavenAGI from "../../../index";
12
12
  * agentId: "support",
13
13
  * type: MavenAGI.EntityType.Conversation
14
14
  * },
15
+ * deleted: false,
15
16
  * analysis: {
16
17
  * resolutionStatus: "Resolved",
17
18
  * sentiment: MavenAGI.Sentiment.Positive
18
19
  * },
20
+ * summary: {
21
+ * actionIds: [],
22
+ * incompleteActionIds: []
23
+ * },
19
24
  * messages: [{
20
25
  * type: "user",
21
26
  * userMessageType: MavenAGI.UserConversationMessageType.User,
@@ -59,6 +64,10 @@ export interface ConversationResponse extends MavenAGI.ConversationBase {
59
64
  conversationId: MavenAGI.EntityId;
60
65
  /** The messages in the conversation */
61
66
  messages: MavenAGI.ConversationMessageResponse[];
62
- /** An analysis of the conversation. */
67
+ /** An analysis of the conversation. Fields are generated by Maven via an analysis of user messages. This object is calculated on a delay. Fields will not be up to date on ask requests. */
63
68
  analysis: MavenAGI.ConversationAnalysis;
69
+ /** A summary of the conversation. Fields are calculated from conversation data. Unlike analysis, all fields can be derived from other data available in the API. This object is provided as a convenience and is calculated on a delay. Fields will not be up to date on ask requests. */
70
+ summary: MavenAGI.ConversationSummary;
71
+ /** Whether the conversation user-specific data has been deleted. See `deleteConversation` for details. */
72
+ deleted: boolean;
64
73
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as MavenAGI from "../../../index";
5
+ export interface ConversationSummary {
6
+ /** The IDs of the actions that were taken by Maven in the conversation */
7
+ actionIds: MavenAGI.EntityIdWithoutAgent[];
8
+ /** The IDs of the actions that were taken by Maven but not completed in the conversation. Occurs when the user is shown an action form but does not submit it. */
9
+ incompleteActionIds: MavenAGI.EntityIdWithoutAgent[];
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,13 +2,12 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as MavenAGI from "../../../index";
5
- export interface EntityId extends MavenAGI.EntityIdBase {
6
- /** The object type */
7
- type: MavenAGI.EntityType;
8
- /** The ID of the application that created this object */
9
- appId: string;
10
- /** The ID of the organization that this object belongs too */
5
+ /**
6
+ * A fully specified object ID, unique across the entire system.
7
+ */
8
+ export interface EntityId extends MavenAGI.EntityIdWithoutAgent {
9
+ /** The ID of the organization that this object belongs to */
11
10
  organizationId: string;
12
- /** The ID of the agent that this object belongs too */
11
+ /** The ID of the agent that this object belongs to */
13
12
  agentId: string;
14
13
  }