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
@@ -6,49 +6,6 @@ import { RequestOptions } from "../../internal/request-options.js";
6
6
  * Brands represent distinct brand identities within your organization. Each brand can have its own help center and email sending address. Use this endpoint to list and retrieve brand information.
7
7
  */
8
8
  export declare class Brands extends APIResource {
9
- /**
10
- * Retrieves a single brand by its Featurebase ID.
11
- *
12
- * ### Path Parameters
13
- *
14
- * - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
15
- *
16
- * ### Response
17
- *
18
- * Returns a brand object with:
19
- *
20
- * - `id` - Featurebase internal ID
21
- * - `name` - Brand display name
22
- * - `isDefault` - Whether this is the default brand
23
- * - `createdAt` - Creation timestamp
24
- * - `updatedAt` - Last update timestamp
25
- * - `helpCenterId` - Associated help center ID
26
- * - `senderEmailAddressId` - Default sender email address ID
27
- *
28
- * ### Example Response
29
- *
30
- * ```json
31
- * {
32
- * "object": "brand",
33
- * "id": "507f1f77bcf86cd799439011",
34
- * "name": "Default Brand",
35
- * "isDefault": true,
36
- * "createdAt": "2025-01-01T12:00:00.000Z",
37
- * "updatedAt": "2025-01-10T15:30:00.000Z",
38
- * "helpCenterId": "11",
39
- * "senderEmailAddressId": "507f1f77bcf86cd799439012"
40
- * }
41
- * ```
42
- *
43
- * ### Error Responses
44
- *
45
- * - **404 Not Found** - Brand with the specified ID does not exist
46
- *
47
- * ### Version Availability
48
- *
49
- * This endpoint is only available in API version 2026-01-01.nova and newer.
50
- */
51
- retrieve(id: string, params?: BrandRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Brand>;
52
9
  /**
53
10
  * Returns all brands in your organization with cursor-based pagination.
54
11
  *
@@ -103,6 +60,49 @@ export declare class Brands extends APIResource {
103
60
  * This endpoint is only available in API version 2026-01-01.nova and newer.
104
61
  */
105
62
  list(params?: BrandListParams | null | undefined, options?: RequestOptions): PagePromise<BrandsCursorPage, Brand>;
63
+ /**
64
+ * Retrieves a single brand by its Featurebase ID.
65
+ *
66
+ * ### Path Parameters
67
+ *
68
+ * - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
69
+ *
70
+ * ### Response
71
+ *
72
+ * Returns a brand object with:
73
+ *
74
+ * - `id` - Featurebase internal ID
75
+ * - `name` - Brand display name
76
+ * - `isDefault` - Whether this is the default brand
77
+ * - `createdAt` - Creation timestamp
78
+ * - `updatedAt` - Last update timestamp
79
+ * - `helpCenterId` - Associated help center ID
80
+ * - `senderEmailAddressId` - Default sender email address ID
81
+ *
82
+ * ### Example Response
83
+ *
84
+ * ```json
85
+ * {
86
+ * "object": "brand",
87
+ * "id": "507f1f77bcf86cd799439011",
88
+ * "name": "Default Brand",
89
+ * "isDefault": true,
90
+ * "createdAt": "2025-01-01T12:00:00.000Z",
91
+ * "updatedAt": "2025-01-10T15:30:00.000Z",
92
+ * "helpCenterId": "11",
93
+ * "senderEmailAddressId": "507f1f77bcf86cd799439012"
94
+ * }
95
+ * ```
96
+ *
97
+ * ### Error Responses
98
+ *
99
+ * - **404 Not Found** - Brand with the specified ID does not exist
100
+ *
101
+ * ### Version Availability
102
+ *
103
+ * This endpoint is only available in API version 2026-01-01.nova and newer.
104
+ */
105
+ retrieve(id: string, params?: BrandRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Brand>;
106
106
  }
107
107
  export type BrandsCursorPage = CursorPage<Brand>;
108
108
  export interface Brand {
@@ -139,21 +139,21 @@ export interface Brand {
139
139
  */
140
140
  updatedAt: string | null;
141
141
  }
142
- export interface BrandRetrieveParams {
142
+ export interface BrandListParams extends CursorPageParams {
143
143
  /**
144
- * API version for this request. Defaults to your organization's configured API
145
- * version if not specified.
144
+ * Header param: API version for this request. Defaults to your organization's
145
+ * configured API version if not specified.
146
146
  */
147
147
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
148
148
  }
149
- export interface BrandListParams extends CursorPageParams {
149
+ export interface BrandRetrieveParams {
150
150
  /**
151
- * Header param: API version for this request. Defaults to your organization's
152
- * configured API version if not specified.
151
+ * API version for this request. Defaults to your organization's configured API
152
+ * version if not specified.
153
153
  */
154
154
  'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
155
155
  }
156
156
  export declare namespace Brands {
157
- export { type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type BrandRetrieveParams as BrandRetrieveParams, type BrandListParams as BrandListParams, };
157
+ export { type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type BrandListParams as BrandListParams, type BrandRetrieveParams as BrandRetrieveParams, };
158
158
  }
159
159
  //# sourceMappingURL=brands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"brands.d.ts","sourceRoot":"","sources":["../../src/resources/organization/brands.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,KAAK,CAAC;IAepB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoDG;IACH,IAAI,CACF,MAAM,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WA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EACnB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -11,17 +11,26 @@ const path_1 = require("../../internal/utils/path.js");
11
11
  */
12
12
  class Brands extends resource_1.APIResource {
13
13
  /**
14
- * Retrieves a single brand by its Featurebase ID.
14
+ * Returns all brands in your organization with cursor-based pagination.
15
15
  *
16
- * ### Path Parameters
16
+ * ### Query Parameters
17
17
  *
18
- * - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
18
+ * - `limit` - Number of brands to return (1-100, default: 10)
19
+ * - `cursor` - Opaque cursor from a previous response for pagination
19
20
  *
20
- * ### Response
21
+ * ### Response Structure
21
22
  *
22
- * Returns a brand object with:
23
+ * The response includes:
23
24
  *
24
- * - `id` - Featurebase internal ID
25
+ * - `object` - Always "list"
26
+ * - `data` - Array of brand objects
27
+ * - `nextCursor` - Cursor for the next page (null if no more results)
28
+ *
29
+ * ### Brand Object
30
+ *
31
+ * Each brand includes:
32
+ *
33
+ * - `id` - Featurebase internal ID (MongoDB ObjectId)
25
34
  * - `name` - Brand display name
26
35
  * - `isDefault` - Whether this is the default brand
27
36
  * - `createdAt` - Creation timestamp
@@ -33,28 +42,31 @@ class Brands extends resource_1.APIResource {
33
42
  *
34
43
  * ```json
35
44
  * {
36
- * "object": "brand",
37
- * "id": "507f1f77bcf86cd799439011",
38
- * "name": "Default Brand",
39
- * "isDefault": true,
40
- * "createdAt": "2025-01-01T12:00:00.000Z",
41
- * "updatedAt": "2025-01-10T15:30:00.000Z",
42
- * "helpCenterId": "11",
43
- * "senderEmailAddressId": "507f1f77bcf86cd799439012"
45
+ * "object": "list",
46
+ * "data": [
47
+ * {
48
+ * "object": "brand",
49
+ * "id": "507f1f77bcf86cd799439011",
50
+ * "name": "Default Brand",
51
+ * "isDefault": true,
52
+ * "createdAt": "2025-01-01T12:00:00.000Z",
53
+ * "updatedAt": "2025-01-10T15:30:00.000Z",
54
+ * "helpCenterId": "11",
55
+ * "senderEmailAddressId": "507f1f77bcf86cd799439012"
56
+ * }
57
+ * ],
58
+ * "nextCursor": null
44
59
  * }
45
60
  * ```
46
61
  *
47
- * ### Error Responses
48
- *
49
- * - **404 Not Found** - Brand with the specified ID does not exist
50
- *
51
62
  * ### Version Availability
52
63
  *
53
64
  * This endpoint is only available in API version 2026-01-01.nova and newer.
54
65
  */
55
- retrieve(id, params = {}, options) {
56
- const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
57
- return this._client.get((0, path_1.path) `/v2/brands/${id}`, {
66
+ list(params = {}, options) {
67
+ const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
68
+ return this._client.getAPIList('/v2/brands', (pagination_1.CursorPage), {
69
+ query,
58
70
  ...options,
59
71
  headers: (0, headers_1.buildHeaders)([
60
72
  {
@@ -67,26 +79,17 @@ class Brands extends resource_1.APIResource {
67
79
  });
68
80
  }
69
81
  /**
70
- * Returns all brands in your organization with cursor-based pagination.
71
- *
72
- * ### Query Parameters
73
- *
74
- * - `limit` - Number of brands to return (1-100, default: 10)
75
- * - `cursor` - Opaque cursor from a previous response for pagination
76
- *
77
- * ### Response Structure
82
+ * Retrieves a single brand by its Featurebase ID.
78
83
  *
79
- * The response includes:
84
+ * ### Path Parameters
80
85
  *
81
- * - `object` - Always "list"
82
- * - `data` - Array of brand objects
83
- * - `nextCursor` - Cursor for the next page (null if no more results)
86
+ * - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
84
87
  *
85
- * ### Brand Object
88
+ * ### Response
86
89
  *
87
- * Each brand includes:
90
+ * Returns a brand object with:
88
91
  *
89
- * - `id` - Featurebase internal ID (MongoDB ObjectId)
92
+ * - `id` - Featurebase internal ID
90
93
  * - `name` - Brand display name
91
94
  * - `isDefault` - Whether this is the default brand
92
95
  * - `createdAt` - Creation timestamp
@@ -98,31 +101,28 @@ class Brands extends resource_1.APIResource {
98
101
  *
99
102
  * ```json
100
103
  * {
101
- * "object": "list",
102
- * "data": [
103
- * {
104
- * "object": "brand",
105
- * "id": "507f1f77bcf86cd799439011",
106
- * "name": "Default Brand",
107
- * "isDefault": true,
108
- * "createdAt": "2025-01-01T12:00:00.000Z",
109
- * "updatedAt": "2025-01-10T15:30:00.000Z",
110
- * "helpCenterId": "11",
111
- * "senderEmailAddressId": "507f1f77bcf86cd799439012"
112
- * }
113
- * ],
114
- * "nextCursor": null
104
+ * "object": "brand",
105
+ * "id": "507f1f77bcf86cd799439011",
106
+ * "name": "Default Brand",
107
+ * "isDefault": true,
108
+ * "createdAt": "2025-01-01T12:00:00.000Z",
109
+ * "updatedAt": "2025-01-10T15:30:00.000Z",
110
+ * "helpCenterId": "11",
111
+ * "senderEmailAddressId": "507f1f77bcf86cd799439012"
115
112
  * }
116
113
  * ```
117
114
  *
115
+ * ### Error Responses
116
+ *
117
+ * - **404 Not Found** - Brand with the specified ID does not exist
118
+ *
118
119
  * ### Version Availability
119
120
  *
120
121
  * This endpoint is only available in API version 2026-01-01.nova and newer.
121
122
  */
122
- list(params = {}, options) {
123
- const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
124
- return this._client.getAPIList('/v2/brands', (pagination_1.CursorPage), {
125
- query,
123
+ retrieve(id, params = {}, options) {
124
+ const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
125
+ return this._client.get((0, path_1.path) `/v2/brands/${id}`, {
126
126
  ...options,
127
127
  headers: (0, headers_1.buildHeaders)([
128
128
  {
@@ -1 +1 @@
1
- {"version":3,"file":"brands.js","sourceRoot":"","sources":["../../src/resources/organization/brands.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,QAAQ,CACN,EAAU,EACV,SAAiD,EAAE,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,CAAC,CAAC;IACL,CAAC;CACF;AArID,wBAqIC"}
@@ -8,17 +8,26 @@ import { path } from "../../internal/utils/path.mjs";
8
8
  */
9
9
  export class Brands extends APIResource {
10
10
  /**
11
- * Retrieves a single brand by its Featurebase ID.
11
+ * Returns all brands in your organization with cursor-based pagination.
12
12
  *
13
- * ### Path Parameters
13
+ * ### Query Parameters
14
14
  *
15
- * - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
15
+ * - `limit` - Number of brands to return (1-100, default: 10)
16
+ * - `cursor` - Opaque cursor from a previous response for pagination
16
17
  *
17
- * ### Response
18
+ * ### Response Structure
18
19
  *
19
- * Returns a brand object with:
20
+ * The response includes:
20
21
  *
21
- * - `id` - Featurebase internal ID
22
+ * - `object` - Always "list"
23
+ * - `data` - Array of brand objects
24
+ * - `nextCursor` - Cursor for the next page (null if no more results)
25
+ *
26
+ * ### Brand Object
27
+ *
28
+ * Each brand includes:
29
+ *
30
+ * - `id` - Featurebase internal ID (MongoDB ObjectId)
22
31
  * - `name` - Brand display name
23
32
  * - `isDefault` - Whether this is the default brand
24
33
  * - `createdAt` - Creation timestamp
@@ -30,28 +39,31 @@ export class Brands extends APIResource {
30
39
  *
31
40
  * ```json
32
41
  * {
33
- * "object": "brand",
34
- * "id": "507f1f77bcf86cd799439011",
35
- * "name": "Default Brand",
36
- * "isDefault": true,
37
- * "createdAt": "2025-01-01T12:00:00.000Z",
38
- * "updatedAt": "2025-01-10T15:30:00.000Z",
39
- * "helpCenterId": "11",
40
- * "senderEmailAddressId": "507f1f77bcf86cd799439012"
42
+ * "object": "list",
43
+ * "data": [
44
+ * {
45
+ * "object": "brand",
46
+ * "id": "507f1f77bcf86cd799439011",
47
+ * "name": "Default Brand",
48
+ * "isDefault": true,
49
+ * "createdAt": "2025-01-01T12:00:00.000Z",
50
+ * "updatedAt": "2025-01-10T15:30:00.000Z",
51
+ * "helpCenterId": "11",
52
+ * "senderEmailAddressId": "507f1f77bcf86cd799439012"
53
+ * }
54
+ * ],
55
+ * "nextCursor": null
41
56
  * }
42
57
  * ```
43
58
  *
44
- * ### Error Responses
45
- *
46
- * - **404 Not Found** - Brand with the specified ID does not exist
47
- *
48
59
  * ### Version Availability
49
60
  *
50
61
  * This endpoint is only available in API version 2026-01-01.nova and newer.
51
62
  */
52
- retrieve(id, params = {}, options) {
53
- const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
54
- return this._client.get(path `/v2/brands/${id}`, {
63
+ list(params = {}, options) {
64
+ const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
65
+ return this._client.getAPIList('/v2/brands', (CursorPage), {
66
+ query,
55
67
  ...options,
56
68
  headers: buildHeaders([
57
69
  {
@@ -64,26 +76,17 @@ export class Brands extends APIResource {
64
76
  });
65
77
  }
66
78
  /**
67
- * Returns all brands in your organization with cursor-based pagination.
68
- *
69
- * ### Query Parameters
70
- *
71
- * - `limit` - Number of brands to return (1-100, default: 10)
72
- * - `cursor` - Opaque cursor from a previous response for pagination
73
- *
74
- * ### Response Structure
79
+ * Retrieves a single brand by its Featurebase ID.
75
80
  *
76
- * The response includes:
81
+ * ### Path Parameters
77
82
  *
78
- * - `object` - Always "list"
79
- * - `data` - Array of brand objects
80
- * - `nextCursor` - Cursor for the next page (null if no more results)
83
+ * - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
81
84
  *
82
- * ### Brand Object
85
+ * ### Response
83
86
  *
84
- * Each brand includes:
87
+ * Returns a brand object with:
85
88
  *
86
- * - `id` - Featurebase internal ID (MongoDB ObjectId)
89
+ * - `id` - Featurebase internal ID
87
90
  * - `name` - Brand display name
88
91
  * - `isDefault` - Whether this is the default brand
89
92
  * - `createdAt` - Creation timestamp
@@ -95,31 +98,28 @@ export class Brands extends APIResource {
95
98
  *
96
99
  * ```json
97
100
  * {
98
- * "object": "list",
99
- * "data": [
100
- * {
101
- * "object": "brand",
102
- * "id": "507f1f77bcf86cd799439011",
103
- * "name": "Default Brand",
104
- * "isDefault": true,
105
- * "createdAt": "2025-01-01T12:00:00.000Z",
106
- * "updatedAt": "2025-01-10T15:30:00.000Z",
107
- * "helpCenterId": "11",
108
- * "senderEmailAddressId": "507f1f77bcf86cd799439012"
109
- * }
110
- * ],
111
- * "nextCursor": null
101
+ * "object": "brand",
102
+ * "id": "507f1f77bcf86cd799439011",
103
+ * "name": "Default Brand",
104
+ * "isDefault": true,
105
+ * "createdAt": "2025-01-01T12:00:00.000Z",
106
+ * "updatedAt": "2025-01-10T15:30:00.000Z",
107
+ * "helpCenterId": "11",
108
+ * "senderEmailAddressId": "507f1f77bcf86cd799439012"
112
109
  * }
113
110
  * ```
114
111
  *
112
+ * ### Error Responses
113
+ *
114
+ * - **404 Not Found** - Brand with the specified ID does not exist
115
+ *
115
116
  * ### Version Availability
116
117
  *
117
118
  * This endpoint is only available in API version 2026-01-01.nova and newer.
118
119
  */
119
- list(params = {}, options) {
120
- const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
121
- return this._client.getAPIList('/v2/brands', (CursorPage), {
122
- query,
120
+ retrieve(id, params = {}, options) {
121
+ const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
122
+ return this._client.get(path `/v2/brands/${id}`, {
123
123
  ...options,
124
124
  headers: buildHeaders([
125
125
  {
@@ -1 +1 @@
1
- {"version":3,"file":"brands.mjs","sourceRoot":"","sources":["../../src/resources/organization/brands.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAsC;OAClD,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,QAAQ,CACN,EAAU,EACV,SAAiD,EAAE,EACnD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,I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admins, type Admin, type AdminListResponse, type AdminListRolesResponse, type AdminRetrieveParams, type AdminListParams, type AdminListRolesParams, } from "./admins.mjs";
2
- export { Brands, type Brand, type BrandRetrieveParams, type BrandListParams, type BrandsCursorPage, } from "./brands.mjs";
1
+ export { Admins, type Admin, type AdminListResponse, type AdminListRolesResponse, type AdminListParams, type AdminRetrieveParams, type AdminListRolesParams, } from "./admins.mjs";
2
+ export { Brands, type Brand, type BrandListParams, type BrandRetrieveParams, type BrandsCursorPage, } from "./brands.mjs";
3
3
  export { Organization } from "./organization.mjs";
4
- export { Teams, type Team, type TeamListResponse, type TeamRetrieveParams, type TeamListParams, } from "./teams.mjs";
4
+ export { Teams, type Team, type TeamListResponse, type TeamListParams, type TeamRetrieveParams, } from "./teams.mjs";
5
5
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACtB;OACM,EAAE,YAAY,EAAE;OAChB,EACL,KAAK,EACL,KAAK,IAAI,EACT,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,qBAAiB;AAClB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACtB,qBAAiB;AAClB,OAAO,EAAE,YAAY,EAAE,2BAAuB;AAC9C,OAAO,EACL,KAAK,EACL,KAAK,IAAI,EACT,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,GACxB,oBAAgB"}
@@ -1,5 +1,5 @@
1
- export { Admins, type Admin, type AdminListResponse, type AdminListRolesResponse, type AdminRetrieveParams, type AdminListParams, type AdminListRolesParams, } from "./admins.js";
2
- export { Brands, type Brand, type BrandRetrieveParams, type BrandListParams, type BrandsCursorPage, } from "./brands.js";
1
+ export { Admins, type Admin, type AdminListResponse, type AdminListRolesResponse, type AdminListParams, type AdminRetrieveParams, type AdminListRolesParams, } from "./admins.js";
2
+ export { Brands, type Brand, type BrandListParams, type BrandRetrieveParams, type BrandsCursorPage, } from "./brands.js";
3
3
  export { Organization } from "./organization.js";
4
- export { Teams, type Team, type TeamListResponse, type TeamRetrieveParams, type TeamListParams, } from "./teams.js";
4
+ export { Teams, type Team, type TeamListResponse, type TeamListParams, type TeamRetrieveParams, } from "./teams.js";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACtB;OACM,EAAE,YAAY,EAAE;OAChB,EACL,KAAK,EACL,KAAK,IAAI,EACT,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,oBAAiB;AAClB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACtB,oBAAiB;AAClB,OAAO,EAAE,YAAY,EAAE,0BAAuB;AAC9C,OAAO,EACL,KAAK,EACL,KAAK,IAAI,EACT,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,GACxB,mBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAOP;OACM,EACL,MAAM,GAKP;OACM,EAAE,YAAY,EAAE;OAChB,EACL,KAAK,GAKN"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,MAAM,GAOP,qBAAiB;AAClB,OAAO,EACL,MAAM,GAKP,qBAAiB;AAClB,OAAO,EAAE,YAAY,EAAE,2BAAuB;AAC9C,OAAO,EACL,KAAK,GAKN,oBAAgB"}
@@ -11,8 +11,8 @@ export declare class Organization extends APIResource {
11
11
  brands: BrandsAPI.Brands;
12
12
  }
13
13
  export declare namespace Organization {
14
- export { Admins as Admins, type Admin as Admin, type AdminListResponse as AdminListResponse, type AdminListRolesResponse as AdminListRolesResponse, type AdminRetrieveParams as AdminRetrieveParams, type AdminListParams as AdminListParams, type AdminListRolesParams as AdminListRolesParams, };
15
- export { Teams as Teams, type Team as Team, type TeamListResponse as TeamListResponse, type TeamRetrieveParams as TeamRetrieveParams, type TeamListParams as TeamListParams, };
16
- export { Brands as Brands, type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type BrandRetrieveParams as BrandRetrieveParams, type BrandListParams as BrandListParams, };
14
+ export { Admins as Admins, type Admin as Admin, type AdminListResponse as AdminListResponse, type AdminListRolesResponse as AdminListRolesResponse, type AdminListParams as AdminListParams, type AdminRetrieveParams as AdminRetrieveParams, type AdminListRolesParams as AdminListRolesParams, };
15
+ export { Teams as Teams, type Team as Team, type TeamListResponse as TeamListResponse, type TeamListParams as TeamListParams, type TeamRetrieveParams as TeamRetrieveParams, };
16
+ export { Brands as Brands, type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type BrandListParams as BrandListParams, type BrandRetrieveParams as BrandRetrieveParams, };
17
17
  }
18
18
  //# sourceMappingURL=organization.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"organization.d.mts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EACL,KAAK,EACL,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,MAAM,EACP;OACM,KAAK,SAAS;OACd,EAAE,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE;OACzE,KAAK,QAAQ;OACb,EAAE,IAAI,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE;AAE5E,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAMD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
1
+ {"version":3,"file":"organization.d.mts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EACL,KAAK,EACL,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,MAAM,EACP,qBAAiB;AAClB,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE,qBAAiB;AACjG,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE,oBAAgB;AAE5F,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAMD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -11,8 +11,8 @@ export declare class Organization extends APIResource {
11
11
  brands: BrandsAPI.Brands;
12
12
  }
13
13
  export declare namespace Organization {
14
- export { Admins as Admins, type Admin as Admin, type AdminListResponse as AdminListResponse, type AdminListRolesResponse as AdminListRolesResponse, type AdminRetrieveParams as AdminRetrieveParams, type AdminListParams as AdminListParams, type AdminListRolesParams as AdminListRolesParams, };
15
- export { Teams as Teams, type Team as Team, type TeamListResponse as TeamListResponse, type TeamRetrieveParams as TeamRetrieveParams, type TeamListParams as TeamListParams, };
16
- export { Brands as Brands, type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type BrandRetrieveParams as BrandRetrieveParams, type BrandListParams as BrandListParams, };
14
+ export { Admins as Admins, type Admin as Admin, type AdminListResponse as AdminListResponse, type AdminListRolesResponse as AdminListRolesResponse, type AdminListParams as AdminListParams, type AdminRetrieveParams as AdminRetrieveParams, type AdminListRolesParams as AdminListRolesParams, };
15
+ export { Teams as Teams, type Team as Team, type TeamListResponse as TeamListResponse, type TeamListParams as TeamListParams, type TeamRetrieveParams as TeamRetrieveParams, };
16
+ export { Brands as Brands, type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type BrandListParams as BrandListParams, type BrandRetrieveParams as BrandRetrieveParams, };
17
17
  }
18
18
  //# sourceMappingURL=organization.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EACL,KAAK,EACL,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,MAAM,EACP;OACM,KAAK,SAAS;OACd,EAAE,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE;OACzE,KAAK,QAAQ;OACb,EAAE,IAAI,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE;AAE5E,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAMD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
1
+ {"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EACL,KAAK,EACL,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,MAAM,EACP,oBAAiB;AAClB,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE,oBAAiB;AACjG,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE,mBAAgB;AAE5F,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAMD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAOL,MAAM,GACP;OACM,KAAK,SAAS;OACd,EAA+C,MAAM,EAAoB;OACzE,KAAK,QAAQ;OACb,EAA8D,KAAK,EAAE;AAE5E,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC;AAC7B,YAAY,CAAC,KAAK,GAAG,KAAK,CAAC;AAC3B,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAOL,MAAM,GACP,qBAAiB;AAClB,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAA+C,MAAM,EAAoB,q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