@keystrokehq/ritekit 0.1.5 → 0.1.6

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 (125) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/auto-hashtag.cjs +1 -0
  4. package/dist/actions/auto-hashtag.cjs.map +1 -1
  5. package/dist/actions/auto-hashtag.d.cts +3 -17
  6. package/dist/actions/auto-hashtag.d.cts.map +1 -1
  7. package/dist/actions/auto-hashtag.d.mts +3 -17
  8. package/dist/actions/auto-hashtag.d.mts.map +1 -1
  9. package/dist/actions/auto-hashtag.mjs +1 -0
  10. package/dist/actions/auto-hashtag.mjs.map +1 -1
  11. package/dist/actions/banned-instagram-hashtags.cjs +1 -0
  12. package/dist/actions/banned-instagram-hashtags.cjs.map +1 -1
  13. package/dist/actions/banned-instagram-hashtags.d.cts +3 -17
  14. package/dist/actions/banned-instagram-hashtags.d.cts.map +1 -1
  15. package/dist/actions/banned-instagram-hashtags.d.mts +3 -17
  16. package/dist/actions/banned-instagram-hashtags.d.mts.map +1 -1
  17. package/dist/actions/banned-instagram-hashtags.mjs +1 -0
  18. package/dist/actions/banned-instagram-hashtags.mjs.map +1 -1
  19. package/dist/actions/detect-disposable-email.cjs +1 -0
  20. package/dist/actions/detect-disposable-email.cjs.map +1 -1
  21. package/dist/actions/detect-disposable-email.d.cts +3 -15
  22. package/dist/actions/detect-disposable-email.d.cts.map +1 -1
  23. package/dist/actions/detect-disposable-email.d.mts +3 -15
  24. package/dist/actions/detect-disposable-email.d.mts.map +1 -1
  25. package/dist/actions/detect-disposable-email.mjs +1 -0
  26. package/dist/actions/detect-disposable-email.mjs.map +1 -1
  27. package/dist/actions/detect-email-typo.cjs +1 -0
  28. package/dist/actions/detect-email-typo.cjs.map +1 -1
  29. package/dist/actions/detect-email-typo.d.cts +3 -16
  30. package/dist/actions/detect-email-typo.d.cts.map +1 -1
  31. package/dist/actions/detect-email-typo.d.mts +3 -16
  32. package/dist/actions/detect-email-typo.d.mts.map +1 -1
  33. package/dist/actions/detect-email-typo.mjs +1 -0
  34. package/dist/actions/detect-email-typo.mjs.map +1 -1
  35. package/dist/actions/freemail-detection.cjs +1 -0
  36. package/dist/actions/freemail-detection.cjs.map +1 -1
  37. package/dist/actions/freemail-detection.d.cts +3 -15
  38. package/dist/actions/freemail-detection.d.cts.map +1 -1
  39. package/dist/actions/freemail-detection.d.mts +3 -15
  40. package/dist/actions/freemail-detection.d.mts.map +1 -1
  41. package/dist/actions/freemail-detection.mjs +1 -0
  42. package/dist/actions/freemail-detection.mjs.map +1 -1
  43. package/dist/actions/get-access-token.cjs +1 -0
  44. package/dist/actions/get-access-token.cjs.map +1 -1
  45. package/dist/actions/get-access-token.d.cts +3 -17
  46. package/dist/actions/get-access-token.d.cts.map +1 -1
  47. package/dist/actions/get-access-token.d.mts +3 -17
  48. package/dist/actions/get-access-token.d.mts.map +1 -1
  49. package/dist/actions/get-access-token.mjs +1 -0
  50. package/dist/actions/get-access-token.mjs.map +1 -1
  51. package/dist/actions/get-client-id.cjs +1 -0
  52. package/dist/actions/get-client-id.cjs.map +1 -1
  53. package/dist/actions/get-client-id.d.cts +3 -15
  54. package/dist/actions/get-client-id.d.cts.map +1 -1
  55. package/dist/actions/get-client-id.d.mts +3 -15
  56. package/dist/actions/get-client-id.d.mts.map +1 -1
  57. package/dist/actions/get-client-id.mjs +1 -0
  58. package/dist/actions/get-client-id.mjs.map +1 -1
  59. package/dist/actions/get-client-secret.cjs +1 -0
  60. package/dist/actions/get-client-secret.cjs.map +1 -1
  61. package/dist/actions/get-client-secret.d.cts +3 -15
  62. package/dist/actions/get-client-secret.d.cts.map +1 -1
  63. package/dist/actions/get-client-secret.d.mts +3 -15
  64. package/dist/actions/get-client-secret.d.mts.map +1 -1
  65. package/dist/actions/get-client-secret.mjs +1 -0
  66. package/dist/actions/get-client-secret.mjs.map +1 -1
  67. package/dist/actions/get-full-email-insights.cjs +1 -0
  68. package/dist/actions/get-full-email-insights.cjs.map +1 -1
  69. package/dist/actions/get-full-email-insights.d.cts +3 -16
  70. package/dist/actions/get-full-email-insights.d.cts.map +1 -1
  71. package/dist/actions/get-full-email-insights.d.mts +3 -16
  72. package/dist/actions/get-full-email-insights.d.mts.map +1 -1
  73. package/dist/actions/get-full-email-insights.mjs +1 -0
  74. package/dist/actions/get-full-email-insights.mjs.map +1 -1
  75. package/dist/actions/hashtag-suggestions.cjs +1 -0
  76. package/dist/actions/hashtag-suggestions.cjs.map +1 -1
  77. package/dist/actions/hashtag-suggestions.d.cts +3 -17
  78. package/dist/actions/hashtag-suggestions.d.cts.map +1 -1
  79. package/dist/actions/hashtag-suggestions.d.mts +3 -17
  80. package/dist/actions/hashtag-suggestions.d.mts.map +1 -1
  81. package/dist/actions/hashtag-suggestions.mjs +1 -0
  82. package/dist/actions/hashtag-suggestions.mjs.map +1 -1
  83. package/dist/actions/link-ad-delete.cjs +1 -0
  84. package/dist/actions/link-ad-delete.cjs.map +1 -1
  85. package/dist/actions/link-ad-delete.d.cts +3 -15
  86. package/dist/actions/link-ad-delete.d.cts.map +1 -1
  87. package/dist/actions/link-ad-delete.d.mts +3 -15
  88. package/dist/actions/link-ad-delete.d.mts.map +1 -1
  89. package/dist/actions/link-ad-delete.mjs +1 -0
  90. package/dist/actions/link-ad-delete.mjs.map +1 -1
  91. package/dist/actions/list-link-ads.cjs +1 -0
  92. package/dist/actions/list-link-ads.cjs.map +1 -1
  93. package/dist/actions/list-link-ads.d.cts +3 -16
  94. package/dist/actions/list-link-ads.d.cts.map +1 -1
  95. package/dist/actions/list-link-ads.d.mts +3 -16
  96. package/dist/actions/list-link-ads.d.mts.map +1 -1
  97. package/dist/actions/list-link-ads.mjs +1 -0
  98. package/dist/actions/list-link-ads.mjs.map +1 -1
  99. package/dist/actions/shorten-link.cjs +1 -0
  100. package/dist/actions/shorten-link.cjs.map +1 -1
  101. package/dist/actions/shorten-link.d.cts +3 -16
  102. package/dist/actions/shorten-link.d.cts.map +1 -1
  103. package/dist/actions/shorten-link.d.mts +3 -16
  104. package/dist/actions/shorten-link.d.mts.map +1 -1
  105. package/dist/actions/shorten-link.mjs +1 -0
  106. package/dist/actions/shorten-link.mjs.map +1 -1
  107. package/dist/actions/text-to-image.cjs +1 -0
  108. package/dist/actions/text-to-image.cjs.map +1 -1
  109. package/dist/actions/text-to-image.d.cts +3 -32
  110. package/dist/actions/text-to-image.d.cts.map +1 -1
  111. package/dist/actions/text-to-image.d.mts +3 -32
  112. package/dist/actions/text-to-image.d.mts.map +1 -1
  113. package/dist/actions/text-to-image.mjs +1 -0
  114. package/dist/actions/text-to-image.mjs.map +1 -1
  115. package/dist/app.cjs +2 -2
  116. package/dist/app.cjs.map +1 -1
  117. package/dist/app.d.cts +4 -6
  118. package/dist/app.d.cts.map +1 -1
  119. package/dist/app.d.mts +4 -6
  120. package/dist/app.d.mts.map +1 -1
  121. package/dist/app.mjs +0 -1
  122. package/dist/app.mjs.map +1 -1
  123. package/dist/index.d.cts +1 -1
  124. package/dist/index.d.mts +1 -1
  125. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"link-ad-delete.d.cts","names":[],"sources":["../../src/actions/link-ad-delete.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"link-ad-delete.d.cts","names":[],"sources":["../../src/actions/link-ad-delete.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/link-ad-delete.d.ts
@@ -8,21 +10,7 @@ declare const RitekitLinkAdDeleteOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const ritekitLinkAdDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
13
+ declare const ritekitLinkAdDelete: AppAction<typeof RitekitLinkAdDeleteInput, typeof RitekitLinkAdDeleteOutput, typeof ritekit.credential>;
26
14
  //#endregion
27
15
  export { ritekitLinkAdDelete };
28
16
  //# sourceMappingURL=link-ad-delete.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"link-ad-delete.d.mts","names":[],"sources":["../../src/actions/link-ad-delete.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"link-ad-delete.d.mts","names":[],"sources":["../../src/actions/link-ad-delete.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ritekitLinkAdDelete = action("RITEKIT_LINK_AD_DELETE", {
@@ -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}).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"}
1
+ {"version":3,"file":"link-ad-delete.mjs","names":[],"sources":["../../src/actions/link-ad-delete.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\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: AppAction<\n typeof RitekitLinkAdDeleteInput,\n typeof RitekitLinkAdDeleteOutput,\n typeof ritekit.credential\n> = 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":";;;AAcA,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,uCAcH;CACP,QAduC,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,0CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-link-ads.ts
@@ -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}).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"}
1
+ {"version":3,"file":"list-link-ads.cjs","names":["z","action"],"sources":["../../src/actions/list-link-ads.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\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: AppAction<\n typeof RitekitListLinkAdsInput,\n typeof RitekitListLinkAdsOutput,\n typeof ritekit.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-link-ads.d.ts
@@ -13,22 +15,7 @@ declare const RitekitListLinkAdsOutput: z.ZodObject<{
13
15
  default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>;
16
- declare const ritekitListLinkAds: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- client_id?: string | undefined;
18
- access_token?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>;
18
+ declare const ritekitListLinkAds: AppAction<typeof RitekitListLinkAdsInput, typeof RitekitListLinkAdsOutput, typeof ritekit.credential>;
32
19
  //#endregion
33
20
  export { ritekitListLinkAds };
34
21
  //# sourceMappingURL=list-link-ads.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-link-ads.d.cts","names":[],"sources":["../../src/actions/list-link-ads.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAUvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-link-ads.d.cts","names":[],"sources":["../../src/actions/list-link-ads.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAUvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-link-ads.d.ts
@@ -13,22 +15,7 @@ declare const RitekitListLinkAdsOutput: z.ZodObject<{
13
15
  default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>;
16
- declare const ritekitListLinkAds: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- client_id?: string | undefined;
18
- access_token?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>;
18
+ declare const ritekitListLinkAds: AppAction<typeof RitekitListLinkAdsInput, typeof RitekitListLinkAdsOutput, typeof ritekit.credential>;
32
19
  //#endregion
33
20
  export { ritekitListLinkAds };
34
21
  //# sourceMappingURL=list-link-ads.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-link-ads.d.mts","names":[],"sources":["../../src/actions/list-link-ads.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAUvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-link-ads.d.mts","names":[],"sources":["../../src/actions/list-link-ads.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAUvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-link-ads.ts
@@ -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}).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"}
1
+ {"version":3,"file":"list-link-ads.mjs","names":[],"sources":["../../src/actions/list-link-ads.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\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: AppAction<\n typeof RitekitListLinkAdsInput,\n typeof RitekitListLinkAdsOutput,\n typeof ritekit.credential\n> = 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":";;;;AAMA,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,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/shorten-link.ts
@@ -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}).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"}
1
+ {"version":3,"file":"shorten-link.cjs","names":["z","action"],"sources":["../../src/actions/shorten-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\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: AppAction<\n typeof RitekitShortenLinkInput,\n typeof RitekitShortenLinkOutput,\n typeof ritekit.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/shorten-link.d.ts
@@ -16,22 +18,7 @@ declare const RitekitShortenLinkOutput: z.ZodObject<{
16
18
  original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const ritekitShortenLink: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- cta: number;
21
- url: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
21
+ declare const ritekitShortenLink: AppAction<typeof RitekitShortenLinkInput, typeof RitekitShortenLinkOutput, typeof ritekit.credential>;
35
22
  //#endregion
36
23
  export { ritekitShortenLink };
37
24
  //# sourceMappingURL=shorten-link.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shorten-link.d.cts","names":[],"sources":["../../src/actions/shorten-link.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAOvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAUxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"shorten-link.d.cts","names":[],"sources":["../../src/actions/shorten-link.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAOvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAUxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/shorten-link.d.ts
@@ -16,22 +18,7 @@ declare const RitekitShortenLinkOutput: z.ZodObject<{
16
18
  original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const ritekitShortenLink: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- cta: number;
21
- url: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
21
+ declare const ritekitShortenLink: AppAction<typeof RitekitShortenLinkInput, typeof RitekitShortenLinkOutput, typeof ritekit.credential>;
35
22
  //#endregion
36
23
  export { ritekitShortenLink };
37
24
  //# sourceMappingURL=shorten-link.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shorten-link.d.mts","names":[],"sources":["../../src/actions/shorten-link.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAOvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAUxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"shorten-link.d.mts","names":[],"sources":["../../src/actions/shorten-link.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAOvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAUxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/shorten-link.ts
@@ -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}).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"}
1
+ {"version":3,"file":"shorten-link.mjs","names":[],"sources":["../../src/actions/shorten-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\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: AppAction<\n typeof RitekitShortenLinkInput,\n typeof RitekitShortenLinkOutput,\n typeof ritekit.credential\n> = 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":";;;;AAMA,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,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBsC,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,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/text-to-image.ts
@@ -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}).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"}
1
+ {"version":3,"file":"text-to-image.cjs","names":["z","action"],"sources":["../../src/actions/text-to-image.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\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: AppAction<\n typeof RitekitTextToImageInput,\n typeof RitekitTextToImageOutput,\n typeof ritekit.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/text-to-image.d.ts
@@ -35,38 +37,7 @@ declare const RitekitTextToImageInput: z.ZodObject<{
35
37
  declare const RitekitTextToImageOutput: z.ZodObject<{
36
38
  url: z.ZodNullable<z.ZodString>;
37
39
  }, z.core.$loose>;
38
- declare const ritekitTextToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- quote: string;
40
- author?: string | undefined;
41
- bgType?: "solid" | "gradient" | undefined;
42
- fontSize?: number | undefined;
43
- animation?: "none" | "rays" | "glint" | "circle" | undefined;
44
- brandLogo?: string | undefined;
45
- client_id?: string | undefined;
46
- quoteFont?: string | undefined;
47
- authorFont?: string | undefined;
48
- gradientType?: "linear" | "radial" | undefined;
49
- showQuoteMark?: 0 | 1 | undefined;
50
- gradientColor1?: string | undefined;
51
- gradientColor2?: string | undefined;
52
- highlightColor?: string | undefined;
53
- quoteFontColor?: string | undefined;
54
- authorFontColor?: string | undefined;
55
- backgroundColor?: string | undefined;
56
- enableHighlight?: 0 | 1 | undefined;
57
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
58
- connectionId: z.ZodString;
59
- entityId: z.ZodString;
60
- instanceId: z.ZodString;
61
- }, z.core.$strip>, z.ZodObject<{
62
- generic_api_key: z.ZodString;
63
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
64
- connectionId: z.ZodString;
65
- entityId: z.ZodString;
66
- instanceId: z.ZodString;
67
- }, z.core.$strip>, z.ZodObject<{
68
- generic_api_key: z.ZodString;
69
- }, z.core.$strip>>]>;
40
+ declare const ritekitTextToImage: AppAction<typeof RitekitTextToImageInput, typeof RitekitTextToImageOutput, typeof ritekit.credential>;
70
41
  //#endregion
71
42
  export { ritekitTextToImage };
72
43
  //# sourceMappingURL=text-to-image.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-image.d.cts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"text-to-image.d.cts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/text-to-image.d.ts
@@ -35,38 +37,7 @@ declare const RitekitTextToImageInput: z.ZodObject<{
35
37
  declare const RitekitTextToImageOutput: z.ZodObject<{
36
38
  url: z.ZodNullable<z.ZodString>;
37
39
  }, z.core.$loose>;
38
- declare const ritekitTextToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- quote: string;
40
- author?: string | undefined;
41
- bgType?: "solid" | "gradient" | undefined;
42
- fontSize?: number | undefined;
43
- animation?: "none" | "rays" | "glint" | "circle" | undefined;
44
- brandLogo?: string | undefined;
45
- client_id?: string | undefined;
46
- quoteFont?: string | undefined;
47
- authorFont?: string | undefined;
48
- gradientType?: "linear" | "radial" | undefined;
49
- showQuoteMark?: 0 | 1 | undefined;
50
- gradientColor1?: string | undefined;
51
- gradientColor2?: string | undefined;
52
- highlightColor?: string | undefined;
53
- quoteFontColor?: string | undefined;
54
- authorFontColor?: string | undefined;
55
- backgroundColor?: string | undefined;
56
- enableHighlight?: 0 | 1 | undefined;
57
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
58
- connectionId: z.ZodString;
59
- entityId: z.ZodString;
60
- instanceId: z.ZodString;
61
- }, z.core.$strip>, z.ZodObject<{
62
- generic_api_key: z.ZodString;
63
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
64
- connectionId: z.ZodString;
65
- entityId: z.ZodString;
66
- instanceId: z.ZodString;
67
- }, z.core.$strip>, z.ZodObject<{
68
- generic_api_key: z.ZodString;
69
- }, z.core.$strip>>]>;
40
+ declare const ritekitTextToImage: AppAction<typeof RitekitTextToImageInput, typeof RitekitTextToImageOutput, typeof ritekit.credential>;
70
41
  //#endregion
71
42
  export { ritekitTextToImage };
72
43
  //# sourceMappingURL=text-to-image.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-image.d.mts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"text-to-image.d.mts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ritekitTextToImage = action("RITEKIT_TEXT_TO_IMAGE", {
@@ -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}).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"}
1
+ {"version":3,"file":"text-to-image.mjs","names":[],"sources":["../../src/actions/text-to-image.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\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: AppAction<\n typeof RitekitTextToImageInput,\n typeof RitekitTextToImageOutput,\n typeof ritekit.credential\n> = 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":";;;AA8BA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCqC,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,0GAaH;CACP,QAbsC,EAAE,OAAO,EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const ritekit = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "ritekit",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.ritekit = ritekit;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const ritekit = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const ritekit: KeystrokeApp<\"ritekit\", typeof credential> = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAgE;CAC3E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const ritekit: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const ritekit: KeystrokeApp<"ritekit", typeof credential>;
11
9
  //#endregion
12
10
  export { ritekit };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const ritekit: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"ritekit", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const ritekit: KeystrokeApp<"ritekit", typeof credential>;
11
9
  //#endregion
12
10
  export { ritekit };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const ritekit = defineApp({
5
4
  slug: "ritekit",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const ritekit = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const ritekit: KeystrokeApp<\"ritekit\", typeof credential> = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,UAAsD,UAAU;CAC3E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ritekit } from "./app.cjs";
1
2
  import { ritekitAutoHashtag } from "./actions/auto-hashtag.cjs";
2
3
  import { ritekitBannedInstagramHashtags } from "./actions/banned-instagram-hashtags.cjs";
3
4
  import { ritekitDetectDisposableEmail } from "./actions/detect-disposable-email.cjs";
@@ -12,6 +13,5 @@ import { ritekitLinkAdDelete } from "./actions/link-ad-delete.cjs";
12
13
  import { ritekitListLinkAds } from "./actions/list-link-ads.cjs";
13
14
  import { ritekitShortenLink } from "./actions/shorten-link.cjs";
14
15
  import { ritekitTextToImage } from "./actions/text-to-image.cjs";
15
- import { ritekit } from "./app.cjs";
16
16
  import { ritekitCatalog } from "./catalog.cjs";
17
17
  export { ritekit, ritekitAutoHashtag, ritekitBannedInstagramHashtags, ritekitCatalog, ritekitDetectDisposableEmail, ritekitDetectEmailTypo, ritekitFreemailDetection, ritekitGetAccessToken, ritekitGetClientId, ritekitGetClientSecret, ritekitGetFullEmailInsights, ritekitHashtagSuggestions, ritekitLinkAdDelete, ritekitListLinkAds, ritekitShortenLink, ritekitTextToImage };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ritekit } from "./app.mjs";
1
2
  import { ritekitAutoHashtag } from "./actions/auto-hashtag.mjs";
2
3
  import { ritekitBannedInstagramHashtags } from "./actions/banned-instagram-hashtags.mjs";
3
4
  import { ritekitDetectDisposableEmail } from "./actions/detect-disposable-email.mjs";
@@ -12,6 +13,5 @@ import { ritekitLinkAdDelete } from "./actions/link-ad-delete.mjs";
12
13
  import { ritekitListLinkAds } from "./actions/list-link-ads.mjs";
13
14
  import { ritekitShortenLink } from "./actions/shorten-link.mjs";
14
15
  import { ritekitTextToImage } from "./actions/text-to-image.mjs";
15
- import { ritekit } from "./app.mjs";
16
16
  import { ritekitCatalog } from "./catalog.mjs";
17
17
  export { ritekit, ritekitAutoHashtag, ritekitBannedInstagramHashtags, ritekitCatalog, ritekitDetectDisposableEmail, ritekitDetectEmailTypo, ritekitFreemailDetection, ritekitGetAccessToken, ritekitGetClientId, ritekitGetClientSecret, ritekitGetFullEmailInsights, ritekitHashtagSuggestions, ritekitLinkAdDelete, ritekitListLinkAds, ritekitShortenLink, ritekitTextToImage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/ritekit",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {