featurebase-node 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/CHANGELOG.md +19 -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 +9 -3
  9. package/client.d.mts.map +1 -1
  10. package/client.d.ts +9 -3
  11. package/client.d.ts.map +1 -1
  12. package/client.js +6 -0
  13. package/client.js.map +1 -1
  14. package/client.mjs +6 -0
  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/changelogs/changelogs.d.mts +106 -106
  95. package/resources/changelogs/changelogs.d.mts.map +1 -1
  96. package/resources/changelogs/changelogs.d.ts +106 -106
  97. package/resources/changelogs/changelogs.d.ts.map +1 -1
  98. package/resources/changelogs/changelogs.js +74 -74
  99. package/resources/changelogs/changelogs.js.map +1 -1
  100. package/resources/changelogs/changelogs.mjs +74 -74
  101. package/resources/changelogs/changelogs.mjs.map +1 -1
  102. package/resources/changelogs/index.d.mts +1 -1
  103. package/resources/changelogs/index.d.mts.map +1 -1
  104. package/resources/changelogs/index.d.ts +1 -1
  105. package/resources/changelogs/index.d.ts.map +1 -1
  106. package/resources/changelogs/index.mjs.map +1 -1
  107. package/resources/changelogs/subscribers.d.mts.map +1 -1
  108. package/resources/changelogs/subscribers.d.ts.map +1 -1
  109. package/resources/changelogs/subscribers.mjs.map +1 -1
  110. package/resources/changelogs.d.mts.map +1 -1
  111. package/resources/changelogs.d.ts.map +1 -1
  112. package/resources/changelogs.mjs.map +1 -1
  113. package/resources/conversation-attributes.d.mts +117 -0
  114. package/resources/conversation-attributes.d.mts.map +1 -0
  115. package/resources/conversation-attributes.d.ts +117 -0
  116. package/resources/conversation-attributes.d.ts.map +1 -0
  117. package/resources/conversation-attributes.js +61 -0
  118. package/resources/conversation-attributes.js.map +1 -0
  119. package/resources/conversation-attributes.mjs +57 -0
  120. package/resources/conversation-attributes.mjs.map +1 -0
  121. package/resources/feedback/boards.d.mts +17 -17
  122. package/resources/feedback/boards.d.mts.map +1 -1
  123. package/resources/feedback/boards.d.ts +17 -17
  124. package/resources/feedback/boards.d.ts.map +1 -1
  125. package/resources/feedback/boards.js +20 -20
  126. package/resources/feedback/boards.js.map +1 -1
  127. package/resources/feedback/boards.mjs +20 -20
  128. package/resources/feedback/boards.mjs.map +1 -1
  129. package/resources/feedback/comments.d.mts +129 -191
  130. package/resources/feedback/comments.d.mts.map +1 -1
  131. package/resources/feedback/comments.d.ts +129 -191
  132. package/resources/feedback/comments.d.ts.map +1 -1
  133. package/resources/feedback/comments.js +93 -93
  134. package/resources/feedback/comments.js.map +1 -1
  135. package/resources/feedback/comments.mjs +93 -93
  136. package/resources/feedback/comments.mjs.map +1 -1
  137. package/resources/feedback/custom-fields.d.mts +34 -34
  138. package/resources/feedback/custom-fields.d.mts.map +1 -1
  139. package/resources/feedback/custom-fields.d.ts +34 -34
  140. package/resources/feedback/custom-fields.d.ts.map +1 -1
  141. package/resources/feedback/custom-fields.js +36 -36
  142. package/resources/feedback/custom-fields.js.map +1 -1
  143. package/resources/feedback/custom-fields.mjs +36 -36
  144. package/resources/feedback/custom-fields.mjs.map +1 -1
  145. package/resources/feedback/feedback.d.mts +7 -7
  146. package/resources/feedback/feedback.d.mts.map +1 -1
  147. package/resources/feedback/feedback.d.ts +7 -7
  148. package/resources/feedback/feedback.d.ts.map +1 -1
  149. package/resources/feedback/feedback.js.map +1 -1
  150. package/resources/feedback/feedback.mjs.map +1 -1
  151. package/resources/feedback/index.d.mts +5 -5
  152. package/resources/feedback/index.d.mts.map +1 -1
  153. package/resources/feedback/index.d.ts +5 -5
  154. package/resources/feedback/index.d.ts.map +1 -1
  155. package/resources/feedback/index.js.map +1 -1
  156. package/resources/feedback/index.mjs.map +1 -1
  157. package/resources/feedback/post-statuses.d.mts +18 -18
  158. package/resources/feedback/post-statuses.d.mts.map +1 -1
  159. package/resources/feedback/post-statuses.d.ts +18 -18
  160. package/resources/feedback/post-statuses.d.ts.map +1 -1
  161. package/resources/feedback/post-statuses.js +23 -23
  162. package/resources/feedback/post-statuses.js.map +1 -1
  163. package/resources/feedback/post-statuses.mjs +23 -23
  164. package/resources/feedback/post-statuses.mjs.map +1 -1
  165. package/resources/feedback/posts/index.d.mts +1 -1
  166. package/resources/feedback/posts/index.d.mts.map +1 -1
  167. package/resources/feedback/posts/index.d.ts +1 -1
  168. package/resources/feedback/posts/index.d.ts.map +1 -1
  169. package/resources/feedback/posts/index.js.map +1 -1
  170. package/resources/feedback/posts/index.mjs.map +1 -1
  171. package/resources/feedback/posts/posts.d.mts +187 -260
  172. package/resources/feedback/posts/posts.d.mts.map +1 -1
  173. package/resources/feedback/posts/posts.d.ts +187 -260
  174. package/resources/feedback/posts/posts.d.ts.map +1 -1
  175. package/resources/feedback/posts/posts.js +75 -75
  176. package/resources/feedback/posts/posts.js.map +1 -1
  177. package/resources/feedback/posts/posts.mjs +75 -75
  178. package/resources/feedback/posts/posts.mjs.map +1 -1
  179. package/resources/feedback/posts/voters.d.mts.map +1 -1
  180. package/resources/feedback/posts/voters.d.ts.map +1 -1
  181. package/resources/feedback/posts/voters.mjs.map +1 -1
  182. package/resources/feedback/posts.d.mts.map +1 -1
  183. package/resources/feedback/posts.d.ts.map +1 -1
  184. package/resources/feedback/posts.mjs.map +1 -1
  185. package/resources/feedback.d.mts.map +1 -1
  186. package/resources/feedback.d.ts.map +1 -1
  187. package/resources/feedback.mjs.map +1 -1
  188. package/resources/help-center/articles.d.mts +98 -152
  189. package/resources/help-center/articles.d.mts.map +1 -1
  190. package/resources/help-center/articles.d.ts +98 -152
  191. package/resources/help-center/articles.d.ts.map +1 -1
  192. package/resources/help-center/articles.js +73 -73
  193. package/resources/help-center/articles.js.map +1 -1
  194. package/resources/help-center/articles.mjs +73 -73
  195. package/resources/help-center/articles.mjs.map +1 -1
  196. package/resources/help-center/collections.d.mts +64 -64
  197. package/resources/help-center/collections.d.mts.map +1 -1
  198. package/resources/help-center/collections.d.ts +64 -64
  199. package/resources/help-center/collections.d.ts.map +1 -1
  200. package/resources/help-center/collections.js +65 -65
  201. package/resources/help-center/collections.js.map +1 -1
  202. package/resources/help-center/collections.mjs +65 -65
  203. package/resources/help-center/collections.mjs.map +1 -1
  204. package/resources/help-center/help-center.d.mts +5 -5
  205. package/resources/help-center/help-center.d.mts.map +1 -1
  206. package/resources/help-center/help-center.d.ts +5 -5
  207. package/resources/help-center/help-center.d.ts.map +1 -1
  208. package/resources/help-center/help-center.js.map +1 -1
  209. package/resources/help-center/help-center.mjs.map +1 -1
  210. package/resources/help-center/help-centers.d.mts +43 -43
  211. package/resources/help-center/help-centers.d.mts.map +1 -1
  212. package/resources/help-center/help-centers.d.ts +43 -43
  213. package/resources/help-center/help-centers.d.ts.map +1 -1
  214. package/resources/help-center/help-centers.js +43 -43
  215. package/resources/help-center/help-centers.js.map +1 -1
  216. package/resources/help-center/help-centers.mjs +43 -43
  217. package/resources/help-center/help-centers.mjs.map +1 -1
  218. package/resources/help-center/index.d.mts +4 -4
  219. package/resources/help-center/index.d.mts.map +1 -1
  220. package/resources/help-center/index.d.ts +4 -4
  221. package/resources/help-center/index.d.ts.map +1 -1
  222. package/resources/help-center/index.js.map +1 -1
  223. package/resources/help-center/index.mjs.map +1 -1
  224. package/resources/help-center/redirect-rules.d.mts +117 -117
  225. package/resources/help-center/redirect-rules.d.mts.map +1 -1
  226. package/resources/help-center/redirect-rules.d.ts +117 -117
  227. package/resources/help-center/redirect-rules.d.ts.map +1 -1
  228. package/resources/help-center/redirect-rules.js +112 -112
  229. package/resources/help-center/redirect-rules.js.map +1 -1
  230. package/resources/help-center/redirect-rules.mjs +112 -112
  231. package/resources/help-center/redirect-rules.mjs.map +1 -1
  232. package/resources/help-center.d.mts.map +1 -1
  233. package/resources/help-center.d.ts.map +1 -1
  234. package/resources/help-center.mjs.map +1 -1
  235. package/resources/index.d.mts +4 -3
  236. package/resources/index.d.mts.map +1 -1
  237. package/resources/index.d.ts +4 -3
  238. package/resources/index.d.ts.map +1 -1
  239. package/resources/index.js +3 -1
  240. package/resources/index.js.map +1 -1
  241. package/resources/index.mjs +1 -0
  242. package/resources/index.mjs.map +1 -1
  243. package/resources/organization/admins.d.mts +23 -23
  244. package/resources/organization/admins.d.mts.map +1 -1
  245. package/resources/organization/admins.d.ts +23 -23
  246. package/resources/organization/admins.d.ts.map +1 -1
  247. package/resources/organization/admins.js +25 -25
  248. package/resources/organization/admins.js.map +1 -1
  249. package/resources/organization/admins.mjs +25 -25
  250. package/resources/organization/admins.mjs.map +1 -1
  251. package/resources/organization/brands.d.mts +50 -50
  252. package/resources/organization/brands.d.mts.map +1 -1
  253. package/resources/organization/brands.d.ts +50 -50
  254. package/resources/organization/brands.d.ts.map +1 -1
  255. package/resources/organization/brands.js +54 -54
  256. package/resources/organization/brands.js.map +1 -1
  257. package/resources/organization/brands.mjs +54 -54
  258. package/resources/organization/brands.mjs.map +1 -1
  259. package/resources/organization/index.d.mts +3 -3
  260. package/resources/organization/index.d.mts.map +1 -1
  261. package/resources/organization/index.d.ts +3 -3
  262. package/resources/organization/index.d.ts.map +1 -1
  263. package/resources/organization/index.mjs.map +1 -1
  264. package/resources/organization/organization.d.mts +3 -3
  265. package/resources/organization/organization.d.mts.map +1 -1
  266. package/resources/organization/organization.d.ts +3 -3
  267. package/resources/organization/organization.d.ts.map +1 -1
  268. package/resources/organization/organization.mjs.map +1 -1
  269. package/resources/organization/teams.d.mts +45 -45
  270. package/resources/organization/teams.d.mts.map +1 -1
  271. package/resources/organization/teams.d.ts +45 -45
  272. package/resources/organization/teams.d.ts.map +1 -1
  273. package/resources/organization/teams.js +44 -44
  274. package/resources/organization/teams.js.map +1 -1
  275. package/resources/organization/teams.mjs +44 -44
  276. package/resources/organization/teams.mjs.map +1 -1
  277. package/resources/organization.d.mts.map +1 -1
  278. package/resources/organization.d.ts.map +1 -1
  279. package/resources/organization.mjs.map +1 -1
  280. package/resources/support/conversation-tags.d.mts +40 -40
  281. package/resources/support/conversation-tags.d.mts.map +1 -1
  282. package/resources/support/conversation-tags.d.ts +40 -40
  283. package/resources/support/conversation-tags.d.ts.map +1 -1
  284. package/resources/support/conversation-tags.js +32 -32
  285. package/resources/support/conversation-tags.js.map +1 -1
  286. package/resources/support/conversation-tags.mjs +32 -32
  287. package/resources/support/conversation-tags.mjs.map +1 -1
  288. package/resources/support/conversations/conversations.d.mts +599 -705
  289. package/resources/support/conversations/conversations.d.mts.map +1 -1
  290. package/resources/support/conversations/conversations.d.ts +599 -705
  291. package/resources/support/conversations/conversations.d.ts.map +1 -1
  292. package/resources/support/conversations/conversations.js +289 -288
  293. package/resources/support/conversations/conversations.js.map +1 -1
  294. package/resources/support/conversations/conversations.mjs +289 -288
  295. package/resources/support/conversations/conversations.mjs.map +1 -1
  296. package/resources/support/conversations/index.d.mts +1 -1
  297. package/resources/support/conversations/index.d.mts.map +1 -1
  298. package/resources/support/conversations/index.d.ts +1 -1
  299. package/resources/support/conversations/index.d.ts.map +1 -1
  300. package/resources/support/conversations/index.js.map +1 -1
  301. package/resources/support/conversations/index.mjs.map +1 -1
  302. package/resources/support/conversations/participants.d.mts.map +1 -1
  303. package/resources/support/conversations/participants.d.ts.map +1 -1
  304. package/resources/support/conversations/participants.mjs.map +1 -1
  305. package/resources/support/conversations.d.mts.map +1 -1
  306. package/resources/support/conversations.d.ts.map +1 -1
  307. package/resources/support/conversations.mjs.map +1 -1
  308. package/resources/support/index.d.mts +3 -3
  309. package/resources/support/index.d.mts.map +1 -1
  310. package/resources/support/index.d.ts +3 -3
  311. package/resources/support/index.d.ts.map +1 -1
  312. package/resources/support/index.js.map +1 -1
  313. package/resources/support/index.mjs.map +1 -1
  314. package/resources/support/support.d.mts +4 -4
  315. package/resources/support/support.d.mts.map +1 -1
  316. package/resources/support/support.d.ts +4 -4
  317. package/resources/support/support.d.ts.map +1 -1
  318. package/resources/support/support.js.map +1 -1
  319. package/resources/support/support.mjs.map +1 -1
  320. package/resources/support/tickets/categories.d.mts +18 -18
  321. package/resources/support/tickets/categories.d.mts.map +1 -1
  322. package/resources/support/tickets/categories.d.ts +18 -18
  323. package/resources/support/tickets/categories.d.ts.map +1 -1
  324. package/resources/support/tickets/categories.js +25 -25
  325. package/resources/support/tickets/categories.js.map +1 -1
  326. package/resources/support/tickets/categories.mjs +25 -25
  327. package/resources/support/tickets/categories.mjs.map +1 -1
  328. package/resources/support/tickets/custom-fields.d.mts +20 -20
  329. package/resources/support/tickets/custom-fields.d.mts.map +1 -1
  330. package/resources/support/tickets/custom-fields.d.ts +20 -20
  331. package/resources/support/tickets/custom-fields.d.ts.map +1 -1
  332. package/resources/support/tickets/custom-fields.js +19 -19
  333. package/resources/support/tickets/custom-fields.js.map +1 -1
  334. package/resources/support/tickets/custom-fields.mjs +19 -19
  335. package/resources/support/tickets/custom-fields.mjs.map +1 -1
  336. package/resources/support/tickets/index.d.mts +4 -4
  337. package/resources/support/tickets/index.d.mts.map +1 -1
  338. package/resources/support/tickets/index.d.ts +4 -4
  339. package/resources/support/tickets/index.d.ts.map +1 -1
  340. package/resources/support/tickets/index.mjs.map +1 -1
  341. package/resources/support/tickets/statuses.d.mts +17 -17
  342. package/resources/support/tickets/statuses.d.mts.map +1 -1
  343. package/resources/support/tickets/statuses.d.ts +17 -17
  344. package/resources/support/tickets/statuses.d.ts.map +1 -1
  345. package/resources/support/tickets/statuses.js +21 -21
  346. package/resources/support/tickets/statuses.js.map +1 -1
  347. package/resources/support/tickets/statuses.mjs +21 -21
  348. package/resources/support/tickets/statuses.mjs.map +1 -1
  349. package/resources/support/tickets/tickets.d.mts +69 -69
  350. package/resources/support/tickets/tickets.d.mts.map +1 -1
  351. package/resources/support/tickets/tickets.d.ts +69 -69
  352. package/resources/support/tickets/tickets.d.ts.map +1 -1
  353. package/resources/support/tickets/tickets.js +44 -44
  354. package/resources/support/tickets/tickets.js.map +1 -1
  355. package/resources/support/tickets/tickets.mjs +44 -44
  356. package/resources/support/tickets/tickets.mjs.map +1 -1
  357. package/resources/support/tickets.d.mts.map +1 -1
  358. package/resources/support/tickets.d.ts.map +1 -1
  359. package/resources/support/tickets.mjs.map +1 -1
  360. package/resources/support.d.mts.map +1 -1
  361. package/resources/support.d.ts.map +1 -1
  362. package/resources/support.mjs.map +1 -1
  363. package/resources/surveys.d.mts +41 -41
  364. package/resources/surveys.d.mts.map +1 -1
  365. package/resources/surveys.d.ts +41 -41
  366. package/resources/surveys.d.ts.map +1 -1
  367. package/resources/surveys.js +44 -44
  368. package/resources/surveys.js.map +1 -1
  369. package/resources/surveys.mjs +44 -44
  370. package/resources/surveys.mjs.map +1 -1
  371. package/resources/users/companies/companies.d.mts +116 -157
  372. package/resources/users/companies/companies.d.mts.map +1 -1
  373. package/resources/users/companies/companies.d.ts +116 -157
  374. package/resources/users/companies/companies.d.ts.map +1 -1
  375. package/resources/users/companies/companies.js +125 -125
  376. package/resources/users/companies/companies.js.map +1 -1
  377. package/resources/users/companies/companies.mjs +125 -125
  378. package/resources/users/companies/companies.mjs.map +1 -1
  379. package/resources/users/companies/contacts.d.mts.map +1 -1
  380. package/resources/users/companies/contacts.d.ts.map +1 -1
  381. package/resources/users/companies/contacts.mjs.map +1 -1
  382. package/resources/users/companies/index.d.mts +1 -1
  383. package/resources/users/companies/index.d.mts.map +1 -1
  384. package/resources/users/companies/index.d.ts +1 -1
  385. package/resources/users/companies/index.d.ts.map +1 -1
  386. package/resources/users/companies/index.mjs.map +1 -1
  387. package/resources/users/companies.d.mts.map +1 -1
  388. package/resources/users/companies.d.ts.map +1 -1
  389. package/resources/users/companies.mjs.map +1 -1
  390. package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
  391. package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
  392. package/resources/users/contacts/by-user-id/by-user-id.mjs.map +1 -1
  393. package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
  394. package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
  395. package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -1
  396. package/resources/users/contacts/by-user-id/index.d.mts.map +1 -1
  397. package/resources/users/contacts/by-user-id/index.d.ts.map +1 -1
  398. package/resources/users/contacts/by-user-id/index.mjs.map +1 -1
  399. package/resources/users/contacts/by-user-id.d.mts.map +1 -1
  400. package/resources/users/contacts/by-user-id.d.ts.map +1 -1
  401. package/resources/users/contacts/by-user-id.mjs.map +1 -1
  402. package/resources/users/contacts/contacts.d.mts +196 -235
  403. package/resources/users/contacts/contacts.d.mts.map +1 -1
  404. package/resources/users/contacts/contacts.d.ts +196 -235
  405. package/resources/users/contacts/contacts.d.ts.map +1 -1
  406. package/resources/users/contacts/contacts.js +186 -184
  407. package/resources/users/contacts/contacts.js.map +1 -1
  408. package/resources/users/contacts/contacts.mjs +186 -184
  409. package/resources/users/contacts/contacts.mjs.map +1 -1
  410. package/resources/users/contacts/email-preferences.d.mts.map +1 -1
  411. package/resources/users/contacts/email-preferences.d.ts.map +1 -1
  412. package/resources/users/contacts/email-preferences.mjs.map +1 -1
  413. package/resources/users/contacts/index.d.mts +1 -1
  414. package/resources/users/contacts/index.d.mts.map +1 -1
  415. package/resources/users/contacts/index.d.ts +1 -1
  416. package/resources/users/contacts/index.d.ts.map +1 -1
  417. package/resources/users/contacts/index.mjs.map +1 -1
  418. package/resources/users/contacts.d.mts.map +1 -1
  419. package/resources/users/contacts.d.ts.map +1 -1
  420. package/resources/users/contacts.mjs.map +1 -1
  421. package/resources/users/index.d.mts +2 -2
  422. package/resources/users/index.d.mts.map +1 -1
  423. package/resources/users/index.d.ts +2 -2
  424. package/resources/users/index.d.ts.map +1 -1
  425. package/resources/users/index.mjs.map +1 -1
  426. package/resources/users/users.d.mts +2 -2
  427. package/resources/users/users.d.mts.map +1 -1
  428. package/resources/users/users.d.ts +2 -2
  429. package/resources/users/users.d.ts.map +1 -1
  430. package/resources/users/users.mjs.map +1 -1
  431. package/resources/users.d.mts.map +1 -1
  432. package/resources/users.d.ts.map +1 -1
  433. package/resources/users.mjs.map +1 -1
  434. package/resources/webhooks.d.mts +75 -75
  435. package/resources/webhooks.d.mts.map +1 -1
  436. package/resources/webhooks.d.ts +75 -75
  437. package/resources/webhooks.d.ts.map +1 -1
  438. package/resources/webhooks.js +77 -77
  439. package/resources/webhooks.js.map +1 -1
  440. package/resources/webhooks.mjs +77 -77
  441. package/resources/webhooks.mjs.map +1 -1
  442. package/resources.d.mts.map +1 -1
  443. package/resources.d.ts.map +1 -1
  444. package/resources.mjs.map +1 -1
  445. package/src/client.ts +25 -3
  446. package/src/resources/changelogs/changelogs.ts +170 -170
  447. package/src/resources/changelogs/index.ts +1 -1
  448. package/src/resources/conversation-attributes.ts +181 -0
  449. package/src/resources/feedback/boards.ts +28 -28
  450. package/src/resources/feedback/comments.ts +153 -226
  451. package/src/resources/feedback/custom-fields.ts +44 -44
  452. package/src/resources/feedback/feedback.ts +19 -5
  453. package/src/resources/feedback/index.ts +12 -5
  454. package/src/resources/feedback/post-statuses.ts +31 -31
  455. package/src/resources/feedback/posts/index.ts +7 -1
  456. package/src/resources/feedback/posts/posts.ts +230 -311
  457. package/src/resources/help-center/articles.ts +123 -186
  458. package/src/resources/help-center/collections.ts +84 -84
  459. package/src/resources/help-center/help-center.ts +7 -5
  460. package/src/resources/help-center/help-centers.ts +55 -55
  461. package/src/resources/help-center/index.ts +6 -5
  462. package/src/resources/help-center/redirect-rules.ts +174 -174
  463. package/src/resources/index.ts +11 -3
  464. package/src/resources/organization/admins.ts +33 -33
  465. package/src/resources/organization/brands.ts +66 -66
  466. package/src/resources/organization/index.ts +3 -3
  467. package/src/resources/organization/organization.ts +3 -3
  468. package/src/resources/organization/teams.ts +52 -52
  469. package/src/resources/support/conversation-tags.ts +59 -59
  470. package/src/resources/support/conversations/conversations.ts +723 -850
  471. package/src/resources/support/conversations/index.ts +11 -6
  472. package/src/resources/support/index.ts +14 -9
  473. package/src/resources/support/support.ts +21 -11
  474. package/src/resources/support/tickets/categories.ts +33 -33
  475. package/src/resources/support/tickets/custom-fields.ts +27 -27
  476. package/src/resources/support/tickets/index.ts +4 -4
  477. package/src/resources/support/tickets/statuses.ts +29 -29
  478. package/src/resources/support/tickets/tickets.ts +95 -95
  479. package/src/resources/surveys.ts +58 -58
  480. package/src/resources/users/companies/companies.ts +155 -204
  481. package/src/resources/users/companies/index.ts +2 -2
  482. package/src/resources/users/contacts/contacts.ts +235 -282
  483. package/src/resources/users/contacts/index.ts +3 -3
  484. package/src/resources/users/index.ts +5 -5
  485. package/src/resources/users/users.ts +5 -5
  486. package/src/resources/webhooks.ts +95 -95
  487. package/src/version.ts +1 -1
  488. package/uploads.d.mts +1 -0
  489. package/uploads.d.mts.map +1 -1
  490. package/uploads.d.ts +1 -0
  491. package/uploads.d.ts.map +1 -1
  492. package/uploads.mjs +1 -0
  493. package/uploads.mjs.map +1 -1
  494. package/version.d.mts +1 -1
  495. package/version.d.ts +1 -1
  496. package/version.js +1 -1
  497. package/version.mjs +1 -1
