@keystrokehq/ritekit 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/auto-hashtag.cjs +20 -0
- package/dist/actions/auto-hashtag.cjs.map +1 -0
- package/dist/actions/auto-hashtag.d.cts +9 -0
- package/dist/actions/auto-hashtag.d.cts.map +1 -0
- package/dist/actions/auto-hashtag.d.mts +9 -0
- package/dist/actions/auto-hashtag.d.mts.map +1 -0
- package/dist/actions/auto-hashtag.mjs +17 -0
- package/dist/actions/auto-hashtag.mjs.map +1 -0
- package/dist/actions/banned-instagram-hashtags.cjs +23 -0
- package/dist/actions/banned-instagram-hashtags.cjs.map +1 -0
- package/dist/actions/banned-instagram-hashtags.d.cts +9 -0
- package/dist/actions/banned-instagram-hashtags.d.cts.map +1 -0
- package/dist/actions/banned-instagram-hashtags.d.mts +9 -0
- package/dist/actions/banned-instagram-hashtags.d.mts.map +1 -0
- package/dist/actions/banned-instagram-hashtags.mjs +20 -0
- package/dist/actions/banned-instagram-hashtags.mjs.map +1 -0
- package/dist/actions/detect-disposable-email.cjs +16 -0
- package/dist/actions/detect-disposable-email.cjs.map +1 -0
- package/dist/actions/detect-disposable-email.d.cts +9 -0
- package/dist/actions/detect-disposable-email.d.cts.map +1 -0
- package/dist/actions/detect-disposable-email.d.mts +9 -0
- package/dist/actions/detect-disposable-email.d.mts.map +1 -0
- package/dist/actions/detect-disposable-email.mjs +13 -0
- package/dist/actions/detect-disposable-email.mjs.map +1 -0
- package/dist/actions/detect-email-typo.cjs +19 -0
- package/dist/actions/detect-email-typo.cjs.map +1 -0
- package/dist/actions/detect-email-typo.d.cts +9 -0
- package/dist/actions/detect-email-typo.d.cts.map +1 -0
- package/dist/actions/detect-email-typo.d.mts +9 -0
- package/dist/actions/detect-email-typo.d.mts.map +1 -0
- package/dist/actions/detect-email-typo.mjs +16 -0
- package/dist/actions/detect-email-typo.mjs.map +1 -0
- package/dist/actions/freemail-detection.cjs +16 -0
- package/dist/actions/freemail-detection.cjs.map +1 -0
- package/dist/actions/freemail-detection.d.cts +9 -0
- package/dist/actions/freemail-detection.d.cts.map +1 -0
- package/dist/actions/freemail-detection.d.mts +9 -0
- package/dist/actions/freemail-detection.d.mts.map +1 -0
- package/dist/actions/freemail-detection.mjs +13 -0
- package/dist/actions/freemail-detection.mjs.map +1 -0
- package/dist/actions/get-access-token.cjs +25 -0
- package/dist/actions/get-access-token.cjs.map +1 -0
- package/dist/actions/get-access-token.d.cts +9 -0
- package/dist/actions/get-access-token.d.cts.map +1 -0
- package/dist/actions/get-access-token.d.mts +9 -0
- package/dist/actions/get-access-token.d.mts.map +1 -0
- package/dist/actions/get-access-token.mjs +22 -0
- package/dist/actions/get-access-token.mjs.map +1 -0
- package/dist/actions/get-client-id.cjs +16 -0
- package/dist/actions/get-client-id.cjs.map +1 -0
- package/dist/actions/get-client-id.d.cts +9 -0
- package/dist/actions/get-client-id.d.cts.map +1 -0
- package/dist/actions/get-client-id.d.mts +9 -0
- package/dist/actions/get-client-id.d.mts.map +1 -0
- package/dist/actions/get-client-id.mjs +13 -0
- package/dist/actions/get-client-id.mjs.map +1 -0
- package/dist/actions/get-client-secret.cjs +16 -0
- package/dist/actions/get-client-secret.cjs.map +1 -0
- package/dist/actions/get-client-secret.d.cts +9 -0
- package/dist/actions/get-client-secret.d.cts.map +1 -0
- package/dist/actions/get-client-secret.d.mts +9 -0
- package/dist/actions/get-client-secret.d.mts.map +1 -0
- package/dist/actions/get-client-secret.mjs +13 -0
- package/dist/actions/get-client-secret.mjs.map +1 -0
- package/dist/actions/get-full-email-insights.cjs +29 -0
- package/dist/actions/get-full-email-insights.cjs.map +1 -0
- package/dist/actions/get-full-email-insights.d.cts +9 -0
- package/dist/actions/get-full-email-insights.d.cts.map +1 -0
- package/dist/actions/get-full-email-insights.d.mts +9 -0
- package/dist/actions/get-full-email-insights.d.mts.map +1 -0
- package/dist/actions/get-full-email-insights.mjs +26 -0
- package/dist/actions/get-full-email-insights.mjs.map +1 -0
- package/dist/actions/hashtag-suggestions.cjs +24 -0
- package/dist/actions/hashtag-suggestions.cjs.map +1 -0
- package/dist/actions/hashtag-suggestions.d.cts +9 -0
- package/dist/actions/hashtag-suggestions.d.cts.map +1 -0
- package/dist/actions/hashtag-suggestions.d.mts +9 -0
- package/dist/actions/hashtag-suggestions.d.mts.map +1 -0
- package/dist/actions/hashtag-suggestions.mjs +23 -0
- package/dist/actions/hashtag-suggestions.mjs.map +1 -0
- package/dist/actions/index.cjs +29 -0
- package/dist/actions/index.d.cts +15 -0
- package/dist/actions/index.d.mts +15 -0
- package/dist/actions/index.mjs +15 -0
- package/dist/actions/link-ad-delete.cjs +19 -0
- package/dist/actions/link-ad-delete.cjs.map +1 -0
- package/dist/actions/link-ad-delete.d.cts +9 -0
- package/dist/actions/link-ad-delete.d.cts.map +1 -0
- package/dist/actions/link-ad-delete.d.mts +9 -0
- package/dist/actions/link-ad-delete.d.mts.map +1 -0
- package/dist/actions/link-ad-delete.mjs +16 -0
- package/dist/actions/link-ad-delete.mjs.map +1 -0
- package/dist/actions/list-link-ads.cjs +25 -0
- package/dist/actions/list-link-ads.cjs.map +1 -0
- package/dist/actions/list-link-ads.d.cts +9 -0
- package/dist/actions/list-link-ads.d.cts.map +1 -0
- package/dist/actions/list-link-ads.d.mts +9 -0
- package/dist/actions/list-link-ads.d.mts.map +1 -0
- package/dist/actions/list-link-ads.mjs +24 -0
- package/dist/actions/list-link-ads.mjs.map +1 -0
- package/dist/actions/shorten-link.cjs +28 -0
- package/dist/actions/shorten-link.cjs.map +1 -0
- package/dist/actions/shorten-link.d.cts +9 -0
- package/dist/actions/shorten-link.d.cts.map +1 -0
- package/dist/actions/shorten-link.d.mts +9 -0
- package/dist/actions/shorten-link.d.mts.map +1 -0
- package/dist/actions/shorten-link.mjs +27 -0
- package/dist/actions/shorten-link.mjs.map +1 -0
- package/dist/actions/text-to-image.cjs +40 -0
- package/dist/actions/text-to-image.cjs.map +1 -0
- package/dist/actions/text-to-image.d.cts +9 -0
- package/dist/actions/text-to-image.d.cts.map +1 -0
- package/dist/actions/text-to-image.d.mts +9 -0
- package/dist/actions/text-to-image.d.mts.map +1 -0
- package/dist/actions/text-to-image.mjs +37 -0
- package/dist/actions/text-to-image.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +34 -0
- package/dist/index.d.cts +17 -0
- package/dist/index.d.mts +17 -0
- package/dist/index.mjs +18 -0
- package/package.json +49 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-link-ads.ts
|
|
4
|
+
const RitekitListLinkAdsInput = z.object({
|
|
5
|
+
client_id: z.string().describe("RiteKit API client ID; optional if using OAuth access_token").optional(),
|
|
6
|
+
access_token: z.string().describe("OAuth2 access token; optional if using client_id").optional()
|
|
7
|
+
}).describe("Request model for listing link ads.\n\nAuthentication on RiteKit is typically provided via query string parameters.\nWe support optional client_id or access_token to be passed explicitly.\nIf neither is provided, we will attempt to extract a Bearer token from the\nmetadata headers and pass it as access_token in the query string.");
|
|
8
|
+
const RitekitListLinkAds_LinkAdItemSchema = z.object({
|
|
9
|
+
id: z.union([z.string(), z.number().int()]),
|
|
10
|
+
code: z.string().describe("Short code or identifier").nullable().optional(),
|
|
11
|
+
name: z.string().describe("Display name of the link ad").nullable().optional(),
|
|
12
|
+
"default": z.number().int().describe("Whether this is the default ad (1 or 0)").nullable().optional()
|
|
13
|
+
});
|
|
14
|
+
const ritekitListLinkAds = action("RITEKIT_LIST_LINK_ADS", {
|
|
15
|
+
slug: "ritekit-list-link-ads",
|
|
16
|
+
name: "List Link Ads",
|
|
17
|
+
description: "Tool to retrieve a list of link ads. Use after authenticating to fetch all link ads for the user.",
|
|
18
|
+
input: RitekitListLinkAdsInput,
|
|
19
|
+
output: z.object({ link_ads: z.array(RitekitListLinkAds_LinkAdItemSchema).describe("List of link ads for the authenticated user") }).describe("Response model for list of link ads.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ritekitListLinkAds };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=list-link-ads.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-link-ads.mjs","names":[],"sources":["../../src/actions/list-link-ads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitListLinkAdsInput: z.ZodTypeAny = z.object({\n client_id: z.string().describe(\"RiteKit API client ID; optional if using OAuth access_token\").optional(),\n access_token: z.string().describe(\"OAuth2 access token; optional if using client_id\").optional(),\n}).describe(\"Request model for listing link ads.\\n\\nAuthentication on RiteKit is typically provided via query string parameters.\\nWe support optional client_id or access_token to be passed explicitly.\\nIf neither is provided, we will attempt to extract a Bearer token from the\\nmetadata headers and pass it as access_token in the query string.\");\nconst RitekitListLinkAds_LinkAdItemSchema: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n code: z.string().describe(\"Short code or identifier\").nullable().optional(),\n name: z.string().describe(\"Display name of the link ad\").nullable().optional(),\n \"default\": z.number().int().describe(\"Whether this is the default ad (1 or 0)\").nullable().optional(),\n});\nexport const RitekitListLinkAdsOutput: z.ZodTypeAny = z.object({\n link_ads: z.array(RitekitListLinkAds_LinkAdItemSchema).describe(\"List of link ads for the authenticated user\"),\n}).describe(\"Response model for list of link ads.\");\n\nexport const ritekitListLinkAds = action(\"RITEKIT_LIST_LINK_ADS\", {\n slug: \"ritekit-list-link-ads\",\n name: \"List Link Ads\",\n description: \"Tool to retrieve a list of link ads. Use after authenticating to fetch all link ads for the user.\",\n input: RitekitListLinkAdsInput,\n output: RitekitListLinkAdsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4UAA4U;AACxV,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC;AAKD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,EAC/G,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/shorten-link.ts
|
|
4
|
+
const RitekitShortenLinkInput = zod.z.object({
|
|
5
|
+
cta: zod.z.number().int().describe("ID of the call-to-action to attach to the shortened link"),
|
|
6
|
+
url: zod.z.string().describe("URL to be shortened")
|
|
7
|
+
}).describe("Request model for RiteKit Shorten Link API.");
|
|
8
|
+
const RitekitShortenLink_LimitInfoSchema = zod.z.object({ remaining: zod.z.number().int().describe("Number of remaining API calls").nullable().optional() }).describe("API rate limit information.");
|
|
9
|
+
const RitekitShortenLinkOutput = zod.z.object({
|
|
10
|
+
url: zod.z.string().describe("Generated shortened URL with the specified CTA").nullable().optional(),
|
|
11
|
+
ctaId: zod.z.string().describe("CTA ID attached to the link").nullable().optional(),
|
|
12
|
+
limit: RitekitShortenLink_LimitInfoSchema.nullable().optional(),
|
|
13
|
+
result: zod.z.boolean().describe("Whether the operation succeeded").nullable().optional(),
|
|
14
|
+
service: zod.z.string().describe("Link shortening service used (e.g., rite.link)").nullable().optional(),
|
|
15
|
+
original: zod.z.string().describe("Original URL that was shortened").nullable().optional(),
|
|
16
|
+
short_url: zod.z.string().describe("Alternative field for shortened URL").nullable().optional()
|
|
17
|
+
}).describe("Response model for RiteKit Shorten Link API.");
|
|
18
|
+
const ritekitShortenLink = require_action.action("RITEKIT_SHORTEN_LINK", {
|
|
19
|
+
slug: "ritekit-shorten-link",
|
|
20
|
+
name: "Shorten Link",
|
|
21
|
+
description: "Tool to shorten a URL with a specified CTA. Use when you need to generate a call-to-action-enabled short link.",
|
|
22
|
+
input: RitekitShortenLinkInput,
|
|
23
|
+
output: RitekitShortenLinkOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.ritekitShortenLink = ritekitShortenLink;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=shorten-link.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shorten-link.cjs","names":["z","action"],"sources":["../../src/actions/shorten-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitShortenLinkInput: z.ZodTypeAny = z.object({\n cta: z.number().int().describe(\"ID of the call-to-action to attach to the shortened link\"),\n url: z.string().describe(\"URL to be shortened\"),\n}).describe(\"Request model for RiteKit Shorten Link API.\");\nconst RitekitShortenLink_LimitInfoSchema: z.ZodTypeAny = z.object({\n remaining: z.number().int().describe(\"Number of remaining API calls\").nullable().optional(),\n}).describe(\"API rate limit information.\");\nexport const RitekitShortenLinkOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Generated shortened URL with the specified CTA\").nullable().optional(),\n ctaId: z.string().describe(\"CTA ID attached to the link\").nullable().optional(),\n limit: RitekitShortenLink_LimitInfoSchema.nullable().optional(),\n result: z.boolean().describe(\"Whether the operation succeeded\").nullable().optional(),\n service: z.string().describe(\"Link shortening service used (e.g., rite.link)\").nullable().optional(),\n original: z.string().describe(\"Original URL that was shortened\").nullable().optional(),\n short_url: z.string().describe(\"Alternative field for shortened URL\").nullable().optional(),\n}).describe(\"Response model for RiteKit Shorten Link API.\");\n\nexport const ritekitShortenLink = action(\"RITEKIT_SHORTEN_LINK\", {\n slug: \"ritekit-shorten-link\",\n name: \"Shorten Link\",\n description: \"Tool to shorten a URL with a specified CTA. Use when you need to generate a call-to-action-enabled short link.\",\n input: RitekitShortenLinkInput,\n output: RitekitShortenLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CACzF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AAChD,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO,EAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/shorten-link.d.ts
|
|
4
|
+
declare const RitekitShortenLinkInput: z.ZodTypeAny;
|
|
5
|
+
declare const RitekitShortenLinkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ritekitShortenLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ritekitShortenLink };
|
|
9
|
+
//# sourceMappingURL=shorten-link.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shorten-link.d.cts","names":[],"sources":["../../src/actions/shorten-link.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGkB;AAAA,cAI7C,wBAAA,EAA0B,CAAA,CAAE,UAQkB;AAAA,cAE9C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/shorten-link.d.ts
|
|
4
|
+
declare const RitekitShortenLinkInput: z.ZodTypeAny;
|
|
5
|
+
declare const RitekitShortenLinkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ritekitShortenLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ritekitShortenLink };
|
|
9
|
+
//# sourceMappingURL=shorten-link.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shorten-link.d.mts","names":[],"sources":["../../src/actions/shorten-link.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGkB;AAAA,cAI7C,wBAAA,EAA0B,CAAA,CAAE,UAQkB;AAAA,cAE9C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/shorten-link.ts
|
|
4
|
+
const RitekitShortenLinkInput = z.object({
|
|
5
|
+
cta: z.number().int().describe("ID of the call-to-action to attach to the shortened link"),
|
|
6
|
+
url: z.string().describe("URL to be shortened")
|
|
7
|
+
}).describe("Request model for RiteKit Shorten Link API.");
|
|
8
|
+
const RitekitShortenLink_LimitInfoSchema = z.object({ remaining: z.number().int().describe("Number of remaining API calls").nullable().optional() }).describe("API rate limit information.");
|
|
9
|
+
const ritekitShortenLink = action("RITEKIT_SHORTEN_LINK", {
|
|
10
|
+
slug: "ritekit-shorten-link",
|
|
11
|
+
name: "Shorten Link",
|
|
12
|
+
description: "Tool to shorten a URL with a specified CTA. Use when you need to generate a call-to-action-enabled short link.",
|
|
13
|
+
input: RitekitShortenLinkInput,
|
|
14
|
+
output: z.object({
|
|
15
|
+
url: z.string().describe("Generated shortened URL with the specified CTA").nullable().optional(),
|
|
16
|
+
ctaId: z.string().describe("CTA ID attached to the link").nullable().optional(),
|
|
17
|
+
limit: RitekitShortenLink_LimitInfoSchema.nullable().optional(),
|
|
18
|
+
result: z.boolean().describe("Whether the operation succeeded").nullable().optional(),
|
|
19
|
+
service: z.string().describe("Link shortening service used (e.g., rite.link)").nullable().optional(),
|
|
20
|
+
original: z.string().describe("Original URL that was shortened").nullable().optional(),
|
|
21
|
+
short_url: z.string().describe("Alternative field for shortened URL").nullable().optional()
|
|
22
|
+
}).describe("Response model for RiteKit Shorten Link API.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { ritekitShortenLink };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=shorten-link.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shorten-link.mjs","names":[],"sources":["../../src/actions/shorten-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitShortenLinkInput: z.ZodTypeAny = z.object({\n cta: z.number().int().describe(\"ID of the call-to-action to attach to the shortened link\"),\n url: z.string().describe(\"URL to be shortened\"),\n}).describe(\"Request model for RiteKit Shorten Link API.\");\nconst RitekitShortenLink_LimitInfoSchema: z.ZodTypeAny = z.object({\n remaining: z.number().int().describe(\"Number of remaining API calls\").nullable().optional(),\n}).describe(\"API rate limit information.\");\nexport const RitekitShortenLinkOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Generated shortened URL with the specified CTA\").nullable().optional(),\n ctaId: z.string().describe(\"CTA ID attached to the link\").nullable().optional(),\n limit: RitekitShortenLink_LimitInfoSchema.nullable().optional(),\n result: z.boolean().describe(\"Whether the operation succeeded\").nullable().optional(),\n service: z.string().describe(\"Link shortening service used (e.g., rite.link)\").nullable().optional(),\n original: z.string().describe(\"Original URL that was shortened\").nullable().optional(),\n short_url: z.string().describe(\"Alternative field for shortened URL\").nullable().optional(),\n}).describe(\"Response model for RiteKit Shorten Link API.\");\n\nexport const ritekitShortenLink = action(\"RITEKIT_SHORTEN_LINK\", {\n slug: \"ritekit-shorten-link\",\n name: \"Shorten Link\",\n description: \"Tool to shorten a URL with a specified CTA. Use when you need to generate a call-to-action-enabled short link.\",\n input: RitekitShortenLinkInput,\n output: RitekitShortenLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AAChD,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,qCAAmD,EAAE,OAAO,EAChE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAWzC,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoD,EAAE,OAAO;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;EAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/text-to-image.ts
|
|
4
|
+
const RitekitTextToImageInput = zod.z.object({
|
|
5
|
+
quote: zod.z.string().describe("Text of the quote to render as an image"),
|
|
6
|
+
author: zod.z.string().describe("Name of the author or source of the quote").optional(),
|
|
7
|
+
bgType: zod.z.enum(["solid", "gradient"]).describe("Background type: 'solid' or 'gradient'").optional(),
|
|
8
|
+
fontSize: zod.z.number().int().describe("Font size for the quote text (px, between 8 and 144)").optional(),
|
|
9
|
+
animation: zod.z.enum([
|
|
10
|
+
"none",
|
|
11
|
+
"rays",
|
|
12
|
+
"glint",
|
|
13
|
+
"circle"
|
|
14
|
+
]).describe("Animation effect: none, rays, glint, or circle").optional(),
|
|
15
|
+
brandLogo: zod.z.string().describe("URL of a brand logo to include").optional(),
|
|
16
|
+
client_id: zod.z.string().describe("Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata").optional(),
|
|
17
|
+
quoteFont: zod.z.string().describe("Font family for the quote text").optional(),
|
|
18
|
+
authorFont: zod.z.string().describe("Font family for the author text").optional(),
|
|
19
|
+
gradientType: zod.z.enum(["linear", "radial"]).describe("Gradient type when bgType is 'gradient'").optional(),
|
|
20
|
+
showQuoteMark: zod.z.union([zod.z.literal(0), zod.z.literal(1)]).describe("Display quote mark (1 = yes, 0 = no)").optional(),
|
|
21
|
+
gradientColor1: zod.z.string().describe("First color for gradient background").optional(),
|
|
22
|
+
gradientColor2: zod.z.string().describe("Second color for gradient background").optional(),
|
|
23
|
+
highlightColor: zod.z.string().describe("Color (hex or name) for highlight").optional(),
|
|
24
|
+
quoteFontColor: zod.z.string().describe("Color (hex or name) for the quote text").optional(),
|
|
25
|
+
authorFontColor: zod.z.string().describe("Color (hex or name) for the author text").optional(),
|
|
26
|
+
backgroundColor: zod.z.string().describe("Background color for solid type").optional(),
|
|
27
|
+
enableHighlight: zod.z.union([zod.z.literal(0), zod.z.literal(1)]).describe("Highlight behind quote text (1 = yes, 0 = no)").optional()
|
|
28
|
+
}).describe("Request parameters for generating an image from text. Use when you have quote text and optional styling.");
|
|
29
|
+
const RitekitTextToImageOutput = zod.z.object({ url: zod.z.string().describe("URL of the generated image") }).describe("Response containing the URL of the generated image.");
|
|
30
|
+
const ritekitTextToImage = require_action.action("RITEKIT_TEXT_TO_IMAGE", {
|
|
31
|
+
slug: "ritekit-text-to-image",
|
|
32
|
+
name: "Convert Text to Image",
|
|
33
|
+
description: "Tool to convert a quote into a styled image. Use after preparing quote text and style options.",
|
|
34
|
+
input: RitekitTextToImageInput,
|
|
35
|
+
output: RitekitTextToImageOutput
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
exports.ritekitTextToImage = ritekitTextToImage;
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=text-to-image.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-to-image.cjs","names":["z","action"],"sources":["../../src/actions/text-to-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitTextToImageInput: z.ZodTypeAny = z.object({\n quote: z.string().describe(\"Text of the quote to render as an image\"),\n author: z.string().describe(\"Name of the author or source of the quote\").optional(),\n bgType: z.enum([\"solid\", \"gradient\"]).describe(\"Background type: 'solid' or 'gradient'\").optional(),\n fontSize: z.number().int().describe(\"Font size for the quote text (px, between 8 and 144)\").optional(),\n animation: z.enum([\"none\", \"rays\", \"glint\", \"circle\"]).describe(\"Animation effect: none, rays, glint, or circle\").optional(),\n brandLogo: z.string().describe(\"URL of a brand logo to include\").optional(),\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata\").optional(),\n quoteFont: z.string().describe(\"Font family for the quote text\").optional(),\n authorFont: z.string().describe(\"Font family for the author text\").optional(),\n gradientType: z.enum([\"linear\", \"radial\"]).describe(\"Gradient type when bgType is 'gradient'\").optional(),\n showQuoteMark: z.union([z.literal(0), z.literal(1)]).describe(\"Display quote mark (1 = yes, 0 = no)\").optional(),\n gradientColor1: z.string().describe(\"First color for gradient background\").optional(),\n gradientColor2: z.string().describe(\"Second color for gradient background\").optional(),\n highlightColor: z.string().describe(\"Color (hex or name) for highlight\").optional(),\n quoteFontColor: z.string().describe(\"Color (hex or name) for the quote text\").optional(),\n authorFontColor: z.string().describe(\"Color (hex or name) for the author text\").optional(),\n backgroundColor: z.string().describe(\"Background color for solid type\").optional(),\n enableHighlight: z.union([z.literal(0), z.literal(1)]).describe(\"Highlight behind quote text (1 = yes, 0 = no)\").optional(),\n}).describe(\"Request parameters for generating an image from text. Use when you have quote text and optional styling.\");\nexport const RitekitTextToImageOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the generated image\"),\n}).describe(\"Response containing the URL of the generated image.\");\n\nexport const ritekitTextToImage = action(\"RITEKIT_TEXT_TO_IMAGE\", {\n slug: \"ritekit-text-to-image\",\n name: \"Convert Text to Image\",\n description: \"Tool to convert a quote into a styled image. Use after preparing quote text and style options.\",\n input: RitekitTextToImageInput,\n output: RitekitTextToImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,KAAK,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAS;CAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACjJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,0GAA0G;AACtH,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACvD,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/text-to-image.d.ts
|
|
4
|
+
declare const RitekitTextToImageInput: z.ZodTypeAny;
|
|
5
|
+
declare const RitekitTextToImageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ritekitTextToImage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ritekitTextToImage };
|
|
9
|
+
//# sourceMappingURL=text-to-image.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-to-image.d.cts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAmB+E;AAAA,cAC1G,wBAAA,EAA0B,CAAA,CAAE,UAEyB;AAAA,cAErD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/text-to-image.d.ts
|
|
4
|
+
declare const RitekitTextToImageInput: z.ZodTypeAny;
|
|
5
|
+
declare const RitekitTextToImageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ritekitTextToImage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ritekitTextToImage };
|
|
9
|
+
//# sourceMappingURL=text-to-image.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-to-image.d.mts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAmB+E;AAAA,cAC1G,wBAAA,EAA0B,CAAA,CAAE,UAEyB;AAAA,cAErD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const ritekitTextToImage = action("RITEKIT_TEXT_TO_IMAGE", {
|
|
4
|
+
slug: "ritekit-text-to-image",
|
|
5
|
+
name: "Convert Text to Image",
|
|
6
|
+
description: "Tool to convert a quote into a styled image. Use after preparing quote text and style options.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
quote: z.string().describe("Text of the quote to render as an image"),
|
|
9
|
+
author: z.string().describe("Name of the author or source of the quote").optional(),
|
|
10
|
+
bgType: z.enum(["solid", "gradient"]).describe("Background type: 'solid' or 'gradient'").optional(),
|
|
11
|
+
fontSize: z.number().int().describe("Font size for the quote text (px, between 8 and 144)").optional(),
|
|
12
|
+
animation: z.enum([
|
|
13
|
+
"none",
|
|
14
|
+
"rays",
|
|
15
|
+
"glint",
|
|
16
|
+
"circle"
|
|
17
|
+
]).describe("Animation effect: none, rays, glint, or circle").optional(),
|
|
18
|
+
brandLogo: z.string().describe("URL of a brand logo to include").optional(),
|
|
19
|
+
client_id: z.string().describe("Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata").optional(),
|
|
20
|
+
quoteFont: z.string().describe("Font family for the quote text").optional(),
|
|
21
|
+
authorFont: z.string().describe("Font family for the author text").optional(),
|
|
22
|
+
gradientType: z.enum(["linear", "radial"]).describe("Gradient type when bgType is 'gradient'").optional(),
|
|
23
|
+
showQuoteMark: z.union([z.literal(0), z.literal(1)]).describe("Display quote mark (1 = yes, 0 = no)").optional(),
|
|
24
|
+
gradientColor1: z.string().describe("First color for gradient background").optional(),
|
|
25
|
+
gradientColor2: z.string().describe("Second color for gradient background").optional(),
|
|
26
|
+
highlightColor: z.string().describe("Color (hex or name) for highlight").optional(),
|
|
27
|
+
quoteFontColor: z.string().describe("Color (hex or name) for the quote text").optional(),
|
|
28
|
+
authorFontColor: z.string().describe("Color (hex or name) for the author text").optional(),
|
|
29
|
+
backgroundColor: z.string().describe("Background color for solid type").optional(),
|
|
30
|
+
enableHighlight: z.union([z.literal(0), z.literal(1)]).describe("Highlight behind quote text (1 = yes, 0 = no)").optional()
|
|
31
|
+
}).describe("Request parameters for generating an image from text. Use when you have quote text and optional styling."),
|
|
32
|
+
output: z.object({ url: z.string().describe("URL of the generated image") }).describe("Response containing the URL of the generated image.")
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { ritekitTextToImage };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=text-to-image.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-to-image.mjs","names":[],"sources":["../../src/actions/text-to-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitTextToImageInput: z.ZodTypeAny = z.object({\n quote: z.string().describe(\"Text of the quote to render as an image\"),\n author: z.string().describe(\"Name of the author or source of the quote\").optional(),\n bgType: z.enum([\"solid\", \"gradient\"]).describe(\"Background type: 'solid' or 'gradient'\").optional(),\n fontSize: z.number().int().describe(\"Font size for the quote text (px, between 8 and 144)\").optional(),\n animation: z.enum([\"none\", \"rays\", \"glint\", \"circle\"]).describe(\"Animation effect: none, rays, glint, or circle\").optional(),\n brandLogo: z.string().describe(\"URL of a brand logo to include\").optional(),\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata\").optional(),\n quoteFont: z.string().describe(\"Font family for the quote text\").optional(),\n authorFont: z.string().describe(\"Font family for the author text\").optional(),\n gradientType: z.enum([\"linear\", \"radial\"]).describe(\"Gradient type when bgType is 'gradient'\").optional(),\n showQuoteMark: z.union([z.literal(0), z.literal(1)]).describe(\"Display quote mark (1 = yes, 0 = no)\").optional(),\n gradientColor1: z.string().describe(\"First color for gradient background\").optional(),\n gradientColor2: z.string().describe(\"Second color for gradient background\").optional(),\n highlightColor: z.string().describe(\"Color (hex or name) for highlight\").optional(),\n quoteFontColor: z.string().describe(\"Color (hex or name) for the quote text\").optional(),\n authorFontColor: z.string().describe(\"Color (hex or name) for the author text\").optional(),\n backgroundColor: z.string().describe(\"Background color for solid type\").optional(),\n enableHighlight: z.union([z.literal(0), z.literal(1)]).describe(\"Highlight behind quote text (1 = yes, 0 = no)\").optional(),\n}).describe(\"Request parameters for generating an image from text. Use when you have quote text and optional styling.\");\nexport const RitekitTextToImageOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the generated image\"),\n}).describe(\"Response containing the URL of the generated image.\");\n\nexport const ritekitTextToImage = action(\"RITEKIT_TEXT_TO_IMAGE\", {\n slug: \"ritekit-text-to-image\",\n name: \"Convert Text to Image\",\n description: \"Tool to convert a quote into a styled image. Use after preparing quote text and style options.\",\n input: RitekitTextToImageInput,\n output: RitekitTextToImageOutput,\n});\n"],"mappings":";;AA4BA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BmD,EAAE,OAAO;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,KAAK,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAS;EAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACjJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACxG,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,0GASH;CACP,QAToD,EAAE,OAAO,EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACvD,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const ritekit = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const ritekit = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const ritekitCatalog = {
|
|
4
|
+
"slug": "ritekit",
|
|
5
|
+
"name": "Ritekit",
|
|
6
|
+
"description": "RiteKit offers a suite of APIs designed to enhance social media engagement by providing tools for hashtag generation, link shortening, and content analysis.",
|
|
7
|
+
"category": "Social Media Marketing",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/ritekit",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.ritekitCatalog = ritekitCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ritekitCatalog = {\n \"slug\": \"ritekit\",\n \"name\": \"Ritekit\",\n \"description\": \"RiteKit offers a suite of APIs designed to enhance social media engagement by providing tools for hashtag generation, link shortening, and content analysis.\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/ritekit\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const ritekitCatalog: {
|
|
4
|
+
readonly slug: "ritekit";
|
|
5
|
+
readonly name: "Ritekit";
|
|
6
|
+
readonly description: "RiteKit offers a suite of APIs designed to enhance social media engagement by providing tools for hashtag generation, link shortening, and content analysis.";
|
|
7
|
+
readonly category: "Social Media Marketing";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/ritekit";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ritekitCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const ritekitCatalog: {
|
|
4
|
+
readonly slug: "ritekit";
|
|
5
|
+
readonly name: "Ritekit";
|
|
6
|
+
readonly description: "RiteKit offers a suite of APIs designed to enhance social media engagement by providing tools for hashtag generation, link shortening, and content analysis.";
|
|
7
|
+
readonly category: "Social Media Marketing";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/ritekit";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ritekitCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const ritekitCatalog = {
|
|
4
|
+
"slug": "ritekit",
|
|
5
|
+
"name": "Ritekit",
|
|
6
|
+
"description": "RiteKit offers a suite of APIs designed to enhance social media engagement by providing tools for hashtag generation, link shortening, and content analysis.",
|
|
7
|
+
"category": "Social Media Marketing",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/ritekit",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ritekitCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ritekitCatalog = {\n \"slug\": \"ritekit\",\n \"name\": \"Ritekit\",\n \"description\": \"RiteKit offers a suite of APIs designed to enhance social media engagement by providing tools for hashtag generation, link shortening, and content analysis.\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/ritekit\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "ritekit";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeRitekitTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeRitekitTool = executeRitekitTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"ritekit\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeRitekitTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,mBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "ritekit";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeRitekitTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeRitekitTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"ritekit\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeRitekitTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,mBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_auto_hashtag = require("./actions/auto-hashtag.cjs");
|
|
5
|
+
const require_banned_instagram_hashtags = require("./actions/banned-instagram-hashtags.cjs");
|
|
6
|
+
const require_detect_disposable_email = require("./actions/detect-disposable-email.cjs");
|
|
7
|
+
const require_detect_email_typo = require("./actions/detect-email-typo.cjs");
|
|
8
|
+
const require_freemail_detection = require("./actions/freemail-detection.cjs");
|
|
9
|
+
const require_get_access_token = require("./actions/get-access-token.cjs");
|
|
10
|
+
const require_get_client_id = require("./actions/get-client-id.cjs");
|
|
11
|
+
const require_get_client_secret = require("./actions/get-client-secret.cjs");
|
|
12
|
+
const require_get_full_email_insights = require("./actions/get-full-email-insights.cjs");
|
|
13
|
+
const require_hashtag_suggestions = require("./actions/hashtag-suggestions.cjs");
|
|
14
|
+
const require_link_ad_delete = require("./actions/link-ad-delete.cjs");
|
|
15
|
+
const require_list_link_ads = require("./actions/list-link-ads.cjs");
|
|
16
|
+
const require_shorten_link = require("./actions/shorten-link.cjs");
|
|
17
|
+
const require_text_to_image = require("./actions/text-to-image.cjs");
|
|
18
|
+
require("./actions/index.cjs");
|
|
19
|
+
exports.ritekit = require_app.ritekit;
|
|
20
|
+
exports.ritekitAutoHashtag = require_auto_hashtag.ritekitAutoHashtag;
|
|
21
|
+
exports.ritekitBannedInstagramHashtags = require_banned_instagram_hashtags.ritekitBannedInstagramHashtags;
|
|
22
|
+
exports.ritekitCatalog = require_catalog.ritekitCatalog;
|
|
23
|
+
exports.ritekitDetectDisposableEmail = require_detect_disposable_email.ritekitDetectDisposableEmail;
|
|
24
|
+
exports.ritekitDetectEmailTypo = require_detect_email_typo.ritekitDetectEmailTypo;
|
|
25
|
+
exports.ritekitFreemailDetection = require_freemail_detection.ritekitFreemailDetection;
|
|
26
|
+
exports.ritekitGetAccessToken = require_get_access_token.ritekitGetAccessToken;
|
|
27
|
+
exports.ritekitGetClientId = require_get_client_id.ritekitGetClientId;
|
|
28
|
+
exports.ritekitGetClientSecret = require_get_client_secret.ritekitGetClientSecret;
|
|
29
|
+
exports.ritekitGetFullEmailInsights = require_get_full_email_insights.ritekitGetFullEmailInsights;
|
|
30
|
+
exports.ritekitHashtagSuggestions = require_hashtag_suggestions.ritekitHashtagSuggestions;
|
|
31
|
+
exports.ritekitLinkAdDelete = require_link_ad_delete.ritekitLinkAdDelete;
|
|
32
|
+
exports.ritekitListLinkAds = require_list_link_ads.ritekitListLinkAds;
|
|
33
|
+
exports.ritekitShortenLink = require_shorten_link.ritekitShortenLink;
|
|
34
|
+
exports.ritekitTextToImage = require_text_to_image.ritekitTextToImage;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ritekitAutoHashtag } from "./actions/auto-hashtag.cjs";
|
|
2
|
+
import { ritekitBannedInstagramHashtags } from "./actions/banned-instagram-hashtags.cjs";
|
|
3
|
+
import { ritekitDetectDisposableEmail } from "./actions/detect-disposable-email.cjs";
|
|
4
|
+
import { ritekitDetectEmailTypo } from "./actions/detect-email-typo.cjs";
|
|
5
|
+
import { ritekitFreemailDetection } from "./actions/freemail-detection.cjs";
|
|
6
|
+
import { ritekitGetAccessToken } from "./actions/get-access-token.cjs";
|
|
7
|
+
import { ritekitGetClientId } from "./actions/get-client-id.cjs";
|
|
8
|
+
import { ritekitGetClientSecret } from "./actions/get-client-secret.cjs";
|
|
9
|
+
import { ritekitGetFullEmailInsights } from "./actions/get-full-email-insights.cjs";
|
|
10
|
+
import { ritekitHashtagSuggestions } from "./actions/hashtag-suggestions.cjs";
|
|
11
|
+
import { ritekitLinkAdDelete } from "./actions/link-ad-delete.cjs";
|
|
12
|
+
import { ritekitListLinkAds } from "./actions/list-link-ads.cjs";
|
|
13
|
+
import { ritekitShortenLink } from "./actions/shorten-link.cjs";
|
|
14
|
+
import { ritekitTextToImage } from "./actions/text-to-image.cjs";
|
|
15
|
+
import { ritekit } from "./app.cjs";
|
|
16
|
+
import { ritekitCatalog } from "./catalog.cjs";
|
|
17
|
+
export { ritekit, ritekitAutoHashtag, ritekitBannedInstagramHashtags, ritekitCatalog, ritekitDetectDisposableEmail, ritekitDetectEmailTypo, ritekitFreemailDetection, ritekitGetAccessToken, ritekitGetClientId, ritekitGetClientSecret, ritekitGetFullEmailInsights, ritekitHashtagSuggestions, ritekitLinkAdDelete, ritekitListLinkAds, ritekitShortenLink, ritekitTextToImage };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ritekitAutoHashtag } from "./actions/auto-hashtag.mjs";
|
|
2
|
+
import { ritekitBannedInstagramHashtags } from "./actions/banned-instagram-hashtags.mjs";
|
|
3
|
+
import { ritekitDetectDisposableEmail } from "./actions/detect-disposable-email.mjs";
|
|
4
|
+
import { ritekitDetectEmailTypo } from "./actions/detect-email-typo.mjs";
|
|
5
|
+
import { ritekitFreemailDetection } from "./actions/freemail-detection.mjs";
|
|
6
|
+
import { ritekitGetAccessToken } from "./actions/get-access-token.mjs";
|
|
7
|
+
import { ritekitGetClientId } from "./actions/get-client-id.mjs";
|
|
8
|
+
import { ritekitGetClientSecret } from "./actions/get-client-secret.mjs";
|
|
9
|
+
import { ritekitGetFullEmailInsights } from "./actions/get-full-email-insights.mjs";
|
|
10
|
+
import { ritekitHashtagSuggestions } from "./actions/hashtag-suggestions.mjs";
|
|
11
|
+
import { ritekitLinkAdDelete } from "./actions/link-ad-delete.mjs";
|
|
12
|
+
import { ritekitListLinkAds } from "./actions/list-link-ads.mjs";
|
|
13
|
+
import { ritekitShortenLink } from "./actions/shorten-link.mjs";
|
|
14
|
+
import { ritekitTextToImage } from "./actions/text-to-image.mjs";
|
|
15
|
+
import { ritekit } from "./app.mjs";
|
|
16
|
+
import { ritekitCatalog } from "./catalog.mjs";
|
|
17
|
+
export { ritekit, ritekitAutoHashtag, ritekitBannedInstagramHashtags, ritekitCatalog, ritekitDetectDisposableEmail, ritekitDetectEmailTypo, ritekitFreemailDetection, ritekitGetAccessToken, ritekitGetClientId, ritekitGetClientSecret, ritekitGetFullEmailInsights, ritekitHashtagSuggestions, ritekitLinkAdDelete, ritekitListLinkAds, ritekitShortenLink, ritekitTextToImage };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ritekit } from "./app.mjs";
|
|
2
|
+
import { ritekitCatalog } from "./catalog.mjs";
|
|
3
|
+
import { ritekitAutoHashtag } from "./actions/auto-hashtag.mjs";
|
|
4
|
+
import { ritekitBannedInstagramHashtags } from "./actions/banned-instagram-hashtags.mjs";
|
|
5
|
+
import { ritekitDetectDisposableEmail } from "./actions/detect-disposable-email.mjs";
|
|
6
|
+
import { ritekitDetectEmailTypo } from "./actions/detect-email-typo.mjs";
|
|
7
|
+
import { ritekitFreemailDetection } from "./actions/freemail-detection.mjs";
|
|
8
|
+
import { ritekitGetAccessToken } from "./actions/get-access-token.mjs";
|
|
9
|
+
import { ritekitGetClientId } from "./actions/get-client-id.mjs";
|
|
10
|
+
import { ritekitGetClientSecret } from "./actions/get-client-secret.mjs";
|
|
11
|
+
import { ritekitGetFullEmailInsights } from "./actions/get-full-email-insights.mjs";
|
|
12
|
+
import { ritekitHashtagSuggestions } from "./actions/hashtag-suggestions.mjs";
|
|
13
|
+
import { ritekitLinkAdDelete } from "./actions/link-ad-delete.mjs";
|
|
14
|
+
import { ritekitListLinkAds } from "./actions/list-link-ads.mjs";
|
|
15
|
+
import { ritekitShortenLink } from "./actions/shorten-link.mjs";
|
|
16
|
+
import { ritekitTextToImage } from "./actions/text-to-image.mjs";
|
|
17
|
+
import "./actions/index.mjs";
|
|
18
|
+
export { ritekit, ritekitAutoHashtag, ritekitBannedInstagramHashtags, ritekitCatalog, ritekitDetectDisposableEmail, ritekitDetectEmailTypo, ritekitFreemailDetection, ritekitGetAccessToken, ritekitGetClientId, ritekitGetClientSecret, ritekitGetFullEmailInsights, ritekitHashtagSuggestions, ritekitLinkAdDelete, ritekitListLinkAds, ritekitShortenLink, ritekitTextToImage };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/ritekit",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/ritekit"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|