@keystrokehq/raisely 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (471) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-profile-url.cjs.map +1 -1
  4. package/dist/actions/check-profile-url.d.cts +21 -3
  5. package/dist/actions/check-profile-url.d.cts.map +1 -1
  6. package/dist/actions/check-profile-url.d.mts +21 -3
  7. package/dist/actions/check-profile-url.d.mts.map +1 -1
  8. package/dist/actions/check-profile-url.mjs.map +1 -1
  9. package/dist/actions/check-user.cjs +1 -1
  10. package/dist/actions/check-user.cjs.map +1 -1
  11. package/dist/actions/check-user.d.cts +15 -3
  12. package/dist/actions/check-user.d.cts.map +1 -1
  13. package/dist/actions/check-user.d.mts +15 -3
  14. package/dist/actions/check-user.d.mts.map +1 -1
  15. package/dist/actions/check-user.mjs +1 -1
  16. package/dist/actions/check-user.mjs.map +1 -1
  17. package/dist/actions/create-campaign.cjs +6 -6
  18. package/dist/actions/create-campaign.cjs.map +1 -1
  19. package/dist/actions/create-campaign.d.cts +86 -3
  20. package/dist/actions/create-campaign.d.cts.map +1 -1
  21. package/dist/actions/create-campaign.d.mts +86 -3
  22. package/dist/actions/create-campaign.d.mts.map +1 -1
  23. package/dist/actions/create-campaign.mjs +6 -6
  24. package/dist/actions/create-campaign.mjs.map +1 -1
  25. package/dist/actions/create-donation.cjs +6 -6
  26. package/dist/actions/create-donation.cjs.map +1 -1
  27. package/dist/actions/create-donation.d.cts +216 -3
  28. package/dist/actions/create-donation.d.cts.map +1 -1
  29. package/dist/actions/create-donation.d.mts +216 -3
  30. package/dist/actions/create-donation.d.mts.map +1 -1
  31. package/dist/actions/create-donation.mjs +6 -6
  32. package/dist/actions/create-donation.mjs.map +1 -1
  33. package/dist/actions/create-exercise-log.cjs +1 -1
  34. package/dist/actions/create-exercise-log.cjs.map +1 -1
  35. package/dist/actions/create-exercise-log.d.cts +52 -3
  36. package/dist/actions/create-exercise-log.d.cts.map +1 -1
  37. package/dist/actions/create-exercise-log.d.mts +52 -3
  38. package/dist/actions/create-exercise-log.d.mts.map +1 -1
  39. package/dist/actions/create-exercise-log.mjs +1 -1
  40. package/dist/actions/create-exercise-log.mjs.map +1 -1
  41. package/dist/actions/create-interaction.cjs.map +1 -1
  42. package/dist/actions/create-interaction.d.cts +47 -3
  43. package/dist/actions/create-interaction.d.cts.map +1 -1
  44. package/dist/actions/create-interaction.d.mts +47 -3
  45. package/dist/actions/create-interaction.d.mts.map +1 -1
  46. package/dist/actions/create-interaction.mjs.map +1 -1
  47. package/dist/actions/create-post.cjs +4 -4
  48. package/dist/actions/create-post.cjs.map +1 -1
  49. package/dist/actions/create-post.d.cts +29 -3
  50. package/dist/actions/create-post.d.cts.map +1 -1
  51. package/dist/actions/create-post.d.mts +29 -3
  52. package/dist/actions/create-post.d.mts.map +1 -1
  53. package/dist/actions/create-post.mjs +4 -4
  54. package/dist/actions/create-post.mjs.map +1 -1
  55. package/dist/actions/create-promo-code.cjs +3 -3
  56. package/dist/actions/create-promo-code.cjs.map +1 -1
  57. package/dist/actions/create-promo-code.d.cts +33 -3
  58. package/dist/actions/create-promo-code.d.cts.map +1 -1
  59. package/dist/actions/create-promo-code.d.mts +33 -3
  60. package/dist/actions/create-promo-code.d.mts.map +1 -1
  61. package/dist/actions/create-promo-code.mjs +3 -3
  62. package/dist/actions/create-promo-code.mjs.map +1 -1
  63. package/dist/actions/create-webhook.cjs +2 -2
  64. package/dist/actions/create-webhook.cjs.map +1 -1
  65. package/dist/actions/create-webhook.d.cts +52 -3
  66. package/dist/actions/create-webhook.d.cts.map +1 -1
  67. package/dist/actions/create-webhook.d.mts +52 -3
  68. package/dist/actions/create-webhook.d.mts.map +1 -1
  69. package/dist/actions/create-webhook.mjs +2 -2
  70. package/dist/actions/create-webhook.mjs.map +1 -1
  71. package/dist/actions/delete-exercise-log.cjs.map +1 -1
  72. package/dist/actions/delete-exercise-log.d.cts +31 -3
  73. package/dist/actions/delete-exercise-log.d.cts.map +1 -1
  74. package/dist/actions/delete-exercise-log.d.mts +31 -3
  75. package/dist/actions/delete-exercise-log.d.mts.map +1 -1
  76. package/dist/actions/delete-exercise-log.mjs.map +1 -1
  77. package/dist/actions/delete-interaction.cjs.map +1 -1
  78. package/dist/actions/delete-interaction.d.cts +40 -3
  79. package/dist/actions/delete-interaction.d.cts.map +1 -1
  80. package/dist/actions/delete-interaction.d.mts +40 -3
  81. package/dist/actions/delete-interaction.d.mts.map +1 -1
  82. package/dist/actions/delete-interaction.mjs.map +1 -1
  83. package/dist/actions/delete-post.cjs.map +1 -1
  84. package/dist/actions/delete-post.d.cts +52 -3
  85. package/dist/actions/delete-post.d.cts.map +1 -1
  86. package/dist/actions/delete-post.d.mts +52 -3
  87. package/dist/actions/delete-post.d.mts.map +1 -1
  88. package/dist/actions/delete-post.mjs.map +1 -1
  89. package/dist/actions/delete-profile.cjs.map +1 -1
  90. package/dist/actions/delete-profile.d.cts +94 -3
  91. package/dist/actions/delete-profile.d.cts.map +1 -1
  92. package/dist/actions/delete-profile.d.mts +94 -3
  93. package/dist/actions/delete-profile.d.mts.map +1 -1
  94. package/dist/actions/delete-profile.mjs.map +1 -1
  95. package/dist/actions/delete-webhook.cjs +2 -2
  96. package/dist/actions/delete-webhook.cjs.map +1 -1
  97. package/dist/actions/delete-webhook.d.cts +16 -3
  98. package/dist/actions/delete-webhook.d.cts.map +1 -1
  99. package/dist/actions/delete-webhook.d.mts +16 -3
  100. package/dist/actions/delete-webhook.d.mts.map +1 -1
  101. package/dist/actions/delete-webhook.mjs +2 -2
  102. package/dist/actions/delete-webhook.mjs.map +1 -1
  103. package/dist/actions/get-api-docs.cjs +3 -3
  104. package/dist/actions/get-api-docs.cjs.map +1 -1
  105. package/dist/actions/get-api-docs.d.cts +21 -3
  106. package/dist/actions/get-api-docs.d.cts.map +1 -1
  107. package/dist/actions/get-api-docs.d.mts +21 -3
  108. package/dist/actions/get-api-docs.d.mts.map +1 -1
  109. package/dist/actions/get-api-docs.mjs +3 -3
  110. package/dist/actions/get-api-docs.mjs.map +1 -1
  111. package/dist/actions/get-authenticate.cjs.map +1 -1
  112. package/dist/actions/get-authenticate.d.cts +47 -3
  113. package/dist/actions/get-authenticate.d.cts.map +1 -1
  114. package/dist/actions/get-authenticate.d.mts +47 -3
  115. package/dist/actions/get-authenticate.d.mts.map +1 -1
  116. package/dist/actions/get-authenticate.mjs.map +1 -1
  117. package/dist/actions/get-available-events.cjs +2 -2
  118. package/dist/actions/get-available-events.cjs.map +1 -1
  119. package/dist/actions/get-available-events.d.cts +28 -3
  120. package/dist/actions/get-available-events.d.cts.map +1 -1
  121. package/dist/actions/get-available-events.d.mts +28 -3
  122. package/dist/actions/get-available-events.d.mts.map +1 -1
  123. package/dist/actions/get-available-events.mjs +2 -2
  124. package/dist/actions/get-available-events.mjs.map +1 -1
  125. package/dist/actions/get-campaign-profile.cjs.map +1 -1
  126. package/dist/actions/get-campaign-profile.d.cts +120 -3
  127. package/dist/actions/get-campaign-profile.d.cts.map +1 -1
  128. package/dist/actions/get-campaign-profile.d.mts +120 -3
  129. package/dist/actions/get-campaign-profile.d.mts.map +1 -1
  130. package/dist/actions/get-campaign-profile.mjs.map +1 -1
  131. package/dist/actions/get-campaign.cjs +7 -7
  132. package/dist/actions/get-campaign.cjs.map +1 -1
  133. package/dist/actions/get-campaign.d.cts +88 -3
  134. package/dist/actions/get-campaign.d.cts.map +1 -1
  135. package/dist/actions/get-campaign.d.mts +88 -3
  136. package/dist/actions/get-campaign.d.mts.map +1 -1
  137. package/dist/actions/get-campaign.mjs +7 -7
  138. package/dist/actions/get-campaign.mjs.map +1 -1
  139. package/dist/actions/get-campaigns-profiles.cjs +10 -10
  140. package/dist/actions/get-campaigns-profiles.cjs.map +1 -1
  141. package/dist/actions/get-campaigns-profiles.d.cts +53 -3
  142. package/dist/actions/get-campaigns-profiles.d.cts.map +1 -1
  143. package/dist/actions/get-campaigns-profiles.d.mts +53 -3
  144. package/dist/actions/get-campaigns-profiles.d.mts.map +1 -1
  145. package/dist/actions/get-campaigns-profiles.mjs +10 -10
  146. package/dist/actions/get-campaigns-profiles.mjs.map +1 -1
  147. package/dist/actions/get-campaigns.cjs +4 -4
  148. package/dist/actions/get-campaigns.cjs.map +1 -1
  149. package/dist/actions/get-campaigns.d.cts +52 -3
  150. package/dist/actions/get-campaigns.d.cts.map +1 -1
  151. package/dist/actions/get-campaigns.d.mts +52 -3
  152. package/dist/actions/get-campaigns.d.mts.map +1 -1
  153. package/dist/actions/get-campaigns.mjs +4 -4
  154. package/dist/actions/get-campaigns.mjs.map +1 -1
  155. package/dist/actions/get-exercise-log.cjs +1 -1
  156. package/dist/actions/get-exercise-log.cjs.map +1 -1
  157. package/dist/actions/get-exercise-log.d.cts +69 -3
  158. package/dist/actions/get-exercise-log.d.cts.map +1 -1
  159. package/dist/actions/get-exercise-log.d.mts +69 -3
  160. package/dist/actions/get-exercise-log.d.mts.map +1 -1
  161. package/dist/actions/get-exercise-log.mjs +1 -1
  162. package/dist/actions/get-exercise-log.mjs.map +1 -1
  163. package/dist/actions/get-interaction.cjs.map +1 -1
  164. package/dist/actions/get-interaction.d.cts +86 -3
  165. package/dist/actions/get-interaction.d.cts.map +1 -1
  166. package/dist/actions/get-interaction.d.mts +86 -3
  167. package/dist/actions/get-interaction.d.mts.map +1 -1
  168. package/dist/actions/get-interaction.mjs.map +1 -1
  169. package/dist/actions/get-post.cjs +4 -4
  170. package/dist/actions/get-post.cjs.map +1 -1
  171. package/dist/actions/get-post.d.cts +50 -3
  172. package/dist/actions/get-post.d.cts.map +1 -1
  173. package/dist/actions/get-post.d.mts +50 -3
  174. package/dist/actions/get-post.d.mts.map +1 -1
  175. package/dist/actions/get-post.mjs +4 -4
  176. package/dist/actions/get-post.mjs.map +1 -1
  177. package/dist/actions/get-profile.cjs.map +1 -1
  178. package/dist/actions/get-profile.d.cts +103 -3
  179. package/dist/actions/get-profile.d.cts.map +1 -1
  180. package/dist/actions/get-profile.d.mts +103 -3
  181. package/dist/actions/get-profile.d.mts.map +1 -1
  182. package/dist/actions/get-profile.mjs.map +1 -1
  183. package/dist/actions/get-profiles.cjs +4 -4
  184. package/dist/actions/get-profiles.cjs.map +1 -1
  185. package/dist/actions/get-profiles.d.cts +90 -3
  186. package/dist/actions/get-profiles.d.cts.map +1 -1
  187. package/dist/actions/get-profiles.d.mts +90 -3
  188. package/dist/actions/get-profiles.d.mts.map +1 -1
  189. package/dist/actions/get-profiles.mjs +4 -4
  190. package/dist/actions/get-profiles.mjs.map +1 -1
  191. package/dist/actions/get-user-profiles.cjs +8 -8
  192. package/dist/actions/get-user-profiles.cjs.map +1 -1
  193. package/dist/actions/get-user-profiles.d.cts +35 -3
  194. package/dist/actions/get-user-profiles.d.cts.map +1 -1
  195. package/dist/actions/get-user-profiles.d.mts +35 -3
  196. package/dist/actions/get-user-profiles.d.mts.map +1 -1
  197. package/dist/actions/get-user-profiles.mjs +8 -8
  198. package/dist/actions/get-user-profiles.mjs.map +1 -1
  199. package/dist/actions/get-user.cjs +1 -1
  200. package/dist/actions/get-user.cjs.map +1 -1
  201. package/dist/actions/get-user.d.cts +56 -3
  202. package/dist/actions/get-user.d.cts.map +1 -1
  203. package/dist/actions/get-user.d.mts +56 -3
  204. package/dist/actions/get-user.d.mts.map +1 -1
  205. package/dist/actions/get-user.mjs +1 -1
  206. package/dist/actions/get-user.mjs.map +1 -1
  207. package/dist/actions/get-users.cjs +7 -7
  208. package/dist/actions/get-users.cjs.map +1 -1
  209. package/dist/actions/get-users.d.cts +58 -3
  210. package/dist/actions/get-users.d.cts.map +1 -1
  211. package/dist/actions/get-users.d.mts +58 -3
  212. package/dist/actions/get-users.d.mts.map +1 -1
  213. package/dist/actions/get-users.mjs +7 -7
  214. package/dist/actions/get-users.mjs.map +1 -1
  215. package/dist/actions/list-campaign-donations.cjs +8 -8
  216. package/dist/actions/list-campaign-donations.cjs.map +1 -1
  217. package/dist/actions/list-campaign-donations.d.cts +138 -3
  218. package/dist/actions/list-campaign-donations.d.cts.map +1 -1
  219. package/dist/actions/list-campaign-donations.d.mts +138 -3
  220. package/dist/actions/list-campaign-donations.d.mts.map +1 -1
  221. package/dist/actions/list-campaign-donations.mjs +8 -8
  222. package/dist/actions/list-campaign-donations.mjs.map +1 -1
  223. package/dist/actions/list-campaign-products.cjs +9 -9
  224. package/dist/actions/list-campaign-products.cjs.map +1 -1
  225. package/dist/actions/list-campaign-products.d.cts +33 -3
  226. package/dist/actions/list-campaign-products.d.cts.map +1 -1
  227. package/dist/actions/list-campaign-products.d.mts +33 -3
  228. package/dist/actions/list-campaign-products.d.mts.map +1 -1
  229. package/dist/actions/list-campaign-products.mjs +9 -9
  230. package/dist/actions/list-campaign-products.mjs.map +1 -1
  231. package/dist/actions/list-campaign-subscriptions.cjs +15 -15
  232. package/dist/actions/list-campaign-subscriptions.cjs.map +1 -1
  233. package/dist/actions/list-campaign-subscriptions.d.cts +103 -3
  234. package/dist/actions/list-campaign-subscriptions.d.cts.map +1 -1
  235. package/dist/actions/list-campaign-subscriptions.d.mts +103 -3
  236. package/dist/actions/list-campaign-subscriptions.d.mts.map +1 -1
  237. package/dist/actions/list-campaign-subscriptions.mjs +15 -15
  238. package/dist/actions/list-campaign-subscriptions.mjs.map +1 -1
  239. package/dist/actions/list-donations.cjs +8 -8
  240. package/dist/actions/list-donations.cjs.map +1 -1
  241. package/dist/actions/list-donations.d.cts +138 -3
  242. package/dist/actions/list-donations.d.cts.map +1 -1
  243. package/dist/actions/list-donations.d.mts +138 -3
  244. package/dist/actions/list-donations.d.mts.map +1 -1
  245. package/dist/actions/list-donations.mjs +8 -8
  246. package/dist/actions/list-donations.mjs.map +1 -1
  247. package/dist/actions/list-exercise-logs.cjs +5 -5
  248. package/dist/actions/list-exercise-logs.cjs.map +1 -1
  249. package/dist/actions/list-exercise-logs.d.cts +53 -3
  250. package/dist/actions/list-exercise-logs.d.cts.map +1 -1
  251. package/dist/actions/list-exercise-logs.d.mts +53 -3
  252. package/dist/actions/list-exercise-logs.d.mts.map +1 -1
  253. package/dist/actions/list-exercise-logs.mjs +5 -5
  254. package/dist/actions/list-exercise-logs.mjs.map +1 -1
  255. package/dist/actions/list-interaction-categories.cjs +4 -4
  256. package/dist/actions/list-interaction-categories.cjs.map +1 -1
  257. package/dist/actions/list-interaction-categories.d.cts +46 -3
  258. package/dist/actions/list-interaction-categories.d.cts.map +1 -1
  259. package/dist/actions/list-interaction-categories.d.mts +46 -3
  260. package/dist/actions/list-interaction-categories.d.mts.map +1 -1
  261. package/dist/actions/list-interaction-categories.mjs +4 -4
  262. package/dist/actions/list-interaction-categories.mjs.map +1 -1
  263. package/dist/actions/list-interactions.cjs +3 -3
  264. package/dist/actions/list-interactions.cjs.map +1 -1
  265. package/dist/actions/list-interactions.d.cts +63 -3
  266. package/dist/actions/list-interactions.d.cts.map +1 -1
  267. package/dist/actions/list-interactions.d.mts +63 -3
  268. package/dist/actions/list-interactions.d.mts.map +1 -1
  269. package/dist/actions/list-interactions.mjs +3 -3
  270. package/dist/actions/list-interactions.mjs.map +1 -1
  271. package/dist/actions/list-orders.cjs +2 -2
  272. package/dist/actions/list-orders.cjs.map +1 -1
  273. package/dist/actions/list-orders.d.cts +51 -3
  274. package/dist/actions/list-orders.d.cts.map +1 -1
  275. package/dist/actions/list-orders.d.mts +51 -3
  276. package/dist/actions/list-orders.d.mts.map +1 -1
  277. package/dist/actions/list-orders.mjs +2 -2
  278. package/dist/actions/list-orders.mjs.map +1 -1
  279. package/dist/actions/list-posts.cjs +3 -3
  280. package/dist/actions/list-posts.cjs.map +1 -1
  281. package/dist/actions/list-posts.d.cts +59 -3
  282. package/dist/actions/list-posts.d.cts.map +1 -1
  283. package/dist/actions/list-posts.d.mts +59 -3
  284. package/dist/actions/list-posts.d.mts.map +1 -1
  285. package/dist/actions/list-posts.mjs +3 -3
  286. package/dist/actions/list-posts.mjs.map +1 -1
  287. package/dist/actions/list-profile-donations.cjs +8 -8
  288. package/dist/actions/list-profile-donations.cjs.map +1 -1
  289. package/dist/actions/list-profile-donations.d.cts +143 -3
  290. package/dist/actions/list-profile-donations.d.cts.map +1 -1
  291. package/dist/actions/list-profile-donations.d.mts +143 -3
  292. package/dist/actions/list-profile-donations.d.mts.map +1 -1
  293. package/dist/actions/list-profile-donations.mjs +8 -8
  294. package/dist/actions/list-profile-donations.mjs.map +1 -1
  295. package/dist/actions/list-profile-members.cjs +3 -3
  296. package/dist/actions/list-profile-members.cjs.map +1 -1
  297. package/dist/actions/list-profile-members.d.cts +78 -3
  298. package/dist/actions/list-profile-members.d.cts.map +1 -1
  299. package/dist/actions/list-profile-members.d.mts +78 -3
  300. package/dist/actions/list-profile-members.d.mts.map +1 -1
  301. package/dist/actions/list-profile-members.mjs +3 -3
  302. package/dist/actions/list-profile-members.mjs.map +1 -1
  303. package/dist/actions/list-profile-posts.cjs +7 -7
  304. package/dist/actions/list-profile-posts.cjs.map +1 -1
  305. package/dist/actions/list-profile-posts.d.cts +60 -3
  306. package/dist/actions/list-profile-posts.d.cts.map +1 -1
  307. package/dist/actions/list-profile-posts.d.mts +60 -3
  308. package/dist/actions/list-profile-posts.d.mts.map +1 -1
  309. package/dist/actions/list-profile-posts.mjs +7 -7
  310. package/dist/actions/list-profile-posts.mjs.map +1 -1
  311. package/dist/actions/list-promo-codes.cjs +3 -3
  312. package/dist/actions/list-promo-codes.cjs.map +1 -1
  313. package/dist/actions/list-promo-codes.d.cts +28 -3
  314. package/dist/actions/list-promo-codes.d.cts.map +1 -1
  315. package/dist/actions/list-promo-codes.d.mts +28 -3
  316. package/dist/actions/list-promo-codes.d.mts.map +1 -1
  317. package/dist/actions/list-promo-codes.mjs +3 -3
  318. package/dist/actions/list-promo-codes.mjs.map +1 -1
  319. package/dist/actions/list-segments.cjs +4 -4
  320. package/dist/actions/list-segments.cjs.map +1 -1
  321. package/dist/actions/list-segments.d.cts +47 -3
  322. package/dist/actions/list-segments.d.cts.map +1 -1
  323. package/dist/actions/list-segments.d.mts +47 -3
  324. package/dist/actions/list-segments.d.mts.map +1 -1
  325. package/dist/actions/list-segments.mjs +4 -4
  326. package/dist/actions/list-segments.mjs.map +1 -1
  327. package/dist/actions/list-subscriptions2.cjs +14 -14
  328. package/dist/actions/list-subscriptions2.cjs.map +1 -1
  329. package/dist/actions/list-subscriptions2.d.cts +105 -3
  330. package/dist/actions/list-subscriptions2.d.cts.map +1 -1
  331. package/dist/actions/list-subscriptions2.d.mts +105 -3
  332. package/dist/actions/list-subscriptions2.d.mts.map +1 -1
  333. package/dist/actions/list-subscriptions2.mjs +14 -14
  334. package/dist/actions/list-subscriptions2.mjs.map +1 -1
  335. package/dist/actions/list-tags.cjs +4 -4
  336. package/dist/actions/list-tags.cjs.map +1 -1
  337. package/dist/actions/list-tags.d.cts +44 -3
  338. package/dist/actions/list-tags.d.cts.map +1 -1
  339. package/dist/actions/list-tags.d.mts +44 -3
  340. package/dist/actions/list-tags.d.mts.map +1 -1
  341. package/dist/actions/list-tags.mjs +4 -4
  342. package/dist/actions/list-tags.mjs.map +1 -1
  343. package/dist/actions/list-user-donations.cjs +9 -9
  344. package/dist/actions/list-user-donations.cjs.map +1 -1
  345. package/dist/actions/list-user-donations.d.cts +143 -3
  346. package/dist/actions/list-user-donations.d.cts.map +1 -1
  347. package/dist/actions/list-user-donations.d.mts +143 -3
  348. package/dist/actions/list-user-donations.d.mts.map +1 -1
  349. package/dist/actions/list-user-donations.mjs +9 -9
  350. package/dist/actions/list-user-donations.mjs.map +1 -1
  351. package/dist/actions/list-user-interactions.cjs +3 -3
  352. package/dist/actions/list-user-interactions.cjs.map +1 -1
  353. package/dist/actions/list-user-interactions.d.cts +100 -3
  354. package/dist/actions/list-user-interactions.d.cts.map +1 -1
  355. package/dist/actions/list-user-interactions.d.mts +100 -3
  356. package/dist/actions/list-user-interactions.d.mts.map +1 -1
  357. package/dist/actions/list-user-interactions.mjs +3 -3
  358. package/dist/actions/list-user-interactions.mjs.map +1 -1
  359. package/dist/actions/list-user-subscriptions.cjs +15 -15
  360. package/dist/actions/list-user-subscriptions.cjs.map +1 -1
  361. package/dist/actions/list-user-subscriptions.d.cts +106 -3
  362. package/dist/actions/list-user-subscriptions.d.cts.map +1 -1
  363. package/dist/actions/list-user-subscriptions.d.mts +106 -3
  364. package/dist/actions/list-user-subscriptions.d.mts.map +1 -1
  365. package/dist/actions/list-user-subscriptions.mjs +15 -15
  366. package/dist/actions/list-user-subscriptions.mjs.map +1 -1
  367. package/dist/actions/list-webhooks.cjs +2 -2
  368. package/dist/actions/list-webhooks.cjs.map +1 -1
  369. package/dist/actions/list-webhooks.d.cts +39 -3
  370. package/dist/actions/list-webhooks.d.cts.map +1 -1
  371. package/dist/actions/list-webhooks.d.mts +39 -3
  372. package/dist/actions/list-webhooks.d.mts.map +1 -1
  373. package/dist/actions/list-webhooks.mjs +2 -2
  374. package/dist/actions/list-webhooks.mjs.map +1 -1
  375. package/dist/actions/move-donation.cjs +7 -7
  376. package/dist/actions/move-donation.cjs.map +1 -1
  377. package/dist/actions/move-donation.d.cts +113 -3
  378. package/dist/actions/move-donation.d.cts.map +1 -1
  379. package/dist/actions/move-donation.d.mts +113 -3
  380. package/dist/actions/move-donation.d.mts.map +1 -1
  381. package/dist/actions/move-donation.mjs +7 -7
  382. package/dist/actions/move-donation.mjs.map +1 -1
  383. package/dist/actions/post-logout.cjs +1 -1
  384. package/dist/actions/post-logout.cjs.map +1 -1
  385. package/dist/actions/post-logout.d.cts +5 -3
  386. package/dist/actions/post-logout.d.cts.map +1 -1
  387. package/dist/actions/post-logout.d.mts +5 -3
  388. package/dist/actions/post-logout.d.mts.map +1 -1
  389. package/dist/actions/post-logout.mjs +1 -1
  390. package/dist/actions/post-logout.mjs.map +1 -1
  391. package/dist/actions/post-users.cjs +4 -4
  392. package/dist/actions/post-users.cjs.map +1 -1
  393. package/dist/actions/post-users.d.cts +60 -3
  394. package/dist/actions/post-users.d.cts.map +1 -1
  395. package/dist/actions/post-users.d.mts +60 -3
  396. package/dist/actions/post-users.d.mts.map +1 -1
  397. package/dist/actions/post-users.mjs +4 -4
  398. package/dist/actions/post-users.mjs.map +1 -1
  399. package/dist/actions/update-campaign-config.cjs.map +1 -1
  400. package/dist/actions/update-campaign-config.d.cts +15 -3
  401. package/dist/actions/update-campaign-config.d.cts.map +1 -1
  402. package/dist/actions/update-campaign-config.d.mts +15 -3
  403. package/dist/actions/update-campaign-config.d.mts.map +1 -1
  404. package/dist/actions/update-campaign-config.mjs.map +1 -1
  405. package/dist/actions/update-campaign.cjs.map +1 -1
  406. package/dist/actions/update-campaign.d.cts +73 -3
  407. package/dist/actions/update-campaign.d.cts.map +1 -1
  408. package/dist/actions/update-campaign.d.mts +73 -3
  409. package/dist/actions/update-campaign.d.mts.map +1 -1
  410. package/dist/actions/update-campaign.mjs.map +1 -1
  411. package/dist/actions/update-exercise-log.cjs +2 -2
  412. package/dist/actions/update-exercise-log.cjs.map +1 -1
  413. package/dist/actions/update-exercise-log.d.cts +54 -3
  414. package/dist/actions/update-exercise-log.d.cts.map +1 -1
  415. package/dist/actions/update-exercise-log.d.mts +54 -3
  416. package/dist/actions/update-exercise-log.d.mts.map +1 -1
  417. package/dist/actions/update-exercise-log.mjs +2 -2
  418. package/dist/actions/update-exercise-log.mjs.map +1 -1
  419. package/dist/actions/update-post.cjs +1 -1
  420. package/dist/actions/update-post.cjs.map +1 -1
  421. package/dist/actions/update-post.d.cts +54 -3
  422. package/dist/actions/update-post.d.cts.map +1 -1
  423. package/dist/actions/update-post.d.mts +54 -3
  424. package/dist/actions/update-post.d.mts.map +1 -1
  425. package/dist/actions/update-post.mjs +1 -1
  426. package/dist/actions/update-post.mjs.map +1 -1
  427. package/dist/actions/update-profile.cjs +1 -1
  428. package/dist/actions/update-profile.cjs.map +1 -1
  429. package/dist/actions/update-profile.d.cts +108 -3
  430. package/dist/actions/update-profile.d.cts.map +1 -1
  431. package/dist/actions/update-profile.d.mts +108 -3
  432. package/dist/actions/update-profile.d.mts.map +1 -1
  433. package/dist/actions/update-profile.mjs +1 -1
  434. package/dist/actions/update-profile.mjs.map +1 -1
  435. package/dist/actions/update-user.cjs +1 -1
  436. package/dist/actions/update-user.cjs.map +1 -1
  437. package/dist/actions/update-user.d.cts +89 -3
  438. package/dist/actions/update-user.d.cts.map +1 -1
  439. package/dist/actions/update-user.d.mts +89 -3
  440. package/dist/actions/update-user.d.mts.map +1 -1
  441. package/dist/actions/update-user.mjs +1 -1
  442. package/dist/actions/update-user.mjs.map +1 -1
  443. package/dist/actions/update-webhook.cjs +1 -1
  444. package/dist/actions/update-webhook.cjs.map +1 -1
  445. package/dist/actions/update-webhook.d.cts +28 -3
  446. package/dist/actions/update-webhook.d.cts.map +1 -1
  447. package/dist/actions/update-webhook.d.mts +28 -3
  448. package/dist/actions/update-webhook.d.mts.map +1 -1
  449. package/dist/actions/update-webhook.mjs +1 -1
  450. package/dist/actions/update-webhook.mjs.map +1 -1
  451. package/dist/actions/upload-campaign-media.cjs +1 -1
  452. package/dist/actions/upload-campaign-media.cjs.map +1 -1
  453. package/dist/actions/upload-campaign-media.d.cts +24 -3
  454. package/dist/actions/upload-campaign-media.d.cts.map +1 -1
  455. package/dist/actions/upload-campaign-media.d.mts +24 -3
  456. package/dist/actions/upload-campaign-media.d.mts.map +1 -1
  457. package/dist/actions/upload-campaign-media.mjs +1 -1
  458. package/dist/actions/upload-campaign-media.mjs.map +1 -1
  459. package/dist/actions/upsert-user.cjs.map +1 -1
  460. package/dist/actions/upsert-user.d.cts +97 -3
  461. package/dist/actions/upsert-user.d.cts.map +1 -1
  462. package/dist/actions/upsert-user.d.mts +97 -3
  463. package/dist/actions/upsert-user.d.mts.map +1 -1
  464. package/dist/actions/upsert-user.mjs.map +1 -1
  465. package/dist/catalog.cjs +7 -1
  466. package/dist/catalog.cjs.map +1 -1
  467. package/dist/catalog.d.cts +8 -0
  468. package/dist/catalog.d.mts +8 -0
  469. package/dist/catalog.mjs +7 -1
  470. package/dist/catalog.mjs.map +1 -1
  471. package/package.json +2 -2
