featurebase-node 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts +9 -3
  9. package/client.d.mts.map +1 -1
  10. package/client.d.ts +9 -3
  11. package/client.d.ts.map +1 -1
  12. package/client.js +6 -0
  13. package/client.js.map +1 -1
  14. package/client.mjs +6 -0
  15. package/client.mjs.map +1 -1
  16. package/core/api-promise.d.mts.map +1 -1
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.mjs.map +1 -1
  19. package/core/error.mjs.map +1 -1
  20. package/core/pagination.d.mts.map +1 -1
  21. package/core/pagination.d.ts.map +1 -1
  22. package/core/pagination.mjs.map +1 -1
  23. package/core/resource.d.mts.map +1 -1
  24. package/core/resource.d.ts.map +1 -1
  25. package/core/uploads.d.mts.map +1 -1
  26. package/core/uploads.d.ts.map +1 -1
  27. package/core/uploads.mjs.map +1 -1
  28. package/error.d.mts +1 -0
  29. package/error.d.mts.map +1 -1
  30. package/error.d.ts +1 -0
  31. package/error.d.ts.map +1 -1
  32. package/error.mjs +1 -0
  33. package/error.mjs.map +1 -1
  34. package/index.d.mts.map +1 -1
  35. package/index.d.ts.map +1 -1
  36. package/index.mjs.map +1 -1
  37. package/internal/detect-platform.mjs.map +1 -1
  38. package/internal/headers.mjs.map +1 -1
  39. package/internal/parse.d.mts.map +1 -1
  40. package/internal/parse.d.ts.map +1 -1
  41. package/internal/parse.mjs.map +1 -1
  42. package/internal/qs/formats.d.mts.map +1 -1
  43. package/internal/qs/formats.d.ts.map +1 -1
  44. package/internal/qs/index.d.mts +2 -2
  45. package/internal/qs/index.d.mts.map +1 -1
  46. package/internal/qs/index.d.ts +2 -2
  47. package/internal/qs/index.d.ts.map +1 -1
  48. package/internal/qs/index.mjs.map +1 -1
  49. package/internal/qs/stringify.d.mts.map +1 -1
  50. package/internal/qs/stringify.d.ts.map +1 -1
  51. package/internal/qs/stringify.mjs.map +1 -1
  52. package/internal/qs/utils.d.mts.map +1 -1
  53. package/internal/qs/utils.d.ts.map +1 -1
  54. package/internal/qs/utils.mjs.map +1 -1
  55. package/internal/request-options.d.mts.map +1 -1
  56. package/internal/request-options.d.ts.map +1 -1
  57. package/internal/shims.d.mts +6 -0
  58. package/internal/shims.d.mts.map +1 -1
  59. package/internal/shims.d.ts +6 -0
  60. package/internal/shims.d.ts.map +1 -1
  61. package/internal/to-file.d.mts.map +1 -1
  62. package/internal/to-file.d.ts.map +1 -1
  63. package/internal/to-file.mjs.map +1 -1
  64. package/internal/types.d.mts +4 -4
  65. package/internal/types.d.mts.map +1 -1
  66. package/internal/types.d.ts +4 -4
  67. package/internal/types.d.ts.map +1 -1
  68. package/internal/uploads.d.mts.map +1 -1
  69. package/internal/uploads.d.ts.map +1 -1
  70. package/internal/uploads.mjs.map +1 -1
  71. package/internal/utils/base64.mjs.map +1 -1
  72. package/internal/utils/log.d.mts.map +1 -1
  73. package/internal/utils/log.d.ts.map +1 -1
  74. package/internal/utils/log.mjs.map +1 -1
  75. package/internal/utils/path.mjs.map +1 -1
  76. package/internal/utils/query.mjs.map +1 -1
  77. package/internal/utils/values.mjs.map +1 -1
  78. package/internal/utils.d.mts.map +1 -1
  79. package/internal/utils.d.ts.map +1 -1
  80. package/internal/utils.mjs.map +1 -1
  81. package/package.json +16 -10
  82. package/pagination.d.mts +1 -0
  83. package/pagination.d.mts.map +1 -1
  84. package/pagination.d.ts +1 -0
  85. package/pagination.d.ts.map +1 -1
  86. package/pagination.mjs +1 -0
  87. package/pagination.mjs.map +1 -1
  88. package/resource.d.mts +1 -0
  89. package/resource.d.mts.map +1 -1
  90. package/resource.d.ts +1 -0
  91. package/resource.d.ts.map +1 -1
  92. package/resource.mjs +1 -0
  93. package/resource.mjs.map +1 -1
  94. package/resources/changelogs/changelogs.d.mts +106 -106
  95. package/resources/changelogs/changelogs.d.mts.map +1 -1
  96. package/resources/changelogs/changelogs.d.ts +106 -106
  97. package/resources/changelogs/changelogs.d.ts.map +1 -1
  98. package/resources/changelogs/changelogs.js +74 -74
  99. package/resources/changelogs/changelogs.js.map +1 -1
  100. package/resources/changelogs/changelogs.mjs +74 -74
  101. package/resources/changelogs/changelogs.mjs.map +1 -1
  102. package/resources/changelogs/index.d.mts +1 -1
  103. package/resources/changelogs/index.d.mts.map +1 -1
  104. package/resources/changelogs/index.d.ts +1 -1
  105. package/resources/changelogs/index.d.ts.map +1 -1
  106. package/resources/changelogs/index.mjs.map +1 -1
  107. package/resources/changelogs/subscribers.d.mts.map +1 -1
  108. package/resources/changelogs/subscribers.d.ts.map +1 -1
  109. package/resources/changelogs/subscribers.mjs.map +1 -1
  110. package/resources/changelogs.d.mts.map +1 -1
  111. package/resources/changelogs.d.ts.map +1 -1
  112. package/resources/changelogs.mjs.map +1 -1
  113. package/resources/conversation-attributes.d.mts +117 -0
  114. package/resources/conversation-attributes.d.mts.map +1 -0
  115. package/resources/conversation-attributes.d.ts +117 -0
  116. package/resources/conversation-attributes.d.ts.map +1 -0
  117. package/resources/conversation-attributes.js +61 -0
  118. package/resources/conversation-attributes.js.map +1 -0
  119. package/resources/conversation-attributes.mjs +57 -0
  120. package/resources/conversation-attributes.mjs.map +1 -0
  121. package/resources/feedback/boards.d.mts +17 -17
  122. package/resources/feedback/boards.d.mts.map +1 -1
  123. package/resources/feedback/boards.d.ts +17 -17
  124. package/resources/feedback/boards.d.ts.map +1 -1
  125. package/resources/feedback/boards.js +20 -20
  126. package/resources/feedback/boards.js.map +1 -1
  127. package/resources/feedback/boards.mjs +20 -20
  128. package/resources/feedback/boards.mjs.map +1 -1
  129. package/resources/feedback/comments.d.mts +129 -191
  130. package/resources/feedback/comments.d.mts.map +1 -1
  131. package/resources/feedback/comments.d.ts +129 -191
  132. package/resources/feedback/comments.d.ts.map +1 -1
  133. package/resources/feedback/comments.js +93 -93
  134. package/resources/feedback/comments.js.map +1 -1
  135. package/resources/feedback/comments.mjs +93 -93
  136. package/resources/feedback/comments.mjs.map +1 -1
  137. package/resources/feedback/custom-fields.d.mts +34 -34
  138. package/resources/feedback/custom-fields.d.mts.map +1 -1
  139. package/resources/feedback/custom-fields.d.ts +34 -34
  140. package/resources/feedback/custom-fields.d.ts.map +1 -1
  141. package/resources/feedback/custom-fields.js +36 -36
  142. package/resources/feedback/custom-fields.js.map +1 -1
  143. package/resources/feedback/custom-fields.mjs +36 -36
  144. package/resources/feedback/custom-fields.mjs.map +1 -1
  145. package/resources/feedback/feedback.d.mts +7 -7
  146. package/resources/feedback/feedback.d.mts.map +1 -1
  147. package/resources/feedback/feedback.d.ts +7 -7
  148. package/resources/feedback/feedback.d.ts.map +1 -1
  149. package/resources/feedback/feedback.js.map +1 -1
  150. package/resources/feedback/feedback.mjs.map +1 -1
  151. package/resources/feedback/index.d.mts +5 -5
  152. package/resources/feedback/index.d.mts.map +1 -1
  153. package/resources/feedback/index.d.ts +5 -5
  154. package/resources/feedback/index.d.ts.map +1 -1
  155. package/resources/feedback/index.js.map +1 -1
  156. package/resources/feedback/index.mjs.map +1 -1
  157. package/resources/feedback/post-statuses.d.mts +18 -18
  158. package/resources/feedback/post-statuses.d.mts.map +1 -1
  159. package/resources/feedback/post-statuses.d.ts +18 -18
  160. package/resources/feedback/post-statuses.d.ts.map +1 -1
  161. package/resources/feedback/post-statuses.js +23 -23
  162. package/resources/feedback/post-statuses.js.map +1 -1
  163. package/resources/feedback/post-statuses.mjs +23 -23
  164. package/resources/feedback/post-statuses.mjs.map +1 -1
  165. package/resources/feedback/posts/index.d.mts +1 -1
  166. package/resources/feedback/posts/index.d.mts.map +1 -1
  167. package/resources/feedback/posts/index.d.ts +1 -1
  168. package/resources/feedback/posts/index.d.ts.map +1 -1
  169. package/resources/feedback/posts/index.js.map +1 -1
  170. package/resources/feedback/posts/index.mjs.map +1 -1
  171. package/resources/feedback/posts/posts.d.mts +187 -260
  172. package/resources/feedback/posts/posts.d.mts.map +1 -1
  173. package/resources/feedback/posts/posts.d.ts +187 -260
  174. package/resources/feedback/posts/posts.d.ts.map +1 -1
  175. package/resources/feedback/posts/posts.js +75 -75
  176. package/resources/feedback/posts/posts.js.map +1 -1
  177. package/resources/feedback/posts/posts.mjs +75 -75
  178. package/resources/feedback/posts/posts.mjs.map +1 -1
  179. package/resources/feedback/posts/voters.d.mts.map +1 -1
  180. package/resources/feedback/posts/voters.d.ts.map +1 -1
  181. package/resources/feedback/posts/voters.mjs.map +1 -1
  182. package/resources/feedback/posts.d.mts.map +1 -1
  183. package/resources/feedback/posts.d.ts.map +1 -1
  184. package/resources/feedback/posts.mjs.map +1 -1
  185. package/resources/feedback.d.mts.map +1 -1
  186. package/resources/feedback.d.ts.map +1 -1
  187. package/resources/feedback.mjs.map +1 -1
  188. package/resources/help-center/articles.d.mts +98 -152
  189. package/resources/help-center/articles.d.mts.map +1 -1
  190. package/resources/help-center/articles.d.ts +98 -152
  191. package/resources/help-center/articles.d.ts.map +1 -1
  192. package/resources/help-center/articles.js +73 -73
  193. package/resources/help-center/articles.js.map +1 -1
  194. package/resources/help-center/articles.mjs +73 -73
  195. package/resources/help-center/articles.mjs.map +1 -1
  196. package/resources/help-center/collections.d.mts +64 -64
  197. package/resources/help-center/collections.d.mts.map +1 -1
  198. package/resources/help-center/collections.d.ts +64 -64
  199. package/resources/help-center/collections.d.ts.map +1 -1
  200. package/resources/help-center/collections.js +65 -65
  201. package/resources/help-center/collections.js.map +1 -1
  202. package/resources/help-center/collections.mjs +65 -65
  203. package/resources/help-center/collections.mjs.map +1 -1
  204. package/resources/help-center/help-center.d.mts +5 -5
  205. package/resources/help-center/help-center.d.mts.map +1 -1
  206. package/resources/help-center/help-center.d.ts +5 -5
  207. package/resources/help-center/help-center.d.ts.map +1 -1
  208. package/resources/help-center/help-center.js.map +1 -1
  209. package/resources/help-center/help-center.mjs.map +1 -1
  210. package/resources/help-center/help-centers.d.mts +43 -43
  211. package/resources/help-center/help-centers.d.mts.map +1 -1
  212. package/resources/help-center/help-centers.d.ts +43 -43
  213. package/resources/help-center/help-centers.d.ts.map +1 -1
  214. package/resources/help-center/help-centers.js +43 -43
  215. package/resources/help-center/help-centers.js.map +1 -1
  216. package/resources/help-center/help-centers.mjs +43 -43
  217. package/resources/help-center/help-centers.mjs.map +1 -1
  218. package/resources/help-center/index.d.mts +4 -4
  219. package/resources/help-center/index.d.mts.map +1 -1
  220. package/resources/help-center/index.d.ts +4 -4
  221. package/resources/help-center/index.d.ts.map +1 -1
  222. package/resources/help-center/index.js.map +1 -1
  223. package/resources/help-center/index.mjs.map +1 -1
  224. package/resources/help-center/redirect-rules.d.mts +117 -117
  225. package/resources/help-center/redirect-rules.d.mts.map +1 -1
  226. package/resources/help-center/redirect-rules.d.ts +117 -117
  227. package/resources/help-center/redirect-rules.d.ts.map +1 -1
  228. package/resources/help-center/redirect-rules.js +112 -112
  229. package/resources/help-center/redirect-rules.js.map +1 -1
  230. package/resources/help-center/redirect-rules.mjs +112 -112
  231. package/resources/help-center/redirect-rules.mjs.map +1 -1
  232. package/resources/help-center.d.mts.map +1 -1
  233. package/resources/help-center.d.ts.map +1 -1
  234. package/resources/help-center.mjs.map +1 -1
  235. package/resources/index.d.mts +4 -3
  236. package/resources/index.d.mts.map +1 -1
  237. package/resources/index.d.ts +4 -3
  238. package/resources/index.d.ts.map +1 -1
  239. package/resources/index.js +3 -1
  240. package/resources/index.js.map +1 -1
  241. package/resources/index.mjs +1 -0
  242. package/resources/index.mjs.map +1 -1
  243. package/resources/organization/admins.d.mts +23 -23
  244. package/resources/organization/admins.d.mts.map +1 -1
  245. package/resources/organization/admins.d.ts +23 -23
  246. package/resources/organization/admins.d.ts.map +1 -1
  247. package/resources/organization/admins.js +25 -25
  248. package/resources/organization/admins.js.map +1 -1
  249. package/resources/organization/admins.mjs +25 -25
  250. package/resources/organization/admins.mjs.map +1 -1
  251. package/resources/organization/brands.d.mts +50 -50
  252. package/resources/organization/brands.d.mts.map +1 -1
  253. package/resources/organization/brands.d.ts +50 -50
  254. package/resources/organization/brands.d.ts.map +1 -1
  255. package/resources/organization/brands.js +54 -54
  256. package/resources/organization/brands.js.map +1 -1
  257. package/resources/organization/brands.mjs +54 -54
  258. package/resources/organization/brands.mjs.map +1 -1
  259. package/resources/organization/index.d.mts +3 -3
  260. package/resources/organization/index.d.mts.map +1 -1
  261. package/resources/organization/index.d.ts +3 -3
  262. package/resources/organization/index.d.ts.map +1 -1
  263. package/resources/organization/index.mjs.map +1 -1
  264. package/resources/organization/organization.d.mts +3 -3
  265. package/resources/organization/organization.d.mts.map +1 -1
  266. package/resources/organization/organization.d.ts +3 -3
  267. package/resources/organization/organization.d.ts.map +1 -1
  268. package/resources/organization/organization.mjs.map +1 -1
  269. package/resources/organization/teams.d.mts +45 -45
  270. package/resources/organization/teams.d.mts.map +1 -1
  271. package/resources/organization/teams.d.ts +45 -45
  272. package/resources/organization/teams.d.ts.map +1 -1
  273. package/resources/organization/teams.js +44 -44
  274. package/resources/organization/teams.js.map +1 -1
  275. package/resources/organization/teams.mjs +44 -44
  276. package/resources/organization/teams.mjs.map +1 -1
  277. package/resources/organization.d.mts.map +1 -1
  278. package/resources/organization.d.ts.map +1 -1
  279. package/resources/organization.mjs.map +1 -1
  280. package/resources/support/conversation-tags.d.mts +40 -40
  281. package/resources/support/conversation-tags.d.mts.map +1 -1
  282. package/resources/support/conversation-tags.d.ts +40 -40
  283. package/resources/support/conversation-tags.d.ts.map +1 -1
  284. package/resources/support/conversation-tags.js +32 -32
  285. package/resources/support/conversation-tags.js.map +1 -1
  286. package/resources/support/conversation-tags.mjs +32 -32
  287. package/resources/support/conversation-tags.mjs.map +1 -1
  288. package/resources/support/conversations/conversations.d.mts +599 -705
  289. package/resources/support/conversations/conversations.d.mts.map +1 -1
  290. package/resources/support/conversations/conversations.d.ts +599 -705
  291. package/resources/support/conversations/conversations.d.ts.map +1 -1
  292. package/resources/support/conversations/conversations.js +289 -288
  293. package/resources/support/conversations/conversations.js.map +1 -1
  294. package/resources/support/conversations/conversations.mjs +289 -288
  295. package/resources/support/conversations/conversations.mjs.map +1 -1
  296. package/resources/support/conversations/index.d.mts +1 -1
  297. package/resources/support/conversations/index.d.mts.map +1 -1
  298. package/resources/support/conversations/index.d.ts +1 -1
  299. package/resources/support/conversations/index.d.ts.map +1 -1
  300. package/resources/support/conversations/index.js.map +1 -1
  301. package/resources/support/conversations/index.mjs.map +1 -1
  302. package/resources/support/conversations/participants.d.mts.map +1 -1
  303. package/resources/support/conversations/participants.d.ts.map +1 -1
  304. package/resources/support/conversations/participants.mjs.map +1 -1
  305. package/resources/support/conversations.d.mts.map +1 -1
  306. package/resources/support/conversations.d.ts.map +1 -1
  307. package/resources/support/conversations.mjs.map +1 -1
  308. package/resources/support/index.d.mts +3 -3
  309. package/resources/support/index.d.mts.map +1 -1
  310. package/resources/support/index.d.ts +3 -3
  311. package/resources/support/index.d.ts.map +1 -1
  312. package/resources/support/index.js.map +1 -1
  313. package/resources/support/index.mjs.map +1 -1
  314. package/resources/support/support.d.mts +4 -4
  315. package/resources/support/support.d.mts.map +1 -1
  316. package/resources/support/support.d.ts +4 -4
  317. package/resources/support/support.d.ts.map +1 -1
  318. package/resources/support/support.js.map +1 -1
  319. package/resources/support/support.mjs.map +1 -1
  320. package/resources/support/tickets/categories.d.mts +18 -18
  321. package/resources/support/tickets/categories.d.mts.map +1 -1
  322. package/resources/support/tickets/categories.d.ts +18 -18
  323. package/resources/support/tickets/categories.d.ts.map +1 -1
  324. package/resources/support/tickets/categories.js +25 -25
  325. package/resources/support/tickets/categories.js.map +1 -1
  326. package/resources/support/tickets/categories.mjs +25 -25
  327. package/resources/support/tickets/categories.mjs.map +1 -1
  328. package/resources/support/tickets/custom-fields.d.mts +20 -20
  329. package/resources/support/tickets/custom-fields.d.mts.map +1 -1
  330. package/resources/support/tickets/custom-fields.d.ts +20 -20
  331. package/resources/support/tickets/custom-fields.d.ts.map +1 -1
  332. package/resources/support/tickets/custom-fields.js +19 -19
  333. package/resources/support/tickets/custom-fields.js.map +1 -1
  334. package/resources/support/tickets/custom-fields.mjs +19 -19
  335. package/resources/support/tickets/custom-fields.mjs.map +1 -1
  336. package/resources/support/tickets/index.d.mts +4 -4
  337. package/resources/support/tickets/index.d.mts.map +1 -1
  338. package/resources/support/tickets/index.d.ts +4 -4
  339. package/resources/support/tickets/index.d.ts.map +1 -1
  340. package/resources/support/tickets/index.mjs.map +1 -1
  341. package/resources/support/tickets/statuses.d.mts +17 -17
  342. package/resources/support/tickets/statuses.d.mts.map +1 -1
  343. package/resources/support/tickets/statuses.d.ts +17 -17
  344. package/resources/support/tickets/statuses.d.ts.map +1 -1
  345. package/resources/support/tickets/statuses.js +21 -21
  346. package/resources/support/tickets/statuses.js.map +1 -1
  347. package/resources/support/tickets/statuses.mjs +21 -21
  348. package/resources/support/tickets/statuses.mjs.map +1 -1
  349. package/resources/support/tickets/tickets.d.mts +69 -69
  350. package/resources/support/tickets/tickets.d.mts.map +1 -1
  351. package/resources/support/tickets/tickets.d.ts +69 -69
  352. package/resources/support/tickets/tickets.d.ts.map +1 -1
  353. package/resources/support/tickets/tickets.js +44 -44
  354. package/resources/support/tickets/tickets.js.map +1 -1
  355. package/resources/support/tickets/tickets.mjs +44 -44
  356. package/resources/support/tickets/tickets.mjs.map +1 -1
  357. package/resources/support/tickets.d.mts.map +1 -1
  358. package/resources/support/tickets.d.ts.map +1 -1
  359. package/resources/support/tickets.mjs.map +1 -1
  360. package/resources/support.d.mts.map +1 -1
  361. package/resources/support.d.ts.map +1 -1
  362. package/resources/support.mjs.map +1 -1
  363. package/resources/surveys.d.mts +41 -41
  364. package/resources/surveys.d.mts.map +1 -1
  365. package/resources/surveys.d.ts +41 -41
  366. package/resources/surveys.d.ts.map +1 -1
  367. package/resources/surveys.js +44 -44
  368. package/resources/surveys.js.map +1 -1
  369. package/resources/surveys.mjs +44 -44
  370. package/resources/surveys.mjs.map +1 -1
  371. package/resources/users/companies/companies.d.mts +116 -157
  372. package/resources/users/companies/companies.d.mts.map +1 -1
  373. package/resources/users/companies/companies.d.ts +116 -157
  374. package/resources/users/companies/companies.d.ts.map +1 -1
  375. package/resources/users/companies/companies.js +125 -125
  376. package/resources/users/companies/companies.js.map +1 -1
  377. package/resources/users/companies/companies.mjs +125 -125
  378. package/resources/users/companies/companies.mjs.map +1 -1
  379. package/resources/users/companies/contacts.d.mts.map +1 -1
  380. package/resources/users/companies/contacts.d.ts.map +1 -1
  381. package/resources/users/companies/contacts.mjs.map +1 -1
  382. package/resources/users/companies/index.d.mts +1 -1
  383. package/resources/users/companies/index.d.mts.map +1 -1
  384. package/resources/users/companies/index.d.ts +1 -1
  385. package/resources/users/companies/index.d.ts.map +1 -1
  386. package/resources/users/companies/index.mjs.map +1 -1
  387. package/resources/users/companies.d.mts.map +1 -1
  388. package/resources/users/companies.d.ts.map +1 -1
  389. package/resources/users/companies.mjs.map +1 -1
  390. package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
  391. package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
  392. package/resources/users/contacts/by-user-id/by-user-id.mjs.map +1 -1
  393. package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
  394. package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
  395. package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -1
  396. package/resources/users/contacts/by-user-id/index.d.mts.map +1 -1
  397. package/resources/users/contacts/by-user-id/index.d.ts.map +1 -1
  398. package/resources/users/contacts/by-user-id/index.mjs.map +1 -1
  399. package/resources/users/contacts/by-user-id.d.mts.map +1 -1
  400. package/resources/users/contacts/by-user-id.d.ts.map +1 -1
  401. package/resources/users/contacts/by-user-id.mjs.map +1 -1
  402. package/resources/users/contacts/contacts.d.mts +196 -235
  403. package/resources/users/contacts/contacts.d.mts.map +1 -1
  404. package/resources/users/contacts/contacts.d.ts +196 -235
  405. package/resources/users/contacts/contacts.d.ts.map +1 -1
  406. package/resources/users/contacts/contacts.js +186 -184
  407. package/resources/users/contacts/contacts.js.map +1 -1
  408. package/resources/users/contacts/contacts.mjs +186 -184
  409. package/resources/users/contacts/contacts.mjs.map +1 -1
  410. package/resources/users/contacts/email-preferences.d.mts.map +1 -1
  411. package/resources/users/contacts/email-preferences.d.ts.map +1 -1
  412. package/resources/users/contacts/email-preferences.mjs.map +1 -1
  413. package/resources/users/contacts/index.d.mts +1 -1
  414. package/resources/users/contacts/index.d.mts.map +1 -1
  415. package/resources/users/contacts/index.d.ts +1 -1
  416. package/resources/users/contacts/index.d.ts.map +1 -1
  417. package/resources/users/contacts/index.mjs.map +1 -1
  418. package/resources/users/contacts.d.mts.map +1 -1
  419. package/resources/users/contacts.d.ts.map +1 -1
  420. package/resources/users/contacts.mjs.map +1 -1
  421. package/resources/users/index.d.mts +2 -2
  422. package/resources/users/index.d.mts.map +1 -1
  423. package/resources/users/index.d.ts +2 -2
  424. package/resources/users/index.d.ts.map +1 -1
  425. package/resources/users/index.mjs.map +1 -1
  426. package/resources/users/users.d.mts +2 -2
  427. package/resources/users/users.d.mts.map +1 -1
  428. package/resources/users/users.d.ts +2 -2
  429. package/resources/users/users.d.ts.map +1 -1
  430. package/resources/users/users.mjs.map +1 -1
  431. package/resources/users.d.mts.map +1 -1
  432. package/resources/users.d.ts.map +1 -1
  433. package/resources/users.mjs.map +1 -1
  434. package/resources/webhooks.d.mts +75 -75
  435. package/resources/webhooks.d.mts.map +1 -1
  436. package/resources/webhooks.d.ts +75 -75
  437. package/resources/webhooks.d.ts.map +1 -1
  438. package/resources/webhooks.js +77 -77
  439. package/resources/webhooks.js.map +1 -1
  440. package/resources/webhooks.mjs +77 -77
  441. package/resources/webhooks.mjs.map +1 -1
  442. package/resources.d.mts.map +1 -1
  443. package/resources.d.ts.map +1 -1
  444. package/resources.mjs.map +1 -1
  445. package/src/client.ts +25 -3
  446. package/src/resources/changelogs/changelogs.ts +170 -170
  447. package/src/resources/changelogs/index.ts +1 -1
  448. package/src/resources/conversation-attributes.ts +181 -0
  449. package/src/resources/feedback/boards.ts +28 -28
  450. package/src/resources/feedback/comments.ts +153 -226
  451. package/src/resources/feedback/custom-fields.ts +44 -44
  452. package/src/resources/feedback/feedback.ts +19 -5
  453. package/src/resources/feedback/index.ts +12 -5
  454. package/src/resources/feedback/post-statuses.ts +31 -31
  455. package/src/resources/feedback/posts/index.ts +7 -1
  456. package/src/resources/feedback/posts/posts.ts +230 -311
  457. package/src/resources/help-center/articles.ts +123 -186
  458. package/src/resources/help-center/collections.ts +84 -84
  459. package/src/resources/help-center/help-center.ts +7 -5
  460. package/src/resources/help-center/help-centers.ts +55 -55
  461. package/src/resources/help-center/index.ts +6 -5
  462. package/src/resources/help-center/redirect-rules.ts +174 -174
  463. package/src/resources/index.ts +11 -3
  464. package/src/resources/organization/admins.ts +33 -33
  465. package/src/resources/organization/brands.ts +66 -66
  466. package/src/resources/organization/index.ts +3 -3
  467. package/src/resources/organization/organization.ts +3 -3
  468. package/src/resources/organization/teams.ts +52 -52
  469. package/src/resources/support/conversation-tags.ts +59 -59
  470. package/src/resources/support/conversations/conversations.ts +723 -850
  471. package/src/resources/support/conversations/index.ts +11 -6
  472. package/src/resources/support/index.ts +14 -9
  473. package/src/resources/support/support.ts +21 -11
  474. package/src/resources/support/tickets/categories.ts +33 -33
  475. package/src/resources/support/tickets/custom-fields.ts +27 -27
  476. package/src/resources/support/tickets/index.ts +4 -4
  477. package/src/resources/support/tickets/statuses.ts +29 -29
  478. package/src/resources/support/tickets/tickets.ts +95 -95
  479. package/src/resources/surveys.ts +58 -58
  480. package/src/resources/users/companies/companies.ts +155 -204
  481. package/src/resources/users/companies/index.ts +2 -2
  482. package/src/resources/users/contacts/contacts.ts +235 -282
  483. package/src/resources/users/contacts/index.ts +3 -3
  484. package/src/resources/users/index.ts +5 -5
  485. package/src/resources/users/users.ts +5 -5
  486. package/src/resources/webhooks.ts +95 -95
  487. package/src/version.ts +1 -1
  488. package/uploads.d.mts +1 -0
  489. package/uploads.d.mts.map +1 -1
  490. package/uploads.d.ts +1 -0
  491. package/uploads.d.ts.map +1 -1
  492. package/uploads.mjs +1 -0
  493. package/uploads.mjs.map +1 -1
  494. package/version.d.mts +1 -1
  495. package/version.d.ts +1 -1
  496. package/version.js +1 -1
  497. package/version.mjs +1 -1
