@keystrokehq/neutrino 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.
- package/README.md +1 -1
- package/dist/actions/add-watermark-to-image.cjs +2 -2
- package/dist/actions/add-watermark-to-image.cjs.map +1 -1
- package/dist/actions/add-watermark-to-image.d.cts +2 -2
- package/dist/actions/add-watermark-to-image.d.mts +2 -2
- package/dist/actions/add-watermark-to-image.mjs +2 -2
- package/dist/actions/add-watermark-to-image.mjs.map +1 -1
- package/dist/actions/bad-word-filter.cjs +1 -1
- package/dist/actions/bad-word-filter.cjs.map +1 -1
- package/dist/actions/bad-word-filter.d.cts +1 -1
- package/dist/actions/bad-word-filter.d.mts +1 -1
- package/dist/actions/bad-word-filter.mjs +1 -1
- package/dist/actions/bad-word-filter.mjs.map +1 -1
- package/dist/actions/bin-lookup.cjs +1 -1
- package/dist/actions/bin-lookup.cjs.map +1 -1
- package/dist/actions/bin-lookup.d.cts +1 -1
- package/dist/actions/bin-lookup.d.mts +1 -1
- package/dist/actions/bin-lookup.mjs +1 -1
- package/dist/actions/bin-lookup.mjs.map +1 -1
- package/dist/actions/check-ip-blocklist.cjs +1 -1
- package/dist/actions/check-ip-blocklist.cjs.map +1 -1
- package/dist/actions/check-ip-blocklist.d.cts +1 -1
- package/dist/actions/check-ip-blocklist.d.mts +1 -1
- package/dist/actions/check-ip-blocklist.mjs +1 -1
- package/dist/actions/check-ip-blocklist.mjs.map +1 -1
- package/dist/actions/convert.cjs +1 -1
- package/dist/actions/convert.cjs.map +1 -1
- package/dist/actions/convert.d.cts +1 -1
- package/dist/actions/convert.d.mts +1 -1
- package/dist/actions/convert.mjs +1 -1
- package/dist/actions/convert.mjs.map +1 -1
- package/dist/actions/email-validate.cjs +1 -1
- package/dist/actions/email-validate.cjs.map +1 -1
- package/dist/actions/email-validate.d.cts +1 -1
- package/dist/actions/email-validate.d.mts +1 -1
- package/dist/actions/email-validate.mjs +1 -1
- package/dist/actions/email-validate.mjs.map +1 -1
- package/dist/actions/email-verify.cjs +1 -1
- package/dist/actions/email-verify.cjs.map +1 -1
- package/dist/actions/email-verify.d.cts +1 -1
- package/dist/actions/email-verify.d.mts +1 -1
- package/dist/actions/email-verify.mjs +1 -1
- package/dist/actions/email-verify.mjs.map +1 -1
- package/dist/actions/geocode-address.cjs +1 -1
- package/dist/actions/geocode-address.cjs.map +1 -1
- package/dist/actions/geocode-address.d.cts +1 -1
- package/dist/actions/geocode-address.d.mts +1 -1
- package/dist/actions/geocode-address.mjs +1 -1
- package/dist/actions/geocode-address.mjs.map +1 -1
- package/dist/actions/geocode-reverse.cjs +4 -4
- package/dist/actions/geocode-reverse.cjs.map +1 -1
- package/dist/actions/geocode-reverse.d.cts +4 -4
- package/dist/actions/geocode-reverse.d.mts +4 -4
- package/dist/actions/geocode-reverse.mjs +4 -4
- package/dist/actions/geocode-reverse.mjs.map +1 -1
- package/dist/actions/hlr-lookup.cjs +1 -1
- package/dist/actions/hlr-lookup.cjs.map +1 -1
- package/dist/actions/hlr-lookup.d.cts +1 -1
- package/dist/actions/hlr-lookup.d.mts +1 -1
- package/dist/actions/hlr-lookup.mjs +1 -1
- package/dist/actions/hlr-lookup.mjs.map +1 -1
- package/dist/actions/host-reputation.cjs +2 -2
- package/dist/actions/host-reputation.cjs.map +1 -1
- package/dist/actions/host-reputation.d.cts +2 -2
- package/dist/actions/host-reputation.d.mts +2 -2
- package/dist/actions/host-reputation.mjs +2 -2
- package/dist/actions/host-reputation.mjs.map +1 -1
- package/dist/actions/html-clean.cjs +1 -1
- package/dist/actions/html-clean.cjs.map +1 -1
- package/dist/actions/html-clean.d.cts +1 -1
- package/dist/actions/html-clean.d.mts +1 -1
- package/dist/actions/html-clean.mjs +1 -1
- package/dist/actions/html-clean.mjs.map +1 -1
- package/dist/actions/html-render.cjs +1 -1
- package/dist/actions/html-render.cjs.map +1 -1
- package/dist/actions/html-render.d.cts +1 -1
- package/dist/actions/html-render.d.mts +1 -1
- package/dist/actions/html-render.mjs +1 -1
- package/dist/actions/html-render.mjs.map +1 -1
- package/dist/actions/image-resize.cjs +2 -2
- package/dist/actions/image-resize.cjs.map +1 -1
- package/dist/actions/image-resize.d.cts +2 -2
- package/dist/actions/image-resize.d.mts +2 -2
- package/dist/actions/image-resize.mjs +2 -2
- package/dist/actions/image-resize.mjs.map +1 -1
- package/dist/actions/ip-info.cjs +1 -1
- package/dist/actions/ip-info.cjs.map +1 -1
- package/dist/actions/ip-info.d.cts +1 -1
- package/dist/actions/ip-info.d.mts +1 -1
- package/dist/actions/ip-info.mjs +1 -1
- package/dist/actions/ip-info.mjs.map +1 -1
- package/dist/actions/ip-probe.cjs +1 -1
- package/dist/actions/ip-probe.cjs.map +1 -1
- package/dist/actions/ip-probe.d.cts +1 -1
- package/dist/actions/ip-probe.d.mts +1 -1
- package/dist/actions/ip-probe.mjs +1 -1
- package/dist/actions/ip-probe.mjs.map +1 -1
- package/dist/actions/lookup-domain.cjs +2 -2
- package/dist/actions/lookup-domain.cjs.map +1 -1
- package/dist/actions/lookup-domain.d.cts +2 -2
- package/dist/actions/lookup-domain.d.mts +2 -2
- package/dist/actions/lookup-domain.mjs +2 -2
- package/dist/actions/lookup-domain.mjs.map +1 -1
- package/dist/actions/phone-validate.cjs +1 -1
- package/dist/actions/phone-validate.cjs.map +1 -1
- package/dist/actions/phone-validate.d.cts +1 -1
- package/dist/actions/phone-validate.d.mts +1 -1
- package/dist/actions/phone-validate.mjs +1 -1
- package/dist/actions/phone-validate.mjs.map +1 -1
- package/dist/actions/qr-code.cjs +1 -1
- package/dist/actions/qr-code.cjs.map +1 -1
- package/dist/actions/qr-code.d.cts +1 -1
- package/dist/actions/qr-code.d.mts +1 -1
- package/dist/actions/qr-code.mjs +1 -1
- package/dist/actions/qr-code.mjs.map +1 -1
- package/dist/actions/run-browser-bot.cjs +7 -7
- package/dist/actions/run-browser-bot.cjs.map +1 -1
- package/dist/actions/run-browser-bot.d.cts +7 -7
- package/dist/actions/run-browser-bot.d.mts +7 -7
- package/dist/actions/run-browser-bot.mjs +7 -7
- package/dist/actions/run-browser-bot.mjs.map +1 -1
- package/dist/actions/sms-verify.cjs +1 -1
- package/dist/actions/sms-verify.cjs.map +1 -1
- package/dist/actions/sms-verify.d.cts +1 -1
- package/dist/actions/sms-verify.d.mts +1 -1
- package/dist/actions/sms-verify.mjs +1 -1
- package/dist/actions/sms-verify.mjs.map +1 -1
- package/dist/actions/ua-lookup.cjs +1 -1
- package/dist/actions/ua-lookup.cjs.map +1 -1
- package/dist/actions/ua-lookup.d.cts +1 -1
- package/dist/actions/ua-lookup.d.mts +1 -1
- package/dist/actions/ua-lookup.mjs +1 -1
- package/dist/actions/ua-lookup.mjs.map +1 -1
- package/dist/actions/url-info.cjs +2 -2
- package/dist/actions/url-info.cjs.map +1 -1
- package/dist/actions/url-info.d.cts +2 -2
- package/dist/actions/url-info.d.mts +2 -2
- package/dist/actions/url-info.mjs +2 -2
- package/dist/actions/url-info.mjs.map +1 -1
- package/dist/actions/verify-security-code.cjs +1 -1
- package/dist/actions/verify-security-code.cjs.map +1 -1
- package/dist/actions/verify-security-code.d.cts +1 -1
- package/dist/actions/verify-security-code.d.mts +1 -1
- package/dist/actions/verify-security-code.mjs +1 -1
- package/dist/actions/verify-security-code.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,8 +28,8 @@ const NeutrinoAddWatermarkToImage_FileDownloadableSchema = zod.z.object({
|
|
|
28
28
|
name: zod.z.string().describe("Name of the file").nullable(),
|
|
29
29
|
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
30
30
|
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
31
|
-
});
|
|
32
|
-
const NeutrinoAddWatermarkToImageOutput = zod.z.object({ image: NeutrinoAddWatermarkToImage_FileDownloadableSchema.nullable() }).describe("Response model for the ADD_WATERMARK_TO_IMAGE action.");
|
|
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.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});\nexport const NeutrinoAddWatermarkToImageOutput = 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,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;
|
|
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,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AAO,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"}
|
|
@@ -32,8 +32,8 @@ declare const NeutrinoAddWatermarkToImageOutput: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodNullable<z.ZodString>;
|
|
33
33
|
s3url: z.ZodNullable<z.ZodString>;
|
|
34
34
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const neutrinoAddWatermarkToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
"image-url": string;
|
|
39
39
|
"watermark-url": string;
|
|
@@ -32,8 +32,8 @@ declare const NeutrinoAddWatermarkToImageOutput: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodNullable<z.ZodString>;
|
|
33
33
|
s3url: z.ZodNullable<z.ZodString>;
|
|
34
34
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const neutrinoAddWatermarkToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
"image-url": string;
|
|
39
39
|
"watermark-url": string;
|
|
@@ -28,13 +28,13 @@ const NeutrinoAddWatermarkToImage_FileDownloadableSchema = z.object({
|
|
|
28
28
|
name: z.string().describe("Name of the file").nullable(),
|
|
29
29
|
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
30
30
|
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
31
|
-
});
|
|
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.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});\nexport const NeutrinoAddWatermarkToImageOutput = 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,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;
|
|
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,QAA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|
13
13
|
"bad-words-list": zod.z.array(zod.z.string()).describe("List of detected bad words."),
|
|
14
14
|
"bad-words-total": zod.z.number().int().describe("Total number of bad words detected.").nullable(),
|
|
15
15
|
"censored-content": zod.z.string().describe("The content with bad words censored.").nullable()
|
|
16
|
-
});
|
|
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.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});\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;
|
|
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"}
|
|
@@ -16,7 +16,7 @@ declare const NeutrinoBadWordFilterOutput: z.ZodObject<{
|
|
|
16
16
|
"bad-words-list": z.ZodArray<z.ZodString>;
|
|
17
17
|
"bad-words-total": z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
"censored-content": z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const neutrinoBadWordFilter: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
content: string;
|
|
22
22
|
catalog?: "strict" | "obscene" | undefined;
|
|
@@ -16,7 +16,7 @@ declare const NeutrinoBadWordFilterOutput: z.ZodObject<{
|
|
|
16
16
|
"bad-words-list": z.ZodArray<z.ZodString>;
|
|
17
17
|
"bad-words-total": z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
"censored-content": z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const neutrinoBadWordFilter: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
content: string;
|
|
22
22
|
catalog?: "strict" | "obscene" | undefined;
|
|
@@ -16,7 +16,7 @@ const neutrinoBadWordFilter = action("NEUTRINO_BAD_WORD_FILTER", {
|
|
|
16
16
|
"bad-words-list": z.array(z.string()).describe("List of detected bad words."),
|
|
17
17
|
"bad-words-total": z.number().int().describe("Total number of bad words detected.").nullable(),
|
|
18
18
|
"censored-content": z.string().describe("The content with bad words censored.").nullable()
|
|
19
|
-
})
|
|
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.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});\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,
|
|
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"}
|
|
@@ -30,7 +30,7 @@ const NeutrinoBinLookupOutput = zod.z.object({
|
|
|
30
30
|
"issuer-website": zod.z.string().describe("Issuer website URL (empty string if not available)").nullable(),
|
|
31
31
|
"ip-country-code": zod.z.string().describe("Customer IP's ISO 2-letter country code (empty if customer-ip not provided)").nullable(),
|
|
32
32
|
"ip-country-code3": zod.z.string().describe("Customer IP's ISO 3-letter country code (empty if customer-ip not provided)").nullable()
|
|
33
|
-
});
|
|
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.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});\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,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AoD,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;
|
|
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,cAAc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
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const neutrinoBinLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
"bin-number": string;
|
|
39
39
|
"customer-ip"?: string | undefined;
|
|
@@ -33,7 +33,7 @@ declare const NeutrinoBinLookupOutput: z.ZodObject<{
|
|
|
33
33
|
"issuer-website": z.ZodNullable<z.ZodString>;
|
|
34
34
|
"ip-country-code": z.ZodNullable<z.ZodString>;
|
|
35
35
|
"ip-country-code3": z.ZodNullable<z.ZodString>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const neutrinoBinLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
"bin-number": string;
|
|
39
39
|
"customer-ip"?: string | undefined;
|
|
@@ -33,7 +33,7 @@ const neutrinoBinLookup = action("NEUTRINO_BIN_LOOKUP", {
|
|
|
33
33
|
"issuer-website": z.string().describe("Issuer website URL (empty string if not available)").nullable(),
|
|
34
34
|
"ip-country-code": z.string().describe("Customer IP's ISO 2-letter country code (empty if customer-ip not provided)").nullable(),
|
|
35
35
|
"ip-country-code3": z.string().describe("Customer IP's ISO 3-letter country code (empty if customer-ip not provided)").nullable()
|
|
36
|
-
})
|
|
36
|
+
}).passthrough()
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { neutrinoBinLookup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bin-lookup.mjs","names":[],"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});\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":";;AAmCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnCoC,EAAE,OAAO;EAC7C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;EAChN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS;EACjP,eAAe,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACjO,CA+BS;CACP,QA/BqC,EAAE,OAAO;EAC9C,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE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CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC/H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClI,
|
|
1
|
+
{"version":3,"file":"bin-lookup.mjs","names":[],"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":";;AAmCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,a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,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACrF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC1F,iBAAiB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE;EACrH,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EACvI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC/H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -29,7 +29,7 @@ const NeutrinoCheckIpBlocklistOutput = zod.z.object({
|
|
|
29
29
|
"is-hijacked": zod.z.boolean().describe("IP is part of a hijacked netblock or a netblock controlled by a criminal organization").nullable(),
|
|
30
30
|
"is-spam-bot": zod.z.boolean().describe("IP address is hosting a spam bot, comment spamming or any other spamming type software").nullable(),
|
|
31
31
|
"is-exploit-bot": zod.z.boolean().describe("IP is hosting an exploit finding bot or is running exploit scanning software").nullable()
|
|
32
|
-
}).describe("Response model for IP Blocklist check.");
|
|
32
|
+
}).passthrough().describe("Response model for IP Blocklist check.");
|
|
33
33
|
const neutrinoCheckIpBlocklist = require_action.action("NEUTRINO_CHECK_IP_BLOCKLIST", {
|
|
34
34
|
slug: "neutrino-check-ip-blocklist",
|
|
35
35
|
name: "IP Blocklist",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-ip-blocklist.cjs","names":["z","action"],"sources":["../../src/actions/check-ip-blocklist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoCheckIpBlocklistInput = z.object({\n ip: z.string().describe(\"An IPv4 or IPv6 address. Accepts standard IP notation (with or without port number), CIDR notation and IPv6 compressed notation. If multiple IPs are passed using comma-separated values the first non-bogon address on the list will be checked\"),\n \"vpn-lookup\": z.boolean().default(false).describe(\"Include public VPN provider IP addresses. NOTE: For more advanced VPN detection including the ability to identify private and stealth VPNs use the IP Probe API\").optional(),\n}).describe(\"Request model for IP Blocklist check.\");\nconst NeutrinoCheckIpBlocklist_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category for this sensor\").nullable(),\n description: z.string().describe(\"Description of the sensor detection\").nullable(),\n}).passthrough().describe(\"Information about a specific sensor that detected the IP.\");\nexport const NeutrinoCheckIpBlocklistOutput = z.object({\n ip: z.string().describe(\"The IP address\").nullable(),\n cidr: z.string().describe(\"The CIDR address for this listing (only set if the IP is listed)\").nullable(),\n \"is-bot\": z.boolean().describe(\"IP is hosting a malicious bot or is part of a botnet. This is a broad category which includes brute-force crackers\").nullable(),\n \"is-tor\": z.boolean().describe(\"IP is a Tor node or running a Tor related service\").nullable(),\n \"is-vpn\": z.boolean().describe(\"IP belongs to a public VPN provider (only set if the 'vpn-lookup' option is enabled)\").nullable(),\n sensors: z.array(NeutrinoCheckIpBlocklist_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific sensors detected the IP\"),\n \"is-proxy\": z.boolean().describe(\"IP has been detected as an anonymous web proxy or anonymous HTTP proxy\").nullable(),\n \"is-listed\": z.boolean().describe(\"Is this IP on a blocklist\").nullable(),\n \"is-spider\": z.boolean().describe(\"IP is running a hostile web spider (deprecated but kept for backwards compatibility instead use UA/IP lookups for spider detection)\").nullable(),\n \"last-seen\": z.number().int().describe(\"The unix time when this IP was last seen on any blocklist. IPs are automatically removed after 7 days therefor this value will never be older than 7 days\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this IP is listed on. Current possible values are: tor, proxy, vpn, bot, spam-bot, exploit-bot, hijacked, malware, spyware, spider, dshield\"),\n \"is-dshield\": z.boolean().describe(\"IP has been flagged as a significant attack source by DShield (dshield.org)\").nullable(),\n \"is-malware\": z.boolean().describe(\"IP is involved in distributing or is running malware\").nullable(),\n \"is-spyware\": z.boolean().describe(\"IP is involved in distributing or is running spyware\").nullable(),\n \"list-count\": z.number().int().describe(\"The number of blocklists the IP is listed on\").nullable(),\n \"is-hijacked\": z.boolean().describe(\"IP is part of a hijacked netblock or a netblock controlled by a criminal organization\").nullable(),\n \"is-spam-bot\": z.boolean().describe(\"IP address is hosting a spam bot, comment spamming or any other spamming type software\").nullable(),\n \"is-exploit-bot\": z.boolean().describe(\"IP is hosting an exploit finding bot or is running exploit scanning software\").nullable(),\n}).describe(\"Response model for IP Blocklist check.\");\n\nexport const neutrinoCheckIpBlocklist = action(\"NEUTRINO_CHECK_IP_BLOCKLIST\", {\n slug: \"neutrino-check-ip-blocklist\",\n name: \"IP Blocklist\",\n description: \"Check if an IP address is on a blocklist. Detect IPs associated with malware, anonymous proxies, TOR exit nodes, botnets, spam sources and malicious servers. Use when you need to verify if an IP address is known to be malicious or part of a threat network.\",\n input: NeutrinoCheckIpBlocklistInput,\n output: NeutrinoCheckIpBlocklistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP;CAC1Q,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAChO,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,M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C,CAAC,SAAS,uMAAuM;CAChP,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC3H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACvI,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"check-ip-blocklist.cjs","names":["z","action"],"sources":["../../src/actions/check-ip-blocklist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoCheckIpBlocklistInput = z.object({\n ip: z.string().describe(\"An IPv4 or IPv6 address. Accepts standard IP notation (with or without port number), CIDR notation and IPv6 compressed notation. If multiple IPs are passed using comma-separated values the first non-bogon address on the list will be checked\"),\n \"vpn-lookup\": z.boolean().default(false).describe(\"Include public VPN provider IP addresses. NOTE: For more advanced VPN detection including the ability to identify private and stealth VPNs use the IP Probe API\").optional(),\n}).describe(\"Request model for IP Blocklist check.\");\nconst NeutrinoCheckIpBlocklist_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category for this sensor\").nullable(),\n description: z.string().describe(\"Description of the sensor detection\").nullable(),\n}).passthrough().describe(\"Information about a specific sensor that detected the IP.\");\nexport const NeutrinoCheckIpBlocklistOutput = z.object({\n ip: z.string().describe(\"The IP address\").nullable(),\n cidr: z.string().describe(\"The CIDR address for this listing (only set if the IP is listed)\").nullable(),\n \"is-bot\": z.boolean().describe(\"IP is hosting a malicious bot or is part of a botnet. This is a broad category which includes brute-force crackers\").nullable(),\n \"is-tor\": z.boolean().describe(\"IP is a Tor node or running a Tor related service\").nullable(),\n \"is-vpn\": z.boolean().describe(\"IP belongs to a public VPN provider (only set if the 'vpn-lookup' option is enabled)\").nullable(),\n sensors: z.array(NeutrinoCheckIpBlocklist_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific sensors detected the IP\"),\n \"is-proxy\": z.boolean().describe(\"IP has been detected as an anonymous web proxy or anonymous HTTP proxy\").nullable(),\n \"is-listed\": z.boolean().describe(\"Is this IP on a blocklist\").nullable(),\n \"is-spider\": z.boolean().describe(\"IP is running a hostile web spider (deprecated but kept for backwards compatibility instead use UA/IP lookups for spider detection)\").nullable(),\n \"last-seen\": z.number().int().describe(\"The unix time when this IP was last seen on any blocklist. IPs are automatically removed after 7 days therefor this value will never be older than 7 days\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this IP is listed on. Current possible values are: tor, proxy, vpn, bot, spam-bot, exploit-bot, hijacked, malware, spyware, spider, dshield\"),\n \"is-dshield\": z.boolean().describe(\"IP has been flagged as a significant attack source by DShield (dshield.org)\").nullable(),\n \"is-malware\": z.boolean().describe(\"IP is involved in distributing or is running malware\").nullable(),\n \"is-spyware\": z.boolean().describe(\"IP is involved in distributing or is running spyware\").nullable(),\n \"list-count\": z.number().int().describe(\"The number of blocklists the IP is listed on\").nullable(),\n \"is-hijacked\": z.boolean().describe(\"IP is part of a hijacked netblock or a netblock controlled by a criminal organization\").nullable(),\n \"is-spam-bot\": z.boolean().describe(\"IP address is hosting a spam bot, comment spamming or any other spamming type software\").nullable(),\n \"is-exploit-bot\": z.boolean().describe(\"IP is hosting an exploit finding bot or is running exploit scanning software\").nullable(),\n}).passthrough().describe(\"Response model for IP Blocklist check.\");\n\nexport const neutrinoCheckIpBlocklist = action(\"NEUTRINO_CHECK_IP_BLOCKLIST\", {\n slug: \"neutrino-check-ip-blocklist\",\n name: \"IP Blocklist\",\n description: \"Check if an IP address is on a blocklist. Detect IPs associated with malware, anonymous proxies, TOR exit nodes, botnets, spam sources and malicious servers. Use when you need to verify if an IP address is known to be malicious or part of a threat network.\",\n input: NeutrinoCheckIpBlocklistInput,\n output: NeutrinoCheckIpBlocklistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP;CAC1Q,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAChO,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC9J,UAAUA,IAAAA,E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AS,wCAAwC;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -28,7 +28,7 @@ declare const NeutrinoCheckIpBlocklistOutput: z.ZodObject<{
|
|
|
28
28
|
"is-hijacked": z.ZodNullable<z.ZodBoolean>;
|
|
29
29
|
"is-spam-bot": z.ZodNullable<z.ZodBoolean>;
|
|
30
30
|
"is-exploit-bot": z.ZodNullable<z.ZodBoolean>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const neutrinoCheckIpBlocklist: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
ip: string;
|
|
34
34
|
"vpn-lookup"?: boolean | undefined;
|
|
@@ -28,7 +28,7 @@ declare const NeutrinoCheckIpBlocklistOutput: z.ZodObject<{
|
|
|
28
28
|
"is-hijacked": z.ZodNullable<z.ZodBoolean>;
|
|
29
29
|
"is-spam-bot": z.ZodNullable<z.ZodBoolean>;
|
|
30
30
|
"is-exploit-bot": z.ZodNullable<z.ZodBoolean>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const neutrinoCheckIpBlocklist: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
ip: string;
|
|
34
34
|
"vpn-lookup"?: boolean | undefined;
|
|
@@ -34,7 +34,7 @@ const neutrinoCheckIpBlocklist = action("NEUTRINO_CHECK_IP_BLOCKLIST", {
|
|
|
34
34
|
"is-hijacked": z.boolean().describe("IP is part of a hijacked netblock or a netblock controlled by a criminal organization").nullable(),
|
|
35
35
|
"is-spam-bot": z.boolean().describe("IP address is hosting a spam bot, comment spamming or any other spamming type software").nullable(),
|
|
36
36
|
"is-exploit-bot": z.boolean().describe("IP is hosting an exploit finding bot or is running exploit scanning software").nullable()
|
|
37
|
-
}).describe("Response model for IP Blocklist check.")
|
|
37
|
+
}).passthrough().describe("Response model for IP Blocklist check.")
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
40
40
|
export { neutrinoCheckIpBlocklist };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-ip-blocklist.mjs","names":[],"sources":["../../src/actions/check-ip-blocklist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoCheckIpBlocklistInput = z.object({\n ip: z.string().describe(\"An IPv4 or IPv6 address. Accepts standard IP notation (with or without port number), CIDR notation and IPv6 compressed notation. If multiple IPs are passed using comma-separated values the first non-bogon address on the list will be checked\"),\n \"vpn-lookup\": z.boolean().default(false).describe(\"Include public VPN provider IP addresses. NOTE: For more advanced VPN detection including the ability to identify private and stealth VPNs use the IP Probe API\").optional(),\n}).describe(\"Request model for IP Blocklist check.\");\nconst NeutrinoCheckIpBlocklist_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category for this sensor\").nullable(),\n description: z.string().describe(\"Description of the sensor detection\").nullable(),\n}).passthrough().describe(\"Information about a specific sensor that detected the IP.\");\nexport const NeutrinoCheckIpBlocklistOutput = z.object({\n ip: z.string().describe(\"The IP address\").nullable(),\n cidr: z.string().describe(\"The CIDR address for this listing (only set if the IP is listed)\").nullable(),\n \"is-bot\": z.boolean().describe(\"IP is hosting a malicious bot or is part of a botnet. This is a broad category which includes brute-force crackers\").nullable(),\n \"is-tor\": z.boolean().describe(\"IP is a Tor node or running a Tor related service\").nullable(),\n \"is-vpn\": z.boolean().describe(\"IP belongs to a public VPN provider (only set if the 'vpn-lookup' option is enabled)\").nullable(),\n sensors: z.array(NeutrinoCheckIpBlocklist_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific sensors detected the IP\"),\n \"is-proxy\": z.boolean().describe(\"IP has been detected as an anonymous web proxy or anonymous HTTP proxy\").nullable(),\n \"is-listed\": z.boolean().describe(\"Is this IP on a blocklist\").nullable(),\n \"is-spider\": z.boolean().describe(\"IP is running a hostile web spider (deprecated but kept for backwards compatibility instead use UA/IP lookups for spider detection)\").nullable(),\n \"last-seen\": z.number().int().describe(\"The unix time when this IP was last seen on any blocklist. IPs are automatically removed after 7 days therefor this value will never be older than 7 days\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this IP is listed on. Current possible values are: tor, proxy, vpn, bot, spam-bot, exploit-bot, hijacked, malware, spyware, spider, dshield\"),\n \"is-dshield\": z.boolean().describe(\"IP has been flagged as a significant attack source by DShield (dshield.org)\").nullable(),\n \"is-malware\": z.boolean().describe(\"IP is involved in distributing or is running malware\").nullable(),\n \"is-spyware\": z.boolean().describe(\"IP is involved in distributing or is running spyware\").nullable(),\n \"list-count\": z.number().int().describe(\"The number of blocklists the IP is listed on\").nullable(),\n \"is-hijacked\": z.boolean().describe(\"IP is part of a hijacked netblock or a netblock controlled by a criminal organization\").nullable(),\n \"is-spam-bot\": z.boolean().describe(\"IP address is hosting a spam bot, comment spamming or any other spamming type software\").nullable(),\n \"is-exploit-bot\": z.boolean().describe(\"IP is hosting an exploit finding bot or is running exploit scanning software\").nullable(),\n}).describe(\"Response model for IP Blocklist check.\");\n\nexport const neutrinoCheckIpBlocklist = action(\"NEUTRINO_CHECK_IP_BLOCKLIST\", {\n slug: \"neutrino-check-ip-blocklist\",\n name: \"IP Blocklist\",\n description: \"Check if an IP address is on a blocklist. Detect IPs associated with malware, anonymous proxies, TOR exit nodes, botnets, spam sources and malicious servers. Use when you need to verify if an IP address is known to be malicious or part of a threat network.\",\n input: NeutrinoCheckIpBlocklistInput,\n output: NeutrinoCheckIpBlocklistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP;CAC1Q,cAAc,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAA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S,uMAAuM;EAChP,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC3H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACjG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACtI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACvI,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"check-ip-blocklist.mjs","names":[],"sources":["../../src/actions/check-ip-blocklist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoCheckIpBlocklistInput = z.object({\n ip: z.string().describe(\"An IPv4 or IPv6 address. Accepts standard IP notation (with or without port number), CIDR notation and IPv6 compressed notation. If multiple IPs are passed using comma-separated values the first non-bogon address on the list will be checked\"),\n \"vpn-lookup\": z.boolean().default(false).describe(\"Include public VPN provider IP addresses. NOTE: For more advanced VPN detection including the ability to identify private and stealth VPNs use the IP Probe API\").optional(),\n}).describe(\"Request model for IP Blocklist check.\");\nconst NeutrinoCheckIpBlocklist_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category for this sensor\").nullable(),\n description: z.string().describe(\"Description of the sensor detection\").nullable(),\n}).passthrough().describe(\"Information about a specific sensor that detected the IP.\");\nexport const NeutrinoCheckIpBlocklistOutput = z.object({\n ip: z.string().describe(\"The IP address\").nullable(),\n cidr: z.string().describe(\"The CIDR address for this listing (only set if the IP is listed)\").nullable(),\n \"is-bot\": z.boolean().describe(\"IP is hosting a malicious bot or is part of a botnet. This is a broad category which includes brute-force crackers\").nullable(),\n \"is-tor\": z.boolean().describe(\"IP is a Tor node or running a Tor related service\").nullable(),\n \"is-vpn\": z.boolean().describe(\"IP belongs to a public VPN provider (only set if the 'vpn-lookup' option is enabled)\").nullable(),\n sensors: z.array(NeutrinoCheckIpBlocklist_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific sensors detected the IP\"),\n \"is-proxy\": z.boolean().describe(\"IP has been detected as an anonymous web proxy or anonymous HTTP proxy\").nullable(),\n \"is-listed\": z.boolean().describe(\"Is this IP on a blocklist\").nullable(),\n \"is-spider\": z.boolean().describe(\"IP is running a hostile web spider (deprecated but kept for backwards compatibility instead use UA/IP lookups for spider detection)\").nullable(),\n \"last-seen\": z.number().int().describe(\"The unix time when this IP was last seen on any blocklist. IPs are automatically removed after 7 days therefor this value will never be older than 7 days\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this IP is listed on. Current possible values are: tor, proxy, vpn, bot, spam-bot, exploit-bot, hijacked, malware, spyware, spider, dshield\"),\n \"is-dshield\": z.boolean().describe(\"IP has been flagged as a significant attack source by DShield (dshield.org)\").nullable(),\n \"is-malware\": z.boolean().describe(\"IP is involved in distributing or is running malware\").nullable(),\n \"is-spyware\": z.boolean().describe(\"IP is involved in distributing or is running spyware\").nullable(),\n \"list-count\": z.number().int().describe(\"The number of blocklists the IP is listed on\").nullable(),\n \"is-hijacked\": z.boolean().describe(\"IP is part of a hijacked netblock or a netblock controlled by a criminal organization\").nullable(),\n \"is-spam-bot\": z.boolean().describe(\"IP address is hosting a spam bot, comment spamming or any other spamming type software\").nullable(),\n \"is-exploit-bot\": z.boolean().describe(\"IP is hosting an exploit finding bot or is running exploit scanning software\").nullable(),\n}).passthrough().describe(\"Response model for IP Blocklist check.\");\n\nexport const neutrinoCheckIpBlocklist = action(\"NEUTRINO_CHECK_IP_BLOCKLIST\", {\n slug: \"neutrino-check-ip-blocklist\",\n name: \"IP Blocklist\",\n description: \"Check if an IP address is on a blocklist. Detect IPs associated with malware, anonymous proxies, TOR exit nodes, botnets, spam sources and malicious servers. Use when you need to verify if an IP address is known to be malicious or part of a threat network.\",\n input: NeutrinoCheckIpBlocklistInput,\n output: NeutrinoCheckIpBlocklistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP;CAC1Q,cAAc,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAChO,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAsBrF,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA1B4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACvG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC9J,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kFAAkF;EAC5J,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACpH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EAClL,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;EAC7M,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uMAAuM;EAChP,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC3H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACjG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACtI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACvI,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
package/dist/actions/convert.cjs
CHANGED
|
@@ -19,7 +19,7 @@ const NeutrinoConvertOutput = zod.z.object({
|
|
|
19
19
|
"from-symbol": zod.z.string().describe("The symbol for the source unit or currency.").nullable(),
|
|
20
20
|
"result-float": zod.z.number().describe("The converted value as a float number.").nullable(),
|
|
21
21
|
"historical-date": zod.z.string().default("").describe("The historical date used for the conversion (ISO format YYYY-MM-DD), empty string if current rates used.").nullable().optional()
|
|
22
|
-
}).describe("Response model for the Convert action.");
|
|
22
|
+
}).passthrough().describe("Response model for the Convert action.");
|
|
23
23
|
const neutrinoConvert = require_action.action("NEUTRINO_CONVERT", {
|
|
24
24
|
slug: "neutrino-convert",
|
|
25
25
|
name: "Convert Value",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.cjs","names":["z","action"],"sources":["../../src/actions/convert.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoConvertInput = z.object({\n \"to-type\": z.string().describe(\"The unit or currency code to convert to (e.g., 'EUR', 'm', 'gram').\"),\n \"from-type\": z.string().describe(\"The unit or currency code of the input value (e.g., 'USD', 'kg', 'mile').\"),\n \"from-value\": z.string().describe(\"The numeric value (as a string) to convert from.\"),\n \"historical-date\": z.string().describe(\"Optional date for historical exchange rates. Formats: YYYY-MM-DD, YYYY-MM, or YYYY. If not provided, uses current rates.\").optional(),\n}).describe(\"Request model for the Convert action.\");\nexport const NeutrinoConvertOutput = z.object({\n valid: z.boolean().describe(\"Indicates whether the conversion was successful.\").nullable(),\n result: z.string().describe(\"The converted value formatted as a string.\").nullable(),\n \"to-name\": z.string().describe(\"The full name of the target unit or currency.\").nullable(),\n \"to-type\": z.string().describe(\"The target unit or currency code.\").nullable(),\n \"from-name\": z.string().describe(\"The full name of the source unit or currency.\").nullable(),\n \"from-type\": z.string().describe(\"The source unit or currency code.\").nullable(),\n \"to-symbol\": z.string().describe(\"The symbol for the target unit or currency.\").nullable(),\n \"from-value\": z.string().describe(\"The original input value.\").nullable(),\n \"from-symbol\": z.string().describe(\"The symbol for the source unit or currency.\").nullable(),\n \"result-float\": z.number().describe(\"The converted value as a float number.\").nullable(),\n \"historical-date\": z.string().default(\"\").describe(\"The historical date used for the conversion (ISO format YYYY-MM-DD), empty string if current rates used.\").nullable().optional(),\n}).describe(\"Response model for the Convert action.\");\n\nexport const neutrinoConvert = action(\"NEUTRINO_CONVERT\", {\n slug: \"neutrino-convert\",\n name: \"Convert Value\",\n description: \"Tool to perform unit and currency conversions. Use when you need to convert a value from one unit or currency to another. Example: convert 100 USD to EUR.\",\n input: NeutrinoConvertInput,\n output: NeutrinoConvertOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"convert.cjs","names":["z","action"],"sources":["../../src/actions/convert.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoConvertInput = z.object({\n \"to-type\": z.string().describe(\"The unit or currency code to convert to (e.g., 'EUR', 'm', 'gram').\"),\n \"from-type\": z.string().describe(\"The unit or currency code of the input value (e.g., 'USD', 'kg', 'mile').\"),\n \"from-value\": z.string().describe(\"The numeric value (as a string) to convert from.\"),\n \"historical-date\": z.string().describe(\"Optional date for historical exchange rates. Formats: YYYY-MM-DD, YYYY-MM, or YYYY. If not provided, uses current rates.\").optional(),\n}).describe(\"Request model for the Convert action.\");\nexport const NeutrinoConvertOutput = z.object({\n valid: z.boolean().describe(\"Indicates whether the conversion was successful.\").nullable(),\n result: z.string().describe(\"The converted value formatted as a string.\").nullable(),\n \"to-name\": z.string().describe(\"The full name of the target unit or currency.\").nullable(),\n \"to-type\": z.string().describe(\"The target unit or currency code.\").nullable(),\n \"from-name\": z.string().describe(\"The full name of the source unit or currency.\").nullable(),\n \"from-type\": z.string().describe(\"The source unit or currency code.\").nullable(),\n \"to-symbol\": z.string().describe(\"The symbol for the target unit or currency.\").nullable(),\n \"from-value\": z.string().describe(\"The original input value.\").nullable(),\n \"from-symbol\": z.string().describe(\"The symbol for the source unit or currency.\").nullable(),\n \"result-float\": z.number().describe(\"The converted value as a float number.\").nullable(),\n \"historical-date\": z.string().default(\"\").describe(\"The historical date used for the conversion (ISO format YYYY-MM-DD), empty string if current rates used.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Convert action.\");\n\nexport const neutrinoConvert = action(\"NEUTRINO_CONVERT\", {\n slug: \"neutrino-convert\",\n name: \"Convert Value\",\n description: \"Tool to perform unit and currency conversions. Use when you need to convert a value from one unit or currency to another. Example: convert 100 USD to EUR.\",\n input: NeutrinoConvertInput,\n output: NeutrinoConvertOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,kBAAkBC,eAAAA,OAAO,oBAAoB;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ declare const NeutrinoConvertOutput: z.ZodObject<{
|
|
|
19
19
|
"from-symbol": z.ZodNullable<z.ZodString>;
|
|
20
20
|
"result-float": z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
"historical-date": z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const neutrinoConvert: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
"to-type": string;
|
|
25
25
|
"from-type": string;
|
|
@@ -19,7 +19,7 @@ declare const NeutrinoConvertOutput: z.ZodObject<{
|
|
|
19
19
|
"from-symbol": z.ZodNullable<z.ZodString>;
|
|
20
20
|
"result-float": z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
"historical-date": z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const neutrinoConvert: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
"to-type": string;
|
|
25
25
|
"from-type": string;
|
package/dist/actions/convert.mjs
CHANGED
|
@@ -22,7 +22,7 @@ const neutrinoConvert = action("NEUTRINO_CONVERT", {
|
|
|
22
22
|
"from-symbol": z.string().describe("The symbol for the source unit or currency.").nullable(),
|
|
23
23
|
"result-float": z.number().describe("The converted value as a float number.").nullable(),
|
|
24
24
|
"historical-date": z.string().default("").describe("The historical date used for the conversion (ISO format YYYY-MM-DD), empty string if current rates used.").nullable().optional()
|
|
25
|
-
}).describe("Response model for the Convert action.")
|
|
25
|
+
}).passthrough().describe("Response model for the Convert action.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { neutrinoConvert };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.mjs","names":[],"sources":["../../src/actions/convert.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoConvertInput = z.object({\n \"to-type\": z.string().describe(\"The unit or currency code to convert to (e.g., 'EUR', 'm', 'gram').\"),\n \"from-type\": z.string().describe(\"The unit or currency code of the input value (e.g., 'USD', 'kg', 'mile').\"),\n \"from-value\": z.string().describe(\"The numeric value (as a string) to convert from.\"),\n \"historical-date\": z.string().describe(\"Optional date for historical exchange rates. Formats: YYYY-MM-DD, YYYY-MM, or YYYY. If not provided, uses current rates.\").optional(),\n}).describe(\"Request model for the Convert action.\");\nexport const NeutrinoConvertOutput = z.object({\n valid: z.boolean().describe(\"Indicates whether the conversion was successful.\").nullable(),\n result: z.string().describe(\"The converted value formatted as a string.\").nullable(),\n \"to-name\": z.string().describe(\"The full name of the target unit or currency.\").nullable(),\n \"to-type\": z.string().describe(\"The target unit or currency code.\").nullable(),\n \"from-name\": z.string().describe(\"The full name of the source unit or currency.\").nullable(),\n \"from-type\": z.string().describe(\"The source unit or currency code.\").nullable(),\n \"to-symbol\": z.string().describe(\"The symbol for the target unit or currency.\").nullable(),\n \"from-value\": z.string().describe(\"The original input value.\").nullable(),\n \"from-symbol\": z.string().describe(\"The symbol for the source unit or currency.\").nullable(),\n \"result-float\": z.number().describe(\"The converted value as a float number.\").nullable(),\n \"historical-date\": z.string().default(\"\").describe(\"The historical date used for the conversion (ISO format YYYY-MM-DD), empty string if current rates used.\").nullable().optional(),\n}).describe(\"Response model for the Convert action.\");\n\nexport const neutrinoConvert = action(\"NEUTRINO_CONVERT\", {\n slug: \"neutrino-convert\",\n name: \"Convert Value\",\n description: \"Tool to perform unit and currency conversions. Use when you need to convert a value from one unit or currency to another. Example: convert 100 USD to EUR.\",\n input: NeutrinoConvertInput,\n output: NeutrinoConvertOutput,\n});\n"],"mappings":";;AAwBA,MAAa,kBAAkB,OAAO,oBAAoB;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkC,EAAE,OAAO;EAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,uCAmBH;CACP,QAnBmC,EAAE,OAAO;EAC5C,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"convert.mjs","names":[],"sources":["../../src/actions/convert.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoConvertInput = z.object({\n \"to-type\": z.string().describe(\"The unit or currency code to convert to (e.g., 'EUR', 'm', 'gram').\"),\n \"from-type\": z.string().describe(\"The unit or currency code of the input value (e.g., 'USD', 'kg', 'mile').\"),\n \"from-value\": z.string().describe(\"The numeric value (as a string) to convert from.\"),\n \"historical-date\": z.string().describe(\"Optional date for historical exchange rates. Formats: YYYY-MM-DD, YYYY-MM, or YYYY. If not provided, uses current rates.\").optional(),\n}).describe(\"Request model for the Convert action.\");\nexport const NeutrinoConvertOutput = z.object({\n valid: z.boolean().describe(\"Indicates whether the conversion was successful.\").nullable(),\n result: z.string().describe(\"The converted value formatted as a string.\").nullable(),\n \"to-name\": z.string().describe(\"The full name of the target unit or currency.\").nullable(),\n \"to-type\": z.string().describe(\"The target unit or currency code.\").nullable(),\n \"from-name\": z.string().describe(\"The full name of the source unit or currency.\").nullable(),\n \"from-type\": z.string().describe(\"The source unit or currency code.\").nullable(),\n \"to-symbol\": z.string().describe(\"The symbol for the target unit or currency.\").nullable(),\n \"from-value\": z.string().describe(\"The original input value.\").nullable(),\n \"from-symbol\": z.string().describe(\"The symbol for the source unit or currency.\").nullable(),\n \"result-float\": z.number().describe(\"The converted value as a float number.\").nullable(),\n \"historical-date\": z.string().default(\"\").describe(\"The historical date used for the conversion (ISO format YYYY-MM-DD), empty string if current rates used.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Convert action.\");\n\nexport const neutrinoConvert = action(\"NEUTRINO_CONVERT\", {\n slug: \"neutrino-convert\",\n name: \"Convert Value\",\n description: \"Tool to perform unit and currency conversions. Use when you need to convert a value from one unit or currency to another. Example: convert 100 USD to EUR.\",\n input: NeutrinoConvertInput,\n output: NeutrinoConvertOutput,\n});\n"],"mappings":";;AAwBA,MAAa,kBAAkB,OAAO,oBAAoB;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkC,EAAE,OAAO;EAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,uCAmBH;CACP,QAnBmC,EAAE,OAAO;EAC5C,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const NeutrinoEmailValidateOutput = zod.z.object({
|
|
|
18
18
|
"syntax-error": zod.z.boolean().describe("Whether the email has RFC822/RFC2822 syntax errors (e.g., missing '@', invalid characters).").nullable(),
|
|
19
19
|
"domain-status": zod.z.string().describe("Domain validation status: 'ok' (valid), 'invalid' (doesn't exist), 'no-mail' (no MX records), or 'resolv-error' (DNS error).").nullable(),
|
|
20
20
|
"is-disposable": zod.z.boolean().describe("Whether the email is from a disposable/temporary email service (often used for spam).").nullable()
|
|
21
|
-
}).describe("Response model for the EMAIL_VALIDATE action.");
|
|
21
|
+
}).passthrough().describe("Response model for the EMAIL_VALIDATE action.");
|
|
22
22
|
const neutrinoEmailValidate = require_action.action("NEUTRINO_EMAIL_VALIDATE", {
|
|
23
23
|
slug: "neutrino-email-validate",
|
|
24
24
|
name: "Validate and analyze an email address",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-validate.cjs","names":["z","action"],"sources":["../../src/actions/email-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoEmailValidateInput = z.object({\n email: z.string().describe(\"The email address to validate (e.g., 'user@example.com').\"),\n \"fix-typos\": z.boolean().default(false).describe(\"Whether to automatically fix common typos in domain names (e.g., 'gmial.com' -> 'gmail.com'). Defaults to false.\").optional(),\n}).describe(\"Request model for the EMAIL_VALIDATE action.\");\nexport const NeutrinoEmailValidateOutput = z.object({\n email: z.string().describe(\"The email address that was validated (may differ from input if typos were fixed).\").nullable(),\n \"mx-ip\": z.string().describe(\"The IP address of the primary mail exchange (MX) server for this domain. Empty string if unavailable.\").nullable().optional(),\n valid: z.boolean().describe(\"Overall validity: true if the email passes all validation checks (syntax, domain, MX records).\").nullable(),\n domain: z.string().describe(\"The domain part extracted from the email address (e.g., 'gmail.com' from 'user@gmail.com').\").nullable(),\n provider: z.string().describe(\"The email service provider name if identified (e.g., 'gmail.com', 'yahoo.com'). Empty string if not identified.\").nullable().optional(),\n \"is-freemail\": z.boolean().describe(\"Whether the domain is a free email provider like Gmail, Yahoo, Outlook, etc.\").nullable(),\n \"is-personal\": z.boolean().describe(\"Whether the email appears to be a personal address (vs. role-based like 'admin@' or 'info@').\").nullable(),\n \"typos-fixed\": z.boolean().describe(\"Whether typos were automatically corrected in the email address (only if fix_typos was enabled).\").nullable(),\n \"domain-error\": z.boolean().describe(\"Whether the domain has validation errors (e.g., doesn't exist, no MX records).\").nullable(),\n \"syntax-error\": z.boolean().describe(\"Whether the email has RFC822/RFC2822 syntax errors (e.g., missing '@', invalid characters).\").nullable(),\n \"domain-status\": z.string().describe(\"Domain validation status: 'ok' (valid), 'invalid' (doesn't exist), 'no-mail' (no MX records), or 'resolv-error' (DNS error).\").nullable(),\n \"is-disposable\": z.boolean().describe(\"Whether the email is from a disposable/temporary email service (often used for spam).\").nullable(),\n}).describe(\"Response model for the EMAIL_VALIDATE action.\");\n\nexport const neutrinoEmailValidate = action(\"NEUTRINO_EMAIL_VALIDATE\", {\n slug: \"neutrino-email-validate\",\n name: \"Validate and analyze an email address\",\n description: \"Validates and analyzes email addresses for syntax, domain validity, DNS/MX records, and detects freemail/disposable providers. This tool performs comprehensive email validation including: - RFC822/RFC2822 syntax compliance checking - Domain existence and DNS verification - Mail exchange (MX) record validation - Detection of free email providers (Gmail, Yahoo, etc.) - Identification of disposable/temporary email services - Optional automatic typo correction for common domain mistakes Important: This does NOT verify if a specific email address/mailbox actually exists with the provider. For mailbox verification, use the EMAIL_VERIFY action instead. Use this tool when you need to validate email addresses before sending, check email quality, or filter out disposable addresses.\",\n input: NeutrinoEmailValidateInput,\n output: NeutrinoEmailValidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC9I,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACjJ,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC9K,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"email-validate.cjs","names":["z","action"],"sources":["../../src/actions/email-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoEmailValidateInput = z.object({\n email: z.string().describe(\"The email address to validate (e.g., 'user@example.com').\"),\n \"fix-typos\": z.boolean().default(false).describe(\"Whether to automatically fix common typos in domain names (e.g., 'gmial.com' -> 'gmail.com'). Defaults to false.\").optional(),\n}).describe(\"Request model for the EMAIL_VALIDATE action.\");\nexport const NeutrinoEmailValidateOutput = z.object({\n email: z.string().describe(\"The email address that was validated (may differ from input if typos were fixed).\").nullable(),\n \"mx-ip\": z.string().describe(\"The IP address of the primary mail exchange (MX) server for this domain. Empty string if unavailable.\").nullable().optional(),\n valid: z.boolean().describe(\"Overall validity: true if the email passes all validation checks (syntax, domain, MX records).\").nullable(),\n domain: z.string().describe(\"The domain part extracted from the email address (e.g., 'gmail.com' from 'user@gmail.com').\").nullable(),\n provider: z.string().describe(\"The email service provider name if identified (e.g., 'gmail.com', 'yahoo.com'). Empty string if not identified.\").nullable().optional(),\n \"is-freemail\": z.boolean().describe(\"Whether the domain is a free email provider like Gmail, Yahoo, Outlook, etc.\").nullable(),\n \"is-personal\": z.boolean().describe(\"Whether the email appears to be a personal address (vs. role-based like 'admin@' or 'info@').\").nullable(),\n \"typos-fixed\": z.boolean().describe(\"Whether typos were automatically corrected in the email address (only if fix_typos was enabled).\").nullable(),\n \"domain-error\": z.boolean().describe(\"Whether the domain has validation errors (e.g., doesn't exist, no MX records).\").nullable(),\n \"syntax-error\": z.boolean().describe(\"Whether the email has RFC822/RFC2822 syntax errors (e.g., missing '@', invalid characters).\").nullable(),\n \"domain-status\": z.string().describe(\"Domain validation status: 'ok' (valid), 'invalid' (doesn't exist), 'no-mail' (no MX records), or 'resolv-error' (DNS error).\").nullable(),\n \"is-disposable\": z.boolean().describe(\"Whether the email is from a disposable/temporary email service (often used for spam).\").nullable(),\n}).passthrough().describe(\"Response model for the EMAIL_VALIDATE action.\");\n\nexport const neutrinoEmailValidate = action(\"NEUTRINO_EMAIL_VALIDATE\", {\n slug: \"neutrino-email-validate\",\n name: \"Validate and analyze an email address\",\n description: \"Validates and analyzes email addresses for syntax, domain validity, DNS/MX records, and detects freemail/disposable providers. This tool performs comprehensive email validation including: - RFC822/RFC2822 syntax compliance checking - Domain existence and DNS verification - Mail exchange (MX) record validation - Detection of free email providers (Gmail, Yahoo, etc.) - Identification of disposable/temporary email services - Optional automatic typo correction for common domain mistakes Important: This does NOT verify if a specific email address/mailbox actually exists with the provider. For mailbox verification, use the EMAIL_VERIFY action instead. Use this tool when you need to validate email addresses before sending, check email quality, or filter out disposable addresses.\",\n input: NeutrinoEmailValidateInput,\n output: NeutrinoEmailValidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC9I,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACjJ,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC9K,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const NeutrinoEmailValidateOutput: z.ZodObject<{
|
|
|
18
18
|
"syntax-error": z.ZodNullable<z.ZodBoolean>;
|
|
19
19
|
"domain-status": z.ZodNullable<z.ZodString>;
|
|
20
20
|
"is-disposable": z.ZodNullable<z.ZodBoolean>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const neutrinoEmailValidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
email: string;
|
|
24
24
|
"fix-typos"?: boolean | undefined;
|
|
@@ -18,7 +18,7 @@ declare const NeutrinoEmailValidateOutput: z.ZodObject<{
|
|
|
18
18
|
"syntax-error": z.ZodNullable<z.ZodBoolean>;
|
|
19
19
|
"domain-status": z.ZodNullable<z.ZodString>;
|
|
20
20
|
"is-disposable": z.ZodNullable<z.ZodBoolean>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const neutrinoEmailValidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
email: string;
|
|
24
24
|
"fix-typos"?: boolean | undefined;
|
|
@@ -21,7 +21,7 @@ const neutrinoEmailValidate = action("NEUTRINO_EMAIL_VALIDATE", {
|
|
|
21
21
|
"syntax-error": z.boolean().describe("Whether the email has RFC822/RFC2822 syntax errors (e.g., missing '@', invalid characters).").nullable(),
|
|
22
22
|
"domain-status": z.string().describe("Domain validation status: 'ok' (valid), 'invalid' (doesn't exist), 'no-mail' (no MX records), or 'resolv-error' (DNS error).").nullable(),
|
|
23
23
|
"is-disposable": z.boolean().describe("Whether the email is from a disposable/temporary email service (often used for spam).").nullable()
|
|
24
|
-
}).describe("Response model for the EMAIL_VALIDATE action.")
|
|
24
|
+
}).passthrough().describe("Response model for the EMAIL_VALIDATE action.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { neutrinoEmailValidate };
|