@keystrokehq/reddit 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 (149) hide show
  1. package/dist/actions/create-reddit-post.cjs +1 -1
  2. package/dist/actions/create-reddit-post.cjs.map +1 -1
  3. package/dist/actions/create-reddit-post.d.cts +14 -2
  4. package/dist/actions/create-reddit-post.d.mts +14 -2
  5. package/dist/actions/create-reddit-post.mjs +1 -1
  6. package/dist/actions/create-reddit-post.mjs.map +1 -1
  7. package/dist/actions/delete-reddit-comment.cjs +1 -1
  8. package/dist/actions/delete-reddit-comment.cjs.map +1 -1
  9. package/dist/actions/delete-reddit-comment.d.cts +14 -2
  10. package/dist/actions/delete-reddit-comment.d.cts.map +1 -1
  11. package/dist/actions/delete-reddit-comment.d.mts +14 -2
  12. package/dist/actions/delete-reddit-comment.d.mts.map +1 -1
  13. package/dist/actions/delete-reddit-comment.mjs +1 -1
  14. package/dist/actions/delete-reddit-comment.mjs.map +1 -1
  15. package/dist/actions/delete-reddit-post.cjs +1 -1
  16. package/dist/actions/delete-reddit-post.cjs.map +1 -1
  17. package/dist/actions/delete-reddit-post.d.cts +14 -2
  18. package/dist/actions/delete-reddit-post.d.cts.map +1 -1
  19. package/dist/actions/delete-reddit-post.d.mts +14 -2
  20. package/dist/actions/delete-reddit-post.d.mts.map +1 -1
  21. package/dist/actions/delete-reddit-post.mjs +1 -1
  22. package/dist/actions/delete-reddit-post.mjs.map +1 -1
  23. package/dist/actions/edit-reddit-comment-or-post.cjs +3 -3
  24. package/dist/actions/edit-reddit-comment-or-post.cjs.map +1 -1
  25. package/dist/actions/edit-reddit-comment-or-post.d.cts +16 -4
  26. package/dist/actions/edit-reddit-comment-or-post.d.mts +16 -4
  27. package/dist/actions/edit-reddit-comment-or-post.mjs +3 -3
  28. package/dist/actions/edit-reddit-comment-or-post.mjs.map +1 -1
  29. package/dist/actions/get-controversial-posts.cjs +4 -4
  30. package/dist/actions/get-controversial-posts.cjs.map +1 -1
  31. package/dist/actions/get-controversial-posts.d.cts +17 -5
  32. package/dist/actions/get-controversial-posts.d.mts +17 -5
  33. package/dist/actions/get-controversial-posts.mjs +4 -4
  34. package/dist/actions/get-controversial-posts.mjs.map +1 -1
  35. package/dist/actions/get-me-prefs.cjs +1 -1
  36. package/dist/actions/get-me-prefs.cjs.map +1 -1
  37. package/dist/actions/get-me-prefs.d.cts +14 -2
  38. package/dist/actions/get-me-prefs.d.mts +14 -2
  39. package/dist/actions/get-me-prefs.mjs +1 -1
  40. package/dist/actions/get-me-prefs.mjs.map +1 -1
  41. package/dist/actions/get-r-top.cjs +4 -4
  42. package/dist/actions/get-r-top.cjs.map +1 -1
  43. package/dist/actions/get-r-top.d.cts +17 -5
  44. package/dist/actions/get-r-top.d.mts +17 -5
  45. package/dist/actions/get-r-top.mjs +4 -4
  46. package/dist/actions/get-r-top.mjs.map +1 -1
  47. package/dist/actions/get-random.cjs +4 -4
  48. package/dist/actions/get-random.cjs.map +1 -1
  49. package/dist/actions/get-random.d.cts +17 -5
  50. package/dist/actions/get-random.d.mts +17 -5
  51. package/dist/actions/get-random.mjs +4 -4
  52. package/dist/actions/get-random.mjs.map +1 -1
  53. package/dist/actions/get-reddit-user-about.cjs +3 -3
  54. package/dist/actions/get-reddit-user-about.cjs.map +1 -1
  55. package/dist/actions/get-reddit-user-about.d.cts +16 -4
  56. package/dist/actions/get-reddit-user-about.d.mts +16 -4
  57. package/dist/actions/get-reddit-user-about.mjs +3 -3
  58. package/dist/actions/get-reddit-user-about.mjs.map +1 -1
  59. package/dist/actions/get-scopes.cjs +1 -1
  60. package/dist/actions/get-scopes.cjs.map +1 -1
  61. package/dist/actions/get-scopes.d.cts +15 -3
  62. package/dist/actions/get-scopes.d.cts.map +1 -1
  63. package/dist/actions/get-scopes.d.mts +15 -3
  64. package/dist/actions/get-scopes.d.mts.map +1 -1
  65. package/dist/actions/get-scopes.mjs +1 -1
  66. package/dist/actions/get-scopes.mjs.map +1 -1
  67. package/dist/actions/get-subreddit-rules.cjs +2 -2
  68. package/dist/actions/get-subreddit-rules.cjs.map +1 -1
  69. package/dist/actions/get-subreddit-rules.d.cts +15 -3
  70. package/dist/actions/get-subreddit-rules.d.mts +15 -3
  71. package/dist/actions/get-subreddit-rules.mjs +2 -2
  72. package/dist/actions/get-subreddit-rules.mjs.map +1 -1
  73. package/dist/actions/get-subreddits-search.cjs +4 -4
  74. package/dist/actions/get-subreddits-search.cjs.map +1 -1
  75. package/dist/actions/get-subreddits-search.d.cts +17 -5
  76. package/dist/actions/get-subreddits-search.d.mts +17 -5
  77. package/dist/actions/get-subreddits-search.mjs +4 -4
  78. package/dist/actions/get-subreddits-search.mjs.map +1 -1
  79. package/dist/actions/get-user-flair.cjs +2 -2
  80. package/dist/actions/get-user-flair.cjs.map +1 -1
  81. package/dist/actions/get-user-flair.d.cts +15 -3
  82. package/dist/actions/get-user-flair.d.mts +15 -3
  83. package/dist/actions/get-user-flair.mjs +2 -2
  84. package/dist/actions/get-user-flair.mjs.map +1 -1
  85. package/dist/actions/get-username-available.cjs +1 -1
  86. package/dist/actions/get-username-available.cjs.map +1 -1
  87. package/dist/actions/get-username-available.d.cts +14 -2
  88. package/dist/actions/get-username-available.d.mts +14 -2
  89. package/dist/actions/get-username-available.mjs +1 -1
  90. package/dist/actions/get-username-available.mjs.map +1 -1
  91. package/dist/actions/get.cjs +4 -4
  92. package/dist/actions/get.cjs.map +1 -1
  93. package/dist/actions/get.d.cts +17 -5
  94. package/dist/actions/get.d.mts +17 -5
  95. package/dist/actions/get.mjs +4 -4
  96. package/dist/actions/get.mjs.map +1 -1
  97. package/dist/actions/list-subreddit-post-flairs.cjs +2 -2
  98. package/dist/actions/list-subreddit-post-flairs.cjs.map +1 -1
  99. package/dist/actions/list-subreddit-post-flairs.d.cts +15 -3
  100. package/dist/actions/list-subreddit-post-flairs.d.mts +15 -3
  101. package/dist/actions/list-subreddit-post-flairs.mjs +2 -2
  102. package/dist/actions/list-subreddit-post-flairs.mjs.map +1 -1
  103. package/dist/actions/post-reddit-comment.cjs +5 -5
  104. package/dist/actions/post-reddit-comment.cjs.map +1 -1
  105. package/dist/actions/post-reddit-comment.d.cts +18 -6
  106. package/dist/actions/post-reddit-comment.d.mts +18 -6
  107. package/dist/actions/post-reddit-comment.mjs +5 -5
  108. package/dist/actions/post-reddit-comment.mjs.map +1 -1
  109. package/dist/actions/retrieve-post-comments.cjs +2 -2
  110. package/dist/actions/retrieve-post-comments.cjs.map +1 -1
  111. package/dist/actions/retrieve-post-comments.d.cts +15 -3
  112. package/dist/actions/retrieve-post-comments.d.mts +15 -3
  113. package/dist/actions/retrieve-post-comments.mjs +2 -2
  114. package/dist/actions/retrieve-post-comments.mjs.map +1 -1
  115. package/dist/actions/retrieve-reddit-post.cjs +4 -4
  116. package/dist/actions/retrieve-reddit-post.cjs.map +1 -1
  117. package/dist/actions/retrieve-reddit-post.d.cts +17 -5
  118. package/dist/actions/retrieve-reddit-post.d.mts +17 -5
  119. package/dist/actions/retrieve-reddit-post.mjs +4 -4
  120. package/dist/actions/retrieve-reddit-post.mjs.map +1 -1
  121. package/dist/actions/retrieve-specific-comment.cjs +6 -6
  122. package/dist/actions/retrieve-specific-comment.cjs.map +1 -1
  123. package/dist/actions/retrieve-specific-comment.d.cts +19 -7
  124. package/dist/actions/retrieve-specific-comment.d.mts +19 -7
  125. package/dist/actions/retrieve-specific-comment.mjs +6 -6
  126. package/dist/actions/retrieve-specific-comment.mjs.map +1 -1
  127. package/dist/actions/search-across-subreddits.cjs +2 -2
  128. package/dist/actions/search-across-subreddits.cjs.map +1 -1
  129. package/dist/actions/search-across-subreddits.d.cts +15 -3
  130. package/dist/actions/search-across-subreddits.d.mts +15 -3
  131. package/dist/actions/search-across-subreddits.mjs +2 -2
  132. package/dist/actions/search-across-subreddits.mjs.map +1 -1
  133. package/dist/actions/toggle-inbox-replies.cjs +1 -1
  134. package/dist/actions/toggle-inbox-replies.cjs.map +1 -1
  135. package/dist/actions/toggle-inbox-replies.d.cts +14 -2
  136. package/dist/actions/toggle-inbox-replies.d.cts.map +1 -1
  137. package/dist/actions/toggle-inbox-replies.d.mts +14 -2
  138. package/dist/actions/toggle-inbox-replies.d.mts.map +1 -1
  139. package/dist/actions/toggle-inbox-replies.mjs +1 -1
  140. package/dist/actions/toggle-inbox-replies.mjs.map +1 -1
  141. package/dist/app.cjs +5 -2
  142. package/dist/app.cjs.map +1 -1
  143. package/dist/app.d.cts +9 -1
  144. package/dist/app.d.cts.map +1 -1
  145. package/dist/app.d.mts +9 -1
  146. package/dist/app.d.mts.map +1 -1
  147. package/dist/app.mjs +3 -1
  148. package/dist/app.mjs.map +1 -1
  149. package/package.json +1 -1
