featurebase-node 0.12.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 (501) hide show
  1. package/CHANGELOG.md +37 -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.js +2 -0
  75. package/internal/utils/log.js.map +1 -1
  76. package/internal/utils/log.mjs +2 -0
  77. package/internal/utils/log.mjs.map +1 -1
  78. package/internal/utils/path.mjs.map +1 -1
  79. package/internal/utils/query.mjs.map +1 -1
  80. package/internal/utils/values.mjs.map +1 -1
  81. package/internal/utils.d.mts.map +1 -1
  82. package/internal/utils.d.ts.map +1 -1
  83. package/internal/utils.mjs.map +1 -1
  84. package/package.json +16 -10
  85. package/pagination.d.mts +1 -0
  86. package/pagination.d.mts.map +1 -1
  87. package/pagination.d.ts +1 -0
  88. package/pagination.d.ts.map +1 -1
  89. package/pagination.mjs +1 -0
  90. package/pagination.mjs.map +1 -1
  91. package/resource.d.mts +1 -0
  92. package/resource.d.mts.map +1 -1
  93. package/resource.d.ts +1 -0
  94. package/resource.d.ts.map +1 -1
  95. package/resource.mjs +1 -0
  96. package/resource.mjs.map +1 -1
  97. package/resources/changelogs/changelogs.d.mts +106 -106
  98. package/resources/changelogs/changelogs.d.mts.map +1 -1
  99. package/resources/changelogs/changelogs.d.ts +106 -106
  100. package/resources/changelogs/changelogs.d.ts.map +1 -1
  101. package/resources/changelogs/changelogs.js +74 -74
  102. package/resources/changelogs/changelogs.js.map +1 -1
  103. package/resources/changelogs/changelogs.mjs +74 -74
  104. package/resources/changelogs/changelogs.mjs.map +1 -1
  105. package/resources/changelogs/index.d.mts +1 -1
  106. package/resources/changelogs/index.d.mts.map +1 -1
  107. package/resources/changelogs/index.d.ts +1 -1
  108. package/resources/changelogs/index.d.ts.map +1 -1
  109. package/resources/changelogs/index.mjs.map +1 -1
  110. package/resources/changelogs/subscribers.d.mts.map +1 -1
  111. package/resources/changelogs/subscribers.d.ts.map +1 -1
  112. package/resources/changelogs/subscribers.mjs.map +1 -1
  113. package/resources/changelogs.d.mts.map +1 -1
  114. package/resources/changelogs.d.ts.map +1 -1
  115. package/resources/changelogs.mjs.map +1 -1
  116. package/resources/conversation-attributes.d.mts +117 -0
  117. package/resources/conversation-attributes.d.mts.map +1 -0
  118. package/resources/conversation-attributes.d.ts +117 -0
  119. package/resources/conversation-attributes.d.ts.map +1 -0
  120. package/resources/conversation-attributes.js +61 -0
  121. package/resources/conversation-attributes.js.map +1 -0
  122. package/resources/conversation-attributes.mjs +57 -0
  123. package/resources/conversation-attributes.mjs.map +1 -0
  124. package/resources/feedback/boards.d.mts +17 -17
  125. package/resources/feedback/boards.d.mts.map +1 -1
  126. package/resources/feedback/boards.d.ts +17 -17
  127. package/resources/feedback/boards.d.ts.map +1 -1
  128. package/resources/feedback/boards.js +20 -20
  129. package/resources/feedback/boards.js.map +1 -1
  130. package/resources/feedback/boards.mjs +20 -20
  131. package/resources/feedback/boards.mjs.map +1 -1
  132. package/resources/feedback/comments.d.mts +400 -123
  133. package/resources/feedback/comments.d.mts.map +1 -1
  134. package/resources/feedback/comments.d.ts +400 -123
  135. package/resources/feedback/comments.d.ts.map +1 -1
  136. package/resources/feedback/comments.js +253 -93
  137. package/resources/feedback/comments.js.map +1 -1
  138. package/resources/feedback/comments.mjs +253 -93
  139. package/resources/feedback/comments.mjs.map +1 -1
  140. package/resources/feedback/custom-fields.d.mts +34 -34
  141. package/resources/feedback/custom-fields.d.mts.map +1 -1
  142. package/resources/feedback/custom-fields.d.ts +34 -34
  143. package/resources/feedback/custom-fields.d.ts.map +1 -1
  144. package/resources/feedback/custom-fields.js +36 -36
  145. package/resources/feedback/custom-fields.js.map +1 -1
  146. package/resources/feedback/custom-fields.mjs +36 -36
  147. package/resources/feedback/custom-fields.mjs.map +1 -1
  148. package/resources/feedback/feedback.d.mts +7 -7
  149. package/resources/feedback/feedback.d.mts.map +1 -1
  150. package/resources/feedback/feedback.d.ts +7 -7
  151. package/resources/feedback/feedback.d.ts.map +1 -1
  152. package/resources/feedback/feedback.js.map +1 -1
  153. package/resources/feedback/feedback.mjs.map +1 -1
  154. package/resources/feedback/index.d.mts +5 -5
  155. package/resources/feedback/index.d.mts.map +1 -1
  156. package/resources/feedback/index.d.ts +5 -5
  157. package/resources/feedback/index.d.ts.map +1 -1
  158. package/resources/feedback/index.js.map +1 -1
  159. package/resources/feedback/index.mjs.map +1 -1
  160. package/resources/feedback/post-statuses.d.mts +18 -18
  161. package/resources/feedback/post-statuses.d.mts.map +1 -1
  162. package/resources/feedback/post-statuses.d.ts +18 -18
  163. package/resources/feedback/post-statuses.d.ts.map +1 -1
  164. package/resources/feedback/post-statuses.js +23 -23
  165. package/resources/feedback/post-statuses.js.map +1 -1
  166. package/resources/feedback/post-statuses.mjs +23 -23
  167. package/resources/feedback/post-statuses.mjs.map +1 -1
  168. package/resources/feedback/posts/index.d.mts +1 -1
  169. package/resources/feedback/posts/index.d.mts.map +1 -1
  170. package/resources/feedback/posts/index.d.ts +1 -1
  171. package/resources/feedback/posts/index.d.ts.map +1 -1
  172. package/resources/feedback/posts/index.js.map +1 -1
  173. package/resources/feedback/posts/index.mjs.map +1 -1
  174. package/resources/feedback/posts/posts.d.mts +238 -284
  175. package/resources/feedback/posts/posts.d.mts.map +1 -1
  176. package/resources/feedback/posts/posts.d.ts +238 -284
  177. package/resources/feedback/posts/posts.d.ts.map +1 -1
  178. package/resources/feedback/posts/posts.js +122 -96
  179. package/resources/feedback/posts/posts.js.map +1 -1
  180. package/resources/feedback/posts/posts.mjs +122 -96
  181. package/resources/feedback/posts/posts.mjs.map +1 -1
  182. package/resources/feedback/posts/voters.d.mts.map +1 -1
  183. package/resources/feedback/posts/voters.d.ts.map +1 -1
  184. package/resources/feedback/posts/voters.mjs.map +1 -1
  185. package/resources/feedback/posts.d.mts.map +1 -1
  186. package/resources/feedback/posts.d.ts.map +1 -1
  187. package/resources/feedback/posts.mjs.map +1 -1
  188. package/resources/feedback.d.mts.map +1 -1
  189. package/resources/feedback.d.ts.map +1 -1
  190. package/resources/feedback.mjs.map +1 -1
  191. package/resources/help-center/articles.d.mts +98 -152
  192. package/resources/help-center/articles.d.mts.map +1 -1
  193. package/resources/help-center/articles.d.ts +98 -152
  194. package/resources/help-center/articles.d.ts.map +1 -1
  195. package/resources/help-center/articles.js +73 -73
  196. package/resources/help-center/articles.js.map +1 -1
  197. package/resources/help-center/articles.mjs +73 -73
  198. package/resources/help-center/articles.mjs.map +1 -1
  199. package/resources/help-center/collections.d.mts +64 -64
  200. package/resources/help-center/collections.d.mts.map +1 -1
  201. package/resources/help-center/collections.d.ts +64 -64
  202. package/resources/help-center/collections.d.ts.map +1 -1
  203. package/resources/help-center/collections.js +65 -65
  204. package/resources/help-center/collections.js.map +1 -1
  205. package/resources/help-center/collections.mjs +65 -65
  206. package/resources/help-center/collections.mjs.map +1 -1
  207. package/resources/help-center/help-center.d.mts +5 -5
  208. package/resources/help-center/help-center.d.mts.map +1 -1
  209. package/resources/help-center/help-center.d.ts +5 -5
  210. package/resources/help-center/help-center.d.ts.map +1 -1
  211. package/resources/help-center/help-center.js.map +1 -1
  212. package/resources/help-center/help-center.mjs.map +1 -1
  213. package/resources/help-center/help-centers.d.mts +43 -43
  214. package/resources/help-center/help-centers.d.mts.map +1 -1
  215. package/resources/help-center/help-centers.d.ts +43 -43
  216. package/resources/help-center/help-centers.d.ts.map +1 -1
  217. package/resources/help-center/help-centers.js +43 -43
  218. package/resources/help-center/help-centers.js.map +1 -1
  219. package/resources/help-center/help-centers.mjs +43 -43
  220. package/resources/help-center/help-centers.mjs.map +1 -1
  221. package/resources/help-center/index.d.mts +4 -4
  222. package/resources/help-center/index.d.mts.map +1 -1
  223. package/resources/help-center/index.d.ts +4 -4
  224. package/resources/help-center/index.d.ts.map +1 -1
  225. package/resources/help-center/index.js.map +1 -1
  226. package/resources/help-center/index.mjs.map +1 -1
  227. package/resources/help-center/redirect-rules.d.mts +117 -117
  228. package/resources/help-center/redirect-rules.d.mts.map +1 -1
  229. package/resources/help-center/redirect-rules.d.ts +117 -117
  230. package/resources/help-center/redirect-rules.d.ts.map +1 -1
  231. package/resources/help-center/redirect-rules.js +112 -112
  232. package/resources/help-center/redirect-rules.js.map +1 -1
  233. package/resources/help-center/redirect-rules.mjs +112 -112
  234. package/resources/help-center/redirect-rules.mjs.map +1 -1
  235. package/resources/help-center.d.mts.map +1 -1
  236. package/resources/help-center.d.ts.map +1 -1
  237. package/resources/help-center.mjs.map +1 -1
  238. package/resources/index.d.mts +4 -3
  239. package/resources/index.d.mts.map +1 -1
  240. package/resources/index.d.ts +4 -3
  241. package/resources/index.d.ts.map +1 -1
  242. package/resources/index.js +3 -1
  243. package/resources/index.js.map +1 -1
  244. package/resources/index.mjs +1 -0
  245. package/resources/index.mjs.map +1 -1
  246. package/resources/organization/admins.d.mts +23 -23
  247. package/resources/organization/admins.d.mts.map +1 -1
  248. package/resources/organization/admins.d.ts +23 -23
  249. package/resources/organization/admins.d.ts.map +1 -1
  250. package/resources/organization/admins.js +25 -25
  251. package/resources/organization/admins.js.map +1 -1
  252. package/resources/organization/admins.mjs +25 -25
  253. package/resources/organization/admins.mjs.map +1 -1
  254. package/resources/organization/brands.d.mts +50 -50
  255. package/resources/organization/brands.d.mts.map +1 -1
  256. package/resources/organization/brands.d.ts +50 -50
  257. package/resources/organization/brands.d.ts.map +1 -1
  258. package/resources/organization/brands.js +54 -54
  259. package/resources/organization/brands.js.map +1 -1
  260. package/resources/organization/brands.mjs +54 -54
  261. package/resources/organization/brands.mjs.map +1 -1
  262. package/resources/organization/index.d.mts +3 -3
  263. package/resources/organization/index.d.mts.map +1 -1
  264. package/resources/organization/index.d.ts +3 -3
  265. package/resources/organization/index.d.ts.map +1 -1
  266. package/resources/organization/index.mjs.map +1 -1
  267. package/resources/organization/organization.d.mts +3 -3
  268. package/resources/organization/organization.d.mts.map +1 -1
  269. package/resources/organization/organization.d.ts +3 -3
  270. package/resources/organization/organization.d.ts.map +1 -1
  271. package/resources/organization/organization.mjs.map +1 -1
  272. package/resources/organization/teams.d.mts +45 -45
  273. package/resources/organization/teams.d.mts.map +1 -1
  274. package/resources/organization/teams.d.ts +45 -45
  275. package/resources/organization/teams.d.ts.map +1 -1
  276. package/resources/organization/teams.js +44 -44
  277. package/resources/organization/teams.js.map +1 -1
  278. package/resources/organization/teams.mjs +44 -44
  279. package/resources/organization/teams.mjs.map +1 -1
  280. package/resources/organization.d.mts.map +1 -1
  281. package/resources/organization.d.ts.map +1 -1
  282. package/resources/organization.mjs.map +1 -1
  283. package/resources/support/conversation-tags.d.mts +40 -40
  284. package/resources/support/conversation-tags.d.mts.map +1 -1
  285. package/resources/support/conversation-tags.d.ts +40 -40
  286. package/resources/support/conversation-tags.d.ts.map +1 -1
  287. package/resources/support/conversation-tags.js +32 -32
  288. package/resources/support/conversation-tags.js.map +1 -1
  289. package/resources/support/conversation-tags.mjs +32 -32
  290. package/resources/support/conversation-tags.mjs.map +1 -1
  291. package/resources/support/conversations/conversations.d.mts +624 -722
  292. package/resources/support/conversations/conversations.d.mts.map +1 -1
  293. package/resources/support/conversations/conversations.d.ts +624 -722
  294. package/resources/support/conversations/conversations.d.ts.map +1 -1
  295. package/resources/support/conversations/conversations.js +309 -302
  296. package/resources/support/conversations/conversations.js.map +1 -1
  297. package/resources/support/conversations/conversations.mjs +309 -302
  298. package/resources/support/conversations/conversations.mjs.map +1 -1
  299. package/resources/support/conversations/index.d.mts +1 -1
  300. package/resources/support/conversations/index.d.mts.map +1 -1
  301. package/resources/support/conversations/index.d.ts +1 -1
  302. package/resources/support/conversations/index.d.ts.map +1 -1
  303. package/resources/support/conversations/index.js.map +1 -1
  304. package/resources/support/conversations/index.mjs.map +1 -1
  305. package/resources/support/conversations/participants.d.mts.map +1 -1
  306. package/resources/support/conversations/participants.d.ts.map +1 -1
  307. package/resources/support/conversations/participants.mjs.map +1 -1
  308. package/resources/support/conversations.d.mts.map +1 -1
  309. package/resources/support/conversations.d.ts.map +1 -1
  310. package/resources/support/conversations.mjs.map +1 -1
  311. package/resources/support/index.d.mts +3 -3
  312. package/resources/support/index.d.mts.map +1 -1
  313. package/resources/support/index.d.ts +3 -3
  314. package/resources/support/index.d.ts.map +1 -1
  315. package/resources/support/index.js.map +1 -1
  316. package/resources/support/index.mjs.map +1 -1
  317. package/resources/support/support.d.mts +4 -4
  318. package/resources/support/support.d.mts.map +1 -1
  319. package/resources/support/support.d.ts +4 -4
  320. package/resources/support/support.d.ts.map +1 -1
  321. package/resources/support/support.js.map +1 -1
  322. package/resources/support/support.mjs.map +1 -1
  323. package/resources/support/tickets/categories.d.mts +18 -18
  324. package/resources/support/tickets/categories.d.mts.map +1 -1
  325. package/resources/support/tickets/categories.d.ts +18 -18
  326. package/resources/support/tickets/categories.d.ts.map +1 -1
  327. package/resources/support/tickets/categories.js +25 -25
  328. package/resources/support/tickets/categories.js.map +1 -1
  329. package/resources/support/tickets/categories.mjs +25 -25
  330. package/resources/support/tickets/categories.mjs.map +1 -1
  331. package/resources/support/tickets/custom-fields.d.mts +20 -20
  332. package/resources/support/tickets/custom-fields.d.mts.map +1 -1
  333. package/resources/support/tickets/custom-fields.d.ts +20 -20
  334. package/resources/support/tickets/custom-fields.d.ts.map +1 -1
  335. package/resources/support/tickets/custom-fields.js +19 -19
  336. package/resources/support/tickets/custom-fields.js.map +1 -1
  337. package/resources/support/tickets/custom-fields.mjs +19 -19
  338. package/resources/support/tickets/custom-fields.mjs.map +1 -1
  339. package/resources/support/tickets/index.d.mts +4 -4
  340. package/resources/support/tickets/index.d.mts.map +1 -1
  341. package/resources/support/tickets/index.d.ts +4 -4
  342. package/resources/support/tickets/index.d.ts.map +1 -1
  343. package/resources/support/tickets/index.mjs.map +1 -1
  344. package/resources/support/tickets/statuses.d.mts +17 -17
  345. package/resources/support/tickets/statuses.d.mts.map +1 -1
  346. package/resources/support/tickets/statuses.d.ts +17 -17
  347. package/resources/support/tickets/statuses.d.ts.map +1 -1
  348. package/resources/support/tickets/statuses.js +21 -21
  349. package/resources/support/tickets/statuses.js.map +1 -1
  350. package/resources/support/tickets/statuses.mjs +21 -21
  351. package/resources/support/tickets/statuses.mjs.map +1 -1
  352. package/resources/support/tickets/tickets.d.mts +69 -69
  353. package/resources/support/tickets/tickets.d.mts.map +1 -1
  354. package/resources/support/tickets/tickets.d.ts +69 -69
  355. package/resources/support/tickets/tickets.d.ts.map +1 -1
  356. package/resources/support/tickets/tickets.js +44 -44
  357. package/resources/support/tickets/tickets.js.map +1 -1
  358. package/resources/support/tickets/tickets.mjs +44 -44
  359. package/resources/support/tickets/tickets.mjs.map +1 -1
  360. package/resources/support/tickets.d.mts.map +1 -1
  361. package/resources/support/tickets.d.ts.map +1 -1
  362. package/resources/support/tickets.mjs.map +1 -1
  363. package/resources/support.d.mts.map +1 -1
  364. package/resources/support.d.ts.map +1 -1
  365. package/resources/support.mjs.map +1 -1
  366. package/resources/surveys.d.mts +41 -41
  367. package/resources/surveys.d.mts.map +1 -1
  368. package/resources/surveys.d.ts +41 -41
  369. package/resources/surveys.d.ts.map +1 -1
  370. package/resources/surveys.js +44 -44
  371. package/resources/surveys.js.map +1 -1
  372. package/resources/surveys.mjs +44 -44
  373. package/resources/surveys.mjs.map +1 -1
  374. package/resources/users/companies/companies.d.mts +149 -177
  375. package/resources/users/companies/companies.d.mts.map +1 -1
  376. package/resources/users/companies/companies.d.ts +149 -177
  377. package/resources/users/companies/companies.d.ts.map +1 -1
  378. package/resources/users/companies/companies.js +153 -142
  379. package/resources/users/companies/companies.js.map +1 -1
  380. package/resources/users/companies/companies.mjs +153 -142
  381. package/resources/users/companies/companies.mjs.map +1 -1
  382. package/resources/users/companies/contacts.d.mts.map +1 -1
  383. package/resources/users/companies/contacts.d.ts.map +1 -1
  384. package/resources/users/companies/contacts.mjs.map +1 -1
  385. package/resources/users/companies/index.d.mts +1 -1
  386. package/resources/users/companies/index.d.mts.map +1 -1
  387. package/resources/users/companies/index.d.ts +1 -1
  388. package/resources/users/companies/index.d.ts.map +1 -1
  389. package/resources/users/companies/index.mjs.map +1 -1
  390. package/resources/users/companies.d.mts.map +1 -1
  391. package/resources/users/companies.d.ts.map +1 -1
  392. package/resources/users/companies.mjs.map +1 -1
  393. package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
  394. package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
  395. package/resources/users/contacts/by-user-id/by-user-id.mjs.map +1 -1
  396. package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
  397. package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
  398. package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -1
  399. package/resources/users/contacts/by-user-id/index.d.mts.map +1 -1
  400. package/resources/users/contacts/by-user-id/index.d.ts.map +1 -1
  401. package/resources/users/contacts/by-user-id/index.mjs.map +1 -1
  402. package/resources/users/contacts/by-user-id.d.mts.map +1 -1
  403. package/resources/users/contacts/by-user-id.d.ts.map +1 -1
  404. package/resources/users/contacts/by-user-id.mjs.map +1 -1
  405. package/resources/users/contacts/contacts.d.mts +229 -256
  406. package/resources/users/contacts/contacts.d.mts.map +1 -1
  407. package/resources/users/contacts/contacts.d.ts +229 -256
  408. package/resources/users/contacts/contacts.d.ts.map +1 -1
  409. package/resources/users/contacts/contacts.js +213 -201
  410. package/resources/users/contacts/contacts.js.map +1 -1
  411. package/resources/users/contacts/contacts.mjs +213 -201
  412. package/resources/users/contacts/contacts.mjs.map +1 -1
  413. package/resources/users/contacts/email-preferences.d.mts.map +1 -1
  414. package/resources/users/contacts/email-preferences.d.ts.map +1 -1
  415. package/resources/users/contacts/email-preferences.mjs.map +1 -1
  416. package/resources/users/contacts/index.d.mts +1 -1
  417. package/resources/users/contacts/index.d.mts.map +1 -1
  418. package/resources/users/contacts/index.d.ts +1 -1
  419. package/resources/users/contacts/index.d.ts.map +1 -1
  420. package/resources/users/contacts/index.mjs.map +1 -1
  421. package/resources/users/contacts.d.mts.map +1 -1
  422. package/resources/users/contacts.d.ts.map +1 -1
  423. package/resources/users/contacts.mjs.map +1 -1
  424. package/resources/users/index.d.mts +2 -2
  425. package/resources/users/index.d.mts.map +1 -1
  426. package/resources/users/index.d.ts +2 -2
  427. package/resources/users/index.d.ts.map +1 -1
  428. package/resources/users/index.mjs.map +1 -1
  429. package/resources/users/users.d.mts +2 -2
  430. package/resources/users/users.d.mts.map +1 -1
  431. package/resources/users/users.d.ts +2 -2
  432. package/resources/users/users.d.ts.map +1 -1
  433. package/resources/users/users.mjs.map +1 -1
  434. package/resources/users.d.mts.map +1 -1
  435. package/resources/users.d.ts.map +1 -1
  436. package/resources/users.mjs.map +1 -1
  437. package/resources/webhooks.d.mts +75 -75
  438. package/resources/webhooks.d.mts.map +1 -1
  439. package/resources/webhooks.d.ts +75 -75
  440. package/resources/webhooks.d.ts.map +1 -1
  441. package/resources/webhooks.js +77 -77
  442. package/resources/webhooks.js.map +1 -1
  443. package/resources/webhooks.mjs +77 -77
  444. package/resources/webhooks.mjs.map +1 -1
  445. package/resources.d.mts.map +1 -1
  446. package/resources.d.ts.map +1 -1
  447. package/resources.mjs.map +1 -1
  448. package/src/client.ts +25 -3
  449. package/src/internal/utils/log.ts +2 -0
  450. package/src/resources/changelogs/changelogs.ts +170 -170
  451. package/src/resources/changelogs/index.ts +1 -1
  452. package/src/resources/conversation-attributes.ts +181 -0
  453. package/src/resources/feedback/boards.ts +28 -28
  454. package/src/resources/feedback/comments.ts +464 -141
  455. package/src/resources/feedback/custom-fields.ts +44 -44
  456. package/src/resources/feedback/feedback.ts +23 -5
  457. package/src/resources/feedback/index.ts +14 -5
  458. package/src/resources/feedback/post-statuses.ts +31 -31
  459. package/src/resources/feedback/posts/index.ts +7 -1
  460. package/src/resources/feedback/posts/posts.ts +294 -340
  461. package/src/resources/help-center/articles.ts +123 -186
  462. package/src/resources/help-center/collections.ts +84 -84
  463. package/src/resources/help-center/help-center.ts +7 -5
  464. package/src/resources/help-center/help-centers.ts +55 -55
  465. package/src/resources/help-center/index.ts +6 -5
  466. package/src/resources/help-center/redirect-rules.ts +174 -174
  467. package/src/resources/index.ts +11 -3
  468. package/src/resources/organization/admins.ts +33 -33
  469. package/src/resources/organization/brands.ts +66 -66
  470. package/src/resources/organization/index.ts +3 -3
  471. package/src/resources/organization/organization.ts +3 -3
  472. package/src/resources/organization/teams.ts +52 -52
  473. package/src/resources/support/conversation-tags.ts +59 -59
  474. package/src/resources/support/conversations/conversations.ts +748 -867
  475. package/src/resources/support/conversations/index.ts +11 -6
  476. package/src/resources/support/index.ts +14 -9
  477. package/src/resources/support/support.ts +21 -11
  478. package/src/resources/support/tickets/categories.ts +33 -33
  479. package/src/resources/support/tickets/custom-fields.ts +27 -27
  480. package/src/resources/support/tickets/index.ts +4 -4
  481. package/src/resources/support/tickets/statuses.ts +29 -29
  482. package/src/resources/support/tickets/tickets.ts +95 -95
  483. package/src/resources/surveys.ts +58 -58
  484. package/src/resources/users/companies/companies.ts +193 -223
  485. package/src/resources/users/companies/index.ts +2 -2
  486. package/src/resources/users/contacts/contacts.ts +275 -302
  487. package/src/resources/users/contacts/index.ts +3 -3
  488. package/src/resources/users/index.ts +5 -5
  489. package/src/resources/users/users.ts +5 -5
  490. package/src/resources/webhooks.ts +95 -95
  491. package/src/version.ts +1 -1
  492. package/uploads.d.mts +1 -0
  493. package/uploads.d.mts.map +1 -1
  494. package/uploads.d.ts +1 -0
  495. package/uploads.d.ts.map +1 -1
  496. package/uploads.mjs +1 -0
  497. package/uploads.mjs.map +1 -1
  498. package/version.d.mts +1 -1
  499. package/version.d.ts +1 -1
  500. package/version.js +1 -1
  501. package/version.mjs +1 -1
