@keystrokehq/ritekit 0.1.2 → 0.1.4

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.
Files changed (91) hide show
  1. package/dist/actions/auto-hashtag.cjs +1 -1
  2. package/dist/actions/auto-hashtag.cjs.map +1 -1
  3. package/dist/actions/auto-hashtag.d.cts +1 -1
  4. package/dist/actions/auto-hashtag.d.mts +1 -1
  5. package/dist/actions/auto-hashtag.mjs +1 -1
  6. package/dist/actions/auto-hashtag.mjs.map +1 -1
  7. package/dist/actions/banned-instagram-hashtags.cjs +1 -1
  8. package/dist/actions/banned-instagram-hashtags.cjs.map +1 -1
  9. package/dist/actions/banned-instagram-hashtags.d.cts +1 -1
  10. package/dist/actions/banned-instagram-hashtags.d.mts +1 -1
  11. package/dist/actions/banned-instagram-hashtags.mjs +1 -1
  12. package/dist/actions/banned-instagram-hashtags.mjs.map +1 -1
  13. package/dist/actions/detect-disposable-email.cjs +1 -1
  14. package/dist/actions/detect-disposable-email.cjs.map +1 -1
  15. package/dist/actions/detect-disposable-email.d.cts +1 -1
  16. package/dist/actions/detect-disposable-email.d.mts +1 -1
  17. package/dist/actions/detect-disposable-email.mjs +1 -1
  18. package/dist/actions/detect-disposable-email.mjs.map +1 -1
  19. package/dist/actions/detect-email-typo.cjs +1 -1
  20. package/dist/actions/detect-email-typo.cjs.map +1 -1
  21. package/dist/actions/detect-email-typo.d.cts +1 -1
  22. package/dist/actions/detect-email-typo.d.mts +1 -1
  23. package/dist/actions/detect-email-typo.mjs +1 -1
  24. package/dist/actions/detect-email-typo.mjs.map +1 -1
  25. package/dist/actions/freemail-detection.cjs +1 -1
  26. package/dist/actions/freemail-detection.cjs.map +1 -1
  27. package/dist/actions/freemail-detection.d.cts +1 -1
  28. package/dist/actions/freemail-detection.d.mts +1 -1
  29. package/dist/actions/freemail-detection.mjs +1 -1
  30. package/dist/actions/freemail-detection.mjs.map +1 -1
  31. package/dist/actions/get-access-token.cjs +1 -1
  32. package/dist/actions/get-access-token.cjs.map +1 -1
  33. package/dist/actions/get-access-token.d.cts +1 -1
  34. package/dist/actions/get-access-token.d.mts +1 -1
  35. package/dist/actions/get-access-token.mjs +1 -1
  36. package/dist/actions/get-access-token.mjs.map +1 -1
  37. package/dist/actions/get-client-id.cjs +1 -1
  38. package/dist/actions/get-client-id.cjs.map +1 -1
  39. package/dist/actions/get-client-id.d.cts +1 -1
  40. package/dist/actions/get-client-id.d.mts +1 -1
  41. package/dist/actions/get-client-id.mjs +1 -1
  42. package/dist/actions/get-client-id.mjs.map +1 -1
  43. package/dist/actions/get-client-secret.cjs +1 -1
  44. package/dist/actions/get-client-secret.cjs.map +1 -1
  45. package/dist/actions/get-client-secret.d.cts +1 -1
  46. package/dist/actions/get-client-secret.d.mts +1 -1
  47. package/dist/actions/get-client-secret.mjs +1 -1
  48. package/dist/actions/get-client-secret.mjs.map +1 -1
  49. package/dist/actions/get-full-email-insights.cjs +1 -1
  50. package/dist/actions/get-full-email-insights.cjs.map +1 -1
  51. package/dist/actions/get-full-email-insights.d.cts +1 -1
  52. package/dist/actions/get-full-email-insights.d.mts +1 -1
  53. package/dist/actions/get-full-email-insights.mjs +1 -1
  54. package/dist/actions/get-full-email-insights.mjs.map +1 -1
  55. package/dist/actions/hashtag-suggestions.cjs +2 -2
  56. package/dist/actions/hashtag-suggestions.cjs.map +1 -1
  57. package/dist/actions/hashtag-suggestions.d.cts +2 -2
  58. package/dist/actions/hashtag-suggestions.d.mts +2 -2
  59. package/dist/actions/hashtag-suggestions.mjs +2 -2
  60. package/dist/actions/hashtag-suggestions.mjs.map +1 -1
  61. package/dist/actions/link-ad-delete.cjs +1 -1
  62. package/dist/actions/link-ad-delete.cjs.map +1 -1
  63. package/dist/actions/link-ad-delete.d.cts +1 -1
  64. package/dist/actions/link-ad-delete.d.mts +1 -1
  65. package/dist/actions/link-ad-delete.mjs +1 -1
  66. package/dist/actions/link-ad-delete.mjs.map +1 -1
  67. package/dist/actions/list-link-ads.cjs +2 -2
  68. package/dist/actions/list-link-ads.cjs.map +1 -1
  69. package/dist/actions/list-link-ads.d.cts +2 -2
  70. package/dist/actions/list-link-ads.d.mts +2 -2
  71. package/dist/actions/list-link-ads.mjs +2 -2
  72. package/dist/actions/list-link-ads.mjs.map +1 -1
  73. package/dist/actions/shorten-link.cjs +2 -2
  74. package/dist/actions/shorten-link.cjs.map +1 -1
  75. package/dist/actions/shorten-link.d.cts +2 -2
  76. package/dist/actions/shorten-link.d.mts +2 -2
  77. package/dist/actions/shorten-link.mjs +2 -2
  78. package/dist/actions/shorten-link.mjs.map +1 -1
  79. package/dist/actions/text-to-image.cjs +1 -1
  80. package/dist/actions/text-to-image.cjs.map +1 -1
  81. package/dist/actions/text-to-image.d.cts +1 -1
  82. package/dist/actions/text-to-image.d.mts +1 -1
  83. package/dist/actions/text-to-image.mjs +1 -1
  84. package/dist/actions/text-to-image.mjs.map +1 -1
  85. package/dist/catalog.cjs +1 -1
  86. package/dist/catalog.cjs.map +1 -1
  87. package/dist/catalog.d.cts +1 -1
  88. package/dist/catalog.d.mts +1 -1
  89. package/dist/catalog.mjs +1 -1
  90. package/dist/catalog.mjs.map +1 -1
  91. package/package.json +1 -1
