featurebase-node 0.1.0 → 0.3.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 (590) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +8 -8
  3. package/client.d.mts +14 -80
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +14 -80
  6. package/client.d.ts.map +1 -1
  7. package/client.js +14 -80
  8. package/client.js.map +1 -1
  9. package/client.mjs +14 -80
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/{boards.d.mts → feedback/boards.d.mts} +15 -3
  13. package/resources/feedback/boards.d.mts.map +1 -0
  14. package/resources/{boards.d.ts → feedback/boards.d.ts} +15 -3
  15. package/resources/feedback/boards.d.ts.map +1 -0
  16. package/resources/{boards.js → feedback/boards.js} +15 -3
  17. package/resources/feedback/boards.js.map +1 -0
  18. package/resources/{boards.mjs → feedback/boards.mjs} +15 -3
  19. package/resources/feedback/boards.mjs.map +1 -0
  20. package/resources/{comments.d.mts → feedback/comments.d.mts} +10 -10
  21. package/resources/feedback/comments.d.mts.map +1 -0
  22. package/resources/{comments.d.ts → feedback/comments.d.ts} +10 -10
  23. package/resources/feedback/comments.d.ts.map +1 -0
  24. package/resources/{comments.js → feedback/comments.js} +9 -9
  25. package/resources/feedback/comments.js.map +1 -0
  26. package/resources/{comments.mjs → feedback/comments.mjs} +9 -9
  27. package/resources/feedback/comments.mjs.map +1 -0
  28. package/resources/{custom-fields.d.mts → feedback/custom-fields.d.mts} +17 -3
  29. package/resources/feedback/custom-fields.d.mts.map +1 -0
  30. package/resources/{custom-fields.d.ts → feedback/custom-fields.d.ts} +17 -3
  31. package/resources/feedback/custom-fields.d.ts.map +1 -0
  32. package/resources/{custom-fields.js → feedback/custom-fields.js} +17 -3
  33. package/resources/feedback/custom-fields.js.map +1 -0
  34. package/resources/{custom-fields.mjs → feedback/custom-fields.mjs} +17 -3
  35. package/resources/feedback/custom-fields.mjs.map +1 -0
  36. package/resources/feedback/feedback.d.mts +26 -0
  37. package/resources/feedback/feedback.d.mts.map +1 -0
  38. package/resources/feedback/feedback.d.ts +26 -0
  39. package/resources/feedback/feedback.d.ts.map +1 -0
  40. package/resources/feedback/feedback.js +33 -0
  41. package/resources/feedback/feedback.js.map +1 -0
  42. package/resources/feedback/feedback.mjs +28 -0
  43. package/resources/feedback/feedback.mjs.map +1 -0
  44. package/resources/feedback/index.d.mts +7 -0
  45. package/resources/feedback/index.d.mts.map +1 -0
  46. package/resources/feedback/index.d.ts +7 -0
  47. package/resources/feedback/index.d.ts.map +1 -0
  48. package/resources/feedback/index.js +17 -0
  49. package/resources/feedback/index.js.map +1 -0
  50. package/resources/feedback/index.mjs +8 -0
  51. package/resources/feedback/index.mjs.map +1 -0
  52. package/resources/{post-statuses.d.mts → feedback/post-statuses.d.mts} +17 -3
  53. package/resources/feedback/post-statuses.d.mts.map +1 -0
  54. package/resources/{post-statuses.d.ts → feedback/post-statuses.d.ts} +17 -3
  55. package/resources/feedback/post-statuses.d.ts.map +1 -0
  56. package/resources/{post-statuses.js → feedback/post-statuses.js} +17 -3
  57. package/resources/feedback/post-statuses.js.map +1 -0
  58. package/resources/{post-statuses.mjs → feedback/post-statuses.mjs} +17 -3
  59. package/resources/feedback/post-statuses.mjs.map +1 -0
  60. package/resources/feedback/posts/index.d.mts.map +1 -0
  61. package/resources/feedback/posts/index.d.ts.map +1 -0
  62. package/resources/feedback/posts/index.js.map +1 -0
  63. package/resources/feedback/posts/index.mjs.map +1 -0
  64. package/resources/{posts → feedback/posts}/posts.d.mts +9 -9
  65. package/resources/feedback/posts/posts.d.mts.map +1 -0
  66. package/resources/{posts → feedback/posts}/posts.d.ts +9 -9
  67. package/resources/feedback/posts/posts.d.ts.map +1 -0
  68. package/resources/{posts → feedback/posts}/posts.js +9 -9
  69. package/resources/feedback/posts/posts.js.map +1 -0
  70. package/resources/{posts → feedback/posts}/posts.mjs +8 -8
  71. package/resources/feedback/posts/posts.mjs.map +1 -0
  72. package/resources/{posts → feedback/posts}/voters.d.mts +7 -7
  73. package/resources/feedback/posts/voters.d.mts.map +1 -0
  74. package/resources/{posts → feedback/posts}/voters.d.ts +7 -7
  75. package/resources/feedback/posts/voters.d.ts.map +1 -0
  76. package/resources/{posts → feedback/posts}/voters.js +6 -6
  77. package/resources/feedback/posts/voters.js.map +1 -0
  78. package/resources/{posts → feedback/posts}/voters.mjs +6 -6
  79. package/resources/feedback/posts/voters.mjs.map +1 -0
  80. package/resources/{posts.d.mts.map → feedback/posts.d.mts.map} +1 -1
  81. package/resources/{posts.d.ts.map → feedback/posts.d.ts.map} +1 -1
  82. package/resources/{posts.js → feedback/posts.js} +1 -1
  83. package/resources/feedback/posts.js.map +1 -0
  84. package/resources/feedback/posts.mjs.map +1 -0
  85. package/resources/feedback.d.mts +2 -0
  86. package/resources/feedback.d.mts.map +1 -0
  87. package/resources/feedback.d.ts +2 -0
  88. package/resources/feedback.d.ts.map +1 -0
  89. package/resources/feedback.js +6 -0
  90. package/resources/feedback.js.map +1 -0
  91. package/resources/feedback.mjs +3 -0
  92. package/resources/feedback.mjs.map +1 -0
  93. package/resources/index.d.mts +4 -13
  94. package/resources/index.d.mts.map +1 -1
  95. package/resources/index.d.ts +4 -13
  96. package/resources/index.d.ts.map +1 -1
  97. package/resources/index.js +9 -27
  98. package/resources/index.js.map +1 -1
  99. package/resources/index.mjs +4 -13
  100. package/resources/index.mjs.map +1 -1
  101. package/resources/{admins.d.mts → organization/admins.d.mts} +3 -3
  102. package/resources/organization/admins.d.mts.map +1 -0
  103. package/resources/{admins.d.ts → organization/admins.d.ts} +3 -3
  104. package/resources/organization/admins.d.ts.map +1 -0
  105. package/resources/{admins.js → organization/admins.js} +3 -3
  106. package/resources/organization/admins.js.map +1 -0
  107. package/resources/{admins.mjs → organization/admins.mjs} +3 -3
  108. package/resources/organization/admins.mjs.map +1 -0
  109. package/resources/{brands.d.mts → organization/brands.d.mts} +3 -3
  110. package/resources/organization/brands.d.mts.map +1 -0
  111. package/resources/{brands.d.ts → organization/brands.d.ts} +3 -3
  112. package/resources/organization/brands.d.ts.map +1 -0
  113. package/resources/{brands.js → organization/brands.js} +3 -3
  114. package/resources/organization/brands.js.map +1 -0
  115. package/resources/{brands.mjs → organization/brands.mjs} +3 -3
  116. package/resources/organization/brands.mjs.map +1 -0
  117. package/resources/organization/index.d.mts +5 -0
  118. package/resources/organization/index.d.mts.map +1 -0
  119. package/resources/organization/index.d.ts +5 -0
  120. package/resources/organization/index.d.ts.map +1 -0
  121. package/resources/organization/index.js +13 -0
  122. package/resources/organization/index.js.map +1 -0
  123. package/resources/organization/index.mjs +6 -0
  124. package/resources/organization/index.mjs.map +1 -0
  125. package/resources/organization/organization.d.mts +18 -0
  126. package/resources/organization/organization.d.mts.map +1 -0
  127. package/resources/organization/organization.d.ts +18 -0
  128. package/resources/organization/organization.d.ts.map +1 -0
  129. package/resources/organization/organization.js +25 -0
  130. package/resources/organization/organization.js.map +1 -0
  131. package/resources/organization/organization.mjs +20 -0
  132. package/resources/organization/organization.mjs.map +1 -0
  133. package/resources/{teams.d.mts → organization/teams.d.mts} +3 -3
  134. package/resources/organization/teams.d.mts.map +1 -0
  135. package/resources/{teams.d.ts → organization/teams.d.ts} +3 -3
  136. package/resources/organization/teams.d.ts.map +1 -0
  137. package/resources/{teams.js → organization/teams.js} +3 -3
  138. package/resources/organization/teams.js.map +1 -0
  139. package/resources/{teams.mjs → organization/teams.mjs} +3 -3
  140. package/resources/organization/teams.mjs.map +1 -0
  141. package/resources/organization.d.mts +2 -0
  142. package/resources/organization.d.mts.map +1 -0
  143. package/resources/organization.d.ts +2 -0
  144. package/resources/organization.d.ts.map +1 -0
  145. package/resources/organization.js +6 -0
  146. package/resources/organization.js.map +1 -0
  147. package/resources/organization.mjs +3 -0
  148. package/resources/organization.mjs.map +1 -0
  149. package/resources/{tags.d.ts → support/conversation-tags.d.mts} +31 -27
  150. package/resources/support/conversation-tags.d.mts.map +1 -0
  151. package/resources/{tags.d.mts → support/conversation-tags.d.ts} +31 -27
  152. package/resources/support/conversation-tags.d.ts.map +1 -0
  153. package/resources/{tags.js → support/conversation-tags.js} +21 -17
  154. package/resources/support/conversation-tags.js.map +1 -0
  155. package/resources/{tags.mjs → support/conversation-tags.mjs} +19 -15
  156. package/resources/support/conversation-tags.mjs.map +1 -0
  157. package/resources/{conversations → support/conversations}/conversations.d.mts +37 -36
  158. package/resources/support/conversations/conversations.d.mts.map +1 -0
  159. package/resources/{conversations → support/conversations}/conversations.d.ts +37 -36
  160. package/resources/support/conversations/conversations.d.ts.map +1 -0
  161. package/resources/{conversations → support/conversations}/conversations.js +32 -31
  162. package/resources/support/conversations/conversations.js.map +1 -0
  163. package/resources/{conversations → support/conversations}/conversations.mjs +31 -30
  164. package/resources/support/conversations/conversations.mjs.map +1 -0
  165. package/resources/support/conversations/index.d.mts.map +1 -0
  166. package/resources/support/conversations/index.d.ts.map +1 -0
  167. package/resources/support/conversations/index.js.map +1 -0
  168. package/resources/support/conversations/index.mjs.map +1 -0
  169. package/resources/{conversations → support/conversations}/participants.d.mts +11 -9
  170. package/resources/support/conversations/participants.d.mts.map +1 -0
  171. package/resources/{conversations → support/conversations}/participants.d.ts +11 -9
  172. package/resources/support/conversations/participants.d.ts.map +1 -0
  173. package/resources/{conversations → support/conversations}/participants.js +11 -9
  174. package/resources/support/conversations/participants.js.map +1 -0
  175. package/resources/{conversations → support/conversations}/participants.mjs +11 -9
  176. package/resources/support/conversations/participants.mjs.map +1 -0
  177. package/resources/{conversations → support/conversations}/tags.d.mts +5 -5
  178. package/resources/support/conversations/tags.d.mts.map +1 -0
  179. package/resources/{conversations → support/conversations}/tags.d.ts +5 -5
  180. package/resources/support/conversations/tags.d.ts.map +1 -0
  181. package/resources/{conversations → support/conversations}/tags.js +5 -5
  182. package/resources/support/conversations/tags.js.map +1 -0
  183. package/resources/{conversations → support/conversations}/tags.mjs +5 -5
  184. package/resources/support/conversations/tags.mjs.map +1 -0
  185. package/resources/support/conversations.d.mts.map +1 -0
  186. package/resources/support/conversations.d.ts.map +1 -0
  187. package/resources/{conversations.js → support/conversations.js} +1 -1
  188. package/resources/support/conversations.js.map +1 -0
  189. package/resources/support/conversations.mjs.map +1 -0
  190. package/resources/support/index.d.mts +5 -0
  191. package/resources/support/index.d.mts.map +1 -0
  192. package/resources/support/index.d.ts +5 -0
  193. package/resources/support/index.d.ts.map +1 -0
  194. package/resources/support/index.js +13 -0
  195. package/resources/support/index.js.map +1 -0
  196. package/resources/support/index.mjs +6 -0
  197. package/resources/support/index.mjs.map +1 -0
  198. package/resources/support/support.d.mts +18 -0
  199. package/resources/support/support.d.mts.map +1 -0
  200. package/resources/support/support.d.ts +18 -0
  201. package/resources/support/support.d.ts.map +1 -0
  202. package/resources/support/support.js +25 -0
  203. package/resources/support/support.js.map +1 -0
  204. package/resources/support/support.mjs +20 -0
  205. package/resources/support/support.mjs.map +1 -0
  206. package/resources/{tickets → support/tickets}/categories.d.mts +10 -8
  207. package/resources/support/tickets/categories.d.mts.map +1 -0
  208. package/resources/{tickets → support/tickets}/categories.d.ts +10 -8
  209. package/resources/support/tickets/categories.d.ts.map +1 -0
  210. package/resources/{tickets → support/tickets}/categories.js +9 -7
  211. package/resources/support/tickets/categories.js.map +1 -0
  212. package/resources/{tickets → support/tickets}/categories.mjs +9 -7
  213. package/resources/support/tickets/categories.mjs.map +1 -0
  214. package/resources/{tickets → support/tickets}/custom-fields.d.mts +6 -6
  215. package/resources/support/tickets/custom-fields.d.mts.map +1 -0
  216. package/resources/{tickets → support/tickets}/custom-fields.d.ts +6 -6
  217. package/resources/support/tickets/custom-fields.d.ts.map +1 -0
  218. package/resources/{tickets → support/tickets}/custom-fields.js +5 -5
  219. package/resources/support/tickets/custom-fields.js.map +1 -0
  220. package/resources/{tickets → support/tickets}/custom-fields.mjs +5 -5
  221. package/resources/support/tickets/custom-fields.mjs.map +1 -0
  222. package/resources/support/tickets/index.d.mts.map +1 -0
  223. package/resources/support/tickets/index.d.ts.map +1 -0
  224. package/resources/support/tickets/index.js.map +1 -0
  225. package/resources/support/tickets/index.mjs.map +1 -0
  226. package/resources/{tickets → support/tickets}/statuses.d.mts +10 -8
  227. package/resources/support/tickets/statuses.d.mts.map +1 -0
  228. package/resources/{tickets → support/tickets}/statuses.d.ts +10 -8
  229. package/resources/support/tickets/statuses.d.ts.map +1 -0
  230. package/resources/{tickets → support/tickets}/statuses.js +9 -7
  231. package/resources/support/tickets/statuses.js.map +1 -0
  232. package/resources/{tickets → support/tickets}/statuses.mjs +9 -7
  233. package/resources/support/tickets/statuses.mjs.map +1 -0
  234. package/resources/{tickets → support/tickets}/tickets.d.mts +12 -11
  235. package/resources/support/tickets/tickets.d.mts.map +1 -0
  236. package/resources/{tickets → support/tickets}/tickets.d.ts +12 -11
  237. package/resources/support/tickets/tickets.d.ts.map +1 -0
  238. package/resources/{tickets → support/tickets}/tickets.js +10 -10
  239. package/resources/support/tickets/tickets.js.map +1 -0
  240. package/resources/{tickets → support/tickets}/tickets.mjs +9 -9
  241. package/resources/support/tickets/tickets.mjs.map +1 -0
  242. package/resources/support/tickets.d.mts.map +1 -0
  243. package/resources/support/tickets.d.ts.map +1 -0
  244. package/resources/{tickets.js → support/tickets.js} +1 -1
  245. package/resources/support/tickets.js.map +1 -0
  246. package/resources/support/tickets.mjs.map +1 -0
  247. package/resources/support.d.mts +2 -0
  248. package/resources/support.d.mts.map +1 -0
  249. package/resources/support.d.ts +2 -0
  250. package/resources/support.d.ts.map +1 -0
  251. package/resources/support.js +6 -0
  252. package/resources/support.js.map +1 -0
  253. package/resources/support.mjs +3 -0
  254. package/resources/support.mjs.map +1 -0
  255. package/resources/surveys.d.mts +1 -1
  256. package/resources/surveys.d.ts +1 -1
  257. package/resources/{companies → users/companies}/companies.d.mts +12 -11
  258. package/resources/users/companies/companies.d.mts.map +1 -0
  259. package/resources/{companies → users/companies}/companies.d.ts +12 -11
  260. package/resources/users/companies/companies.d.ts.map +1 -0
  261. package/resources/{companies → users/companies}/companies.js +13 -12
  262. package/resources/users/companies/companies.js.map +1 -0
  263. package/resources/{companies → users/companies}/companies.mjs +12 -11
  264. package/resources/users/companies/companies.mjs.map +1 -0
  265. package/resources/{companies → users/companies}/contacts.d.mts +21 -18
  266. package/resources/users/companies/contacts.d.mts.map +1 -0
  267. package/resources/{companies → users/companies}/contacts.d.ts +21 -18
  268. package/resources/users/companies/contacts.d.ts.map +1 -0
  269. package/resources/{companies → users/companies}/contacts.js +17 -14
  270. package/resources/users/companies/contacts.js.map +1 -0
  271. package/resources/{companies → users/companies}/contacts.mjs +17 -14
  272. package/resources/users/companies/contacts.mjs.map +1 -0
  273. package/resources/users/companies/index.d.mts.map +1 -0
  274. package/resources/users/companies/index.d.ts.map +1 -0
  275. package/resources/users/companies/index.js.map +1 -0
  276. package/resources/users/companies/index.mjs.map +1 -0
  277. package/resources/users/companies.d.mts.map +1 -0
  278. package/resources/users/companies.d.ts.map +1 -0
  279. package/resources/{companies.js → users/companies.js} +1 -1
  280. package/resources/users/companies.js.map +1 -0
  281. package/resources/users/companies.mjs.map +1 -0
  282. package/resources/{contacts → users/contacts}/by-user-id/by-user-id.d.mts +8 -7
  283. package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -0
  284. package/resources/{contacts → users/contacts}/by-user-id/by-user-id.d.ts +8 -7
  285. package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -0
  286. package/resources/{contacts → users/contacts}/by-user-id/by-user-id.js +9 -8
  287. package/resources/users/contacts/by-user-id/by-user-id.js.map +1 -0
  288. package/resources/{contacts → users/contacts}/by-user-id/by-user-id.mjs +8 -7
  289. package/resources/users/contacts/by-user-id/by-user-id.mjs.map +1 -0
  290. package/resources/{contacts → users/contacts}/by-user-id/email-preferences.d.mts +5 -5
  291. package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -0
  292. package/resources/{contacts → users/contacts}/by-user-id/email-preferences.d.ts +5 -5
  293. package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -0
  294. package/resources/{contacts → users/contacts}/by-user-id/email-preferences.js +5 -5
  295. package/resources/users/contacts/by-user-id/email-preferences.js.map +1 -0
  296. package/resources/{contacts → users/contacts}/by-user-id/email-preferences.mjs +5 -5
  297. package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -0
  298. package/resources/users/contacts/by-user-id/index.d.mts.map +1 -0
  299. package/resources/users/contacts/by-user-id/index.d.ts.map +1 -0
  300. package/resources/users/contacts/by-user-id/index.js.map +1 -0
  301. package/resources/users/contacts/by-user-id/index.mjs.map +1 -0
  302. package/resources/users/contacts/by-user-id.d.mts.map +1 -0
  303. package/resources/users/contacts/by-user-id.d.ts.map +1 -0
  304. package/resources/{contacts → users/contacts}/by-user-id.js +1 -1
  305. package/resources/users/contacts/by-user-id.js.map +1 -0
  306. package/resources/users/contacts/by-user-id.mjs.map +1 -0
  307. package/resources/{contacts → users/contacts}/contacts.d.mts +10 -9
  308. package/resources/users/contacts/contacts.d.mts.map +1 -0
  309. package/resources/{contacts → users/contacts}/contacts.d.ts +10 -9
  310. package/resources/users/contacts/contacts.d.ts.map +1 -0
  311. package/resources/{contacts → users/contacts}/contacts.js +11 -10
  312. package/resources/users/contacts/contacts.js.map +1 -0
  313. package/resources/{contacts → users/contacts}/contacts.mjs +10 -9
  314. package/resources/users/contacts/contacts.mjs.map +1 -0
  315. package/resources/{contacts → users/contacts}/email-preferences.d.mts +5 -5
  316. package/resources/users/contacts/email-preferences.d.mts.map +1 -0
  317. package/resources/{contacts → users/contacts}/email-preferences.d.ts +5 -5
  318. package/resources/users/contacts/email-preferences.d.ts.map +1 -0
  319. package/resources/{contacts → users/contacts}/email-preferences.js +5 -5
  320. package/resources/users/contacts/email-preferences.js.map +1 -0
  321. package/resources/{contacts → users/contacts}/email-preferences.mjs +5 -5
  322. package/resources/users/contacts/email-preferences.mjs.map +1 -0
  323. package/resources/users/contacts/index.d.mts.map +1 -0
  324. package/resources/users/contacts/index.d.ts.map +1 -0
  325. package/resources/users/contacts/index.js.map +1 -0
  326. package/resources/users/contacts/index.mjs.map +1 -0
  327. package/resources/users/contacts.d.mts.map +1 -0
  328. package/resources/users/contacts.d.ts.map +1 -0
  329. package/resources/{contacts.js → users/contacts.js} +1 -1
  330. package/resources/users/contacts.js.map +1 -0
  331. package/resources/users/contacts.mjs.map +1 -0
  332. package/resources/users/index.d.mts +4 -0
  333. package/resources/users/index.d.mts.map +1 -0
  334. package/resources/users/index.d.ts +4 -0
  335. package/resources/users/index.d.ts.map +1 -0
  336. package/resources/users/index.js +11 -0
  337. package/resources/users/index.js.map +1 -0
  338. package/resources/users/index.mjs +5 -0
  339. package/resources/users/index.mjs.map +1 -0
  340. package/resources/users/users.d.mts +14 -0
  341. package/resources/users/users.d.mts.map +1 -0
  342. package/resources/users/users.d.ts +14 -0
  343. package/resources/users/users.d.ts.map +1 -0
  344. package/resources/users/users.js +21 -0
  345. package/resources/users/users.js.map +1 -0
  346. package/resources/users/users.mjs +16 -0
  347. package/resources/users/users.mjs.map +1 -0
  348. package/resources/users.d.mts +2 -0
  349. package/resources/users.d.mts.map +1 -0
  350. package/resources/users.d.ts +2 -0
  351. package/resources/users.d.ts.map +1 -0
  352. package/resources/users.js +6 -0
  353. package/resources/users.js.map +1 -0
  354. package/resources/users.mjs +3 -0
  355. package/resources/users.mjs.map +1 -0
  356. package/src/client.ts +20 -338
  357. package/src/resources/{boards.ts → feedback/boards.ts} +17 -5
  358. package/src/resources/{comments.ts → feedback/comments.ts} +12 -12
  359. package/src/resources/{custom-fields.ts → feedback/custom-fields.ts} +19 -5
  360. package/src/resources/feedback/feedback.ts +113 -0
  361. package/src/resources/feedback/index.ts +48 -0
  362. package/src/resources/{post-statuses.ts → feedback/post-statuses.ts} +19 -5
  363. package/src/resources/{posts → feedback/posts}/posts.ts +11 -11
  364. package/src/resources/{posts → feedback/posts}/voters.ts +9 -9
  365. package/src/resources/feedback.ts +3 -0
  366. package/src/resources/index.ts +4 -139
  367. package/src/resources/{admins.ts → organization/admins.ts} +5 -5
  368. package/src/resources/{brands.ts → organization/brands.ts} +5 -5
  369. package/src/resources/organization/index.ts +26 -0
  370. package/src/resources/organization/organization.ts +55 -0
  371. package/src/resources/{teams.ts → organization/teams.ts} +5 -5
  372. package/src/resources/organization.ts +3 -0
  373. package/src/resources/{tags.ts → support/conversation-tags.ts} +44 -34
  374. package/src/resources/{conversations → support/conversations}/conversations.ts +39 -38
  375. package/src/resources/{conversations → support/conversations}/participants.ts +13 -11
  376. package/src/resources/{conversations → support/conversations}/tags.ts +7 -7
  377. package/src/resources/support/index.ts +47 -0
  378. package/src/resources/support/support.ts +111 -0
  379. package/src/resources/{tickets → support/tickets}/categories.ts +12 -10
  380. package/src/resources/{tickets → support/tickets}/custom-fields.ts +8 -8
  381. package/src/resources/{tickets → support/tickets}/statuses.ts +12 -10
  382. package/src/resources/{tickets → support/tickets}/tickets.ts +14 -13
  383. package/src/resources/support.ts +3 -0
  384. package/src/resources/surveys.ts +1 -1
  385. package/src/resources/{companies → users/companies}/companies.ts +14 -13
  386. package/src/resources/{companies → users/companies}/contacts.ts +23 -20
  387. package/src/resources/{contacts → users/contacts}/by-user-id/by-user-id.ts +10 -9
  388. package/src/resources/{contacts → users/contacts}/by-user-id/email-preferences.ts +7 -7
  389. package/src/resources/{contacts → users/contacts}/contacts.ts +12 -11
  390. package/src/resources/{contacts → users/contacts}/email-preferences.ts +7 -7
  391. package/src/resources/users/index.ts +30 -0
  392. package/src/resources/users/users.ts +71 -0
  393. package/src/resources/users.ts +3 -0
  394. package/src/version.ts +1 -1
  395. package/version.d.mts +1 -1
  396. package/version.d.ts +1 -1
  397. package/version.js +1 -1
  398. package/version.mjs +1 -1
  399. package/resources/admins.d.mts.map +0 -1
  400. package/resources/admins.d.ts.map +0 -1
  401. package/resources/admins.js.map +0 -1
  402. package/resources/admins.mjs.map +0 -1
  403. package/resources/boards.d.mts.map +0 -1
  404. package/resources/boards.d.ts.map +0 -1
  405. package/resources/boards.js.map +0 -1
  406. package/resources/boards.mjs.map +0 -1
  407. package/resources/brands.d.mts.map +0 -1
  408. package/resources/brands.d.ts.map +0 -1
  409. package/resources/brands.js.map +0 -1
  410. package/resources/brands.mjs.map +0 -1
  411. package/resources/comments.d.mts.map +0 -1
  412. package/resources/comments.d.ts.map +0 -1
  413. package/resources/comments.js.map +0 -1
  414. package/resources/comments.mjs.map +0 -1
  415. package/resources/companies/companies.d.mts.map +0 -1
  416. package/resources/companies/companies.d.ts.map +0 -1
  417. package/resources/companies/companies.js.map +0 -1
  418. package/resources/companies/companies.mjs.map +0 -1
  419. package/resources/companies/contacts.d.mts.map +0 -1
  420. package/resources/companies/contacts.d.ts.map +0 -1
  421. package/resources/companies/contacts.js.map +0 -1
  422. package/resources/companies/contacts.mjs.map +0 -1
  423. package/resources/companies/index.d.mts.map +0 -1
  424. package/resources/companies/index.d.ts.map +0 -1
  425. package/resources/companies/index.js.map +0 -1
  426. package/resources/companies/index.mjs.map +0 -1
  427. package/resources/companies.d.mts.map +0 -1
  428. package/resources/companies.d.ts.map +0 -1
  429. package/resources/companies.js.map +0 -1
  430. package/resources/companies.mjs.map +0 -1
  431. package/resources/contacts/by-user-id/by-user-id.d.mts.map +0 -1
  432. package/resources/contacts/by-user-id/by-user-id.d.ts.map +0 -1
  433. package/resources/contacts/by-user-id/by-user-id.js.map +0 -1
  434. package/resources/contacts/by-user-id/by-user-id.mjs.map +0 -1
  435. package/resources/contacts/by-user-id/email-preferences.d.mts.map +0 -1
  436. package/resources/contacts/by-user-id/email-preferences.d.ts.map +0 -1
  437. package/resources/contacts/by-user-id/email-preferences.js.map +0 -1
  438. package/resources/contacts/by-user-id/email-preferences.mjs.map +0 -1
  439. package/resources/contacts/by-user-id/index.d.mts.map +0 -1
  440. package/resources/contacts/by-user-id/index.d.ts.map +0 -1
  441. package/resources/contacts/by-user-id/index.js.map +0 -1
  442. package/resources/contacts/by-user-id/index.mjs.map +0 -1
  443. package/resources/contacts/by-user-id.d.mts.map +0 -1
  444. package/resources/contacts/by-user-id.d.ts.map +0 -1
  445. package/resources/contacts/by-user-id.js.map +0 -1
  446. package/resources/contacts/by-user-id.mjs.map +0 -1
  447. package/resources/contacts/contacts.d.mts.map +0 -1
  448. package/resources/contacts/contacts.d.ts.map +0 -1
  449. package/resources/contacts/contacts.js.map +0 -1
  450. package/resources/contacts/contacts.mjs.map +0 -1
  451. package/resources/contacts/email-preferences.d.mts.map +0 -1
  452. package/resources/contacts/email-preferences.d.ts.map +0 -1
  453. package/resources/contacts/email-preferences.js.map +0 -1
  454. package/resources/contacts/email-preferences.mjs.map +0 -1
  455. package/resources/contacts/index.d.mts.map +0 -1
  456. package/resources/contacts/index.d.ts.map +0 -1
  457. package/resources/contacts/index.js.map +0 -1
  458. package/resources/contacts/index.mjs.map +0 -1
  459. package/resources/contacts.d.mts.map +0 -1
  460. package/resources/contacts.d.ts.map +0 -1
  461. package/resources/contacts.js.map +0 -1
  462. package/resources/contacts.mjs.map +0 -1
  463. package/resources/conversations/conversations.d.mts.map +0 -1
  464. package/resources/conversations/conversations.d.ts.map +0 -1
  465. package/resources/conversations/conversations.js.map +0 -1
  466. package/resources/conversations/conversations.mjs.map +0 -1
  467. package/resources/conversations/index.d.mts.map +0 -1
  468. package/resources/conversations/index.d.ts.map +0 -1
  469. package/resources/conversations/index.js.map +0 -1
  470. package/resources/conversations/index.mjs.map +0 -1
  471. package/resources/conversations/participants.d.mts.map +0 -1
  472. package/resources/conversations/participants.d.ts.map +0 -1
  473. package/resources/conversations/participants.js.map +0 -1
  474. package/resources/conversations/participants.mjs.map +0 -1
  475. package/resources/conversations/tags.d.mts.map +0 -1
  476. package/resources/conversations/tags.d.ts.map +0 -1
  477. package/resources/conversations/tags.js.map +0 -1
  478. package/resources/conversations/tags.mjs.map +0 -1
  479. package/resources/conversations.d.mts.map +0 -1
  480. package/resources/conversations.d.ts.map +0 -1
  481. package/resources/conversations.js.map +0 -1
  482. package/resources/conversations.mjs.map +0 -1
  483. package/resources/custom-fields.d.mts.map +0 -1
  484. package/resources/custom-fields.d.ts.map +0 -1
  485. package/resources/custom-fields.js.map +0 -1
  486. package/resources/custom-fields.mjs.map +0 -1
  487. package/resources/post-statuses.d.mts.map +0 -1
  488. package/resources/post-statuses.d.ts.map +0 -1
  489. package/resources/post-statuses.js.map +0 -1
  490. package/resources/post-statuses.mjs.map +0 -1
  491. package/resources/posts/index.d.mts.map +0 -1
  492. package/resources/posts/index.d.ts.map +0 -1
  493. package/resources/posts/index.js.map +0 -1
  494. package/resources/posts/index.mjs.map +0 -1
  495. package/resources/posts/posts.d.mts.map +0 -1
  496. package/resources/posts/posts.d.ts.map +0 -1
  497. package/resources/posts/posts.js.map +0 -1
  498. package/resources/posts/posts.mjs.map +0 -1
  499. package/resources/posts/voters.d.mts.map +0 -1
  500. package/resources/posts/voters.d.ts.map +0 -1
  501. package/resources/posts/voters.js.map +0 -1
  502. package/resources/posts/voters.mjs.map +0 -1
  503. package/resources/posts.js.map +0 -1
  504. package/resources/posts.mjs.map +0 -1
  505. package/resources/tags.d.mts.map +0 -1
  506. package/resources/tags.d.ts.map +0 -1
  507. package/resources/tags.js.map +0 -1
  508. package/resources/tags.mjs.map +0 -1
  509. package/resources/teams.d.mts.map +0 -1
  510. package/resources/teams.d.ts.map +0 -1
  511. package/resources/teams.js.map +0 -1
  512. package/resources/teams.mjs.map +0 -1
  513. package/resources/tickets/categories.d.mts.map +0 -1
  514. package/resources/tickets/categories.d.ts.map +0 -1
  515. package/resources/tickets/categories.js.map +0 -1
  516. package/resources/tickets/categories.mjs.map +0 -1
  517. package/resources/tickets/custom-fields.d.mts.map +0 -1
  518. package/resources/tickets/custom-fields.d.ts.map +0 -1
  519. package/resources/tickets/custom-fields.js.map +0 -1
  520. package/resources/tickets/custom-fields.mjs.map +0 -1
  521. package/resources/tickets/index.d.mts.map +0 -1
  522. package/resources/tickets/index.d.ts.map +0 -1
  523. package/resources/tickets/index.js.map +0 -1
  524. package/resources/tickets/index.mjs.map +0 -1
  525. package/resources/tickets/statuses.d.mts.map +0 -1
  526. package/resources/tickets/statuses.d.ts.map +0 -1
  527. package/resources/tickets/statuses.js.map +0 -1
  528. package/resources/tickets/statuses.mjs.map +0 -1
  529. package/resources/tickets/tickets.d.mts.map +0 -1
  530. package/resources/tickets/tickets.d.ts.map +0 -1
  531. package/resources/tickets/tickets.js.map +0 -1
  532. package/resources/tickets/tickets.mjs.map +0 -1
  533. package/resources/tickets.d.mts.map +0 -1
  534. package/resources/tickets.d.ts.map +0 -1
  535. package/resources/tickets.js.map +0 -1
  536. package/resources/tickets.mjs.map +0 -1
  537. /package/resources/{posts → feedback/posts}/index.d.mts +0 -0
  538. /package/resources/{posts → feedback/posts}/index.d.ts +0 -0
  539. /package/resources/{posts → feedback/posts}/index.js +0 -0
  540. /package/resources/{posts → feedback/posts}/index.mjs +0 -0
  541. /package/resources/{posts.d.mts → feedback/posts.d.mts} +0 -0
  542. /package/resources/{posts.d.ts → feedback/posts.d.ts} +0 -0
  543. /package/resources/{posts.mjs → feedback/posts.mjs} +0 -0
  544. /package/resources/{conversations → support/conversations}/index.d.mts +0 -0
  545. /package/resources/{conversations → support/conversations}/index.d.ts +0 -0
  546. /package/resources/{conversations → support/conversations}/index.js +0 -0
  547. /package/resources/{conversations → support/conversations}/index.mjs +0 -0
  548. /package/resources/{conversations.d.mts → support/conversations.d.mts} +0 -0
  549. /package/resources/{conversations.d.ts → support/conversations.d.ts} +0 -0
  550. /package/resources/{conversations.mjs → support/conversations.mjs} +0 -0
  551. /package/resources/{tickets → support/tickets}/index.d.mts +0 -0
  552. /package/resources/{tickets → support/tickets}/index.d.ts +0 -0
  553. /package/resources/{tickets → support/tickets}/index.js +0 -0
  554. /package/resources/{tickets → support/tickets}/index.mjs +0 -0
  555. /package/resources/{tickets.d.mts → support/tickets.d.mts} +0 -0
  556. /package/resources/{tickets.d.ts → support/tickets.d.ts} +0 -0
  557. /package/resources/{tickets.mjs → support/tickets.mjs} +0 -0
  558. /package/resources/{companies → users/companies}/index.d.mts +0 -0
  559. /package/resources/{companies → users/companies}/index.d.ts +0 -0
  560. /package/resources/{companies → users/companies}/index.js +0 -0
  561. /package/resources/{companies → users/companies}/index.mjs +0 -0
  562. /package/resources/{companies.d.mts → users/companies.d.mts} +0 -0
  563. /package/resources/{companies.d.ts → users/companies.d.ts} +0 -0
  564. /package/resources/{companies.mjs → users/companies.mjs} +0 -0
  565. /package/resources/{contacts → users/contacts}/by-user-id/index.d.mts +0 -0
  566. /package/resources/{contacts → users/contacts}/by-user-id/index.d.ts +0 -0
  567. /package/resources/{contacts → users/contacts}/by-user-id/index.js +0 -0
  568. /package/resources/{contacts → users/contacts}/by-user-id/index.mjs +0 -0
  569. /package/resources/{contacts → users/contacts}/by-user-id.d.mts +0 -0
  570. /package/resources/{contacts → users/contacts}/by-user-id.d.ts +0 -0
  571. /package/resources/{contacts → users/contacts}/by-user-id.mjs +0 -0
  572. /package/resources/{contacts → users/contacts}/index.d.mts +0 -0
  573. /package/resources/{contacts → users/contacts}/index.d.ts +0 -0
  574. /package/resources/{contacts → users/contacts}/index.js +0 -0
  575. /package/resources/{contacts → users/contacts}/index.mjs +0 -0
  576. /package/resources/{contacts.d.mts → users/contacts.d.mts} +0 -0
  577. /package/resources/{contacts.d.ts → users/contacts.d.ts} +0 -0
  578. /package/resources/{contacts.mjs → users/contacts.mjs} +0 -0
  579. /package/src/resources/{posts → feedback/posts}/index.ts +0 -0
  580. /package/src/resources/{posts.ts → feedback/posts.ts} +0 -0
  581. /package/src/resources/{conversations → support/conversations}/index.ts +0 -0
  582. /package/src/resources/{conversations.ts → support/conversations.ts} +0 -0
  583. /package/src/resources/{tickets → support/tickets}/index.ts +0 -0
  584. /package/src/resources/{tickets.ts → support/tickets.ts} +0 -0
  585. /package/src/resources/{companies → users/companies}/index.ts +0 -0
  586. /package/src/resources/{companies.ts → users/companies.ts} +0 -0
  587. /package/src/resources/{contacts → users/contacts}/by-user-id/index.ts +0 -0
  588. /package/src/resources/{contacts → users/contacts}/by-user-id.ts +0 -0
  589. /package/src/resources/{contacts → users/contacts}/index.ts +0 -0
  590. /package/src/resources/{contacts.ts → users/contacts.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-preferences.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAWhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiHG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;CAWjC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,eAAe,EAAE,YAAY,GAAG,cAAc,CAAC;IAE/C;;OAEG;IACH,MAAM,EAAE,YAAY,GAAG,cAAc,CAAC;CACvC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,2BAA2B,CAAC;IAEpC;;;OAGG;IACH,WAAW,EAAE,iBAAiB,CAAC,WAAW,CAAC;IAE3C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,yBAAiB,iBAAiB,CAAC;IACjC;;;OAGG;IACH,UAAiB,WAAW;QAC1B;;WAEG;QACH,GAAG,EAAE,mBAAmB,CAAC,eAAe,CAAC;QAEzC;;WAEG;QACH,SAAS,EAAE,mBAAmB,CAAC,eAAe,CAAC;QAE/C;;WAEG;QACH,cAAc,EAAE,mBAAmB,CAAC,eAAe,CAAC;QAEpD;;WAEG;QACH,YAAY,EAAE,mBAAmB,CAAC,eAAe,CAAC;QAElD;;WAEG;QACH,WAAW,EAAE,mBAAmB,CAAC,eAAe,CAAC;KAClD;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,oBAAoB,CAAC,WAAW,CAAC;CAC/C;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,WAAW;QAC1B;;;WAGG;QACH,GAAG,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAEpC;;WAEG;QACH,SAAS,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE1C;;WAEG;QACH,cAAc,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE/C;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,WAAW,EAAE,2BAA2B,CAAC,WAAW,CAAC;IAErD;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,WAAW;QAC1B;;;WAGG;QACH,GAAG,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAEpC;;WAEG;QACH,SAAS,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE1C;;WAEG;QACH,cAAc,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE/C;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
@@ -2,9 +2,9 @@
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.EmailPreferences = void 0;
5
- const resource_1 = require("../../core/resource.js");
6
- const headers_1 = require("../../internal/headers.js");
7
- const path_1 = require("../../internal/utils/path.js");
5
+ const resource_1 = require("../../../core/resource.js");
6
+ const headers_1 = require("../../../internal/headers.js");
7
+ const path_1 = require("../../../internal/utils/path.js");
8
8
  /**
9
9
  * Contacts are the customers and leads in your Featurebase organization. Use this endpoint to list and retrieve contact information.
10
10
  */
@@ -74,7 +74,7 @@ class EmailPreferences extends resource_1.APIResource {
74
74
  * @example
75
75
  * ```ts
76
76
  * const preferencesOutput =
77
- * await client.contacts.emailPreferences.retrieve(
77
+ * await client.users.contacts.emailPreferences.retrieve(
78
78
  * '507f1f77bcf86cd799439011',
79
79
  * );
80
80
  * ```
@@ -197,7 +197,7 @@ class EmailPreferences extends resource_1.APIResource {
197
197
  * @example
198
198
  * ```ts
199
199
  * const preferencesOutput =
200
- * await client.contacts.emailPreferences.update(
200
+ * await client.users.contacts.emailPreferences.update(
201
201
  * '507f1f77bcf86cd799439011',
202
202
  * { preferences: {} },
203
203
  * );
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-preferences.js","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,QAAQ,CACN,EAAU,EACV,SAA2D,EAAE,EAC7D,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,oBAAoB,EAAE;YAClE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiHG;IACH,MAAM,CACJ,EAAU,EACV,MAAmC,EACnC,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,oBAAoB,EAAE;YACpE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAvND,4CAuNC"}
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../core/resource.mjs";
3
- import { buildHeaders } from "../../internal/headers.mjs";
4
- import { path } from "../../internal/utils/path.mjs";
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ import { buildHeaders } from "../../../internal/headers.mjs";
4
+ import { path } from "../../../internal/utils/path.mjs";
5
5
  /**
6
6
  * Contacts are the customers and leads in your Featurebase organization. Use this endpoint to list and retrieve contact information.
7
7
  */
@@ -71,7 +71,7 @@ export class EmailPreferences extends APIResource {
71
71
  * @example
72
72
  * ```ts
73
73
  * const preferencesOutput =
74
- * await client.contacts.emailPreferences.retrieve(
74
+ * await client.users.contacts.emailPreferences.retrieve(
75
75
  * '507f1f77bcf86cd799439011',
76
76
  * );
77
77
  * ```
@@ -194,7 +194,7 @@ export class EmailPreferences extends APIResource {
194
194
  * @example
195
195
  * ```ts
196
196
  * const preferencesOutput =
197
- * await client.contacts.emailPreferences.update(
197
+ * await client.users.contacts.emailPreferences.update(
198
198
  * '507f1f77bcf86cd799439011',
199
199
  * { preferences: {} },
200
200
  * );
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-preferences.mjs","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,QAAQ,CACN,EAAU,EACV,SAA2D,EAAE,EAC7D,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,EAAE,oBAAoB,EAAE;YAClE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiHG;IACH,MAAM,CACJ,EAAU,EACV,MAAmC,EACnC,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gBAAgB,EAAE,oBAAoB,EAAE;YACpE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B;OACM,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,GAC1B;OACM,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B;OACM,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,GAC1B;OACM,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+CAK4B;AAJ1B,iGAAA,QAAQ,OAAA;AAKV,0CAeoB;AAdlB,oGAAA,QAAQ,OAAA;AAeV,4DAO6B;AAN3B,qHAAA,gBAAgB,OAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAIT;OACM,EACL,QAAQ,GAcT;OACM,EACL,gBAAgB,GAMjB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts.d.mts","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- const tslib_1 = require("../internal/tslib.js");
4
+ const tslib_1 = require("../../internal/tslib.js");
5
5
  tslib_1.__exportStar(require("./contacts/index.js"), exports);
6
6
  //# sourceMappingURL=contacts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts.mjs","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -0,0 +1,4 @@
1
+ export { Companies, type Company, type DeletedCompany, type CompanyListResponse, type CompanyRetrieveParams, type CompanyListParams, type CompanyDeleteParams, type CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams, } from "./companies/index.mjs";
2
+ export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactUnblockResponse, type ContactRetrieveParams, type ContactListParams, type ContactDeleteParams, type ContactBlockParams, type ContactCreateOrUpdateParams, type ContactUnblockParams, } from "./contacts/index.mjs";
3
+ export { Users } from "./users.mjs";
4
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,GACpC;OACM,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,GAC1B;OACM,EAAE,KAAK,EAAE"}
@@ -0,0 +1,4 @@
1
+ export { Companies, type Company, type DeletedCompany, type CompanyListResponse, type CompanyRetrieveParams, type CompanyListParams, type CompanyDeleteParams, type CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams, } from "./companies/index.js";
2
+ export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactUnblockResponse, type ContactRetrieveParams, type ContactListParams, type ContactDeleteParams, type ContactBlockParams, type ContactCreateOrUpdateParams, type ContactUnblockParams, } from "./contacts/index.js";
3
+ export { Users } from "./users.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,GACpC;OACM,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,GAC1B;OACM,EAAE,KAAK,EAAE"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Users = exports.Contacts = exports.Companies = void 0;
5
+ var index_1 = require("./companies/index.js");
6
+ Object.defineProperty(exports, "Companies", { enumerable: true, get: function () { return index_1.Companies; } });
7
+ var index_2 = require("./contacts/index.js");
8
+ Object.defineProperty(exports, "Contacts", { enumerable: true, get: function () { return index_2.Contacts; } });
9
+ var users_1 = require("./users.js");
10
+ Object.defineProperty(exports, "Users", { enumerable: true, get: function () { return users_1.Users; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAU2B;AATzB,kGAAA,SAAS,OAAA;AAUX,6CAe0B;AAdxB,iGAAA,QAAQ,OAAA;AAeV,oCAAgC;AAAvB,8FAAA,KAAK,OAAA"}
@@ -0,0 +1,5 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Companies, } from "./companies/index.mjs";
3
+ export { Contacts, } from "./contacts/index.mjs";
4
+ export { Users } from "./users.mjs";
5
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GASV;OACM,EACL,QAAQ,GAcT;OACM,EAAE,KAAK,EAAE"}
@@ -0,0 +1,14 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as CompaniesAPI from "./companies/companies.mjs";
3
+ import { Companies, Company, CompanyCreateOrUpdateParams, CompanyDeleteByCompanyIDParams, CompanyDeleteParams, CompanyListParams, CompanyListResponse, CompanyRetrieveParams, DeletedCompany } from "./companies/companies.mjs";
4
+ import * as ContactsAPI from "./contacts/contacts.mjs";
5
+ import { Contact, ContactBlockParams, ContactBlockResponse, ContactCreateOrUpdateParams, ContactCreateOrUpdateResponse, ContactDeleteParams, ContactList, ContactListParams, ContactRetrieveParams, ContactRetrieveResponse, ContactUnblockParams, ContactUnblockResponse, Contacts, DeletedContact } from "./contacts/contacts.mjs";
6
+ export declare class Users extends APIResource {
7
+ contacts: ContactsAPI.Contacts;
8
+ companies: CompaniesAPI.Companies;
9
+ }
10
+ export declare namespace Users {
11
+ export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactRetrieveParams as ContactRetrieveParams, type ContactListParams as ContactListParams, type ContactDeleteParams as ContactDeleteParams, type ContactBlockParams as ContactBlockParams, type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams, type ContactUnblockParams as ContactUnblockParams, };
12
+ export { Companies as Companies, type Company as Company, type DeletedCompany as DeletedCompany, type CompanyListResponse as CompanyListResponse, type CompanyRetrieveParams as CompanyRetrieveParams, type CompanyListParams as CompanyListParams, type CompanyDeleteParams as CompanyDeleteParams, type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams, };
13
+ }
14
+ //# sourceMappingURL=users.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,OAAO,EACP,2BAA2B,EAC3B,8BAA8B,EAC9B,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACf;OACM,KAAK,WAAW;OAChB,EACL,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACf;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;CAC9E;AAKD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
@@ -0,0 +1,14 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import * as CompaniesAPI from "./companies/companies.js";
3
+ import { Companies, Company, CompanyCreateOrUpdateParams, CompanyDeleteByCompanyIDParams, CompanyDeleteParams, CompanyListParams, CompanyListResponse, CompanyRetrieveParams, DeletedCompany } from "./companies/companies.js";
4
+ import * as ContactsAPI from "./contacts/contacts.js";
5
+ import { Contact, ContactBlockParams, ContactBlockResponse, ContactCreateOrUpdateParams, ContactCreateOrUpdateResponse, ContactDeleteParams, ContactList, ContactListParams, ContactRetrieveParams, ContactRetrieveResponse, ContactUnblockParams, ContactUnblockResponse, Contacts, DeletedContact } from "./contacts/contacts.js";
6
+ export declare class Users extends APIResource {
7
+ contacts: ContactsAPI.Contacts;
8
+ companies: CompaniesAPI.Companies;
9
+ }
10
+ export declare namespace Users {
11
+ export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactRetrieveParams as ContactRetrieveParams, type ContactListParams as ContactListParams, type ContactDeleteParams as ContactDeleteParams, type ContactBlockParams as ContactBlockParams, type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams, type ContactUnblockParams as ContactUnblockParams, };
12
+ export { Companies as Companies, type Company as Company, type DeletedCompany as DeletedCompany, type CompanyListResponse as CompanyListResponse, type CompanyRetrieveParams as CompanyRetrieveParams, type CompanyListParams as CompanyListParams, type CompanyDeleteParams as CompanyDeleteParams, type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams, };
13
+ }
14
+ //# sourceMappingURL=users.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,OAAO,EACP,2BAA2B,EAC3B,8BAA8B,EAC9B,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACf;OACM,KAAK,WAAW;OAChB,EACL,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACf;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;CAC9E;AAKD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Users = void 0;
5
+ const tslib_1 = require("../../internal/tslib.js");
6
+ const resource_1 = require("../../core/resource.js");
7
+ const CompaniesAPI = tslib_1.__importStar(require("./companies/companies.js"));
8
+ const companies_1 = require("./companies/companies.js");
9
+ const ContactsAPI = tslib_1.__importStar(require("./contacts/contacts.js"));
10
+ const contacts_1 = require("./contacts/contacts.js");
11
+ class Users extends resource_1.APIResource {
12
+ constructor() {
13
+ super(...arguments);
14
+ this.contacts = new ContactsAPI.Contacts(this._client);
15
+ this.companies = new CompaniesAPI.Companies(this._client);
16
+ }
17
+ }
18
+ exports.Users = Users;
19
+ Users.Contacts = contacts_1.Contacts;
20
+ Users.Companies = companies_1.Companies;
21
+ //# sourceMappingURL=users.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+EAAsD;AACtD,wDAU+B;AAC/B,4EAAmD;AACnD,qDAe6B;AAE7B,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAHD,sBAGC;AAED,KAAK,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC1B,KAAK,CAAC,SAAS,GAAG,qBAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import * as CompaniesAPI from "./companies/companies.mjs";
4
+ import { Companies, } from "./companies/companies.mjs";
5
+ import * as ContactsAPI from "./contacts/contacts.mjs";
6
+ import { Contacts, } from "./contacts/contacts.mjs";
7
+ export class Users extends APIResource {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.contacts = new ContactsAPI.Contacts(this._client);
11
+ this.companies = new CompaniesAPI.Companies(this._client);
12
+ }
13
+ }
14
+ Users.Contacts = Contacts;
15
+ Users.Companies = Companies;
16
+ //# sourceMappingURL=users.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,GASV;OACM,KAAK,WAAW;OAChB,EAaL,QAAQ,GAET;AAED,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAED,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC1B,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./users/index.mjs";
2
+ //# sourceMappingURL=users.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./users/index.js";
2
+ //# sourceMappingURL=users.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./users/index.js"), exports);
6
+ //# sourceMappingURL=users.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.js","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA8B"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./users/index.mjs";
3
+ //# sourceMappingURL=users.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.mjs","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAAA,sFAAsF"}