@keystrokehq/neutrino 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-watermark-to-image.cjs +5 -5
  5. package/dist/actions/add-watermark-to-image.cjs.map +1 -1
  6. package/dist/actions/add-watermark-to-image.d.cts +44 -3
  7. package/dist/actions/add-watermark-to-image.d.cts.map +1 -1
  8. package/dist/actions/add-watermark-to-image.d.mts +44 -3
  9. package/dist/actions/add-watermark-to-image.d.mts.map +1 -1
  10. package/dist/actions/add-watermark-to-image.mjs +5 -5
  11. package/dist/actions/add-watermark-to-image.mjs.map +1 -1
  12. package/dist/actions/bad-word-filter.cjs +4 -4
  13. package/dist/actions/bad-word-filter.cjs.map +1 -1
  14. package/dist/actions/bad-word-filter.d.cts +23 -3
  15. package/dist/actions/bad-word-filter.d.cts.map +1 -1
  16. package/dist/actions/bad-word-filter.d.mts +23 -3
  17. package/dist/actions/bad-word-filter.d.mts.map +1 -1
  18. package/dist/actions/bad-word-filter.mjs +4 -4
  19. package/dist/actions/bad-word-filter.mjs.map +1 -1
  20. package/dist/actions/bin-lookup.cjs +23 -23
  21. package/dist/actions/bin-lookup.cjs.map +1 -1
  22. package/dist/actions/bin-lookup.d.cts +38 -3
  23. package/dist/actions/bin-lookup.d.cts.map +1 -1
  24. package/dist/actions/bin-lookup.d.mts +38 -3
  25. package/dist/actions/bin-lookup.d.mts.map +1 -1
  26. package/dist/actions/bin-lookup.mjs +23 -23
  27. package/dist/actions/bin-lookup.mjs.map +1 -1
  28. package/dist/actions/check-ip-blocklist.cjs +20 -20
  29. package/dist/actions/check-ip-blocklist.cjs.map +1 -1
  30. package/dist/actions/check-ip-blocklist.d.cts +32 -3
  31. package/dist/actions/check-ip-blocklist.d.cts.map +1 -1
  32. package/dist/actions/check-ip-blocklist.d.mts +32 -3
  33. package/dist/actions/check-ip-blocklist.d.mts.map +1 -1
  34. package/dist/actions/check-ip-blocklist.mjs +20 -20
  35. package/dist/actions/check-ip-blocklist.mjs.map +1 -1
  36. package/dist/actions/convert.cjs +11 -11
  37. package/dist/actions/convert.cjs.map +1 -1
  38. package/dist/actions/convert.d.cts +25 -3
  39. package/dist/actions/convert.d.cts.map +1 -1
  40. package/dist/actions/convert.d.mts +25 -3
  41. package/dist/actions/convert.d.mts.map +1 -1
  42. package/dist/actions/convert.mjs +11 -11
  43. package/dist/actions/convert.mjs.map +1 -1
  44. package/dist/actions/email-validate.cjs +11 -11
  45. package/dist/actions/email-validate.cjs.map +1 -1
  46. package/dist/actions/email-validate.d.cts +22 -3
  47. package/dist/actions/email-validate.d.cts.map +1 -1
  48. package/dist/actions/email-validate.d.mts +22 -3
  49. package/dist/actions/email-validate.d.mts.map +1 -1
  50. package/dist/actions/email-validate.mjs +11 -11
  51. package/dist/actions/email-validate.mjs.map +1 -1
  52. package/dist/actions/email-verify.cjs +17 -17
  53. package/dist/actions/email-verify.cjs.map +1 -1
  54. package/dist/actions/email-verify.d.cts +29 -3
  55. package/dist/actions/email-verify.d.cts.map +1 -1
  56. package/dist/actions/email-verify.d.mts +29 -3
  57. package/dist/actions/email-verify.d.mts.map +1 -1
  58. package/dist/actions/email-verify.mjs +17 -17
  59. package/dist/actions/email-verify.mjs.map +1 -1
  60. package/dist/actions/geocode-address.cjs +5 -5
  61. package/dist/actions/geocode-address.cjs.map +1 -1
  62. package/dist/actions/geocode-address.d.cts +39 -3
  63. package/dist/actions/geocode-address.d.cts.map +1 -1
  64. package/dist/actions/geocode-address.d.mts +39 -3
  65. package/dist/actions/geocode-address.d.mts.map +1 -1
  66. package/dist/actions/geocode-address.mjs +5 -5
  67. package/dist/actions/geocode-address.mjs.map +1 -1
  68. package/dist/actions/geocode-reverse.cjs +5 -5
  69. package/dist/actions/geocode-reverse.cjs.map +1 -1
  70. package/dist/actions/geocode-reverse.d.cts +57 -3
  71. package/dist/actions/geocode-reverse.d.cts.map +1 -1
  72. package/dist/actions/geocode-reverse.d.mts +57 -3
  73. package/dist/actions/geocode-reverse.d.mts.map +1 -1
  74. package/dist/actions/geocode-reverse.mjs +5 -5
  75. package/dist/actions/geocode-reverse.mjs.map +1 -1
  76. package/dist/actions/hlr-lookup.cjs +26 -26
  77. package/dist/actions/hlr-lookup.cjs.map +1 -1
  78. package/dist/actions/hlr-lookup.d.cts +37 -3
  79. package/dist/actions/hlr-lookup.d.cts.map +1 -1
  80. package/dist/actions/hlr-lookup.d.mts +37 -3
  81. package/dist/actions/hlr-lookup.d.mts.map +1 -1
  82. package/dist/actions/hlr-lookup.mjs +26 -26
  83. package/dist/actions/hlr-lookup.mjs.map +1 -1
  84. package/dist/actions/host-reputation.cjs +12 -12
  85. package/dist/actions/host-reputation.cjs.map +1 -1
  86. package/dist/actions/host-reputation.d.cts +24 -3
  87. package/dist/actions/host-reputation.d.cts.map +1 -1
  88. package/dist/actions/host-reputation.d.mts +24 -3
  89. package/dist/actions/host-reputation.d.mts.map +1 -1
  90. package/dist/actions/host-reputation.mjs +12 -12
  91. package/dist/actions/host-reputation.mjs.map +1 -1
  92. package/dist/actions/html-clean.cjs +1 -1
  93. package/dist/actions/html-clean.cjs.map +1 -1
  94. package/dist/actions/html-clean.d.cts +17 -3
  95. package/dist/actions/html-clean.d.cts.map +1 -1
  96. package/dist/actions/html-clean.d.mts +17 -3
  97. package/dist/actions/html-clean.d.mts.map +1 -1
  98. package/dist/actions/html-clean.mjs +1 -1
  99. package/dist/actions/html-clean.mjs.map +1 -1
  100. package/dist/actions/html-render.cjs +3 -3
  101. package/dist/actions/html-render.cjs.map +1 -1
  102. package/dist/actions/html-render.d.cts +62 -3
  103. package/dist/actions/html-render.d.cts.map +1 -1
  104. package/dist/actions/html-render.d.mts +62 -3
  105. package/dist/actions/html-render.d.mts.map +1 -1
  106. package/dist/actions/html-render.mjs +3 -3
  107. package/dist/actions/html-render.mjs.map +1 -1
  108. package/dist/actions/image-resize.cjs +5 -5
  109. package/dist/actions/image-resize.cjs.map +1 -1
  110. package/dist/actions/image-resize.d.cts +32 -3
  111. package/dist/actions/image-resize.d.cts.map +1 -1
  112. package/dist/actions/image-resize.d.mts +32 -3
  113. package/dist/actions/image-resize.d.mts.map +1 -1
  114. package/dist/actions/image-resize.mjs +5 -5
  115. package/dist/actions/image-resize.mjs.map +1 -1
  116. package/dist/actions/ip-info.cjs +2 -2
  117. package/dist/actions/ip-info.cjs.map +1 -1
  118. package/dist/actions/ip-info.d.cts +36 -3
  119. package/dist/actions/ip-info.d.cts.map +1 -1
  120. package/dist/actions/ip-info.d.mts +36 -3
  121. package/dist/actions/ip-info.d.mts.map +1 -1
  122. package/dist/actions/ip-info.mjs +2 -2
  123. package/dist/actions/ip-info.mjs.map +1 -1
  124. package/dist/actions/ip-probe.cjs +3 -3
  125. package/dist/actions/ip-probe.cjs.map +1 -1
  126. package/dist/actions/ip-probe.d.cts +47 -3
  127. package/dist/actions/ip-probe.d.cts.map +1 -1
  128. package/dist/actions/ip-probe.d.mts +47 -3
  129. package/dist/actions/ip-probe.d.mts.map +1 -1
  130. package/dist/actions/ip-probe.mjs +3 -3
  131. package/dist/actions/ip-probe.mjs.map +1 -1
  132. package/dist/actions/lookup-domain.cjs +27 -27
  133. package/dist/actions/lookup-domain.cjs.map +1 -1
  134. package/dist/actions/lookup-domain.d.cts +38 -3
  135. package/dist/actions/lookup-domain.d.cts.map +1 -1
  136. package/dist/actions/lookup-domain.d.mts +38 -3
  137. package/dist/actions/lookup-domain.d.mts.map +1 -1
  138. package/dist/actions/lookup-domain.mjs +27 -27
  139. package/dist/actions/lookup-domain.mjs.map +1 -1
  140. package/dist/actions/phone-validate.cjs +13 -13
  141. package/dist/actions/phone-validate.cjs.map +1 -1
  142. package/dist/actions/phone-validate.d.cts +24 -3
  143. package/dist/actions/phone-validate.d.cts.map +1 -1
  144. package/dist/actions/phone-validate.d.mts +24 -3
  145. package/dist/actions/phone-validate.d.mts.map +1 -1
  146. package/dist/actions/phone-validate.mjs +13 -13
  147. package/dist/actions/phone-validate.mjs.map +1 -1
  148. package/dist/actions/qr-code.cjs +1 -1
  149. package/dist/actions/qr-code.cjs.map +1 -1
  150. package/dist/actions/qr-code.d.cts +22 -3
  151. package/dist/actions/qr-code.d.cts.map +1 -1
  152. package/dist/actions/qr-code.d.mts +22 -3
  153. package/dist/actions/qr-code.d.mts.map +1 -1
  154. package/dist/actions/qr-code.mjs +1 -1
  155. package/dist/actions/qr-code.mjs.map +1 -1
  156. package/dist/actions/run-browser-bot.cjs +7 -7
  157. package/dist/actions/run-browser-bot.cjs.map +1 -1
  158. package/dist/actions/run-browser-bot.d.cts +60 -3
  159. package/dist/actions/run-browser-bot.d.cts.map +1 -1
  160. package/dist/actions/run-browser-bot.d.mts +60 -3
  161. package/dist/actions/run-browser-bot.d.mts.map +1 -1
  162. package/dist/actions/run-browser-bot.mjs +7 -7
  163. package/dist/actions/run-browser-bot.mjs.map +1 -1
  164. package/dist/actions/sms-verify.cjs +4 -4
  165. package/dist/actions/sms-verify.cjs.map +1 -1
  166. package/dist/actions/sms-verify.d.cts +25 -3
  167. package/dist/actions/sms-verify.d.cts.map +1 -1
  168. package/dist/actions/sms-verify.d.mts +25 -3
  169. package/dist/actions/sms-verify.d.mts.map +1 -1
  170. package/dist/actions/sms-verify.mjs +4 -4
  171. package/dist/actions/sms-verify.mjs.map +1 -1
  172. package/dist/actions/ua-lookup.cjs +2 -2
  173. package/dist/actions/ua-lookup.cjs.map +1 -1
  174. package/dist/actions/ua-lookup.d.cts +37 -3
  175. package/dist/actions/ua-lookup.d.cts.map +1 -1
  176. package/dist/actions/ua-lookup.d.mts +37 -3
  177. package/dist/actions/ua-lookup.d.mts.map +1 -1
  178. package/dist/actions/ua-lookup.mjs +2 -2
  179. package/dist/actions/ua-lookup.mjs.map +1 -1
  180. package/dist/actions/url-info.cjs +17 -17
  181. package/dist/actions/url-info.cjs.map +1 -1
  182. package/dist/actions/url-info.d.cts +37 -3
  183. package/dist/actions/url-info.d.cts.map +1 -1
  184. package/dist/actions/url-info.d.mts +37 -3
  185. package/dist/actions/url-info.d.mts.map +1 -1
  186. package/dist/actions/url-info.mjs +17 -17
  187. package/dist/actions/url-info.mjs.map +1 -1
  188. package/dist/actions/verify-security-code.cjs +1 -1
  189. package/dist/actions/verify-security-code.cjs.map +1 -1
  190. package/dist/actions/verify-security-code.d.cts +11 -3
  191. package/dist/actions/verify-security-code.d.cts.map +1 -1
  192. package/dist/actions/verify-security-code.d.mts +11 -3
  193. package/dist/actions/verify-security-code.d.mts.map +1 -1
  194. package/dist/actions/verify-security-code.mjs +1 -1
  195. package/dist/actions/verify-security-code.mjs.map +1 -1
  196. package/dist/catalog.cjs +14 -1
  197. package/dist/catalog.cjs.map +1 -1
  198. package/dist/catalog.d.cts +13 -0
  199. package/dist/catalog.d.mts +13 -0
  200. package/dist/catalog.mjs +14 -1
  201. package/dist/catalog.mjs.map +1 -1
  202. package/dist/execute.cjs +1 -1
  203. package/dist/execute.cjs.map +1 -1
  204. package/dist/execute.mjs +1 -1
  205. package/dist/execute.mjs.map +1 -1
  206. package/package.json +2 -2
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Keystroke-managed integration.
4
4
 