@@ -11,41 +11,41 @@ const path_1 = require("../internal/utils/path.js");
11
11
  */
12
12
  class Surveys extends resource_1.APIResource {
13
13
  /**
14
- * Retrieves a single survey by its unique identifier.
14
+ * Returns all surveys configured in your Featurebase organization.
15
15
  *
16
- * Returns the survey object if found in your organization.
16
+ * ### Query Parameters
17
17
  *
18
- * ### Response
18
+ * - `limit` - Number of items to return (1-100, default 10)
19
+ * - `cursor` - Cursor for pagination
20
+ * - `type` - Filter by survey page type (text, link, rating, multiple-choice)
21
+ * - `isActive` - Filter by active status
19
22
  *
20
- * Returns a survey object with:
23
+ * ### Response Format
24
+ *
25
+ * Returns a list object with:
26
+ *
27
+ * - `object` - Always "list"
28
+ * - `data` - Array of survey objects
29
+ * - `nextCursor` - Cursor for next page (null if no more results)
30
+ *
31
+ * ### Survey Object
32
+ *
33
+ * Each survey includes:
21
34
  *
22
35
  * - `id` - Unique identifier
23
36
  * - `title` - Survey title
24
37
  * - `description` - Survey description
25
38
  * - `isActive` - Whether the survey is active
26
39
  * - `responseCount` - Number of responses received
27
- * - `targeting` - Targeting configuration
40
+ * - `targeting` - Targeting configuration (segments, URLs, CSS selectors)
28
41
  * - `pages` - Array of survey pages/questions
29
42
  * - `createdAt` - ISO 8601 timestamp when created
30
43
  * - `updatedAt` - ISO 8601 timestamp when last updated
31
- *
32
- * ### Survey Pages
33
- *
34
- * Each page represents a question or screen in the survey:
35
- *
36
- * - `type` - Page type (text, link, rating, multiple-choice)
37
- * - `title` - Question title
38
- * - `description` - Optional description
39
- * - `logic` - Conditional logic rules
40
- * - `defaultAction` - Default action when no logic matches
41
- *
42
- * ### Errors
43
- *
44
- * - `404` - Survey not found in your organization
45
44
  */
46
- retrieve(id, params = {}, options) {
47
- const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
48
- return this._client.get((0, path_1.path) `/v2/surveys/${id}`, {
45
+ list(params = {}, options) {
46
+ const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
47
+ return this._client.getAPIList('/v2/surveys', (pagination_1.CursorPage), {
48
+ query,
49
49
  ...options,
50
50
  headers: (0, headers_1.buildHeaders)([
51
51
  {
@@ -58,41 +58,41 @@ class Surveys extends resource_1.APIResource {
58
58
  });
59
59
  }
60
60
  /**
61
- * Returns all surveys configured in your Featurebase organization.
62
- *
63
- * ### Query Parameters
64
- *
65
- * - `limit` - Number of items to return (1-100, default 10)
66
- * - `cursor` - Cursor for pagination
67
- * - `type` - Filter by survey page type (text, link, rating, multiple-choice)
68
- * - `isActive` - Filter by active status
69
- *
70
- * ### Response Format
71
- *
72
- * Returns a list object with:
61
+ * Retrieves a single survey by its unique identifier.
73
62
  *
74
- * - `object` - Always "list"
75
- * - `data` - Array of survey objects
76
- * - `nextCursor` - Cursor for next page (null if no more results)
63
+ * Returns the survey object if found in your organization.
77
64
  *
78
- * ### Survey Object
65
+ * ### Response
79
66
  *
80
- * Each survey includes:
67
+ * Returns a survey object with:
81
68
  *
82
69
  * - `id` - Unique identifier
83
70
  * - `title` - Survey title
84
71
  * - `description` - Survey description
85
72
  * - `isActive` - Whether the survey is active
86
73
  * - `responseCount` - Number of responses received
87
- * - `targeting` - Targeting configuration (segments, URLs, CSS selectors)
74
+ * - `targeting` - Targeting configuration
88
75
  * - `pages` - Array of survey pages/questions
89
76
  * - `createdAt` - ISO 8601 timestamp when created
90
77
  * - `updatedAt` - ISO 8601 timestamp when last updated
78
+ *
79
+ * ### Survey Pages
80
+ *
81
+ * Each page represents a question or screen in the survey:
82
+ *
83
+ * - `type` - Page type (text, link, rating, multiple-choice)
84
+ * - `title` - Question title
85
+ * - `description` - Optional description
86
+ * - `logic` - Conditional logic rules
87
+ * - `defaultAction` - Default action when no logic matches
88
+ *
89
+ * ### Errors
90
+ *
91
+ * - `404` - Survey not found in your organization
91
92
  */
92
- list(params = {}, options) {
93
- const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
94
- return this._client.getAPIList('/v2/surveys', (pagination_1.CursorPage), {
95
- query,
93
+ retrieve(id, params = {}, options) {
94
+ const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
95
+ return this._client.get((0, path_1.path) `/v2/surveys/${id}`, {
96
96
  ...options,
97
97
  headers: (0, headers_1.buildHeaders)([
98
98
  {
@@ -1 +1 @@
1
- {"version":3,"file":"surveys.js","sourceRoot":"","sources":["../src/resources/surveys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAoF;AACpF,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,QAAQ,CACN,EAAU,EACV,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,EAAE,EAAE,EAAE;YAC/C,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;;;;;;;;;;;;;;;;;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AC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,aAAa,CACX,EAAU,EACV,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,eAAe,EAAE,YAAY,EACjC,CAAA,uBAAuC,CAAA,EACvC;YACE,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,CACF,CAAC;IACJ,CAAC;CACF;AArKD,0BAqKC"}
@@ -8,41 +8,41 @@ import { path } from "../internal/utils/path.mjs";
8
8
  */
9
9
  export class Surveys extends APIResource {
10
10
  /**
11
- * Retrieves a single survey by its unique identifier.
11
+ * Returns all surveys configured in your Featurebase organization.
12
12
  *
13
- * Returns the survey object if found in your organization.
13
+ * ### Query Parameters
14
14
  *
15
- * ### Response
15
+ * - `limit` - Number of items to return (1-100, default 10)
16
+ * - `cursor` - Cursor for pagination
17
+ * - `type` - Filter by survey page type (text, link, rating, multiple-choice)
18
+ * - `isActive` - Filter by active status
16
19
  *
17
- * Returns a survey object with:
20
+ * ### Response Format
21
+ *
22
+ * Returns a list object with:
23
+ *
24
+ * - `object` - Always "list"
25
+ * - `data` - Array of survey objects
26
+ * - `nextCursor` - Cursor for next page (null if no more results)
27
+ *
28
+ * ### Survey Object
29
+ *
30
+ * Each survey includes:
18
31
  *
19
32
  * - `id` - Unique identifier
20
33
  * - `title` - Survey title
21
34
  * - `description` - Survey description
22
35
  * - `isActive` - Whether the survey is active
23
36
  * - `responseCount` - Number of responses received
24
- * - `targeting` - Targeting configuration
37
+ * - `targeting` - Targeting configuration (segments, URLs, CSS selectors)
25
38
  * - `pages` - Array of survey pages/questions
26
39
  * - `createdAt` - ISO 8601 timestamp when created
27
40
  * - `updatedAt` - ISO 8601 timestamp when last updated
28
- *
29
- * ### Survey Pages
30
- *
31
- * Each page represents a question or screen in the survey:
32
- *
33
- * - `type` - Page type (text, link, rating, multiple-choice)
34
- * - `title` - Question title
35
- * - `description` - Optional description
36
- * - `logic` - Conditional logic rules
37
- * - `defaultAction` - Default action when no logic matches
38
- *
39
- * ### Errors
40
- *
41
- * - `404` - Survey not found in your organization
42
41
  */
43
- retrieve(id, params = {}, options) {
44
- const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
45
- return this._client.get(path `/v2/surveys/${id}`, {
42
+ list(params = {}, options) {
43
+ const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
44
+ return this._client.getAPIList('/v2/surveys', (CursorPage), {
45
+ query,
46
46
  ...options,
47
47
  headers: buildHeaders([
48
48
  {
@@ -55,41 +55,41 @@ export class Surveys extends APIResource {
55
55
  });
56
56
  }
57
57
  /**
58
- * Returns all surveys configured in your Featurebase organization.
59
- *
60
- * ### Query Parameters
61
- *
62
- * - `limit` - Number of items to return (1-100, default 10)
63
- * - `cursor` - Cursor for pagination
64
- * - `type` - Filter by survey page type (text, link, rating, multiple-choice)
65
- * - `isActive` - Filter by active status
66
- *
67
- * ### Response Format
68
- *
69
- * Returns a list object with:
58
+ * Retrieves a single survey by its unique identifier.
70
59
  *
71
- * - `object` - Always "list"
72
- * - `data` - Array of survey objects
73
- * - `nextCursor` - Cursor for next page (null if no more results)
60
+ * Returns the survey object if found in your organization.
74
61
  *
75
- * ### Survey Object
62
+ * ### Response
76
63
  *
77
- * Each survey includes:
64
+ * Returns a survey object with:
78
65
  *
79
66
  * - `id` - Unique identifier
80
67
  * - `title` - Survey title
81
68
  * - `description` - Survey description
82
69
  * - `isActive` - Whether the survey is active
83
70
  * - `responseCount` - Number of responses received
84
- * - `targeting` - Targeting configuration (segments, URLs, CSS selectors)
71
+ * - `targeting` - Targeting configuration
85
72
  * - `pages` - Array of survey pages/questions
86
73
  * - `createdAt` - ISO 8601 timestamp when created
87
74
  * - `updatedAt` - ISO 8601 timestamp when last updated
75
+ *
76
+ * ### Survey Pages
77
+ *
78
+ * Each page represents a question or screen in the survey:
79
+ *
80
+ * - `type` - Page type (text, link, rating, multiple-choice)
81
+ * - `title` - Question title
82
+ * - `description` - Optional description
83
+ * - `logic` - Conditional logic rules
84
+ * - `defaultAction` - Default action when no logic matches
85
+ *
86
+ * ### Errors
87
+ *
88
+ * - `404` - Survey not found in your organization
88
89
  */
89
- list(params = {}, options) {
90
- const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
91
- return this._client.getAPIList('/v2/surveys', (CursorPage), {
92
- query,
90
+ retrieve(id, params = {}, options) {
91
+ const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
92
+ return this._client.get(path `/v2/surveys/${id}`, {
93
93
  ...options,
94
94
  headers: buildHeaders([
95
95
  {
@@ -1 +1 @@
1
- {"version":3,"file":"surveys.mjs","sourceRoot":"","sources":["../src/resources/surveys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,UAAU,EAAsC;OAClD,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,QAAQ,CACN,EAAU,EACV,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,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feedback/posts/posts.mjs";
2
3
  import * as ContactsAPI from "./contacts.mjs";
3
4
  import { ContactAttachParams, ContactAttachResponse, ContactListParams, ContactRemoveParams, ContactRemoveResponse, Contacts } from "./contacts.mjs";
4
5
  import { APIPromise } from "../../../core/api-promise.mjs";
@@ -9,68 +10,6 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
9
10
  */
10
11
  export declare class Companies extends APIResource {
11
12
  contacts: ContactsAPI.Contacts;
12
- /**
13
- * Retrieves a single company by its Featurebase ID.
14
- *
15
- * ### Path Parameters
16
- *
17
- * - `id` - The Featurebase internal ID of the company (MongoDB ObjectId)
18
- *
19
- * ### Response
20
- *
21
- * Returns a company object with:
22
- *
23
- * - `id` - Featurebase internal ID
24
- * - `companyId` - External company ID from your system
25
- * - `name` - Company name
26
- * - `monthlySpend` - Monthly spend/revenue
27
- * - `industry` - Industry
28
- * - `website` - Company website URL
29
- * - `plan` - Plan/tier name
30
- * - `linkedUsers` - Number of users linked to this company
31
- * - `companySize` - Employee headcount
32
- * - `lastActivity` - Last activity timestamp
33
- * - `customFields` - Custom field values
34
- * - `createdAt` - Creation timestamp
35
- * - `updatedAt` - Last update timestamp
36
- *
37
- * ### Example Response
38
- *
39
- * ```json
40
- * {
41
- * "object": "company",
42
- * "id": "507f1f77bcf86cd799439011",
43
- * "companyId": "comp_12345",
44
- * "name": "Acme Inc",
45
- * "monthlySpend": 5000,
46
- * "industry": "Technology",
47
- * "website": "https://acme.com",
48
- * "plan": "enterprise",
49
- * "linkedUsers": 15,
50
- * "companySize": 250,
51
- * "lastActivity": "2025-01-15T00:00:00.000Z",
52
- * "customFields": { "location": "Europe" },
53
- * "createdAt": "2025-01-01T12:00:00.000Z",
54
- * "updatedAt": "2025-01-10T15:30:00.000Z"
55
- * }
56
- * ```
57
- *
58
- * ### Error Responses
59
- *
60
- * - **404 Not Found** - Company with the specified ID does not exist
61
- *
62
- * ### Version Availability
63
- *
64
- * This endpoint is only available in API version 2026-01-01.nova and newer.
65
- *
66
- * @example
67
- * ```ts
68
- * const company = await client.users.companies.retrieve(
69
- * '507f1f77bcf86cd799439011',
70
- * );
71
- * ```
72
- */
73
- retrieve(id: string, params?: CompanyRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Company>;
74
13
  /**
75
14
  * Returns all companies in your organization with cursor-based pagination.
76
15
  *
@@ -145,43 +84,6 @@ export declare class Companies extends APIResource {
145
84
  * ```
146
85
  */
147
86
  list(params?: CompanyListParams | null | undefined, options?: RequestOptions): PagePromise<CompaniesCursorPage, Company>;
148
- /**
149
- * Deletes a company by its Featurebase ID.
150
- *
151
- * This will also remove the company from all linked users' associations.
152
- *
153
- * ### Path Parameters
154
- *
155
- * - `id` - The Featurebase internal ID of the company (MongoDB ObjectId)
156
- *
157
- * ### Response
158
- *
159
- * Returns a deletion confirmation object:
160
- *
161
- * ```json
162
- * {
163
- * "id": "507f1f77bcf86cd799439011",
164
- * "object": "company",
165
- * "deleted": true
166
- * }
167
- * ```
168
- *
169
- * ### Error Responses
170
- *
171
- * - **404 Not Found** - Company with the specified ID does not exist
172
- *
173
- * ### Version Availability
174
- *
175
- * This endpoint is only available in API version 2026-01-01.nova and newer.
176
- *
177
- * @example
178
- * ```ts
179
- * const deletedCompany = await client.users.companies.delete(
180
- * '507f1f77bcf86cd799439011',
181
- * );
182
- * ```
183
- */
184
- delete(id: string, params?: CompanyDeleteParams | null | undefined, options?: RequestOptions): APIPromise<DeletedCompany>;
185
87
  /**
186
88
  * Creates a new company or updates an existing one.
187
89
  *
@@ -258,6 +160,105 @@ export declare class Companies extends APIResource {
258
160
  * ```
259
161
  */
260
162
  createOrUpdate(params: CompanyCreateOrUpdateParams, options?: RequestOptions): APIPromise<Company>;
163
+ /**
164
+ * Retrieves a single company by its Featurebase ID.
165
+ *
166
+ * ### Path Parameters
167
+ *
168
+ * - `id` - The Featurebase internal ID of the company (MongoDB ObjectId)
169
+ *
170
+ * ### Response
171
+ *
172
+ * Returns a company object with:
173
+ *
174
+ * - `id` - Featurebase internal ID
175
+ * - `companyId` - External company ID from your system
176
+ * - `name` - Company name
177
+ * - `monthlySpend` - Monthly spend/revenue
178
+ * - `industry` - Industry
179
+ * - `website` - Company website URL
180
+ * - `plan` - Plan/tier name
181
+ * - `linkedUsers` - Number of users linked to this company
182
+ * - `companySize` - Employee headcount
183
+ * - `lastActivity` - Last activity timestamp
184
+ * - `customFields` - Custom field values
185
+ * - `createdAt` - Creation timestamp
186
+ * - `updatedAt` - Last update timestamp
187
+ *
188
+ * ### Example Response
189
+ *
190
+ * ```json
191
+ * {
192
+ * "object": "company",
193
+ * "id": "507f1f77bcf86cd799439011",
194
+ * "companyId": "comp_12345",
195
+ * "name": "Acme Inc",
196
+ * "monthlySpend": 5000,
197
+ * "industry": "Technology",
198
+ * "website": "https://acme.com",
199
+ * "plan": "enterprise",
200
+ * "linkedUsers": 15,
201
+ * "companySize": 250,
202
+ * "lastActivity": "2025-01-15T00:00:00.000Z",
203
+ * "customFields": { "location": "Europe" },
204
+ * "createdAt": "2025-01-01T12:00:00.000Z",
205
+ * "updatedAt": "2025-01-10T15:30:00.000Z"
206
+ * }
207
+ * ```
208
+ *
209
+ * ### Error Responses
210
+ *
211
+ * - **404 Not Found** - Company with the specified ID does not exist
212
+ *
213
+ * ### Version Availability
214
+ *
215
+ * This endpoint is only available in API version 2026-01-01.nova and newer.
216
+ *
217
+ * @example
218
+ * ```ts
219
+ * const company = await client.users.companies.retrieve(
220
+ * '507f1f77bcf86cd799439011',
221
+ * );
222
+ * ```
223
+ */
224
+ retrieve(id: string, params?: CompanyRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Company>;
225
+ /**
226
+ * Deletes a company by its Featurebase ID.
227
+ *
228
+ * This will also remove the company from all linked users' associations.
229
+ *
230
+ * ### Path Parameters
231
+ *
232
+ * - `id` - The Featurebase internal ID of the company (MongoDB ObjectId)
233
+ *
234
+ * ### Response
235
+ *
236
+ * Returns a deletion confirmation object:
237
+ *
238
+ * ```json
239
+ * {
240
+ * "id": "507f1f77bcf86cd799439011",
241
+ * "object": "company",
242
+ * "deleted": true
243
+ * }
244
+ * ```
245
+ *
246
+ * ### Error Responses
247
+ *
248
+ * - **404 Not Found** - Company with the specified ID does not exist
249
+ *
250
+ * ### Version Availability
251
+ *
252
+ * This endpoint is only available in API version 2026-01-01.nova and newer.
253
+ *
254
+ * @example
255
+ * ```ts
256
+ * const deletedCompany = await client.users.companies.delete(
257
+ * '507f1f77bcf86cd799439011',
258
+ * );
259
+ * ```
260
+ */
261
+ delete(id: string, params?: CompanyDeleteParams | null | undefined, options?: RequestOptions): APIPromise<DeletedCompany>;
261
262
  /**
262
263
  * Permanently deletes a company by its external company ID (the `companyId` from
263
264
  * your system).
@@ -566,13 +567,6 @@ export declare namespace CompanySearchResponse {
566
567
  };
567
568
  }
568
569
  }
569
- export interface CompanyRetrieveParams {
570
- /**
571
- * API version for this request. Defaults to your organization's configured API
572
- * version if not specified.
573
- */
574
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
575
- }
576
570
  export interface CompanyListParams extends CursorPageParams {
577
571
  /**
578
572
  * Header param: API version for this request. Defaults to your organization's
@@ -580,13 +574,6 @@ export interface CompanyListParams extends CursorPageParams {
580
574
  */
581
575
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
582
576
  }
583
- export interface CompanyDeleteParams {
584
- /**
585
- * API version for this request. Defaults to your organization's configured API
586
- * version if not specified.
587
- */
588
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
589
- }
590
577
  export interface CompanyCreateOrUpdateParams {
591
578
  /**
592
579
  * Body param: External company ID from your system. Used as the unique identifier
@@ -643,6 +630,20 @@ export declare namespace CompanyCreateOrUpdateParams {
643
630
  tier?: string;
644
631
  }
645
632
  }
633
+ export interface CompanyRetrieveParams {
634
+ /**
635
+ * API version for this request. Defaults to your organization's configured API
636
+ * version if not specified.
637
+ */
638
+ 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
639
+ }
640
+ export interface CompanyDeleteParams {
641
+ /**
642
+ * API version for this request. Defaults to your organization's configured API
643
+ * version if not specified.
644
+ */
645
+ 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
646
+ }
646
647
  export interface CompanyDeleteByCompanyIDParams {
647
648
  /**
648
649
  * API version for this request. Defaults to your organization's configured API
@@ -664,7 +665,7 @@ export interface CompanySearchParams {
664
665
  * Body param: Structured filter AST. Either a single filter clause or one
665
666
  * top-level AND group (max 15 clauses). Top-level OR groups are not yet supported.
666
667
  */
667
- query?: CompanySearchParams.SearchFilter | CompanySearchParams.SearchFilterGroup;
668
+ query?: PostsAPI.SearchFilter | PostsAPI.SearchFilterGroup;
668
669
  /**
669
670
  * Body param: Sort field + direction. Defaults to `createdAt:desc`. The chosen
670
671
  * sort axis is encoded in the cursor; switching `sort` mid-pagination returns
@@ -679,50 +680,8 @@ export interface CompanySearchParams {
679
680
  */
680
681
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
681
682
  }
682
- export declare namespace CompanySearchParams {
683
- interface SearchFilter {
684
- /**
685
- * Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
686
- */
687
- field: string;
688
- /**
689
- * Comparison operator
690
- */
691
- operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
692
- /**
693
- * Value to compare against (primitive or array of primitives)
694
- */
695
- value: string | number | boolean | Array<string | number> | null;
696
- }
697
- interface SearchFilterGroup {
698
- /**
699
- * Group operator: AND (all match) or OR (any match)
700
- */
701
- operator: 'AND' | 'OR';
702
- /**
703
- * Array of filter clauses (1-15 entries)
704
- */
705
- value: Array<SearchFilterGroup.Value>;
706
- }
707
- namespace SearchFilterGroup {
708
- interface Value {
709
- /**
710
- * Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
711
- */
712
- field: string;
713
- /**
714
- * Comparison operator
715
- */
716
- operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
717
- /**
718
- * Value to compare against (primitive or array of primitives)
719
- */
720
- value: string | number | boolean | Array<string | number> | null;
721
- }
722
- }
723
- }
724
683
  export declare namespace Companies {
725
- export { type Company as Company, type DeletedCompany as DeletedCompany, type CompanySearchResponse as CompanySearchResponse, type CompaniesCursorPage as CompaniesCursorPage, type CompanyRetrieveParams as CompanyRetrieveParams, type CompanyListParams as CompanyListParams, type CompanyDeleteParams as CompanyDeleteParams, type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams, type CompanySearchParams as CompanySearchParams, };
684
+ export { type Company as Company, type DeletedCompany as DeletedCompany, type CompanySearchResponse as CompanySearchResponse, type CompaniesCursorPage as CompaniesCursorPage, type CompanyListParams as CompanyListParams, type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams, type CompanyRetrieveParams as CompanyRetrieveParams, type CompanyDeleteParams as CompanyDeleteParams, type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams, type CompanySearchParams as CompanySearchParams, };
726
685
  export { Contacts as Contacts, type ContactAttachResponse as ContactAttachResponse, type ContactRemoveResponse as ContactRemoveResponse, type ContactListParams as ContactListParams, type ContactAttachParams as ContactAttachParams, type ContactRemoveParams as ContactRemoveParams, };
727
686
  }
728
687
  //# sourceMappingURL=companies.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"companies.d.mts","sourceRoot":"","sources":["../../../src/resources/users/companies/companies.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACT;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBA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