featurebase-node 0.14.3 → 0.15.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 (415) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +11 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +11 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/audit-logs.d.mts +3 -3
  12. package/resources/audit-logs.d.mts.map +1 -1
  13. package/resources/audit-logs.d.ts +3 -3
  14. package/resources/audit-logs.d.ts.map +1 -1
  15. package/resources/changelogs/changelogs.d.mts +116 -116
  16. package/resources/changelogs/changelogs.d.mts.map +1 -1
  17. package/resources/changelogs/changelogs.d.ts +116 -116
  18. package/resources/changelogs/changelogs.d.ts.map +1 -1
  19. package/resources/changelogs/changelogs.js +74 -74
  20. package/resources/changelogs/changelogs.js.map +1 -1
  21. package/resources/changelogs/changelogs.mjs +74 -74
  22. package/resources/changelogs/changelogs.mjs.map +1 -1
  23. package/resources/changelogs/index.d.mts +1 -1
  24. package/resources/changelogs/index.d.mts.map +1 -1
  25. package/resources/changelogs/index.d.ts +1 -1
  26. package/resources/changelogs/index.d.ts.map +1 -1
  27. package/resources/changelogs/subscribers.d.mts +3 -3
  28. package/resources/changelogs/subscribers.d.mts.map +1 -1
  29. package/resources/changelogs/subscribers.d.ts +3 -3
  30. package/resources/changelogs/subscribers.d.ts.map +1 -1
  31. package/resources/conversation-attributes.d.mts +22 -17
  32. package/resources/conversation-attributes.d.mts.map +1 -1
  33. package/resources/conversation-attributes.d.ts +22 -17
  34. package/resources/conversation-attributes.d.ts.map +1 -1
  35. package/resources/conversation-attributes.js +19 -19
  36. package/resources/conversation-attributes.js.map +1 -1
  37. package/resources/conversation-attributes.mjs +19 -19
  38. package/resources/conversation-attributes.mjs.map +1 -1
  39. package/resources/feedback/boards.d.mts +19 -19
  40. package/resources/feedback/boards.d.mts.map +1 -1
  41. package/resources/feedback/boards.d.ts +19 -19
  42. package/resources/feedback/boards.d.ts.map +1 -1
  43. package/resources/feedback/boards.js +20 -20
  44. package/resources/feedback/boards.js.map +1 -1
  45. package/resources/feedback/boards.mjs +20 -20
  46. package/resources/feedback/boards.mjs.map +1 -1
  47. package/resources/feedback/comments.d.mts +113 -113
  48. package/resources/feedback/comments.d.mts.map +1 -1
  49. package/resources/feedback/comments.d.ts +113 -113
  50. package/resources/feedback/comments.d.ts.map +1 -1
  51. package/resources/feedback/comments.js +93 -93
  52. package/resources/feedback/comments.js.map +1 -1
  53. package/resources/feedback/comments.mjs +93 -93
  54. package/resources/feedback/comments.mjs.map +1 -1
  55. package/resources/feedback/custom-fields.d.mts +36 -36
  56. package/resources/feedback/custom-fields.d.mts.map +1 -1
  57. package/resources/feedback/custom-fields.d.ts +36 -36
  58. package/resources/feedback/custom-fields.d.ts.map +1 -1
  59. package/resources/feedback/custom-fields.js +36 -36
  60. package/resources/feedback/custom-fields.js.map +1 -1
  61. package/resources/feedback/custom-fields.mjs +36 -36
  62. package/resources/feedback/custom-fields.mjs.map +1 -1
  63. package/resources/feedback/feedback.d.mts +5 -5
  64. package/resources/feedback/feedback.d.mts.map +1 -1
  65. package/resources/feedback/feedback.d.ts +5 -5
  66. package/resources/feedback/feedback.d.ts.map +1 -1
  67. package/resources/feedback/index.d.mts +5 -5
  68. package/resources/feedback/index.d.mts.map +1 -1
  69. package/resources/feedback/index.d.ts +5 -5
  70. package/resources/feedback/index.d.ts.map +1 -1
  71. package/resources/feedback/post-statuses.d.mts +20 -20
  72. package/resources/feedback/post-statuses.d.mts.map +1 -1
  73. package/resources/feedback/post-statuses.d.ts +20 -20
  74. package/resources/feedback/post-statuses.d.ts.map +1 -1
  75. package/resources/feedback/post-statuses.js +23 -23
  76. package/resources/feedback/post-statuses.js.map +1 -1
  77. package/resources/feedback/post-statuses.mjs +23 -23
  78. package/resources/feedback/post-statuses.mjs.map +1 -1
  79. package/resources/feedback/posts/index.d.mts +1 -1
  80. package/resources/feedback/posts/index.d.mts.map +1 -1
  81. package/resources/feedback/posts/index.d.ts +1 -1
  82. package/resources/feedback/posts/index.d.ts.map +1 -1
  83. package/resources/feedback/posts/posts.d.mts +132 -132
  84. package/resources/feedback/posts/posts.d.mts.map +1 -1
  85. package/resources/feedback/posts/posts.d.ts +132 -132
  86. package/resources/feedback/posts/posts.d.ts.map +1 -1
  87. package/resources/feedback/posts/posts.js +107 -107
  88. package/resources/feedback/posts/posts.js.map +1 -1
  89. package/resources/feedback/posts/posts.mjs +107 -107
  90. package/resources/feedback/posts/posts.mjs.map +1 -1
  91. package/resources/feedback/posts/voters.d.mts +3 -3
  92. package/resources/feedback/posts/voters.d.mts.map +1 -1
  93. package/resources/feedback/posts/voters.d.ts +3 -3
  94. package/resources/feedback/posts/voters.d.ts.map +1 -1
  95. package/resources/help-center/articles.d.mts +213 -97
  96. package/resources/help-center/articles.d.mts.map +1 -1
  97. package/resources/help-center/articles.d.ts +213 -97
  98. package/resources/help-center/articles.d.ts.map +1 -1
  99. package/resources/help-center/articles.js +73 -73
  100. package/resources/help-center/articles.js.map +1 -1
  101. package/resources/help-center/articles.mjs +73 -73
  102. package/resources/help-center/articles.mjs.map +1 -1
  103. package/resources/help-center/collections.d.mts +158 -71
  104. package/resources/help-center/collections.d.mts.map +1 -1
  105. package/resources/help-center/collections.d.ts +158 -71
  106. package/resources/help-center/collections.d.ts.map +1 -1
  107. package/resources/help-center/collections.js +65 -65
  108. package/resources/help-center/collections.js.map +1 -1
  109. package/resources/help-center/collections.mjs +65 -65
  110. package/resources/help-center/collections.mjs.map +1 -1
  111. package/resources/help-center/help-center.d.mts +4 -4
  112. package/resources/help-center/help-center.d.mts.map +1 -1
  113. package/resources/help-center/help-center.d.ts +4 -4
  114. package/resources/help-center/help-center.d.ts.map +1 -1
  115. package/resources/help-center/help-centers.d.mts +77 -48
  116. package/resources/help-center/help-centers.d.mts.map +1 -1
  117. package/resources/help-center/help-centers.d.ts +77 -48
  118. package/resources/help-center/help-centers.d.ts.map +1 -1
  119. package/resources/help-center/help-centers.js +43 -43
  120. package/resources/help-center/help-centers.js.map +1 -1
  121. package/resources/help-center/help-centers.mjs +43 -43
  122. package/resources/help-center/help-centers.mjs.map +1 -1
  123. package/resources/help-center/index.d.mts +4 -4
  124. package/resources/help-center/index.d.mts.map +1 -1
  125. package/resources/help-center/index.d.ts +4 -4
  126. package/resources/help-center/index.d.ts.map +1 -1
  127. package/resources/help-center/redirect-rules.d.mts +124 -124
  128. package/resources/help-center/redirect-rules.d.mts.map +1 -1
  129. package/resources/help-center/redirect-rules.d.ts +124 -124
  130. package/resources/help-center/redirect-rules.d.ts.map +1 -1
  131. package/resources/help-center/redirect-rules.js +112 -112
  132. package/resources/help-center/redirect-rules.js.map +1 -1
  133. package/resources/help-center/redirect-rules.mjs +112 -112
  134. package/resources/help-center/redirect-rules.mjs.map +1 -1
  135. package/resources/index.d.mts +6 -5
  136. package/resources/index.d.mts.map +1 -1
  137. package/resources/index.d.ts +6 -5
  138. package/resources/index.d.ts.map +1 -1
  139. package/resources/index.js +3 -1
  140. package/resources/index.js.map +1 -1
  141. package/resources/index.mjs +1 -0
  142. package/resources/index.mjs.map +1 -1
  143. package/resources/organization/admins.d.mts +26 -26
  144. package/resources/organization/admins.d.mts.map +1 -1
  145. package/resources/organization/admins.d.ts +26 -26
  146. package/resources/organization/admins.d.ts.map +1 -1
  147. package/resources/organization/admins.js +25 -25
  148. package/resources/organization/admins.js.map +1 -1
  149. package/resources/organization/admins.mjs +25 -25
  150. package/resources/organization/admins.mjs.map +1 -1
  151. package/resources/organization/brands.d.mts +52 -52
  152. package/resources/organization/brands.d.mts.map +1 -1
  153. package/resources/organization/brands.d.ts +52 -52
  154. package/resources/organization/brands.d.ts.map +1 -1
  155. package/resources/organization/brands.js +54 -54
  156. package/resources/organization/brands.js.map +1 -1
  157. package/resources/organization/brands.mjs +54 -54
  158. package/resources/organization/brands.mjs.map +1 -1
  159. package/resources/organization/index.d.mts +3 -3
  160. package/resources/organization/index.d.mts.map +1 -1
  161. package/resources/organization/index.d.ts +3 -3
  162. package/resources/organization/index.d.ts.map +1 -1
  163. package/resources/organization/organization.d.mts +3 -3
  164. package/resources/organization/organization.d.mts.map +1 -1
  165. package/resources/organization/organization.d.ts +3 -3
  166. package/resources/organization/organization.d.ts.map +1 -1
  167. package/resources/organization/teams.d.mts +47 -47
  168. package/resources/organization/teams.d.mts.map +1 -1
  169. package/resources/organization/teams.d.ts +47 -47
  170. package/resources/organization/teams.d.ts.map +1 -1
  171. package/resources/organization/teams.js +44 -44
  172. package/resources/organization/teams.js.map +1 -1
  173. package/resources/organization/teams.mjs +44 -44
  174. package/resources/organization/teams.mjs.map +1 -1
  175. package/resources/reports.d.mts +339 -223
  176. package/resources/reports.d.mts.map +1 -1
  177. package/resources/reports.d.ts +339 -223
  178. package/resources/reports.d.ts.map +1 -1
  179. package/resources/reports.js +114 -107
  180. package/resources/reports.js.map +1 -1
  181. package/resources/reports.mjs +114 -107
  182. package/resources/reports.mjs.map +1 -1
  183. package/resources/support/conversation-tags.d.mts +43 -43
  184. package/resources/support/conversation-tags.d.mts.map +1 -1
  185. package/resources/support/conversation-tags.d.ts +43 -43
  186. package/resources/support/conversation-tags.d.ts.map +1 -1
  187. package/resources/support/conversation-tags.js +32 -32
  188. package/resources/support/conversation-tags.js.map +1 -1
  189. package/resources/support/conversation-tags.mjs +32 -32
  190. package/resources/support/conversation-tags.mjs.map +1 -1
  191. package/resources/support/conversations/conversations.d.mts +363 -332
  192. package/resources/support/conversations/conversations.d.mts.map +1 -1
  193. package/resources/support/conversations/conversations.d.ts +363 -332
  194. package/resources/support/conversations/conversations.d.ts.map +1 -1
  195. package/resources/support/conversations/conversations.js +293 -283
  196. package/resources/support/conversations/conversations.js.map +1 -1
  197. package/resources/support/conversations/conversations.mjs +293 -283
  198. package/resources/support/conversations/conversations.mjs.map +1 -1
  199. package/resources/support/conversations/index.d.mts +1 -1
  200. package/resources/support/conversations/index.d.mts.map +1 -1
  201. package/resources/support/conversations/index.d.ts +1 -1
  202. package/resources/support/conversations/index.d.ts.map +1 -1
  203. package/resources/support/conversations/participants.d.mts +2 -2
  204. package/resources/support/conversations/participants.d.mts.map +1 -1
  205. package/resources/support/conversations/participants.d.ts +2 -2
  206. package/resources/support/conversations/participants.d.ts.map +1 -1
  207. package/resources/support/index.d.mts +3 -3
  208. package/resources/support/index.d.mts.map +1 -1
  209. package/resources/support/index.d.ts +3 -3
  210. package/resources/support/index.d.ts.map +1 -1
  211. package/resources/support/support.d.mts +3 -3
  212. package/resources/support/support.d.mts.map +1 -1
  213. package/resources/support/support.d.ts +3 -3
  214. package/resources/support/support.d.ts.map +1 -1
  215. package/resources/support/tickets/categories.d.mts +20 -20
  216. package/resources/support/tickets/categories.d.mts.map +1 -1
  217. package/resources/support/tickets/categories.d.ts +20 -20
  218. package/resources/support/tickets/categories.d.ts.map +1 -1
  219. package/resources/support/tickets/categories.js +25 -25
  220. package/resources/support/tickets/categories.js.map +1 -1
  221. package/resources/support/tickets/categories.mjs +25 -25
  222. package/resources/support/tickets/categories.mjs.map +1 -1
  223. package/resources/support/tickets/custom-fields.d.mts +22 -22
  224. package/resources/support/tickets/custom-fields.d.mts.map +1 -1
  225. package/resources/support/tickets/custom-fields.d.ts +22 -22
  226. package/resources/support/tickets/custom-fields.d.ts.map +1 -1
  227. package/resources/support/tickets/custom-fields.js +19 -19
  228. package/resources/support/tickets/custom-fields.js.map +1 -1
  229. package/resources/support/tickets/custom-fields.mjs +19 -19
  230. package/resources/support/tickets/custom-fields.mjs.map +1 -1
  231. package/resources/support/tickets/index.d.mts +4 -4
  232. package/resources/support/tickets/index.d.mts.map +1 -1
  233. package/resources/support/tickets/index.d.ts +4 -4
  234. package/resources/support/tickets/index.d.ts.map +1 -1
  235. package/resources/support/tickets/statuses.d.mts +19 -19
  236. package/resources/support/tickets/statuses.d.mts.map +1 -1
  237. package/resources/support/tickets/statuses.d.ts +19 -19
  238. package/resources/support/tickets/statuses.d.ts.map +1 -1
  239. package/resources/support/tickets/statuses.js +21 -21
  240. package/resources/support/tickets/statuses.js.map +1 -1
  241. package/resources/support/tickets/statuses.mjs +21 -21
  242. package/resources/support/tickets/statuses.mjs.map +1 -1
  243. package/resources/support/tickets/tickets.d.mts +75 -75
  244. package/resources/support/tickets/tickets.d.mts.map +1 -1
  245. package/resources/support/tickets/tickets.d.ts +75 -75
  246. package/resources/support/tickets/tickets.d.ts.map +1 -1
  247. package/resources/support/tickets/tickets.js +44 -44
  248. package/resources/support/tickets/tickets.js.map +1 -1
  249. package/resources/support/tickets/tickets.mjs +44 -44
  250. package/resources/support/tickets/tickets.mjs.map +1 -1
  251. package/resources/surveys.d.mts +43 -43
  252. package/resources/surveys.d.mts.map +1 -1
  253. package/resources/surveys.d.ts +43 -43
  254. package/resources/surveys.d.ts.map +1 -1
  255. package/resources/surveys.js +44 -44
  256. package/resources/surveys.js.map +1 -1
  257. package/resources/surveys.mjs +44 -44
  258. package/resources/surveys.mjs.map +1 -1
  259. package/resources/training-data/files.d.mts +292 -0
  260. package/resources/training-data/files.d.mts.map +1 -0
  261. package/resources/training-data/files.d.ts +292 -0
  262. package/resources/training-data/files.d.ts.map +1 -0
  263. package/resources/training-data/files.js +171 -0
  264. package/resources/training-data/files.js.map +1 -0
  265. package/resources/training-data/files.mjs +167 -0
  266. package/resources/training-data/files.mjs.map +1 -0
  267. package/resources/training-data/index.d.mts +4 -0
  268. package/resources/training-data/index.d.mts.map +1 -0
  269. package/resources/training-data/index.d.ts +4 -0
  270. package/resources/training-data/index.d.ts.map +1 -0
  271. package/resources/training-data/index.js +11 -0
  272. package/resources/training-data/index.js.map +1 -0
  273. package/resources/training-data/index.mjs +5 -0
  274. package/resources/training-data/index.mjs.map +1 -0
  275. package/resources/training-data/qna.d.mts +370 -0
  276. package/resources/training-data/qna.d.mts.map +1 -0
  277. package/resources/training-data/qna.d.ts +370 -0
  278. package/resources/training-data/qna.d.ts.map +1 -0
  279. package/resources/training-data/qna.js +177 -0
  280. package/resources/training-data/qna.js.map +1 -0
  281. package/resources/training-data/qna.mjs +173 -0
  282. package/resources/training-data/qna.mjs.map +1 -0
  283. package/resources/training-data/training-data.d.mts +442 -0
  284. package/resources/training-data/training-data.d.mts.map +1 -0
  285. package/resources/training-data/training-data.d.ts +442 -0
  286. package/resources/training-data/training-data.d.ts.map +1 -0
  287. package/resources/training-data/training-data.js +105 -0
  288. package/resources/training-data/training-data.js.map +1 -0
  289. package/resources/training-data/training-data.mjs +100 -0
  290. package/resources/training-data/training-data.mjs.map +1 -0
  291. package/resources/training-data.d.mts +2 -0
  292. package/resources/training-data.d.mts.map +1 -0
  293. package/resources/training-data.d.ts +2 -0
  294. package/resources/training-data.d.ts.map +1 -0
  295. package/resources/training-data.js +6 -0
  296. package/resources/training-data.js.map +1 -0
  297. package/resources/training-data.mjs +3 -0
  298. package/resources/training-data.mjs.map +1 -0
  299. package/resources/users/companies/companies.d.mts +121 -130
  300. package/resources/users/companies/companies.d.mts.map +1 -1
  301. package/resources/users/companies/companies.d.ts +121 -130
  302. package/resources/users/companies/companies.d.ts.map +1 -1
  303. package/resources/users/companies/companies.js +125 -125
  304. package/resources/users/companies/companies.js.map +1 -1
  305. package/resources/users/companies/companies.mjs +125 -125
  306. package/resources/users/companies/companies.mjs.map +1 -1
  307. package/resources/users/companies/contacts.d.mts +3 -3
  308. package/resources/users/companies/contacts.d.mts.map +1 -1
  309. package/resources/users/companies/contacts.d.ts +3 -3
  310. package/resources/users/companies/contacts.d.ts.map +1 -1
  311. package/resources/users/companies/index.d.mts +1 -1
  312. package/resources/users/companies/index.d.mts.map +1 -1
  313. package/resources/users/companies/index.d.ts +1 -1
  314. package/resources/users/companies/index.d.ts.map +1 -1
  315. package/resources/users/contacts/by-user-id/by-user-id.d.mts +2 -2
  316. package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
  317. package/resources/users/contacts/by-user-id/by-user-id.d.ts +2 -2
  318. package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
  319. package/resources/users/contacts/by-user-id/email-preferences.d.mts +2 -2
  320. package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
  321. package/resources/users/contacts/by-user-id/email-preferences.d.ts +2 -2
  322. package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
  323. package/resources/users/contacts/contacts.d.mts +249 -235
  324. package/resources/users/contacts/contacts.d.mts.map +1 -1
  325. package/resources/users/contacts/contacts.d.ts +249 -235
  326. package/resources/users/contacts/contacts.d.ts.map +1 -1
  327. package/resources/users/contacts/contacts.js +211 -184
  328. package/resources/users/contacts/contacts.js.map +1 -1
  329. package/resources/users/contacts/contacts.mjs +211 -184
  330. package/resources/users/contacts/contacts.mjs.map +1 -1
  331. package/resources/users/contacts/email-preferences.d.mts +2 -2
  332. package/resources/users/contacts/email-preferences.d.mts.map +1 -1
  333. package/resources/users/contacts/email-preferences.d.ts +2 -2
  334. package/resources/users/contacts/email-preferences.d.ts.map +1 -1
  335. package/resources/users/contacts/index.d.mts +1 -1
  336. package/resources/users/contacts/index.d.mts.map +1 -1
  337. package/resources/users/contacts/index.d.ts +1 -1
  338. package/resources/users/contacts/index.d.ts.map +1 -1
  339. package/resources/users/index.d.mts +2 -2
  340. package/resources/users/index.d.mts.map +1 -1
  341. package/resources/users/index.d.ts +2 -2
  342. package/resources/users/index.d.ts.map +1 -1
  343. package/resources/users/users.d.mts +2 -2
  344. package/resources/users/users.d.mts.map +1 -1
  345. package/resources/users/users.d.ts +2 -2
  346. package/resources/users/users.d.ts.map +1 -1
  347. package/resources/webhooks.d.mts +83 -83
  348. package/resources/webhooks.d.mts.map +1 -1
  349. package/resources/webhooks.d.ts +83 -83
  350. package/resources/webhooks.d.ts.map +1 -1
  351. package/resources/webhooks.js +77 -77
  352. package/resources/webhooks.js.map +1 -1
  353. package/resources/webhooks.mjs +77 -77
  354. package/resources/webhooks.mjs.map +1 -1
  355. package/src/client.ts +26 -6
  356. package/src/resources/audit-logs.ts +19 -1
  357. package/src/resources/changelogs/changelogs.ts +320 -175
  358. package/src/resources/changelogs/index.ts +1 -1
  359. package/src/resources/changelogs/subscribers.ts +31 -2
  360. package/src/resources/conversation-attributes.ts +40 -34
  361. package/src/resources/feedback/boards.ts +30 -30
  362. package/src/resources/feedback/comments.ts +137 -137
  363. package/src/resources/feedback/custom-fields.ts +46 -46
  364. package/src/resources/feedback/feedback.ts +6 -6
  365. package/src/resources/feedback/index.ts +6 -6
  366. package/src/resources/feedback/post-statuses.ts +33 -33
  367. package/src/resources/feedback/posts/index.ts +2 -2
  368. package/src/resources/feedback/posts/posts.ts +176 -176
  369. package/src/resources/feedback/posts/voters.ts +3 -3
  370. package/src/resources/help-center/articles.ts +631 -109
  371. package/src/resources/help-center/collections.ts +349 -88
  372. package/src/resources/help-center/help-center.ts +5 -5
  373. package/src/resources/help-center/help-centers.ts +202 -57
  374. package/src/resources/help-center/index.ts +5 -5
  375. package/src/resources/help-center/redirect-rules.ts +294 -178
  376. package/src/resources/index.ts +13 -6
  377. package/src/resources/organization/admins.ts +36 -36
  378. package/src/resources/organization/brands.ts +68 -68
  379. package/src/resources/organization/index.ts +3 -3
  380. package/src/resources/organization/organization.ts +3 -3
  381. package/src/resources/organization/teams.ts +54 -54
  382. package/src/resources/reports.ts +462 -272
  383. package/src/resources/support/conversation-tags.ts +62 -62
  384. package/src/resources/support/conversations/conversations.ts +453 -417
  385. package/src/resources/support/conversations/index.ts +4 -4
  386. package/src/resources/support/conversations/participants.ts +2 -2
  387. package/src/resources/support/index.ts +7 -7
  388. package/src/resources/support/support.ts +7 -7
  389. package/src/resources/support/tickets/categories.ts +35 -35
  390. package/src/resources/support/tickets/custom-fields.ts +29 -29
  391. package/src/resources/support/tickets/index.ts +4 -4
  392. package/src/resources/support/tickets/statuses.ts +31 -31
  393. package/src/resources/support/tickets/tickets.ts +101 -101
  394. package/src/resources/surveys.ts +60 -60
  395. package/src/resources/training-data/files.ts +431 -0
  396. package/src/resources/training-data/index.ts +31 -0
  397. package/src/resources/training-data/qna.ts +514 -0
  398. package/src/resources/training-data/training-data.ts +603 -0
  399. package/src/resources/training-data.ts +3 -0
  400. package/src/resources/users/companies/companies.ts +158 -172
  401. package/src/resources/users/companies/contacts.ts +3 -3
  402. package/src/resources/users/companies/index.ts +2 -2
  403. package/src/resources/users/contacts/by-user-id/by-user-id.ts +2 -2
  404. package/src/resources/users/contacts/by-user-id/email-preferences.ts +2 -2
  405. package/src/resources/users/contacts/contacts.ts +284 -280
  406. package/src/resources/users/contacts/email-preferences.ts +2 -2
  407. package/src/resources/users/contacts/index.ts +3 -3
  408. package/src/resources/users/index.ts +5 -5
  409. package/src/resources/users/users.ts +5 -5
  410. package/src/resources/webhooks.ts +106 -100
  411. package/src/version.ts +1 -1
  412. package/version.d.mts +1 -1
  413. package/version.d.ts +1 -1
  414. package/version.js +1 -1
  415. package/version.mjs +1 -1
