@keystrokehq/raisely 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/check-profile-url.cjs +29 -0
- package/dist/actions/check-profile-url.cjs.map +1 -0
- package/dist/actions/check-profile-url.d.cts +9 -0
- package/dist/actions/check-profile-url.d.cts.map +1 -0
- package/dist/actions/check-profile-url.d.mts +9 -0
- package/dist/actions/check-profile-url.d.mts.map +1 -0
- package/dist/actions/check-profile-url.mjs +26 -0
- package/dist/actions/check-profile-url.mjs.map +1 -0
- package/dist/actions/check-user.cjs +19 -0
- package/dist/actions/check-user.cjs.map +1 -0
- package/dist/actions/check-user.d.cts +9 -0
- package/dist/actions/check-user.d.cts.map +1 -0
- package/dist/actions/check-user.d.mts +9 -0
- package/dist/actions/check-user.d.mts.map +1 -0
- package/dist/actions/check-user.mjs +16 -0
- package/dist/actions/check-user.mjs.map +1 -0
- package/dist/actions/create-campaign.cjs +80 -0
- package/dist/actions/create-campaign.cjs.map +1 -0
- package/dist/actions/create-campaign.d.cts +9 -0
- package/dist/actions/create-campaign.d.cts.map +1 -0
- package/dist/actions/create-campaign.d.mts +9 -0
- package/dist/actions/create-campaign.d.mts.map +1 -0
- package/dist/actions/create-campaign.mjs +79 -0
- package/dist/actions/create-campaign.mjs.map +1 -0
- package/dist/actions/create-donation.cjs +190 -0
- package/dist/actions/create-donation.cjs.map +1 -0
- package/dist/actions/create-donation.d.cts +9 -0
- package/dist/actions/create-donation.d.cts.map +1 -0
- package/dist/actions/create-donation.d.mts +9 -0
- package/dist/actions/create-donation.d.mts.map +1 -0
- package/dist/actions/create-donation.mjs +189 -0
- package/dist/actions/create-donation.mjs.map +1 -0
- package/dist/actions/create-exercise-log.cjs +55 -0
- package/dist/actions/create-exercise-log.cjs.map +1 -0
- package/dist/actions/create-exercise-log.d.cts +9 -0
- package/dist/actions/create-exercise-log.d.cts.map +1 -0
- package/dist/actions/create-exercise-log.d.mts +9 -0
- package/dist/actions/create-exercise-log.d.mts.map +1 -0
- package/dist/actions/create-exercise-log.mjs +54 -0
- package/dist/actions/create-exercise-log.mjs.map +1 -0
- package/dist/actions/create-interaction.cjs +50 -0
- package/dist/actions/create-interaction.cjs.map +1 -0
- package/dist/actions/create-interaction.d.cts +9 -0
- package/dist/actions/create-interaction.d.cts.map +1 -0
- package/dist/actions/create-interaction.d.mts +9 -0
- package/dist/actions/create-interaction.d.mts.map +1 -0
- package/dist/actions/create-interaction.mjs +49 -0
- package/dist/actions/create-interaction.mjs.map +1 -0
- package/dist/actions/create-post.cjs +35 -0
- package/dist/actions/create-post.cjs.map +1 -0
- package/dist/actions/create-post.d.cts +9 -0
- package/dist/actions/create-post.d.cts.map +1 -0
- package/dist/actions/create-post.d.mts +9 -0
- package/dist/actions/create-post.d.mts.map +1 -0
- package/dist/actions/create-post.mjs +32 -0
- package/dist/actions/create-post.mjs.map +1 -0
- package/dist/actions/create-promo-code.cjs +34 -0
- package/dist/actions/create-promo-code.cjs.map +1 -0
- package/dist/actions/create-promo-code.d.cts +9 -0
- package/dist/actions/create-promo-code.d.cts.map +1 -0
- package/dist/actions/create-promo-code.d.mts +9 -0
- package/dist/actions/create-promo-code.d.mts.map +1 -0
- package/dist/actions/create-promo-code.mjs +31 -0
- package/dist/actions/create-promo-code.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +60 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +57 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-exercise-log.cjs +41 -0
- package/dist/actions/delete-exercise-log.cjs.map +1 -0
- package/dist/actions/delete-exercise-log.d.cts +9 -0
- package/dist/actions/delete-exercise-log.d.cts.map +1 -0
- package/dist/actions/delete-exercise-log.d.mts +9 -0
- package/dist/actions/delete-exercise-log.d.mts.map +1 -0
- package/dist/actions/delete-exercise-log.mjs +40 -0
- package/dist/actions/delete-exercise-log.mjs.map +1 -0
- package/dist/actions/delete-interaction.cjs +52 -0
- package/dist/actions/delete-interaction.cjs.map +1 -0
- package/dist/actions/delete-interaction.d.cts +9 -0
- package/dist/actions/delete-interaction.d.cts.map +1 -0
- package/dist/actions/delete-interaction.d.mts +9 -0
- package/dist/actions/delete-interaction.d.mts.map +1 -0
- package/dist/actions/delete-interaction.mjs +51 -0
- package/dist/actions/delete-interaction.mjs.map +1 -0
- package/dist/actions/delete-post.cjs +64 -0
- package/dist/actions/delete-post.cjs.map +1 -0
- package/dist/actions/delete-post.d.cts +9 -0
- package/dist/actions/delete-post.d.cts.map +1 -0
- package/dist/actions/delete-post.d.mts +9 -0
- package/dist/actions/delete-post.d.mts.map +1 -0
- package/dist/actions/delete-post.mjs +63 -0
- package/dist/actions/delete-post.mjs.map +1 -0
- package/dist/actions/delete-profile.cjs +104 -0
- package/dist/actions/delete-profile.cjs.map +1 -0
- package/dist/actions/delete-profile.d.cts +9 -0
- package/dist/actions/delete-profile.d.cts.map +1 -0
- package/dist/actions/delete-profile.d.mts +9 -0
- package/dist/actions/delete-profile.d.mts.map +1 -0
- package/dist/actions/delete-profile.mjs +103 -0
- package/dist/actions/delete-profile.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +24 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +23 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/get-api-docs.cjs +37 -0
- package/dist/actions/get-api-docs.cjs.map +1 -0
- package/dist/actions/get-api-docs.d.cts +9 -0
- package/dist/actions/get-api-docs.d.cts.map +1 -0
- package/dist/actions/get-api-docs.d.mts +9 -0
- package/dist/actions/get-api-docs.d.mts.map +1 -0
- package/dist/actions/get-api-docs.mjs +36 -0
- package/dist/actions/get-api-docs.mjs.map +1 -0
- package/dist/actions/get-authenticate.cjs +61 -0
- package/dist/actions/get-authenticate.cjs.map +1 -0
- package/dist/actions/get-authenticate.d.cts +9 -0
- package/dist/actions/get-authenticate.d.cts.map +1 -0
- package/dist/actions/get-authenticate.d.mts +9 -0
- package/dist/actions/get-authenticate.d.mts.map +1 -0
- package/dist/actions/get-authenticate.mjs +60 -0
- package/dist/actions/get-authenticate.mjs.map +1 -0
- package/dist/actions/get-available-events.cjs +27 -0
- package/dist/actions/get-available-events.cjs.map +1 -0
- package/dist/actions/get-available-events.d.cts +9 -0
- package/dist/actions/get-available-events.d.cts.map +1 -0
- package/dist/actions/get-available-events.d.mts +9 -0
- package/dist/actions/get-available-events.d.mts.map +1 -0
- package/dist/actions/get-available-events.mjs +26 -0
- package/dist/actions/get-available-events.mjs.map +1 -0
- package/dist/actions/get-campaign-profile.cjs +94 -0
- package/dist/actions/get-campaign-profile.cjs.map +1 -0
- package/dist/actions/get-campaign-profile.d.cts +9 -0
- package/dist/actions/get-campaign-profile.d.cts.map +1 -0
- package/dist/actions/get-campaign-profile.d.mts +9 -0
- package/dist/actions/get-campaign-profile.d.mts.map +1 -0
- package/dist/actions/get-campaign-profile.mjs +93 -0
- package/dist/actions/get-campaign-profile.mjs.map +1 -0
- package/dist/actions/get-campaign.cjs +92 -0
- package/dist/actions/get-campaign.cjs.map +1 -0
- package/dist/actions/get-campaign.d.cts +9 -0
- package/dist/actions/get-campaign.d.cts.map +1 -0
- package/dist/actions/get-campaign.d.mts +9 -0
- package/dist/actions/get-campaign.d.mts.map +1 -0
- package/dist/actions/get-campaign.mjs +91 -0
- package/dist/actions/get-campaign.mjs.map +1 -0
- package/dist/actions/get-campaigns-profiles.cjs +58 -0
- package/dist/actions/get-campaigns-profiles.cjs.map +1 -0
- package/dist/actions/get-campaigns-profiles.d.cts +9 -0
- package/dist/actions/get-campaigns-profiles.d.cts.map +1 -0
- package/dist/actions/get-campaigns-profiles.d.mts +9 -0
- package/dist/actions/get-campaigns-profiles.d.mts.map +1 -0
- package/dist/actions/get-campaigns-profiles.mjs +57 -0
- package/dist/actions/get-campaigns-profiles.mjs.map +1 -0
- package/dist/actions/get-campaigns.cjs +55 -0
- package/dist/actions/get-campaigns.cjs.map +1 -0
- package/dist/actions/get-campaigns.d.cts +9 -0
- package/dist/actions/get-campaigns.d.cts.map +1 -0
- package/dist/actions/get-campaigns.d.mts +9 -0
- package/dist/actions/get-campaigns.d.mts.map +1 -0
- package/dist/actions/get-campaigns.mjs +54 -0
- package/dist/actions/get-campaigns.mjs.map +1 -0
- package/dist/actions/get-exercise-log.cjs +80 -0
- package/dist/actions/get-exercise-log.cjs.map +1 -0
- package/dist/actions/get-exercise-log.d.cts +9 -0
- package/dist/actions/get-exercise-log.d.cts.map +1 -0
- package/dist/actions/get-exercise-log.d.mts +9 -0
- package/dist/actions/get-exercise-log.d.mts.map +1 -0
- package/dist/actions/get-exercise-log.mjs +79 -0
- package/dist/actions/get-exercise-log.mjs.map +1 -0
- package/dist/actions/get-interaction.cjs +98 -0
- package/dist/actions/get-interaction.cjs.map +1 -0
- package/dist/actions/get-interaction.d.cts +9 -0
- package/dist/actions/get-interaction.d.cts.map +1 -0
- package/dist/actions/get-interaction.d.mts +9 -0
- package/dist/actions/get-interaction.d.mts.map +1 -0
- package/dist/actions/get-interaction.mjs +97 -0
- package/dist/actions/get-interaction.mjs.map +1 -0
- package/dist/actions/get-post.cjs +62 -0
- package/dist/actions/get-post.cjs.map +1 -0
- package/dist/actions/get-post.d.cts +9 -0
- package/dist/actions/get-post.d.cts.map +1 -0
- package/dist/actions/get-post.d.mts +9 -0
- package/dist/actions/get-post.d.mts.map +1 -0
- package/dist/actions/get-post.mjs +61 -0
- package/dist/actions/get-post.mjs.map +1 -0
- package/dist/actions/get-profile.cjs +113 -0
- package/dist/actions/get-profile.cjs.map +1 -0
- package/dist/actions/get-profile.d.cts +9 -0
- package/dist/actions/get-profile.d.cts.map +1 -0
- package/dist/actions/get-profile.d.mts +9 -0
- package/dist/actions/get-profile.d.mts.map +1 -0
- package/dist/actions/get-profile.mjs +112 -0
- package/dist/actions/get-profile.mjs.map +1 -0
- package/dist/actions/get-profiles.cjs +76 -0
- package/dist/actions/get-profiles.cjs.map +1 -0
- package/dist/actions/get-profiles.d.cts +9 -0
- package/dist/actions/get-profiles.d.cts.map +1 -0
- package/dist/actions/get-profiles.d.mts +9 -0
- package/dist/actions/get-profiles.d.mts.map +1 -0
- package/dist/actions/get-profiles.mjs +75 -0
- package/dist/actions/get-profiles.mjs.map +1 -0
- package/dist/actions/get-user-profiles.cjs +47 -0
- package/dist/actions/get-user-profiles.cjs.map +1 -0
- package/dist/actions/get-user-profiles.d.cts +9 -0
- package/dist/actions/get-user-profiles.d.cts.map +1 -0
- package/dist/actions/get-user-profiles.d.mts +9 -0
- package/dist/actions/get-user-profiles.d.mts.map +1 -0
- package/dist/actions/get-user-profiles.mjs +46 -0
- package/dist/actions/get-user-profiles.mjs.map +1 -0
- package/dist/actions/get-user.cjs +65 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +64 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/get-users.cjs +64 -0
- package/dist/actions/get-users.cjs.map +1 -0
- package/dist/actions/get-users.d.cts +9 -0
- package/dist/actions/get-users.d.cts.map +1 -0
- package/dist/actions/get-users.d.mts +9 -0
- package/dist/actions/get-users.d.mts.map +1 -0
- package/dist/actions/get-users.mjs +63 -0
- package/dist/actions/get-users.mjs.map +1 -0
- package/dist/actions/index.cjs +123 -0
- package/dist/actions/index.d.cts +62 -0
- package/dist/actions/index.d.mts +62 -0
- package/dist/actions/index.mjs +62 -0
- package/dist/actions/list-campaign-donations.cjs +134 -0
- package/dist/actions/list-campaign-donations.cjs.map +1 -0
- package/dist/actions/list-campaign-donations.d.cts +9 -0
- package/dist/actions/list-campaign-donations.d.cts.map +1 -0
- package/dist/actions/list-campaign-donations.d.mts +9 -0
- package/dist/actions/list-campaign-donations.d.mts.map +1 -0
- package/dist/actions/list-campaign-donations.mjs +133 -0
- package/dist/actions/list-campaign-donations.mjs.map +1 -0
- package/dist/actions/list-campaign-products.cjs +44 -0
- package/dist/actions/list-campaign-products.cjs.map +1 -0
- package/dist/actions/list-campaign-products.d.cts +9 -0
- package/dist/actions/list-campaign-products.d.cts.map +1 -0
- package/dist/actions/list-campaign-products.d.mts +9 -0
- package/dist/actions/list-campaign-products.d.mts.map +1 -0
- package/dist/actions/list-campaign-products.mjs +43 -0
- package/dist/actions/list-campaign-products.mjs.map +1 -0
- package/dist/actions/list-campaign-subscriptions.cjs +102 -0
- package/dist/actions/list-campaign-subscriptions.cjs.map +1 -0
- package/dist/actions/list-campaign-subscriptions.d.cts +9 -0
- package/dist/actions/list-campaign-subscriptions.d.cts.map +1 -0
- package/dist/actions/list-campaign-subscriptions.d.mts +9 -0
- package/dist/actions/list-campaign-subscriptions.d.mts.map +1 -0
- package/dist/actions/list-campaign-subscriptions.mjs +101 -0
- package/dist/actions/list-campaign-subscriptions.mjs.map +1 -0
- package/dist/actions/list-donations.cjs +134 -0
- package/dist/actions/list-donations.cjs.map +1 -0
- package/dist/actions/list-donations.d.cts +9 -0
- package/dist/actions/list-donations.d.cts.map +1 -0
- package/dist/actions/list-donations.d.mts +9 -0
- package/dist/actions/list-donations.d.mts.map +1 -0
- package/dist/actions/list-donations.mjs +133 -0
- package/dist/actions/list-donations.mjs.map +1 -0
- package/dist/actions/list-exercise-logs.cjs +57 -0
- package/dist/actions/list-exercise-logs.cjs.map +1 -0
- package/dist/actions/list-exercise-logs.d.cts +9 -0
- package/dist/actions/list-exercise-logs.d.cts.map +1 -0
- package/dist/actions/list-exercise-logs.d.mts +9 -0
- package/dist/actions/list-exercise-logs.d.mts.map +1 -0
- package/dist/actions/list-exercise-logs.mjs +56 -0
- package/dist/actions/list-exercise-logs.mjs.map +1 -0
- package/dist/actions/list-interaction-categories.cjs +52 -0
- package/dist/actions/list-interaction-categories.cjs.map +1 -0
- package/dist/actions/list-interaction-categories.d.cts +9 -0
- package/dist/actions/list-interaction-categories.d.cts.map +1 -0
- package/dist/actions/list-interaction-categories.d.mts +9 -0
- package/dist/actions/list-interaction-categories.d.mts.map +1 -0
- package/dist/actions/list-interaction-categories.mjs +51 -0
- package/dist/actions/list-interaction-categories.mjs.map +1 -0
- package/dist/actions/list-interactions.cjs +68 -0
- package/dist/actions/list-interactions.cjs.map +1 -0
- package/dist/actions/list-interactions.d.cts +9 -0
- package/dist/actions/list-interactions.d.cts.map +1 -0
- package/dist/actions/list-interactions.d.mts +9 -0
- package/dist/actions/list-interactions.d.mts.map +1 -0
- package/dist/actions/list-interactions.mjs +67 -0
- package/dist/actions/list-interactions.mjs.map +1 -0
- package/dist/actions/list-orders.cjs +62 -0
- package/dist/actions/list-orders.cjs.map +1 -0
- package/dist/actions/list-orders.d.cts +9 -0
- package/dist/actions/list-orders.d.cts.map +1 -0
- package/dist/actions/list-orders.d.mts +9 -0
- package/dist/actions/list-orders.d.mts.map +1 -0
- package/dist/actions/list-orders.mjs +61 -0
- package/dist/actions/list-orders.mjs.map +1 -0
- package/dist/actions/list-posts.cjs +64 -0
- package/dist/actions/list-posts.cjs.map +1 -0
- package/dist/actions/list-posts.d.cts +9 -0
- package/dist/actions/list-posts.d.cts.map +1 -0
- package/dist/actions/list-posts.d.mts +9 -0
- package/dist/actions/list-posts.d.mts.map +1 -0
- package/dist/actions/list-posts.mjs +63 -0
- package/dist/actions/list-posts.mjs.map +1 -0
- package/dist/actions/list-profile-donations.cjs +138 -0
- package/dist/actions/list-profile-donations.cjs.map +1 -0
- package/dist/actions/list-profile-donations.d.cts +9 -0
- package/dist/actions/list-profile-donations.d.cts.map +1 -0
- package/dist/actions/list-profile-donations.d.mts +9 -0
- package/dist/actions/list-profile-donations.d.mts.map +1 -0
- package/dist/actions/list-profile-donations.mjs +137 -0
- package/dist/actions/list-profile-donations.mjs.map +1 -0
- package/dist/actions/list-profile-members.cjs +81 -0
- package/dist/actions/list-profile-members.cjs.map +1 -0
- package/dist/actions/list-profile-members.d.cts +9 -0
- package/dist/actions/list-profile-members.d.cts.map +1 -0
- package/dist/actions/list-profile-members.d.mts +9 -0
- package/dist/actions/list-profile-members.d.mts.map +1 -0
- package/dist/actions/list-profile-members.mjs +80 -0
- package/dist/actions/list-profile-members.mjs.map +1 -0
- package/dist/actions/list-profile-posts.cjs +64 -0
- package/dist/actions/list-profile-posts.cjs.map +1 -0
- package/dist/actions/list-profile-posts.d.cts +9 -0
- package/dist/actions/list-profile-posts.d.cts.map +1 -0
- package/dist/actions/list-profile-posts.d.mts +9 -0
- package/dist/actions/list-profile-posts.d.mts.map +1 -0
- package/dist/actions/list-profile-posts.mjs +63 -0
- package/dist/actions/list-profile-posts.mjs.map +1 -0
- package/dist/actions/list-promo-codes.cjs +40 -0
- package/dist/actions/list-promo-codes.cjs.map +1 -0
- package/dist/actions/list-promo-codes.d.cts +9 -0
- package/dist/actions/list-promo-codes.d.cts.map +1 -0
- package/dist/actions/list-promo-codes.d.mts +9 -0
- package/dist/actions/list-promo-codes.d.mts.map +1 -0
- package/dist/actions/list-promo-codes.mjs +39 -0
- package/dist/actions/list-promo-codes.mjs.map +1 -0
- package/dist/actions/list-segments.cjs +48 -0
- package/dist/actions/list-segments.cjs.map +1 -0
- package/dist/actions/list-segments.d.cts +9 -0
- package/dist/actions/list-segments.d.cts.map +1 -0
- package/dist/actions/list-segments.d.mts +9 -0
- package/dist/actions/list-segments.d.mts.map +1 -0
- package/dist/actions/list-segments.mjs +47 -0
- package/dist/actions/list-segments.mjs.map +1 -0
- package/dist/actions/list-subscriptions2.cjs +104 -0
- package/dist/actions/list-subscriptions2.cjs.map +1 -0
- package/dist/actions/list-subscriptions2.d.cts +9 -0
- package/dist/actions/list-subscriptions2.d.cts.map +1 -0
- package/dist/actions/list-subscriptions2.d.mts +9 -0
- package/dist/actions/list-subscriptions2.d.mts.map +1 -0
- package/dist/actions/list-subscriptions2.mjs +103 -0
- package/dist/actions/list-subscriptions2.mjs.map +1 -0
- package/dist/actions/list-tags.cjs +47 -0
- package/dist/actions/list-tags.cjs.map +1 -0
- package/dist/actions/list-tags.d.cts +9 -0
- package/dist/actions/list-tags.d.cts.map +1 -0
- package/dist/actions/list-tags.d.mts +9 -0
- package/dist/actions/list-tags.d.mts.map +1 -0
- package/dist/actions/list-tags.mjs +46 -0
- package/dist/actions/list-tags.mjs.map +1 -0
- package/dist/actions/list-user-donations.cjs +138 -0
- package/dist/actions/list-user-donations.cjs.map +1 -0
- package/dist/actions/list-user-donations.d.cts +9 -0
- package/dist/actions/list-user-donations.d.cts.map +1 -0
- package/dist/actions/list-user-donations.d.mts +9 -0
- package/dist/actions/list-user-donations.d.mts.map +1 -0
- package/dist/actions/list-user-donations.mjs +137 -0
- package/dist/actions/list-user-donations.mjs.map +1 -0
- package/dist/actions/list-user-interactions.cjs +105 -0
- package/dist/actions/list-user-interactions.cjs.map +1 -0
- package/dist/actions/list-user-interactions.d.cts +9 -0
- package/dist/actions/list-user-interactions.d.cts.map +1 -0
- package/dist/actions/list-user-interactions.d.mts +9 -0
- package/dist/actions/list-user-interactions.d.mts.map +1 -0
- package/dist/actions/list-user-interactions.mjs +104 -0
- package/dist/actions/list-user-interactions.mjs.map +1 -0
- package/dist/actions/list-user-subscriptions.cjs +104 -0
- package/dist/actions/list-user-subscriptions.cjs.map +1 -0
- package/dist/actions/list-user-subscriptions.d.cts +9 -0
- package/dist/actions/list-user-subscriptions.d.cts.map +1 -0
- package/dist/actions/list-user-subscriptions.d.mts +9 -0
- package/dist/actions/list-user-subscriptions.d.mts.map +1 -0
- package/dist/actions/list-user-subscriptions.mjs +103 -0
- package/dist/actions/list-user-subscriptions.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +43 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +42 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/move-donation.cjs +126 -0
- package/dist/actions/move-donation.cjs.map +1 -0
- package/dist/actions/move-donation.d.cts +9 -0
- package/dist/actions/move-donation.d.cts.map +1 -0
- package/dist/actions/move-donation.d.mts +9 -0
- package/dist/actions/move-donation.d.mts.map +1 -0
- package/dist/actions/move-donation.mjs +125 -0
- package/dist/actions/move-donation.mjs.map +1 -0
- package/dist/actions/post-logout.cjs +16 -0
- package/dist/actions/post-logout.cjs.map +1 -0
- package/dist/actions/post-logout.d.cts +9 -0
- package/dist/actions/post-logout.d.cts.map +1 -0
- package/dist/actions/post-logout.d.mts +9 -0
- package/dist/actions/post-logout.d.mts.map +1 -0
- package/dist/actions/post-logout.mjs +13 -0
- package/dist/actions/post-logout.mjs.map +1 -0
- package/dist/actions/post-users.cjs +57 -0
- package/dist/actions/post-users.cjs.map +1 -0
- package/dist/actions/post-users.d.cts +9 -0
- package/dist/actions/post-users.d.cts.map +1 -0
- package/dist/actions/post-users.d.mts +9 -0
- package/dist/actions/post-users.d.mts.map +1 -0
- package/dist/actions/post-users.mjs +54 -0
- package/dist/actions/post-users.mjs.map +1 -0
- package/dist/actions/update-campaign-config.cjs +47 -0
- package/dist/actions/update-campaign-config.cjs.map +1 -0
- package/dist/actions/update-campaign-config.d.cts +9 -0
- package/dist/actions/update-campaign-config.d.cts.map +1 -0
- package/dist/actions/update-campaign-config.d.mts +9 -0
- package/dist/actions/update-campaign-config.d.mts.map +1 -0
- package/dist/actions/update-campaign-config.mjs +46 -0
- package/dist/actions/update-campaign-config.mjs.map +1 -0
- package/dist/actions/update-campaign.cjs +62 -0
- package/dist/actions/update-campaign.cjs.map +1 -0
- package/dist/actions/update-campaign.d.cts +9 -0
- package/dist/actions/update-campaign.d.cts.map +1 -0
- package/dist/actions/update-campaign.d.mts +9 -0
- package/dist/actions/update-campaign.d.mts.map +1 -0
- package/dist/actions/update-campaign.mjs +61 -0
- package/dist/actions/update-campaign.mjs.map +1 -0
- package/dist/actions/update-exercise-log.cjs +58 -0
- package/dist/actions/update-exercise-log.cjs.map +1 -0
- package/dist/actions/update-exercise-log.d.cts +9 -0
- package/dist/actions/update-exercise-log.d.cts.map +1 -0
- package/dist/actions/update-exercise-log.d.mts +9 -0
- package/dist/actions/update-exercise-log.d.mts.map +1 -0
- package/dist/actions/update-exercise-log.mjs +57 -0
- package/dist/actions/update-exercise-log.mjs.map +1 -0
- package/dist/actions/update-post.cjs +58 -0
- package/dist/actions/update-post.cjs.map +1 -0
- package/dist/actions/update-post.d.cts +9 -0
- package/dist/actions/update-post.d.cts.map +1 -0
- package/dist/actions/update-post.d.mts +9 -0
- package/dist/actions/update-post.d.mts.map +1 -0
- package/dist/actions/update-post.mjs +57 -0
- package/dist/actions/update-post.mjs.map +1 -0
- package/dist/actions/update-profile.cjs +98 -0
- package/dist/actions/update-profile.cjs.map +1 -0
- package/dist/actions/update-profile.d.cts +9 -0
- package/dist/actions/update-profile.d.cts.map +1 -0
- package/dist/actions/update-profile.d.mts +9 -0
- package/dist/actions/update-profile.d.mts.map +1 -0
- package/dist/actions/update-profile.mjs +97 -0
- package/dist/actions/update-profile.mjs.map +1 -0
- package/dist/actions/update-user.cjs +76 -0
- package/dist/actions/update-user.cjs.map +1 -0
- package/dist/actions/update-user.d.cts +9 -0
- package/dist/actions/update-user.d.cts.map +1 -0
- package/dist/actions/update-user.d.mts +9 -0
- package/dist/actions/update-user.d.mts.map +1 -0
- package/dist/actions/update-user.mjs +75 -0
- package/dist/actions/update-user.mjs.map +1 -0
- package/dist/actions/update-webhook.cjs +32 -0
- package/dist/actions/update-webhook.cjs.map +1 -0
- package/dist/actions/update-webhook.d.cts +9 -0
- package/dist/actions/update-webhook.d.cts.map +1 -0
- package/dist/actions/update-webhook.d.mts +9 -0
- package/dist/actions/update-webhook.d.mts.map +1 -0
- package/dist/actions/update-webhook.mjs +31 -0
- package/dist/actions/update-webhook.mjs.map +1 -0
- package/dist/actions/upload-campaign-media.cjs +28 -0
- package/dist/actions/upload-campaign-media.cjs.map +1 -0
- package/dist/actions/upload-campaign-media.d.cts +9 -0
- package/dist/actions/upload-campaign-media.d.cts.map +1 -0
- package/dist/actions/upload-campaign-media.d.mts +9 -0
- package/dist/actions/upload-campaign-media.d.mts.map +1 -0
- package/dist/actions/upload-campaign-media.mjs +27 -0
- package/dist/actions/upload-campaign-media.mjs.map +1 -0
- package/dist/actions/upsert-user.cjs +79 -0
- package/dist/actions/upsert-user.cjs.map +1 -0
- package/dist/actions/upsert-user.d.cts +9 -0
- package/dist/actions/upsert-user.d.cts.map +1 -0
- package/dist/actions/upsert-user.d.mts +9 -0
- package/dist/actions/upsert-user.d.mts.map +1 -0
- package/dist/actions/upsert-user.mjs +76 -0
- package/dist/actions/upsert-user.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +128 -0
- package/dist/index.d.cts +64 -0
- package/dist/index.d.mts +64 -0
- package/dist/index.mjs +65 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaign-profile.mjs","names":[],"sources":["../../src/actions/get-campaign-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetCampaignProfileInput: z.ZodTypeAny = z.object({\n campaign: z.string().describe(\"The UUID, path, or domain of the campaign to retrieve the profile for. Required parameter.\"),\n}).describe(\"Request schema for retrieving the campaign profile.\");\nconst RaiselyGetCampaignProfile_ProfileTypeSchema: z.ZodTypeAny = z.enum([\"INDIVIDUAL\", \"GROUP\", \"ORGANISATION\"]).describe(\"Type of profile.\");\nconst RaiselyGetCampaignProfile_ProfileStatusSchema: z.ZodTypeAny = z.enum([\"ACTIVE\", \"DELETED\"]).describe(\"Status of the profile.\");\nconst RaiselyGetCampaignProfile_NestedProfileSchema: z.ZodTypeAny = z.object({\n goal: z.number().int().describe(\"Fundraising target (in cents)\").nullable().optional(),\n name: z.string().describe(\"The name of the profile\").nullable().optional(),\n paid: z.boolean().describe(\"Flagged as true if this profile was used as part of a paid registration\").nullable().optional(),\n path: z.string().describe(\"The path of this record (for alternative lookup)\").nullable().optional(),\n type: z.string().describe(\"INDIVIDUAL, GROUP or ORGANISATION\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the record\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public values for this record\").nullable().optional(),\n shared: z.boolean().describe(\"Whether the profile has been shared\").nullable().optional(),\n status: z.string().describe(\"ACTIVE or DELETED\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private values for this record\").nullable().optional(),\n currency: z.string().describe(\"3 letter currency code\").nullable().optional(),\n photoUrl: z.string().describe(\"URL of the profile photo\").nullable().optional(),\n pronouns: z.string().describe(\"Pronouns of the profile\").nullable().optional(),\n createdAt: z.string().describe(\"Date the record was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Date the record was last updated\").nullable().optional(),\n description: z.string().describe(\"Public description of the fundraiser profile\").nullable().optional(),\n exerciseGoal: z.number().int().describe(\"The exercise distance goal for the profile, in metres\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Total unique donors to the profile\").nullable().optional(),\n activityTotal: z.number().int().describe(\"The total contribution of this profile towards its activity goal\").nullable().optional(),\n donationCount: z.number().int().describe(\"Total donations made to this profile and its children (excluded matched gifts)\").nullable().optional(),\n exerciseTotal: z.number().int().describe(\"The total distance of exercise completed, in metres\").nullable().optional(),\n fundraiserTheme: z.string().describe(\"Path of the DIY fundraiser theme selected by the fundraiser\").nullable().optional(),\n exerciseGoalTime: z.number().int().describe(\"The time spent exercising goal for the profile, in minutes\").nullable().optional(),\n teamProfileCount: z.number().int().describe(\"Number of team profiles that have joined this profile (or its descendants)\").nullable().optional(),\n exerciseTotalTime: z.number().int().describe(\"The total amount of time exercising, in minutes\").nullable().optional(),\n isCampaignProfile: z.boolean().describe(\"Shows true if this profile is the campaign profile\").nullable().optional(),\n selfDonationTotal: z.number().int().describe(\"The total amount raised by self-donations for an individual profile (in the currency of the campaign)\").nullable().optional(),\n activityTotalPercent: z.number().int().describe(\"The percentage of the total activity measure compared to the profile goal (out of 100)\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"The total amount raised by a profile (in the currency of the campaign)\").nullable().optional(),\n facebookFundraiserId: z.string().describe(\"Facebook Fundraiser ID linked to the profile\").nullable().optional(),\n nonSelfDonationTotal: z.number().int().describe(\"The total amount raised by a profile excluding self-donations (in the currency of the campaign)\").nullable().optional(),\n individualProfileCount: z.number().int().describe(\"Number of individual profiles that have joined this profile (or its descendants)\").nullable().optional(),\n organisationProfileCount: z.number().int().describe(\"Number of team profiles that have joined this profile (or its descendants)\").nullable().optional(),\n}).describe(\"Nested profile object (used for organisationProfile and teamProfile).\");\nconst RaiselyGetCampaignProfile_CampaignProfileSchema: z.ZodTypeAny = z.object({\n goal: z.number().int().describe(\"Fundraising target (in cents)\").nullable().optional(),\n name: z.string().describe(\"The name of the profile\").nullable().optional(),\n paid: z.boolean().describe(\"Flagged as true if this profile was used as part of a paid registration\").nullable().optional(),\n path: z.string().describe(\"The path of this record (for alternative lookup)\").nullable().optional(),\n type: RaiselyGetCampaignProfile_ProfileTypeSchema.nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the record\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public values for this record\").nullable().optional(),\n shared: z.boolean().describe(\"Whether the profile has been shared\").nullable().optional(),\n status: RaiselyGetCampaignProfile_ProfileStatusSchema.nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private values for this record\").nullable().optional(),\n currency: z.string().describe(\"3 letter currency code\").nullable().optional(),\n photoUrl: z.string().describe(\"URL of the profile photo\").nullable().optional(),\n pronouns: z.string().describe(\"Pronouns of the profile\").nullable().optional(),\n createdAt: z.string().describe(\"Date the record was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Date the record was last updated\").nullable().optional(),\n description: z.string().describe(\"Public description of the fundraiser profile\").nullable().optional(),\n teamProfile: RaiselyGetCampaignProfile_NestedProfileSchema.nullable().optional(),\n exerciseGoal: z.number().int().describe(\"The exercise distance goal for the profile, in metres\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Total unique donors to the profile\").nullable().optional(),\n activityTotal: z.number().int().describe(\"The total contribution of this profile towards its activity goal\").nullable().optional(),\n donationCount: z.number().int().describe(\"Total donations made to this profile and its children (excluded matched gifts)\").nullable().optional(),\n exerciseTotal: z.number().int().describe(\"The total distance of exercise completed, in metres\").nullable().optional(),\n fundraiserTheme: z.string().describe(\"Path of the DIY fundraiser theme selected by the fundraiser\").nullable().optional(),\n exerciseGoalTime: z.number().int().describe(\"The time spent exercising goal for the profile, in minutes\").nullable().optional(),\n teamProfileCount: z.number().int().describe(\"Number of team profiles that have joined this profile (or its descendants)\").nullable().optional(),\n exerciseTotalTime: z.number().int().describe(\"The total amount of time exercising, in minutes\").nullable().optional(),\n isCampaignProfile: z.boolean().describe(\"Shows true if this profile is the campaign profile\").nullable().optional(),\n selfDonationTotal: z.number().int().describe(\"The total amount raised by self-donations for an individual profile (in the currency of the campaign)\").nullable().optional(),\n organisationProfile: RaiselyGetCampaignProfile_NestedProfileSchema.nullable().optional(),\n activityTotalPercent: z.number().int().describe(\"The percentage of the total activity measure compared to the profile goal (out of 100)\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"The total amount raised by a profile (in the currency of the campaign)\").nullable().optional(),\n facebookFundraiserId: z.string().describe(\"Facebook Fundraiser ID linked to the profile\").nullable().optional(),\n nonSelfDonationTotal: z.number().int().describe(\"The total amount raised by a profile excluding self-donations (in the currency of the campaign)\").nullable().optional(),\n individualProfileCount: z.number().int().describe(\"Number of individual profiles that have joined this profile (or its descendants)\").nullable().optional(),\n organisationProfileCount: z.number().int().describe(\"Number of team profiles that have joined this profile (or its descendants)\").nullable().optional(),\n}).describe(\"The campaign profile object - the top level profile for all profiles in the campaign.\");\nexport const RaiselyGetCampaignProfileOutput: z.ZodTypeAny = z.object({\n data: RaiselyGetCampaignProfile_CampaignProfileSchema.nullable(),\n}).describe(\"Response schema containing the campaign profile.\");\n\nexport const raiselyGetCampaignProfile = action(\"RAISELY_GET_CAMPAIGN_PROFILE\", {\n slug: \"raisely-get-campaign-profile\",\n name: \"Get Campaign Profile\",\n description: \"Tool to retrieve the campaign profile for a Raisely campaign. The campaign profile is the top-level profile for all profiles in the campaign. It is hidden from the fundraising website, but will have the same name, path, and goal as your campaign.\",\n input: RaiselyGetCampaignProfileInput,\n output: RaiselyGetCampaignProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,EACnE,UAAU,EAAE,OAAO,CAAC,CAA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S,CAAC,CAAC,SAAS;CAC1K,qBAAqB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACvF,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAKnG,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-campaign.ts
|
|
4
|
+
const RaiselyGetCampaignInput = zod.z.object({
|
|
5
|
+
private: zod.z.boolean().describe("If true, returns the full record when authenticated with proper permissions.").optional(),
|
|
6
|
+
campaign: zod.z.string().describe("The UUID, path, or domain of the campaign to retrieve. Required parameter."),
|
|
7
|
+
includeTags: zod.z.boolean().describe("If true, also include any tags on this campaign record.").optional(),
|
|
8
|
+
pruneConfig: zod.z.boolean().describe("In private queries, removes the campaign.config to reduce request size.").optional()
|
|
9
|
+
}).describe("Request schema for retrieving a specific campaign from Raisely.");
|
|
10
|
+
const RaiselyGetCampaign_CampaignUrlSchema = zod.z.object({}).describe("Custom domain URL configuration.");
|
|
11
|
+
const RaiselyGetCampaign_CampaignConfigSchema = zod.z.object({
|
|
12
|
+
social: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Social media settings.").nullable().optional(),
|
|
13
|
+
activity: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Activity settings.").nullable().optional(),
|
|
14
|
+
thankyou: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Thank you settings.").nullable().optional()
|
|
15
|
+
}).describe("Campaign configuration object.");
|
|
16
|
+
const RaiselyGetCampaign_CampaignProfileSchema = zod.z.object({
|
|
17
|
+
goal: zod.z.number().int().describe("Fundraising goal amount in cents.").nullable().optional(),
|
|
18
|
+
name: zod.z.string().describe("Profile name.").nullable().optional(),
|
|
19
|
+
paid: zod.z.boolean().describe("Whether paid.").nullable().optional(),
|
|
20
|
+
path: zod.z.string().describe("URL path of the profile.").nullable().optional(),
|
|
21
|
+
type: zod.z.string().describe("Profile type.").nullable().optional(),
|
|
22
|
+
uuid: zod.z.string().describe("Unique identifier of the profile.").nullable().optional(),
|
|
23
|
+
public: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Public custom fields.").nullable().optional(),
|
|
24
|
+
shared: zod.z.boolean().describe("Whether the profile is shared.").nullable().optional(),
|
|
25
|
+
status: zod.z.string().describe("Profile status.").nullable().optional(),
|
|
26
|
+
private: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Private custom fields.").nullable().optional(),
|
|
27
|
+
currency: zod.z.string().describe("Currency code.").nullable().optional(),
|
|
28
|
+
photoUrl: zod.z.string().describe("URL to the profile photo.").nullable().optional(),
|
|
29
|
+
pronouns: zod.z.string().describe("Pronouns.").nullable().optional(),
|
|
30
|
+
createdAt: zod.z.string().describe("ISO timestamp when created.").nullable().optional(),
|
|
31
|
+
updatedAt: zod.z.string().describe("ISO timestamp when last updated.").nullable().optional(),
|
|
32
|
+
description: zod.z.string().describe("Profile description.").nullable().optional(),
|
|
33
|
+
exerciseGoal: zod.z.number().int().describe("Exercise goal amount.").nullable().optional(),
|
|
34
|
+
uniqueDonors: zod.z.number().int().describe("Number of unique donors.").nullable().optional(),
|
|
35
|
+
activityTotal: zod.z.number().int().describe("Total activity amount.").nullable().optional(),
|
|
36
|
+
donationCount: zod.z.number().int().describe("Number of donations.").nullable().optional(),
|
|
37
|
+
exerciseTotal: zod.z.number().int().describe("Total exercise completed.").nullable().optional(),
|
|
38
|
+
fundraiserTheme: zod.z.string().describe("Fundraiser theme name.").nullable().optional(),
|
|
39
|
+
exerciseGoalTime: zod.z.number().int().describe("Exercise goal time.").nullable().optional(),
|
|
40
|
+
teamProfileCount: zod.z.number().int().describe("Count of team profiles.").nullable().optional(),
|
|
41
|
+
exerciseTotalTime: zod.z.number().int().describe("Total exercise time completed.").nullable().optional(),
|
|
42
|
+
isCampaignProfile: zod.z.boolean().describe("Whether this is a campaign profile.").nullable().optional(),
|
|
43
|
+
selfDonationTotal: zod.z.number().int().describe("Total self-donations.").nullable().optional(),
|
|
44
|
+
activityTotalPercent: zod.z.number().int().describe("Activity total percentage.").nullable().optional(),
|
|
45
|
+
campaignDisplayTotal: zod.z.number().int().describe("Display total for the campaign.").nullable().optional(),
|
|
46
|
+
facebookFundraiserId: zod.z.string().describe("Facebook fundraiser ID.").nullable().optional(),
|
|
47
|
+
nonSelfDonationTotal: zod.z.number().int().describe("Total donations from others.").nullable().optional(),
|
|
48
|
+
individualProfileCount: zod.z.number().int().describe("Count of individual profiles.").nullable().optional(),
|
|
49
|
+
organisationProfileCount: zod.z.number().int().describe("Count of organisation profiles.").nullable().optional()
|
|
50
|
+
}).describe("Profile associated with the campaign.");
|
|
51
|
+
const RaiselyGetCampaign_CampaignSchema = zod.z.object({
|
|
52
|
+
url: zod.z.string().describe("URL of the campaign website.").nullable().optional(),
|
|
53
|
+
goal: zod.z.number().int().describe("Fundraising goal amount in cents."),
|
|
54
|
+
mode: zod.z.enum(["LIVE", "TEST"]).describe("Mode for payment processing. LIVE for real donations, TEST for testing."),
|
|
55
|
+
name: zod.z.string().describe("Name of the campaign."),
|
|
56
|
+
path: zod.z.string().describe("URL path of the campaign."),
|
|
57
|
+
urls: zod.z.array(RaiselyGetCampaign_CampaignUrlSchema).describe("Custom domains of the campaign.").nullable().optional(),
|
|
58
|
+
uuid: zod.z.string().describe("Unique identifier for the campaign."),
|
|
59
|
+
theme: zod.z.string().describe("The theme name used by this campaign."),
|
|
60
|
+
total: zod.z.number().int().describe("The total amount raised by the campaign in the campaign's currency (in cents).").nullable().optional(),
|
|
61
|
+
config: RaiselyGetCampaign_CampaignConfigSchema.nullable().optional(),
|
|
62
|
+
public: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Public custom fields for this campaign.").nullable().optional(),
|
|
63
|
+
status: zod.z.enum(["ACTIVE", "ARCHIVED"]).describe("Status of the campaign. Archived campaigns are no longer accessible and cannot receive donations.").nullable().optional(),
|
|
64
|
+
private: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Private custom fields for this campaign.").nullable().optional(),
|
|
65
|
+
profile: RaiselyGetCampaign_CampaignProfileSchema.nullable().optional(),
|
|
66
|
+
version: zod.z.string().describe("Theme version.").nullable().optional(),
|
|
67
|
+
currency: zod.z.string().describe("3 letter ISO currency code."),
|
|
68
|
+
createdAt: zod.z.string().describe("ISO timestamp when the campaign was created.").nullable().optional(),
|
|
69
|
+
deletedAt: zod.z.string().describe("ISO timestamp when the campaign was archived.").nullable().optional(),
|
|
70
|
+
publicKey: zod.z.string().describe("Internal Raisely field (ignored).").nullable().optional(),
|
|
71
|
+
grandTotal: zod.z.number().int().describe("The total amount raised by the campaign including registration fees (in cents).").nullable().optional(),
|
|
72
|
+
privateKey: zod.z.string().describe("Internal Raisely field (ignored).").nullable().optional(),
|
|
73
|
+
totalPercent: zod.z.number().int().describe("The decimal percentage of the total compared to the campaign goal.").nullable().optional(),
|
|
74
|
+
primaryDomain: zod.z.string().describe("Primary domain of the campaign.").nullable().optional(),
|
|
75
|
+
campaignEndsAt: zod.z.string().describe("ISO timestamp when the campaign ends (deprecated).").nullable().optional(),
|
|
76
|
+
allowExperiments: zod.z.boolean().describe("Allows the campaign to participate in Raisely experiments.").nullable().optional(),
|
|
77
|
+
organisationUuid: zod.z.string().describe("Unique identifier for the organisation.").nullable().optional(),
|
|
78
|
+
defaultCampaignFund: zod.z.unknown().describe("Fund assigned as the default fund for the campaign. Can be a string or dict.").nullable().optional(),
|
|
79
|
+
showRaiselyCheckbox: zod.z.boolean().describe("Boolean indicating if the Raisely fee checkbox is shown on this campaign.").nullable().optional()
|
|
80
|
+
}).describe("A campaign object from Raisely representing a fundraising campaign.");
|
|
81
|
+
const RaiselyGetCampaignOutput = zod.z.object({ data: RaiselyGetCampaign_CampaignSchema.nullable() }).describe("Response schema for retrieving a specific campaign from Raisely.");
|
|
82
|
+
const raiselyGetCampaign = require_action.action("RAISELY_GET_CAMPAIGN", {
|
|
83
|
+
slug: "raisely-get-campaign",
|
|
84
|
+
name: "Get Campaign",
|
|
85
|
+
description: "Tool to retrieve a specific campaign from Raisely. Use when you need to get details for a single campaign by UUID, path, or domain.",
|
|
86
|
+
input: RaiselyGetCampaignInput,
|
|
87
|
+
output: RaiselyGetCampaignOutput
|
|
88
|
+
});
|
|
89
|
+
//#endregion
|
|
90
|
+
exports.raiselyGetCampaign = raiselyGetCampaign;
|
|
91
|
+
|
|
92
|
+
//# sourceMappingURL=get-campaign.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaign.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetCampaignInput: z.ZodTypeAny = z.object({\n private: z.boolean().describe(\"If true, returns the full record when authenticated with proper permissions.\").optional(),\n campaign: z.string().describe(\"The UUID, path, or domain of the campaign to retrieve. Required parameter.\"),\n includeTags: z.boolean().describe(\"If true, also include any tags on this campaign record.\").optional(),\n pruneConfig: z.boolean().describe(\"In private queries, removes the campaign.config to reduce request size.\").optional(),\n}).describe(\"Request schema for retrieving a specific campaign from Raisely.\");\nconst RaiselyGetCampaign_CampaignUrlSchema: z.ZodTypeAny = z.object({}).describe(\"Custom domain URL configuration.\");\nconst RaiselyGetCampaign_CampaignConfigSchema: z.ZodTypeAny = z.object({\n social: z.record(z.string(), z.unknown()).describe(\"Social media settings.\").nullable().optional(),\n activity: z.record(z.string(), z.unknown()).describe(\"Activity settings.\").nullable().optional(),\n thankyou: z.record(z.string(), z.unknown()).describe(\"Thank you settings.\").nullable().optional(),\n}).describe(\"Campaign configuration object.\");\nconst RaiselyGetCampaign_CampaignProfileSchema: z.ZodTypeAny = z.object({\n goal: z.number().int().describe(\"Fundraising goal amount in cents.\").nullable().optional(),\n name: z.string().describe(\"Profile name.\").nullable().optional(),\n paid: z.boolean().describe(\"Whether paid.\").nullable().optional(),\n path: z.string().describe(\"URL path of the profile.\").nullable().optional(),\n type: z.string().describe(\"Profile type.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the profile.\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields.\").nullable().optional(),\n shared: z.boolean().describe(\"Whether the profile is shared.\").nullable().optional(),\n status: z.string().describe(\"Profile status.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields.\").nullable().optional(),\n currency: z.string().describe(\"Currency code.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the profile photo.\").nullable().optional(),\n pronouns: z.string().describe(\"Pronouns.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when last updated.\").nullable().optional(),\n description: z.string().describe(\"Profile description.\").nullable().optional(),\n exerciseGoal: z.number().int().describe(\"Exercise goal amount.\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Number of unique donors.\").nullable().optional(),\n activityTotal: z.number().int().describe(\"Total activity amount.\").nullable().optional(),\n donationCount: z.number().int().describe(\"Number of donations.\").nullable().optional(),\n exerciseTotal: z.number().int().describe(\"Total exercise completed.\").nullable().optional(),\n fundraiserTheme: z.string().describe(\"Fundraiser theme name.\").nullable().optional(),\n exerciseGoalTime: z.number().int().describe(\"Exercise goal time.\").nullable().optional(),\n teamProfileCount: z.number().int().describe(\"Count of team profiles.\").nullable().optional(),\n exerciseTotalTime: z.number().int().describe(\"Total exercise time completed.\").nullable().optional(),\n isCampaignProfile: z.boolean().describe(\"Whether this is a campaign profile.\").nullable().optional(),\n selfDonationTotal: z.number().int().describe(\"Total self-donations.\").nullable().optional(),\n activityTotalPercent: z.number().int().describe(\"Activity total percentage.\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"Display total for the campaign.\").nullable().optional(),\n facebookFundraiserId: z.string().describe(\"Facebook fundraiser ID.\").nullable().optional(),\n nonSelfDonationTotal: z.number().int().describe(\"Total donations from others.\").nullable().optional(),\n individualProfileCount: z.number().int().describe(\"Count of individual profiles.\").nullable().optional(),\n organisationProfileCount: z.number().int().describe(\"Count of organisation profiles.\").nullable().optional(),\n}).describe(\"Profile associated with the campaign.\");\nconst RaiselyGetCampaign_CampaignSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the campaign website.\").nullable().optional(),\n goal: z.number().int().describe(\"Fundraising goal amount in cents.\"),\n mode: z.enum([\"LIVE\", \"TEST\"]).describe(\"Mode for payment processing. LIVE for real donations, TEST for testing.\"),\n name: z.string().describe(\"Name of the campaign.\"),\n path: z.string().describe(\"URL path of the campaign.\"),\n urls: z.array(RaiselyGetCampaign_CampaignUrlSchema).describe(\"Custom domains of the campaign.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the campaign.\"),\n theme: z.string().describe(\"The theme name used by this campaign.\"),\n total: z.number().int().describe(\"The total amount raised by the campaign in the campaign's currency (in cents).\").nullable().optional(),\n config: RaiselyGetCampaign_CampaignConfigSchema.nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields for this campaign.\").nullable().optional(),\n status: z.enum([\"ACTIVE\", \"ARCHIVED\"]).describe(\"Status of the campaign. Archived campaigns are no longer accessible and cannot receive donations.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields for this campaign.\").nullable().optional(),\n profile: RaiselyGetCampaign_CampaignProfileSchema.nullable().optional(),\n version: z.string().describe(\"Theme version.\").nullable().optional(),\n currency: z.string().describe(\"3 letter ISO currency code.\"),\n createdAt: z.string().describe(\"ISO timestamp when the campaign was created.\").nullable().optional(),\n deletedAt: z.string().describe(\"ISO timestamp when the campaign was archived.\").nullable().optional(),\n publicKey: z.string().describe(\"Internal Raisely field (ignored).\").nullable().optional(),\n grandTotal: z.number().int().describe(\"The total amount raised by the campaign including registration fees (in cents).\").nullable().optional(),\n privateKey: z.string().describe(\"Internal Raisely field (ignored).\").nullable().optional(),\n totalPercent: z.number().int().describe(\"The decimal percentage of the total compared to the campaign goal.\").nullable().optional(),\n primaryDomain: z.string().describe(\"Primary domain of the campaign.\").nullable().optional(),\n campaignEndsAt: z.string().describe(\"ISO timestamp when the campaign ends (deprecated).\").nullable().optional(),\n allowExperiments: z.boolean().describe(\"Allows the campaign to participate in Raisely experiments.\").nullable().optional(),\n organisationUuid: z.string().describe(\"Unique identifier for the organisation.\").nullable().optional(),\n defaultCampaignFund: z.unknown().describe(\"Fund assigned as the default fund for the campaign. Can be a string or dict.\").nullable().optional(),\n showRaiselyCheckbox: z.boolean().describe(\"Boolean indicating if the Raisely fee checkbox is shown on this campaign.\").nullable().optional(),\n}).describe(\"A campaign object from Raisely representing a fundraising campaign.\");\nexport const RaiselyGetCampaignOutput: z.ZodTypeAny = z.object({\n data: RaiselyGetCampaign_CampaignSchema.nullable(),\n}).describe(\"Response schema for retrieving a specific campaign from Raisely.\");\n\nexport const raiselyGetCampaign = action(\"RAISELY_GET_CAMPAIGN\", {\n slug: \"raisely-get-campaign\",\n name: \"Get Campaign\",\n description: \"Tool to retrieve a specific campaign from Raisely. Use when you need to get details for a single campaign by UUID, path, or domain.\",\n input: RaiselyGetCampaignInput,\n output: RaiselyGetCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC1G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uCAAqDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC;AACnH,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,gCA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A,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAM,kCAAkC,SAAS,EACnD,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-campaign.d.ts
|
|
4
|
+
declare const RaiselyGetCampaignInput: z.ZodTypeAny;
|
|
5
|
+
declare const RaiselyGetCampaignOutput: z.ZodTypeAny;
|
|
6
|
+
declare const raiselyGetCampaign: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { raiselyGetCampaign };
|
|
9
|
+
//# sourceMappingURL=get-campaign.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaign.d.cts","names":[],"sources":["../../src/actions/get-campaign.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKsC;AAAA,cAwEjE,wBAAA,EAA0B,CAAA,CAAE,UAEsC;AAAA,cAElE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-campaign.d.ts
|
|
4
|
+
declare const RaiselyGetCampaignInput: z.ZodTypeAny;
|
|
5
|
+
declare const RaiselyGetCampaignOutput: z.ZodTypeAny;
|
|
6
|
+
declare const raiselyGetCampaign: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { raiselyGetCampaign };
|
|
9
|
+
//# sourceMappingURL=get-campaign.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaign.d.mts","names":[],"sources":["../../src/actions/get-campaign.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKsC;AAAA,cAwEjE,wBAAA,EAA0B,CAAA,CAAE,UAEsC;AAAA,cAElE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-campaign.ts
|
|
4
|
+
const RaiselyGetCampaignInput = z.object({
|
|
5
|
+
private: z.boolean().describe("If true, returns the full record when authenticated with proper permissions.").optional(),
|
|
6
|
+
campaign: z.string().describe("The UUID, path, or domain of the campaign to retrieve. Required parameter."),
|
|
7
|
+
includeTags: z.boolean().describe("If true, also include any tags on this campaign record.").optional(),
|
|
8
|
+
pruneConfig: z.boolean().describe("In private queries, removes the campaign.config to reduce request size.").optional()
|
|
9
|
+
}).describe("Request schema for retrieving a specific campaign from Raisely.");
|
|
10
|
+
const RaiselyGetCampaign_CampaignUrlSchema = z.object({}).describe("Custom domain URL configuration.");
|
|
11
|
+
const RaiselyGetCampaign_CampaignConfigSchema = z.object({
|
|
12
|
+
social: z.record(z.string(), z.unknown()).describe("Social media settings.").nullable().optional(),
|
|
13
|
+
activity: z.record(z.string(), z.unknown()).describe("Activity settings.").nullable().optional(),
|
|
14
|
+
thankyou: z.record(z.string(), z.unknown()).describe("Thank you settings.").nullable().optional()
|
|
15
|
+
}).describe("Campaign configuration object.");
|
|
16
|
+
const RaiselyGetCampaign_CampaignProfileSchema = z.object({
|
|
17
|
+
goal: z.number().int().describe("Fundraising goal amount in cents.").nullable().optional(),
|
|
18
|
+
name: z.string().describe("Profile name.").nullable().optional(),
|
|
19
|
+
paid: z.boolean().describe("Whether paid.").nullable().optional(),
|
|
20
|
+
path: z.string().describe("URL path of the profile.").nullable().optional(),
|
|
21
|
+
type: z.string().describe("Profile type.").nullable().optional(),
|
|
22
|
+
uuid: z.string().describe("Unique identifier of the profile.").nullable().optional(),
|
|
23
|
+
public: z.record(z.string(), z.unknown()).describe("Public custom fields.").nullable().optional(),
|
|
24
|
+
shared: z.boolean().describe("Whether the profile is shared.").nullable().optional(),
|
|
25
|
+
status: z.string().describe("Profile status.").nullable().optional(),
|
|
26
|
+
private: z.record(z.string(), z.unknown()).describe("Private custom fields.").nullable().optional(),
|
|
27
|
+
currency: z.string().describe("Currency code.").nullable().optional(),
|
|
28
|
+
photoUrl: z.string().describe("URL to the profile photo.").nullable().optional(),
|
|
29
|
+
pronouns: z.string().describe("Pronouns.").nullable().optional(),
|
|
30
|
+
createdAt: z.string().describe("ISO timestamp when created.").nullable().optional(),
|
|
31
|
+
updatedAt: z.string().describe("ISO timestamp when last updated.").nullable().optional(),
|
|
32
|
+
description: z.string().describe("Profile description.").nullable().optional(),
|
|
33
|
+
exerciseGoal: z.number().int().describe("Exercise goal amount.").nullable().optional(),
|
|
34
|
+
uniqueDonors: z.number().int().describe("Number of unique donors.").nullable().optional(),
|
|
35
|
+
activityTotal: z.number().int().describe("Total activity amount.").nullable().optional(),
|
|
36
|
+
donationCount: z.number().int().describe("Number of donations.").nullable().optional(),
|
|
37
|
+
exerciseTotal: z.number().int().describe("Total exercise completed.").nullable().optional(),
|
|
38
|
+
fundraiserTheme: z.string().describe("Fundraiser theme name.").nullable().optional(),
|
|
39
|
+
exerciseGoalTime: z.number().int().describe("Exercise goal time.").nullable().optional(),
|
|
40
|
+
teamProfileCount: z.number().int().describe("Count of team profiles.").nullable().optional(),
|
|
41
|
+
exerciseTotalTime: z.number().int().describe("Total exercise time completed.").nullable().optional(),
|
|
42
|
+
isCampaignProfile: z.boolean().describe("Whether this is a campaign profile.").nullable().optional(),
|
|
43
|
+
selfDonationTotal: z.number().int().describe("Total self-donations.").nullable().optional(),
|
|
44
|
+
activityTotalPercent: z.number().int().describe("Activity total percentage.").nullable().optional(),
|
|
45
|
+
campaignDisplayTotal: z.number().int().describe("Display total for the campaign.").nullable().optional(),
|
|
46
|
+
facebookFundraiserId: z.string().describe("Facebook fundraiser ID.").nullable().optional(),
|
|
47
|
+
nonSelfDonationTotal: z.number().int().describe("Total donations from others.").nullable().optional(),
|
|
48
|
+
individualProfileCount: z.number().int().describe("Count of individual profiles.").nullable().optional(),
|
|
49
|
+
organisationProfileCount: z.number().int().describe("Count of organisation profiles.").nullable().optional()
|
|
50
|
+
}).describe("Profile associated with the campaign.");
|
|
51
|
+
const RaiselyGetCampaign_CampaignSchema = z.object({
|
|
52
|
+
url: z.string().describe("URL of the campaign website.").nullable().optional(),
|
|
53
|
+
goal: z.number().int().describe("Fundraising goal amount in cents."),
|
|
54
|
+
mode: z.enum(["LIVE", "TEST"]).describe("Mode for payment processing. LIVE for real donations, TEST for testing."),
|
|
55
|
+
name: z.string().describe("Name of the campaign."),
|
|
56
|
+
path: z.string().describe("URL path of the campaign."),
|
|
57
|
+
urls: z.array(RaiselyGetCampaign_CampaignUrlSchema).describe("Custom domains of the campaign.").nullable().optional(),
|
|
58
|
+
uuid: z.string().describe("Unique identifier for the campaign."),
|
|
59
|
+
theme: z.string().describe("The theme name used by this campaign."),
|
|
60
|
+
total: z.number().int().describe("The total amount raised by the campaign in the campaign's currency (in cents).").nullable().optional(),
|
|
61
|
+
config: RaiselyGetCampaign_CampaignConfigSchema.nullable().optional(),
|
|
62
|
+
public: z.record(z.string(), z.unknown()).describe("Public custom fields for this campaign.").nullable().optional(),
|
|
63
|
+
status: z.enum(["ACTIVE", "ARCHIVED"]).describe("Status of the campaign. Archived campaigns are no longer accessible and cannot receive donations.").nullable().optional(),
|
|
64
|
+
private: z.record(z.string(), z.unknown()).describe("Private custom fields for this campaign.").nullable().optional(),
|
|
65
|
+
profile: RaiselyGetCampaign_CampaignProfileSchema.nullable().optional(),
|
|
66
|
+
version: z.string().describe("Theme version.").nullable().optional(),
|
|
67
|
+
currency: z.string().describe("3 letter ISO currency code."),
|
|
68
|
+
createdAt: z.string().describe("ISO timestamp when the campaign was created.").nullable().optional(),
|
|
69
|
+
deletedAt: z.string().describe("ISO timestamp when the campaign was archived.").nullable().optional(),
|
|
70
|
+
publicKey: z.string().describe("Internal Raisely field (ignored).").nullable().optional(),
|
|
71
|
+
grandTotal: z.number().int().describe("The total amount raised by the campaign including registration fees (in cents).").nullable().optional(),
|
|
72
|
+
privateKey: z.string().describe("Internal Raisely field (ignored).").nullable().optional(),
|
|
73
|
+
totalPercent: z.number().int().describe("The decimal percentage of the total compared to the campaign goal.").nullable().optional(),
|
|
74
|
+
primaryDomain: z.string().describe("Primary domain of the campaign.").nullable().optional(),
|
|
75
|
+
campaignEndsAt: z.string().describe("ISO timestamp when the campaign ends (deprecated).").nullable().optional(),
|
|
76
|
+
allowExperiments: z.boolean().describe("Allows the campaign to participate in Raisely experiments.").nullable().optional(),
|
|
77
|
+
organisationUuid: z.string().describe("Unique identifier for the organisation.").nullable().optional(),
|
|
78
|
+
defaultCampaignFund: z.unknown().describe("Fund assigned as the default fund for the campaign. Can be a string or dict.").nullable().optional(),
|
|
79
|
+
showRaiselyCheckbox: z.boolean().describe("Boolean indicating if the Raisely fee checkbox is shown on this campaign.").nullable().optional()
|
|
80
|
+
}).describe("A campaign object from Raisely representing a fundraising campaign.");
|
|
81
|
+
const raiselyGetCampaign = action("RAISELY_GET_CAMPAIGN", {
|
|
82
|
+
slug: "raisely-get-campaign",
|
|
83
|
+
name: "Get Campaign",
|
|
84
|
+
description: "Tool to retrieve a specific campaign from Raisely. Use when you need to get details for a single campaign by UUID, path, or domain.",
|
|
85
|
+
input: RaiselyGetCampaignInput,
|
|
86
|
+
output: z.object({ data: RaiselyGetCampaign_CampaignSchema.nullable() }).describe("Response schema for retrieving a specific campaign from Raisely.")
|
|
87
|
+
});
|
|
88
|
+
//#endregion
|
|
89
|
+
export { raiselyGetCampaign };
|
|
90
|
+
|
|
91
|
+
//# sourceMappingURL=get-campaign.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaign.mjs","names":[],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetCampaignInput: z.ZodTypeAny = z.object({\n private: z.boolean().describe(\"If true, returns the full record when authenticated with proper permissions.\").optional(),\n campaign: z.string().describe(\"The UUID, path, or domain of the campaign to retrieve. Required parameter.\"),\n includeTags: z.boolean().describe(\"If true, also include any tags on this campaign record.\").optional(),\n pruneConfig: z.boolean().describe(\"In private queries, removes the campaign.config to reduce request size.\").optional(),\n}).describe(\"Request schema for retrieving a specific campaign from Raisely.\");\nconst RaiselyGetCampaign_CampaignUrlSchema: z.ZodTypeAny = z.object({}).describe(\"Custom domain URL configuration.\");\nconst RaiselyGetCampaign_CampaignConfigSchema: z.ZodTypeAny = z.object({\n social: z.record(z.string(), z.unknown()).describe(\"Social media settings.\").nullable().optional(),\n activity: z.record(z.string(), z.unknown()).describe(\"Activity settings.\").nullable().optional(),\n thankyou: z.record(z.string(), z.unknown()).describe(\"Thank you settings.\").nullable().optional(),\n}).describe(\"Campaign configuration object.\");\nconst RaiselyGetCampaign_CampaignProfileSchema: z.ZodTypeAny = z.object({\n goal: z.number().int().describe(\"Fundraising goal amount in cents.\").nullable().optional(),\n name: z.string().describe(\"Profile name.\").nullable().optional(),\n paid: z.boolean().describe(\"Whether paid.\").nullable().optional(),\n path: z.string().describe(\"URL path of the profile.\").nullable().optional(),\n type: z.string().describe(\"Profile type.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the profile.\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields.\").nullable().optional(),\n shared: z.boolean().describe(\"Whether the profile is shared.\").nullable().optional(),\n status: z.string().describe(\"Profile status.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields.\").nullable().optional(),\n currency: z.string().describe(\"Currency code.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the profile photo.\").nullable().optional(),\n pronouns: z.string().describe(\"Pronouns.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when last updated.\").nullable().optional(),\n description: z.string().describe(\"Profile description.\").nullable().optional(),\n exerciseGoal: z.number().int().describe(\"Exercise goal amount.\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Number of unique donors.\").nullable().optional(),\n activityTotal: z.number().int().describe(\"Total activity amount.\").nullable().optional(),\n donationCount: z.number().int().describe(\"Number of donations.\").nullable().optional(),\n exerciseTotal: z.number().int().describe(\"Total exercise completed.\").nullable().optional(),\n fundraiserTheme: z.string().describe(\"Fundraiser theme name.\").nullable().optional(),\n exerciseGoalTime: z.number().int().describe(\"Exercise goal time.\").nullable().optional(),\n teamProfileCount: z.number().int().describe(\"Count of team profiles.\").nullable().optional(),\n exerciseTotalTime: z.number().int().describe(\"Total exercise time completed.\").nullable().optional(),\n isCampaignProfile: z.boolean().describe(\"Whether this is a campaign profile.\").nullable().optional(),\n selfDonationTotal: z.number().int().describe(\"Total self-donations.\").nullable().optional(),\n activityTotalPercent: z.number().int().describe(\"Activity total percentage.\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"Display total for the campaign.\").nullable().optional(),\n facebookFundraiserId: z.string().describe(\"Facebook fundraiser ID.\").nullable().optional(),\n nonSelfDonationTotal: z.number().int().describe(\"Total donations from others.\").nullable().optional(),\n individualProfileCount: z.number().int().describe(\"Count of individual profiles.\").nullable().optional(),\n organisationProfileCount: z.number().int().describe(\"Count of organisation profiles.\").nullable().optional(),\n}).describe(\"Profile associated with the campaign.\");\nconst RaiselyGetCampaign_CampaignSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the campaign website.\").nullable().optional(),\n goal: z.number().int().describe(\"Fundraising goal amount in cents.\"),\n mode: z.enum([\"LIVE\", \"TEST\"]).describe(\"Mode for payment processing. LIVE for real donations, TEST for testing.\"),\n name: z.string().describe(\"Name of the campaign.\"),\n path: z.string().describe(\"URL path of the campaign.\"),\n urls: z.array(RaiselyGetCampaign_CampaignUrlSchema).describe(\"Custom domains of the campaign.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the campaign.\"),\n theme: z.string().describe(\"The theme name used by this campaign.\"),\n total: z.number().int().describe(\"The total amount raised by the campaign in the campaign's currency (in cents).\").nullable().optional(),\n config: RaiselyGetCampaign_CampaignConfigSchema.nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields for this campaign.\").nullable().optional(),\n status: z.enum([\"ACTIVE\", \"ARCHIVED\"]).describe(\"Status of the campaign. Archived campaigns are no longer accessible and cannot receive donations.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields for this campaign.\").nullable().optional(),\n profile: RaiselyGetCampaign_CampaignProfileSchema.nullable().optional(),\n version: z.string().describe(\"Theme version.\").nullable().optional(),\n currency: z.string().describe(\"3 letter ISO currency code.\"),\n createdAt: z.string().describe(\"ISO timestamp when the campaign was created.\").nullable().optional(),\n deletedAt: z.string().describe(\"ISO timestamp when the campaign was archived.\").nullable().optional(),\n publicKey: z.string().describe(\"Internal Raisely field (ignored).\").nullable().optional(),\n grandTotal: z.number().int().describe(\"The total amount raised by the campaign including registration fees (in cents).\").nullable().optional(),\n privateKey: z.string().describe(\"Internal Raisely field (ignored).\").nullable().optional(),\n totalPercent: z.number().int().describe(\"The decimal percentage of the total compared to the campaign goal.\").nullable().optional(),\n primaryDomain: z.string().describe(\"Primary domain of the campaign.\").nullable().optional(),\n campaignEndsAt: z.string().describe(\"ISO timestamp when the campaign ends (deprecated).\").nullable().optional(),\n allowExperiments: z.boolean().describe(\"Allows the campaign to participate in Raisely experiments.\").nullable().optional(),\n organisationUuid: z.string().describe(\"Unique identifier for the organisation.\").nullable().optional(),\n defaultCampaignFund: z.unknown().describe(\"Fund assigned as the default fund for the campaign. Can be a string or dict.\").nullable().optional(),\n showRaiselyCheckbox: z.boolean().describe(\"Boolean indicating if the Raisely fee checkbox is shown on this campaign.\").nullable().optional(),\n}).describe(\"A campaign object from Raisely representing a fundraising campaign.\");\nexport const RaiselyGetCampaignOutput: z.ZodTypeAny = z.object({\n data: RaiselyGetCampaign_CampaignSchema.nullable(),\n}).describe(\"Response schema for retrieving a specific campaign from Raisely.\");\n\nexport const raiselyGetCampaign = action(\"RAISELY_GET_CAMPAIGN\", {\n slug: \"raisely-get-campaign\",\n name: \"Get Campaign\",\n description: \"Tool to retrieve a specific campaign from Raisely. Use when you need to get details for a single campaign by UUID, path, or domain.\",\n input: RaiselyGetCampaignInput,\n output: RaiselyGetCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC1G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uCAAqD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC;AACnH,MAAM,0CAAwD,EAAE,OAAO;CACrE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,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ACnD,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-campaigns-profiles.ts
|
|
4
|
+
const RaiselyGetCampaignsProfilesInput = zod.z.object({
|
|
5
|
+
q: zod.z.string().describe("Search query to filter profiles by name or other searchable fields.").optional(),
|
|
6
|
+
sort: zod.z.string().describe("Field to sort results by (e.g., 'createdAt', 'updatedAt', 'total', 'name'). Use with 'order' parameter.").optional(),
|
|
7
|
+
limit: zod.z.number().int().describe("Number of profiles to return per page. Defaults to 100 if not specified.").optional(),
|
|
8
|
+
order: zod.z.enum(["asc", "desc"]).describe("Sort direction: 'asc' for ascending or 'desc' for descending. Only applies when 'sort' is provided.").optional(),
|
|
9
|
+
offset: zod.z.number().int().describe("Number of records to skip for pagination. Use with 'limit' for paging through results.").optional(),
|
|
10
|
+
private: zod.z.boolean().describe("When true and authenticated, returns private custom fields of profiles.").optional(),
|
|
11
|
+
campaign: zod.z.string().describe("UUID or path of the campaign to list profiles for. You can use either the campaign's UUID (e.g., '123e4567-e89b-12d3-a456-426614174000') or its path/slug (e.g., 'my-campaign').")
|
|
12
|
+
}).describe("Request schema for listing fundraising profiles in a campaign.");
|
|
13
|
+
const RaiselyGetCampaignsProfiles_ProfileUserSchema = zod.z.object({
|
|
14
|
+
uuid: zod.z.string().describe("Unique identifier of the user"),
|
|
15
|
+
email: zod.z.string().describe("Email address of the user").nullable().optional(),
|
|
16
|
+
lastName: zod.z.string().describe("Last name of the user").nullable().optional(),
|
|
17
|
+
photoUrl: zod.z.string().describe("URL to the user's photo").nullable().optional(),
|
|
18
|
+
createdAt: zod.z.string().describe("Timestamp when the user was created"),
|
|
19
|
+
firstName: zod.z.string().describe("First name of the user").nullable().optional(),
|
|
20
|
+
updatedAt: zod.z.string().describe("Timestamp when the user was last updated")
|
|
21
|
+
}).describe("User information attached to a fundraising profile.");
|
|
22
|
+
const RaiselyGetCampaignsProfiles_ProfileItemSchema = zod.z.object({
|
|
23
|
+
goal: zod.z.number().int().describe("Fundraising goal in cents").nullable().optional(),
|
|
24
|
+
name: zod.z.string().describe("Name of the profile").nullable().optional(),
|
|
25
|
+
type: zod.z.string().describe("Type of profile, e.g., 'INDIVIDUAL', 'TEAM', 'ORGANISATION'").nullable().optional(),
|
|
26
|
+
user: RaiselyGetCampaignsProfiles_ProfileUserSchema.nullable(),
|
|
27
|
+
uuid: zod.z.string().describe("Unique identifier of the profile"),
|
|
28
|
+
total: zod.z.number().int().describe("Total amount raised in cents").nullable().optional(),
|
|
29
|
+
public: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Public custom fields of the profile"),
|
|
30
|
+
status: zod.z.string().describe("Status of the profile, e.g., 'ACTIVE', 'DELETED'").nullable().optional(),
|
|
31
|
+
private: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Private custom fields of the profile").nullable().optional(),
|
|
32
|
+
currency: zod.z.string().describe("Currency code, e.g., 'AUD', 'USD'").nullable().optional(),
|
|
33
|
+
createdAt: zod.z.string().describe("Timestamp when the profile was created"),
|
|
34
|
+
updatedAt: zod.z.string().describe("Timestamp when the profile was last updated")
|
|
35
|
+
}).describe("A fundraising profile within a campaign.");
|
|
36
|
+
const RaiselyGetCampaignsProfiles_PaginationSchema = zod.z.object({
|
|
37
|
+
limit: zod.z.number().int().describe("Number of records per page"),
|
|
38
|
+
pages: zod.z.number().int().describe("Total number of pages available"),
|
|
39
|
+
total: zod.z.number().int().describe("Total number of profiles matching the query"),
|
|
40
|
+
offset: zod.z.number().int().describe("Current offset in the result set"),
|
|
41
|
+
nextUrl: zod.z.union([zod.z.string(), zod.z.boolean()]),
|
|
42
|
+
prevUrl: zod.z.union([zod.z.string(), zod.z.boolean()])
|
|
43
|
+
}).describe("Pagination metadata for the response.");
|
|
44
|
+
const RaiselyGetCampaignsProfilesOutput = zod.z.object({
|
|
45
|
+
data: zod.z.array(RaiselyGetCampaignsProfiles_ProfileItemSchema).describe("List of fundraising profiles for the campaign"),
|
|
46
|
+
pagination: RaiselyGetCampaignsProfiles_PaginationSchema.nullable()
|
|
47
|
+
}).describe("Response schema for listing fundraising profiles in a campaign.");
|
|
48
|
+
const raiselyGetCampaignsProfiles = require_action.action("RAISELY_GET_CAMPAIGNS_PROFILES", {
|
|
49
|
+
slug: "raisely-get-campaigns-profiles",
|
|
50
|
+
name: "List Campaign Profiles",
|
|
51
|
+
description: "List all fundraising profiles in a Raisely campaign. Profiles represent individuals, teams, or organizations participating in a fundraising campaign. Returns profile details including name, fundraising goal, amount raised, and associated user information. Supports search, pagination, and sorting. Use 'limit' and 'offset' for paging through large result sets.",
|
|
52
|
+
input: RaiselyGetCampaignsProfilesInput,
|
|
53
|
+
output: RaiselyGetCampaignsProfilesOutput
|
|
54
|
+
});
|
|
55
|
+
//#endregion
|
|
56
|
+
exports.raiselyGetCampaignsProfiles = raiselyGetCampaignsProfiles;
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=get-campaigns-profiles.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaigns-profiles.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetCampaignsProfilesInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Search query to filter profiles by name or other searchable fields.\").optional(),\n sort: z.string().describe(\"Field to sort results by (e.g., 'createdAt', 'updatedAt', 'total', 'name'). Use with 'order' parameter.\").optional(),\n limit: z.number().int().describe(\"Number of profiles to return per page. Defaults to 100 if not specified.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: 'asc' for ascending or 'desc' for descending. Only applies when 'sort' is provided.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Use with 'limit' for paging through results.\").optional(),\n private: z.boolean().describe(\"When true and authenticated, returns private custom fields of profiles.\").optional(),\n campaign: z.string().describe(\"UUID or path of the campaign to list profiles for. You can use either the campaign's UUID (e.g., '123e4567-e89b-12d3-a456-426614174000') or its path/slug (e.g., 'my-campaign').\"),\n}).describe(\"Request schema for listing fundraising profiles in a campaign.\");\nconst RaiselyGetCampaignsProfiles_ProfileUserSchema: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"Unique identifier of the user\"),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the user\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the user's photo\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the user was created\"),\n firstName: z.string().describe(\"First name of the user\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the user was last updated\"),\n}).describe(\"User information attached to a fundraising profile.\");\nconst RaiselyGetCampaignsProfiles_ProfileItemSchema: z.ZodTypeAny = z.object({\n goal: z.number().int().describe(\"Fundraising goal in cents\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n type: z.string().describe(\"Type of profile, e.g., 'INDIVIDUAL', 'TEAM', 'ORGANISATION'\").nullable().optional(),\n user: RaiselyGetCampaignsProfiles_ProfileUserSchema.nullable(),\n uuid: z.string().describe(\"Unique identifier of the profile\"),\n total: z.number().int().describe(\"Total amount raised in cents\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields of the profile\"),\n status: z.string().describe(\"Status of the profile, e.g., 'ACTIVE', 'DELETED'\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields of the profile\").nullable().optional(),\n currency: z.string().describe(\"Currency code, e.g., 'AUD', 'USD'\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the profile was created\"),\n updatedAt: z.string().describe(\"Timestamp when the profile was last updated\"),\n}).describe(\"A fundraising profile within a campaign.\");\nconst RaiselyGetCampaignsProfiles_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of records per page\"),\n pages: z.number().int().describe(\"Total number of pages available\"),\n total: z.number().int().describe(\"Total number of profiles matching the query\"),\n offset: z.number().int().describe(\"Current offset in the result set\"),\n nextUrl: z.union([z.string(), z.boolean()]),\n prevUrl: z.union([z.string(), z.boolean()]),\n}).describe(\"Pagination metadata for the response.\");\nexport const RaiselyGetCampaignsProfilesOutput: z.ZodTypeAny = z.object({\n data: z.array(RaiselyGetCampaignsProfiles_ProfileItemSchema).describe(\"List of fundraising profiles for the campaign\"),\n pagination: RaiselyGetCampaignsProfiles_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing fundraising profiles in a campaign.\");\n\nexport const raiselyGetCampaignsProfiles = action(\"RAISELY_GET_CAMPAIGNS_PROFILES\", {\n slug: \"raisely-get-campaigns-profiles\",\n name: \"List Campaign Profiles\",\n description: \"List all fundraising profiles in a Raisely campaign. Profiles represent individuals, teams, or organizations participating in a fundraising campaign. Returns profile details including name, fundraising goal, amount raised, and associated user information. Supports search, pagination, and sorting. Use 'limit' and 'offset' for paging through large result sets.\",\n input: RaiselyGetCampaignsProfilesInput,\n output: RaiselyGetCampaignsProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC9I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACxJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,QAAQ,C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AAE,QAAQ,CAAC,CAAC;AAC5C,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;CACrH,YAAY,6CAA6C,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-campaigns-profiles.d.ts
|
|
4
|
+
declare const RaiselyGetCampaignsProfilesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RaiselyGetCampaignsProfilesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const raiselyGetCampaignsProfiles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { raiselyGetCampaignsProfiles };
|
|
9
|
+
//# sourceMappingURL=get-campaigns-profiles.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaigns-profiles.d.cts","names":[],"sources":["../../src/actions/get-campaigns-profiles.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAQ4B;AAAA,cAgChE,iCAAA,EAAmC,CAAA,CAAE,UAG4B;AAAA,cAEjE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-campaigns-profiles.d.ts
|
|
4
|
+
declare const RaiselyGetCampaignsProfilesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RaiselyGetCampaignsProfilesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const raiselyGetCampaignsProfiles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { raiselyGetCampaignsProfiles };
|
|
9
|
+
//# sourceMappingURL=get-campaigns-profiles.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaigns-profiles.d.mts","names":[],"sources":["../../src/actions/get-campaigns-profiles.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAQ4B;AAAA,cAgChE,iCAAA,EAAmC,CAAA,CAAE,UAG4B;AAAA,cAEjE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-campaigns-profiles.ts
|
|
4
|
+
const RaiselyGetCampaignsProfilesInput = z.object({
|
|
5
|
+
q: z.string().describe("Search query to filter profiles by name or other searchable fields.").optional(),
|
|
6
|
+
sort: z.string().describe("Field to sort results by (e.g., 'createdAt', 'updatedAt', 'total', 'name'). Use with 'order' parameter.").optional(),
|
|
7
|
+
limit: z.number().int().describe("Number of profiles to return per page. Defaults to 100 if not specified.").optional(),
|
|
8
|
+
order: z.enum(["asc", "desc"]).describe("Sort direction: 'asc' for ascending or 'desc' for descending. Only applies when 'sort' is provided.").optional(),
|
|
9
|
+
offset: z.number().int().describe("Number of records to skip for pagination. Use with 'limit' for paging through results.").optional(),
|
|
10
|
+
private: z.boolean().describe("When true and authenticated, returns private custom fields of profiles.").optional(),
|
|
11
|
+
campaign: z.string().describe("UUID or path of the campaign to list profiles for. You can use either the campaign's UUID (e.g., '123e4567-e89b-12d3-a456-426614174000') or its path/slug (e.g., 'my-campaign').")
|
|
12
|
+
}).describe("Request schema for listing fundraising profiles in a campaign.");
|
|
13
|
+
const RaiselyGetCampaignsProfiles_ProfileUserSchema = z.object({
|
|
14
|
+
uuid: z.string().describe("Unique identifier of the user"),
|
|
15
|
+
email: z.string().describe("Email address of the user").nullable().optional(),
|
|
16
|
+
lastName: z.string().describe("Last name of the user").nullable().optional(),
|
|
17
|
+
photoUrl: z.string().describe("URL to the user's photo").nullable().optional(),
|
|
18
|
+
createdAt: z.string().describe("Timestamp when the user was created"),
|
|
19
|
+
firstName: z.string().describe("First name of the user").nullable().optional(),
|
|
20
|
+
updatedAt: z.string().describe("Timestamp when the user was last updated")
|
|
21
|
+
}).describe("User information attached to a fundraising profile.");
|
|
22
|
+
const RaiselyGetCampaignsProfiles_ProfileItemSchema = z.object({
|
|
23
|
+
goal: z.number().int().describe("Fundraising goal in cents").nullable().optional(),
|
|
24
|
+
name: z.string().describe("Name of the profile").nullable().optional(),
|
|
25
|
+
type: z.string().describe("Type of profile, e.g., 'INDIVIDUAL', 'TEAM', 'ORGANISATION'").nullable().optional(),
|
|
26
|
+
user: RaiselyGetCampaignsProfiles_ProfileUserSchema.nullable(),
|
|
27
|
+
uuid: z.string().describe("Unique identifier of the profile"),
|
|
28
|
+
total: z.number().int().describe("Total amount raised in cents").nullable().optional(),
|
|
29
|
+
public: z.record(z.string(), z.unknown()).describe("Public custom fields of the profile"),
|
|
30
|
+
status: z.string().describe("Status of the profile, e.g., 'ACTIVE', 'DELETED'").nullable().optional(),
|
|
31
|
+
private: z.record(z.string(), z.unknown()).describe("Private custom fields of the profile").nullable().optional(),
|
|
32
|
+
currency: z.string().describe("Currency code, e.g., 'AUD', 'USD'").nullable().optional(),
|
|
33
|
+
createdAt: z.string().describe("Timestamp when the profile was created"),
|
|
34
|
+
updatedAt: z.string().describe("Timestamp when the profile was last updated")
|
|
35
|
+
}).describe("A fundraising profile within a campaign.");
|
|
36
|
+
const RaiselyGetCampaignsProfiles_PaginationSchema = z.object({
|
|
37
|
+
limit: z.number().int().describe("Number of records per page"),
|
|
38
|
+
pages: z.number().int().describe("Total number of pages available"),
|
|
39
|
+
total: z.number().int().describe("Total number of profiles matching the query"),
|
|
40
|
+
offset: z.number().int().describe("Current offset in the result set"),
|
|
41
|
+
nextUrl: z.union([z.string(), z.boolean()]),
|
|
42
|
+
prevUrl: z.union([z.string(), z.boolean()])
|
|
43
|
+
}).describe("Pagination metadata for the response.");
|
|
44
|
+
const raiselyGetCampaignsProfiles = action("RAISELY_GET_CAMPAIGNS_PROFILES", {
|
|
45
|
+
slug: "raisely-get-campaigns-profiles",
|
|
46
|
+
name: "List Campaign Profiles",
|
|
47
|
+
description: "List all fundraising profiles in a Raisely campaign. Profiles represent individuals, teams, or organizations participating in a fundraising campaign. Returns profile details including name, fundraising goal, amount raised, and associated user information. Supports search, pagination, and sorting. Use 'limit' and 'offset' for paging through large result sets.",
|
|
48
|
+
input: RaiselyGetCampaignsProfilesInput,
|
|
49
|
+
output: z.object({
|
|
50
|
+
data: z.array(RaiselyGetCampaignsProfiles_ProfileItemSchema).describe("List of fundraising profiles for the campaign"),
|
|
51
|
+
pagination: RaiselyGetCampaignsProfiles_PaginationSchema.nullable()
|
|
52
|
+
}).describe("Response schema for listing fundraising profiles in a campaign.")
|
|
53
|
+
});
|
|
54
|
+
//#endregion
|
|
55
|
+
export { raiselyGetCampaignsProfiles };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=get-campaigns-profiles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaigns-profiles.mjs","names":[],"sources":["../../src/actions/get-campaigns-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetCampaignsProfilesInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Search query to filter profiles by name or other searchable fields.\").optional(),\n sort: z.string().describe(\"Field to sort results by (e.g., 'createdAt', 'updatedAt', 'total', 'name'). Use with 'order' parameter.\").optional(),\n limit: z.number().int().describe(\"Number of profiles to return per page. Defaults to 100 if not specified.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: 'asc' for ascending or 'desc' for descending. Only applies when 'sort' is provided.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Use with 'limit' for paging through results.\").optional(),\n private: z.boolean().describe(\"When true and authenticated, returns private custom fields of profiles.\").optional(),\n campaign: z.string().describe(\"UUID or path of the campaign to list profiles for. You can use either the campaign's UUID (e.g., '123e4567-e89b-12d3-a456-426614174000') or its path/slug (e.g., 'my-campaign').\"),\n}).describe(\"Request schema for listing fundraising profiles in a campaign.\");\nconst RaiselyGetCampaignsProfiles_ProfileUserSchema: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"Unique identifier of the user\"),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the user\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the user's photo\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the user was created\"),\n firstName: z.string().describe(\"First name of the user\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the user was last updated\"),\n}).describe(\"User information attached to a fundraising profile.\");\nconst RaiselyGetCampaignsProfiles_ProfileItemSchema: z.ZodTypeAny = z.object({\n goal: z.number().int().describe(\"Fundraising goal in cents\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n type: z.string().describe(\"Type of profile, e.g., 'INDIVIDUAL', 'TEAM', 'ORGANISATION'\").nullable().optional(),\n user: RaiselyGetCampaignsProfiles_ProfileUserSchema.nullable(),\n uuid: z.string().describe(\"Unique identifier of the profile\"),\n total: z.number().int().describe(\"Total amount raised in cents\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields of the profile\"),\n status: z.string().describe(\"Status of the profile, e.g., 'ACTIVE', 'DELETED'\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields of the profile\").nullable().optional(),\n currency: z.string().describe(\"Currency code, e.g., 'AUD', 'USD'\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the profile was created\"),\n updatedAt: z.string().describe(\"Timestamp when the profile was last updated\"),\n}).describe(\"A fundraising profile within a campaign.\");\nconst RaiselyGetCampaignsProfiles_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of records per page\"),\n pages: z.number().int().describe(\"Total number of pages available\"),\n total: z.number().int().describe(\"Total number of profiles matching the query\"),\n offset: z.number().int().describe(\"Current offset in the result set\"),\n nextUrl: z.union([z.string(), z.boolean()]),\n prevUrl: z.union([z.string(), z.boolean()]),\n}).describe(\"Pagination metadata for the response.\");\nexport const RaiselyGetCampaignsProfilesOutput: z.ZodTypeAny = z.object({\n data: z.array(RaiselyGetCampaignsProfiles_ProfileItemSchema).describe(\"List of fundraising profiles for the campaign\"),\n pagination: RaiselyGetCampaignsProfiles_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing fundraising profiles in a campaign.\");\n\nexport const raiselyGetCampaignsProfiles = action(\"RAISELY_GET_CAMPAIGNS_PROFILES\", {\n slug: \"raisely-get-campaigns-profiles\",\n name: \"List Campaign Profiles\",\n description: \"List all fundraising profiles in a Raisely campaign. Profiles represent individuals, teams, or organizations participating in a fundraising campaign. Returns profile details including name, fundraising goal, amount raised, and associated user information. Supports search, pagination, and sorting. Use 'limit' and 'offset' for paging through large result sets.\",\n input: RaiselyGetCampaignsProfilesInput,\n output: RaiselyGetCampaignsProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC9I,OAAO,EAAE,OAAO,CAAC,CAAC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AC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;EACrH,YAAY,6CAA6C,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-campaigns.ts
|
|
4
|
+
const RaiselyGetCampaignsInput = zod.z.object({
|
|
5
|
+
q: zod.z.string().describe("Full-text search term to filter campaigns.").optional(),
|
|
6
|
+
mode: zod.z.string().describe("Filter campaigns by their mode value.").optional(),
|
|
7
|
+
path: zod.z.string().describe("Filter campaigns by their path value.").optional(),
|
|
8
|
+
sort: zod.z.string().describe("Field to sort by, e.g., 'createdAt'.").optional(),
|
|
9
|
+
limit: zod.z.number().int().describe("Number of records to return per page (minimum 1).").optional(),
|
|
10
|
+
order: zod.z.enum(["asc", "desc"]).describe("Sort direction: 'asc' or 'desc' (requires 'sort').").optional(),
|
|
11
|
+
offset: zod.z.number().int().describe("Number of records to skip before starting to return results.").optional(),
|
|
12
|
+
private: zod.z.boolean().describe("If true, omit configuration block to reduce response size.").optional()
|
|
13
|
+
}).describe("Request schema for retrieving a list of campaigns from Raisely, supporting filtering, sorting, and pagination.");
|
|
14
|
+
const RaiselyGetCampaigns_CampaignSchema = zod.z.object({
|
|
15
|
+
url: zod.z.string().describe("Public URL of the campaign.").nullable().optional(),
|
|
16
|
+
goal: zod.z.number().describe("Fundraising goal amount.").nullable().optional(),
|
|
17
|
+
mode: zod.z.string().describe("Campaign mode, e.g., 'TEST' or 'LIVE'.").nullable().optional(),
|
|
18
|
+
name: zod.z.string().describe("Name of the campaign.").nullable().optional(),
|
|
19
|
+
path: zod.z.string().describe("URL path of the campaign.").nullable().optional(),
|
|
20
|
+
uuid: zod.z.string().describe("Unique identifier of the campaign."),
|
|
21
|
+
total: zod.z.number().describe("Total amount raised.").nullable().optional(),
|
|
22
|
+
public: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Public custom fields of the campaign.").nullable().optional(),
|
|
23
|
+
status: zod.z.string().describe("Campaign status, e.g., 'ACTIVE'.").nullable().optional(),
|
|
24
|
+
private: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Private custom fields of the campaign (if requested).").nullable().optional(),
|
|
25
|
+
currency: zod.z.string().describe("Currency code of the campaign.").nullable().optional(),
|
|
26
|
+
createdAt: zod.z.string().describe("ISO timestamp when the campaign was created.").nullable().optional(),
|
|
27
|
+
publicKey: zod.z.string().describe("Public key for the campaign.").nullable().optional(),
|
|
28
|
+
grandTotal: zod.z.number().describe("Grand total amount including fees.").nullable().optional(),
|
|
29
|
+
totalPercent: zod.z.number().describe("Percentage of goal achieved.").nullable().optional(),
|
|
30
|
+
campaignEndsAt: zod.z.string().describe("ISO timestamp for campaign end.").nullable().optional(),
|
|
31
|
+
organisationUuid: zod.z.string().describe("UUID of the organisation owning the campaign.").nullable().optional()
|
|
32
|
+
});
|
|
33
|
+
const RaiselyGetCampaigns_PaginationSchema = zod.z.object({
|
|
34
|
+
limit: zod.z.number().int().describe("Number of records per page."),
|
|
35
|
+
pages: zod.z.number().int().describe("Total number of pages.").nullable().optional(),
|
|
36
|
+
total: zod.z.number().int().describe("Total number of records available."),
|
|
37
|
+
offset: zod.z.number().int().describe("Number of records skipped."),
|
|
38
|
+
nextUrl: zod.z.unknown().describe("URL for next page, or false if no next.").nullable().optional(),
|
|
39
|
+
prevUrl: zod.z.unknown().describe("URL for previous page, or false if no previous.").nullable().optional()
|
|
40
|
+
});
|
|
41
|
+
const RaiselyGetCampaignsOutput = zod.z.object({
|
|
42
|
+
data: zod.z.array(RaiselyGetCampaigns_CampaignSchema).describe("List of campaign objects."),
|
|
43
|
+
pagination: RaiselyGetCampaigns_PaginationSchema.nullable()
|
|
44
|
+
}).describe("Response schema for a paginated list of campaigns from Raisely.");
|
|
45
|
+
const raiselyGetCampaigns = require_action.action("RAISELY_GET_CAMPAIGNS", {
|
|
46
|
+
slug: "raisely-get-campaigns",
|
|
47
|
+
name: "Get campaigns",
|
|
48
|
+
description: "Tool to retrieve a paginated list of campaigns from Raisely. Use when you need to list campaigns after obtaining a valid API token.",
|
|
49
|
+
input: RaiselyGetCampaignsInput,
|
|
50
|
+
output: RaiselyGetCampaignsOutput
|
|
51
|
+
});
|
|
52
|
+
//#endregion
|
|
53
|
+
exports.raiselyGetCampaigns = raiselyGetCampaigns;
|
|
54
|
+
|
|
55
|
+
//# sourceMappingURL=get-campaigns.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetCampaignsInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Full-text search term to filter campaigns.\").optional(),\n mode: z.string().describe(\"Filter campaigns by their mode value.\").optional(),\n path: z.string().describe(\"Filter campaigns by their path value.\").optional(),\n sort: z.string().describe(\"Field to sort by, e.g., 'createdAt'.\").optional(),\n limit: z.number().int().describe(\"Number of records to return per page (minimum 1).\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: 'asc' or 'desc' (requires 'sort').\").optional(),\n offset: z.number().int().describe(\"Number of records to skip before starting to return results.\").optional(),\n private: z.boolean().describe(\"If true, omit configuration block to reduce response size.\").optional(),\n}).describe(\"Request schema for retrieving a list of campaigns from Raisely, supporting filtering, sorting, and pagination.\");\nconst RaiselyGetCampaigns_CampaignSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Public URL of the campaign.\").nullable().optional(),\n goal: z.number().describe(\"Fundraising goal amount.\").nullable().optional(),\n mode: z.string().describe(\"Campaign mode, e.g., 'TEST' or 'LIVE'.\").nullable().optional(),\n name: z.string().describe(\"Name of the campaign.\").nullable().optional(),\n path: z.string().describe(\"URL path of the campaign.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the campaign.\"),\n total: z.number().describe(\"Total amount raised.\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields of the campaign.\").nullable().optional(),\n status: z.string().describe(\"Campaign status, e.g., 'ACTIVE'.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields of the campaign (if requested).\").nullable().optional(),\n currency: z.string().describe(\"Currency code of the campaign.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when the campaign was created.\").nullable().optional(),\n publicKey: z.string().describe(\"Public key for the campaign.\").nullable().optional(),\n grandTotal: z.number().describe(\"Grand total amount including fees.\").nullable().optional(),\n totalPercent: z.number().describe(\"Percentage of goal achieved.\").nullable().optional(),\n campaignEndsAt: z.string().describe(\"ISO timestamp for campaign end.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation owning the campaign.\").nullable().optional(),\n});\nconst RaiselyGetCampaigns_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of records per page.\"),\n pages: z.number().int().describe(\"Total number of pages.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records available.\"),\n offset: z.number().int().describe(\"Number of records skipped.\"),\n nextUrl: z.unknown().describe(\"URL for next page, or false if no next.\").nullable().optional(),\n prevUrl: z.unknown().describe(\"URL for previous page, or false if no previous.\").nullable().optional(),\n});\nexport const RaiselyGetCampaignsOutput: z.ZodTypeAny = z.object({\n data: z.array(RaiselyGetCampaigns_CampaignSchema).describe(\"List of campaign objects.\"),\n pagination: RaiselyGetCampaigns_PaginationSchema.nullable(),\n}).describe(\"Response schema for a paginated list of campaigns from Raisely.\");\n\nexport const raiselyGetCampaigns = action(\"RAISELY_GET_CAMPAIGNS\", {\n slug: \"raisely-get-campaigns\",\n name: \"Get campaigns\",\n description: \"Tool to retrieve a paginated list of campaigns from Raisely. Use when you need to list campaigns after obtaining a valid API token.\",\n input: RaiselyGetCampaignsInput,\n output: RaiselyGetCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,gHAAgH;AAC5H,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF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