@keystrokehq/raisely 0.1.0 → 0.1.2

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 (471) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-profile-url.cjs.map +1 -1
  4. package/dist/actions/check-profile-url.d.cts +21 -3
  5. package/dist/actions/check-profile-url.d.cts.map +1 -1
  6. package/dist/actions/check-profile-url.d.mts +21 -3
  7. package/dist/actions/check-profile-url.d.mts.map +1 -1
  8. package/dist/actions/check-profile-url.mjs.map +1 -1
  9. package/dist/actions/check-user.cjs +1 -1
  10. package/dist/actions/check-user.cjs.map +1 -1
  11. package/dist/actions/check-user.d.cts +15 -3
  12. package/dist/actions/check-user.d.cts.map +1 -1
  13. package/dist/actions/check-user.d.mts +15 -3
  14. package/dist/actions/check-user.d.mts.map +1 -1
  15. package/dist/actions/check-user.mjs +1 -1
  16. package/dist/actions/check-user.mjs.map +1 -1
  17. package/dist/actions/create-campaign.cjs +6 -6
  18. package/dist/actions/create-campaign.cjs.map +1 -1
  19. package/dist/actions/create-campaign.d.cts +86 -3
  20. package/dist/actions/create-campaign.d.cts.map +1 -1
  21. package/dist/actions/create-campaign.d.mts +86 -3
  22. package/dist/actions/create-campaign.d.mts.map +1 -1
  23. package/dist/actions/create-campaign.mjs +6 -6
  24. package/dist/actions/create-campaign.mjs.map +1 -1
  25. package/dist/actions/create-donation.cjs +6 -6
  26. package/dist/actions/create-donation.cjs.map +1 -1
  27. package/dist/actions/create-donation.d.cts +216 -3
  28. package/dist/actions/create-donation.d.cts.map +1 -1
  29. package/dist/actions/create-donation.d.mts +216 -3
  30. package/dist/actions/create-donation.d.mts.map +1 -1
  31. package/dist/actions/create-donation.mjs +6 -6
  32. package/dist/actions/create-donation.mjs.map +1 -1
  33. package/dist/actions/create-exercise-log.cjs +1 -1
  34. package/dist/actions/create-exercise-log.cjs.map +1 -1
  35. package/dist/actions/create-exercise-log.d.cts +52 -3
  36. package/dist/actions/create-exercise-log.d.cts.map +1 -1
  37. package/dist/actions/create-exercise-log.d.mts +52 -3
  38. package/dist/actions/create-exercise-log.d.mts.map +1 -1
  39. package/dist/actions/create-exercise-log.mjs +1 -1
  40. package/dist/actions/create-exercise-log.mjs.map +1 -1
  41. package/dist/actions/create-interaction.cjs.map +1 -1
  42. package/dist/actions/create-interaction.d.cts +47 -3
  43. package/dist/actions/create-interaction.d.cts.map +1 -1
  44. package/dist/actions/create-interaction.d.mts +47 -3
  45. package/dist/actions/create-interaction.d.mts.map +1 -1
  46. package/dist/actions/create-interaction.mjs.map +1 -1
  47. package/dist/actions/create-post.cjs +4 -4
  48. package/dist/actions/create-post.cjs.map +1 -1
  49. package/dist/actions/create-post.d.cts +29 -3
  50. package/dist/actions/create-post.d.cts.map +1 -1
  51. package/dist/actions/create-post.d.mts +29 -3
  52. package/dist/actions/create-post.d.mts.map +1 -1
  53. package/dist/actions/create-post.mjs +4 -4
  54. package/dist/actions/create-post.mjs.map +1 -1
  55. package/dist/actions/create-promo-code.cjs +3 -3
  56. package/dist/actions/create-promo-code.cjs.map +1 -1
  57. package/dist/actions/create-promo-code.d.cts +33 -3
  58. package/dist/actions/create-promo-code.d.cts.map +1 -1
  59. package/dist/actions/create-promo-code.d.mts +33 -3
  60. package/dist/actions/create-promo-code.d.mts.map +1 -1
  61. package/dist/actions/create-promo-code.mjs +3 -3
  62. package/dist/actions/create-promo-code.mjs.map +1 -1
  63. package/dist/actions/create-webhook.cjs +2 -2
  64. package/dist/actions/create-webhook.cjs.map +1 -1
  65. package/dist/actions/create-webhook.d.cts +52 -3
  66. package/dist/actions/create-webhook.d.cts.map +1 -1
  67. package/dist/actions/create-webhook.d.mts +52 -3
  68. package/dist/actions/create-webhook.d.mts.map +1 -1
  69. package/dist/actions/create-webhook.mjs +2 -2
  70. package/dist/actions/create-webhook.mjs.map +1 -1
  71. package/dist/actions/delete-exercise-log.cjs.map +1 -1
  72. package/dist/actions/delete-exercise-log.d.cts +31 -3
  73. package/dist/actions/delete-exercise-log.d.cts.map +1 -1
  74. package/dist/actions/delete-exercise-log.d.mts +31 -3
  75. package/dist/actions/delete-exercise-log.d.mts.map +1 -1
  76. package/dist/actions/delete-exercise-log.mjs.map +1 -1
  77. package/dist/actions/delete-interaction.cjs.map +1 -1
  78. package/dist/actions/delete-interaction.d.cts +40 -3
  79. package/dist/actions/delete-interaction.d.cts.map +1 -1
  80. package/dist/actions/delete-interaction.d.mts +40 -3
  81. package/dist/actions/delete-interaction.d.mts.map +1 -1
  82. package/dist/actions/delete-interaction.mjs.map +1 -1
  83. package/dist/actions/delete-post.cjs.map +1 -1
  84. package/dist/actions/delete-post.d.cts +52 -3
  85. package/dist/actions/delete-post.d.cts.map +1 -1
  86. package/dist/actions/delete-post.d.mts +52 -3
  87. package/dist/actions/delete-post.d.mts.map +1 -1
  88. package/dist/actions/delete-post.mjs.map +1 -1
  89. package/dist/actions/delete-profile.cjs.map +1 -1
  90. package/dist/actions/delete-profile.d.cts +94 -3
  91. package/dist/actions/delete-profile.d.cts.map +1 -1
  92. package/dist/actions/delete-profile.d.mts +94 -3
  93. package/dist/actions/delete-profile.d.mts.map +1 -1
  94. package/dist/actions/delete-profile.mjs.map +1 -1
  95. package/dist/actions/delete-webhook.cjs +2 -2
  96. package/dist/actions/delete-webhook.cjs.map +1 -1
  97. package/dist/actions/delete-webhook.d.cts +16 -3
  98. package/dist/actions/delete-webhook.d.cts.map +1 -1
  99. package/dist/actions/delete-webhook.d.mts +16 -3
  100. package/dist/actions/delete-webhook.d.mts.map +1 -1
  101. package/dist/actions/delete-webhook.mjs +2 -2
  102. package/dist/actions/delete-webhook.mjs.map +1 -1
  103. package/dist/actions/get-api-docs.cjs +3 -3
  104. package/dist/actions/get-api-docs.cjs.map +1 -1
  105. package/dist/actions/get-api-docs.d.cts +21 -3
  106. package/dist/actions/get-api-docs.d.cts.map +1 -1
  107. package/dist/actions/get-api-docs.d.mts +21 -3
  108. package/dist/actions/get-api-docs.d.mts.map +1 -1
  109. package/dist/actions/get-api-docs.mjs +3 -3
  110. package/dist/actions/get-api-docs.mjs.map +1 -1
  111. package/dist/actions/get-authenticate.cjs.map +1 -1
  112. package/dist/actions/get-authenticate.d.cts +47 -3
  113. package/dist/actions/get-authenticate.d.cts.map +1 -1
  114. package/dist/actions/get-authenticate.d.mts +47 -3
  115. package/dist/actions/get-authenticate.d.mts.map +1 -1
  116. package/dist/actions/get-authenticate.mjs.map +1 -1
  117. package/dist/actions/get-available-events.cjs +2 -2
  118. package/dist/actions/get-available-events.cjs.map +1 -1
  119. package/dist/actions/get-available-events.d.cts +28 -3
  120. package/dist/actions/get-available-events.d.cts.map +1 -1
  121. package/dist/actions/get-available-events.d.mts +28 -3
  122. package/dist/actions/get-available-events.d.mts.map +1 -1
  123. package/dist/actions/get-available-events.mjs +2 -2
  124. package/dist/actions/get-available-events.mjs.map +1 -1
  125. package/dist/actions/get-campaign-profile.cjs.map +1 -1
  126. package/dist/actions/get-campaign-profile.d.cts +120 -3
  127. package/dist/actions/get-campaign-profile.d.cts.map +1 -1
  128. package/dist/actions/get-campaign-profile.d.mts +120 -3
  129. package/dist/actions/get-campaign-profile.d.mts.map +1 -1
  130. package/dist/actions/get-campaign-profile.mjs.map +1 -1
  131. package/dist/actions/get-campaign.cjs +7 -7
  132. package/dist/actions/get-campaign.cjs.map +1 -1
  133. package/dist/actions/get-campaign.d.cts +88 -3
  134. package/dist/actions/get-campaign.d.cts.map +1 -1
  135. package/dist/actions/get-campaign.d.mts +88 -3
  136. package/dist/actions/get-campaign.d.mts.map +1 -1
  137. package/dist/actions/get-campaign.mjs +7 -7
  138. package/dist/actions/get-campaign.mjs.map +1 -1
  139. package/dist/actions/get-campaigns-profiles.cjs +10 -10
  140. package/dist/actions/get-campaigns-profiles.cjs.map +1 -1
  141. package/dist/actions/get-campaigns-profiles.d.cts +53 -3
  142. package/dist/actions/get-campaigns-profiles.d.cts.map +1 -1
  143. package/dist/actions/get-campaigns-profiles.d.mts +53 -3
  144. package/dist/actions/get-campaigns-profiles.d.mts.map +1 -1
  145. package/dist/actions/get-campaigns-profiles.mjs +10 -10
  146. package/dist/actions/get-campaigns-profiles.mjs.map +1 -1
  147. package/dist/actions/get-campaigns.cjs +4 -4
  148. package/dist/actions/get-campaigns.cjs.map +1 -1
  149. package/dist/actions/get-campaigns.d.cts +52 -3
  150. package/dist/actions/get-campaigns.d.cts.map +1 -1
  151. package/dist/actions/get-campaigns.d.mts +52 -3
  152. package/dist/actions/get-campaigns.d.mts.map +1 -1
  153. package/dist/actions/get-campaigns.mjs +4 -4
  154. package/dist/actions/get-campaigns.mjs.map +1 -1
  155. package/dist/actions/get-exercise-log.cjs +1 -1
  156. package/dist/actions/get-exercise-log.cjs.map +1 -1
  157. package/dist/actions/get-exercise-log.d.cts +69 -3
  158. package/dist/actions/get-exercise-log.d.cts.map +1 -1
  159. package/dist/actions/get-exercise-log.d.mts +69 -3
  160. package/dist/actions/get-exercise-log.d.mts.map +1 -1
  161. package/dist/actions/get-exercise-log.mjs +1 -1
  162. package/dist/actions/get-exercise-log.mjs.map +1 -1
  163. package/dist/actions/get-interaction.cjs.map +1 -1
  164. package/dist/actions/get-interaction.d.cts +86 -3
  165. package/dist/actions/get-interaction.d.cts.map +1 -1
  166. package/dist/actions/get-interaction.d.mts +86 -3
  167. package/dist/actions/get-interaction.d.mts.map +1 -1
  168. package/dist/actions/get-interaction.mjs.map +1 -1
  169. package/dist/actions/get-post.cjs +4 -4
  170. package/dist/actions/get-post.cjs.map +1 -1
  171. package/dist/actions/get-post.d.cts +50 -3
  172. package/dist/actions/get-post.d.cts.map +1 -1
  173. package/dist/actions/get-post.d.mts +50 -3
  174. package/dist/actions/get-post.d.mts.map +1 -1
  175. package/dist/actions/get-post.mjs +4 -4
  176. package/dist/actions/get-post.mjs.map +1 -1
  177. package/dist/actions/get-profile.cjs.map +1 -1
  178. package/dist/actions/get-profile.d.cts +103 -3
  179. package/dist/actions/get-profile.d.cts.map +1 -1
  180. package/dist/actions/get-profile.d.mts +103 -3
  181. package/dist/actions/get-profile.d.mts.map +1 -1
  182. package/dist/actions/get-profile.mjs.map +1 -1
  183. package/dist/actions/get-profiles.cjs +4 -4
  184. package/dist/actions/get-profiles.cjs.map +1 -1
  185. package/dist/actions/get-profiles.d.cts +90 -3
  186. package/dist/actions/get-profiles.d.cts.map +1 -1
  187. package/dist/actions/get-profiles.d.mts +90 -3
  188. package/dist/actions/get-profiles.d.mts.map +1 -1
  189. package/dist/actions/get-profiles.mjs +4 -4
  190. package/dist/actions/get-profiles.mjs.map +1 -1
  191. package/dist/actions/get-user-profiles.cjs +8 -8
  192. package/dist/actions/get-user-profiles.cjs.map +1 -1
  193. package/dist/actions/get-user-profiles.d.cts +35 -3
  194. package/dist/actions/get-user-profiles.d.cts.map +1 -1
  195. package/dist/actions/get-user-profiles.d.mts +35 -3
  196. package/dist/actions/get-user-profiles.d.mts.map +1 -1
  197. package/dist/actions/get-user-profiles.mjs +8 -8
  198. package/dist/actions/get-user-profiles.mjs.map +1 -1
  199. package/dist/actions/get-user.cjs +1 -1
  200. package/dist/actions/get-user.cjs.map +1 -1
  201. package/dist/actions/get-user.d.cts +56 -3
  202. package/dist/actions/get-user.d.cts.map +1 -1
  203. package/dist/actions/get-user.d.mts +56 -3
  204. package/dist/actions/get-user.d.mts.map +1 -1
  205. package/dist/actions/get-user.mjs +1 -1
  206. package/dist/actions/get-user.mjs.map +1 -1
  207. package/dist/actions/get-users.cjs +7 -7
  208. package/dist/actions/get-users.cjs.map +1 -1
  209. package/dist/actions/get-users.d.cts +58 -3
  210. package/dist/actions/get-users.d.cts.map +1 -1
  211. package/dist/actions/get-users.d.mts +58 -3
  212. package/dist/actions/get-users.d.mts.map +1 -1
  213. package/dist/actions/get-users.mjs +7 -7
  214. package/dist/actions/get-users.mjs.map +1 -1
  215. package/dist/actions/list-campaign-donations.cjs +8 -8
  216. package/dist/actions/list-campaign-donations.cjs.map +1 -1
  217. package/dist/actions/list-campaign-donations.d.cts +138 -3
  218. package/dist/actions/list-campaign-donations.d.cts.map +1 -1
  219. package/dist/actions/list-campaign-donations.d.mts +138 -3
  220. package/dist/actions/list-campaign-donations.d.mts.map +1 -1
  221. package/dist/actions/list-campaign-donations.mjs +8 -8
  222. package/dist/actions/list-campaign-donations.mjs.map +1 -1
  223. package/dist/actions/list-campaign-products.cjs +9 -9
  224. package/dist/actions/list-campaign-products.cjs.map +1 -1
  225. package/dist/actions/list-campaign-products.d.cts +33 -3
  226. package/dist/actions/list-campaign-products.d.cts.map +1 -1
  227. package/dist/actions/list-campaign-products.d.mts +33 -3
  228. package/dist/actions/list-campaign-products.d.mts.map +1 -1
  229. package/dist/actions/list-campaign-products.mjs +9 -9
  230. package/dist/actions/list-campaign-products.mjs.map +1 -1
  231. package/dist/actions/list-campaign-subscriptions.cjs +15 -15
  232. package/dist/actions/list-campaign-subscriptions.cjs.map +1 -1
  233. package/dist/actions/list-campaign-subscriptions.d.cts +103 -3
  234. package/dist/actions/list-campaign-subscriptions.d.cts.map +1 -1
  235. package/dist/actions/list-campaign-subscriptions.d.mts +103 -3
  236. package/dist/actions/list-campaign-subscriptions.d.mts.map +1 -1
  237. package/dist/actions/list-campaign-subscriptions.mjs +15 -15
  238. package/dist/actions/list-campaign-subscriptions.mjs.map +1 -1
  239. package/dist/actions/list-donations.cjs +8 -8
  240. package/dist/actions/list-donations.cjs.map +1 -1
  241. package/dist/actions/list-donations.d.cts +138 -3
  242. package/dist/actions/list-donations.d.cts.map +1 -1
  243. package/dist/actions/list-donations.d.mts +138 -3
  244. package/dist/actions/list-donations.d.mts.map +1 -1
  245. package/dist/actions/list-donations.mjs +8 -8
  246. package/dist/actions/list-donations.mjs.map +1 -1
  247. package/dist/actions/list-exercise-logs.cjs +5 -5
  248. package/dist/actions/list-exercise-logs.cjs.map +1 -1
  249. package/dist/actions/list-exercise-logs.d.cts +53 -3
  250. package/dist/actions/list-exercise-logs.d.cts.map +1 -1
  251. package/dist/actions/list-exercise-logs.d.mts +53 -3
  252. package/dist/actions/list-exercise-logs.d.mts.map +1 -1
  253. package/dist/actions/list-exercise-logs.mjs +5 -5
  254. package/dist/actions/list-exercise-logs.mjs.map +1 -1
  255. package/dist/actions/list-interaction-categories.cjs +4 -4
  256. package/dist/actions/list-interaction-categories.cjs.map +1 -1
  257. package/dist/actions/list-interaction-categories.d.cts +46 -3
  258. package/dist/actions/list-interaction-categories.d.cts.map +1 -1
  259. package/dist/actions/list-interaction-categories.d.mts +46 -3
  260. package/dist/actions/list-interaction-categories.d.mts.map +1 -1
  261. package/dist/actions/list-interaction-categories.mjs +4 -4
  262. package/dist/actions/list-interaction-categories.mjs.map +1 -1
  263. package/dist/actions/list-interactions.cjs +3 -3
  264. package/dist/actions/list-interactions.cjs.map +1 -1
  265. package/dist/actions/list-interactions.d.cts +63 -3
  266. package/dist/actions/list-interactions.d.cts.map +1 -1
  267. package/dist/actions/list-interactions.d.mts +63 -3
  268. package/dist/actions/list-interactions.d.mts.map +1 -1
  269. package/dist/actions/list-interactions.mjs +3 -3
  270. package/dist/actions/list-interactions.mjs.map +1 -1
  271. package/dist/actions/list-orders.cjs +2 -2
  272. package/dist/actions/list-orders.cjs.map +1 -1
  273. package/dist/actions/list-orders.d.cts +51 -3
  274. package/dist/actions/list-orders.d.cts.map +1 -1
  275. package/dist/actions/list-orders.d.mts +51 -3
  276. package/dist/actions/list-orders.d.mts.map +1 -1
  277. package/dist/actions/list-orders.mjs +2 -2
  278. package/dist/actions/list-orders.mjs.map +1 -1
  279. package/dist/actions/list-posts.cjs +3 -3
  280. package/dist/actions/list-posts.cjs.map +1 -1
  281. package/dist/actions/list-posts.d.cts +59 -3
  282. package/dist/actions/list-posts.d.cts.map +1 -1
  283. package/dist/actions/list-posts.d.mts +59 -3
  284. package/dist/actions/list-posts.d.mts.map +1 -1
  285. package/dist/actions/list-posts.mjs +3 -3
  286. package/dist/actions/list-posts.mjs.map +1 -1
  287. package/dist/actions/list-profile-donations.cjs +8 -8
  288. package/dist/actions/list-profile-donations.cjs.map +1 -1
  289. package/dist/actions/list-profile-donations.d.cts +143 -3
  290. package/dist/actions/list-profile-donations.d.cts.map +1 -1
  291. package/dist/actions/list-profile-donations.d.mts +143 -3
  292. package/dist/actions/list-profile-donations.d.mts.map +1 -1
  293. package/dist/actions/list-profile-donations.mjs +8 -8
  294. package/dist/actions/list-profile-donations.mjs.map +1 -1
  295. package/dist/actions/list-profile-members.cjs +3 -3
  296. package/dist/actions/list-profile-members.cjs.map +1 -1
  297. package/dist/actions/list-profile-members.d.cts +78 -3
  298. package/dist/actions/list-profile-members.d.cts.map +1 -1
  299. package/dist/actions/list-profile-members.d.mts +78 -3
  300. package/dist/actions/list-profile-members.d.mts.map +1 -1
  301. package/dist/actions/list-profile-members.mjs +3 -3
  302. package/dist/actions/list-profile-members.mjs.map +1 -1
  303. package/dist/actions/list-profile-posts.cjs +7 -7
  304. package/dist/actions/list-profile-posts.cjs.map +1 -1
  305. package/dist/actions/list-profile-posts.d.cts +60 -3
  306. package/dist/actions/list-profile-posts.d.cts.map +1 -1
  307. package/dist/actions/list-profile-posts.d.mts +60 -3
  308. package/dist/actions/list-profile-posts.d.mts.map +1 -1
  309. package/dist/actions/list-profile-posts.mjs +7 -7
  310. package/dist/actions/list-profile-posts.mjs.map +1 -1
  311. package/dist/actions/list-promo-codes.cjs +3 -3
  312. package/dist/actions/list-promo-codes.cjs.map +1 -1
  313. package/dist/actions/list-promo-codes.d.cts +28 -3
  314. package/dist/actions/list-promo-codes.d.cts.map +1 -1
  315. package/dist/actions/list-promo-codes.d.mts +28 -3
  316. package/dist/actions/list-promo-codes.d.mts.map +1 -1
  317. package/dist/actions/list-promo-codes.mjs +3 -3
  318. package/dist/actions/list-promo-codes.mjs.map +1 -1
  319. package/dist/actions/list-segments.cjs +4 -4
  320. package/dist/actions/list-segments.cjs.map +1 -1
  321. package/dist/actions/list-segments.d.cts +47 -3
  322. package/dist/actions/list-segments.d.cts.map +1 -1
  323. package/dist/actions/list-segments.d.mts +47 -3
  324. package/dist/actions/list-segments.d.mts.map +1 -1
  325. package/dist/actions/list-segments.mjs +4 -4
  326. package/dist/actions/list-segments.mjs.map +1 -1
  327. package/dist/actions/list-subscriptions2.cjs +14 -14
  328. package/dist/actions/list-subscriptions2.cjs.map +1 -1
  329. package/dist/actions/list-subscriptions2.d.cts +105 -3
  330. package/dist/actions/list-subscriptions2.d.cts.map +1 -1
  331. package/dist/actions/list-subscriptions2.d.mts +105 -3
  332. package/dist/actions/list-subscriptions2.d.mts.map +1 -1
  333. package/dist/actions/list-subscriptions2.mjs +14 -14
  334. package/dist/actions/list-subscriptions2.mjs.map +1 -1
  335. package/dist/actions/list-tags.cjs +4 -4
  336. package/dist/actions/list-tags.cjs.map +1 -1
  337. package/dist/actions/list-tags.d.cts +44 -3
  338. package/dist/actions/list-tags.d.cts.map +1 -1
  339. package/dist/actions/list-tags.d.mts +44 -3
  340. package/dist/actions/list-tags.d.mts.map +1 -1
  341. package/dist/actions/list-tags.mjs +4 -4
  342. package/dist/actions/list-tags.mjs.map +1 -1
  343. package/dist/actions/list-user-donations.cjs +9 -9
  344. package/dist/actions/list-user-donations.cjs.map +1 -1
  345. package/dist/actions/list-user-donations.d.cts +143 -3
  346. package/dist/actions/list-user-donations.d.cts.map +1 -1
  347. package/dist/actions/list-user-donations.d.mts +143 -3
  348. package/dist/actions/list-user-donations.d.mts.map +1 -1
  349. package/dist/actions/list-user-donations.mjs +9 -9
  350. package/dist/actions/list-user-donations.mjs.map +1 -1
  351. package/dist/actions/list-user-interactions.cjs +3 -3
  352. package/dist/actions/list-user-interactions.cjs.map +1 -1
  353. package/dist/actions/list-user-interactions.d.cts +100 -3
  354. package/dist/actions/list-user-interactions.d.cts.map +1 -1
  355. package/dist/actions/list-user-interactions.d.mts +100 -3
  356. package/dist/actions/list-user-interactions.d.mts.map +1 -1
  357. package/dist/actions/list-user-interactions.mjs +3 -3
  358. package/dist/actions/list-user-interactions.mjs.map +1 -1
  359. package/dist/actions/list-user-subscriptions.cjs +15 -15
  360. package/dist/actions/list-user-subscriptions.cjs.map +1 -1
  361. package/dist/actions/list-user-subscriptions.d.cts +106 -3
  362. package/dist/actions/list-user-subscriptions.d.cts.map +1 -1
  363. package/dist/actions/list-user-subscriptions.d.mts +106 -3
  364. package/dist/actions/list-user-subscriptions.d.mts.map +1 -1
  365. package/dist/actions/list-user-subscriptions.mjs +15 -15
  366. package/dist/actions/list-user-subscriptions.mjs.map +1 -1
  367. package/dist/actions/list-webhooks.cjs +2 -2
  368. package/dist/actions/list-webhooks.cjs.map +1 -1
  369. package/dist/actions/list-webhooks.d.cts +39 -3
  370. package/dist/actions/list-webhooks.d.cts.map +1 -1
  371. package/dist/actions/list-webhooks.d.mts +39 -3
  372. package/dist/actions/list-webhooks.d.mts.map +1 -1
  373. package/dist/actions/list-webhooks.mjs +2 -2
  374. package/dist/actions/list-webhooks.mjs.map +1 -1
  375. package/dist/actions/move-donation.cjs +7 -7
  376. package/dist/actions/move-donation.cjs.map +1 -1
  377. package/dist/actions/move-donation.d.cts +113 -3
  378. package/dist/actions/move-donation.d.cts.map +1 -1
  379. package/dist/actions/move-donation.d.mts +113 -3
  380. package/dist/actions/move-donation.d.mts.map +1 -1
  381. package/dist/actions/move-donation.mjs +7 -7
  382. package/dist/actions/move-donation.mjs.map +1 -1
  383. package/dist/actions/post-logout.cjs +1 -1
  384. package/dist/actions/post-logout.cjs.map +1 -1
  385. package/dist/actions/post-logout.d.cts +5 -3
  386. package/dist/actions/post-logout.d.cts.map +1 -1
  387. package/dist/actions/post-logout.d.mts +5 -3
  388. package/dist/actions/post-logout.d.mts.map +1 -1
  389. package/dist/actions/post-logout.mjs +1 -1
  390. package/dist/actions/post-logout.mjs.map +1 -1
  391. package/dist/actions/post-users.cjs +4 -4
  392. package/dist/actions/post-users.cjs.map +1 -1
  393. package/dist/actions/post-users.d.cts +60 -3
  394. package/dist/actions/post-users.d.cts.map +1 -1
  395. package/dist/actions/post-users.d.mts +60 -3
  396. package/dist/actions/post-users.d.mts.map +1 -1
  397. package/dist/actions/post-users.mjs +4 -4
  398. package/dist/actions/post-users.mjs.map +1 -1
  399. package/dist/actions/update-campaign-config.cjs.map +1 -1
  400. package/dist/actions/update-campaign-config.d.cts +15 -3
  401. package/dist/actions/update-campaign-config.d.cts.map +1 -1
  402. package/dist/actions/update-campaign-config.d.mts +15 -3
  403. package/dist/actions/update-campaign-config.d.mts.map +1 -1
  404. package/dist/actions/update-campaign-config.mjs.map +1 -1
  405. package/dist/actions/update-campaign.cjs.map +1 -1
  406. package/dist/actions/update-campaign.d.cts +73 -3
  407. package/dist/actions/update-campaign.d.cts.map +1 -1
  408. package/dist/actions/update-campaign.d.mts +73 -3
  409. package/dist/actions/update-campaign.d.mts.map +1 -1
  410. package/dist/actions/update-campaign.mjs.map +1 -1
  411. package/dist/actions/update-exercise-log.cjs +2 -2
  412. package/dist/actions/update-exercise-log.cjs.map +1 -1
  413. package/dist/actions/update-exercise-log.d.cts +54 -3
  414. package/dist/actions/update-exercise-log.d.cts.map +1 -1
  415. package/dist/actions/update-exercise-log.d.mts +54 -3
  416. package/dist/actions/update-exercise-log.d.mts.map +1 -1
  417. package/dist/actions/update-exercise-log.mjs +2 -2
  418. package/dist/actions/update-exercise-log.mjs.map +1 -1
  419. package/dist/actions/update-post.cjs +1 -1
  420. package/dist/actions/update-post.cjs.map +1 -1
  421. package/dist/actions/update-post.d.cts +54 -3
  422. package/dist/actions/update-post.d.cts.map +1 -1
  423. package/dist/actions/update-post.d.mts +54 -3
  424. package/dist/actions/update-post.d.mts.map +1 -1
  425. package/dist/actions/update-post.mjs +1 -1
  426. package/dist/actions/update-post.mjs.map +1 -1
  427. package/dist/actions/update-profile.cjs +1 -1
  428. package/dist/actions/update-profile.cjs.map +1 -1
  429. package/dist/actions/update-profile.d.cts +108 -3
  430. package/dist/actions/update-profile.d.cts.map +1 -1
  431. package/dist/actions/update-profile.d.mts +108 -3
  432. package/dist/actions/update-profile.d.mts.map +1 -1
  433. package/dist/actions/update-profile.mjs +1 -1
  434. package/dist/actions/update-profile.mjs.map +1 -1
  435. package/dist/actions/update-user.cjs +1 -1
  436. package/dist/actions/update-user.cjs.map +1 -1
  437. package/dist/actions/update-user.d.cts +89 -3
  438. package/dist/actions/update-user.d.cts.map +1 -1
  439. package/dist/actions/update-user.d.mts +89 -3
  440. package/dist/actions/update-user.d.mts.map +1 -1
  441. package/dist/actions/update-user.mjs +1 -1
  442. package/dist/actions/update-user.mjs.map +1 -1
  443. package/dist/actions/update-webhook.cjs +1 -1
  444. package/dist/actions/update-webhook.cjs.map +1 -1
  445. package/dist/actions/update-webhook.d.cts +28 -3
  446. package/dist/actions/update-webhook.d.cts.map +1 -1
  447. package/dist/actions/update-webhook.d.mts +28 -3
  448. package/dist/actions/update-webhook.d.mts.map +1 -1
  449. package/dist/actions/update-webhook.mjs +1 -1
  450. package/dist/actions/update-webhook.mjs.map +1 -1
  451. package/dist/actions/upload-campaign-media.cjs +1 -1
  452. package/dist/actions/upload-campaign-media.cjs.map +1 -1
  453. package/dist/actions/upload-campaign-media.d.cts +24 -3
  454. package/dist/actions/upload-campaign-media.d.cts.map +1 -1
  455. package/dist/actions/upload-campaign-media.d.mts +24 -3
  456. package/dist/actions/upload-campaign-media.d.mts.map +1 -1
  457. package/dist/actions/upload-campaign-media.mjs +1 -1
  458. package/dist/actions/upload-campaign-media.mjs.map +1 -1
  459. package/dist/actions/upsert-user.cjs.map +1 -1
  460. package/dist/actions/upsert-user.d.cts +97 -3
  461. package/dist/actions/upsert-user.d.cts.map +1 -1
  462. package/dist/actions/upsert-user.d.mts +97 -3
  463. package/dist/actions/upsert-user.d.mts.map +1 -1
  464. package/dist/actions/upsert-user.mjs.map +1 -1
  465. package/dist/catalog.cjs +7 -1
  466. package/dist/catalog.cjs.map +1 -1
  467. package/dist/catalog.d.cts +8 -0
  468. package/dist/catalog.d.mts +8 -0
  469. package/dist/catalog.mjs +7 -1
  470. package/dist/catalog.mjs.map +1 -1
  471. package/package.json +2 -2
