@keystrokehq/raisely 0.1.2 → 0.1.4

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 (373) hide show
  1. package/dist/actions/check-profile-url.cjs +1 -1
  2. package/dist/actions/check-profile-url.cjs.map +1 -1
  3. package/dist/actions/check-profile-url.d.cts +1 -1
  4. package/dist/actions/check-profile-url.d.mts +1 -1
  5. package/dist/actions/check-profile-url.mjs +1 -1
  6. package/dist/actions/check-profile-url.mjs.map +1 -1
  7. package/dist/actions/check-user.cjs +1 -1
  8. package/dist/actions/check-user.cjs.map +1 -1
  9. package/dist/actions/check-user.d.cts +1 -1
  10. package/dist/actions/check-user.d.mts +1 -1
  11. package/dist/actions/check-user.mjs +1 -1
  12. package/dist/actions/check-user.mjs.map +1 -1
  13. package/dist/actions/create-campaign.cjs +2 -2
  14. package/dist/actions/create-campaign.cjs.map +1 -1
  15. package/dist/actions/create-campaign.d.cts +2 -2
  16. package/dist/actions/create-campaign.d.mts +2 -2
  17. package/dist/actions/create-campaign.mjs +2 -2
  18. package/dist/actions/create-campaign.mjs.map +1 -1
  19. package/dist/actions/create-donation.cjs +3 -3
  20. package/dist/actions/create-donation.cjs.map +1 -1
  21. package/dist/actions/create-donation.d.cts +3 -3
  22. package/dist/actions/create-donation.d.mts +3 -3
  23. package/dist/actions/create-donation.mjs +3 -3
  24. package/dist/actions/create-donation.mjs.map +1 -1
  25. package/dist/actions/create-exercise-log.cjs +1 -1
  26. package/dist/actions/create-exercise-log.cjs.map +1 -1
  27. package/dist/actions/create-exercise-log.d.cts +1 -1
  28. package/dist/actions/create-exercise-log.d.mts +1 -1
  29. package/dist/actions/create-exercise-log.mjs +1 -1
  30. package/dist/actions/create-exercise-log.mjs.map +1 -1
  31. package/dist/actions/create-interaction.cjs +2 -2
  32. package/dist/actions/create-interaction.cjs.map +1 -1
  33. package/dist/actions/create-interaction.d.cts +2 -2
  34. package/dist/actions/create-interaction.d.mts +2 -2
  35. package/dist/actions/create-interaction.mjs +2 -2
  36. package/dist/actions/create-interaction.mjs.map +1 -1
  37. package/dist/actions/create-post.cjs +1 -1
  38. package/dist/actions/create-post.cjs.map +1 -1
  39. package/dist/actions/create-post.d.cts +1 -1
  40. package/dist/actions/create-post.d.mts +1 -1
  41. package/dist/actions/create-post.mjs +1 -1
  42. package/dist/actions/create-post.mjs.map +1 -1
  43. package/dist/actions/create-promo-code.cjs +1 -1
  44. package/dist/actions/create-promo-code.cjs.map +1 -1
  45. package/dist/actions/create-promo-code.d.cts +1 -1
  46. package/dist/actions/create-promo-code.d.mts +1 -1
  47. package/dist/actions/create-promo-code.mjs +1 -1
  48. package/dist/actions/create-promo-code.mjs.map +1 -1
  49. package/dist/actions/create-webhook.cjs +1 -1
  50. package/dist/actions/create-webhook.cjs.map +1 -1
  51. package/dist/actions/create-webhook.d.cts +1 -1
  52. package/dist/actions/create-webhook.d.mts +1 -1
  53. package/dist/actions/create-webhook.mjs +1 -1
  54. package/dist/actions/create-webhook.mjs.map +1 -1
  55. package/dist/actions/delete-exercise-log.cjs +2 -2
  56. package/dist/actions/delete-exercise-log.cjs.map +1 -1
  57. package/dist/actions/delete-exercise-log.d.cts +2 -2
  58. package/dist/actions/delete-exercise-log.d.mts +2 -2
  59. package/dist/actions/delete-exercise-log.mjs +2 -2
  60. package/dist/actions/delete-exercise-log.mjs.map +1 -1
  61. package/dist/actions/delete-interaction.cjs +1 -1
  62. package/dist/actions/delete-interaction.cjs.map +1 -1
  63. package/dist/actions/delete-interaction.d.cts +1 -1
  64. package/dist/actions/delete-interaction.d.mts +1 -1
  65. package/dist/actions/delete-interaction.mjs +1 -1
  66. package/dist/actions/delete-interaction.mjs.map +1 -1
  67. package/dist/actions/delete-post.cjs +1 -1
  68. package/dist/actions/delete-post.cjs.map +1 -1
  69. package/dist/actions/delete-post.d.cts +1 -1
  70. package/dist/actions/delete-post.d.mts +1 -1
  71. package/dist/actions/delete-post.mjs +1 -1
  72. package/dist/actions/delete-post.mjs.map +1 -1
  73. package/dist/actions/delete-profile.cjs +3 -3
  74. package/dist/actions/delete-profile.cjs.map +1 -1
  75. package/dist/actions/delete-profile.d.cts +3 -3
  76. package/dist/actions/delete-profile.d.mts +3 -3
  77. package/dist/actions/delete-profile.mjs +3 -3
  78. package/dist/actions/delete-profile.mjs.map +1 -1
  79. package/dist/actions/delete-webhook.cjs +1 -1
  80. package/dist/actions/delete-webhook.cjs.map +1 -1
  81. package/dist/actions/delete-webhook.d.cts +1 -1
  82. package/dist/actions/delete-webhook.d.mts +1 -1
  83. package/dist/actions/delete-webhook.mjs +1 -1
  84. package/dist/actions/delete-webhook.mjs.map +1 -1
  85. package/dist/actions/get-api-docs.cjs +4 -4
  86. package/dist/actions/get-api-docs.cjs.map +1 -1
  87. package/dist/actions/get-api-docs.d.cts +4 -4
  88. package/dist/actions/get-api-docs.d.mts +4 -4
  89. package/dist/actions/get-api-docs.mjs +4 -4
  90. package/dist/actions/get-api-docs.mjs.map +1 -1
  91. package/dist/actions/get-authenticate.cjs +2 -2
  92. package/dist/actions/get-authenticate.cjs.map +1 -1
  93. package/dist/actions/get-authenticate.d.cts +2 -2
  94. package/dist/actions/get-authenticate.d.mts +2 -2
  95. package/dist/actions/get-authenticate.mjs +2 -2
  96. package/dist/actions/get-authenticate.mjs.map +1 -1
  97. package/dist/actions/get-available-events.cjs +2 -2
  98. package/dist/actions/get-available-events.cjs.map +1 -1
  99. package/dist/actions/get-available-events.d.cts +7 -7
  100. package/dist/actions/get-available-events.d.mts +7 -7
  101. package/dist/actions/get-available-events.mjs +2 -2
  102. package/dist/actions/get-available-events.mjs.map +1 -1
  103. package/dist/actions/get-campaign-profile.cjs +3 -3
  104. package/dist/actions/get-campaign-profile.cjs.map +1 -1
  105. package/dist/actions/get-campaign-profile.d.cts +4 -4
  106. package/dist/actions/get-campaign-profile.d.mts +4 -4
  107. package/dist/actions/get-campaign-profile.mjs +3 -3
  108. package/dist/actions/get-campaign-profile.mjs.map +1 -1
  109. package/dist/actions/get-campaign.cjs +5 -5
  110. package/dist/actions/get-campaign.cjs.map +1 -1
  111. package/dist/actions/get-campaign.d.cts +5 -5
  112. package/dist/actions/get-campaign.d.mts +5 -5
  113. package/dist/actions/get-campaign.mjs +5 -5
  114. package/dist/actions/get-campaign.mjs.map +1 -1
  115. package/dist/actions/get-campaigns-profiles.cjs +4 -4
  116. package/dist/actions/get-campaigns-profiles.cjs.map +1 -1
  117. package/dist/actions/get-campaigns-profiles.d.cts +4 -4
  118. package/dist/actions/get-campaigns-profiles.d.mts +4 -4
  119. package/dist/actions/get-campaigns-profiles.mjs +4 -4
  120. package/dist/actions/get-campaigns-profiles.mjs.map +1 -1
  121. package/dist/actions/get-campaigns.cjs +3 -3
  122. package/dist/actions/get-campaigns.cjs.map +1 -1
  123. package/dist/actions/get-campaigns.d.cts +3 -3
  124. package/dist/actions/get-campaigns.d.mts +3 -3
  125. package/dist/actions/get-campaigns.mjs +3 -3
  126. package/dist/actions/get-campaigns.mjs.map +1 -1
  127. package/dist/actions/get-exercise-log.cjs +3 -3
  128. package/dist/actions/get-exercise-log.cjs.map +1 -1
  129. package/dist/actions/get-exercise-log.d.cts +3 -3
  130. package/dist/actions/get-exercise-log.d.mts +3 -3
  131. package/dist/actions/get-exercise-log.mjs +3 -3
  132. package/dist/actions/get-exercise-log.mjs.map +1 -1
  133. package/dist/actions/get-interaction.cjs +5 -5
  134. package/dist/actions/get-interaction.cjs.map +1 -1
  135. package/dist/actions/get-interaction.d.cts +5 -5
  136. package/dist/actions/get-interaction.d.mts +5 -5
  137. package/dist/actions/get-interaction.mjs +5 -5
  138. package/dist/actions/get-interaction.mjs.map +1 -1
  139. package/dist/actions/get-post.cjs +1 -1
  140. package/dist/actions/get-post.cjs.map +1 -1
  141. package/dist/actions/get-post.d.cts +1 -1
  142. package/dist/actions/get-post.d.mts +1 -1
  143. package/dist/actions/get-post.mjs +1 -1
  144. package/dist/actions/get-post.mjs.map +1 -1
  145. package/dist/actions/get-profile.cjs +5 -5
  146. package/dist/actions/get-profile.cjs.map +1 -1
  147. package/dist/actions/get-profile.d.cts +5 -5
  148. package/dist/actions/get-profile.d.mts +5 -5
  149. package/dist/actions/get-profile.mjs +5 -5
  150. package/dist/actions/get-profile.mjs.map +1 -1
  151. package/dist/actions/get-profiles.cjs +3 -3
  152. package/dist/actions/get-profiles.cjs.map +1 -1
  153. package/dist/actions/get-profiles.d.cts +3 -3
  154. package/dist/actions/get-profiles.d.mts +3 -3
  155. package/dist/actions/get-profiles.mjs +3 -3
  156. package/dist/actions/get-profiles.mjs.map +1 -1
  157. package/dist/actions/get-user-profiles.cjs +3 -3
  158. package/dist/actions/get-user-profiles.cjs.map +1 -1
  159. package/dist/actions/get-user-profiles.d.cts +3 -3
  160. package/dist/actions/get-user-profiles.d.mts +3 -3
  161. package/dist/actions/get-user-profiles.mjs +3 -3
  162. package/dist/actions/get-user-profiles.mjs.map +1 -1
  163. package/dist/actions/get-user.cjs +4 -4
  164. package/dist/actions/get-user.cjs.map +1 -1
  165. package/dist/actions/get-user.d.cts +4 -4
  166. package/dist/actions/get-user.d.mts +4 -4
  167. package/dist/actions/get-user.mjs +4 -4
  168. package/dist/actions/get-user.mjs.map +1 -1
  169. package/dist/actions/get-users.cjs +3 -3
  170. package/dist/actions/get-users.cjs.map +1 -1
  171. package/dist/actions/get-users.d.cts +3 -3
  172. package/dist/actions/get-users.d.mts +3 -3
  173. package/dist/actions/get-users.mjs +3 -3
  174. package/dist/actions/get-users.mjs.map +1 -1
  175. package/dist/actions/list-campaign-donations.cjs +5 -5
  176. package/dist/actions/list-campaign-donations.cjs.map +1 -1
  177. package/dist/actions/list-campaign-donations.d.cts +5 -5
  178. package/dist/actions/list-campaign-donations.d.mts +5 -5
  179. package/dist/actions/list-campaign-donations.mjs +5 -5
  180. package/dist/actions/list-campaign-donations.mjs.map +1 -1
  181. package/dist/actions/list-campaign-products.cjs +3 -3
  182. package/dist/actions/list-campaign-products.cjs.map +1 -1
  183. package/dist/actions/list-campaign-products.d.cts +3 -3
  184. package/dist/actions/list-campaign-products.d.mts +3 -3
  185. package/dist/actions/list-campaign-products.mjs +3 -3
  186. package/dist/actions/list-campaign-products.mjs.map +1 -1
  187. package/dist/actions/list-campaign-subscriptions.cjs +5 -5
  188. package/dist/actions/list-campaign-subscriptions.cjs.map +1 -1
  189. package/dist/actions/list-campaign-subscriptions.d.cts +5 -5
  190. package/dist/actions/list-campaign-subscriptions.d.mts +5 -5
  191. package/dist/actions/list-campaign-subscriptions.mjs +5 -5
  192. package/dist/actions/list-campaign-subscriptions.mjs.map +1 -1
  193. package/dist/actions/list-donations.cjs +5 -5
  194. package/dist/actions/list-donations.cjs.map +1 -1
  195. package/dist/actions/list-donations.d.cts +5 -5
  196. package/dist/actions/list-donations.d.mts +5 -5
  197. package/dist/actions/list-donations.mjs +5 -5
  198. package/dist/actions/list-donations.mjs.map +1 -1
  199. package/dist/actions/list-exercise-logs.cjs +4 -4
  200. package/dist/actions/list-exercise-logs.cjs.map +1 -1
  201. package/dist/actions/list-exercise-logs.d.cts +4 -4
  202. package/dist/actions/list-exercise-logs.d.mts +4 -4
  203. package/dist/actions/list-exercise-logs.mjs +4 -4
  204. package/dist/actions/list-exercise-logs.mjs.map +1 -1
  205. package/dist/actions/list-interaction-categories.cjs +4 -4
  206. package/dist/actions/list-interaction-categories.cjs.map +1 -1
  207. package/dist/actions/list-interaction-categories.d.cts +4 -4
  208. package/dist/actions/list-interaction-categories.d.mts +4 -4
  209. package/dist/actions/list-interaction-categories.mjs +4 -4
  210. package/dist/actions/list-interaction-categories.mjs.map +1 -1
  211. package/dist/actions/list-interactions.cjs +5 -5
  212. package/dist/actions/list-interactions.cjs.map +1 -1
  213. package/dist/actions/list-interactions.d.cts +5 -5
  214. package/dist/actions/list-interactions.d.mts +5 -5
  215. package/dist/actions/list-interactions.mjs +5 -5
  216. package/dist/actions/list-interactions.mjs.map +1 -1
  217. package/dist/actions/list-orders.cjs +5 -5
  218. package/dist/actions/list-orders.cjs.map +1 -1
  219. package/dist/actions/list-orders.d.cts +5 -5
  220. package/dist/actions/list-orders.d.mts +5 -5
  221. package/dist/actions/list-orders.mjs +5 -5
  222. package/dist/actions/list-orders.mjs.map +1 -1
  223. package/dist/actions/list-posts.cjs +5 -5
  224. package/dist/actions/list-posts.cjs.map +1 -1
  225. package/dist/actions/list-posts.d.cts +5 -5
  226. package/dist/actions/list-posts.d.mts +5 -5
  227. package/dist/actions/list-posts.mjs +5 -5
  228. package/dist/actions/list-posts.mjs.map +1 -1
  229. package/dist/actions/list-profile-donations.cjs +5 -5
  230. package/dist/actions/list-profile-donations.cjs.map +1 -1
  231. package/dist/actions/list-profile-donations.d.cts +5 -5
  232. package/dist/actions/list-profile-donations.d.mts +5 -5
  233. package/dist/actions/list-profile-donations.mjs +5 -5
  234. package/dist/actions/list-profile-donations.mjs.map +1 -1
  235. package/dist/actions/list-profile-members.cjs +3 -3
  236. package/dist/actions/list-profile-members.cjs.map +1 -1
  237. package/dist/actions/list-profile-members.d.cts +3 -3
  238. package/dist/actions/list-profile-members.d.mts +3 -3
  239. package/dist/actions/list-profile-members.mjs +3 -3
  240. package/dist/actions/list-profile-members.mjs.map +1 -1
  241. package/dist/actions/list-profile-posts.cjs +2 -2
  242. package/dist/actions/list-profile-posts.cjs.map +1 -1
  243. package/dist/actions/list-profile-posts.d.cts +2 -2
  244. package/dist/actions/list-profile-posts.d.mts +2 -2
  245. package/dist/actions/list-profile-posts.mjs +2 -2
  246. package/dist/actions/list-profile-posts.mjs.map +1 -1
  247. package/dist/actions/list-promo-codes.cjs +3 -3
  248. package/dist/actions/list-promo-codes.cjs.map +1 -1
  249. package/dist/actions/list-promo-codes.d.cts +3 -3
  250. package/dist/actions/list-promo-codes.d.mts +3 -3
  251. package/dist/actions/list-promo-codes.mjs +3 -3
  252. package/dist/actions/list-promo-codes.mjs.map +1 -1
  253. package/dist/actions/list-segments.cjs +3 -3
  254. package/dist/actions/list-segments.cjs.map +1 -1
  255. package/dist/actions/list-segments.d.cts +3 -3
  256. package/dist/actions/list-segments.d.mts +3 -3
  257. package/dist/actions/list-segments.mjs +3 -3
  258. package/dist/actions/list-segments.mjs.map +1 -1
  259. package/dist/actions/list-subscriptions2.cjs +5 -5
  260. package/dist/actions/list-subscriptions2.cjs.map +1 -1
  261. package/dist/actions/list-subscriptions2.d.cts +5 -5
  262. package/dist/actions/list-subscriptions2.d.mts +5 -5
  263. package/dist/actions/list-subscriptions2.mjs +5 -5
  264. package/dist/actions/list-subscriptions2.mjs.map +1 -1
  265. package/dist/actions/list-tags.cjs +3 -3
  266. package/dist/actions/list-tags.cjs.map +1 -1
  267. package/dist/actions/list-tags.d.cts +3 -3
  268. package/dist/actions/list-tags.d.mts +3 -3
  269. package/dist/actions/list-tags.mjs +3 -3
  270. package/dist/actions/list-tags.mjs.map +1 -1
  271. package/dist/actions/list-user-donations.cjs +5 -5
  272. package/dist/actions/list-user-donations.cjs.map +1 -1
  273. package/dist/actions/list-user-donations.d.cts +5 -5
  274. package/dist/actions/list-user-donations.d.mts +5 -5
  275. package/dist/actions/list-user-donations.mjs +5 -5
  276. package/dist/actions/list-user-donations.mjs.map +1 -1
  277. package/dist/actions/list-user-interactions.cjs +5 -5
  278. package/dist/actions/list-user-interactions.cjs.map +1 -1
  279. package/dist/actions/list-user-interactions.d.cts +5 -5
  280. package/dist/actions/list-user-interactions.d.mts +5 -5
  281. package/dist/actions/list-user-interactions.mjs +5 -5
  282. package/dist/actions/list-user-interactions.mjs.map +1 -1
  283. package/dist/actions/list-user-subscriptions.cjs +5 -5
  284. package/dist/actions/list-user-subscriptions.cjs.map +1 -1
  285. package/dist/actions/list-user-subscriptions.d.cts +5 -5
  286. package/dist/actions/list-user-subscriptions.d.mts +5 -5
  287. package/dist/actions/list-user-subscriptions.mjs +5 -5
  288. package/dist/actions/list-user-subscriptions.mjs.map +1 -1
  289. package/dist/actions/list-webhooks.cjs +3 -3
  290. package/dist/actions/list-webhooks.cjs.map +1 -1
  291. package/dist/actions/list-webhooks.d.cts +3 -3
  292. package/dist/actions/list-webhooks.d.mts +3 -3
  293. package/dist/actions/list-webhooks.mjs +3 -3
  294. package/dist/actions/list-webhooks.mjs.map +1 -1
  295. package/dist/actions/move-donation.cjs +4 -4
  296. package/dist/actions/move-donation.cjs.map +1 -1
  297. package/dist/actions/move-donation.d.cts +4 -4
  298. package/dist/actions/move-donation.d.mts +4 -4
  299. package/dist/actions/move-donation.mjs +4 -4
  300. package/dist/actions/move-donation.mjs.map +1 -1
  301. package/dist/actions/post-logout.cjs +1 -1
  302. package/dist/actions/post-logout.cjs.map +1 -1
  303. package/dist/actions/post-logout.d.cts +1 -1
  304. package/dist/actions/post-logout.d.mts +1 -1
  305. package/dist/actions/post-logout.mjs +1 -1
  306. package/dist/actions/post-logout.mjs.map +1 -1
  307. package/dist/actions/post-users.cjs +1 -1
  308. package/dist/actions/post-users.cjs.map +1 -1
  309. package/dist/actions/post-users.d.cts +1 -1
  310. package/dist/actions/post-users.d.mts +1 -1
  311. package/dist/actions/post-users.mjs +1 -1
  312. package/dist/actions/post-users.mjs.map +1 -1
  313. package/dist/actions/update-campaign-config.cjs +1 -1
  314. package/dist/actions/update-campaign-config.cjs.map +1 -1
  315. package/dist/actions/update-campaign-config.d.cts +1 -1
  316. package/dist/actions/update-campaign-config.d.mts +1 -1
  317. package/dist/actions/update-campaign-config.mjs +1 -1
  318. package/dist/actions/update-campaign-config.mjs.map +1 -1
  319. package/dist/actions/update-campaign.cjs +2 -2
  320. package/dist/actions/update-campaign.cjs.map +1 -1
  321. package/dist/actions/update-campaign.d.cts +2 -2
  322. package/dist/actions/update-campaign.d.mts +2 -2
  323. package/dist/actions/update-campaign.mjs +2 -2
  324. package/dist/actions/update-campaign.mjs.map +1 -1
  325. package/dist/actions/update-exercise-log.cjs +2 -2
  326. package/dist/actions/update-exercise-log.cjs.map +1 -1
  327. package/dist/actions/update-exercise-log.d.cts +2 -2
  328. package/dist/actions/update-exercise-log.d.mts +2 -2
  329. package/dist/actions/update-exercise-log.mjs +2 -2
  330. package/dist/actions/update-exercise-log.mjs.map +1 -1
  331. package/dist/actions/update-post.cjs +4 -4
  332. package/dist/actions/update-post.cjs.map +1 -1
  333. package/dist/actions/update-post.d.cts +4 -4
  334. package/dist/actions/update-post.d.mts +4 -4
  335. package/dist/actions/update-post.mjs +4 -4
  336. package/dist/actions/update-post.mjs.map +1 -1
  337. package/dist/actions/update-profile.cjs +3 -3
  338. package/dist/actions/update-profile.cjs.map +1 -1
  339. package/dist/actions/update-profile.d.cts +3 -3
  340. package/dist/actions/update-profile.d.mts +3 -3
  341. package/dist/actions/update-profile.mjs +3 -3
  342. package/dist/actions/update-profile.mjs.map +1 -1
  343. package/dist/actions/update-user.cjs +2 -2
  344. package/dist/actions/update-user.cjs.map +1 -1
  345. package/dist/actions/update-user.d.cts +2 -2
  346. package/dist/actions/update-user.d.mts +2 -2
  347. package/dist/actions/update-user.mjs +2 -2
  348. package/dist/actions/update-user.mjs.map +1 -1
  349. package/dist/actions/update-webhook.cjs +2 -2
  350. package/dist/actions/update-webhook.cjs.map +1 -1
  351. package/dist/actions/update-webhook.d.cts +2 -2
  352. package/dist/actions/update-webhook.d.mts +2 -2
  353. package/dist/actions/update-webhook.mjs +2 -2
  354. package/dist/actions/update-webhook.mjs.map +1 -1
  355. package/dist/actions/upload-campaign-media.cjs +2 -2
  356. package/dist/actions/upload-campaign-media.cjs.map +1 -1
  357. package/dist/actions/upload-campaign-media.d.cts +2 -2
  358. package/dist/actions/upload-campaign-media.d.mts +2 -2
  359. package/dist/actions/upload-campaign-media.mjs +2 -2
  360. package/dist/actions/upload-campaign-media.mjs.map +1 -1
  361. package/dist/actions/upsert-user.cjs +1 -1
  362. package/dist/actions/upsert-user.cjs.map +1 -1
  363. package/dist/actions/upsert-user.d.cts +1 -1
  364. package/dist/actions/upsert-user.d.mts +1 -1
  365. package/dist/actions/upsert-user.mjs +1 -1
  366. package/dist/actions/upsert-user.mjs.map +1 -1
  367. package/dist/catalog.cjs +1 -1
  368. package/dist/catalog.cjs.map +1 -1
  369. package/dist/catalog.d.cts +1 -1
  370. package/dist/catalog.d.mts +1 -1
  371. package/dist/catalog.mjs +1 -1
  372. package/dist/catalog.mjs.map +1 -1
  373. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"create-donation.mjs","names":[],"sources":["../../src/actions/create-donation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateDonationInput = z.object({\n card: z.string().describe(\"ID of the payment method used (from the payment gateway)\").optional(),\n date: z.string().describe(\"Date and time (ISO8601 format) the donation was received (for OFFLINE donations only)\").optional(),\n mode: z.enum([\"LIVE\", \"TEST\"]).describe(\"Mode of donation - LIVE or TEST.\").optional(),\n type: z.enum([\"ONLINE\", \"OFFLINE\"]).describe(\"Type of donation. Use OFFLINE for donations processed externally\"),\n email: z.string().describe(\"Email address of the donor\"),\n items: z.array(z.record(z.string(), z.unknown()).describe(\"Donation item associated with a donation.\")).describe(\"List of donation items associated with this donation\").optional(),\n state: z.string().describe(\"State or province of the donor\").optional(),\n token: z.string().describe(\"The payment token from the gateway\").optional(),\n amount: z.number().int().describe(\"The total amount of the donation in cents (e.g., 5000 = $50.00)\"),\n method: z.enum([\"CREDIT_CARD\", \"PAYPAL\", \"APPLE_PAY\", \"OFFLINE\", \"CUSTOM\", \"STRIPE_INTENT\", \"FACEBOOK\"]).describe(\"The payment gateway used. Use OFFLINE for externally processed donations\"),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields as key-value pairs\").optional(),\n suburb: z.string().describe(\"Suburb or city of the donor\").optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").optional(),\n message: z.string().describe(\"Message from the donor\").optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields as key-value pairs\").optional(),\n address1: z.string().describe(\"Line 1 of the donor's address\").optional(),\n address2: z.string().describe(\"Line 2 of the donor's address\").optional(),\n currency: z.string().describe(\"3 letter currency code (e.g., USD, AUD, GBP)\"),\n customer: z.string().describe(\"The customer ID assigned by the payment gateway\").optional(),\n fullName: z.string().describe(\"Full name of the donor (alternative to providing firstName/lastName)\").optional(),\n lastName: z.string().describe(\"Last name of the donor\").optional(),\n postcode: z.string().describe(\"Postal code of the donor\").optional(),\n anonymous: z.boolean().describe(\"Whether the donor wishes to remain anonymous\").optional(),\n firstName: z.string().describe(\"First name of the donor\").optional(),\n methodType: z.string().describe(\"Type of payment method used (e.g., APPLE_PAY, CARD, GOOGLE_PAY, BROWSER_PAY)\").optional(),\n phoneNumber: z.string().describe(\"Phone number of the donor\").optional(),\n profileUuid: z.string().describe(\"Unique identifier for the profile to associate the donation with\").optional(),\n campaignUuid: z.string().describe(\"Unique identifier for the campaign to associate the donation with\").optional(),\n preferredName: z.string().describe(\"Preferred name or nickname of the donor\").optional(),\n gatewayVersion: z.string().describe(\"Gateway version of donation method, if any\").optional(),\n swiftAidStatus: z.enum([\"OK\", \"FAILED\", \"PENDING\", \"DELETING\", \"DELETED\"]).describe(\"Status of donation on SwiftAid.\").optional(),\n forRegistration: z.string().describe(\"Indicates if this transaction is set aside for an upcoming registration\").optional(),\n}).describe(\"Request schema for creating an offline donation in Raisely.\\nRequired fields: email, currency, type, amount, method.\");\nconst RaiselyCreateDonation_DonationModeSchema = z.enum([\"LIVE\", \"TEST\"]).describe(\"Mode of donation - LIVE or TEST.\");\nconst RaiselyCreateDonation_DonationTypeSchema = z.enum([\"ONLINE\", \"OFFLINE\"]).describe(\"Type of donation - ONLINE or OFFLINE.\");\nconst RaiselyCreateDonation_UserSchema = z.object({\n uuid: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n status: z.string().describe(\"User status\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the user\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the user\").nullable().optional(),\n createdAt: z.string().describe(\"User creation timestamp\").nullable().optional(),\n firstName: z.string().describe(\"First name of the user\").nullable().optional(),\n updatedAt: z.string().describe(\"User last update timestamp\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the user\").nullable().optional(),\n preferredName: z.string().describe(\"Preferred name of the user\").nullable().optional(),\n}).describe(\"User information associated with the donation.\");\nconst RaiselyCreateDonation_DonationItemSchema = z.record(z.string(), z.unknown()).describe(\"Donation item associated with a donation.\");\nconst RaiselyCreateDonation_DonationMethodSchema = z.enum([\"CREDIT_CARD\", \"PAYPAL\", \"APPLE_PAY\", \"OFFLINE\", \"CUSTOM\", \"STRIPE_INTENT\", \"FACEBOOK\"]).describe(\"Payment gateway used for the donation.\");\nconst RaiselyCreateDonation_DonationStatusSchema = z.enum([\"OK\", \"FAILED\", \"PENDING\", \"REFUNDED\", \"DELETED\"]).describe(\"Status of the donation payment.\");\nconst RaiselyCreateDonation_ProfileSchema = z.object({\n goal: z.number().int().describe(\"Fundraising goal\").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\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the profile\").nullable().optional(),\n status: z.string().describe(\"Status of the profile\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to profile photo\").nullable().optional(),\n createdAt: z.string().describe(\"Profile creation timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Profile last update timestamp\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Number of unique donors\").nullable().optional(),\n donationCount: z.number().int().describe(\"Number of donations\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"Total raised in campaign currency\").nullable().optional(),\n}).describe(\"Profile information associated with the donation.\");\nconst RaiselyCreateDonation_DonationProcessingSchema = z.enum([\"ONCE\", \"RECURRING\"]).describe(\"Whether this is a one-time or recurring donation.\");\nconst RaiselyCreateDonation_SwiftAidStatusSchema = z.enum([\"OK\", \"FAILED\", \"PENDING\", \"DELETING\", \"DELETED\"]).describe(\"Status of donation on SwiftAid.\");\nexport const RaiselyCreateDonationOutput = z.object({\n id: z.number().int().describe(\"Simple numeric ID for the donation\").nullable().optional(),\n fee: z.number().int().describe(\"Fee paid to Raisely in cents\").nullable().optional(),\n gst: z.number().int().describe(\"GST on Raisely fee (always in AUD)\").nullable().optional(),\n card: z.string().describe(\"Payment method ID from gateway\").nullable().optional(),\n date: z.string().describe(\"Date the donation was received (for OFFLINE donations)\").nullable().optional(),\n mode: RaiselyCreateDonation_DonationModeSchema.nullable().optional(),\n type: RaiselyCreateDonation_DonationTypeSchema.nullable(),\n user: RaiselyCreateDonation_UserSchema.nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the donation\").nullable(),\n email: z.string().describe(\"Email address of the donor\").nullable(),\n items: z.array(RaiselyCreateDonation_DonationItemSchema).describe(\"Donation items associated with this donation\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n token: z.string().describe(\"Payment token from gateway\").nullable().optional(),\n total: z.number().int().describe(\"Total transaction amount paid by donor in cents\").nullable().optional(),\n amount: z.number().int().describe(\"Total amount of the donation in cents\").nullable(),\n charge: z.string().describe(\"Charge ID from gateway\").nullable().optional(),\n method: RaiselyCreateDonation_DonationMethodSchema.nullable(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields\").nullable().optional(),\n status: RaiselyCreateDonation_DonationStatusSchema.nullable().optional(),\n suburb: z.string().describe(\"Suburb or city\").nullable().optional(),\n userId: z.number().int().describe(\"ID of the Raisely user associated with donation\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n message: z.string().describe(\"Message from the donor\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields\").nullable().optional(),\n profile: RaiselyCreateDonation_ProfileSchema.nullable().optional(),\n taxRate: z.number().describe(\"Tax percentage used\").nullable().optional(),\n taxType: z.string().describe(\"Type of tax (inclusive/exclusive)\").nullable().optional(),\n address1: z.string().describe(\"Line 1 of address\").nullable().optional(),\n address2: z.string().describe(\"Line 2 of address\").nullable().optional(),\n currency: z.string().describe(\"3 letter currency code\").nullable(),\n customer: z.string().describe(\"Customer ID from gateway\").nullable().optional(),\n feeOptIn: z.boolean().describe(\"Whether donor chose to pay the Raisely fee\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the donor\").nullable().optional(),\n ipNumber: z.string().describe(\"IP address of the donor\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the donor\").nullable().optional(),\n postcode: z.string().describe(\"Postal code\").nullable().optional(),\n taxTotal: z.number().int().describe(\"Total tax charged within items\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the Raisely user associated with donation\").nullable().optional(),\n anonymous: z.boolean().describe(\"Whether the donor wishes to remain anonymous\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the donation was created\").nullable(),\n firstName: z.string().describe(\"First name of the donor\").nullable().optional(),\n isExpress: z.boolean().describe(\"Whether donation was made via express payment flow\").nullable().optional(),\n itemTypes: z.array(z.string()).describe(\"Types of items (DONATION, REGISTRATION, TICKET, OTHER)\").nullable().optional(),\n orderUuid: z.string().describe(\"UUID of the order\").nullable().optional(),\n publicFee: z.number().int().describe(\"Public fee in provider currency\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the donation was last updated\").nullable(),\n methodType: z.string().describe(\"Type of payment method\").nullable().optional(),\n orderTotal: z.number().int().describe(\"Total order amount in cents\").nullable().optional(),\n processing: RaiselyCreateDonation_DonationProcessingSchema.nullable().optional(),\n campaignFee: z.number().int().describe(\"Fee in campaign currency\").nullable().optional(),\n cardPreview: z.number().int().describe(\"Last 4 digits of card\").nullable().optional(),\n declineCode: z.string().describe(\"Decline code from Stripe, if applicable\").nullable().optional(),\n giftAidText: z.string().describe(\"Gift Aid text the donor saw and agreed to\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the donor\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the associated profile\").nullable().optional(),\n publicTotal: z.number().int().describe(\"Public total in provider currency\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the associated campaign\").nullable().optional(),\n displayTotal: z.number().int().describe(\"Total contribution to campaign total in donation currency (cents)\").nullable().optional(),\n publicAmount: z.number().int().describe(\"Public amount in provider currency\").nullable().optional(),\n usedSwiftAid: z.boolean().describe(\"Whether SwiftAid was used to process Gift Aid\").nullable().optional(),\n donationTotal: z.number().int().describe(\"Total donation amount in cents\").nullable().optional(),\n preferredName: z.string().describe(\"Preferred name of the donor\").nullable().optional(),\n amountRefunded: z.number().int().describe(\"Total amount refunded to donor in cents\").nullable().optional(),\n campaignAmount: z.number().int().describe(\"Transaction amount in campaign currency\").nullable().optional(),\n currencySymbol: z.string().describe(\"Symbol of the currency\").nullable().optional(),\n gatewayVersion: z.string().describe(\"Gateway version\").nullable().optional(),\n swiftAidStatus: RaiselyCreateDonation_SwiftAidStatusSchema.nullable().optional(),\n campaignRaisely: z.number().int().describe(\"Raisely fee in campaign currency\").nullable().optional(),\n forRegistration: z.string().describe(\"Set aside for registration\").nullable().optional(),\n includesGiftAid: z.boolean().describe(\"Whether gift aid donation is included\").nullable().optional(),\n providerRaisely: z.number().int().describe(\"Raisely fee in provider currency\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"Total contribution in campaign currency\").nullable().optional(),\n}).describe(\"Response schema for a newly created donation in Raisely.\\nContains the complete donation record with calculated fields.\");\n\nexport const raiselyCreateDonation = action(\"RAISELY_CREATE_DONATION\", {\n slug: \"raisely-create-donation\",\n name: \"Create Offline Donation\",\n description: \"Tool to record an offline donation in Raisely. Use when recording donations that were processed externally (outside of Raisely's payment flow). These donations are marked with type=OFFLINE to indicate they were processed elsewhere.\",\n input: RaiselyCreateDonationInput,\n output: RaiselyCreateDonationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/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SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;EAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,yHAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-donation.mjs","names":[],"sources":["../../src/actions/create-donation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateDonationInput = z.object({\n card: z.string().describe(\"ID of the payment method used (from the payment gateway)\").optional(),\n date: z.string().describe(\"Date and time (ISO8601 format) the donation was received (for OFFLINE donations only)\").optional(),\n mode: z.enum([\"LIVE\", \"TEST\"]).describe(\"Mode of donation - LIVE or TEST.\").optional(),\n type: z.enum([\"ONLINE\", \"OFFLINE\"]).describe(\"Type of donation. Use OFFLINE for donations processed externally\"),\n email: z.string().describe(\"Email address of the donor\"),\n items: z.array(z.record(z.string(), z.unknown()).describe(\"Donation item associated with a donation.\")).describe(\"List of donation items associated with this donation\").optional(),\n state: z.string().describe(\"State or province of the donor\").optional(),\n token: z.string().describe(\"The payment token from the gateway\").optional(),\n amount: z.number().int().describe(\"The total amount of the donation in cents (e.g., 5000 = $50.00)\"),\n method: z.enum([\"CREDIT_CARD\", \"PAYPAL\", \"APPLE_PAY\", \"OFFLINE\", \"CUSTOM\", \"STRIPE_INTENT\", \"FACEBOOK\"]).describe(\"The payment gateway used. Use OFFLINE for externally processed donations\"),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields as key-value pairs\").optional(),\n suburb: z.string().describe(\"Suburb or city of the donor\").optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").optional(),\n message: z.string().describe(\"Message from the donor\").optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields as key-value pairs\").optional(),\n address1: z.string().describe(\"Line 1 of the donor's address\").optional(),\n address2: z.string().describe(\"Line 2 of the donor's address\").optional(),\n currency: z.string().describe(\"3 letter currency code (e.g., USD, AUD, GBP)\"),\n customer: z.string().describe(\"The customer ID assigned by the payment gateway\").optional(),\n fullName: z.string().describe(\"Full name of the donor (alternative to providing firstName/lastName)\").optional(),\n lastName: z.string().describe(\"Last name of the donor\").optional(),\n postcode: z.string().describe(\"Postal code of the donor\").optional(),\n anonymous: z.boolean().describe(\"Whether the donor wishes to remain anonymous\").optional(),\n firstName: z.string().describe(\"First name of the donor\").optional(),\n methodType: z.string().describe(\"Type of payment method used (e.g., APPLE_PAY, CARD, GOOGLE_PAY, BROWSER_PAY)\").optional(),\n phoneNumber: z.string().describe(\"Phone number of the donor\").optional(),\n profileUuid: z.string().describe(\"Unique identifier for the profile to associate the donation with\").optional(),\n campaignUuid: z.string().describe(\"Unique identifier for the campaign to associate the donation with\").optional(),\n preferredName: z.string().describe(\"Preferred name or nickname of the donor\").optional(),\n gatewayVersion: z.string().describe(\"Gateway version of donation method, if any\").optional(),\n swiftAidStatus: z.enum([\"OK\", \"FAILED\", \"PENDING\", \"DELETING\", \"DELETED\"]).describe(\"Status of donation on SwiftAid.\").optional(),\n forRegistration: z.string().describe(\"Indicates if this transaction is set aside for an upcoming registration\").optional(),\n}).describe(\"Request schema for creating an offline donation in Raisely.\\nRequired fields: email, currency, type, amount, method.\");\nconst RaiselyCreateDonation_DonationModeSchema = z.enum([\"LIVE\", \"TEST\"]).describe(\"Mode of donation - LIVE or TEST.\");\nconst RaiselyCreateDonation_DonationTypeSchema = z.enum([\"ONLINE\", \"OFFLINE\"]).describe(\"Type of donation - ONLINE or OFFLINE.\");\nconst RaiselyCreateDonation_UserSchema = z.object({\n uuid: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n status: z.string().describe(\"User status\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the user\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the user\").nullable().optional(),\n createdAt: z.string().describe(\"User creation timestamp\").nullable().optional(),\n firstName: z.string().describe(\"First name of the user\").nullable().optional(),\n updatedAt: z.string().describe(\"User last update timestamp\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the user\").nullable().optional(),\n preferredName: z.string().describe(\"Preferred name of the user\").nullable().optional(),\n}).passthrough().describe(\"User information associated with the donation.\");\nconst RaiselyCreateDonation_DonationItemSchema = z.record(z.string(), z.unknown()).describe(\"Donation item associated with a donation.\");\nconst RaiselyCreateDonation_DonationMethodSchema = z.enum([\"CREDIT_CARD\", \"PAYPAL\", \"APPLE_PAY\", \"OFFLINE\", \"CUSTOM\", \"STRIPE_INTENT\", \"FACEBOOK\"]).describe(\"Payment gateway used for the donation.\");\nconst RaiselyCreateDonation_DonationStatusSchema = z.enum([\"OK\", \"FAILED\", \"PENDING\", \"REFUNDED\", \"DELETED\"]).describe(\"Status of the donation payment.\");\nconst RaiselyCreateDonation_ProfileSchema = z.object({\n goal: z.number().int().describe(\"Fundraising goal\").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\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the profile\").nullable().optional(),\n status: z.string().describe(\"Status of the profile\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to profile photo\").nullable().optional(),\n createdAt: z.string().describe(\"Profile creation timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Profile last update timestamp\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Number of unique donors\").nullable().optional(),\n donationCount: z.number().int().describe(\"Number of donations\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"Total raised in campaign currency\").nullable().optional(),\n}).passthrough().describe(\"Profile information associated with the donation.\");\nconst RaiselyCreateDonation_DonationProcessingSchema = z.enum([\"ONCE\", \"RECURRING\"]).describe(\"Whether this is a one-time or recurring donation.\");\nconst RaiselyCreateDonation_SwiftAidStatusSchema = z.enum([\"OK\", \"FAILED\", \"PENDING\", \"DELETING\", \"DELETED\"]).describe(\"Status of donation on SwiftAid.\");\nexport const RaiselyCreateDonationOutput = z.object({\n id: z.number().int().describe(\"Simple numeric ID for the donation\").nullable().optional(),\n fee: z.number().int().describe(\"Fee paid to Raisely in cents\").nullable().optional(),\n gst: z.number().int().describe(\"GST on Raisely fee (always in AUD)\").nullable().optional(),\n card: z.string().describe(\"Payment method ID from gateway\").nullable().optional(),\n date: z.string().describe(\"Date the donation was received (for OFFLINE donations)\").nullable().optional(),\n mode: RaiselyCreateDonation_DonationModeSchema.nullable().optional(),\n type: RaiselyCreateDonation_DonationTypeSchema.nullable(),\n user: RaiselyCreateDonation_UserSchema.nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the donation\").nullable(),\n email: z.string().describe(\"Email address of the donor\").nullable(),\n items: z.array(RaiselyCreateDonation_DonationItemSchema).describe(\"Donation items associated with this donation\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n token: z.string().describe(\"Payment token from gateway\").nullable().optional(),\n total: z.number().int().describe(\"Total transaction amount paid by donor in cents\").nullable().optional(),\n amount: z.number().int().describe(\"Total amount of the donation in cents\").nullable(),\n charge: z.string().describe(\"Charge ID from gateway\").nullable().optional(),\n method: RaiselyCreateDonation_DonationMethodSchema.nullable(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields\").nullable().optional(),\n status: RaiselyCreateDonation_DonationStatusSchema.nullable().optional(),\n suburb: z.string().describe(\"Suburb or city\").nullable().optional(),\n userId: z.number().int().describe(\"ID of the Raisely user associated with donation\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n message: z.string().describe(\"Message from the donor\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields\").nullable().optional(),\n profile: RaiselyCreateDonation_ProfileSchema.nullable().optional(),\n taxRate: z.number().describe(\"Tax percentage used\").nullable().optional(),\n taxType: z.string().describe(\"Type of tax (inclusive/exclusive)\").nullable().optional(),\n address1: z.string().describe(\"Line 1 of address\").nullable().optional(),\n address2: z.string().describe(\"Line 2 of address\").nullable().optional(),\n currency: z.string().describe(\"3 letter currency code\").nullable(),\n customer: z.string().describe(\"Customer ID from gateway\").nullable().optional(),\n feeOptIn: z.boolean().describe(\"Whether donor chose to pay the Raisely fee\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the donor\").nullable().optional(),\n ipNumber: z.string().describe(\"IP address of the donor\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the donor\").nullable().optional(),\n postcode: z.string().describe(\"Postal code\").nullable().optional(),\n taxTotal: z.number().int().describe(\"Total tax charged within items\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the Raisely user associated with donation\").nullable().optional(),\n anonymous: z.boolean().describe(\"Whether the donor wishes to remain anonymous\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the donation was created\").nullable(),\n firstName: z.string().describe(\"First name of the donor\").nullable().optional(),\n isExpress: z.boolean().describe(\"Whether donation was made via express payment flow\").nullable().optional(),\n itemTypes: z.array(z.string()).describe(\"Types of items (DONATION, REGISTRATION, TICKET, OTHER)\").nullable().optional(),\n orderUuid: z.string().describe(\"UUID of the order\").nullable().optional(),\n publicFee: z.number().int().describe(\"Public fee in provider currency\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the donation was last updated\").nullable(),\n methodType: z.string().describe(\"Type of payment method\").nullable().optional(),\n orderTotal: z.number().int().describe(\"Total order amount in cents\").nullable().optional(),\n processing: RaiselyCreateDonation_DonationProcessingSchema.nullable().optional(),\n campaignFee: z.number().int().describe(\"Fee in campaign currency\").nullable().optional(),\n cardPreview: z.number().int().describe(\"Last 4 digits of card\").nullable().optional(),\n declineCode: z.string().describe(\"Decline code from Stripe, if applicable\").nullable().optional(),\n giftAidText: z.string().describe(\"Gift Aid text the donor saw and agreed to\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the donor\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the associated profile\").nullable().optional(),\n publicTotal: z.number().int().describe(\"Public total in provider currency\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the associated campaign\").nullable().optional(),\n displayTotal: z.number().int().describe(\"Total contribution to campaign total in donation currency (cents)\").nullable().optional(),\n publicAmount: z.number().int().describe(\"Public amount in provider currency\").nullable().optional(),\n usedSwiftAid: z.boolean().describe(\"Whether SwiftAid was used to process Gift Aid\").nullable().optional(),\n donationTotal: z.number().int().describe(\"Total donation amount in cents\").nullable().optional(),\n preferredName: z.string().describe(\"Preferred name of the donor\").nullable().optional(),\n amountRefunded: z.number().int().describe(\"Total amount refunded to donor in cents\").nullable().optional(),\n campaignAmount: z.number().int().describe(\"Transaction amount in campaign currency\").nullable().optional(),\n currencySymbol: z.string().describe(\"Symbol of the currency\").nullable().optional(),\n gatewayVersion: z.string().describe(\"Gateway version\").nullable().optional(),\n swiftAidStatus: RaiselyCreateDonation_SwiftAidStatusSchema.nullable().optional(),\n campaignRaisely: z.number().int().describe(\"Raisely fee in campaign currency\").nullable().optional(),\n forRegistration: z.string().describe(\"Set aside for registration\").nullable().optional(),\n includesGiftAid: z.boolean().describe(\"Whether gift aid donation is included\").nullable().optional(),\n providerRaisely: z.number().int().describe(\"Raisely fee in provider currency\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"Total contribution in campaign currency\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a newly created donation in Raisely.\\nContains the complete donation record with calculated fields.\");\n\nexport const raiselyCreateDonation = action(\"RAISELY_CREATE_DONATION\", {\n slug: \"raisely-create-donation\",\n name: \"Create Offline Donation\",\n description: \"Tool to record an offline donation in Raisely. Use when recording donations that were processed externally (outside of Raisely's payment flow). These donations are marked with type=OFFLINE to indicate they were processed elsewhere.\",\n input: RaiselyCreateDonationInput,\n output: RaiselyCreateDonationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC5H,MAAM,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,kEAAkE;CAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;CACnG,QAAQ,EAAE,KAAK;EAAC;EAAe;EAAU;EAAa;EAAW;EAAU;EAAiB;CAAU,CAAC,CAAC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selyCreateExerciseLogOutput = zod.z.object({
41
41
  activityId: zod.z.number().int().describe("Strava activity ID if applicable").nullable().optional(),
42
42
  profileUuid: zod.z.string().describe("UUID of the profile").nullable().optional(),
43
43
  rawDistance: zod.z.number().int().describe("Raw distance value").nullable().optional()
44
- }).describe("Response schema for a newly created exercise log in Raisely.");
44
+ }).passthrough().describe("Response schema for a newly created exercise log in Raisely.");
45
45
  const raiselyCreateExerciseLog = require_action.action("RAISELY_CREATE_EXERCISE_LOG", {
46
46
  slug: "raisely-create-exercise-log",
47
47
  name: "Create Exercise Log",
@@ -1 +1 @@
1
- {"version":3,"file":"create-exercise-log.cjs","names":["z","action"],"sources":["../../src/actions/create-exercise-log.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateExerciseLogInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data related to this exercise log\").optional(),\n date: z.string().describe(\"ISO 8601 timestamp of when the exercise took place\").optional(),\n time: z.number().int().describe(\"Time elapsed in seconds\").optional(),\n measure: z.number().int().describe(\"Completed measure in campaign unit\").optional(),\n activity: z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]).describe(\"The type of exercise activity\"),\n distance: z.number().int().describe(\"Distance covered in meters\").optional(),\n userUuid: z.string().describe(\"UUID of the user who performed the exercise\"),\n sourceApp: z.string().describe(\"Source application of the exercise log (e.g., 'Strava')\").optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with this exercise log\"),\n rawDistance: z.number().int().describe(\"Raw distance value (internal Raisely field)\").optional(),\n}).describe(\"Request schema for creating a new exercise log in Raisely.\");\nconst RaiselyCreateExerciseLog_ActivityTypeSchema = z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]).describe(\"Enum for exercise activity types.\");\nexport const RaiselyCreateExerciseLogOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data\").nullable().optional(),\n date: z.string().describe(\"ISO 8601 timestamp of the exercise\").nullable().optional(),\n time: z.number().int().describe(\"Time elapsed in seconds\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the exercise log\").nullable(),\n measure: z.number().int().describe(\"Completed measure in campaign unit\").nullable().optional(),\n activity: RaiselyCreateExerciseLog_ActivityTypeSchema.nullable(),\n distance: z.number().int().describe(\"Distance in meters\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user\").nullable().optional(),\n sourceApp: z.string().describe(\"Source application\").nullable().optional(),\n activityId: z.number().int().describe(\"Strava activity ID if applicable\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile\").nullable().optional(),\n rawDistance: z.number().int().describe(\"Raw distance value\").nullable().optional(),\n}).describe(\"Response schema for a newly created exercise log in Raisely.\");\n\nexport const raiselyCreateExerciseLog = action(\"RAISELY_CREATE_EXERCISE_LOG\", {\n slug: \"raisely-create-exercise-log\",\n name: \"Create Exercise Log\",\n description: \"Tool to create a new exercise log in Raisely. Use when you need to record physical activity data for a user, such as running, cycling, or swimming. Requires userUuid and profileUuid.\",\n input: RaiselyCreateExerciseLogInput,\n output: RaiselyCreateExerciseLogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClF,UAA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AC7F,UAAU,4CAA4C,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-exercise-log.cjs","names":["z","action"],"sources":["../../src/actions/create-exercise-log.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateExerciseLogInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data related to this exercise log\").optional(),\n date: z.string().describe(\"ISO 8601 timestamp of when the exercise took place\").optional(),\n time: z.number().int().describe(\"Time elapsed in seconds\").optional(),\n measure: z.number().int().describe(\"Completed measure in campaign unit\").optional(),\n activity: z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]).describe(\"The type of exercise activity\"),\n distance: z.number().int().describe(\"Distance covered in meters\").optional(),\n userUuid: z.string().describe(\"UUID of the user who performed the exercise\"),\n sourceApp: z.string().describe(\"Source application of the exercise log (e.g., 'Strava')\").optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with this exercise log\"),\n rawDistance: z.number().int().describe(\"Raw distance value (internal Raisely field)\").optional(),\n}).describe(\"Request schema for creating a new exercise log in Raisely.\");\nconst RaiselyCreateExerciseLog_ActivityTypeSchema = z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]).describe(\"Enum for exercise activity types.\");\nexport const RaiselyCreateExerciseLogOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data\").nullable().optional(),\n date: z.string().describe(\"ISO 8601 timestamp of the exercise\").nullable().optional(),\n time: z.number().int().describe(\"Time elapsed in seconds\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the exercise log\").nullable(),\n measure: z.number().int().describe(\"Completed measure in campaign unit\").nullable().optional(),\n activity: RaiselyCreateExerciseLog_ActivityTypeSchema.nullable(),\n distance: z.number().int().describe(\"Distance in meters\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user\").nullable().optional(),\n sourceApp: z.string().describe(\"Source application\").nullable().optional(),\n activityId: z.number().int().describe(\"Strava activity ID if applicable\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile\").nullable().optional(),\n rawDistance: z.number().int().describe(\"Raw distance value\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a newly created exercise log in Raisely.\");\n\nexport const raiselyCreateExerciseLog = action(\"RAISELY_CREATE_EXERCISE_LOG\", {\n slug: \"raisely-create-exercise-log\",\n name: \"Create Exercise Log\",\n description: \"Tool to create a new exercise log in Raisely. Use when you need to record physical activity data for a user, such as running, cycling, or swimming. Requires userUuid and profileUuid.\",\n input: RaiselyCreateExerciseLogInput,\n output: RaiselyCreateExerciseLogOutput,\n});\n"],"mappings":";;;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aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -40,7 +40,7 @@ declare const RaiselyCreateExerciseLogOutput: z.ZodObject<{
40
40
  activityId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
41
  profileUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  rawDistance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
- }, z.core.$strip>;
43
+ }, z.core.$loose>;
44
44
  declare const raiselyCreateExerciseLog: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  activity: "RUNNING" | "SWIMMING" | "CYCLING" | "WALKING" | "WHEELCHAIRING" | "OTHER";
46
46
  userUuid: string;
@@ -40,7 +40,7 @@ declare const RaiselyCreateExerciseLogOutput: z.ZodObject<{
40
40
  activityId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
41
  profileUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  rawDistance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
- }, z.core.$strip>;
43
+ }, z.core.$loose>;
44
44
  declare const raiselyCreateExerciseLog: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  activity: "RUNNING" | "SWIMMING" | "CYCLING" | "WALKING" | "WHEELCHAIRING" | "OTHER";
46
46
  userUuid: string;
@@ -46,7 +46,7 @@ const raiselyCreateExerciseLog = action("RAISELY_CREATE_EXERCISE_LOG", {
46
46
  activityId: z.number().int().describe("Strava activity ID if applicable").nullable().optional(),
47
47
  profileUuid: z.string().describe("UUID of the profile").nullable().optional(),
48
48
  rawDistance: z.number().int().describe("Raw distance value").nullable().optional()
49
- }).describe("Response schema for a newly created exercise log in Raisely.")
49
+ }).passthrough().describe("Response schema for a newly created exercise log in Raisely.")
50
50
  });
