@keystrokehq/raisely 0.1.5 → 0.1.6

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 (501) 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 +1 -0
  4. package/dist/actions/check-profile-url.cjs.map +1 -1
  5. package/dist/actions/check-profile-url.d.cts +4 -19
  6. package/dist/actions/check-profile-url.d.cts.map +1 -1
  7. package/dist/actions/check-profile-url.d.mts +4 -19
  8. package/dist/actions/check-profile-url.d.mts.map +1 -1
  9. package/dist/actions/check-profile-url.mjs +1 -0
  10. package/dist/actions/check-profile-url.mjs.map +1 -1
  11. package/dist/actions/check-user.cjs +1 -0
  12. package/dist/actions/check-user.cjs.map +1 -1
  13. package/dist/actions/check-user.d.cts +3 -18
  14. package/dist/actions/check-user.d.cts.map +1 -1
  15. package/dist/actions/check-user.d.mts +3 -18
  16. package/dist/actions/check-user.d.mts.map +1 -1
  17. package/dist/actions/check-user.mjs +1 -0
  18. package/dist/actions/check-user.mjs.map +1 -1
  19. package/dist/actions/create-campaign.cjs +1 -0
  20. package/dist/actions/create-campaign.cjs.map +1 -1
  21. package/dist/actions/create-campaign.d.cts +3 -24
  22. package/dist/actions/create-campaign.d.cts.map +1 -1
  23. package/dist/actions/create-campaign.d.mts +3 -24
  24. package/dist/actions/create-campaign.d.mts.map +1 -1
  25. package/dist/actions/create-campaign.mjs +1 -0
  26. package/dist/actions/create-campaign.mjs.map +1 -1
  27. package/dist/actions/create-donation.cjs +1 -0
  28. package/dist/actions/create-donation.cjs.map +1 -1
  29. package/dist/actions/create-donation.d.cts +3 -46
  30. package/dist/actions/create-donation.d.cts.map +1 -1
  31. package/dist/actions/create-donation.d.mts +3 -46
  32. package/dist/actions/create-donation.d.mts.map +1 -1
  33. package/dist/actions/create-donation.mjs +1 -0
  34. package/dist/actions/create-donation.mjs.map +1 -1
  35. package/dist/actions/create-exercise-log.cjs +1 -0
  36. package/dist/actions/create-exercise-log.cjs.map +1 -1
  37. package/dist/actions/create-exercise-log.d.cts +3 -24
  38. package/dist/actions/create-exercise-log.d.cts.map +1 -1
  39. package/dist/actions/create-exercise-log.d.mts +3 -24
  40. package/dist/actions/create-exercise-log.d.mts.map +1 -1
  41. package/dist/actions/create-exercise-log.mjs +1 -0
  42. package/dist/actions/create-exercise-log.mjs.map +1 -1
  43. package/dist/actions/create-interaction.cjs +1 -0
  44. package/dist/actions/create-interaction.cjs.map +1 -1
  45. package/dist/actions/create-interaction.d.cts +3 -24
  46. package/dist/actions/create-interaction.d.cts.map +1 -1
  47. package/dist/actions/create-interaction.d.mts +3 -24
  48. package/dist/actions/create-interaction.d.mts.map +1 -1
  49. package/dist/actions/create-interaction.mjs +1 -0
  50. package/dist/actions/create-interaction.mjs.map +1 -1
  51. package/dist/actions/create-post.cjs +1 -0
  52. package/dist/actions/create-post.cjs.map +1 -1
  53. package/dist/actions/create-post.d.cts +3 -20
  54. package/dist/actions/create-post.d.cts.map +1 -1
  55. package/dist/actions/create-post.d.mts +3 -20
  56. package/dist/actions/create-post.d.mts.map +1 -1
  57. package/dist/actions/create-post.mjs +1 -0
  58. package/dist/actions/create-post.mjs.map +1 -1
  59. package/dist/actions/create-promo-code.cjs +1 -0
  60. package/dist/actions/create-promo-code.cjs.map +1 -1
  61. package/dist/actions/create-promo-code.d.cts +3 -22
  62. package/dist/actions/create-promo-code.d.cts.map +1 -1
  63. package/dist/actions/create-promo-code.d.mts +3 -22
  64. package/dist/actions/create-promo-code.d.mts.map +1 -1
  65. package/dist/actions/create-promo-code.mjs +1 -0
  66. package/dist/actions/create-promo-code.mjs.map +1 -1
  67. package/dist/actions/create-webhook.cjs +1 -0
  68. package/dist/actions/create-webhook.cjs.map +1 -1
  69. package/dist/actions/create-webhook.d.cts +3 -18
  70. package/dist/actions/create-webhook.d.cts.map +1 -1
  71. package/dist/actions/create-webhook.d.mts +3 -18
  72. package/dist/actions/create-webhook.d.mts.map +1 -1
  73. package/dist/actions/create-webhook.mjs +1 -0
  74. package/dist/actions/create-webhook.mjs.map +1 -1
  75. package/dist/actions/delete-exercise-log.cjs +1 -0
  76. package/dist/actions/delete-exercise-log.cjs.map +1 -1
  77. package/dist/actions/delete-exercise-log.d.cts +3 -16
  78. package/dist/actions/delete-exercise-log.d.cts.map +1 -1
  79. package/dist/actions/delete-exercise-log.d.mts +3 -16
  80. package/dist/actions/delete-exercise-log.d.mts.map +1 -1
  81. package/dist/actions/delete-exercise-log.mjs +1 -0
  82. package/dist/actions/delete-exercise-log.mjs.map +1 -1
  83. package/dist/actions/delete-interaction.cjs +1 -0
  84. package/dist/actions/delete-interaction.cjs.map +1 -1
  85. package/dist/actions/delete-interaction.d.cts +3 -16
  86. package/dist/actions/delete-interaction.d.cts.map +1 -1
  87. package/dist/actions/delete-interaction.d.mts +3 -16
  88. package/dist/actions/delete-interaction.d.mts.map +1 -1
  89. package/dist/actions/delete-interaction.mjs +1 -0
  90. package/dist/actions/delete-interaction.mjs.map +1 -1
  91. package/dist/actions/delete-post.cjs +1 -0
  92. package/dist/actions/delete-post.cjs.map +1 -1
  93. package/dist/actions/delete-post.d.cts +3 -16
  94. package/dist/actions/delete-post.d.cts.map +1 -1
  95. package/dist/actions/delete-post.d.mts +3 -16
  96. package/dist/actions/delete-post.d.mts.map +1 -1
  97. package/dist/actions/delete-post.mjs +1 -0
  98. package/dist/actions/delete-post.mjs.map +1 -1
  99. package/dist/actions/delete-profile.cjs +1 -0
  100. package/dist/actions/delete-profile.cjs.map +1 -1
  101. package/dist/actions/delete-profile.d.cts +3 -16
  102. package/dist/actions/delete-profile.d.cts.map +1 -1
  103. package/dist/actions/delete-profile.d.mts +3 -16
  104. package/dist/actions/delete-profile.d.mts.map +1 -1
  105. package/dist/actions/delete-profile.mjs +1 -0
  106. package/dist/actions/delete-profile.mjs.map +1 -1
  107. package/dist/actions/delete-webhook.cjs +1 -0
  108. package/dist/actions/delete-webhook.cjs.map +1 -1
  109. package/dist/actions/delete-webhook.d.cts +3 -15
  110. package/dist/actions/delete-webhook.d.cts.map +1 -1
  111. package/dist/actions/delete-webhook.d.mts +3 -15
  112. package/dist/actions/delete-webhook.d.mts.map +1 -1
  113. package/dist/actions/delete-webhook.mjs +1 -0
  114. package/dist/actions/delete-webhook.mjs.map +1 -1
  115. package/dist/actions/get-api-docs.cjs +1 -0
  116. package/dist/actions/get-api-docs.cjs.map +1 -1
  117. package/dist/actions/get-api-docs.d.cts +3 -13
  118. package/dist/actions/get-api-docs.d.cts.map +1 -1
  119. package/dist/actions/get-api-docs.d.mts +3 -13
  120. package/dist/actions/get-api-docs.d.mts.map +1 -1
  121. package/dist/actions/get-api-docs.mjs +1 -0
  122. package/dist/actions/get-api-docs.mjs.map +1 -1
  123. package/dist/actions/get-authenticate.cjs +1 -0
  124. package/dist/actions/get-authenticate.cjs.map +1 -1
  125. package/dist/actions/get-authenticate.d.cts +3 -13
  126. package/dist/actions/get-authenticate.d.cts.map +1 -1
  127. package/dist/actions/get-authenticate.d.mts +3 -13
  128. package/dist/actions/get-authenticate.d.mts.map +1 -1
  129. package/dist/actions/get-authenticate.mjs +1 -0
  130. package/dist/actions/get-authenticate.mjs.map +1 -1
  131. package/dist/actions/get-available-events.cjs +1 -0
  132. package/dist/actions/get-available-events.cjs.map +1 -1
  133. package/dist/actions/get-available-events.d.cts +3 -13
  134. package/dist/actions/get-available-events.d.cts.map +1 -1
  135. package/dist/actions/get-available-events.d.mts +3 -13
  136. package/dist/actions/get-available-events.d.mts.map +1 -1
  137. package/dist/actions/get-available-events.mjs +1 -0
  138. package/dist/actions/get-available-events.mjs.map +1 -1
  139. package/dist/actions/get-campaign-profile.cjs +1 -0
  140. package/dist/actions/get-campaign-profile.cjs.map +1 -1
  141. package/dist/actions/get-campaign-profile.d.cts +3 -15
  142. package/dist/actions/get-campaign-profile.d.cts.map +1 -1
  143. package/dist/actions/get-campaign-profile.d.mts +3 -15
  144. package/dist/actions/get-campaign-profile.d.mts.map +1 -1
  145. package/dist/actions/get-campaign-profile.mjs +1 -0
  146. package/dist/actions/get-campaign-profile.mjs.map +1 -1
  147. package/dist/actions/get-campaign.cjs +1 -0
  148. package/dist/actions/get-campaign.cjs.map +1 -1
  149. package/dist/actions/get-campaign.d.cts +3 -18
  150. package/dist/actions/get-campaign.d.cts.map +1 -1
  151. package/dist/actions/get-campaign.d.mts +3 -18
  152. package/dist/actions/get-campaign.d.mts.map +1 -1
  153. package/dist/actions/get-campaign.mjs +1 -0
  154. package/dist/actions/get-campaign.mjs.map +1 -1
  155. package/dist/actions/get-campaigns-profiles.cjs +1 -0
  156. package/dist/actions/get-campaigns-profiles.cjs.map +1 -1
  157. package/dist/actions/get-campaigns-profiles.d.cts +3 -21
  158. package/dist/actions/get-campaigns-profiles.d.cts.map +1 -1
  159. package/dist/actions/get-campaigns-profiles.d.mts +3 -21
  160. package/dist/actions/get-campaigns-profiles.d.mts.map +1 -1
  161. package/dist/actions/get-campaigns-profiles.mjs +1 -0
  162. package/dist/actions/get-campaigns-profiles.mjs.map +1 -1
  163. package/dist/actions/get-campaigns.cjs +1 -0
  164. package/dist/actions/get-campaigns.cjs.map +1 -1
  165. package/dist/actions/get-campaigns.d.cts +3 -22
  166. package/dist/actions/get-campaigns.d.cts.map +1 -1
  167. package/dist/actions/get-campaigns.d.mts +3 -22
  168. package/dist/actions/get-campaigns.d.mts.map +1 -1
  169. package/dist/actions/get-campaigns.mjs +1 -0
  170. package/dist/actions/get-campaigns.mjs.map +1 -1
  171. package/dist/actions/get-exercise-log.cjs +1 -0
  172. package/dist/actions/get-exercise-log.cjs.map +1 -1
  173. package/dist/actions/get-exercise-log.d.cts +3 -16
  174. package/dist/actions/get-exercise-log.d.cts.map +1 -1
  175. package/dist/actions/get-exercise-log.d.mts +3 -16
  176. package/dist/actions/get-exercise-log.d.mts.map +1 -1
  177. package/dist/actions/get-exercise-log.mjs +1 -0
  178. package/dist/actions/get-exercise-log.mjs.map +1 -1
  179. package/dist/actions/get-interaction.cjs +1 -0
  180. package/dist/actions/get-interaction.cjs.map +1 -1
  181. package/dist/actions/get-interaction.d.cts +3 -16
  182. package/dist/actions/get-interaction.d.cts.map +1 -1
  183. package/dist/actions/get-interaction.d.mts +3 -16
  184. package/dist/actions/get-interaction.d.mts.map +1 -1
  185. package/dist/actions/get-interaction.mjs +1 -0
  186. package/dist/actions/get-interaction.mjs.map +1 -1
  187. package/dist/actions/get-post.cjs +1 -0
  188. package/dist/actions/get-post.cjs.map +1 -1
  189. package/dist/actions/get-post.d.cts +3 -16
  190. package/dist/actions/get-post.d.cts.map +1 -1
  191. package/dist/actions/get-post.d.mts +3 -16
  192. package/dist/actions/get-post.d.mts.map +1 -1
  193. package/dist/actions/get-post.mjs +1 -0
  194. package/dist/actions/get-post.mjs.map +1 -1
  195. package/dist/actions/get-profile.cjs +1 -0
  196. package/dist/actions/get-profile.cjs.map +1 -1
  197. package/dist/actions/get-profile.d.cts +3 -17
  198. package/dist/actions/get-profile.d.cts.map +1 -1
  199. package/dist/actions/get-profile.d.mts +3 -17
  200. package/dist/actions/get-profile.d.mts.map +1 -1
  201. package/dist/actions/get-profile.mjs +1 -0
  202. package/dist/actions/get-profile.mjs.map +1 -1
  203. package/dist/actions/get-profiles.cjs +1 -0
  204. package/dist/actions/get-profiles.cjs.map +1 -1
  205. package/dist/actions/get-profiles.d.cts +3 -27
  206. package/dist/actions/get-profiles.d.cts.map +1 -1
  207. package/dist/actions/get-profiles.d.mts +3 -27
  208. package/dist/actions/get-profiles.d.mts.map +1 -1
  209. package/dist/actions/get-profiles.mjs +1 -0
  210. package/dist/actions/get-profiles.mjs.map +1 -1
  211. package/dist/actions/get-user-profiles.cjs +1 -0
  212. package/dist/actions/get-user-profiles.cjs.map +1 -1
  213. package/dist/actions/get-user-profiles.d.cts +3 -16
  214. package/dist/actions/get-user-profiles.d.cts.map +1 -1
  215. package/dist/actions/get-user-profiles.d.mts +3 -16
  216. package/dist/actions/get-user-profiles.d.mts.map +1 -1
  217. package/dist/actions/get-user-profiles.mjs +1 -0
  218. package/dist/actions/get-user-profiles.mjs.map +1 -1
  219. package/dist/actions/get-user.cjs +1 -0
  220. package/dist/actions/get-user.cjs.map +1 -1
  221. package/dist/actions/get-user.d.cts +3 -16
  222. package/dist/actions/get-user.d.cts.map +1 -1
  223. package/dist/actions/get-user.d.mts +3 -16
  224. package/dist/actions/get-user.d.mts.map +1 -1
  225. package/dist/actions/get-user.mjs +1 -0
  226. package/dist/actions/get-user.mjs.map +1 -1
  227. package/dist/actions/get-users.cjs +1 -0
  228. package/dist/actions/get-users.cjs.map +1 -1
  229. package/dist/actions/get-users.d.cts +3 -19
  230. package/dist/actions/get-users.d.cts.map +1 -1
  231. package/dist/actions/get-users.d.mts +3 -19
  232. package/dist/actions/get-users.d.mts.map +1 -1
  233. package/dist/actions/get-users.mjs +1 -0
  234. package/dist/actions/get-users.mjs.map +1 -1
  235. package/dist/actions/list-campaign-donations.cjs +1 -0
  236. package/dist/actions/list-campaign-donations.cjs.map +1 -1
  237. package/dist/actions/list-campaign-donations.d.cts +3 -31
  238. package/dist/actions/list-campaign-donations.d.cts.map +1 -1
  239. package/dist/actions/list-campaign-donations.d.mts +3 -31
  240. package/dist/actions/list-campaign-donations.d.mts.map +1 -1
  241. package/dist/actions/list-campaign-donations.mjs +1 -0
  242. package/dist/actions/list-campaign-donations.mjs.map +1 -1
  243. package/dist/actions/list-campaign-products.cjs +1 -0
  244. package/dist/actions/list-campaign-products.cjs.map +1 -1
  245. package/dist/actions/list-campaign-products.d.cts +3 -15
  246. package/dist/actions/list-campaign-products.d.cts.map +1 -1
  247. package/dist/actions/list-campaign-products.d.mts +3 -15
  248. package/dist/actions/list-campaign-products.d.mts.map +1 -1
  249. package/dist/actions/list-campaign-products.mjs +1 -0
  250. package/dist/actions/list-campaign-products.mjs.map +1 -1
  251. package/dist/actions/list-campaign-subscriptions.cjs +1 -0
  252. package/dist/actions/list-campaign-subscriptions.cjs.map +1 -1
  253. package/dist/actions/list-campaign-subscriptions.d.cts +3 -28
  254. package/dist/actions/list-campaign-subscriptions.d.cts.map +1 -1
  255. package/dist/actions/list-campaign-subscriptions.d.mts +3 -28
  256. package/dist/actions/list-campaign-subscriptions.d.mts.map +1 -1
  257. package/dist/actions/list-campaign-subscriptions.mjs +1 -0
  258. package/dist/actions/list-campaign-subscriptions.mjs.map +1 -1
  259. package/dist/actions/list-donations.cjs +1 -0
  260. package/dist/actions/list-donations.cjs.map +1 -1
  261. package/dist/actions/list-donations.d.cts +3 -31
  262. package/dist/actions/list-donations.d.cts.map +1 -1
  263. package/dist/actions/list-donations.d.mts +3 -31
  264. package/dist/actions/list-donations.d.mts.map +1 -1
  265. package/dist/actions/list-donations.mjs +1 -0
  266. package/dist/actions/list-donations.mjs.map +1 -1
  267. package/dist/actions/list-exercise-logs.cjs +1 -0
  268. package/dist/actions/list-exercise-logs.cjs.map +1 -1
  269. package/dist/actions/list-exercise-logs.d.cts +3 -22
  270. package/dist/actions/list-exercise-logs.d.cts.map +1 -1
  271. package/dist/actions/list-exercise-logs.d.mts +3 -22
  272. package/dist/actions/list-exercise-logs.d.mts.map +1 -1
  273. package/dist/actions/list-exercise-logs.mjs +1 -0
  274. package/dist/actions/list-exercise-logs.mjs.map +1 -1
  275. package/dist/actions/list-interaction-categories.cjs +1 -0
  276. package/dist/actions/list-interaction-categories.cjs.map +1 -1
  277. package/dist/actions/list-interaction-categories.d.cts +3 -20
  278. package/dist/actions/list-interaction-categories.d.cts.map +1 -1
  279. package/dist/actions/list-interaction-categories.d.mts +3 -20
  280. package/dist/actions/list-interaction-categories.d.mts.map +1 -1
  281. package/dist/actions/list-interaction-categories.mjs +1 -0
  282. package/dist/actions/list-interaction-categories.mjs.map +1 -1
  283. package/dist/actions/list-interactions.cjs +1 -0
  284. package/dist/actions/list-interactions.cjs.map +1 -1
  285. package/dist/actions/list-interactions.d.cts +3 -22
  286. package/dist/actions/list-interactions.d.cts.map +1 -1
  287. package/dist/actions/list-interactions.d.mts +3 -22
  288. package/dist/actions/list-interactions.d.mts.map +1 -1
  289. package/dist/actions/list-interactions.mjs +1 -0
  290. package/dist/actions/list-interactions.mjs.map +1 -1
  291. package/dist/actions/list-orders.cjs +1 -0
  292. package/dist/actions/list-orders.cjs.map +1 -1
  293. package/dist/actions/list-orders.d.cts +3 -19
  294. package/dist/actions/list-orders.d.cts.map +1 -1
  295. package/dist/actions/list-orders.d.mts +3 -19
  296. package/dist/actions/list-orders.d.mts.map +1 -1
  297. package/dist/actions/list-orders.mjs +1 -0
  298. package/dist/actions/list-orders.mjs.map +1 -1
  299. package/dist/actions/list-posts.cjs +1 -0
  300. package/dist/actions/list-posts.cjs.map +1 -1
  301. package/dist/actions/list-posts.d.cts +3 -22
  302. package/dist/actions/list-posts.d.cts.map +1 -1
  303. package/dist/actions/list-posts.d.mts +3 -22
  304. package/dist/actions/list-posts.d.mts.map +1 -1
  305. package/dist/actions/list-posts.mjs +1 -0
  306. package/dist/actions/list-posts.mjs.map +1 -1
  307. package/dist/actions/list-profile-donations.cjs +1 -0
  308. package/dist/actions/list-profile-donations.cjs.map +1 -1
  309. package/dist/actions/list-profile-donations.d.cts +3 -32
  310. package/dist/actions/list-profile-donations.d.cts.map +1 -1
  311. package/dist/actions/list-profile-donations.d.mts +3 -32
  312. package/dist/actions/list-profile-donations.d.mts.map +1 -1
  313. package/dist/actions/list-profile-donations.mjs +1 -0
  314. package/dist/actions/list-profile-donations.mjs.map +1 -1
  315. package/dist/actions/list-profile-members.cjs +1 -0
  316. package/dist/actions/list-profile-members.cjs.map +1 -1
  317. package/dist/actions/list-profile-members.d.cts +3 -22
  318. package/dist/actions/list-profile-members.d.cts.map +1 -1
  319. package/dist/actions/list-profile-members.d.mts +3 -22
  320. package/dist/actions/list-profile-members.d.mts.map +1 -1
  321. package/dist/actions/list-profile-members.mjs +1 -0
  322. package/dist/actions/list-profile-members.mjs.map +1 -1
  323. package/dist/actions/list-profile-posts.cjs +1 -0
  324. package/dist/actions/list-profile-posts.cjs.map +1 -1
  325. package/dist/actions/list-profile-posts.d.cts +3 -23
  326. package/dist/actions/list-profile-posts.d.cts.map +1 -1
  327. package/dist/actions/list-profile-posts.d.mts +3 -23
  328. package/dist/actions/list-profile-posts.d.mts.map +1 -1
  329. package/dist/actions/list-profile-posts.mjs +1 -0
  330. package/dist/actions/list-profile-posts.mjs.map +1 -1
  331. package/dist/actions/list-promo-codes.cjs +1 -0
  332. package/dist/actions/list-promo-codes.cjs.map +1 -1
  333. package/dist/actions/list-promo-codes.d.cts +3 -16
  334. package/dist/actions/list-promo-codes.d.cts.map +1 -1
  335. package/dist/actions/list-promo-codes.d.mts +3 -16
  336. package/dist/actions/list-promo-codes.d.mts.map +1 -1
  337. package/dist/actions/list-promo-codes.mjs +1 -0
  338. package/dist/actions/list-promo-codes.mjs.map +1 -1
  339. package/dist/actions/list-segments.cjs +1 -0
  340. package/dist/actions/list-segments.cjs.map +1 -1
  341. package/dist/actions/list-segments.d.cts +3 -24
  342. package/dist/actions/list-segments.d.cts.map +1 -1
  343. package/dist/actions/list-segments.d.mts +3 -24
  344. package/dist/actions/list-segments.d.mts.map +1 -1
  345. package/dist/actions/list-segments.mjs +1 -0
  346. package/dist/actions/list-segments.mjs.map +1 -1
  347. package/dist/actions/list-subscriptions2.cjs +1 -0
  348. package/dist/actions/list-subscriptions2.cjs.map +1 -1
  349. package/dist/actions/list-subscriptions2.d.cts +3 -28
  350. package/dist/actions/list-subscriptions2.d.cts.map +1 -1
  351. package/dist/actions/list-subscriptions2.d.mts +3 -28
  352. package/dist/actions/list-subscriptions2.d.mts.map +1 -1
  353. package/dist/actions/list-subscriptions2.mjs +1 -0
  354. package/dist/actions/list-subscriptions2.mjs.map +1 -1
  355. package/dist/actions/list-tags.cjs +1 -0
  356. package/dist/actions/list-tags.cjs.map +1 -1
  357. package/dist/actions/list-tags.d.cts +3 -22
  358. package/dist/actions/list-tags.d.cts.map +1 -1
  359. package/dist/actions/list-tags.d.mts +3 -22
  360. package/dist/actions/list-tags.d.mts.map +1 -1
  361. package/dist/actions/list-tags.mjs +1 -0
  362. package/dist/actions/list-tags.mjs.map +1 -1
  363. package/dist/actions/list-user-donations.cjs +1 -0
  364. package/dist/actions/list-user-donations.cjs.map +1 -1
  365. package/dist/actions/list-user-donations.d.cts +3 -32
  366. package/dist/actions/list-user-donations.d.cts.map +1 -1
  367. package/dist/actions/list-user-donations.d.mts +3 -32
  368. package/dist/actions/list-user-donations.d.mts.map +1 -1
  369. package/dist/actions/list-user-donations.mjs +1 -0
  370. package/dist/actions/list-user-donations.mjs.map +1 -1
  371. package/dist/actions/list-user-interactions.cjs +1 -0
  372. package/dist/actions/list-user-interactions.cjs.map +1 -1
  373. package/dist/actions/list-user-interactions.d.cts +3 -22
  374. package/dist/actions/list-user-interactions.d.cts.map +1 -1
  375. package/dist/actions/list-user-interactions.d.mts +3 -22
  376. package/dist/actions/list-user-interactions.d.mts.map +1 -1
  377. package/dist/actions/list-user-interactions.mjs +1 -0
  378. package/dist/actions/list-user-interactions.mjs.map +1 -1
  379. package/dist/actions/list-user-subscriptions.cjs +1 -0
  380. package/dist/actions/list-user-subscriptions.cjs.map +1 -1
  381. package/dist/actions/list-user-subscriptions.d.cts +3 -29
  382. package/dist/actions/list-user-subscriptions.d.cts.map +1 -1
  383. package/dist/actions/list-user-subscriptions.d.mts +3 -29
  384. package/dist/actions/list-user-subscriptions.d.mts.map +1 -1
  385. package/dist/actions/list-user-subscriptions.mjs +1 -0
  386. package/dist/actions/list-user-subscriptions.mjs.map +1 -1
  387. package/dist/actions/list-webhooks.cjs +1 -0
  388. package/dist/actions/list-webhooks.cjs.map +1 -1
  389. package/dist/actions/list-webhooks.d.cts +3 -21
  390. package/dist/actions/list-webhooks.d.cts.map +1 -1
  391. package/dist/actions/list-webhooks.d.mts +3 -21
  392. package/dist/actions/list-webhooks.d.mts.map +1 -1
  393. package/dist/actions/list-webhooks.mjs +1 -0
  394. package/dist/actions/list-webhooks.mjs.map +1 -1
  395. package/dist/actions/move-donation.cjs +1 -0
  396. package/dist/actions/move-donation.cjs.map +1 -1
  397. package/dist/actions/move-donation.d.cts +3 -16
  398. package/dist/actions/move-donation.d.cts.map +1 -1
  399. package/dist/actions/move-donation.d.mts +3 -16
  400. package/dist/actions/move-donation.d.mts.map +1 -1
  401. package/dist/actions/move-donation.mjs +1 -0
  402. package/dist/actions/move-donation.mjs.map +1 -1
  403. package/dist/actions/post-logout.cjs +1 -0
  404. package/dist/actions/post-logout.cjs.map +1 -1
  405. package/dist/actions/post-logout.d.cts +3 -13
  406. package/dist/actions/post-logout.d.cts.map +1 -1
  407. package/dist/actions/post-logout.d.mts +3 -13
  408. package/dist/actions/post-logout.d.mts.map +1 -1
  409. package/dist/actions/post-logout.mjs +1 -0
  410. package/dist/actions/post-logout.mjs.map +1 -1
  411. package/dist/actions/post-users.cjs +1 -0
  412. package/dist/actions/post-users.cjs.map +1 -1
  413. package/dist/actions/post-users.d.cts +3 -29
  414. package/dist/actions/post-users.d.cts.map +1 -1
  415. package/dist/actions/post-users.d.mts +3 -29
  416. package/dist/actions/post-users.d.mts.map +1 -1
  417. package/dist/actions/post-users.mjs +1 -0
  418. package/dist/actions/post-users.mjs.map +1 -1
  419. package/dist/actions/update-campaign-config.cjs +1 -0
  420. package/dist/actions/update-campaign-config.cjs.map +1 -1
  421. package/dist/actions/update-campaign-config.d.cts +3 -17
  422. package/dist/actions/update-campaign-config.d.cts.map +1 -1
  423. package/dist/actions/update-campaign-config.d.mts +3 -17
  424. package/dist/actions/update-campaign-config.d.mts.map +1 -1
  425. package/dist/actions/update-campaign-config.mjs +1 -0
  426. package/dist/actions/update-campaign-config.mjs.map +1 -1
  427. package/dist/actions/update-campaign.cjs +1 -0
  428. package/dist/actions/update-campaign.cjs.map +1 -1
  429. package/dist/actions/update-campaign.d.cts +3 -33
  430. package/dist/actions/update-campaign.d.cts.map +1 -1
  431. package/dist/actions/update-campaign.d.mts +3 -33
  432. package/dist/actions/update-campaign.d.mts.map +1 -1
  433. package/dist/actions/update-campaign.mjs +1 -0
  434. package/dist/actions/update-campaign.mjs.map +1 -1
  435. package/dist/actions/update-exercise-log.cjs +1 -0
  436. package/dist/actions/update-exercise-log.cjs.map +1 -1
  437. package/dist/actions/update-exercise-log.d.cts +3 -23
  438. package/dist/actions/update-exercise-log.d.cts.map +1 -1
  439. package/dist/actions/update-exercise-log.d.mts +3 -23
  440. package/dist/actions/update-exercise-log.d.mts.map +1 -1
  441. package/dist/actions/update-exercise-log.mjs +1 -0
  442. package/dist/actions/update-exercise-log.mjs.map +1 -1
  443. package/dist/actions/update-post.cjs +1 -0
  444. package/dist/actions/update-post.cjs.map +1 -1
  445. package/dist/actions/update-post.d.cts +3 -23
  446. package/dist/actions/update-post.d.cts.map +1 -1
  447. package/dist/actions/update-post.d.mts +3 -23
  448. package/dist/actions/update-post.d.mts.map +1 -1
  449. package/dist/actions/update-post.mjs +1 -0
  450. package/dist/actions/update-post.mjs.map +1 -1
  451. package/dist/actions/update-profile.cjs +1 -0
  452. package/dist/actions/update-profile.cjs.map +1 -1
  453. package/dist/actions/update-profile.d.cts +3 -34
  454. package/dist/actions/update-profile.d.cts.map +1 -1
  455. package/dist/actions/update-profile.d.mts +3 -34
  456. package/dist/actions/update-profile.d.mts.map +1 -1
  457. package/dist/actions/update-profile.mjs +1 -0
  458. package/dist/actions/update-profile.mjs.map +1 -1
  459. package/dist/actions/update-user.cjs +1 -0
  460. package/dist/actions/update-user.cjs.map +1 -1
  461. package/dist/actions/update-user.d.cts +3 -38
  462. package/dist/actions/update-user.d.cts.map +1 -1
  463. package/dist/actions/update-user.d.mts +3 -38
  464. package/dist/actions/update-user.d.mts.map +1 -1
  465. package/dist/actions/update-user.mjs +1 -0
  466. package/dist/actions/update-user.mjs.map +1 -1
  467. package/dist/actions/update-webhook.cjs +1 -0
  468. package/dist/actions/update-webhook.cjs.map +1 -1
  469. package/dist/actions/update-webhook.d.cts +3 -21
  470. package/dist/actions/update-webhook.d.cts.map +1 -1
  471. package/dist/actions/update-webhook.d.mts +3 -21
  472. package/dist/actions/update-webhook.d.mts.map +1 -1
  473. package/dist/actions/update-webhook.mjs +1 -0
  474. package/dist/actions/update-webhook.mjs.map +1 -1
  475. package/dist/actions/upload-campaign-media.cjs +1 -0
  476. package/dist/actions/upload-campaign-media.cjs.map +1 -1
  477. package/dist/actions/upload-campaign-media.d.cts +3 -21
  478. package/dist/actions/upload-campaign-media.d.cts.map +1 -1
  479. package/dist/actions/upload-campaign-media.d.mts +3 -21
  480. package/dist/actions/upload-campaign-media.d.mts.map +1 -1
  481. package/dist/actions/upload-campaign-media.mjs +1 -0
  482. package/dist/actions/upload-campaign-media.mjs.map +1 -1
  483. package/dist/actions/upsert-user.cjs +1 -0
  484. package/dist/actions/upsert-user.cjs.map +1 -1
  485. package/dist/actions/upsert-user.d.cts +3 -44
  486. package/dist/actions/upsert-user.d.cts.map +1 -1
  487. package/dist/actions/upsert-user.d.mts +3 -44
  488. package/dist/actions/upsert-user.d.mts.map +1 -1
  489. package/dist/actions/upsert-user.mjs +1 -0
  490. package/dist/actions/upsert-user.mjs.map +1 -1
  491. package/dist/app.cjs +2 -2
  492. package/dist/app.cjs.map +1 -1
  493. package/dist/app.d.cts +4 -6
  494. package/dist/app.d.cts.map +1 -1
  495. package/dist/app.d.mts +4 -6
  496. package/dist/app.d.mts.map +1 -1
  497. package/dist/app.mjs +0 -1
  498. package/dist/app.mjs.map +1 -1
  499. package/dist/index.d.cts +1 -1
  500. package/dist/index.d.mts +1 -1
  501. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { raisely } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-interaction.d.ts