@@ -1,9 +1,96 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-profiles.d.ts
4
- declare const RaiselyGetProfilesInput: z.ZodTypeAny;
5
- declare const RaiselyGetProfilesOutput: z.ZodTypeAny;
6
- declare const raiselyGetProfiles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyGetProfilesInput: z.ZodObject<{
5
+ q: z.ZodOptional<z.ZodString>;
6
+ rank: z.ZodOptional<z.ZodEnum<{
7
+ asc: "asc";
8
+ desc: "desc";
9
+ }>>;
10
+ sort: z.ZodOptional<z.ZodString>;
11
+ user: z.ZodOptional<z.ZodString>;
12
+ limit: z.ZodOptional<z.ZodNumber>;
13
+ order: z.ZodOptional<z.ZodEnum<{
14
+ asc: "asc";
15
+ desc: "desc";
16
+ }>>;
17
+ offset: z.ZodOptional<z.ZodNumber>;
18
+ private: z.ZodOptional<z.ZodBoolean>;
19
+ campaign: z.ZodString;
20
+ rankDonors: z.ZodOptional<z.ZodEnum<{
21
+ asc: "asc";
22
+ desc: "desc";
23
+ }>>;
24
+ organisation: z.ZodOptional<z.ZodString>;
25
+ rankActivityTime: z.ZodOptional<z.ZodEnum<{
26
+ asc: "asc";
27
+ desc: "desc";
28
+ }>>;
29
+ rankActivityTotal: z.ZodOptional<z.ZodEnum<{
30
+ asc: "asc";
31
+ desc: "desc";
32
+ }>>;
33
+ }, z.core.$strip>;
34
+ declare const RaiselyGetProfilesOutput: z.ZodObject<{
35
+ data: z.ZodArray<z.ZodObject<{
36
+ goal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
40
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ user: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
42
+ uuid: z.ZodNullable<z.ZodString>;
43
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ badges: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
45
+ parent: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
46
+ public: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
47
+ shared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
48
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ private: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
50
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ pronouns: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ userUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ grandTotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
+ parentUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ teamProfile: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
60
+ campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ exerciseGoal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
62
+ uniqueDonors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
63
+ activityTotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
64
+ campaignTotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
65
+ donationCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
+ exerciseTotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
67
+ isCampaignProfile: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
68
+ organisationProfile: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
69
+ }, z.core.$strip>>;
70
+ pagination: z.ZodNullable<z.ZodObject<{
71
+ limit: z.ZodNullable<z.ZodNumber>;
72
+ pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
73
+ total: z.ZodNullable<z.ZodNumber>;
74
+ offset: z.ZodNullable<z.ZodNumber>;
75
+ nextUrl: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
76
+ prevUrl: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
77
+ }, z.core.$strip>>;
78
+ }, z.core.$strip>;
79
+ declare const raiselyGetProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
80
+ campaign: string;
81
+ q?: string | undefined;
82
+ rank?: "asc" | "desc" | undefined;
83
+ sort?: string | undefined;
84
+ user?: string | undefined;
85
+ limit?: number | undefined;
86
+ order?: "asc" | "desc" | undefined;
87
+ offset?: number | undefined;
88
+ private?: boolean | undefined;
89
+ rankDonors?: "asc" | "desc" | undefined;
90
+ organisation?: string | undefined;
91
+ rankActivityTime?: "asc" | "desc" | undefined;
92
+ rankActivityTotal?: "asc" | "desc" | undefined;
93
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
94
  //#endregion
