@keystrokehq/referralrock 0.1.4 → 0.1.5
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-email-removeunsubscribe.cjs +1 -0
- package/dist/actions/delete-email-removeunsubscribe.cjs.map +1 -1
- package/dist/actions/delete-email-removeunsubscribe.d.cts +3 -17
- package/dist/actions/delete-email-removeunsubscribe.d.cts.map +1 -1
- package/dist/actions/delete-email-removeunsubscribe.d.mts +3 -17
- package/dist/actions/delete-email-removeunsubscribe.d.mts.map +1 -1
- package/dist/actions/delete-email-removeunsubscribe.mjs +1 -0
- package/dist/actions/delete-email-removeunsubscribe.mjs.map +1 -1
- package/dist/actions/delete-hooks.cjs +1 -0
- package/dist/actions/delete-hooks.cjs.map +1 -1
- package/dist/actions/delete-hooks.d.cts +3 -17
- package/dist/actions/delete-hooks.d.cts.map +1 -1
- package/dist/actions/delete-hooks.d.mts +3 -17
- package/dist/actions/delete-hooks.d.mts.map +1 -1
- package/dist/actions/delete-hooks.mjs +1 -0
- package/dist/actions/delete-hooks.mjs.map +1 -1
- package/dist/actions/delete-members-remove.cjs +1 -0
- package/dist/actions/delete-members-remove.cjs.map +1 -1
- package/dist/actions/delete-members-remove.d.cts +3 -34
- package/dist/actions/delete-members-remove.d.cts.map +1 -1
- package/dist/actions/delete-members-remove.d.mts +3 -34
- package/dist/actions/delete-members-remove.d.mts.map +1 -1
- package/dist/actions/delete-members-remove.mjs +1 -0
- package/dist/actions/delete-members-remove.mjs.map +1 -1
- package/dist/actions/delete-referral-remove.cjs +1 -0
- package/dist/actions/delete-referral-remove.cjs.map +1 -1
- package/dist/actions/delete-referral-remove.d.cts +3 -37
- package/dist/actions/delete-referral-remove.d.cts.map +1 -1
- package/dist/actions/delete-referral-remove.d.mts +3 -37
- package/dist/actions/delete-referral-remove.d.mts.map +1 -1
- package/dist/actions/delete-referral-remove.mjs +1 -0
- package/dist/actions/delete-referral-remove.mjs.map +1 -1
- package/dist/actions/delete-rewards-remove.cjs +1 -0
- package/dist/actions/delete-rewards-remove.cjs.map +1 -1
- package/dist/actions/delete-rewards-remove.d.cts +3 -17
- package/dist/actions/delete-rewards-remove.d.cts.map +1 -1
- package/dist/actions/delete-rewards-remove.d.mts +3 -17
- package/dist/actions/delete-rewards-remove.d.mts.map +1 -1
- package/dist/actions/delete-rewards-remove.mjs +1 -0
- package/dist/actions/delete-rewards-remove.mjs.map +1 -1
- package/dist/actions/get-email-getunsubscribed.cjs +1 -0
- package/dist/actions/get-email-getunsubscribed.cjs.map +1 -1
- package/dist/actions/get-email-getunsubscribed.d.cts +3 -17
- package/dist/actions/get-email-getunsubscribed.d.cts.map +1 -1
- package/dist/actions/get-email-getunsubscribed.d.mts +3 -17
- package/dist/actions/get-email-getunsubscribed.d.mts.map +1 -1
- package/dist/actions/get-email-getunsubscribed.mjs +1 -0
- package/dist/actions/get-email-getunsubscribed.mjs.map +1 -1
- package/dist/actions/get-hooks-history-eventname.cjs +1 -0
- package/dist/actions/get-hooks-history-eventname.cjs.map +1 -1
- package/dist/actions/get-hooks-history-eventname.d.cts +3 -17
- package/dist/actions/get-hooks-history-eventname.d.cts.map +1 -1
- package/dist/actions/get-hooks-history-eventname.d.mts +3 -17
- package/dist/actions/get-hooks-history-eventname.d.mts.map +1 -1
- package/dist/actions/get-hooks-history-eventname.mjs +1 -0
- package/dist/actions/get-hooks-history-eventname.mjs.map +1 -1
- package/dist/actions/get-member-stats-get-single.cjs +1 -0
- package/dist/actions/get-member-stats-get-single.cjs.map +1 -1
- package/dist/actions/get-member-stats-get-single.d.cts +3 -18
- package/dist/actions/get-member-stats-get-single.d.cts.map +1 -1
- package/dist/actions/get-member-stats-get-single.d.mts +3 -18
- package/dist/actions/get-member-stats-get-single.d.mts.map +1 -1
- package/dist/actions/get-member-stats-get-single.mjs +1 -0
- package/dist/actions/get-member-stats-get-single.mjs.map +1 -1
- package/dist/actions/get-members.cjs +1 -0
- package/dist/actions/get-members.cjs.map +1 -1
- package/dist/actions/get-members.d.cts +3 -24
- package/dist/actions/get-members.d.cts.map +1 -1
- package/dist/actions/get-members.d.mts +3 -24
- package/dist/actions/get-members.d.mts.map +1 -1
- package/dist/actions/get-members.mjs +1 -0
- package/dist/actions/get-members.mjs.map +1 -1
- package/dist/actions/get-payouts-id.cjs +1 -0
- package/dist/actions/get-payouts-id.cjs.map +1 -1
- package/dist/actions/get-payouts-id.d.cts +3 -17
- package/dist/actions/get-payouts-id.d.cts.map +1 -1
- package/dist/actions/get-payouts-id.d.mts +3 -17
- package/dist/actions/get-payouts-id.d.mts.map +1 -1
- package/dist/actions/get-payouts-id.mjs +1 -0
- package/dist/actions/get-payouts-id.mjs.map +1 -1
- package/dist/actions/get-payouts-pending.cjs +1 -0
- package/dist/actions/get-payouts-pending.cjs.map +1 -1
- package/dist/actions/get-payouts-pending.d.cts +3 -19
- package/dist/actions/get-payouts-pending.d.cts.map +1 -1
- package/dist/actions/get-payouts-pending.d.mts +3 -19
- package/dist/actions/get-payouts-pending.d.mts.map +1 -1
- package/dist/actions/get-payouts-pending.mjs +1 -0
- package/dist/actions/get-payouts-pending.mjs.map +1 -1
- package/dist/actions/get-payouts-transactions.cjs +1 -0
- package/dist/actions/get-payouts-transactions.cjs.map +1 -1
- package/dist/actions/get-payouts-transactions.d.cts +3 -18
- package/dist/actions/get-payouts-transactions.d.cts.map +1 -1
- package/dist/actions/get-payouts-transactions.d.mts +3 -18
- package/dist/actions/get-payouts-transactions.d.mts.map +1 -1
- package/dist/actions/get-payouts-transactions.mjs +1 -0
- package/dist/actions/get-payouts-transactions.mjs.map +1 -1
- package/dist/actions/get-program-getsingle.cjs +1 -0
- package/dist/actions/get-program-getsingle.cjs.map +1 -1
- package/dist/actions/get-program-getsingle.d.cts +3 -17
- package/dist/actions/get-program-getsingle.d.cts.map +1 -1
- package/dist/actions/get-program-getsingle.d.mts +3 -17
- package/dist/actions/get-program-getsingle.d.mts.map +1 -1
- package/dist/actions/get-program-getsingle.mjs +1 -0
- package/dist/actions/get-program-getsingle.mjs.map +1 -1
- package/dist/actions/get-programs.cjs +1 -0
- package/dist/actions/get-programs.cjs.map +1 -1
- package/dist/actions/get-programs.d.cts +3 -19
- package/dist/actions/get-programs.d.cts.map +1 -1
- package/dist/actions/get-programs.d.mts +3 -19
- package/dist/actions/get-programs.d.mts.map +1 -1
- package/dist/actions/get-programs.mjs +1 -0
- package/dist/actions/get-programs.mjs.map +1 -1
- package/dist/actions/get-referral-single.cjs +1 -0
- package/dist/actions/get-referral-single.cjs.map +1 -1
- package/dist/actions/get-referral-single.d.cts +3 -19
- package/dist/actions/get-referral-single.d.cts.map +1 -1
- package/dist/actions/get-referral-single.d.mts +3 -19
- package/dist/actions/get-referral-single.d.mts.map +1 -1
- package/dist/actions/get-referral-single.mjs +1 -0
- package/dist/actions/get-referral-single.mjs.map +1 -1
- package/dist/actions/get-referrals.cjs +1 -0
- package/dist/actions/get-referrals.cjs.map +1 -1
- package/dist/actions/get-referrals.d.cts +3 -25
- package/dist/actions/get-referrals.d.cts.map +1 -1
- package/dist/actions/get-referrals.d.mts +3 -25
- package/dist/actions/get-referrals.d.mts.map +1 -1
- package/dist/actions/get-referrals.mjs +1 -0
- package/dist/actions/get-referrals.mjs.map +1 -1
- package/dist/actions/get-rewardrules.cjs +1 -0
- package/dist/actions/get-rewardrules.cjs.map +1 -1
- package/dist/actions/get-rewardrules.d.cts +3 -17
- package/dist/actions/get-rewardrules.d.cts.map +1 -1
- package/dist/actions/get-rewardrules.d.mts +3 -17
- package/dist/actions/get-rewardrules.d.mts.map +1 -1
- package/dist/actions/get-rewardrules.mjs +1 -0
- package/dist/actions/get-rewardrules.mjs.map +1 -1
- package/dist/actions/get-rewards.cjs +1 -0
- package/dist/actions/get-rewards.cjs.map +1 -1
- package/dist/actions/get-rewards.d.cts +3 -25
- package/dist/actions/get-rewards.d.cts.map +1 -1
- package/dist/actions/get-rewards.d.mts +3 -25
- package/dist/actions/get-rewards.d.mts.map +1 -1
- package/dist/actions/get-rewards.mjs +1 -0
- package/dist/actions/get-rewards.mjs.map +1 -1
- package/dist/actions/post-email-removeunsubscribe.cjs +1 -0
- package/dist/actions/post-email-removeunsubscribe.cjs.map +1 -1
- package/dist/actions/post-email-removeunsubscribe.d.cts +3 -17
- package/dist/actions/post-email-removeunsubscribe.d.cts.map +1 -1
- package/dist/actions/post-email-removeunsubscribe.d.mts +3 -17
- package/dist/actions/post-email-removeunsubscribe.d.mts.map +1 -1
- package/dist/actions/post-email-removeunsubscribe.mjs +1 -0
- package/dist/actions/post-email-removeunsubscribe.mjs.map +1 -1
- package/dist/actions/post-email-unsubscribe.cjs +1 -0
- package/dist/actions/post-email-unsubscribe.cjs.map +1 -1
- package/dist/actions/post-email-unsubscribe.d.cts +3 -17
- package/dist/actions/post-email-unsubscribe.d.cts.map +1 -1
- package/dist/actions/post-email-unsubscribe.d.mts +3 -17
- package/dist/actions/post-email-unsubscribe.d.mts.map +1 -1
- package/dist/actions/post-email-unsubscribe.mjs +1 -0
- package/dist/actions/post-email-unsubscribe.mjs.map +1 -1
- package/dist/actions/post-hooks.cjs +1 -0
- package/dist/actions/post-hooks.cjs.map +1 -1
- package/dist/actions/post-hooks.d.cts +3 -18
- package/dist/actions/post-hooks.d.cts.map +1 -1
- package/dist/actions/post-hooks.d.mts +3 -18
- package/dist/actions/post-hooks.d.mts.map +1 -1
- package/dist/actions/post-hooks.mjs +1 -0
- package/dist/actions/post-hooks.mjs.map +1 -1
- package/dist/actions/post-invitefeed.cjs +1 -0
- package/dist/actions/post-invitefeed.cjs.map +1 -1
- package/dist/actions/post-invitefeed.d.cts +3 -20
- package/dist/actions/post-invitefeed.d.cts.map +1 -1
- package/dist/actions/post-invitefeed.d.mts +3 -20
- package/dist/actions/post-invitefeed.d.mts.map +1 -1
- package/dist/actions/post-invitefeed.mjs +1 -0
- package/dist/actions/post-invitefeed.mjs.map +1 -1
- package/dist/actions/post-invitefeeds.cjs +1 -0
- package/dist/actions/post-invitefeeds.cjs.map +1 -1
- package/dist/actions/post-invitefeeds.d.cts +3 -23
- package/dist/actions/post-invitefeeds.d.cts.map +1 -1
- package/dist/actions/post-invitefeeds.d.mts +3 -23
- package/dist/actions/post-invitefeeds.d.mts.map +1 -1
- package/dist/actions/post-invitefeeds.mjs +1 -0
- package/dist/actions/post-invitefeeds.mjs.map +1 -1
- package/dist/actions/post-member-access-urls.cjs +1 -0
- package/dist/actions/post-member-access-urls.cjs.map +1 -1
- package/dist/actions/post-member-access-urls.d.cts +3 -21
- package/dist/actions/post-member-access-urls.d.cts.map +1 -1
- package/dist/actions/post-member-access-urls.d.mts +3 -21
- package/dist/actions/post-member-access-urls.d.mts.map +1 -1
- package/dist/actions/post-member-access-urls.mjs +1 -0
- package/dist/actions/post-member-access-urls.mjs.map +1 -1
- package/dist/actions/post-members-remove.cjs +1 -0
- package/dist/actions/post-members-remove.cjs.map +1 -1
- package/dist/actions/post-members-remove.d.cts +3 -34
- package/dist/actions/post-members-remove.d.cts.map +1 -1
- package/dist/actions/post-members-remove.d.mts +3 -34
- package/dist/actions/post-members-remove.d.mts.map +1 -1
- package/dist/actions/post-members-remove.mjs +1 -0
- package/dist/actions/post-members-remove.mjs.map +1 -1
- package/dist/actions/post-members.cjs +1 -0
- package/dist/actions/post-members.cjs.map +1 -1
- package/dist/actions/post-members.d.cts +3 -43
- package/dist/actions/post-members.d.cts.map +1 -1
- package/dist/actions/post-members.d.mts +3 -43
- package/dist/actions/post-members.d.mts.map +1 -1
- package/dist/actions/post-members.mjs +1 -0
- package/dist/actions/post-members.mjs.map +1 -1
- package/dist/actions/post-referral-remove.cjs +1 -0
- package/dist/actions/post-referral-remove.cjs.map +1 -1
- package/dist/actions/post-referral-remove.d.cts +3 -37
- package/dist/actions/post-referral-remove.d.cts.map +1 -1
- package/dist/actions/post-referral-remove.d.mts +3 -37
- package/dist/actions/post-referral-remove.d.mts.map +1 -1
- package/dist/actions/post-referral-remove.mjs +1 -0
- package/dist/actions/post-referral-remove.mjs.map +1 -1
- package/dist/actions/post-referral-update.cjs +1 -0
- package/dist/actions/post-referral-update.cjs.map +1 -1
- package/dist/actions/post-referral-update.d.cts +3 -67
- package/dist/actions/post-referral-update.d.cts.map +1 -1
- package/dist/actions/post-referral-update.d.mts +3 -67
- package/dist/actions/post-referral-update.d.mts.map +1 -1
- package/dist/actions/post-referral-update.mjs +1 -0
- package/dist/actions/post-referral-update.mjs.map +1 -1
- package/dist/actions/post-referralaction.cjs +1 -0
- package/dist/actions/post-referralaction.cjs.map +1 -1
- package/dist/actions/post-referralaction.d.cts +3 -21
- package/dist/actions/post-referralaction.d.cts.map +1 -1
- package/dist/actions/post-referralaction.d.mts +3 -21
- package/dist/actions/post-referralaction.d.mts.map +1 -1
- package/dist/actions/post-referralaction.mjs +1 -0
- package/dist/actions/post-referralaction.mjs.map +1 -1
- package/dist/actions/post-referrals.cjs +1 -0
- package/dist/actions/post-referrals.cjs.map +1 -1
- package/dist/actions/post-referrals.d.cts +3 -45
- package/dist/actions/post-referrals.d.cts.map +1 -1
- package/dist/actions/post-referrals.d.mts +3 -45
- package/dist/actions/post-referrals.d.mts.map +1 -1
- package/dist/actions/post-referrals.mjs +1 -0
- package/dist/actions/post-referrals.mjs.map +1 -1
- package/dist/actions/post-rewards-issue.cjs +1 -0
- package/dist/actions/post-rewards-issue.cjs.map +1 -1
- package/dist/actions/post-rewards-issue.d.cts +3 -20
- package/dist/actions/post-rewards-issue.d.cts.map +1 -1
- package/dist/actions/post-rewards-issue.d.mts +3 -20
- package/dist/actions/post-rewards-issue.d.mts.map +1 -1
- package/dist/actions/post-rewards-issue.mjs +1 -0
- package/dist/actions/post-rewards-issue.mjs.map +1 -1
- package/dist/actions/post-rewards-remove.cjs +1 -0
- package/dist/actions/post-rewards-remove.cjs.map +1 -1
- package/dist/actions/post-rewards-remove.d.cts +3 -17
- package/dist/actions/post-rewards-remove.d.cts.map +1 -1
- package/dist/actions/post-rewards-remove.d.mts +3 -17
- package/dist/actions/post-rewards-remove.d.mts.map +1 -1
- package/dist/actions/post-rewards-remove.mjs +1 -0
- package/dist/actions/post-rewards-remove.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-referral-remove.mjs","names":[],"sources":["../../src/actions/delete-referral-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteReferralRemoveInput = z.object({\n referrals: z.array(z.object({\n query: z.object({\n fuzzyInfo: z.object({\n Identifier: z.string().describe(\"Fuzzy identifier for matching\").optional(),\n}).describe(\"Fuzzy matching information for referral identification.\").optional(),\n primaryInfo: z.object({\n referralId: z.string().describe(\"Unique referral identifier\").optional(),\n}).describe(\"Primary identification information for a referral.\").optional(),\n tertiaryInfo: z.object({\n ProgramId: z.string().describe(\"Program ID\").optional(),\n ProgramName: z.string().describe(\"Program name\").optional(),\n ProgramTitle: z.string().describe(\"Program title\").optional(),\n}).describe(\"Tertiary identification information related to program details.\").optional(),\n secondaryInfo: z.object({\n email: z.string().describe(\"Email address of the referral\").optional(),\n phoneNumber: z.string().describe(\"Phone number of the referral\").optional(),\n externalIdentifier: z.string().describe(\"External identifier for the referral\").optional(),\n}).describe(\"Secondary identification information for a referral.\").optional(),\n}).describe(\"Query object containing identification parameters. Must contain either primaryInfo.referralId OR both secondaryInfo AND tertiaryInfo.\"),\n}).passthrough().describe(\"Information required to remove a referral.\")).describe(\"List of referral queries to remove. Each must be uniquely identifiable.\"),\n}).describe(\"Request model for removing referrals. Accepts a list of referral queries for batch deletion.\");\nconst ReferralrockDeleteReferralRemove_FuzzyInfoSchema = z.object({\n Identifier: z.string().describe(\"Fuzzy identifier for matching\").nullable().optional(),\n}).passthrough().describe(\"Fuzzy matching information for referral identification.\");\nconst ReferralrockDeleteReferralRemove_PrimaryInfoSchema = z.object({\n referralId: z.string().describe(\"Unique referral identifier\").nullable().optional(),\n}).passthrough().describe(\"Primary identification information for a referral.\");\nconst ReferralrockDeleteReferralRemove_TertiaryInfoSchema = z.object({\n ProgramId: z.string().describe(\"Program ID\").nullable().optional(),\n ProgramName: z.string().describe(\"Program name\").nullable().optional(),\n ProgramTitle: z.string().describe(\"Program title\").nullable().optional(),\n}).passthrough().describe(\"Tertiary identification information related to program details.\");\nconst ReferralrockDeleteReferralRemove_SecondaryInfoSchema = z.object({\n email: z.string().describe(\"Email address of the referral\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the referral\").nullable().optional(),\n externalIdentifier: z.string().describe(\"External identifier for the referral\").nullable().optional(),\n}).passthrough().describe(\"Secondary identification information for a referral.\");\nconst ReferralrockDeleteReferralRemove_ReferralQuerySchema = z.object({\n fuzzyInfo: ReferralrockDeleteReferralRemove_FuzzyInfoSchema.nullable().optional(),\n primaryInfo: ReferralrockDeleteReferralRemove_PrimaryInfoSchema.nullable().optional(),\n tertiaryInfo: ReferralrockDeleteReferralRemove_TertiaryInfoSchema.nullable().optional(),\n secondaryInfo: ReferralrockDeleteReferralRemove_SecondaryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Query parameters to identify a referral for removal. Must contain either primaryInfo.referralId OR both secondaryInfo AND tertiaryInfo with valid values.\");\nconst ReferralrockDeleteReferralRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Status of the removal operation\").nullable().optional(),\n Message: z.string().describe(\"Descriptive message about the operation result\").nullable().optional(),\n}).passthrough().describe(\"Result information from the removal operation.\");\nconst ReferralrockDeleteReferralRemove_RemoveReferralResultSchema = z.object({\n query: ReferralrockDeleteReferralRemove_ReferralQuerySchema.nullable().optional(),\n resultInfo: ReferralrockDeleteReferralRemove_ResultInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Result of a referral removal operation.\");\nexport const ReferralrockDeleteReferralRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteReferralRemove_RemoveReferralResultSchema).describe(\"List of removal results corresponding to the input queries\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete referral remove action. Returns an array of removal results.\");\n\nexport const referralrockDeleteReferralRemove = action(\"REFERRALROCK_DELETE_REFERRAL_REMOVE\", {\n slug: \"referralrock-delete-referral-remove\",\n name: \"Delete Referral\",\n description: \"Tool to delete one or more referrals from a referral program. Use when you need to remove referrals by their unique ID or other identifying information. Each referral is deleted only when it can be uniquely identified.\",\n input: ReferralrockDeleteReferralRemoveInput,\n output: ReferralrockDeleteReferralRemoveOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-referral-remove.mjs","names":[],"sources":["../../src/actions/delete-referral-remove.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { referralrock } from \"../app\";\n\nexport const ReferralrockDeleteReferralRemoveInput = z.object({\n referrals: z.array(z.object({\n query: z.object({\n fuzzyInfo: z.object({\n Identifier: z.string().describe(\"Fuzzy identifier for matching\").optional(),\n}).describe(\"Fuzzy matching information for referral identification.\").optional(),\n primaryInfo: z.object({\n referralId: z.string().describe(\"Unique referral identifier\").optional(),\n}).describe(\"Primary identification information for a referral.\").optional(),\n tertiaryInfo: z.object({\n ProgramId: z.string().describe(\"Program ID\").optional(),\n ProgramName: z.string().describe(\"Program name\").optional(),\n ProgramTitle: z.string().describe(\"Program title\").optional(),\n}).describe(\"Tertiary identification information related to program details.\").optional(),\n secondaryInfo: z.object({\n email: z.string().describe(\"Email address of the referral\").optional(),\n phoneNumber: z.string().describe(\"Phone number of the referral\").optional(),\n externalIdentifier: z.string().describe(\"External identifier for the referral\").optional(),\n}).describe(\"Secondary identification information for a referral.\").optional(),\n}).describe(\"Query object containing identification parameters. Must contain either primaryInfo.referralId OR both secondaryInfo AND tertiaryInfo.\"),\n}).passthrough().describe(\"Information required to remove a referral.\")).describe(\"List of referral queries to remove. Each must be uniquely identifiable.\"),\n}).describe(\"Request model for removing referrals. Accepts a list of referral queries for batch deletion.\");\nconst ReferralrockDeleteReferralRemove_FuzzyInfoSchema = z.object({\n Identifier: z.string().describe(\"Fuzzy identifier for matching\").nullable().optional(),\n}).passthrough().describe(\"Fuzzy matching information for referral identification.\");\nconst ReferralrockDeleteReferralRemove_PrimaryInfoSchema = z.object({\n referralId: z.string().describe(\"Unique referral identifier\").nullable().optional(),\n}).passthrough().describe(\"Primary identification information for a referral.\");\nconst ReferralrockDeleteReferralRemove_TertiaryInfoSchema = z.object({\n ProgramId: z.string().describe(\"Program ID\").nullable().optional(),\n ProgramName: z.string().describe(\"Program name\").nullable().optional(),\n ProgramTitle: z.string().describe(\"Program title\").nullable().optional(),\n}).passthrough().describe(\"Tertiary identification information related to program details.\");\nconst ReferralrockDeleteReferralRemove_SecondaryInfoSchema = z.object({\n email: z.string().describe(\"Email address of the referral\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the referral\").nullable().optional(),\n externalIdentifier: z.string().describe(\"External identifier for the referral\").nullable().optional(),\n}).passthrough().describe(\"Secondary identification information for a referral.\");\nconst ReferralrockDeleteReferralRemove_ReferralQuerySchema = z.object({\n fuzzyInfo: ReferralrockDeleteReferralRemove_FuzzyInfoSchema.nullable().optional(),\n primaryInfo: ReferralrockDeleteReferralRemove_PrimaryInfoSchema.nullable().optional(),\n tertiaryInfo: ReferralrockDeleteReferralRemove_TertiaryInfoSchema.nullable().optional(),\n secondaryInfo: ReferralrockDeleteReferralRemove_SecondaryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Query parameters to identify a referral for removal. Must contain either primaryInfo.referralId OR both secondaryInfo AND tertiaryInfo with valid values.\");\nconst ReferralrockDeleteReferralRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Status of the removal operation\").nullable().optional(),\n Message: z.string().describe(\"Descriptive message about the operation result\").nullable().optional(),\n}).passthrough().describe(\"Result information from the removal operation.\");\nconst ReferralrockDeleteReferralRemove_RemoveReferralResultSchema = z.object({\n query: ReferralrockDeleteReferralRemove_ReferralQuerySchema.nullable().optional(),\n resultInfo: ReferralrockDeleteReferralRemove_ResultInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Result of a referral removal operation.\");\nexport const ReferralrockDeleteReferralRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteReferralRemove_RemoveReferralResultSchema).describe(\"List of removal results corresponding to the input queries\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete referral remove action. Returns an array of removal results.\");\n\nexport const referralrockDeleteReferralRemove: AppAction<\n typeof ReferralrockDeleteReferralRemoveInput,\n typeof ReferralrockDeleteReferralRemoveOutput,\n typeof referralrock.credential\n> = action(\"REFERRALROCK_DELETE_REFERRAL_REMOVE\", {\n slug: \"referralrock-delete-referral-remove\",\n name: \"Delete Referral\",\n description: \"Tool to delete one or more referrals from a referral program. Use when you need to remove referrals by their unique ID or other identifying information. Each referral is deleted only when it can be uniquely identified.\",\n input: ReferralrockDeleteReferralRemoveInput,\n output: ReferralrockDeleteReferralRemoveOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,WAAW,EAAE,MAAM,EAAE,OAAO,EAC5B,OAAO,EAAE,OAAO;CAChB,WAAW,EAAE,OAAO,EACpB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,EACtB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzE,cAAc,EA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AC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO,EAC7D,SAAS,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4FAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-rewards-remove.cjs","names":["z","action"],"sources":["../../src/actions/delete-rewards-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteRewardsRemoveInput = z.object({\n reward_ids: z.array(z.string()).describe(\"List of reward identifiers to remove from the system\"),\n}).describe(\"Request model for deleting one or more rewards from the system.\");\nconst ReferralrockDeleteRewardsRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Result status indicator\").nullable().optional(),\n Message: z.string().describe(\"Descriptive message about the operation\").nullable().optional(),\n}).passthrough().describe(\"Details about the results of the delete operation.\");\nconst ReferralrockDeleteRewardsRemove_RemoveRewardResultSchema = z.object({\n rewardId: z.string().describe(\"Echoes the reward ID sent in the request\").nullable().optional(),\n resultInfo: ReferralrockDeleteRewardsRemove_ResultInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Result for a single reward deletion operation.\");\nexport const ReferralrockDeleteRewardsRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteRewardsRemove_RemoveRewardResultSchema).describe(\"List of results for each reward deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response model containing results for each reward deletion.\");\n\nexport const referralrockDeleteRewardsRemove = action(\"REFERRALROCK_DELETE_REWARDS_REMOVE\", {\n slug: \"referralrock-delete-rewards-remove\",\n name: \"Delete Rewards\",\n description: \"Tool to delete rewards from members or referrals in a referral program. Use when you need to remove one or more rewards from the system.\",\n input: ReferralrockDeleteRewardsRemoveInput,\n output: ReferralrockDeleteRewardsRemoveOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-rewards-remove.cjs","names":["z","action"],"sources":["../../src/actions/delete-rewards-remove.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { referralrock } from \"../app\";\n\nexport const ReferralrockDeleteRewardsRemoveInput = z.object({\n reward_ids: z.array(z.string()).describe(\"List of reward identifiers to remove from the system\"),\n}).describe(\"Request model for deleting one or more rewards from the system.\");\nconst ReferralrockDeleteRewardsRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Result status indicator\").nullable().optional(),\n Message: z.string().describe(\"Descriptive message about the operation\").nullable().optional(),\n}).passthrough().describe(\"Details about the results of the delete operation.\");\nconst ReferralrockDeleteRewardsRemove_RemoveRewardResultSchema = z.object({\n rewardId: z.string().describe(\"Echoes the reward ID sent in the request\").nullable().optional(),\n resultInfo: ReferralrockDeleteRewardsRemove_ResultInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Result for a single reward deletion operation.\");\nexport const ReferralrockDeleteRewardsRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteRewardsRemove_RemoveRewardResultSchema).describe(\"List of results for each reward deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response model containing results for each reward deletion.\");\n\nexport const referralrockDeleteRewardsRemove: AppAction<\n typeof ReferralrockDeleteRewardsRemoveInput,\n typeof ReferralrockDeleteRewardsRemoveOutput,\n typeof referralrock.credential\n> = action(\"REFERRALROCK_DELETE_REWARDS_REMOVE\", {\n slug: \"referralrock-delete-rewards-remove\",\n name: \"Delete Rewards\",\n description: \"Tool to delete rewards from members or referrals in a referral program. Use when you need to remove one or more rewards from the system.\",\n input: ReferralrockDeleteRewardsRemoveInput,\n output: ReferralrockDeleteRewardsRemoveOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,EACjG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,kCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { referralrock } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-rewards-remove.d.ts
|
|
@@ -13,23 +15,7 @@ declare const ReferralrockDeleteRewardsRemoveOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const referralrockDeleteRewardsRemove:
|
|
17
|
-
reward_ids: string[];
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
username: z.ZodString;
|
|
31
|
-
password: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const referralrockDeleteRewardsRemove: AppAction<typeof ReferralrockDeleteRewardsRemoveInput, typeof ReferralrockDeleteRewardsRemoveOutput, typeof referralrock.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { referralrockDeleteRewardsRemove };
|
|
35
21
|
//# sourceMappingURL=delete-rewards-remove.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-rewards-remove.d.cts","names":[],"sources":["../../src/actions/delete-rewards-remove.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-rewards-remove.d.cts","names":[],"sources":["../../src/actions/delete-rewards-remove.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAWpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { referralrock } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-rewards-remove.d.ts
|
|
@@ -13,23 +15,7 @@ declare const ReferralrockDeleteRewardsRemoveOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const referralrockDeleteRewardsRemove:
|
|
17
|
-
reward_ids: string[];
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
username: z.ZodString;
|
|
31
|
-
password: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const referralrockDeleteRewardsRemove: AppAction<typeof ReferralrockDeleteRewardsRemoveInput, typeof ReferralrockDeleteRewardsRemoveOutput, typeof referralrock.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { referralrockDeleteRewardsRemove };
|
|
35
21
|
//# sourceMappingURL=delete-rewards-remove.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-rewards-remove.d.mts","names":[],"sources":["../../src/actions/delete-rewards-remove.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-rewards-remove.d.mts","names":[],"sources":["../../src/actions/delete-rewards-remove.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAWpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-rewards-remove.mjs","names":[],"sources":["../../src/actions/delete-rewards-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteRewardsRemoveInput = z.object({\n reward_ids: z.array(z.string()).describe(\"List of reward identifiers to remove from the system\"),\n}).describe(\"Request model for deleting one or more rewards from the system.\");\nconst ReferralrockDeleteRewardsRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Result status indicator\").nullable().optional(),\n Message: z.string().describe(\"Descriptive message about the operation\").nullable().optional(),\n}).passthrough().describe(\"Details about the results of the delete operation.\");\nconst ReferralrockDeleteRewardsRemove_RemoveRewardResultSchema = z.object({\n rewardId: z.string().describe(\"Echoes the reward ID sent in the request\").nullable().optional(),\n resultInfo: ReferralrockDeleteRewardsRemove_ResultInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Result for a single reward deletion operation.\");\nexport const ReferralrockDeleteRewardsRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteRewardsRemove_RemoveRewardResultSchema).describe(\"List of results for each reward deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response model containing results for each reward deletion.\");\n\nexport const referralrockDeleteRewardsRemove = action(\"REFERRALROCK_DELETE_REWARDS_REMOVE\", {\n slug: \"referralrock-delete-rewards-remove\",\n name: \"Delete Rewards\",\n description: \"Tool to delete rewards from members or referrals in a referral program. Use when you need to remove one or more rewards from the system.\",\n input: ReferralrockDeleteRewardsRemoveInput,\n output: ReferralrockDeleteRewardsRemoveOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-rewards-remove.mjs","names":[],"sources":["../../src/actions/delete-rewards-remove.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { referralrock } from \"../app\";\n\nexport const ReferralrockDeleteRewardsRemoveInput = z.object({\n reward_ids: z.array(z.string()).describe(\"List of reward identifiers to remove from the system\"),\n}).describe(\"Request model for deleting one or more rewards from the system.\");\nconst ReferralrockDeleteRewardsRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Result status indicator\").nullable().optional(),\n Message: z.string().describe(\"Descriptive message about the operation\").nullable().optional(),\n}).passthrough().describe(\"Details about the results of the delete operation.\");\nconst ReferralrockDeleteRewardsRemove_RemoveRewardResultSchema = z.object({\n rewardId: z.string().describe(\"Echoes the reward ID sent in the request\").nullable().optional(),\n resultInfo: ReferralrockDeleteRewardsRemove_ResultInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Result for a single reward deletion operation.\");\nexport const ReferralrockDeleteRewardsRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteRewardsRemove_RemoveRewardResultSchema).describe(\"List of results for each reward deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response model containing results for each reward deletion.\");\n\nexport const referralrockDeleteRewardsRemove: AppAction<\n typeof ReferralrockDeleteRewardsRemoveInput,\n typeof ReferralrockDeleteRewardsRemoveOutput,\n typeof referralrock.credential\n> = action(\"REFERRALROCK_DELETE_REWARDS_REMOVE\", {\n slug: \"referralrock-delete-rewards-remove\",\n name: \"Delete Rewards\",\n description: \"Tool to delete rewards from members or referrals in a referral program. Use when you need to remove one or more rewards from the system.\",\n input: ReferralrockDeleteRewardsRemoveInput,\n output: ReferralrockDeleteRewardsRemoveOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,EACjG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAmD,EAAE,OAAO;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,2DAA2D,EAAE,OAAO;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,kCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-getunsubscribed.cjs","names":["z","action"],"sources":["../../src/actions/get-email-getunsubscribed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockGetEmailGetunsubscribedInput = z.object({\n email: z.string().describe(\"Email address to check unsubscribe status for. If not provided, retrieves all unsubscribed emails.\").optional(),\n}).describe(\"Request model for checking if an email address is unsubscribed.\");\nexport const ReferralrockGetEmailGetunsubscribedOutput = z.object({\n email: z.string().describe(\"The email address that was checked.\").nullable().optional(),\n isUnsubscribed: z.boolean().describe(\"Indicates whether the email address is unsubscribed.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"Timestamp when the email was unsubscribed (if applicable).\").nullable().optional(),\n}).passthrough().describe(\"Response model for email unsubscribe status check.\");\n\nexport const referralrockGetEmailGetunsubscribed = action(\"REFERRALROCK_GET_EMAIL_GETUNSUBSCRIBED\", {\n slug: \"referralrock-get-email-getunsubscribed\",\n name: \"Get Email Unsubscribed Status\",\n description: \"Tool to check if an email address is unsubscribed from communications. Use when you need to verify unsubscribe status before sending emails.\",\n input: ReferralrockGetEmailGetunsubscribedInput,\n output: ReferralrockGetEmailGetunsubscribedOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-email-getunsubscribed.cjs","names":["z","action"],"sources":["../../src/actions/get-email-getunsubscribed.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { referralrock } from \"../app\";\n\nexport const ReferralrockGetEmailGetunsubscribedInput = z.object({\n email: z.string().describe(\"Email address to check unsubscribe status for. If not provided, retrieves all unsubscribed emails.\").optional(),\n}).describe(\"Request model for checking if an email address is unsubscribed.\");\nexport const ReferralrockGetEmailGetunsubscribedOutput = z.object({\n email: z.string().describe(\"The email address that was checked.\").nullable().optional(),\n isUnsubscribed: z.boolean().describe(\"Indicates whether the email address is unsubscribed.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"Timestamp when the email was unsubscribed (if applicable).\").nullable().optional(),\n}).passthrough().describe(\"Response model for email unsubscribe status check.\");\n\nexport const referralrockGetEmailGetunsubscribed: AppAction<\n typeof ReferralrockGetEmailGetunsubscribedInput,\n typeof ReferralrockGetEmailGetunsubscribedOutput,\n typeof referralrock.credential\n> = action(\"REFERRALROCK_GET_EMAIL_GETUNSUBSCRIBED\", {\n slug: \"referralrock-get-email-getunsubscribed\",\n name: \"Get Email Unsubscribed Status\",\n description: \"Tool to check if an email address is unsubscribed from communications. Use when you need to verify unsubscribe status before sending emails.\",\n input: ReferralrockGetEmailGetunsubscribedInput,\n output: ReferralrockGetEmailGetunsubscribedOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { referralrock } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-email-getunsubscribed.d.ts
|
|
@@ -9,23 +11,7 @@ declare const ReferralrockGetEmailGetunsubscribedOutput: z.ZodObject<{
|
|
|
9
11
|
isUnsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
12
|
unsubscribedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const referralrockGetEmailGetunsubscribed:
|
|
13
|
-
email?: string | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
username: z.ZodString;
|
|
20
|
-
password: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
username: z.ZodString;
|
|
27
|
-
password: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const referralrockGetEmailGetunsubscribed: AppAction<typeof ReferralrockGetEmailGetunsubscribedInput, typeof ReferralrockGetEmailGetunsubscribedOutput, typeof referralrock.credential>;
|
|
29
15
|
//#endregion
|
|
30
16
|
export { referralrockGetEmailGetunsubscribed };
|
|
31
17
|
//# sourceMappingURL=get-email-getunsubscribed.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-getunsubscribed.d.cts","names":[],"sources":["../../src/actions/get-email-getunsubscribed.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-email-getunsubscribed.d.cts","names":[],"sources":["../../src/actions/get-email-getunsubscribed.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { referralrock } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-email-getunsubscribed.d.ts
|
|
@@ -9,23 +11,7 @@ declare const ReferralrockGetEmailGetunsubscribedOutput: z.ZodObject<{
|
|
|
9
11
|
isUnsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
12
|
unsubscribedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const referralrockGetEmailGetunsubscribed:
|
|
13
|
-
email?: string | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
username: z.ZodString;
|
|
20
|
-
password: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
username: z.ZodString;
|
|
27
|
-
password: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const referralrockGetEmailGetunsubscribed: AppAction<typeof ReferralrockGetEmailGetunsubscribedInput, typeof ReferralrockGetEmailGetunsubscribedOutput, typeof referralrock.credential>;
|
|
29
15
|
//#endregion
|
|
30
16
|
export { referralrockGetEmailGetunsubscribed };
|
|
31
17
|
//# sourceMappingURL=get-email-getunsubscribed.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-getunsubscribed.d.mts","names":[],"sources":["../../src/actions/get-email-getunsubscribed.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-email-getunsubscribed.d.mts","names":[],"sources":["../../src/actions/get-email-getunsubscribed.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-email-getunsubscribed.mjs","names":[],"sources":["../../src/actions/get-email-getunsubscribed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockGetEmailGetunsubscribedInput = z.object({\n email: z.string().describe(\"Email address to check unsubscribe status for. If not provided, retrieves all unsubscribed emails.\").optional(),\n}).describe(\"Request model for checking if an email address is unsubscribed.\");\nexport const ReferralrockGetEmailGetunsubscribedOutput = z.object({\n email: z.string().describe(\"The email address that was checked.\").nullable().optional(),\n isUnsubscribed: z.boolean().describe(\"Indicates whether the email address is unsubscribed.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"Timestamp when the email was unsubscribed (if applicable).\").nullable().optional(),\n}).passthrough().describe(\"Response model for email unsubscribe status check.\");\n\nexport const referralrockGetEmailGetunsubscribed = action(\"REFERRALROCK_GET_EMAIL_GETUNSUBSCRIBED\", {\n slug: \"referralrock-get-email-getunsubscribed\",\n name: \"Get Email Unsubscribed Status\",\n description: \"Tool to check if an email address is unsubscribed from communications. Use when you need to verify unsubscribe status before sending emails.\",\n input: ReferralrockGetEmailGetunsubscribedInput,\n output: ReferralrockGetEmailGetunsubscribedOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-email-getunsubscribed.mjs","names":[],"sources":["../../src/actions/get-email-getunsubscribed.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { referralrock } from \"../app\";\n\nexport const ReferralrockGetEmailGetunsubscribedInput = z.object({\n email: z.string().describe(\"Email address to check unsubscribe status for. If not provided, retrieves all unsubscribed emails.\").optional(),\n}).describe(\"Request model for checking if an email address is unsubscribed.\");\nexport const ReferralrockGetEmailGetunsubscribedOutput = z.object({\n email: z.string().describe(\"The email address that was checked.\").nullable().optional(),\n isUnsubscribed: z.boolean().describe(\"Indicates whether the email address is unsubscribed.\").nullable().optional(),\n unsubscribedAt: z.string().describe(\"Timestamp when the email was unsubscribed (if applicable).\").nullable().optional(),\n}).passthrough().describe(\"Response model for email unsubscribe status check.\");\n\nexport const referralrockGetEmailGetunsubscribed: AppAction<\n typeof ReferralrockGetEmailGetunsubscribedInput,\n typeof ReferralrockGetEmailGetunsubscribedOutput,\n typeof referralrock.credential\n> = action(\"REFERRALROCK_GET_EMAIL_GETUNSUBSCRIBED\", {\n slug: \"referralrock-get-email-getunsubscribed\",\n name: \"Get Email Unsubscribed Status\",\n description: \"Tool to check if an email address is unsubscribed from communications. Use when you need to verify unsubscribe status before sending emails.\",\n input: ReferralrockGetEmailGetunsubscribedInput,\n output: ReferralrockGetEmailGetunsubscribedOutput,\n});\n"],"mappings":";;;AAeA,MAAa,sCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsD,EAAE,OAAO,EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,SAAS,iEAeH;CACP,QAfuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-hooks-history-eventname.cjs","names":["z","action"],"sources":["../../src/actions/get-hooks-history-eventname.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockGetHooksHistoryEventnameInput = z.object({\n event_name: z.string().describe(\"The name of the event to retrieve webhook history for (e.g., 'MemberAdd', 'MemberUpdate').\"),\n}).describe(\"Request model for retrieving webhook history for a specific event.\");\nconst ReferralrockGetHooksHistoryEventname_HookHistoryItemSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the history item.\").nullable().optional(),\n Url: z.string().describe(\"The URL where the webhook was sent.\").nullable().optional(),\n Payload: z.string().describe(\"The payload that was sent in the webhook.\").nullable().optional(),\n EventName: z.string().describe(\"The name of the webhook event.\").nullable().optional(),\n PostedDate: z.string().describe(\"The date and time when the webhook was posted.\").nullable().optional(),\n ResponseCode: z.number().int().describe(\"HTTP response code received from the webhook endpoint.\").nullable().optional(),\n ResponseMessage: z.string().describe(\"Response message from the webhook endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single webhook history item.\");\nexport const ReferralrockGetHooksHistoryEventnameOutput = z.object({\n HistoryItems: z.array(ReferralrockGetHooksHistoryEventname_HookHistoryItemSchema).describe(\"Collection of historical webhook records for the specified event.\").nullable().optional(),\n}).passthrough().describe(\"Response model for webhook history containing historical webhook records.\");\n\nexport const referralrockGetHooksHistoryEventname = action(\"REFERRALROCK_GET_HOOKS_HISTORY_EVENTNAME\", {\n slug: \"referralrock-get-hooks-history-eventname\",\n name: \"Get Webhook History for Event\",\n description: \"Tool to retrieve webhook history for a specific event. Use when you need to check the delivery status and details of webhooks for a particular event type.\",\n input: ReferralrockGetHooksHistoryEventnameInput,\n output: ReferralrockGetHooksHistoryEventnameOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-hooks-history-eventname.cjs","names":["z","action"],"sources":["../../src/actions/get-hooks-history-eventname.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { referralrock } from \"../app\";\n\nexport const ReferralrockGetHooksHistoryEventnameInput = z.object({\n event_name: z.string().describe(\"The name of the event to retrieve webhook history for (e.g., 'MemberAdd', 'MemberUpdate').\"),\n}).describe(\"Request model for retrieving webhook history for a specific event.\");\nconst ReferralrockGetHooksHistoryEventname_HookHistoryItemSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the history item.\").nullable().optional(),\n Url: z.string().describe(\"The URL where the webhook was sent.\").nullable().optional(),\n Payload: z.string().describe(\"The payload that was sent in the webhook.\").nullable().optional(),\n EventName: z.string().describe(\"The name of the webhook event.\").nullable().optional(),\n PostedDate: z.string().describe(\"The date and time when the webhook was posted.\").nullable().optional(),\n ResponseCode: z.number().int().describe(\"HTTP response code received from the webhook endpoint.\").nullable().optional(),\n ResponseMessage: z.string().describe(\"Response message from the webhook endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single webhook history item.\");\nexport const ReferralrockGetHooksHistoryEventnameOutput = z.object({\n HistoryItems: z.array(ReferralrockGetHooksHistoryEventname_HookHistoryItemSchema).describe(\"Collection of historical webhook records for the specified event.\").nullable().optional(),\n}).passthrough().describe(\"Response model for webhook history containing historical webhook records.\");\n\nexport const referralrockGetHooksHistoryEventname: AppAction<\n typeof ReferralrockGetHooksHistoryEventnameInput,\n typeof ReferralrockGetHooksHistoryEventnameOutput,\n typeof referralrock.credential\n> = action(\"REFERRALROCK_GET_HOOKS_HISTORY_EVENTNAME\", {\n slug: \"referralrock-get-hooks-history-eventname\",\n name: \"Get Webhook History for Event\",\n description: \"Tool to retrieve webhook history for a specific event. Use when you need to check the delivery status and details of webhooks for a particular event type.\",\n input: ReferralrockGetHooksHistoryEventnameInput,\n output: ReferralrockGetHooksHistoryEventnameOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EA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import { referralrock } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-hooks-history-eventname.d.ts
|
|
@@ -15,23 +17,7 @@ declare const ReferralrockGetHooksHistoryEventnameOutput: z.ZodObject<{
|
|
|
15
17
|
ResponseMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const referralrockGetHooksHistoryEventname:
|
|
19
|
-
event_name: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
username: z.ZodString;
|
|
26
|
-
password: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
username: z.ZodString;
|
|
33
|
-
password: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const referralrockGetHooksHistoryEventname: AppAction<typeof ReferralrockGetHooksHistoryEventnameInput, typeof ReferralrockGetHooksHistoryEventnameOutput, typeof referralrock.credential>;
|
|
35
21
|
//#endregion
|
|
36
22
|
export { referralrockGetHooksHistoryEventname };
|
|
37
23
|
//# sourceMappingURL=get-hooks-history-eventname.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-hooks-history-eventname.d.cts","names":[],"sources":["../../src/actions/get-hooks-history-eventname.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-hooks-history-eventname.d.cts","names":[],"sources":["../../src/actions/get-hooks-history-eventname.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAYzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { referralrock } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-hooks-history-eventname.d.ts
|
|
@@ -15,23 +17,7 @@ declare const ReferralrockGetHooksHistoryEventnameOutput: z.ZodObject<{
|
|
|
15
17
|
ResponseMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const referralrockGetHooksHistoryEventname:
|
|
19
|
-
event_name: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
username: z.ZodString;
|
|
26
|
-
password: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
username: z.ZodString;
|
|
33
|
-
password: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const referralrockGetHooksHistoryEventname: AppAction<typeof ReferralrockGetHooksHistoryEventnameInput, typeof ReferralrockGetHooksHistoryEventnameOutput, typeof referralrock.credential>;
|
|
35
21
|
//#endregion
|
|
36
22
|
export { referralrockGetHooksHistoryEventname };
|
|
37
23
|
//# sourceMappingURL=get-hooks-history-eventname.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-hooks-history-eventname.d.mts","names":[],"sources":["../../src/actions/get-hooks-history-eventname.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-hooks-history-eventname.d.mts","names":[],"sources":["../../src/actions/get-hooks-history-eventname.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAYzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-hooks-history-eventname.mjs","names":[],"sources":["../../src/actions/get-hooks-history-eventname.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockGetHooksHistoryEventnameInput = z.object({\n event_name: z.string().describe(\"The name of the event to retrieve webhook history for (e.g., 'MemberAdd', 'MemberUpdate').\"),\n}).describe(\"Request model for retrieving webhook history for a specific event.\");\nconst ReferralrockGetHooksHistoryEventname_HookHistoryItemSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the history item.\").nullable().optional(),\n Url: z.string().describe(\"The URL where the webhook was sent.\").nullable().optional(),\n Payload: z.string().describe(\"The payload that was sent in the webhook.\").nullable().optional(),\n EventName: z.string().describe(\"The name of the webhook event.\").nullable().optional(),\n PostedDate: z.string().describe(\"The date and time when the webhook was posted.\").nullable().optional(),\n ResponseCode: z.number().int().describe(\"HTTP response code received from the webhook endpoint.\").nullable().optional(),\n ResponseMessage: z.string().describe(\"Response message from the webhook endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single webhook history item.\");\nexport const ReferralrockGetHooksHistoryEventnameOutput = z.object({\n HistoryItems: z.array(ReferralrockGetHooksHistoryEventname_HookHistoryItemSchema).describe(\"Collection of historical webhook records for the specified event.\").nullable().optional(),\n}).passthrough().describe(\"Response model for webhook history containing historical webhook records.\");\n\nexport const referralrockGetHooksHistoryEventname = action(\"REFERRALROCK_GET_HOOKS_HISTORY_EVENTNAME\", {\n slug: \"referralrock-get-hooks-history-eventname\",\n name: \"Get Webhook History for Event\",\n description: \"Tool to retrieve webhook history for a specific event. Use when you need to check the delivery status and details of webhooks for a particular event type.\",\n input: ReferralrockGetHooksHistoryEventnameInput,\n output: ReferralrockGetHooksHistoryEventnameOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-hooks-history-eventname.mjs","names":[],"sources":["../../src/actions/get-hooks-history-eventname.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { referralrock } from \"../app\";\n\nexport const ReferralrockGetHooksHistoryEventnameInput = z.object({\n event_name: z.string().describe(\"The name of the event to retrieve webhook history for (e.g., 'MemberAdd', 'MemberUpdate').\"),\n}).describe(\"Request model for retrieving webhook history for a specific event.\");\nconst ReferralrockGetHooksHistoryEventname_HookHistoryItemSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the history item.\").nullable().optional(),\n Url: z.string().describe(\"The URL where the webhook was sent.\").nullable().optional(),\n Payload: z.string().describe(\"The payload that was sent in the webhook.\").nullable().optional(),\n EventName: z.string().describe(\"The name of the webhook event.\").nullable().optional(),\n PostedDate: z.string().describe(\"The date and time when the webhook was posted.\").nullable().optional(),\n ResponseCode: z.number().int().describe(\"HTTP response code received from the webhook endpoint.\").nullable().optional(),\n ResponseMessage: z.string().describe(\"Response message from the webhook endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single webhook history item.\");\nexport const ReferralrockGetHooksHistoryEventnameOutput = z.object({\n HistoryItems: z.array(ReferralrockGetHooksHistoryEventname_HookHistoryItemSchema).describe(\"Collection of historical webhook records for the specified event.\").nullable().optional(),\n}).passthrough().describe(\"Response model for webhook history containing historical webhook records.\");\n\nexport const referralrockGetHooksHistoryEventname: AppAction<\n typeof ReferralrockGetHooksHistoryEventnameInput,\n typeof ReferralrockGetHooksHistoryEventnameOutput,\n typeof referralrock.credential\n> = action(\"REFERRALROCK_GET_HOOKS_HISTORY_EVENTNAME\", {\n slug: \"referralrock-get-hooks-history-eventname\",\n name: \"Get Webhook History for Event\",\n description: \"Tool to retrieve webhook history for a specific event. Use when you need to check the delivery status and details of webhooks for a particular event type.\",\n input: ReferralrockGetHooksHistoryEventnameInput,\n output: ReferralrockGetHooksHistoryEventnameOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO,EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC9H,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6DAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,uCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwD,EAAE,OAAO,EACjE,cAAc,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-member-stats-get-single.cjs","names":["z","action"],"sources":["../../src/actions/get-member-stats-get-single.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockGetMemberStatsGetSingleInput = z.object({\n query: z.string().describe(\"Identifier for the member. Can be an email address, member ID, external ID, or referral code.\"),\n timePeriod: z.enum([\"All\", \"MonthToDate\", \"LastMonth\", \"Last7Days\", \"Last30Days\"]).describe(\"The time range for which to retrieve statistics. Accepted values are: All (all-time statistics), MonthToDate (statistics from the beginning of the current month), LastMonth (statistics from the previous month), Last7Days (statistics from the last 7 days), Last30Days (statistics from the last 30 days).\"),\n}).describe(\"Request model for getting statistics for a single member.\");\nexport const ReferralrockGetMemberStatsGetSingleOutput = z.object({\n lastShare: z.string().describe(\"Date of the most recent sharing activity (ISO 8601 format)\").nullable().optional(),\n memberViews: z.number().int().describe(\"Total number of views by the member\").nullable().optional(),\n memberShares: z.number().int().describe(\"Number of times the member's share link was followed\").nullable().optional(),\n rewardsCount: z.number().int().describe(\"Total number of rewards generated\").nullable().optional(),\n activatedDate: z.string().describe(\"Date when the member was activated (ISO 8601 format)\").nullable().optional(),\n lastActiveDate: z.string().describe(\"Date of the member's most recent activity (ISO 8601 format)\").nullable().optional(),\n referralsCount: z.number().int().describe(\"Total number of referrals generated by the member\").nullable().optional(),\n referralsViews: z.number().int().describe(\"Number of views of the referral member's webpage\").nullable().optional(),\n referralsPending: z.number().int().describe(\"Count of pending referrals\").nullable().optional(),\n referralsApproved: z.number().int().describe(\"Count of approved referrals\").nullable().optional(),\n rewardAmountTotal: z.number().describe(\"Combined value of issued and pending rewards\").nullable().optional(),\n referralsQualified: z.number().int().describe(\"Count of qualified referrals\").nullable().optional(),\n rewardsIssuedAmount: z.number().describe(\"Total value of issued rewards\").nullable().optional(),\n rewardsPendingAmount: z.number().describe(\"Total value of pending rewards\").nullable().optional(),\n referralsApprovedAmount: z.number().describe(\"Total spending amount by approved referrals\").nullable().optional(),\n}).passthrough().describe(\"Response model for member statistics.\");\n\nexport const referralrockGetMemberStatsGetSingle = action(\"REFERRALROCK_GET_MEMBER_STATS_GET_SINGLE\", {\n slug: \"referralrock-get-member-stats-get-single\",\n name: \"Get Member Statistics\",\n description: \"Tool to retrieve comprehensive statistics for a single member from ReferralRock. Use when you need to analyze a member's sharing, referral, and reward activities over a specified time period.\",\n input: ReferralrockGetMemberStatsGetSingleInput,\n output: ReferralrockGetMemberStatsGetSingleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-member-stats-get-single.cjs","names":["z","action"],"sources":["../../src/actions/get-member-stats-get-single.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { referralrock } from \"../app\";\n\nexport const ReferralrockGetMemberStatsGetSingleInput = z.object({\n query: z.string().describe(\"Identifier for the member. Can be an email address, member ID, external ID, or referral code.\"),\n timePeriod: z.enum([\"All\", \"MonthToDate\", \"LastMonth\", \"Last7Days\", \"Last30Days\"]).describe(\"The time range for which to retrieve statistics. Accepted values are: All (all-time statistics), MonthToDate (statistics from the beginning of the current month), LastMonth (statistics from the previous month), Last7Days (statistics from the last 7 days), Last30Days (statistics from the last 30 days).\"),\n}).describe(\"Request model for getting statistics for a single member.\");\nexport const ReferralrockGetMemberStatsGetSingleOutput = z.object({\n lastShare: z.string().describe(\"Date of the most recent sharing activity (ISO 8601 format)\").nullable().optional(),\n memberViews: z.number().int().describe(\"Total number of views by the member\").nullable().optional(),\n memberShares: z.number().int().describe(\"Number of times the member's share link was followed\").nullable().optional(),\n rewardsCount: z.number().int().describe(\"Total number of rewards generated\").nullable().optional(),\n activatedDate: z.string().describe(\"Date when the member was activated (ISO 8601 format)\").nullable().optional(),\n lastActiveDate: z.string().describe(\"Date of the member's most recent activity (ISO 8601 format)\").nullable().optional(),\n referralsCount: z.number().int().describe(\"Total number of referrals generated by the member\").nullable().optional(),\n referralsViews: z.number().int().describe(\"Number of views of the referral member's webpage\").nullable().optional(),\n referralsPending: z.number().int().describe(\"Count of pending referrals\").nullable().optional(),\n referralsApproved: z.number().int().describe(\"Count of approved referrals\").nullable().optional(),\n rewardAmountTotal: z.number().describe(\"Combined value of issued and pending rewards\").nullable().optional(),\n referralsQualified: z.number().int().describe(\"Count of qualified referrals\").nullable().optional(),\n rewardsIssuedAmount: z.number().describe(\"Total value of issued rewards\").nullable().optional(),\n rewardsPendingAmount: z.number().describe(\"Total value of pending rewards\").nullable().optional(),\n referralsApprovedAmount: z.number().describe(\"Total spending amount by approved referrals\").nullable().optional(),\n}).passthrough().describe(\"Response model for member statistics.\");\n\nexport const referralrockGetMemberStatsGetSingle: AppAction<\n typeof ReferralrockGetMemberStatsGetSingleInput,\n typeof ReferralrockGetMemberStatsGetSingleOutput,\n typeof referralrock.credential\n> = action(\"REFERRALROCK_GET_MEMBER_STATS_GET_SINGLE\", {\n slug: \"referralrock-get-member-stats-get-single\",\n name: \"Get Member Statistics\",\n description: \"Tool to retrieve comprehensive statistics for a single member from ReferralRock. Use when you need to analyze a member's sharing, referral, and reward activities over a specified time period.\",\n input: ReferralrockGetMemberStatsGetSingleInput,\n output: ReferralrockGetMemberStatsGetSingleOutput,\n});\n"],"mappings":";;;;AAM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SAAS,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,sCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { referralrock } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-member-stats-get-single.d.ts
|
|
@@ -28,24 +30,7 @@ declare const ReferralrockGetMemberStatsGetSingleOutput: z.ZodObject<{
|
|
|
28
30
|
rewardsPendingAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
31
|
referralsApprovedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const referralrockGetMemberStatsGetSingle:
|
|
32
|
-
query: string;
|
|
33
|
-
timePeriod: "All" | "MonthToDate" | "LastMonth" | "Last7Days" | "Last30Days";
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
username: z.ZodString;
|
|
40
|
-
password: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
username: z.ZodString;
|
|
47
|
-
password: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const referralrockGetMemberStatsGetSingle: AppAction<typeof ReferralrockGetMemberStatsGetSingleInput, typeof ReferralrockGetMemberStatsGetSingleOutput, typeof referralrock.credential>;
|
|
49
34
|
//#endregion
|
|
50
35
|
export { referralrockGetMemberStatsGetSingle };
|
|
51
36
|
//# sourceMappingURL=get-member-stats-get-single.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-member-stats-get-single.d.cts","names":[],"sources":["../../src/actions/get-member-stats-get-single.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-member-stats-get-single.d.cts","names":[],"sources":["../../src/actions/get-member-stats-get-single.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAIxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { referralrock } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-member-stats-get-single.d.ts
|
|
@@ -28,24 +30,7 @@ declare const ReferralrockGetMemberStatsGetSingleOutput: z.ZodObject<{
|
|
|
28
30
|
rewardsPendingAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
31
|
referralsApprovedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const referralrockGetMemberStatsGetSingle:
|
|
32
|
-
query: string;
|
|
33
|
-
timePeriod: "All" | "MonthToDate" | "LastMonth" | "Last7Days" | "Last30Days";
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
username: z.ZodString;
|
|
40
|
-
password: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"referralrock", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
username: z.ZodString;
|
|
47
|
-
password: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const referralrockGetMemberStatsGetSingle: AppAction<typeof ReferralrockGetMemberStatsGetSingleInput, typeof ReferralrockGetMemberStatsGetSingleOutput, typeof referralrock.credential>;
|
|
49
34
|
//#endregion
|
|
50
35
|
export { referralrockGetMemberStatsGetSingle };
|
|
51
36
|
//# sourceMappingURL=get-member-stats-get-single.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-member-stats-get-single.d.mts","names":[],"sources":["../../src/actions/get-member-stats-get-single.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-member-stats-get-single.d.mts","names":[],"sources":["../../src/actions/get-member-stats-get-single.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAIxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-member-stats-get-single.mjs","names":[],"sources":["../../src/actions/get-member-stats-get-single.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockGetMemberStatsGetSingleInput = z.object({\n query: z.string().describe(\"Identifier for the member. Can be an email address, member ID, external ID, or referral code.\"),\n timePeriod: z.enum([\"All\", \"MonthToDate\", \"LastMonth\", \"Last7Days\", \"Last30Days\"]).describe(\"The time range for which to retrieve statistics. Accepted values are: All (all-time statistics), MonthToDate (statistics from the beginning of the current month), LastMonth (statistics from the previous month), Last7Days (statistics from the last 7 days), Last30Days (statistics from the last 30 days).\"),\n}).describe(\"Request model for getting statistics for a single member.\");\nexport const ReferralrockGetMemberStatsGetSingleOutput = z.object({\n lastShare: z.string().describe(\"Date of the most recent sharing activity (ISO 8601 format)\").nullable().optional(),\n memberViews: z.number().int().describe(\"Total number of views by the member\").nullable().optional(),\n memberShares: z.number().int().describe(\"Number of times the member's share link was followed\").nullable().optional(),\n rewardsCount: z.number().int().describe(\"Total number of rewards generated\").nullable().optional(),\n activatedDate: z.string().describe(\"Date when the member was activated (ISO 8601 format)\").nullable().optional(),\n lastActiveDate: z.string().describe(\"Date of the member's most recent activity (ISO 8601 format)\").nullable().optional(),\n referralsCount: z.number().int().describe(\"Total number of referrals generated by the member\").nullable().optional(),\n referralsViews: z.number().int().describe(\"Number of views of the referral member's webpage\").nullable().optional(),\n referralsPending: z.number().int().describe(\"Count of pending referrals\").nullable().optional(),\n referralsApproved: z.number().int().describe(\"Count of approved referrals\").nullable().optional(),\n rewardAmountTotal: z.number().describe(\"Combined value of issued and pending rewards\").nullable().optional(),\n referralsQualified: z.number().int().describe(\"Count of qualified referrals\").nullable().optional(),\n rewardsIssuedAmount: z.number().describe(\"Total value of issued rewards\").nullable().optional(),\n rewardsPendingAmount: z.number().describe(\"Total value of pending rewards\").nullable().optional(),\n referralsApprovedAmount: z.number().describe(\"Total spending amount by approved referrals\").nullable().optional(),\n}).passthrough().describe(\"Response model for member statistics.\");\n\nexport const referralrockGetMemberStatsGetSingle = action(\"REFERRALROCK_GET_MEMBER_STATS_GET_SINGLE\", {\n slug: \"referralrock-get-member-stats-get-single\",\n name: \"Get Member Statistics\",\n description: \"Tool to retrieve comprehensive statistics for a single member from ReferralRock. Use when you need to analyze a member's sharing, referral, and reward activities over a specified time period.\",\n input: ReferralrockGetMemberStatsGetSingleInput,\n output: ReferralrockGetMemberStatsGetSingleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-member-stats-get-single.mjs","names":[],"sources":["../../src/actions/get-member-stats-get-single.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { referralrock } from \"../app\";\n\nexport const ReferralrockGetMemberStatsGetSingleInput = z.object({\n query: z.string().describe(\"Identifier for the member. Can be an email address, member ID, external ID, or referral code.\"),\n timePeriod: z.enum([\"All\", \"MonthToDate\", \"LastMonth\", \"Last7Days\", \"Last30Days\"]).describe(\"The time range for which to retrieve statistics. Accepted values are: All (all-time statistics), MonthToDate (statistics from the beginning of the current month), LastMonth (statistics from the previous month), Last7Days (statistics from the last 7 days), Last30Days (statistics from the last 30 days).\"),\n}).describe(\"Request model for getting statistics for a single member.\");\nexport const ReferralrockGetMemberStatsGetSingleOutput = z.object({\n lastShare: z.string().describe(\"Date of the most recent sharing activity (ISO 8601 format)\").nullable().optional(),\n memberViews: z.number().int().describe(\"Total number of views by the member\").nullable().optional(),\n memberShares: z.number().int().describe(\"Number of times the member's share link was followed\").nullable().optional(),\n rewardsCount: z.number().int().describe(\"Total number of rewards generated\").nullable().optional(),\n activatedDate: z.string().describe(\"Date when the member was activated (ISO 8601 format)\").nullable().optional(),\n lastActiveDate: z.string().describe(\"Date of the member's most recent activity (ISO 8601 format)\").nullable().optional(),\n referralsCount: z.number().int().describe(\"Total number of referrals generated by the member\").nullable().optional(),\n referralsViews: z.number().int().describe(\"Number of views of the referral member's webpage\").nullable().optional(),\n referralsPending: z.number().int().describe(\"Count of pending referrals\").nullable().optional(),\n referralsApproved: z.number().int().describe(\"Count of approved referrals\").nullable().optional(),\n rewardAmountTotal: z.number().describe(\"Combined value of issued and pending rewards\").nullable().optional(),\n referralsQualified: z.number().int().describe(\"Count of qualified referrals\").nullable().optional(),\n rewardsIssuedAmount: z.number().describe(\"Total value of issued rewards\").nullable().optional(),\n rewardsPendingAmount: z.number().describe(\"Total value of pending rewards\").nullable().optional(),\n referralsApprovedAmount: z.number().describe(\"Total spending amount by approved referrals\").nullable().optional(),\n}).passthrough().describe(\"Response model for member statistics.\");\n\nexport const referralrockGetMemberStatsGetSingle: AppAction<\n typeof ReferralrockGetMemberStatsGetSingleInput,\n typeof ReferralrockGetMemberStatsGetSingleOutput,\n typeof referralrock.credential\n> = action(\"REFERRALROCK_GET_MEMBER_STATS_GET_SINGLE\", {\n slug: \"referralrock-get-member-stats-get-single\",\n name: \"Get Member Statistics\",\n description: \"Tool to retrieve comprehensive statistics for a single member from ReferralRock. Use when you need to analyze a member's sharing, referral, and reward activities over a specified time period.\",\n input: ReferralrockGetMemberStatsGetSingleInput,\n output: ReferralrockGetMemberStatsGetSingleOutput,\n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