@@ -36,30 +38,7 @@ declare const RaiselyCreateInteractionOutput: z.ZodObject<{
36
38
  internalOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
39
  organisationUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
40
  }, z.core.$loose>;
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<"raisely", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
57
- connectionId: z.ZodString;
58
- entityId: z.ZodString;
59
- instanceId: z.ZodString;
60
- }, z.core.$strip>, z.ZodObject<{
61
- generic_api_key: z.ZodString;
62
- }, z.core.$strip>>]>;
41
+ declare const raiselyCreateInteraction: AppAction<typeof RaiselyCreateInteractionInput, typeof RaiselyCreateInteractionOutput, typeof raisely.credential>;
63
42
  //#endregion
64
43
  export { raiselyCreateInteraction };
65
44
  //# 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,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-interaction.d.cts","names":[],"sources":["../../src/actions/create-interaction.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { raisely } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-interaction.d.ts
@@ -36,30 +38,7 @@ declare const RaiselyCreateInteractionOutput: z.ZodObject<{
36
38
  internalOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
39
  organisationUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
40
  }, z.core.$loose>;
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<"raisely", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
57
- connectionId: z.ZodString;
58
- entityId: z.ZodString;
59
- instanceId: z.ZodString;
60
- }, z.core.$strip>, z.ZodObject<{
61
- generic_api_key: z.ZodString;
62
- }, z.core.$strip>>]>;
41
+ declare const raiselyCreateInteraction: AppAction<typeof RaiselyCreateInteractionInput, typeof RaiselyCreateInteractionOutput, typeof raisely.credential>;
63
42
  //#endregion