5
5
  **App:** `neutrino`
6
- **Version:** `20260615_00`
6
+ **Version:** `20260707_00`
7
7
  **Actions:** 24
8
8
 
9
9
  ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["neutrino","executeNeutrinoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { neutrino } from \"./app\";\nimport { executeNeutrinoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return neutrino.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNeutrinoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["neutrino","executeNeutrinoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { neutrino } from \"./app\";\nimport { executeNeutrinoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return neutrino.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeNeutrinoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { neutrino } from \"./app\";\nimport { executeNeutrinoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return neutrino.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNeutrinoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { neutrino } from \"./app\";\nimport { executeNeutrinoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return neutrino.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeNeutrinoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -25,11 +25,11 @@ const NeutrinoAddWatermarkToImageInput = zod.z.object({
25
25
  "watermark-url": zod.z.string().describe("The URL or Base64 encoded Data URL for the watermark image. This will be overlaid on the source image.")
26
26
  }).describe("Request model for the ADD_WATERMARK_TO_IMAGE action.");
27
27
  const NeutrinoAddWatermarkToImage_FileDownloadableSchema = zod.z.object({
28
- name: zod.z.string().describe("Name of the file"),
29
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
30
- mimetype: zod.z.string().describe("Mime type of the file.")
31
- });
32
- const NeutrinoAddWatermarkToImageOutput = zod.z.object({ image: NeutrinoAddWatermarkToImage_FileDownloadableSchema.nullable() }).describe("Response model for the ADD_WATERMARK_TO_IMAGE action.");
28
+ name: zod.z.string().describe("Name of the file").nullable(),
29
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
30
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
31
+ }).passthrough();
32
+ const NeutrinoAddWatermarkToImageOutput = zod.z.object({ image: NeutrinoAddWatermarkToImage_FileDownloadableSchema.nullable() }).passthrough().describe("Response model for the ADD_WATERMARK_TO_IMAGE action.");
33
33
  const neutrinoAddWatermarkToImage = require_action.action("NEUTRINO_ADD_WATERMARK_TO_IMAGE", {
34
34
  slug: "neutrino-add-watermark-to-image",
35
35
  name: "Add Watermark to Image",
@@ -1 +1 @@
1
- {"version":3,"file":"add-watermark-to-image.cjs","names":["z","action"],"sources":["../../src/actions/add-watermark-to-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoAddWatermarkToImageInput: z.ZodTypeAny = z.object({\n width: z.number().int().describe(\"If set, resize the resulting image to this width (in pixels). Used with resize-mode.\").optional(),\n format: z.enum([\"png\", \"jpg\"]).default(\"png\").describe(\"Output image format options.\").optional(),\n height: z.number().int().describe(\"If set, resize the resulting image to this height (in pixels). Used with resize-mode.\").optional(),\n opacity: z.number().int().default(50).describe(\"The opacity of the watermark from 0 (transparent) to 100 (opaque). Defaults to 50.\").optional(),\n \"bg-color\": z.string().default(\"transparent\").describe(\"Background color in hexadecimal notation (e.g. '#0000ff') or 'transparent' for PNG. Used when resize-mode is 'pad'. For JPG output the default is black (#000000).\").optional(),\n position: z.enum([\"center\", \"top-left\", \"top-center\", \"top-right\", \"bottom-left\", \"bottom-center\", \"bottom-right\"]).default(\"center\").describe(\"Position options for watermark placement.\").optional(),\n \"image-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the source image. You can encode an image to Base64 if needed.\"),\n \"resize-mode\": z.enum([\"scale\", \"pad\", \"crop\"]).default(\"scale\").describe(\"Resize mode options when resizing the output image.\").optional(),\n \"watermark-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the watermark image. This will be overlaid on the source image.\"),\n}).describe(\"Request model for the ADD_WATERMARK_TO_IMAGE action.\");\nconst NeutrinoAddWatermarkToImage_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const NeutrinoAddWatermarkToImageOutput: z.ZodTypeAny = z.object({\n image: NeutrinoAddWatermarkToImage_FileDownloadableSchema.nullable(),\n}).describe(\"Response model for the ADD_WATERMARK_TO_IMAGE action.\");\n\nexport const neutrinoAddWatermarkToImage = action(\"NEUTRINO_ADD_WATERMARK_TO_IMAGE\", {\n slug: \"neutrino-add-watermark-to-image\",\n name: \"Add Watermark to Image\",\n description: \"Add a watermark to an image with customizable position, opacity, and output format. Use when you need to overlay a logo, text image, or branding on photos or graphics. Supports resizing the output and multiple positioning options.\",\n input: NeutrinoAddWatermarkToImageInput,\n output: NeutrinoAddWatermarkToImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACpI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC9I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACtO,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAY;EAAc;EAAa;EAAe;EAAiB;CAAc,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAO;CAAM,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;AAC/I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,OAAO,mDAAmD,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-watermark-to-image.cjs","names":["z","action"],"sources":["../../src/actions/add-watermark-to-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoAddWatermarkToImageInput = z.object({\n width: z.number().int().describe(\"If set, resize the resulting image to this width (in pixels). Used with resize-mode.\").optional(),\n format: z.enum([\"png\", \"jpg\"]).default(\"png\").describe(\"Output image format options.\").optional(),\n height: z.number().int().describe(\"If set, resize the resulting image to this height (in pixels). Used with resize-mode.\").optional(),\n opacity: z.number().int().default(50).describe(\"The opacity of the watermark from 0 (transparent) to 100 (opaque). Defaults to 50.\").optional(),\n \"bg-color\": z.string().default(\"transparent\").describe(\"Background color in hexadecimal notation (e.g. '#0000ff') or 'transparent' for PNG. Used when resize-mode is 'pad'. For JPG output the default is black (#000000).\").optional(),\n position: z.enum([\"center\", \"top-left\", \"top-center\", \"top-right\", \"bottom-left\", \"bottom-center\", \"bottom-right\"]).default(\"center\").describe(\"Position options for watermark placement.\").optional(),\n \"image-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the source image. You can encode an image to Base64 if needed.\"),\n \"resize-mode\": z.enum([\"scale\", \"pad\", \"crop\"]).default(\"scale\").describe(\"Resize mode options when resizing the output image.\").optional(),\n \"watermark-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the watermark image. This will be overlaid on the source image.\"),\n}).describe(\"Request model for the ADD_WATERMARK_TO_IMAGE action.\");\nconst NeutrinoAddWatermarkToImage_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const NeutrinoAddWatermarkToImageOutput = z.object({\n image: NeutrinoAddWatermarkToImage_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for the ADD_WATERMARK_TO_IMAGE action.\");\n\nexport const neutrinoAddWatermarkToImage = action(\"NEUTRINO_ADD_WATERMARK_TO_IMAGE\", {\n slug: \"neutrino-add-watermark-to-image\",\n name: \"Add Watermark to Image\",\n description: \"Add a watermark to an image with customizable position, opacity, and output format. Use when you need to overlay a logo, text image, or branding on photos or graphics. Supports resizing the output and multiple positioning options.\",\n input: NeutrinoAddWatermarkToImageInput,\n output: NeutrinoAddWatermarkToImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACpI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC9I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACtO,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAY;EAAc;EAAa;EAAe;EAAiB;CAAc,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAO;CAAM,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;AAC/I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,OAAO,mDAAmD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,50 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-watermark-to-image.d.ts
4
- declare const NeutrinoAddWatermarkToImageInput: z.ZodTypeAny;
5
- declare const NeutrinoAddWatermarkToImageOutput: z.ZodTypeAny;
6
- declare const neutrinoAddWatermarkToImage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoAddWatermarkToImageInput: z.ZodObject<{
5
+ width: z.ZodOptional<z.ZodNumber>;
6
+ format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ png: "png";
8
+ jpg: "jpg";
9
+ }>>>;
10
+ height: z.ZodOptional<z.ZodNumber>;
11
+ opacity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
12
+ "bg-color": z.ZodOptional<z.ZodDefault<z.ZodString>>;
13
+ position: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
14
+ center: "center";
15
+ "top-left": "top-left";
16
+ "top-center": "top-center";
17
+ "top-right": "top-right";
18
+ "bottom-left": "bottom-left";
19
+ "bottom-center": "bottom-center";
20
+ "bottom-right": "bottom-right";
21
+ }>>>;
22
+ "image-url": z.ZodString;
23
+ "resize-mode": z.ZodOptional<z.ZodDefault<z.ZodEnum<{
24
+ scale: "scale";
25
+ pad: "pad";
26
+ crop: "crop";
27
+ }>>>;
28
+ "watermark-url": z.ZodString;
29
+ }, z.core.$strip>;
30
+ declare const NeutrinoAddWatermarkToImageOutput: z.ZodObject<{
31
+ image: z.ZodNullable<z.ZodObject<{
32
+ name: z.ZodNullable<z.ZodString>;
33
+ s3url: z.ZodNullable<z.ZodString>;
34
+ mimetype: z.ZodNullable<z.ZodString>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
+ declare const neutrinoAddWatermarkToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ "image-url": string;
39
+ "watermark-url": string;
40
+ width?: number | undefined;
41
+ format?: "png" | "jpg" | undefined;
42
+ height?: number | undefined;
43
+ opacity?: number | undefined;
44
+ "bg-color"?: string | undefined;
45
+ position?: "center" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined;
46
+ "resize-mode"?: "scale" | "pad" | "crop" | undefined;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
48
  //#endregion
8
49
  export { neutrinoAddWatermarkToImage };
9
50
  //# sourceMappingURL=add-watermark-to-image.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-watermark-to-image.d.cts","names":[],"sources":["../../src/actions/add-watermark-to-image.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAUkB;AAAA,cAMtD,iCAAA,EAAmC,CAAA,CAAE,UAEkB;AAAA,cAEvD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-watermark-to-image.d.cts","names":[],"sources":["../../src/actions/add-watermark-to-image.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,50 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-watermark-to-image.d.ts
4
- declare const NeutrinoAddWatermarkToImageInput: z.ZodTypeAny;
5
- declare const NeutrinoAddWatermarkToImageOutput: z.ZodTypeAny;
6
- declare const neutrinoAddWatermarkToImage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoAddWatermarkToImageInput: z.ZodObject<{
5
+ width: z.ZodOptional<z.ZodNumber>;
6
+ format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ png: "png";
8
+ jpg: "jpg";
9
+ }>>>;
10
+ height: z.ZodOptional<z.ZodNumber>;
11
+ opacity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
12
+ "bg-color": z.ZodOptional<z.ZodDefault<z.ZodString>>;
13
+ position: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
14
+ center: "center";
15
+ "top-left": "top-left";
16
+ "top-center": "top-center";
17
+ "top-right": "top-right";
18
+ "bottom-left": "bottom-left";
19
+ "bottom-center": "bottom-center";
20
+ "bottom-right": "bottom-right";
21
+ }>>>;
22
+ "image-url": z.ZodString;
23
+ "resize-mode": z.ZodOptional<z.ZodDefault<z.ZodEnum<{
24
+ scale: "scale";
25
+ pad: "pad";
26
+ crop: "crop";
27
+ }>>>;
28
+ "watermark-url": z.ZodString;
29
+ }, z.core.$strip>;
30
+ declare const NeutrinoAddWatermarkToImageOutput: z.ZodObject<{
31
+ image: z.ZodNullable<z.ZodObject<{
32
+ name: z.ZodNullable<z.ZodString>;
33
+ s3url: z.ZodNullable<z.ZodString>;
34
+ mimetype: z.ZodNullable<z.ZodString>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
+ declare const neutrinoAddWatermarkToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ "image-url": string;
39
+ "watermark-url": string;
40
+ width?: number | undefined;
41
+ format?: "png" | "jpg" | undefined;
42
+ height?: number | undefined;
43
+ opacity?: number | undefined;
44
+ "bg-color"?: string | undefined;
45
+ position?: "center" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined;
46
+ "resize-mode"?: "scale" | "pad" | "crop" | undefined;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
48
  //#endregion
8
49
  export { neutrinoAddWatermarkToImage };
9
50
  //# sourceMappingURL=add-watermark-to-image.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-watermark-to-image.d.mts","names":[],"sources":["../../src/actions/add-watermark-to-image.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAUkB;AAAA,cAMtD,iCAAA,EAAmC,CAAA,CAAE,UAEkB;AAAA,cAEvD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-watermark-to-image.d.mts","names":[],"sources":["../../src/actions/add-watermark-to-image.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -25,16 +25,16 @@ const NeutrinoAddWatermarkToImageInput = z.object({
25
25
  "watermark-url": z.string().describe("The URL or Base64 encoded Data URL for the watermark image. This will be overlaid on the source image.")
26
26
  }).describe("Request model for the ADD_WATERMARK_TO_IMAGE action.");
27
27
  const NeutrinoAddWatermarkToImage_FileDownloadableSchema = z.object({
28
- name: z.string().describe("Name of the file"),
29
- s3url: z.string().describe("S3 URL of the downloaded file."),
30
- mimetype: z.string().describe("Mime type of the file.")
31
- });
28
+ name: z.string().describe("Name of the file").nullable(),
29
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
30
+ mimetype: z.string().describe("Mime type of the file.").nullable()
31
+ }).passthrough();
32
32
  const neutrinoAddWatermarkToImage = action("NEUTRINO_ADD_WATERMARK_TO_IMAGE", {
33
33
  slug: "neutrino-add-watermark-to-image",
34
34
  name: "Add Watermark to Image",
35
35
  description: "Add a watermark to an image with customizable position, opacity, and output format. Use when you need to overlay a logo, text image, or branding on photos or graphics. Supports resizing the output and multiple positioning options.",
36
36
  input: NeutrinoAddWatermarkToImageInput,
37
- output: z.object({ image: NeutrinoAddWatermarkToImage_FileDownloadableSchema.nullable() }).describe("Response model for the ADD_WATERMARK_TO_IMAGE action.")
37
+ output: z.object({ image: NeutrinoAddWatermarkToImage_FileDownloadableSchema.nullable() }).passthrough().describe("Response model for the ADD_WATERMARK_TO_IMAGE action.")
38
38
  });
39
39
  //#endregion
40
40
  export { neutrinoAddWatermarkToImage };
@@ -1 +1 @@
1
- {"version":3,"file":"add-watermark-to-image.mjs","names":[],"sources":["../../src/actions/add-watermark-to-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoAddWatermarkToImageInput: z.ZodTypeAny = z.object({\n width: z.number().int().describe(\"If set, resize the resulting image to this width (in pixels). Used with resize-mode.\").optional(),\n format: z.enum([\"png\", \"jpg\"]).default(\"png\").describe(\"Output image format options.\").optional(),\n height: z.number().int().describe(\"If set, resize the resulting image to this height (in pixels). Used with resize-mode.\").optional(),\n opacity: z.number().int().default(50).describe(\"The opacity of the watermark from 0 (transparent) to 100 (opaque). Defaults to 50.\").optional(),\n \"bg-color\": z.string().default(\"transparent\").describe(\"Background color in hexadecimal notation (e.g. '#0000ff') or 'transparent' for PNG. Used when resize-mode is 'pad'. For JPG output the default is black (#000000).\").optional(),\n position: z.enum([\"center\", \"top-left\", \"top-center\", \"top-right\", \"bottom-left\", \"bottom-center\", \"bottom-right\"]).default(\"center\").describe(\"Position options for watermark placement.\").optional(),\n \"image-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the source image. You can encode an image to Base64 if needed.\"),\n \"resize-mode\": z.enum([\"scale\", \"pad\", \"crop\"]).default(\"scale\").describe(\"Resize mode options when resizing the output image.\").optional(),\n \"watermark-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the watermark image. This will be overlaid on the source image.\"),\n}).describe(\"Request model for the ADD_WATERMARK_TO_IMAGE action.\");\nconst NeutrinoAddWatermarkToImage_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const NeutrinoAddWatermarkToImageOutput: z.ZodTypeAny = z.object({\n image: NeutrinoAddWatermarkToImage_FileDownloadableSchema.nullable(),\n}).describe(\"Response model for the ADD_WATERMARK_TO_IMAGE action.\");\n\nexport const neutrinoAddWatermarkToImage = action(\"NEUTRINO_ADD_WATERMARK_TO_IMAGE\", {\n slug: \"neutrino-add-watermark-to-image\",\n name: \"Add Watermark to Image\",\n description: \"Add a watermark to an image with customizable position, opacity, and output format. Use when you need to overlay a logo, text image, or branding on photos or graphics. Supports resizing the output and multiple positioning options.\",\n input: NeutrinoAddWatermarkToImageInput,\n output: NeutrinoAddWatermarkToImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,QAAQ,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACpI,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC9I,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACtO,UAAU,EAAE,KAAK;EAAC;EAAU;EAAY;EAAc;EAAa;EAAe;EAAiB;CAAc,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,eAAe,EAAE,KAAK;EAAC;EAAS;EAAO;CAAM,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;AAC/I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,qDAAmE,EAAE,OAAO;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,OAAO,mDAAmD,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"add-watermark-to-image.mjs","names":[],"sources":["../../src/actions/add-watermark-to-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoAddWatermarkToImageInput = z.object({\n width: z.number().int().describe(\"If set, resize the resulting image to this width (in pixels). Used with resize-mode.\").optional(),\n format: z.enum([\"png\", \"jpg\"]).default(\"png\").describe(\"Output image format options.\").optional(),\n height: z.number().int().describe(\"If set, resize the resulting image to this height (in pixels). Used with resize-mode.\").optional(),\n opacity: z.number().int().default(50).describe(\"The opacity of the watermark from 0 (transparent) to 100 (opaque). Defaults to 50.\").optional(),\n \"bg-color\": z.string().default(\"transparent\").describe(\"Background color in hexadecimal notation (e.g. '#0000ff') or 'transparent' for PNG. Used when resize-mode is 'pad'. For JPG output the default is black (#000000).\").optional(),\n position: z.enum([\"center\", \"top-left\", \"top-center\", \"top-right\", \"bottom-left\", \"bottom-center\", \"bottom-right\"]).default(\"center\").describe(\"Position options for watermark placement.\").optional(),\n \"image-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the source image. You can encode an image to Base64 if needed.\"),\n \"resize-mode\": z.enum([\"scale\", \"pad\", \"crop\"]).default(\"scale\").describe(\"Resize mode options when resizing the output image.\").optional(),\n \"watermark-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the watermark image. This will be overlaid on the source image.\"),\n}).describe(\"Request model for the ADD_WATERMARK_TO_IMAGE action.\");\nconst NeutrinoAddWatermarkToImage_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const NeutrinoAddWatermarkToImageOutput = z.object({\n image: NeutrinoAddWatermarkToImage_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for the ADD_WATERMARK_TO_IMAGE action.\");\n\nexport const neutrinoAddWatermarkToImage = action(\"NEUTRINO_ADD_WATERMARK_TO_IMAGE\", {\n slug: \"neutrino-add-watermark-to-image\",\n name: \"Add Watermark to Image\",\n description: \"Add a watermark to an image with customizable position, opacity, and output format. Use when you need to overlay a logo, text image, or branding on photos or graphics. Supports resizing the output and multiple positioning options.\",\n input: NeutrinoAddWatermarkToImageInput,\n output: NeutrinoAddWatermarkToImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,QAAQ,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACpI,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC9I,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACtO,UAAU,EAAE,KAAK;EAAC;EAAU;EAAY;EAAc;EAAa;EAAe;EAAiB;CAAc,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,eAAe,EAAE,KAAK;EAAC;EAAS;EAAO;CAAM,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;AAC/I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,OAAO,mDAAmD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -9,11 +9,11 @@ const NeutrinoBadWordFilterInput = zod.z.object({
9
9
  "censor-character": zod.z.string().default("*").describe("The character to use for censoring bad words, default is '*'.").optional()
10
10
  });
11
11
  const NeutrinoBadWordFilterOutput = zod.z.object({
12
- "is-bad": zod.z.boolean().describe("True if bad words found, otherwise False."),
12
+ "is-bad": zod.z.boolean().describe("True if bad words found, otherwise False.").nullable(),
13
13
  "bad-words-list": zod.z.array(zod.z.string()).describe("List of detected bad words."),
14
- "bad-words-total": zod.z.number().int().describe("Total number of bad words detected."),
15
- "censored-content": zod.z.string().describe("The content with bad words censored.")
16
- });
14
+ "bad-words-total": zod.z.number().int().describe("Total number of bad words detected.").nullable(),
15
+ "censored-content": zod.z.string().describe("The content with bad words censored.").nullable()
16
+ }).passthrough();
17
17
  const neutrinoBadWordFilter = require_action.action("NEUTRINO_BAD_WORD_FILTER", {
18
18
  slug: "neutrino-bad-word-filter",
19
19
  name: "Bad Word Filter",
@@ -1 +1 @@
1
- {"version":3,"file":"bad-word-filter.cjs","names":["z","action"],"sources":["../../src/actions/bad-word-filter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoBadWordFilterInput: z.ZodTypeAny = z.object({\n catalog: z.enum([\"strict\", \"obscene\"]).default(\"strict\").describe(\"Which catalog of bad words to use. 'strict' is the largest database including profanity, obscenity, sexual, rude, cuss, dirty, swear words (suitable for all audiences). 'obscene' excludes mild profanities and is suitable for adult environments.\").optional(),\n content: z.string().describe(\"The content to scan (plain text or HTML).\"),\n callback: z.string().describe(\"Optional JSONP callback function name.\").optional(),\n \"language-code\": z.string().default(\"en\").describe(\"ISO 639 language code, default is 'en'.\").optional(),\n \"censor-character\": z.string().default(\"*\").describe(\"The character to use for censoring bad words, default is '*'.\").optional(),\n});\nexport const NeutrinoBadWordFilterOutput: z.ZodTypeAny = z.object({\n \"is-bad\": z.boolean().describe(\"True if bad words found, otherwise False.\"),\n \"bad-words-list\": z.array(z.string()).describe(\"List of detected bad words.\"),\n \"bad-words-total\": z.number().int().describe(\"Total number of bad words detected.\"),\n \"censored-content\": z.string().describe(\"The content with bad words censored.\"),\n});\n\nexport const neutrinoBadWordFilter = action(\"NEUTRINO_BAD_WORD_FILTER\", {\n slug: \"neutrino-bad-word-filter\",\n name: \"Bad Word Filter\",\n description: \"Tool to detect bad words and profanity in text. Use when scanning content for swear words.\",\n input: NeutrinoBadWordFilterInput,\n output: NeutrinoBadWordFilterOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,sPAAsP,CAAC,CAAC,SAAS;CACnU,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACjI,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC1E,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAC5E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CAClF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAChF,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"bad-word-filter.cjs","names":["z","action"],"sources":["../../src/actions/bad-word-filter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoBadWordFilterInput = z.object({\n catalog: z.enum([\"strict\", \"obscene\"]).default(\"strict\").describe(\"Which catalog of bad words to use. 'strict' is the largest database including profanity, obscenity, sexual, rude, cuss, dirty, swear words (suitable for all audiences). 'obscene' excludes mild profanities and is suitable for adult environments.\").optional(),\n content: z.string().describe(\"The content to scan (plain text or HTML).\"),\n callback: z.string().describe(\"Optional JSONP callback function name.\").optional(),\n \"language-code\": z.string().default(\"en\").describe(\"ISO 639 language code, default is 'en'.\").optional(),\n \"censor-character\": z.string().default(\"*\").describe(\"The character to use for censoring bad words, default is '*'.\").optional(),\n});\nexport const NeutrinoBadWordFilterOutput = z.object({\n \"is-bad\": z.boolean().describe(\"True if bad words found, otherwise False.\").nullable(),\n \"bad-words-list\": z.array(z.string()).describe(\"List of detected bad words.\"),\n \"bad-words-total\": z.number().int().describe(\"Total number of bad words detected.\").nullable(),\n \"censored-content\": z.string().describe(\"The content with bad words censored.\").nullable(),\n}).passthrough();\n\nexport const neutrinoBadWordFilter = action(\"NEUTRINO_BAD_WORD_FILTER\", {\n slug: \"neutrino-bad-word-filter\",\n name: \"Bad Word Filter\",\n description: \"Tool to detect bad words and profanity in text. Use when scanning content for swear words.\",\n input: NeutrinoBadWordFilterInput,\n output: NeutrinoBadWordFilterOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,sPAAsP,CAAC,CAAC,SAAS;CACnU,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACjI,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAC5E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/bad-word-filter.d.ts
4
- declare const NeutrinoBadWordFilterInput: z.ZodTypeAny;
5
- declare const NeutrinoBadWordFilterOutput: z.ZodTypeAny;
6
- declare const neutrinoBadWordFilter: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoBadWordFilterInput: z.ZodObject<{
5
+ catalog: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
6
+ strict: "strict";
7
+ obscene: "obscene";
8
+ }>>>;
9
+ content: z.ZodString;
10
+ callback: z.ZodOptional<z.ZodString>;
11
+ "language-code": z.ZodOptional<z.ZodDefault<z.ZodString>>;
12
+ "censor-character": z.ZodOptional<z.ZodDefault<z.ZodString>>;
13
+ }, z.core.$strip>;
14
+ declare const NeutrinoBadWordFilterOutput: z.ZodObject<{
15
+ "is-bad": z.ZodNullable<z.ZodBoolean>;
16
+ "bad-words-list": z.ZodArray<z.ZodString>;
17
+ "bad-words-total": z.ZodNullable<z.ZodNumber>;
18
+ "censored-content": z.ZodNullable<z.ZodString>;
19
+ }, z.core.$loose>;
20
+ declare const neutrinoBadWordFilter: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ content: string;
22
+ catalog?: "strict" | "obscene" | undefined;
23
+ callback?: string | undefined;
24
+ "language-code"?: string | undefined;
25
+ "censor-character"?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { neutrinoBadWordFilter };
9
29
  //# sourceMappingURL=bad-word-filter.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bad-word-filter.d.cts","names":[],"sources":["../../src/actions/bad-word-filter.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAMzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAK1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"bad-word-filter.d.cts","names":[],"sources":["../../src/actions/bad-word-filter.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/bad-word-filter.d.ts
4
- declare const NeutrinoBadWordFilterInput: z.ZodTypeAny;
5
- declare const NeutrinoBadWordFilterOutput: z.ZodTypeAny;
6
- declare const neutrinoBadWordFilter: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoBadWordFilterInput: z.ZodObject<{
5
+ catalog: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
6
+ strict: "strict";
7
+ obscene: "obscene";
8
+ }>>>;
9
+ content: z.ZodString;
10
+ callback: z.ZodOptional<z.ZodString>;
11
+ "language-code": z.ZodOptional<z.ZodDefault<z.ZodString>>;
12
+ "censor-character": z.ZodOptional<z.ZodDefault<z.ZodString>>;
13
+ }, z.core.$strip>;
14
+ declare const NeutrinoBadWordFilterOutput: z.ZodObject<{
15
+ "is-bad": z.ZodNullable<z.ZodBoolean>;
16
+ "bad-words-list": z.ZodArray<z.ZodString>;
17
+ "bad-words-total": z.ZodNullable<z.ZodNumber>;
18
+ "censored-content": z.ZodNullable<z.ZodString>;
19
+ }, z.core.$loose>;
20
+ declare const neutrinoBadWordFilter: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ content: string;
22
+ catalog?: "strict" | "obscene" | undefined;
23
+ callback?: string | undefined;
24
+ "language-code"?: string | undefined;
25
+ "censor-character"?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { neutrinoBadWordFilter };
9
29
  //# sourceMappingURL=bad-word-filter.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bad-word-filter.d.mts","names":[],"sources":["../../src/actions/bad-word-filter.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAMzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAK1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"bad-word-filter.d.mts","names":[],"sources":["../../src/actions/bad-word-filter.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
@@ -12,11 +12,11 @@ const neutrinoBadWordFilter = action("NEUTRINO_BAD_WORD_FILTER", {
12
12
  "censor-character": z.string().default("*").describe("The character to use for censoring bad words, default is '*'.").optional()
13
13
  }),
14
14
  output: z.object({
15
- "is-bad": z.boolean().describe("True if bad words found, otherwise False."),
15
+ "is-bad": z.boolean().describe("True if bad words found, otherwise False.").nullable(),
16
16
  "bad-words-list": z.array(z.string()).describe("List of detected bad words."),
17
- "bad-words-total": z.number().int().describe("Total number of bad words detected."),
18
- "censored-content": z.string().describe("The content with bad words censored.")
19
- })
17
+ "bad-words-total": z.number().int().describe("Total number of bad words detected.").nullable(),
18
+ "censored-content": z.string().describe("The content with bad words censored.").nullable()
19
+ }).passthrough()
20
20
  });
21
21
  //#endregion
22
22
  export { neutrinoBadWordFilter };
@@ -1 +1 @@
1
- {"version":3,"file":"bad-word-filter.mjs","names":[],"sources":["../../src/actions/bad-word-filter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoBadWordFilterInput: z.ZodTypeAny = z.object({\n catalog: z.enum([\"strict\", \"obscene\"]).default(\"strict\").describe(\"Which catalog of bad words to use. 'strict' is the largest database including profanity, obscenity, sexual, rude, cuss, dirty, swear words (suitable for all audiences). 'obscene' excludes mild profanities and is suitable for adult environments.\").optional(),\n content: z.string().describe(\"The content to scan (plain text or HTML).\"),\n callback: z.string().describe(\"Optional JSONP callback function name.\").optional(),\n \"language-code\": z.string().default(\"en\").describe(\"ISO 639 language code, default is 'en'.\").optional(),\n \"censor-character\": z.string().default(\"*\").describe(\"The character to use for censoring bad words, default is '*'.\").optional(),\n});\nexport const NeutrinoBadWordFilterOutput: z.ZodTypeAny = z.object({\n \"is-bad\": z.boolean().describe(\"True if bad words found, otherwise False.\"),\n \"bad-words-list\": z.array(z.string()).describe(\"List of detected bad words.\"),\n \"bad-words-total\": z.number().int().describe(\"Total number of bad words detected.\"),\n \"censored-content\": z.string().describe(\"The content with bad words censored.\"),\n});\n\nexport const neutrinoBadWordFilter = action(\"NEUTRINO_BAD_WORD_FILTER\", {\n slug: \"neutrino-bad-word-filter\",\n name: \"Bad Word Filter\",\n description: \"Tool to detect bad words and profanity in text. Use when scanning content for swear words.\",\n input: NeutrinoBadWordFilterInput,\n output: NeutrinoBadWordFilterOutput,\n});\n"],"mappings":";;AAkBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsD,EAAE,OAAO;EAC/D,SAAS,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,sPAAsP,CAAC,CAAC,SAAS;EACnU,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACjI,CAYS;CACP,QAZuD,EAAE,OAAO;EAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;EAC1E,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;EAC5E,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EAClF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"bad-word-filter.mjs","names":[],"sources":["../../src/actions/bad-word-filter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoBadWordFilterInput = z.object({\n catalog: z.enum([\"strict\", \"obscene\"]).default(\"strict\").describe(\"Which catalog of bad words to use. 'strict' is the largest database including profanity, obscenity, sexual, rude, cuss, dirty, swear words (suitable for all audiences). 'obscene' excludes mild profanities and is suitable for adult environments.\").optional(),\n content: z.string().describe(\"The content to scan (plain text or HTML).\"),\n callback: z.string().describe(\"Optional JSONP callback function name.\").optional(),\n \"language-code\": z.string().default(\"en\").describe(\"ISO 639 language code, default is 'en'.\").optional(),\n \"censor-character\": z.string().default(\"*\").describe(\"The character to use for censoring bad words, default is '*'.\").optional(),\n});\nexport const NeutrinoBadWordFilterOutput = z.object({\n \"is-bad\": z.boolean().describe(\"True if bad words found, otherwise False.\").nullable(),\n \"bad-words-list\": z.array(z.string()).describe(\"List of detected bad words.\"),\n \"bad-words-total\": z.number().int().describe(\"Total number of bad words detected.\").nullable(),\n \"censored-content\": z.string().describe(\"The content with bad words censored.\").nullable(),\n}).passthrough();\n\nexport const neutrinoBadWordFilter = action(\"NEUTRINO_BAD_WORD_FILTER\", {\n slug: \"neutrino-bad-word-filter\",\n name: \"Bad Word Filter\",\n description: \"Tool to detect bad words and profanity in text. Use when scanning content for swear words.\",\n input: NeutrinoBadWordFilterInput,\n output: NeutrinoBadWordFilterOutput,\n});\n"],"mappings":";;AAkBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO;EACjD,SAAS,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,sPAAsP,CAAC,CAAC,SAAS;EACnU,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACjI,CAYS;CACP,QAZyC,EAAE,OAAO;EAClD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACrF,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;EAC5E,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -7,30 +7,30 @@ const NeutrinoBinLookupInput = zod.z.object({
7
7
  "output-case": zod.z.enum(["camelCase", "snake_case"]).default("camelCase").describe("Response field name casing style. Use 'camelCase' for JavaScript/JSON standard format or 'snake_case' for Python-friendly format.").optional()
8
8
  });
9
9
  const NeutrinoBinLookupOutput = zod.z.object({
10
- valid: zod.z.boolean().describe("True if the BIN is valid"),
11
- issuer: zod.z.string().describe("Card issuer name"),
12
- country: zod.z.string().describe("Full country name of issuer"),
13
- "ip-city": zod.z.string().describe("Customer IP's city (empty if not detectable or customer-ip not provided)"),
14
- "card-type": zod.z.string().describe("Card type (DEBIT, CREDIT, CHARGE CARD)"),
15
- "ip-region": zod.z.string().describe("Customer IP's region (empty if not detectable or customer-ip not provided)"),
16
- "bin-number": zod.z.string().describe("The provided BIN number"),
17
- "card-brand": zod.z.string().describe("Card brand (e.g., VISA, MASTERCARD)"),
18
- "ip-country": zod.z.string().describe("Customer IP's country name (empty if customer-ip not provided)"),
19
- "is-prepaid": zod.z.boolean().describe("True if this is a prepaid card"),
20
- "country-code": zod.z.string().describe("ISO 2-letter country code of issuer"),
21
- "issuer-phone": zod.z.string().describe("Issuer phone number (empty string if not available)"),
22
- "card-category": zod.z.string().describe("Card category (CLASSIC, BUSINESS, CORPORATE, PLATINUM, PREPAID, DANKORT, etc.)"),
23
- "country-code3": zod.z.string().describe("ISO 3-letter country code of issuer"),
24
- "currency-code": zod.z.string().describe("ISO 4217 currency code of issuer country"),
10
+ valid: zod.z.boolean().describe("True if the BIN is valid").nullable(),
11
+ issuer: zod.z.string().describe("Card issuer name").nullable(),
12
+ country: zod.z.string().describe("Full country name of issuer").nullable(),
13
+ "ip-city": zod.z.string().describe("Customer IP's city (empty if not detectable or customer-ip not provided)").nullable(),
14
+ "card-type": zod.z.string().describe("Card type (DEBIT, CREDIT, CHARGE CARD)").nullable(),
15
+ "ip-region": zod.z.string().describe("Customer IP's region (empty if not detectable or customer-ip not provided)").nullable(),
16
+ "bin-number": zod.z.string().describe("The provided BIN number").nullable(),
17
+ "card-brand": zod.z.string().describe("Card brand (e.g., VISA, MASTERCARD)").nullable(),
18
+ "ip-country": zod.z.string().describe("Customer IP's country name (empty if customer-ip not provided)").nullable(),
19
+ "is-prepaid": zod.z.boolean().describe("True if this is a prepaid card").nullable(),
20
+ "country-code": zod.z.string().describe("ISO 2-letter country code of issuer").nullable(),
21
+ "issuer-phone": zod.z.string().describe("Issuer phone number (empty string if not available)").nullable(),
22
+ "card-category": zod.z.string().describe("Card category (CLASSIC, BUSINESS, CORPORATE, PLATINUM, PREPAID, DANKORT, etc.)").nullable(),
23
+ "country-code3": zod.z.string().describe("ISO 3-letter country code of issuer").nullable(),
24
+ "currency-code": zod.z.string().describe("ISO 4217 currency code of issuer country").nullable(),
25
25
  "ip-blocklists": zod.z.array(zod.z.unknown()).describe("List of blocklists that flagged the customer IP (empty list if none)"),
26
- "is-commercial": zod.z.boolean().describe("True if this is a business/commercial card"),
27
- "is-reloadable": zod.z.boolean().describe("True if this prepaid card is reloadable"),
28
- "ip-blocklisted": zod.z.boolean().describe("True if customer IP is on any blocklists"),
29
- "ip-matches-bin": zod.z.boolean().describe("True if customer IP country matches BIN country (false if customer-ip not provided)"),
30
- "issuer-website": zod.z.string().describe("Issuer website URL (empty string if not available)"),
31
- "ip-country-code": zod.z.string().describe("Customer IP's ISO 2-letter country code (empty if customer-ip not provided)"),
32
- "ip-country-code3": zod.z.string().describe("Customer IP's ISO 3-letter country code (empty if customer-ip not provided)")
33
- });
26
+ "is-commercial": zod.z.boolean().describe("True if this is a business/commercial card").nullable(),
27
+ "is-reloadable": zod.z.boolean().describe("True if this prepaid card is reloadable").nullable(),
28
+ "ip-blocklisted": zod.z.boolean().describe("True if customer IP is on any blocklists").nullable(),
29
+ "ip-matches-bin": zod.z.boolean().describe("True if customer IP country matches BIN country (false if customer-ip not provided)").nullable(),
30
+ "issuer-website": zod.z.string().describe("Issuer website URL (empty string if not available)").nullable(),
31
+ "ip-country-code": zod.z.string().describe("Customer IP's ISO 2-letter country code (empty if customer-ip not provided)").nullable(),
32
+ "ip-country-code3": zod.z.string().describe("Customer IP's ISO 3-letter country code (empty if customer-ip not provided)").nullable()
33
+ }).passthrough();
34
34
  const neutrinoBinLookup = require_action.action("NEUTRINO_BIN_LOOKUP", {
35
35
  slug: "neutrino-bin-lookup",
36
36
  name: "BIN Lookup",
@@ -1 +1 @@
1
- {"version":3,"file":"bin-lookup.cjs","names":["z","action"],"sources":["../../src/actions/bin-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoBinLookupInput: z.ZodTypeAny = z.object({\n \"bin-number\": z.string().describe(\"The BIN (Bank Identification Number) or IIN (Issuer Identification Number) - typically the first 6-8 digits of a credit/debit card number. Supports 6, 8, and 10-digit BINs.\"),\n \"customer-ip\": z.string().describe(\"Optional customer IP address (IPv4 or IPv6) for additional fraud detection. When provided, the response includes IP geolocation data and checks if the IP country matches the BIN issuer country.\").optional(),\n \"output-case\": z.enum([\"camelCase\", \"snake_case\"]).default(\"camelCase\").describe(\"Response field name casing style. Use 'camelCase' for JavaScript/JSON standard format or 'snake_case' for Python-friendly format.\").optional(),\n});\nexport const NeutrinoBinLookupOutput: z.ZodTypeAny = z.object({\n valid: z.boolean().describe(\"True if the BIN is valid\"),\n issuer: z.string().describe(\"Card issuer name\"),\n country: z.string().describe(\"Full country name of issuer\"),\n \"ip-city\": z.string().describe(\"Customer IP's city (empty if not detectable or customer-ip not provided)\"),\n \"card-type\": z.string().describe(\"Card type (DEBIT, CREDIT, CHARGE CARD)\"),\n \"ip-region\": z.string().describe(\"Customer IP's region (empty if not detectable or customer-ip not provided)\"),\n \"bin-number\": z.string().describe(\"The provided BIN number\"),\n \"card-brand\": z.string().describe(\"Card brand (e.g., VISA, MASTERCARD)\"),\n \"ip-country\": z.string().describe(\"Customer IP's country name (empty if customer-ip not provided)\"),\n \"is-prepaid\": z.boolean().describe(\"True if this is a prepaid card\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code of issuer\"),\n \"issuer-phone\": z.string().describe(\"Issuer phone number (empty string if not available)\"),\n \"card-category\": z.string().describe(\"Card category (CLASSIC, BUSINESS, CORPORATE, PLATINUM, PREPAID, DANKORT, etc.)\"),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code of issuer\"),\n \"currency-code\": z.string().describe(\"ISO 4217 currency code of issuer country\"),\n \"ip-blocklists\": z.array(z.unknown()).describe(\"List of blocklists that flagged the customer IP (empty list if none)\"),\n \"is-commercial\": z.boolean().describe(\"True if this is a business/commercial card\"),\n \"is-reloadable\": z.boolean().describe(\"True if this prepaid card is reloadable\"),\n \"ip-blocklisted\": z.boolean().describe(\"True if customer IP is on any blocklists\"),\n \"ip-matches-bin\": z.boolean().describe(\"True if customer IP country matches BIN country (false if customer-ip not provided)\"),\n \"issuer-website\": z.string().describe(\"Issuer website URL (empty string if not available)\"),\n \"ip-country-code\": z.string().describe(\"Customer IP's ISO 2-letter country code (empty if customer-ip not provided)\"),\n \"ip-country-code3\": z.string().describe(\"Customer IP's ISO 3-letter country code (empty if customer-ip not provided)\"),\n});\n\nexport const neutrinoBinLookup = action(\"NEUTRINO_BIN_LOOKUP\", {\n slug: \"neutrino-bin-lookup\",\n name: \"BIN Lookup\",\n description: \"Perform a BIN (Bank Identification Number) lookup to retrieve comprehensive card issuer information. This tool identifies the card brand (VISA, MASTERCARD, AMEX, etc.), card type (debit/credit), issuer details, and issuer country from the first 6-8 digits of a card number. Optionally performs fraud detection by comparing the customer's IP geolocation with the card issuer country. Use cases: - Payment fraud detection and prevention - Card validation before processing transactions - Geographic risk assessment for e-commerce - Card type identification for routing payments The database contains ~2.5 million BIN records covering all major card issuers globally and is updated weekly.\",\n input: NeutrinoBinLookupInput,\n output: NeutrinoBinLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;CAChN,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS;CACjP,eAAeA,IAAAA,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AACjO,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAClG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;CACnE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACzE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CACrH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC/E,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE;CACrH,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAClF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;CAC/E,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACjF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF;CAC5H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACpH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;AACvH,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"bin-lookup.cjs","names":["z","action"],"sources":["../../src/actions/bin-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoBinLookupInput = z.object({\n \"bin-number\": z.string().describe(\"The BIN (Bank Identification Number) or IIN (Issuer Identification Number) - typically the first 6-8 digits of a credit/debit card number. Supports 6, 8, and 10-digit BINs.\"),\n \"customer-ip\": z.string().describe(\"Optional customer IP address (IPv4 or IPv6) for additional fraud detection. When provided, the response includes IP geolocation data and checks if the IP country matches the BIN issuer country.\").optional(),\n \"output-case\": z.enum([\"camelCase\", \"snake_case\"]).default(\"camelCase\").describe(\"Response field name casing style. Use 'camelCase' for JavaScript/JSON standard format or 'snake_case' for Python-friendly format.\").optional(),\n});\nexport const NeutrinoBinLookupOutput = z.object({\n valid: z.boolean().describe(\"True if the BIN is valid\").nullable(),\n issuer: z.string().describe(\"Card issuer name\").nullable(),\n country: z.string().describe(\"Full country name of issuer\").nullable(),\n \"ip-city\": z.string().describe(\"Customer IP's city (empty if not detectable or customer-ip not provided)\").nullable(),\n \"card-type\": z.string().describe(\"Card type (DEBIT, CREDIT, CHARGE CARD)\").nullable(),\n \"ip-region\": z.string().describe(\"Customer IP's region (empty if not detectable or customer-ip not provided)\").nullable(),\n \"bin-number\": z.string().describe(\"The provided BIN number\").nullable(),\n \"card-brand\": z.string().describe(\"Card brand (e.g., VISA, MASTERCARD)\").nullable(),\n \"ip-country\": z.string().describe(\"Customer IP's country name (empty if customer-ip not provided)\").nullable(),\n \"is-prepaid\": z.boolean().describe(\"True if this is a prepaid card\").nullable(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code of issuer\").nullable(),\n \"issuer-phone\": z.string().describe(\"Issuer phone number (empty string if not available)\").nullable(),\n \"card-category\": z.string().describe(\"Card category (CLASSIC, BUSINESS, CORPORATE, PLATINUM, PREPAID, DANKORT, etc.)\").nullable(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code of issuer\").nullable(),\n \"currency-code\": z.string().describe(\"ISO 4217 currency code of issuer country\").nullable(),\n \"ip-blocklists\": z.array(z.unknown()).describe(\"List of blocklists that flagged the customer IP (empty list if none)\"),\n \"is-commercial\": z.boolean().describe(\"True if this is a business/commercial card\").nullable(),\n \"is-reloadable\": z.boolean().describe(\"True if this prepaid card is reloadable\").nullable(),\n \"ip-blocklisted\": z.boolean().describe(\"True if customer IP is on any blocklists\").nullable(),\n \"ip-matches-bin\": z.boolean().describe(\"True if customer IP country matches BIN country (false if customer-ip not provided)\").nullable(),\n \"issuer-website\": z.string().describe(\"Issuer website URL (empty string if not available)\").nullable(),\n \"ip-country-code\": z.string().describe(\"Customer IP's ISO 2-letter country code (empty if customer-ip not provided)\").nullable(),\n \"ip-country-code3\": z.string().describe(\"Customer IP's ISO 3-letter country code (empty if customer-ip not provided)\").nullable(),\n}).passthrough();\n\nexport const neutrinoBinLookup = action(\"NEUTRINO_BIN_LOOKUP\", {\n slug: \"neutrino-bin-lookup\",\n name: \"BIN Lookup\",\n description: \"Perform a BIN (Bank Identification Number) lookup to retrieve comprehensive card issuer information. This tool identifies the card brand (VISA, MASTERCARD, AMEX, etc.), card type (debit/credit), issuer details, and issuer country from the first 6-8 digits of a card number. Optionally performs fraud detection by comparing the customer's IP geolocation with the card issuer country. Use cases: - Payment fraud detection and prevention - Card validation before processing transactions - Geographic risk assessment for e-commerce - Card type identification for routing payments The database contains ~2.5 million BIN records covering all major card issuers globally and is updated weekly.\",\n input: NeutrinoBinLookupInput,\n output: NeutrinoBinLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;CAChN,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS;CACjP,eAAeA,IAAAA,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AACjO,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAChI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE;CACrH,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACvI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/bin-lookup.d.ts
4
- declare const NeutrinoBinLookupInput: z.ZodTypeAny;
5
- declare const NeutrinoBinLookupOutput: z.ZodTypeAny;
6
- declare const neutrinoBinLookup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoBinLookupInput: z.ZodObject<{
5
+ "bin-number": z.ZodString;
6
+ "customer-ip": z.ZodOptional<z.ZodString>;
7
+ "output-case": z.ZodOptional<z.ZodDefault<z.ZodEnum<{
8
+ camelCase: "camelCase";
9
+ snake_case: "snake_case";
10
+ }>>>;
11
+ }, z.core.$strip>;
12
+ declare const NeutrinoBinLookupOutput: z.ZodObject<{
13
+ valid: z.ZodNullable<z.ZodBoolean>;
14
+ issuer: z.ZodNullable<z.ZodString>;
15
+ country: z.ZodNullable<z.ZodString>;
16
+ "ip-city": z.ZodNullable<z.ZodString>;
17
+ "card-type": z.ZodNullable<z.ZodString>;
18
+ "ip-region": z.ZodNullable<z.ZodString>;
19
+ "bin-number": z.ZodNullable<z.ZodString>;
20
+ "card-brand": z.ZodNullable<z.ZodString>;
21
+ "ip-country": z.ZodNullable<z.ZodString>;
22
+ "is-prepaid": z.ZodNullable<z.ZodBoolean>;
23
+ "country-code": z.ZodNullable<z.ZodString>;
24
+ "issuer-phone": z.ZodNullable<z.ZodString>;
25
+ "card-category": z.ZodNullable<z.ZodString>;
26
+ "country-code3": z.ZodNullable<z.ZodString>;
27
+ "currency-code": z.ZodNullable<z.ZodString>;
28
+ "ip-blocklists": z.ZodArray<z.ZodUnknown>;
29
+ "is-commercial": z.ZodNullable<z.ZodBoolean>;
30
+ "is-reloadable": z.ZodNullable<z.ZodBoolean>;
31
+ "ip-blocklisted": z.ZodNullable<z.ZodBoolean>;
32
+ "ip-matches-bin": z.ZodNullable<z.ZodBoolean>;
33
+ "issuer-website": z.ZodNullable<z.ZodString>;
34
+ "ip-country-code": z.ZodNullable<z.ZodString>;
35
+ "ip-country-code3": z.ZodNullable<z.ZodString>;
36
+ }, z.core.$loose>;
37
+ declare const neutrinoBinLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ "bin-number": string;
39
+ "customer-ip"?: string | undefined;
40
+ "output-case"?: "camelCase" | "snake_case" | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { neutrinoBinLookup };
9
44
  //# sourceMappingURL=bin-lookup.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bin-lookup.d.cts","names":[],"sources":["../../src/actions/bin-lookup.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIrC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAwBtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"bin-lookup.d.cts","names":[],"sources":["../../src/actions/bin-lookup.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cA0BvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/bin-lookup.d.ts
4
- declare const NeutrinoBinLookupInput: z.ZodTypeAny;
5
- declare const NeutrinoBinLookupOutput: z.ZodTypeAny;
6
- declare const neutrinoBinLookup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoBinLookupInput: z.ZodObject<{
5
+ "bin-number": z.ZodString;
6
+ "customer-ip": z.ZodOptional<z.ZodString>;
7
+ "output-case": z.ZodOptional<z.ZodDefault<z.ZodEnum<{
8
+ camelCase: "camelCase";
9
+ snake_case: "snake_case";
10
+ }>>>;
11
+ }, z.core.$strip>;
12
+ declare const NeutrinoBinLookupOutput: z.ZodObject<{
13
+ valid: z.ZodNullable<z.ZodBoolean>;
14
+ issuer: z.ZodNullable<z.ZodString>;
15
+ country: z.ZodNullable<z.ZodString>;
16
+ "ip-city": z.ZodNullable<z.ZodString>;
17
+ "card-type": z.ZodNullable<z.ZodString>;
18
+ "ip-region": z.ZodNullable<z.ZodString>;
19
+ "bin-number": z.ZodNullable<z.ZodString>;
20
+ "card-brand": z.ZodNullable<z.ZodString>;
21
+ "ip-country": z.ZodNullable<z.ZodString>;
22
+ "is-prepaid": z.ZodNullable<z.ZodBoolean>;
23
+ "country-code": z.ZodNullable<z.ZodString>;
24
+ "issuer-phone": z.ZodNullable<z.ZodString>;
25
+ "card-category": z.ZodNullable<z.ZodString>;
26
+ "country-code3": z.ZodNullable<z.ZodString>;
27
+ "currency-code": z.ZodNullable<z.ZodString>;
28
+ "ip-blocklists": z.ZodArray<z.ZodUnknown>;
29
+ "is-commercial": z.ZodNullable<z.ZodBoolean>;
30
+ "is-reloadable": z.ZodNullable<z.ZodBoolean>;
31
+ "ip-blocklisted": z.ZodNullable<z.ZodBoolean>;
32
+ "ip-matches-bin": z.ZodNullable<z.ZodBoolean>;
33
+ "issuer-website": z.ZodNullable<z.ZodString>;
34
+ "ip-country-code": z.ZodNullable<z.ZodString>;
35
+ "ip-country-code3": z.ZodNullable<z.ZodString>;
36
+ }, z.core.$loose>;
37
+ declare const neutrinoBinLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ "bin-number": string;
39
+ "customer-ip"?: string | undefined;
40
+ "output-case"?: "camelCase" | "snake_case" | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { neutrinoBinLookup };
9
44
  //# sourceMappingURL=bin-lookup.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bin-lookup.d.mts","names":[],"sources":["../../src/actions/bin-lookup.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIrC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAwBtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"bin-lookup.d.mts","names":[],"sources":["../../src/actions/bin-lookup.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cA0BvB,iBAAA,gCAAiB,wBAAA"}