@keystrokehq/ritekit 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/auto-hashtag.cjs +1 -1
- package/dist/actions/auto-hashtag.cjs.map +1 -1
- package/dist/actions/auto-hashtag.d.cts +1 -1
- package/dist/actions/auto-hashtag.d.mts +1 -1
- package/dist/actions/auto-hashtag.mjs +1 -1
- package/dist/actions/auto-hashtag.mjs.map +1 -1
- package/dist/actions/banned-instagram-hashtags.cjs +1 -1
- package/dist/actions/banned-instagram-hashtags.cjs.map +1 -1
- package/dist/actions/banned-instagram-hashtags.d.cts +1 -1
- package/dist/actions/banned-instagram-hashtags.d.mts +1 -1
- package/dist/actions/banned-instagram-hashtags.mjs +1 -1
- package/dist/actions/banned-instagram-hashtags.mjs.map +1 -1
- package/dist/actions/detect-disposable-email.cjs +1 -1
- package/dist/actions/detect-disposable-email.cjs.map +1 -1
- package/dist/actions/detect-disposable-email.d.cts +1 -1
- package/dist/actions/detect-disposable-email.d.mts +1 -1
- package/dist/actions/detect-disposable-email.mjs +1 -1
- package/dist/actions/detect-disposable-email.mjs.map +1 -1
- package/dist/actions/detect-email-typo.cjs +1 -1
- package/dist/actions/detect-email-typo.cjs.map +1 -1
- package/dist/actions/detect-email-typo.d.cts +1 -1
- package/dist/actions/detect-email-typo.d.mts +1 -1
- package/dist/actions/detect-email-typo.mjs +1 -1
- package/dist/actions/detect-email-typo.mjs.map +1 -1
- package/dist/actions/freemail-detection.cjs +1 -1
- package/dist/actions/freemail-detection.cjs.map +1 -1
- package/dist/actions/freemail-detection.d.cts +1 -1
- package/dist/actions/freemail-detection.d.mts +1 -1
- package/dist/actions/freemail-detection.mjs +1 -1
- package/dist/actions/freemail-detection.mjs.map +1 -1
- package/dist/actions/get-access-token.cjs +1 -1
- package/dist/actions/get-access-token.cjs.map +1 -1
- package/dist/actions/get-access-token.d.cts +1 -1
- package/dist/actions/get-access-token.d.mts +1 -1
- package/dist/actions/get-access-token.mjs +1 -1
- package/dist/actions/get-access-token.mjs.map +1 -1
- package/dist/actions/get-client-id.cjs +1 -1
- package/dist/actions/get-client-id.cjs.map +1 -1
- package/dist/actions/get-client-id.d.cts +1 -1
- package/dist/actions/get-client-id.d.mts +1 -1
- package/dist/actions/get-client-id.mjs +1 -1
- package/dist/actions/get-client-id.mjs.map +1 -1
- package/dist/actions/get-client-secret.cjs +1 -1
- package/dist/actions/get-client-secret.cjs.map +1 -1
- package/dist/actions/get-client-secret.d.cts +1 -1
- package/dist/actions/get-client-secret.d.mts +1 -1
- package/dist/actions/get-client-secret.mjs +1 -1
- package/dist/actions/get-client-secret.mjs.map +1 -1
- package/dist/actions/get-full-email-insights.cjs +1 -1
- package/dist/actions/get-full-email-insights.cjs.map +1 -1
- package/dist/actions/get-full-email-insights.d.cts +1 -1
- package/dist/actions/get-full-email-insights.d.mts +1 -1
- package/dist/actions/get-full-email-insights.mjs +1 -1
- package/dist/actions/get-full-email-insights.mjs.map +1 -1
- package/dist/actions/hashtag-suggestions.cjs +2 -2
- package/dist/actions/hashtag-suggestions.cjs.map +1 -1
- package/dist/actions/hashtag-suggestions.d.cts +2 -2
- package/dist/actions/hashtag-suggestions.d.mts +2 -2
- package/dist/actions/hashtag-suggestions.mjs +2 -2
- package/dist/actions/hashtag-suggestions.mjs.map +1 -1
- package/dist/actions/link-ad-delete.cjs +1 -1
- package/dist/actions/link-ad-delete.cjs.map +1 -1
- package/dist/actions/link-ad-delete.d.cts +1 -1
- package/dist/actions/link-ad-delete.d.mts +1 -1
- package/dist/actions/link-ad-delete.mjs +1 -1
- package/dist/actions/link-ad-delete.mjs.map +1 -1
- package/dist/actions/list-link-ads.cjs +2 -2
- package/dist/actions/list-link-ads.cjs.map +1 -1
- package/dist/actions/list-link-ads.d.cts +2 -2
- package/dist/actions/list-link-ads.d.mts +2 -2
- package/dist/actions/list-link-ads.mjs +2 -2
- package/dist/actions/list-link-ads.mjs.map +1 -1
- package/dist/actions/shorten-link.cjs +2 -2
- package/dist/actions/shorten-link.cjs.map +1 -1
- package/dist/actions/shorten-link.d.cts +2 -2
- package/dist/actions/shorten-link.d.mts +2 -2
- package/dist/actions/shorten-link.mjs +2 -2
- package/dist/actions/shorten-link.mjs.map +1 -1
- package/dist/actions/text-to-image.cjs +1 -1
- package/dist/actions/text-to-image.cjs.map +1 -1
- package/dist/actions/text-to-image.d.cts +1 -1
- package/dist/actions/text-to-image.d.mts +1 -1
- package/dist/actions/text-to-image.mjs +1 -1
- package/dist/actions/text-to-image.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ const RitekitAutoHashtagInput = zod.z.object({
|
|
|
6
6
|
maxHashtags: zod.z.number().int().describe("Maximum number of hashtags to add (default is 2)").optional(),
|
|
7
7
|
hashtagPosition: zod.z.enum(["auto", "end"]).describe("Position of hashtags: 'auto' to insert in context, 'end' to append at end (default is 'auto')").optional()
|
|
8
8
|
}).describe("Request model for RiteKit Auto-Hashtag API.");
|
|
9
|
-
const RitekitAutoHashtagOutput = zod.z.object({ text: zod.z.string().describe("Post text with relevant hashtags inserted").nullable() }).describe("Response model for RiteKit Auto-Hashtag API.");
|
|
9
|
+
const RitekitAutoHashtagOutput = zod.z.object({ text: zod.z.string().describe("Post text with relevant hashtags inserted").nullable() }).passthrough().describe("Response model for RiteKit Auto-Hashtag API.");
|
|
10
10
|
const ritekitAutoHashtag = require_action.action("RITEKIT_AUTO_HASHTAG", {
|
|
11
11
|
slug: "ritekit-auto-hashtag",
|
|
12
12
|
name: "Auto Hashtag",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-hashtag.cjs","names":["z","action"],"sources":["../../src/actions/auto-hashtag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitAutoHashtagInput = z.object({\n post: z.string().describe(\"Text of the post to add hashtags to\"),\n maxHashtags: z.number().int().describe(\"Maximum number of hashtags to add (default is 2)\").optional(),\n hashtagPosition: z.enum([\"auto\", \"end\"]).describe(\"Position of hashtags: 'auto' to insert in context, 'end' to append at end (default is 'auto')\").optional(),\n}).describe(\"Request model for RiteKit Auto-Hashtag API.\");\nexport const RitekitAutoHashtagOutput = z.object({\n text: z.string().describe(\"Post text with relevant hashtags inserted\").nullable(),\n}).describe(\"Response model for RiteKit Auto-Hashtag API.\");\n\nexport const ritekitAutoHashtag = action(\"RITEKIT_AUTO_HASHTAG\", {\n slug: \"ritekit-auto-hashtag\",\n name: \"Auto Hashtag\",\n description: \"Tool to automatically add relevant hashtags to a given post. Use when you have plain text and need suggested hashtags appended or inserted in context.\",\n input: RitekitAutoHashtagInput,\n output: RitekitAutoHashtagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"auto-hashtag.cjs","names":["z","action"],"sources":["../../src/actions/auto-hashtag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitAutoHashtagInput = z.object({\n post: z.string().describe(\"Text of the post to add hashtags to\"),\n maxHashtags: z.number().int().describe(\"Maximum number of hashtags to add (default is 2)\").optional(),\n hashtagPosition: z.enum([\"auto\", \"end\"]).describe(\"Position of hashtags: 'auto' to insert in context, 'end' to append at end (default is 'auto')\").optional(),\n}).describe(\"Request model for RiteKit Auto-Hashtag API.\");\nexport const RitekitAutoHashtagOutput = z.object({\n text: z.string().describe(\"Post text with relevant hashtags inserted\").nullable(),\n}).passthrough().describe(\"Response model for RiteKit Auto-Hashtag API.\");\n\nexport const ritekitAutoHashtag = action(\"RITEKIT_AUTO_HASHTAG\", {\n slug: \"ritekit-auto-hashtag\",\n name: \"Auto Hashtag\",\n description: \"Tool to automatically add relevant hashtags to a given post. Use when you have plain text and need suggested hashtags appended or inserted in context.\",\n input: RitekitAutoHashtagInput,\n output: RitekitAutoHashtagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const RitekitAutoHashtagInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const RitekitAutoHashtagOutput: z.ZodObject<{
|
|
13
13
|
text: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const ritekitAutoHashtag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
post: string;
|
|
17
17
|
maxHashtags?: number | undefined;
|
|
@@ -11,7 +11,7 @@ declare const RitekitAutoHashtagInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const RitekitAutoHashtagOutput: z.ZodObject<{
|
|
13
13
|
text: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const ritekitAutoHashtag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
post: string;
|
|
17
17
|
maxHashtags?: number | undefined;
|
|
@@ -9,7 +9,7 @@ const ritekitAutoHashtag = action("RITEKIT_AUTO_HASHTAG", {
|
|
|
9
9
|
maxHashtags: z.number().int().describe("Maximum number of hashtags to add (default is 2)").optional(),
|
|
10
10
|
hashtagPosition: z.enum(["auto", "end"]).describe("Position of hashtags: 'auto' to insert in context, 'end' to append at end (default is 'auto')").optional()
|
|
11
11
|
}).describe("Request model for RiteKit Auto-Hashtag API."),
|
|
12
|
-
output: z.object({ text: z.string().describe("Post text with relevant hashtags inserted").nullable() }).describe("Response model for RiteKit Auto-Hashtag API.")
|
|
12
|
+
output: z.object({ text: z.string().describe("Post text with relevant hashtags inserted").nullable() }).passthrough().describe("Response model for RiteKit Auto-Hashtag API.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ritekitAutoHashtag };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-hashtag.mjs","names":[],"sources":["../../src/actions/auto-hashtag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitAutoHashtagInput = z.object({\n post: z.string().describe(\"Text of the post to add hashtags to\"),\n maxHashtags: z.number().int().describe(\"Maximum number of hashtags to add (default is 2)\").optional(),\n hashtagPosition: z.enum([\"auto\", \"end\"]).describe(\"Position of hashtags: 'auto' to insert in context, 'end' to append at end (default is 'auto')\").optional(),\n}).describe(\"Request model for RiteKit Auto-Hashtag API.\");\nexport const RitekitAutoHashtagOutput = z.object({\n text: z.string().describe(\"Post text with relevant hashtags inserted\").nullable(),\n}).describe(\"Response model for RiteKit Auto-Hashtag API.\");\n\nexport const ritekitAutoHashtag = action(\"RITEKIT_AUTO_HASHTAG\", {\n slug: \"ritekit-auto-hashtag\",\n name: \"Auto Hashtag\",\n description: \"Tool to automatically add relevant hashtags to a given post. Use when you have plain text and need suggested hashtags appended or inserted in context.\",\n input: RitekitAutoHashtagInput,\n output: RitekitAutoHashtagOutput,\n});\n"],"mappings":";;AAaA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,6CASH;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"auto-hashtag.mjs","names":[],"sources":["../../src/actions/auto-hashtag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitAutoHashtagInput = z.object({\n post: z.string().describe(\"Text of the post to add hashtags to\"),\n maxHashtags: z.number().int().describe(\"Maximum number of hashtags to add (default is 2)\").optional(),\n hashtagPosition: z.enum([\"auto\", \"end\"]).describe(\"Position of hashtags: 'auto' to insert in context, 'end' to append at end (default is 'auto')\").optional(),\n}).describe(\"Request model for RiteKit Auto-Hashtag API.\");\nexport const RitekitAutoHashtagOutput = z.object({\n text: z.string().describe(\"Post text with relevant hashtags inserted\").nullable(),\n}).passthrough().describe(\"Response model for RiteKit Auto-Hashtag API.\");\n\nexport const ritekitAutoHashtag = action(\"RITEKIT_AUTO_HASHTAG\", {\n slug: \"ritekit-auto-hashtag\",\n name: \"Auto Hashtag\",\n description: \"Tool to automatically add relevant hashtags to a given post. Use when you have plain text and need suggested hashtags appended or inserted in context.\",\n input: RitekitAutoHashtagInput,\n output: RitekitAutoHashtagOutput,\n});\n"],"mappings":";;AAaA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,6CASH;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const RitekitBannedInstagramHashtagsInput = zod.z.object({
|
|
|
9
9
|
const RitekitBannedInstagramHashtagsOutput = zod.z.object({
|
|
10
10
|
banned_hashtags: zod.z.array(zod.z.string()).describe("List of hashtags banned on Instagram"),
|
|
11
11
|
not_banned_hashtags: zod.z.array(zod.z.string()).describe("List of hashtags not banned on Instagram")
|
|
12
|
-
}).describe("Response model for RiteKit Banned Instagram Hashtags API.");
|
|
12
|
+
}).passthrough().describe("Response model for RiteKit Banned Instagram Hashtags API.");
|
|
13
13
|
const ritekitBannedInstagramHashtags = require_action.action("RITEKIT_BANNED_INSTAGRAM_HASHTAGS", {
|
|
14
14
|
slug: "ritekit-banned-instagram-hashtags",
|
|
15
15
|
name: "Check Banned Instagram Hashtags",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banned-instagram-hashtags.cjs","names":["z","action"],"sources":["../../src/actions/banned-instagram-hashtags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitBannedInstagramHashtagsInput = z.object({\n tags: z.array(z.string()).describe(\"List of hashtags to check (without the leading '#'), 1-100 items\"),\n client_id: z.string().describe(\"RiteKit API client ID passed as 'client_id' query parameter (alternative to access_token)\").optional(),\n access_token: z.string().describe(\"RiteKit OAuth2 access token passed as 'access_token' query parameter\").optional(),\n}).describe(\"Request model for RiteKit Banned Instagram Hashtags API.\");\nexport const RitekitBannedInstagramHashtagsOutput = z.object({\n banned_hashtags: z.array(z.string()).describe(\"List of hashtags banned on Instagram\"),\n not_banned_hashtags: z.array(z.string()).describe(\"List of hashtags not banned on Instagram\"),\n}).describe(\"Response model for RiteKit Banned Instagram Hashtags API.\");\n\nexport const ritekitBannedInstagramHashtags = action(\"RITEKIT_BANNED_INSTAGRAM_HASHTAGS\", {\n slug: \"ritekit-banned-instagram-hashtags\",\n name: \"Check Banned Instagram Hashtags\",\n description: \"Tool to identify which hashtags are banned on Instagram. Use when preparing content and need to filter out banned hashtags before posting.\",\n input: RitekitBannedInstagramHashtagsInput,\n output: RitekitBannedInstagramHashtagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACrI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACpF,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC9F,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"banned-instagram-hashtags.cjs","names":["z","action"],"sources":["../../src/actions/banned-instagram-hashtags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitBannedInstagramHashtagsInput = z.object({\n tags: z.array(z.string()).describe(\"List of hashtags to check (without the leading '#'), 1-100 items\"),\n client_id: z.string().describe(\"RiteKit API client ID passed as 'client_id' query parameter (alternative to access_token)\").optional(),\n access_token: z.string().describe(\"RiteKit OAuth2 access token passed as 'access_token' query parameter\").optional(),\n}).describe(\"Request model for RiteKit Banned Instagram Hashtags API.\");\nexport const RitekitBannedInstagramHashtagsOutput = z.object({\n banned_hashtags: z.array(z.string()).describe(\"List of hashtags banned on Instagram\"),\n not_banned_hashtags: z.array(z.string()).describe(\"List of hashtags not banned on Instagram\"),\n}).passthrough().describe(\"Response model for RiteKit Banned Instagram Hashtags API.\");\n\nexport const ritekitBannedInstagramHashtags = action(\"RITEKIT_BANNED_INSTAGRAM_HASHTAGS\", {\n slug: \"ritekit-banned-instagram-hashtags\",\n name: \"Check Banned Instagram Hashtags\",\n description: \"Tool to identify which hashtags are banned on Instagram. Use when preparing content and need to filter out banned hashtags before posting.\",\n input: RitekitBannedInstagramHashtagsInput,\n output: RitekitBannedInstagramHashtagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACrI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACpF,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const RitekitBannedInstagramHashtagsInput: z.ZodObject<{
|
|
|
9
9
|
declare const RitekitBannedInstagramHashtagsOutput: z.ZodObject<{
|
|
10
10
|
banned_hashtags: z.ZodArray<z.ZodString>;
|
|
11
11
|
not_banned_hashtags: z.ZodArray<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const ritekitBannedInstagramHashtags: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
tags: string[];
|
|
15
15
|
client_id?: string | undefined;
|
|
@@ -9,7 +9,7 @@ declare const RitekitBannedInstagramHashtagsInput: z.ZodObject<{
|
|
|
9
9
|
declare const RitekitBannedInstagramHashtagsOutput: z.ZodObject<{
|
|
10
10
|
banned_hashtags: z.ZodArray<z.ZodString>;
|
|
11
11
|
not_banned_hashtags: z.ZodArray<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const ritekitBannedInstagramHashtags: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
tags: string[];
|
|
15
15
|
client_id?: string | undefined;
|
|
@@ -12,7 +12,7 @@ const ritekitBannedInstagramHashtags = action("RITEKIT_BANNED_INSTAGRAM_HASHTAGS
|
|
|
12
12
|
output: z.object({
|
|
13
13
|
banned_hashtags: z.array(z.string()).describe("List of hashtags banned on Instagram"),
|
|
14
14
|
not_banned_hashtags: z.array(z.string()).describe("List of hashtags not banned on Instagram")
|
|
15
|
-
}).describe("Response model for RiteKit Banned Instagram Hashtags API.")
|
|
15
|
+
}).passthrough().describe("Response model for RiteKit Banned Instagram Hashtags API.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { ritekitBannedInstagramHashtags };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banned-instagram-hashtags.mjs","names":[],"sources":["../../src/actions/banned-instagram-hashtags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitBannedInstagramHashtagsInput = z.object({\n tags: z.array(z.string()).describe(\"List of hashtags to check (without the leading '#'), 1-100 items\"),\n client_id: z.string().describe(\"RiteKit API client ID passed as 'client_id' query parameter (alternative to access_token)\").optional(),\n access_token: z.string().describe(\"RiteKit OAuth2 access token passed as 'access_token' query parameter\").optional(),\n}).describe(\"Request model for RiteKit Banned Instagram Hashtags API.\");\nexport const RitekitBannedInstagramHashtagsOutput = z.object({\n banned_hashtags: z.array(z.string()).describe(\"List of hashtags banned on Instagram\"),\n not_banned_hashtags: z.array(z.string()).describe(\"List of hashtags not banned on Instagram\"),\n}).describe(\"Response model for RiteKit Banned Instagram Hashtags API.\");\n\nexport const ritekitBannedInstagramHashtags = action(\"RITEKIT_BANNED_INSTAGRAM_HASHTAGS\", {\n slug: \"ritekit-banned-instagram-hashtags\",\n name: \"Check Banned Instagram Hashtags\",\n description: \"Tool to identify which hashtags are banned on Instagram. Use when preparing content and need to filter out banned hashtags before posting.\",\n input: RitekitBannedInstagramHashtagsInput,\n output: RitekitBannedInstagramHashtagsOutput,\n});\n"],"mappings":";;AAcA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiD,EAAE,OAAO;EAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACrI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,0DAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;EACpF,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C;CAC9F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"banned-instagram-hashtags.mjs","names":[],"sources":["../../src/actions/banned-instagram-hashtags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitBannedInstagramHashtagsInput = z.object({\n tags: z.array(z.string()).describe(\"List of hashtags to check (without the leading '#'), 1-100 items\"),\n client_id: z.string().describe(\"RiteKit API client ID passed as 'client_id' query parameter (alternative to access_token)\").optional(),\n access_token: z.string().describe(\"RiteKit OAuth2 access token passed as 'access_token' query parameter\").optional(),\n}).describe(\"Request model for RiteKit Banned Instagram Hashtags API.\");\nexport const RitekitBannedInstagramHashtagsOutput = z.object({\n banned_hashtags: z.array(z.string()).describe(\"List of hashtags banned on Instagram\"),\n not_banned_hashtags: z.array(z.string()).describe(\"List of hashtags not banned on Instagram\"),\n}).passthrough().describe(\"Response model for RiteKit Banned Instagram Hashtags API.\");\n\nexport const ritekitBannedInstagramHashtags = action(\"RITEKIT_BANNED_INSTAGRAM_HASHTAGS\", {\n slug: \"ritekit-banned-instagram-hashtags\",\n name: \"Check Banned Instagram Hashtags\",\n description: \"Tool to identify which hashtags are banned on Instagram. Use when preparing content and need to filter out banned hashtags before posting.\",\n input: RitekitBannedInstagramHashtagsInput,\n output: RitekitBannedInstagramHashtagsOutput,\n});\n"],"mappings":";;AAcA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiD,EAAE,OAAO;EAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACrI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,0DAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;EACpF,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/detect-disposable-email.ts
|
|
4
4
|
const RitekitDetectDisposableEmailInput = zod.z.object({ email: zod.z.string().describe("Email address to check for disposable status") }).describe("Request model for RiteKit Disposable Email Detection API.");
|
|
5
|
-
const RitekitDetectDisposableEmailOutput = zod.z.object({ disposable: zod.z.boolean().describe("True if the email address is recognized as disposable/temporary").nullable() }).describe("Response model for RiteKit Disposable Email Detection API.");
|
|
5
|
+
const RitekitDetectDisposableEmailOutput = zod.z.object({ disposable: zod.z.boolean().describe("True if the email address is recognized as disposable/temporary").nullable() }).passthrough().describe("Response model for RiteKit Disposable Email Detection API.");
|
|
6
6
|
const ritekitDetectDisposableEmail = require_action.action("RITEKIT_DETECT_DISPOSABLE_EMAIL", {
|
|
7
7
|
slug: "ritekit-detect-disposable-email",
|
|
8
8
|
name: "Detect Disposable Email",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-disposable-email.cjs","names":["z","action"],"sources":["../../src/actions/detect-disposable-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitDetectDisposableEmailInput = z.object({\n email: z.string().describe(\"Email address to check for disposable status\"),\n}).describe(\"Request model for RiteKit Disposable Email Detection API.\");\nexport const RitekitDetectDisposableEmailOutput = z.object({\n disposable: z.boolean().describe(\"True if the email address is recognized as disposable/temporary\").nullable(),\n}).describe(\"Response model for RiteKit Disposable Email Detection API.\");\n\nexport const ritekitDetectDisposableEmail = action(\"RITEKIT_DETECT_DISPOSABLE_EMAIL\", {\n slug: \"ritekit-detect-disposable-email\",\n name: \"Detect Disposable Email\",\n description: \"Tool to detect if an email address is disposable. Use when validating email addresses to filter out temporary or fake email services.\",\n input: RitekitDetectDisposableEmailInput,\n output: RitekitDetectDisposableEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC3E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
1
|
+
{"version":3,"file":"detect-disposable-email.cjs","names":["z","action"],"sources":["../../src/actions/detect-disposable-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitDetectDisposableEmailInput = z.object({\n email: z.string().describe(\"Email address to check for disposable status\"),\n}).describe(\"Request model for RiteKit Disposable Email Detection API.\");\nexport const RitekitDetectDisposableEmailOutput = z.object({\n disposable: z.boolean().describe(\"True if the email address is recognized as disposable/temporary\").nullable(),\n}).passthrough().describe(\"Response model for RiteKit Disposable Email Detection API.\");\n\nexport const ritekitDetectDisposableEmail = action(\"RITEKIT_DETECT_DISPOSABLE_EMAIL\", {\n slug: \"ritekit-detect-disposable-email\",\n name: \"Detect Disposable Email\",\n description: \"Tool to detect if an email address is disposable. Use when validating email addresses to filter out temporary or fake email services.\",\n input: RitekitDetectDisposableEmailInput,\n output: RitekitDetectDisposableEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC3E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const RitekitDetectDisposableEmailInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RitekitDetectDisposableEmailOutput: z.ZodObject<{
|
|
8
8
|
disposable: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ritekitDetectDisposableEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
email: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const RitekitDetectDisposableEmailInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RitekitDetectDisposableEmailOutput: z.ZodObject<{
|
|
8
8
|
disposable: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ritekitDetectDisposableEmail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
email: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ritekitDetectDisposableEmail = action("RITEKIT_DETECT_DISPOSABLE_EMAIL", {
|
|
|
5
5
|
name: "Detect Disposable Email",
|
|
6
6
|
description: "Tool to detect if an email address is disposable. Use when validating email addresses to filter out temporary or fake email services.",
|
|
7
7
|
input: z.object({ email: z.string().describe("Email address to check for disposable status") }).describe("Request model for RiteKit Disposable Email Detection API."),
|
|
8
|
-
output: z.object({ disposable: z.boolean().describe("True if the email address is recognized as disposable/temporary").nullable() }).describe("Response model for RiteKit Disposable Email Detection API.")
|
|
8
|
+
output: z.object({ disposable: z.boolean().describe("True if the email address is recognized as disposable/temporary").nullable() }).passthrough().describe("Response model for RiteKit Disposable Email Detection API.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ritekitDetectDisposableEmail };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-disposable-email.mjs","names":[],"sources":["../../src/actions/detect-disposable-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitDetectDisposableEmailInput = z.object({\n email: z.string().describe(\"Email address to check for disposable status\"),\n}).describe(\"Request model for RiteKit Disposable Email Detection API.\");\nexport const RitekitDetectDisposableEmailOutput = z.object({\n disposable: z.boolean().describe(\"True if the email address is recognized as disposable/temporary\").nullable(),\n}).describe(\"Response model for RiteKit Disposable Email Detection API.\");\n\nexport const ritekitDetectDisposableEmail = action(\"RITEKIT_DETECT_DISPOSABLE_EMAIL\", {\n slug: \"ritekit-detect-disposable-email\",\n name: \"Detect Disposable Email\",\n description: \"Tool to detect if an email address is disposable. Use when validating email addresses to filter out temporary or fake email services.\",\n input: RitekitDetectDisposableEmailInput,\n output: RitekitDetectDisposableEmailOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC3E,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QATgD,EAAE,OAAO,EACzD,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"detect-disposable-email.mjs","names":[],"sources":["../../src/actions/detect-disposable-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitDetectDisposableEmailInput = z.object({\n email: z.string().describe(\"Email address to check for disposable status\"),\n}).describe(\"Request model for RiteKit Disposable Email Detection API.\");\nexport const RitekitDetectDisposableEmailOutput = z.object({\n disposable: z.boolean().describe(\"True if the email address is recognized as disposable/temporary\").nullable(),\n}).passthrough().describe(\"Response model for RiteKit Disposable Email Detection API.\");\n\nexport const ritekitDetectDisposableEmail = action(\"RITEKIT_DETECT_DISPOSABLE_EMAIL\", {\n slug: \"ritekit-detect-disposable-email\",\n name: \"Detect Disposable Email\",\n description: \"Tool to detect if an email address is disposable. Use when validating email addresses to filter out temporary or fake email services.\",\n input: RitekitDetectDisposableEmailInput,\n output: RitekitDetectDisposableEmailOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC3E,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QATgD,EAAE,OAAO,EACzD,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RitekitDetectEmailTypoInput = zod.z.object({
|
|
|
5
5
|
email: zod.z.string().describe("Email address to check for typos and get correction suggestions"),
|
|
6
6
|
client_id: zod.z.string().describe("Your RiteKit API client ID; must be passed as 'client_id' query parameter")
|
|
7
7
|
}).describe("Request model for RiteKit Email Typo Detection API.");
|
|
8
|
-
const RitekitDetectEmailTypoOutput = zod.z.object({ corrections: zod.z.array(zod.z.string()).describe("Array of most likely corrected email domains (e.g., ['gmail.com', 'gmal.com'])").nullable().optional() }).describe("Response model for RiteKit Email Typo Detection API.");
|
|
8
|
+
const RitekitDetectEmailTypoOutput = zod.z.object({ corrections: zod.z.array(zod.z.string()).describe("Array of most likely corrected email domains (e.g., ['gmail.com', 'gmal.com'])").nullable().optional() }).passthrough().describe("Response model for RiteKit Email Typo Detection API.");
|
|
9
9
|
const ritekitDetectEmailTypo = require_action.action("RITEKIT_DETECT_EMAIL_TYPO", {
|
|
10
10
|
slug: "ritekit-detect-email-typo",
|
|
11
11
|
name: "Detect Email Typo",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-email-typo.cjs","names":["z","action"],"sources":["../../src/actions/detect-email-typo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitDetectEmailTypoInput = z.object({\n email: z.string().describe(\"Email address to check for typos and get correction suggestions\"),\n client_id: z.string().describe(\"Your RiteKit API client ID; must be passed as 'client_id' query parameter\"),\n}).describe(\"Request model for RiteKit Email Typo Detection API.\");\nexport const RitekitDetectEmailTypoOutput = z.object({\n corrections: z.array(z.string()).describe(\"Array of most likely corrected email domains (e.g., ['gmail.com', 'gmal.com'])\").nullable().optional(),\n}).describe(\"Response model for RiteKit Email Typo Detection API.\");\n\nexport const ritekitDetectEmailTypo = action(\"RITEKIT_DETECT_EMAIL_TYPO\", {\n slug: \"ritekit-detect-email-typo\",\n name: \"Detect Email Typo\",\n description: \"Tool to detect common typos in email addresses and suggest corrections. Use when validating email input to help users correct mistakes like gml.com -> gmail.com.\",\n input: RitekitDetectEmailTypoInput,\n output: RitekitDetectEmailTypoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC5G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"detect-email-typo.cjs","names":["z","action"],"sources":["../../src/actions/detect-email-typo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitDetectEmailTypoInput = z.object({\n email: z.string().describe(\"Email address to check for typos and get correction suggestions\"),\n client_id: z.string().describe(\"Your RiteKit API client ID; must be passed as 'client_id' query parameter\"),\n}).describe(\"Request model for RiteKit Email Typo Detection API.\");\nexport const RitekitDetectEmailTypoOutput = z.object({\n corrections: z.array(z.string()).describe(\"Array of most likely corrected email domains (e.g., ['gmail.com', 'gmal.com'])\").nullable().optional(),\n}).passthrough().describe(\"Response model for RiteKit Email Typo Detection API.\");\n\nexport const ritekitDetectEmailTypo = action(\"RITEKIT_DETECT_EMAIL_TYPO\", {\n slug: \"ritekit-detect-email-typo\",\n name: \"Detect Email Typo\",\n description: \"Tool to detect common typos in email addresses and suggest corrections. Use when validating email input to help users correct mistakes like gml.com -> gmail.com.\",\n input: RitekitDetectEmailTypoInput,\n output: RitekitDetectEmailTypoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC5G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const RitekitDetectEmailTypoInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const RitekitDetectEmailTypoOutput: z.ZodObject<{
|
|
9
9
|
corrections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const ritekitDetectEmailTypo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
email: string;
|
|
13
13
|
client_id: string;
|
|
@@ -7,7 +7,7 @@ declare const RitekitDetectEmailTypoInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const RitekitDetectEmailTypoOutput: z.ZodObject<{
|
|
9
9
|
corrections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const ritekitDetectEmailTypo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
email: string;
|
|
13
13
|
client_id: string;
|
|
@@ -8,7 +8,7 @@ const ritekitDetectEmailTypo = action("RITEKIT_DETECT_EMAIL_TYPO", {
|
|
|
8
8
|
email: z.string().describe("Email address to check for typos and get correction suggestions"),
|
|
9
9
|
client_id: z.string().describe("Your RiteKit API client ID; must be passed as 'client_id' query parameter")
|
|
10
10
|
}).describe("Request model for RiteKit Email Typo Detection API."),
|
|
11
|
-
output: z.object({ corrections: z.array(z.string()).describe("Array of most likely corrected email domains (e.g., ['gmail.com', 'gmal.com'])").nullable().optional() }).describe("Response model for RiteKit Email Typo Detection API.")
|
|
11
|
+
output: z.object({ corrections: z.array(z.string()).describe("Array of most likely corrected email domains (e.g., ['gmail.com', 'gmal.com'])").nullable().optional() }).passthrough().describe("Response model for RiteKit Email Typo Detection API.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ritekitDetectEmailTypo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-email-typo.mjs","names":[],"sources":["../../src/actions/detect-email-typo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitDetectEmailTypoInput = z.object({\n email: z.string().describe(\"Email address to check for typos and get correction suggestions\"),\n client_id: z.string().describe(\"Your RiteKit API client ID; must be passed as 'client_id' query parameter\"),\n}).describe(\"Request model for RiteKit Email Typo Detection API.\");\nexport const RitekitDetectEmailTypoOutput = z.object({\n corrections: z.array(z.string()).describe(\"Array of most likely corrected email domains (e.g., ['gmail.com', 'gmal.com'])\").nullable().optional(),\n}).describe(\"Response model for RiteKit Email Typo Detection API.\");\n\nexport const ritekitDetectEmailTypo = action(\"RITEKIT_DETECT_EMAIL_TYPO\", {\n slug: \"ritekit-detect-email-typo\",\n name: \"Detect Email Typo\",\n description: \"Tool to detect common typos in email addresses and suggest corrections. Use when validating email input to help users correct mistakes like gml.com -> gmail.com.\",\n input: RitekitDetectEmailTypoInput,\n output: RitekitDetectEmailTypoOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC5G,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QAT0C,EAAE,OAAO,EACnD,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"detect-email-typo.mjs","names":[],"sources":["../../src/actions/detect-email-typo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitDetectEmailTypoInput = z.object({\n email: z.string().describe(\"Email address to check for typos and get correction suggestions\"),\n client_id: z.string().describe(\"Your RiteKit API client ID; must be passed as 'client_id' query parameter\"),\n}).describe(\"Request model for RiteKit Email Typo Detection API.\");\nexport const RitekitDetectEmailTypoOutput = z.object({\n corrections: z.array(z.string()).describe(\"Array of most likely corrected email domains (e.g., ['gmail.com', 'gmal.com'])\").nullable().optional(),\n}).passthrough().describe(\"Response model for RiteKit Email Typo Detection API.\");\n\nexport const ritekitDetectEmailTypo = action(\"RITEKIT_DETECT_EMAIL_TYPO\", {\n slug: \"ritekit-detect-email-typo\",\n name: \"Detect Email Typo\",\n description: \"Tool to detect common typos in email addresses and suggest corrections. Use when validating email input to help users correct mistakes like gml.com -> gmail.com.\",\n input: RitekitDetectEmailTypoInput,\n output: RitekitDetectEmailTypoOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC5G,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QAT0C,EAAE,OAAO,EACnD,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/freemail-detection.ts
|
|
4
4
|
const RitekitFreemailDetectionInput = zod.z.object({ email: zod.z.string().describe("Email address to check for free-email provider") }).describe("Request model for RiteKit Freemail Detection API.");
|
|
5
|
-
const RitekitFreemailDetectionOutput = zod.z.object({ freemail: zod.z.boolean().describe("True if email is from a recognized free email provider").nullable() }).describe("Response model for RiteKit Freemail Detection API.");
|
|
5
|
+
const RitekitFreemailDetectionOutput = zod.z.object({ freemail: zod.z.boolean().describe("True if email is from a recognized free email provider").nullable() }).passthrough().describe("Response model for RiteKit Freemail Detection API.");
|
|
6
6
|
const ritekitFreemailDetection = require_action.action("RITEKIT_FREEMAIL_DETECTION", {
|
|
7
7
|
slug: "ritekit-freemail-detection",
|
|
8
8
|
name: "Free Email Detection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"freemail-detection.cjs","names":["z","action"],"sources":["../../src/actions/freemail-detection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitFreemailDetectionInput = z.object({\n email: z.string().describe(\"Email address to check for free-email provider\"),\n}).describe(\"Request model for RiteKit Freemail Detection API.\");\nexport const RitekitFreemailDetectionOutput = z.object({\n freemail: z.boolean().describe(\"True if email is from a recognized free email provider\").nullable(),\n}).describe(\"Response model for RiteKit Freemail Detection API.\");\n\nexport const ritekitFreemailDetection = action(\"RITEKIT_FREEMAIL_DETECTION\", {\n slug: \"ritekit-freemail-detection\",\n name: \"Free Email Detection\",\n description: \"Tool to detect whether an email address belongs to a free email provider. Use when validating lead quality before ingestion.\",\n input: RitekitFreemailDetectionInput,\n output: RitekitFreemailDetectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC7E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"freemail-detection.cjs","names":["z","action"],"sources":["../../src/actions/freemail-detection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitFreemailDetectionInput = z.object({\n email: z.string().describe(\"Email address to check for free-email provider\"),\n}).describe(\"Request model for RiteKit Freemail Detection API.\");\nexport const RitekitFreemailDetectionOutput = z.object({\n freemail: z.boolean().describe(\"True if email is from a recognized free email provider\").nullable(),\n}).passthrough().describe(\"Response model for RiteKit Freemail Detection API.\");\n\nexport const ritekitFreemailDetection = action(\"RITEKIT_FREEMAIL_DETECTION\", {\n slug: \"ritekit-freemail-detection\",\n name: \"Free Email Detection\",\n description: \"Tool to detect whether an email address belongs to a free email provider. Use when validating lead quality before ingestion.\",\n input: RitekitFreemailDetectionInput,\n output: RitekitFreemailDetectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC7E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const RitekitFreemailDetectionInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RitekitFreemailDetectionOutput: z.ZodObject<{
|
|
8
8
|
freemail: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ritekitFreemailDetection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
email: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const RitekitFreemailDetectionInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RitekitFreemailDetectionOutput: z.ZodObject<{
|
|
8
8
|
freemail: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ritekitFreemailDetection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
email: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ritekitFreemailDetection = action("RITEKIT_FREEMAIL_DETECTION", {
|
|
|
5
5
|
name: "Free Email Detection",
|
|
6
6
|
description: "Tool to detect whether an email address belongs to a free email provider. Use when validating lead quality before ingestion.",
|
|
7
7
|
input: z.object({ email: z.string().describe("Email address to check for free-email provider") }).describe("Request model for RiteKit Freemail Detection API."),
|
|
8
|
-
output: z.object({ freemail: z.boolean().describe("True if email is from a recognized free email provider").nullable() }).describe("Response model for RiteKit Freemail Detection API.")
|
|
8
|
+
output: z.object({ freemail: z.boolean().describe("True if email is from a recognized free email provider").nullable() }).passthrough().describe("Response model for RiteKit Freemail Detection API.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ritekitFreemailDetection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"freemail-detection.mjs","names":[],"sources":["../../src/actions/freemail-detection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitFreemailDetectionInput = z.object({\n email: z.string().describe(\"Email address to check for free-email provider\"),\n}).describe(\"Request model for RiteKit Freemail Detection API.\");\nexport const RitekitFreemailDetectionOutput = z.object({\n freemail: z.boolean().describe(\"True if email is from a recognized free email provider\").nullable(),\n}).describe(\"Response model for RiteKit Freemail Detection API.\");\n\nexport const ritekitFreemailDetection = action(\"RITEKIT_FREEMAIL_DETECTION\", {\n slug: \"ritekit-freemail-detection\",\n name: \"Free Email Detection\",\n description: \"Tool to detect whether an email address belongs to a free email provider. Use when validating lead quality before ingestion.\",\n input: RitekitFreemailDetectionInput,\n output: RitekitFreemailDetectionOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC7E,CAAC,CAAC,CAAC,SAAS,mDASH;CACP,QAT4C,EAAE,OAAO,EACrD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"freemail-detection.mjs","names":[],"sources":["../../src/actions/freemail-detection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitFreemailDetectionInput = z.object({\n email: z.string().describe(\"Email address to check for free-email provider\"),\n}).describe(\"Request model for RiteKit Freemail Detection API.\");\nexport const RitekitFreemailDetectionOutput = z.object({\n freemail: z.boolean().describe(\"True if email is from a recognized free email provider\").nullable(),\n}).passthrough().describe(\"Response model for RiteKit Freemail Detection API.\");\n\nexport const ritekitFreemailDetection = action(\"RITEKIT_FREEMAIL_DETECTION\", {\n slug: \"ritekit-freemail-detection\",\n name: \"Free Email Detection\",\n description: \"Tool to detect whether an email address belongs to a free email provider. Use when validating lead quality before ingestion.\",\n input: RitekitFreemailDetectionInput,\n output: RitekitFreemailDetectionOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC7E,CAAC,CAAC,CAAC,SAAS,mDASH;CACP,QAT4C,EAAE,OAAO,EACrD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const RitekitGetAccessTokenOutput = zod.z.object({
|
|
|
11
11
|
expires_in: zod.z.number().int().describe("Lifetime in seconds of the access token (if provided by API)").nullable().optional(),
|
|
12
12
|
token_type: zod.z.string().describe("Type of token returned, typically 'Bearer'").nullable().optional(),
|
|
13
13
|
access_token: zod.z.string().describe("Access token for subsequent RiteKit API requests").nullable()
|
|
14
|
-
}).describe("Response model for RiteKit access token retrieval.");
|
|
14
|
+
}).passthrough().describe("Response model for RiteKit access token retrieval.");
|
|
15
15
|
const ritekitGetAccessToken = require_action.action("RITEKIT_GET_ACCESS_TOKEN", {
|
|
16
16
|
slug: "ritekit-get-access-token",
|
|
17
17
|
name: "Get Access Token",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-access-token.cjs","names":["z","action"],"sources":["../../src/actions/get-access-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetAccessTokenInput = z.object({\n client_id: z.string().describe(\"Optional RiteKit API client ID.\").optional(),\n access_token: z.string().describe(\"Optional access token. If provided, the action will return this token without making a network request.\").optional(),\n client_secret: z.string().describe(\"Optional RiteKit API client secret.\").optional(),\n}).describe(\"Request model for obtaining a RiteKit access token.\\n\\nNote: RiteKit APIs generally use a permanent access_token provided in your account,\\nnot an OAuth2 client-credentials flow. This action first attempts to retrieve a\\nstored access token (from connection metadata or request). If none is available\\nand both client_id and client_secret are provided, it will attempt an OAuth2\\nclient-credentials request to the RiteKit API as a fallback.\");\nexport const RitekitGetAccessTokenOutput = z.object({\n scope: z.string().describe(\"Scopes granted by the access token, if any\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token (if provided by API)\").nullable().optional(),\n token_type: z.string().describe(\"Type of token returned, typically 'Bearer'\").nullable().optional(),\n access_token: z.string().describe(\"Access token for subsequent RiteKit API requests\").nullable(),\n}).describe(\"Response model for RiteKit access token retrieval.\");\n\nexport const ritekitGetAccessToken = action(\"RITEKIT_GET_ACCESS_TOKEN\", {\n slug: \"ritekit-get-access-token\",\n name: \"Get Access Token\",\n description: \"Tool to obtain a RiteKit access token. Prefer using a stored token from connection metadata or request. Falls back to OAuth2 client credentials if both client_id and client_secret are provided and no token is otherwise available.\",\n input: RitekitGetAccessTokenInput,\n output: RitekitGetAccessTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,0bAA0b;AACtc,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"get-access-token.cjs","names":["z","action"],"sources":["../../src/actions/get-access-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetAccessTokenInput = z.object({\n client_id: z.string().describe(\"Optional RiteKit API client ID.\").optional(),\n access_token: z.string().describe(\"Optional access token. If provided, the action will return this token without making a network request.\").optional(),\n client_secret: z.string().describe(\"Optional RiteKit API client secret.\").optional(),\n}).describe(\"Request model for obtaining a RiteKit access token.\\n\\nNote: RiteKit APIs generally use a permanent access_token provided in your account,\\nnot an OAuth2 client-credentials flow. This action first attempts to retrieve a\\nstored access token (from connection metadata or request). If none is available\\nand both client_id and client_secret are provided, it will attempt an OAuth2\\nclient-credentials request to the RiteKit API as a fallback.\");\nexport const RitekitGetAccessTokenOutput = z.object({\n scope: z.string().describe(\"Scopes granted by the access token, if any\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token (if provided by API)\").nullable().optional(),\n token_type: z.string().describe(\"Type of token returned, typically 'Bearer'\").nullable().optional(),\n access_token: z.string().describe(\"Access token for subsequent RiteKit API requests\").nullable(),\n}).passthrough().describe(\"Response model for RiteKit access token retrieval.\");\n\nexport const ritekitGetAccessToken = action(\"RITEKIT_GET_ACCESS_TOKEN\", {\n slug: \"ritekit-get-access-token\",\n name: \"Get Access Token\",\n description: \"Tool to obtain a RiteKit access token. Prefer using a stored token from connection metadata or request. Falls back to OAuth2 client credentials if both client_id and client_secret are provided and no token is otherwise available.\",\n input: RitekitGetAccessTokenInput,\n output: RitekitGetAccessTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,0bAA0b;AACtc,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const RitekitGetAccessTokenOutput: z.ZodObject<{
|
|
|
11
11
|
expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
access_token: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const ritekitGetAccessToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
client_id?: string | undefined;
|
|
17
17
|
access_token?: string | undefined;
|
|
@@ -11,7 +11,7 @@ declare const RitekitGetAccessTokenOutput: z.ZodObject<{
|
|
|
11
11
|
expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
access_token: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const ritekitGetAccessToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
client_id?: string | undefined;
|
|
17
17
|
access_token?: string | undefined;
|
|
@@ -14,7 +14,7 @@ const ritekitGetAccessToken = action("RITEKIT_GET_ACCESS_TOKEN", {
|
|
|
14
14
|
expires_in: z.number().int().describe("Lifetime in seconds of the access token (if provided by API)").nullable().optional(),
|
|
15
15
|
token_type: z.string().describe("Type of token returned, typically 'Bearer'").nullable().optional(),
|
|
16
16
|
access_token: z.string().describe("Access token for subsequent RiteKit API requests").nullable()
|
|
17
|
-
}).describe("Response model for RiteKit access token retrieval.")
|
|
17
|
+
}).passthrough().describe("Response model for RiteKit access token retrieval.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ritekitGetAccessToken };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-access-token.mjs","names":[],"sources":["../../src/actions/get-access-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetAccessTokenInput = z.object({\n client_id: z.string().describe(\"Optional RiteKit API client ID.\").optional(),\n access_token: z.string().describe(\"Optional access token. If provided, the action will return this token without making a network request.\").optional(),\n client_secret: z.string().describe(\"Optional RiteKit API client secret.\").optional(),\n}).describe(\"Request model for obtaining a RiteKit access token.\\n\\nNote: RiteKit APIs generally use a permanent access_token provided in your account,\\nnot an OAuth2 client-credentials flow. This action first attempts to retrieve a\\nstored access token (from connection metadata or request). If none is available\\nand both client_id and client_secret are provided, it will attempt an OAuth2\\nclient-credentials request to the RiteKit API as a fallback.\");\nexport const RitekitGetAccessTokenOutput = z.object({\n scope: z.string().describe(\"Scopes granted by the access token, if any\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token (if provided by API)\").nullable().optional(),\n token_type: z.string().describe(\"Type of token returned, typically 'Bearer'\").nullable().optional(),\n access_token: z.string().describe(\"Access token for subsequent RiteKit API requests\").nullable(),\n}).describe(\"Response model for RiteKit access token retrieval.\");\n\nexport const ritekitGetAccessToken = action(\"RITEKIT_GET_ACCESS_TOKEN\", {\n slug: \"ritekit-get-access-token\",\n name: \"Get Access Token\",\n description: \"Tool to obtain a RiteKit access token. Prefer using a stored token from connection metadata or request. Falls back to OAuth2 client credentials if both client_id and client_secret are provided and no token is otherwise available.\",\n input: RitekitGetAccessTokenInput,\n output: RitekitGetAccessTokenOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACtJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,0bAYH;CACP,QAZyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-access-token.mjs","names":[],"sources":["../../src/actions/get-access-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetAccessTokenInput = z.object({\n client_id: z.string().describe(\"Optional RiteKit API client ID.\").optional(),\n access_token: z.string().describe(\"Optional access token. If provided, the action will return this token without making a network request.\").optional(),\n client_secret: z.string().describe(\"Optional RiteKit API client secret.\").optional(),\n}).describe(\"Request model for obtaining a RiteKit access token.\\n\\nNote: RiteKit APIs generally use a permanent access_token provided in your account,\\nnot an OAuth2 client-credentials flow. This action first attempts to retrieve a\\nstored access token (from connection metadata or request). If none is available\\nand both client_id and client_secret are provided, it will attempt an OAuth2\\nclient-credentials request to the RiteKit API as a fallback.\");\nexport const RitekitGetAccessTokenOutput = z.object({\n scope: z.string().describe(\"Scopes granted by the access token, if any\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token (if provided by API)\").nullable().optional(),\n token_type: z.string().describe(\"Type of token returned, typically 'Bearer'\").nullable().optional(),\n access_token: z.string().describe(\"Access token for subsequent RiteKit API requests\").nullable(),\n}).passthrough().describe(\"Response model for RiteKit access token retrieval.\");\n\nexport const ritekitGetAccessToken = action(\"RITEKIT_GET_ACCESS_TOKEN\", {\n slug: \"ritekit-get-access-token\",\n name: \"Get Access Token\",\n description: \"Tool to obtain a RiteKit access token. Prefer using a stored token from connection metadata or request. Falls back to OAuth2 client credentials if both client_id and client_secret are provided and no token is otherwise available.\",\n input: RitekitGetAccessTokenInput,\n output: RitekitGetAccessTokenOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACtJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,0bAYH;CACP,QAZyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-client-id.ts
|
|
4
4
|
const RitekitGetClientIdInput = zod.z.object({ client_id: zod.z.string().describe("Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata using keys: 'client_id', 'clientId', or 'client-id'.").optional() }).describe("Request model for retrieving the stored RiteKit client_id from connection metadata.\nIf client_id is not present in connection metadata, you may optionally supply it\ndirectly via this request.");
|
|
5
|
-
const RitekitGetClientIdOutput = zod.z.object({ client_id: zod.z.string().describe("Stored RiteKit client_id from the app connection metadata or request").nullable() }).describe("Response model containing the stored RiteKit client_id.");
|
|
5
|
+
const RitekitGetClientIdOutput = zod.z.object({ client_id: zod.z.string().describe("Stored RiteKit client_id from the app connection metadata or request").nullable() }).passthrough().describe("Response model containing the stored RiteKit client_id.");
|
|
6
6
|
const ritekitGetClientId = require_action.action("RITEKIT_GET_CLIENT_ID", {
|
|
7
7
|
slug: "ritekit-get-client-id",
|
|
8
8
|
name: "RiteKit Get Client ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-client-id.cjs","names":["z","action"],"sources":["../../src/actions/get-client-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetClientIdInput = z.object({\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata using keys: 'client_id', 'clientId', or 'client-id'.\").optional(),\n}).describe(\"Request model for retrieving the stored RiteKit client_id from connection metadata.\\nIf client_id is not present in connection metadata, you may optionally supply it\\ndirectly via this request.\");\nexport const RitekitGetClientIdOutput = z.object({\n client_id: z.string().describe(\"Stored RiteKit client_id from the app connection metadata or request\").nullable(),\n}).describe(\"Response model containing the stored RiteKit client_id.\");\n\nexport const ritekitGetClientId = action(\"RITEKIT_GET_CLIENT_ID\", {\n slug: \"ritekit-get-client-id\",\n name: \"RiteKit Get Client ID\",\n description: \"Tool to retrieve stored RiteKit client_id. Use when child actions require the client_id query parameter.\",\n input: RitekitGetClientIdInput,\n output: RitekitGetClientIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS,EACxM,CAAC,CAAC,CAAC,SAAS,mMAAmM;AAC/M,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-client-id.cjs","names":["z","action"],"sources":["../../src/actions/get-client-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetClientIdInput = z.object({\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata using keys: 'client_id', 'clientId', or 'client-id'.\").optional(),\n}).describe(\"Request model for retrieving the stored RiteKit client_id from connection metadata.\\nIf client_id is not present in connection metadata, you may optionally supply it\\ndirectly via this request.\");\nexport const RitekitGetClientIdOutput = z.object({\n client_id: z.string().describe(\"Stored RiteKit client_id from the app connection metadata or request\").nullable(),\n}).passthrough().describe(\"Response model containing the stored RiteKit client_id.\");\n\nexport const ritekitGetClientId = action(\"RITEKIT_GET_CLIENT_ID\", {\n slug: \"ritekit-get-client-id\",\n name: \"RiteKit Get Client ID\",\n description: \"Tool to retrieve stored RiteKit client_id. Use when child actions require the client_id query parameter.\",\n input: RitekitGetClientIdInput,\n output: RitekitGetClientIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS,EACxM,CAAC,CAAC,CAAC,SAAS,mMAAmM;AAC/M,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const RitekitGetClientIdInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RitekitGetClientIdOutput: z.ZodObject<{
|
|
8
8
|
client_id: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ritekitGetClientId: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
client_id?: string | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const RitekitGetClientIdInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RitekitGetClientIdOutput: z.ZodObject<{
|
|
8
8
|
client_id: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ritekitGetClientId: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
client_id?: string | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ritekitGetClientId = action("RITEKIT_GET_CLIENT_ID", {
|
|
|
5
5
|
name: "RiteKit Get Client ID",
|
|
6
6
|
description: "Tool to retrieve stored RiteKit client_id. Use when child actions require the client_id query parameter.",
|
|
7
7
|
input: z.object({ client_id: z.string().describe("Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata using keys: 'client_id', 'clientId', or 'client-id'.").optional() }).describe("Request model for retrieving the stored RiteKit client_id from connection metadata.\nIf client_id is not present in connection metadata, you may optionally supply it\ndirectly via this request."),
|
|
8
|
-
output: z.object({ client_id: z.string().describe("Stored RiteKit client_id from the app connection metadata or request").nullable() }).describe("Response model containing the stored RiteKit client_id.")
|
|
8
|
+
output: z.object({ client_id: z.string().describe("Stored RiteKit client_id from the app connection metadata or request").nullable() }).passthrough().describe("Response model containing the stored RiteKit client_id.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ritekitGetClientId };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-client-id.mjs","names":[],"sources":["../../src/actions/get-client-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetClientIdInput = z.object({\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata using keys: 'client_id', 'clientId', or 'client-id'.\").optional(),\n}).describe(\"Request model for retrieving the stored RiteKit client_id from connection metadata.\\nIf client_id is not present in connection metadata, you may optionally supply it\\ndirectly via this request.\");\nexport const RitekitGetClientIdOutput = z.object({\n client_id: z.string().describe(\"Stored RiteKit client_id from the app connection metadata or request\").nullable(),\n}).describe(\"Response model containing the stored RiteKit client_id.\");\n\nexport const ritekitGetClientId = action(\"RITEKIT_GET_CLIENT_ID\", {\n slug: \"ritekit-get-client-id\",\n name: \"RiteKit Get Client ID\",\n description: \"Tool to retrieve stored RiteKit client_id. Use when child actions require the client_id query parameter.\",\n input: RitekitGetClientIdInput,\n output: RitekitGetClientIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,EAC9C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS,EACxM,CAAC,CAAC,CAAC,SAAS,mMASH;CACP,QATsC,EAAE,OAAO,EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-client-id.mjs","names":[],"sources":["../../src/actions/get-client-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetClientIdInput = z.object({\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata using keys: 'client_id', 'clientId', or 'client-id'.\").optional(),\n}).describe(\"Request model for retrieving the stored RiteKit client_id from connection metadata.\\nIf client_id is not present in connection metadata, you may optionally supply it\\ndirectly via this request.\");\nexport const RitekitGetClientIdOutput = z.object({\n client_id: z.string().describe(\"Stored RiteKit client_id from the app connection metadata or request\").nullable(),\n}).passthrough().describe(\"Response model containing the stored RiteKit client_id.\");\n\nexport const ritekitGetClientId = action(\"RITEKIT_GET_CLIENT_ID\", {\n slug: \"ritekit-get-client-id\",\n name: \"RiteKit Get Client ID\",\n description: \"Tool to retrieve stored RiteKit client_id. Use when child actions require the client_id query parameter.\",\n input: RitekitGetClientIdInput,\n output: RitekitGetClientIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,EAC9C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS,EACxM,CAAC,CAAC,CAAC,SAAS,mMASH;CACP,QATsC,EAAE,OAAO,EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-client-secret.ts
|
|
4
4
|
const RitekitGetClientSecretInput = zod.z.object({ client_secret: zod.z.string().describe("Optional RiteKit API client secret. If not provided, the action attempts to read from connection metadata using keys: 'client_secret', 'clientSecret', or 'client-secret'.").optional() }).describe("Request model for retrieving the stored RiteKit client_secret from connection metadata.\nIf client_secret is not present in connection metadata, you may optionally supply it\ndirectly via this request.");
|
|
5
|
-
const RitekitGetClientSecretOutput = zod.z.object({ client_secret: zod.z.string().describe("Stored RiteKit client_secret from the app connection metadata or request").nullable() }).describe("Response model containing the stored RiteKit client_secret.");
|
|
5
|
+
const RitekitGetClientSecretOutput = zod.z.object({ client_secret: zod.z.string().describe("Stored RiteKit client_secret from the app connection metadata or request").nullable() }).passthrough().describe("Response model containing the stored RiteKit client_secret.");
|
|
6
6
|
const ritekitGetClientSecret = require_action.action("RITEKIT_GET_CLIENT_SECRET", {
|
|
7
7
|
slug: "ritekit-get-client-secret",
|
|
8
8
|
name: "RiteKit Get Client Secret",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-client-secret.cjs","names":["z","action"],"sources":["../../src/actions/get-client-secret.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetClientSecretInput = z.object({\n client_secret: z.string().describe(\"Optional RiteKit API client secret. If not provided, the action attempts to read from connection metadata using keys: 'client_secret', 'clientSecret', or 'client-secret'.\").optional(),\n}).describe(\"Request model for retrieving the stored RiteKit client_secret from connection metadata.\\nIf client_secret is not present in connection metadata, you may optionally supply it\\ndirectly via this request.\");\nexport const RitekitGetClientSecretOutput = z.object({\n client_secret: z.string().describe(\"Stored RiteKit client_secret from the app connection metadata or request\").nullable(),\n}).describe(\"Response model containing the stored RiteKit client_secret.\");\n\nexport const ritekitGetClientSecret = action(\"RITEKIT_GET_CLIENT_SECRET\", {\n slug: \"ritekit-get-client-secret\",\n name: \"RiteKit Get Client Secret\",\n description: \"Tool to retrieve stored RiteKit client_secret. Use when child actions require the client_secret parameter.\",\n input: RitekitGetClientSecretInput,\n output: RitekitGetClientSecretOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS,EAC5N,CAAC,CAAC,CAAC,SAAS,2MAA2M;AACvN,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"get-client-secret.cjs","names":["z","action"],"sources":["../../src/actions/get-client-secret.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetClientSecretInput = z.object({\n client_secret: z.string().describe(\"Optional RiteKit API client secret. If not provided, the action attempts to read from connection metadata using keys: 'client_secret', 'clientSecret', or 'client-secret'.\").optional(),\n}).describe(\"Request model for retrieving the stored RiteKit client_secret from connection metadata.\\nIf client_secret is not present in connection metadata, you may optionally supply it\\ndirectly via this request.\");\nexport const RitekitGetClientSecretOutput = z.object({\n client_secret: z.string().describe(\"Stored RiteKit client_secret from the app connection metadata or request\").nullable(),\n}).passthrough().describe(\"Response model containing the stored RiteKit client_secret.\");\n\nexport const ritekitGetClientSecret = action(\"RITEKIT_GET_CLIENT_SECRET\", {\n slug: \"ritekit-get-client-secret\",\n name: \"RiteKit Get Client Secret\",\n description: \"Tool to retrieve stored RiteKit client_secret. Use when child actions require the client_secret parameter.\",\n input: RitekitGetClientSecretInput,\n output: RitekitGetClientSecretOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS,EAC5N,CAAC,CAAC,CAAC,SAAS,2MAA2M;AACvN,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const RitekitGetClientSecretInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RitekitGetClientSecretOutput: z.ZodObject<{
|
|
8
8
|
client_secret: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ritekitGetClientSecret: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
client_secret?: string | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const RitekitGetClientSecretInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RitekitGetClientSecretOutput: z.ZodObject<{
|
|
8
8
|
client_secret: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ritekitGetClientSecret: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
client_secret?: string | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ritekitGetClientSecret = action("RITEKIT_GET_CLIENT_SECRET", {
|
|
|
5
5
|
name: "RiteKit Get Client Secret",
|
|
6
6
|
description: "Tool to retrieve stored RiteKit client_secret. Use when child actions require the client_secret parameter.",
|
|
7
7
|
input: z.object({ client_secret: z.string().describe("Optional RiteKit API client secret. If not provided, the action attempts to read from connection metadata using keys: 'client_secret', 'clientSecret', or 'client-secret'.").optional() }).describe("Request model for retrieving the stored RiteKit client_secret from connection metadata.\nIf client_secret is not present in connection metadata, you may optionally supply it\ndirectly via this request."),
|
|
8
|
-
output: z.object({ client_secret: z.string().describe("Stored RiteKit client_secret from the app connection metadata or request").nullable() }).describe("Response model containing the stored RiteKit client_secret.")
|
|
8
|
+
output: z.object({ client_secret: z.string().describe("Stored RiteKit client_secret from the app connection metadata or request").nullable() }).passthrough().describe("Response model containing the stored RiteKit client_secret.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ritekitGetClientSecret };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-client-secret.mjs","names":[],"sources":["../../src/actions/get-client-secret.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetClientSecretInput = z.object({\n client_secret: z.string().describe(\"Optional RiteKit API client secret. If not provided, the action attempts to read from connection metadata using keys: 'client_secret', 'clientSecret', or 'client-secret'.\").optional(),\n}).describe(\"Request model for retrieving the stored RiteKit client_secret from connection metadata.\\nIf client_secret is not present in connection metadata, you may optionally supply it\\ndirectly via this request.\");\nexport const RitekitGetClientSecretOutput = z.object({\n client_secret: z.string().describe(\"Stored RiteKit client_secret from the app connection metadata or request\").nullable(),\n}).describe(\"Response model containing the stored RiteKit client_secret.\");\n\nexport const ritekitGetClientSecret = action(\"RITEKIT_GET_CLIENT_SECRET\", {\n slug: \"ritekit-get-client-secret\",\n name: \"RiteKit Get Client Secret\",\n description: \"Tool to retrieve stored RiteKit client_secret. Use when child actions require the client_secret parameter.\",\n input: RitekitGetClientSecretInput,\n output: RitekitGetClientSecretOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS,EAC5N,CAAC,CAAC,CAAC,SAAS,2MASH;CACP,QAT0C,EAAE,OAAO,EACnD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-client-secret.mjs","names":[],"sources":["../../src/actions/get-client-secret.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetClientSecretInput = z.object({\n client_secret: z.string().describe(\"Optional RiteKit API client secret. If not provided, the action attempts to read from connection metadata using keys: 'client_secret', 'clientSecret', or 'client-secret'.\").optional(),\n}).describe(\"Request model for retrieving the stored RiteKit client_secret from connection metadata.\\nIf client_secret is not present in connection metadata, you may optionally supply it\\ndirectly via this request.\");\nexport const RitekitGetClientSecretOutput = z.object({\n client_secret: z.string().describe(\"Stored RiteKit client_secret from the app connection metadata or request\").nullable(),\n}).passthrough().describe(\"Response model containing the stored RiteKit client_secret.\");\n\nexport const ritekitGetClientSecret = action(\"RITEKIT_GET_CLIENT_SECRET\", {\n slug: \"ritekit-get-client-secret\",\n name: \"RiteKit Get Client Secret\",\n description: \"Tool to retrieve stored RiteKit client_secret. Use when child actions require the client_secret parameter.\",\n input: RitekitGetClientSecretInput,\n output: RitekitGetClientSecretOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS,EAC5N,CAAC,CAAC,CAAC,SAAS,2MASH;CACP,QAT0C,EAAE,OAAO,EACnD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const RitekitGetFullEmailInsightsOutput = zod.z.object({
|
|
|
15
15
|
first_name: zod.z.string().describe("First name extracted from the email address").nullable().optional(),
|
|
16
16
|
business_email: zod.z.boolean().describe("True if email appears to be a business email address").nullable().optional(),
|
|
17
17
|
typo_suggestions: zod.z.array(zod.z.string()).describe("List of suggested corrections if the email domain appears to have typos").nullable().optional()
|
|
18
|
-
}).describe("Response model for RiteKit Full Email Insights API.");
|
|
18
|
+
}).passthrough().describe("Response model for RiteKit Full Email Insights API.");
|
|
19
19
|
const ritekitGetFullEmailInsights = require_action.action("RITEKIT_GET_FULL_EMAIL_INSIGHTS", {
|
|
20
20
|
slug: "ritekit-get-full-email-insights",
|
|
21
21
|
name: "Get Full Email Insights",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-full-email-insights.cjs","names":["z","action"],"sources":["../../src/actions/get-full-email-insights.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetFullEmailInsightsInput = z.object({\n email: z.string().describe(\"Email address to analyze for detailed insights including full name, free mail detection, business email detection, and typo suggestions\"),\n client_id: z.string().describe(\"RiteKit API client ID. If not provided, will be read from connection metadata\").optional(),\n}).describe(\"Request model for RiteKit Full Email Insights API.\");\nexport const RitekitGetFullEmailInsightsOutput = z.object({\n email: z.string().describe(\"The original email address analyzed\").nullable().optional(),\n domain: z.string().describe(\"The domain portion of the email address\").nullable().optional(),\n freemail: z.boolean().describe(\"True if email is from a recognized free email provider (e.g., Gmail, Yahoo)\").nullable().optional(),\n full_name: z.string().describe(\"Full name extracted from the email address\").nullable().optional(),\n last_name: z.string().describe(\"Last name extracted from the email address\").nullable().optional(),\n disposable: z.boolean().describe(\"True if email is from a disposable email service\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted from the email address\").nullable().optional(),\n business_email: z.boolean().describe(\"True if email appears to be a business email address\").nullable().optional(),\n typo_suggestions: z.array(z.string()).describe(\"List of suggested corrections if the email domain appears to have typos\").nullable().optional(),\n}).describe(\"Response model for RiteKit Full Email Insights API.\");\n\nexport const ritekitGetFullEmailInsights = action(\"RITEKIT_GET_FULL_EMAIL_INSIGHTS\", {\n slug: \"ritekit-get-full-email-insights\",\n name: \"Get Full Email Insights\",\n description: \"Tool to retrieve comprehensive email address insights including full name, free mail detection, business email detection, and typo suggestions. Use when you need detailed analysis of an email address for lead qualification or email validation.\",\n input: RitekitGetFullEmailInsightsInput,\n output: RitekitGetFullEmailInsightsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"get-full-email-insights.cjs","names":["z","action"],"sources":["../../src/actions/get-full-email-insights.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitGetFullEmailInsightsInput = z.object({\n email: z.string().describe(\"Email address to analyze for detailed insights including full name, free mail detection, business email detection, and typo suggestions\"),\n client_id: z.string().describe(\"RiteKit API client ID. If not provided, will be read from connection metadata\").optional(),\n}).describe(\"Request model for RiteKit Full Email Insights API.\");\nexport const RitekitGetFullEmailInsightsOutput = z.object({\n email: z.string().describe(\"The original email address analyzed\").nullable().optional(),\n domain: z.string().describe(\"The domain portion of the email address\").nullable().optional(),\n freemail: z.boolean().describe(\"True if email is from a recognized free email provider (e.g., Gmail, Yahoo)\").nullable().optional(),\n full_name: z.string().describe(\"Full name extracted from the email address\").nullable().optional(),\n last_name: z.string().describe(\"Last name extracted from the email address\").nullable().optional(),\n disposable: z.boolean().describe(\"True if email is from a disposable email service\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted from the email address\").nullable().optional(),\n business_email: z.boolean().describe(\"True if email appears to be a business email address\").nullable().optional(),\n typo_suggestions: z.array(z.string()).describe(\"List of suggested corrections if the email domain appears to have typos\").nullable().optional(),\n}).passthrough().describe(\"Response model for RiteKit Full Email Insights API.\");\n\nexport const ritekitGetFullEmailInsights = action(\"RITEKIT_GET_FULL_EMAIL_INSIGHTS\", {\n slug: \"ritekit-get-full-email-insights\",\n name: \"Get Full Email Insights\",\n description: \"Tool to retrieve comprehensive email address insights including full name, free mail detection, business email detection, and typo suggestions. Use when you need detailed analysis of an email address for lead qualification or email validation.\",\n input: RitekitGetFullEmailInsightsInput,\n output: RitekitGetFullEmailInsightsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|