64
43
  export { raiselyCreateInteraction };
65
44
  //# 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,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-interaction.d.mts","names":[],"sources":["../../src/actions/create-interaction.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-interaction.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-interaction.mjs","names":[],"sources":["../../src/actions/create-interaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateInteractionInput = z.object({\n detail: z.object({\n pinned: z.boolean().describe(\"Whether this interaction should be pinned for visibility.\").optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields for this interaction.\").optional(),\n comment: z.string().describe(\"Comment or note associated with this interaction.\").optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields for this interaction (only visible to admins).\").optional(),\n}).describe(\"Detail object containing additional information about the interaction.\").optional(),\n private: z.boolean().describe(\"Returns the full record when authenticated.\").optional(),\n userUuid: z.string().describe(\"The user the interaction should belong to.\").optional(),\n categoryPath: z.string().describe(\"The path of the category the interaction should belong to. This can be supplied instead of a categoryUuid.\").optional(),\n categoryUuid: z.string().describe(\"The UUID of the category the interaction should belong to. Either categoryUuid or categoryPath is required.\").optional(),\n}).describe(\"Request schema for creating a new interaction in Raisely.\");\nconst RaiselyCreateInteraction_InteractionCategorySchema = z.object({\n name: z.string().describe(\"Name of the category.\").nullable().optional(),\n path: z.string().describe(\"Path of the category.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the category.\").nullable().optional(),\n}).passthrough().describe(\"Category information associated with the interaction.\");\nexport const RaiselyCreateInteractionOutput = z.object({\n diff: z.record(z.string(), z.unknown()).describe(\"Difference information for the interaction.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the interaction.\").nullable().optional(),\n model: z.string().describe(\"Model type of the interaction record.\").nullable().optional(),\n action: z.string().describe(\"Action type of the interaction.\").nullable().optional(),\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details relating to this interaction.\").nullable().optional(),\n context: z.record(z.string(), z.unknown()).describe(\"Context information for the interaction.\").nullable().optional(),\n category: RaiselyCreateInteraction_InteractionCategorySchema.nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user who created the interaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the interaction was created.\").nullable().optional(),\n immutable: z.record(z.string(), z.unknown()).describe(\"Immutable fields for the interaction.\").nullable().optional(),\n tokenUuid: z.string().describe(\"UUID of the token used for the interaction.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the interaction.\").nullable().optional(),\n recordType: z.string().describe(\"Type of the record associated with the interaction.\").nullable().optional(),\n recordUuid: z.string().describe(\"UUID of the record associated with the interaction.\").nullable().optional(),\n categoryUuid: z.string().describe(\"UUID of the category this interaction belongs to.\").nullable().optional(),\n internalOnly: z.boolean().describe(\"Whether this interaction is internal only.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this interaction belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a newly created interaction in Raisely.\");\n\nexport const raiselyCreateInteraction = action(\"RAISELY_CREATE_INTERACTION\", {\n slug: \"raisely-create-interaction\",\n name: \"Create Interaction\",\n description: \"Tool to create a new interaction in Raisely. Use when you need to record an interaction event. Either categoryUuid or categoryPath must be provided.\",\n input: RaiselyCreateInteractionIn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CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-interaction.mjs","names":[],"sources":["../../src/actions/create-interaction.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { raisely } from \"../app\";\n\nexport const RaiselyCreateInteractionInput = z.object({\n detail: z.object({\n pinned: z.boolean().describe(\"Whether this interaction should be pinned for visibility.\").optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields for this interaction.\").optional(),\n comment: z.string().describe(\"Comment or note associated with this interaction.\").optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields for this interaction (only visible to admins).\").optional(),\n}).describe(\"Detail object containing additional information about the interaction.\").optional(),\n private: z.boolean().describe(\"Returns the full record when authenticated.\").optional(),\n userUuid: z.string().describe(\"The user the interaction should belong to.\").optional(),\n categoryPath: z.string().describe(\"The path of the category the interaction should belong to. This can be supplied instead of a categoryUuid.\").optional(),\n categoryUuid: z.string().describe(\"The UUID of the category the interaction should belong to. Either categoryUuid or categoryPath is required.\").optional(),\n}).describe(\"Request schema for creating a new interaction in Raisely.\");\nconst RaiselyCreateInteraction_InteractionCategorySchema = z.object({\n name: z.string().describe(\"Name of the category.\").nullable().optional(),\n path: z.string().describe(\"Path of the category.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the category.\").nullable().optional(),\n}).passthrough().describe(\"Category information associated with the interaction.\");\nexport const RaiselyCreateInteractionOutput = z.object({\n diff: z.record(z.string(), z.unknown()).describe(\"Difference information for the interaction.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the interaction.\").nullable().optional(),\n model: z.string().describe(\"Model type of the interaction record.\").nullable().optional(),\n action: z.string().describe(\"Action type of the interaction.\").nullable().optional(),\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details relating to this interaction.\").nullable().optional(),\n context: z.record(z.string(), z.unknown()).describe(\"Context information for the interaction.\").nullable().optional(),\n category: RaiselyCreateInteraction_InteractionCategorySchema.nullable().optional(),\n userUuid: z.string().describe(\"UUID of the user who created the interaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the interaction was created.\").nullable().optional(),\n immutable: z.record(z.string(), z.unknown()).describe(\"Immutable fields for the interaction.\").nullable().optional(),\n tokenUuid: z.string().describe(\"UUID of the token used for the interaction.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the interaction.\").nullable().optional(),\n recordType: z.string().describe(\"Type of the record associated with the interaction.\").nullable().optional(),\n recordUuid: z.string().describe(\"UUID of the record associated with the interaction.\").nullable().optional(),\n categoryUuid: z.string().describe(\"UUID of the category this interaction belongs to.\").nullable().optional(),\n internalOnly: z.boolean().describe(\"Whether this interaction is internal only.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this interaction belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a newly created interaction in Raisely.\");\n\nexport const raiselyCreateInteraction: AppAction<\n typeof RaiselyCreateInteractionInput,\n typeof RaiselyCreateInteractionOutput,\n typeof raisely.credential\n> = 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.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S,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-post.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.cjs","names":["z","action"],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePostInput = z.object({\n body: z.string().describe(\"Content/body of the post. May contain HTML formatting.\"),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format.\").optional(),\n path: z.string().describe(\"URL path slug for the post. Must be unique. Used in the post's URL (e.g., 'my-first-post').\"),\n title: z.string().describe(\"Title of the post.\").optional(),\n photoUrl: z.string().describe(\"URL to the post's main image or photo.\"),\n profileUuid: z.string().describe(\"UUID of the profile that the post should be associated with.\"),\n}).describe(\"Request parameters for creating a new post in Raisely.\");\nexport const RaiselyCreatePostOutput = z.object({\n body: z.string().describe(\"Content/body of the post\").nullable(),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format\").nullable().optional(),\n path: z.string().describe(\"URL path slug of the post\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the post\").nullable(),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\").nullable(),\n userUuid: z.string().describe(\"UUID of the user who created the post\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the post was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the post was last updated\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with the post\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the campaign associated with the post\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created post in Raisely.\");\n\nexport const raiselyCreatePost = action(\"RAISELY_CREATE_POST\", {\n slug: \"raisely-create-post\",\n name: \"Create Post\",\n description: \"Create a new post in Raisely. Use when you need to add a blog post or update to a profile or campaign.\",\n input: RaiselyCreatePostInput,\n output: RaiselyCreatePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACvH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-post.cjs","names":["z","action"],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { raisely } from \"../app\";\n\nexport const RaiselyCreatePostInput = z.object({\n body: z.string().describe(\"Content/body of the post. May contain HTML formatting.\"),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format.\").optional(),\n path: z.string().describe(\"URL path slug for the post. Must be unique. Used in the post's URL (e.g., 'my-first-post').\"),\n title: z.string().describe(\"Title of the post.\").optional(),\n photoUrl: z.string().describe(\"URL to the post's main image or photo.\"),\n profileUuid: z.string().describe(\"UUID of the profile that the post should be associated with.\"),\n}).describe(\"Request parameters for creating a new post in Raisely.\");\nexport const RaiselyCreatePostOutput = z.object({\n body: z.string().describe(\"Content/body of the post\").nullable(),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format\").nullable().optional(),\n path: z.string().describe(\"URL path slug of the post\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the post\").nullable(),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\").nullable(),\n userUuid: z.string().describe(\"UUID of the user who created the post\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the post was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the post was last updated\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with the post\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the campaign associated with the post\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created post in Raisely.\");\n\nexport const raiselyCreatePost: AppAction<\n typeof RaiselyCreatePostInput,\n typeof RaiselyCreatePostOutput,\n typeof raisely.credential\n> = 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":";;;;AAMA,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,OA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SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { raisely } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-post.d.ts