8
95
  export { raiselyGetProfiles };
9
96
  //# sourceMappingURL=get-profiles.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-profiles.d.cts","names":[],"sources":["../../src/actions/get-profiles.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAc2C;AAAA,cA4CtE,wBAAA,EAA0B,CAAA,CAAE,UAGqC;AAAA,cAEjE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-profiles.d.cts","names":[],"sources":["../../src/actions/get-profiles.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,96 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-profiles.d.ts
4
- declare const RaiselyGetProfilesInput: z.ZodTypeAny;
5
- declare const RaiselyGetProfilesOutput: z.ZodTypeAny;
6
- declare const raiselyGetProfiles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyGetProfilesInput: z.ZodObject<{
5
+ q: z.ZodOptional<z.ZodString>;
6
+ rank: z.ZodOptional<z.ZodEnum<{
7
+ asc: "asc";
8
+ desc: "desc";
9
+ }>>;
10
+ sort: z.ZodOptional<z.ZodString>;
11
+ user: z.ZodOptional<z.ZodString>;
12
+ limit: z.ZodOptional<z.ZodNumber>;
13
+ order: z.ZodOptional<z.ZodEnum<{
14
+ asc: "asc";
15
+ desc: "desc";
16
+ }>>;
17
+ offset: z.ZodOptional<z.ZodNumber>;
18
+ private: z.ZodOptional<z.ZodBoolean>;
19
+ campaign: z.ZodString;
20
+ rankDonors: z.ZodOptional<z.ZodEnum<{
21
+ asc: "asc";
22
+ desc: "desc";
23
+ }>>;
24
+ organisation: z.ZodOptional<z.ZodString>;
25
+ rankActivityTime: z.ZodOptional<z.ZodEnum<{
26
+ asc: "asc";
27
+ desc: "desc";
28
+ }>>;
29
+ rankActivityTotal: z.ZodOptional<z.ZodEnum<{
30
+ asc: "asc";
31
+ desc: "desc";
32
+ }>>;
33
+ }, z.core.$strip>;
34
+ declare const RaiselyGetProfilesOutput: z.ZodObject<{
35
+ data: z.ZodArray<z.ZodObject<{
36
+ goal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
40
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ user: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
42
+ uuid: z.ZodNullable<z.ZodString>;
43
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ badges: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
45
+ parent: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
46
+ public: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
47
+ shared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
48
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ private: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
50
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ pronouns: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ userUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ grandTotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
+ parentUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ teamProfile: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
60
+ campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ exerciseGoal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
62
+ uniqueDonors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
63
+ activityTotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
64
+ campaignTotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
65
+ donationCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
+ exerciseTotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
67
+ isCampaignProfile: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
68
+ organisationProfile: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
69
+ }, z.core.$strip>>;
70
+ pagination: z.ZodNullable<z.ZodObject<{
71
+ limit: z.ZodNullable<z.ZodNumber>;
72
+ pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
73
+ total: z.ZodNullable<z.ZodNumber>;
74
+ offset: z.ZodNullable<z.ZodNumber>;
75
+ nextUrl: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
76
+ prevUrl: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
77
+ }, z.core.$strip>>;
78
+ }, z.core.$strip>;
79
+ declare const raiselyGetProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
80
+ campaign: string;
81
+ q?: string | undefined;
82
+ rank?: "asc" | "desc" | undefined;
83
+ sort?: string | undefined;
84
+ user?: string | undefined;
85
+ limit?: number | undefined;
86
+ order?: "asc" | "desc" | undefined;
87
+ offset?: number | undefined;
88
+ private?: boolean | undefined;
89
+ rankDonors?: "asc" | "desc" | undefined;
90
+ organisation?: string | undefined;
91
+ rankActivityTime?: "asc" | "desc" | undefined;
92
+ rankActivityTotal?: "asc" | "desc" | undefined;
93
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
94
  //#endregion