@@ -2,28 +2,33 @@
2
2
 
3
3
  export {
4
4
  Conversations,
5
+ type AttachedConversationTag,
5
6
  type Conversation,
7
+ type ConversationAttributeValue,
6
8
  type ConversationPart,
7
9
  type ConversationPartAuthor,
8
10
  type ConversationParticipant,
9
11
  type ConversationTagApplication,
12
+ type ConversationTagMutationActor,
10
13
  type CsatEmailDelivery,
11
14
  type CsatRatedAgent,
15
+ type CsatSlackDelivery,
12
16
  type CsatWorkflowLink,
13
17
  type EmailRecipients,
18
+ type MessageSource,
19
+ type SearchMatchingPartAuthor,
20
+ type SlackMessageDetails,
14
21
  type ConversationDeleteResponse,
15
- type ConversationAttachTagResponse,
16
- type ConversationDetachTagResponse,
17
22
  type ConversationSearchResponse,
23
+ type ConversationListParams,
18
24
  type ConversationCreateParams,
19
25
  type ConversationRetrieveParams,
20
- type ConversationUpdateParams,
21
- type ConversationListParams,
22
26
  type ConversationDeleteParams,
27
+ type ConversationUpdateParams,
28
+ type ConversationReplyParams,
29
+ type ConversationRedactParams,
23
30
  type ConversationAttachTagParams,
24
31
  type ConversationDetachTagParams,
25
- type ConversationRedactParams,
26
- type ConversationReplyParams,
27
32
  type ConversationSearchParams,
28
33
  type ConversationsCursorPage,
29
34
  } from './conversations';
