featurebase-node 0.13.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (515) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts +21 -3
  9. package/client.d.mts.map +1 -1
  10. package/client.d.ts +21 -3
  11. package/client.d.ts.map +1 -1
  12. package/client.js +27 -1
  13. package/client.js.map +1 -1
  14. package/client.mjs +27 -1
  15. package/client.mjs.map +1 -1
  16. package/core/api-promise.d.mts.map +1 -1
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.mjs.map +1 -1
  19. package/core/error.mjs.map +1 -1
  20. package/core/pagination.d.mts.map +1 -1
  21. package/core/pagination.d.ts.map +1 -1
  22. package/core/pagination.mjs.map +1 -1
  23. package/core/resource.d.mts.map +1 -1
  24. package/core/resource.d.ts.map +1 -1
  25. package/core/uploads.d.mts.map +1 -1
  26. package/core/uploads.d.ts.map +1 -1
  27. package/core/uploads.mjs.map +1 -1
  28. package/error.d.mts +1 -0
  29. package/error.d.mts.map +1 -1
  30. package/error.d.ts +1 -0
  31. package/error.d.ts.map +1 -1
  32. package/error.mjs +1 -0
  33. package/error.mjs.map +1 -1
  34. package/index.d.mts.map +1 -1
  35. package/index.d.ts.map +1 -1
  36. package/index.mjs.map +1 -1
  37. package/internal/detect-platform.mjs.map +1 -1
  38. package/internal/headers.mjs.map +1 -1
  39. package/internal/parse.d.mts.map +1 -1
  40. package/internal/parse.d.ts.map +1 -1
  41. package/internal/parse.mjs.map +1 -1
  42. package/internal/qs/formats.d.mts.map +1 -1
  43. package/internal/qs/formats.d.ts.map +1 -1
  44. package/internal/qs/index.d.mts +2 -2
  45. package/internal/qs/index.d.mts.map +1 -1
  46. package/internal/qs/index.d.ts +2 -2
  47. package/internal/qs/index.d.ts.map +1 -1
  48. package/internal/qs/index.mjs.map +1 -1
  49. package/internal/qs/stringify.d.mts.map +1 -1
  50. package/internal/qs/stringify.d.ts.map +1 -1
  51. package/internal/qs/stringify.mjs.map +1 -1
  52. package/internal/qs/utils.d.mts.map +1 -1
  53. package/internal/qs/utils.d.ts.map +1 -1
  54. package/internal/qs/utils.mjs.map +1 -1
  55. package/internal/request-options.d.mts.map +1 -1
  56. package/internal/request-options.d.ts.map +1 -1
  57. package/internal/shims.d.mts +6 -0
  58. package/internal/shims.d.mts.map +1 -1
  59. package/internal/shims.d.ts +6 -0
  60. package/internal/shims.d.ts.map +1 -1
  61. package/internal/to-file.d.mts.map +1 -1
  62. package/internal/to-file.d.ts.map +1 -1
  63. package/internal/to-file.mjs.map +1 -1
  64. package/internal/types.d.mts +4 -4
  65. package/internal/types.d.mts.map +1 -1
  66. package/internal/types.d.ts +4 -4
  67. package/internal/types.d.ts.map +1 -1
  68. package/internal/uploads.d.mts.map +1 -1
  69. package/internal/uploads.d.ts.map +1 -1
  70. package/internal/uploads.mjs.map +1 -1
  71. package/internal/utils/base64.mjs.map +1 -1
  72. package/internal/utils/log.d.mts.map +1 -1
  73. package/internal/utils/log.d.ts.map +1 -1
  74. package/internal/utils/log.mjs.map +1 -1
  75. package/internal/utils/path.mjs.map +1 -1
  76. package/internal/utils/query.mjs.map +1 -1
  77. package/internal/utils/values.mjs.map +1 -1
  78. package/internal/utils.d.mts.map +1 -1
  79. package/internal/utils.d.ts.map +1 -1
  80. package/internal/utils.mjs.map +1 -1
  81. package/package.json +16 -10
  82. package/pagination.d.mts +1 -0
  83. package/pagination.d.mts.map +1 -1
  84. package/pagination.d.ts +1 -0
  85. package/pagination.d.ts.map +1 -1
  86. package/pagination.mjs +1 -0
  87. package/pagination.mjs.map +1 -1
  88. package/resource.d.mts +1 -0
  89. package/resource.d.mts.map +1 -1
  90. package/resource.d.ts +1 -0
  91. package/resource.d.ts.map +1 -1
  92. package/resource.mjs +1 -0
  93. package/resource.mjs.map +1 -1
  94. package/resources/audit-logs.d.mts +233 -0
  95. package/resources/audit-logs.d.mts.map +1 -0
  96. package/resources/audit-logs.d.ts +233 -0
  97. package/resources/audit-logs.d.ts.map +1 -0
  98. package/resources/audit-logs.js +122 -0
  99. package/resources/audit-logs.js.map +1 -0
  100. package/resources/audit-logs.mjs +118 -0
  101. package/resources/audit-logs.mjs.map +1 -0
  102. package/resources/changelogs/changelogs.d.mts +106 -106
  103. package/resources/changelogs/changelogs.d.mts.map +1 -1
  104. package/resources/changelogs/changelogs.d.ts +106 -106
  105. package/resources/changelogs/changelogs.d.ts.map +1 -1
  106. package/resources/changelogs/changelogs.js +74 -74
  107. package/resources/changelogs/changelogs.js.map +1 -1
  108. package/resources/changelogs/changelogs.mjs +74 -74
  109. package/resources/changelogs/changelogs.mjs.map +1 -1
  110. package/resources/changelogs/index.d.mts +1 -1
  111. package/resources/changelogs/index.d.mts.map +1 -1
  112. package/resources/changelogs/index.d.ts +1 -1
  113. package/resources/changelogs/index.d.ts.map +1 -1
  114. package/resources/changelogs/index.mjs.map +1 -1
  115. package/resources/changelogs/subscribers.d.mts.map +1 -1
  116. package/resources/changelogs/subscribers.d.ts.map +1 -1
  117. package/resources/changelogs/subscribers.mjs.map +1 -1
  118. package/resources/changelogs.d.mts.map +1 -1
  119. package/resources/changelogs.d.ts.map +1 -1
  120. package/resources/changelogs.mjs.map +1 -1
  121. package/resources/conversation-attributes.d.mts +117 -0
  122. package/resources/conversation-attributes.d.mts.map +1 -0
  123. package/resources/conversation-attributes.d.ts +117 -0
  124. package/resources/conversation-attributes.d.ts.map +1 -0
  125. package/resources/conversation-attributes.js +61 -0
  126. package/resources/conversation-attributes.js.map +1 -0
  127. package/resources/conversation-attributes.mjs +57 -0
  128. package/resources/conversation-attributes.mjs.map +1 -0
  129. package/resources/feedback/boards.d.mts +17 -17
  130. package/resources/feedback/boards.d.mts.map +1 -1
  131. package/resources/feedback/boards.d.ts +17 -17
  132. package/resources/feedback/boards.d.ts.map +1 -1
  133. package/resources/feedback/boards.js +20 -20
  134. package/resources/feedback/boards.js.map +1 -1
  135. package/resources/feedback/boards.mjs +20 -20
  136. package/resources/feedback/boards.mjs.map +1 -1
  137. package/resources/feedback/comments.d.mts +129 -191
  138. package/resources/feedback/comments.d.mts.map +1 -1
  139. package/resources/feedback/comments.d.ts +129 -191
  140. package/resources/feedback/comments.d.ts.map +1 -1
  141. package/resources/feedback/comments.js +93 -93
  142. package/resources/feedback/comments.js.map +1 -1
  143. package/resources/feedback/comments.mjs +93 -93
  144. package/resources/feedback/comments.mjs.map +1 -1
  145. package/resources/feedback/custom-fields.d.mts +34 -34
  146. package/resources/feedback/custom-fields.d.mts.map +1 -1
  147. package/resources/feedback/custom-fields.d.ts +34 -34
  148. package/resources/feedback/custom-fields.d.ts.map +1 -1
  149. package/resources/feedback/custom-fields.js +36 -36
  150. package/resources/feedback/custom-fields.js.map +1 -1
  151. package/resources/feedback/custom-fields.mjs +36 -36
  152. package/resources/feedback/custom-fields.mjs.map +1 -1
  153. package/resources/feedback/feedback.d.mts +7 -7
  154. package/resources/feedback/feedback.d.mts.map +1 -1
  155. package/resources/feedback/feedback.d.ts +7 -7
  156. package/resources/feedback/feedback.d.ts.map +1 -1
  157. package/resources/feedback/feedback.js.map +1 -1
  158. package/resources/feedback/feedback.mjs.map +1 -1
  159. package/resources/feedback/index.d.mts +5 -5
  160. package/resources/feedback/index.d.mts.map +1 -1
  161. package/resources/feedback/index.d.ts +5 -5
  162. package/resources/feedback/index.d.ts.map +1 -1
  163. package/resources/feedback/index.js.map +1 -1
  164. package/resources/feedback/index.mjs.map +1 -1
  165. package/resources/feedback/post-statuses.d.mts +18 -18
  166. package/resources/feedback/post-statuses.d.mts.map +1 -1
  167. package/resources/feedback/post-statuses.d.ts +18 -18
  168. package/resources/feedback/post-statuses.d.ts.map +1 -1
  169. package/resources/feedback/post-statuses.js +23 -23
  170. package/resources/feedback/post-statuses.js.map +1 -1
  171. package/resources/feedback/post-statuses.mjs +23 -23
  172. package/resources/feedback/post-statuses.mjs.map +1 -1
  173. package/resources/feedback/posts/index.d.mts +1 -1
  174. package/resources/feedback/posts/index.d.mts.map +1 -1
  175. package/resources/feedback/posts/index.d.ts +1 -1
  176. package/resources/feedback/posts/index.d.ts.map +1 -1
  177. package/resources/feedback/posts/index.js.map +1 -1
  178. package/resources/feedback/posts/index.mjs.map +1 -1
  179. package/resources/feedback/posts/posts.d.mts +187 -260
  180. package/resources/feedback/posts/posts.d.mts.map +1 -1
  181. package/resources/feedback/posts/posts.d.ts +187 -260
  182. package/resources/feedback/posts/posts.d.ts.map +1 -1
  183. package/resources/feedback/posts/posts.js +75 -75
  184. package/resources/feedback/posts/posts.js.map +1 -1
  185. package/resources/feedback/posts/posts.mjs +75 -75
  186. package/resources/feedback/posts/posts.mjs.map +1 -1
  187. package/resources/feedback/posts/voters.d.mts.map +1 -1
  188. package/resources/feedback/posts/voters.d.ts.map +1 -1
  189. package/resources/feedback/posts/voters.mjs.map +1 -1
  190. package/resources/feedback/posts.d.mts.map +1 -1
  191. package/resources/feedback/posts.d.ts.map +1 -1
  192. package/resources/feedback/posts.mjs.map +1 -1
  193. package/resources/feedback.d.mts.map +1 -1
  194. package/resources/feedback.d.ts.map +1 -1
  195. package/resources/feedback.mjs.map +1 -1
  196. package/resources/help-center/articles.d.mts +98 -152
  197. package/resources/help-center/articles.d.mts.map +1 -1
  198. package/resources/help-center/articles.d.ts +98 -152
  199. package/resources/help-center/articles.d.ts.map +1 -1
  200. package/resources/help-center/articles.js +73 -73
  201. package/resources/help-center/articles.js.map +1 -1
  202. package/resources/help-center/articles.mjs +73 -73
  203. package/resources/help-center/articles.mjs.map +1 -1
  204. package/resources/help-center/collections.d.mts +64 -64
  205. package/resources/help-center/collections.d.mts.map +1 -1
  206. package/resources/help-center/collections.d.ts +64 -64
  207. package/resources/help-center/collections.d.ts.map +1 -1
  208. package/resources/help-center/collections.js +65 -65
  209. package/resources/help-center/collections.js.map +1 -1
  210. package/resources/help-center/collections.mjs +65 -65
  211. package/resources/help-center/collections.mjs.map +1 -1
  212. package/resources/help-center/help-center.d.mts +5 -5
  213. package/resources/help-center/help-center.d.mts.map +1 -1
  214. package/resources/help-center/help-center.d.ts +5 -5
  215. package/resources/help-center/help-center.d.ts.map +1 -1
  216. package/resources/help-center/help-center.js.map +1 -1
  217. package/resources/help-center/help-center.mjs.map +1 -1
  218. package/resources/help-center/help-centers.d.mts +43 -43
  219. package/resources/help-center/help-centers.d.mts.map +1 -1
  220. package/resources/help-center/help-centers.d.ts +43 -43
  221. package/resources/help-center/help-centers.d.ts.map +1 -1
  222. package/resources/help-center/help-centers.js +43 -43
  223. package/resources/help-center/help-centers.js.map +1 -1
  224. package/resources/help-center/help-centers.mjs +43 -43
  225. package/resources/help-center/help-centers.mjs.map +1 -1
  226. package/resources/help-center/index.d.mts +4 -4
  227. package/resources/help-center/index.d.mts.map +1 -1
  228. package/resources/help-center/index.d.ts +4 -4
  229. package/resources/help-center/index.d.ts.map +1 -1
  230. package/resources/help-center/index.js.map +1 -1
  231. package/resources/help-center/index.mjs.map +1 -1
  232. package/resources/help-center/redirect-rules.d.mts +117 -117
  233. package/resources/help-center/redirect-rules.d.mts.map +1 -1
  234. package/resources/help-center/redirect-rules.d.ts +117 -117
  235. package/resources/help-center/redirect-rules.d.ts.map +1 -1
  236. package/resources/help-center/redirect-rules.js +112 -112
  237. package/resources/help-center/redirect-rules.js.map +1 -1
  238. package/resources/help-center/redirect-rules.mjs +112 -112
  239. package/resources/help-center/redirect-rules.mjs.map +1 -1
  240. package/resources/help-center.d.mts.map +1 -1
  241. package/resources/help-center.d.ts.map +1 -1
  242. package/resources/help-center.mjs.map +1 -1
  243. package/resources/index.d.mts +6 -3
  244. package/resources/index.d.mts.map +1 -1
  245. package/resources/index.d.ts +6 -3
  246. package/resources/index.d.ts.map +1 -1
  247. package/resources/index.js +7 -1
  248. package/resources/index.js.map +1 -1
  249. package/resources/index.mjs +3 -0
  250. package/resources/index.mjs.map +1 -1
  251. package/resources/organization/admins.d.mts +33 -23
  252. package/resources/organization/admins.d.mts.map +1 -1
  253. package/resources/organization/admins.d.ts +33 -23
  254. package/resources/organization/admins.d.ts.map +1 -1
  255. package/resources/organization/admins.js +27 -25
  256. package/resources/organization/admins.js.map +1 -1
  257. package/resources/organization/admins.mjs +27 -25
  258. package/resources/organization/admins.mjs.map +1 -1
  259. package/resources/organization/brands.d.mts +50 -50
  260. package/resources/organization/brands.d.mts.map +1 -1
  261. package/resources/organization/brands.d.ts +50 -50
  262. package/resources/organization/brands.d.ts.map +1 -1
  263. package/resources/organization/brands.js +54 -54
  264. package/resources/organization/brands.js.map +1 -1
  265. package/resources/organization/brands.mjs +54 -54
  266. package/resources/organization/brands.mjs.map +1 -1
  267. package/resources/organization/index.d.mts +3 -3
  268. package/resources/organization/index.d.mts.map +1 -1
  269. package/resources/organization/index.d.ts +3 -3
  270. package/resources/organization/index.d.ts.map +1 -1
  271. package/resources/organization/index.mjs.map +1 -1
  272. package/resources/organization/organization.d.mts +3 -3
  273. package/resources/organization/organization.d.mts.map +1 -1
  274. package/resources/organization/organization.d.ts +3 -3
  275. package/resources/organization/organization.d.ts.map +1 -1
  276. package/resources/organization/organization.mjs.map +1 -1
  277. package/resources/organization/teams.d.mts +45 -45
  278. package/resources/organization/teams.d.mts.map +1 -1
  279. package/resources/organization/teams.d.ts +45 -45
  280. package/resources/organization/teams.d.ts.map +1 -1
  281. package/resources/organization/teams.js +44 -44
  282. package/resources/organization/teams.js.map +1 -1
  283. package/resources/organization/teams.mjs +44 -44
  284. package/resources/organization/teams.mjs.map +1 -1
  285. package/resources/organization.d.mts.map +1 -1
  286. package/resources/organization.d.ts.map +1 -1
  287. package/resources/organization.mjs.map +1 -1
  288. package/resources/reports.d.mts +641 -0
  289. package/resources/reports.d.mts.map +1 -0
  290. package/resources/reports.d.ts +641 -0
  291. package/resources/reports.d.ts.map +1 -0
  292. package/resources/reports.js +238 -0
  293. package/resources/reports.js.map +1 -0
  294. package/resources/reports.mjs +234 -0
  295. package/resources/reports.mjs.map +1 -0
  296. package/resources/support/conversation-tags.d.mts +40 -40
  297. package/resources/support/conversation-tags.d.mts.map +1 -1
  298. package/resources/support/conversation-tags.d.ts +40 -40
  299. package/resources/support/conversation-tags.d.ts.map +1 -1
  300. package/resources/support/conversation-tags.js +32 -32
  301. package/resources/support/conversation-tags.js.map +1 -1
  302. package/resources/support/conversation-tags.mjs +32 -32
  303. package/resources/support/conversation-tags.mjs.map +1 -1
  304. package/resources/support/conversations/conversations.d.mts +599 -705
  305. package/resources/support/conversations/conversations.d.mts.map +1 -1
  306. package/resources/support/conversations/conversations.d.ts +599 -705
  307. package/resources/support/conversations/conversations.d.ts.map +1 -1
  308. package/resources/support/conversations/conversations.js +289 -288
  309. package/resources/support/conversations/conversations.js.map +1 -1
  310. package/resources/support/conversations/conversations.mjs +289 -288
  311. package/resources/support/conversations/conversations.mjs.map +1 -1
  312. package/resources/support/conversations/index.d.mts +1 -1
  313. package/resources/support/conversations/index.d.mts.map +1 -1
  314. package/resources/support/conversations/index.d.ts +1 -1
  315. package/resources/support/conversations/index.d.ts.map +1 -1
  316. package/resources/support/conversations/index.js.map +1 -1
  317. package/resources/support/conversations/index.mjs.map +1 -1
  318. package/resources/support/conversations/participants.d.mts.map +1 -1
  319. package/resources/support/conversations/participants.d.ts.map +1 -1
  320. package/resources/support/conversations/participants.mjs.map +1 -1
  321. package/resources/support/conversations.d.mts.map +1 -1
  322. package/resources/support/conversations.d.ts.map +1 -1
  323. package/resources/support/conversations.mjs.map +1 -1
  324. package/resources/support/index.d.mts +3 -3
  325. package/resources/support/index.d.mts.map +1 -1
  326. package/resources/support/index.d.ts +3 -3
  327. package/resources/support/index.d.ts.map +1 -1
  328. package/resources/support/index.js.map +1 -1
  329. package/resources/support/index.mjs.map +1 -1
  330. package/resources/support/support.d.mts +4 -4
  331. package/resources/support/support.d.mts.map +1 -1
  332. package/resources/support/support.d.ts +4 -4
  333. package/resources/support/support.d.ts.map +1 -1
  334. package/resources/support/support.js.map +1 -1
  335. package/resources/support/support.mjs.map +1 -1
  336. package/resources/support/tickets/categories.d.mts +18 -18
  337. package/resources/support/tickets/categories.d.mts.map +1 -1
  338. package/resources/support/tickets/categories.d.ts +18 -18
  339. package/resources/support/tickets/categories.d.ts.map +1 -1
  340. package/resources/support/tickets/categories.js +25 -25
  341. package/resources/support/tickets/categories.js.map +1 -1
  342. package/resources/support/tickets/categories.mjs +25 -25
  343. package/resources/support/tickets/categories.mjs.map +1 -1
  344. package/resources/support/tickets/custom-fields.d.mts +20 -20
  345. package/resources/support/tickets/custom-fields.d.mts.map +1 -1
  346. package/resources/support/tickets/custom-fields.d.ts +20 -20
  347. package/resources/support/tickets/custom-fields.d.ts.map +1 -1
  348. package/resources/support/tickets/custom-fields.js +19 -19
  349. package/resources/support/tickets/custom-fields.js.map +1 -1
  350. package/resources/support/tickets/custom-fields.mjs +19 -19
  351. package/resources/support/tickets/custom-fields.mjs.map +1 -1
  352. package/resources/support/tickets/index.d.mts +4 -4
  353. package/resources/support/tickets/index.d.mts.map +1 -1
  354. package/resources/support/tickets/index.d.ts +4 -4
  355. package/resources/support/tickets/index.d.ts.map +1 -1
  356. package/resources/support/tickets/index.mjs.map +1 -1
  357. package/resources/support/tickets/statuses.d.mts +17 -17
  358. package/resources/support/tickets/statuses.d.mts.map +1 -1
  359. package/resources/support/tickets/statuses.d.ts +17 -17
  360. package/resources/support/tickets/statuses.d.ts.map +1 -1
  361. package/resources/support/tickets/statuses.js +21 -21
  362. package/resources/support/tickets/statuses.js.map +1 -1
  363. package/resources/support/tickets/statuses.mjs +21 -21
  364. package/resources/support/tickets/statuses.mjs.map +1 -1
  365. package/resources/support/tickets/tickets.d.mts +69 -69
  366. package/resources/support/tickets/tickets.d.mts.map +1 -1
  367. package/resources/support/tickets/tickets.d.ts +69 -69
  368. package/resources/support/tickets/tickets.d.ts.map +1 -1
  369. package/resources/support/tickets/tickets.js +44 -44
  370. package/resources/support/tickets/tickets.js.map +1 -1
  371. package/resources/support/tickets/tickets.mjs +44 -44
  372. package/resources/support/tickets/tickets.mjs.map +1 -1
  373. package/resources/support/tickets.d.mts.map +1 -1
  374. package/resources/support/tickets.d.ts.map +1 -1
  375. package/resources/support/tickets.mjs.map +1 -1
  376. package/resources/support.d.mts.map +1 -1
  377. package/resources/support.d.ts.map +1 -1
  378. package/resources/support.mjs.map +1 -1
  379. package/resources/surveys.d.mts +41 -41
  380. package/resources/surveys.d.mts.map +1 -1
  381. package/resources/surveys.d.ts +41 -41
  382. package/resources/surveys.d.ts.map +1 -1
  383. package/resources/surveys.js +44 -44
  384. package/resources/surveys.js.map +1 -1
  385. package/resources/surveys.mjs +44 -44
  386. package/resources/surveys.mjs.map +1 -1
  387. package/resources/users/companies/companies.d.mts +116 -157
  388. package/resources/users/companies/companies.d.mts.map +1 -1
  389. package/resources/users/companies/companies.d.ts +116 -157
  390. package/resources/users/companies/companies.d.ts.map +1 -1
  391. package/resources/users/companies/companies.js +125 -125
  392. package/resources/users/companies/companies.js.map +1 -1
  393. package/resources/users/companies/companies.mjs +125 -125
  394. package/resources/users/companies/companies.mjs.map +1 -1
  395. package/resources/users/companies/contacts.d.mts.map +1 -1
  396. package/resources/users/companies/contacts.d.ts.map +1 -1
  397. package/resources/users/companies/contacts.mjs.map +1 -1
  398. package/resources/users/companies/index.d.mts +1 -1
  399. package/resources/users/companies/index.d.mts.map +1 -1
  400. package/resources/users/companies/index.d.ts +1 -1
  401. package/resources/users/companies/index.d.ts.map +1 -1
  402. package/resources/users/companies/index.mjs.map +1 -1
  403. package/resources/users/companies.d.mts.map +1 -1
  404. package/resources/users/companies.d.ts.map +1 -1
  405. package/resources/users/companies.mjs.map +1 -1
  406. package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
  407. package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
  408. package/resources/users/contacts/by-user-id/by-user-id.mjs.map +1 -1
  409. package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
  410. package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
  411. package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -1
  412. package/resources/users/contacts/by-user-id/index.d.mts.map +1 -1
  413. package/resources/users/contacts/by-user-id/index.d.ts.map +1 -1
  414. package/resources/users/contacts/by-user-id/index.mjs.map +1 -1
  415. package/resources/users/contacts/by-user-id.d.mts.map +1 -1
  416. package/resources/users/contacts/by-user-id.d.ts.map +1 -1
  417. package/resources/users/contacts/by-user-id.mjs.map +1 -1
  418. package/resources/users/contacts/contacts.d.mts +196 -235
  419. package/resources/users/contacts/contacts.d.mts.map +1 -1
  420. package/resources/users/contacts/contacts.d.ts +196 -235
  421. package/resources/users/contacts/contacts.d.ts.map +1 -1
  422. package/resources/users/contacts/contacts.js +186 -184
  423. package/resources/users/contacts/contacts.js.map +1 -1
  424. package/resources/users/contacts/contacts.mjs +186 -184
  425. package/resources/users/contacts/contacts.mjs.map +1 -1
  426. package/resources/users/contacts/email-preferences.d.mts.map +1 -1
  427. package/resources/users/contacts/email-preferences.d.ts.map +1 -1
  428. package/resources/users/contacts/email-preferences.mjs.map +1 -1
  429. package/resources/users/contacts/index.d.mts +1 -1
  430. package/resources/users/contacts/index.d.mts.map +1 -1
  431. package/resources/users/contacts/index.d.ts +1 -1
  432. package/resources/users/contacts/index.d.ts.map +1 -1
  433. package/resources/users/contacts/index.mjs.map +1 -1
  434. package/resources/users/contacts.d.mts.map +1 -1
  435. package/resources/users/contacts.d.ts.map +1 -1
  436. package/resources/users/contacts.mjs.map +1 -1
  437. package/resources/users/index.d.mts +2 -2
  438. package/resources/users/index.d.mts.map +1 -1
  439. package/resources/users/index.d.ts +2 -2
  440. package/resources/users/index.d.ts.map +1 -1
  441. package/resources/users/index.mjs.map +1 -1
  442. package/resources/users/users.d.mts +2 -2
  443. package/resources/users/users.d.mts.map +1 -1
  444. package/resources/users/users.d.ts +2 -2
  445. package/resources/users/users.d.ts.map +1 -1
  446. package/resources/users/users.mjs.map +1 -1
  447. package/resources/users.d.mts.map +1 -1
  448. package/resources/users.d.ts.map +1 -1
  449. package/resources/users.mjs.map +1 -1
  450. package/resources/webhooks.d.mts +80 -78
  451. package/resources/webhooks.d.mts.map +1 -1
  452. package/resources/webhooks.d.ts +80 -78
  453. package/resources/webhooks.d.ts.map +1 -1
  454. package/resources/webhooks.js +79 -77
  455. package/resources/webhooks.js.map +1 -1
  456. package/resources/webhooks.mjs +79 -77
  457. package/resources/webhooks.mjs.map +1 -1
  458. package/resources.d.mts.map +1 -1
  459. package/resources.d.ts.map +1 -1
  460. package/resources.mjs.map +1 -1
  461. package/src/client.ts +98 -4
  462. package/src/resources/audit-logs.ts +607 -0
  463. package/src/resources/changelogs/changelogs.ts +170 -170
  464. package/src/resources/changelogs/index.ts +1 -1
  465. package/src/resources/conversation-attributes.ts +181 -0
  466. package/src/resources/feedback/boards.ts +28 -28
  467. package/src/resources/feedback/comments.ts +153 -226
  468. package/src/resources/feedback/custom-fields.ts +44 -44
  469. package/src/resources/feedback/feedback.ts +19 -5
  470. package/src/resources/feedback/index.ts +12 -5
  471. package/src/resources/feedback/post-statuses.ts +31 -31
  472. package/src/resources/feedback/posts/index.ts +7 -1
  473. package/src/resources/feedback/posts/posts.ts +230 -311
  474. package/src/resources/help-center/articles.ts +123 -186
  475. package/src/resources/help-center/collections.ts +84 -84
  476. package/src/resources/help-center/help-center.ts +7 -5
  477. package/src/resources/help-center/help-centers.ts +55 -55
  478. package/src/resources/help-center/index.ts +6 -5
  479. package/src/resources/help-center/redirect-rules.ts +174 -174
  480. package/src/resources/index.ts +37 -3
  481. package/src/resources/organization/admins.ts +45 -33
  482. package/src/resources/organization/brands.ts +66 -66
  483. package/src/resources/organization/index.ts +3 -3
  484. package/src/resources/organization/organization.ts +3 -3
  485. package/src/resources/organization/teams.ts +52 -52
  486. package/src/resources/reports.ts +908 -0
  487. package/src/resources/support/conversation-tags.ts +59 -59
  488. package/src/resources/support/conversations/conversations.ts +723 -850
  489. package/src/resources/support/conversations/index.ts +11 -6
  490. package/src/resources/support/index.ts +14 -9
  491. package/src/resources/support/support.ts +21 -11
  492. package/src/resources/support/tickets/categories.ts +33 -33
  493. package/src/resources/support/tickets/custom-fields.ts +27 -27
  494. package/src/resources/support/tickets/index.ts +4 -4
  495. package/src/resources/support/tickets/statuses.ts +29 -29
  496. package/src/resources/support/tickets/tickets.ts +95 -95
  497. package/src/resources/surveys.ts +58 -58
  498. package/src/resources/users/companies/companies.ts +155 -204
  499. package/src/resources/users/companies/index.ts +2 -2
  500. package/src/resources/users/contacts/contacts.ts +235 -282
  501. package/src/resources/users/contacts/index.ts +3 -3
  502. package/src/resources/users/index.ts +5 -5
  503. package/src/resources/users/users.ts +5 -5
  504. package/src/resources/webhooks.ts +100 -95
  505. package/src/version.ts +1 -1
  506. package/uploads.d.mts +1 -0
  507. package/uploads.d.mts.map +1 -1
  508. package/uploads.d.ts +1 -0
  509. package/uploads.d.ts.map +1 -1
  510. package/uploads.mjs +1 -0
  511. package/uploads.mjs.map +1 -1
  512. package/version.d.mts +1 -1
  513. package/version.d.ts +1 -1
  514. package/version.js +1 -1
  515. package/version.mjs +1 -1
