featurebase-node 0.13.0 → 0.14.1

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 (515) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts +21 -3
  9. package/client.d.mts.map +1 -1
  10. package/client.d.ts +21 -3
  11. package/client.d.ts.map +1 -1
  12. package/client.js +27 -1
  13. package/client.js.map +1 -1
  14. package/client.mjs +27 -1
  15. package/client.mjs.map +1 -1
  16. package/core/api-promise.d.mts.map +1 -1
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.mjs.map +1 -1
  19. package/core/error.mjs.map +1 -1
  20. package/core/pagination.d.mts.map +1 -1
  21. package/core/pagination.d.ts.map +1 -1
  22. package/core/pagination.mjs.map +1 -1
  23. package/core/resource.d.mts.map +1 -1
  24. package/core/resource.d.ts.map +1 -1
  25. package/core/uploads.d.mts.map +1 -1
  26. package/core/uploads.d.ts.map +1 -1
  27. package/core/uploads.mjs.map +1 -1
  28. package/error.d.mts +1 -0
  29. package/error.d.mts.map +1 -1
  30. package/error.d.ts +1 -0
  31. package/error.d.ts.map +1 -1
  32. package/error.mjs +1 -0
  33. package/error.mjs.map +1 -1
  34. package/index.d.mts.map +1 -1
  35. package/index.d.ts.map +1 -1
  36. package/index.mjs.map +1 -1
  37. package/internal/detect-platform.mjs.map +1 -1
  38. package/internal/headers.mjs.map +1 -1
  39. package/internal/parse.d.mts.map +1 -1
  40. package/internal/parse.d.ts.map +1 -1
  41. package/internal/parse.mjs.map +1 -1
  42. package/internal/qs/formats.d.mts.map +1 -1
  43. package/internal/qs/formats.d.ts.map +1 -1
  44. package/internal/qs/index.d.mts +2 -2
  45. package/internal/qs/index.d.mts.map +1 -1
  46. package/internal/qs/index.d.ts +2 -2
  47. package/internal/qs/index.d.ts.map +1 -1
  48. package/internal/qs/index.mjs.map +1 -1
  49. package/internal/qs/stringify.d.mts.map +1 -1
  50. package/internal/qs/stringify.d.ts.map +1 -1
  51. package/internal/qs/stringify.mjs.map +1 -1
  52. package/internal/qs/utils.d.mts.map +1 -1
  53. package/internal/qs/utils.d.ts.map +1 -1
  54. package/internal/qs/utils.mjs.map +1 -1
  55. package/internal/request-options.d.mts.map +1 -1
  56. package/internal/request-options.d.ts.map +1 -1
  57. package/internal/shims.d.mts +6 -0
  58. package/internal/shims.d.mts.map +1 -1
  59. package/internal/shims.d.ts +6 -0
  60. package/internal/shims.d.ts.map +1 -1
  61. package/internal/to-file.d.mts.map +1 -1
  62. package/internal/to-file.d.ts.map +1 -1
  63. package/internal/to-file.mjs.map +1 -1
  64. package/internal/types.d.mts +4 -4
  65. package/internal/types.d.mts.map +1 -1
  66. package/internal/types.d.ts +4 -4
  67. package/internal/types.d.ts.map +1 -1
  68. package/internal/uploads.d.mts.map +1 -1
  69. package/internal/uploads.d.ts.map +1 -1
  70. package/internal/uploads.mjs.map +1 -1
  71. package/internal/utils/base64.mjs.map +1 -1
  72. package/internal/utils/log.d.mts.map +1 -1
  73. package/internal/utils/log.d.ts.map +1 -1
  74. package/internal/utils/log.mjs.map +1 -1
  75. package/internal/utils/path.mjs.map +1 -1
  76. package/internal/utils/query.mjs.map +1 -1
  77. package/internal/utils/values.mjs.map +1 -1
  78. package/internal/utils.d.mts.map +1 -1
  79. package/internal/utils.d.ts.map +1 -1
  80. package/internal/utils.mjs.map +1 -1
  81. package/package.json +16 -10
  82. package/pagination.d.mts +1 -0
  83. package/pagination.d.mts.map +1 -1
  84. package/pagination.d.ts +1 -0
  85. package/pagination.d.ts.map +1 -1
  86. package/pagination.mjs +1 -0
  87. package/pagination.mjs.map +1 -1
  88. package/resource.d.mts +1 -0
  89. package/resource.d.mts.map +1 -1
  90. package/resource.d.ts +1 -0
  91. package/resource.d.ts.map +1 -1
  92. package/resource.mjs +1 -0
  93. package/resource.mjs.map +1 -1
  94. package/resources/audit-logs.d.mts +233 -0
  95. package/resources/audit-logs.d.mts.map +1 -0
  96. package/resources/audit-logs.d.ts +233 -0
  97. package/resources/audit-logs.d.ts.map +1 -0
  98. package/resources/audit-logs.js +122 -0
  99. package/resources/audit-logs.js.map +1 -0
  100. package/resources/audit-logs.mjs +118 -0
  101. package/resources/audit-logs.mjs.map +1 -0
  102. package/resources/changelogs/changelogs.d.mts +106 -106
  103. package/resources/changelogs/changelogs.d.mts.map +1 -1
  104. package/resources/changelogs/changelogs.d.ts +106 -106
  105. package/resources/changelogs/changelogs.d.ts.map +1 -1
  106. package/resources/changelogs/changelogs.js +74 -74
  107. package/resources/changelogs/changelogs.js.map +1 -1
  108. package/resources/changelogs/changelogs.mjs +74 -74
  109. package/resources/changelogs/changelogs.mjs.map +1 -1
  110. package/resources/changelogs/index.d.mts +1 -1
  111. package/resources/changelogs/index.d.mts.map +1 -1
  112. package/resources/changelogs/index.d.ts +1 -1
  113. package/resources/changelogs/index.d.ts.map +1 -1
  114. package/resources/changelogs/index.mjs.map +1 -1
  115. package/resources/changelogs/subscribers.d.mts.map +1 -1
  116. package/resources/changelogs/subscribers.d.ts.map +1 -1
  117. package/resources/changelogs/subscribers.mjs.map +1 -1
  118. package/resources/changelogs.d.mts.map +1 -1
  119. package/resources/changelogs.d.ts.map +1 -1
  120. package/resources/changelogs.mjs.map +1 -1
  121. package/resources/conversation-attributes.d.mts +117 -0
  122. package/resources/conversation-attributes.d.mts.map +1 -0
  123. package/resources/conversation-attributes.d.ts +117 -0
  124. package/resources/conversation-attributes.d.ts.map +1 -0
  125. package/resources/conversation-attributes.js +61 -0
  126. package/resources/conversation-attributes.js.map +1 -0
  127. package/resources/conversation-attributes.mjs +57 -0
  128. package/resources/conversation-attributes.mjs.map +1 -0
  129. package/resources/feedback/boards.d.mts +17 -17
  130. package/resources/feedback/boards.d.mts.map +1 -1
  131. package/resources/feedback/boards.d.ts +17 -17
  132. package/resources/feedback/boards.d.ts.map +1 -1
  133. package/resources/feedback/boards.js +20 -20
  134. package/resources/feedback/boards.js.map +1 -1
  135. package/resources/feedback/boards.mjs +20 -20
  136. package/resources/feedback/boards.mjs.map +1 -1
  137. package/resources/feedback/comments.d.mts +129 -191
  138. package/resources/feedback/comments.d.mts.map +1 -1
  139. package/resources/feedback/comments.d.ts +129 -191
  140. package/resources/feedback/comments.d.ts.map +1 -1
  141. package/resources/feedback/comments.js +93 -93
  142. package/resources/feedback/comments.js.map +1 -1
  143. package/resources/feedback/comments.mjs +93 -93
  144. package/resources/feedback/comments.mjs.map +1 -1
  145. package/resources/feedback/custom-fields.d.mts +34 -34
  146. package/resources/feedback/custom-fields.d.mts.map +1 -1
  147. package/resources/feedback/custom-fields.d.ts +34 -34
  148. package/resources/feedback/custom-fields.d.ts.map +1 -1
  149. package/resources/feedback/custom-fields.js +36 -36
  150. package/resources/feedback/custom-fields.js.map +1 -1
  151. package/resources/feedback/custom-fields.mjs +36 -36
  152. package/resources/feedback/custom-fields.mjs.map +1 -1
  153. package/resources/feedback/feedback.d.mts +7 -7
  154. package/resources/feedback/feedback.d.mts.map +1 -1
  155. package/resources/feedback/feedback.d.ts +7 -7
  156. package/resources/feedback/feedback.d.ts.map +1 -1
  157. package/resources/feedback/feedback.js.map +1 -1
  158. package/resources/feedback/feedback.mjs.map +1 -1
  159. package/resources/feedback/index.d.mts +5 -5
  160. package/resources/feedback/index.d.mts.map +1 -1
  161. package/resources/feedback/index.d.ts +5 -5
  162. package/resources/feedback/index.d.ts.map +1 -1
  163. package/resources/feedback/index.js.map +1 -1
  164. package/resources/feedback/index.mjs.map +1 -1
  165. package/resources/feedback/post-statuses.d.mts +18 -18
  166. package/resources/feedback/post-statuses.d.mts.map +1 -1
  167. package/resources/feedback/post-statuses.d.ts +18 -18
  168. package/resources/feedback/post-statuses.d.ts.map +1 -1
  169. package/resources/feedback/post-statuses.js +23 -23
  170. package/resources/feedback/post-statuses.js.map +1 -1
  171. package/resources/feedback/post-statuses.mjs +23 -23
  172. package/resources/feedback/post-statuses.mjs.map +1 -1
  173. package/resources/feedback/posts/index.d.mts +1 -1
  174. package/resources/feedback/posts/index.d.mts.map +1 -1
  175. package/resources/feedback/posts/index.d.ts +1 -1
  176. package/resources/feedback/posts/index.d.ts.map +1 -1
  177. package/resources/feedback/posts/index.js.map +1 -1
  178. package/resources/feedback/posts/index.mjs.map +1 -1
  179. package/resources/feedback/posts/posts.d.mts +187 -260
  180. package/resources/feedback/posts/posts.d.mts.map +1 -1
  181. package/resources/feedback/posts/posts.d.ts +187 -260
  182. package/resources/feedback/posts/posts.d.ts.map +1 -1
  183. package/resources/feedback/posts/posts.js +75 -75
  184. package/resources/feedback/posts/posts.js.map +1 -1
  185. package/resources/feedback/posts/posts.mjs +75 -75
  186. package/resources/feedback/posts/posts.mjs.map +1 -1
  187. package/resources/feedback/posts/voters.d.mts.map +1 -1
  188. package/resources/feedback/posts/voters.d.ts.map +1 -1
  189. package/resources/feedback/posts/voters.mjs.map +1 -1
  190. package/resources/feedback/posts.d.mts.map +1 -1
  191. package/resources/feedback/posts.d.ts.map +1 -1
  192. package/resources/feedback/posts.mjs.map +1 -1
  193. package/resources/feedback.d.mts.map +1 -1
  194. package/resources/feedback.d.ts.map +1 -1
  195. package/resources/feedback.mjs.map +1 -1
  196. package/resources/help-center/articles.d.mts +98 -152
  197. package/resources/help-center/articles.d.mts.map +1 -1
  198. package/resources/help-center/articles.d.ts +98 -152
  199. package/resources/help-center/articles.d.ts.map +1 -1
  200. package/resources/help-center/articles.js +73 -73
  201. package/resources/help-center/articles.js.map +1 -1
  202. package/resources/help-center/articles.mjs +73 -73
  203. package/resources/help-center/articles.mjs.map +1 -1
  204. package/resources/help-center/collections.d.mts +64 -64
  205. package/resources/help-center/collections.d.mts.map +1 -1
  206. package/resources/help-center/collections.d.ts +64 -64
  207. package/resources/help-center/collections.d.ts.map +1 -1
  208. package/resources/help-center/collections.js +65 -65
  209. package/resources/help-center/collections.js.map +1 -1
  210. package/resources/help-center/collections.mjs +65 -65
  211. package/resources/help-center/collections.mjs.map +1 -1
  212. package/resources/help-center/help-center.d.mts +5 -5
  213. package/resources/help-center/help-center.d.mts.map +1 -1
  214. package/resources/help-center/help-center.d.ts +5 -5
  215. package/resources/help-center/help-center.d.ts.map +1 -1
  216. package/resources/help-center/help-center.js.map +1 -1
  217. package/resources/help-center/help-center.mjs.map +1 -1
  218. package/resources/help-center/help-centers.d.mts +43 -43
  219. package/resources/help-center/help-centers.d.mts.map +1 -1
  220. package/resources/help-center/help-centers.d.ts +43 -43
  221. package/resources/help-center/help-centers.d.ts.map +1 -1
  222. package/resources/help-center/help-centers.js +43 -43
  223. package/resources/help-center/help-centers.js.map +1 -1
  224. package/resources/help-center/help-centers.mjs +43 -43
  225. package/resources/help-center/help-centers.mjs.map +1 -1
  226. package/resources/help-center/index.d.mts +4 -4
  227. package/resources/help-center/index.d.mts.map +1 -1
  228. package/resources/help-center/index.d.ts +4 -4
  229. package/resources/help-center/index.d.ts.map +1 -1
  230. package/resources/help-center/index.js.map +1 -1
  231. package/resources/help-center/index.mjs.map +1 -1
  232. package/resources/help-center/redirect-rules.d.mts +117 -117
  233. package/resources/help-center/redirect-rules.d.mts.map +1 -1
  234. package/resources/help-center/redirect-rules.d.ts +117 -117
  235. package/resources/help-center/redirect-rules.d.ts.map +1 -1
  236. package/resources/help-center/redirect-rules.js +112 -112
  237. package/resources/help-center/redirect-rules.js.map +1 -1
  238. package/resources/help-center/redirect-rules.mjs +112 -112
  239. package/resources/help-center/redirect-rules.mjs.map +1 -1
  240. package/resources/help-center.d.mts.map +1 -1
  241. package/resources/help-center.d.ts.map +1 -1
  242. package/resources/help-center.mjs.map +1 -1
  243. package/resources/index.d.mts +6 -3
  244. package/resources/index.d.mts.map +1 -1
  245. package/resources/index.d.ts +6 -3
  246. package/resources/index.d.ts.map +1 -1
  247. package/resources/index.js +7 -1
  248. package/resources/index.js.map +1 -1
  249. package/resources/index.mjs +3 -0
  250. package/resources/index.mjs.map +1 -1
  251. package/resources/organization/admins.d.mts +33 -23
  252. package/resources/organization/admins.d.mts.map +1 -1
  253. package/resources/organization/admins.d.ts +33 -23
  254. package/resources/organization/admins.d.ts.map +1 -1
  255. package/resources/organization/admins.js +27 -25
  256. package/resources/organization/admins.js.map +1 -1
  257. package/resources/organization/admins.mjs +27 -25
  258. package/resources/organization/admins.mjs.map +1 -1
  259. package/resources/organization/brands.d.mts +50 -50
  260. package/resources/organization/brands.d.mts.map +1 -1
  261. package/resources/organization/brands.d.ts +50 -50
  262. package/resources/organization/brands.d.ts.map +1 -1
  263. package/resources/organization/brands.js +54 -54
  264. package/resources/organization/brands.js.map +1 -1
  265. package/resources/organization/brands.mjs +54 -54
  266. package/resources/organization/brands.mjs.map +1 -1
  267. package/resources/organization/index.d.mts +3 -3
  268. package/resources/organization/index.d.mts.map +1 -1
  269. package/resources/organization/index.d.ts +3 -3
  270. package/resources/organization/index.d.ts.map +1 -1
  271. package/resources/organization/index.mjs.map +1 -1
  272. package/resources/organization/organization.d.mts +3 -3
  273. package/resources/organization/organization.d.mts.map +1 -1
  274. package/resources/organization/organization.d.ts +3 -3
  275. package/resources/organization/organization.d.ts.map +1 -1
  276. package/resources/organization/organization.mjs.map +1 -1
  277. package/resources/organization/teams.d.mts +45 -45
  278. package/resources/organization/teams.d.mts.map +1 -1
  279. package/resources/organization/teams.d.ts +45 -45
  280. package/resources/organization/teams.d.ts.map +1 -1
  281. package/resources/organization/teams.js +44 -44
  282. package/resources/organization/teams.js.map +1 -1
  283. package/resources/organization/teams.mjs +44 -44
  284. package/resources/organization/teams.mjs.map +1 -1
  285. package/resources/organization.d.mts.map +1 -1
  286. package/resources/organization.d.ts.map +1 -1
  287. package/resources/organization.mjs.map +1 -1
  288. package/resources/reports.d.mts +641 -0
  289. package/resources/reports.d.mts.map +1 -0
  290. package/resources/reports.d.ts +641 -0
  291. package/resources/reports.d.ts.map +1 -0
  292. package/resources/reports.js +238 -0
  293. package/resources/reports.js.map +1 -0
  294. package/resources/reports.mjs +234 -0
  295. package/resources/reports.mjs.map +1 -0
  296. package/resources/support/conversation-tags.d.mts +40 -40
  297. package/resources/support/conversation-tags.d.mts.map +1 -1
  298. package/resources/support/conversation-tags.d.ts +40 -40
  299. package/resources/support/conversation-tags.d.ts.map +1 -1
  300. package/resources/support/conversation-tags.js +32 -32
  301. package/resources/support/conversation-tags.js.map +1 -1
  302. package/resources/support/conversation-tags.mjs +32 -32
  303. package/resources/support/conversation-tags.mjs.map +1 -1
  304. package/resources/support/conversations/conversations.d.mts +599 -705
  305. package/resources/support/conversations/conversations.d.mts.map +1 -1
  306. package/resources/support/conversations/conversations.d.ts +599 -705
  307. package/resources/support/conversations/conversations.d.ts.map +1 -1
  308. package/resources/support/conversations/conversations.js +289 -288
  309. package/resources/support/conversations/conversations.js.map +1 -1
  310. package/resources/support/conversations/conversations.mjs +289 -288
  311. package/resources/support/conversations/conversations.mjs.map +1 -1
  312. package/resources/support/conversations/index.d.mts +1 -1
  313. package/resources/support/conversations/index.d.mts.map +1 -1
  314. package/resources/support/conversations/index.d.ts +1 -1
  315. package/resources/support/conversations/index.d.ts.map +1 -1
  316. package/resources/support/conversations/index.js.map +1 -1
  317. package/resources/support/conversations/index.mjs.map +1 -1
  318. package/resources/support/conversations/participants.d.mts.map +1 -1
  319. package/resources/support/conversations/participants.d.ts.map +1 -1
  320. package/resources/support/conversations/participants.mjs.map +1 -1
  321. package/resources/support/conversations.d.mts.map +1 -1
  322. package/resources/support/conversations.d.ts.map +1 -1
  323. package/resources/support/conversations.mjs.map +1 -1
  324. package/resources/support/index.d.mts +3 -3
  325. package/resources/support/index.d.mts.map +1 -1
  326. package/resources/support/index.d.ts +3 -3
  327. package/resources/support/index.d.ts.map +1 -1
  328. package/resources/support/index.js.map +1 -1
  329. package/resources/support/index.mjs.map +1 -1
  330. package/resources/support/support.d.mts +4 -4
  331. package/resources/support/support.d.mts.map +1 -1
  332. package/resources/support/support.d.ts +4 -4
  333. package/resources/support/support.d.ts.map +1 -1
  334. package/resources/support/support.js.map +1 -1
  335. package/resources/support/support.mjs.map +1 -1
  336. package/resources/support/tickets/categories.d.mts +18 -18
  337. package/resources/support/tickets/categories.d.mts.map +1 -1
  338. package/resources/support/tickets/categories.d.ts +18 -18
  339. package/resources/support/tickets/categories.d.ts.map +1 -1
  340. package/resources/support/tickets/categories.js +25 -25
  341. package/resources/support/tickets/categories.js.map +1 -1
  342. package/resources/support/tickets/categories.mjs +25 -25
  343. package/resources/support/tickets/categories.mjs.map +1 -1
  344. package/resources/support/tickets/custom-fields.d.mts +20 -20
  345. package/resources/support/tickets/custom-fields.d.mts.map +1 -1
  346. package/resources/support/tickets/custom-fields.d.ts +20 -20
  347. package/resources/support/tickets/custom-fields.d.ts.map +1 -1
  348. package/resources/support/tickets/custom-fields.js +19 -19
  349. package/resources/support/tickets/custom-fields.js.map +1 -1
  350. package/resources/support/tickets/custom-fields.mjs +19 -19
  351. package/resources/support/tickets/custom-fields.mjs.map +1 -1
  352. package/resources/support/tickets/index.d.mts +4 -4
  353. package/resources/support/tickets/index.d.mts.map +1 -1
  354. package/resources/support/tickets/index.d.ts +4 -4
  355. package/resources/support/tickets/index.d.ts.map +1 -1
  356. package/resources/support/tickets/index.mjs.map +1 -1
  357. package/resources/support/tickets/statuses.d.mts +17 -17
  358. package/resources/support/tickets/statuses.d.mts.map +1 -1
  359. package/resources/support/tickets/statuses.d.ts +17 -17
  360. package/resources/support/tickets/statuses.d.ts.map +1 -1
  361. package/resources/support/tickets/statuses.js +21 -21
  362. package/resources/support/tickets/statuses.js.map +1 -1
  363. package/resources/support/tickets/statuses.mjs +21 -21
  364. package/resources/support/tickets/statuses.mjs.map +1 -1
  365. package/resources/support/tickets/tickets.d.mts +69 -69
  366. package/resources/support/tickets/tickets.d.mts.map +1 -1
  367. package/resources/support/tickets/tickets.d.ts +69 -69
  368. package/resources/support/tickets/tickets.d.ts.map +1 -1
  369. package/resources/support/tickets/tickets.js +44 -44
  370. package/resources/support/tickets/tickets.js.map +1 -1
  371. package/resources/support/tickets/tickets.mjs +44 -44
  372. package/resources/support/tickets/tickets.mjs.map +1 -1
  373. package/resources/support/tickets.d.mts.map +1 -1
  374. package/resources/support/tickets.d.ts.map +1 -1
  375. package/resources/support/tickets.mjs.map +1 -1
  376. package/resources/support.d.mts.map +1 -1
  377. package/resources/support.d.ts.map +1 -1
  378. package/resources/support.mjs.map +1 -1
  379. package/resources/surveys.d.mts +41 -41
  380. package/resources/surveys.d.mts.map +1 -1
  381. package/resources/surveys.d.ts +41 -41
  382. package/resources/surveys.d.ts.map +1 -1
  383. package/resources/surveys.js +44 -44
  384. package/resources/surveys.js.map +1 -1
  385. package/resources/surveys.mjs +44 -44
  386. package/resources/surveys.mjs.map +1 -1
  387. package/resources/users/companies/companies.d.mts +116 -157
  388. package/resources/users/companies/companies.d.mts.map +1 -1
  389. package/resources/users/companies/companies.d.ts +116 -157
  390. package/resources/users/companies/companies.d.ts.map +1 -1
  391. package/resources/users/companies/companies.js +125 -125
  392. package/resources/users/companies/companies.js.map +1 -1
  393. package/resources/users/companies/companies.mjs +125 -125
  394. package/resources/users/companies/companies.mjs.map +1 -1
  395. package/resources/users/companies/contacts.d.mts.map +1 -1
  396. package/resources/users/companies/contacts.d.ts.map +1 -1
  397. package/resources/users/companies/contacts.mjs.map +1 -1
  398. package/resources/users/companies/index.d.mts +1 -1
  399. package/resources/users/companies/index.d.mts.map +1 -1
  400. package/resources/users/companies/index.d.ts +1 -1
  401. package/resources/users/companies/index.d.ts.map +1 -1
  402. package/resources/users/companies/index.mjs.map +1 -1
  403. package/resources/users/companies.d.mts.map +1 -1
  404. package/resources/users/companies.d.ts.map +1 -1
  405. package/resources/users/companies.mjs.map +1 -1
  406. package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
  407. package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
  408. package/resources/users/contacts/by-user-id/by-user-id.mjs.map +1 -1
  409. package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
  410. package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
  411. package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -1
  412. package/resources/users/contacts/by-user-id/index.d.mts.map +1 -1
  413. package/resources/users/contacts/by-user-id/index.d.ts.map +1 -1
  414. package/resources/users/contacts/by-user-id/index.mjs.map +1 -1
  415. package/resources/users/contacts/by-user-id.d.mts.map +1 -1
  416. package/resources/users/contacts/by-user-id.d.ts.map +1 -1
  417. package/resources/users/contacts/by-user-id.mjs.map +1 -1
  418. package/resources/users/contacts/contacts.d.mts +196 -235
  419. package/resources/users/contacts/contacts.d.mts.map +1 -1
  420. package/resources/users/contacts/contacts.d.ts +196 -235
  421. package/resources/users/contacts/contacts.d.ts.map +1 -1
  422. package/resources/users/contacts/contacts.js +186 -184
  423. package/resources/users/contacts/contacts.js.map +1 -1
  424. package/resources/users/contacts/contacts.mjs +186 -184
  425. package/resources/users/contacts/contacts.mjs.map +1 -1
  426. package/resources/users/contacts/email-preferences.d.mts.map +1 -1
  427. package/resources/users/contacts/email-preferences.d.ts.map +1 -1
  428. package/resources/users/contacts/email-preferences.mjs.map +1 -1
  429. package/resources/users/contacts/index.d.mts +1 -1
  430. package/resources/users/contacts/index.d.mts.map +1 -1
  431. package/resources/users/contacts/index.d.ts +1 -1
  432. package/resources/users/contacts/index.d.ts.map +1 -1
  433. package/resources/users/contacts/index.mjs.map +1 -1
  434. package/resources/users/contacts.d.mts.map +1 -1
  435. package/resources/users/contacts.d.ts.map +1 -1
  436. package/resources/users/contacts.mjs.map +1 -1
  437. package/resources/users/index.d.mts +2 -2
  438. package/resources/users/index.d.mts.map +1 -1
  439. package/resources/users/index.d.ts +2 -2
  440. package/resources/users/index.d.ts.map +1 -1
  441. package/resources/users/index.mjs.map +1 -1
  442. package/resources/users/users.d.mts +2 -2
  443. package/resources/users/users.d.mts.map +1 -1
  444. package/resources/users/users.d.ts +2 -2
  445. package/resources/users/users.d.ts.map +1 -1
  446. package/resources/users/users.mjs.map +1 -1
  447. package/resources/users.d.mts.map +1 -1
  448. package/resources/users.d.ts.map +1 -1
  449. package/resources/users.mjs.map +1 -1
  450. package/resources/webhooks.d.mts +80 -78
  451. package/resources/webhooks.d.mts.map +1 -1
  452. package/resources/webhooks.d.ts +80 -78
  453. package/resources/webhooks.d.ts.map +1 -1
  454. package/resources/webhooks.js +79 -77
  455. package/resources/webhooks.js.map +1 -1
  456. package/resources/webhooks.mjs +79 -77
  457. package/resources/webhooks.mjs.map +1 -1
  458. package/resources.d.mts.map +1 -1
  459. package/resources.d.ts.map +1 -1
  460. package/resources.mjs.map +1 -1
  461. package/src/client.ts +98 -4
  462. package/src/resources/audit-logs.ts +607 -0
  463. package/src/resources/changelogs/changelogs.ts +170 -170
  464. package/src/resources/changelogs/index.ts +1 -1
  465. package/src/resources/conversation-attributes.ts +181 -0
  466. package/src/resources/feedback/boards.ts +28 -28
  467. package/src/resources/feedback/comments.ts +153 -226
  468. package/src/resources/feedback/custom-fields.ts +44 -44
  469. package/src/resources/feedback/feedback.ts +19 -5
  470. package/src/resources/feedback/index.ts +12 -5
  471. package/src/resources/feedback/post-statuses.ts +31 -31
  472. package/src/resources/feedback/posts/index.ts +7 -1
  473. package/src/resources/feedback/posts/posts.ts +230 -311
  474. package/src/resources/help-center/articles.ts +123 -186
  475. package/src/resources/help-center/collections.ts +84 -84
  476. package/src/resources/help-center/help-center.ts +7 -5
  477. package/src/resources/help-center/help-centers.ts +55 -55
  478. package/src/resources/help-center/index.ts +6 -5
  479. package/src/resources/help-center/redirect-rules.ts +174 -174
  480. package/src/resources/index.ts +37 -3
  481. package/src/resources/organization/admins.ts +45 -33
  482. package/src/resources/organization/brands.ts +66 -66
  483. package/src/resources/organization/index.ts +3 -3
  484. package/src/resources/organization/organization.ts +3 -3
  485. package/src/resources/organization/teams.ts +52 -52
  486. package/src/resources/reports.ts +908 -0
  487. package/src/resources/support/conversation-tags.ts +59 -59
  488. package/src/resources/support/conversations/conversations.ts +723 -850
  489. package/src/resources/support/conversations/index.ts +11 -6
  490. package/src/resources/support/index.ts +14 -9
  491. package/src/resources/support/support.ts +21 -11
  492. package/src/resources/support/tickets/categories.ts +33 -33
  493. package/src/resources/support/tickets/custom-fields.ts +27 -27
  494. package/src/resources/support/tickets/index.ts +4 -4
  495. package/src/resources/support/tickets/statuses.ts +29 -29
  496. package/src/resources/support/tickets/tickets.ts +95 -95
  497. package/src/resources/surveys.ts +58 -58
  498. package/src/resources/users/companies/companies.ts +155 -204
  499. package/src/resources/users/companies/index.ts +2 -2
  500. package/src/resources/users/contacts/contacts.ts +235 -282
  501. package/src/resources/users/contacts/index.ts +3 -3
  502. package/src/resources/users/index.ts +5 -5
  503. package/src/resources/users/users.ts +5 -5
  504. package/src/resources/webhooks.ts +100 -95
  505. package/src/version.ts +1 -1
  506. package/uploads.d.mts +1 -0
  507. package/uploads.d.mts.map +1 -1
  508. package/uploads.d.ts +1 -0
  509. package/uploads.d.ts.map +1 -1
  510. package/uploads.mjs +1 -0
  511. package/uploads.mjs.map +1 -1
  512. package/version.d.mts +1 -1
  513. package/version.d.ts +1 -1
  514. package/version.js +1 -1
  515. package/version.mjs +1 -1
