featurebase-node 0.14.3 → 0.15.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 (362) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/client.d.mts +5 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -5
  5. package/client.d.ts.map +1 -1
  6. package/package.json +1 -1
  7. package/resources/audit-logs.d.mts +3 -3
  8. package/resources/audit-logs.d.mts.map +1 -1
  9. package/resources/audit-logs.d.ts +3 -3
  10. package/resources/audit-logs.d.ts.map +1 -1
  11. package/resources/changelogs/changelogs.d.mts +116 -116
  12. package/resources/changelogs/changelogs.d.mts.map +1 -1
  13. package/resources/changelogs/changelogs.d.ts +116 -116
  14. package/resources/changelogs/changelogs.d.ts.map +1 -1
  15. package/resources/changelogs/changelogs.js +74 -74
  16. package/resources/changelogs/changelogs.js.map +1 -1
  17. package/resources/changelogs/changelogs.mjs +74 -74
  18. package/resources/changelogs/changelogs.mjs.map +1 -1
  19. package/resources/changelogs/index.d.mts +1 -1
  20. package/resources/changelogs/index.d.mts.map +1 -1
  21. package/resources/changelogs/index.d.ts +1 -1
  22. package/resources/changelogs/index.d.ts.map +1 -1
  23. package/resources/changelogs/subscribers.d.mts +3 -3
  24. package/resources/changelogs/subscribers.d.mts.map +1 -1
  25. package/resources/changelogs/subscribers.d.ts +3 -3
  26. package/resources/changelogs/subscribers.d.ts.map +1 -1
  27. package/resources/conversation-attributes.d.mts +17 -17
  28. package/resources/conversation-attributes.d.mts.map +1 -1
  29. package/resources/conversation-attributes.d.ts +17 -17
  30. package/resources/conversation-attributes.d.ts.map +1 -1
  31. package/resources/conversation-attributes.js +19 -19
  32. package/resources/conversation-attributes.js.map +1 -1
  33. package/resources/conversation-attributes.mjs +19 -19
  34. package/resources/conversation-attributes.mjs.map +1 -1
  35. package/resources/feedback/boards.d.mts +19 -19
  36. package/resources/feedback/boards.d.mts.map +1 -1
  37. package/resources/feedback/boards.d.ts +19 -19
  38. package/resources/feedback/boards.d.ts.map +1 -1
  39. package/resources/feedback/boards.js +20 -20
  40. package/resources/feedback/boards.js.map +1 -1
  41. package/resources/feedback/boards.mjs +20 -20
  42. package/resources/feedback/boards.mjs.map +1 -1
  43. package/resources/feedback/comments.d.mts +113 -113
  44. package/resources/feedback/comments.d.mts.map +1 -1
  45. package/resources/feedback/comments.d.ts +113 -113
  46. package/resources/feedback/comments.d.ts.map +1 -1
  47. package/resources/feedback/comments.js +93 -93
  48. package/resources/feedback/comments.js.map +1 -1
  49. package/resources/feedback/comments.mjs +93 -93
  50. package/resources/feedback/comments.mjs.map +1 -1
  51. package/resources/feedback/custom-fields.d.mts +36 -36
  52. package/resources/feedback/custom-fields.d.mts.map +1 -1
  53. package/resources/feedback/custom-fields.d.ts +36 -36
  54. package/resources/feedback/custom-fields.d.ts.map +1 -1
  55. package/resources/feedback/custom-fields.js +36 -36
  56. package/resources/feedback/custom-fields.js.map +1 -1
  57. package/resources/feedback/custom-fields.mjs +36 -36
  58. package/resources/feedback/custom-fields.mjs.map +1 -1
  59. package/resources/feedback/feedback.d.mts +5 -5
  60. package/resources/feedback/feedback.d.mts.map +1 -1
  61. package/resources/feedback/feedback.d.ts +5 -5
  62. package/resources/feedback/feedback.d.ts.map +1 -1
  63. package/resources/feedback/index.d.mts +5 -5
  64. package/resources/feedback/index.d.mts.map +1 -1
  65. package/resources/feedback/index.d.ts +5 -5
  66. package/resources/feedback/index.d.ts.map +1 -1
  67. package/resources/feedback/post-statuses.d.mts +20 -20
  68. package/resources/feedback/post-statuses.d.mts.map +1 -1
  69. package/resources/feedback/post-statuses.d.ts +20 -20
  70. package/resources/feedback/post-statuses.d.ts.map +1 -1
  71. package/resources/feedback/post-statuses.js +23 -23
  72. package/resources/feedback/post-statuses.js.map +1 -1
  73. package/resources/feedback/post-statuses.mjs +23 -23
  74. package/resources/feedback/post-statuses.mjs.map +1 -1
  75. package/resources/feedback/posts/index.d.mts +1 -1
  76. package/resources/feedback/posts/index.d.mts.map +1 -1
  77. package/resources/feedback/posts/index.d.ts +1 -1
  78. package/resources/feedback/posts/index.d.ts.map +1 -1
  79. package/resources/feedback/posts/posts.d.mts +132 -132
  80. package/resources/feedback/posts/posts.d.mts.map +1 -1
  81. package/resources/feedback/posts/posts.d.ts +132 -132
  82. package/resources/feedback/posts/posts.d.ts.map +1 -1
  83. package/resources/feedback/posts/posts.js +107 -107
  84. package/resources/feedback/posts/posts.js.map +1 -1
  85. package/resources/feedback/posts/posts.mjs +107 -107
  86. package/resources/feedback/posts/posts.mjs.map +1 -1
  87. package/resources/feedback/posts/voters.d.mts +3 -3
  88. package/resources/feedback/posts/voters.d.mts.map +1 -1
  89. package/resources/feedback/posts/voters.d.ts +3 -3
  90. package/resources/feedback/posts/voters.d.ts.map +1 -1
  91. package/resources/help-center/articles.d.mts +213 -97
  92. package/resources/help-center/articles.d.mts.map +1 -1
  93. package/resources/help-center/articles.d.ts +213 -97
  94. package/resources/help-center/articles.d.ts.map +1 -1
  95. package/resources/help-center/articles.js +73 -73
  96. package/resources/help-center/articles.js.map +1 -1
  97. package/resources/help-center/articles.mjs +73 -73
  98. package/resources/help-center/articles.mjs.map +1 -1
  99. package/resources/help-center/collections.d.mts +158 -71
  100. package/resources/help-center/collections.d.mts.map +1 -1
  101. package/resources/help-center/collections.d.ts +158 -71
  102. package/resources/help-center/collections.d.ts.map +1 -1
  103. package/resources/help-center/collections.js +65 -65
  104. package/resources/help-center/collections.js.map +1 -1
  105. package/resources/help-center/collections.mjs +65 -65
  106. package/resources/help-center/collections.mjs.map +1 -1
  107. package/resources/help-center/help-center.d.mts +4 -4
  108. package/resources/help-center/help-center.d.mts.map +1 -1
  109. package/resources/help-center/help-center.d.ts +4 -4
  110. package/resources/help-center/help-center.d.ts.map +1 -1
  111. package/resources/help-center/help-centers.d.mts +77 -48
  112. package/resources/help-center/help-centers.d.mts.map +1 -1
  113. package/resources/help-center/help-centers.d.ts +77 -48
  114. package/resources/help-center/help-centers.d.ts.map +1 -1
  115. package/resources/help-center/help-centers.js +43 -43
  116. package/resources/help-center/help-centers.js.map +1 -1
  117. package/resources/help-center/help-centers.mjs +43 -43
  118. package/resources/help-center/help-centers.mjs.map +1 -1
  119. package/resources/help-center/index.d.mts +4 -4
  120. package/resources/help-center/index.d.mts.map +1 -1
  121. package/resources/help-center/index.d.ts +4 -4
  122. package/resources/help-center/index.d.ts.map +1 -1
  123. package/resources/help-center/redirect-rules.d.mts +124 -124
  124. package/resources/help-center/redirect-rules.d.mts.map +1 -1
  125. package/resources/help-center/redirect-rules.d.ts +124 -124
  126. package/resources/help-center/redirect-rules.d.ts.map +1 -1
  127. package/resources/help-center/redirect-rules.js +112 -112
  128. package/resources/help-center/redirect-rules.js.map +1 -1
  129. package/resources/help-center/redirect-rules.mjs +112 -112
  130. package/resources/help-center/redirect-rules.mjs.map +1 -1
  131. package/resources/index.d.mts +5 -5
  132. package/resources/index.d.mts.map +1 -1
  133. package/resources/index.d.ts +5 -5
  134. package/resources/index.d.ts.map +1 -1
  135. package/resources/organization/admins.d.mts +26 -26
  136. package/resources/organization/admins.d.mts.map +1 -1
  137. package/resources/organization/admins.d.ts +26 -26
  138. package/resources/organization/admins.d.ts.map +1 -1
  139. package/resources/organization/admins.js +25 -25
  140. package/resources/organization/admins.js.map +1 -1
  141. package/resources/organization/admins.mjs +25 -25
  142. package/resources/organization/admins.mjs.map +1 -1
  143. package/resources/organization/brands.d.mts +52 -52
  144. package/resources/organization/brands.d.mts.map +1 -1
  145. package/resources/organization/brands.d.ts +52 -52
  146. package/resources/organization/brands.d.ts.map +1 -1
  147. package/resources/organization/brands.js +54 -54
  148. package/resources/organization/brands.js.map +1 -1
  149. package/resources/organization/brands.mjs +54 -54
  150. package/resources/organization/brands.mjs.map +1 -1
  151. package/resources/organization/index.d.mts +3 -3
  152. package/resources/organization/index.d.mts.map +1 -1
  153. package/resources/organization/index.d.ts +3 -3
  154. package/resources/organization/index.d.ts.map +1 -1
  155. package/resources/organization/organization.d.mts +3 -3
  156. package/resources/organization/organization.d.mts.map +1 -1
  157. package/resources/organization/organization.d.ts +3 -3
  158. package/resources/organization/organization.d.ts.map +1 -1
  159. package/resources/organization/teams.d.mts +47 -47
  160. package/resources/organization/teams.d.mts.map +1 -1
  161. package/resources/organization/teams.d.ts +47 -47
  162. package/resources/organization/teams.d.ts.map +1 -1
  163. package/resources/organization/teams.js +44 -44
  164. package/resources/organization/teams.js.map +1 -1
  165. package/resources/organization/teams.mjs +44 -44
  166. package/resources/organization/teams.mjs.map +1 -1
  167. package/resources/reports.d.mts +249 -215
  168. package/resources/reports.d.mts.map +1 -1
  169. package/resources/reports.d.ts +249 -215
  170. package/resources/reports.d.ts.map +1 -1
  171. package/resources/reports.js +99 -99
  172. package/resources/reports.js.map +1 -1
  173. package/resources/reports.mjs +99 -99
  174. package/resources/reports.mjs.map +1 -1
  175. package/resources/support/conversation-tags.d.mts +43 -43
  176. package/resources/support/conversation-tags.d.mts.map +1 -1
  177. package/resources/support/conversation-tags.d.ts +43 -43
  178. package/resources/support/conversation-tags.d.ts.map +1 -1
  179. package/resources/support/conversation-tags.js +32 -32
  180. package/resources/support/conversation-tags.js.map +1 -1
  181. package/resources/support/conversation-tags.mjs +32 -32
  182. package/resources/support/conversation-tags.mjs.map +1 -1
  183. package/resources/support/conversations/conversations.d.mts +337 -327
  184. package/resources/support/conversations/conversations.d.mts.map +1 -1
  185. package/resources/support/conversations/conversations.d.ts +337 -327
  186. package/resources/support/conversations/conversations.d.ts.map +1 -1
  187. package/resources/support/conversations/conversations.js +293 -283
  188. package/resources/support/conversations/conversations.js.map +1 -1
  189. package/resources/support/conversations/conversations.mjs +293 -283
  190. package/resources/support/conversations/conversations.mjs.map +1 -1
  191. package/resources/support/conversations/index.d.mts +1 -1
  192. package/resources/support/conversations/index.d.mts.map +1 -1
  193. package/resources/support/conversations/index.d.ts +1 -1
  194. package/resources/support/conversations/index.d.ts.map +1 -1
  195. package/resources/support/conversations/participants.d.mts +2 -2
  196. package/resources/support/conversations/participants.d.mts.map +1 -1
  197. package/resources/support/conversations/participants.d.ts +2 -2
  198. package/resources/support/conversations/participants.d.ts.map +1 -1
  199. package/resources/support/index.d.mts +3 -3
  200. package/resources/support/index.d.mts.map +1 -1
  201. package/resources/support/index.d.ts +3 -3
  202. package/resources/support/index.d.ts.map +1 -1
  203. package/resources/support/support.d.mts +3 -3
  204. package/resources/support/support.d.mts.map +1 -1
  205. package/resources/support/support.d.ts +3 -3
  206. package/resources/support/support.d.ts.map +1 -1
  207. package/resources/support/tickets/categories.d.mts +20 -20
  208. package/resources/support/tickets/categories.d.mts.map +1 -1
  209. package/resources/support/tickets/categories.d.ts +20 -20
  210. package/resources/support/tickets/categories.d.ts.map +1 -1
  211. package/resources/support/tickets/categories.js +25 -25
  212. package/resources/support/tickets/categories.js.map +1 -1
  213. package/resources/support/tickets/categories.mjs +25 -25
  214. package/resources/support/tickets/categories.mjs.map +1 -1
  215. package/resources/support/tickets/custom-fields.d.mts +22 -22
  216. package/resources/support/tickets/custom-fields.d.mts.map +1 -1
  217. package/resources/support/tickets/custom-fields.d.ts +22 -22
  218. package/resources/support/tickets/custom-fields.d.ts.map +1 -1
  219. package/resources/support/tickets/custom-fields.js +19 -19
  220. package/resources/support/tickets/custom-fields.js.map +1 -1
  221. package/resources/support/tickets/custom-fields.mjs +19 -19
  222. package/resources/support/tickets/custom-fields.mjs.map +1 -1
  223. package/resources/support/tickets/index.d.mts +4 -4
  224. package/resources/support/tickets/index.d.mts.map +1 -1
  225. package/resources/support/tickets/index.d.ts +4 -4
  226. package/resources/support/tickets/index.d.ts.map +1 -1
  227. package/resources/support/tickets/statuses.d.mts +19 -19
  228. package/resources/support/tickets/statuses.d.mts.map +1 -1
  229. package/resources/support/tickets/statuses.d.ts +19 -19
  230. package/resources/support/tickets/statuses.d.ts.map +1 -1
  231. package/resources/support/tickets/statuses.js +21 -21
  232. package/resources/support/tickets/statuses.js.map +1 -1
  233. package/resources/support/tickets/statuses.mjs +21 -21
  234. package/resources/support/tickets/statuses.mjs.map +1 -1
  235. package/resources/support/tickets/tickets.d.mts +75 -75
  236. package/resources/support/tickets/tickets.d.mts.map +1 -1
  237. package/resources/support/tickets/tickets.d.ts +75 -75
  238. package/resources/support/tickets/tickets.d.ts.map +1 -1
  239. package/resources/support/tickets/tickets.js +44 -44
  240. package/resources/support/tickets/tickets.js.map +1 -1
  241. package/resources/support/tickets/tickets.mjs +44 -44
  242. package/resources/support/tickets/tickets.mjs.map +1 -1
  243. package/resources/surveys.d.mts +43 -43
  244. package/resources/surveys.d.mts.map +1 -1
  245. package/resources/surveys.d.ts +43 -43
  246. package/resources/surveys.d.ts.map +1 -1
  247. package/resources/surveys.js +44 -44
  248. package/resources/surveys.js.map +1 -1
  249. package/resources/surveys.mjs +44 -44
  250. package/resources/surveys.mjs.map +1 -1
  251. package/resources/users/companies/companies.d.mts +121 -130
  252. package/resources/users/companies/companies.d.mts.map +1 -1
  253. package/resources/users/companies/companies.d.ts +121 -130
  254. package/resources/users/companies/companies.d.ts.map +1 -1
  255. package/resources/users/companies/companies.js +125 -125
  256. package/resources/users/companies/companies.js.map +1 -1
  257. package/resources/users/companies/companies.mjs +125 -125
  258. package/resources/users/companies/companies.mjs.map +1 -1
  259. package/resources/users/companies/contacts.d.mts +3 -3
  260. package/resources/users/companies/contacts.d.mts.map +1 -1
  261. package/resources/users/companies/contacts.d.ts +3 -3
  262. package/resources/users/companies/contacts.d.ts.map +1 -1
  263. package/resources/users/companies/index.d.mts +1 -1
  264. package/resources/users/companies/index.d.mts.map +1 -1
  265. package/resources/users/companies/index.d.ts +1 -1
  266. package/resources/users/companies/index.d.ts.map +1 -1
  267. package/resources/users/contacts/by-user-id/by-user-id.d.mts +2 -2
  268. package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
  269. package/resources/users/contacts/by-user-id/by-user-id.d.ts +2 -2
  270. package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
  271. package/resources/users/contacts/by-user-id/email-preferences.d.mts +2 -2
  272. package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
  273. package/resources/users/contacts/by-user-id/email-preferences.d.ts +2 -2
  274. package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
  275. package/resources/users/contacts/contacts.d.mts +249 -235
  276. package/resources/users/contacts/contacts.d.mts.map +1 -1
  277. package/resources/users/contacts/contacts.d.ts +249 -235
  278. package/resources/users/contacts/contacts.d.ts.map +1 -1
  279. package/resources/users/contacts/contacts.js +211 -184
  280. package/resources/users/contacts/contacts.js.map +1 -1
  281. package/resources/users/contacts/contacts.mjs +211 -184
  282. package/resources/users/contacts/contacts.mjs.map +1 -1
  283. package/resources/users/contacts/email-preferences.d.mts +2 -2
  284. package/resources/users/contacts/email-preferences.d.mts.map +1 -1
  285. package/resources/users/contacts/email-preferences.d.ts +2 -2
  286. package/resources/users/contacts/email-preferences.d.ts.map +1 -1
  287. package/resources/users/contacts/index.d.mts +1 -1
  288. package/resources/users/contacts/index.d.mts.map +1 -1
  289. package/resources/users/contacts/index.d.ts +1 -1
  290. package/resources/users/contacts/index.d.ts.map +1 -1
  291. package/resources/users/index.d.mts +2 -2
  292. package/resources/users/index.d.mts.map +1 -1
  293. package/resources/users/index.d.ts +2 -2
  294. package/resources/users/index.d.ts.map +1 -1
  295. package/resources/users/users.d.mts +2 -2
  296. package/resources/users/users.d.mts.map +1 -1
  297. package/resources/users/users.d.ts +2 -2
  298. package/resources/users/users.d.ts.map +1 -1
  299. package/resources/webhooks.d.mts +83 -83
  300. package/resources/webhooks.d.mts.map +1 -1
  301. package/resources/webhooks.d.ts +83 -83
  302. package/resources/webhooks.d.ts.map +1 -1
  303. package/resources/webhooks.js +77 -77
  304. package/resources/webhooks.js.map +1 -1
  305. package/resources/webhooks.mjs +77 -77
  306. package/resources/webhooks.mjs.map +1 -1
  307. package/src/client.ts +6 -6
  308. package/src/resources/audit-logs.ts +7 -1
  309. package/src/resources/changelogs/changelogs.ts +320 -175
  310. package/src/resources/changelogs/index.ts +1 -1
  311. package/src/resources/changelogs/subscribers.ts +31 -2
  312. package/src/resources/conversation-attributes.ts +34 -34
  313. package/src/resources/feedback/boards.ts +30 -30
  314. package/src/resources/feedback/comments.ts +137 -137
  315. package/src/resources/feedback/custom-fields.ts +46 -46
  316. package/src/resources/feedback/feedback.ts +6 -6
  317. package/src/resources/feedback/index.ts +6 -6
  318. package/src/resources/feedback/post-statuses.ts +33 -33
  319. package/src/resources/feedback/posts/index.ts +2 -2
  320. package/src/resources/feedback/posts/posts.ts +176 -176
  321. package/src/resources/feedback/posts/voters.ts +3 -3
  322. package/src/resources/help-center/articles.ts +631 -109
  323. package/src/resources/help-center/collections.ts +349 -88
  324. package/src/resources/help-center/help-center.ts +5 -5
  325. package/src/resources/help-center/help-centers.ts +202 -57
  326. package/src/resources/help-center/index.ts +5 -5
  327. package/src/resources/help-center/redirect-rules.ts +294 -178
  328. package/src/resources/index.ts +6 -6
  329. package/src/resources/organization/admins.ts +36 -36
  330. package/src/resources/organization/brands.ts +68 -68
  331. package/src/resources/organization/index.ts +3 -3
  332. package/src/resources/organization/organization.ts +3 -3
  333. package/src/resources/organization/teams.ts +54 -54
  334. package/src/resources/reports.ts +311 -262
  335. package/src/resources/support/conversation-tags.ts +62 -62
  336. package/src/resources/support/conversations/conversations.ts +429 -419
  337. package/src/resources/support/conversations/index.ts +4 -4
  338. package/src/resources/support/conversations/participants.ts +2 -2
  339. package/src/resources/support/index.ts +7 -7
  340. package/src/resources/support/support.ts +7 -7
  341. package/src/resources/support/tickets/categories.ts +35 -35
  342. package/src/resources/support/tickets/custom-fields.ts +29 -29
  343. package/src/resources/support/tickets/index.ts +4 -4
  344. package/src/resources/support/tickets/statuses.ts +31 -31
  345. package/src/resources/support/tickets/tickets.ts +101 -101
  346. package/src/resources/surveys.ts +60 -60
  347. package/src/resources/users/companies/companies.ts +158 -172
  348. package/src/resources/users/companies/contacts.ts +3 -3
  349. package/src/resources/users/companies/index.ts +2 -2
  350. package/src/resources/users/contacts/by-user-id/by-user-id.ts +2 -2
  351. package/src/resources/users/contacts/by-user-id/email-preferences.ts +2 -2
  352. package/src/resources/users/contacts/contacts.ts +284 -280
  353. package/src/resources/users/contacts/email-preferences.ts +2 -2
  354. package/src/resources/users/contacts/index.ts +3 -3
  355. package/src/resources/users/index.ts +5 -5
  356. package/src/resources/users/users.ts +5 -5
  357. package/src/resources/webhooks.ts +106 -100
  358. package/src/version.ts +1 -1
  359. package/version.d.mts +1 -1
  360. package/version.d.ts +1 -1
  361. package/version.js +1 -1
  362. package/version.mjs +1 -1