@@ -5,35 +5,40 @@ export {
5
5
  type ConversationTag,
6
6
  type ConversationTagListResponse,
7
7
  type ConversationTagDeleteResponse,
8
- type ConversationTagRetrieveParams,
9
8
  type ConversationTagListParams,
10
- type ConversationTagDeleteParams,
11
9
  type ConversationTagCreateOrRenameParams,
10
+ type ConversationTagRetrieveParams,
11
+ type ConversationTagDeleteParams,
12
12
  } from './conversation-tags';
13
13
  export {
14
14
  Conversations,
15
+ type AttachedConversationTag,
15
16
  type Conversation,
17
+ type ConversationAttributeValue,
16
18
  type ConversationPart,
17
19
  type ConversationPartAuthor,
18
20
  type ConversationParticipant,
19
21
  type ConversationTagApplication,
22
+ type ConversationTagMutationActor,
20
23
  type CsatEmailDelivery,
21
24
  type CsatRatedAgent,
25
+ type CsatSlackDelivery,
22
26
  type CsatWorkflowLink,
23
27
  type EmailRecipients,
28
+ type MessageSource,
29
+ type SearchMatchingPartAuthor,
30
+ type SlackMessageDetails,
24
31
  type ConversationDeleteResponse,
25
- type ConversationAttachTagResponse,
26
- type ConversationDetachTagResponse,
27
32
  type ConversationSearchResponse,
33
+ type ConversationListParams,
28
34
  type ConversationCreateParams,
29
35
  type ConversationRetrieveParams,
30
- type ConversationUpdateParams,
31
- type ConversationListParams,
32
36
  type ConversationDeleteParams,
37
+ type ConversationUpdateParams,
38
+ type ConversationReplyParams,
39
+ type ConversationRedactParams,
33
40
  type ConversationAttachTagParams,
34
41
  type ConversationDetachTagParams,
35
- type ConversationRedactParams,
36
- type ConversationReplyParams,
37
42
  type ConversationSearchParams,
38
43
  type ConversationsCursorPage,
39
44
  } from './conversations/index';