8
95
  export { raiselyGetProfiles };
9
96
  //# sourceMappingURL=get-profiles.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-profiles.d.mts","names":[],"sources":["../../src/actions/get-profiles.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAc2C;AAAA,cA4CtE,wBAAA,EAA0B,CAAA,CAAE,UAGqC;AAAA,cAEjE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-profiles.d.mts","names":[],"sources":["../../src/actions/get-profiles.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -23,7 +23,7 @@ const RaiselyGetProfiles_ProfileSchema = z.object({
23
23
  tags: z.array(z.record(z.string(), z.unknown())).describe("List of tags applied to the profile.").nullable().optional(),
24
24
  type: z.string().describe("Type of profile: 'INDIVIDUAL', 'GROUP' (team), or 'ORGANISATION'.").nullable().optional(),
25
25
  user: z.record(z.string(), z.unknown()).describe("Nested user object with owner details.").nullable().optional(),
26
- uuid: z.string().describe("Unique identifier of the profile."),
26
+ uuid: z.string().describe("Unique identifier of the profile.").nullable(),
27
27
  total: z.number().int().describe("Total amount raised in the profile's currency (in cents).").nullable().optional(),
28
28
  badges: z.array(z.record(z.string(), z.unknown())).describe("List of badges earned by the profile.").nullable().optional(),
29
29
  parent: z.record(z.string(), z.unknown()).describe("Nested parent profile object.").nullable().optional(),
@@ -52,10 +52,10 @@ const RaiselyGetProfiles_ProfileSchema = z.object({
52
52
  organisationProfile: z.record(z.string(), z.unknown()).describe("Nested organisation profile object.").nullable().optional()
53
53
  }).describe("A fundraising profile object in Raisely representing an individual, team, or organisation fundraiser.");