@@ -18,7 +18,7 @@ const RedditCreateRedditPostOutput = zod.z.object({
18
18
  drafts_count: zod.z.number().int().describe("Count of draft submissions associated with the user account.").nullable().optional(),
19
19
  validation_error: zod.z.string().describe("Type of validation error if post creation failed due to subreddit requirements. Possible values include 'FLAIR_REQUIRED' (subreddit requires post flair), 'INVALID_FLAIR_ID' (provided flair_id is not valid for this subreddit), 'BODY_NOT_ALLOWED' (subreddit doesn't allow text posts), 'POST_GUIDANCE_VALIDATION_FAILED' (subreddit rules block this submission, often due to embedded URLs in text).").nullable().optional(),
20
20
  validation_message: zod.z.string().describe("Human-readable message explaining the validation error and how to resolve it.").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const redditCreateRedditPost = require_action.action("REDDIT_CREATE_REDDIT_POST", {
23
23
  slug: "reddit-create-reddit-post",
24
24
  name: "Create a Reddit post",
@@ -1 +1 @@
1
- {"version":3,"file":"create-reddit-post.cjs","names":["z","action"],"sources":["../../src/actions/create-reddit-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditCreateRedditPostInput = z.object({\n url: z.string().describe(\"The URL for a 'link' post. Required if `kind` is 'link'.\").optional(),\n kind: z.enum([\"link\", \"self\"]).describe(\"The type of the post. Use 'self' for a text-based post (when providing 'text') or 'link' for a post that links to an external URL (when providing 'url'). If omitted, it is automatically inferred: 'self' when 'text' is provided, 'link' when 'url' is provided.\").optional(),\n text: z.string().describe(\"The markdown-formatted text content for a 'self' post. Required if `kind` is 'self'. Body must not exceed ~40,000 characters.\").optional(),\n title: z.string().describe(\"The title of the post. Must be 300 characters or less.\"),\n flair_id: z.string().describe(\"ID of the post flair template (UUID format). Must be a valid flair template ID that exists for this specific subreddit. To get valid flair IDs, first use LIST_SUBREDDIT_POST_FLAIRS action for the target subreddit. Do not pass generic strings like 'general' or 'news' - these are not universal flair IDs. Some subreddits enforce mandatory flair; omitting or providing an invalid ID returns SUBMIT_VALIDATION_FLAIR_REQUIRED.\").optional(),\n subreddit: z.string().describe(\"The name of the subreddit (without the 'r/' prefix) where the post will be submitted.\"),\n});\nexport const RedditCreateRedditPostOutput = z.object({\n id: z.string().describe(\"The post's unique identifier (short ID, e.g., '96ak55'). Present when post creation succeeds.\").nullable().optional(),\n url: z.string().describe(\"The full URL to the newly created post on Reddit. Present when post creation succeeds.\").nullable().optional(),\n name: z.string().describe(\"The post's fullname with type prefix (e.g., 't3_96ak55' where 't3' indicates it's a link/post). Present when post creation succeeds.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the post was created successfully. If false, check 'validation_error' for details.\").nullable(),\n subreddit: z.string().describe(\"The subreddit name (without 'r/' prefix) - included when validation_error is present to help with flair lookup.\").nullable().optional(),\n drafts_count: z.number().int().describe(\"Count of draft submissions associated with the user account.\").nullable().optional(),\n validation_error: z.string().describe(\"Type of validation error if post creation failed due to subreddit requirements. Possible values include 'FLAIR_REQUIRED' (subreddit requires post flair), 'INVALID_FLAIR_ID' (provided flair_id is not valid for this subreddit), 'BODY_NOT_ALLOWED' (subreddit doesn't allow text posts), 'POST_GUIDANCE_VALIDATION_FAILED' (subreddit rules block this submission, often due to embedded URLs in text).\").nullable().optional(),\n validation_message: z.string().describe(\"Human-readable message explaining the validation error and how to resolve it.\").nullable().optional(),\n});\n\nexport const redditCreateRedditPost = action(\"REDDIT_CREATE_REDDIT_POST\", {\n slug: \"reddit-create-reddit-post\",\n name: \"Create a Reddit post\",\n description: \"Creates a new text or link post on a specified, existing Reddit subreddit, optionally applying a flair. Immediately publishes publicly visible content — confirm subreddit, title, and body with the user before executing. Posts may be silently removed post-submission by automoderator or subreddit rules (errors: SUBMIT_VALIDATION_BODY_BLACKLISTED_STRING, POST_GUIDANCE_VALIDATION_FAILED); verify visibility via the returned permalink. Rapid consecutive calls trigger RATELIMIT errors with cooldown hints.\",\n input: RedditCreateRedditPostInput,\n output: RedditCreateRedditPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,SAAS,oQAAoQ,CAAC,CAAC,SAAS;CACvT,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,waAAwa,CAAC,CAAC,SAAS;CACjd,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;AACxH,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACrI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2YAA2Y,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvc,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-reddit-post.cjs","names":["z","action"],"sources":["../../src/actions/create-reddit-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditCreateRedditPostInput = z.object({\n url: z.string().describe(\"The URL for a 'link' post. Required if `kind` is 'link'.\").optional(),\n kind: z.enum([\"link\", \"self\"]).describe(\"The type of the post. Use 'self' for a text-based post (when providing 'text') or 'link' for a post that links to an external URL (when providing 'url'). If omitted, it is automatically inferred: 'self' when 'text' is provided, 'link' when 'url' is provided.\").optional(),\n text: z.string().describe(\"The markdown-formatted text content for a 'self' post. Required if `kind` is 'self'. Body must not exceed ~40,000 characters.\").optional(),\n title: z.string().describe(\"The title of the post. Must be 300 characters or less.\"),\n flair_id: z.string().describe(\"ID of the post flair template (UUID format). Must be a valid flair template ID that exists for this specific subreddit. To get valid flair IDs, first use LIST_SUBREDDIT_POST_FLAIRS action for the target subreddit. Do not pass generic strings like 'general' or 'news' - these are not universal flair IDs. Some subreddits enforce mandatory flair; omitting or providing an invalid ID returns SUBMIT_VALIDATION_FLAIR_REQUIRED.\").optional(),\n subreddit: z.string().describe(\"The name of the subreddit (without the 'r/' prefix) where the post will be submitted.\"),\n});\nexport const RedditCreateRedditPostOutput = z.object({\n id: z.string().describe(\"The post's unique identifier (short ID, e.g., '96ak55'). Present when post creation succeeds.\").nullable().optional(),\n url: z.string().describe(\"The full URL to the newly created post on Reddit. Present when post creation succeeds.\").nullable().optional(),\n name: z.string().describe(\"The post's fullname with type prefix (e.g., 't3_96ak55' where 't3' indicates it's a link/post). Present when post creation succeeds.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the post was created successfully. If false, check 'validation_error' for details.\").nullable(),\n subreddit: z.string().describe(\"The subreddit name (without 'r/' prefix) - included when validation_error is present to help with flair lookup.\").nullable().optional(),\n drafts_count: z.number().int().describe(\"Count of draft submissions associated with the user account.\").nullable().optional(),\n validation_error: z.string().describe(\"Type of validation error if post creation failed due to subreddit requirements. Possible values include 'FLAIR_REQUIRED' (subreddit requires post flair), 'INVALID_FLAIR_ID' (provided flair_id is not valid for this subreddit), 'BODY_NOT_ALLOWED' (subreddit doesn't allow text posts), 'POST_GUIDANCE_VALIDATION_FAILED' (subreddit rules block this submission, often due to embedded URLs in text).\").nullable().optional(),\n validation_message: z.string().describe(\"Human-readable message explaining the validation error and how to resolve it.\").nullable().optional(),\n}).passthrough();\n\nexport const redditCreateRedditPost = action(\"REDDIT_CREATE_REDDIT_POST\", {\n slug: \"reddit-create-reddit-post\",\n name: \"Create a Reddit post\",\n description: \"Creates a new text or link post on a specified, existing Reddit subreddit, optionally applying a flair. Immediately publishes publicly visible content — confirm subreddit, title, and body with the user before executing. Posts may be silently removed post-submission by automoderator or subreddit rules (errors: SUBMIT_VALIDATION_BODY_BLACKLISTED_STRING, POST_GUIDANCE_VALIDATION_FAILED); verify visibility via the returned permalink. Rapid consecutive calls trigger RATELIMIT errors with cooldown hints.\",\n input: RedditCreateRedditPostInput,\n output: RedditCreateRedditPost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,SAAS;CACvc,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -21,7 +21,7 @@ declare const RedditCreateRedditPostOutput: z.ZodObject<{
21
21
  drafts_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
22
  validation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  validation_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const redditCreateRedditPost: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  title: string;
27
27
  subreddit: string;
@@ -29,7 +29,19 @@ declare const redditCreateRedditPost: import("@keystrokehq/action").WorkflowActi
29
29
  kind?: "link" | "self" | undefined;
30
30
  text?: string | undefined;
31
31
  flair_id?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ accessToken: z.ZodString;
44
+ }, z.core.$strip>>]>;
33
45
  //#endregion
34
46
  export { redditCreateRedditPost };
35
47
  //# sourceMappingURL=create-reddit-post.d.cts.map
@@ -21,7 +21,7 @@ declare const RedditCreateRedditPostOutput: z.ZodObject<{
21
21
  drafts_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
22
  validation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  validation_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const redditCreateRedditPost: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  title: string;
27
27
  subreddit: string;
@@ -29,7 +29,19 @@ declare const redditCreateRedditPost: import("@keystrokehq/action").WorkflowActi
29
29
  kind?: "link" | "self" | undefined;
30
30
  text?: string | undefined;
31
31
  flair_id?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ accessToken: z.ZodString;
44
+ }, z.core.$strip>>]>;
33
45
  //#endregion
34
46
  export { redditCreateRedditPost };
35
47
  //# sourceMappingURL=create-reddit-post.d.mts.map
@@ -21,7 +21,7 @@ const redditCreateRedditPost = action("REDDIT_CREATE_REDDIT_POST", {
21
21
  drafts_count: z.number().int().describe("Count of draft submissions associated with the user account.").nullable().optional(),
22
22
  validation_error: z.string().describe("Type of validation error if post creation failed due to subreddit requirements. Possible values include 'FLAIR_REQUIRED' (subreddit requires post flair), 'INVALID_FLAIR_ID' (provided flair_id is not valid for this subreddit), 'BODY_NOT_ALLOWED' (subreddit doesn't allow text posts), 'POST_GUIDANCE_VALIDATION_FAILED' (subreddit rules block this submission, often due to embedded URLs in text).").nullable().optional(),
23
23
  validation_message: z.string().describe("Human-readable message explaining the validation error and how to resolve it.").nullable().optional()
24
- })
24
+ }).passthrough()
25
25
  });
