@keystrokehq/raisely 0.1.2 → 0.1.3
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/dist/actions/check-profile-url.cjs +1 -1
- package/dist/actions/check-profile-url.cjs.map +1 -1
- package/dist/actions/check-profile-url.d.cts +1 -1
- package/dist/actions/check-profile-url.d.mts +1 -1
- package/dist/actions/check-profile-url.mjs +1 -1
- package/dist/actions/check-profile-url.mjs.map +1 -1
- package/dist/actions/check-user.cjs +1 -1
- package/dist/actions/check-user.cjs.map +1 -1
- package/dist/actions/check-user.d.cts +1 -1
- package/dist/actions/check-user.d.mts +1 -1
- package/dist/actions/check-user.mjs +1 -1
- package/dist/actions/check-user.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +2 -2
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +2 -2
- package/dist/actions/create-campaign.d.mts +2 -2
- package/dist/actions/create-campaign.mjs +2 -2
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-donation.cjs +3 -3
- package/dist/actions/create-donation.cjs.map +1 -1
- package/dist/actions/create-donation.d.cts +3 -3
- package/dist/actions/create-donation.d.mts +3 -3
- package/dist/actions/create-donation.mjs +3 -3
- package/dist/actions/create-donation.mjs.map +1 -1
- package/dist/actions/create-exercise-log.cjs +1 -1
- package/dist/actions/create-exercise-log.cjs.map +1 -1
- package/dist/actions/create-exercise-log.d.cts +1 -1
- package/dist/actions/create-exercise-log.d.mts +1 -1
- package/dist/actions/create-exercise-log.mjs +1 -1
- package/dist/actions/create-exercise-log.mjs.map +1 -1
- package/dist/actions/create-interaction.cjs +2 -2
- package/dist/actions/create-interaction.cjs.map +1 -1
- package/dist/actions/create-interaction.d.cts +2 -2
- package/dist/actions/create-interaction.d.mts +2 -2
- package/dist/actions/create-interaction.mjs +2 -2
- package/dist/actions/create-interaction.mjs.map +1 -1
- package/dist/actions/create-post.cjs +1 -1
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +1 -1
- package/dist/actions/create-post.d.mts +1 -1
- package/dist/actions/create-post.mjs +1 -1
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-promo-code.cjs +1 -1
- package/dist/actions/create-promo-code.cjs.map +1 -1
- package/dist/actions/create-promo-code.d.cts +1 -1
- package/dist/actions/create-promo-code.d.mts +1 -1
- package/dist/actions/create-promo-code.mjs +1 -1
- package/dist/actions/create-promo-code.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +1 -1
- package/dist/actions/create-webhook.d.mts +1 -1
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-exercise-log.cjs +2 -2
- package/dist/actions/delete-exercise-log.cjs.map +1 -1
- package/dist/actions/delete-exercise-log.d.cts +2 -2
- package/dist/actions/delete-exercise-log.d.mts +2 -2
- package/dist/actions/delete-exercise-log.mjs +2 -2
- package/dist/actions/delete-exercise-log.mjs.map +1 -1
- package/dist/actions/delete-interaction.cjs +1 -1
- package/dist/actions/delete-interaction.cjs.map +1 -1
- package/dist/actions/delete-interaction.d.cts +1 -1
- package/dist/actions/delete-interaction.d.mts +1 -1
- package/dist/actions/delete-interaction.mjs +1 -1
- package/dist/actions/delete-interaction.mjs.map +1 -1
- package/dist/actions/delete-post.cjs +1 -1
- package/dist/actions/delete-post.cjs.map +1 -1
- package/dist/actions/delete-post.d.cts +1 -1
- package/dist/actions/delete-post.d.mts +1 -1
- package/dist/actions/delete-post.mjs +1 -1
- package/dist/actions/delete-post.mjs.map +1 -1
- package/dist/actions/delete-profile.cjs +3 -3
- package/dist/actions/delete-profile.cjs.map +1 -1
- package/dist/actions/delete-profile.d.cts +3 -3
- package/dist/actions/delete-profile.d.mts +3 -3
- package/dist/actions/delete-profile.mjs +3 -3
- package/dist/actions/delete-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-api-docs.cjs +4 -4
- package/dist/actions/get-api-docs.cjs.map +1 -1
- package/dist/actions/get-api-docs.d.cts +4 -4
- package/dist/actions/get-api-docs.d.mts +4 -4
- package/dist/actions/get-api-docs.mjs +4 -4
- package/dist/actions/get-api-docs.mjs.map +1 -1
- package/dist/actions/get-authenticate.cjs +2 -2
- package/dist/actions/get-authenticate.cjs.map +1 -1
- package/dist/actions/get-authenticate.d.cts +2 -2
- package/dist/actions/get-authenticate.d.mts +2 -2
- package/dist/actions/get-authenticate.mjs +2 -2
- package/dist/actions/get-authenticate.mjs.map +1 -1
- package/dist/actions/get-available-events.cjs +2 -2
- package/dist/actions/get-available-events.cjs.map +1 -1
- package/dist/actions/get-available-events.d.cts +7 -7
- package/dist/actions/get-available-events.d.mts +7 -7
- package/dist/actions/get-available-events.mjs +2 -2
- package/dist/actions/get-available-events.mjs.map +1 -1
- package/dist/actions/get-campaign-profile.cjs +3 -3
- package/dist/actions/get-campaign-profile.cjs.map +1 -1
- package/dist/actions/get-campaign-profile.d.cts +4 -4
- package/dist/actions/get-campaign-profile.d.mts +4 -4
- package/dist/actions/get-campaign-profile.mjs +3 -3
- package/dist/actions/get-campaign-profile.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +5 -5
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +5 -5
- package/dist/actions/get-campaign.d.mts +5 -5
- package/dist/actions/get-campaign.mjs +5 -5
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-campaigns-profiles.cjs +4 -4
- package/dist/actions/get-campaigns-profiles.cjs.map +1 -1
- package/dist/actions/get-campaigns-profiles.d.cts +4 -4
- package/dist/actions/get-campaigns-profiles.d.mts +4 -4
- package/dist/actions/get-campaigns-profiles.mjs +4 -4
- package/dist/actions/get-campaigns-profiles.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +3 -3
- package/dist/actions/get-campaigns.cjs.map +1 -1
- package/dist/actions/get-campaigns.d.cts +3 -3
- package/dist/actions/get-campaigns.d.mts +3 -3
- package/dist/actions/get-campaigns.mjs +3 -3
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-exercise-log.cjs +3 -3
- package/dist/actions/get-exercise-log.cjs.map +1 -1
- package/dist/actions/get-exercise-log.d.cts +3 -3
- package/dist/actions/get-exercise-log.d.mts +3 -3
- package/dist/actions/get-exercise-log.mjs +3 -3
- package/dist/actions/get-exercise-log.mjs.map +1 -1
- package/dist/actions/get-interaction.cjs +5 -5
- package/dist/actions/get-interaction.cjs.map +1 -1
- package/dist/actions/get-interaction.d.cts +5 -5
- package/dist/actions/get-interaction.d.mts +5 -5
- package/dist/actions/get-interaction.mjs +5 -5
- package/dist/actions/get-interaction.mjs.map +1 -1
- package/dist/actions/get-post.cjs +1 -1
- package/dist/actions/get-post.cjs.map +1 -1
- package/dist/actions/get-post.d.cts +1 -1
- package/dist/actions/get-post.d.mts +1 -1
- package/dist/actions/get-post.mjs +1 -1
- package/dist/actions/get-post.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +5 -5
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +5 -5
- package/dist/actions/get-profile.d.mts +5 -5
- package/dist/actions/get-profile.mjs +5 -5
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/get-profiles.cjs +3 -3
- package/dist/actions/get-profiles.cjs.map +1 -1
- package/dist/actions/get-profiles.d.cts +3 -3
- package/dist/actions/get-profiles.d.mts +3 -3
- package/dist/actions/get-profiles.mjs +3 -3
- package/dist/actions/get-profiles.mjs.map +1 -1
- package/dist/actions/get-user-profiles.cjs +3 -3
- package/dist/actions/get-user-profiles.cjs.map +1 -1
- package/dist/actions/get-user-profiles.d.cts +3 -3
- package/dist/actions/get-user-profiles.d.mts +3 -3
- package/dist/actions/get-user-profiles.mjs +3 -3
- package/dist/actions/get-user-profiles.mjs.map +1 -1
- package/dist/actions/get-user.cjs +4 -4
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +4 -4
- package/dist/actions/get-user.d.mts +4 -4
- package/dist/actions/get-user.mjs +4 -4
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users.cjs +3 -3
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +3 -3
- package/dist/actions/get-users.d.mts +3 -3
- package/dist/actions/get-users.mjs +3 -3
- package/dist/actions/get-users.mjs.map +1 -1
- package/dist/actions/list-campaign-donations.cjs +5 -5
- package/dist/actions/list-campaign-donations.cjs.map +1 -1
- package/dist/actions/list-campaign-donations.d.cts +5 -5
- package/dist/actions/list-campaign-donations.d.mts +5 -5
- package/dist/actions/list-campaign-donations.mjs +5 -5
- package/dist/actions/list-campaign-donations.mjs.map +1 -1
- package/dist/actions/list-campaign-products.cjs +3 -3
- package/dist/actions/list-campaign-products.cjs.map +1 -1
- package/dist/actions/list-campaign-products.d.cts +3 -3
- package/dist/actions/list-campaign-products.d.mts +3 -3
- package/dist/actions/list-campaign-products.mjs +3 -3
- package/dist/actions/list-campaign-products.mjs.map +1 -1
- package/dist/actions/list-campaign-subscriptions.cjs +5 -5
- package/dist/actions/list-campaign-subscriptions.cjs.map +1 -1
- package/dist/actions/list-campaign-subscriptions.d.cts +5 -5
- package/dist/actions/list-campaign-subscriptions.d.mts +5 -5
- package/dist/actions/list-campaign-subscriptions.mjs +5 -5
- package/dist/actions/list-campaign-subscriptions.mjs.map +1 -1
- package/dist/actions/list-donations.cjs +5 -5
- package/dist/actions/list-donations.cjs.map +1 -1
- package/dist/actions/list-donations.d.cts +5 -5
- package/dist/actions/list-donations.d.mts +5 -5
- package/dist/actions/list-donations.mjs +5 -5
- package/dist/actions/list-donations.mjs.map +1 -1
- package/dist/actions/list-exercise-logs.cjs +4 -4
- package/dist/actions/list-exercise-logs.cjs.map +1 -1
- package/dist/actions/list-exercise-logs.d.cts +4 -4
- package/dist/actions/list-exercise-logs.d.mts +4 -4
- package/dist/actions/list-exercise-logs.mjs +4 -4
- package/dist/actions/list-exercise-logs.mjs.map +1 -1
- package/dist/actions/list-interaction-categories.cjs +4 -4
- package/dist/actions/list-interaction-categories.cjs.map +1 -1
- package/dist/actions/list-interaction-categories.d.cts +4 -4
- package/dist/actions/list-interaction-categories.d.mts +4 -4
- package/dist/actions/list-interaction-categories.mjs +4 -4
- package/dist/actions/list-interaction-categories.mjs.map +1 -1
- package/dist/actions/list-interactions.cjs +5 -5
- package/dist/actions/list-interactions.cjs.map +1 -1
- package/dist/actions/list-interactions.d.cts +5 -5
- package/dist/actions/list-interactions.d.mts +5 -5
- package/dist/actions/list-interactions.mjs +5 -5
- package/dist/actions/list-interactions.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +5 -5
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +5 -5
- package/dist/actions/list-orders.d.mts +5 -5
- package/dist/actions/list-orders.mjs +5 -5
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-posts.cjs +5 -5
- package/dist/actions/list-posts.cjs.map +1 -1
- package/dist/actions/list-posts.d.cts +5 -5
- package/dist/actions/list-posts.d.mts +5 -5
- package/dist/actions/list-posts.mjs +5 -5
- package/dist/actions/list-posts.mjs.map +1 -1
- package/dist/actions/list-profile-donations.cjs +5 -5
- package/dist/actions/list-profile-donations.cjs.map +1 -1
- package/dist/actions/list-profile-donations.d.cts +5 -5
- package/dist/actions/list-profile-donations.d.mts +5 -5
- package/dist/actions/list-profile-donations.mjs +5 -5
- package/dist/actions/list-profile-donations.mjs.map +1 -1
- package/dist/actions/list-profile-members.cjs +3 -3
- package/dist/actions/list-profile-members.cjs.map +1 -1
- package/dist/actions/list-profile-members.d.cts +3 -3
- package/dist/actions/list-profile-members.d.mts +3 -3
- package/dist/actions/list-profile-members.mjs +3 -3
- package/dist/actions/list-profile-members.mjs.map +1 -1
- package/dist/actions/list-profile-posts.cjs +2 -2
- package/dist/actions/list-profile-posts.cjs.map +1 -1
- package/dist/actions/list-profile-posts.d.cts +2 -2
- package/dist/actions/list-profile-posts.d.mts +2 -2
- package/dist/actions/list-profile-posts.mjs +2 -2
- package/dist/actions/list-profile-posts.mjs.map +1 -1
- package/dist/actions/list-promo-codes.cjs +3 -3
- package/dist/actions/list-promo-codes.cjs.map +1 -1
- package/dist/actions/list-promo-codes.d.cts +3 -3
- package/dist/actions/list-promo-codes.d.mts +3 -3
- package/dist/actions/list-promo-codes.mjs +3 -3
- package/dist/actions/list-promo-codes.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +3 -3
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +3 -3
- package/dist/actions/list-segments.d.mts +3 -3
- package/dist/actions/list-segments.mjs +3 -3
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/list-subscriptions2.cjs +5 -5
- package/dist/actions/list-subscriptions2.cjs.map +1 -1
- package/dist/actions/list-subscriptions2.d.cts +5 -5
- package/dist/actions/list-subscriptions2.d.mts +5 -5
- package/dist/actions/list-subscriptions2.mjs +5 -5
- package/dist/actions/list-subscriptions2.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +3 -3
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +3 -3
- package/dist/actions/list-tags.d.mts +3 -3
- package/dist/actions/list-tags.mjs +3 -3
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-user-donations.cjs +5 -5
- package/dist/actions/list-user-donations.cjs.map +1 -1
- package/dist/actions/list-user-donations.d.cts +5 -5
- package/dist/actions/list-user-donations.d.mts +5 -5
- package/dist/actions/list-user-donations.mjs +5 -5
- package/dist/actions/list-user-donations.mjs.map +1 -1
- package/dist/actions/list-user-interactions.cjs +5 -5
- package/dist/actions/list-user-interactions.cjs.map +1 -1
- package/dist/actions/list-user-interactions.d.cts +5 -5
- package/dist/actions/list-user-interactions.d.mts +5 -5
- package/dist/actions/list-user-interactions.mjs +5 -5
- package/dist/actions/list-user-interactions.mjs.map +1 -1
- package/dist/actions/list-user-subscriptions.cjs +5 -5
- package/dist/actions/list-user-subscriptions.cjs.map +1 -1
- package/dist/actions/list-user-subscriptions.d.cts +5 -5
- package/dist/actions/list-user-subscriptions.d.mts +5 -5
- package/dist/actions/list-user-subscriptions.mjs +5 -5
- package/dist/actions/list-user-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +3 -3
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -3
- package/dist/actions/list-webhooks.d.mts +3 -3
- package/dist/actions/list-webhooks.mjs +3 -3
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/move-donation.cjs +4 -4
- package/dist/actions/move-donation.cjs.map +1 -1
- package/dist/actions/move-donation.d.cts +4 -4
- package/dist/actions/move-donation.d.mts +4 -4
- package/dist/actions/move-donation.mjs +4 -4
- package/dist/actions/move-donation.mjs.map +1 -1
- package/dist/actions/post-logout.cjs +1 -1
- package/dist/actions/post-logout.cjs.map +1 -1
- package/dist/actions/post-logout.d.cts +1 -1
- package/dist/actions/post-logout.d.mts +1 -1
- package/dist/actions/post-logout.mjs +1 -1
- package/dist/actions/post-logout.mjs.map +1 -1
- package/dist/actions/post-users.cjs +1 -1
- package/dist/actions/post-users.cjs.map +1 -1
- package/dist/actions/post-users.d.cts +1 -1
- package/dist/actions/post-users.d.mts +1 -1
- package/dist/actions/post-users.mjs +1 -1
- package/dist/actions/post-users.mjs.map +1 -1
- package/dist/actions/update-campaign-config.cjs +1 -1
- package/dist/actions/update-campaign-config.cjs.map +1 -1
- package/dist/actions/update-campaign-config.d.cts +1 -1
- package/dist/actions/update-campaign-config.d.mts +1 -1
- package/dist/actions/update-campaign-config.mjs +1 -1
- package/dist/actions/update-campaign-config.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +2 -2
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +2 -2
- package/dist/actions/update-campaign.d.mts +2 -2
- package/dist/actions/update-campaign.mjs +2 -2
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-exercise-log.cjs +2 -2
- package/dist/actions/update-exercise-log.cjs.map +1 -1
- package/dist/actions/update-exercise-log.d.cts +2 -2
- package/dist/actions/update-exercise-log.d.mts +2 -2
- package/dist/actions/update-exercise-log.mjs +2 -2
- package/dist/actions/update-exercise-log.mjs.map +1 -1
- package/dist/actions/update-post.cjs +4 -4
- package/dist/actions/update-post.cjs.map +1 -1
- package/dist/actions/update-post.d.cts +4 -4
- package/dist/actions/update-post.d.mts +4 -4
- package/dist/actions/update-post.mjs +4 -4
- package/dist/actions/update-post.mjs.map +1 -1
- package/dist/actions/update-profile.cjs +3 -3
- package/dist/actions/update-profile.cjs.map +1 -1
- package/dist/actions/update-profile.d.cts +3 -3
- package/dist/actions/update-profile.d.mts +3 -3
- package/dist/actions/update-profile.mjs +3 -3
- package/dist/actions/update-profile.mjs.map +1 -1
- package/dist/actions/update-user.cjs +2 -2
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +2 -2
- package/dist/actions/update-user.d.mts +2 -2
- package/dist/actions/update-user.mjs +2 -2
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +2 -2
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +2 -2
- package/dist/actions/update-webhook.d.mts +2 -2
- package/dist/actions/update-webhook.mjs +2 -2
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/upload-campaign-media.cjs +2 -2
- package/dist/actions/upload-campaign-media.cjs.map +1 -1
- package/dist/actions/upload-campaign-media.d.cts +2 -2
- package/dist/actions/upload-campaign-media.d.mts +2 -2
- package/dist/actions/upload-campaign-media.mjs +2 -2
- package/dist/actions/upload-campaign-media.mjs.map +1 -1
- package/dist/actions/upsert-user.cjs +1 -1
- package/dist/actions/upsert-user.cjs.map +1 -1
- package/dist/actions/upsert-user.d.cts +1 -1
- package/dist/actions/upsert-user.d.mts +1 -1
- package/dist/actions/upsert-user.mjs +1 -1
- package/dist/actions/upsert-user.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ const RaiselyDeleteProfile_UserSchema = z.object({
|
|
|
42
42
|
unsubscribedAt: z.string().describe("Timestamp when user unsubscribed.").nullable().optional(),
|
|
43
43
|
swiftAidDonorId: z.string().describe("SwiftAid donor ID.").nullable().optional(),
|
|
44
44
|
swiftAidAuthExpiry: z.string().describe("SwiftAid authentication expiry.").nullable().optional()
|
|
45
|
-
}).describe("User object associated with a profile.");
|
|
45
|
+
}).passthrough().describe("User object associated with a profile.");
|
|
46
46
|
const RaiselyDeleteProfile_ProfileSchema = z.object({
|
|
47
47
|
goal: z.number().int().describe("Fundraising goal amount in cents.").nullable().optional(),
|
|
48
48
|
name: z.string().describe("Display name of the profile.").nullable().optional(),
|
|
@@ -89,13 +89,13 @@ const RaiselyDeleteProfile_ProfileSchema = z.object({
|
|
|
89
89
|
nonSelfDonationTotal: z.number().int().describe("Total amount raised excluding self-donations in the currency of the campaign (in cents).").nullable().optional(),
|
|
90
90
|
individualProfileCount: z.number().int().describe("Number of individual profiles that have joined this profile (or its descendants).").nullable().optional(),
|
|
91
91
|
organisationProfileCount: z.number().int().describe("Number of organisation profiles that have joined this profile (or its descendants).").nullable().optional()
|
|
92
|
-
}).describe("A fundraising profile object in Raisely representing an individual, team, or organisation fundraiser.");
|
|
92
|
+
}).passthrough().describe("A fundraising profile object in Raisely representing an individual, team, or organisation fundraiser.");
|
|
93
93
|
const raiselyDeleteProfile = action("RAISELY_DELETE_PROFILE", {
|
|
94
94
|
slug: "raisely-delete-profile",
|
|
95
95
|
name: "Delete Profile",
|
|
96
96
|
description: "Tool to archive a profile in Raisely. Archived profiles are hidden from the campaign but not permanently deleted. Use when a fundraiser wants to remove their profile from public view or when cleaning up campaign profiles.",
|
|
97
97
|
input: RaiselyDeleteProfileInput,
|
|
98
|
-
output: z.object({ data: RaiselyDeleteProfile_ProfileSchema.nullable().optional() }).describe("Response schema for archiving a profile in Raisely.")
|
|
98
|
+
output: z.object({ data: RaiselyDeleteProfile_ProfileSchema.nullable().optional() }).passthrough().describe("Response schema for archiving a profile in Raisely.")
|
|
99
99
|
});
|
|
100
100
|
//#endregion
|
|
101
101
|
export { raiselyDeleteProfile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-profile.mjs","names":[],"sources":["../../src/actions/delete-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyDeleteProfileInput = z.object({\n path: z.string().describe(\"The UUID or path of the profile to archive. This can be either the profile's unique identifier (UUID) or its URL path.\"),\n private: z.boolean().describe(\"If true, returns the full record including private custom fields (requires authentication with proper permissions).\").optional(),\n}).describe(\"Request parameters for archiving a Raisely profile.\");\nconst RaiselyDeleteProfile_UserSchema = z.object({\n uuid: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n state: z.string().describe(\"User's state.\").nullable().optional(),\n ipCity: z.string().describe(\"City from IP geolocation.\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields.\").nullable().optional(),\n status: z.string().describe(\"User account status.\").nullable().optional(),\n suburb: z.string().describe(\"User's suburb.\").nullable().optional(),\n country: z.string().describe(\"User's country.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether user has admin permissions.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields.\").nullable().optional(),\n address1: z.string().describe(\"User's address line 1.\").nullable().optional(),\n address2: z.string().describe(\"User's address line 2.\").nullable().optional(),\n fullName: z.string().describe(\"User's full name.\").nullable().optional(),\n internal: z.record(z.string(), z.unknown()).describe(\"Internal fields.\").nullable().optional(),\n ipNumber: z.string().describe(\"IP address of the user.\").nullable().optional(),\n language: z.string().describe(\"User's preferred language.\").nullable().optional(),\n lastName: z.string().describe(\"User's last name.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the user's photo.\").nullable().optional(),\n postcode: z.string().describe(\"User's postal code.\").nullable().optional(),\n username: z.string().describe(\"User's username.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the user was created.\").nullable().optional(),\n firstName: z.string().describe(\"User's first name.\").nullable().optional(),\n ipCountry: z.string().describe(\"Country from IP geolocation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the user was last updated.\").nullable().optional(),\n facebookId: z.string().describe(\"Associated Facebook ID.\").nullable().optional(),\n ipLatitude: z.number().describe(\"Latitude from IP geolocation.\").nullable().optional(),\n permission: z.string().describe(\"User's permission level.\").nullable().optional(),\n accessToken: z.string().describe(\"User's access token.\").nullable().optional(),\n ipLongitude: z.number().describe(\"Longitude from IP geolocation.\").nullable().optional(),\n isSamlLogin: z.boolean().describe(\"Whether user uses SAML authentication.\").nullable().optional(),\n phoneNumber: z.string().describe(\"User's phone number.\").nullable().optional(),\n adminSettings: z.record(z.string(), z.unknown()).describe(\"Admin settings object.\").nullable().optional(),\n preferredName: z.string().describe(\"User's preferred name.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"Timestamp when user unsubscribed.\").nullable().optional(),\n swiftAidDonorId: z.string().describe(\"SwiftAid donor ID.\").nullable().optional(),\n swiftAidAuthExpiry: z.string().describe(\"SwiftAid authentication expiry.\").nullable().optional(),\n}).describe(\"User object associated with a profile.\");\nconst RaiselyDeleteProfile_ProfileSchema = z.object({\n goal: z.number().int().describe(\"Fundraising goal amount in cents.\").nullable().optional(),\n name: z.string().describe(\"Display name of the profile.\").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(\"URL-friendly path for the profile (used in profile URLs).\").nullable().optional(),\n tags: z.array(z.record(z.string(), z.unknown())).describe(\"List of tags applied to the profile.\").nullable().optional(),\n type: z.string().describe(\"Type of profile: 'INDIVIDUAL', 'GROUP', or 'ORGANISATION'.\").nullable().optional(),\n user: RaiselyDeleteProfile_UserSchema.nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n total: z.number().int().describe(\"Total amount raised in the profile's currency (in cents).\").nullable().optional(),\n badges: z.array(z.record(z.string(), z.unknown())).describe(\"List of badges earned by the profile.\").nullable().optional(),\n parent: z.record(z.string(), z.unknown()).describe(\"Nested parent profile object.\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields configured for the campaign.\").nullable().optional(),\n shared: z.boolean().describe(\"Flag that determines if a profile has been shared by its owner.\").nullable().optional(),\n status: z.string().describe(\"Profile status: 'ACTIVE' or 'DELETED'.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields (only returned when private=true and authenticated).\").nullable().optional(),\n currency: z.string().describe(\"3-letter ISO currency code (e.g., 'USD', 'AUD').\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the profile's photo.\").nullable().optional(),\n pronouns: z.string().describe(\"Pronouns of the profile owner.\").nullable().optional(),\n userUuid: z.string().describe(\"Unique identifier for the user owning the profile.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the profile was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the profile was last updated.\").nullable().optional(),\n grandTotal: z.number().int().describe(\"Total amount raised including registration fees (in cents).\").nullable().optional(),\n parentUuid: z.string().describe(\"Unique identifier for the parent profile.\").nullable().optional(),\n description: z.string().describe(\"Public description of the fundraiser profile.\").nullable().optional(),\n teamProfile: z.record(z.string(), z.unknown()).describe(\"Nested team profile object (if profile is a team member).\").nullable().optional(),\n campaignUuid: z.string().describe(\"Unique identifier for the associated campaign.\").nullable().optional(),\n exerciseGoal: z.number().int().describe(\"Exercise distance goal for the profile, in metres.\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Total number of unique donors to the profile.\").nullable().optional(),\n activityTotal: z.number().int().describe(\"Total contribution of this profile towards its activity goal.\").nullable().optional(),\n campaignTotal: z.number().int().describe(\"Total amount contributed to the campaign total (in cents).\").nullable().optional(),\n donationCount: z.number().int().describe(\"Total number of donations made to this profile and its children (excluded matched gifts).\").nullable().optional(),\n exerciseTotal: z.number().int().describe(\"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(\"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(\"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(\"Total amount raised by self-donations for an individual profile (in cents).\").nullable().optional(),\n organisationProfile: z.record(z.string(), z.unknown()).describe(\"Nested organisation profile object.\").nullable().optional(),\n activityTotalPercent: z.number().int().describe(\"Percentage of the total activity measure compared to the profile goal (out of 100).\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"Total amount raised by a profile in the currency of the campaign (in cents).\").nullable().optional(),\n facebookFundraiserId: z.string().describe(\"Facebook Fundraiser ID linked to the profile.\").nullable().optional(),\n nonSelfDonationTotal: z.number().int().describe(\"Total amount raised excluding self-donations in the currency of the campaign (in cents).\").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 organisation profiles that have joined this profile (or its descendants).\").nullable().optional(),\n}).describe(\"A fundraising profile object in Raisely representing an individual, team, or organisation fundraiser.\");\nexport const RaiselyDeleteProfileOutput = z.object({\n data: RaiselyDeleteProfile_ProfileSchema.nullable().optional(),\n}).describe(\"Response schema for archiving a profile in Raisely.\");\n\nexport const raiselyDeleteProfile = action(\"RAISELY_DELETE_PROFILE\", {\n slug: \"raisely-delete-profile\",\n name: \"Delete Profile\",\n description: \"Tool to archive a profile in Raisely. Archived profiles are hidden from the campaign but not permanently deleted. Use when a fundraiser wants to remove their profile from public view or when cleaning up campaign profiles.\",\n input: RaiselyDeleteProfileInput,\n output: RaiselyDeleteProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH;CAClJ,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAA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B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"delete-profile.mjs","names":[],"sources":["../../src/actions/delete-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyDeleteProfileInput = z.object({\n path: z.string().describe(\"The UUID or path of the profile to archive. This can be either the profile's unique identifier (UUID) or its URL path.\"),\n private: z.boolean().describe(\"If true, returns the full record including private custom fields (requires authentication with proper permissions).\").optional(),\n}).describe(\"Request parameters for archiving a Raisely profile.\");\nconst RaiselyDeleteProfile_UserSchema = z.object({\n uuid: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n state: z.string().describe(\"User's state.\").nullable().optional(),\n ipCity: z.string().describe(\"City from IP geolocation.\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields.\").nullable().optional(),\n status: z.string().describe(\"User account status.\").nullable().optional(),\n suburb: z.string().describe(\"User's suburb.\").nullable().optional(),\n country: z.string().describe(\"User's country.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether user has admin permissions.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields.\").nullable().optional(),\n address1: z.string().describe(\"User's address line 1.\").nullable().optional(),\n address2: z.string().describe(\"User's address line 2.\").nullable().optional(),\n fullName: z.string().describe(\"User's full name.\").nullable().optional(),\n internal: z.record(z.string(), z.unknown()).describe(\"Internal fields.\").nullable().optional(),\n ipNumber: z.string().describe(\"IP address of the user.\").nullable().optional(),\n language: z.string().describe(\"User's preferred language.\").nullable().optional(),\n lastName: z.string().describe(\"User's last name.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the user's photo.\").nullable().optional(),\n postcode: z.string().describe(\"User's postal code.\").nullable().optional(),\n username: z.string().describe(\"User's username.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the user was created.\").nullable().optional(),\n firstName: z.string().describe(\"User's first name.\").nullable().optional(),\n ipCountry: z.string().describe(\"Country from IP geolocation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the user was last updated.\").nullable().optional(),\n facebookId: z.string().describe(\"Associated Facebook ID.\").nullable().optional(),\n ipLatitude: z.number().describe(\"Latitude from IP geolocation.\").nullable().optional(),\n permission: z.string().describe(\"User's permission level.\").nullable().optional(),\n accessToken: z.string().describe(\"User's access token.\").nullable().optional(),\n ipLongitude: z.number().describe(\"Longitude from IP geolocation.\").nullable().optional(),\n isSamlLogin: z.boolean().describe(\"Whether user uses SAML authentication.\").nullable().optional(),\n phoneNumber: z.string().describe(\"User's phone number.\").nullable().optional(),\n adminSettings: z.record(z.string(), z.unknown()).describe(\"Admin settings object.\").nullable().optional(),\n preferredName: z.string().describe(\"User's preferred name.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"Timestamp when user unsubscribed.\").nullable().optional(),\n swiftAidDonorId: z.string().describe(\"SwiftAid donor ID.\").nullable().optional(),\n swiftAidAuthExpiry: z.string().describe(\"SwiftAid authentication expiry.\").nullable().optional(),\n}).passthrough().describe(\"User object associated with a profile.\");\nconst RaiselyDeleteProfile_ProfileSchema = z.object({\n goal: z.number().int().describe(\"Fundraising goal amount in cents.\").nullable().optional(),\n name: z.string().describe(\"Display name of the profile.\").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(\"URL-friendly path for the profile (used in profile URLs).\").nullable().optional(),\n tags: z.array(z.record(z.string(), z.unknown())).describe(\"List of tags applied to the profile.\").nullable().optional(),\n type: z.string().describe(\"Type of profile: 'INDIVIDUAL', 'GROUP', or 'ORGANISATION'.\").nullable().optional(),\n user: RaiselyDeleteProfile_UserSchema.nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n total: z.number().int().describe(\"Total amount raised in the profile's currency (in cents).\").nullable().optional(),\n badges: z.array(z.record(z.string(), z.unknown())).describe(\"List of badges earned by the profile.\").nullable().optional(),\n parent: z.record(z.string(), z.unknown()).describe(\"Nested parent profile object.\").nullable().optional(),\n public: z.record(z.string(), z.unknown()).describe(\"Public custom fields configured for the campaign.\").nullable().optional(),\n shared: z.boolean().describe(\"Flag that determines if a profile has been shared by its owner.\").nullable().optional(),\n status: z.string().describe(\"Profile status: 'ACTIVE' or 'DELETED'.\").nullable().optional(),\n private: z.record(z.string(), z.unknown()).describe(\"Private custom fields (only returned when private=true and authenticated).\").nullable().optional(),\n currency: z.string().describe(\"3-letter ISO currency code (e.g., 'USD', 'AUD').\").nullable().optional(),\n photoUrl: z.string().describe(\"URL to the profile's photo.\").nullable().optional(),\n pronouns: z.string().describe(\"Pronouns of the profile owner.\").nullable().optional(),\n userUuid: z.string().describe(\"Unique identifier for the user owning the profile.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the profile was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the profile was last updated.\").nullable().optional(),\n grandTotal: z.number().int().describe(\"Total amount raised including registration fees (in cents).\").nullable().optional(),\n parentUuid: z.string().describe(\"Unique identifier for the parent profile.\").nullable().optional(),\n description: z.string().describe(\"Public description of the fundraiser profile.\").nullable().optional(),\n teamProfile: z.record(z.string(), z.unknown()).describe(\"Nested team profile object (if profile is a team member).\").nullable().optional(),\n campaignUuid: z.string().describe(\"Unique identifier for the associated campaign.\").nullable().optional(),\n exerciseGoal: z.number().int().describe(\"Exercise distance goal for the profile, in metres.\").nullable().optional(),\n uniqueDonors: z.number().int().describe(\"Total number of unique donors to the profile.\").nullable().optional(),\n activityTotal: z.number().int().describe(\"Total contribution of this profile towards its activity goal.\").nullable().optional(),\n campaignTotal: z.number().int().describe(\"Total amount contributed to the campaign total (in cents).\").nullable().optional(),\n donationCount: z.number().int().describe(\"Total number of donations made to this profile and its children (excluded matched gifts).\").nullable().optional(),\n exerciseTotal: z.number().int().describe(\"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(\"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(\"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(\"Total amount raised by self-donations for an individual profile (in cents).\").nullable().optional(),\n organisationProfile: z.record(z.string(), z.unknown()).describe(\"Nested organisation profile object.\").nullable().optional(),\n activityTotalPercent: z.number().int().describe(\"Percentage of the total activity measure compared to the profile goal (out of 100).\").nullable().optional(),\n campaignDisplayTotal: z.number().int().describe(\"Total amount raised by a profile in the currency of the campaign (in cents).\").nullable().optional(),\n facebookFundraiserId: z.string().describe(\"Facebook Fundraiser ID linked to the profile.\").nullable().optional(),\n nonSelfDonationTotal: z.number().int().describe(\"Total amount raised excluding self-donations in the currency of the campaign (in cents).\").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 organisation profiles that have joined this profile (or its descendants).\").nullable().optional(),\n}).passthrough().describe(\"A fundraising profile object in Raisely representing an individual, team, or organisation fundraiser.\");\nexport const RaiselyDeleteProfileOutput = z.object({\n data: RaiselyDeleteProfile_ProfileSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for archiving a profile in Raisely.\");\n\nexport const raiselyDeleteProfile = action(\"RAISELY_DELETE_PROFILE\", {\n slug: \"raisely-delete-profile\",\n name: \"Delete Profile\",\n description: \"Tool to archive a profile in Raisely. Archived profiles are hidden from the campaign but not permanently deleted. Use when a fundraiser wants to remove their profile from public view or when cleaning up campaign profiles.\",\n input: RaiselyDeleteProfileInput,\n output: RaiselyDeleteProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH;CAClJ,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,E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od.z.object({
|
|
|
10
10
|
createdAt: zod.z.string().describe("Date and time the record was created.").nullable().optional(),
|
|
11
11
|
campaignUuid: zod.z.string().describe("Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.").nullable().optional()
|
|
12
12
|
}).passthrough().describe("Webhook data object returned after deletion.");
|
|
13
|
-
const RaiselyDeleteWebhookOutput = zod.z.object({ data: RaiselyDeleteWebhook_WebhookDataSchema.nullable() }).describe("Response containing the deleted webhook record from Raisely.");
|
|
13
|
+
const RaiselyDeleteWebhookOutput = zod.z.object({ data: RaiselyDeleteWebhook_WebhookDataSchema.nullable() }).passthrough().describe("Response containing the deleted webhook record from Raisely.");
|
|
14
14
|
const raiselyDeleteWebhook = require_action.action("RAISELY_DELETE_WEBHOOK", {
|
|
15
15
|
slug: "raisely-delete-webhook",
|
|
16
16
|
name: "Delete Raisely Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyDeleteWebhookInput = z.object({\n uuid: z.string().describe(\"The uuid of the webhook to delete. This uniquely identifies the webhook record.\"),\n}).describe(\"Request parameters for deleting a webhook from Raisely.\");\nconst RaiselyDeleteWebhook_WebhookDataSchema = z.object({\n url: z.string().describe(\"The url to send the webhooks to.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n events: z.array(z.unknown()).describe(\"Array of events to forward to the webhook.\").nullable().optional(),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created.\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned after deletion.\");\nexport const RaiselyDeleteWebhookOutput = z.object({\n data: RaiselyDeleteWebhook_WebhookDataSchema.nullable(),\n}).describe(\"Response containing the deleted webhook record from Raisely.\");\n\nexport const raiselyDeleteWebhook = action(\"RAISELY_DELETE_WEBHOOK\", {\n slug: \"raisely-delete-webhook\",\n name: \"Delete Raisely Webhook\",\n description: \"Tool to delete a webhook from the Raisely platform. Use when you need to permanently remove a webhook subscription by its UUID. Returns the deleted webhook record upon successful deletion.\",\n input: RaiselyDeleteWebhookInput,\n output: RaiselyDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC7G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyDeleteWebhookInput = z.object({\n uuid: z.string().describe(\"The uuid of the webhook to delete. This uniquely identifies the webhook record.\"),\n}).describe(\"Request parameters for deleting a webhook from Raisely.\");\nconst RaiselyDeleteWebhook_WebhookDataSchema = z.object({\n url: z.string().describe(\"The url to send the webhooks to.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n events: z.array(z.unknown()).describe(\"Array of events to forward to the webhook.\").nullable().optional(),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created.\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned after deletion.\");\nexport const RaiselyDeleteWebhookOutput = z.object({\n data: RaiselyDeleteWebhook_WebhookDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the deleted webhook record from Raisely.\");\n\nexport const raiselyDeleteWebhook = action(\"RAISELY_DELETE_WEBHOOK\", {\n slug: \"raisely-delete-webhook\",\n name: \"Delete Raisely Webhook\",\n description: \"Tool to delete a webhook from the Raisely platform. Use when you need to permanently remove a webhook subscription by its UUID. Returns the deleted webhook record upon successful deletion.\",\n input: RaiselyDeleteWebhookInput,\n output: RaiselyDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC7G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const RaiselyDeleteWebhookOutput: z.ZodObject<{
|
|
|
13
13
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
}, z.core.$loose>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const raiselyDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
uuid: string;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -13,7 +13,7 @@ declare const RaiselyDeleteWebhookOutput: z.ZodObject<{
|
|
|
13
13
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
campaignUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
}, z.core.$loose>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const raiselyDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
uuid: string;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,7 +15,7 @@ const raiselyDeleteWebhook = action("RAISELY_DELETE_WEBHOOK", {
|
|
|
15
15
|
name: "Delete Raisely Webhook",
|
|
16
16
|
description: "Tool to delete a webhook from the Raisely platform. Use when you need to permanently remove a webhook subscription by its UUID. Returns the deleted webhook record upon successful deletion.",
|
|
17
17
|
input: RaiselyDeleteWebhookInput,
|
|
18
|
-
output: z.object({ data: RaiselyDeleteWebhook_WebhookDataSchema.nullable() }).describe("Response containing the deleted webhook record from Raisely.")
|
|
18
|
+
output: z.object({ data: RaiselyDeleteWebhook_WebhookDataSchema.nullable() }).passthrough().describe("Response containing the deleted webhook record from Raisely.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { raiselyDeleteWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyDeleteWebhookInput = z.object({\n uuid: z.string().describe(\"The uuid of the webhook to delete. This uniquely identifies the webhook record.\"),\n}).describe(\"Request parameters for deleting a webhook from Raisely.\");\nconst RaiselyDeleteWebhook_WebhookDataSchema = z.object({\n url: z.string().describe(\"The url to send the webhooks to.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n events: z.array(z.unknown()).describe(\"Array of events to forward to the webhook.\").nullable().optional(),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created.\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned after deletion.\");\nexport const RaiselyDeleteWebhookOutput = z.object({\n data: RaiselyDeleteWebhook_WebhookDataSchema.nullable(),\n}).describe(\"Response containing the deleted webhook record from Raisely.\");\n\nexport const raiselyDeleteWebhook = action(\"RAISELY_DELETE_WEBHOOK\", {\n slug: \"raisely-delete-webhook\",\n name: \"Delete Raisely Webhook\",\n description: \"Tool to delete a webhook from the Raisely platform. Use when you need to permanently remove a webhook subscription by its UUID. Returns the deleted webhook record upon successful deletion.\",\n input: RaiselyDeleteWebhookInput,\n output: RaiselyDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC7G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyDeleteWebhookInput = z.object({\n uuid: z.string().describe(\"The uuid of the webhook to delete. This uniquely identifies the webhook record.\"),\n}).describe(\"Request parameters for deleting a webhook from Raisely.\");\nconst RaiselyDeleteWebhook_WebhookDataSchema = z.object({\n url: z.string().describe(\"The url to send the webhooks to.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n events: z.array(z.unknown()).describe(\"Array of events to forward to the webhook.\").nullable().optional(),\n secret: z.string().describe(\"A shared secret for use with your webhook. This will be included in the payload from Raisely so you can verify it is authentic.\").nullable().optional(),\n createdAt: z.string().describe(\"Date and time the record was created.\").nullable().optional(),\n campaignUuid: z.string().describe(\"Filter events to the specific campaign only. If omitted you will receive events for the whole Raisely account.\").nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned after deletion.\");\nexport const RaiselyDeleteWebhookOutput = z.object({\n data: RaiselyDeleteWebhook_WebhookDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the deleted webhook record from Raisely.\");\n\nexport const raiselyDeleteWebhook = action(\"RAISELY_DELETE_WEBHOOK\", {\n slug: \"raisely-delete-webhook\",\n name: \"Delete Raisely Webhook\",\n description: \"Tool to delete a webhook from the Raisely platform. Use when you need to permanently remove a webhook subscription by its UUID. Returns the deleted webhook record upon successful deletion.\",\n input: RaiselyDeleteWebhookInput,\n output: RaiselyDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC7G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
|
|
@@ -6,11 +6,11 @@ const RaiselyGetApiDocs_ApiContactInfoSchema = zod.z.object({
|
|
|
6
6
|
url: zod.z.string().describe("URL for more information").nullable().optional(),
|
|
7
7
|
name: zod.z.string().describe("Name of the contact").nullable().optional(),
|
|
8
8
|
email: zod.z.string().describe("Email address for support").nullable().optional()
|
|
9
|
-
}).describe("Contact information for the API provider.");
|
|
9
|
+
}).passthrough().describe("Contact information for the API provider.");
|
|
10
10
|
const RaiselyGetApiDocs_ApiLicenseInfoSchema = zod.z.object({
|
|
11
11
|
url: zod.z.string().describe("URL for the license details").nullable().optional(),
|
|
12
12
|
name: zod.z.string().describe("Name of the license").nullable().optional()
|
|
13
|
-
}).describe("License information for the API.");
|
|
13
|
+
}).passthrough().describe("License information for the API.");
|
|
14
14
|
const RaiselyGetApiDocs_ApiInfoSchema = zod.z.object({
|
|
15
15
|
title: zod.z.string().describe("Title of the API").nullable(),
|
|
16
16
|
contact: RaiselyGetApiDocs_ApiContactInfoSchema.nullable().optional(),
|
|
@@ -18,12 +18,12 @@ const RaiselyGetApiDocs_ApiInfoSchema = zod.z.object({
|
|
|
18
18
|
version: zod.z.string().describe("Version of the API").nullable(),
|
|
19
19
|
description: zod.z.string().describe("Description of the API").nullable().optional(),
|
|
20
20
|
termsOfService: zod.z.string().describe("URL to terms of service").nullable().optional()
|
|
21
|
-
}).describe("General information about the API.");
|
|
21
|
+
}).passthrough().describe("General information about the API.");
|
|
22
22
|
const RaiselyGetApiDocsOutput = zod.z.object({
|
|
23
23
|
info: RaiselyGetApiDocs_ApiInfoSchema.nullable(),
|
|
24
24
|
openapi: zod.z.string().describe("OpenAPI specification version (e.g., '3.0.0')").nullable(),
|
|
25
25
|
sample_paths: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A sample of available API endpoint paths (first 2) to give an overview of the API structure")
|
|
26
|
-
}).describe("Response schema containing a summary of the Raisely API documentation.\nIncludes metadata and a sample of available endpoints.");
|
|
26
|
+
}).passthrough().describe("Response schema containing a summary of the Raisely API documentation.\nIncludes metadata and a sample of available endpoints.");
|
|
27
27
|
const raiselyGetApiDocs = require_action.action("RAISELY_GET_API_DOCS", {
|
|
28
28
|
slug: "raisely-get-api-docs",
|
|
29
29
|
name: "Retrieve Raisely API Documentation Summary",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-api-docs.cjs","names":["z","action"],"sources":["../../src/actions/get-api-docs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetApiDocsInput = z.object({}).describe(\"Request schema for retrieving the Raisely API documentation summary.\\nNo parameters are required.\");\nconst RaiselyGetApiDocs_ApiContactInfoSchema = z.object({\n url: z.string().describe(\"URL for more information\").nullable().optional(),\n name: z.string().describe(\"Name of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address for support\").nullable().optional(),\n}).describe(\"Contact information for the API provider.\");\nconst RaiselyGetApiDocs_ApiLicenseInfoSchema = z.object({\n url: z.string().describe(\"URL for the license details\").nullable().optional(),\n name: z.string().describe(\"Name of the license\").nullable().optional(),\n}).describe(\"License information for the API.\");\nconst RaiselyGetApiDocs_ApiInfoSchema = z.object({\n title: z.string().describe(\"Title of the API\").nullable(),\n contact: RaiselyGetApiDocs_ApiContactInfoSchema.nullable().optional(),\n license: RaiselyGetApiDocs_ApiLicenseInfoSchema.nullable().optional(),\n version: z.string().describe(\"Version of the API\").nullable(),\n description: z.string().describe(\"Description of the API\").nullable().optional(),\n termsOfService: z.string().describe(\"URL to terms of service\").nullable().optional(),\n}).describe(\"General information about the API.\");\nexport const RaiselyGetApiDocsOutput = z.object({\n info: RaiselyGetApiDocs_ApiInfoSchema.nullable(),\n openapi: z.string().describe(\"OpenAPI specification version (e.g., '3.0.0')\").nullable(),\n sample_paths: z.record(z.string(), z.unknown()).describe(\"A sample of available API endpoint paths (first 2) to give an overview of the API structure\"),\n}).describe(\"Response schema containing a summary of the Raisely API documentation.\\nIncludes metadata and a sample of available endpoints.\");\n\nexport const raiselyGetApiDocs = action(\"RAISELY_GET_API_DOCS\", {\n slug: \"raisely-get-api-docs\",\n name: \"Retrieve Raisely API Documentation Summary\",\n description: \"Retrieve a summary of the Raisely API documentation including metadata and sample endpoints. Returns the OpenAPI version, API info (title, version, description, contact), and a sample of available paths. Use this to understand the general structure of the Raisely API.\",\n input: RaiselyGetApiDocsInput,\n output: RaiselyGetApiDocsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/J,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-api-docs.cjs","names":["z","action"],"sources":["../../src/actions/get-api-docs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetApiDocsInput = z.object({}).describe(\"Request schema for retrieving the Raisely API documentation summary.\\nNo parameters are required.\");\nconst RaiselyGetApiDocs_ApiContactInfoSchema = z.object({\n url: z.string().describe(\"URL for more information\").nullable().optional(),\n name: z.string().describe(\"Name of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address for support\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the API provider.\");\nconst RaiselyGetApiDocs_ApiLicenseInfoSchema = z.object({\n url: z.string().describe(\"URL for the license details\").nullable().optional(),\n name: z.string().describe(\"Name of the license\").nullable().optional(),\n}).passthrough().describe(\"License information for the API.\");\nconst RaiselyGetApiDocs_ApiInfoSchema = z.object({\n title: z.string().describe(\"Title of the API\").nullable(),\n contact: RaiselyGetApiDocs_ApiContactInfoSchema.nullable().optional(),\n license: RaiselyGetApiDocs_ApiLicenseInfoSchema.nullable().optional(),\n version: z.string().describe(\"Version of the API\").nullable(),\n description: z.string().describe(\"Description of the API\").nullable().optional(),\n termsOfService: z.string().describe(\"URL to terms of service\").nullable().optional(),\n}).passthrough().describe(\"General information about the API.\");\nexport const RaiselyGetApiDocsOutput = z.object({\n info: RaiselyGetApiDocs_ApiInfoSchema.nullable(),\n openapi: z.string().describe(\"OpenAPI specification version (e.g., '3.0.0')\").nullable(),\n sample_paths: z.record(z.string(), z.unknown()).describe(\"A sample of available API endpoint paths (first 2) to give an overview of the API structure\"),\n}).passthrough().describe(\"Response schema containing a summary of the Raisely API documentation.\\nIncludes metadata and a sample of available endpoints.\");\n\nexport const raiselyGetApiDocs = action(\"RAISELY_GET_API_DOCS\", {\n slug: \"raisely-get-api-docs\",\n name: \"Retrieve Raisely API Documentation Summary\",\n description: \"Retrieve a summary of the Raisely API documentation including metadata and sample endpoints. Returns the OpenAPI version, API info (title, version, description, contact), and a sample of available paths. Use this to understand the general structure of the Raisely API.\",\n input: RaiselyGetApiDocsInput,\n output: RaiselyGetApiDocsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/J,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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|
11
11
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
license: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
version: z.ZodNullable<z.ZodString>;
|
|
18
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
termsOfService: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
openapi: z.ZodNullable<z.ZodString>;
|
|
22
22
|
sample_paths: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const raiselyGetApiDocs: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { raiselyGetApiDocs };
|
|
@@ -9,18 +9,18 @@ declare const RaiselyGetApiDocsOutput: z.ZodObject<{
|
|
|
9
9
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
license: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
version: z.ZodNullable<z.ZodString>;
|
|
18
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
termsOfService: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
openapi: z.ZodNullable<z.ZodString>;
|
|
22
22
|
sample_paths: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const raiselyGetApiDocs: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { raiselyGetApiDocs };
|
|
@@ -6,11 +6,11 @@ const RaiselyGetApiDocs_ApiContactInfoSchema = z.object({
|
|
|
6
6
|
url: z.string().describe("URL for more information").nullable().optional(),
|
|
7
7
|
name: z.string().describe("Name of the contact").nullable().optional(),
|
|
8
8
|
email: z.string().describe("Email address for support").nullable().optional()
|
|
9
|
-
}).describe("Contact information for the API provider.");
|
|
9
|
+
}).passthrough().describe("Contact information for the API provider.");
|
|
10
10
|
const RaiselyGetApiDocs_ApiLicenseInfoSchema = z.object({
|
|
11
11
|
url: z.string().describe("URL for the license details").nullable().optional(),
|
|
12
12
|
name: z.string().describe("Name of the license").nullable().optional()
|
|
13
|
-
}).describe("License information for the API.");
|
|
13
|
+
}).passthrough().describe("License information for the API.");
|
|
14
14
|
const RaiselyGetApiDocs_ApiInfoSchema = z.object({
|
|
15
15
|
title: z.string().describe("Title of the API").nullable(),
|
|
16
16
|
contact: RaiselyGetApiDocs_ApiContactInfoSchema.nullable().optional(),
|
|
@@ -18,7 +18,7 @@ const RaiselyGetApiDocs_ApiInfoSchema = z.object({
|
|
|
18
18
|
version: z.string().describe("Version of the API").nullable(),
|
|
19
19
|
description: z.string().describe("Description of the API").nullable().optional(),
|
|
20
20
|
termsOfService: z.string().describe("URL to terms of service").nullable().optional()
|
|
21
|
-
}).describe("General information about the API.");
|
|
21
|
+
}).passthrough().describe("General information about the API.");
|
|
22
22
|
const raiselyGetApiDocs = action("RAISELY_GET_API_DOCS", {
|
|
23
23
|
slug: "raisely-get-api-docs",
|
|
24
24
|
name: "Retrieve Raisely API Documentation Summary",
|
|
@@ -28,7 +28,7 @@ const raiselyGetApiDocs = action("RAISELY_GET_API_DOCS", {
|
|
|
28
28
|
info: RaiselyGetApiDocs_ApiInfoSchema.nullable(),
|
|
29
29
|
openapi: z.string().describe("OpenAPI specification version (e.g., '3.0.0')").nullable(),
|
|
30
30
|
sample_paths: z.record(z.string(), z.unknown()).describe("A sample of available API endpoint paths (first 2) to give an overview of the API structure")
|
|
31
|
-
}).describe("Response schema containing a summary of the Raisely API documentation.\nIncludes metadata and a sample of available endpoints.")
|
|
31
|
+
}).passthrough().describe("Response schema containing a summary of the Raisely API documentation.\nIncludes metadata and a sample of available endpoints.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { raiselyGetApiDocs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-api-docs.mjs","names":[],"sources":["../../src/actions/get-api-docs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetApiDocsInput = z.object({}).describe(\"Request schema for retrieving the Raisely API documentation summary.\\nNo parameters are required.\");\nconst RaiselyGetApiDocs_ApiContactInfoSchema = z.object({\n url: z.string().describe(\"URL for more information\").nullable().optional(),\n name: z.string().describe(\"Name of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address for support\").nullable().optional(),\n}).describe(\"Contact information for the API provider.\");\nconst RaiselyGetApiDocs_ApiLicenseInfoSchema = z.object({\n url: z.string().describe(\"URL for the license details\").nullable().optional(),\n name: z.string().describe(\"Name of the license\").nullable().optional(),\n}).describe(\"License information for the API.\");\nconst RaiselyGetApiDocs_ApiInfoSchema = z.object({\n title: z.string().describe(\"Title of the API\").nullable(),\n contact: RaiselyGetApiDocs_ApiContactInfoSchema.nullable().optional(),\n license: RaiselyGetApiDocs_ApiLicenseInfoSchema.nullable().optional(),\n version: z.string().describe(\"Version of the API\").nullable(),\n description: z.string().describe(\"Description of the API\").nullable().optional(),\n termsOfService: z.string().describe(\"URL to terms of service\").nullable().optional(),\n}).describe(\"General information about the API.\");\nexport const RaiselyGetApiDocsOutput = z.object({\n info: RaiselyGetApiDocs_ApiInfoSchema.nullable(),\n openapi: z.string().describe(\"OpenAPI specification version (e.g., '3.0.0')\").nullable(),\n sample_paths: z.record(z.string(), z.unknown()).describe(\"A sample of available API endpoint paths (first 2) to give an overview of the API structure\"),\n}).describe(\"Response schema containing a summary of the Raisely API documentation.\\nIncludes metadata and a sample of available endpoints.\");\n\nexport const raiselyGetApiDocs = action(\"RAISELY_GET_API_DOCS\", {\n slug: \"raisely-get-api-docs\",\n name: \"Retrieve Raisely API Documentation Summary\",\n description: \"Retrieve a summary of the Raisely API documentation including metadata and sample endpoints. Returns the OpenAPI version, API info (title, version, description, contact), and a sample of available paths. Use this to understand the general structure of the Raisely API.\",\n input: RaiselyGetApiDocsInput,\n output: RaiselyGetApiDocsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/J,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-api-docs.mjs","names":[],"sources":["../../src/actions/get-api-docs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetApiDocsInput = z.object({}).describe(\"Request schema for retrieving the Raisely API documentation summary.\\nNo parameters are required.\");\nconst RaiselyGetApiDocs_ApiContactInfoSchema = z.object({\n url: z.string().describe(\"URL for more information\").nullable().optional(),\n name: z.string().describe(\"Name of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address for support\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the API provider.\");\nconst RaiselyGetApiDocs_ApiLicenseInfoSchema = z.object({\n url: z.string().describe(\"URL for the license details\").nullable().optional(),\n name: z.string().describe(\"Name of the license\").nullable().optional(),\n}).passthrough().describe(\"License information for the API.\");\nconst RaiselyGetApiDocs_ApiInfoSchema = z.object({\n title: z.string().describe(\"Title of the API\").nullable(),\n contact: RaiselyGetApiDocs_ApiContactInfoSchema.nullable().optional(),\n license: RaiselyGetApiDocs_ApiLicenseInfoSchema.nullable().optional(),\n version: z.string().describe(\"Version of the API\").nullable(),\n description: z.string().describe(\"Description of the API\").nullable().optional(),\n termsOfService: z.string().describe(\"URL to terms of service\").nullable().optional(),\n}).passthrough().describe(\"General information about the API.\");\nexport const RaiselyGetApiDocsOutput = z.object({\n info: RaiselyGetApiDocs_ApiInfoSchema.nullable(),\n openapi: z.string().describe(\"OpenAPI specification version (e.g., '3.0.0')\").nullable(),\n sample_paths: z.record(z.string(), z.unknown()).describe(\"A sample of available API endpoint paths (first 2) to give an overview of the API structure\"),\n}).passthrough().describe(\"Response schema containing a summary of the Raisely API documentation.\\nIncludes metadata and a sample of available endpoints.\");\n\nexport const raiselyGetApiDocs = action(\"RAISELY_GET_API_DOCS\", {\n slug: \"raisely-get-api-docs\",\n name: \"Retrieve Raisely API Documentation Summary\",\n description: \"Retrieve a summary of the Raisely API documentation including metadata and sample endpoints. Returns the OpenAPI version, API info (title, version, description, contact), and a sample of available paths. Use this to understand the general structure of the Raisely API.\",\n input: RaiselyGetApiDocsInput,\n output: RaiselyGetApiDocsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/J,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACxD,SAAS,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAO9D,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXqC,EAAE,OAAO;EAC9C,MAAM,gCAAgC,SAAS;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gIAOhB;AACV,CAAC"}
|
|
@@ -41,13 +41,13 @@ const RaiselyGetAuthenticate_UserDataSchema = zod.z.object({
|
|
|
41
41
|
swiftAidDonorId: zod.z.string().describe("Id of donor on SwiftAid.").nullable().optional(),
|
|
42
42
|
organisationUuid: zod.z.string().describe("UUID of the organisation this token belongs to.").nullable().optional(),
|
|
43
43
|
swiftAidAuthExpiry: zod.z.string().describe("Date of expiry of donor authorisation for SwiftAid.").nullable().optional()
|
|
44
|
-
}).describe("User data returned in authentication response.");
|
|
44
|
+
}).passthrough().describe("User data returned in authentication response.");
|
|
45
45
|
const RaiselyGetAuthenticateOutput = zod.z.object({
|
|
46
46
|
data: RaiselyGetAuthenticate_UserDataSchema.nullable().optional(),
|
|
47
47
|
roles: zod.z.array(zod.z.string()).describe("Roles granted to this token (may be a subset of those granted to the user).").nullable().optional(),
|
|
48
48
|
campaigns: zod.z.array(zod.z.string()).describe("UUIDs of campaigns this user is assigned to.").nullable().optional(),
|
|
49
49
|
permission: zod.z.string().describe("A specific permission that is granted to this token.").nullable().optional()
|
|
50
|
-
}).describe("Response schema for Raisely authentication endpoint.\nContains authenticated user data, roles, and permissions.");
|
|
50
|
+
}).passthrough().describe("Response schema for Raisely authentication endpoint.\nContains authenticated user data, roles, and permissions.");
|
|
51
51
|
const raiselyGetAuthenticate = require_action.action("RAISELY_GET_AUTHENTICATE", {
|
|
52
52
|
slug: "raisely-get-authenticate",
|
|
53
53
|
name: "Authenticate Token",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-authenticate.cjs","names":["z","action"],"sources":["../../src/actions/get-authenticate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetAuthenticateInput = z.object({}).describe(\"Request schema for authenticating a token in Raisely. No parameters required.\");\nconst RaiselyGetAuthenticate_UserDataSchema = z.object({\n tags: z.array(z.unknown()).describe(\"Tags associated with the user.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the user record.\").nullable().optional(),\n email: z.string().describe(\"User's email address. Raisely uses this as a unique identifier.\").nullable().optional(),\n state: z.string().describe(\"The state/province of the user.\").nullable().optional(),\n ipCity: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n public: z.unknown().describe(\"Public values for this record. May be a dictionary, null, or redacted string.\").nullable().optional(),\n status: z.string().describe(\"User status: ACTIVE or DELETED.\").nullable().optional(),\n suburb: z.string().describe(\"The suburb/city of the user.\").nullable().optional(),\n country: z.string().describe(\"The country of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"True if this user has admin permissions.\").nullable().optional(),\n private: z.unknown().describe(\"Private values for this record. May be a dictionary, null, or redacted string.\").nullable().optional(),\n address1: z.string().describe(\"Line 1 of an address.\").nullable().optional(),\n address2: z.string().describe(\"Line 2 of an address.\").nullable().optional(),\n fullName: z.string().describe(\"The full name of the user.\").nullable().optional(),\n internal: z.unknown().describe(\"Internal values related to this record. May be a dictionary or redacted string.\").nullable().optional(),\n ipNumber: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n language: z.string().describe(\"The language the user last interacted in.\").nullable().optional(),\n lastName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL of the user's photo.\").nullable().optional(),\n postcode: z.string().describe(\"Postal code of the user.\").nullable().optional(),\n username: z.string().describe(\"The login email for this user.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the record was created.\").nullable().optional(),\n firstName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n ipCountry: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the record was last updated.\").nullable().optional(),\n facebookId: z.string().describe(\"The Facebook ID provided on authentication.\").nullable().optional(),\n ipLatitude: z.number().describe(\"Deprecated IP-related field.\").nullable().optional(),\n permission: z.string().describe(\"Deprecated permission level. Use roles instead.\").nullable().optional(),\n accessToken: z.string().describe(\"A secret token for this user, used to authenticate them against the API.\").nullable().optional(),\n ipLongitude: z.number().describe(\"Deprecated IP-related field.\").nullable().optional(),\n isSamlLogin: z.boolean().describe(\"True if this user logs in via organisation SAML login.\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n adminSettings: z.record(z.string(), z.unknown()).describe(\"Object containing settings for admin users.\").nullable().optional(),\n preferredName: z.string().describe(\"The name that the user prefers to be called.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"ISO8601 timestamp of when the user was unsubscribed from non-essential emails or SMS. A blank value indicates the user is still subscribed.\").nullable().optional(),\n swiftAidDonorId: z.string().describe(\"Id of donor on SwiftAid.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this token belongs to.\").nullable().optional(),\n swiftAidAuthExpiry: z.string().describe(\"Date of expiry of donor authorisation for SwiftAid.\").nullable().optional(),\n}).describe(\"User data returned in authentication response.\");\nexport const RaiselyGetAuthenticateOutput = z.object({\n data: RaiselyGetAuthenticate_UserDataSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"Roles granted to this token (may be a subset of those granted to the user).\").nullable().optional(),\n campaigns: z.array(z.string()).describe(\"UUIDs of campaigns this user is assigned to.\").nullable().optional(),\n permission: z.string().describe(\"A specific permission that is granted to this token.\").nullable().optional(),\n}).describe(\"Response schema for Raisely authentication endpoint.\\nContains authenticated user data, roles, and permissions.\");\n\nexport const raiselyGetAuthenticate = action(\"RAISELY_GET_AUTHENTICATE\", {\n slug: \"raisely-get-authenticate\",\n name: \"Authenticate Token\",\n description: \"Authenticate a token to confirm it's valid and check the logged-in user. Use to verify token validity, get the authenticated user's details, and find the organisation UUID for future requests.\",\n input: RaiselyGetAuthenticateInput,\n output: RaiselyGetAuthenticateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAChJ,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,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CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"get-authenticate.cjs","names":["z","action"],"sources":["../../src/actions/get-authenticate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetAuthenticateInput = z.object({}).describe(\"Request schema for authenticating a token in Raisely. No parameters required.\");\nconst RaiselyGetAuthenticate_UserDataSchema = z.object({\n tags: z.array(z.unknown()).describe(\"Tags associated with the user.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the user record.\").nullable().optional(),\n email: z.string().describe(\"User's email address. Raisely uses this as a unique identifier.\").nullable().optional(),\n state: z.string().describe(\"The state/province of the user.\").nullable().optional(),\n ipCity: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n public: z.unknown().describe(\"Public values for this record. May be a dictionary, null, or redacted string.\").nullable().optional(),\n status: z.string().describe(\"User status: ACTIVE or DELETED.\").nullable().optional(),\n suburb: z.string().describe(\"The suburb/city of the user.\").nullable().optional(),\n country: z.string().describe(\"The country of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"True if this user has admin permissions.\").nullable().optional(),\n private: z.unknown().describe(\"Private values for this record. May be a dictionary, null, or redacted string.\").nullable().optional(),\n address1: z.string().describe(\"Line 1 of an address.\").nullable().optional(),\n address2: z.string().describe(\"Line 2 of an address.\").nullable().optional(),\n fullName: z.string().describe(\"The full name of the user.\").nullable().optional(),\n internal: z.unknown().describe(\"Internal values related to this record. May be a dictionary or redacted string.\").nullable().optional(),\n ipNumber: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n language: z.string().describe(\"The language the user last interacted in.\").nullable().optional(),\n lastName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL of the user's photo.\").nullable().optional(),\n postcode: z.string().describe(\"Postal code of the user.\").nullable().optional(),\n username: z.string().describe(\"The login email for this user.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the record was created.\").nullable().optional(),\n firstName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n ipCountry: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the record was last updated.\").nullable().optional(),\n facebookId: z.string().describe(\"The Facebook ID provided on authentication.\").nullable().optional(),\n ipLatitude: z.number().describe(\"Deprecated IP-related field.\").nullable().optional(),\n permission: z.string().describe(\"Deprecated permission level. Use roles instead.\").nullable().optional(),\n accessToken: z.string().describe(\"A secret token for this user, used to authenticate them against the API.\").nullable().optional(),\n ipLongitude: z.number().describe(\"Deprecated IP-related field.\").nullable().optional(),\n isSamlLogin: z.boolean().describe(\"True if this user logs in via organisation SAML login.\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n adminSettings: z.record(z.string(), z.unknown()).describe(\"Object containing settings for admin users.\").nullable().optional(),\n preferredName: z.string().describe(\"The name that the user prefers to be called.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"ISO8601 timestamp of when the user was unsubscribed from non-essential emails or SMS. A blank value indicates the user is still subscribed.\").nullable().optional(),\n swiftAidDonorId: z.string().describe(\"Id of donor on SwiftAid.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this token belongs to.\").nullable().optional(),\n swiftAidAuthExpiry: z.string().describe(\"Date of expiry of donor authorisation for SwiftAid.\").nullable().optional(),\n}).passthrough().describe(\"User data returned in authentication response.\");\nexport const RaiselyGetAuthenticateOutput = z.object({\n data: RaiselyGetAuthenticate_UserDataSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"Roles granted to this token (may be a subset of those granted to the user).\").nullable().optional(),\n campaigns: z.array(z.string()).describe(\"UUIDs of campaigns this user is assigned to.\").nullable().optional(),\n permission: z.string().describe(\"A specific permission that is granted to this token.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for Raisely authentication endpoint.\\nContains authenticated user data, roles, and permissions.\");\n\nexport const raiselyGetAuthenticate = action(\"RAISELY_GET_AUTHENTICATE\", {\n slug: \"raisely-get-authenticate\",\n name: \"Authenticate Token\",\n description: \"Authenticate a token to confirm it's valid and check the logged-in user. Use to verify token validity, get the authenticated user's details, and find the organisation UUID for future requests.\",\n input: RaiselyGetAuthenticateInput,\n output: RaiselyGetAuthenticateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAChJ,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,S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SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iHAAiH;AAE3I,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -42,11 +42,11 @@ declare const RaiselyGetAuthenticateOutput: z.ZodObject<{
|
|
|
42
42
|
swiftAidDonorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
organisationUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
swiftAidAuthExpiry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
47
47
|
campaigns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
48
48
|
permission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const raiselyGetAuthenticate: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { raiselyGetAuthenticate };
|
|
@@ -42,11 +42,11 @@ declare const RaiselyGetAuthenticateOutput: z.ZodObject<{
|
|
|
42
42
|
swiftAidDonorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
organisationUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
swiftAidAuthExpiry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
47
47
|
campaigns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
48
48
|
permission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const raiselyGetAuthenticate: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { raiselyGetAuthenticate };
|
|
@@ -41,7 +41,7 @@ const RaiselyGetAuthenticate_UserDataSchema = z.object({
|
|
|
41
41
|
swiftAidDonorId: z.string().describe("Id of donor on SwiftAid.").nullable().optional(),
|
|
42
42
|
organisationUuid: z.string().describe("UUID of the organisation this token belongs to.").nullable().optional(),
|
|
43
43
|
swiftAidAuthExpiry: z.string().describe("Date of expiry of donor authorisation for SwiftAid.").nullable().optional()
|
|
44
|
-
}).describe("User data returned in authentication response.");
|
|
44
|
+
}).passthrough().describe("User data returned in authentication response.");
|
|
45
45
|
const raiselyGetAuthenticate = action("RAISELY_GET_AUTHENTICATE", {
|
|
46
46
|
slug: "raisely-get-authenticate",
|
|
47
47
|
name: "Authenticate Token",
|
|
@@ -52,7 +52,7 @@ const raiselyGetAuthenticate = action("RAISELY_GET_AUTHENTICATE", {
|
|
|
52
52
|
roles: z.array(z.string()).describe("Roles granted to this token (may be a subset of those granted to the user).").nullable().optional(),
|
|
53
53
|
campaigns: z.array(z.string()).describe("UUIDs of campaigns this user is assigned to.").nullable().optional(),
|
|
54
54
|
permission: z.string().describe("A specific permission that is granted to this token.").nullable().optional()
|
|
55
|
-
}).describe("Response schema for Raisely authentication endpoint.\nContains authenticated user data, roles, and permissions.")
|
|
55
|
+
}).passthrough().describe("Response schema for Raisely authentication endpoint.\nContains authenticated user data, roles, and permissions.")
|
|
56
56
|
});
|
|
57
57
|
//#endregion
|
|
58
58
|
export { raiselyGetAuthenticate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-authenticate.mjs","names":[],"sources":["../../src/actions/get-authenticate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetAuthenticateInput = z.object({}).describe(\"Request schema for authenticating a token in Raisely. No parameters required.\");\nconst RaiselyGetAuthenticate_UserDataSchema = z.object({\n tags: z.array(z.unknown()).describe(\"Tags associated with the user.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the user record.\").nullable().optional(),\n email: z.string().describe(\"User's email address. Raisely uses this as a unique identifier.\").nullable().optional(),\n state: z.string().describe(\"The state/province of the user.\").nullable().optional(),\n ipCity: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n public: z.unknown().describe(\"Public values for this record. May be a dictionary, null, or redacted string.\").nullable().optional(),\n status: z.string().describe(\"User status: ACTIVE or DELETED.\").nullable().optional(),\n suburb: z.string().describe(\"The suburb/city of the user.\").nullable().optional(),\n country: z.string().describe(\"The country of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"True if this user has admin permissions.\").nullable().optional(),\n private: z.unknown().describe(\"Private values for this record. May be a dictionary, null, or redacted string.\").nullable().optional(),\n address1: z.string().describe(\"Line 1 of an address.\").nullable().optional(),\n address2: z.string().describe(\"Line 2 of an address.\").nullable().optional(),\n fullName: z.string().describe(\"The full name of the user.\").nullable().optional(),\n internal: z.unknown().describe(\"Internal values related to this record. May be a dictionary or redacted string.\").nullable().optional(),\n ipNumber: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n language: z.string().describe(\"The language the user last interacted in.\").nullable().optional(),\n lastName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL of the user's photo.\").nullable().optional(),\n postcode: z.string().describe(\"Postal code of the user.\").nullable().optional(),\n username: z.string().describe(\"The login email for this user.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the record was created.\").nullable().optional(),\n firstName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n ipCountry: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the record was last updated.\").nullable().optional(),\n facebookId: z.string().describe(\"The Facebook ID provided on authentication.\").nullable().optional(),\n ipLatitude: z.number().describe(\"Deprecated IP-related field.\").nullable().optional(),\n permission: z.string().describe(\"Deprecated permission level. Use roles instead.\").nullable().optional(),\n accessToken: z.string().describe(\"A secret token for this user, used to authenticate them against the API.\").nullable().optional(),\n ipLongitude: z.number().describe(\"Deprecated IP-related field.\").nullable().optional(),\n isSamlLogin: z.boolean().describe(\"True if this user logs in via organisation SAML login.\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n adminSettings: z.record(z.string(), z.unknown()).describe(\"Object containing settings for admin users.\").nullable().optional(),\n preferredName: z.string().describe(\"The name that the user prefers to be called.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"ISO8601 timestamp of when the user was unsubscribed from non-essential emails or SMS. A blank value indicates the user is still subscribed.\").nullable().optional(),\n swiftAidDonorId: z.string().describe(\"Id of donor on SwiftAid.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this token belongs to.\").nullable().optional(),\n swiftAidAuthExpiry: z.string().describe(\"Date of expiry of donor authorisation for SwiftAid.\").nullable().optional(),\n}).describe(\"User data returned in authentication response.\");\nexport const RaiselyGetAuthenticateOutput = z.object({\n data: RaiselyGetAuthenticate_UserDataSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"Roles granted to this token (may be a subset of those granted to the user).\").nullable().optional(),\n campaigns: z.array(z.string()).describe(\"UUIDs of campaigns this user is assigned to.\").nullable().optional(),\n permission: z.string().describe(\"A specific permission that is granted to this token.\").nullable().optional(),\n}).describe(\"Response schema for Raisely authentication endpoint.\\nContains authenticated user data, roles, and permissions.\");\n\nexport const raiselyGetAuthenticate = action(\"RAISELY_GET_AUTHENTICATE\", {\n slug: \"raisely-get-authenticate\",\n name: \"Authenticate Token\",\n description: \"Authenticate a token to confirm it's valid and check the logged-in user. Use to verify token validity, get the authenticated user's details, and find the organisation UUID for future requests.\",\n input: RaiselyGetAuthenticateInput,\n output: RaiselyGetAuthenticateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAChJ,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC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,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"get-authenticate.mjs","names":[],"sources":["../../src/actions/get-authenticate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetAuthenticateInput = z.object({}).describe(\"Request schema for authenticating a token in Raisely. No parameters required.\");\nconst RaiselyGetAuthenticate_UserDataSchema = z.object({\n tags: z.array(z.unknown()).describe(\"Tags associated with the user.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the user record.\").nullable().optional(),\n email: z.string().describe(\"User's email address. Raisely uses this as a unique identifier.\").nullable().optional(),\n state: z.string().describe(\"The state/province of the user.\").nullable().optional(),\n ipCity: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n public: z.unknown().describe(\"Public values for this record. May be a dictionary, null, or redacted string.\").nullable().optional(),\n status: z.string().describe(\"User status: ACTIVE or DELETED.\").nullable().optional(),\n suburb: z.string().describe(\"The suburb/city of the user.\").nullable().optional(),\n country: z.string().describe(\"The country of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"True if this user has admin permissions.\").nullable().optional(),\n private: z.unknown().describe(\"Private values for this record. May be a dictionary, null, or redacted string.\").nullable().optional(),\n address1: z.string().describe(\"Line 1 of an address.\").nullable().optional(),\n address2: z.string().describe(\"Line 2 of an address.\").nullable().optional(),\n fullName: z.string().describe(\"The full name of the user.\").nullable().optional(),\n internal: z.unknown().describe(\"Internal values related to this record. May be a dictionary or redacted string.\").nullable().optional(),\n ipNumber: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n language: z.string().describe(\"The language the user last interacted in.\").nullable().optional(),\n lastName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n photoUrl: z.string().describe(\"URL of the user's photo.\").nullable().optional(),\n postcode: z.string().describe(\"Postal code of the user.\").nullable().optional(),\n username: z.string().describe(\"The login email for this user.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the record was created.\").nullable().optional(),\n firstName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n ipCountry: z.string().describe(\"Deprecated IP-related field.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the record was last updated.\").nullable().optional(),\n facebookId: z.string().describe(\"The Facebook ID provided on authentication.\").nullable().optional(),\n ipLatitude: z.number().describe(\"Deprecated IP-related field.\").nullable().optional(),\n permission: z.string().describe(\"Deprecated permission level. Use roles instead.\").nullable().optional(),\n accessToken: z.string().describe(\"A secret token for this user, used to authenticate them against the API.\").nullable().optional(),\n ipLongitude: z.number().describe(\"Deprecated IP-related field.\").nullable().optional(),\n isSamlLogin: z.boolean().describe(\"True if this user logs in via organisation SAML login.\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n adminSettings: z.record(z.string(), z.unknown()).describe(\"Object containing settings for admin users.\").nullable().optional(),\n preferredName: z.string().describe(\"The name that the user prefers to be called.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"ISO8601 timestamp of when the user was unsubscribed from non-essential emails or SMS. A blank value indicates the user is still subscribed.\").nullable().optional(),\n swiftAidDonorId: z.string().describe(\"Id of donor on SwiftAid.\").nullable().optional(),\n organisationUuid: z.string().describe(\"UUID of the organisation this token belongs to.\").nullable().optional(),\n swiftAidAuthExpiry: z.string().describe(\"Date of expiry of donor authorisation for SwiftAid.\").nullable().optional(),\n}).passthrough().describe(\"User data returned in authentication response.\");\nexport const RaiselyGetAuthenticateOutput = z.object({\n data: RaiselyGetAuthenticate_UserDataSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"Roles granted to this token (may be a subset of those granted to the user).\").nullable().optional(),\n campaigns: z.array(z.string()).describe(\"UUIDs of campaigns this user is assigned to.\").nullable().optional(),\n permission: z.string().describe(\"A specific permission that is granted to this token.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for Raisely authentication endpoint.\\nContains authenticated user data, roles, and permissions.\");\n\nexport const raiselyGetAuthenticate = action(\"RAISELY_GET_AUTHENTICATE\", {\n slug: \"raisely-get-authenticate\",\n name: \"Authenticate Token\",\n description: \"Authenticate a token to confirm it's valid and check the logged-in user. Use to verify token validity, get the authenticated user's details, and find the organisation UUID for future requests.\",\n input: RaiselyGetAuthenticateInput,\n output: RaiselyGetAuthenticateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAChJ,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SA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,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAQ1E,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0C,EAAE,OAAO;EACnD,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iHAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RaiselyGetAvailableEventsInput = zod.z.object({}).describe("Request schema
|
|
|
5
5
|
const RaiselyGetAvailableEvents_EventItemSchema = zod.z.object({
|
|
6
6
|
event: zod.z.string().describe("The name of the webhook event").nullable(),
|
|
7
7
|
description: zod.z.string().describe("A description of when this event is fired").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const RaiselyGetAvailableEventsOutput = zod.z.object({
|
|
10
10
|
post_events: zod.z.array(RaiselyGetAvailableEvents_EventItemSchema).describe("Post events"),
|
|
11
11
|
user_events: zod.z.array(RaiselyGetAvailableEvents_EventItemSchema).describe("User events"),
|
|
@@ -13,7 +13,7 @@ const RaiselyGetAvailableEventsOutput = zod.z.object({
|
|
|
13
13
|
profile_events: zod.z.array(RaiselyGetAvailableEvents_EventItemSchema).describe("Profile events"),
|
|
14
14
|
donation_events: zod.z.array(RaiselyGetAvailableEvents_EventItemSchema).describe("Donation events"),
|
|
15
15
|
subscription_events: zod.z.array(RaiselyGetAvailableEvents_EventItemSchema).describe("Subscription events")
|
|
16
|
-
}).describe("Response schema listing all Raisely webhook events grouped by category.");
|
|
16
|
+
}).passthrough().describe("Response schema listing all Raisely webhook events grouped by category.");
|
|
17
17
|
const raiselyGetAvailableEvents = require_action.action("RAISELY_GET_AVAILABLE_EVENTS", {
|
|
18
18
|
slug: "raisely-get-available-events",
|
|
19
19
|
name: "Get Available Events",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-available-events.cjs","names":["z","action"],"sources":["../../src/actions/get-available-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetAvailableEventsInput = z.object({}).describe(\"Request schema for retrieving the Raisely available webhook events. No parameters are required.\");\nconst RaiselyGetAvailableEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the webhook event\").nullable(),\n description: z.string().describe(\"A description of when this event is fired\").nullable(),\n});\nexport const RaiselyGetAvailableEventsOutput = z.object({\n post_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Post events\"),\n user_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"User events\"),\n order_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Order events\"),\n profile_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Profile events\"),\n donation_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Donation events\"),\n subscription_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Subscription events\"),\n}).describe(\"Response schema listing all Raisely webhook events grouped by category.\");\n\nexport const raiselyGetAvailableEvents = action(\"RAISELY_GET_AVAILABLE_EVENTS\", {\n slug: \"raisely-get-available-events\",\n name: \"Get Available Events\",\n description: \"Tool to retrieve a list of available Raisely webhook events. Use when you need to know all event types Raisely can send via webhooks.\",\n input: RaiselyGetAvailableEventsInput,\n output: RaiselyGetAvailableEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG;AACrK,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC;
|
|
1
|
+
{"version":3,"file":"get-available-events.cjs","names":["z","action"],"sources":["../../src/actions/get-available-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RaiselyGetAvailableEventsInput = z.object({}).describe(\"Request schema for retrieving the Raisely available webhook events. No parameters are required.\");\nconst RaiselyGetAvailableEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the webhook event\").nullable(),\n description: z.string().describe(\"A description of when this event is fired\").nullable(),\n}).passthrough();\nexport const RaiselyGetAvailableEventsOutput = z.object({\n post_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Post events\"),\n user_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"User events\"),\n order_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Order events\"),\n profile_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Profile events\"),\n donation_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Donation events\"),\n subscription_events: z.array(RaiselyGetAvailableEvents_EventItemSchema).describe(\"Subscription events\"),\n}).passthrough().describe(\"Response schema listing all Raisely webhook events grouped by category.\");\n\nexport const raiselyGetAvailableEvents = action(\"RAISELY_GET_AVAILABLE_EVENTS\", {\n slug: \"raisely-get-available-events\",\n name: \"Get Available Events\",\n description: \"Tool to retrieve a list of available Raisely webhook events. Use when you need to know all event types Raisely can send via webhooks.\",\n input: RaiselyGetAvailableEventsInput,\n output: RaiselyGetAvailableEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG;AACrK,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,aAAa;CACtF,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,aAAa;CACtF,cAAcA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,cAAc;CACxF,gBAAgBA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,gBAAgB;CAC5F,iBAAiBA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,iBAAiB;CAC9F,qBAAqBA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qBAAqB;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,28 +6,28 @@ declare const RaiselyGetAvailableEventsOutput: z.ZodObject<{
|
|
|
6
6
|
post_events: z.ZodArray<z.ZodObject<{
|
|
7
7
|
event: z.ZodNullable<z.ZodString>;
|
|
8
8
|
description: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
10
|
user_events: z.ZodArray<z.ZodObject<{
|
|
11
11
|
event: z.ZodNullable<z.ZodString>;
|
|
12
12
|
description: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
order_events: z.ZodArray<z.ZodObject<{
|
|
15
15
|
event: z.ZodNullable<z.ZodString>;
|
|
16
16
|
description: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
profile_events: z.ZodArray<z.ZodObject<{
|
|
19
19
|
event: z.ZodNullable<z.ZodString>;
|
|
20
20
|
description: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
donation_events: z.ZodArray<z.ZodObject<{
|
|
23
23
|
event: z.ZodNullable<z.ZodString>;
|
|
24
24
|
description: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
subscription_events: z.ZodArray<z.ZodObject<{
|
|
27
27
|
event: z.ZodNullable<z.ZodString>;
|
|
28
28
|
description: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const raiselyGetAvailableEvents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { raiselyGetAvailableEvents };
|