54
54
  const RaiselyGetProfiles_PaginationSchema = z.object({
55
- limit: z.number().int().describe("Number of records returned per page."),
55
+ limit: z.number().int().describe("Number of records returned per page.").nullable(),
56
56
  pages: z.number().int().describe("Total number of pages available.").nullable().optional(),
57
- total: z.number().int().describe("Total number of records matching the query."),
58
- offset: z.number().int().describe("Number of records skipped (for pagination)."),
57
+ total: z.number().int().describe("Total number of records matching the query.").nullable(),
58
+ offset: z.number().int().describe("Number of records skipped (for pagination).").nullable(),
59
59
  nextUrl: z.union([z.string(), z.boolean()]).nullable().optional(),
60
60
  prevUrl: z.union([z.string(), z.boolean()]).nullable().optional()
61
61
  }).describe("Pagination details for list endpoints.");
@@ -1 +1 @@
1
- {"version":3,"file":"get-profiles.mjs","names":[],"sources":["../../src/actions/get-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetProfilesInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Full-text search query to find profiles matching the given text (searches name, description, etc.).\").optional(),\n rank: z.enum([\"asc\", \"desc\"]).describe(\"Rank profiles by total amount raised. 'desc' returns highest fundraisers first, 'asc' returns lowest first.\").optional(),\n sort: z.string().describe(\"Field to sort results by. Common values: 'createdAt', 'updatedAt', 'name', 'total', 'goal'.\").optional(),\n user: z.string().describe(\"UUID of the user to filter profiles by. Returns only profiles owned by this user.\").optional(),\n limit: z.number().int().describe(\"Number of records to return per page. Defaults to 100. Maximum 100.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: 'asc' for ascending or 'desc' for descending. Only applies when 'sort' is specified.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Defaults to 0.\").optional(),\n private: z.boolean().describe(\"If true, includes private custom fields in the response (requires authentication with proper permissions).\").optional(),\n campaign: z.string().describe(\"UUID, path, or domain of the campaign to filter profiles by. Required parameter.\"),\n rankDonors: z.enum([\"asc\", \"desc\"]).describe(\"Rank profiles by number of unique donors. 'desc' returns profiles with most donors first.\").optional(),\n organisation: z.string().describe(\"UUID of the organisation to filter profiles by.\").optional(),\n rankActivityTime: z.enum([\"asc\", \"desc\"]).describe(\"Rank profiles by activity time (e.g., exercise duration). 'desc' returns longest activity time first.\").optional(),\n rankActivityTotal: z.enum([\"asc\", \"desc\"]).describe(\"Rank profiles by activity total (e.g., distance or steps tracked). 'desc' returns highest activity first.\").optional(),\n}).describe(\"Request parameters for retrieving fundraising profiles from Raisely.\");\nconst RaiselyGetProfiles_ProfileSchema: z.ZodTypeAny = z.object({\n goal: z.number().int().describe(\"Fundraising goal amount in cents.\").nullable().optional(),\n name: z.string().describe(\"Display name of the profile/fundraiser.\").nullable().optional(),\n path: z.string().describe(\"URL-friendly path for the profile (used in profile URLs).\").nullable().optional(),\n tags: z.array(z.record(z.string(), z.unknown())).describe(\"List of tags applied to the profile.\").nullable().optional(),\n type: z.string().describe(\"Type of profile: 'INDIVIDUAL', 'GROUP' (team), or 'ORGANISATION'.\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"Nested user object with owner details.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the profile.\"),\n total: z.number().int().describe(\"Total amount raised in the profile's currency (in cents).\").nullable().optional(),\n badges: z.array(z.record(z.string(), z.unknown())).describe(\"List of badges earned by the profile.\").nullable().optional(),\n parent: z.record(z.string(), z.unknown()).describe(\"Nested parent profile object.\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields configured for the campaign.\").nullable().optional(),\n shared: z.boolean().describe(\"Whether the profile has been shared by its owner.\").nullable().optional(),\n status: z.string().describe(\"Profile status: 'ACTIVE' or 'DELETED'.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields (only returned when private=true and authenticated).\").nullable().optional(),\n currency: z.string().describe(\"3-letter ISO currency code (e.g., 'USD', 'AUD').\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the profile's photo/avatar.\").nullable().optional(),\n pronouns: z.string().describe(\"Pronouns of the profile owner.\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user owning the profile.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the profile was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the profile was last updated.\").nullable().optional(),\n grandTotal: z.number().int().describe(\"Total amount raised including registration fees (in cents).\").nullable().optional(),\n parentUuid: z.string().describe(\"UUID of the parent profile (e.g., team for team members).\").nullable().optional(),\n description: z.string().describe(\"Public description of the fundraiser profile.\").nullable().optional(),\n teamProfile: z.record(z.string(), z.unknown()).describe(\"Nested team profile object (if profile is a team member).\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the associated campaign.\").nullable().optional(),\n exerciseGoal: z.number().int().describe(\"Distance goal in metres (for fitness fundraisers).\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Total number of unique donors to the profile.\").nullable().optional(),\n activityTotal: z.number().int().describe(\"Total contribution toward activity goal.\").nullable().optional(),\n campaignTotal: z.number().int().describe(\"Total amount contributed to the campaign total (in cents).\").nullable().optional(),\n donationCount: z.number().int().describe(\"Total number of donations made to this profile and its children.\").nullable().optional(),\n exerciseTotal: z.number().int().describe(\"Distance completed in metres.\").nullable().optional(),\n isCampaignProfile: z.boolean().describe(\"Whether this is the campaign's main profile.\").nullable().optional(),\n organisationProfile: z.record(z.string(), z.unknown()).describe(\"Nested organisation profile object.\").nullable().optional(),\n}).describe(\"A fundraising profile object in Raisely representing an individual, team, or organisation fundraiser.\");\nconst RaiselyGetProfiles_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of records returned per page.\"),\n pages: z.number().int().describe(\"Total number of pages available.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records matching the query.\"),\n offset: z.number().int().describe(\"Number of records skipped (for pagination).\"),\n nextUrl: z.union([z.string(), z.boolean()]).nullable().optional(),\n prevUrl: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).describe(\"Pagination details for list endpoints.\");\nexport const RaiselyGetProfilesOutput: z.ZodTypeAny = z.object({\n data: z.array(RaiselyGetProfiles_ProfileSchema).describe(\"List of profile objects.\"),\n pagination: RaiselyGetProfiles_PaginationSchema.nullable(),\n}).describe(\"Response schema for retrieving a list of profiles from Raisely.\");\n\nexport const raiselyGetProfiles = action(\"RAISELY_GET_PROFILES\", {\n slug: \"raisely-get-profiles\",\n name: \"Raisely Get Profiles\",\n description: \"Retrieves a paginated list of fundraising profiles for a Raisely campaign. Use this tool to: - List all fundraisers (profiles) in a campaign - Search for specific profiles by name or description - Filter profiles by user or organisation - Rank profiles by amount raised, donor count, or activity metrics - Paginate through large result sets The 'campaign' parameter is required and accepts a campaign UUID, path, or domain.\",\n input: RaiselyGetProfilesInput,\n output: RaiselyGetProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC/J,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAClI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACj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C,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-profiles.mjs","names":[],"sources":["../../src/actions/get-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetProfilesInput = z.object({\n q: z.string().describe(\"Full-text search query to find profiles matching the given text (searches name, description, etc.).\").optional(),\n rank: z.enum([\"asc\", \"desc\"]).describe(\"Rank profiles by total amount raised. 'desc' returns highest fundraisers first, 'asc' returns lowest first.\").optional(),\n sort: z.string().describe(\"Field to sort results by. Common values: 'createdAt', 'updatedAt', 'name', 'total', 'goal'.\").optional(),\n user: z.string().describe(\"UUID of the user to filter profiles by. Returns only profiles owned by this user.\").optional(),\n limit: z.number().int().describe(\"Number of records to return per page. Defaults to 100. Maximum 100.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: 'asc' for ascending or 'desc' for descending. Only applies when 'sort' is specified.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Defaults to 0.\").optional(),\n private: z.boolean().describe(\"If true, includes private custom fields in the response (requires authentication with proper permissions).\").optional(),\n campaign: z.string().describe(\"UUID, path, or domain of the campaign to filter profiles by. Required parameter.\"),\n rankDonors: z.enum([\"asc\", \"desc\"]).describe(\"Rank profiles by number of unique donors. 'desc' returns profiles with most donors first.\").optional(),\n organisation: z.string().describe(\"UUID of the organisation to filter profiles by.\").optional(),\n rankActivityTime: z.enum([\"asc\", \"desc\"]).describe(\"Rank profiles by activity time (e.g., exercise duration). 'desc' returns longest activity time first.\").optional(),\n rankActivityTotal: z.enum([\"asc\", \"desc\"]).describe(\"Rank profiles by activity total (e.g., distance or steps tracked). 'desc' returns highest activity first.\").optional(),\n}).describe(\"Request parameters for retrieving fundraising profiles from Raisely.\");\nconst RaiselyGetProfiles_ProfileSchema = z.object({\n goal: z.number().int().describe(\"Fundraising goal amount in cents.\").nullable().optional(),\n name: z.string().describe(\"Display name of the profile/fundraiser.\").nullable().optional(),\n path: z.string().describe(\"URL-friendly path for the profile (used in profile URLs).\").nullable().optional(),\n tags: z.array(z.record(z.string(), z.unknown())).describe(\"List of tags applied to the profile.\").nullable().optional(),\n type: z.string().describe(\"Type of profile: 'INDIVIDUAL', 'GROUP' (team), or 'ORGANISATION'.\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"Nested user object with owner details.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the profile.\").nullable(),\n total: z.number().int().describe(\"Total amount raised in the profile's currency (in cents).\").nullable().optional(),\n badges: z.array(z.record(z.string(), z.unknown())).describe(\"List of badges earned by the profile.\").nullable().optional(),\n parent: z.record(z.string(), z.unknown()).describe(\"Nested parent profile object.\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields configured for the campaign.\").nullable().optional(),\n shared: z.boolean().describe(\"Whether the profile has been shared by its owner.\").nullable().optional(),\n status: z.string().describe(\"Profile status: 'ACTIVE' or 'DELETED'.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields (only returned when private=true and authenticated).\").nullable().optional(),\n currency: z.string().describe(\"3-letter ISO currency code (e.g., 'USD', 'AUD').\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the profile's photo/avatar.\").nullable().optional(),\n pronouns: z.string().describe(\"Pronouns of the profile owner.\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user owning the profile.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the profile was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the profile was last updated.\").nullable().optional(),\n grandTotal: z.number().int().describe(\"Total amount raised including registration fees (in cents).\").nullable().optional(),\n parentUuid: z.string().describe(\"UUID of the parent profile (e.g., team for team members).\").nullable().optional(),\n description: z.string().describe(\"Public description of the fundraiser profile.\").nullable().optional(),\n teamProfile: z.record(z.string(), z.unknown()).describe(\"Nested team profile object (if profile is a team member).\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the associated campaign.\").nullable().optional(),\n exerciseGoal: z.number().int().describe(\"Distance goal in metres (for fitness fundraisers).\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Total number of unique donors to the profile.\").nullable().optional(),\n activityTotal: z.number().int().describe(\"Total contribution toward activity goal.\").nullable().optional(),\n campaignTotal: z.number().int().describe(\"Total amount contributed to the campaign total (in cents).\").nullable().optional(),\n donationCount: z.number().int().describe(\"Total number of donations made to this profile and its children.\").nullable().optional(),\n exerciseTotal: z.number().int().describe(\"Distance completed in metres.\").nullable().optional(),\n isCampaignProfile: z.boolean().describe(\"Whether this is the campaign's main profile.\").nullable().optional(),\n organisationProfile: z.record(z.string(), z.unknown()).describe(\"Nested organisation profile object.\").nullable().optional(),\n}).describe(\"A fundraising profile object in Raisely representing an individual, team, or organisation fundraiser.\");\nconst RaiselyGetProfiles_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of records returned per page.\").nullable(),\n pages: z.number().int().describe(\"Total number of pages available.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records matching the query.\").nullable(),\n offset: z.number().int().describe(\"Number of records skipped (for pagination).\").nullable(),\n nextUrl: z.union([z.string(), z.boolean()]).nullable().optional(),\n prevUrl: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).describe(\"Pagination details for list endpoints.\");\nexport const RaiselyGetProfilesOutput = z.object({\n data: z.array(RaiselyGetProfiles_ProfileSchema).describe(\"List of profile objects.\"),\n pagination: RaiselyGetProfiles_PaginationSchema.nullable(),\n}).describe(\"Response schema for retrieving a list of profiles from Raisely.\");\n\nexport const raiselyGetProfiles = action(\"RAISELY_GET_PROFILES\", {\n slug: \"raisely-get-profiles\",\n name: \"Raisely Get Profiles\",\n description: \"Retrieves a paginated list of fundraising profiles for a Raisely campaign. Use this tool to: - List all fundraisers (profiles) in a campaign - Search for specific profiles by name or description - Filter profiles by user or organisation - Rank profiles by amount raised, donor count, or activity metrics - Paginate through large result sets The 'campaign' parameter is required and accepts a campaign UUID, path, or domain.\",\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zF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;EACnF,YAAY,oCAAoC,SAAS;CAC3D,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
@@ -10,23 +10,23 @@ const RaiselyGetUserProfiles_ProfileItemSchema = zod.z.object({
10
10
  name: zod.z.string().describe("Name of the profile").nullable().optional(),
11
11
  path: zod.z.string().describe("URL path of the profile").nullable().optional(),
12
12
  type: zod.z.string().describe("Type of profile (e.g., 'INDIVIDUAL', 'GROUP', 'TEAM')").nullable().optional(),
13
- uuid: zod.z.string().describe("Unique identifier of the profile"),
13
+ uuid: zod.z.string().describe("Unique identifier of the profile").nullable(),
14
14
  total: zod.z.number().int().describe("Total amount raised in cents").nullable().optional(),
15
15
  public: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Public custom fields of the profile").nullable().optional(),
16
16
  status: zod.z.string().describe("Status of the profile (e.g., 'ACTIVE', 'DELETED')").nullable().optional(),
17
17
  private: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Private custom fields of the profile (when requested and permitted)").nullable().optional(),
18
18
  currency: zod.z.string().describe("Currency code (e.g., 'AUD', 'USD')").nullable().optional(),
19
- userUuid: zod.z.string().describe("UUID of the user owning the profile"),
20
- createdAt: zod.z.string().describe("Timestamp when the profile was created"),
21
- updatedAt: zod.z.string().describe("Timestamp when the profile was last updated"),
19
+ userUuid: zod.z.string().describe("UUID of the user owning the profile").nullable(),
20
+ createdAt: zod.z.string().describe("Timestamp when the profile was created").nullable(),
21
+ updatedAt: zod.z.string().describe("Timestamp when the profile was last updated").nullable(),
22
22
  description: zod.z.string().describe("Profile description").nullable().optional(),
23
- campaignUuid: zod.z.string().describe("UUID of the associated campaign")
23
+ campaignUuid: zod.z.string().describe("UUID of the associated campaign").nullable()
24
24
  }).describe("Profile object associated with a user.");
25
25
  const RaiselyGetUserProfiles_PaginationSchema = zod.z.object({
26
- limit: zod.z.number().int().describe("Number of records per page"),
26
+ limit: zod.z.number().int().describe("Number of records per page").nullable(),
27
27
  pages: zod.z.number().int().describe("Total number of pages available").nullable().optional(),
28
- total: zod.z.number().int().describe("Total number of profiles for the user"),
29
- offset: zod.z.number().int().describe("Number of records skipped"),
28
+ total: zod.z.number().int().describe("Total number of profiles for the user").nullable(),
29
+ offset: zod.z.number().int().describe("Number of records skipped").nullable(),
30
30
  nextUrl: zod.z.string().describe("URL for the next page of results, or None if no next page").nullable().optional(),
31
31
  prevUrl: zod.z.string().describe("URL for the previous page of results, or None if no previous page").nullable().optional()
32
32
  }).describe("Pagination details for list endpoints.");
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profiles.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetUserProfilesInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the user whose profiles are to be retrieved\"),\n private: z.boolean().describe(\"Include private custom fields when true (requires permissions)\").optional(),\n}).describe(\"Request schema for retrieving profiles associated with a specific user.\");\nconst RaiselyGetUserProfiles_ProfileItemSchema: z.ZodTypeAny = z.object({\n goal: z.number().int().describe(\"Fundraising goal in cents\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n path: z.string().describe(\"URL path of the profile\").nullable().optional(),\n type: z.string().describe(\"Type of profile (e.g., 'INDIVIDUAL', 'GROUP', 'TEAM')\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the profile\"),\n total: z.number().int().describe(\"Total amount raised in cents\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields of the profile\").nullable().optional(),\n status: z.string().describe(\"Status of the profile (e.g., 'ACTIVE', 'DELETED')\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields of the profile (when requested and permitted)\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., 'AUD', 'USD')\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user owning the profile\"),\n createdAt: z.string().describe(\"Timestamp when the profile was created\"),\n updatedAt: z.string().describe(\"Timestamp when the profile was last updated\"),\n description: z.string().describe(\"Profile description\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the associated campaign\"),\n}).describe(\"Profile object associated with a user.\");\nconst RaiselyGetUserProfiles_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of records per page\"),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of profiles for the user\"),\n offset: z.number().int().describe(\"Number of records skipped\"),\n nextUrl: z.string().describe(\"URL for the next page of results, or None if no next page\").nullable().optional(),\n prevUrl: z.string().describe(\"URL for the previous page of results, or None if no previous page\").nullable().optional(),\n}).describe(\"Pagination details for list endpoints.\");\nexport const RaiselyGetUserProfilesOutput: z.ZodTypeAny = z.object({\n data: z.array(RaiselyGetUserProfiles_ProfileItemSchema).describe(\"List of profiles for the user\"),\n pagination: RaiselyGetUserProfiles_PaginationSchema.nullable().optional(),\n}).describe(\"Response schema containing a list of user profiles with pagination.\");\n\nexport const raiselyGetUserProfiles = action(\"RAISELY_GET_USER_PROFILES\", {\n slug: \"raisely-get-user-profiles\",\n name: \"Get User Profiles\",\n description: \"Tool to retrieve all profiles associated with a specific user. Use when you have a user UUID and need to list both public and optionally private profiles.\",\n input: RaiselyGetUserProfilesInput,\n output: RaiselyGetUserProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAOA,IA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AAO;CACjE,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,+BAA+B;CAChG,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-profiles.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetUserProfilesInput = z.object({\n uuid: z.string().describe(\"UUID of the user whose profiles are to be retrieved\"),\n private: z.boolean().describe(\"Include private custom fields when true (requires permissions)\").optional(),\n}).describe(\"Request schema for retrieving profiles associated with a specific user.\");\nconst RaiselyGetUserProfiles_ProfileItemSchema = z.object({\n goal: z.number().int().describe(\"Fundraising goal in cents\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n path: z.string().describe(\"URL path of the profile\").nullable().optional(),\n type: z.string().describe(\"Type of profile (e.g., 'INDIVIDUAL', 'GROUP', 'TEAM')\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the profile\").nullable(),\n total: z.number().int().describe(\"Total amount raised in cents\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields of the profile\").nullable().optional(),\n status: z.string().describe(\"Status of the profile (e.g., 'ACTIVE', 'DELETED')\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields of the profile (when requested and permitted)\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., 'AUD', 'USD')\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user owning the profile\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the profile was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the profile was last updated\").nullable(),\n description: z.string().describe(\"Profile description\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the associated campaign\").nullable(),\n}).describe(\"Profile object associated with a user.\");\nconst RaiselyGetUserProfiles_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of records per page\").nullable(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of profiles for the user\").nullable(),\n offset: z.number().int().describe(\"Number of records skipped\").nullable(),\n nextUrl: z.string().describe(\"URL for the next page of results, or None if no next page\").nullable().optional(),\n prevUrl: z.string().describe(\"URL for the previous page of results, or None if no previous page\").nullable().optional(),\n}).describe(\"Pagination details for list endpoints.\");\nexport const RaiselyGetUserProfilesOutput = z.object({\n data: z.array(RaiselyGetUserProfiles_ProfileItemSchema).describe(\"List of profiles for the user\"),\n pagination: RaiselyGetUserProfiles_PaginationSchema.nullable().optional(),\n}).describe(\"Response schema containing a list of user profiles with pagination.\");\n\nexport const raiselyGetUserProfiles = action(\"RAISELY_GET_USER_PROFILES\", {\n slug: \"raisely-get-user-profiles\",\n name: \"Get User Profiles\",\n description: \"Tool to retrieve all profiles associated with a specific user. Use when you have a user UUID and need to list both public and optionally private profiles.\",\n input: RaiselyGetUserProfilesInput,\n output: RaiselyGetUserProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CA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A,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,+BAA+B;CAChG,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user-profiles.d.ts
4
- declare const RaiselyGetUserProfilesInput: z.ZodTypeAny;
5
- declare const RaiselyGetUserProfilesOutput: z.ZodTypeAny;
6
- declare const raiselyGetUserProfiles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyGetUserProfilesInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ private: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const RaiselyGetUserProfilesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ goal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ uuid: z.ZodNullable<z.ZodString>;
15
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ public: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ private: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ userUuid: z.ZodNullable<z.ZodString>;
21
+ createdAt: z.ZodNullable<z.ZodString>;
22
+ updatedAt: z.ZodNullable<z.ZodString>;
23
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ campaignUuid: z.ZodNullable<z.ZodString>;
25
+ }, z.core.$strip>>;
26
+ pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ limit: z.ZodNullable<z.ZodNumber>;
28
+ pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ total: z.ZodNullable<z.ZodNumber>;
30
+ offset: z.ZodNullable<z.ZodNumber>;
31
+ nextUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ prevUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$strip>>>;
34
+ }, z.core.$strip>;
35
+ declare const raiselyGetUserProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ uuid: string;
37
+ private?: boolean | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { raiselyGetUserProfiles };
9
41
  //# sourceMappingURL=get-user-profiles.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profiles.d.cts","names":[],"sources":["../../src/actions/get-user-profiles.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG0C;AAAA,cA0BzE,4BAAA,EAA8B,CAAA,CAAE,UAGqC;AAAA,cAErE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user-profiles.d.cts","names":[],"sources":["../../src/actions/get-user-profiles.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cA6B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user-profiles.d.ts
4
- declare const RaiselyGetUserProfilesInput: z.ZodTypeAny;
5
- declare const RaiselyGetUserProfilesOutput: z.ZodTypeAny;
6
- declare const raiselyGetUserProfiles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyGetUserProfilesInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ private: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const RaiselyGetUserProfilesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ goal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ uuid: z.ZodNullable<z.ZodString>;
15
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ public: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ private: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ userUuid: z.ZodNullable<z.ZodString>;
21
+ createdAt: z.ZodNullable<z.ZodString>;
22
+ updatedAt: z.ZodNullable<z.ZodString>;
23
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ campaignUuid: z.ZodNullable<z.ZodString>;
25
+ }, z.core.$strip>>;
26
+ pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ limit: z.ZodNullable<z.ZodNumber>;
28
+ pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ total: z.ZodNullable<z.ZodNumber>;
30
+ offset: z.ZodNullable<z.ZodNumber>;
31
+ nextUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ prevUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$strip>>>;
34
+ }, z.core.$strip>;
35
+ declare const raiselyGetUserProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ uuid: string;
37
+ private?: boolean | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { raiselyGetUserProfiles };
9
41
  //# sourceMappingURL=get-user-profiles.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profiles.d.mts","names":[],"sources":["../../src/actions/get-user-profiles.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG0C;AAAA,cA0BzE,4BAAA,EAA8B,CAAA,CAAE,UAGqC;AAAA,cAErE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user-profiles.d.mts","names":[],"sources":["../../src/actions/get-user-profiles.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cA6B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -10,23 +10,23 @@ const RaiselyGetUserProfiles_ProfileItemSchema = z.object({