@@ -1 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,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,CA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,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,SAAS,6DAA6D;AAEzE,MAAa,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}).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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D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,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,SAAS,6DAA6D;AAEzE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,53 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-interaction.d.ts
4
- declare const RaiselyCreateInteractionInput: z.ZodTypeAny;
5
- declare const RaiselyCreateInteractionOutput: z.ZodTypeAny;
6
- declare const raiselyCreateInteraction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyCreateInteractionInput: z.ZodObject<{
5
+ detail: z.ZodOptional<z.ZodObject<{
6
+ pinned: z.ZodOptional<z.ZodBoolean>;
7
+ public: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ comment: z.ZodOptional<z.ZodString>;
9
+ private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ }, z.core.$strip>>;
11
+ private: z.ZodOptional<z.ZodBoolean>;
12
+ userUuid: z.ZodOptional<z.ZodString>;
13
+ categoryPath: z.ZodOptional<z.ZodString>;
14
+ categoryUuid: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ declare const RaiselyCreateInteractionOutput: z.ZodObject<{
17
+ diff: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
+ context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23
+ category: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$strip>>>;
28
+ userUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ immutable: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31
+ tokenUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ recordType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ recordUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ categoryUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ internalOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ organisationUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ }, z.core.$strip>;
39
+ declare const raiselyCreateInteraction: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ detail?: {
41
+ pinned?: boolean | undefined;
42
+ public?: Record<string, unknown> | undefined;
43
+ comment?: string | undefined;
44
+ private?: Record<string, unknown> | undefined;
45
+ } | undefined;
46
+ private?: boolean | undefined;
47
+ userUuid?: string | undefined;
48
+ categoryPath?: string | undefined;
49
+ categoryUuid?: string | undefined;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
51
  //#endregion
8
52
  export { raiselyCreateInteraction };
9
53
  //# sourceMappingURL=create-interaction.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-interaction.d.cts","names":[],"sources":["../../src/actions/create-interaction.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAW0B;AAAA,cAM3D,8BAAA,EAAgC,CAAA,CAAE,UAkB2B;AAAA,cAE7D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-interaction.d.cts","names":[],"sources":["../../src/actions/create-interaction.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,gCAAwB,wBAAA;;;aAMnC,MAAA;;cAAA,MAAA;EAAA"}
@@ -1,9 +1,53 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-interaction.d.ts
4
- declare const RaiselyCreateInteractionInput: z.ZodTypeAny;
5
- declare const RaiselyCreateInteractionOutput: z.ZodTypeAny;
6
- declare const raiselyCreateInteraction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyCreateInteractionInput: z.ZodObject<{
5
+ detail: z.ZodOptional<z.ZodObject<{
6
+ pinned: z.ZodOptional<z.ZodBoolean>;
7
+ public: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ comment: z.ZodOptional<z.ZodString>;
9
+ private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ }, z.core.$strip>>;
11
+ private: z.ZodOptional<z.ZodBoolean>;
12
+ userUuid: z.ZodOptional<z.ZodString>;
13
+ categoryPath: z.ZodOptional<z.ZodString>;
14
+ categoryUuid: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ declare const RaiselyCreateInteractionOutput: z.ZodObject<{
17
+ diff: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
+ context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23
+ category: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$strip>>>;
28
+ userUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ immutable: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31
+ tokenUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ recordType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ recordUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ categoryUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ internalOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ organisationUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ }, z.core.$strip>;
39
+ declare const raiselyCreateInteraction: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ detail?: {
41
+ pinned?: boolean | undefined;
42
+ public?: Record<string, unknown> | undefined;
43
+ comment?: string | undefined;
44
+ private?: Record<string, unknown> | undefined;
45
+ } | undefined;
46
+ private?: boolean | undefined;
47
+ userUuid?: string | undefined;
48
+ categoryPath?: string | undefined;
49
+ categoryUuid?: string | undefined;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
51
  //#endregion
8
52
  export { raiselyCreateInteraction };
9
53
  //# sourceMappingURL=create-interaction.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-interaction.d.mts","names":[],"sources":["../../src/actions/create-interaction.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAW0B;AAAA,cAM3D,8BAAA,EAAgC,CAAA,CAAE,UAkB2B;AAAA,cAE7D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-interaction.d.mts","names":[],"sources":["../../src/actions/create-interaction.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,gCAAwB,wBAAA;;;aAMnC,MAAA;;cAAA,MAAA;EAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,gCAA8C,EAAE,OAAO;CAClE,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,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SA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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,SAAS,6DAOF;AACV,CAAC"}
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,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACzJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,qDAAqD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AsD,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,SAAS,6DAOF;AACV,CAAC"}
@@ -10,12 +10,12 @@ const RaiselyCreatePostInput = zod.z.object({
10
10
  profileUuid: zod.z.string().describe("UUID of the profile that the post should be associated with.")
11
11
  }).describe("Request parameters for creating a new post in Raisely.");
12
12
  const RaiselyCreatePostOutput = zod.z.object({
13
- body: zod.z.string().describe("Content/body of the post"),
13
+ body: zod.z.string().describe("Content/body of the post").nullable(),
14
14
  date: zod.z.string().describe("Publication date of the post in ISO 8601 format").nullable().optional(),
15
- path: zod.z.string().describe("URL path slug of the post"),
16
- uuid: zod.z.string().describe("Unique identifier of the post"),
15
+ path: zod.z.string().describe("URL path slug of the post").nullable(),
16
+ uuid: zod.z.string().describe("Unique identifier of the post").nullable(),
17
17
  title: zod.z.string().describe("Title of the post").nullable().optional(),
18
- photoUrl: zod.z.string().describe("URL to the post's main image"),
18
+ photoUrl: zod.z.string().describe("URL to the post's main image").nullable(),
19
19
  userUuid: zod.z.string().describe("UUID of the user who created the post").nullable().optional(),
20
20
  createdAt: zod.z.string().describe("ISO 8601 timestamp when the post was created").nullable().optional(),
21
21
  updatedAt: zod.z.string().describe("ISO 8601 timestamp when the post was last updated").nullable().optional(),
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n body: z.string().describe(\"Content/body of the post\"),\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\"),\n uuid: z.string().describe(\"Unique identifier of the post\"),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\"),\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,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,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}).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,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-post.d.ts
4
- declare const RaiselyCreatePostInput: z.ZodTypeAny;
5
- declare const RaiselyCreatePostOutput: z.ZodTypeAny;
6
- declare const raiselyCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyCreatePostInput: z.ZodObject<{
5
+ body: z.ZodString;
6
+ date: z.ZodOptional<z.ZodString>;
7
+ path: z.ZodString;
8
+ title: z.ZodOptional<z.ZodString>;
9
+ photoUrl: z.ZodString;
10
+ profileUuid: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const RaiselyCreatePostOutput: z.ZodObject<{
13
+ body: z.ZodNullable<z.ZodString>;
14
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ path: z.ZodNullable<z.ZodString>;
16
+ uuid: z.ZodNullable<z.ZodString>;
17
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ photoUrl: z.ZodNullable<z.ZodString>;
19
+ userUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ profileUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>;
25
+ declare const raiselyCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ body: string;
27
+ path: string;
28
+ photoUrl: string;
29
+ profileUuid: string;
30
+ date?: string | undefined;
31
+ title?: string | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { raiselyCreatePost };
9
35
  //# sourceMappingURL=create-post.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.d.cts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAO8B;AAAA,cACxD,uBAAA,EAAyB,CAAA,CAAE,UAY0B;AAAA,cAErD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-post.d.cts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-post.d.ts
4
- declare const RaiselyCreatePostInput: z.ZodTypeAny;
5
- declare const RaiselyCreatePostOutput: z.ZodTypeAny;
6
- declare const raiselyCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyCreatePostInput: z.ZodObject<{
5
+ body: z.ZodString;
6
+ date: z.ZodOptional<z.ZodString>;
7
+ path: z.ZodString;
8
+ title: z.ZodOptional<z.ZodString>;
9
+ photoUrl: z.ZodString;
10
+ profileUuid: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const RaiselyCreatePostOutput: z.ZodObject<{
13
+ body: z.ZodNullable<z.ZodString>;
14
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ path: z.ZodNullable<z.ZodString>;
16
+ uuid: z.ZodNullable<z.ZodString>;
17
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ photoUrl: z.ZodNullable<z.ZodString>;
19
+ userUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ profileUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>;
25
+ declare const raiselyCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ body: string;
27
+ path: string;
28
+ photoUrl: string;
29
+ profileUuid: string;
30
+ date?: string | undefined;
31
+ title?: string | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { raiselyCreatePost };
9
35
  //# sourceMappingURL=create-post.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.d.mts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAO8B;AAAA,cACxD,uBAAA,EAAyB,CAAA,CAAE,UAY0B;AAAA,cAErD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-post.d.mts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcvB,iBAAA,gCAAiB,wBAAA"}
@@ -13,12 +13,12 @@ const raiselyCreatePost = action("RAISELY_CREATE_POST", {
13
13
  profileUuid: z.string().describe("UUID of the profile that the post should be associated with.")
14
14
  }).describe("Request parameters for creating a new post in Raisely."),
15
15
  output: z.object({
16
- body: z.string().describe("Content/body of the post"),
16
+ body: z.string().describe("Content/body of the post").nullable(),
17
17
  date: z.string().describe("Publication date of the post in ISO 8601 format").nullable().optional(),
18
- path: z.string().describe("URL path slug of the post"),
19
- uuid: z.string().describe("Unique identifier of the post"),
18
+ path: z.string().describe("URL path slug of the post").nullable(),
19
+ uuid: z.string().describe("Unique identifier of the post").nullable(),
20
20
  title: z.string().describe("Title of the post").nullable().optional(),
21
- photoUrl: z.string().describe("URL to the post's main image"),
21
+ photoUrl: z.string().describe("URL to the post's main image").nullable(),
22
22
  userUuid: z.string().describe("UUID of the user who created the post").nullable().optional(),
23
23
  createdAt: z.string().describe("ISO 8601 timestamp when the post was created").nullable().optional(),
24
24
  updatedAt: z.string().describe("ISO 8601 timestamp when the post was last updated").nullable().optional(),
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n body: z.string().describe(\"Content/body of the post\"),\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\"),\n uuid: z.string().describe(\"Unique identifier of the post\"),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\"),\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,MAA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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}).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,OAA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AA8C,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"}
@@ -12,14 +12,14 @@ const RaiselyCreatePromoCodeInput = zod.z.object({
12
12
  discountAmount: zod.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).")
13
13
  }).describe("Request parameters for creating a new promo code in Raisely.");
14
14
  const RaiselyCreatePromoCodeOutput = zod.z.object({
15
- code: zod.z.string().describe("The promo code string."),
15
+ code: zod.z.string().describe("The promo code string.").nullable(),
16
16
  uses: zod.z.number().int().describe("Number of times this promo code has been used.").nullable().optional(),
17
17
  uuid: zod.z.string().describe("Unique identifier of the promo code.").nullable().optional(),
18
18
  endDate: zod.z.string().describe("ISO 8601 timestamp when the promo code expires.").nullable().optional(),
19
19
  maxUses: zod.z.number().int().describe("Maximum number of times this promo code can be used.").nullable().optional(),
20
20
  startDate: zod.z.string().describe("ISO 8601 timestamp when the promo code becomes valid.").nullable().optional(),
21
- discountType: zod.z.string().describe("Type of discount (PERCENTAGE or FIXED)."),
22
- discountAmount: zod.z.number().int().describe("Discount amount (as integer percentage or cents).")
21
+ discountType: zod.z.string().describe("Type of discount (PERCENTAGE or FIXED).").nullable(),
22
+ discountAmount: zod.z.number().int().describe("Discount amount (as integer percentage or cents).").nullable()
23
23
  }).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",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n code: z.string().describe(\"The promo code string.\"),\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).\"),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\"),\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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AC,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;CAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;AAC/F,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}).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,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5
- declare const RaiselyCreatePromoCodeOutput: z.ZodTypeAny;
6
- declare const raiselyCreatePromoCode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyCreatePromoCodeInput: z.ZodObject<{
5
+ code: z.ZodString;
6
+ uses: z.ZodOptional<z.ZodNumber>;
7
+ endDate: z.ZodOptional<z.ZodString>;
8
+ maxUses: z.ZodOptional<z.ZodNumber>;
9
+ startDate: z.ZodOptional<z.ZodString>;
10
+ campaignUuid: z.ZodString;
11
+ discountType: z.ZodEnum<{
12
+ PERCENTAGE: "PERCENTAGE";
13
+ FIXED: "FIXED";
14
+ }>;
15
+ discountAmount: z.ZodNumber;
16
+ }, z.core.$strip>;
17
+ declare const RaiselyCreatePromoCodeOutput: z.ZodObject<{
18
+ code: z.ZodNullable<z.ZodString>;
19
+ uses: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ maxUses: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ discountType: z.ZodNullable<z.ZodString>;
25
+ discountAmount: z.ZodNullable<z.ZodNumber>;
26
+ }, z.core.$strip>;
27
+ declare const raiselyCreatePromoCode: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ code: string;
29
+ campaignUuid: string;
30
+ discountType: "PERCENTAGE" | "FIXED";
31
+ discountAmount: number;
32
+ uses?: number | undefined;
33
+ endDate?: string | undefined;
34
+ maxUses?: number | undefined;
35
+ startDate?: string | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { raiselyCreatePromoCode };
9
39
  //# sourceMappingURL=create-promo-code.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-promo-code.d.cts","names":[],"sources":["../../src/actions/create-promo-code.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAS+B;AAAA,cAC9D,4BAAA,EAA8B,CAAA,CAAE,UAS4B;AAAA,cAE5D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-promo-code.d.cts","names":[],"sources":["../../src/actions/create-promo-code.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-promo-code.d.ts
4
- declare const RaiselyCreatePromoCodeInput: z.ZodTypeAny;
5
- declare const RaiselyCreatePromoCodeOutput: z.ZodTypeAny;
6
- declare const raiselyCreatePromoCode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RaiselyCreatePromoCodeInput: z.ZodObject<{
5
+ code: z.ZodString;
6
+ uses: z.ZodOptional<z.ZodNumber>;
7
+ endDate: z.ZodOptional<z.ZodString>;
8
+ maxUses: z.ZodOptional<z.ZodNumber>;
9
+ startDate: z.ZodOptional<z.ZodString>;
10
+ campaignUuid: z.ZodString;
11
+ discountType: z.ZodEnum<{
12
+ PERCENTAGE: "PERCENTAGE";
13
+ FIXED: "FIXED";
14
+ }>;
15
+ discountAmount: z.ZodNumber;
16
+ }, z.core.$strip>;
17
+ declare const RaiselyCreatePromoCodeOutput: z.ZodObject<{
18
+ code: z.ZodNullable<z.ZodString>;
19
+ uses: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ maxUses: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ discountType: z.ZodNullable<z.ZodString>;
25
+ discountAmount: z.ZodNullable<z.ZodNumber>;
26
+ }, z.core.$strip>;
27
+ declare const raiselyCreatePromoCode: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ code: string;
29
+ campaignUuid: string;
30
+ discountType: "PERCENTAGE" | "FIXED";
31
+ discountAmount: number;
32
+ uses?: number | undefined;
33
+ endDate?: string | undefined;
34
+ maxUses?: number | undefined;
35
+ startDate?: string | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { raiselyCreatePromoCode };
9
39
  //# sourceMappingURL=create-promo-code.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-promo-code.d.mts","names":[],"sources":["../../src/actions/create-promo-code.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAS+B;AAAA,cAC9D,4BAAA,EAA8B,CAAA,CAAE,UAS4B;AAAA,cAE5D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-promo-code.d.mts","names":[],"sources":["../../src/actions/create-promo-code.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA"}
@@ -15,14 +15,14 @@ const raiselyCreatePromoCode = action("RAISELY_CREATE_PROMO_CODE", {
15
15
  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).")
16
16
  }).describe("Request parameters for creating a new promo code in Raisely."),
17
17
  output: z.object({
18
- code: z.string().describe("The promo code string."),
18
+ code: z.string().describe("The promo code string.").nullable(),
19
19
  uses: z.number().int().describe("Number of times this promo code has been used.").nullable().optional(),
20
20
  uuid: z.string().describe("Unique identifier of the promo code.").nullable().optional(),
21
21
  endDate: z.string().describe("ISO 8601 timestamp when the promo code expires.").nullable().optional(),
22
22
  maxUses: z.number().int().describe("Maximum number of times this promo code can be used.").nullable().optional(),
23
23
  startDate: z.string().describe("ISO 8601 timestamp when the promo code becomes valid.").nullable().optional(),
24
- discountType: z.string().describe("Type of discount (PERCENTAGE or FIXED)."),
25
- discountAmount: z.number().int().describe("Discount amount (as integer percentage or cents).")
24
+ discountType: z.string().describe("Type of discount (PERCENTAGE or FIXED).").nullable(),
25
+ discountAmount: z.number().int().describe("Discount amount (as integer percentage or cents).").nullable()
26
26
  }).describe("Response schema for a newly created promo code in Raisely.")
27
27
  });
28
28
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n code: z.string().describe(\"The promo code string.\"),\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).\"),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\"),\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":";;AAyBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBuD,EAAE,OAAO;EAChE,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,QAhBwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,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;EAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CAC/F,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}).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 promot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AAC,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,SAAS,4DAOF;AACV,CAAC"}
@@ -40,8 +40,8 @@ const RaiselyCreateWebhookInput = zod.z.object({
40
40
  campaignUuid: zod.z.string().describe("Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.").optional()
41
41
  }).describe("Request parameters for creating a new webhook in Raisely.");
42
42
  const RaiselyCreateWebhookOutput = zod.z.object({
43
- url: zod.z.string().describe("The URL to send the webhooks to"),
44
- uuid: zod.z.string().describe("Unique identifier for the webhook"),
43
+ url: zod.z.string().describe("The URL to send the webhooks to").nullable(),
44
+ uuid: zod.z.string().describe("Unique identifier for the webhook").nullable(),
45
45
  events: zod.z.array(zod.z.string()).describe("Array of events to forward to the webhook"),
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(),
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL to send the webhooks to\"),\n uuid: z.string().describe(\"Unique identifier for the webhook\"),\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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC3F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAA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/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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