51
51
  //#endregion
52
52
  export { raiselyCreateExerciseLog };
@@ -1 +1 @@
1
- {"version":3,"file":"create-exercise-log.mjs","names":[],"sources":["../../src/actions/create-exercise-log.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateExerciseLogInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data related to this exercise log\").optional(),\n date: z.string().describe(\"ISO 8601 timestamp of when the exercise took place\").optional(),\n time: z.number().int().describe(\"Time elapsed in seconds\").optional(),\n measure: z.number().int().describe(\"Completed measure in campaign unit\").optional(),\n activity: z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]).describe(\"The type of exercise activity\"),\n distance: z.number().int().describe(\"Distance covered in meters\").optional(),\n userUuid: z.string().describe(\"UUID of the user who performed the exercise\"),\n sourceApp: z.string().describe(\"Source application of the exercise log (e.g., 'Strava')\").optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with this exercise log\"),\n rawDistance: z.number().int().describe(\"Raw distance value (internal Raisely field)\").optional(),\n}).describe(\"Request schema for creating a new exercise log in Raisely.\");\nconst RaiselyCreateExerciseLog_ActivityTypeSchema = z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]).describe(\"Enum for exercise activity types.\");\nexport const RaiselyCreateExerciseLogOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data\").nullable().optional(),\n date: z.string().describe(\"ISO 8601 timestamp of the exercise\").nullable().optional(),\n time: z.number().int().describe(\"Time elapsed in seconds\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the exercise log\").nullable(),\n measure: z.number().int().describe(\"Completed measure in campaign unit\").nullable().optional(),\n activity: RaiselyCreateExerciseLog_ActivityTypeSchema.nullable(),\n distance: z.number().int().describe(\"Distance in meters\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user\").nullable().optional(),\n sourceApp: z.string().describe(\"Source application\").nullable().optional(),\n activityId: z.number().int().describe(\"Strava activity ID if applicable\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile\").nullable().optional(),\n rawDistance: z.number().int().describe(\"Raw distance value\").nullable().optional(),\n}).describe(\"Response schema for a newly created exercise log in Raisely.\");\n\nexport const raiselyCreateExerciseLog = action(\"RAISELY_CREATE_EXERCISE_LOG\", {\n slug: \"raisely-create-exercise-log\",\n name: \"Create Exercise Log\",\n description: \"Tool to create a new exercise log in Raisely. Use when you need to record physical activity data for a user, such as running, cycling, or swimming. Requires userUuid and profileUuid.\",\n input: RaiselyCreateExerciseLogInput,\n output: RaiselyCreateExerciseLogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,KAAK;EAAC;EAAW;EAAY;EAAW;EAAW;EAAiB;CAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B;CAClI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8CAA8C,EAAE,KAAK;CAAC;CAAW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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-exercise-log.mjs","names":[],"sources":["../../src/actions/create-exercise-log.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateExerciseLogInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data related to this exercise log\").optional(),\n date: z.string().describe(\"ISO 8601 timestamp of when the exercise took place\").optional(),\n time: z.number().int().describe(\"Time elapsed in seconds\").optional(),\n measure: z.number().int().describe(\"Completed measure in campaign unit\").optional(),\n activity: z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]).describe(\"The type of exercise activity\"),\n distance: z.number().int().describe(\"Distance covered in meters\").optional(),\n userUuid: z.string().describe(\"UUID of the user who performed the exercise\"),\n sourceApp: z.string().describe(\"Source application of the exercise log (e.g., 'Strava')\").optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with this exercise log\"),\n rawDistance: z.number().int().describe(\"Raw distance value (internal Raisely field)\").optional(),\n}).describe(\"Request schema for creating a new exercise log in Raisely.\");\nconst RaiselyCreateExerciseLog_ActivityTypeSchema = z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]).describe(\"Enum for exercise activity types.\");\nexport const RaiselyCreateExerciseLogOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data\").nullable().optional(),\n date: z.string().describe(\"ISO 8601 timestamp of the exercise\").nullable().optional(),\n time: z.number().int().describe(\"Time elapsed in seconds\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the exercise log\").nullable(),\n measure: z.number().int().describe(\"Completed measure in campaign unit\").nullable().optional(),\n activity: RaiselyCreateExerciseLog_ActivityTypeSchema.nullable(),\n distance: z.number().int().describe(\"Distance in meters\").nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user\").nullable().optional(),\n sourceApp: z.string().describe(\"Source application\").nullable().optional(),\n activityId: z.number().int().describe(\"Strava activity ID if applicable\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile\").nullable().optional(),\n rawDistance: z.number().int().describe(\"Raw distance value\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a newly created exercise log in Raisely.\");\n\nexport const raiselyCreateExerciseLog = action(\"RAISELY_CREATE_EXERCISE_LOG\", {\n slug: \"raisely-create-exercise-log\",\n name: \"Create Exercise Log\",\n description: \"Tool to create a new exercise log in Raisely. Use when you need to record physical activity data for a user, such as running, cycling, or swimming. Requires userUuid and profileUuid.\",\n input: RaiselyCreateExerciseLogInput,\n output: RaiselyCreateExerciseLogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,KAAK;EAAC;EAAW;EAAY;EAAW;EAAW;EAAiB;CAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B;CAClI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SA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SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
@@ -17,7 +17,7 @@ const RaiselyCreateInteraction_InteractionCategorySchema = zod.z.object({
17
17
  name: zod.z.string().describe("Name of the category.").nullable().optional(),
18
18
  path: zod.z.string().describe("Path of the category.").nullable().optional(),
19
19
  uuid: zod.z.string().describe("Unique identifier of the category.").nullable().optional()
20
- }).describe("Category information associated with the interaction.");
20
+ }).passthrough().describe("Category information associated with the interaction.");
21
21
  const RaiselyCreateInteractionOutput = zod.z.object({
22
22
  diff: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Difference information for the interaction.").nullable().optional(),
23
23
  uuid: zod.z.string().describe("Unique identifier of the interaction.").nullable().optional(),
@@ -36,7 +36,7 @@ const RaiselyCreateInteractionOutput = zod.z.object({
36
36
  categoryUuid: zod.z.string().describe("UUID of the category this interaction belongs to.").nullable().optional(),
37
37
  internalOnly: zod.z.boolean().describe("Whether this interaction is internal only.").nullable().optional(),
38
38
  organisationUuid: zod.z.string().describe("UUID of the organisation this interaction belongs to.").nullable().optional()
39
- }).describe("Response schema for a newly created interaction in Raisely.");
39
+ }).passthrough().describe("Response schema for a newly created interaction in Raisely.");
40
40
  const raiselyCreateInteraction = require_action.action("RAISELY_CREATE_INTERACTION", {
41
41
  slug: "raisely-create-interaction",
42
42
  name: "Create Interaction",
@@ -1 +1 @@
1
- {"version":3,"file":"create-interaction.cjs","names":["z","action"],"sources":["../../src/actions/create-interaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateInteractionInput = z.object({\n detail: z.object({\n pinned: z.boolean().describe(\"Whether this interaction should be pinned for visibility.\").optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields for this interaction.\").optional(),\n comment: z.string().describe(\"Comment or note associated with this interaction.\").optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields for this interaction (only visible to admins).\").optional(),\n}).describe(\"Detail object containing additional information about the interaction.\").optional(),\n private: z.boolean().describe(\"Returns the full record when authenticated.\").optional(),\n userUuid: z.string().describe(\"The user the interaction should belong to.\").optional(),\n categoryPath: z.string().describe(\"The path of the category the interaction should belong to. This can be supplied instead of a categoryUuid.\").optional(),\n categoryUuid: z.string().describe(\"The UUID of the category the interaction should belong to. Either categoryUuid or categoryPath is required.\").optional(),\n}).describe(\"Request schema for creating a new interaction in Raisely.\");\nconst RaiselyCreateInteraction_InteractionCategorySchema = z.object({\n name: z.string().describe(\"Name of the category.\").nullable().optional(),\n path: z.string().describe(\"Path of the category.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the category.\").nullable().optional(),\n}).describe(\"Category information associated with the interaction.\");\nexport const RaiselyCreateInteractionOutput = z.object({\n diff: z.record(z.string(), z.unknown()).describe(\"Difference information for the interaction.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the interaction.\").nullable().optional(),\n model: z.string().describe(\"Model type of the interaction record.\").nullable().optional(),\n action: z.string().describe(\"Action type of the interaction.\").nullable().optional(),\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details relating to this interaction.\").nullable().optional(),\n context: z.record(z.string(), z.unknown()).describe(\"Context information for the interaction.\").nullable().optional(),\n category: RaiselyCreateInteraction_InteractionCategorySchema.nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user who created the interaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the interaction was created.\").nullable().optional(),\n immutable: z.record(z.string(), z.unknown()).describe(\"Immutable fields for the interaction.\").nullable().optional(),\n tokenUuid: z.string().describe(\"UUID of the token used for the interaction.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the interaction.\").nullable().optional(),\n recordType: z.string().describe(\"Type of the record associated with the interaction.\").nullable().optional(),\n recordUuid: z.string().describe(\"UUID of the record associated with the interaction.\").nullable().optional(),\n categoryUuid: z.string().describe(\"UUID of the category this interaction belongs to.\").nullable().optional(),\n internalOnly: z.boolean().describe(\"Whether this interaction is internal only.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this interaction belongs to.\").nullable().optional(),\n}).describe(\"Response schema for a newly created interaction in Raisely.\");\n\nexport const raiselyCreateInteraction = action(\"RAISELY_CREATE_INTERACTION\", {\n slug: \"raisely-create-interaction\",\n name: \"Create Interaction\",\n description: \"Tool to create a new interaction in Raisely. Use when you need to record an interaction event. Either categoryUuid or categoryPath must be provided.\",\n input: RaiselyCreateInteractionInput,\n output: RaiselyCreateInteractionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO;EACjB,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACnG,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CA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,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-interaction.cjs","names":["z","action"],"sources":["../../src/actions/create-interaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateInteractionInput = z.object({\n detail: z.object({\n pinned: z.boolean().describe(\"Whether this interaction should be pinned for visibility.\").optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields for this interaction.\").optional(),\n comment: z.string().describe(\"Comment or note associated with this interaction.\").optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields for this interaction (only visible to admins).\").optional(),\n}).describe(\"Detail object containing additional information about the interaction.\").optional(),\n private: z.boolean().describe(\"Returns the full record when authenticated.\").optional(),\n userUuid: z.string().describe(\"The user the interaction should belong to.\").optional(),\n categoryPath: z.string().describe(\"The path of the category the interaction should belong to. This can be supplied instead of a categoryUuid.\").optional(),\n categoryUuid: z.string().describe(\"The UUID of the category the interaction should belong to. Either categoryUuid or categoryPath is required.\").optional(),\n}).describe(\"Request schema for creating a new interaction in Raisely.\");\nconst RaiselyCreateInteraction_InteractionCategorySchema = z.object({\n name: z.string().describe(\"Name of the category.\").nullable().optional(),\n path: z.string().describe(\"Path of the category.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the category.\").nullable().optional(),\n}).passthrough().describe(\"Category information associated with the interaction.\");\nexport const RaiselyCreateInteractionOutput = z.object({\n diff: z.record(z.string(), z.unknown()).describe(\"Difference information for the interaction.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the interaction.\").nullable().optional(),\n model: z.string().describe(\"Model type of the interaction record.\").nullable().optional(),\n action: z.string().describe(\"Action type of the interaction.\").nullable().optional(),\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details relating to this interaction.\").nullable().optional(),\n context: z.record(z.string(), z.unknown()).describe(\"Context information for the interaction.\").nullable().optional(),\n category: RaiselyCreateInteraction_InteractionCategorySchema.nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user who created the interaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the interaction was created.\").nullable().optional(),\n immutable: z.record(z.string(), z.unknown()).describe(\"Immutable fields for the interaction.\").nullable().optional(),\n tokenUuid: z.string().describe(\"UUID of the token used for the interaction.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the interaction.\").nullable().optional(),\n recordType: z.string().describe(\"Type of the record associated with the interaction.\").nullable().optional(),\n recordUuid: z.string().describe(\"UUID of the record associated with the interaction.\").nullable().optional(),\n categoryUuid: z.string().describe(\"UUID of the category this interaction belongs to.\").nullable().optional(),\n internalOnly: z.boolean().describe(\"Whether this interaction is internal only.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this interaction belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a newly created interaction in Raisely.\");\n\nexport const raiselyCreateInteraction = action(\"RAISELY_CREATE_INTERACTION\", {\n slug: \"raisely-create-interaction\",\n name: \"Create Interaction\",\n description: \"Tool to create a new interaction in Raisely. Use when you need to record an interaction event. Either categoryUuid or categoryPath must be provided.\",\n input: RaiselyCreateInteractionInput,\n output: RaiselyCreateInteractionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO;EACjB,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACnG,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -24,7 +24,7 @@ declare const RaiselyCreateInteractionOutput: z.ZodObject<{
24
24
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>>;
27
+ }, z.core.$loose>>>;
28
28
  userUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  immutable: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -35,7 +35,7 @@ declare const RaiselyCreateInteractionOutput: z.ZodObject<{
35
35
  categoryUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  internalOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
37
  organisationUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const raiselyCreateInteraction: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  detail?: {
41
41
  pinned?: boolean | undefined;
@@ -24,7 +24,7 @@ declare const RaiselyCreateInteractionOutput: z.ZodObject<{
24
24
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>>;
27
+ }, z.core.$loose>>>;
28
28
  userUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  immutable: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -35,7 +35,7 @@ declare const RaiselyCreateInteractionOutput: z.ZodObject<{
35
35
  categoryUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  internalOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
37
  organisationUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const raiselyCreateInteraction: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  detail?: {
41
41
  pinned?: boolean | undefined;
@@ -17,7 +17,7 @@ const RaiselyCreateInteraction_InteractionCategorySchema = z.object({
17
17
  name: z.string().describe("Name of the category.").nullable().optional(),
18
18
  path: z.string().describe("Path of the category.").nullable().optional(),
19
19
  uuid: z.string().describe("Unique identifier of the category.").nullable().optional()
20
- }).describe("Category information associated with the interaction.");
20
+ }).passthrough().describe("Category information associated with the interaction.");
21
21
  const raiselyCreateInteraction = action("RAISELY_CREATE_INTERACTION", {
22
22
  slug: "raisely-create-interaction",
23
23
  name: "Create Interaction",
@@ -41,7 +41,7 @@ const raiselyCreateInteraction = action("RAISELY_CREATE_INTERACTION", {
41
41
  categoryUuid: z.string().describe("UUID of the category this interaction belongs to.").nullable().optional(),
42
42
  internalOnly: z.boolean().describe("Whether this interaction is internal only.").nullable().optional(),
43
43
  organisationUuid: z.string().describe("UUID of the organisation this interaction belongs to.").nullable().optional()
44
- }).describe("Response schema for a newly created interaction in Raisely.")
44
+ }).passthrough().describe("Response schema for a newly created interaction in Raisely.")
45
45
  });
46
46
  //#endregion
47
47
  export { raiselyCreateInteraction };
@@ -1 +1 @@
1
- {"version":3,"file":"create-interaction.mjs","names":[],"sources":["../../src/actions/create-interaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateInteractionInput = z.object({\n detail: z.object({\n pinned: z.boolean().describe(\"Whether this interaction should be pinned for visibility.\").optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields for this interaction.\").optional(),\n comment: z.string().describe(\"Comment or note associated with this interaction.\").optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields for this interaction (only visible to admins).\").optional(),\n}).describe(\"Detail object containing additional information about the interaction.\").optional(),\n private: z.boolean().describe(\"Returns the full record when authenticated.\").optional(),\n userUuid: z.string().describe(\"The user the interaction should belong to.\").optional(),\n categoryPath: z.string().describe(\"The path of the category the interaction should belong to. This can be supplied instead of a categoryUuid.\").optional(),\n categoryUuid: z.string().describe(\"The UUID of the category the interaction should belong to. Either categoryUuid or categoryPath is required.\").optional(),\n}).describe(\"Request schema for creating a new interaction in Raisely.\");\nconst RaiselyCreateInteraction_InteractionCategorySchema = z.object({\n name: z.string().describe(\"Name of the category.\").nullable().optional(),\n path: z.string().describe(\"Path of the category.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the category.\").nullable().optional(),\n}).describe(\"Category information associated with the interaction.\");\nexport const RaiselyCreateInteractionOutput = z.object({\n diff: z.record(z.string(), z.unknown()).describe(\"Difference information for the interaction.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the interaction.\").nullable().optional(),\n model: z.string().describe(\"Model type of the interaction record.\").nullable().optional(),\n action: z.string().describe(\"Action type of the interaction.\").nullable().optional(),\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details relating to this interaction.\").nullable().optional(),\n context: z.record(z.string(), z.unknown()).describe(\"Context information for the interaction.\").nullable().optional(),\n category: RaiselyCreateInteraction_InteractionCategorySchema.nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user who created the interaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the interaction was created.\").nullable().optional(),\n immutable: z.record(z.string(), z.unknown()).describe(\"Immutable fields for the interaction.\").nullable().optional(),\n tokenUuid: z.string().describe(\"UUID of the token used for the interaction.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the interaction.\").nullable().optional(),\n recordType: z.string().describe(\"Type of the record associated with the interaction.\").nullable().optional(),\n recordUuid: z.string().describe(\"UUID of the record associated with the interaction.\").nullable().optional(),\n categoryUuid: z.string().describe(\"UUID of the category this interaction belongs to.\").nullable().optional(),\n internalOnly: z.boolean().describe(\"Whether this interaction is internal only.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this interaction belongs to.\").nullable().optional(),\n}).describe(\"Response schema for a newly created interaction in Raisely.\");\n\nexport const raiselyCreateInteraction = action(\"RAISELY_CREATE_INTERACTION\", {\n slug: \"raisely-create-interaction\",\n name: \"Create Interaction\",\n description: \"Tool to create a new interaction in Raisely. Use when you need to record an interaction event. Either categoryUuid or categoryPath must be provided.\",\n input: RaiselyCreateInteractionInput,\n output: RaiselyCreateInteractionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO;EACjB,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,QAAQ,C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action } from \"../action\";\n\nexport const RaiselyCreateInteractionInput = z.object({\n detail: z.object({\n pinned: z.boolean().describe(\"Whether this interaction should be pinned for visibility.\").optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields for this interaction.\").optional(),\n comment: z.string().describe(\"Comment or note associated with this interaction.\").optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields for this interaction (only visible to admins).\").optional(),\n}).describe(\"Detail object containing additional information about the interaction.\").optional(),\n private: z.boolean().describe(\"Returns the full record when authenticated.\").optional(),\n userUuid: z.string().describe(\"The user the interaction should belong to.\").optional(),\n categoryPath: z.string().describe(\"The path of the category the interaction should belong to. This can be supplied instead of a categoryUuid.\").optional(),\n categoryUuid: z.string().describe(\"The UUID of the category the interaction should belong to. Either categoryUuid or categoryPath is required.\").optional(),\n}).describe(\"Request schema for creating a new interaction in Raisely.\");\nconst RaiselyCreateInteraction_InteractionCategorySchema = z.object({\n name: z.string().describe(\"Name of the category.\").nullable().optional(),\n path: z.string().describe(\"Path of the category.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the category.\").nullable().optional(),\n}).passthrough().describe(\"Category information associated with the interaction.\");\nexport const RaiselyCreateInteractionOutput = z.object({\n diff: z.record(z.string(), z.unknown()).describe(\"Difference information for the interaction.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the interaction.\").nullable().optional(),\n model: z.string().describe(\"Model type of the interaction record.\").nullable().optional(),\n action: z.string().describe(\"Action type of the interaction.\").nullable().optional(),\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details relating to this interaction.\").nullable().optional(),\n context: z.record(z.string(), z.unknown()).describe(\"Context information for the interaction.\").nullable().optional(),\n category: RaiselyCreateInteraction_InteractionCategorySchema.nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user who created the interaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the interaction was created.\").nullable().optional(),\n immutable: z.record(z.string(), z.unknown()).describe(\"Immutable fields for the interaction.\").nullable().optional(),\n tokenUuid: z.string().describe(\"UUID of the token used for the interaction.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the interaction.\").nullable().optional(),\n recordType: z.string().describe(\"Type of the record associated with the interaction.\").nullable().optional(),\n recordUuid: z.string().describe(\"UUID of the record associated with the interaction.\").nullable().optional(),\n categoryUuid: z.string().describe(\"UUID of the category this interaction belongs to.\").nullable().optional(),\n internalOnly: z.boolean().describe(\"Whether this interaction is internal only.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this interaction belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a newly created interaction in Raisely.\");\n\nexport const raiselyCreateInteraction = action(\"RAISELY_CREATE_INTERACTION\", {\n slug: \"raisely-create-interaction\",\n name: \"Create Interaction\",\n description: \"Tool to create a new interaction in Raisely. Use when you need to record an interaction event. Either categoryUuid or categoryPath must be provided.\",\n input: RaiselyCreateInteractionInput,\n output: RaiselyCreateInteractionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO;EACjB,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,cA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CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,UAAU,mDAAmD,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -21,7 +21,7 @@ const RaiselyCreatePostOutput = zod.z.object({
21
21
  updatedAt: zod.z.string().describe("ISO 8601 timestamp when the post was last updated").nullable().optional(),
22
22
  profileUuid: zod.z.string().describe("UUID of the profile associated with the post").nullable().optional(),
23
23
  campaignUuid: zod.z.string().describe("UUID of the campaign associated with the post").nullable().optional()
24
- }).describe("Response model for a newly created post in Raisely.");
24
+ }).passthrough().describe("Response model for a newly created post in Raisely.");
25
25
  const raiselyCreatePost = require_action.action("RAISELY_CREATE_POST", {
26
26
  slug: "raisely-create-post",
27
27
  name: "Create Post",
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.cjs","names":["z","action"],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePostInput = z.object({\n body: z.string().describe(\"Content/body of the post. May contain HTML formatting.\"),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format.\").optional(),\n path: z.string().describe(\"URL path slug for the post. Must be unique. Used in the post's URL (e.g., 'my-first-post').\"),\n title: z.string().describe(\"Title of the post.\").optional(),\n photoUrl: z.string().describe(\"URL to the post's main image or photo.\"),\n profileUuid: z.string().describe(\"UUID of the profile that the post should be associated with.\"),\n}).describe(\"Request parameters for creating a new post in Raisely.\");\nexport const RaiselyCreatePostOutput = z.object({\n body: z.string().describe(\"Content/body of the post\").nullable(),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format\").nullable().optional(),\n path: z.string().describe(\"URL path slug of the post\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the post\").nullable(),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\").nullable(),\n userUuid: z.string().describe(\"UUID of the user who created the post\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the post was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the post was last updated\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with the post\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the campaign associated with the post\").nullable().optional(),\n}).describe(\"Response model for a newly created post in Raisely.\");\n\nexport const raiselyCreatePost = action(\"RAISELY_CREATE_POST\", {\n slug: \"raisely-create-post\",\n name: \"Create Post\",\n description: \"Create a new post in Raisely. Use when you need to add a blog post or update to a profile or campaign.\",\n input: RaiselyCreatePostInput,\n output: RaiselyCreatePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACvH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-post.cjs","names":["z","action"],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePostInput = z.object({\n body: z.string().describe(\"Content/body of the post. May contain HTML formatting.\"),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format.\").optional(),\n path: z.string().describe(\"URL path slug for the post. Must be unique. Used in the post's URL (e.g., 'my-first-post').\"),\n title: z.string().describe(\"Title of the post.\").optional(),\n photoUrl: z.string().describe(\"URL to the post's main image or photo.\"),\n profileUuid: z.string().describe(\"UUID of the profile that the post should be associated with.\"),\n}).describe(\"Request parameters for creating a new post in Raisely.\");\nexport const RaiselyCreatePostOutput = z.object({\n body: z.string().describe(\"Content/body of the post\").nullable(),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format\").nullable().optional(),\n path: z.string().describe(\"URL path slug of the post\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the post\").nullable(),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\").nullable(),\n userUuid: z.string().describe(\"UUID of the user who created the post\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the post was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the post was last updated\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with the post\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the campaign associated with the post\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created post in Raisely.\");\n\nexport const raiselyCreatePost = action(\"RAISELY_CREATE_POST\", {\n slug: \"raisely-create-post\",\n name: \"Create Post\",\n description: \"Create a new post in Raisely. Use when you need to add a blog post or update to a profile or campaign.\",\n input: RaiselyCreatePostInput,\n output: RaiselyCreatePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACvH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -21,7 +21,7 @@ declare const RaiselyCreatePostOutput: z.ZodObject<{
21
21
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  profileUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const raiselyCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  body: string;
27
27
  path: string;
@@ -21,7 +21,7 @@ declare const RaiselyCreatePostOutput: z.ZodObject<{
21
21
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  profileUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const raiselyCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  body: string;
27
27
  path: string;
@@ -24,7 +24,7 @@ const raiselyCreatePost = action("RAISELY_CREATE_POST", {
24
24
  updatedAt: z.string().describe("ISO 8601 timestamp when the post was last updated").nullable().optional(),
25
25
  profileUuid: z.string().describe("UUID of the profile associated with the post").nullable().optional(),
26
26
  campaignUuid: z.string().describe("UUID of the campaign associated with the post").nullable().optional()
27
- }).describe("Response model for a newly created post in Raisely.")
27
+ }).passthrough().describe("Response model for a newly created post in Raisely.")
28
28
  });
29
29
  //#endregion
30
30
  export { raiselyCreatePost };
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePostInput = z.object({\n body: z.string().describe(\"Content/body of the post. May contain HTML formatting.\"),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format.\").optional(),\n path: z.string().describe(\"URL path slug for the post. Must be unique. Used in the post's URL (e.g., 'my-first-post').\"),\n title: z.string().describe(\"Title of the post.\").optional(),\n photoUrl: z.string().describe(\"URL to the post's main image or photo.\"),\n profileUuid: z.string().describe(\"UUID of the profile that the post should be associated with.\"),\n}).describe(\"Request parameters for creating a new post in Raisely.\");\nexport const RaiselyCreatePostOutput = z.object({\n body: z.string().describe(\"Content/body of the post\").nullable(),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format\").nullable().optional(),\n path: z.string().describe(\"URL path slug of the post\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the post\").nullable(),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\").nullable(),\n userUuid: z.string().describe(\"UUID of the user who created the post\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the post was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the post was last updated\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with the post\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the campaign associated with the post\").nullable().optional(),\n}).describe(\"Response model for a newly created post in Raisely.\");\n\nexport const raiselyCreatePost = action(\"RAISELY_CREATE_POST\", {\n slug: \"raisely-create-post\",\n name: \"Create Post\",\n description: \"Create a new post in Raisely. Use when you need to add a blog post or update to a profile or campaign.\",\n input: RaiselyCreatePostInput,\n output: RaiselyCreatePostOutput,\n});\n"],"mappings":";;AA0BA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EACvH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACjG,CAAC,CAAC,CAAC,SAAS,wDAmBH;CACP,QAnBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePostInput = z.object({\n body: z.string().describe(\"Content/body of the post. May contain HTML formatting.\"),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format.\").optional(),\n path: z.string().describe(\"URL path slug for the post. Must be unique. Used in the post's URL (e.g., 'my-first-post').\"),\n title: z.string().describe(\"Title of the post.\").optional(),\n photoUrl: z.string().describe(\"URL to the post's main image or photo.\"),\n profileUuid: z.string().describe(\"UUID of the profile that the post should be associated with.\"),\n}).describe(\"Request parameters for creating a new post in Raisely.\");\nexport const RaiselyCreatePostOutput = z.object({\n body: z.string().describe(\"Content/body of the post\").nullable(),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format\").nullable().optional(),\n path: z.string().describe(\"URL path slug of the post\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the post\").nullable(),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\").nullable(),\n userUuid: z.string().describe(\"UUID of the user who created the post\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the post was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the post was last updated\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with the post\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the campaign associated with the post\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created post in Raisely.\");\n\nexport const raiselyCreatePost = action(\"RAISELY_CREATE_POST\", {\n slug: \"raisely-create-post\",\n name: \"Create Post\",\n description: \"Create a new post in Raisely. Use when you need to add a blog post or update to a profile or campaign.\",\n input: RaiselyCreatePostInput,\n output: RaiselyCreatePostOutput,\n});\n"],"mappings":";;AA0BA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EACvH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACjG,CAAC,CAAC,CAAC,SAAS,wDAmBH;CACP,QAnBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const RaiselyCreatePromoCodeOutput = zod.z.object({
20
20
  startDate: zod.z.string().describe("ISO 8601 timestamp when the promo code becomes valid.").nullable().optional(),
21
21
  discountType: zod.z.string().describe("Type of discount (PERCENTAGE or FIXED).").nullable(),
22
22
  discountAmount: zod.z.number().int().describe("Discount amount (as integer percentage or cents).").nullable()
23
- }).describe("Response schema for a newly created promo code in Raisely.");
23
+ }).passthrough().describe("Response schema for a newly created promo code in Raisely.");
24
24
  const raiselyCreatePromoCode = require_action.action("RAISELY_CREATE_PROMO_CODE", {
25
25
  slug: "raisely-create-promo-code",
26
26
  name: "Create Promo Code",
@@ -1 +1 @@
1
- {"version":3,"file":"create-promo-code.cjs","names":["z","action"],"sources":["../../src/actions/create-promo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePromoCodeInput = z.object({\n code: z.string().describe(\"The user-facing promo code (e.g., '10OFF', 'SUMMER2024'). Must be unique.\"),\n uses: z.number().int().describe(\"The current number of times this promo code has been claimed. Typically set to 0 for new codes.\").optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp for when this promo code stops being available (e.g., '2022-12-31T23:59:59.999Z').\").optional(),\n maxUses: z.number().int().describe(\"The maximum number of times this promo code can be claimed/used.\").optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp for when this promo code starts being available (e.g., '2022-12-01T00:00:00.000Z').\").optional(),\n campaignUuid: z.string().describe(\"The UUID of the campaign to associate this promo code with. Required field.\"),\n discountType: z.enum([\"PERCENTAGE\", \"FIXED\"]).describe(\"Type of discount to apply. PERCENTAGE for percentage-based discounts, FIXED for fixed amount discounts.\"),\n discountAmount: z.number().int().describe(\"The discount value. For PERCENTAGE type, use whole numbers (e.g., 10 for 10%). For FIXED type, use amount in cents (e.g., 1500 for $15.00).\"),\n}).describe(\"Request parameters for creating a new promo code in Raisely.\");\nexport const RaiselyCreatePromoCodeOutput = z.object({\n code: z.string().describe(\"The promo code string.\").nullable(),\n uses: z.number().int().describe(\"Number of times this promo code has been used.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the promo code.\").nullable().optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp when the promo code expires.\").nullable().optional(),\n maxUses: z.number().int().describe(\"Maximum number of times this promo code can be used.\").nullable().optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp when the promo code becomes valid.\").nullable().optional(),\n discountType: z.string().describe(\"Type of discount (PERCENTAGE or FIXED).\").nullable(),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\").nullable(),\n}).describe(\"Response schema for a newly created promo code in Raisely.\");\n\nexport const raiselyCreatePromoCode = action(\"RAISELY_CREATE_PROMO_CODE\", {\n slug: \"raisely-create-promo-code\",\n name: \"Create Promo Code\",\n description: \"Tool to create a new promo code in Raisely. Use when you need to add discount codes for campaigns, create promotional offers, or set up limited-time discounts.\",\n input: RaiselyCreatePromoCodeInput,\n output: RaiselyCreatePromoCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC/I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC/G,cAAcA,IAAAA,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG;CAChK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6IAA6I;AACzL,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-promo-code.cjs","names":["z","action"],"sources":["../../src/actions/create-promo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePromoCodeInput = z.object({\n code: z.string().describe(\"The user-facing promo code (e.g., '10OFF', 'SUMMER2024'). Must be unique.\"),\n uses: z.number().int().describe(\"The current number of times this promo code has been claimed. Typically set to 0 for new codes.\").optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp for when this promo code stops being available (e.g., '2022-12-31T23:59:59.999Z').\").optional(),\n maxUses: z.number().int().describe(\"The maximum number of times this promo code can be claimed/used.\").optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp for when this promo code starts being available (e.g., '2022-12-01T00:00:00.000Z').\").optional(),\n campaignUuid: z.string().describe(\"The UUID of the campaign to associate this promo code with. Required field.\"),\n discountType: z.enum([\"PERCENTAGE\", \"FIXED\"]).describe(\"Type of discount to apply. PERCENTAGE for percentage-based discounts, FIXED for fixed amount discounts.\"),\n discountAmount: z.number().int().describe(\"The discount value. For PERCENTAGE type, use whole numbers (e.g., 10 for 10%). For FIXED type, use amount in cents (e.g., 1500 for $15.00).\"),\n}).describe(\"Request parameters for creating a new promo code in Raisely.\");\nexport const RaiselyCreatePromoCodeOutput = z.object({\n code: z.string().describe(\"The promo code string.\").nullable(),\n uses: z.number().int().describe(\"Number of times this promo code has been used.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the promo code.\").nullable().optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp when the promo code expires.\").nullable().optional(),\n maxUses: z.number().int().describe(\"Maximum number of times this promo code can be used.\").nullable().optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp when the promo code becomes valid.\").nullable().optional(),\n discountType: z.string().describe(\"Type of discount (PERCENTAGE or FIXED).\").nullable(),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created promo code in Raisely.\");\n\nexport const raiselyCreatePromoCode = action(\"RAISELY_CREATE_PROMO_CODE\", {\n slug: \"raisely-create-promo-code\",\n name: \"Create Promo Code\",\n description: \"Tool to create a new promo code in Raisely. Use when you need to add discount codes for campaigns, create promotional offers, or set up limited-time discounts.\",\n input: RaiselyCreatePromoCodeInput,\n output: RaiselyCreatePromoCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC/I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SA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AAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -23,7 +23,7 @@ declare const RaiselyCreatePromoCodeOutput: z.ZodObject<{
23
23
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  discountType: z.ZodNullable<z.ZodString>;
25
25
  discountAmount: z.ZodNullable<z.ZodNumber>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const raiselyCreatePromoCode: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  code: string;
29
29
  campaignUuid: string;
@@ -23,7 +23,7 @@ declare const RaiselyCreatePromoCodeOutput: z.ZodObject<{
23
23
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  discountType: z.ZodNullable<z.ZodString>;
25
25
  discountAmount: z.ZodNullable<z.ZodNumber>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const raiselyCreatePromoCode: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  code: string;
29
29
  campaignUuid: string;
@@ -23,7 +23,7 @@ const raiselyCreatePromoCode = action("RAISELY_CREATE_PROMO_CODE", {
23
23
  startDate: z.string().describe("ISO 8601 timestamp when the promo code becomes valid.").nullable().optional(),
24
24
  discountType: z.string().describe("Type of discount (PERCENTAGE or FIXED).").nullable(),
25
25
  discountAmount: z.number().int().describe("Discount amount (as integer percentage or cents).").nullable()
26
- }).describe("Response schema for a newly created promo code in Raisely.")
26
+ }).passthrough().describe("Response schema for a newly created promo code in Raisely.")
27
27
  });
28
28
  //#endregion
29
29
  export { raiselyCreatePromoCode };
@@ -1 +1 @@
1
- {"version":3,"file":"create-promo-code.mjs","names":[],"sources":["../../src/actions/create-promo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePromoCodeInput = z.object({\n code: z.string().describe(\"The user-facing promo code (e.g., '10OFF', 'SUMMER2024'). Must be unique.\"),\n uses: z.number().int().describe(\"The current number of times this promo code has been claimed. Typically set to 0 for new codes.\").optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp for when this promo code stops being available (e.g., '2022-12-31T23:59:59.999Z').\").optional(),\n maxUses: z.number().int().describe(\"The maximum number of times this promo code can be claimed/used.\").optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp for when this promo code starts being available (e.g., '2022-12-01T00:00:00.000Z').\").optional(),\n campaignUuid: z.string().describe(\"The UUID of the campaign to associate this promo code with. Required field.\"),\n discountType: z.enum([\"PERCENTAGE\", \"FIXED\"]).describe(\"Type of discount to apply. PERCENTAGE for percentage-based discounts, FIXED for fixed amount discounts.\"),\n discountAmount: z.number().int().describe(\"The discount value. For PERCENTAGE type, use whole numbers (e.g., 10 for 10%). For FIXED type, use amount in cents (e.g., 1500 for $15.00).\"),\n}).describe(\"Request parameters for creating a new promo code in Raisely.\");\nexport const RaiselyCreatePromoCodeOutput = z.object({\n code: z.string().describe(\"The promo code string.\").nullable(),\n uses: z.number().int().describe(\"Number of times this promo code has been used.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the promo code.\").nullable().optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp when the promo code expires.\").nullable().optional(),\n maxUses: z.number().int().describe(\"Maximum number of times this promo code can be used.\").nullable().optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp when the promo code becomes valid.\").nullable().optional(),\n discountType: z.string().describe(\"Type of discount (PERCENTAGE or FIXED).\").nullable(),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\").nullable(),\n}).describe(\"Response schema for a newly created promo code in Raisely.\");\n\nexport const raiselyCreatePromoCode = action(\"RAISELY_CREATE_PROMO_CODE\", {\n slug: \"raisely-create-promo-code\",\n name: \"Create Promo Code\",\n description: \"Tool to create a new promo code in Raisely. Use when you need to add discount codes for campaigns, create promotional offers, or set up limited-time discounts.\",\n input: RaiselyCreatePromoCodeInput,\n output: RaiselyCreatePromoCodeO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AS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-promo-code.mjs","names":[],"sources":["../../src/actions/create-promo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePromoCodeInput = z.object({\n code: z.string().describe(\"The user-facing promo code (e.g., '10OFF', 'SUMMER2024'). Must be unique.\"),\n uses: z.number().int().describe(\"The current number of times this promo code has been claimed. Typically set to 0 for new codes.\").optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp for when this promo code stops being available (e.g., '2022-12-31T23:59:59.999Z').\").optional(),\n maxUses: z.number().int().describe(\"The maximum number of times this promo code can be claimed/used.\").optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp for when this promo code starts being available (e.g., '2022-12-01T00:00:00.000Z').\").optional(),\n campaignUuid: z.string().describe(\"The UUID of the campaign to associate this promo code with. Required field.\"),\n discountType: z.enum([\"PERCENTAGE\", \"FIXED\"]).describe(\"Type of discount to apply. PERCENTAGE for percentage-based discounts, FIXED for fixed amount discounts.\"),\n discountAmount: z.number().int().describe(\"The discount value. For PERCENTAGE type, use whole numbers (e.g., 10 for 10%). For FIXED type, use amount in cents (e.g., 1500 for $15.00).\"),\n}).describe(\"Request parameters for creating a new promo code in Raisely.\");\nexport const RaiselyCreatePromoCodeOutput = z.object({\n code: z.string().describe(\"The promo code string.\").nullable(),\n uses: z.number().int().describe(\"Number of times this promo code has been used.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the promo code.\").nullable().optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp when the promo code expires.\").nullable().optional(),\n maxUses: z.number().int().describe(\"Maximum number of times this promo code can be used.\").nullable().optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp when the promo code becomes valid.\").nullable().optional(),\n discountType: z.string().describe(\"Type of discount (PERCENTAGE or FIXED).\").nullable(),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created promo code in Raisely.\");\n\nexport const raiselyCreatePromoCode = action(\"RAISELY_CREATE_PROMO_CODE\", {\n slug: \"raisely-create-promo-code\",\n name: \"Create Promo Code\",\n description: \"Tool to create a new promo code in Raisely. Use when you need to add discount codes for campaigns, create promotional offers, or set up limited-time discounts.\",\n input: RaiselyCreatePromoCodeInput,\n output: RaiselyCreatePromoCodeOutput,\n});\n"],"mappings":";;AAyBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EACrG,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAC/I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAChH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAClJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EAC/G,cAAc,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG;EAChK,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6IAA6I;CACzL,CAAC,CAAC,CAAC,SAAS,8DAgBH;CACP,QAhB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -46,7 +46,7 @@ const RaiselyCreateWebhookOutput = zod.z.object({
46
46
  secret: zod.z.string().describe("A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.").nullable().optional(),
47
47
  createdAt: zod.z.string().describe("Date and time the record was created").nullable().optional(),
48
48
  campaignUuid: zod.z.string().describe("Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.").nullable().optional()
49
- }).describe("Response model for a newly created webhook in Raisely.");
49
+ }).passthrough().describe("Response model for a newly created webhook in Raisely.");
50
50
  const raiselyCreateWebhook = require_action.action("RAISELY_CREATE_WEBHOOK", {
51
51
  slug: "raisely-create-webhook",
52
52
  name: "Create Webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to. Must be a valid HTTPS endpoint.\"),\n events: z.array(z.enum([\"badge.awarded\", \"badge.revoked\", \"donation.created\", \"donation.deleted\", \"donation.succeeded\", \"donation.updated\", \"donation.refunded\", \"post.created\", \"post.deleted\", \"post.updated\", \"profile.created\", \"profile.deleted\", \"profile.totalUpdated\", \"profile.exerciseTotalUpdated\", \"profile.updated\", \"profile.memberAdded\", \"profile.memberRemoved\", \"subscription.created\", \"subscription.deleted\", \"subscription.failed\", \"subscription.failing\", \"subscription.succeeded\", \"subscription.rebilled\", \"subscription.updated\", \"subscription.paused\", \"subscription.resumed\", \"subscription.cancelled\", \"user.created\", \"user.updated\", \"order.created\", \"order.succeeded\"]).describe(\"Available webhook event types in Raisely.\")).describe(\"Array of events to forward to the webhook. At least one event is required.\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").optional(),\n}).describe(\"Request parameters for creating a new webhook in Raisely.\");\nexport const RaiselyCreateWebhookOutput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook\").nullable(),\n events: z.array(z.string()).describe(\"Array of events to forward to the webhook\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).describe(\"Response model for a newly created webhook in Raisely.\");\n\nexport const raiselyCreateWebhook = action(\"RAISELY_CREATE_WEBHOOK\", {\n slug: \"raisely-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to add a new webhook to your Raisely account. Use when you need to subscribe to event notifications. By default, webhooks trigger for events across all campaigns unless a specific campaignUuid is provided.\",\n input: RaiselyCreateWebhookInput,\n output: RaiselyCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC3F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAiB;EAAoB;EAAoB;EAAsB;EAAoB;EAAqB;EAAgB;EAAgB;EAAgB;EAAmB;EAAmB;EAAwB;EAAgC;EAAmB;EAAuB;EAAyB;EAAwB;EAAwB;EAAuB;EAAwB;EAA0B;EAAyB;EAAwB;EAAuB;EAAwB;EAA0B;EAAgB;EAAgB;EAAiB;CAAiB,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,4EAA4E;CACtzB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACxK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to. Must be a valid HTTPS endpoint.\"),\n events: z.array(z.enum([\"badge.awarded\", \"badge.revoked\", \"donation.created\", \"donation.deleted\", \"donation.succeeded\", \"donation.updated\", \"donation.refunded\", \"post.created\", \"post.deleted\", \"post.updated\", \"profile.created\", \"profile.deleted\", \"profile.totalUpdated\", \"profile.exerciseTotalUpdated\", \"profile.updated\", \"profile.memberAdded\", \"profile.memberRemoved\", \"subscription.created\", \"subscription.deleted\", \"subscription.failed\", \"subscription.failing\", \"subscription.succeeded\", \"subscription.rebilled\", \"subscription.updated\", \"subscription.paused\", \"subscription.resumed\", \"subscription.cancelled\", \"user.created\", \"user.updated\", \"order.created\", \"order.succeeded\"]).describe(\"Available webhook event types in Raisely.\")).describe(\"Array of events to forward to the webhook. At least one event is required.\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").optional(),\n}).describe(\"Request parameters for creating a new webhook in Raisely.\");\nexport const RaiselyCreateWebhookOutput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook\").nullable(),\n events: z.array(z.string()).describe(\"Array of events to forward to the webhook\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created webhook in Raisely.\");\n\nexport const raiselyCreateWebhook = action(\"RAISELY_CREATE_WEBHOOK\", {\n slug: \"raisely-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to add a new webhook to your Raisely account. Use when you need to subscribe to event notifications. By default, webhooks trigger for events across all campaigns unless a specific campaignUuid is provided.\",\n input: RaiselyCreateWebhookInput,\n output: RaiselyCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC3F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAiB;EAAoB;EAAoB;EAAsB;EAAoB;EAAqB;EAAgB;EAAgB;EAAgB;EAAmB;EAAmB;EAAwB;EAAgC;EAAmB;EAAuB;EAAyB;EAAwB;EAAwB;EAAuB;EAAwB;EAA0B;EAAyB;EAAwB;EAAuB;EAAwB;EAA0B;EAAgB;EAAgB;EAAiB;CAAiB,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,4EAA4E;CACtzB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACxK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,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