@keystrokehq/referralrock 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/delete-email-removeunsubscribe.cjs +1 -1
- package/dist/actions/delete-email-removeunsubscribe.cjs.map +1 -1
- package/dist/actions/delete-email-removeunsubscribe.d.cts +1 -1
- package/dist/actions/delete-email-removeunsubscribe.d.mts +1 -1
- package/dist/actions/delete-email-removeunsubscribe.mjs +1 -1
- package/dist/actions/delete-email-removeunsubscribe.mjs.map +1 -1
- package/dist/actions/delete-hooks.cjs +1 -1
- package/dist/actions/delete-hooks.cjs.map +1 -1
- package/dist/actions/delete-hooks.d.cts +1 -1
- package/dist/actions/delete-hooks.d.mts +1 -1
- package/dist/actions/delete-hooks.mjs +1 -1
- package/dist/actions/delete-hooks.mjs.map +1 -1
- package/dist/actions/delete-members-remove.cjs +8 -8
- package/dist/actions/delete-members-remove.cjs.map +1 -1
- package/dist/actions/delete-members-remove.d.cts +9 -8
- package/dist/actions/delete-members-remove.d.mts +9 -8
- package/dist/actions/delete-members-remove.mjs +8 -8
- package/dist/actions/delete-members-remove.mjs.map +1 -1
- package/dist/actions/delete-referral-remove.cjs +9 -9
- package/dist/actions/delete-referral-remove.cjs.map +1 -1
- package/dist/actions/delete-referral-remove.d.cts +10 -9
- package/dist/actions/delete-referral-remove.d.mts +10 -9
- package/dist/actions/delete-referral-remove.mjs +9 -9
- package/dist/actions/delete-referral-remove.mjs.map +1 -1
- package/dist/actions/delete-rewards-remove.cjs +3 -3
- package/dist/actions/delete-rewards-remove.cjs.map +1 -1
- package/dist/actions/delete-rewards-remove.d.cts +3 -3
- package/dist/actions/delete-rewards-remove.d.mts +3 -3
- package/dist/actions/delete-rewards-remove.mjs +3 -3
- package/dist/actions/delete-rewards-remove.mjs.map +1 -1
- package/dist/actions/get-email-getunsubscribed.cjs +1 -1
- package/dist/actions/get-email-getunsubscribed.cjs.map +1 -1
- package/dist/actions/get-email-getunsubscribed.d.cts +1 -1
- package/dist/actions/get-email-getunsubscribed.d.mts +1 -1
- package/dist/actions/get-email-getunsubscribed.mjs +1 -1
- package/dist/actions/get-email-getunsubscribed.mjs.map +1 -1
- package/dist/actions/get-hooks-history-eventname.cjs +2 -2
- package/dist/actions/get-hooks-history-eventname.cjs.map +1 -1
- package/dist/actions/get-hooks-history-eventname.d.cts +2 -2
- package/dist/actions/get-hooks-history-eventname.d.mts +2 -2
- package/dist/actions/get-hooks-history-eventname.mjs +2 -2
- package/dist/actions/get-hooks-history-eventname.mjs.map +1 -1
- package/dist/actions/get-member-stats-get-single.cjs +1 -1
- package/dist/actions/get-member-stats-get-single.cjs.map +1 -1
- package/dist/actions/get-member-stats-get-single.d.cts +1 -1
- package/dist/actions/get-member-stats-get-single.d.mts +1 -1
- package/dist/actions/get-member-stats-get-single.mjs +1 -1
- package/dist/actions/get-member-stats-get-single.mjs.map +1 -1
- package/dist/actions/get-members.cjs +3 -3
- package/dist/actions/get-members.cjs.map +1 -1
- package/dist/actions/get-members.d.cts +3 -3
- package/dist/actions/get-members.d.mts +3 -3
- package/dist/actions/get-members.mjs +3 -3
- package/dist/actions/get-members.mjs.map +1 -1
- package/dist/actions/get-payouts-id.cjs +3 -3
- package/dist/actions/get-payouts-id.cjs.map +1 -1
- package/dist/actions/get-payouts-id.d.cts +3 -3
- package/dist/actions/get-payouts-id.d.mts +3 -3
- package/dist/actions/get-payouts-id.mjs +3 -3
- package/dist/actions/get-payouts-id.mjs.map +1 -1
- package/dist/actions/get-payouts-pending.cjs +2 -2
- package/dist/actions/get-payouts-pending.cjs.map +1 -1
- package/dist/actions/get-payouts-pending.d.cts +2 -2
- package/dist/actions/get-payouts-pending.d.mts +2 -2
- package/dist/actions/get-payouts-pending.mjs +2 -2
- package/dist/actions/get-payouts-pending.mjs.map +1 -1
- package/dist/actions/get-payouts-transactions.cjs +2 -2
- package/dist/actions/get-payouts-transactions.cjs.map +1 -1
- package/dist/actions/get-payouts-transactions.d.cts +2 -2
- package/dist/actions/get-payouts-transactions.d.mts +2 -2
- package/dist/actions/get-payouts-transactions.mjs +2 -2
- package/dist/actions/get-payouts-transactions.mjs.map +1 -1
- package/dist/actions/get-program-getsingle.cjs +1 -1
- package/dist/actions/get-program-getsingle.cjs.map +1 -1
- package/dist/actions/get-program-getsingle.d.cts +1 -1
- package/dist/actions/get-program-getsingle.d.mts +1 -1
- package/dist/actions/get-program-getsingle.mjs +1 -1
- package/dist/actions/get-program-getsingle.mjs.map +1 -1
- package/dist/actions/get-programs.cjs +2 -2
- package/dist/actions/get-programs.cjs.map +1 -1
- package/dist/actions/get-programs.d.cts +2 -2
- package/dist/actions/get-programs.d.mts +2 -2
- package/dist/actions/get-programs.mjs +2 -2
- package/dist/actions/get-programs.mjs.map +1 -1
- package/dist/actions/get-referral-single.cjs +1 -1
- package/dist/actions/get-referral-single.cjs.map +1 -1
- package/dist/actions/get-referral-single.d.cts +1 -1
- package/dist/actions/get-referral-single.d.mts +1 -1
- package/dist/actions/get-referral-single.mjs +1 -1
- package/dist/actions/get-referral-single.mjs.map +1 -1
- package/dist/actions/get-referrals.cjs +2 -2
- package/dist/actions/get-referrals.cjs.map +1 -1
- package/dist/actions/get-referrals.d.cts +2 -2
- package/dist/actions/get-referrals.d.mts +2 -2
- package/dist/actions/get-referrals.mjs +2 -2
- package/dist/actions/get-referrals.mjs.map +1 -1
- package/dist/actions/get-rewardrules.cjs +4 -4
- package/dist/actions/get-rewardrules.cjs.map +1 -1
- package/dist/actions/get-rewardrules.d.cts +4 -4
- package/dist/actions/get-rewardrules.d.mts +4 -4
- package/dist/actions/get-rewardrules.mjs +4 -4
- package/dist/actions/get-rewardrules.mjs.map +1 -1
- package/dist/actions/get-rewards.cjs +2 -2
- package/dist/actions/get-rewards.cjs.map +1 -1
- package/dist/actions/get-rewards.d.cts +2 -2
- package/dist/actions/get-rewards.d.mts +2 -2
- package/dist/actions/get-rewards.mjs +2 -2
- package/dist/actions/get-rewards.mjs.map +1 -1
- package/dist/actions/post-email-removeunsubscribe.cjs +1 -1
- package/dist/actions/post-email-removeunsubscribe.cjs.map +1 -1
- package/dist/actions/post-email-removeunsubscribe.d.cts +1 -1
- package/dist/actions/post-email-removeunsubscribe.d.mts +1 -1
- package/dist/actions/post-email-removeunsubscribe.mjs +1 -1
- package/dist/actions/post-email-removeunsubscribe.mjs.map +1 -1
- package/dist/actions/post-email-unsubscribe.cjs +1 -1
- package/dist/actions/post-email-unsubscribe.cjs.map +1 -1
- package/dist/actions/post-email-unsubscribe.d.cts +1 -1
- package/dist/actions/post-email-unsubscribe.d.mts +1 -1
- package/dist/actions/post-email-unsubscribe.mjs +1 -1
- package/dist/actions/post-email-unsubscribe.mjs.map +1 -1
- package/dist/actions/post-hooks.cjs +1 -1
- package/dist/actions/post-hooks.cjs.map +1 -1
- package/dist/actions/post-hooks.d.cts +1 -1
- package/dist/actions/post-hooks.d.mts +1 -1
- package/dist/actions/post-hooks.mjs +1 -1
- package/dist/actions/post-hooks.mjs.map +1 -1
- package/dist/actions/post-invitefeed.cjs +1 -1
- package/dist/actions/post-invitefeed.cjs.map +1 -1
- package/dist/actions/post-invitefeed.d.cts +1 -1
- package/dist/actions/post-invitefeed.d.mts +1 -1
- package/dist/actions/post-invitefeed.mjs +1 -1
- package/dist/actions/post-invitefeed.mjs.map +1 -1
- package/dist/actions/post-invitefeeds.cjs +3 -3
- package/dist/actions/post-invitefeeds.cjs.map +1 -1
- package/dist/actions/post-invitefeeds.d.cts +4 -3
- package/dist/actions/post-invitefeeds.d.mts +4 -3
- package/dist/actions/post-invitefeeds.mjs +3 -3
- package/dist/actions/post-invitefeeds.mjs.map +1 -1
- package/dist/actions/post-member-access-urls.cjs +1 -1
- package/dist/actions/post-member-access-urls.cjs.map +1 -1
- package/dist/actions/post-member-access-urls.d.cts +1 -1
- package/dist/actions/post-member-access-urls.d.mts +1 -1
- package/dist/actions/post-member-access-urls.mjs +1 -1
- package/dist/actions/post-member-access-urls.mjs.map +1 -1
- package/dist/actions/post-members-remove.cjs +8 -8
- package/dist/actions/post-members-remove.cjs.map +1 -1
- package/dist/actions/post-members-remove.d.cts +9 -8
- package/dist/actions/post-members-remove.d.mts +9 -8
- package/dist/actions/post-members-remove.mjs +8 -8
- package/dist/actions/post-members-remove.mjs.map +1 -1
- package/dist/actions/post-members.cjs +2 -2
- package/dist/actions/post-members.cjs.map +1 -1
- package/dist/actions/post-members.d.cts +2 -2
- package/dist/actions/post-members.d.mts +2 -2
- package/dist/actions/post-members.mjs +2 -2
- package/dist/actions/post-members.mjs.map +1 -1
- package/dist/actions/post-referral-remove.cjs +9 -9
- package/dist/actions/post-referral-remove.cjs.map +1 -1
- package/dist/actions/post-referral-remove.d.cts +10 -9
- package/dist/actions/post-referral-remove.d.mts +10 -9
- package/dist/actions/post-referral-remove.mjs +9 -9
- package/dist/actions/post-referral-remove.mjs.map +1 -1
- package/dist/actions/post-referral-update.cjs +9 -9
- package/dist/actions/post-referral-update.cjs.map +1 -1
- package/dist/actions/post-referral-update.d.cts +10 -9
- package/dist/actions/post-referral-update.d.mts +10 -9
- package/dist/actions/post-referral-update.mjs +9 -9
- package/dist/actions/post-referral-update.mjs.map +1 -1
- package/dist/actions/post-referralaction.cjs +1 -1
- package/dist/actions/post-referralaction.cjs.map +1 -1
- package/dist/actions/post-referralaction.d.cts +1 -1
- package/dist/actions/post-referralaction.d.mts +1 -1
- package/dist/actions/post-referralaction.mjs +1 -1
- package/dist/actions/post-referralaction.mjs.map +1 -1
- package/dist/actions/post-referrals.cjs +2 -2
- package/dist/actions/post-referrals.cjs.map +1 -1
- package/dist/actions/post-referrals.d.cts +2 -2
- package/dist/actions/post-referrals.d.mts +2 -2
- package/dist/actions/post-referrals.mjs +2 -2
- package/dist/actions/post-referrals.mjs.map +1 -1
- package/dist/actions/post-rewards-issue.cjs +3 -3
- package/dist/actions/post-rewards-issue.cjs.map +1 -1
- package/dist/actions/post-rewards-issue.d.cts +3 -3
- package/dist/actions/post-rewards-issue.d.mts +3 -3
- package/dist/actions/post-rewards-issue.mjs +3 -3
- package/dist/actions/post-rewards-issue.mjs.map +1 -1
- package/dist/actions/post-rewards-remove.cjs +3 -3
- package/dist/actions/post-rewards-remove.cjs.map +1 -1
- package/dist/actions/post-rewards-remove.d.cts +3 -3
- package/dist/actions/post-rewards-remove.d.mts +3 -3
- package/dist/actions/post-rewards-remove.mjs +3 -3
- package/dist/actions/post-rewards-remove.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ const ReferralrockDeleteEmailRemoveunsubscribeInput = zod.z.object({ email: zod.
|
|
|
5
5
|
const ReferralrockDeleteEmailRemoveunsubscribeOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Response message or status information").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates whether the operation was successful").nullable().optional()
|
|
8
|
-
}).describe("Response model for removing an email from unsubscribe list.");
|
|
8
|
+
}).passthrough().describe("Response model for removing an email from unsubscribe list.");
|
|
9
9
|
const referralrockDeleteEmailRemoveunsubscribe = require_action.action("REFERRALROCK_DELETE_EMAIL_REMOVEUNSUBSCRIBE", {
|
|
10
10
|
slug: "referralrock-delete-email-removeunsubscribe",
|
|
11
11
|
name: "Remove Email from Unsubscribe List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-email-removeunsubscribe.cjs","names":["z","action"],"sources":["../../src/actions/delete-email-removeunsubscribe.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteEmailRemoveunsubscribeInput = z.object({\n email: z.string().describe(\"The email address to remove from the unsubscribe list\"),\n}).describe(\"Request model for removing an email address from the unsubscribe list.\");\nexport const ReferralrockDeleteEmailRemoveunsubscribeOutput = z.object({\n message: z.string().describe(\"Response message or status information\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable().optional(),\n}).describe(\"Response model for removing an email from unsubscribe list.\");\n\nexport const referralrockDeleteEmailRemoveunsubscribe = action(\"REFERRALROCK_DELETE_EMAIL_REMOVEUNSUBSCRIBE\", {\n slug: \"referralrock-delete-email-removeunsubscribe\",\n name: \"Remove Email from Unsubscribe List\",\n description: \"Tool to remove an email address from the unsubscribe list. Use when you need to resubscribe an email address that was previously unsubscribed.\",\n input: ReferralrockDeleteEmailRemoveunsubscribeInput,\n output: ReferralrockDeleteEmailRemoveunsubscribeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACpF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"delete-email-removeunsubscribe.cjs","names":["z","action"],"sources":["../../src/actions/delete-email-removeunsubscribe.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteEmailRemoveunsubscribeInput = z.object({\n email: z.string().describe(\"The email address to remove from the unsubscribe list\"),\n}).describe(\"Request model for removing an email address from the unsubscribe list.\");\nexport const ReferralrockDeleteEmailRemoveunsubscribeOutput = z.object({\n message: z.string().describe(\"Response message or status information\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for removing an email from unsubscribe list.\");\n\nexport const referralrockDeleteEmailRemoveunsubscribe = action(\"REFERRALROCK_DELETE_EMAIL_REMOVEUNSUBSCRIBE\", {\n slug: \"referralrock-delete-email-removeunsubscribe\",\n name: \"Remove Email from Unsubscribe List\",\n description: \"Tool to remove an email address from the unsubscribe list. Use when you need to resubscribe an email address that was previously unsubscribed.\",\n input: ReferralrockDeleteEmailRemoveunsubscribeInput,\n output: ReferralrockDeleteEmailRemoveunsubscribeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACpF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,2CAA2CC,eAAAA,OAAO,+CAA+C;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ReferralrockDeleteEmailRemoveunsubscribeInput: z.ZodObject<{
|
|
|
7
7
|
declare const ReferralrockDeleteEmailRemoveunsubscribeOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const referralrockDeleteEmailRemoveunsubscribe: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
email: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const ReferralrockDeleteEmailRemoveunsubscribeInput: z.ZodObject<{
|
|
|
7
7
|
declare const ReferralrockDeleteEmailRemoveunsubscribeOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const referralrockDeleteEmailRemoveunsubscribe: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
email: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const referralrockDeleteEmailRemoveunsubscribe = action("REFERRALROCK_DELETE_EMA
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Response message or status information").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("Indicates whether the operation was successful").nullable().optional()
|
|
11
|
-
}).describe("Response model for removing an email from unsubscribe list.")
|
|
11
|
+
}).passthrough().describe("Response model for removing an email from unsubscribe list.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { referralrockDeleteEmailRemoveunsubscribe };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-email-removeunsubscribe.mjs","names":[],"sources":["../../src/actions/delete-email-removeunsubscribe.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteEmailRemoveunsubscribeInput = z.object({\n email: z.string().describe(\"The email address to remove from the unsubscribe list\"),\n}).describe(\"Request model for removing an email address from the unsubscribe list.\");\nexport const ReferralrockDeleteEmailRemoveunsubscribeOutput = z.object({\n message: z.string().describe(\"Response message or status information\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable().optional(),\n}).describe(\"Response model for removing an email from unsubscribe list.\");\n\nexport const referralrockDeleteEmailRemoveunsubscribe = action(\"REFERRALROCK_DELETE_EMAIL_REMOVEUNSUBSCRIBE\", {\n slug: \"referralrock-delete-email-removeunsubscribe\",\n name: \"Remove Email from Unsubscribe List\",\n description: \"Tool to remove an email address from the unsubscribe list. Use when you need to resubscribe an email address that was previously unsubscribed.\",\n input: ReferralrockDeleteEmailRemoveunsubscribeInput,\n output: ReferralrockDeleteEmailRemoveunsubscribeOutput,\n});\n"],"mappings":";;AAYA,MAAa,2CAA2C,OAAO,+CAA+C;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2D,EAAE,OAAO,EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACpF,CAAC,CAAC,CAAC,SAAS,wEAUH;CACP,QAV4D,EAAE,OAAO;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-email-removeunsubscribe.mjs","names":[],"sources":["../../src/actions/delete-email-removeunsubscribe.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteEmailRemoveunsubscribeInput = z.object({\n email: z.string().describe(\"The email address to remove from the unsubscribe list\"),\n}).describe(\"Request model for removing an email address from the unsubscribe list.\");\nexport const ReferralrockDeleteEmailRemoveunsubscribeOutput = z.object({\n message: z.string().describe(\"Response message or status information\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for removing an email from unsubscribe list.\");\n\nexport const referralrockDeleteEmailRemoveunsubscribe = action(\"REFERRALROCK_DELETE_EMAIL_REMOVEUNSUBSCRIBE\", {\n slug: \"referralrock-delete-email-removeunsubscribe\",\n name: \"Remove Email from Unsubscribe List\",\n description: \"Tool to remove an email address from the unsubscribe list. Use when you need to resubscribe an email address that was previously unsubscribed.\",\n input: ReferralrockDeleteEmailRemoveunsubscribeInput,\n output: ReferralrockDeleteEmailRemoveunsubscribeOutput,\n});\n"],"mappings":";;AAYA,MAAa,2CAA2C,OAAO,+CAA+C;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2D,EAAE,OAAO,EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACpF,CAAC,CAAC,CAAC,SAAS,wEAUH;CACP,QAV4D,EAAE,OAAO;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-hooks.ts
|
|
4
4
|
const ReferralrockDeleteHooksInput = zod.z.object({ web_hook_id: zod.z.string().describe("The unique ID of the webhook subscription to cancel. Must be a valid GUID format.") }).describe("Request model for deleting a webhook subscription.");
|
|
5
|
-
const ReferralrockDeleteHooksOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the webhook was successfully deleted.").nullable().optional() }).describe("Response model for deleting a webhook subscription.\nThe API returns HTTP 200 OK with no response body on successful deletion.");
|
|
5
|
+
const ReferralrockDeleteHooksOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the webhook was successfully deleted.").nullable().optional() }).passthrough().describe("Response model for deleting a webhook subscription.\nThe API returns HTTP 200 OK with no response body on successful deletion.");
|
|
6
6
|
const referralrockDeleteHooks = require_action.action("REFERRALROCK_DELETE_HOOKS", {
|
|
7
7
|
slug: "referralrock-delete-hooks",
|
|
8
8
|
name: "Delete Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-hooks.cjs","names":["z","action"],"sources":["../../src/actions/delete-hooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteHooksInput = z.object({\n web_hook_id: z.string().describe(\"The unique ID of the webhook subscription to cancel. Must be a valid GUID format.\"),\n}).describe(\"Request model for deleting a webhook subscription.\");\nexport const ReferralrockDeleteHooksOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the webhook was successfully deleted.\").nullable().optional(),\n}).describe(\"Response model for deleting a webhook subscription.\\nThe API returns HTTP 200 OK with no response body on successful deletion.\");\n\nexport const referralrockDeleteHooks = action(\"REFERRALROCK_DELETE_HOOKS\", {\n slug: \"referralrock-delete-hooks\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription. Use when you need to cancel and stop data transmission to a registered webhook URL.\",\n input: ReferralrockDeleteHooksInput,\n output: ReferralrockDeleteHooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EACtH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,gIAAgI;
|
|
1
|
+
{"version":3,"file":"delete-hooks.cjs","names":["z","action"],"sources":["../../src/actions/delete-hooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteHooksInput = z.object({\n web_hook_id: z.string().describe(\"The unique ID of the webhook subscription to cancel. Must be a valid GUID format.\"),\n}).describe(\"Request model for deleting a webhook subscription.\");\nexport const ReferralrockDeleteHooksOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the webhook was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for deleting a webhook subscription.\\nThe API returns HTTP 200 OK with no response body on successful deletion.\");\n\nexport const referralrockDeleteHooks = action(\"REFERRALROCK_DELETE_HOOKS\", {\n slug: \"referralrock-delete-hooks\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription. Use when you need to cancel and stop data transmission to a registered webhook URL.\",\n input: ReferralrockDeleteHooksInput,\n output: ReferralrockDeleteHooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EACtH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gIAAgI;AAE1J,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const ReferralrockDeleteHooksInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ReferralrockDeleteHooksOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const referralrockDeleteHooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
web_hook_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const ReferralrockDeleteHooksInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ReferralrockDeleteHooksOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const referralrockDeleteHooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
web_hook_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const referralrockDeleteHooks = action("REFERRALROCK_DELETE_HOOKS", {
|
|
|
5
5
|
name: "Delete Webhook",
|
|
6
6
|
description: "Tool to delete a webhook subscription. Use when you need to cancel and stop data transmission to a registered webhook URL.",
|
|
7
7
|
input: z.object({ web_hook_id: z.string().describe("The unique ID of the webhook subscription to cancel. Must be a valid GUID format.") }).describe("Request model for deleting a webhook subscription."),
|
|
8
|
-
output: z.object({ success: z.boolean().default(true).describe("Indicates whether the webhook was successfully deleted.").nullable().optional() }).describe("Response model for deleting a webhook subscription.\nThe API returns HTTP 200 OK with no response body on successful deletion.")
|
|
8
|
+
output: z.object({ success: z.boolean().default(true).describe("Indicates whether the webhook was successfully deleted.").nullable().optional() }).passthrough().describe("Response model for deleting a webhook subscription.\nThe API returns HTTP 200 OK with no response body on successful deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { referralrockDeleteHooks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-hooks.mjs","names":[],"sources":["../../src/actions/delete-hooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteHooksInput = z.object({\n web_hook_id: z.string().describe(\"The unique ID of the webhook subscription to cancel. Must be a valid GUID format.\"),\n}).describe(\"Request model for deleting a webhook subscription.\");\nexport const ReferralrockDeleteHooksOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the webhook was successfully deleted.\").nullable().optional(),\n}).describe(\"Response model for deleting a webhook subscription.\\nThe API returns HTTP 200 OK with no response body on successful deletion.\");\n\nexport const referralrockDeleteHooks = action(\"REFERRALROCK_DELETE_HOOKS\", {\n slug: \"referralrock-delete-hooks\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription. Use when you need to cancel and stop data transmission to a registered webhook URL.\",\n input: ReferralrockDeleteHooksInput,\n output: ReferralrockDeleteHooksOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EACtH,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-hooks.mjs","names":[],"sources":["../../src/actions/delete-hooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteHooksInput = z.object({\n web_hook_id: z.string().describe(\"The unique ID of the webhook subscription to cancel. Must be a valid GUID format.\"),\n}).describe(\"Request model for deleting a webhook subscription.\");\nexport const ReferralrockDeleteHooksOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the webhook was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for deleting a webhook subscription.\\nThe API returns HTTP 200 OK with no response body on successful deletion.\");\n\nexport const referralrockDeleteHooks = action(\"REFERRALROCK_DELETE_HOOKS\", {\n slug: \"referralrock-delete-hooks\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription. Use when you need to cancel and stop data transmission to a registered webhook URL.\",\n input: ReferralrockDeleteHooksInput,\n output: ReferralrockDeleteHooksOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EACtH,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gIAOhB;AACV,CAAC"}
|
|
@@ -15,34 +15,34 @@ const ReferralrockDeleteMembersRemoveInput = zod.z.object({ members: zod.z.array
|
|
|
15
15
|
email: zod.z.string().describe("Email address of the member").optional(),
|
|
16
16
|
externalIdentifier: zod.z.string().describe("External identifier for the member").optional()
|
|
17
17
|
}).describe("Secondary identification information for a member.").optional()
|
|
18
|
-
}).describe("Query object to identify the member to remove. Must provide either valid primaryInfo OR both secondaryInfo and tertiaryInfo.") }).describe("Information for removing a single member.")).describe("Collection of member removal requests. Each member requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo to be uniquely identified.") }).describe("Request model for deleting members from a referral program.");
|
|
18
|
+
}).describe("Query object to identify the member to remove. Must provide either valid primaryInfo OR both secondaryInfo and tertiaryInfo.") }).passthrough().describe("Information for removing a single member.")).describe("Collection of member removal requests. Each member requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo to be uniquely identified.") }).describe("Request model for deleting members from a referral program.");
|
|
19
19
|
const ReferralrockDeleteMembersRemove_PrimaryInfoSchema = zod.z.object({
|
|
20
20
|
memberId: zod.z.string().describe("Unique identifier for the member").nullable().optional(),
|
|
21
21
|
referralCode: zod.z.string().describe("Referral code for the member").nullable().optional()
|
|
22
|
-
}).describe("Primary identification information for a member.");
|
|
22
|
+
}).passthrough().describe("Primary identification information for a member.");
|
|
23
23
|
const ReferralrockDeleteMembersRemove_TertiaryInfoSchema = zod.z.object({
|
|
24
24
|
programId: zod.z.string().describe("Unique identifier for the program").nullable().optional(),
|
|
25
25
|
programName: zod.z.string().describe("Name of the program").nullable().optional(),
|
|
26
26
|
programTitle: zod.z.string().describe("Title of the program").nullable().optional()
|
|
27
|
-
}).describe("Program identification information.");
|
|
27
|
+
}).passthrough().describe("Program identification information.");
|
|
28
28
|
const ReferralrockDeleteMembersRemove_SecondaryInfoSchema = zod.z.object({
|
|
29
29
|
email: zod.z.string().describe("Email address of the member").nullable().optional(),
|
|
30
30
|
externalIdentifier: zod.z.string().describe("External identifier for the member").nullable().optional()
|
|
31
|
-
}).describe("Secondary identification information for a member.");
|
|
31
|
+
}).passthrough().describe("Secondary identification information for a member.");
|
|
32
32
|
const ReferralrockDeleteMembersRemove_MemberQuerySchema = zod.z.object({
|
|
33
33
|
primaryInfo: ReferralrockDeleteMembersRemove_PrimaryInfoSchema.nullable().optional(),
|
|
34
34
|
tertiaryInfo: ReferralrockDeleteMembersRemove_TertiaryInfoSchema.nullable().optional(),
|
|
35
35
|
secondaryInfo: ReferralrockDeleteMembersRemove_SecondaryInfoSchema.nullable().optional()
|
|
36
|
-
}).describe("Query structure for identifying members to remove. Requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo.");
|
|
36
|
+
}).passthrough().describe("Query structure for identifying members to remove. Requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo.");
|
|
37
37
|
const ReferralrockDeleteMembersRemove_ResultInfoSchema = zod.z.object({
|
|
38
38
|
Status: zod.z.string().describe("Status of the operation").nullable().optional(),
|
|
39
39
|
Message: zod.z.string().describe("Message indicating operation results").nullable().optional()
|
|
40
|
-
}).describe("Result information for a member removal operation.");
|
|
40
|
+
}).passthrough().describe("Result information for a member removal operation.");
|
|
41
41
|
const ReferralrockDeleteMembersRemove_RemoveMemberResultSchema = zod.z.object({
|
|
42
42
|
query: ReferralrockDeleteMembersRemove_MemberQuerySchema.nullable().optional(),
|
|
43
43
|
resultInfo: ReferralrockDeleteMembersRemove_ResultInfoSchema.nullable().optional()
|
|
44
|
-
}).describe("Result for a single member removal operation.");
|
|
45
|
-
const ReferralrockDeleteMembersRemoveOutput = zod.z.object({ results: zod.z.array(ReferralrockDeleteMembersRemove_RemoveMemberResultSchema).describe("Collection of removal results for each member").nullable().optional() }).describe("Response model containing results for member deletion operations.");
|
|
44
|
+
}).passthrough().describe("Result for a single member removal operation.");
|
|
45
|
+
const ReferralrockDeleteMembersRemoveOutput = zod.z.object({ results: zod.z.array(ReferralrockDeleteMembersRemove_RemoveMemberResultSchema).describe("Collection of removal results for each member").nullable().optional() }).passthrough().describe("Response model containing results for member deletion operations.");
|
|
46
46
|
const referralrockDeleteMembersRemove = require_action.action("REFERRALROCK_DELETE_MEMBERS_REMOVE", {
|
|
47
47
|
slug: "referralrock-delete-members-remove",
|
|
48
48
|
name: "Delete Members from Program",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-members-remove.cjs","names":["z","action"],"sources":["../../src/actions/delete-members-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteMembersRemoveInput = z.object({\n members: z.array(z.object({\n query: z.object({\n primaryInfo: z.object({\n memberId: z.string().describe(\"Unique identifier for the member\").optional(),\n referralCode: z.string().describe(\"Referral code for the member\").optional(),\n}).describe(\"Primary identification information for a member.\").optional(),\n tertiaryInfo: z.object({\n programId: z.string().describe(\"Unique identifier for the program\").optional(),\n programName: z.string().describe(\"Name of the program\").optional(),\n programTitle: z.string().describe(\"Title of the program\").optional(),\n}).describe(\"Program identification information.\").optional(),\n secondaryInfo: z.object({\n email: z.string().describe(\"Email address of the member\").optional(),\n externalIdentifier: z.string().describe(\"External identifier for the member\").optional(),\n}).describe(\"Secondary identification information for a member.\").optional(),\n}).describe(\"Query object to identify the member to remove. Must provide either valid primaryInfo OR both secondaryInfo and tertiaryInfo.\"),\n}).describe(\"Information for removing a single member.\")).describe(\"Collection of member removal requests. Each member requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo to be uniquely identified.\"),\n}).describe(\"Request model for deleting members from a referral program.\");\nconst ReferralrockDeleteMembersRemove_PrimaryInfoSchema = z.object({\n memberId: z.string().describe(\"Unique identifier for the member\").nullable().optional(),\n referralCode: z.string().describe(\"Referral code for the member\").nullable().optional(),\n}).describe(\"Primary identification information for a member.\");\nconst ReferralrockDeleteMembersRemove_TertiaryInfoSchema = z.object({\n programId: z.string().describe(\"Unique identifier for the program\").nullable().optional(),\n programName: z.string().describe(\"Name of the program\").nullable().optional(),\n programTitle: z.string().describe(\"Title of the program\").nullable().optional(),\n}).describe(\"Program identification information.\");\nconst ReferralrockDeleteMembersRemove_SecondaryInfoSchema = z.object({\n email: z.string().describe(\"Email address of the member\").nullable().optional(),\n externalIdentifier: z.string().describe(\"External identifier for the member\").nullable().optional(),\n}).describe(\"Secondary identification information for a member.\");\nconst ReferralrockDeleteMembersRemove_MemberQuerySchema = z.object({\n primaryInfo: ReferralrockDeleteMembersRemove_PrimaryInfoSchema.nullable().optional(),\n tertiaryInfo: ReferralrockDeleteMembersRemove_TertiaryInfoSchema.nullable().optional(),\n secondaryInfo: ReferralrockDeleteMembersRemove_SecondaryInfoSchema.nullable().optional(),\n}).describe(\"Query structure for identifying members to remove. Requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo.\");\nconst ReferralrockDeleteMembersRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Status of the operation\").nullable().optional(),\n Message: z.string().describe(\"Message indicating operation results\").nullable().optional(),\n}).describe(\"Result information for a member removal operation.\");\nconst ReferralrockDeleteMembersRemove_RemoveMemberResultSchema = z.object({\n query: ReferralrockDeleteMembersRemove_MemberQuerySchema.nullable().optional(),\n resultInfo: ReferralrockDeleteMembersRemove_ResultInfoSchema.nullable().optional(),\n}).describe(\"Result for a single member removal operation.\");\nexport const ReferralrockDeleteMembersRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteMembersRemove_RemoveMemberResultSchema).describe(\"Collection of removal results for each member\").nullable().optional(),\n}).describe(\"Response model containing results for member deletion operations.\");\n\nexport const referralrockDeleteMembersRemove = action(\"REFERRALROCK_DELETE_MEMBERS_REMOVE\", {\n slug: \"referralrock-delete-members-remove\",\n name: \"Delete Members from Program\",\n description: \"Tool to delete members from a referral program. Use when you need to remove one or more members. Each member requires either valid primaryInfo (memberId or referralCode) OR both secondaryInfo (externalIdentifier or email) and tertiaryInfo (program details) to be uniquely identified.\",\n input: ReferralrockDeleteMembersRemoveInput,\n output: ReferralrockDeleteMembersRemoveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC1B,OAAOA,IAAAA,EAAE,OAAO;CAChB,aAAaA,IAAAA,EAAE,OAAO;EACtB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO;EACvB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1D,eAAeA,IAAAA,EAAE,OAAO;EACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8HAA8H,EAC1I,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,wJAAwJ,
|
|
1
|
+
{"version":3,"file":"delete-members-remove.cjs","names":["z","action"],"sources":["../../src/actions/delete-members-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteMembersRemoveInput = z.object({\n members: z.array(z.object({\n query: z.object({\n primaryInfo: z.object({\n memberId: z.string().describe(\"Unique identifier for the member\").optional(),\n referralCode: z.string().describe(\"Referral code for the member\").optional(),\n}).describe(\"Primary identification information for a member.\").optional(),\n tertiaryInfo: z.object({\n programId: z.string().describe(\"Unique identifier for the program\").optional(),\n programName: z.string().describe(\"Name of the program\").optional(),\n programTitle: z.string().describe(\"Title of the program\").optional(),\n}).describe(\"Program identification information.\").optional(),\n secondaryInfo: z.object({\n email: z.string().describe(\"Email address of the member\").optional(),\n externalIdentifier: z.string().describe(\"External identifier for the member\").optional(),\n}).describe(\"Secondary identification information for a member.\").optional(),\n}).describe(\"Query object to identify the member to remove. Must provide either valid primaryInfo OR both secondaryInfo and tertiaryInfo.\"),\n}).passthrough().describe(\"Information for removing a single member.\")).describe(\"Collection of member removal requests. Each member requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo to be uniquely identified.\"),\n}).describe(\"Request model for deleting members from a referral program.\");\nconst ReferralrockDeleteMembersRemove_PrimaryInfoSchema = z.object({\n memberId: z.string().describe(\"Unique identifier for the member\").nullable().optional(),\n referralCode: z.string().describe(\"Referral code for the member\").nullable().optional(),\n}).passthrough().describe(\"Primary identification information for a member.\");\nconst ReferralrockDeleteMembersRemove_TertiaryInfoSchema = z.object({\n programId: z.string().describe(\"Unique identifier for the program\").nullable().optional(),\n programName: z.string().describe(\"Name of the program\").nullable().optional(),\n programTitle: z.string().describe(\"Title of the program\").nullable().optional(),\n}).passthrough().describe(\"Program identification information.\");\nconst ReferralrockDeleteMembersRemove_SecondaryInfoSchema = z.object({\n email: z.string().describe(\"Email address of the member\").nullable().optional(),\n externalIdentifier: z.string().describe(\"External identifier for the member\").nullable().optional(),\n}).passthrough().describe(\"Secondary identification information for a member.\");\nconst ReferralrockDeleteMembersRemove_MemberQuerySchema = z.object({\n primaryInfo: ReferralrockDeleteMembersRemove_PrimaryInfoSchema.nullable().optional(),\n tertiaryInfo: ReferralrockDeleteMembersRemove_TertiaryInfoSchema.nullable().optional(),\n secondaryInfo: ReferralrockDeleteMembersRemove_SecondaryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Query structure for identifying members to remove. Requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo.\");\nconst ReferralrockDeleteMembersRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Status of the operation\").nullable().optional(),\n Message: z.string().describe(\"Message indicating operation results\").nullable().optional(),\n}).passthrough().describe(\"Result information for a member removal operation.\");\nconst ReferralrockDeleteMembersRemove_RemoveMemberResultSchema = z.object({\n query: ReferralrockDeleteMembersRemove_MemberQuerySchema.nullable().optional(),\n resultInfo: ReferralrockDeleteMembersRemove_ResultInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Result for a single member removal operation.\");\nexport const ReferralrockDeleteMembersRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteMembersRemove_RemoveMemberResultSchema).describe(\"Collection of removal results for each member\").nullable().optional(),\n}).passthrough().describe(\"Response model containing results for member deletion operations.\");\n\nexport const referralrockDeleteMembersRemove = action(\"REFERRALROCK_DELETE_MEMBERS_REMOVE\", {\n slug: \"referralrock-delete-members-remove\",\n name: \"Delete Members from Program\",\n description: \"Tool to delete members from a referral program. Use when you need to remove one or more members. Each member requires either valid primaryInfo (memberId or referralCode) OR both secondaryInfo (externalIdentifier or email) and tertiaryInfo (program details) to be uniquely identified.\",\n input: ReferralrockDeleteMembersRemoveInput,\n output: ReferralrockDeleteMembersRemoveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC1B,OAAOA,IAAAA,EAAE,OAAO;CAChB,aAAaA,IAAAA,EAAE,OAAO;EACtB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO;EACvB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1D,eAAeA,IAAAA,EAAE,OAAO;EACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD,C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SAAS;CACnF,cAAc,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACrF,eAAe,oDAAoD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8HAA8H;AACxJ,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,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,OAAO,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const ReferralrockDeleteMembersRemoveInput: z.ZodObject<{
|
|
|
18
18
|
externalIdentifier: z.ZodOptional<z.ZodString>;
|
|
19
19
|
}, z.core.$strip>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const ReferralrockDeleteMembersRemoveOutput: z.ZodObject<{
|
|
24
24
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -26,25 +26,26 @@ declare const ReferralrockDeleteMembersRemoveOutput: z.ZodObject<{
|
|
|
26
26
|
primaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
memberId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
referralCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
tertiaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
programId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
programName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
programTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
secondaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
36
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
externalIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
39
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
resultInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
}, z.core.$loose>>>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const referralrockDeleteMembersRemove: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
members: {
|
|
48
|
+
[x: string]: unknown;
|
|
48
49
|
query: {
|
|
49
50
|
primaryInfo?: {
|
|
50
51
|
memberId?: string | undefined;
|
|
@@ -18,7 +18,7 @@ declare const ReferralrockDeleteMembersRemoveInput: z.ZodObject<{
|
|
|
18
18
|
externalIdentifier: z.ZodOptional<z.ZodString>;
|
|
19
19
|
}, z.core.$strip>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const ReferralrockDeleteMembersRemoveOutput: z.ZodObject<{
|
|
24
24
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -26,25 +26,26 @@ declare const ReferralrockDeleteMembersRemoveOutput: z.ZodObject<{
|
|
|
26
26
|
primaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
memberId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
referralCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
tertiaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
programId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
programName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
programTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
secondaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
36
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
externalIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
39
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
resultInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
}, z.core.$loose>>>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const referralrockDeleteMembersRemove: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
members: {
|
|
48
|
+
[x: string]: unknown;
|
|
48
49
|
query: {
|
|
49
50
|
primaryInfo?: {
|
|
50
51
|
memberId?: string | undefined;
|
|
@@ -15,39 +15,39 @@ const ReferralrockDeleteMembersRemoveInput = z.object({ members: z.array(z.objec
|
|
|
15
15
|
email: z.string().describe("Email address of the member").optional(),
|
|
16
16
|
externalIdentifier: z.string().describe("External identifier for the member").optional()
|
|
17
17
|
}).describe("Secondary identification information for a member.").optional()
|
|
18
|
-
}).describe("Query object to identify the member to remove. Must provide either valid primaryInfo OR both secondaryInfo and tertiaryInfo.") }).describe("Information for removing a single member.")).describe("Collection of member removal requests. Each member requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo to be uniquely identified.") }).describe("Request model for deleting members from a referral program.");
|
|
18
|
+
}).describe("Query object to identify the member to remove. Must provide either valid primaryInfo OR both secondaryInfo and tertiaryInfo.") }).passthrough().describe("Information for removing a single member.")).describe("Collection of member removal requests. Each member requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo to be uniquely identified.") }).describe("Request model for deleting members from a referral program.");
|
|
19
19
|
const ReferralrockDeleteMembersRemove_PrimaryInfoSchema = z.object({
|
|
20
20
|
memberId: z.string().describe("Unique identifier for the member").nullable().optional(),
|
|
21
21
|
referralCode: z.string().describe("Referral code for the member").nullable().optional()
|
|
22
|
-
}).describe("Primary identification information for a member.");
|
|
22
|
+
}).passthrough().describe("Primary identification information for a member.");
|
|
23
23
|
const ReferralrockDeleteMembersRemove_TertiaryInfoSchema = z.object({
|
|
24
24
|
programId: z.string().describe("Unique identifier for the program").nullable().optional(),
|
|
25
25
|
programName: z.string().describe("Name of the program").nullable().optional(),
|
|
26
26
|
programTitle: z.string().describe("Title of the program").nullable().optional()
|
|
27
|
-
}).describe("Program identification information.");
|
|
27
|
+
}).passthrough().describe("Program identification information.");
|
|
28
28
|
const ReferralrockDeleteMembersRemove_SecondaryInfoSchema = z.object({
|
|
29
29
|
email: z.string().describe("Email address of the member").nullable().optional(),
|
|
30
30
|
externalIdentifier: z.string().describe("External identifier for the member").nullable().optional()
|
|
31
|
-
}).describe("Secondary identification information for a member.");
|
|
31
|
+
}).passthrough().describe("Secondary identification information for a member.");
|
|
32
32
|
const ReferralrockDeleteMembersRemove_MemberQuerySchema = z.object({
|
|
33
33
|
primaryInfo: ReferralrockDeleteMembersRemove_PrimaryInfoSchema.nullable().optional(),
|
|
34
34
|
tertiaryInfo: ReferralrockDeleteMembersRemove_TertiaryInfoSchema.nullable().optional(),
|
|
35
35
|
secondaryInfo: ReferralrockDeleteMembersRemove_SecondaryInfoSchema.nullable().optional()
|
|
36
|
-
}).describe("Query structure for identifying members to remove. Requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo.");
|
|
36
|
+
}).passthrough().describe("Query structure for identifying members to remove. Requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo.");
|
|
37
37
|
const ReferralrockDeleteMembersRemove_ResultInfoSchema = z.object({
|
|
38
38
|
Status: z.string().describe("Status of the operation").nullable().optional(),
|
|
39
39
|
Message: z.string().describe("Message indicating operation results").nullable().optional()
|
|
40
|
-
}).describe("Result information for a member removal operation.");
|
|
40
|
+
}).passthrough().describe("Result information for a member removal operation.");
|
|
41
41
|
const ReferralrockDeleteMembersRemove_RemoveMemberResultSchema = z.object({
|
|
42
42
|
query: ReferralrockDeleteMembersRemove_MemberQuerySchema.nullable().optional(),
|
|
43
43
|
resultInfo: ReferralrockDeleteMembersRemove_ResultInfoSchema.nullable().optional()
|
|
44
|
-
}).describe("Result for a single member removal operation.");
|
|
44
|
+
}).passthrough().describe("Result for a single member removal operation.");
|
|
45
45
|
const referralrockDeleteMembersRemove = action("REFERRALROCK_DELETE_MEMBERS_REMOVE", {
|
|
46
46
|
slug: "referralrock-delete-members-remove",
|
|
47
47
|
name: "Delete Members from Program",
|
|
48
48
|
description: "Tool to delete members from a referral program. Use when you need to remove one or more members. Each member requires either valid primaryInfo (memberId or referralCode) OR both secondaryInfo (externalIdentifier or email) and tertiaryInfo (program details) to be uniquely identified.",
|
|
49
49
|
input: ReferralrockDeleteMembersRemoveInput,
|
|
50
|
-
output: z.object({ results: z.array(ReferralrockDeleteMembersRemove_RemoveMemberResultSchema).describe("Collection of removal results for each member").nullable().optional() }).describe("Response model containing results for member deletion operations.")
|
|
50
|
+
output: z.object({ results: z.array(ReferralrockDeleteMembersRemove_RemoveMemberResultSchema).describe("Collection of removal results for each member").nullable().optional() }).passthrough().describe("Response model containing results for member deletion operations.")
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { referralrockDeleteMembersRemove };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-members-remove.mjs","names":[],"sources":["../../src/actions/delete-members-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteMembersRemoveInput = z.object({\n members: z.array(z.object({\n query: z.object({\n primaryInfo: z.object({\n memberId: z.string().describe(\"Unique identifier for the member\").optional(),\n referralCode: z.string().describe(\"Referral code for the member\").optional(),\n}).describe(\"Primary identification information for a member.\").optional(),\n tertiaryInfo: z.object({\n programId: z.string().describe(\"Unique identifier for the program\").optional(),\n programName: z.string().describe(\"Name of the program\").optional(),\n programTitle: z.string().describe(\"Title of the program\").optional(),\n}).describe(\"Program identification information.\").optional(),\n secondaryInfo: z.object({\n email: z.string().describe(\"Email address of the member\").optional(),\n externalIdentifier: z.string().describe(\"External identifier for the member\").optional(),\n}).describe(\"Secondary identification information for a member.\").optional(),\n}).describe(\"Query object to identify the member to remove. Must provide either valid primaryInfo OR both secondaryInfo and tertiaryInfo.\"),\n}).describe(\"Information for removing a single member.\")).describe(\"Collection of member removal requests. Each member requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo to be uniquely identified.\"),\n}).describe(\"Request model for deleting members from a referral program.\");\nconst ReferralrockDeleteMembersRemove_PrimaryInfoSchema = z.object({\n memberId: z.string().describe(\"Unique identifier for the member\").nullable().optional(),\n referralCode: z.string().describe(\"Referral code for the member\").nullable().optional(),\n}).describe(\"Primary identification information for a member.\");\nconst ReferralrockDeleteMembersRemove_TertiaryInfoSchema = z.object({\n programId: z.string().describe(\"Unique identifier for the program\").nullable().optional(),\n programName: z.string().describe(\"Name of the program\").nullable().optional(),\n programTitle: z.string().describe(\"Title of the program\").nullable().optional(),\n}).describe(\"Program identification information.\");\nconst ReferralrockDeleteMembersRemove_SecondaryInfoSchema = z.object({\n email: z.string().describe(\"Email address of the member\").nullable().optional(),\n externalIdentifier: z.string().describe(\"External identifier for the member\").nullable().optional(),\n}).describe(\"Secondary identification information for a member.\");\nconst ReferralrockDeleteMembersRemove_MemberQuerySchema = z.object({\n primaryInfo: ReferralrockDeleteMembersRemove_PrimaryInfoSchema.nullable().optional(),\n tertiaryInfo: ReferralrockDeleteMembersRemove_TertiaryInfoSchema.nullable().optional(),\n secondaryInfo: ReferralrockDeleteMembersRemove_SecondaryInfoSchema.nullable().optional(),\n}).describe(\"Query structure for identifying members to remove. Requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo.\");\nconst ReferralrockDeleteMembersRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Status of the operation\").nullable().optional(),\n Message: z.string().describe(\"Message indicating operation results\").nullable().optional(),\n}).describe(\"Result information for a member removal operation.\");\nconst ReferralrockDeleteMembersRemove_RemoveMemberResultSchema = z.object({\n query: ReferralrockDeleteMembersRemove_MemberQuerySchema.nullable().optional(),\n resultInfo: ReferralrockDeleteMembersRemove_ResultInfoSchema.nullable().optional(),\n}).describe(\"Result for a single member removal operation.\");\nexport const ReferralrockDeleteMembersRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteMembersRemove_RemoveMemberResultSchema).describe(\"Collection of removal results for each member\").nullable().optional(),\n}).describe(\"Response model containing results for member deletion operations.\");\n\nexport const referralrockDeleteMembersRemove = action(\"REFERRALROCK_DELETE_MEMBERS_REMOVE\", {\n slug: \"referralrock-delete-members-remove\",\n name: \"Delete Members from Program\",\n description: \"Tool to delete members from a referral program. Use when you need to remove one or more members. Each member requires either valid primaryInfo (memberId or referralCode) OR both secondaryInfo (externalIdentifier or email) and tertiaryInfo (program details) to be uniquely identified.\",\n input: ReferralrockDeleteMembersRemoveInput,\n output: ReferralrockDeleteMembersRemoveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,SAAS,EAAE,MAAM,EAAE,OAAO,EAC1B,OAAO,EAAE,OAAO;CAChB,aAAa,EAAE,OAAO;EACtB,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvE,cAAc,EAAE,OAAO;EACvB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1D,eAAe,EAAE,OAAO;EACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8HAA8H,EAC1I,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,wJAAwJ,
|
|
1
|
+
{"version":3,"file":"delete-members-remove.mjs","names":[],"sources":["../../src/actions/delete-members-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReferralrockDeleteMembersRemoveInput = z.object({\n members: z.array(z.object({\n query: z.object({\n primaryInfo: z.object({\n memberId: z.string().describe(\"Unique identifier for the member\").optional(),\n referralCode: z.string().describe(\"Referral code for the member\").optional(),\n}).describe(\"Primary identification information for a member.\").optional(),\n tertiaryInfo: z.object({\n programId: z.string().describe(\"Unique identifier for the program\").optional(),\n programName: z.string().describe(\"Name of the program\").optional(),\n programTitle: z.string().describe(\"Title of the program\").optional(),\n}).describe(\"Program identification information.\").optional(),\n secondaryInfo: z.object({\n email: z.string().describe(\"Email address of the member\").optional(),\n externalIdentifier: z.string().describe(\"External identifier for the member\").optional(),\n}).describe(\"Secondary identification information for a member.\").optional(),\n}).describe(\"Query object to identify the member to remove. Must provide either valid primaryInfo OR both secondaryInfo and tertiaryInfo.\"),\n}).passthrough().describe(\"Information for removing a single member.\")).describe(\"Collection of member removal requests. Each member requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo to be uniquely identified.\"),\n}).describe(\"Request model for deleting members from a referral program.\");\nconst ReferralrockDeleteMembersRemove_PrimaryInfoSchema = z.object({\n memberId: z.string().describe(\"Unique identifier for the member\").nullable().optional(),\n referralCode: z.string().describe(\"Referral code for the member\").nullable().optional(),\n}).passthrough().describe(\"Primary identification information for a member.\");\nconst ReferralrockDeleteMembersRemove_TertiaryInfoSchema = z.object({\n programId: z.string().describe(\"Unique identifier for the program\").nullable().optional(),\n programName: z.string().describe(\"Name of the program\").nullable().optional(),\n programTitle: z.string().describe(\"Title of the program\").nullable().optional(),\n}).passthrough().describe(\"Program identification information.\");\nconst ReferralrockDeleteMembersRemove_SecondaryInfoSchema = z.object({\n email: z.string().describe(\"Email address of the member\").nullable().optional(),\n externalIdentifier: z.string().describe(\"External identifier for the member\").nullable().optional(),\n}).passthrough().describe(\"Secondary identification information for a member.\");\nconst ReferralrockDeleteMembersRemove_MemberQuerySchema = z.object({\n primaryInfo: ReferralrockDeleteMembersRemove_PrimaryInfoSchema.nullable().optional(),\n tertiaryInfo: ReferralrockDeleteMembersRemove_TertiaryInfoSchema.nullable().optional(),\n secondaryInfo: ReferralrockDeleteMembersRemove_SecondaryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Query structure for identifying members to remove. Requires either valid primaryInfo OR both secondaryInfo and tertiaryInfo.\");\nconst ReferralrockDeleteMembersRemove_ResultInfoSchema = z.object({\n Status: z.string().describe(\"Status of the operation\").nullable().optional(),\n Message: z.string().describe(\"Message indicating operation results\").nullable().optional(),\n}).passthrough().describe(\"Result information for a member removal operation.\");\nconst ReferralrockDeleteMembersRemove_RemoveMemberResultSchema = z.object({\n query: ReferralrockDeleteMembersRemove_MemberQuerySchema.nullable().optional(),\n resultInfo: ReferralrockDeleteMembersRemove_ResultInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Result for a single member removal operation.\");\nexport const ReferralrockDeleteMembersRemoveOutput = z.object({\n results: z.array(ReferralrockDeleteMembersRemove_RemoveMemberResultSchema).describe(\"Collection of removal results for each member\").nullable().optional(),\n}).passthrough().describe(\"Response model containing results for member deletion operations.\");\n\nexport const referralrockDeleteMembersRemove = action(\"REFERRALROCK_DELETE_MEMBERS_REMOVE\", {\n slug: \"referralrock-delete-members-remove\",\n name: \"Delete Members from Program\",\n description: \"Tool to delete members from a referral program. Use when you need to remove one or more members. Each member requires either valid primaryInfo (memberId or referralCode) OR both secondaryInfo (externalIdentifier or email) and tertiaryInfo (program details) to be uniquely identified.\",\n input: ReferralrockDeleteMembersRemoveInput,\n output: ReferralrockDeleteMembersRemoveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,SAAS,EAAE,MAAM,EAAE,OAAO,EAC1B,OAAO,EAAE,OAAO;CAChB,aAAa,EAAE,OAAO;EACtB,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvE,cAAc,EAAE,OAAO;EACvB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1D,eAAe,EAAE,OAAO;EACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8HAA8H,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,wJAAwJ,EACzO,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,oDAAoD,EAAE,OAAO;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,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YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,2DAA2D,EAAE,OAAO;CACxE,OAAO,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
|
|
@@ -14,34 +14,34 @@ const ReferralrockDeleteReferralRemoveInput = zod.z.object({ referrals: zod.z.ar
|
|
|
14
14
|
phoneNumber: zod.z.string().describe("Phone number of the referral").optional(),
|
|
15
15
|
externalIdentifier: zod.z.string().describe("External identifier for the referral").optional()
|
|
16
16
|
}).describe("Secondary identification information for a referral.").optional()
|
|
17
|
-
}).describe("Query object containing identification parameters. Must contain either primaryInfo.referralId OR both secondaryInfo AND tertiaryInfo.") }).describe("Information required to remove a referral.")).describe("List of referral queries to remove. Each must be uniquely identifiable.") }).describe("Request model for removing referrals. Accepts a list of referral queries for batch deletion.");
|
|
18
|
-
const ReferralrockDeleteReferralRemove_FuzzyInfoSchema = zod.z.object({ Identifier: zod.z.string().describe("Fuzzy identifier for matching").nullable().optional() }).describe("Fuzzy matching information for referral identification.");
|
|
19
|
-
const ReferralrockDeleteReferralRemove_PrimaryInfoSchema = zod.z.object({ referralId: zod.z.string().describe("Unique referral identifier").nullable().optional() }).describe("Primary identification information for a referral.");
|
|
17
|
+
}).describe("Query object containing identification parameters. Must contain either primaryInfo.referralId OR both secondaryInfo AND tertiaryInfo.") }).passthrough().describe("Information required to remove a referral.")).describe("List of referral queries to remove. Each must be uniquely identifiable.") }).describe("Request model for removing referrals. Accepts a list of referral queries for batch deletion.");
|
|
18
|
+
const ReferralrockDeleteReferralRemove_FuzzyInfoSchema = zod.z.object({ Identifier: zod.z.string().describe("Fuzzy identifier for matching").nullable().optional() }).passthrough().describe("Fuzzy matching information for referral identification.");
|
|
19
|
+
const ReferralrockDeleteReferralRemove_PrimaryInfoSchema = zod.z.object({ referralId: zod.z.string().describe("Unique referral identifier").nullable().optional() }).passthrough().describe("Primary identification information for a referral.");
|
|
20
20
|
const ReferralrockDeleteReferralRemove_TertiaryInfoSchema = zod.z.object({
|
|
21
21
|
ProgramId: zod.z.string().describe("Program ID").nullable().optional(),
|
|
22
22
|
ProgramName: zod.z.string().describe("Program name").nullable().optional(),
|
|
23
23
|
ProgramTitle: zod.z.string().describe("Program title").nullable().optional()
|
|
24
|
-
}).describe("Tertiary identification information related to program details.");
|
|
24
|
+
}).passthrough().describe("Tertiary identification information related to program details.");
|
|
25
25
|
const ReferralrockDeleteReferralRemove_SecondaryInfoSchema = zod.z.object({
|
|
26
26
|
email: zod.z.string().describe("Email address of the referral").nullable().optional(),
|
|
27
27
|
phoneNumber: zod.z.string().describe("Phone number of the referral").nullable().optional(),
|
|
28
28
|
externalIdentifier: zod.z.string().describe("External identifier for the referral").nullable().optional()
|
|
29
|
-
}).describe("Secondary identification information for a referral.");
|
|
29
|
+
}).passthrough().describe("Secondary identification information for a referral.");
|
|
30
30
|
const ReferralrockDeleteReferralRemove_ReferralQuerySchema = zod.z.object({
|
|
31
31
|
fuzzyInfo: ReferralrockDeleteReferralRemove_FuzzyInfoSchema.nullable().optional(),
|
|
32
32
|
primaryInfo: ReferralrockDeleteReferralRemove_PrimaryInfoSchema.nullable().optional(),
|
|
33
33
|
tertiaryInfo: ReferralrockDeleteReferralRemove_TertiaryInfoSchema.nullable().optional(),
|
|
34
34
|
secondaryInfo: ReferralrockDeleteReferralRemove_SecondaryInfoSchema.nullable().optional()
|
|
35
|
-
}).describe("Query parameters to identify a referral for removal. Must contain either primaryInfo.referralId OR both secondaryInfo AND tertiaryInfo with valid values.");
|
|
35
|
+
}).passthrough().describe("Query parameters to identify a referral for removal. Must contain either primaryInfo.referralId OR both secondaryInfo AND tertiaryInfo with valid values.");
|
|
36
36
|
const ReferralrockDeleteReferralRemove_ResultInfoSchema = zod.z.object({
|
|
37
37
|
Status: zod.z.string().describe("Status of the removal operation").nullable().optional(),
|
|
38
38
|
Message: zod.z.string().describe("Descriptive message about the operation result").nullable().optional()
|
|
39
|
-
}).describe("Result information from the removal operation.");
|
|
39
|
+
}).passthrough().describe("Result information from the removal operation.");
|
|
40
40
|
const ReferralrockDeleteReferralRemove_RemoveReferralResultSchema = zod.z.object({
|
|
41
41
|
query: ReferralrockDeleteReferralRemove_ReferralQuerySchema.nullable().optional(),
|
|
42
42
|
resultInfo: ReferralrockDeleteReferralRemove_ResultInfoSchema.nullable().optional()
|
|
43
|
-
}).describe("Result of a referral removal operation.");
|
|
44
|
-
const ReferralrockDeleteReferralRemoveOutput = zod.z.object({ results: zod.z.array(ReferralrockDeleteReferralRemove_RemoveReferralResultSchema).describe("List of removal results corresponding to the input queries").nullable().optional() }).describe("Response model for the delete referral remove action. Returns an array of removal results.");
|
|
43
|
+
}).passthrough().describe("Result of a referral removal operation.");
|
|
44
|
+
const ReferralrockDeleteReferralRemoveOutput = zod.z.object({ results: zod.z.array(ReferralrockDeleteReferralRemove_RemoveReferralResultSchema).describe("List of removal results corresponding to the input queries").nullable().optional() }).passthrough().describe("Response model for the delete referral remove action. Returns an array of removal results.");
|
|
45
45
|
const referralrockDeleteReferralRemove = require_action.action("REFERRALROCK_DELETE_REFERRAL_REMOVE", {
|
|
46
46
|
slug: "referralrock-delete-referral-remove",
|
|
47
47
|
name: "Delete Referral",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-referral-remove.cjs","names":["z","action"],"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}).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}).describe(\"Fuzzy matching information for referral identification.\");\nconst ReferralrockDeleteReferralRemove_PrimaryInfoSchema = z.object({\n referralId: z.string().describe(\"Unique referral identifier\").nullable().optional(),\n}).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}).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}).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}).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}).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}).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}).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":";;;AAIA,MAAa,wCAA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ove.cjs","names":["z","action"],"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":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC5B,OAAOA,IAAAA,EAAE,OAAO;CAChB,WAAWA,IAAAA,EAAE,OAAO,EACpB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,EACtB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO;EACvB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EAC1D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,OAAO;EACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC7E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dentifier: z.ZodOptional<z.ZodString>;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
declare const ReferralrockDeleteReferralRemoveOutput: z.ZodObject<{
|
|
27
27
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28
28
|
query: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
fuzzyInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
Identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
32
|
primaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
33
33
|
referralId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
tertiaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
36
|
ProgramId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
ProgramName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
ProgramTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
secondaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
externalIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
resultInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
47
47
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>>;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
52
|
declare const referralrockDeleteReferralRemove: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
53
|
referrals: {
|
|
54
|
+
[x: string]: unknown;
|
|
54
55
|
query: {
|
|
55
56
|
fuzzyInfo?: {
|
|
56
57
|
Identifier?: string | undefined;
|
|
@@ -21,36 +21,37 @@ declare const ReferralrockDeleteReferralRemoveInput: z.ZodObject<{
|
|
|
21
21
|
externalIdentifier: z.ZodOptional<z.ZodString>;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
declare const ReferralrockDeleteReferralRemoveOutput: z.ZodObject<{
|
|
27
27
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28
28
|
query: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
fuzzyInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
Identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
32
|
primaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
33
33
|
referralId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
tertiaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
36
|
ProgramId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
ProgramName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
ProgramTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
secondaryInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
externalIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
resultInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
47
47
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>>;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
52
|
declare const referralrockDeleteReferralRemove: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
53
|
referrals: {
|
|
54
|
+
[x: string]: unknown;
|
|
54
55
|
query: {
|
|
55
56
|
fuzzyInfo?: {
|
|
56
57
|
Identifier?: string | undefined;
|