@@ -7,22 +7,29 @@ import { path } from "../../../internal/utils/path.mjs";
7
7
  */
8
8
  export class Categories extends APIResource {
9
9
  /**
10
- * Retrieves a single ticket category by its unique identifier.
10
+ * Returns all ticket categories for the authenticated organization.
11
11
  *
12
- * Returns the full category object including access controls, feature toggles, and
13
- * localization settings.
12
+ * Ticket categories organize tickets into distinct containers. Each category can
13
+ * have different:
14
+ *
15
+ * - Access controls (public, private, segment-restricted)
16
+ * - Feature toggles (comments, posting enabled)
17
+ * - Custom fields
18
+ *
19
+ * Use the `supportBoard` and `supportBoardType` fields to identify ticket
20
+ * categories.
21
+ *
22
+ * This endpoint returns all categories without pagination.
14
23
  *
15
24
  * @example
16
25
  * ```ts
17
- * const board =
18
- * await client.support.tickets.categories.retrieve(
19
- * '507f1f77bcf86cd799439011',
20
- * );
26
+ * const boards =
27
+ * await client.support.tickets.categories.list();
21
28
  * ```
22
29
  */
23
- retrieve(id, params = {}, options) {
30
+ list(params = {}, options) {
24
31
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
25
- return this._client.get(path `/v2/tickets/categories/${id}`, {
32
+ return this._client.get('/v2/tickets/categories', {
26
33
  ...options,
27
34
  headers: buildHeaders([
28
35
  {
@@ -35,29 +42,22 @@ export class Categories extends APIResource {
35
42
  });
36
43
  }
37
44
  /**
38
- * Returns all ticket categories for the authenticated organization.
39
- *
40
- * Ticket categories organize tickets into distinct containers. Each category can
41
- * have different:
42
- *
43
- * - Access controls (public, private, segment-restricted)
44
- * - Feature toggles (comments, posting enabled)
45
- * - Custom fields
46
- *
47
- * Use the `supportBoard` and `supportBoardType` fields to identify ticket
48
- * categories.
45
+ * Retrieves a single ticket category by its unique identifier.
49
46
  *
50
- * This endpoint returns all categories without pagination.
47
+ * Returns the full category object including access controls, feature toggles, and
48
+ * localization settings.
51
49
  *
52
50
  * @example
53
51
  * ```ts
54
- * const boards =
55
- * await client.support.tickets.categories.list();
52
+ * const board =
53
+ * await client.support.tickets.categories.retrieve(
54
+ * '507f1f77bcf86cd799439011',
55
+ * );
56
56
  * ```
57
57
  */
58
- list(params = {}, options) {
58
+ retrieve(id, params = {}, options) {
59
59
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
60
- return this._client.get('/v2/tickets/categories', {
60
+ return this._client.get(path `/v2/tickets/categories/${id}`, {
61
61
  ...options,
62
62
  headers: buildHeaders([
63
63
  {
@@ -1 +1 @@
1
- {"version":3,"file":"categories.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,EAAU,EACV,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,EAAE,EAAE;YAC1D,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;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE;YAChD,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"}
1
+ {"version":3,"file":"categories.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE;YAChD,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;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,EAAU,EACV,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,EAAE,EAAE;YAC1D,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"}
@@ -7,11 +7,14 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
7
7
  */
8
8
  export declare class CustomFields extends APIResource {
9
9
  /**
10
- * Retrieves a single custom field by its unique identifier.
10
+ * Returns all custom fields configured in your organization that can be used on
11
+ * tickets.
11
12
  *
12
- * ### Response
13
+ * This endpoint returns all custom fields at once. No pagination is supported.
13
14
  *
14
- * Returns a custom field object with:
15
+ * ### Custom Field Object
16
+ *
17
+ * Each custom field includes:
15
18
  *
16
19
  * - `id` - Unique field identifier
17
20
  * - `label` - Field label displayed to users
@@ -25,22 +28,17 @@ export declare class CustomFields extends APIResource {
25
28
  *
26
29
  * @example
27
30
  * ```ts
28
- * const customField =
29
- * await client.support.tickets.customFields.retrieve(
30
- * '65d26304b2e65b1e1278170c',
31
- * );
31
+ * const customFieldList =
32
+ * await client.support.tickets.customFields.list();
32
33
  * ```
33
34
  */
34
- retrieve(id: string, params?: CustomFieldRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomField>;
35
+ list(params?: CustomFieldListParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomFieldList>;
35
36
  /**
36
- * Returns all custom fields configured in your organization that can be used on
37
- * tickets.
38
- *
39
- * This endpoint returns all custom fields at once. No pagination is supported.
37
+ * Retrieves a single custom field by its unique identifier.
40
38
  *
41
- * ### Custom Field Object
39
+ * ### Response
42
40
  *
43
- * Each custom field includes:
41
+ * Returns a custom field object with:
44
42
  *
45
43
  * - `id` - Unique field identifier
46
44
  * - `label` - Field label displayed to users
@@ -54,20 +52,22 @@ export declare class CustomFields extends APIResource {
54
52
  *
55
53
  * @example
56
54
  * ```ts
57
- * const customFieldList =
58
- * await client.support.tickets.customFields.list();
55
+ * const customField =
56
+ * await client.support.tickets.customFields.retrieve(
57
+ * '65d26304b2e65b1e1278170c',
58
+ * );
59
59
  * ```
60
60
  */
61
- list(params?: CustomFieldListParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomFieldList>;
61
+ retrieve(id: string, params?: CustomFieldRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomField>;
62
62
  }
63
- export interface CustomFieldRetrieveParams {
63
+ export interface CustomFieldListParams {
64
64
  /**
65
65
  * API version for this request. Defaults to your organization's configured API
66
66
  * version if not specified.
67
67
  */
68
68
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
69
69
  }
70
- export interface CustomFieldListParams {
70
+ export interface CustomFieldRetrieveParams {
71
71
  /**
72
72
  * API version for this request. Defaults to your organization's configured API
73
73
  * version if not specified.
@@ -75,6 +75,6 @@ export interface CustomFieldListParams {
75
75
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
76
76
  }
77
77
  export declare namespace CustomFields {
78
- export { type CustomFieldRetrieveParams as CustomFieldRetrieveParams, type CustomFieldListParams as CustomFieldListParams, };
78
+ export { type CustomFieldListParams as CustomFieldListParams, type CustomFieldRetrieveParams as CustomFieldRetrieveParams, };
79
79
  }
80
80
  //# sourceMappingURL=custom-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-fields.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;IAe1C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC;CAc/C;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
1
+ {"version":3,"file":"custom-fields.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,yCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC;IAe9C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAc3C;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -7,11 +7,14 @@ import { RequestOptions } from "../../../internal/request-options.js";
7
7
  */
8
8
  export declare class CustomFields extends APIResource {
9
9
  /**
10
- * Retrieves a single custom field by its unique identifier.
10
+ * Returns all custom fields configured in your organization that can be used on
11
+ * tickets.
11
12
  *
12
- * ### Response
13
+ * This endpoint returns all custom fields at once. No pagination is supported.
13
14
  *
14
- * Returns a custom field object with:
15
+ * ### Custom Field Object
16
+ *
17
+ * Each custom field includes:
15
18
  *
16
19
  * - `id` - Unique field identifier
17
20
  * - `label` - Field label displayed to users
@@ -25,22 +28,17 @@ export declare class CustomFields extends APIResource {
25
28
  *
26
29
  * @example
27
30
  * ```ts
28
- * const customField =
29
- * await client.support.tickets.customFields.retrieve(
30
- * '65d26304b2e65b1e1278170c',
31
- * );
31
+ * const customFieldList =
32
+ * await client.support.tickets.customFields.list();
32
33
  * ```
33
34
  */
34
- retrieve(id: string, params?: CustomFieldRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomField>;
35
+ list(params?: CustomFieldListParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomFieldList>;
35
36
  /**
36
- * Returns all custom fields configured in your organization that can be used on
37
- * tickets.
38
- *
39
- * This endpoint returns all custom fields at once. No pagination is supported.
37
+ * Retrieves a single custom field by its unique identifier.
40
38
  *
41
- * ### Custom Field Object
39
+ * ### Response
42
40
  *
43
- * Each custom field includes:
41
+ * Returns a custom field object with:
44
42
  *
45
43
  * - `id` - Unique field identifier
46
44
  * - `label` - Field label displayed to users
@@ -54,20 +52,22 @@ export declare class CustomFields extends APIResource {
54
52
  *
55
53
  * @example
56
54
  * ```ts
57
- * const customFieldList =
58
- * await client.support.tickets.customFields.list();
55
+ * const customField =
56
+ * await client.support.tickets.customFields.retrieve(
57
+ * '65d26304b2e65b1e1278170c',
58
+ * );
59
59
  * ```
60
60
  */
61
- list(params?: CustomFieldListParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomFieldList>;
61
+ retrieve(id: string, params?: CustomFieldRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomField>;
62
62
  }
63
- export interface CustomFieldRetrieveParams {
63
+ export interface CustomFieldListParams {
64
64
  /**
65
65
  * API version for this request. Defaults to your organization's configured API
66
66
  * version if not specified.
67
67
  */
68
68
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
69
69
  }
70
- export interface CustomFieldListParams {
70
+ export interface CustomFieldRetrieveParams {
71
71
  /**
72
72
  * API version for this request. Defaults to your organization's configured API
73
73
  * version if not specified.
@@ -75,6 +75,6 @@ export interface CustomFieldListParams {
75
75
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
76
76
  }
77
77
  export declare namespace CustomFields {
78
- export { type CustomFieldRetrieveParams as CustomFieldRetrieveParams, type CustomFieldListParams as CustomFieldListParams, };
78
+ export { type CustomFieldListParams as CustomFieldListParams, type CustomFieldRetrieveParams as CustomFieldRetrieveParams, };
79
79
  }
80
80
  //# sourceMappingURL=custom-fields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-fields.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;IAe1C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC;CAc/C;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
1
+ {"version":3,"file":"custom-fields.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,eAAe,wCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC;IAe9C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAc3C;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -10,11 +10,14 @@ const path_1 = require("../../../internal/utils/path.js");
10
10
  */
11
11
  class CustomFields extends resource_1.APIResource {
12
12
  /**
13
- * Retrieves a single custom field by its unique identifier.
13
+ * Returns all custom fields configured in your organization that can be used on
14
+ * tickets.
14
15
  *
15
- * ### Response
16
+ * This endpoint returns all custom fields at once. No pagination is supported.
16
17
  *
17
- * Returns a custom field object with:
18
+ * ### Custom Field Object
19
+ *
20
+ * Each custom field includes:
18
21
  *
19
22
  * - `id` - Unique field identifier
20
23
  * - `label` - Field label displayed to users
@@ -28,15 +31,13 @@ class CustomFields extends resource_1.APIResource {
28
31
  *
29
32
  * @example
30
33
  * ```ts
31
- * const customField =
32
- * await client.support.tickets.customFields.retrieve(
33
- * '65d26304b2e65b1e1278170c',
34
- * );
34
+ * const customFieldList =
35
+ * await client.support.tickets.customFields.list();
35
36
  * ```
36
37
  */
37
- retrieve(id, params = {}, options) {
38
+ list(params = {}, options) {
38
39
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
39
- return this._client.get((0, path_1.path) `/v2/tickets/custom_fields/${id}`, {
40
+ return this._client.get('/v2/tickets/custom_fields', {
40
41
  ...options,
41
42
  headers: (0, headers_1.buildHeaders)([
42
43
  {
@@ -49,14 +50,11 @@ class CustomFields extends resource_1.APIResource {
49
50
  });
50
51
  }
51
52
  /**
52
- * Returns all custom fields configured in your organization that can be used on
53
- * tickets.
54
- *
55
- * This endpoint returns all custom fields at once. No pagination is supported.
53
+ * Retrieves a single custom field by its unique identifier.
56
54
  *
57
- * ### Custom Field Object
55
+ * ### Response
58
56
  *
59
- * Each custom field includes:
57
+ * Returns a custom field object with:
60
58
  *
61
59
  * - `id` - Unique field identifier
62
60
  * - `label` - Field label displayed to users
@@ -70,13 +68,15 @@ class CustomFields extends resource_1.APIResource {
70
68
  *
71
69
  * @example
72
70
  * ```ts
73
- * const customFieldList =
74
- * await client.support.tickets.customFields.list();
71
+ * const customField =
72
+ * await client.support.tickets.customFields.retrieve(
73
+ * '65d26304b2e65b1e1278170c',
74
+ * );
75
75
  * ```
76
76
  */
77
- list(params = {}, options) {
77
+ retrieve(id, params = {}, options) {
78
78
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
79
- return this._client.get('/v2/tickets/custom_fields', {
79
+ return this._client.get((0, path_1.path) `/v2/tickets/custom_fields/${id}`, {
80
80
  ...options,
81
81
  headers: (0, headers_1.buildHeaders)([
82
82
  {
@@ -1 +1 @@
1
- {"version":3,"file":"custom-fields.js","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAU,EACV,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE;YAC7D,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;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,SAAmD,EAAE,EACrD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,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;AAxFD,oCAwFC"}
1
+ {"version":3,"file":"custom-fields.js","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,SAAmD,EAAE,EACrD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,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;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAU,EACV,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE;YAC7D,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;AAxFD,oCAwFC"}
@@ -7,11 +7,14 @@ import { path } from "../../../internal/utils/path.mjs";
7
7
  */
8
8
  export class CustomFields extends APIResource {
9
9
  /**
10
- * Retrieves a single custom field by its unique identifier.
10
+ * Returns all custom fields configured in your organization that can be used on
11
+ * tickets.
11
12
  *
12
- * ### Response
13
+ * This endpoint returns all custom fields at once. No pagination is supported.
13
14
  *
14
- * Returns a custom field object with:
15
+ * ### Custom Field Object
16
+ *
17
+ * Each custom field includes:
15
18
  *
16
19
  * - `id` - Unique field identifier
17
20
  * - `label` - Field label displayed to users
@@ -25,15 +28,13 @@ export class CustomFields extends APIResource {
25
28
  *
26
29
  * @example
27
30
  * ```ts
28
- * const customField =
29
- * await client.support.tickets.customFields.retrieve(
30
- * '65d26304b2e65b1e1278170c',
31
- * );
31
+ * const customFieldList =
32
+ * await client.support.tickets.customFields.list();
32
33
  * ```
33
34
  */
34
- retrieve(id, params = {}, options) {
35
+ list(params = {}, options) {
35
36
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
36
- return this._client.get(path `/v2/tickets/custom_fields/${id}`, {
37
+ return this._client.get('/v2/tickets/custom_fields', {
37
38
  ...options,
38
39
  headers: buildHeaders([
39
40
  {
@@ -46,14 +47,11 @@ export class CustomFields extends APIResource {
46
47
  });
47
48
  }
48
49
  /**
49
- * Returns all custom fields configured in your organization that can be used on
50
- * tickets.
51
- *
52
- * This endpoint returns all custom fields at once. No pagination is supported.
50
+ * Retrieves a single custom field by its unique identifier.
53
51
  *
54
- * ### Custom Field Object
52
+ * ### Response
55
53
  *
56
- * Each custom field includes:
54
+ * Returns a custom field object with:
57
55
  *
58
56
  * - `id` - Unique field identifier
59
57
  * - `label` - Field label displayed to users
@@ -67,13 +65,15 @@ export class CustomFields extends APIResource {
67
65
  *
68
66
  * @example
69
67
  * ```ts
70
- * const customFieldList =
71
- * await client.support.tickets.customFields.list();
68
+ * const customField =
69
+ * await client.support.tickets.customFields.retrieve(
70
+ * '65d26304b2e65b1e1278170c',
71
+ * );
72
72
  * ```
73
73
  */
74
- list(params = {}, options) {
74
+ retrieve(id, params = {}, options) {
75
75
  const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
76
- return this._client.get('/v2/tickets/custom_fields', {
76
+ return this._client.get(path `/v2/tickets/custom_fields/${id}`, {
77
77
  ...options,
78
78
  headers: buildHeaders([
79
79
  {
@@ -1 +1 @@
1
- {"version":3,"file":"custom-fields.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAU,EACV,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE;YAC7D,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;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,SAAmD,EAAE,EACrD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,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"}
1
+ {"version":3,"file":"custom-fields.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,SAAmD,EAAE,EACrD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,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;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAU,EACV,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE;YAC7D,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"}
@@ -1,5 +1,5 @@
1
- export { Categories, type CategoryListResponse, type CategoryRetrieveParams, type CategoryListParams, } from "./categories.mjs";
2
- export { CustomFields, type CustomFieldRetrieveParams, type CustomFieldListParams } from "./custom-fields.mjs";
3
- export { Statuses, type StatusListResponse, type StatusRetrieveParams, type StatusListParams, } from "./statuses.mjs";
4
- export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type TicketCreateParams, type TicketRetrieveParams, type TicketUpdateParams, type TicketListParams, type TicketDeleteParams, type TicketReplyParams, type TicketsCursorPage, } from "./tickets.mjs";
1
+ export { Categories, type CategoryListResponse, type CategoryListParams, type CategoryRetrieveParams, } from "./categories.mjs";
2
+ export { CustomFields, type CustomFieldListParams, type CustomFieldRetrieveParams } from "./custom-fields.mjs";
3
+ export { Statuses, type StatusListResponse, type StatusListParams, type StatusRetrieveParams, } from "./statuses.mjs";
4
+ export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type TicketListParams, type TicketCreateParams, type TicketRetrieveParams, type TicketUpdateParams, type TicketDeleteParams, type TicketReplyParams, type TicketsCursorPage, } from "./tickets.mjs";
5
5
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,GACxB;OACM,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,qBAAqB,EAAE;OAC5E,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B,yBAAqB;AACtB,OAAO,EAAE,YAAY,EAAE,KAAK,qBAAqB,EAAE,KAAK,yBAAyB,EAAE,4BAAwB;AAC3G,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,uBAAmB;AACpB,OAAO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,sBAAkB"}
@@ -1,5 +1,5 @@
1
- export { Categories, type CategoryListResponse, type CategoryRetrieveParams, type CategoryListParams, } from "./categories.js";
2
- export { CustomFields, type CustomFieldRetrieveParams, type CustomFieldListParams } from "./custom-fields.js";
3
- export { Statuses, type StatusListResponse, type StatusRetrieveParams, type StatusListParams, } from "./statuses.js";
4
- export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type TicketCreateParams, type TicketRetrieveParams, type TicketUpdateParams, type TicketListParams, type TicketDeleteParams, type TicketReplyParams, type TicketsCursorPage, } from "./tickets.js";
1
+ export { Categories, type CategoryListResponse, type CategoryListParams, type CategoryRetrieveParams, } from "./categories.js";
2
+ export { CustomFields, type CustomFieldListParams, type CustomFieldRetrieveParams } from "./custom-fields.js";
3
+ export { Statuses, type StatusListResponse, type StatusListParams, type StatusRetrieveParams, } from "./statuses.js";
4
+ export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type TicketListParams, type TicketCreateParams, type TicketRetrieveParams, type TicketUpdateParams, type TicketDeleteParams, type TicketReplyParams, type TicketsCursorPage, } from "./tickets.js";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,GACxB;OACM,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,qBAAqB,EAAE;OAC5E,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B,wBAAqB;AACtB,OAAO,EAAE,YAAY,EAAE,KAAK,qBAAqB,EAAE,KAAK,yBAAyB,EAAE,2BAAwB;AAC3G,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,sBAAmB;AACpB,OAAO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,qBAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,UAAU,GAIX;OACM,EAAE,YAAY,EAA8D;OAC5E,EACL,QAAQ,GAIT;OACM,EACL,OAAO,GAWR"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,UAAU,GAIX,yBAAqB;AACtB,OAAO,EAAE,YAAY,EAA8D,4BAAwB;AAC3G,OAAO,EACL,QAAQ,GAIT,uBAAmB;AACpB,OAAO,EACL,OAAO,GAWR,sBAAkB"}
@@ -6,20 +6,6 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
6
6
  * Tickets represent support requests in your Featurebase organization. Create, update, reply to, and manage tickets via these endpoints.
7
7
  */
8
8
  export declare class Statuses extends APIResource {
9
- /**
10
- * Retrieves a single ticket status by its unique identifier.
11
- *
12
- * Returns the status object including name, color, type, and default flag.
13
- *
14
- * @example
15
- * ```ts
16
- * const postStatus =
17
- * await client.support.tickets.statuses.retrieve(
18
- * '507f1f77bcf86cd799439011',
19
- * );
20
- * ```
21
- */
22
- retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
23
9
  /**
24
10
  * Returns all ticket statuses for the authenticated organization.
25
11
  *
@@ -39,16 +25,30 @@ export declare class Statuses extends APIResource {
39
25
  * ```
40
26
  */
41
27
  list(params?: StatusListParams | null | undefined, options?: RequestOptions): APIPromise<StatusListResponse>;
28
+ /**
29
+ * Retrieves a single ticket status by its unique identifier.
30
+ *
31
+ * Returns the status object including name, color, type, and default flag.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const postStatus =
36
+ * await client.support.tickets.statuses.retrieve(
37
+ * '507f1f77bcf86cd799439011',
38
+ * );
39
+ * ```
40
+ */
41
+ retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
42
42
  }
43
43
  export type StatusListResponse = Array<PostStatusesAPI.PostStatus>;
44
- export interface StatusRetrieveParams {
44
+ export interface StatusListParams {
45
45
  /**
46
46
  * API version for this request. Defaults to your organization's configured API
47
47
  * version if not specified.
48
48
  */
49
49
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
50
50
  }
51
- export interface StatusListParams {
51
+ export interface StatusRetrieveParams {
52
52
  /**
53
53
  * API version for this request. Defaults to your organization's configured API
54
54
  * version if not specified.
@@ -56,6 +56,6 @@ export interface StatusListParams {
56
56
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
57
57
  }
58
58
  export declare namespace Statuses {
59
- export { type StatusListResponse as StatusListResponse, type StatusRetrieveParams as StatusRetrieveParams, type StatusListParams as StatusListParams, };
59
+ export { type StatusListResponse as StatusListResponse, type StatusListParams as StatusListParams, type StatusRetrieveParams as StatusRetrieveParams, };
60
60
  }
61
61
  //# sourceMappingURL=statuses.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"statuses.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC;IAezC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAclC;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
1
+ {"version":3,"file":"statuses.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,yCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAejC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC;CAc1C;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -6,20 +6,6 @@ import { RequestOptions } from "../../../internal/request-options.js";
6
6
  * Tickets represent support requests in your Featurebase organization. Create, update, reply to, and manage tickets via these endpoints.
7
7
  */
8
8
  export declare class Statuses extends APIResource {
9
- /**
10
- * Retrieves a single ticket status by its unique identifier.
11
- *
12
- * Returns the status object including name, color, type, and default flag.
13
- *
14
- * @example
15
- * ```ts
16
- * const postStatus =
17
- * await client.support.tickets.statuses.retrieve(
18
- * '507f1f77bcf86cd799439011',
19
- * );
20
- * ```
21
- */
22
- retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
23
9
  /**
24
10
  * Returns all ticket statuses for the authenticated organization.
25
11
  *
@@ -39,16 +25,30 @@ export declare class Statuses extends APIResource {
39
25
  * ```
40
26
  */
41
27
  list(params?: StatusListParams | null | undefined, options?: RequestOptions): APIPromise<StatusListResponse>;
28
+ /**
29
+ * Retrieves a single ticket status by its unique identifier.
30
+ *
31
+ * Returns the status object including name, color, type, and default flag.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const postStatus =
36
+ * await client.support.tickets.statuses.retrieve(
37
+ * '507f1f77bcf86cd799439011',
38
+ * );
39
+ * ```
40
+ */
41
+ retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
42
42
  }
43
43
  export type StatusListResponse = Array<PostStatusesAPI.PostStatus>;
44
- export interface StatusRetrieveParams {
44
+ export interface StatusListParams {
45
45
  /**
46
46
  * API version for this request. Defaults to your organization's configured API
47
47
  * version if not specified.
48
48
  */
49
49
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
50
50
  }
51
- export interface StatusListParams {
51
+ export interface StatusRetrieveParams {
52
52
  /**
53
53
  * API version for this request. Defaults to your organization's configured API
54
54
  * version if not specified.
@@ -56,6 +56,6 @@ export interface StatusListParams {
56
56
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
57
57
  }
58
58
  export declare namespace Statuses {
59
- export { type StatusListResponse as StatusListResponse, type StatusRetrieveParams as StatusRetrieveParams, type StatusListParams as StatusListParams, };
59
+ export { type StatusListResponse as StatusListResponse, type StatusListParams as StatusListParams, type StatusRetrieveParams as StatusRetrieveParams, };
60
60
  }
61
61
  //# sourceMappingURL=statuses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"statuses.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC;IAezC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAclC;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
1
+ {"version":3,"file":"statuses.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,eAAe,wCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAejC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC;CAc1C;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}