26
26
  //#endregion
27
27
  export { redditCreateRedditPost };
@@ -1 +1 @@
1
- {"version":3,"file":"create-reddit-post.mjs","names":[],"sources":["../../src/actions/create-reddit-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditCreateRedditPostInput = z.object({\n url: z.string().describe(\"The URL for a 'link' post. Required if `kind` is 'link'.\").optional(),\n kind: z.enum([\"link\", \"self\"]).describe(\"The type of the post. Use 'self' for a text-based post (when providing 'text') or 'link' for a post that links to an external URL (when providing 'url'). If omitted, it is automatically inferred: 'self' when 'text' is provided, 'link' when 'url' is provided.\").optional(),\n text: z.string().describe(\"The markdown-formatted text content for a 'self' post. Required if `kind` is 'self'. Body must not exceed ~40,000 characters.\").optional(),\n title: z.string().describe(\"The title of the post. Must be 300 characters or less.\"),\n flair_id: z.string().describe(\"ID of the post flair template (UUID format). Must be a valid flair template ID that exists for this specific subreddit. To get valid flair IDs, first use LIST_SUBREDDIT_POST_FLAIRS action for the target subreddit. Do not pass generic strings like 'general' or 'news' - these are not universal flair IDs. Some subreddits enforce mandatory flair; omitting or providing an invalid ID returns SUBMIT_VALIDATION_FLAIR_REQUIRED.\").optional(),\n subreddit: z.string().describe(\"The name of the subreddit (without the 'r/' prefix) where the post will be submitted.\"),\n});\nexport const RedditCreateRedditPostOutput = z.object({\n id: z.string().describe(\"The post's unique identifier (short ID, e.g., '96ak55'). Present when post creation succeeds.\").nullable().optional(),\n url: z.string().describe(\"The full URL to the newly created post on Reddit. Present when post creation succeeds.\").nullable().optional(),\n name: z.string().describe(\"The post's fullname with type prefix (e.g., 't3_96ak55' where 't3' indicates it's a link/post). Present when post creation succeeds.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the post was created successfully. If false, check 'validation_error' for details.\").nullable(),\n subreddit: z.string().describe(\"The subreddit name (without 'r/' prefix) - included when validation_error is present to help with flair lookup.\").nullable().optional(),\n drafts_count: z.number().int().describe(\"Count of draft submissions associated with the user account.\").nullable().optional(),\n validation_error: z.string().describe(\"Type of validation error if post creation failed due to subreddit requirements. Possible values include 'FLAIR_REQUIRED' (subreddit requires post flair), 'INVALID_FLAIR_ID' (provided flair_id is not valid for this subreddit), 'BODY_NOT_ALLOWED' (subreddit doesn't allow text posts), 'POST_GUIDANCE_VALIDATION_FAILED' (subreddit rules block this submission, often due to embedded URLs in text).\").nullable().optional(),\n validation_message: z.string().describe(\"Human-readable message explaining the validation error and how to resolve it.\").nullable().optional(),\n});\n\nexport const redditCreateRedditPost = action(\"REDDIT_CREATE_REDDIT_POST\", {\n slug: \"reddit-create-reddit-post\",\n name: \"Create a Reddit post\",\n description: \"Creates a new text or link post on a specified, existing Reddit subreddit, optionally applying a flair. Immediately publishes publicly visible content — confirm subreddit, title, and body with the user before executing. Posts may be silently removed post-submission by automoderator or subreddit rules (errors: SUBMIT_VALIDATION_BODY_BLACKLISTED_STRING, POST_GUIDANCE_VALIDATION_FAILED); verify visibility via the returned permalink. Rapid consecutive calls trigger RATELIMIT errors with cooldown hints.\",\n input: RedditCreateRedditPostInput,\n output: RedditCreateRedditPostOutput,\n});\n"],"mappings":";;AAuBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,SAAS,oQAAoQ,CAAC,CAAC,SAAS;EACvT,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EACpK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,waAAwa,CAAC,CAAC,SAAS;EACjd,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACxH,CAgBS;CACP,QAhB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EACrI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2YAA2Y,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvc,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-reddit-post.mjs","names":[],"sources":["../../src/actions/create-reddit-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditCreateRedditPostInput = z.object({\n url: z.string().describe(\"The URL for a 'link' post. Required if `kind` is 'link'.\").optional(),\n kind: z.enum([\"link\", \"self\"]).describe(\"The type of the post. Use 'self' for a text-based post (when providing 'text') or 'link' for a post that links to an external URL (when providing 'url'). If omitted, it is automatically inferred: 'self' when 'text' is provided, 'link' when 'url' is provided.\").optional(),\n text: z.string().describe(\"The markdown-formatted text content for a 'self' post. Required if `kind` is 'self'. Body must not exceed ~40,000 characters.\").optional(),\n title: z.string().describe(\"The title of the post. Must be 300 characters or less.\"),\n flair_id: z.string().describe(\"ID of the post flair template (UUID format). Must be a valid flair template ID that exists for this specific subreddit. To get valid flair IDs, first use LIST_SUBREDDIT_POST_FLAIRS action for the target subreddit. Do not pass generic strings like 'general' or 'news' - these are not universal flair IDs. Some subreddits enforce mandatory flair; omitting or providing an invalid ID returns SUBMIT_VALIDATION_FLAIR_REQUIRED.\").optional(),\n subreddit: z.string().describe(\"The name of the subreddit (without the 'r/' prefix) where the post will be submitted.\"),\n});\nexport const RedditCreateRedditPostOutput = z.object({\n id: z.string().describe(\"The post's unique identifier (short ID, e.g., '96ak55'). Present when post creation succeeds.\").nullable().optional(),\n url: z.string().describe(\"The full URL to the newly created post on Reddit. Present when post creation succeeds.\").nullable().optional(),\n name: z.string().describe(\"The post's fullname with type prefix (e.g., 't3_96ak55' where 't3' indicates it's a link/post). Present when post creation succeeds.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the post was created successfully. If false, check 'validation_error' for details.\").nullable(),\n subreddit: z.string().describe(\"The subreddit name (without 'r/' prefix) - included when validation_error is present to help with flair lookup.\").nullable().optional(),\n drafts_count: z.number().int().describe(\"Count of draft submissions associated with the user account.\").nullable().optional(),\n validation_error: z.string().describe(\"Type of validation error if post creation failed due to subreddit requirements. Possible values include 'FLAIR_REQUIRED' (subreddit requires post flair), 'INVALID_FLAIR_ID' (provided flair_id is not valid for this subreddit), 'BODY_NOT_ALLOWED' (subreddit doesn't allow text posts), 'POST_GUIDANCE_VALIDATION_FAILED' (subreddit rules block this submission, often due to embedded URLs in text).\").nullable().optional(),\n validation_message: z.string().describe(\"Human-readable message explaining the validation error and how to resolve it.\").nullable().optional(),\n}).passthrough();\n\nexport const redditCreateRedditPost = action(\"REDDIT_CREATE_REDDIT_POST\", {\n slug: \"reddit-create-reddit-post\",\n name: \"Create a Reddit post\",\n description: \"Creates a new text or link post on a specified, existing Reddit subreddit, optionally applying a flair. Immediately publishes publicly visible content — confirm subreddit, title, and body with the user before executing. Posts may be silently removed post-submission by automoderator or subreddit rules (errors: SUBMIT_VALIDATION_BODY_BLACKLISTED_STRING, POST_GUIDANCE_VALIDATION_FAILED); verify visibility via the returned permalink. Rapid consecutive calls trigger RATELIMIT errors with cooldown hints.\",\n input: RedditCreateRedditPostInput,\n output: RedditCreateRedditPostOutput,\n});\n"],"mappings":";;AAuBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,SAAS,oQAAoQ,CAAC,CAAC,SAAS;EACvT,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EACpK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,waAAwa,CAAC,CAAC,SAAS;EACjd,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACxH,CAgBS;CACP,QAhB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EACrI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2YAA2Y,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvc,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-reddit-comment.ts
4
4
  const RedditDeleteRedditCommentInput = zod.z.object({ id: zod.z.string().describe("The full 'thing ID' (fullname, e.g., 't1_c0s4w1c') of the comment to delete; typically starts with 't1_'.") });
5
- const RedditDeleteRedditCommentOutput = zod.z.object({}).describe("Empty response for comment deletion.\n\nReddit's /api/del endpoint uses the @noresponse decorator and returns an empty response body.\nSuccess is indicated by the absence of errors and a successful HTTP status code.");
5
+ const RedditDeleteRedditCommentOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for comment deletion.\n\nReddit's /api/del endpoint uses the @noresponse decorator and returns an empty response body.\nSuccess is indicated by the absence of errors and a successful HTTP status code.");
6
6
  const redditDeleteRedditComment = require_action.action("REDDIT_DELETE_REDDIT_COMMENT", {
7
7
  slug: "reddit-delete-reddit-comment",
8
8
  name: "Delete Reddit comment",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reddit-comment.cjs","names":["z","action"],"sources":["../../src/actions/delete-reddit-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditDeleteRedditCommentInput = z.object({\n id: z.string().describe(\"The full 'thing ID' (fullname, e.g., 't1_c0s4w1c') of the comment to delete; typically starts with 't1_'.\"),\n});\nexport const RedditDeleteRedditCommentOutput = z.object({}).describe(\"Empty response for comment deletion.\\n\\nReddit's /api/del endpoint uses the @noresponse decorator and returns an empty response body.\\nSuccess is indicated by the absence of errors and a successful HTTP status code.\");\n\nexport const redditDeleteRedditComment = action(\"REDDIT_DELETE_REDDIT_COMMENT\", {\n slug: \"reddit-delete-reddit-comment\",\n name: \"Delete Reddit comment\",\n description: \"Deletes a Reddit comment, identified by its fullname ID, if it was authored by the authenticated user. Deletion is permanent and irreversible.\",\n input: RedditDeleteRedditCommentInput,\n output: RedditDeleteRedditCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EACrI,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yNAAyN;AAE9R,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-reddit-comment.cjs","names":["z","action"],"sources":["../../src/actions/delete-reddit-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditDeleteRedditCommentInput = z.object({\n id: z.string().describe(\"The full 'thing ID' (fullname, e.g., 't1_c0s4w1c') of the comment to delete; typically starts with 't1_'.\"),\n});\nexport const RedditDeleteRedditCommentOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for comment deletion.\\n\\nReddit's /api/del endpoint uses the @noresponse decorator and returns an empty response body.\\nSuccess is indicated by the absence of errors and a successful HTTP status code.\");\n\nexport const redditDeleteRedditComment = action(\"REDDIT_DELETE_REDDIT_COMMENT\", {\n slug: \"reddit-delete-reddit-comment\",\n name: \"Delete Reddit comment\",\n description: \"Deletes a Reddit comment, identified by its fullname ID, if it was authored by the authenticated user. Deletion is permanent and irreversible.\",\n input: RedditDeleteRedditCommentInput,\n output: RedditDeleteRedditCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EACrI,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yNAAyN;AAEnT,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,10 +4,22 @@ import { z } from "zod";
4
4
  declare const RedditDeleteRedditCommentInput: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  }, z.core.$strip>;
7
- declare const RedditDeleteRedditCommentOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const RedditDeleteRedditCommentOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const redditDeleteRedditComment: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
11
+ connectionId: z.ZodString;
12
+ entityId: z.ZodString;
13
+ instanceId: z.ZodString;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ accessToken: z.ZodString;
16
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>;
11
23
  //#endregion
12
24
  export { redditDeleteRedditComment };
13
25
  //# sourceMappingURL=delete-reddit-comment.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reddit-comment.d.cts","names":[],"sources":["../../src/actions/delete-reddit-comment.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"delete-reddit-comment.d.cts","names":[],"sources":["../../src/actions/delete-reddit-comment.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
@@ -4,10 +4,22 @@ import { z } from "zod";
4
4
  declare const RedditDeleteRedditCommentInput: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  }, z.core.$strip>;
7
- declare const RedditDeleteRedditCommentOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const RedditDeleteRedditCommentOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const redditDeleteRedditComment: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
11
+ connectionId: z.ZodString;
12
+ entityId: z.ZodString;
13
+ instanceId: z.ZodString;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ accessToken: z.ZodString;
16
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>;
11
23
  //#endregion
12
24
  export { redditDeleteRedditComment };
13
25
  //# sourceMappingURL=delete-reddit-comment.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reddit-comment.d.mts","names":[],"sources":["../../src/actions/delete-reddit-comment.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"delete-reddit-comment.d.mts","names":[],"sources":["../../src/actions/delete-reddit-comment.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
@@ -5,7 +5,7 @@ const redditDeleteRedditComment = action("REDDIT_DELETE_REDDIT_COMMENT", {
5
5
  name: "Delete Reddit comment",
6
6
  description: "Deletes a Reddit comment, identified by its fullname ID, if it was authored by the authenticated user. Deletion is permanent and irreversible.",
7
7
  input: z.object({ id: z.string().describe("The full 'thing ID' (fullname, e.g., 't1_c0s4w1c') of the comment to delete; typically starts with 't1_'.") }),
8
- output: z.object({}).describe("Empty response for comment deletion.\n\nReddit's /api/del endpoint uses the @noresponse decorator and returns an empty response body.\nSuccess is indicated by the absence of errors and a successful HTTP status code.")
8
+ output: z.record(z.string(), z.unknown()).describe("Empty response for comment deletion.\n\nReddit's /api/del endpoint uses the @noresponse decorator and returns an empty response body.\nSuccess is indicated by the absence of errors and a successful HTTP status code.")
9
9
  });
10
10
  //#endregion
11
11
  export { redditDeleteRedditComment };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reddit-comment.mjs","names":[],"sources":["../../src/actions/delete-reddit-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditDeleteRedditCommentInput = z.object({\n id: z.string().describe(\"The full 'thing ID' (fullname, e.g., 't1_c0s4w1c') of the comment to delete; typically starts with 't1_'.\"),\n});\nexport const RedditDeleteRedditCommentOutput = z.object({}).describe(\"Empty response for comment deletion.\\n\\nReddit's /api/del endpoint uses the @noresponse decorator and returns an empty response body.\\nSuccess is indicated by the absence of errors and a successful HTTP status code.\");\n\nexport const redditDeleteRedditComment = action(\"REDDIT_DELETE_REDDIT_COMMENT\", {\n slug: \"reddit-delete-reddit-comment\",\n name: \"Delete Reddit comment\",\n description: \"Deletes a Reddit comment, identified by its fullname ID, if it was authored by the authenticated user. Deletion is permanent and irreversible.\",\n input: RedditDeleteRedditCommentInput,\n output: RedditDeleteRedditCommentOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EACrI,CAOS;CACP,QAP6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yNAO3D;AACV,CAAC"}
1
+ {"version":3,"file":"delete-reddit-comment.mjs","names":[],"sources":["../../src/actions/delete-reddit-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditDeleteRedditCommentInput = z.object({\n id: z.string().describe(\"The full 'thing ID' (fullname, e.g., 't1_c0s4w1c') of the comment to delete; typically starts with 't1_'.\"),\n});\nexport const RedditDeleteRedditCommentOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for comment deletion.\\n\\nReddit's /api/del endpoint uses the @noresponse decorator and returns an empty response body.\\nSuccess is indicated by the absence of errors and a successful HTTP status code.\");\n\nexport const redditDeleteRedditComment = action(\"REDDIT_DELETE_REDDIT_COMMENT\", {\n slug: \"reddit-delete-reddit-comment\",\n name: \"Delete Reddit comment\",\n description: \"Deletes a Reddit comment, identified by its fullname ID, if it was authored by the authenticated user. Deletion is permanent and irreversible.\",\n input: RedditDeleteRedditCommentInput,\n output: RedditDeleteRedditCommentOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EACrI,CAOS;CACP,QAP6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yNAOhF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-reddit-post.ts
4
4
  const RedditDeleteRedditPostInput = zod.z.object({ id: zod.z.string().describe("The full name (fullname) of the Reddit post to be deleted. This ID must start with 't3_' followed by the post's unique base36 identifier.") });
5
- const RedditDeleteRedditPostOutput = zod.z.object({}).describe("Response from Reddit's /api/del endpoint.\n\nThe Reddit API /api/del endpoint returns an empty JSON object or empty response\nupon successful deletion. Reddit does not provide confirmation data, status fields,\nor deletion metadata in the response body. Success is indicated by HTTP status code\n(200 or 204) and the absence of errors in the json.errors array when api_type=json\nis used.");
5
+ const RedditDeleteRedditPostOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response from Reddit's /api/del endpoint.\n\nThe Reddit API /api/del endpoint returns an empty JSON object or empty response\nupon successful deletion. Reddit does not provide confirmation data, status fields,\nor deletion metadata in the response body. Success is indicated by HTTP status code\n(200 or 204) and the absence of errors in the json.errors array when api_type=json\nis used.");
6
6
  const redditDeleteRedditPost = require_action.action("REDDIT_DELETE_REDDIT_POST", {
7
7
  slug: "reddit-delete-reddit-post",
8
8
  name: "Delete a Reddit post",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reddit-post.cjs","names":["z","action"],"sources":["../../src/actions/delete-reddit-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditDeleteRedditPostInput = z.object({\n id: z.string().describe(\"The full name (fullname) of the Reddit post to be deleted. This ID must start with 't3_' followed by the post's unique base36 identifier.\"),\n});\nexport const RedditDeleteRedditPostOutput = z.object({}).describe(\"Response from Reddit's /api/del endpoint.\\n\\nThe Reddit API /api/del endpoint returns an empty JSON object or empty response\\nupon successful deletion. Reddit does not provide confirmation data, status fields,\\nor deletion metadata in the response body. Success is indicated by HTTP status code\\n(200 or 204) and the absence of errors in the json.errors array when api_type=json\\nis used.\");\n\nexport const redditDeleteRedditPost = action(\"REDDIT_DELETE_REDDIT_POST\", {\n slug: \"reddit-delete-reddit-post\",\n name: \"Delete a Reddit post\",\n description: \"Permanently and irreversibly deletes a Reddit post by its ID. Confirm with the user before calling. Only works on posts authored by the authenticated account; attempting to delete another user's post will fail.\",\n input: RedditDeleteRedditPostInput,\n output: RedditDeleteRedditPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACrK,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sYAAsY;AAExc,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-reddit-post.cjs","names":["z","action"],"sources":["../../src/actions/delete-reddit-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditDeleteRedditPostInput = z.object({\n id: z.string().describe(\"The full name (fullname) of the Reddit post to be deleted. This ID must start with 't3_' followed by the post's unique base36 identifier.\"),\n});\nexport const RedditDeleteRedditPostOutput = z.record(z.string(), z.unknown()).describe(\"Response from Reddit's /api/del endpoint.\\n\\nThe Reddit API /api/del endpoint returns an empty JSON object or empty response\\nupon successful deletion. Reddit does not provide confirmation data, status fields,\\nor deletion metadata in the response body. Success is indicated by HTTP status code\\n(200 or 204) and the absence of errors in the json.errors array when api_type=json\\nis used.\");\n\nexport const redditDeleteRedditPost = action(\"REDDIT_DELETE_REDDIT_POST\", {\n slug: \"reddit-delete-reddit-post\",\n name: \"Delete a Reddit post\",\n description: \"Permanently and irreversibly deletes a Reddit post by its ID. Confirm with the user before calling. Only works on posts authored by the authenticated account; attempting to delete another user's post will fail.\",\n input: RedditDeleteRedditPostInput,\n output: RedditDeleteRedditPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACrK,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sYAAsY;AAE7d,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,10 +4,22 @@ import { z } from "zod";
4
4
  declare const RedditDeleteRedditPostInput: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  }, z.core.$strip>;
7
- declare const RedditDeleteRedditPostOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const RedditDeleteRedditPostOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const redditDeleteRedditPost: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
11
+ connectionId: z.ZodString;
12
+ entityId: z.ZodString;
13
+ instanceId: z.ZodString;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ accessToken: z.ZodString;
16
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>;
11
23
  //#endregion
12
24
  export { redditDeleteRedditPost };
13
25
  //# sourceMappingURL=delete-reddit-post.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reddit-post.d.cts","names":[],"sources":["../../src/actions/delete-reddit-post.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-reddit-post.d.cts","names":[],"sources":["../../src/actions/delete-reddit-post.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
@@ -4,10 +4,22 @@ import { z } from "zod";
4
4
  declare const RedditDeleteRedditPostInput: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  }, z.core.$strip>;
7
- declare const RedditDeleteRedditPostOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const RedditDeleteRedditPostOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const redditDeleteRedditPost: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
11
+ connectionId: z.ZodString;
12
+ entityId: z.ZodString;
13
+ instanceId: z.ZodString;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ accessToken: z.ZodString;
16
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>;
11
23
  //#endregion
12
24
  export { redditDeleteRedditPost };
13
25
  //# sourceMappingURL=delete-reddit-post.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reddit-post.d.mts","names":[],"sources":["../../src/actions/delete-reddit-post.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-reddit-post.d.mts","names":[],"sources":["../../src/actions/delete-reddit-post.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
@@ -5,7 +5,7 @@ const redditDeleteRedditPost = action("REDDIT_DELETE_REDDIT_POST", {
5
5
  name: "Delete a Reddit post",
6
6
  description: "Permanently and irreversibly deletes a Reddit post by its ID. Confirm with the user before calling. Only works on posts authored by the authenticated account; attempting to delete another user's post will fail.",
7
7
  input: z.object({ id: z.string().describe("The full name (fullname) of the Reddit post to be deleted. This ID must start with 't3_' followed by the post's unique base36 identifier.") }),
8
- output: z.object({}).describe("Response from Reddit's /api/del endpoint.\n\nThe Reddit API /api/del endpoint returns an empty JSON object or empty response\nupon successful deletion. Reddit does not provide confirmation data, status fields,\nor deletion metadata in the response body. Success is indicated by HTTP status code\n(200 or 204) and the absence of errors in the json.errors array when api_type=json\nis used.")
8
+ output: z.record(z.string(), z.unknown()).describe("Response from Reddit's /api/del endpoint.\n\nThe Reddit API /api/del endpoint returns an empty JSON object or empty response\nupon successful deletion. Reddit does not provide confirmation data, status fields,\nor deletion metadata in the response body. Success is indicated by HTTP status code\n(200 or 204) and the absence of errors in the json.errors array when api_type=json\nis used.")
9
9
  });
10
10
  //#endregion
11
11
  export { redditDeleteRedditPost };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reddit-post.mjs","names":[],"sources":["../../src/actions/delete-reddit-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditDeleteRedditPostInput = z.object({\n id: z.string().describe(\"The full name (fullname) of the Reddit post to be deleted. This ID must start with 't3_' followed by the post's unique base36 identifier.\"),\n});\nexport const RedditDeleteRedditPostOutput = z.object({}).describe(\"Response from Reddit's /api/del endpoint.\\n\\nThe Reddit API /api/del endpoint returns an empty JSON object or empty response\\nupon successful deletion. Reddit does not provide confirmation data, status fields,\\nor deletion metadata in the response body. Success is indicated by HTTP status code\\n(200 or 204) and the absence of errors in the json.errors array when api_type=json\\nis used.\");\n\nexport const redditDeleteRedditPost = action(\"REDDIT_DELETE_REDDIT_POST\", {\n slug: \"reddit-delete-reddit-post\",\n name: \"Delete a Reddit post\",\n description: \"Permanently and irreversibly deletes a Reddit post by its ID. Confirm with the user before calling. Only works on posts authored by the authenticated account; attempting to delete another user's post will fail.\",\n input: RedditDeleteRedditPostInput,\n output: RedditDeleteRedditPostOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACrK,CAOS;CACP,QAP0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sYAOxD;AACV,CAAC"}
1
+ {"version":3,"file":"delete-reddit-post.mjs","names":[],"sources":["../../src/actions/delete-reddit-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditDeleteRedditPostInput = z.object({\n id: z.string().describe(\"The full name (fullname) of the Reddit post to be deleted. This ID must start with 't3_' followed by the post's unique base36 identifier.\"),\n});\nexport const RedditDeleteRedditPostOutput = z.record(z.string(), z.unknown()).describe(\"Response from Reddit's /api/del endpoint.\\n\\nThe Reddit API /api/del endpoint returns an empty JSON object or empty response\\nupon successful deletion. Reddit does not provide confirmation data, status fields,\\nor deletion metadata in the response body. Success is indicated by HTTP status code\\n(200 or 204) and the absence of errors in the json.errors array when api_type=json\\nis used.\");\n\nexport const redditDeleteRedditPost = action(\"REDDIT_DELETE_REDDIT_POST\", {\n slug: \"reddit-delete-reddit-post\",\n name: \"Delete a Reddit post\",\n description: \"Permanently and irreversibly deletes a Reddit post by its ID. Confirm with the user before calling. Only works on posts authored by the authenticated account; attempting to delete another user's post will fail.\",\n input: RedditDeleteRedditPostInput,\n output: RedditDeleteRedditPostOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACrK,CAOS;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sYAO7E;AACV,CAAC"}
@@ -59,12 +59,12 @@ const RedditEditRedditCommentOrPost_EditedThingDataSchema = zod.z.object({
59
59
  total_awards_received: zod.z.number().int().describe("Total number of awards received.").nullable().optional(),
60
60
  author_flair_css_class: zod.z.string().describe("The CSS class of the author's flair. Subreddit specific.").nullable().optional(),
61
61
  author_flair_template_id: zod.z.string().describe("The template ID of the author's flair.").nullable().optional()
62
- }).describe("The edited thing's data attributes returned by the Reddit API editusertext endpoint.");
62
+ }).passthrough().describe("The edited thing's data attributes returned by the Reddit API editusertext endpoint.");
63
63
  const RedditEditRedditCommentOrPost_EditJsonResponseSchema = zod.z.object({
64
64
  data: RedditEditRedditCommentOrPost_EditedThingDataSchema.nullable(),
65
65
  errors: zod.z.array(zod.z.array(zod.z.string())).describe("Array of error messages. Empty array if the operation was successful.")
66
- }).describe("The json wrapper for the edit response.");
67
- const RedditEditRedditCommentOrPostOutput = zod.z.object({ json: RedditEditRedditCommentOrPost_EditJsonResponseSchema.nullable() }).describe("Response from editing a Reddit comment or post.");
66
+ }).passthrough().describe("The json wrapper for the edit response.");
67
+ const RedditEditRedditCommentOrPostOutput = zod.z.object({ json: RedditEditRedditCommentOrPost_EditJsonResponseSchema.nullable() }).passthrough().describe("Response from editing a Reddit comment or post.");
68
68
  const redditEditRedditCommentOrPost = require_action.action("REDDIT_EDIT_REDDIT_COMMENT_OR_POST", {
69
69
  slug: "reddit-edit-reddit-comment-or-post",
70
70
  name: "Edit comment or post",
@@ -1 +1 @@
1
- {"version":3,"file":"edit-reddit-comment-or-post.cjs","names":["z","action"],"sources":["../../src/actions/edit-reddit-comment-or-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditEditRedditCommentOrPostInput = z.object({\n text: z.string().describe(\"The new raw markdown text for the body of the comment or self-post.\"),\n thing_id: z.string().describe(\"The full name (fullname) of the comment or self-post to edit. This is a combination of a prefix (e.g., 't1_' for comment, 't3_' for post) and the item's ID.\"),\n});\nconst RedditEditRedditCommentOrPost_EditedThingDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the comment or post.\").nullable().optional(),\n ups: z.number().int().describe(\"Number of upvotes including the user's own vote.\").nullable().optional(),\n body: z.string().describe(\"The raw text content (for comments). This is the unformatted text which includes the raw markup characters.\").nullable().optional(),\n name: z.string().describe(\"The fullname of the thing (e.g., t1_abc123 for comment, t3_xyz789 for post).\").nullable().optional(),\n downs: z.number().int().describe(\"Number of downvotes including the user's own vote.\").nullable().optional(),\n likes: z.boolean().describe(\"User's vote status. True for upvoted, False for downvoted, null if no vote.\").nullable().optional(),\n saved: z.boolean().describe(\"Whether the logged-in user has saved this item.\").nullable().optional(),\n score: z.number().int().describe(\"Net upvotes minus downvotes.\").nullable().optional(),\n author: z.string().describe(\"Account name of the author.\").nullable().optional(),\n edited: z.union([z.boolean(), z.number().int(), z.number()]).nullable().optional(),\n gilded: z.number().int().describe(\"Number of times the comment or post received Reddit gold.\").nullable().optional(),\n created: z.number().describe(\"Creation timestamp in local epoch-seconds.\").nullable().optional(),\n link_id: z.string().describe(\"Identifier of the parent link (for comments only).\").nullable().optional(),\n replies: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the item is archived.\").nullable().optional(),\n link_url: z.string().describe(\"URL of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n mod_note: z.string().describe(\"Moderator note on the item.\").nullable().optional(),\n banned_by: z.string().describe(\"Who removed this item. Null if nobody or you are not a mod.\").nullable().optional(),\n body_html: z.string().describe(\"The formatted HTML text as displayed on Reddit (for comments).\").nullable().optional(),\n no_follow: z.boolean().describe(\"Whether the item has a nofollow attribute.\").nullable().optional(),\n parent_id: z.string().describe(\"Identifier of the parent comment or link (for comments only).\").nullable().optional(),\n subreddit: z.string().describe(\"Subreddit name without /r/ prefix.\").nullable().optional(),\n link_title: z.string().describe(\"Title of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n approved_by: z.string().describe(\"Who approved this item. Null if nobody or you are not a mod.\").nullable().optional(),\n created_utc: z.number().describe(\"Creation timestamp in UTC epoch-seconds.\").nullable().optional(),\n link_author: z.string().describe(\"Author of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n num_reports: z.number().int().describe(\"Report count. Null if not a moderator.\").nullable().optional(),\n can_mod_post: z.boolean().describe(\"Whether the current user can moderate this post.\").nullable().optional(),\n comment_type: z.string().describe(\"Type of comment (for comments only).\").nullable().optional(),\n is_submitter: z.boolean().describe(\"Whether the comment author is also the author of the submission (for comments only).\").nullable().optional(),\n score_hidden: z.boolean().describe(\"Whether the comment's score is currently hidden (for comments only).\").nullable().optional(),\n send_replies: z.boolean().describe(\"Whether to send inbox replies for responses to this item.\").nullable().optional(),\n subreddit_id: z.string().describe(\"Identifier of the parent subreddit.\").nullable().optional(),\n all_awardings: z.array(z.record(z.string(), z.unknown())).describe(\"Array of all awards given to this item.\").nullable().optional(),\n banned_at_utc: z.number().describe(\"UTC timestamp when the item was banned/removed.\").nullable().optional(),\n distinguished: z.string().describe(\"Null for not distinguished, 'moderator' for the green [M], 'admin' for the red [A], or 'special' for various other special distinguishes.\").nullable().optional(),\n mod_reason_by: z.string().describe(\"Moderator who provided the removal reason.\").nullable().optional(),\n author_premium: z.boolean().describe(\"Whether the author has Reddit Premium.\").nullable().optional(),\n removal_reason: z.string().describe(\"Reason for removal if the item was removed.\").nullable().optional(),\n approved_at_utc: z.number().describe(\"UTC timestamp when the item was approved.\").nullable().optional(),\n author_fullname: z.string().describe(\"The fullname of the author account.\").nullable().optional(),\n mod_reason_title: z.string().describe(\"Title of the moderator's removal reason.\").nullable().optional(),\n author_flair_text: z.string().describe(\"The text of the author's flair. Subreddit specific.\").nullable().optional(),\n author_flair_type: z.string().describe(\"The type of the author's flair.\").nullable().optional(),\n author_is_blocked: z.boolean().describe(\"Whether the author is blocked by the current user.\").nullable().optional(),\n collapsed_reason_code: z.string().describe(\"Code indicating why the comment is collapsed (for comments only).\").nullable().optional(),\n total_awards_received: z.number().int().describe(\"Total number of awards received.\").nullable().optional(),\n author_flair_css_class: z.string().describe(\"The CSS class of the author's flair. Subreddit specific.\").nullable().optional(),\n author_flair_template_id: z.string().describe(\"The template ID of the author's flair.\").nullable().optional(),\n}).describe(\"The edited thing's data attributes returned by the Reddit API editusertext endpoint.\");\nconst RedditEditRedditCommentOrPost_EditJsonResponseSchema = z.object({\n data: RedditEditRedditCommentOrPost_EditedThingDataSchema.nullable(),\n errors: z.array(z.array(z.string())).describe(\"Array of error messages. Empty array if the operation was successful.\"),\n}).describe(\"The json wrapper for the edit response.\");\nexport const RedditEditRedditCommentOrPostOutput = z.object({\n json: RedditEditRedditCommentOrPost_EditJsonResponseSchema.nullable(),\n}).describe(\"Response from editing a Reddit comment or post.\");\n\nexport const redditEditRedditCommentOrPost = action(\"REDDIT_EDIT_REDDIT_COMMENT_OR_POST\", {\n slug: \"reddit-edit-reddit-comment-or-post\",\n name: \"Edit comment or post\",\n description: \"Edits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles.\",\n input: RedditEditRedditCommentOrPostInput,\n output: RedditEditRedditCommentOrPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;AAC9L,CAAC;AACD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,OAA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MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"edit-reddit-comment-or-post.cjs","names":["z","action"],"sources":["../../src/actions/edit-reddit-comment-or-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditEditRedditCommentOrPostInput = z.object({\n text: z.string().describe(\"The new raw markdown text for the body of the comment or self-post.\"),\n thing_id: z.string().describe(\"The full name (fullname) of the comment or self-post to edit. This is a combination of a prefix (e.g., 't1_' for comment, 't3_' for post) and the item's ID.\"),\n});\nconst RedditEditRedditCommentOrPost_EditedThingDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the comment or post.\").nullable().optional(),\n ups: z.number().int().describe(\"Number of upvotes including the user's own vote.\").nullable().optional(),\n body: z.string().describe(\"The raw text content (for comments). This is the unformatted text which includes the raw markup characters.\").nullable().optional(),\n name: z.string().describe(\"The fullname of the thing (e.g., t1_abc123 for comment, t3_xyz789 for post).\").nullable().optional(),\n downs: z.number().int().describe(\"Number of downvotes including the user's own vote.\").nullable().optional(),\n likes: z.boolean().describe(\"User's vote status. True for upvoted, False for downvoted, null if no vote.\").nullable().optional(),\n saved: z.boolean().describe(\"Whether the logged-in user has saved this item.\").nullable().optional(),\n score: z.number().int().describe(\"Net upvotes minus downvotes.\").nullable().optional(),\n author: z.string().describe(\"Account name of the author.\").nullable().optional(),\n edited: z.union([z.boolean(), z.number().int(), z.number()]).nullable().optional(),\n gilded: z.number().int().describe(\"Number of times the comment or post received Reddit gold.\").nullable().optional(),\n created: z.number().describe(\"Creation timestamp in local epoch-seconds.\").nullable().optional(),\n link_id: z.string().describe(\"Identifier of the parent link (for comments only).\").nullable().optional(),\n replies: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the item is archived.\").nullable().optional(),\n link_url: z.string().describe(\"URL of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n mod_note: z.string().describe(\"Moderator note on the item.\").nullable().optional(),\n banned_by: z.string().describe(\"Who removed this item. Null if nobody or you are not a mod.\").nullable().optional(),\n body_html: z.string().describe(\"The formatted HTML text as displayed on Reddit (for comments).\").nullable().optional(),\n no_follow: z.boolean().describe(\"Whether the item has a nofollow attribute.\").nullable().optional(),\n parent_id: z.string().describe(\"Identifier of the parent comment or link (for comments only).\").nullable().optional(),\n subreddit: z.string().describe(\"Subreddit name without /r/ prefix.\").nullable().optional(),\n link_title: z.string().describe(\"Title of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n approved_by: z.string().describe(\"Who approved this item. Null if nobody or you are not a mod.\").nullable().optional(),\n created_utc: z.number().describe(\"Creation timestamp in UTC epoch-seconds.\").nullable().optional(),\n link_author: z.string().describe(\"Author of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n num_reports: z.number().int().describe(\"Report count. Null if not a moderator.\").nullable().optional(),\n can_mod_post: z.boolean().describe(\"Whether the current user can moderate this post.\").nullable().optional(),\n comment_type: z.string().describe(\"Type of comment (for comments only).\").nullable().optional(),\n is_submitter: z.boolean().describe(\"Whether the comment author is also the author of the submission (for comments only).\").nullable().optional(),\n score_hidden: z.boolean().describe(\"Whether the comment's score is currently hidden (for comments only).\").nullable().optional(),\n send_replies: z.boolean().describe(\"Whether to send inbox replies for responses to this item.\").nullable().optional(),\n subreddit_id: z.string().describe(\"Identifier of the parent subreddit.\").nullable().optional(),\n all_awardings: z.array(z.record(z.string(), z.unknown())).describe(\"Array of all awards given to this item.\").nullable().optional(),\n banned_at_utc: z.number().describe(\"UTC timestamp when the item was banned/removed.\").nullable().optional(),\n distinguished: z.string().describe(\"Null for not distinguished, 'moderator' for the green [M], 'admin' for the red [A], or 'special' for various other special distinguishes.\").nullable().optional(),\n mod_reason_by: z.string().describe(\"Moderator who provided the removal reason.\").nullable().optional(),\n author_premium: z.boolean().describe(\"Whether the author has Reddit Premium.\").nullable().optional(),\n removal_reason: z.string().describe(\"Reason for removal if the item was removed.\").nullable().optional(),\n approved_at_utc: z.number().describe(\"UTC timestamp when the item was approved.\").nullable().optional(),\n author_fullname: z.string().describe(\"The fullname of the author account.\").nullable().optional(),\n mod_reason_title: z.string().describe(\"Title of the moderator's removal reason.\").nullable().optional(),\n author_flair_text: z.string().describe(\"The text of the author's flair. Subreddit specific.\").nullable().optional(),\n author_flair_type: z.string().describe(\"The type of the author's flair.\").nullable().optional(),\n author_is_blocked: z.boolean().describe(\"Whether the author is blocked by the current user.\").nullable().optional(),\n collapsed_reason_code: z.string().describe(\"Code indicating why the comment is collapsed (for comments only).\").nullable().optional(),\n total_awards_received: z.number().int().describe(\"Total number of awards received.\").nullable().optional(),\n author_flair_css_class: z.string().describe(\"The CSS class of the author's flair. Subreddit specific.\").nullable().optional(),\n author_flair_template_id: z.string().describe(\"The template ID of the author's flair.\").nullable().optional(),\n}).passthrough().describe(\"The edited thing's data attributes returned by the Reddit API editusertext endpoint.\");\nconst RedditEditRedditCommentOrPost_EditJsonResponseSchema = z.object({\n data: RedditEditRedditCommentOrPost_EditedThingDataSchema.nullable(),\n errors: z.array(z.array(z.string())).describe(\"Array of error messages. Empty array if the operation was successful.\"),\n}).passthrough().describe(\"The json wrapper for the edit response.\");\nexport const RedditEditRedditCommentOrPostOutput = z.object({\n json: RedditEditRedditCommentOrPost_EditJsonResponseSchema.nullable(),\n}).passthrough().describe(\"Response from editing a Reddit comment or post.\");\n\nexport const redditEditRedditCommentOrPost = action(\"REDDIT_EDIT_REDDIT_COMMENT_OR_POST\", {\n slug: \"reddit-edit-reddit-comment-or-post\",\n name: \"Edit comment or post\",\n description: \"Edits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles.\",\n input: RedditEditRedditCommentOrPostInput,\n output: Reddit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uBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAAsF;AAChH,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAM,oDAAoD,SAAS;CACnE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -57,14 +57,26 @@ declare const RedditEditRedditCommentOrPostOutput: z.ZodObject<{
57
57
  total_awards_received: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
58
  author_flair_css_class: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  author_flair_template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>>;
60
+ }, z.core.$loose>>;
61
61
  errors: z.ZodArray<z.ZodArray<z.ZodString>>;
62
- }, z.core.$strip>>;
63
- }, z.core.$strip>;
62
+ }, z.core.$loose>>;
63
+ }, z.core.$loose>;
64
64
  declare const redditEditRedditCommentOrPost: import("@keystrokehq/action").WorkflowActionDefinition<{
65
65
  text: string;
66
66
  thing_id: string;
67
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
67
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
68
+ connectionId: z.ZodString;
69
+ entityId: z.ZodString;
70
+ instanceId: z.ZodString;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ accessToken: z.ZodString;
73
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
74
+ connectionId: z.ZodString;
75
+ entityId: z.ZodString;
76
+ instanceId: z.ZodString;
77
+ }, z.core.$strip>, z.ZodObject<{
78
+ accessToken: z.ZodString;
79
+ }, z.core.$strip>>]>;
68
80
  //#endregion
69
81
  export { redditEditRedditCommentOrPost };
70
82
  //# sourceMappingURL=edit-reddit-comment-or-post.d.cts.map
@@ -57,14 +57,26 @@ declare const RedditEditRedditCommentOrPostOutput: z.ZodObject<{
57
57
  total_awards_received: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
58
  author_flair_css_class: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  author_flair_template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>>;
60
+ }, z.core.$loose>>;
61
61
  errors: z.ZodArray<z.ZodArray<z.ZodString>>;
62
- }, z.core.$strip>>;
63
- }, z.core.$strip>;
62
+ }, z.core.$loose>>;
63
+ }, z.core.$loose>;
64
64
  declare const redditEditRedditCommentOrPost: import("@keystrokehq/action").WorkflowActionDefinition<{
65
65
  text: string;
66
66
  thing_id: string;
67
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
67
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
68
+ connectionId: z.ZodString;
69
+ entityId: z.ZodString;
70
+ instanceId: z.ZodString;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ accessToken: z.ZodString;
73
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit", z.ZodObject<{
74
+ connectionId: z.ZodString;
75
+ entityId: z.ZodString;
76
+ instanceId: z.ZodString;
77
+ }, z.core.$strip>, z.ZodObject<{
78
+ accessToken: z.ZodString;
79
+ }, z.core.$strip>>]>;
68
80
  //#endregion
69
81
  export { redditEditRedditCommentOrPost };
70
82
  //# sourceMappingURL=edit-reddit-comment-or-post.d.mts.map
@@ -59,17 +59,17 @@ const RedditEditRedditCommentOrPost_EditedThingDataSchema = z.object({
59
59
  total_awards_received: z.number().int().describe("Total number of awards received.").nullable().optional(),
60
60
  author_flair_css_class: z.string().describe("The CSS class of the author's flair. Subreddit specific.").nullable().optional(),
61
61
  author_flair_template_id: z.string().describe("The template ID of the author's flair.").nullable().optional()
62
- }).describe("The edited thing's data attributes returned by the Reddit API editusertext endpoint.");
62
+ }).passthrough().describe("The edited thing's data attributes returned by the Reddit API editusertext endpoint.");
63
63
  const RedditEditRedditCommentOrPost_EditJsonResponseSchema = z.object({
64
64
  data: RedditEditRedditCommentOrPost_EditedThingDataSchema.nullable(),
65
65
  errors: z.array(z.array(z.string())).describe("Array of error messages. Empty array if the operation was successful.")
66
- }).describe("The json wrapper for the edit response.");
66
+ }).passthrough().describe("The json wrapper for the edit response.");
67
67
  const redditEditRedditCommentOrPost = action("REDDIT_EDIT_REDDIT_COMMENT_OR_POST", {
68
68
  slug: "reddit-edit-reddit-comment-or-post",
69
69
  name: "Edit comment or post",
70
70
  description: "Edits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles.",
71
71
  input: RedditEditRedditCommentOrPostInput,
72
- output: z.object({ json: RedditEditRedditCommentOrPost_EditJsonResponseSchema.nullable() }).describe("Response from editing a Reddit comment or post.")
72
+ output: z.object({ json: RedditEditRedditCommentOrPost_EditJsonResponseSchema.nullable() }).passthrough().describe("Response from editing a Reddit comment or post.")
73
73
  });
74
74
  //#endregion
75
75
  export { redditEditRedditCommentOrPost };
@@ -1 +1 @@
1
- {"version":3,"file":"edit-reddit-comment-or-post.mjs","names":[],"sources":["../../src/actions/edit-reddit-comment-or-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditEditRedditCommentOrPostInput = z.object({\n text: z.string().describe(\"The new raw markdown text for the body of the comment or self-post.\"),\n thing_id: z.string().describe(\"The full name (fullname) of the comment or self-post to edit. This is a combination of a prefix (e.g., 't1_' for comment, 't3_' for post) and the item's ID.\"),\n});\nconst RedditEditRedditCommentOrPost_EditedThingDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the comment or post.\").nullable().optional(),\n ups: z.number().int().describe(\"Number of upvotes including the user's own vote.\").nullable().optional(),\n body: z.string().describe(\"The raw text content (for comments). This is the unformatted text which includes the raw markup characters.\").nullable().optional(),\n name: z.string().describe(\"The fullname of the thing (e.g., t1_abc123 for comment, t3_xyz789 for post).\").nullable().optional(),\n downs: z.number().int().describe(\"Number of downvotes including the user's own vote.\").nullable().optional(),\n likes: z.boolean().describe(\"User's vote status. True for upvoted, False for downvoted, null if no vote.\").nullable().optional(),\n saved: z.boolean().describe(\"Whether the logged-in user has saved this item.\").nullable().optional(),\n score: z.number().int().describe(\"Net upvotes minus downvotes.\").nullable().optional(),\n author: z.string().describe(\"Account name of the author.\").nullable().optional(),\n edited: z.union([z.boolean(), z.number().int(), z.number()]).nullable().optional(),\n gilded: z.number().int().describe(\"Number of times the comment or post received Reddit gold.\").nullable().optional(),\n created: z.number().describe(\"Creation timestamp in local epoch-seconds.\").nullable().optional(),\n link_id: z.string().describe(\"Identifier of the parent link (for comments only).\").nullable().optional(),\n replies: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the item is archived.\").nullable().optional(),\n link_url: z.string().describe(\"URL of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n mod_note: z.string().describe(\"Moderator note on the item.\").nullable().optional(),\n banned_by: z.string().describe(\"Who removed this item. Null if nobody or you are not a mod.\").nullable().optional(),\n body_html: z.string().describe(\"The formatted HTML text as displayed on Reddit (for comments).\").nullable().optional(),\n no_follow: z.boolean().describe(\"Whether the item has a nofollow attribute.\").nullable().optional(),\n parent_id: z.string().describe(\"Identifier of the parent comment or link (for comments only).\").nullable().optional(),\n subreddit: z.string().describe(\"Subreddit name without /r/ prefix.\").nullable().optional(),\n link_title: z.string().describe(\"Title of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n approved_by: z.string().describe(\"Who approved this item. Null if nobody or you are not a mod.\").nullable().optional(),\n created_utc: z.number().describe(\"Creation timestamp in UTC epoch-seconds.\").nullable().optional(),\n link_author: z.string().describe(\"Author of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n num_reports: z.number().int().describe(\"Report count. Null if not a moderator.\").nullable().optional(),\n can_mod_post: z.boolean().describe(\"Whether the current user can moderate this post.\").nullable().optional(),\n comment_type: z.string().describe(\"Type of comment (for comments only).\").nullable().optional(),\n is_submitter: z.boolean().describe(\"Whether the comment author is also the author of the submission (for comments only).\").nullable().optional(),\n score_hidden: z.boolean().describe(\"Whether the comment's score is currently hidden (for comments only).\").nullable().optional(),\n send_replies: z.boolean().describe(\"Whether to send inbox replies for responses to this item.\").nullable().optional(),\n subreddit_id: z.string().describe(\"Identifier of the parent subreddit.\").nullable().optional(),\n all_awardings: z.array(z.record(z.string(), z.unknown())).describe(\"Array of all awards given to this item.\").nullable().optional(),\n banned_at_utc: z.number().describe(\"UTC timestamp when the item was banned/removed.\").nullable().optional(),\n distinguished: z.string().describe(\"Null for not distinguished, 'moderator' for the green [M], 'admin' for the red [A], or 'special' for various other special distinguishes.\").nullable().optional(),\n mod_reason_by: z.string().describe(\"Moderator who provided the removal reason.\").nullable().optional(),\n author_premium: z.boolean().describe(\"Whether the author has Reddit Premium.\").nullable().optional(),\n removal_reason: z.string().describe(\"Reason for removal if the item was removed.\").nullable().optional(),\n approved_at_utc: z.number().describe(\"UTC timestamp when the item was approved.\").nullable().optional(),\n author_fullname: z.string().describe(\"The fullname of the author account.\").nullable().optional(),\n mod_reason_title: z.string().describe(\"Title of the moderator's removal reason.\").nullable().optional(),\n author_flair_text: z.string().describe(\"The text of the author's flair. Subreddit specific.\").nullable().optional(),\n author_flair_type: z.string().describe(\"The type of the author's flair.\").nullable().optional(),\n author_is_blocked: z.boolean().describe(\"Whether the author is blocked by the current user.\").nullable().optional(),\n collapsed_reason_code: z.string().describe(\"Code indicating why the comment is collapsed (for comments only).\").nullable().optional(),\n total_awards_received: z.number().int().describe(\"Total number of awards received.\").nullable().optional(),\n author_flair_css_class: z.string().describe(\"The CSS class of the author's flair. Subreddit specific.\").nullable().optional(),\n author_flair_template_id: z.string().describe(\"The template ID of the author's flair.\").nullable().optional(),\n}).describe(\"The edited thing's data attributes returned by the Reddit API editusertext endpoint.\");\nconst RedditEditRedditCommentOrPost_EditJsonResponseSchema = z.object({\n data: RedditEditRedditCommentOrPost_EditedThingDataSchema.nullable(),\n errors: z.array(z.array(z.string())).describe(\"Array of error messages. Empty array if the operation was successful.\"),\n}).describe(\"The json wrapper for the edit response.\");\nexport const RedditEditRedditCommentOrPostOutput = z.object({\n json: RedditEditRedditCommentOrPost_EditJsonResponseSchema.nullable(),\n}).describe(\"Response from editing a Reddit comment or post.\");\n\nexport const redditEditRedditCommentOrPost = action(\"REDDIT_EDIT_REDDIT_COMMENT_OR_POST\", {\n slug: \"reddit-edit-reddit-comment-or-post\",\n name: \"Edit comment or post\",\n description: \"Edits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles.\",\n input: RedditEditRedditCommentOr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Q,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACvH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAKrD,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"edit-reddit-comment-or-post.mjs","names":[],"sources":["../../src/actions/edit-reddit-comment-or-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditEditRedditCommentOrPostInput = z.object({\n text: z.string().describe(\"The new raw markdown text for the body of the comment or self-post.\"),\n thing_id: z.string().describe(\"The full name (fullname) of the comment or self-post to edit. This is a combination of a prefix (e.g., 't1_' for comment, 't3_' for post) and the item's ID.\"),\n});\nconst RedditEditRedditCommentOrPost_EditedThingDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the comment or post.\").nullable().optional(),\n ups: z.number().int().describe(\"Number of upvotes including the user's own vote.\").nullable().optional(),\n body: z.string().describe(\"The raw text content (for comments). This is the unformatted text which includes the raw markup characters.\").nullable().optional(),\n name: z.string().describe(\"The fullname of the thing (e.g., t1_abc123 for comment, t3_xyz789 for post).\").nullable().optional(),\n downs: z.number().int().describe(\"Number of downvotes including the user's own vote.\").nullable().optional(),\n likes: z.boolean().describe(\"User's vote status. True for upvoted, False for downvoted, null if no vote.\").nullable().optional(),\n saved: z.boolean().describe(\"Whether the logged-in user has saved this item.\").nullable().optional(),\n score: z.number().int().describe(\"Net upvotes minus downvotes.\").nullable().optional(),\n author: z.string().describe(\"Account name of the author.\").nullable().optional(),\n edited: z.union([z.boolean(), z.number().int(), z.number()]).nullable().optional(),\n gilded: z.number().int().describe(\"Number of times the comment or post received Reddit gold.\").nullable().optional(),\n created: z.number().describe(\"Creation timestamp in local epoch-seconds.\").nullable().optional(),\n link_id: z.string().describe(\"Identifier of the parent link (for comments only).\").nullable().optional(),\n replies: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the item is archived.\").nullable().optional(),\n link_url: z.string().describe(\"URL of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n mod_note: z.string().describe(\"Moderator note on the item.\").nullable().optional(),\n banned_by: z.string().describe(\"Who removed this item. Null if nobody or you are not a mod.\").nullable().optional(),\n body_html: z.string().describe(\"The formatted HTML text as displayed on Reddit (for comments).\").nullable().optional(),\n no_follow: z.boolean().describe(\"Whether the item has a nofollow attribute.\").nullable().optional(),\n parent_id: z.string().describe(\"Identifier of the parent comment or link (for comments only).\").nullable().optional(),\n subreddit: z.string().describe(\"Subreddit name without /r/ prefix.\").nullable().optional(),\n link_title: z.string().describe(\"Title of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n approved_by: z.string().describe(\"Who approved this item. Null if nobody or you are not a mod.\").nullable().optional(),\n created_utc: z.number().describe(\"Creation timestamp in UTC epoch-seconds.\").nullable().optional(),\n link_author: z.string().describe(\"Author of the parent link when displayed outside its thread (for comments only).\").nullable().optional(),\n num_reports: z.number().int().describe(\"Report count. Null if not a moderator.\").nullable().optional(),\n can_mod_post: z.boolean().describe(\"Whether the current user can moderate this post.\").nullable().optional(),\n comment_type: z.string().describe(\"Type of comment (for comments only).\").nullable().optional(),\n is_submitter: z.boolean().describe(\"Whether the comment author is also the author of the submission (for comments only).\").nullable().optional(),\n score_hidden: z.boolean().describe(\"Whether the comment's score is currently hidden (for comments only).\").nullable().optional(),\n send_replies: z.boolean().describe(\"Whether to send inbox replies for responses to this item.\").nullable().optional(),\n subreddit_id: z.string().describe(\"Identifier of the parent subreddit.\").nullable().optional(),\n all_awardings: z.array(z.record(z.string(), z.unknown())).describe(\"Array of all awards given to this item.\").nullable().optional(),\n banned_at_utc: z.number().describe(\"UTC timestamp when the item was banned/removed.\").nullable().optional(),\n distinguished: z.string().describe(\"Null for not distinguished, 'moderator' for the green [M], 'admin' for the red [A], or 'special' for various other special distinguishes.\").nullable().optional(),\n mod_reason_by: z.string().describe(\"Moderator who provided the removal reason.\").nullable().optional(),\n author_premium: z.boolean().describe(\"Whether the author has Reddit Premium.\").nullable().optional(),\n removal_reason: z.string().describe(\"Reason for removal if the item was removed.\").nullable().optional(),\n approved_at_utc: z.number().describe(\"UTC timestamp when the item was approved.\").nullable().optional(),\n author_fullname: z.string().describe(\"The fullname of the author account.\").nullable().optional(),\n mod_reason_title: z.string().describe(\"Title of the moderator's removal reason.\").nullable().optional(),\n author_flair_text: z.string().describe(\"The text of the author's flair. Subreddit specific.\").nullable().optional(),\n author_flair_type: z.string().describe(\"The type of the author's flair.\").nullable().optional(),\n author_is_blocked: z.boolean().describe(\"Whether the author is blocked by the current user.\").nullable().optional(),\n collapsed_reason_code: z.string().describe(\"Code indicating why the comment is collapsed (for comments only).\").nullable().optional(),\n total_awards_received: z.number().int().describe(\"Total number of awards received.\").nullable().optional(),\n author_flair_css_class: z.string().describe(\"The CSS class of the author's flair. Subreddit specific.\").nullable().optional(),\n author_flair_template_id: z.string().describe(\"The template ID of the author's flair.\").nullable().optional(),\n}).passthrough().describe(\"The edited thing's data attributes returned by the Reddit API editusertext endpoint.\");\nconst RedditEditRedditCommentOrPost_EditJsonResponseSchema = z.object({\n data: RedditEditRedditCommentOrPost_EditedThingDataSchema.nullable(),\n errors: z.array(z.array(z.string())).describe(\"Array of error messages. Empty array if the operation was successful.\"),\n}).passthrough().describe(\"The json wrapper for the edit response.\");\nexport const RedditEditRedditCommentOrPostOutput = z.object({\n json: RedditEditRedditCommentOrPost_EditJsonResponseSchema.nullable(),\n}).passthrough().describe(\"Response from editing a Reddit comment or post.\");\n\nexport const redditEditRedditCommentOrPost = action(\"REDDIT_EDIT_REDDIT_COMMENT_OR_POST\", {\n slug: \"reddit-edit-reddit-comment-or-post\",\n name: \"Edit comment or post\",\n description: \"Edits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles.\",\n input: RedditEditRedditCommentOrPostInput,\n output: RedditEditRedditCommentOrPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;AAC9L,CAAC;AACD,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,MAAM;EAAC,EAAE,QAAQ;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,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