@@ -0,0 +1,641 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as ReportsAPI from "./reports.js";
3
+ import { APIPromise } from "../core/api-promise.js";
4
+ import { RequestOptions } from "../internal/request-options.js";
5
+ /**
6
+ * Query your workspace analytics: conversation volume, response times, CSAT, SLA compliance, teammate performance, AI agent resolutions and more. Start with the datasets catalog to discover metrics and attributes, then run queries with filters, grouping and period comparison.
7
+ */
8
+ export declare class Reports extends APIResource {
9
+ /**
10
+ * Returns the reporting catalog: every dataset available to your workspace with
11
+ * its metrics and attributes.
12
+ *
13
+ * This is the discovery endpoint for the reporting API — read it before building
14
+ * query payloads:
15
+ *
16
+ * - **Metrics** carry the `metric` IDs accepted by `POST /v2/reports/query`, plus
17
+ * each metric's `allowedAggregations`, unit, and whether it supports
18
+ * office-hours restriction and period comparison.
19
+ * - **Attributes** carry the `fieldId`s accepted in filter rules and the attribute
20
+ * IDs accepted as `groupBy` / `segmentBy`, plus each attribute's
21
+ * `allowedOperators` and value type. Attributes with `staticOptions` list their
22
+ * full value set inline; other filterable attributes resolve values via
23
+ * `POST /v2/reports/filter-values`.
24
+ *
25
+ * The catalog includes your workspace's custom conversation/ticket attributes
26
+ * where applicable, so it can differ between workspaces.
27
+ *
28
+ * ### Version Availability
29
+ *
30
+ * This endpoint is only available in API version 2026-01-01.nova and newer, and
31
+ * only for workspaces with the Reports product enabled (404 otherwise).
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const response = await client.reports.listDatasets();
36
+ * ```
37
+ */
38
+ listDatasets(params?: ReportListDatasetsParams | null | undefined, options?: RequestOptions): APIPromise<ReportListDatasetsResponse>;
39
+ /**
40
+ * Executes an ad-hoc reporting query: one metric + aggregation over a date range,
41
+ * with optional filters, grouping, segmentation and period-over-period comparison.
42
+ *
43
+ * ### Building a query
44
+ *
45
+ * 1. Pick a `metric` and `aggregation` from the datasets catalog
46
+ * (`GET /v2/reports/datasets`). Counts use `count`; duration metrics support
47
+ * `avg`, `median`, `min`, `max` and `percentile` (pass `percentile: 95` for
48
+ * p95); rate metrics use `value`.
49
+ * 2. Set the reporting window with `startDate` / `endDate` (ISO 8601) and a
50
+ * `granularity` (`hour`, `day`, `week`, `month`) for the returned time series.
51
+ * 3. Optionally narrow with `filters` — a rule
52
+ * (`{ "kind": "rule", "fieldId": "...", "operator": "in", "value": [...] }`) or
53
+ * an `and`/`or` group of rules. Attribute IDs and allowed operators come from
54
+ * the catalog.
55
+ * 4. Optionally break results down with `groupBy` (primary dimension) and
56
+ * `segmentBy` (secondary dimension).
57
+ * 5. Optionally pass `compareStartDate` / `compareEndDate` to get `previousValue`
58
+ * / `deltaPercent` alongside every data point.
59
+ *
60
+ * ### Example
61
+ *
62
+ * ```json
63
+ * {
64
+ * "metric": "new_conversations",
65
+ * "aggregation": "count",
66
+ * "startDate": "2026-06-01",
67
+ * "endDate": "2026-06-30",
68
+ * "granularity": "day",
69
+ * "groupBy": "conversation.channel",
70
+ * "filters": {
71
+ * "kind": "rule",
72
+ * "fieldId": "conversation.state",
73
+ * "operator": "is",
74
+ * "value": "closed"
75
+ * }
76
+ * }
77
+ * ```
78
+ *
79
+ * ### Response shape
80
+ *
81
+ * - `value` — the aggregate across the whole window
82
+ * - `timeSeries` — one datum per granularity bucket
83
+ * - `groupedData` / `segmentData` — present when `groupBy` / `segmentBy` were
84
+ * requested
85
+ * - `flowData` — present for `view: "sankey"` (Overview conversation-flow metrics)
86
+ * - `meta` — echo of the resolved metric, dataset, unit and aggregation
87
+ *
88
+ * ### Special views
89
+ *
90
+ * - `view: "hourly_heatmap"` buckets by day-of-week × hour-of-day (use with volume
91
+ * metrics)
92
+ * - `view: "sankey"` returns conversation flow edges (Overview metrics only)
93
+ *
94
+ * ### Version Availability
95
+ *
96
+ * This endpoint is only available in API version 2026-01-01.nova and newer, and
97
+ * only for workspaces with the Reports product enabled (404 otherwise).
98
+ *
99
+ * @example
100
+ * ```ts
101
+ * const response = await client.reports.query({
102
+ * aggregation: 'count',
103
+ * endDate: '2026-06-30',
104
+ * granularity: 'day',
105
+ * metric: 'new_conversations',
106
+ * startDate: '2026-06-01',
107
+ * });
108
+ * ```
109
+ */
110
+ query(params: ReportQueryParams, options?: RequestOptions): APIPromise<ReportQueryResponse>;
111
+ /**
112
+ * Returns the available values for a filterable attribute — use it to build valid
113
+ * `filters` rules for `POST /v2/reports/query`.
114
+ *
115
+ * Works for attributes whose values live in your workspace data (tags, teammates,
116
+ * teams, companies, plans, countries, ...). Attributes with `staticOptions` in the
117
+ * catalog don't need this endpoint — their value set is already inline.
118
+ *
119
+ * - `query` narrows results by search string
120
+ * - `selectedValues` resolves labels for values you already hold (returned
121
+ * alongside search results)
122
+ *
123
+ * ### Example
124
+ *
125
+ * ```json
126
+ * { "fieldId": "conversation.tags", "query": "bill", "limit": 20 }
127
+ * ```
128
+ *
129
+ * ### Version Availability
130
+ *
131
+ * This endpoint is only available in API version 2026-01-01.nova and newer, and
132
+ * only for workspaces with the Reports product enabled (404 otherwise).
133
+ *
134
+ * @example
135
+ * ```ts
136
+ * const response = await client.reports.lookupFilterValues({
137
+ * fieldId: 'conversation.tags',
138
+ * });
139
+ * ```
140
+ */
141
+ lookupFilterValues(params: ReportLookupFilterValuesParams, options?: RequestOptions): APIPromise<ReportLookupFilterValuesResponse>;
142
+ /**
143
+ * Returns the paginated row-level records behind a metric — either the whole
144
+ * reporting window, or one specific data point from a previous
145
+ * `POST /v2/reports/query` response.
146
+ *
147
+ * Send the **same** `metric`, date range, `granularity`, `filters`, `groupBy` /
148
+ * `segmentBy` and `view` as the query you're drilling into, plus
149
+ * `dataPointFilters` selecting the data point:
150
+ *
151
+ * - `timeBucket` — a `date` from the time series
152
+ * - `groupValue` / `segmentValue` — a `group` / `segment` value from grouped data
153
+ * - `dayOfWeek` + `hourOfDay` — a heatmap cell (`hourly_heatmap` view)
154
+ * - `flowPathId` or `sourceNodeId` + `targetNodeId` — a flow edge (`sankey` view)
155
+ *
156
+ * Pass `dataPointFilters: {}` to list all rows behind the metric for the window.
157
+ *
158
+ * Results are paginated with `page` / `pageSize` (max 200 per page);
159
+ * `availableColumns` describes every column the dataset can return and
160
+ * `defaultColumnIds` the recommended subset. Rows are keyed by column ID; identity
161
+ * cells (teammates, contacts) are objects with `id` + `label`.
162
+ *
163
+ * ### Version Availability
164
+ *
165
+ * This endpoint is only available in API version 2026-01-01.nova and newer, and
166
+ * only for workspaces with the Reports product enabled (404 otherwise).
167
+ *
168
+ * @example
169
+ * ```ts
170
+ * const response = await client.reports.drillIn({
171
+ * endDate: 'xxxxxxxxxx',
172
+ * granularity: 'day',
173
+ * metric: 'new_conversations',
174
+ * startDate: 'xxxxxxxxxx',
175
+ * });
176
+ * ```
177
+ */
178
+ drillIn(params: ReportDrillInParams, options?: RequestOptions): APIPromise<ReportDrillInResponse>;
179
+ }
180
+ export interface ReportAttribute {
181
+ /**
182
+ * Attribute ID — use as `fieldId` in filter rules and as `groupBy` / `segmentBy`
183
+ * in query requests.
184
+ */
185
+ id: string;
186
+ allowedOperators: Array<'is' | 'is_not' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'gte' | 'lte' | 'between' | 'exists' | 'not_exists' | 'is_member_of' | 'is_not_member_of'>;
187
+ category: string;
188
+ description: string;
189
+ name: string;
190
+ /**
191
+ * Whether the attribute can be used in `filters` rules.
192
+ */
193
+ supportsFilter: boolean;
194
+ /**
195
+ * Whether the attribute can be used as `groupBy` / `segmentBy`.
196
+ */
197
+ supportsGroupBy: boolean;
198
+ /**
199
+ * Whether `POST /v2/reports/filter-values` can list this attribute's values.
200
+ */
201
+ supportsValueLookup: boolean;
202
+ valueType: 'string' | 'number' | 'boolean' | 'date' | 'enum' | 'id';
203
+ multiValue?: boolean;
204
+ /**
205
+ * Fixed value set for enum-like attributes. Attributes without static options
206
+ * resolve values via `POST /v2/reports/filter-values`.
207
+ */
208
+ staticOptions?: Array<ReportAttributeOption>;
209
+ }
210
+ export interface ReportAttributeOption {
211
+ label: string;
212
+ value: string;
213
+ }
214
+ export interface ReportDataset {
215
+ id: string;
216
+ attributes: Array<ReportAttribute>;
217
+ description: string;
218
+ metrics: Array<ReportMetric>;
219
+ name: string;
220
+ }
221
+ export interface ReportFilterExpression {
222
+ /**
223
+ * Rules and/or nested groups of rules. Groups may nest up to 6 levels at runtime;
224
+ * 100 rules max per expression.
225
+ */
226
+ children: Array<ReportFilterRule | ReportFilterExpression.ReportFilterGroup>;
227
+ kind: 'group';
228
+ /**
229
+ * Group operator: `and` (all match) or `or` (any match).
230
+ */
231
+ op: 'and' | 'or';
232
+ }
233
+ export declare namespace ReportFilterExpression {
234
+ interface ReportFilterGroup {
235
+ children: Array<ReportsAPI.ReportFilterRule>;
236
+ kind: 'group';
237
+ /**
238
+ * Group operator: `and` (all match) or `or` (any match).
239
+ */
240
+ op: 'and' | 'or';
241
+ }
242
+ }
243
+ export interface ReportFilterRule {
244
+ /**
245
+ * Attribute ID to filter on (e.g. `conversation.channel`). Discover attribute IDs
246
+ * via `GET /v2/reports/datasets`.
247
+ */
248
+ fieldId: string;
249
+ kind: 'rule';
250
+ /**
251
+ * Comparison operator. Each attribute supports a subset of operators — see the
252
+ * `allowedOperators` field in the `GET /v2/reports/datasets` catalog.
253
+ */
254
+ operator: 'is' | 'is_not' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'gte' | 'lte' | 'between' | 'exists' | 'not_exists' | 'is_member_of' | 'is_not_member_of';
255
+ /**
256
+ * Value to compare against. Scalar for `is`, `is_not`, `contains`, `not_contains`,
257
+ * `gte`, `lte` (ISO date strings for date attributes); non-empty array for `in`,
258
+ * `not_in`, `is_member_of`, `is_not_member_of`; 2-element array for `between`;
259
+ * omit for `exists` / `not_exists`.
260
+ */
261
+ value?: string | number | boolean | Array<string | number | boolean>;
262
+ }
263
+ export interface ReportGroupedDatum {
264
+ /**
265
+ * Raw group value (e.g. an ID). Use `groupLabel` for display.
266
+ */
267
+ group: string;
268
+ value: number;
269
+ groupLabel?: string;
270
+ previousValue?: number;
271
+ segments?: Array<ReportSegmentDatum>;
272
+ }
273
+ export interface ReportMetric {
274
+ /**
275
+ * Metric ID — use as `metric` in query requests.
276
+ */
277
+ id: string;
278
+ allowedAggregations: Array<'count' | 'sum' | 'avg' | 'median' | 'min' | 'max' | 'percentile' | 'value'>;
279
+ description: string;
280
+ name: string;
281
+ /**
282
+ * Which `view` values `POST /v2/reports/query` accepts for this metric. Most
283
+ * metrics support `standard` and `hourly_heatmap`; conversation-flow metrics are
284
+ * `sankey`-only.
285
+ */
286
+ supportedViews: Array<'standard' | 'hourly_heatmap' | 'sankey'>;
287
+ supportsOfficeHours: boolean;
288
+ supportsPeriodComparison: boolean;
289
+ type: 'count' | 'percentage' | 'duration' | 'number';
290
+ unit: 'count' | 'percentage' | 'duration_ms' | 'number';
291
+ }
292
+ export interface ReportSegmentDatum {
293
+ segment: string;
294
+ value: number;
295
+ previousValue?: number;
296
+ segmentLabel?: string;
297
+ }
298
+ export interface ReportTimeSeriesDatum {
299
+ /**
300
+ * Time bucket start (ISO 8601).
301
+ */
302
+ date: string;
303
+ value: number;
304
+ /**
305
+ * Value for the same bucket in the comparison window, when requested.
306
+ */
307
+ previousValue?: number;
308
+ segments?: Array<ReportSegmentDatum>;
309
+ }
310
+ export interface ReportDrillInResponse {
311
+ availableColumns: Array<ReportDrillInResponse.AvailableColumn>;
312
+ defaultColumnIds: Array<string>;
313
+ meta: ReportDrillInResponse.Meta;
314
+ object: 'report_drill_in_result';
315
+ page: number;
316
+ pageSize: number;
317
+ /**
318
+ * One record per underlying row, keyed by column ID.
319
+ */
320
+ rows: Array<{
321
+ [key: string]: string | number | boolean | Array<string> | ReportDrillInResponse.ReportDrillInIdentityCell | null;
322
+ }>;
323
+ timezone: string;
324
+ total: number;
325
+ }
326
+ export declare namespace ReportDrillInResponse {
327
+ interface AvailableColumn {
328
+ /**
329
+ * Column ID (an attribute ID or `metric.value`).
330
+ */
331
+ id: string;
332
+ name: string;
333
+ valueType: string;
334
+ category?: string;
335
+ }
336
+ interface Meta {
337
+ datasetId: string;
338
+ metricId: string;
339
+ }
340
+ interface ReportDrillInIdentityCell {
341
+ id: string;
342
+ kind: 'identity';
343
+ label: string;
344
+ avatarUrl?: string;
345
+ color?: string;
346
+ }
347
+ }
348
+ export interface ReportListDatasetsResponse {
349
+ data: Array<ReportDataset>;
350
+ object: 'list';
351
+ }
352
+ export interface ReportLookupFilterValuesResponse {
353
+ data: Array<ReportAttributeOption>;
354
+ object: 'list';
355
+ }
356
+ export interface ReportQueryResponse {
357
+ meta: ReportQueryResponse.Meta;
358
+ object: 'report_query_result';
359
+ /**
360
+ * Aggregated value across the whole reporting window.
361
+ */
362
+ value: number;
363
+ /**
364
+ * Percentage change vs the comparison window.
365
+ */
366
+ deltaPercent?: number;
367
+ flowData?: Array<ReportQueryResponse.FlowData>;
368
+ groupedData?: Array<ReportGroupedDatum>;
369
+ /**
370
+ * Aggregated value for the comparison window, when requested.
371
+ */
372
+ previousValue?: number;
373
+ segmentData?: Array<ReportSegmentDatum>;
374
+ timeSeries?: Array<ReportTimeSeriesDatum>;
375
+ }
376
+ export declare namespace ReportQueryResponse {
377
+ interface Meta {
378
+ /**
379
+ * Aggregation function applied to the metric. Each metric supports a subset of
380
+ * aggregations — see the `allowedAggregations` field in the
381
+ * `GET /v2/reports/datasets` catalog.
382
+ */
383
+ aggregation: 'count' | 'sum' | 'avg' | 'median' | 'min' | 'max' | 'percentile' | 'value';
384
+ datasetId: string;
385
+ granularity: string;
386
+ metric: string;
387
+ officeHoursOnly: boolean;
388
+ unit: 'count' | 'percentage' | 'duration_ms' | 'number';
389
+ groupBy?: string;
390
+ segmentBy?: string;
391
+ }
392
+ interface FlowData {
393
+ metricId: string;
394
+ pathId: string;
395
+ source: string;
396
+ sourceLabel: string;
397
+ target: string;
398
+ targetLabel: string;
399
+ value: number;
400
+ colorKey?: string;
401
+ percentage?: number;
402
+ sortOrder?: number;
403
+ }
404
+ }
405
+ export interface ReportListDatasetsParams {
406
+ /**
407
+ * API version for this request. Defaults to your organization's configured API
408
+ * version if not specified.
409
+ */
410
+ 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
411
+ }
412
+ export interface ReportQueryParams {
413
+ /**
414
+ * Body param: Aggregation function applied to the metric. Each metric supports a
415
+ * subset of aggregations — see the `allowedAggregations` field in the
416
+ * `GET /v2/reports/datasets` catalog.
417
+ */
418
+ aggregation: 'count' | 'sum' | 'avg' | 'median' | 'min' | 'max' | 'percentile' | 'value';
419
+ /**
420
+ * Body param: End of the reporting window (ISO 8601 date or datetime, inclusive).
421
+ */
422
+ endDate: string;
423
+ /**
424
+ * Body param: Time bucket size for the returned time series.
425
+ */
426
+ granularity: 'hour' | 'day' | 'week' | 'month';
427
+ /**
428
+ * Body param: Metric ID to query (e.g. `new_conversations`). Discover metric IDs
429
+ * via `GET /v2/reports/datasets`.
430
+ */
431
+ metric: string;
432
+ /**
433
+ * Body param: Start of the reporting window (ISO 8601 date or datetime,
434
+ * inclusive).
435
+ */
436
+ startDate: string;
437
+ /**
438
+ * Body param: End of the comparison window. Must be paired with
439
+ * `compareStartDate`.
440
+ */
441
+ compareEndDate?: string;
442
+ /**
443
+ * Body param: Start of the comparison window for period-over-period deltas. Must
444
+ * be paired with `compareEndDate`.
445
+ */
446
+ compareStartDate?: string;
447
+ /**
448
+ * Body param: Filter expression: a single rule, or an `and`/`or` group combining
449
+ * rules and nested groups. Attribute IDs and their allowed operators come from
450
+ * `GET /v2/reports/datasets`.
451
+ */
452
+ filters?: ReportFilterRule | ReportFilterExpression;
453
+ /**
454
+ * Body param: Attribute ID to group results by (e.g. `conversation.channel`). See
455
+ * `supportsGroupBy` in the catalog.
456
+ */
457
+ groupBy?: string;
458
+ /**
459
+ * Body param: Restrict time-based metrics to configured office hours. Only
460
+ * supported by some metrics (see `supportsOfficeHours` in the catalog).
461
+ */
462
+ officeHoursOnly?: boolean;
463
+ /**
464
+ * Body param: Percentile (1-100) — required when `aggregation` is `percentile`.
465
+ */
466
+ percentile?: number;
467
+ /**
468
+ * Body param: Attribute ID for secondary segmentation within each group or time
469
+ * bucket.
470
+ */
471
+ segmentBy?: string;
472
+ /**
473
+ * Body param: IANA timezone for date bucketing (e.g. `America/New_York`). Defaults
474
+ * to UTC.
475
+ */
476
+ timezone?: string;
477
+ /**
478
+ * Body param: Result shape. `standard` returns a time series (plus grouped/segment
479
+ * data when requested), `hourly_heatmap` buckets by day-of-week × hour-of-day,
480
+ * `sankey` returns conversation flow data. Each metric lists its `supportedViews`
481
+ * in the `GET /v2/reports/datasets` catalog.
482
+ */
483
+ view?: 'standard' | 'hourly_heatmap' | 'sankey';
484
+ /**
485
+ * Header param: API version for this request. Defaults to your organization's
486
+ * configured API version if not specified.
487
+ */
488
+ 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
489
+ }
490
+ export interface ReportLookupFilterValuesParams {
491
+ /**
492
+ * Body param: Attribute ID to look up values for (must have
493
+ * `valueSource: "remote_search"` or static options in the catalog).
494
+ */
495
+ fieldId: string;
496
+ /**
497
+ * Body param: Maximum number of options to return (1-50, default 20).
498
+ */
499
+ limit?: number;
500
+ /**
501
+ * Body param: Optional search string to narrow the returned options.
502
+ */
503
+ query?: string;
504
+ /**
505
+ * Body param: Already-selected values to resolve labels for (returned alongside
506
+ * search results).
507
+ */
508
+ selectedValues?: Array<string>;
509
+ /**
510
+ * Header param: API version for this request. Defaults to your organization's
511
+ * configured API version if not specified.
512
+ */
513
+ 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
514
+ }
515
+ export interface ReportDrillInParams {
516
+ /**
517
+ * Body param
518
+ */
519
+ endDate: string;
520
+ /**
521
+ * Body param: Time bucket size for the returned time series.
522
+ */
523
+ granularity: 'hour' | 'day' | 'week' | 'month';
524
+ /**
525
+ * Body param: Metric ID the drill-in belongs to.
526
+ */
527
+ metric: string;
528
+ /**
529
+ * Body param
530
+ */
531
+ startDate: string;
532
+ /**
533
+ * Body param: Narrows the drill-in to one data point from a previous query (time
534
+ * bucket, group value, heatmap cell, or flow edge). Pass `{}` to list all
535
+ * underlying rows.
536
+ */
537
+ dataPointFilters?: ReportDrillInParams.DataPointFilters;
538
+ /**
539
+ * Body param: Filter expression: a single rule, or an `and`/`or` group combining
540
+ * rules and nested groups. Attribute IDs and their allowed operators come from
541
+ * `GET /v2/reports/datasets`.
542
+ */
543
+ filters?: ReportFilterRule | ReportFilterExpression;
544
+ /**
545
+ * Body param
546
+ */
547
+ groupBy?: string;
548
+ /**
549
+ * Body param
550
+ */
551
+ officeHoursOnly?: boolean;
552
+ /**
553
+ * Body param: Page number (1-based).
554
+ */
555
+ page?: number;
556
+ /**
557
+ * Body param: Rows per page (1-200, default 25).
558
+ */
559
+ pageSize?: number;
560
+ /**
561
+ * Body param
562
+ */
563
+ segmentBy?: string;
564
+ /**
565
+ * Body param: A metric ID from the datasets catalog. Use when the originating
566
+ * chart aggregates several metrics to pick which one the drill-in follows.
567
+ * Defaults to `metric`.
568
+ */
569
+ selectedMetricId?: string;
570
+ /**
571
+ * Body param
572
+ */
573
+ sort?: Array<ReportDrillInParams.Sort>;
574
+ /**
575
+ * Body param
576
+ */
577
+ timezone?: string;
578
+ /**
579
+ * Body param: Result shape. `standard` returns a time series (plus grouped/segment
580
+ * data when requested), `hourly_heatmap` buckets by day-of-week × hour-of-day,
581
+ * `sankey` returns conversation flow data. Each metric lists its `supportedViews`
582
+ * in the `GET /v2/reports/datasets` catalog.
583
+ */
584
+ view?: 'standard' | 'hourly_heatmap' | 'sankey';
585
+ /**
586
+ * Header param: API version for this request. Defaults to your organization's
587
+ * configured API version if not specified.
588
+ */
589
+ 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
590
+ }
591
+ export declare namespace ReportDrillInParams {
592
+ /**
593
+ * Narrows the drill-in to one data point from a previous query (time bucket, group
594
+ * value, heatmap cell, or flow edge). Pass `{}` to list all underlying rows.
595
+ */
596
+ interface DataPointFilters {
597
+ /**
598
+ * Day of week (1 = Monday … 7 = Sunday) — for `hourly_heatmap` views.
599
+ */
600
+ dayOfWeek?: number;
601
+ /**
602
+ * Flow path ID — for `sankey` views.
603
+ */
604
+ flowPathId?: string;
605
+ /**
606
+ * Group value to drill into (a `group` value from `groupedData`).
607
+ */
608
+ groupValue?: string;
609
+ /**
610
+ * Hour of day (0-23) — for `hourly_heatmap` views.
611
+ */
612
+ hourOfDay?: number;
613
+ /**
614
+ * Segment value to drill into (a `segment` value from segment data).
615
+ */
616
+ segmentValue?: string;
617
+ /**
618
+ * Flow source node ID — for `sankey` views.
619
+ */
620
+ sourceNodeId?: string;
621
+ /**
622
+ * Flow target node ID — for `sankey` views.
623
+ */
624
+ targetNodeId?: string;
625
+ /**
626
+ * Time bucket to drill into (a `date` value from the query time series).
627
+ */
628
+ timeBucket?: string;
629
+ }
630
+ interface Sort {
631
+ direction: 'asc' | 'desc';
632
+ /**
633
+ * Column ID to sort by (an attribute ID or `metric.value`).
634
+ */
635
+ fieldId: string;
636
+ }
637
+ }
638
+ export declare namespace Reports {
639
+ export { type ReportAttribute as ReportAttribute, type ReportAttributeOption as ReportAttributeOption, type ReportDataset as ReportDataset, type ReportFilterExpression as ReportFilterExpression, type ReportFilterRule as ReportFilterRule, type ReportGroupedDatum as ReportGroupedDatum, type ReportMetric as ReportMetric, type ReportSegmentDatum as ReportSegmentDatum, type ReportTimeSeriesDatum as ReportTimeSeriesDatum, type ReportDrillInResponse as ReportDrillInResponse, type ReportListDatasetsResponse as ReportListDatasetsResponse, type ReportLookupFilterValuesResponse as ReportLookupFilterValuesResponse, type ReportQueryResponse as ReportQueryResponse, type ReportListDatasetsParams as ReportListDatasetsParams, type ReportQueryParams as ReportQueryParams, type ReportLookupFilterValuesParams as ReportLookupFilterValuesParams, type ReportDrillInParams as ReportDrillInParams, };
640
+ }
641
+ //# sourceMappingURL=reports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../src/resources/reports.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,YAAY,CACV,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAezC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsEG;IACH,KAAK,CAAC,MAAM,E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