10
10
  name: z.string().describe("Name of the profile").nullable().optional(),
11
11
  path: z.string().describe("URL path of the profile").nullable().optional(),
12
12
  type: z.string().describe("Type of profile (e.g., 'INDIVIDUAL', 'GROUP', 'TEAM')").nullable().optional(),
13
- uuid: z.string().describe("Unique identifier of the profile"),
13
+ uuid: z.string().describe("Unique identifier of the profile").nullable(),
14
14
  total: z.number().int().describe("Total amount raised in cents").nullable().optional(),
15
15
  public: z.record(z.string(), z.unknown()).describe("Public custom fields of the profile").nullable().optional(),
16
16
  status: z.string().describe("Status of the profile (e.g., 'ACTIVE', 'DELETED')").nullable().optional(),
17
17
  private: z.record(z.string(), z.unknown()).describe("Private custom fields of the profile (when requested and permitted)").nullable().optional(),
18
18
  currency: z.string().describe("Currency code (e.g., 'AUD', 'USD')").nullable().optional(),
19
- userUuid: z.string().describe("UUID of the user owning the profile"),
20
- createdAt: z.string().describe("Timestamp when the profile was created"),
21
- updatedAt: z.string().describe("Timestamp when the profile was last updated"),
19
+ userUuid: z.string().describe("UUID of the user owning the profile").nullable(),
20
+ createdAt: z.string().describe("Timestamp when the profile was created").nullable(),
21
+ updatedAt: z.string().describe("Timestamp when the profile was last updated").nullable(),
22
22
  description: z.string().describe("Profile description").nullable().optional(),