@@ -22,26 +24,7 @@ declare const RaiselyCreatePostOutput: z.ZodObject<{
22
24
  profileUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, z.core.$loose>;
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<"raisely", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>;
27
+ declare const raiselyCreatePost: AppAction<typeof RaiselyCreatePostInput, typeof RaiselyCreatePostOutput, typeof raisely.credential>;
45
28
  //#endregion
46
29
  export { raiselyCreatePost };
47
30
  //# 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,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"create-post.d.cts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { raisely } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-post.d.ts
@@ -22,26 +24,7 @@ declare const RaiselyCreatePostOutput: z.ZodObject<{
22
24
  profileUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, z.core.$loose>;
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<"raisely", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>;
27
+ declare const raiselyCreatePost: AppAction<typeof RaiselyCreatePostInput, typeof RaiselyCreatePostOutput, typeof raisely.credential>;
45
28
  //#endregion
46
29
  export { raiselyCreatePost };
47
30
  //# 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,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"create-post.d.mts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const raiselyCreatePost = action("RAISELY_CREATE_POST", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePostInput = z.object({\n body: z.string().describe(\"Content/body of the post. May contain HTML formatting.\"),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format.\").optional(),\n path: z.string().describe(\"URL path slug for the post. Must be unique. Used in the post's URL (e.g., 'my-first-post').\"),\n title: z.string().describe(\"Title of the post.\").optional(),\n photoUrl: z.string().describe(\"URL to the post's main image or photo.\"),\n profileUuid: z.string().describe(\"UUID of the profile that the post should be associated with.\"),\n}).describe(\"Request parameters for creating a new post in Raisely.\");\nexport const RaiselyCreatePostOutput = z.object({\n body: z.string().describe(\"Content/body of the post\").nullable(),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format\").nullable().optional(),\n path: z.string().describe(\"URL path slug of the post\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the post\").nullable(),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\").nullable(),\n userUuid: z.string().describe(\"UUID of the user who created the post\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the post was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the post was last updated\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with the post\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the campaign associated with the post\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created post in Raisely.\");\n\nexport const raiselyCreatePost = action(\"RAISELY_CREATE_POST\", {\n slug: \"raisely-create-post\",\n name: \"Create Post\",\n description: \"Create a new post in Raisely. Use when you need to add a blog post or update to a profile or campaign.\",\n input: RaiselyCreatePostInput,\n output: RaiselyCreatePostOutput,\n});\n"],"mappings":";;AA0BA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EACvH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACjG,CAAC,CAAC,CAAC,SAAS,wDAmBH;CACP,QAnBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { raisely } from \"../app\";\n\nexport const RaiselyCreatePostInput = z.object({\n body: z.string().describe(\"Content/body of the post. May contain HTML formatting.\"),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format.\").optional(),\n path: z.string().describe(\"URL path slug for the post. Must be unique. Used in the post's URL (e.g., 'my-first-post').\"),\n title: z.string().describe(\"Title of the post.\").optional(),\n photoUrl: z.string().describe(\"URL to the post's main image or photo.\"),\n profileUuid: z.string().describe(\"UUID of the profile that the post should be associated with.\"),\n}).describe(\"Request parameters for creating a new post in Raisely.\");\nexport const RaiselyCreatePostOutput = z.object({\n body: z.string().describe(\"Content/body of the post\").nullable(),\n date: z.string().describe(\"Publication date of the post in ISO 8601 format\").nullable().optional(),\n path: z.string().describe(\"URL path slug of the post\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the post\").nullable(),\n title: z.string().describe(\"Title of the post\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the post's main image\").nullable(),\n userUuid: z.string().describe(\"UUID of the user who created the post\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the post was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the post was last updated\").nullable().optional(),\n profileUuid: z.string().describe(\"UUID of the profile associated with the post\").nullable().optional(),\n campaignUuid: z.string().describe(\"UUID of the campaign associated with the post\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created post in Raisely.\");\n\nexport const raiselyCreatePost: AppAction<\n typeof RaiselyCreatePostInput,\n typeof RaiselyCreatePostOutput,\n typeof raisely.credential\n> = 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":";;;AA4BA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EACvH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACjG,CAAC,CAAC,CAAC,SAAS,wDAuBH;CACP,QAvBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-promo-code.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-promo-code.cjs","names":["z","action"],"sources":["../../src/actions/create-promo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePromoCodeInput = z.object({\n code: z.string().describe(\"The user-facing promo code (e.g., '10OFF', 'SUMMER2024'). Must be unique.\"),\n uses: z.number().int().describe(\"The current number of times this promo code has been claimed. Typically set to 0 for new codes.\").optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp for when this promo code stops being available (e.g., '2022-12-31T23:59:59.999Z').\").optional(),\n maxUses: z.number().int().describe(\"The maximum number of times this promo code can be claimed/used.\").optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp for when this promo code starts being available (e.g., '2022-12-01T00:00:00.000Z').\").optional(),\n campaignUuid: z.string().describe(\"The UUID of the campaign to associate this promo code with. Required field.\"),\n discountType: z.enum([\"PERCENTAGE\", \"FIXED\"]).describe(\"Type of discount to apply. PERCENTAGE for percentage-based discounts, FIXED for fixed amount discounts.\"),\n discountAmount: z.number().int().describe(\"The discount value. For PERCENTAGE type, use whole numbers (e.g., 10 for 10%). For FIXED type, use amount in cents (e.g., 1500 for $15.00).\"),\n}).describe(\"Request parameters for creating a new promo code in Raisely.\");\nexport const RaiselyCreatePromoCodeOutput = z.object({\n code: z.string().describe(\"The promo code string.\").nullable(),\n uses: z.number().int().describe(\"Number of times this promo code has been used.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the promo code.\").nullable().optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp when the promo code expires.\").nullable().optional(),\n maxUses: z.number().int().describe(\"Maximum number of times this promo code can be used.\").nullable().optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp when the promo code becomes valid.\").nullable().optional(),\n discountType: z.string().describe(\"Type of discount (PERCENTAGE or FIXED).\").nullable(),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created promo code in Raisely.\");\n\nexport const raiselyCreatePromoCode = action(\"RAISELY_CREATE_PROMO_CODE\", {\n slug: \"raisely-create-promo-code\",\n name: \"Create Promo Code\",\n description: \"Tool to create a new promo code in Raisely. Use when you need to add discount codes for campaigns, create promotional offers, or set up limited-time discounts.\",\n input: RaiselyCreatePromoCodeInput,\n output: RaiselyCreatePromoCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC/I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC/G,cAAcA,IAAAA,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG;CAChK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6IAA6I;AACzL,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { raisely } from \"../app\";\n\nexport const RaiselyCreatePromoCodeInput = z.object({\n code: z.string().describe(\"The user-facing promo code (e.g., '10OFF', 'SUMMER2024'). Must be unique.\"),\n uses: z.number().int().describe(\"The current number of times this promo code has been claimed. Typically set to 0 for new codes.\").optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp for when this promo code stops being available (e.g., '2022-12-31T23:59:59.999Z').\").optional(),\n maxUses: z.number().int().describe(\"The maximum number of times this promo code can be claimed/used.\").optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp for when this promo code starts being available (e.g., '2022-12-01T00:00:00.000Z').\").optional(),\n campaignUuid: z.string().describe(\"The UUID of the campaign to associate this promo code with. Required field.\"),\n discountType: z.enum([\"PERCENTAGE\", \"FIXED\"]).describe(\"Type of discount to apply. PERCENTAGE for percentage-based discounts, FIXED for fixed amount discounts.\"),\n discountAmount: z.number().int().describe(\"The discount value. For PERCENTAGE type, use whole numbers (e.g., 10 for 10%). For FIXED type, use amount in cents (e.g., 1500 for $15.00).\"),\n}).describe(\"Request parameters for creating a new promo code in Raisely.\");\nexport const RaiselyCreatePromoCodeOutput = z.object({\n code: z.string().describe(\"The promo code string.\").nullable(),\n uses: z.number().int().describe(\"Number of times this promo code has been used.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the promo code.\").nullable().optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp when the promo code expires.\").nullable().optional(),\n maxUses: z.number().int().describe(\"Maximum number of times this promo code can be used.\").nullable().optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp when the promo code becomes valid.\").nullable().optional(),\n discountType: z.string().describe(\"Type of discount (PERCENTAGE or FIXED).\").nullable(),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created promo code in Raisely.\");\n\nexport const raiselyCreatePromoCode: AppAction<\n typeof RaiselyCreatePromoCodeInput,\n typeof RaiselyCreatePromoCodeOutput,\n typeof raisely.credential\n> = 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":";;;;AAMA,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;CAC5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AAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { raisely } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-promo-code.d.ts
@@ -24,28 +26,7 @@ declare const RaiselyCreatePromoCodeOutput: z.ZodObject<{
24
26
  discountType: z.ZodNullable<z.ZodString>;
25
27
  discountAmount: z.ZodNullable<z.ZodNumber>;
26
28
  }, z.core.$loose>;
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<"raisely", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- generic_api_key: z.ZodString;
48
- }, z.core.$strip>>]>;
29
+ declare const raiselyCreatePromoCode: AppAction<typeof RaiselyCreatePromoCodeInput, typeof RaiselyCreatePromoCodeOutput, typeof raisely.credential>;
49
30
  //#endregion