@@ -15,7 +15,7 @@ declare const RitekitGetFullEmailInsightsOutput: z.ZodObject<{
15
15
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  business_email: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
17
  typo_suggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const ritekitGetFullEmailInsights: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  email: string;
21
21
  client_id?: string | undefined;
@@ -15,7 +15,7 @@ declare const RitekitGetFullEmailInsightsOutput: z.ZodObject<{
15
15
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  business_email: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
17
  typo_suggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const ritekitGetFullEmailInsights: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  email: string;
21
21
  client_id?: string | undefined;
@@ -18,7 +18,7 @@ const ritekitGetFullEmailInsights = action("RITEKIT_GET_FULL_EMAIL_INSIGHTS", {
18
18
  first_name: z.string().describe("First name extracted from the email address").nullable().optional(),
19
19
  business_email: z.boolean().describe("True if email appears to be a business email address").nullable().optional(),
20
20
  typo_suggestions: z.array(z.string()).describe("List of suggested corrections if the email domain appears to have typos").nullable().optional()
21
- }).describe("Response model for RiteKit Full Email Insights API.")
21
+ }).passthrough().describe("Response model for RiteKit Full Email Insights API.")
22
22
  });
23
23
  //#endregion
24
24
  export { ritekitGetFullEmailInsights };