@@ -20,15 +20,15 @@ export {
20
20
  type SlackMessageDetails,
21
21
  type ConversationDeleteResponse,
22
22
  type ConversationSearchResponse,
23
- type ConversationListParams,
24
23
  type ConversationCreateParams,
25
24
  type ConversationRetrieveParams,
26
- type ConversationDeleteParams,
27
25
  type ConversationUpdateParams,
28
- type ConversationReplyParams,
29
- type ConversationRedactParams,
26
+ type ConversationListParams,
27
+ type ConversationDeleteParams,
30
28
  type ConversationAttachTagParams,
31
29
  type ConversationDetachTagParams,
30
+ type ConversationRedactParams,
31
+ type ConversationReplyParams,
32
32
  type ConversationSearchParams,
33
33
  type ConversationsCursorPage,
34
34
  } from './conversations';
@@ -220,7 +220,7 @@ export interface ParticipantAddParams {
220
220
  * Header param: API version for this request. Defaults to your organization's
221
221
  * configured API version if not specified.
222
222
  */
223
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
223
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
224
224
  }
225
225
 
226
226
  export namespace ParticipantAddParams {
@@ -262,7 +262,7 @@ export interface ParticipantRemoveParams {
262
262
  * Header param: API version for this request. Defaults to your organization's
263
263
  * configured API version if not specified.
264
264
  */
265
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
265
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
266
266
  }
267
267
 
268
268
  export declare namespace Participants {
@@ -5,10 +5,10 @@ export {
5
5
  type ConversationTag,
6
6
  type ConversationTagListResponse,
7
7
  type ConversationTagDeleteResponse,
8
- type ConversationTagListParams,
9
- type ConversationTagCreateOrRenameParams,
10
8
  type ConversationTagRetrieveParams,
9
+ type ConversationTagListParams,
11
10
  type ConversationTagDeleteParams,
11
+ type ConversationTagCreateOrRenameParams,
12
12
  } from './conversation-tags';
13
13
  export {
14
14
  Conversations,
@@ -30,15 +30,15 @@ export {
30
30
  type SlackMessageDetails,
31
31
  type ConversationDeleteResponse,
32
32
  type ConversationSearchResponse,
33
- type ConversationListParams,
34
33
  type ConversationCreateParams,
35
34
  type ConversationRetrieveParams,
36
- type ConversationDeleteParams,
37
35
  type ConversationUpdateParams,
38
- type ConversationReplyParams,
39
- type ConversationRedactParams,
36
+ type ConversationListParams,
37
+ type ConversationDeleteParams,
40
38
  type ConversationAttachTagParams,
41
39
  type ConversationDetachTagParams,
40
+ type ConversationRedactParams,
41
+ type ConversationReplyParams,
42
42
  type ConversationSearchParams,
43
43
  type ConversationsCursorPage,
44
44
  } from './conversations/index';
@@ -48,10 +48,10 @@ export {
48
48
  type AuthorInput,
49
49
  type Ticket,
50
50
  type TicketDeleteResponse,
51
- type TicketListParams,
52
51
  type TicketCreateParams,
53
52
  type TicketRetrieveParams,
54
53
  type TicketUpdateParams,
54
+ type TicketListParams,
55
55
  type TicketDeleteParams,
56
56
  type TicketReplyParams,
57
57
  type TicketsCursorPage,
@@ -94,15 +94,15 @@ export declare namespace Support {
94
94
  type ConversationDeleteResponse as ConversationDeleteResponse,
95
95
  type ConversationSearchResponse as ConversationSearchResponse,
96
96
  type ConversationsCursorPage as ConversationsCursorPage,
97
- type ConversationListParams as ConversationListParams,
98
97
  type ConversationCreateParams as ConversationCreateParams,
99
98
  type ConversationRetrieveParams as ConversationRetrieveParams,
100
- type ConversationDeleteParams as ConversationDeleteParams,
101
99
  type ConversationUpdateParams as ConversationUpdateParams,
102
- type ConversationReplyParams as ConversationReplyParams,
103
- type ConversationRedactParams as ConversationRedactParams,
100
+ type ConversationListParams as ConversationListParams,
101
+ type ConversationDeleteParams as ConversationDeleteParams,
104
102
  type ConversationAttachTagParams as ConversationAttachTagParams,
105
103
  type ConversationDetachTagParams as ConversationDetachTagParams,
104
+ type ConversationRedactParams as ConversationRedactParams,
105
+ type ConversationReplyParams as ConversationReplyParams,
106
106
  type ConversationSearchParams as ConversationSearchParams,
107
107
  };
108
108
 
@@ -111,10 +111,10 @@ export declare namespace Support {
111
111
  type ConversationTag as ConversationTag,
112
112
  type ConversationTagListResponse as ConversationTagListResponse,
113
113
  type ConversationTagDeleteResponse as ConversationTagDeleteResponse,
114
- type ConversationTagListParams as ConversationTagListParams,
115
- type ConversationTagCreateOrRenameParams as ConversationTagCreateOrRenameParams,
116
114
  type ConversationTagRetrieveParams as ConversationTagRetrieveParams,
115
+ type ConversationTagListParams as ConversationTagListParams,
117
116
  type ConversationTagDeleteParams as ConversationTagDeleteParams,
117
+ type ConversationTagCreateOrRenameParams as ConversationTagCreateOrRenameParams,
118
118
  };
119
119
 
120
120
  export {
@@ -123,10 +123,10 @@ export declare namespace Support {
123
123
  type Ticket as Ticket,
124
124
  type TicketDeleteResponse as TicketDeleteResponse,
125
125
  type TicketsCursorPage as TicketsCursorPage,
126
- type TicketListParams as TicketListParams,
127
126
  type TicketCreateParams as TicketCreateParams,
128
127
  type TicketRetrieveParams as TicketRetrieveParams,
129
128
  type TicketUpdateParams as TicketUpdateParams,
129
+ type TicketListParams as TicketListParams,
130
130
  type TicketDeleteParams as TicketDeleteParams,
131
131
  type TicketReplyParams as TicketReplyParams,
132
132
  };
@@ -12,32 +12,26 @@ import { path } from '../../../internal/utils/path';
12
12
  */
13
13
  export class Categories extends APIResource {
14
14
  /**
15
- * Returns all ticket categories for the authenticated organization.
16
- *
17
- * Ticket categories organize tickets into distinct containers. Each category can
18
- * have different:
19
- *
20
- * - Access controls (public, private, segment-restricted)
21
- * - Feature toggles (comments, posting enabled)
22
- * - Custom fields
23
- *
24
- * Use the `supportBoard` and `supportBoardType` fields to identify ticket
25
- * categories.
15
+ * Retrieves a single ticket category by its unique identifier.
26
16
  *
27
- * This endpoint returns all categories without pagination.
17
+ * Returns the full category object including access controls, feature toggles, and
18
+ * localization settings.
28
19
  *
29
20
  * @example
30
21
  * ```ts
31
- * const boards =
32
- * await client.support.tickets.categories.list();
22
+ * const board =
23
+ * await client.support.tickets.categories.retrieve(
24
+ * '507f1f77bcf86cd799439011',
25
+ * );
33
26
  * ```
34
27
  */
35
- list(
36
- params: CategoryListParams | null | undefined = {},
28
+ retrieve(
29
+ id: string,
30
+ params: CategoryRetrieveParams | null | undefined = {},
37
31
  options?: RequestOptions,
38
- ): APIPromise<CategoryListResponse> {
32
+ ): APIPromise<BoardsAPI.Board> {
39
33
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
40
- return this._client.get('/v2/tickets/categories', {
34
+ return this._client.get(path`/v2/tickets/categories/${id}`, {
41
35
  ...options,
42
36
  headers: buildHeaders([
43
37
  {
@@ -51,26 +45,32 @@ export class Categories extends APIResource {
51
45
  }
52
46
 
53
47
  /**
54
- * Retrieves a single ticket category by its unique identifier.
48
+ * Returns all ticket categories for the authenticated organization.
55
49
  *
56
- * Returns the full category object including access controls, feature toggles, and
57
- * localization settings.
50
+ * Ticket categories organize tickets into distinct containers. Each category can
51
+ * have different:
52
+ *
53
+ * - Access controls (public, private, segment-restricted)
54
+ * - Feature toggles (comments, posting enabled)
55
+ * - Custom fields
56
+ *
57
+ * Use the `supportBoard` and `supportBoardType` fields to identify ticket
58
+ * categories.
59
+ *
60
+ * This endpoint returns all categories without pagination.
58
61
  *
59
62
  * @example
60
63
  * ```ts
61
- * const board =
62
- * await client.support.tickets.categories.retrieve(
63
- * '507f1f77bcf86cd799439011',
64
- * );
64
+ * const boards =
65
+ * await client.support.tickets.categories.list();
65
66
  * ```
66
67
  */
67
- retrieve(
68
- id: string,
69
- params: CategoryRetrieveParams | null | undefined = {},
68
+ list(
69
+ params: CategoryListParams | null | undefined = {},
70
70
  options?: RequestOptions,
71
- ): APIPromise<BoardsAPI.Board> {
71
+ ): APIPromise<CategoryListResponse> {
72
72
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
73
- return this._client.get(path`/v2/tickets/categories/${id}`, {
73
+ return this._client.get('/v2/tickets/categories', {
74
74
  ...options,
75
75
  headers: buildHeaders([
76
76
  {
@@ -86,26 +86,26 @@ export class Categories extends APIResource {
86
86
 
87
87
  export type CategoryListResponse = Array<BoardsAPI.Board>;
88
88
 
89
- export interface CategoryListParams {
89
+ export interface CategoryRetrieveParams {
90
90
  /**
91
91
  * API version for this request. Defaults to your organization's configured API
92
92
  * version if not specified.
93
93
  */
94
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
94
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
95
95
  }
96
96
 
97
- export interface CategoryRetrieveParams {
97
+ export interface CategoryListParams {
98
98
  /**
99
99
  * API version for this request. Defaults to your organization's configured API
100
100
  * version if not specified.
101
101
  */
102
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
102
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
103
103
  }
104
104
 
105
105
  export declare namespace Categories {
106
106
  export {
107
107
  type CategoryListResponse as CategoryListResponse,
108
- type CategoryListParams as CategoryListParams,
109
108
  type CategoryRetrieveParams as CategoryRetrieveParams,
109
+ type CategoryListParams as CategoryListParams,
110
110
  };
111
111
  }
@@ -12,14 +12,11 @@ import { path } from '../../../internal/utils/path';
12
12
  */
13
13
  export class CustomFields extends APIResource {
14
14
  /**
15
- * Returns all custom fields configured in your organization that can be used on
16
- * tickets.
17
- *
18
- * This endpoint returns all custom fields at once. No pagination is supported.
15
+ * Retrieves a single custom field by its unique identifier.
19
16
  *
20
- * ### Custom Field Object
17
+ * ### Response
21
18
  *
22
- * Each custom field includes:
19
+ * Returns a custom field object with:
23
20
  *
24
21
  * - `id` - Unique field identifier
25
22
  * - `label` - Field label displayed to users
@@ -33,16 +30,19 @@ export class CustomFields extends APIResource {
33
30
  *
34
31
  * @example
35
32
  * ```ts
36
- * const customFieldList =
37
- * await client.support.tickets.customFields.list();
33
+ * const customField =
34
+ * await client.support.tickets.customFields.retrieve(
35
+ * '65d26304b2e65b1e1278170c',
36
+ * );
38
37
  * ```
39
38
  */
40
- list(
41
- params: CustomFieldListParams | null | undefined = {},
39
+ retrieve(
40
+ id: string,
41
+ params: CustomFieldRetrieveParams | null | undefined = {},
42
42
  options?: RequestOptions,
43
- ): APIPromise<CustomFieldsAPI.CustomFieldList> {
43
+ ): APIPromise<CustomFieldsAPI.CustomField> {
44
44
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
45
- return this._client.get('/v2/tickets/custom_fields', {
45
+ return this._client.get(path`/v2/tickets/custom_fields/${id}`, {
46
46
  ...options,
47
47
  headers: buildHeaders([
48
48
  {
@@ -56,11 +56,14 @@ export class CustomFields extends APIResource {
56
56
  }
57
57
 
58
58
  /**
59
- * Retrieves a single custom field by its unique identifier.
59
+ * Returns all custom fields configured in your organization that can be used on
60
+ * tickets.
60
61
  *
61
- * ### Response
62
+ * This endpoint returns all custom fields at once. No pagination is supported.
62
63
  *
63
- * Returns a custom field object with:
64
+ * ### Custom Field Object
65
+ *
66
+ * Each custom field includes:
64
67
  *
65
68
  * - `id` - Unique field identifier
66
69
  * - `label` - Field label displayed to users
@@ -74,19 +77,16 @@ export class CustomFields extends APIResource {
74
77
  *
75
78
  * @example
76
79
  * ```ts
77
- * const customField =
78
- * await client.support.tickets.customFields.retrieve(
79
- * '65d26304b2e65b1e1278170c',
80
- * );
80
+ * const customFieldList =
81
+ * await client.support.tickets.customFields.list();
81
82
  * ```
82
83
  */
83
- retrieve(
84
- id: string,
85
- params: CustomFieldRetrieveParams | null | undefined = {},
84
+ list(
85
+ params: CustomFieldListParams | null | undefined = {},
86
86
  options?: RequestOptions,
87
- ): APIPromise<CustomFieldsAPI.CustomField> {
87
+ ): APIPromise<CustomFieldsAPI.CustomFieldList> {
88
88
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
89
- return this._client.get(path`/v2/tickets/custom_fields/${id}`, {
89
+ return this._client.get('/v2/tickets/custom_fields', {
90
90
  ...options,
91
91
  headers: buildHeaders([
92
92
  {
@@ -100,25 +100,25 @@ export class CustomFields extends APIResource {
100
100
  }
101
101
  }
102
102
 
103
- export interface CustomFieldListParams {
103
+ export interface CustomFieldRetrieveParams {
104
104
  /**
105
105
  * API version for this request. Defaults to your organization's configured API
106
106
  * version if not specified.
107
107
  */
108
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
108
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
109
109
  }
110
110
 
111
- export interface CustomFieldRetrieveParams {
111
+ export interface CustomFieldListParams {
112
112
  /**
113
113
  * API version for this request. Defaults to your organization's configured API
114
114
  * version if not specified.
115
115
  */
116
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
116
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
117
117
  }
118
118
 
119
119
  export declare namespace CustomFields {
120
120
  export {
121
- type CustomFieldListParams as CustomFieldListParams,
122
121
  type CustomFieldRetrieveParams as CustomFieldRetrieveParams,
122
+ type CustomFieldListParams as CustomFieldListParams,
123
123
  };
124
124
  }
@@ -3,25 +3,25 @@
3
3
  export {
4
4
  Categories,
5
5
  type CategoryListResponse,
6
- type CategoryListParams,
7
6
  type CategoryRetrieveParams,
7
+ type CategoryListParams,
8
8
  } from './categories';
9
- export { CustomFields, type CustomFieldListParams, type CustomFieldRetrieveParams } from './custom-fields';
9
+ export { CustomFields, type CustomFieldRetrieveParams, type CustomFieldListParams } from './custom-fields';
10
10
  export {
11
11
  Statuses,
12
12
  type StatusListResponse,
13
- type StatusListParams,
14
13
  type StatusRetrieveParams,
14
+ type StatusListParams,
15
15
  } from './statuses';
16
16
  export {
17
17
  Tickets,
18
18
  type AuthorInput,
19
19
  type Ticket,
20
20
  type TicketDeleteResponse,
21
- type TicketListParams,
22
21
  type TicketCreateParams,
23
22
  type TicketRetrieveParams,
24
23
  type TicketUpdateParams,
24
+ type TicketListParams,
25
25
  type TicketDeleteParams,
26
26
  type TicketReplyParams,
27
27
  type TicketsCursorPage,
@@ -12,29 +12,25 @@ import { path } from '../../../internal/utils/path';
12
12
  */
13
13
  export class Statuses extends APIResource {
14
14
  /**
15
- * Returns all ticket statuses for the authenticated organization.
16
- *
17
- * Ticket statuses define workflow stages. Each status has:
18
- *
19
- * - A display name and color
20
- * - A type indicating the workflow stage (reviewing, unstarted, active, completed,
21
- * canceled)
22
- * - A flag indicating if it's the default status for new tickets
15
+ * Retrieves a single ticket status by its unique identifier.
23
16
  *
24
- * This endpoint returns all statuses without pagination.
17
+ * Returns the status object including name, color, type, and default flag.
25
18
  *
26
19
  * @example
27
20
  * ```ts
28
- * const postStatuses =
29
- * await client.support.tickets.statuses.list();
21
+ * const postStatus =
22
+ * await client.support.tickets.statuses.retrieve(
23
+ * '507f1f77bcf86cd799439011',
24
+ * );
30
25
  * ```
31
26
  */
32
- list(
33
- params: StatusListParams | null | undefined = {},
27
+ retrieve(
28
+ id: string,
29
+ params: StatusRetrieveParams | null | undefined = {},
34
30
  options?: RequestOptions,
35
- ): APIPromise<StatusListResponse> {
31
+ ): APIPromise<PostStatusesAPI.PostStatus> {
36
32
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
37
- return this._client.get('/v2/tickets/statuses', {
33
+ return this._client.get(path`/v2/tickets/statuses/${id}`, {
38
34
  ...options,
39
35
  headers: buildHeaders([
40
36
  {
@@ -48,25 +44,29 @@ export class Statuses extends APIResource {
48
44
  }
49
45
 
50
46
  /**
51
- * Retrieves a single ticket status by its unique identifier.
47
+ * Returns all ticket statuses for the authenticated organization.
52
48
  *
53
- * Returns the status object including name, color, type, and default flag.
49
+ * Ticket statuses define workflow stages. Each status has:
50
+ *
51
+ * - A display name and color
52
+ * - A type indicating the workflow stage (reviewing, unstarted, active, completed,
53
+ * canceled)
54
+ * - A flag indicating if it's the default status for new tickets
55
+ *
56
+ * This endpoint returns all statuses without pagination.
54
57
  *
55
58
  * @example
56
59
  * ```ts
57
- * const postStatus =
58
- * await client.support.tickets.statuses.retrieve(
59
- * '507f1f77bcf86cd799439011',
60
- * );
60
+ * const postStatuses =
61
+ * await client.support.tickets.statuses.list();
61
62
  * ```
62
63
  */
63
- retrieve(
64
- id: string,
65
- params: StatusRetrieveParams | null | undefined = {},
64
+ list(
65
+ params: StatusListParams | null | undefined = {},
66
66
  options?: RequestOptions,
67
- ): APIPromise<PostStatusesAPI.PostStatus> {
67
+ ): APIPromise<StatusListResponse> {
68
68
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
69
- return this._client.get(path`/v2/tickets/statuses/${id}`, {
69
+ return this._client.get('/v2/tickets/statuses', {
70
70
  ...options,
71
71
  headers: buildHeaders([
72
72
  {
@@ -82,26 +82,26 @@ export class Statuses extends APIResource {
82
82
 
83
83
  export type StatusListResponse = Array<PostStatusesAPI.PostStatus>;
84
84
 
85
- export interface StatusListParams {
85
+ export interface StatusRetrieveParams {
86
86
  /**
87
87
  * API version for this request. Defaults to your organization's configured API
88
88
  * version if not specified.
89
89
  */
90
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
90
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
91
91
  }
92
92
 
93
- export interface StatusRetrieveParams {
93
+ export interface StatusListParams {
94
94
  /**
95
95
  * API version for this request. Defaults to your organization's configured API
96
96
  * version if not specified.
97
97
  */
98
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
98
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
99
99
  }
100
100
 
101
101
  export declare namespace Statuses {
102
102
  export {
103
103
  type StatusListResponse as StatusListResponse,
104
- type StatusListParams as StatusListParams,
105
104
  type StatusRetrieveParams as StatusRetrieveParams,
105
+ type StatusListParams as StatusListParams,
106
106
  };
107
107
  }