@@ -0,0 +1,117 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ /**
5
+ * Conversation custom attribute definitions configured in your Featurebase organization. Use these definitions to map ID-keyed conversation custom attributes to human-readable names and value types.
6
+ */
7
+ export declare class ConversationAttributes extends APIResource {
8
+ /**
9
+ * Returns conversation custom attribute definitions configured in your
10
+ * organization.
11
+ *
12
+ * Conversation payloads expose `customAttributes` keyed by stable attribute IDs.
13
+ * Use this endpoint to map those IDs to display names, identifiers, data types,
14
+ * field subtypes, and select options.
15
+ *
16
+ * By default, archived definitions are excluded. Set `includeArchived=true` to
17
+ * include archived definitions.
18
+ */
19
+ list(params?: ConversationAttributeListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationAttributeListResponse>;
20
+ /**
21
+ * Retrieves a single conversation custom attribute definition by its stable ID.
22
+ *
23
+ * Use this when a conversation response contains a `customAttributes` key and you
24
+ * need the corresponding display name, identifier, data type, field subtype, or
25
+ * options.
26
+ */
27
+ retrieve(id: string, params?: ConversationAttributeRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ConversationAttribute>;
28
+ }
29
+ export interface ConversationAttribute {
30
+ /**
31
+ * Stable machine identifier used as the key in conversation.customAttributes.
32
+ */
33
+ id: string;
34
+ /**
35
+ * Whether this definition has been archived.
36
+ */
37
+ archived: boolean;
38
+ /**
39
+ * Storage-level data type used for validation and search.
40
+ */
41
+ dataType: 'string' | 'number' | 'boolean' | 'date' | 'array' | 'object';
42
+ /**
43
+ * Conversation field subtype that controls the expected value shape.
44
+ */
45
+ fieldSubType: 'text' | 'number' | 'select' | 'multi-select' | 'checkbox' | 'date';
46
+ /**
47
+ * Stable internal identifier for the attribute definition.
48
+ */
49
+ identifier: string;
50
+ /**
51
+ * Human-readable attribute name shown in Featurebase.
52
+ */
53
+ name: string;
54
+ /**
55
+ * Object type identifier
56
+ */
57
+ object: 'conversation_attribute';
58
+ /**
59
+ * ISO timestamp when the attribute was created.
60
+ */
61
+ createdAt?: string;
62
+ /**
63
+ * Allowed values for select and multi-select attributes.
64
+ */
65
+ options?: Array<ConversationAttributeOption>;
66
+ /**
67
+ * ISO timestamp when the attribute was last updated.
68
+ */
69
+ updatedAt?: string;
70
+ }
71
+ export interface ConversationAttributeOption {
72
+ /**
73
+ * Option display label
74
+ */
75
+ label: string;
76
+ /**
77
+ * Option unique identifier when stored for this option.
78
+ */
79
+ id?: string;
80
+ }
81
+ export interface ConversationAttributeListResponse {
82
+ /**
83
+ * Array of conversation custom attribute definitions.
84
+ */
85
+ data: Array<ConversationAttribute>;
86
+ /**
87
+ * Cursor for fetching the next page. Always null; all definitions are returned at
88
+ * once.
89
+ */
90
+ nextCursor: string | null;
91
+ /**
92
+ * Object type identifier
93
+ */
94
+ object: 'list';
95
+ }
96
+ export interface ConversationAttributeListParams {
97
+ /**
98
+ * Query param: Include archived conversation custom attributes in the response.
99
+ */
100
+ includeArchived?: boolean | 'true' | 'false';
101
+ /**
102
+ * Header param: API version for this request. Defaults to your organization's
103
+ * configured API version if not specified.
104
+ */
105
+ 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
106
+ }
107
+ export interface ConversationAttributeRetrieveParams {
108
+ /**
109
+ * API version for this request. Defaults to your organization's configured API
110
+ * version if not specified.
111
+ */
112
+ 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
113
+ }
114
+ export declare namespace ConversationAttributes {
115
+ export { type ConversationAttribute as ConversationAttribute, type ConversationAttributeOption as ConversationAttributeOption, type ConversationAttributeListResponse as ConversationAttributeListResponse, type ConversationAttributeListParams as ConversationAttributeListParams, type ConversationAttributeRetrieveParams as ConversationAttributeRetrieveParams, };
116
+ }
117
+ //# sourceMappingURL=conversation-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation-attributes.d.ts","sourceRoot":"","sources":["../src/resources/conversation-attributes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD;;;;;;;;;;OAUG;IACH,IAAI,CACF,MAAM,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;IAgBhD;;;;;;OAMG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,mCAAmC,GAAG,IAAI,GAAG,SAAc,EACnE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,q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ACjE;AAED,MAAM,CAAC,OAAO,WAAW,sBAAsB,CAAC;IAC9C,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ConversationAttributes = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const headers_1 = require("../internal/headers.js");
7
+ const path_1 = require("../internal/utils/path.js");
8
+ /**
9
+ * Conversation custom attribute definitions configured in your Featurebase organization. Use these definitions to map ID-keyed conversation custom attributes to human-readable names and value types.
10
+ */
11
+ class ConversationAttributes extends resource_1.APIResource {
12
+ /**
13
+ * Returns conversation custom attribute definitions configured in your
14
+ * organization.
15
+ *
16
+ * Conversation payloads expose `customAttributes` keyed by stable attribute IDs.
17
+ * Use this endpoint to map those IDs to display names, identifiers, data types,
18
+ * field subtypes, and select options.
19
+ *
20
+ * By default, archived definitions are excluded. Set `includeArchived=true` to
21
+ * include archived definitions.
22
+ */
23
+ list(params = {}, options) {
24
+ const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
25
+ return this._client.get('/v2/conversation_attributes', {
26
+ query,
27
+ ...options,
28
+ headers: (0, headers_1.buildHeaders)([
29
+ {
30
+ ...(featurebaseVersion?.toString() != null ?
31
+ { 'Featurebase-Version': featurebaseVersion?.toString() }
32
+ : undefined),
33
+ },
34
+ options?.headers,
35
+ ]),
36
+ });
37
+ }
38
+ /**
39
+ * Retrieves a single conversation custom attribute definition by its stable ID.
40
+ *
41
+ * Use this when a conversation response contains a `customAttributes` key and you
42
+ * need the corresponding display name, identifier, data type, field subtype, or
43
+ * options.
44
+ */
45
+ retrieve(id, params = {}, options) {
46
+ const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
47
+ return this._client.get((0, path_1.path) `/v2/conversation_attributes/${id}`, {
48
+ ...options,
49
+ headers: (0, headers_1.buildHeaders)([
50
+ {
51
+ ...(featurebaseVersion?.toString() != null ?
52
+ { 'Featurebase-Version': featurebaseVersion?.toString() }
53
+ : undefined),
54
+ },
55
+ options?.headers,
56
+ ]),
57
+ });
58
+ }
59
+ }
60
+ exports.ConversationAttributes = ConversationAttributes;
61
+ //# sourceMappingURL=conversation-attributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation-attributes.js","sourceRoot":"","sources":["../src/resources/conversation-attributes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,sBAAuB,SAAQ,sBAAW;IACrD;;;;;;;;;;OAUG;IACH,IAAI,CACF,SAA6D,EAAE,EAC/D,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE;YACrD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CACN,EAAU,EACV,SAAiE,EAAE,EACnE,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,EAAE,EAAE;YAC/D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAxDD,wDAwDC"}
@@ -0,0 +1,57 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { buildHeaders } from "../internal/headers.mjs";
4
+ import { path } from "../internal/utils/path.mjs";
5
+ /**
6
+ * Conversation custom attribute definitions configured in your Featurebase organization. Use these definitions to map ID-keyed conversation custom attributes to human-readable names and value types.
7
+ */
8
+ export class ConversationAttributes extends APIResource {
9
+ /**
10
+ * Returns conversation custom attribute definitions configured in your
11
+ * organization.
12
+ *
13
+ * Conversation payloads expose `customAttributes` keyed by stable attribute IDs.
14
+ * Use this endpoint to map those IDs to display names, identifiers, data types,
15
+ * field subtypes, and select options.
16
+ *
17
+ * By default, archived definitions are excluded. Set `includeArchived=true` to
18
+ * include archived definitions.
19
+ */
20
+ list(params = {}, options) {
21
+ const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
22
+ return this._client.get('/v2/conversation_attributes', {
23
+ query,
24
+ ...options,
25
+ headers: buildHeaders([
26
+ {
27
+ ...(featurebaseVersion?.toString() != null ?
28
+ { 'Featurebase-Version': featurebaseVersion?.toString() }
29
+ : undefined),
30
+ },
31
+ options?.headers,
32
+ ]),
33
+ });
34
+ }
35
+ /**
36
+ * Retrieves a single conversation custom attribute definition by its stable ID.
37
+ *
38
+ * Use this when a conversation response contains a `customAttributes` key and you
39
+ * need the corresponding display name, identifier, data type, field subtype, or
40
+ * options.
41
+ */
42
+ retrieve(id, params = {}, options) {
43
+ const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
44
+ return this._client.get(path `/v2/conversation_attributes/${id}`, {
45
+ ...options,
46
+ headers: buildHeaders([
47
+ {
48
+ ...(featurebaseVersion?.toString() != null ?
49
+ { 'Featurebase-Version': featurebaseVersion?.toString() }
50
+ : undefined),
51
+ },
52
+ options?.headers,
53
+ ]),
54
+ });
55
+ }
56
+ }
57
+ //# sourceMappingURL=conversation-attributes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation-attributes.mjs","sourceRoot":"","sources":["../src/resources/conversation-attributes.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,sBAAuB,SAAQ,WAAW;IACrD;;;;;;;;;;OAUG;IACH,IAAI,CACF,SAA6D,EAAE,EAC/D,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE;YACrD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CACN,EAAU,EACV,SAAiE,EAAE,EACnE,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,EAAE,EAAE;YAC/D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -5,20 +5,6 @@ import { RequestOptions } from "../../internal/request-options.mjs";
5
5
  * Boards (post categories) organize feedback into distinct containers with their own settings.
6
6
  */
7
7
  export declare class Boards extends APIResource {
8
- /**
9
- * Retrieves a single board by its unique identifier.
10
- *
11
- * Returns the full board object including all access controls, feature toggles,
12
- * and localization settings.
13
- *
14
- * @example
15
- * ```ts
16
- * const board = await client.feedback.boards.retrieve(
17
- * '507f1f77bcf86cd799439011',
18
- * );
19
- * ```
20
- */
21
- retrieve(id: string, params?: BoardRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Board>;
22
8
  /**
23
9
  * Returns all boards (post categories) for the authenticated organization.
24
10
  *
@@ -37,6 +23,20 @@ export declare class Boards extends APIResource {
37
23
  * ```
38
24
  */
39
25
  list(params?: BoardListParams | null | undefined, options?: RequestOptions): APIPromise<BoardListResponse>;
26
+ /**
27
+ * Retrieves a single board by its unique identifier.
28
+ *
29
+ * Returns the full board object including all access controls, feature toggles,
30
+ * and localization settings.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const board = await client.feedback.boards.retrieve(
35
+ * '507f1f77bcf86cd799439011',
36
+ * );
37
+ * ```
38
+ */
39
+ retrieve(id: string, params?: BoardRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Board>;
40
40
  }
41
41
  export interface Board {
42
42
  /**
@@ -194,14 +194,14 @@ export declare namespace Board {
194
194
  }
195
195
  }
196
196
  export type BoardListResponse = Array<Board>;
197
- export interface BoardRetrieveParams {
197
+ export interface BoardListParams {
198
198
  /**
199
199
  * API version for this request. Defaults to your organization's configured API
200
200
  * version if not specified.
201
201
  */
202
202
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
203
203
  }
204
- export interface BoardListParams {
204
+ export interface BoardRetrieveParams {
205
205
  /**
206
206
  * API version for this request. Defaults to your organization's configured API
207
207
  * version if not specified.
@@ -209,6 +209,6 @@ export interface BoardListParams {
209
209
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
210
210
  }
211
211
  export declare namespace Boards {
212
- export { type Board as Board, type BoardListResponse as BoardListResponse, type BoardRetrieveParams as BoardRetrieveParams, type BoardListParams as BoardListParams, };
212
+ export { type Board as Board, type BoardListResponse as BoardListResponse, type BoardListParams as BoardListParams, type BoardRetrieveParams as BoardRetrieveParams, };
213
213
  }
214
214
  //# sourceMappingURL=boards.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"boards.d.mts","sourceRoot":"","sources":["../../src/resources/feedback/boards.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,KAAK,CAAC;IAepB;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CACF,MAAM,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAA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IAAI,CAAC;QAE5C;;WAEG;QACH,IAAI,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAEhC;;WAEG;QACH,gBAAgB,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC;KACpD;IAED,UAAiB,YAAY;QAC3B;;WAEG;QACH,UAAU,EAAE,QAAQ,GAAG,YAAY,GAAG,aAAa,CAAC;KACrD;CACF;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AAE7C,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -5,20 +5,6 @@ import { RequestOptions } from "../../internal/request-options.js";
5
5
  * Boards (post categories) organize feedback into distinct containers with their own settings.
6
6
  */
7
7
  export declare class Boards extends APIResource {
8
- /**
9
- * Retrieves a single board by its unique identifier.
10
- *
11
- * Returns the full board object including all access controls, feature toggles,
12
- * and localization settings.
13
- *
14
- * @example
15
- * ```ts
16
- * const board = await client.feedback.boards.retrieve(
17
- * '507f1f77bcf86cd799439011',
18
- * );
19
- * ```
20
- */
21
- retrieve(id: string, params?: BoardRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Board>;
22
8
  /**
23
9
  * Returns all boards (post categories) for the authenticated organization.
24
10
  *
@@ -37,6 +23,20 @@ export declare class Boards extends APIResource {
37
23
  * ```
38
24
  */
39
25
  list(params?: BoardListParams | null | undefined, options?: RequestOptions): APIPromise<BoardListResponse>;
26
+ /**
27
+ * Retrieves a single board by its unique identifier.
28
+ *
29
+ * Returns the full board object including all access controls, feature toggles,
30
+ * and localization settings.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const board = await client.feedback.boards.retrieve(
35
+ * '507f1f77bcf86cd799439011',
36
+ * );
37
+ * ```
38
+ */
39
+ retrieve(id: string, params?: BoardRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Board>;
40
40
  }
41
41
  export interface Board {
42
42
  /**
@@ -194,14 +194,14 @@ export declare namespace Board {
194
194
  }
195
195
  }
196
196
  export type BoardListResponse = Array<Board>;
197
- export interface BoardRetrieveParams {
197
+ export interface BoardListParams {
198
198
  /**
199
199
  * API version for this request. Defaults to your organization's configured API
200
200
  * version if not specified.
201
201
  */
202
202
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
203
203
  }
204
- export interface BoardListParams {
204
+ export interface BoardRetrieveParams {
205
205
  /**
206
206
  * API version for this request. Defaults to your organization's configured API
207
207
  * version if not specified.
@@ -209,6 +209,6 @@ export interface BoardListParams {
209
209
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
210
210
  }
211
211
  export declare namespace Boards {
212
- export { type Board as Board, type BoardListResponse as BoardListResponse, type BoardRetrieveParams as BoardRetrieveParams, type BoardListParams as BoardListParams, };
212
+ export { type Board as Board, type BoardListResponse as BoardListResponse, type BoardListParams as BoardListParams, type BoardRetrieveParams as BoardRetrieveParams, };
213
213
  }
214
214
  //# sourceMappingURL=boards.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"boards.d.ts","sourceRoot":"","sources":["../../src/resources/feedback/boards.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;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H,eAAe,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC;QAElD;;WAEG;QACH,eAAe,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC;QAElD;;WAEG;QACH,SAAS,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC;QAE5C;;WAEG;QACH,IAAI,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAEhC;;WAEG;QACH,gBAAgB,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC;KACpD;IAED,UAAiB,YAAY;QAC3B;;WAEG;QACH,UAAU,EAAE,QAAQ,GAAG,YAAY,GAAG,aAAa,CAAC;KACrD;CACF;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AAE7C,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -10,21 +10,25 @@ const path_1 = require("../../internal/utils/path.js");
10
10
  */
11
11
  class Boards extends resource_1.APIResource {
12
12
  /**
13
- * Retrieves a single board by its unique identifier.
13
+ * Returns all boards (post categories) for the authenticated organization.
14
14
  *
15
- * Returns the full board object including all access controls, feature toggles,
16
- * and localization settings.
15
+ * Boards are containers for posts/feedback. Each board can have different:
16
+ *
17
+ * - Access controls (public, private, segment-restricted)
18
+ * - Feature toggles (comments, posting enabled)
19
+ * - Custom fields
20
+ *
21
+ * This endpoint returns all boards without pagination. Organizations typically
22
+ * have a small number of boards.
17
23
  *
18
24
  * @example
19
25
  * ```ts
20
- * const board = await client.feedback.boards.retrieve(
21
- * '507f1f77bcf86cd799439011',
22
- * );
26
+ * const boards = await client.feedback.boards.list();
23
27
  * ```
24
28
  */
25
- retrieve(id, params = {}, options) {
29
+ list(params = {}, options) {
26
30
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
27
- return this._client.get((0, path_1.path) `/v2/boards/${id}`, {
31
+ return this._client.get('/v2/boards', {
28
32
  ...options,
29
33
  headers: (0, headers_1.buildHeaders)([
30
34
  {
@@ -37,25 +41,21 @@ class Boards extends resource_1.APIResource {
37
41
  });
38
42
  }
39
43
  /**
40
- * Returns all boards (post categories) for the authenticated organization.
41
- *
42
- * Boards are containers for posts/feedback. Each board can have different:
43
- *
44
- * - Access controls (public, private, segment-restricted)
45
- * - Feature toggles (comments, posting enabled)
46
- * - Custom fields
44
+ * Retrieves a single board by its unique identifier.
47
45
  *
48
- * This endpoint returns all boards without pagination. Organizations typically
49
- * have a small number of boards.
46
+ * Returns the full board object including all access controls, feature toggles,
47
+ * and localization settings.
50
48
  *
51
49
  * @example
52
50
  * ```ts
53
- * const boards = await client.feedback.boards.list();
51
+ * const board = await client.feedback.boards.retrieve(
52
+ * '507f1f77bcf86cd799439011',
53
+ * );
54
54
  * ```
55
55
  */
56
- list(params = {}, options) {
56
+ retrieve(id, params = {}, options) {
57
57
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
58
- return this._client.get('/v2/boards', {
58
+ return this._client.get((0, path_1.path) `/v2/boards/${id}`, {
59
59
  ...options,
60
60
  headers: (0, headers_1.buildHeaders)([
61
61
  {
@@ -1 +1 @@
1
- {"version":3,"file":"boards.js","sour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;AAnED,wBAmEC"}
@@ -7,21 +7,25 @@ import { path } from "../../internal/utils/path.mjs";
7
7
  */
8
8
  export class Boards extends APIResource {
9
9
  /**
10
- * Retrieves a single board by its unique identifier.
10
+ * Returns all boards (post categories) for the authenticated organization.
11
11
  *
12
- * Returns the full board object including all access controls, feature toggles,
13
- * and localization settings.
12
+ * Boards are containers for posts/feedback. Each board can have different:
13
+ *
14
+ * - Access controls (public, private, segment-restricted)
15
+ * - Feature toggles (comments, posting enabled)
16
+ * - Custom fields
17
+ *
18
+ * This endpoint returns all boards without pagination. Organizations typically
19
+ * have a small number of boards.
14
20
  *
15
21
  * @example
16
22
  * ```ts
17
- * const board = await client.feedback.boards.retrieve(
18
- * '507f1f77bcf86cd799439011',
19
- * );
23
+ * const boards = await client.feedback.boards.list();
20
24
  * ```
21
25
  */
22
- retrieve(id, params = {}, options) {
26
+ list(params = {}, options) {
23
27
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
24
- return this._client.get(path `/v2/boards/${id}`, {
28
+ return this._client.get('/v2/boards', {
25
29
  ...options,
26
30
  headers: buildHeaders([
27
31
  {
@@ -34,25 +38,21 @@ export class Boards extends APIResource {
34
38
  });
35
39
  }
36
40
  /**
37
- * Returns all boards (post categories) for the authenticated organization.
38
- *
39
- * Boards are containers for posts/feedback. Each board can have different:
40
- *
41
- * - Access controls (public, private, segment-restricted)
42
- * - Feature toggles (comments, posting enabled)
43
- * - Custom fields
41
+ * Retrieves a single board by its unique identifier.
44
42
  *
45
- * This endpoint returns all boards without pagination. Organizations typically
46
- * have a small number of boards.
43
+ * Returns the full board object including all access controls, feature toggles,
44
+ * and localization settings.
47
45
  *
48
46
  * @example
49
47
  * ```ts
50
- * const boards = await client.feedback.boards.list();
48
+ * const board = await client.feedback.boards.retrieve(
49
+ * '507f1f77bcf86cd799439011',
50
+ * );
51
51
  * ```
52
52
  */
53
- list(params = {}, options) {
53
+ retrieve(id, params = {}, options) {
54
54
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
55
- return this._client.get('/v2/boards', {
55
+ return this._client.get(path `/v2/boards/${id}`, {
56
56
  ...options,
57
57
  headers: buildHeaders([
58
58
  {
@@ -1 +1 @@
1
- {"version":3,"file":"boards.mjs","sourceRoot":"","sources":["../../src/resources/feedback/boards.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAU,EACV,SAAiD,EAAE,EACnD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,cAAc,EAAE,EAAE,EAAE;YAC9C,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CACF,SAA6C,EAAE,EAC/C,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE;YACpC,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAA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