50
31
  export { raiselyCreatePromoCode };
51
32
  //# 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,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"create-promo-code.d.cts","names":[],"sources":["../../src/actions/create-promo-code.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { raisely } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-promo-code.d.ts
@@ -24,28 +26,7 @@ declare const RaiselyCreatePromoCodeOutput: z.ZodObject<{
24
26
  discountType: z.ZodNullable<z.ZodString>;
25
27
  discountAmount: z.ZodNullable<z.ZodNumber>;
26
28
  }, z.core.$loose>;
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<"raisely", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- generic_api_key: z.ZodString;
48
- }, z.core.$strip>>]>;
29
+ declare const raiselyCreatePromoCode: AppAction<typeof RaiselyCreatePromoCodeInput, typeof RaiselyCreatePromoCodeOutput, typeof raisely.credential>;
49
30
  //#endregion
50
31
  export { raiselyCreatePromoCode };
51
32
  //# 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,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"create-promo-code.d.mts","names":[],"sources":["../../src/actions/create-promo-code.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const raiselyCreatePromoCode = action("RAISELY_CREATE_PROMO_CODE", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-promo-code.mjs","names":[],"sources":["../../src/actions/create-promo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreatePromoCodeInput = z.object({\n code: z.string().describe(\"The user-facing promo code (e.g., '10OFF', 'SUMMER2024'). Must be unique.\"),\n uses: z.number().int().describe(\"The current number of times this promo code has been claimed. Typically set to 0 for new codes.\").optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp for when this promo code stops being available (e.g., '2022-12-31T23:59:59.999Z').\").optional(),\n maxUses: z.number().int().describe(\"The maximum number of times this promo code can be claimed/used.\").optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp for when this promo code starts being available (e.g., '2022-12-01T00:00:00.000Z').\").optional(),\n campaignUuid: z.string().describe(\"The UUID of the campaign to associate this promo code with. Required field.\"),\n discountType: z.enum([\"PERCENTAGE\", \"FIXED\"]).describe(\"Type of discount to apply. PERCENTAGE for percentage-based discounts, FIXED for fixed amount discounts.\"),\n discountAmount: z.number().int().describe(\"The discount value. For PERCENTAGE type, use whole numbers (e.g., 10 for 10%). For FIXED type, use amount in cents (e.g., 1500 for $15.00).\"),\n}).describe(\"Request parameters for creating a new promo code in Raisely.\");\nexport const RaiselyCreatePromoCodeOutput = z.object({\n code: z.string().describe(\"The promo code string.\").nullable(),\n uses: z.number().int().describe(\"Number of times this promo code has been used.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the promo code.\").nullable().optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp when the promo code expires.\").nullable().optional(),\n maxUses: z.number().int().describe(\"Maximum number of times this promo code can be used.\").nullable().optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp when the promo code becomes valid.\").nullable().optional(),\n discountType: z.string().describe(\"Type of discount (PERCENTAGE or FIXED).\").nullable(),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created promo code in Raisely.\");\n\nexport const raiselyCreatePromoCode = action(\"RAISELY_CREATE_PROMO_CODE\", {\n slug: \"raisely-create-promo-code\",\n name: \"Create Promo Code\",\n description: \"Tool to create a new promo code in Raisely. Use when you need to add discount codes for campaigns, create promotional offers, or set up limited-time discounts.\",\n input: RaiselyCreatePromoCodeInput,\n output: RaiselyCreatePromoCodeOutput,\n});\n"],"mappings":";;AAyBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aA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AAS,yCAAyC,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-promo-code.mjs","names":[],"sources":["../../src/actions/create-promo-code.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { raisely } from \"../app\";\n\nexport const RaiselyCreatePromoCodeInput = z.object({\n code: z.string().describe(\"The user-facing promo code (e.g., '10OFF', 'SUMMER2024'). Must be unique.\"),\n uses: z.number().int().describe(\"The current number of times this promo code has been claimed. Typically set to 0 for new codes.\").optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp for when this promo code stops being available (e.g., '2022-12-31T23:59:59.999Z').\").optional(),\n maxUses: z.number().int().describe(\"The maximum number of times this promo code can be claimed/used.\").optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp for when this promo code starts being available (e.g., '2022-12-01T00:00:00.000Z').\").optional(),\n campaignUuid: z.string().describe(\"The UUID of the campaign to associate this promo code with. Required field.\"),\n discountType: z.enum([\"PERCENTAGE\", \"FIXED\"]).describe(\"Type of discount to apply. PERCENTAGE for percentage-based discounts, FIXED for fixed amount discounts.\"),\n discountAmount: z.number().int().describe(\"The discount value. For PERCENTAGE type, use whole numbers (e.g., 10 for 10%). For FIXED type, use amount in cents (e.g., 1500 for $15.00).\"),\n}).describe(\"Request parameters for creating a new promo code in Raisely.\");\nexport const RaiselyCreatePromoCodeOutput = z.object({\n code: z.string().describe(\"The promo code string.\").nullable(),\n uses: z.number().int().describe(\"Number of times this promo code has been used.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the promo code.\").nullable().optional(),\n endDate: z.string().describe(\"ISO 8601 timestamp when the promo code expires.\").nullable().optional(),\n maxUses: z.number().int().describe(\"Maximum number of times this promo code can be used.\").nullable().optional(),\n startDate: z.string().describe(\"ISO 8601 timestamp when the promo code becomes valid.\").nullable().optional(),\n discountType: z.string().describe(\"Type of discount (PERCENTAGE or FIXED).\").nullable(),\n discountAmount: z.number().int().describe(\"Discount amount (as integer percentage or cents).\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created promo code in Raisely.\");\n\nexport const raiselyCreatePromoCode: AppAction<\n typeof RaiselyCreatePromoCodeInput,\n typeof RaiselyCreatePromoCodeOutput,\n typeof raisely.credential\n> = 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":";;;AA2BA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7ByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EACrG,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAC/I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAChH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAClJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EAC/G,cAAc,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG;EAChK,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6IAA6I;CACzL,CAAC,CAAC,CAAC,SAAS,8DAoBH;CACP,QApB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to. Must be a valid HTTPS endpoint.\"),\n events: z.array(z.enum([\"badge.awarded\", \"badge.revoked\", \"donation.created\", \"donation.deleted\", \"donation.succeeded\", \"donation.updated\", \"donation.refunded\", \"post.created\", \"post.deleted\", \"post.updated\", \"profile.created\", \"profile.deleted\", \"profile.totalUpdated\", \"profile.exerciseTotalUpdated\", \"profile.updated\", \"profile.memberAdded\", \"profile.memberRemoved\", \"subscription.created\", \"subscription.deleted\", \"subscription.failed\", \"subscription.failing\", \"subscription.succeeded\", \"subscription.rebilled\", \"subscription.updated\", \"subscription.paused\", \"subscription.resumed\", \"subscription.cancelled\", \"user.created\", \"user.updated\", \"order.created\", \"order.succeeded\"]).describe(\"Available webhook event types in Raisely.\")).describe(\"Array of events to forward to the webhook. At least one event is required.\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").optional(),\n}).describe(\"Request parameters for creating a new webhook in Raisely.\");\nexport const RaiselyCreateWebhookOutput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook\").nullable(),\n events: z.array(z.string()).describe(\"Array of events to forward to the webhook\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created webhook in Raisely.\");\n\nexport const raiselyCreateWebhook = action(\"RAISELY_CREATE_WEBHOOK\", {\n slug: \"raisely-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to add a new webhook to your Raisely account. Use when you need to subscribe to event notifications. By default, webhooks trigger for events across all campaigns unless a specific campaignUuid is provided.\",\n input: RaiselyCreateWebhookInput,\n output: RaiselyCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC3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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { raisely } from \"../app\";\n\nexport const RaiselyCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to. Must be a valid HTTPS endpoint.\"),\n events: z.array(z.enum([\"badge.awarded\", \"badge.revoked\", \"donation.created\", \"donation.deleted\", \"donation.succeeded\", \"donation.updated\", \"donation.refunded\", \"post.created\", \"post.deleted\", \"post.updated\", \"profile.created\", \"profile.deleted\", \"profile.totalUpdated\", \"profile.exerciseTotalUpdated\", \"profile.updated\", \"profile.memberAdded\", \"profile.memberRemoved\", \"subscription.created\", \"subscription.deleted\", \"subscription.failed\", \"subscription.failing\", \"subscription.succeeded\", \"subscription.rebilled\", \"subscription.updated\", \"subscription.paused\", \"subscription.resumed\", \"subscription.cancelled\", \"user.created\", \"user.updated\", \"order.created\", \"order.succeeded\"]).describe(\"Available webhook event types in Raisely.\")).describe(\"Array of events to forward to the webhook. At least one event is required.\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").optional(),\n}).describe(\"Request parameters for creating a new webhook in Raisely.\");\nexport const RaiselyCreateWebhookOutput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook\").nullable(),\n events: z.array(z.string()).describe(\"Array of events to forward to the webhook\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created webhook in Raisely.\");\n\nexport const raiselyCreateWebhook: AppAction<\n typeof RaiselyCreateWebhookInput,\n typeof RaiselyCreateWebhookOutput,\n typeof raisely.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC3F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAiB;EAAoB;EAAoB;EAAsB;EAAoB;EAAqB;EAAgB;EAAgB;EAAgB;EAAmB;EAAmB;EAAwB;EAAgC;EAAmB;EAAuB;EAAyB;EAAwB;EAAwB;EAAuB;EAAwB;EAA0B;EAAyB;EAAwB;EAAuB;EAAwB;EAA0B;EAAgB;EAAgB;EAAiB;CAAiB,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,4EAA4E;CACtzB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACxK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { raisely } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -47,24 +49,7 @@ declare const RaiselyCreateWebhookOutput: z.ZodObject<{