@@ -1 +1 @@
1
- {"version":3,"file":"get-full-email-insights.mjs","names":[],"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":";;AAoBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;EACpK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,oDAiBH;CACP,QAjB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-full-email-insights.mjs","names":[],"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":";;AAoBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;EACpK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,oDAiBH;CACP,QAjB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -9,8 +9,8 @@ const RitekitHashtagSuggestionsInput = zod.z.object({
9
9
  const RitekitHashtagSuggestions_HashtagSuggestionSchema = zod.z.object({
10
10
  tag: zod.z.string().describe("Suggested hashtag including leading #").nullable(),
11
11
  score: zod.z.number().describe("Relevance score for the hashtag suggestion").nullable()
12
- }).describe("Model representing a single hashtag suggestion.");
13
- const RitekitHashtagSuggestionsOutput = zod.z.object({ suggestions: zod.z.array(RitekitHashtagSuggestions_HashtagSuggestionSchema).describe("List of suggested hashtags with scores") }).describe("Response model for RiteKit Hashtag Suggestions API: list of suggestions.");
12
+ }).passthrough().describe("Model representing a single hashtag suggestion.");
13
+ const RitekitHashtagSuggestionsOutput = zod.z.object({ suggestions: zod.z.array(RitekitHashtagSuggestions_HashtagSuggestionSchema).describe("List of suggested hashtags with scores") }).passthrough().describe("Response model for RiteKit Hashtag Suggestions API: list of suggestions.");
14
14
  const ritekitHashtagSuggestions = require_action.action("RITEKIT_HASHTAG_SUGGESTIONS", {
15
15
  slug: "ritekit-hashtag-suggestions",
16
16
  name: "RiteKit Hashtag Suggestions",
@@ -1 +1 @@
1
- {"version":3,"file":"hashtag-suggestions.cjs","names":["z","action"],"sources":["../../src/actions/hashtag-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitHashtagSuggestionsInput = z.object({\n text: z.string().describe(\"Input text or single word (1–1000 characters) to get hashtag suggestions\"),\n client_id: z.string().describe(\"Client ID for authentication; required if access_token is not provided\").optional(),\n access_token: z.string().describe(\"OAuth2 access token; required if client_id is not provided\").optional(),\n}).describe(\"Request model for RiteKit Hashtag Suggestions API.\");\nconst RitekitHashtagSuggestions_HashtagSuggestionSchema = z.object({\n tag: z.string().describe(\"Suggested hashtag including leading #\").nullable(),\n score: z.number().describe(\"Relevance score for the hashtag suggestion\").nullable(),\n}).describe(\"Model representing a single hashtag suggestion.\");\nexport const RitekitHashtagSuggestionsOutput = z.object({\n suggestions: z.array(RitekitHashtagSuggestions_HashtagSuggestionSchema).describe(\"List of suggested hashtags with scores\"),\n}).describe(\"Response model for RiteKit Hashtag Suggestions API: list of suggestions.\");\n\nexport const ritekitHashtagSuggestions = action(\"RITEKIT_HASHTAG_SUGGESTIONS\", {\n slug: \"ritekit-hashtag-suggestions\",\n name: \"RiteKit Hashtag Suggestions\",\n description: \"Tool to get hashtag suggestions for a given text. Use when you need relevant hashtags for social media posts.\",\n input: RitekitHashtagSuggestionsInput,\n output: RitekitHashtagSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAClH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wCAAwC,EAC3H,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"hashtag-suggestions.cjs","names":["z","action"],"sources":["../../src/actions/hashtag-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitHashtagSuggestionsInput = z.object({\n text: z.string().describe(\"Input text or single word (1–1000 characters) to get hashtag suggestions\"),\n client_id: z.string().describe(\"Client ID for authentication; required if access_token is not provided\").optional(),\n access_token: z.string().describe(\"OAuth2 access token; required if client_id is not provided\").optional(),\n}).describe(\"Request model for RiteKit Hashtag Suggestions API.\");\nconst RitekitHashtagSuggestions_HashtagSuggestionSchema = z.object({\n tag: z.string().describe(\"Suggested hashtag including leading #\").nullable(),\n score: z.number().describe(\"Relevance score for the hashtag suggestion\").nullable(),\n}).passthrough().describe(\"Model representing a single hashtag suggestion.\");\nexport const RitekitHashtagSuggestionsOutput = z.object({\n suggestions: z.array(RitekitHashtagSuggestions_HashtagSuggestionSchema).describe(\"List of suggested hashtags with scores\"),\n}).passthrough().describe(\"Response model for RiteKit Hashtag Suggestions API: list of suggestions.\");\n\nexport const ritekitHashtagSuggestions = action(\"RITEKIT_HASHTAG_SUGGESTIONS\", {\n slug: \"ritekit-hashtag-suggestions\",\n name: \"RiteKit Hashtag Suggestions\",\n description: \"Tool to get hashtag suggestions for a given text. Use when you need relevant hashtags for social media posts.\",\n input: RitekitHashtagSuggestionsInput,\n output: RitekitHashtagSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAClH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wCAAwC,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,8 +10,8 @@ declare const RitekitHashtagSuggestionsOutput: z.ZodObject<{
10
10
  suggestions: z.ZodArray<z.ZodObject<{
11
11
  tag: z.ZodNullable<z.ZodString>;
12
12
  score: z.ZodNullable<z.ZodNumber>;
13
- }, z.core.$strip>>;
14
- }, z.core.$strip>;
13
+ }, z.core.$loose>>;
14
+ }, z.core.$loose>;
15
15
  declare const ritekitHashtagSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  text: string;
17
17
  client_id?: string | undefined;
@@ -10,8 +10,8 @@ declare const RitekitHashtagSuggestionsOutput: z.ZodObject<{
10
10
  suggestions: z.ZodArray<z.ZodObject<{
11
11
  tag: z.ZodNullable<z.ZodString>;
12
12
  score: z.ZodNullable<z.ZodNumber>;
13
- }, z.core.$strip>>;
14
- }, z.core.$strip>;
13
+ }, z.core.$loose>>;
14
+ }, z.core.$loose>;
15
15
  declare const ritekitHashtagSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  text: string;
17
17
  client_id?: string | undefined;
@@ -9,13 +9,13 @@ const RitekitHashtagSuggestionsInput = z.object({
9
9
  const RitekitHashtagSuggestions_HashtagSuggestionSchema = z.object({
10
10
  tag: z.string().describe("Suggested hashtag including leading #").nullable(),
11
11
  score: z.number().describe("Relevance score for the hashtag suggestion").nullable()
12
- }).describe("Model representing a single hashtag suggestion.");
12
+ }).passthrough().describe("Model representing a single hashtag suggestion.");
13
13
  const ritekitHashtagSuggestions = action("RITEKIT_HASHTAG_SUGGESTIONS", {
14
14
  slug: "ritekit-hashtag-suggestions",
15
15
  name: "RiteKit Hashtag Suggestions",
16
16
  description: "Tool to get hashtag suggestions for a given text. Use when you need relevant hashtags for social media posts.",
17
17
  input: RitekitHashtagSuggestionsInput,
18
- output: z.object({ suggestions: z.array(RitekitHashtagSuggestions_HashtagSuggestionSchema).describe("List of suggested hashtags with scores") }).describe("Response model for RiteKit Hashtag Suggestions API: list of suggestions.")
18
+ output: z.object({ suggestions: z.array(RitekitHashtagSuggestions_HashtagSuggestionSchema).describe("List of suggested hashtags with scores") }).passthrough().describe("Response model for RiteKit Hashtag Suggestions API: list of suggestions.")
19
19
  });
20
20
  //#endregion
21
21
  export { ritekitHashtagSuggestions };
@@ -1 +1 @@
1
- {"version":3,"file":"hashtag-suggestions.mjs","names":[],"sources":["../../src/actions/hashtag-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitHashtagSuggestionsInput = z.object({\n text: z.string().describe(\"Input text or single word (1–1000 characters) to get hashtag suggestions\"),\n client_id: z.string().describe(\"Client ID for authentication; required if access_token is not provided\").optional(),\n access_token: z.string().describe(\"OAuth2 access token; required if client_id is not provided\").optional(),\n}).describe(\"Request model for RiteKit Hashtag Suggestions API.\");\nconst RitekitHashtagSuggestions_HashtagSuggestionSchema = z.object({\n tag: z.string().describe(\"Suggested hashtag including leading #\").nullable(),\n score: z.number().describe(\"Relevance score for the hashtag suggestion\").nullable(),\n}).describe(\"Model representing a single hashtag suggestion.\");\nexport const RitekitHashtagSuggestionsOutput = z.object({\n suggestions: z.array(RitekitHashtagSuggestions_HashtagSuggestionSchema).describe(\"List of suggested hashtags with scores\"),\n}).describe(\"Response model for RiteKit Hashtag Suggestions API: list of suggestions.\");\n\nexport const ritekitHashtagSuggestions = action(\"RITEKIT_HASHTAG_SUGGESTIONS\", {\n slug: \"ritekit-hashtag-suggestions\",\n name: \"RiteKit Hashtag Suggestions\",\n description: \"Tool to get hashtag suggestions for a given text. Use when you need relevant hashtags for social media posts.\",\n input: RitekitHashtagSuggestionsInput,\n output: RitekitHashtagSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wCAAwC,EAC3H,CAAC,CAAC,CAAC,SAAS,0EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"hashtag-suggestions.mjs","names":[],"sources":["../../src/actions/hashtag-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitHashtagSuggestionsInput = z.object({\n text: z.string().describe(\"Input text or single word (1–1000 characters) to get hashtag suggestions\"),\n client_id: z.string().describe(\"Client ID for authentication; required if access_token is not provided\").optional(),\n access_token: z.string().describe(\"OAuth2 access token; required if client_id is not provided\").optional(),\n}).describe(\"Request model for RiteKit Hashtag Suggestions API.\");\nconst RitekitHashtagSuggestions_HashtagSuggestionSchema = z.object({\n tag: z.string().describe(\"Suggested hashtag including leading #\").nullable(),\n score: z.number().describe(\"Relevance score for the hashtag suggestion\").nullable(),\n}).passthrough().describe(\"Model representing a single hashtag suggestion.\");\nexport const RitekitHashtagSuggestionsOutput = z.object({\n suggestions: z.array(RitekitHashtagSuggestions_HashtagSuggestionSchema).describe(\"List of suggested hashtags with scores\"),\n}).passthrough().describe(\"Response model for RiteKit Hashtag Suggestions API: list of suggestions.\");\n\nexport const ritekitHashtagSuggestions = action(\"RITEKIT_HASHTAG_SUGGESTIONS\", {\n slug: \"ritekit-hashtag-suggestions\",\n name: \"RiteKit Hashtag Suggestions\",\n description: \"Tool to get hashtag suggestions for a given text. Use when you need relevant hashtags for social media posts.\",\n input: RitekitHashtagSuggestionsInput,\n output: RitekitHashtagSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wCAAwC,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const RitekitLinkAdDeleteInput = zod.z.object({ id: zod.z.string().describe("Uni
5
5
  const RitekitLinkAdDeleteOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Optional message from the API").nullable().optional(),
7
7
  success: zod.z.boolean().describe("Indicates whether the deletion was successful").nullable()
8
- }).describe("Response model after deleting a link ad.");
8
+ }).passthrough().describe("Response model after deleting a link ad.");
9
9
  const ritekitLinkAdDelete = require_action.action("RITEKIT_LINK_AD_DELETE", {
10
10
  slug: "ritekit-link-ad-delete",
11
11
  name: "Delete Link Ad",
@@ -1 +1 @@
1
- {"version":3,"file":"link-ad-delete.cjs","names":["z","action"],"sources":["../../src/actions/link-ad-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitLinkAdDeleteInput = z.object({\n id: z.string().describe(\"Unique identifier of the link ad to delete\"),\n}).describe(\"Request model for deleting a link ad.\");\nexport const RitekitLinkAdDeleteOutput = z.object({\n message: z.string().describe(\"Optional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).describe(\"Response model after deleting a link ad.\");\n\nexport const ritekitLinkAdDelete = action(\"RITEKIT_LINK_AD_DELETE\", {\n slug: \"ritekit-link-ad-delete\",\n name: \"Delete Link Ad\",\n description: \"Tool to delete a link ad. Use when you need to permanently remove a link ad by its ID.\",\n input: RitekitLinkAdDeleteInput,\n output: RitekitLinkAdDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"link-ad-delete.cjs","names":["z","action"],"sources":["../../src/actions/link-ad-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitLinkAdDeleteInput = z.object({\n id: z.string().describe(\"Unique identifier of the link ad to delete\"),\n}).describe(\"Request model for deleting a link ad.\");\nexport const RitekitLinkAdDeleteOutput = z.object({\n message: z.string().describe(\"Optional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model after deleting a link ad.\");\n\nexport const ritekitLinkAdDelete = action(\"RITEKIT_LINK_AD_DELETE\", {\n slug: \"ritekit-link-ad-delete\",\n name: \"Delete Link Ad\",\n description: \"Tool to delete a link ad. Use when you need to permanently remove a link ad by its ID.\",\n input: RitekitLinkAdDeleteInput,\n output: RitekitLinkAdDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const RitekitLinkAdDeleteInput: z.ZodObject<{
7
7
  declare const RitekitLinkAdDeleteOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const ritekitLinkAdDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const RitekitLinkAdDeleteInput: z.ZodObject<{
7
7
  declare const RitekitLinkAdDeleteOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const ritekitLinkAdDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ const ritekitLinkAdDelete = action("RITEKIT_LINK_AD_DELETE", {
8
8
  output: z.object({
9
9
  message: z.string().describe("Optional message from the API").nullable().optional(),
10
10
  success: z.boolean().describe("Indicates whether the deletion was successful").nullable()
11
- }).describe("Response model after deleting a link ad.")
11
+ }).passthrough().describe("Response model after deleting a link ad.")
12
12
  });
13
13
  //#endregion
14
14
  export { ritekitLinkAdDelete };
@@ -1 +1 @@
1
- {"version":3,"file":"link-ad-delete.mjs","names":[],"sources":["../../src/actions/link-ad-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitLinkAdDeleteInput = z.object({\n id: z.string().describe(\"Unique identifier of the link ad to delete\"),\n}).describe(\"Request model for deleting a link ad.\");\nexport const RitekitLinkAdDeleteOutput = z.object({\n message: z.string().describe(\"Optional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).describe(\"Response model after deleting a link ad.\");\n\nexport const ritekitLinkAdDelete = action(\"RITEKIT_LINK_AD_DELETE\", {\n slug: \"ritekit-link-ad-delete\",\n name: \"Delete Link Ad\",\n description: \"Tool to delete a link ad. Use when you need to permanently remove a link ad by its ID.\",\n input: RitekitLinkAdDeleteInput,\n output: RitekitLinkAdDeleteOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"link-ad-delete.mjs","names":[],"sources":["../../src/actions/link-ad-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitLinkAdDeleteInput = z.object({\n id: z.string().describe(\"Unique identifier of the link ad to delete\"),\n}).describe(\"Request model for deleting a link ad.\");\nexport const RitekitLinkAdDeleteOutput = z.object({\n message: z.string().describe(\"Optional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model after deleting a link ad.\");\n\nexport const ritekitLinkAdDelete = action(\"RITEKIT_LINK_AD_DELETE\", {\n slug: \"ritekit-link-ad-delete\",\n name: \"Delete Link Ad\",\n description: \"Tool to delete a link ad. Use when you need to permanently remove a link ad by its ID.\",\n input: RitekitLinkAdDeleteInput,\n output: RitekitLinkAdDeleteOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -10,8 +10,8 @@ const RitekitListLinkAds_LinkAdItemSchema = zod.z.object({
10
10
  code: zod.z.string().describe("Short code or identifier").nullable().optional(),
11
11
  name: zod.z.string().describe("Display name of the link ad").nullable().optional(),
12
12
  "default": zod.z.number().int().describe("Whether this is the default ad (1 or 0)").nullable().optional()
13
- });
14
- const RitekitListLinkAdsOutput = zod.z.object({ link_ads: zod.z.array(RitekitListLinkAds_LinkAdItemSchema).describe("List of link ads for the authenticated user") }).describe("Response model for list of link ads.");
13
+ }).passthrough();
14
+ const RitekitListLinkAdsOutput = zod.z.object({ link_ads: zod.z.array(RitekitListLinkAds_LinkAdItemSchema).describe("List of link ads for the authenticated user") }).passthrough().describe("Response model for list of link ads.");
15
15
  const ritekitListLinkAds = require_action.action("RITEKIT_LIST_LINK_ADS", {
16
16
  slug: "ritekit-list-link-ads",
17
17
  name: "List Link Ads",
@@ -1 +1 @@
1
- {"version":3,"file":"list-link-ads.cjs","names":["z","action"],"sources":["../../src/actions/list-link-ads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitListLinkAdsInput = 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.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.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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4UAA4U;AACxV,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,EAC/G,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-link-ads.cjs","names":["z","action"],"sources":["../../src/actions/list-link-ads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitListLinkAdsInput = 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.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}).passthrough();\nexport const RitekitListLinkAdsOutput = z.object({\n link_ads: z.array(RitekitListLinkAds_LinkAdItemSchema).describe(\"List of link ads for the authenticated user\"),\n}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4UAA4U;AACxV,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,8 +11,8 @@ declare const RitekitListLinkAdsOutput: z.ZodObject<{
11
11
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
- }, z.core.$strip>>;
15
- }, z.core.$strip>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
16
  declare const ritekitListLinkAds: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  client_id?: string | undefined;
18
18
  access_token?: string | undefined;
@@ -11,8 +11,8 @@ declare const RitekitListLinkAdsOutput: z.ZodObject<{
11
11
  code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
- }, z.core.$strip>>;
15
- }, z.core.$strip>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
16
  declare const ritekitListLinkAds: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  client_id?: string | undefined;
18
18
  access_token?: string | undefined;
@@ -10,13 +10,13 @@ const RitekitListLinkAds_LinkAdItemSchema = z.object({
10
10
  code: z.string().describe("Short code or identifier").nullable().optional(),
11
11
  name: z.string().describe("Display name of the link ad").nullable().optional(),
12
12
  "default": z.number().int().describe("Whether this is the default ad (1 or 0)").nullable().optional()
13
- });
13
+ }).passthrough();
14
14
  const ritekitListLinkAds = action("RITEKIT_LIST_LINK_ADS", {
15
15
  slug: "ritekit-list-link-ads",
16
16
  name: "List Link Ads",
17
17
  description: "Tool to retrieve a list of link ads. Use after authenticating to fetch all link ads for the user.",
18
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.")
19
+ output: z.object({ link_ads: z.array(RitekitListLinkAds_LinkAdItemSchema).describe("List of link ads for the authenticated user") }).passthrough().describe("Response model for list of link ads.")
20
20
  });
21
21
  //#endregion
22
22
  export { ritekitListLinkAds };
@@ -1 +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.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.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.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,0BAA0B,EAAE,OAAO;CAC9C,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,sCAAsC,EAAE,OAAO;CACnD,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,QATsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,EAC/G,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
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.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.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}).passthrough();\nexport const RitekitListLinkAdsOutput = z.object({\n link_ads: z.array(RitekitListLinkAds_LinkAdItemSchema).describe(\"List of link ads for the authenticated user\"),\n}).passthrough().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,0BAA0B,EAAE,OAAO;CAC9C,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,sCAAsC,EAAE,OAAO;CACnD,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,CAAC,CAAC,YAAY;AAKf,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const RitekitShortenLinkInput = zod.z.object({
5
5
  cta: zod.z.number().int().describe("ID of the call-to-action to attach to the shortened link"),
6
6
  url: zod.z.string().describe("URL to be shortened")
7
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.");
8
+ const RitekitShortenLink_LimitInfoSchema = zod.z.object({ remaining: zod.z.number().int().describe("Number of remaining API calls").nullable().optional() }).passthrough().describe("API rate limit information.");
9
9
  const RitekitShortenLinkOutput = zod.z.object({
10
10
  url: zod.z.string().describe("Generated shortened URL with the specified CTA").nullable().optional(),
11
11
  ctaId: zod.z.string().describe("CTA ID attached to the link").nullable().optional(),
@@ -14,7 +14,7 @@ const RitekitShortenLinkOutput = zod.z.object({
14
14
  service: zod.z.string().describe("Link shortening service used (e.g., rite.link)").nullable().optional(),
15
15
  original: zod.z.string().describe("Original URL that was shortened").nullable().optional(),
16
16
  short_url: zod.z.string().describe("Alternative field for shortened URL").nullable().optional()
17
- }).describe("Response model for RiteKit Shorten Link API.");
17
+ }).passthrough().describe("Response model for RiteKit Shorten Link API.");
18
18
  const ritekitShortenLink = require_action.action("RITEKIT_SHORTEN_LINK", {
19
19
  slug: "ritekit-shorten-link",
20
20
  name: "Shorten Link",
@@ -1 +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.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.object({\n remaining: z.number().int().describe(\"Number of remaining API calls\").nullable().optional(),\n}).describe(\"API rate limit information.\");\nexport const RitekitShortenLinkOutput = 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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,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,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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"}
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.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.object({\n remaining: z.number().int().describe(\"Number of remaining API calls\").nullable().optional(),\n}).passthrough().describe(\"API rate limit information.\");\nexport const RitekitShortenLinkOutput = 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}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,12 +10,12 @@ declare const RitekitShortenLinkOutput: z.ZodObject<{
10
10
  ctaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  limit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
12
  remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  result: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
15
  service: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const ritekitShortenLink: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  cta: number;
21
21
  url: string;
@@ -10,12 +10,12 @@ declare const RitekitShortenLinkOutput: z.ZodObject<{
10
10
  ctaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  limit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
12
  remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  result: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
15
  service: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const ritekitShortenLink: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  cta: number;
21
21
  url: string;
@@ -5,7 +5,7 @@ const RitekitShortenLinkInput = z.object({
5
5
  cta: z.number().int().describe("ID of the call-to-action to attach to the shortened link"),
6
6
  url: z.string().describe("URL to be shortened")
7
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.");
8
+ const RitekitShortenLink_LimitInfoSchema = z.object({ remaining: z.number().int().describe("Number of remaining API calls").nullable().optional() }).passthrough().describe("API rate limit information.");
9
9
  const ritekitShortenLink = action("RITEKIT_SHORTEN_LINK", {
10
10
  slug: "ritekit-shorten-link",
11
11
  name: "Shorten Link",
@@ -19,7 +19,7 @@ const ritekitShortenLink = action("RITEKIT_SHORTEN_LINK", {
19
19
  service: z.string().describe("Link shortening service used (e.g., rite.link)").nullable().optional(),
20
20
  original: z.string().describe("Original URL that was shortened").nullable().optional(),
21
21
  short_url: z.string().describe("Alternative field for shortened URL").nullable().optional()
22
- }).describe("Response model for RiteKit Shorten Link API.")
22
+ }).passthrough().describe("Response model for RiteKit Shorten Link API.")
23
23
  });
24
24
  //#endregion
25
25
  export { ritekitShortenLink };
@@ -1 +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.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.object({\n remaining: z.number().int().describe(\"Number of remaining API calls\").nullable().optional(),\n}).describe(\"API rate limit information.\");\nexport const RitekitShortenLinkOutput = 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,0BAA0B,EAAE,OAAO;CAC9C,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,qCAAqC,EAAE,OAAO,EAClD,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,QAfsC,EAAE,OAAO;EAC/C,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"}
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.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.object({\n remaining: z.number().int().describe(\"Number of remaining API calls\").nullable().optional(),\n}).passthrough().describe(\"API rate limit information.\");\nexport const RitekitShortenLinkOutput = 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}).passthrough().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,0BAA0B,EAAE,OAAO;CAC9C,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,qCAAqC,EAAE,OAAO,EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAWvD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,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,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -26,7 +26,7 @@ const RitekitTextToImageInput = zod.z.object({
26
26
  backgroundColor: zod.z.string().describe("Background color for solid type").optional(),
27
27
  enableHighlight: zod.z.union([zod.z.literal(0), zod.z.literal(1)]).describe("Highlight behind quote text (1 = yes, 0 = no)").optional()
28
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").nullable() }).describe("Response containing the URL of the generated image.");
29
+ const RitekitTextToImageOutput = zod.z.object({ url: zod.z.string().describe("URL of the generated image").nullable() }).passthrough().describe("Response containing the URL of the generated image.");
30
30
  const ritekitTextToImage = require_action.action("RITEKIT_TEXT_TO_IMAGE", {
31
31
  slug: "ritekit-text-to-image",
32
32
  name: "Convert Text to Image",
@@ -1 +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.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.object({\n url: z.string().describe(\"URL of the generated image\").nullable(),\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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.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.object({\n url: z.string().describe(\"URL of the generated image\").nullable(),\n}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -34,7 +34,7 @@ declare const RitekitTextToImageInput: z.ZodObject<{
34
34
  }, z.core.$strip>;
35
35
  declare const RitekitTextToImageOutput: z.ZodObject<{
36
36
  url: z.ZodNullable<z.ZodString>;
37
- }, z.core.$strip>;
37
+ }, z.core.$loose>;
38
38
  declare const ritekitTextToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
39
39
  quote: string;
40
40
  author?: string | undefined;
@@ -34,7 +34,7 @@ declare const RitekitTextToImageInput: z.ZodObject<{
34
34
  }, z.core.$strip>;
35
35
  declare const RitekitTextToImageOutput: z.ZodObject<{
36
36
  url: z.ZodNullable<z.ZodString>;
37
- }, z.core.$strip>;
37
+ }, z.core.$loose>;
38
38
  declare const ritekitTextToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
39
39
  quote: string;
40
40
  author?: string | undefined;
@@ -29,7 +29,7 @@ const ritekitTextToImage = action("RITEKIT_TEXT_TO_IMAGE", {
29
29
  backgroundColor: z.string().describe("Background color for solid type").optional(),
30
30
  enableHighlight: z.union([z.literal(0), z.literal(1)]).describe("Highlight behind quote text (1 = yes, 0 = no)").optional()
31
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").nullable() }).describe("Response containing the URL of the generated image.")
32
+ output: z.object({ url: z.string().describe("URL of the generated image").nullable() }).passthrough().describe("Response containing the URL of the generated image.")
33
33
  });
34
34
  //#endregion
35
35
  export { ritekitTextToImage };
@@ -1 +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.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.object({\n url: z.string().describe(\"URL of the generated image\").nullable(),\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,OA5BqC,EAAE,OAAO;EAC9C,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,QATsC,EAAE,OAAO,EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
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.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.object({\n url: z.string().describe(\"URL of the generated image\").nullable(),\n}).passthrough().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,OA5BqC,EAAE,OAAO;EAC9C,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,QATsC,EAAE,OAAO,EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const ritekitCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/ritekit",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "RiteKit Client ID",
13
13
  "secret": true,
14
14
  "description": "The Client ID obtained from the RiteKit Developer Dashboard."
@@ -1 +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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"RiteKit Client ID\",\n \"secret\": true,\n \"description\": \"The Client ID obtained from the RiteKit Developer Dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
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 \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"RiteKit Client ID\",\n \"secret\": true,\n \"description\": \"The Client ID obtained from the RiteKit Developer Dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const ritekitCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "RiteKit Client ID";
14
14
  readonly secret: true;
15
15
  readonly description: "The Client ID obtained from the RiteKit Developer Dashboard.";
@@ -9,7 +9,7 @@ declare const ritekitCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "RiteKit Client ID";
14
14
  readonly secret: true;
15
15
  readonly description: "The Client ID obtained from the RiteKit Developer Dashboard.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const ritekitCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/ritekit",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "RiteKit Client ID",
13
13
  "secret": true,
14
14
  "description": "The Client ID obtained from the RiteKit Developer Dashboard."
@@ -1 +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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"RiteKit Client ID\",\n \"secret\": true,\n \"description\": \"The Client ID obtained from the RiteKit Developer Dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
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 \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"RiteKit Client ID\",\n \"secret\": true,\n \"description\": \"The Client ID obtained from the RiteKit Developer Dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/ritekit",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"