@@ -7,6 +7,42 @@ import { RequestOptions } from "../../internal/request-options.js";
7
7
  * Help centers allow organizations to create and manage knowledge bases with articles and collections. Currently, Featurebase supports one help center per organization.
8
8
  */
9
9
  export declare class HelpCenters extends APIResource {
10
+ /**
11
+ * Retrieves a single help center by its unique identifier.
12
+ *
13
+ * Returns the help center object if found in your organization.
14
+ *
15
+ * ### Response
16
+ *
17
+ * Returns a help center object with:
18
+ *
19
+ * - `id` - Unique identifier
20
+ * - `displayName` - Help center display name
21
+ * - `title` - Help center title
22
+ * - `description` - Help center description
23
+ * - `searchPlaceholder` - Search input placeholder text
24
+ * - `isPublic` - Whether the help center is publicly accessible
25
+ * - `defaultLocale` - Default locale for content
26
+ * - `locale` - Current locale
27
+ * - `availableLocales` - Array of available locales
28
+ * - `navItems` - Navigation items configuration
29
+ * - `urls` - URL configuration (subpath, custom domain)
30
+ * - `createdAt` - ISO 8601 timestamp when created
31
+ * - `updatedAt` - ISO 8601 timestamp when last updated
32
+ *
33
+ * ### Errors
34
+ *
35
+ * - `404` - Help center not found in your organization
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const helpCenter =
40
+ * await client.helpCenter.helpCenters.retrieve(
41
+ * '2tgy0ig982j54qfl',
42
+ * );
43
+ * ```
44
+ */
45
+ retrieve(id: string, params?: HelpCenterRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<HelpCenter>;
10
46
  /**
11
47
  * Returns all help centers configured in your Featurebase organization.
12
48
  *
@@ -51,42 +87,6 @@ export declare class HelpCenters extends APIResource {
51
87
  * ```
52
88
  */
53
89
  list(params?: HelpCenterListParams | null | undefined, options?: RequestOptions): PagePromise<HelpCentersCursorPage, HelpCenter>;
54
- /**
55
- * Retrieves a single help center by its unique identifier.
56
- *
57
- * Returns the help center object if found in your organization.
58
- *
59
- * ### Response
60
- *
61
- * Returns a help center object with:
62
- *
63
- * - `id` - Unique identifier
64
- * - `displayName` - Help center display name
65
- * - `title` - Help center title
66
- * - `description` - Help center description
67
- * - `searchPlaceholder` - Search input placeholder text
68
- * - `isPublic` - Whether the help center is publicly accessible
69
- * - `defaultLocale` - Default locale for content
70
- * - `locale` - Current locale
71
- * - `availableLocales` - Array of available locales
72
- * - `navItems` - Navigation items configuration
73
- * - `urls` - URL configuration (subpath, custom domain)
74
- * - `createdAt` - ISO 8601 timestamp when created
75
- * - `updatedAt` - ISO 8601 timestamp when last updated
76
- *
77
- * ### Errors
78
- *
79
- * - `404` - Help center not found in your organization
80
- *
81
- * @example
82
- * ```ts
83
- * const helpCenter =
84
- * await client.helpCenter.helpCenters.retrieve(
85
- * '2tgy0ig982j54qfl',
86
- * );
87
- * ```
88
- */
89
- retrieve(id: string, params?: HelpCenterRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<HelpCenter>;
90
90
  }
91
91
  export type HelpCentersCursorPage = CursorPage<HelpCenter>;
92
92
  export interface HelpCenter {
@@ -97,7 +97,7 @@ export interface HelpCenter {
97
97
  /**
98
98
  * Available locales
99
99
  */
100
- availableLocales: Array<'bn' | 'bs' | 'pt-BR' | 'bg' | 'ca' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'et' | 'fi' | 'fr' | 'de' | 'el' | 'hi' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lv' | 'lt' | 'ms' | 'mn' | 'nb' | 'pl' | 'pt' | 'ro' | 'ru' | 'sr' | 'zh-CN' | 'sk' | 'sl' | 'es' | 'sw' | 'sv' | 'th' | 'zh-TW' | 'tr' | 'uk' | 'vi'>;
100
+ availableLocales: Array<'ar' | 'am' | 'fa' | 'ht' | 'lo' | 'my' | 'pa' | 'ps' | 'so' | 'tl' | 'ur' | 'he' | 'ta' | 'te' | 'mr' | 'gu' | 'kn' | 'ml' | 'ha' | 'jv' | 'yo' | 'ig' | 'uz' | 'ne' | 'sd' | 'az' | 'si' | 'km' | 'kk' | 'bn' | 'bs' | 'pt-BR' | 'bg' | 'ca' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'et' | 'fi' | 'fr' | 'de' | 'el' | 'hi' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lv' | 'lt' | 'ms' | 'mn' | 'nb' | 'pl' | 'pt' | 'ro' | 'ru' | 'sr' | 'zh-CN' | 'sk' | 'sl' | 'es' | 'sw' | 'sv' | 'th' | 'zh-TW' | 'tr' | 'uk' | 'vi'>;
101
101
  /**
102
102
  * ISO 8601 timestamp when created
103
103
  */
@@ -105,7 +105,7 @@ export interface HelpCenter {
105
105
  /**
106
106
  * Default locale for the help center
107
107
  */
108
- defaultLocale: 'bn' | 'bs' | 'pt-BR' | 'bg' | 'ca' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'et' | 'fi' | 'fr' | 'de' | 'el' | 'hi' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lv' | 'lt' | 'ms' | 'mn' | 'nb' | 'pl' | 'pt' | 'ro' | 'ru' | 'sr' | 'zh-CN' | 'sk' | 'sl' | 'es' | 'sw' | 'sv' | 'th' | 'zh-TW' | 'tr' | 'uk' | 'vi';
108
+ defaultLocale: 'ar' | 'am' | 'fa' | 'ht' | 'lo' | 'my' | 'pa' | 'ps' | 'so' | 'tl' | 'ur' | 'he' | 'ta' | 'te' | 'mr' | 'gu' | 'kn' | 'ml' | 'ha' | 'jv' | 'yo' | 'ig' | 'uz' | 'ne' | 'sd' | 'az' | 'si' | 'km' | 'kk' | 'bn' | 'bs' | 'pt-BR' | 'bg' | 'ca' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'et' | 'fi' | 'fr' | 'de' | 'el' | 'hi' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lv' | 'lt' | 'ms' | 'mn' | 'nb' | 'pl' | 'pt' | 'ro' | 'ru' | 'sr' | 'zh-CN' | 'sk' | 'sl' | 'es' | 'sw' | 'sv' | 'th' | 'zh-TW' | 'tr' | 'uk' | 'vi';
109
109
  /**
110
110
  * Whether the help center is public
111
111
  */
@@ -113,7 +113,7 @@ export interface HelpCenter {
113
113
  /**
114
114
  * Current locale
115
115
  */
116
- locale: 'bn' | 'bs' | 'pt-BR' | 'bg' | 'ca' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'et' | 'fi' | 'fr' | 'de' | 'el' | 'hi' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lv' | 'lt' | 'ms' | 'mn' | 'nb' | 'pl' | 'pt' | 'ro' | 'ru' | 'sr' | 'zh-CN' | 'sk' | 'sl' | 'es' | 'sw' | 'sv' | 'th' | 'zh-TW' | 'tr' | 'uk' | 'vi';
116
+ locale: 'ar' | 'am' | 'fa' | 'ht' | 'lo' | 'my' | 'pa' | 'ps' | 'so' | 'tl' | 'ur' | 'he' | 'ta' | 'te' | 'mr' | 'gu' | 'kn' | 'ml' | 'ha' | 'jv' | 'yo' | 'ig' | 'uz' | 'ne' | 'sd' | 'az' | 'si' | 'km' | 'kk' | 'bn' | 'bs' | 'pt-BR' | 'bg' | 'ca' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'et' | 'fi' | 'fr' | 'de' | 'el' | 'hi' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lv' | 'lt' | 'ms' | 'mn' | 'nb' | 'pl' | 'pt' | 'ro' | 'ru' | 'sr' | 'zh-CN' | 'sk' | 'sl' | 'es' | 'sw' | 'sv' | 'th' | 'zh-TW' | 'tr' | 'uk' | 'vi';
117
117
  /**
118
118
  * Object type identifier
119
119
  */
@@ -177,6 +177,9 @@ export declare namespace HelpCenter {
177
177
  */
178
178
  interface Translations {
179
179
  id?: HelpCentersAPI.HelpCenterTranslation;
180
+ am?: HelpCentersAPI.HelpCenterTranslation;
181
+ ar?: HelpCentersAPI.HelpCenterTranslation;
182
+ az?: HelpCentersAPI.HelpCenterTranslation;
180
183
  bg?: HelpCentersAPI.HelpCenterTranslation;
181
184
  bn?: HelpCentersAPI.HelpCenterTranslation;
182
185
  bs?: HelpCentersAPI.HelpCenterTranslation;
@@ -188,34 +191,60 @@ export declare namespace HelpCenter {
188
191
  en?: HelpCentersAPI.HelpCenterTranslation;
189
192
  es?: HelpCentersAPI.HelpCenterTranslation;
190
193
  et?: HelpCentersAPI.HelpCenterTranslation;
194
+ fa?: HelpCentersAPI.HelpCenterTranslation;
191
195
  fi?: HelpCentersAPI.HelpCenterTranslation;
192
196
  fr?: HelpCentersAPI.HelpCenterTranslation;
197
+ gu?: HelpCentersAPI.HelpCenterTranslation;
198
+ ha?: HelpCentersAPI.HelpCenterTranslation;
199
+ he?: HelpCentersAPI.HelpCenterTranslation;
193
200
  hi?: HelpCentersAPI.HelpCenterTranslation;
194
201
  hr?: HelpCentersAPI.HelpCenterTranslation;
202
+ ht?: HelpCentersAPI.HelpCenterTranslation;
195
203
  hu?: HelpCentersAPI.HelpCenterTranslation;
204
+ ig?: HelpCentersAPI.HelpCenterTranslation;
196
205
  it?: HelpCentersAPI.HelpCenterTranslation;
197
206
  ja?: HelpCentersAPI.HelpCenterTranslation;
207
+ jv?: HelpCentersAPI.HelpCenterTranslation;
208
+ kk?: HelpCentersAPI.HelpCenterTranslation;
209
+ km?: HelpCentersAPI.HelpCenterTranslation;
210
+ kn?: HelpCentersAPI.HelpCenterTranslation;
198
211
  ko?: HelpCentersAPI.HelpCenterTranslation;
212
+ lo?: HelpCentersAPI.HelpCenterTranslation;
199
213
  lt?: HelpCentersAPI.HelpCenterTranslation;
200
214
  lv?: HelpCentersAPI.HelpCenterTranslation;
215
+ ml?: HelpCentersAPI.HelpCenterTranslation;
201
216
  mn?: HelpCentersAPI.HelpCenterTranslation;
217
+ mr?: HelpCentersAPI.HelpCenterTranslation;
202
218
  ms?: HelpCentersAPI.HelpCenterTranslation;
219
+ my?: HelpCentersAPI.HelpCenterTranslation;
203
220
  nb?: HelpCentersAPI.HelpCenterTranslation;
221
+ ne?: HelpCentersAPI.HelpCenterTranslation;
204
222
  nl?: HelpCentersAPI.HelpCenterTranslation;
223
+ pa?: HelpCentersAPI.HelpCenterTranslation;
205
224
  pl?: HelpCentersAPI.HelpCenterTranslation;
225
+ ps?: HelpCentersAPI.HelpCenterTranslation;
206
226
  pt?: HelpCentersAPI.HelpCenterTranslation;
207
227
  'pt-BR'?: HelpCentersAPI.HelpCenterTranslation;
208
228
  ro?: HelpCentersAPI.HelpCenterTranslation;
209
229
  ru?: HelpCentersAPI.HelpCenterTranslation;
230
+ sd?: HelpCentersAPI.HelpCenterTranslation;
231
+ si?: HelpCentersAPI.HelpCenterTranslation;
210
232
  sk?: HelpCentersAPI.HelpCenterTranslation;
211
233
  sl?: HelpCentersAPI.HelpCenterTranslation;
234
+ so?: HelpCentersAPI.HelpCenterTranslation;
212
235
  sr?: HelpCentersAPI.HelpCenterTranslation;
213
236
  sv?: HelpCentersAPI.HelpCenterTranslation;
214
237
  sw?: HelpCentersAPI.HelpCenterTranslation;
238
+ ta?: HelpCentersAPI.HelpCenterTranslation;
239
+ te?: HelpCentersAPI.HelpCenterTranslation;
215
240
  th?: HelpCentersAPI.HelpCenterTranslation;
241
+ tl?: HelpCentersAPI.HelpCenterTranslation;
216
242
  tr?: HelpCentersAPI.HelpCenterTranslation;
217
243
  uk?: HelpCentersAPI.HelpCenterTranslation;
244
+ ur?: HelpCentersAPI.HelpCenterTranslation;
245
+ uz?: HelpCentersAPI.HelpCenterTranslation;
218
246
  vi?: HelpCentersAPI.HelpCenterTranslation;
247
+ yo?: HelpCentersAPI.HelpCenterTranslation;
219
248
  'zh-CN'?: HelpCentersAPI.HelpCenterTranslation;
220
249
  'zh-TW'?: HelpCentersAPI.HelpCenterTranslation;
221
250
  }
@@ -273,21 +302,21 @@ export interface HelpCenterTranslation {
273
302
  */
274
303
  title?: string;
275
304
  }
276
- export interface HelpCenterListParams extends CursorPageParams {
277
- /**
278
- * Header param: API version for this request. Defaults to your organization's
279
- * configured API version if not specified.
280
- */
281
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
282
- }
283
305
  export interface HelpCenterRetrieveParams {
284
306
  /**
285
307
  * API version for this request. Defaults to your organization's configured API
286
308
  * version if not specified.
287
309
  */
288
- 'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
310
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
311
+ }
312
+ export interface HelpCenterListParams extends CursorPageParams {
313
+ /**
314
+ * Header param: API version for this request. Defaults to your organization's
315
+ * configured API version if not specified.
316
+ */
317
+ 'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
289
318
  }
290
319
  export declare namespace HelpCenters {
291
- export { type HelpCenter as HelpCenter, type HelpCenterNavItem as HelpCenterNavItem, type HelpCenterTranslation as HelpCenterTranslation, type HelpCentersCursorPage as HelpCentersCursorPage, type HelpCenterListParams as HelpCenterListParams, type HelpCenterRetrieveParams as HelpCenterRetrieveParams, };
320
+ export { type HelpCenter as HelpCenter, type HelpCenterNavItem as HelpCenterNavItem, type HelpCenterTranslation as HelpCenterTranslation, type HelpCentersCursorPage as HelpCentersCursorPage, type HelpCenterRetrieveParams as HelpCenterRetrieveParams, type HelpCenterListParams as HelpCenterListParams, };
292
321
  }
293
322
  //# sourceMappingURL=help-centers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"help-centers.d.ts","sourceRoot":"","sources":["../../src/resources/help-center/help-centers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,K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AAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
1
+ {"version":3,"file":"help-centers.d.ts","sourceRoot":"","sources":["../../src/resources/help-center/help-centers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,cAAc,0BAAuB;AACjD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,iCAA8B;AAEvF,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC;IAezB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,IAAI,CACF,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qBAAqB,EAAE,UAAU,CAAC;CAelD;AAED,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC;AAE3D,MA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C7B;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IAExB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAEpC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -11,52 +11,43 @@ const path_1 = require("../../internal/utils/path.js");
11
11
  */
12
12
  class HelpCenters extends resource_1.APIResource {
13
13
  /**
14
- * Returns all help centers configured in your Featurebase organization.
15
- *
16
- * Currently, Featurebase only supports one help center per organization, but we
17
- * plan on supporting multiple help centers in the future.
18
- *
19
- * ### Query Parameters
20
- *
21
- * - `limit` - Number of items to return (1-100, default 10)
22
- * - `cursor` - Cursor for pagination
23
- *
24
- * ### Response Format
25
- *
26
- * Returns a list object with:
14
+ * Retrieves a single help center by its unique identifier.
27
15
  *
28
- * - `object` - Always "list"
29
- * - `data` - Array of help center objects
30
- * - `nextCursor` - Cursor for next page (null if no more results)
16
+ * Returns the help center object if found in your organization.
31
17
  *
32
- * ### Help Center Object
18
+ * ### Response
33
19
  *
34
- * Each help center includes:
20
+ * Returns a help center object with:
35
21
  *
36
22
  * - `id` - Unique identifier
37
23
  * - `displayName` - Help center display name
38
24
  * - `title` - Help center title
39
25
  * - `description` - Help center description
26
+ * - `searchPlaceholder` - Search input placeholder text
40
27
  * - `isPublic` - Whether the help center is publicly accessible
41
28
  * - `defaultLocale` - Default locale for content
29
+ * - `locale` - Current locale
42
30
  * - `availableLocales` - Array of available locales
43
31
  * - `navItems` - Navigation items configuration
44
32
  * - `urls` - URL configuration (subpath, custom domain)
45
33
  * - `createdAt` - ISO 8601 timestamp when created
46
34
  * - `updatedAt` - ISO 8601 timestamp when last updated
47
35
  *
36
+ * ### Errors
37
+ *
38
+ * - `404` - Help center not found in your organization
39
+ *
48
40
  * @example
49
41
  * ```ts
50
- * // Automatically fetches more pages as needed.
51
- * for await (const helpCenter of client.helpCenter.helpCenters.list()) {
52
- * // ...
53
- * }
42
+ * const helpCenter =
43
+ * await client.helpCenter.helpCenters.retrieve(
44
+ * '2tgy0ig982j54qfl',
45
+ * );
54
46
  * ```
55
47
  */
56
- list(params = {}, options) {
57
- const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
58
- return this._client.getAPIList('/v2/help_center/help_centers', (pagination_1.CursorPage), {
59
- query,
48
+ retrieve(id, params = {}, options) {
49
+ const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
50
+ return this._client.get((0, path_1.path) `/v2/help_center/help_centers/${id}`, {
60
51
  ...options,
61
52
  headers: (0, headers_1.buildHeaders)([
62
53
  {
@@ -69,43 +60,52 @@ class HelpCenters extends resource_1.APIResource {
69
60
  });
70
61
  }
71
62
  /**
72
- * Retrieves a single help center by its unique identifier.
63
+ * Returns all help centers configured in your Featurebase organization.
73
64
  *
74
- * Returns the help center object if found in your organization.
65
+ * Currently, Featurebase only supports one help center per organization, but we
66
+ * plan on supporting multiple help centers in the future.
75
67
  *
76
- * ### Response
68
+ * ### Query Parameters
77
69
  *
78
- * Returns a help center object with:
70
+ * - `limit` - Number of items to return (1-100, default 10)
71
+ * - `cursor` - Cursor for pagination
72
+ *
73
+ * ### Response Format
74
+ *
75
+ * Returns a list object with:
76
+ *
77
+ * - `object` - Always "list"
78
+ * - `data` - Array of help center objects
79
+ * - `nextCursor` - Cursor for next page (null if no more results)
80
+ *
81
+ * ### Help Center Object
82
+ *
83
+ * Each help center includes:
79
84
  *
80
85
  * - `id` - Unique identifier
81
86
  * - `displayName` - Help center display name
82
87
  * - `title` - Help center title
83
88
  * - `description` - Help center description
84
- * - `searchPlaceholder` - Search input placeholder text
85
89
  * - `isPublic` - Whether the help center is publicly accessible
86
90
  * - `defaultLocale` - Default locale for content
87
- * - `locale` - Current locale
88
91
  * - `availableLocales` - Array of available locales
89
92
  * - `navItems` - Navigation items configuration
90
93
  * - `urls` - URL configuration (subpath, custom domain)
91
94
  * - `createdAt` - ISO 8601 timestamp when created
92
95
  * - `updatedAt` - ISO 8601 timestamp when last updated
93
96
  *
94
- * ### Errors
95
- *
96
- * - `404` - Help center not found in your organization
97
- *
98
97
  * @example
99
98
  * ```ts
100
- * const helpCenter =
101
- * await client.helpCenter.helpCenters.retrieve(
102
- * '2tgy0ig982j54qfl',
103
- * );
99
+ * // Automatically fetches more pages as needed.
100
+ * for await (const helpCenter of client.helpCenter.helpCenters.list()) {
101
+ * // ...
102
+ * }
104
103
  * ```
105
104
  */
106
- retrieve(id, params = {}, options) {
107
- const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
108
- return this._client.get((0, path_1.path) `/v2/help_center/help_centers/${id}`, {
105
+ list(params = {}, options) {
106
+ const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
107
+ return this._client.getAPIList('/v2/help_center/help_centers', (pagination_1.CursorPage), {
108
+ query,
109
109
  ...options,
110
110
  headers: (0, headers_1.buildHeaders)([
111
111
  {
@@ -1 +1 @@
1
- {"version":3,"file":"help-centers.js","sourceRoot":"","sources":["../../src/resources/help-center/help-centers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,IAAI,CACF,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAA,uBAAsB,CAAA,EAAE;YACrF,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,QAAQ,CACN,EAAU,EACV,SAAsD,EAAE,EACxD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gCAAgC,EAAE,EAAE,EAAE;YAChE,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;AApHD,kCAoHC"}
1
+ {"version":3,"file":"help-centers.js","sourceRoot":"","sources":["../../src/resources/help-center/help-centers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,QAAQ,CACN,EAAU,EACV,SAAsD,EAAE,EACxD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gCAAgC,EAAE,EAAE,EAAE;YAChE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,IAAI,CACF,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAA,uBAAsB,CAAA,EAAE;YACrF,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AApHD,kCAoHC"}
@@ -8,52 +8,43 @@ import { path } from "../../internal/utils/path.mjs";
8
8
  */
9
9
  export class HelpCenters extends APIResource {
10
10
  /**
11
- * Returns all help centers configured in your Featurebase organization.
12
- *
13
- * Currently, Featurebase only supports one help center per organization, but we
14
- * plan on supporting multiple help centers in the future.
15
- *
16
- * ### Query Parameters
17
- *
18
- * - `limit` - Number of items to return (1-100, default 10)
19
- * - `cursor` - Cursor for pagination
20
- *
21
- * ### Response Format
22
- *
23
- * Returns a list object with:
11
+ * Retrieves a single help center by its unique identifier.
24
12
  *
25
- * - `object` - Always "list"
26
- * - `data` - Array of help center objects
27
- * - `nextCursor` - Cursor for next page (null if no more results)
13
+ * Returns the help center object if found in your organization.
28
14
  *
29
- * ### Help Center Object
15
+ * ### Response
30
16
  *
31
- * Each help center includes:
17
+ * Returns a help center object with:
32
18
  *
33
19
  * - `id` - Unique identifier
34
20
  * - `displayName` - Help center display name
35
21
  * - `title` - Help center title
36
22
  * - `description` - Help center description
23
+ * - `searchPlaceholder` - Search input placeholder text
37
24
  * - `isPublic` - Whether the help center is publicly accessible
38
25
  * - `defaultLocale` - Default locale for content
26
+ * - `locale` - Current locale
39
27
  * - `availableLocales` - Array of available locales
40
28
  * - `navItems` - Navigation items configuration
41
29
  * - `urls` - URL configuration (subpath, custom domain)
42
30
  * - `createdAt` - ISO 8601 timestamp when created
43
31
  * - `updatedAt` - ISO 8601 timestamp when last updated
44
32
  *
33
+ * ### Errors
34
+ *
35
+ * - `404` - Help center not found in your organization
36
+ *
45
37
  * @example
46
38
  * ```ts
47
- * // Automatically fetches more pages as needed.
48
- * for await (const helpCenter of client.helpCenter.helpCenters.list()) {
49
- * // ...
50
- * }
39
+ * const helpCenter =
40
+ * await client.helpCenter.helpCenters.retrieve(
41
+ * '2tgy0ig982j54qfl',
42
+ * );
51
43
  * ```
52
44
  */
53
- list(params = {}, options) {
54
- const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
55
- return this._client.getAPIList('/v2/help_center/help_centers', (CursorPage), {
56
- query,
45
+ retrieve(id, params = {}, options) {
46
+ const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
47
+ return this._client.get(path `/v2/help_center/help_centers/${id}`, {
57
48
  ...options,
58
49
  headers: buildHeaders([
59
50
  {
@@ -66,43 +57,52 @@ export class HelpCenters extends APIResource {
66
57
  });
67
58
  }
68
59
  /**
69
- * Retrieves a single help center by its unique identifier.
60
+ * Returns all help centers configured in your Featurebase organization.
70
61
  *
71
- * Returns the help center object if found in your organization.
62
+ * Currently, Featurebase only supports one help center per organization, but we
63
+ * plan on supporting multiple help centers in the future.
72
64
  *
73
- * ### Response
65
+ * ### Query Parameters
74
66
  *
75
- * Returns a help center object with:
67
+ * - `limit` - Number of items to return (1-100, default 10)
68
+ * - `cursor` - Cursor for pagination
69
+ *
70
+ * ### Response Format
71
+ *
72
+ * Returns a list object with:
73
+ *
74
+ * - `object` - Always "list"
75
+ * - `data` - Array of help center objects
76
+ * - `nextCursor` - Cursor for next page (null if no more results)
77
+ *
78
+ * ### Help Center Object
79
+ *
80
+ * Each help center includes:
76
81
  *
77
82
  * - `id` - Unique identifier
78
83
  * - `displayName` - Help center display name
79
84
  * - `title` - Help center title
80
85
  * - `description` - Help center description
81
- * - `searchPlaceholder` - Search input placeholder text
82
86
  * - `isPublic` - Whether the help center is publicly accessible
83
87
  * - `defaultLocale` - Default locale for content
84
- * - `locale` - Current locale
85
88
  * - `availableLocales` - Array of available locales
86
89
  * - `navItems` - Navigation items configuration
87
90
  * - `urls` - URL configuration (subpath, custom domain)
88
91
  * - `createdAt` - ISO 8601 timestamp when created
89
92
  * - `updatedAt` - ISO 8601 timestamp when last updated
90
93
  *
91
- * ### Errors
92
- *
93
- * - `404` - Help center not found in your organization
94
- *
95
94
  * @example
96
95
  * ```ts
97
- * const helpCenter =
98
- * await client.helpCenter.helpCenters.retrieve(
99
- * '2tgy0ig982j54qfl',
100
- * );
96
+ * // Automatically fetches more pages as needed.
97
+ * for await (const helpCenter of client.helpCenter.helpCenters.list()) {
98
+ * // ...
99
+ * }
101
100
  * ```
102
101
  */
103
- retrieve(id, params = {}, options) {
104
- const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
105
- return this._client.get(path `/v2/help_center/help_centers/${id}`, {
102
+ list(params = {}, options) {
103
+ const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
104
+ return this._client.getAPIList('/v2/help_center/help_centers', (CursorPage), {
105
+ query,
106
106
  ...options,
107
107
  headers: buildHeaders([
108
108
  {
@@ -1 +1 @@
1
- {"version":3,"file":"help-centers.mjs","sourceRoot":"","sources":["../../src/resources/help-center/help-centers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,UAAU,EAAsC,kCAA8B;AACvF,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,IAAI,CACF,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAA,UAAsB,CAAA,EAAE;YACrF,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,QAAQ,CACN,EAAU,EACV,SAAsD,EAAE,EACxD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gCAAgC,EAAE,EAAE,EAAE;YAChE,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":"help-centers.mjs","sourceRoot":"","sources":["../../src/resources/help-center/help-centers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;A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C,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,6 +1,6 @@
1
- export { Articles, type Article, type ArticleAuthor, type ArticleIcon, type ArticleIconInputNova, type ArticleTranslation, type ArticleTranslationInputNova, type EditArticleBodyBody, type EditArticleBodyPreview, type EditArticleBodyResponse, type ArticleDeleteResponse, type ArticleSearchResponse, type ArticleListParams, type ArticleCreateParams, type ArticleRetrieveParams, type ArticleUpdateParams, type ArticleDeleteParams, type ArticleEditBodyParams, type ArticleSearchParams, type ArticlesCursorPage, } from "./articles.mjs";
2
- export { Collections, type Collection, type CollectionIconNova, type CollectionTranslation, type CollectionTranslationInputNova, type CollectionDeleteResponse, type CollectionListParams, type CollectionCreateParams, type CollectionRetrieveParams, type CollectionUpdateParams, type CollectionDeleteParams, type CollectionsCursorPage, } from "./collections.mjs";
1
+ export { Articles, type Article, type ArticleAuthor, type ArticleIcon, type ArticleIconInputNova, type ArticleTranslation, type ArticleTranslationInputNova, type EditArticleBodyBody, type EditArticleBodyPreview, type EditArticleBodyResponse, type ArticleDeleteResponse, type ArticleSearchResponse, type ArticleCreateParams, type ArticleRetrieveParams, type ArticleUpdateParams, type ArticleListParams, type ArticleDeleteParams, type ArticleEditBodyParams, type ArticleSearchParams, type ArticlesCursorPage, } from "./articles.mjs";
2
+ export { Collections, type Collection, type CollectionIconNova, type CollectionTranslation, type CollectionTranslationInputNova, type CollectionDeleteResponse, type CollectionCreateParams, type CollectionRetrieveParams, type CollectionUpdateParams, type CollectionListParams, type CollectionDeleteParams, type CollectionsCursorPage, } from "./collections.mjs";
3
3
  export { HelpCenter } from "./help-center.mjs";
4
- export { HelpCenters, type HelpCenterNavItem, type HelpCenterTranslation, type HelpCenterListParams, type HelpCenterRetrieveParams, type HelpCentersCursorPage, } from "./help-centers.mjs";
5
- export { RedirectRules, type RedirectRule, type RedirectRuleDeleteResponse, type RedirectRuleListParams, type RedirectRuleCreateParams, type RedirectRuleRetrieveByURLParams, type RedirectRuleRetrieveParams, type RedirectRuleUpdateParams, type RedirectRuleDeleteParams, type RedirectRulesCursorPage, } from "./redirect-rules.mjs";
4
+ export { HelpCenters, type HelpCenterNavItem, type HelpCenterTranslation, type HelpCenterRetrieveParams, type HelpCenterListParams, type HelpCentersCursorPage, } from "./help-centers.mjs";
5
+ export { RedirectRules, type RedirectRule, type RedirectRuleDeleteResponse, type RedirectRuleCreateParams, type RedirectRuleRetrieveParams, type RedirectRuleUpdateParams, type RedirectRuleListParams, type RedirectRuleDeleteParams, type RedirectRuleRetrieveByURLParams, type RedirectRulesCursorPage, } from "./redirect-rules.mjs";
6
6
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/help-center/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,uBAAmB;AACpB,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,GAC3B,0BAAsB;AACvB,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,EACX,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,2BAAuB;AACxB,OAAO,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,KAAK,uBAAuB,GAC7B,6BAAyB"}
@@ -1,6 +1,6 @@
1
- export { Articles, type Article, type ArticleAuthor, type ArticleIcon, type ArticleIconInputNova, type ArticleTranslation, type ArticleTranslationInputNova, type EditArticleBodyBody, type EditArticleBodyPreview, type EditArticleBodyResponse, type ArticleDeleteResponse, type ArticleSearchResponse, type ArticleListParams, type ArticleCreateParams, type ArticleRetrieveParams, type ArticleUpdateParams, type ArticleDeleteParams, type ArticleEditBodyParams, type ArticleSearchParams, type ArticlesCursorPage, } from "./articles.js";
2
- export { Collections, type Collection, type CollectionIconNova, type CollectionTranslation, type CollectionTranslationInputNova, type CollectionDeleteResponse, type CollectionListParams, type CollectionCreateParams, type CollectionRetrieveParams, type CollectionUpdateParams, type CollectionDeleteParams, type CollectionsCursorPage, } from "./collections.js";
1
+ export { Articles, type Article, type ArticleAuthor, type ArticleIcon, type ArticleIconInputNova, type ArticleTranslation, type ArticleTranslationInputNova, type EditArticleBodyBody, type EditArticleBodyPreview, type EditArticleBodyResponse, type ArticleDeleteResponse, type ArticleSearchResponse, type ArticleCreateParams, type ArticleRetrieveParams, type ArticleUpdateParams, type ArticleListParams, type ArticleDeleteParams, type ArticleEditBodyParams, type ArticleSearchParams, type ArticlesCursorPage, } from "./articles.js";
2
+ export { Collections, type Collection, type CollectionIconNova, type CollectionTranslation, type CollectionTranslationInputNova, type CollectionDeleteResponse, type CollectionCreateParams, type CollectionRetrieveParams, type CollectionUpdateParams, type CollectionListParams, type CollectionDeleteParams, type CollectionsCursorPage, } from "./collections.js";
3
3
  export { HelpCenter } from "./help-center.js";
4
- export { HelpCenters, type HelpCenterNavItem, type HelpCenterTranslation, type HelpCenterListParams, type HelpCenterRetrieveParams, type HelpCentersCursorPage, } from "./help-centers.js";
5
- export { RedirectRules, type RedirectRule, type RedirectRuleDeleteResponse, type RedirectRuleListParams, type RedirectRuleCreateParams, type RedirectRuleRetrieveByURLParams, type RedirectRuleRetrieveParams, type RedirectRuleUpdateParams, type RedirectRuleDeleteParams, type RedirectRulesCursorPage, } from "./redirect-rules.js";
4
+ export { HelpCenters, type HelpCenterNavItem, type HelpCenterTranslation, type HelpCenterRetrieveParams, type HelpCenterListParams, type HelpCentersCursorPage, } from "./help-centers.js";
5
+ export { RedirectRules, type RedirectRule, type RedirectRuleDeleteResponse, type RedirectRuleCreateParams, type RedirectRuleRetrieveParams, type RedirectRuleUpdateParams, type RedirectRuleListParams, type RedirectRuleDeleteParams, type RedirectRuleRetrieveByURLParams, type RedirectRulesCursorPage, } from "./redirect-rules.js";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/help-center/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,sBAAmB;AACpB,OAAO,EACL,WAAW,EACX,KAAK,UA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