47
49
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
50
  campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
51
  }, z.core.$loose>;
50
- declare const raiselyCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
51
- url: string;
52
- events: ("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")[];
53
- secret?: string | undefined;
54
- campaignUuid?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- generic_api_key: z.ZodString;
61
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
62
- connectionId: z.ZodString;
63
- entityId: z.ZodString;
64
- instanceId: z.ZodString;
65
- }, z.core.$strip>, z.ZodObject<{
66
- generic_api_key: z.ZodString;
67
- }, z.core.$strip>>]>;
52
+ declare const raiselyCreateWebhook: AppAction<typeof RaiselyCreateWebhookInput, typeof RaiselyCreateWebhookOutput, typeof raisely.credential>;
68
53
  //#endregion
69
54
  export { raiselyCreateWebhook };
70
55
  //# sourceMappingURL=create-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { raisely } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -47,24 +49,7 @@ declare const RaiselyCreateWebhookOutput: z.ZodObject<{
47
49
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
50
  campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
51
  }, z.core.$loose>;
50
- declare const raiselyCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
51
- url: string;
52
- events: ("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")[];
53
- secret?: string | undefined;
54
- campaignUuid?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- generic_api_key: z.ZodString;
61
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"raisely", z.ZodObject<{
62
- connectionId: z.ZodString;
63
- entityId: z.ZodString;
64
- instanceId: z.ZodString;
65
- }, z.core.$strip>, z.ZodObject<{
66
- generic_api_key: z.ZodString;
67
- }, z.core.$strip>>]>;
52
+ declare const raiselyCreateWebhook: AppAction<typeof RaiselyCreateWebhookInput, typeof RaiselyCreateWebhookOutput, typeof raisely.credential>;
68
53
  //#endregion