23
- campaignUuid: z.string().describe("UUID of the associated campaign")
23
+ campaignUuid: z.string().describe("UUID of the associated campaign").nullable()
24
24
  }).describe("Profile object associated with a user.");
25
25
  const RaiselyGetUserProfiles_PaginationSchema = z.object({
26
- limit: z.number().int().describe("Number of records per page"),
26
+ limit: z.number().int().describe("Number of records per page").nullable(),
27
27
  pages: z.number().int().describe("Total number of pages available").nullable().optional(),
28
- total: z.number().int().describe("Total number of profiles for the user"),
29
- offset: z.number().int().describe("Number of records skipped"),
28
+ total: z.number().int().describe("Total number of profiles for the user").nullable(),
29
+ offset: z.number().int().describe("Number of records skipped").nullable(),
30
30
  nextUrl: z.string().describe("URL for the next page of results, or None if no next page").nullable().optional(),
31
31
  prevUrl: z.string().describe("URL for the previous page of results, or None if no previous page").nullable().optional()
32
32
  }).describe("Pagination details for list endpoints.");
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profiles.mjs","names":[],"sources":["../../src/actions/get-user-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetUserProfilesInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the user whose profiles are to be retrieved\"),\n private: z.boolean().describe(\"Include private custom fields when true (requires permissions)\").optional(),\n}).describe(\"Request schema for retrieving profiles associated with a specific user.\");\nconst RaiselyGetUserProfiles_ProfileItemSchema: z.ZodTypeAny = z.object({\n goal: z.number().int().describe(\"Fundraising goal in cents\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n path: z.string().describe(\"URL path of the profile\").nullable().optional(),\n type: z.string().describe(\"Type of profile (e.g., 'INDIVIDUAL', 'GROUP', 'TEAM')\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the profile\"),\n total: z.number().int().describe(\"Total amount raised in cents\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields of the profile\").nullable().optional(),\n status: z.string().describe(\"Status of the profile (e.g., 'ACTIVE', 'DELETED')\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields of the profile (when requested and permitted)\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., 'AUD', 'USD')\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user owning the profile\"),\n createdAt: z.string().describe(\"Timestamp when the profile was created\"),\n updatedAt: z.string().describe(\"Timestamp when the profile was last updated\"),\n description: z.string().describe(\"Profile description\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the associated campaign\"),\n}).describe(\"Profile object associated with a user.\");\nconst RaiselyGetUserProfiles_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of records per page\"),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of profiles for the user\"),\n offset: z.number().int().describe(\"Number of records skipped\"),\n nextUrl: z.string().describe(\"URL for the next page of results, or None if no next page\").nullable().optional(),\n prevUrl: z.string().describe(\"URL for the previous page of results, or None if no previous page\").nullable().optional(),\n}).describe(\"Pagination details for list endpoints.\");\nexport const RaiselyGetUserProfilesOutput: z.ZodTypeAny = z.object({\n data: z.array(RaiselyGetUserProfiles_ProfileItemSchema).describe(\"List of profiles for the user\"),\n pagination: RaiselyGetUserProfiles_PaginationSchema.nullable().optional(),\n}).describe(\"Response schema containing a list of user profiles with pagination.\");\n\nexport const raiselyGetUserProfiles = action(\"RAISELY_GET_USER_PROFILES\", {\n slug: \"raisely-get-user-profiles\",\n name: \"Get User Profiles\",\n description: \"Tool to retrieve all profiles associated with a specific user. Use when you have a user UUID and need to list both public and optionally private profiles.\",\n input: RaiselyGetUserProfilesInput,\n output: RaiselyGetUserProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,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AC,SAAS,6CAA6C;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACrE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,0CAAwD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,+BAA+B;EAChG,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-profiles.mjs","names":[],"sources":["../../src/actions/get-user-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetUserProfilesInput = z.object({\n uuid: z.string().describe(\"UUID of the user whose profiles are to be retrieved\"),\n private: z.boolean().describe(\"Include private custom fields when true (requires permissions)\").optional(),\n}).describe(\"Request schema for retrieving profiles associated with a specific user.\");\nconst RaiselyGetUserProfiles_ProfileItemSchema = z.object({\n goal: z.number().int().describe(\"Fundraising goal in cents\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n path: z.string().describe(\"URL path of the profile\").nullable().optional(),\n type: z.string().describe(\"Type of profile (e.g., 'INDIVIDUAL', 'GROUP', 'TEAM')\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the profile\").nullable(),\n total: z.number().int().describe(\"Total amount raised in cents\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields of the profile\").nullable().optional(),\n status: z.string().describe(\"Status of the profile (e.g., 'ACTIVE', 'DELETED')\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields of the profile (when requested and permitted)\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., 'AUD', 'USD')\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user owning the profile\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the profile was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the profile was last updated\").nullable(),\n description: z.string().describe(\"Profile description\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the associated campaign\").nullable(),\n}).describe(\"Profile object associated with a user.\");\nconst RaiselyGetUserProfiles_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of records per page\").nullable(),\n pages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n total: z.number().int().describe(\"Total number of profiles for the user\").nullable(),\n offset: z.number().int().describe(\"Number of records skipped\").nullable(),\n nextUrl: z.string().describe(\"URL for the next page of results, or None if no next page\").nullable().optional(),\n prevUrl: z.string().describe(\"URL for the previous page of results, or None if no previous page\").nullable().optional(),\n}).describe(\"Pagination details for list endpoints.\");\nexport const RaiselyGetUserProfilesOutput = z.object({\n data: z.array(RaiselyGetUserProfiles_ProfileItemSchema).describe(\"List of profiles for the user\"),\n pagination: RaiselyGetUserProfiles_PaginationSchema.nullable().optional(),\n}).describe(\"Response schema containing a list of user profiles with pagination.\");\n\nexport const raiselyGetUserProfiles = action(\"RAISELY_GET_USER_PROFILES\", {\n slug: \"raisely-get-user-profiles\",\n name: \"Get User Profiles\",\n description: \"Tool to retrieve all profiles associated with a specific user. Use when you have a user UUID and need to list both public and optionally private profiles.\",\n input: RaiselyGetUserProfilesInput,\n output: RaiselyGetUserProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,C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,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,+BAA+B;EAChG,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
@@ -13,7 +13,7 @@ const RaiselyGetUser_AdminSettingsSchema = zod.z.object({
13
13
  }).describe("Admin settings for users with admin permissions.");
14
14
  const RaiselyGetUser_UserSchema = zod.z.object({
15
15
  tags: zod.z.array(RaiselyGetUser_TagSchema).describe("List of tags applied to the user.").nullable().optional(),
16
- uuid: zod.z.string().describe("Unique identifier for the user."),
16
+ uuid: zod.z.string().describe("Unique identifier for the user.").nullable(),
17
17
  email: zod.z.string().describe("The user's email address.").nullable().optional(),
18
18
  state: zod.z.string().describe("The state/province of the user.").nullable().optional(),
19
19
  ipCity: zod.z.string().describe("Deprecated IP city field.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetUserInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"The UUID of the user to retrieve.\"),\n private: z.boolean().describe(\"Returns the full record when authenticated. Includes private fields like email, phone number, and address.\").optional(),\n}).describe(\"Request parameters for retrieving a specific user from Raisely by UUID.\");\nconst RaiselyGetUser_TagSchema: z.ZodTypeAny = z.object({}).describe(\"A tag applied to the user.\");\nconst RaiselyGetUser_UserStatusSchema: z.ZodTypeAny = z.enum([\"ACTIVE\", \"DELETED\"]).describe(\"User status values.\");\nconst RaiselyGetUser_AdminSettingsSchema: z.ZodTypeAny = z.object({\n v4BetaOptin: z.record(z.string(), z.unknown()).describe(\"V4 beta opt-in settings.\").nullable().optional(),\n starredCampaigns: z.record(z.string(), z.unknown()).describe(\"Object containing starred campaigns.\").nullable().optional(),\n}).describe(\"Admin settings for users with admin permissions.\");\nconst RaiselyGetUser_UserSchema: z.ZodTypeAny = z.object({\n tags: z.array(RaiselyGetUser_TagSchema).describe(\"List of tags applied to the user.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the user.\"),\n email: z.string().describe(\"The user's email address.\").nullable().optional(),\n state: z.string().describe(\"The state/province of the user.\").nullable().optional(),\n ipCity: z.string().describe(\"Deprecated IP city field.\").nullable().optional(),\n public: z.union([z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n status: RaiselyGetUser_UserStatusSchema.nullable().optional(),\n suburb: z.string().describe(\"The suburb/city of the user.\").nullable().optional(),\n country: z.string().describe(\"The country of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Will be true if this user has admin permissions.\").nullable().optional(),\n private: z.union([z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n address1: z.string().describe(\"Line 1 of an address.\").nullable().optional(),\n address2: z.string().describe(\"Line 2 of an address.\").nullable().optional(),\n fullName: z.string().describe(\"The full name of the user.\").nullable().optional(),\n internal: z.union([z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n ipNumber: z.string().describe(\"Deprecated IP tracking field.\").nullable().optional(),\n language: z.string().describe(\"The language the user last interacted in.\").nullable().optional(),\n lastName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL of the user's photo.\").nullable().optional(),\n postcode: z.string().describe(\"Postal code of the user.\").nullable().optional(),\n username: z.string().describe(\"The login email for this user.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the user was created.\").nullable().optional(),\n firstName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n ipCountry: z.string().describe(\"Deprecated IP country field.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the user was last updated.\").nullable().optional(),\n facebookId: z.string().describe(\"The Facebook ID provided on authentication.\").nullable().optional(),\n ipLatitude: z.number().describe(\"Deprecated IP latitude field.\").nullable().optional(),\n permission: z.string().describe(\"Deprecated. Use roles instead.\").nullable().optional(),\n accessToken: z.string().describe(\"A secret token for this user, used to authenticate them against the API or in your campaign.\").nullable().optional(),\n ipLongitude: z.number().describe(\"Deprecated IP longitude field.\").nullable().optional(),\n isSamlLogin: z.boolean().describe(\"Will be true if this user logs in via organisation SAML login.\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n adminSettings: RaiselyGetUser_AdminSettingsSchema.nullable().optional(),\n preferredName: z.string().describe(\"The name that the user prefers to be called.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"ISO8601 timestamp of when the user was unsubscribed from non-essential emails or sms. A blank value indicates the user is still subscribed.\").nullable().optional(),\n swiftAidDonorId: z.string().describe(\"Id of donor on SwiftAid.\").nullable().optional(),\n organisationUuid: z.string().describe(\"Unique identifier for the organisation.\").nullable().optional(),\n swiftAidAuthExpiry: z.string().describe(\"Date of expiry of donor authorisation for SwiftAid.\").nullable().optional(),\n}).describe(\"User object returned by the Raisely API.\");\nexport const RaiselyGetUserOutput: z.ZodTypeAny = z.object({\n data: RaiselyGetUser_UserSchema.nullable(),\n}).describe(\"Response schema for retrieving a specific user from Raisely.\");\n\nexport const raiselyGetUser = action(\"RAISELY_GET_USER\", {\n slug: \"raisely-get-user\",\n name: \"Get User\",\n description: \"Tool to retrieve a specific user from Raisely by UUID. Use when you need detailed information about a single user including their contact details, admin status, and custom fields.\",\n input: RaiselyGetUserInput,\n output: RaiselyGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,yEAAyE;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AAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACtE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAM,0BAA0B,SAAS,EAC3C,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetUserInput = z.object({\n uuid: z.string().describe(\"The UUID of the user to retrieve.\"),\n private: z.boolean().describe(\"Returns the full record when authenticated. Includes private fields like email, phone number, and address.\").optional(),\n}).describe(\"Request parameters for retrieving a specific user from Raisely by UUID.\");\nconst RaiselyGetUser_TagSchema = z.object({}).describe(\"A tag applied to the user.\");\nconst RaiselyGetUser_UserStatusSchema = z.enum([\"ACTIVE\", \"DELETED\"]).describe(\"User status values.\");\nconst RaiselyGetUser_AdminSettingsSchema = z.object({\n v4BetaOptin: z.record(z.string(), z.unknown()).describe(\"V4 beta opt-in settings.\").nullable().optional(),\n starredCampaigns: z.record(z.string(), z.unknown()).describe(\"Object containing starred campaigns.\").nullable().optional(),\n}).describe(\"Admin settings for users with admin permissions.\");\nconst RaiselyGetUser_UserSchema = z.object({\n tags: z.array(RaiselyGetUser_TagSchema).describe(\"List of tags applied to the user.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"The user's email address.\").nullable().optional(),\n state: z.string().describe(\"The state/province of the user.\").nullable().optional(),\n ipCity: z.string().describe(\"Deprecated IP city field.\").nullable().optional(),\n public: z.union([z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n status: RaiselyGetUser_UserStatusSchema.nullable().optional(),\n suburb: z.string().describe(\"The suburb/city of the user.\").nullable().optional(),\n country: z.string().describe(\"The country of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Will be true if this user has admin permissions.\").nullable().optional(),\n private: z.union([z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n address1: z.string().describe(\"Line 1 of an address.\").nullable().optional(),\n address2: z.string().describe(\"Line 2 of an address.\").nullable().optional(),\n fullName: z.string().describe(\"The full name of the user.\").nullable().optional(),\n internal: z.union([z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n ipNumber: z.string().describe(\"Deprecated IP tracking field.\").nullable().optional(),\n language: z.string().describe(\"The language the user last interacted in.\").nullable().optional(),\n lastName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL of the user's photo.\").nullable().optional(),\n postcode: z.string().describe(\"Postal code of the user.\").nullable().optional(),\n username: z.string().describe(\"The login email for this user.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the user was created.\").nullable().optional(),\n firstName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n ipCountry: z.string().describe(\"Deprecated IP country field.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the user was last updated.\").nullable().optional(),\n facebookId: z.string().describe(\"The Facebook ID provided on authentication.\").nullable().optional(),\n ipLatitude: z.number().describe(\"Deprecated IP latitude field.\").nullable().optional(),\n permission: z.string().describe(\"Deprecated. Use roles instead.\").nullable().optional(),\n accessToken: z.string().describe(\"A secret token for this user, used to authenticate them against the API or in your campaign.\").nullable().optional(),\n ipLongitude: z.number().describe(\"Deprecated IP longitude field.\").nullable().optional(),\n isSamlLogin: z.boolean().describe(\"Will be true if this user logs in via organisation SAML login.\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n adminSettings: RaiselyGetUser_AdminSettingsSchema.nullable().optional(),\n preferredName: z.string().describe(\"The name that the user prefers to be called.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"ISO8601 timestamp of when the user was unsubscribed from non-essential emails or sms. A blank value indicates the user is still subscribed.\").nullable().optional(),\n swiftAidDonorId: z.string().describe(\"Id of donor on SwiftAid.\").nullable().optional(),\n organisationUuid: z.string().describe(\"Unique identifier for the organisation.\").nullable().optional(),\n swiftAidAuthExpiry: z.string().describe(\"Date of expiry of donor authorisation for SwiftAid.\").nullable().optional(),\n}).describe(\"User object returned by the Raisely API.\");\nexport const RaiselyGetUserOutput = z.object({\n data: RaiselyGetUser_UserSchema.nullable(),\n}).describe(\"Response schema for retrieving a specific user from Raisely.\");\n\nexport const raiselyGetUser = action(\"RAISELY_GET_USER\", {\n slug: \"raisely-get-user\",\n name: \"Get User\",\n description: \"Tool to retrieve a specific user from Raisely by UUID. Use when you need detailed information about a single user including their contact details, admin status, and custom fields.\",\n input: RaiselyGetUserInput,\n output: RaiselyGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,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