@@ -43,10 +48,10 @@ export {
43
48
  type AuthorInput,
44
49
  type Ticket,
45
50
  type TicketDeleteResponse,
51
+ type TicketListParams,
46
52
  type TicketCreateParams,
47
53
  type TicketRetrieveParams,
48
54
  type TicketUpdateParams,
49
- type TicketListParams,
50
55
  type TicketDeleteParams,
51
56
  type TicketReplyParams,
52
57
  type TicketsCursorPage,
@@ -14,14 +14,14 @@ import {
14
14
  } from './conversation-tags';
15
15
  import * as ConversationsAPI from './conversations/conversations';
16
16
  import {
17
+ AttachedConversationTag,
17
18
  Conversation,
18
19
  ConversationAttachTagParams,
19
- ConversationAttachTagResponse,
20
+ ConversationAttributeValue,
20
21
  ConversationCreateParams,
21
22
  ConversationDeleteParams,
22
23
  ConversationDeleteResponse,
23
24
  ConversationDetachTagParams,
24
- ConversationDetachTagResponse,
25
25
  ConversationListParams,
26
26
  ConversationPart,
27
27
  ConversationPartAuthor,
@@ -32,13 +32,18 @@ import {
32
32
  ConversationSearchParams,
33
33
  ConversationSearchResponse,
34
34
  ConversationTagApplication,
35
+ ConversationTagMutationActor,
35
36
  ConversationUpdateParams,
36
37
  Conversations,
37
38
  ConversationsCursorPage,
38
39
  CsatEmailDelivery,
39
40
  CsatRatedAgent,
41
+ CsatSlackDelivery,
40
42
  CsatWorkflowLink,
41
43
  EmailRecipients,
44
+ MessageSource,
45
+ SearchMatchingPartAuthor,
46
+ SlackMessageDetails,
42
47
  } from './conversations/conversations';
43
48
  import * as TicketsAPI from './tickets/tickets';
44
49
  import {
@@ -70,29 +75,34 @@ Support.Tickets = Tickets;
70
75
  export declare namespace Support {
71
76
  export {
72
77
  Conversations as Conversations,
78
+ type AttachedConversationTag as AttachedConversationTag,
73
79
  type Conversation as Conversation,
80
+ type ConversationAttributeValue as ConversationAttributeValue,
74
81
  type ConversationPart as ConversationPart,
75
82
  type ConversationPartAuthor as ConversationPartAuthor,
76
83
  type ConversationParticipant as ConversationParticipant,
77
84
  type ConversationTagApplication as ConversationTagApplication,
85
+ type ConversationTagMutationActor as ConversationTagMutationActor,
78
86
  type CsatEmailDelivery as CsatEmailDelivery,
79
87
  type CsatRatedAgent as CsatRatedAgent,
88
+ type CsatSlackDelivery as CsatSlackDelivery,
80
89
  type CsatWorkflowLink as CsatWorkflowLink,
81
90
  type EmailRecipients as EmailRecipients,
91
+ type MessageSource as MessageSource,
92
+ type SearchMatchingPartAuthor as SearchMatchingPartAuthor,
93
+ type SlackMessageDetails as SlackMessageDetails,
82
94
  type ConversationDeleteResponse as ConversationDeleteResponse,
83
- type ConversationAttachTagResponse as ConversationAttachTagResponse,
84
- type ConversationDetachTagResponse as ConversationDetachTagResponse,
85
95
  type ConversationSearchResponse as ConversationSearchResponse,
86
96
  type ConversationsCursorPage as ConversationsCursorPage,
97
+ type ConversationListParams as ConversationListParams,
87
98
  type ConversationCreateParams as ConversationCreateParams,
88
99
  type ConversationRetrieveParams as ConversationRetrieveParams,
89
- type ConversationUpdateParams as ConversationUpdateParams,
90
- type ConversationListParams as ConversationListParams,
91
100
  type ConversationDeleteParams as ConversationDeleteParams,
101
+ type ConversationUpdateParams as ConversationUpdateParams,
102
+ type ConversationReplyParams as ConversationReplyParams,
103
+ type ConversationRedactParams as ConversationRedactParams,
92
104
  type ConversationAttachTagParams as ConversationAttachTagParams,
93
105
  type ConversationDetachTagParams as ConversationDetachTagParams,
94
- type ConversationRedactParams as ConversationRedactParams,
95
- type ConversationReplyParams as ConversationReplyParams,
96
106
  type ConversationSearchParams as ConversationSearchParams,
97
107
  };
98
108
 
@@ -101,10 +111,10 @@ export declare namespace Support {
101
111
  type ConversationTag as ConversationTag,
102
112
  type ConversationTagListResponse as ConversationTagListResponse,
103
113
  type ConversationTagDeleteResponse as ConversationTagDeleteResponse,
104
- type ConversationTagRetrieveParams as ConversationTagRetrieveParams,
105
114
  type ConversationTagListParams as ConversationTagListParams,
106
- type ConversationTagDeleteParams as ConversationTagDeleteParams,
107
115
  type ConversationTagCreateOrRenameParams as ConversationTagCreateOrRenameParams,
116
+ type ConversationTagRetrieveParams as ConversationTagRetrieveParams,
117
+ type ConversationTagDeleteParams as ConversationTagDeleteParams,
108
118
  };
109
119
 
110
120
  export {
@@ -113,10 +123,10 @@ export declare namespace Support {
113
123
  type Ticket as Ticket,
114
124
  type TicketDeleteResponse as TicketDeleteResponse,
115
125
  type TicketsCursorPage as TicketsCursorPage,
126
+ type TicketListParams as TicketListParams,
116
127
  type TicketCreateParams as TicketCreateParams,
117
128
  type TicketRetrieveParams as TicketRetrieveParams,
118
129
  type TicketUpdateParams as TicketUpdateParams,
119
- type TicketListParams as TicketListParams,
120
130
  type TicketDeleteParams as TicketDeleteParams,
121
131
  type TicketReplyParams as TicketReplyParams,
122
132
  };
@@ -12,26 +12,32 @@ import { path } from '../../../internal/utils/path';
12
12
  */
13
13
  export class Categories extends APIResource {
14
14
  /**
15
- * Retrieves a single ticket category by its unique identifier.
15
+ * Returns all ticket categories for the authenticated organization.
16
16
  *
17
- * Returns the full category object including access controls, feature toggles, and
18
- * localization settings.
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.
26
+ *
27
+ * This endpoint returns all categories without pagination.
19
28
  *
20
29
  * @example
21
30
  * ```ts
22
- * const board =
23
- * await client.support.tickets.categories.retrieve(
24
- * '507f1f77bcf86cd799439011',
25
- * );
31
+ * const boards =
32
+ * await client.support.tickets.categories.list();
26
33
  * ```
27
34
  */
28
- retrieve(
29
- id: string,
30
- params: CategoryRetrieveParams | null | undefined = {},
35
+ list(
36
+ params: CategoryListParams | null | undefined = {},
31
37
  options?: RequestOptions,
32
- ): APIPromise<BoardsAPI.Board> {
38
+ ): APIPromise<CategoryListResponse> {
33
39
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
34
- return this._client.get(path`/v2/tickets/categories/${id}`, {
40
+ return this._client.get('/v2/tickets/categories', {
35
41
  ...options,
36
42
  headers: buildHeaders([
37
43
  {
@@ -45,32 +51,26 @@ export class Categories extends APIResource {
45
51
  }
46
52
 
47
53
  /**
48
- * Returns all ticket categories for the authenticated organization.
49
- *
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.
54
+ * Retrieves a single ticket category by its unique identifier.
59
55
  *
60
- * This endpoint returns all categories without pagination.
56
+ * Returns the full category object including access controls, feature toggles, and
57
+ * localization settings.
61
58
  *
62
59
  * @example
63
60
  * ```ts
64
- * const boards =
65
- * await client.support.tickets.categories.list();
61
+ * const board =
62
+ * await client.support.tickets.categories.retrieve(
63
+ * '507f1f77bcf86cd799439011',
64
+ * );
66
65
  * ```
67
66
  */
68
- list(
69
- params: CategoryListParams | null | undefined = {},
67
+ retrieve(
68
+ id: string,
69
+ params: CategoryRetrieveParams | null | undefined = {},
70
70
  options?: RequestOptions,
71
- ): APIPromise<CategoryListResponse> {
71
+ ): APIPromise<BoardsAPI.Board> {
72
72
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
73
- return this._client.get('/v2/tickets/categories', {
73
+ return this._client.get(path`/v2/tickets/categories/${id}`, {
74
74
  ...options,
75
75
  headers: buildHeaders([
76
76
  {
@@ -86,7 +86,7 @@ export class Categories extends APIResource {
86
86
 
87
87
  export type CategoryListResponse = Array<BoardsAPI.Board>;
88
88
 
89
- export interface CategoryRetrieveParams {
89
+ export interface CategoryListParams {
90
90
  /**
91
91
  * API version for this request. Defaults to your organization's configured API
92
92
  * version if not specified.
@@ -94,7 +94,7 @@ export interface CategoryRetrieveParams {
94
94
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
95
95
  }
96
96
 
97
- export interface CategoryListParams {
97
+ export interface CategoryRetrieveParams {
98
98
  /**
99
99
  * API version for this request. Defaults to your organization's configured API
100
100
  * version if not specified.
@@ -105,7 +105,7 @@ export interface CategoryListParams {
105
105
  export declare namespace Categories {
106
106
  export {
107
107
  type CategoryListResponse as CategoryListResponse,
108
- type CategoryRetrieveParams as CategoryRetrieveParams,
109
108
  type CategoryListParams as CategoryListParams,
109
+ type CategoryRetrieveParams as CategoryRetrieveParams,
110
110
  };
111
111
  }
@@ -12,11 +12,14 @@ import { path } from '../../../internal/utils/path';
12
12
  */
13
13
  export class CustomFields extends APIResource {
14
14
  /**
15
- * Retrieves a single custom field by its unique identifier.
15
+ * Returns all custom fields configured in your organization that can be used on
16
+ * tickets.
16
17
  *
17
- * ### Response
18
+ * This endpoint returns all custom fields at once. No pagination is supported.
18
19
  *
19
- * Returns a custom field object with:
20
+ * ### Custom Field Object
21
+ *
22
+ * Each custom field includes:
20
23
  *
21
24
  * - `id` - Unique field identifier
22
25
  * - `label` - Field label displayed to users
@@ -30,19 +33,16 @@ export class CustomFields extends APIResource {
30
33
  *
31
34
  * @example
32
35
  * ```ts
33
- * const customField =
34
- * await client.support.tickets.customFields.retrieve(
35
- * '65d26304b2e65b1e1278170c',
36
- * );
36
+ * const customFieldList =
37
+ * await client.support.tickets.customFields.list();
37
38
  * ```
38
39
  */
39
- retrieve(
40
- id: string,
41
- params: CustomFieldRetrieveParams | null | undefined = {},
40
+ list(
41
+ params: CustomFieldListParams | null | undefined = {},
42
42
  options?: RequestOptions,
43
- ): APIPromise<CustomFieldsAPI.CustomField> {
43
+ ): APIPromise<CustomFieldsAPI.CustomFieldList> {
44
44
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
45
- return this._client.get(path`/v2/tickets/custom_fields/${id}`, {
45
+ return this._client.get('/v2/tickets/custom_fields', {
46
46
  ...options,
47
47
  headers: buildHeaders([
48
48
  {
@@ -56,14 +56,11 @@ export class CustomFields extends APIResource {
56
56
  }
57
57
 
58
58
  /**
59
- * Returns all custom fields configured in your organization that can be used on
60
- * tickets.
61
- *
62
- * This endpoint returns all custom fields at once. No pagination is supported.
59
+ * Retrieves a single custom field by its unique identifier.
63
60
  *
64
- * ### Custom Field Object
61
+ * ### Response
65
62
  *
66
- * Each custom field includes:
63
+ * Returns a custom field object with:
67
64
  *
68
65
  * - `id` - Unique field identifier
69
66
  * - `label` - Field label displayed to users
@@ -77,16 +74,19 @@ export class CustomFields extends APIResource {
77
74
  *
78
75
  * @example
79
76
  * ```ts
80
- * const customFieldList =
81
- * await client.support.tickets.customFields.list();
77
+ * const customField =
78
+ * await client.support.tickets.customFields.retrieve(
79
+ * '65d26304b2e65b1e1278170c',
80
+ * );
82
81
  * ```
83
82
  */
84
- list(
85
- params: CustomFieldListParams | null | undefined = {},
83
+ retrieve(
84
+ id: string,
85
+ params: CustomFieldRetrieveParams | null | undefined = {},
86
86
  options?: RequestOptions,
87
- ): APIPromise<CustomFieldsAPI.CustomFieldList> {
87
+ ): APIPromise<CustomFieldsAPI.CustomField> {
88
88
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
89
- return this._client.get('/v2/tickets/custom_fields', {
89
+ return this._client.get(path`/v2/tickets/custom_fields/${id}`, {
90
90
  ...options,
91
91
  headers: buildHeaders([
92
92
  {
@@ -100,7 +100,7 @@ export class CustomFields extends APIResource {
100
100
  }
101
101
  }
102
102
 
103
- export interface CustomFieldRetrieveParams {
103
+ export interface CustomFieldListParams {
104
104
  /**
105
105
  * API version for this request. Defaults to your organization's configured API
106
106
  * version if not specified.
@@ -108,7 +108,7 @@ export interface CustomFieldRetrieveParams {
108
108
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
109
109
  }
110
110
 
111
- export interface CustomFieldListParams {
111
+ export interface CustomFieldRetrieveParams {
112
112
  /**
113
113
  * API version for this request. Defaults to your organization's configured API
114
114
  * version if not specified.
@@ -118,7 +118,7 @@ export interface CustomFieldListParams {
118
118
 
119
119
  export declare namespace CustomFields {
120
120
  export {
121
- type CustomFieldRetrieveParams as CustomFieldRetrieveParams,
122
121
  type CustomFieldListParams as CustomFieldListParams,
122
+ type CustomFieldRetrieveParams as CustomFieldRetrieveParams,
123
123
  };
124
124
  }
@@ -3,25 +3,25 @@
3
3
  export {
4
4
  Categories,
5
5
  type CategoryListResponse,
6
- type CategoryRetrieveParams,
7
6
  type CategoryListParams,
7
+ type CategoryRetrieveParams,
8
8
  } from './categories';
9
- export { CustomFields, type CustomFieldRetrieveParams, type CustomFieldListParams } from './custom-fields';
9
+ export { CustomFields, type CustomFieldListParams, type CustomFieldRetrieveParams } from './custom-fields';
10
10
  export {
11
11
  Statuses,
12
12
  type StatusListResponse,
13
- type StatusRetrieveParams,
14
13
  type StatusListParams,
14
+ type StatusRetrieveParams,
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,
21
22
  type TicketCreateParams,
22
23
  type TicketRetrieveParams,
23
24
  type TicketUpdateParams,
24
- type TicketListParams,
25
25
  type TicketDeleteParams,
26
26
  type TicketReplyParams,
27
27
  type TicketsCursorPage,
@@ -12,25 +12,29 @@ import { path } from '../../../internal/utils/path';
12
12
  */
13
13
  export class Statuses extends APIResource {
14
14
  /**
15
- * Retrieves a single ticket status by its unique identifier.
15
+ * Returns all ticket statuses for the authenticated organization.
16
16
  *
17
- * Returns the status object including name, color, type, and default flag.
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
23
+ *
24
+ * This endpoint returns all statuses without pagination.
18
25
  *
19
26
  * @example
20
27
  * ```ts
21
- * const postStatus =
22
- * await client.support.tickets.statuses.retrieve(
23
- * '507f1f77bcf86cd799439011',
24
- * );
28
+ * const postStatuses =
29
+ * await client.support.tickets.statuses.list();
25
30
  * ```
26
31
  */
27
- retrieve(
28
- id: string,
29
- params: StatusRetrieveParams | null | undefined = {},
32
+ list(
33
+ params: StatusListParams | null | undefined = {},
30
34
  options?: RequestOptions,
31
- ): APIPromise<PostStatusesAPI.PostStatus> {
35
+ ): APIPromise<StatusListResponse> {
32
36
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
33
- return this._client.get(path`/v2/tickets/statuses/${id}`, {
37
+ return this._client.get('/v2/tickets/statuses', {
34
38
  ...options,
35
39
  headers: buildHeaders([
36
40
  {
@@ -44,29 +48,25 @@ export class Statuses extends APIResource {
44
48
  }
45
49
 
46
50
  /**
47
- * Returns all ticket statuses for the authenticated organization.
48
- *
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
51
+ * Retrieves a single ticket status by its unique identifier.
55
52
  *
56
- * This endpoint returns all statuses without pagination.
53
+ * Returns the status object including name, color, type, and default flag.
57
54
  *
58
55
  * @example
59
56
  * ```ts
60
- * const postStatuses =
61
- * await client.support.tickets.statuses.list();
57
+ * const postStatus =
58
+ * await client.support.tickets.statuses.retrieve(
59
+ * '507f1f77bcf86cd799439011',
60
+ * );
62
61
  * ```
63
62
  */
64
- list(
65
- params: StatusListParams | null | undefined = {},
63
+ retrieve(
64
+ id: string,
65
+ params: StatusRetrieveParams | null | undefined = {},
66
66
  options?: RequestOptions,
67
- ): APIPromise<StatusListResponse> {
67
+ ): APIPromise<PostStatusesAPI.PostStatus> {
68
68
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
69
- return this._client.get('/v2/tickets/statuses', {
69
+ return this._client.get(path`/v2/tickets/statuses/${id}`, {
70
70
  ...options,
71
71
  headers: buildHeaders([
72
72
  {
@@ -82,7 +82,7 @@ export class Statuses extends APIResource {
82
82
 
83
83
  export type StatusListResponse = Array<PostStatusesAPI.PostStatus>;
84
84
 
85
- export interface StatusRetrieveParams {
85
+ export interface StatusListParams {
86
86
  /**
87
87
  * API version for this request. Defaults to your organization's configured API
88
88
  * version if not specified.
@@ -90,7 +90,7 @@ export interface StatusRetrieveParams {
90
90
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
91
91
  }
92
92
 
93
- export interface StatusListParams {
93
+ export interface StatusRetrieveParams {
94
94
  /**
95
95
  * API version for this request. Defaults to your organization's configured API
96
96
  * version if not specified.
@@ -101,7 +101,7 @@ export interface StatusListParams {
101
101
  export declare namespace Statuses {
102
102
  export {
103
103
  type StatusListResponse as StatusListResponse,
104
- type StatusRetrieveParams as StatusRetrieveParams,
105
104
  type StatusListParams as StatusListParams,
105
+ type StatusRetrieveParams as StatusRetrieveParams,
106
106
  };
107
107
  }