69
54
  export { raiselyCreateWebhook };
70
55
  //# sourceMappingURL=create-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const raiselyCreateWebhook = action("RAISELY_CREATE_WEBHOOK", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to. Must be a valid HTTPS endpoint.\"),\n events: z.array(z.enum([\"badge.awarded\", \"badge.revoked\", \"donation.created\", \"donation.deleted\", \"donation.succeeded\", \"donation.updated\", \"donation.refunded\", \"post.created\", \"post.deleted\", \"post.updated\", \"profile.created\", \"profile.deleted\", \"profile.totalUpdated\", \"profile.exerciseTotalUpdated\", \"profile.updated\", \"profile.memberAdded\", \"profile.memberRemoved\", \"subscription.created\", \"subscription.deleted\", \"subscription.failed\", \"subscription.failing\", \"subscription.succeeded\", \"subscription.rebilled\", \"subscription.updated\", \"subscription.paused\", \"subscription.resumed\", \"subscription.cancelled\", \"user.created\", \"user.updated\", \"order.created\", \"order.succeeded\"]).describe(\"Available webhook event types in Raisely.\")).describe(\"Array of events to forward to the webhook. At least one event is required.\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").optional(),\n}).describe(\"Request parameters for creating a new webhook in Raisely.\");\nexport const RaiselyCreateWebhookOutput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook\").nullable(),\n events: z.array(z.string()).describe(\"Array of events to forward to the webhook\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created webhook in Raisely.\");\n\nexport const raiselyCreateWebhook = action(\"RAISELY_CREATE_WEBHOOK\", {\n slug: \"raisely-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to add a new webhook to your Raisely account. Use when you need to subscribe to event notifications. By default, webhooks trigger for events across all campaigns unless a specific campaignUuid is provided.\",\n input: RaiselyCreateWebhookInput,\n output: RaiselyCreateWebhookOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC3F,QAAQ,EAAE,MAAM,EAAE,KAAK;GAAC;GAAiB;GAAiB;GAAoB;GAAoB;GAAsB;GAAoB;GAAqB;GAAgB;GAAgB;GAAgB;GAAmB;GAAmB;GAAwB;GAAgC;GAAmB;GAAuB;GAAyB;GAAwB;GAAwB;GAAuB;GAAwB;GAA0B;GAAyB;GAAwB;GAAuB;GAAwB;GAA0B;GAAgB;GAAgB;GAAiB;EAAiB,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,4EAA4E;EACtzB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EACxK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,2DAcH;CACP,QAdwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { raisely } from \"../app\";\n\nexport const RaiselyCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to. Must be a valid HTTPS endpoint.\"),\n events: z.array(z.enum([\"badge.awarded\", \"badge.revoked\", \"donation.created\", \"donation.deleted\", \"donation.succeeded\", \"donation.updated\", \"donation.refunded\", \"post.created\", \"post.deleted\", \"post.updated\", \"profile.created\", \"profile.deleted\", \"profile.totalUpdated\", \"profile.exerciseTotalUpdated\", \"profile.updated\", \"profile.memberAdded\", \"profile.memberRemoved\", \"subscription.created\", \"subscription.deleted\", \"subscription.failed\", \"subscription.failing\", \"subscription.succeeded\", \"subscription.rebilled\", \"subscription.updated\", \"subscription.paused\", \"subscription.resumed\", \"subscription.cancelled\", \"user.created\", \"user.updated\", \"order.created\", \"order.succeeded\"]).describe(\"Available webhook event types in Raisely.\")).describe(\"Array of events to forward to the webhook. At least one event is required.\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").optional(),\n}).describe(\"Request parameters for creating a new webhook in Raisely.\");\nexport const RaiselyCreateWebhookOutput = z.object({\n url: z.string().describe(\"The URL to send the webhooks to\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook\").nullable(),\n events: z.array(z.string()).describe(\"Array of events to forward to the webhook\"),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created webhook in Raisely.\");\n\nexport const raiselyCreateWebhook: AppAction<\n typeof RaiselyCreateWebhookInput,\n typeof RaiselyCreateWebhookOutput,\n typeof raisely.credential\n> = 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":";;;AAqBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE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-exercise-log.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-exercise-log.cjs","names":["z","action"],"sources":["../../src/actions/delete-exercise-log.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyDeleteExerciseLogInput = z.object({\n uuid: z.string().describe(\"The UUID of the exercise log to delete.\"),\n private: z.boolean().default(false).describe(\"Returns the full record when authenticated. Set to true to include private fields in the response.\").optional(),\n}).describe(\"Request parameters for deleting an exercise log from Raisely.\");\nconst RaiselyDeleteExerciseLog_ActivityTypeSchema = z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]);\nconst RaiselyDeleteExerciseLog_ExerciseLogDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data related to this log.\").nullable().optional(),\n date: z.string().describe(\"The date that this log took place.\").nullable().optional(),\n time: z.number().int().describe(\"Time elapsed in seconds.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the exercise log.\").nullable().optional(),\n measure: z.number().int().describe(\"Completed measure in campaign unit.\").nullable().optional(),\n activity: RaiselyDeleteExerciseLog_ActivityTypeSchema.nullable().optional(),\n distance: z.number().int().describe(\"Distance in meters.\").nullable().optional(),\n userUuid: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n sourceApp: z.string().describe(\"Source of the exercise logs (if any).\").nullable().optional(),\n activityId: z.number().int().describe(\"Strava activity id of the exercise (if any).\").nullable().optional(),\n profileUuid: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n rawDistance: z.number().int().describe(\"Internal Raisely field - ignored.\").nullable().optional(),\n}).passthrough().describe(\"Exercise log data object.\");\nexport const RaiselyDeleteExerciseLogOutput = z.object({\n data: RaiselyDeleteExerciseLog_ExerciseLogDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the deleted exercise log record.\");\n\nexport const raiselyDeleteExerciseLog = action(\"RAISELY_DELETE_EXERCISE_LOG\", {\n slug: \"raisely-delete-exercise-log\",\n name: \"Delete Exercise Log\",\n description: \"Tool to delete an exercise log from Raisely. Use when you need to remove a specific exercise log record by its UUID. Returns the deleted exercise log data for confirmation.\",\n input: RaiselyDeleteExerciseLogInput,\n output: RaiselyDeleteExerciseLogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,8CAA8CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAY;CAAW;CAAW;CAAiB;AAAO,CAAC;AAClI,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAM,+CAA+C,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-exercise-log.cjs","names":["z","action"],"sources":["../../src/actions/delete-exercise-log.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { raisely } from \"../app\";\n\nexport const RaiselyDeleteExerciseLogInput = z.object({\n uuid: z.string().describe(\"The UUID of the exercise log to delete.\"),\n private: z.boolean().default(false).describe(\"Returns the full record when authenticated. Set to true to include private fields in the response.\").optional(),\n}).describe(\"Request parameters for deleting an exercise log from Raisely.\");\nconst RaiselyDeleteExerciseLog_ActivityTypeSchema = z.enum([\"RUNNING\", \"SWIMMING\", \"CYCLING\", \"WALKING\", \"WHEELCHAIRING\", \"OTHER\"]);\nconst RaiselyDeleteExerciseLog_ExerciseLogDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional contextual data related to this log.\").nullable().optional(),\n date: z.string().describe(\"The date that this log took place.\").nullable().optional(),\n time: z.number().int().describe(\"Time elapsed in seconds.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the exercise log.\").nullable().optional(),\n measure: z.number().int().describe(\"Completed measure in campaign unit.\").nullable().optional(),\n activity: RaiselyDeleteExerciseLog_ActivityTypeSchema.nullable().optional(),\n distance: z.number().int().describe(\"Distance in meters.\").nullable().optional(),\n userUuid: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n sourceApp: z.string().describe(\"Source of the exercise logs (if any).\").nullable().optional(),\n activityId: z.number().int().describe(\"Strava activity id of the exercise (if any).\").nullable().optional(),\n profileUuid: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n rawDistance: z.number().int().describe(\"Internal Raisely field - ignored.\").nullable().optional(),\n}).passthrough().describe(\"Exercise log data object.\");\nexport const RaiselyDeleteExerciseLogOutput = z.object({\n data: RaiselyDeleteExerciseLog_ExerciseLogDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the deleted exercise log record.\");\n\nexport const raiselyDeleteExerciseLog: AppAction<\n typeof RaiselyDeleteExerciseLogInput,\n typeof RaiselyDeleteExerciseLogOutput,\n typeof raisely.credential\n> = action(\"RAISELY_DELETE_EXERCISE_LOG\", {\n slug: \"raisely-delete-exercise-log\",\n name: \"Delete Exercise Log\",\n description: \"Tool to delete an exercise log from Raisely. Use when you need to remove a specific exercise log record by its UUID. Returns the deleted exercise log data for confirmation.\",\n input: RaiselyDeleteExerciseLogInput,\n output: RaiselyDeleteExerciseLogOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IA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